CN101183324B - Recovery method of computer system - Google Patents

Recovery method of computer system Download PDF

Info

Publication number
CN101183324B
CN101183324B CN2007101720033A CN200710172003A CN101183324B CN 101183324 B CN101183324 B CN 101183324B CN 2007101720033 A CN2007101720033 A CN 2007101720033A CN 200710172003 A CN200710172003 A CN 200710172003A CN 101183324 B CN101183324 B CN 101183324B
Authority
CN
China
Prior art keywords
hpa
subregion
real pattern
software
partition
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.)
Expired - Fee Related
Application number
CN2007101720033A
Other languages
Chinese (zh)
Other versions
CN101183324A (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.)
Acer Computer Shanghai Co ltd
Original Assignee
Shanghai Founder Technology Computer System 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 Shanghai Founder Technology Computer System Co Ltd filed Critical Shanghai Founder Technology Computer System Co Ltd
Priority to CN2007101720033A priority Critical patent/CN101183324B/en
Publication of CN101183324A publication Critical patent/CN101183324A/en
Application granted granted Critical
Publication of CN101183324B publication Critical patent/CN101183324B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for restoring a computer system, comprising the steps as followed: Firstly, setting for the hard disk information, dividing the hard disk into a common disk partition and a system hiding partition HPA partition which comprises a system HPA partition with a backup for basic operating system, an HPA partition with the function of storing a system rescue software, and a real mode system positioned on the head address of HPA, writing the real mode bootstrap in the system boot sector of disk zero track, and directing the reading path to the head address of HPA partition. Secondly, while starting the computer, enter the real mode system under the guiding of the real mode bootstrap. Thirdly, according to the trigger signal, the real mode system is loaded with the backup operating system; and the storage system rescue software in the functional HPA partition is started; the operating system stored in the common disk partition is replaced by the operating system backed up in the HPA partition. The invention has the advantages of rapid and easy method, incapacity of writing in the backup operating system, and avoiding the virus infection.

Description

A kind of restoration methods of computer system
Technical field:
The present invention relates to a kind of restoration methods of new computer system, and be particularly related to a kind of when the normal operations system because virus infections or other reasons are when causing paralysing, the method for computer system being recovered by the operating system of a backup.
Technical background:
In existing computer, no matter be notebook or desktop computer, much all possessed the ability of under the situation of system's infective virus, computer system being recovered by the operating system of backup.The method of at present known recovery computer system, its system of recovering to load is generally LINUX or DOS, and the user operates inconvenience.
In addition, in the existing method, the operating system of backup also may be to be stored in CD or the floppy disk medium, and the user recovers operating system by CD or floppy disk, and these media are easy to lose, thereby causes the user can't recover computer system.
Summary of the invention:
Defective in view of the prior art existence, the purpose of this invention is to provide a kind of new computer system restoration methods, backup of this method call recovers computer system in the operating system of hidden partition, thereby reaches the purpose of recovering computer system quickly and easily.
For reaching above-mentioned purpose, the present invention adopts following technical scheme:
A kind of restoration methods of computer system may further comprise the steps:
1. computer hard disc information is provided with, comprises:
A. system disk is divided into ordinary magnetic disc subregion and the user can't have access under the normal operations system the hidden partition HPA of system subregion two parts, described HPA subregion comprises:
System HPA subregion: remain with a basic operating system backup;
Function HPA subregion: store the software that is used for system's rescue;
Real pattern system: be positioned at the first address of HPA, be used for whole HPA subregion is defined and implement to load;
B. 0 track system boot sector at hard disk writes the real pattern boot, and read path is pointed to HPA subregion first address;
2. host computer starts, and enters the real pattern system under the guide of described real pattern boot;
3. the real pattern system is according to the trigger pip of user's startup, the operating system that backs up in the loading system HPA subregion, and start the software of storing in the function HPA subregion that is used for system's rescue, the operating system of storing in the ordinary magnetic disc subregion is replaced with the operating system that backs up in the HPA subregion.
Further, the restoration methods of above-mentioned computer system, described HPA subregion is divided into a plurality of, and each function HPA subregion stores the functional software of using corresponding to concrete, and described system rescue software is one of them functional software.
Further, the restoration methods of above-mentioned computer system, size, number of partitions and each section post of the described real pattern system definition HPA subregion size that takes up space.
Further, the restoration methods of above-mentioned computer system, in the described step (3), the operating system that described real pattern system backs up in the loading system HPA subregion as follows:
(1) described trigger pip is that the user passes through the startup of a startup module, and this trigger pip forms after a reception and parsing module identification and triggers code;
(2) establish triggering code-jump address corresponding tables in the described real pattern system, the real pattern system obtains triggering code and carries out redirect according to the jump address that triggers the code correspondence from described reception and parsing module, start the backup operation system in the HPA subregion.
Further, the method of above-mentioned scanning and killing computer virus, described real pattern system adopts following method to start system's rescue software in the function HPA subregion: described real pattern system with the mirror image of system backup in the HPA subregion virtual in the Mount mode be the C of system drive, be other drives of system with the function HPA subregion that stores system rescue software is virtual, and the operating system image file that backs up in the reading system HPA subregion and store the function HPA subregion of system rescue software, enter system and start-up system rescue software.
Advantage of the present invention and good effect:
Computer system restoration methods of the present invention, what call during recovery system is a normal operations system of HPA subregion backup, WINDOWS operating system for example only needs to adopt the operating system of backup to cover a computer system of having paralysed and gets final product, thereby reaches quick recovery, easy-to-use purpose.Because the operating system of backup is stored in the HPA subregion, can't be accessed under the normal operations system, can not write, and avoids virus infections.
Description of drawings:
Fig. 1 is the process flow diagram of the embodiment of the invention;
Fig. 2 is to the structural representation after the hard disk partition in the method for the present invention;
Fig. 3 is the process flow diagram of method of the present invention when loading startup virus killing platform.
Embodiment:
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.
As shown in Figure 2, be for the subregion synoptic diagram of computer hard disc among the present invention.
System disk is divided into HPA subregion and ordinary magnetic disc subregion two parts.HPA (Hidden Protected Area) is after the ATA-5 agreement is established; introduced " main protection zone " notion; realize by directly a zone at hard disk rear portion being protected with ata command; not only operating system can't be seen this zone, even mainboard BIOS all can't read " the main protection zone " that is under the guard mode.The HPA subregion belongs to system's hidden partition, and (WINDOWS operating system) user can't have access under the normal operations system.In the HPA subregion, be divided into following three parts:
(1) HPA of system subregion: for the user keeps a complete basic operating system backup (WINDOWS operating system).
(2) function HPA subregion: be assigned to concrete functional module as the functional module district, comprised the functional software of each required function.Comprise the rescue platform that is specifically designed to system's rescue in this embodiment, be specifically designed to the virus killing platform of virus killing, be specifically designed to a plurality of concrete application platforms such as amusement platform of amusement.
(3) real pattern system: whole HPA subregion is defined and implement to load, and the real pattern system is positioned at the first address of HPA.The real pattern system can define the size of the whole subregions of HPA, number of partitions and each section post size that takes up space.
Secondly, write the real pattern boot at 0 track system boot sector of hard disk, it is the real pattern system that read path is pointed to HPA subregion first address.
In this embodiment,, created the HPA subregion in new MBR the inside by the mode of revising hard disk information, and set up the boot of real pattern by revising the disk MBR information of acquiescence.Boot is directed to system's progress in the HPA subregion.
As shown in Figure 1, be method particular flow sheet of the present invention.
1. the user starts module by one and starts a trigger pip, and this trigger pip produces 2 responses.First is a power-on command, and this signal can be Windows key value under Window operating system, also can be the high-low level signal, directly is transferred to the mainboard starting module, makes host-initiated.Another response is this trigger pip through receiving and parsing module identification back forms one and triggers code in order to the startup purpose that the expression user selects, and promptly enters the normal running system or enters the specific function system and enter which concrete function system (platform of killing virus, give first aid to platform or other platforms).This triggers code storage in the register of reception and parsing module.Described startup module can be arranged on the shortcut on the keyboard, the button on cabinet surface, perhaps other enabling signal devices that can trigger; Reception and parsing module can be a specific circuit board or one section program.
2. system start-up, the reading of data in proper order since 0 sector jumps to the first address of HPA, i.e. real pattern system according to the address jump instruction in the real pattern boot.
3. the real pattern system reads the triggering code, carries out the address redirect and loads to select the normal running system according to triggering code, and perhaps the backup operation system in the selective system HPA subregion loads and starts functional software in the corresponding function HPA subregion.Specific as follows:
Set up to trigger code-jump address corresponding tables in the real pattern system, will trigger code and jump address and carry out correspondingly, the real pattern system jumps to corresponding address according to triggering code judgement user's operation, starts corresponding system or function platform.Following table is an object lesson that triggers code-jump address corresponding tables:
Figure G2007101720033D00041
If the user does not carry out function selecting, promptly trigger the code representative and directly enter the normal running system, then jump to normal running system start-up address, for example point to the address that normal Windows begins, to load normal operating system.
If the user carries out function selecting, promptly trigger code and represent certain certain functional modules, then real pattern is pointed to system backup mirror image among the HPA with the address.Real pattern with the mirror image of system backup in the HPA of the system subregion virtual in the Mount mode be the C of system drive, with the function HPA subregion of incident correspondence virtual be other drives of system, and system image file that prestores in the read functions HPA subregion and function HPA subregion, enter the application software in system and the operation function HPA subregion, realize the loading of the system of band concrete function.
Adopt above method, the mirror image load mode that the real pattern system is different according to different event definitions, by loading function corresponding HPA subregion, and the software that makes this function HPA subregion is given the different application scenarios of user along with system loads is moved.
In this embodiment, function HPA subregion comprises the rescue platform that is specifically designed to system recovery, store the functional software that is used for system's rescue under the rescue platform, this software is carried out a kind of operation, with operating system copy and the covering normal operations system that backs up in the HPA of the system subregion.In the normal operations system because virus infections or other reasons when causing paralysing, can be given first aid to the method for recovery to computer system.That is:
When the operating system that is stored in the ordinary magnetic disc subregion is paralysed because of infective virus or other reasons, the trigger pip that the real pattern system starts based on system's rescue purpose according to the user, the operating system that backs up in the loading system HPA subregion, and the software of storing in the startup function HPA subregion that is used for system's rescue, the function that this functional software is finished is: with operating system copy and the covering normal operations system that backs up in the HPA of the system subregion, thereby the operating system of storing in the ordinary magnetic disc subregion is replaced with the operating system that backs up in the HPA subregion, reach the purpose of system's rescue.
In this embodiment, function HPA subregion also comprises the virus killing function platform that stores antivirus software, and antivirus software comprises master routine and virus base file.The antivirus software interface can customize, and also can be the conventional software of antivirus software provider.Consider user experience and avoid misoperation of users, software interface is redesigned, and Windows system registry list item is revised, make the user under the virus killing platform, can't call the shortcut of other Windows acquiescences.Specify the process that starts the virus killing platform below in conjunction with accompanying drawing 3:
When the user need start the system of band virus killing function, at first press the trigger button that starts module, after receiving and parsing module receive the relative trigger signal, host-initiated, and generate a triggering code, and be temporarily stored in the register of reception and parsing module.
System loads is at first moved the real pattern boot from disk 0 magnetic track, and the address jumps to the first address of HPA subregion.Real mode programs brings into operation, and program at first reads the triggering code from receive the parsing module register, judge according to the incident address corresponding tables that writes in advance in the HPA real pattern subregion.Code representative virus killing function, then the HPA function division address of virus killing function correspondence under the real pattern system log (SYSLOG).
The real pattern system utilizes the Mount mode that the C that the system backup mirror image invents disk is coiled, and load images.According to the address of virus killing function HPA subregion the virtual D of being of this function HPA subregion is coiled simultaneously.
Move the antivirus software of installing in this function HPA subregion, just can call its virus database after the antivirus software operation, the user can kill virus under the virus killing platform of this special use.
If virus base is not up-to-date, can upgrade by the online upgrading function that antivirus software carries, the function HPA subregion at virus base place is defined as read-write when loading, and software is sought virus base file and auto-update virus base according to default virus server address automatically.Virus base in the HPA subregion has just obtained upgrading like this.
In addition, when the user normally starts the normal operations system, since user installation antivirus software, the virus base that is stored in the antivirus software in the function HPA subregion also can be called when system loads, for reaching the purpose of the virus base of can upgrading, when loading virus base subregion HPA, the real pattern system is read-write with this function HPA definition space.When the user upgrades virus base by Internet new virus base file is write in the HPA subregion, also be loaded when the user selects to enter the virus killing platform owing to store the function HPA subregion of virus base, so two virus bases are actually synchronous.

Claims (6)

1. the restoration methods of a computer system is characterized in that, may further comprise the steps:
1) computer hard disc information is provided with, comprises:
A. system disk is divided into ordinary magnetic disc subregion and the user can't have access under the normal operations system the hidden partition HPA of system subregion two parts, described HPA subregion comprises:
System HPA subregion: remain with a basic operating system backup;
Function HPA subregion: store the software that is used for system's rescue;
Real pattern system: be positioned at the first address of HPA, be used for whole HPA subregion is defined and implement to load;
B. 0 track system boot sector at hard disk writes the real pattern boot, and read path is pointed to HPA subregion first address;
2) host computer starts, and enters the real pattern system under the guide of described real pattern boot;
3) the real pattern system is according to the trigger pip of user's startup, the operating system that backs up in the loading system HPA subregion, and start the software of storing in the function HPA subregion that is used for system's rescue, the operating system of storing in the ordinary magnetic disc subregion is replaced with the operating system that backs up in the HPA subregion; The method of the operating system that backs up in the described real pattern system loads HPA of the system subregion is as follows:
(1) described trigger pip is that the user passes through the startup of a startup module, and this trigger pip forms after a reception and parsing module identification and triggers code;
(2) establish in the described real pattern system and trigger code one jump address corresponding tables, the real pattern system obtains triggering code and carries out redirect according to the jump address that triggers the code correspondence from described reception and parsing module, start the backup operation system in the HPA subregion.
2. the restoration methods of computer system as claimed in claim 1 is characterized in that, described HPA subregion is divided into a plurality of, and each function HPA subregion stores the functional software of using corresponding to concrete, and described system rescue software is one of them functional software.
3. the restoration methods of computer system as claimed in claim 1 is characterized in that, size, number of partitions and each section post of the described real pattern system definition HPA subregion size that takes up space.
4. the restoration methods of computer system as claimed in claim 1 is characterized in that, in the described step (3), described real pattern system adopts following method to start system's rescue software in the function HPA subregion:
Described real pattern system with the mirror image of system backup in the HPA subregion virtual in the Mount mode be the C of system drive, be other drives of system with the function HPA subregion that stores system rescue software is virtual, and the operating system image file that backs up in the reading system HPA subregion and store the function HPA subregion of system rescue software, enter system and start-up system rescue software.
5. the restoration methods of computer system as claimed in claim 1 is characterized in that, described startup module is the shortcut that is provided with on the keyboard, the button on cabinet surface, perhaps other enabling signal devices that can trigger.
6. the restoration methods of computer system as claimed in claim 1 is characterized in that, described reception and parsing module are a circuit board or one section program.
CN2007101720033A 2007-12-10 2007-12-10 Recovery method of computer system Expired - Fee Related CN101183324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101720033A CN101183324B (en) 2007-12-10 2007-12-10 Recovery method of computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101720033A CN101183324B (en) 2007-12-10 2007-12-10 Recovery method of computer system

Publications (2)

Publication Number Publication Date
CN101183324A CN101183324A (en) 2008-05-21
CN101183324B true CN101183324B (en) 2010-06-23

Family

ID=39448611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101720033A Expired - Fee Related CN101183324B (en) 2007-12-10 2007-12-10 Recovery method of computer system

Country Status (1)

Country Link
CN (1) CN101183324B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100570592C (en) * 2008-10-29 2009-12-16 清华大学 A kind of soft computer and implementation method
CN101901171B (en) * 2009-05-27 2012-03-14 同方股份有限公司 Using method of computer data backup and restore software
CN102163167A (en) * 2011-03-02 2011-08-24 奇智软件(北京)有限公司 Method and device for rescuing system
CN102262576B (en) * 2011-07-29 2013-04-10 成都易我科技开发有限责任公司 Method for operating partition in use by using current system
CN102541686B (en) * 2011-11-29 2015-07-01 中标软件有限公司 Method for achieving backup and disaster recovery of system by utilizing virtual machine
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)
CN102799499B (en) * 2012-06-15 2016-05-18 深圳乐投卡尔科技有限公司 Method and vehicle-mounted Android equipment that vehicle-mounted Android device systems recovers
CN104182301A (en) * 2014-08-26 2014-12-03 山东超越数控电子有限公司 Backup method and restore method for Kylin operating system
CN105912426A (en) * 2016-04-28 2016-08-31 浪潮(北京)电子信息产业有限公司 K-UX operating system reduction method and system
CN108108635B (en) * 2017-12-18 2022-01-25 福建平实科技有限公司 Data security processing method, device and system
CN109144779A (en) * 2018-08-01 2019-01-04 中影环球(北京)科技有限公司 The backup and restoration methods of TMS server, (SuSE) Linux OS
CN110941516B (en) * 2019-12-06 2023-02-17 深圳市科力锐科技有限公司 Operating system restoration method, device, equipment and storage medium
CN112559232A (en) * 2020-12-15 2021-03-26 中国人民大学 Method for one-key restoration of public machine room system
CN112835742B (en) * 2021-01-14 2024-02-20 上海汉枫电子科技有限公司 Data parameter backup and recovery method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1456980A (en) * 2002-05-08 2003-11-19 联想(北京)有限公司 Hard disc data duplicating and reproducing method
CN1877539A (en) * 2005-06-07 2006-12-13 英业达股份有限公司 Data backup/recovery system under cold start mode and implementing method therefor
CN1885270A (en) * 2005-06-24 2006-12-27 株式会社东芝 Information processing apparatus, storage medium, and data rescue method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1456980A (en) * 2002-05-08 2003-11-19 联想(北京)有限公司 Hard disc data duplicating and reproducing method
CN1877539A (en) * 2005-06-07 2006-12-13 英业达股份有限公司 Data backup/recovery system under cold start mode and implementing method therefor
CN1885270A (en) * 2005-06-24 2006-12-27 株式会社东芝 Information processing apparatus, storage medium, and data rescue method

Also Published As

Publication number Publication date
CN101183324A (en) 2008-05-21

Similar Documents

Publication Publication Date Title
CN101183324B (en) Recovery method of computer system
US7111203B2 (en) Method for implementing data backup and recovery in computer hard disk
US7555568B2 (en) Method and apparatus for operating a host computer from a portable apparatus
CN1241120C (en) Method for backing up and recovering data in hard disk of computer
US8751783B2 (en) Booting computing devices with EFI aware operating systems
CN100541509C (en) A kind of method of scanning and killing computer virus
US9430250B2 (en) Bootability with multiple logical unit numbers
US7694123B2 (en) Storing files for operating system restoration
US9239725B2 (en) System and method for installing an OS via a network card supporting PXE
US20060224794A1 (en) Using USB memory device to recover operating system
US20080098381A1 (en) Systems and methods for firmware update in a data processing device
JP2003280914A (en) Information equipment, storage medium, and method for restoring initial condition
US6944758B2 (en) Backup method for interface BIOS by making backup copy of interface BIOS in system BIOS and executing backup interface BIOS in system BIOS if error occurs
US20080109676A1 (en) Processing device and storage medium
CN102439565A (en) Method and device for starting recovery
CN106776133A (en) A kind of system and method for operating system recovery
CN100573480C (en) A kind of hard disk data protection method and system
CN101299189A (en) DOS method of one of self-startup and multiple operating systems
CN101901171A (en) Using method of computer data backup and restore software
CN100541432C (en) A kind of loading method of computer system
CN104077196A (en) Linux boot failure recovering method and device
US20060080518A1 (en) Method for securing computers from malicious code attacks
CN109086085B (en) Operating system start management method and device
CN101206576A (en) Computer host capable of shortening start time and method for shortening computer start time
CN1818824A (en) High-reliable personal computer and operating system thereof

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
ASS Succession or assignment of patent right

Owner name: YIWU WADOU PICTURE CO., LTD.

Free format text: FORMER OWNER: WANG AIXIANG

Effective date: 20101102

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

Free format text: CORRECT: ADDRESS; FROM: 322000 NO.398, CHOUZHOU WEST ROAD, YIWU CITY, ZHEJIANG PROVINCE TO: 322000 NO.136, QIJIGUANG ROAD, ECONOMIC DEVELOPMENT ZONE, CHOUJIANG, YIWU CITY, ZHEJIANG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20101108

Address after: 3, No. 168 middle Tibet Road, No. 200001, Shanghai, Huangpu District

Patentee after: Acer Computer (Shanghai) Co.,Ltd.

Address before: 200120, 36 building, International Building, 360 South Road, Pudong New Area, Pudong, Shanghai, Shanghai

Patentee before: Shanghai Beijing University Founder Technology Computer System Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100623