CN106776133A - A kind of system and method for operating system recovery - Google Patents
A kind of system and method for operating system recovery Download PDFInfo
- Publication number
- CN106776133A CN106776133A CN201611128219.5A CN201611128219A CN106776133A CN 106776133 A CN106776133 A CN 106776133A CN 201611128219 A CN201611128219 A CN 201611128219A CN 106776133 A CN106776133 A CN 106776133A
- Authority
- CN
- China
- Prior art keywords
- recovery
- operating system
- subregion
- value
- computer
- 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/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of system and method for operating system recovery, the system is based on a computer by being constituted including random access memory RAM, hard disk, input-output system BIOS, resetkey, mainboard structure, wherein, hard disk at least includes two subregions, and one of subregion includes a set of operating system;Another subregion includes a recovery module and image file, the recovery module is one group of recovery routine, when operating system starts to recover, resetkey activation recovery module is loaded into random access memory RAM and performs installs the recovery that image file realizes operating system, and method is then realized based on the system.A kind of system and method for operating system recovery compared with prior art, can facilitate system to return to the normal state of former computer operating system, and security of system is high, practical, it is easy to accomplish, it is easy to promote.
Description
Technical field
The present invention relates to computer system recovery technology field, specifically a kind of practical, operating system recovery
System and method.
Background technology
System recovery procedure refers to that computer system is returned into the normal state of former computer operating system.Such as
Windows constantly monitoring and the changes of record kernel file and system registration documents.If being attacked or abnormal operation being made operation
System becomes unstable, and system resumes operation can perform recovery operation system.
Additionally, system for computer recovers that CD " recovering to realize " (CD) can also be used.Operating system recovery is realized, number
According to must first back up.Decompression one operating system and Backup Images file or executable file, image or executable file be
In one CD.
" recovering CD " operating system is performed and is carried in a CD-ROM drive.Operating system accesses and performs recovery automatically
Plan " recovers CD ", and so, user only needs to make a system recover function activation system recovery procedure.The image that program reads
File " recovers CD ", covers an operating system storage disk subregion for damage.
But existing recovery process all has security situation not high, based on this, a kind of operating system is now provided extensive
Multiple system and method, system resumes operation can perform recovery operation system, and computer system is recovered return operating system and write from memory
The installment state recognized, security of system is high.
The content of the invention
Technical assignment of the invention is directed to above weak point, there is provided a kind of practical, operating system recovery to be
System and method.
A kind of operating system recovery system, based on one by including random access memory RAM, hard disk, input-output system
BIOS, resetkey, the computer of mainboard structure composition, wherein, hard disk at least includes two subregions, and one of subregion includes one
Set operating system;Another subregion includes a recovery module and image file, and the recovery module is one group of recovery routine, works as behaviour
When starting to recover as system, resetkey activation recovery module is loaded into random access memory RAM and performs installation image file
Realize the recovery of operating system.
In the recovery system, the installation procedure of image file corresponding source operating system, i.e. recovery routine, and for whole extensive
Complex system sets resetkey and input-output system BIOS, in recovery operation system, sets a mark corresponding with image file
Will value, resetkey is triggered to activate the operating system respective flag value;Then recovery routine is loaded according to value of statistical indicant BIOS
To in random access memory RAM, while recovery module creates a recovery system;Operating system is performed using recovery system to install
Image file, recovery operation system.
The hard disk includes MBR subregion MBR, the first subregion, the second subregion, the 3rd subregion, wherein,
MBR subregion MBR is responsible for boot sector of the retrieval in boot partition;
First subregion is the boot partition of computer, built-in first operating system;
Second subregion is the spare partitions of computer, built-in second operating system;
The 3rd built-in recovery routine of subregion and relative to recovery routine operating system source installation procedure image file, this is extensive
Multiple program is above-mentioned recovery module.
The MBR subregion MBR is stored at the magnetic track head of hard disk, and the subregion includes main bootstrap program and some
Individual primary partition table;All operations for accessing data in a hard disk are realized according to the state of primary partition table and end address
, when a computer system starts up, main bootstrap program retrieves the boot sector in boot partition.
First operating system of first subregion is a Windows.
When the recovery routine start-up operation system recovery procedure in the 3rd subregion, recovery be in the first subregion first
The second operating system in operating system or the second subregion.
A kind of operating system recovery method, based on above-mentioned recovery system, its implementation process is:
Trigger resetkey first, activate operating system to be restored, trigger the corresponding value of statistical indicant of the operating system to be restored;
Recovery routine is loaded into random access memory RAM according to value of statistical indicant;
One recovery system is created by the recovery routine of the loading, it is extensive to perform operating system installation image file using recovery system
Multiple operating system.
After operating system recovery, reset value of statistical indicant and restart computer.
Resetkey activate computer operating system recovery process, produce correspond to recover signal value, value of statistical indicant according to
Signal value is adjusted, and when value of statistical indicant is 0, the operating system of computer is activated, normal to start;When value of statistical indicant is 1, it is
System recovery operation is performed.
The recovery system is used to guide simulation respective operations system environments, after recovery system decompressing image file, holds
The installation procedure of row operating system, after operating system is installed completely, value of statistical indicant is set to 0, then restarts department of computer science
System.When computer system restarts, it is 0 that BIOS detects value of statistical indicant, and corresponding normal booting procedure is performed.
The system and method for a kind of operating system recovery of the invention, with advantages below:
A kind of system and method for operating system recovery of the invention, the system of may be such that is returning to former computer operating system just
Constantly monitoring and the change of record kernel file and system registration documents of normal state, such as Windows;If attacked or different
Often operation makes operating system become unstable, and system resumes operation can perform recovery operation system, and computer system is recovered to return
The installment state of operating system acquiescence is returned, security of system is high, practical, it is easy to accomplish, it is easy to promote.
Brief description of the drawings
Accompanying drawing 1 realizes schematic diagram for of the invention.
Specific embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
A kind of operating system recovery system, based on one by including storage medium, hard disk, input-output system BIOS, recovery
The computer of key, mainboard structure composition, wherein, storage medium is random access memory RAM, and hard disk at least includes two subregions,
One of subregion includes a set of operating system;Another subregion includes a recovery module and image file, the recovery module
It is one group of recovery routine, when operating system starts to recover, resetkey activation recovery module is loaded into random access memory RAM
And perform the recovery that installation image file realizes operating system.
In the recovery system, the installation procedure of image file corresponding source operating system, i.e. recovery routine, and for whole extensive
Complex system sets resetkey and input-output system BIOS, in recovery operation system, sets a mark corresponding with image file
Will value, resetkey is triggered to activate the operating system respective flag value;Then recovery routine is loaded according to value of statistical indicant BIOS
To in random access memory RAM, while recovery module creates a recovery system;Operating system is performed using recovery system to install
Image file, recovery operation system.
The hard disk includes MBR subregion MBR, the first subregion, the second subregion, the 3rd subregion, wherein,
MBR subregion MBR is responsible for boot sector of the retrieval in boot partition;
First subregion is the boot partition of computer, built-in first operating system;
Second subregion is the spare partitions of computer, built-in second operating system;
The 3rd built-in recovery routine of subregion and relative to recovery routine operating system source installation procedure image file, this is extensive
Multiple program is above-mentioned recovery module.
The MBR subregion MBR is stored at the magnetic track head of hard disk, and the subregion includes main bootstrap program and some
Individual primary partition table;All operations for accessing data in a hard disk are realized according to the state of primary partition table and end address
, when a computer system starts up, main bootstrap program retrieves the boot sector in boot partition.
First operating system of first subregion is a Windows.
When the recovery routine start-up operation system recovery procedure in the 3rd subregion, recovery be in the first subregion first
The second operating system in operating system or the second subregion.
A kind of operating system recovery method, based on above-mentioned recovery system, its implementation process is:
Trigger resetkey first, activate operating system to be restored, trigger the corresponding value of statistical indicant of the operating system to be restored;
Recovery routine is loaded into random access memory RAM according to value of statistical indicant;
One recovery system is created by the recovery routine of the loading, it is extensive to perform operating system installation image file using recovery system
Multiple operating system.
After operating system recovery, reset value of statistical indicant and restart computer.
Operating system recovery system of the invention as shown in Figure 1, for computer system 1000, including basic input/
Output system(BIOS)1100, hard disk 1200, mark 1300, resetkey 1400, and storage medium, i.e. random access memory
RAM1500。
Based on the system, BIOS 1100 is the firmware of the mainboard of computer system 1000, is stored at read-only storage (ROM)
Mainboard basic input/output operations are provided, system is set, and hardware testing hard disk 1200 includes a MBR point
Area(MBR)1210th, the first subregion 1220, the second subregion 1230, the 3rd subregion 1240.MBR1210 is stored at magnetic track head, hard disk
1200 sectors include main bootstrap program 1215 and several primary partition tables(Do not show).The all of data are accessed in hard disk 1200
Operation is realized according to the state of primary partition table and end address.Additionally, when computer system 1000 starts, master draws
Helical pitch sequence 1215 retrieves the boot sector in boot partition.
First subregion 1220 is the boot partition of computer system 1000 in the present embodiment, wherein the first operating system 1225
It is found.First operating system 1225 is usually a Windows.Second disk partition 1230 is another calculating
The disk partition of machine system 1000, including the second operating system(Such as a (SuSE) Linux OS)1235, in implementation of the invention
In example.3rd disk partition 1240 is further another disk partition of computer system 1000, including at least one recovers
Program 1241 and relative to recovery routine 1241 operating system source installation procedure image file 1243.Recovery routine 1241
Decompressing image file 1243, one installation process of operating system of execution, the first subregion 1220 of the first operating system 1225
Or second second subregion 1230 of operating system 1235 recover.
The activating computer system 1000 of resetkey 1400, so as to produce corresponding to the signal value for recovering.Value of statistical indicant 1300
Value subtracts a value according to signal value.For example, when value of statistical indicant is 0, computer system 1000 is generally activated, when value of statistical indicant is
When 1, system resumes operation is performed.The signal value produced on the basis of embodiments of the invention, the value of statistical indicant is to be predefined for
The value of statistical indicant that 1, such BIOS 1100 are obtained is immediately performed system resumes operation.Second operating system(Such as a Linux behaviour
Make system)1230 second disk subregions 1235 in embodiments of the present invention execution system recovery operation when be reserved.
Following recovery routine 1241 performs disk according to value of statistical indicant 1300,(Under operating system (DOS) environment), create one
Individual recovery system.Then, recovery system is performed to simulate the boot environment corresponding to the operating system.Secondly, recovery system solution
Compressed image file 1243, performs an installation procedure for operating system.Installed completely in operating system, value of statistical indicant 1300 is set
It is 0 and 1000, then restarts computer system.When computer system 1000 restarts, BIOS detects value of statistical indicant
For 0 corresponding normal booting procedure is performed.
Above-mentioned specific embodiment is only specific case of the invention, and scope of patent protection of the invention is included but is not limited to
Above-mentioned specific embodiment, any system and method for meeting a kind of operating system recovery of the invention claims and
The appropriate change or replacement that the those of ordinary skill of any technical field is done to it, should all fall into patent of the invention and protect
Shield scope.
Claims (10)
1. a kind of operating system recovery system, it is characterised in that the system be based on one by including random access memory RAM, hard disk,
Input-output system BIOS, resetkey, the computer of mainboard structure composition, wherein, hard disk at least includes two subregions, wherein one
Individual subregion includes a set of operating system;Another subregion includes a recovery module and image file, and the recovery module is one group
Recovery routine, when operating system starts to recover, resetkey activation recovery module is loaded into random access memory RAM and performs
The recovery that image file realizes operating system is installed.
2. a kind of operating system recovery system according to claim 1, it is characterised in that in the recovery system, image
The installation procedure of file corresponding source operating system, i.e. recovery routine, and for whole recovery system sets resetkey and input and output
System bios, in recovery operation system, set a value of statistical indicant corresponding with image file, and resetkey is triggered to activate the behaviour
Make system respective flag value;Then recovery routine is loaded into random access memory RAM according to value of statistical indicant BIOS, while recovering
One recovery system of module creation;Operating system being performed using recovery system, image file, recovery operation system are installed.
3. a kind of operating system recovery system according to claim 1, it is characterised in that the hard disk draws including a master
Record partitioning MBR, the first subregion, the second subregion, the 3rd subregion are led, wherein,
MBR subregion MBR is responsible for boot sector of the retrieval in boot partition;
First subregion is the boot partition of computer, built-in first operating system;
Second subregion is the spare partitions of computer, built-in second operating system;
The 3rd built-in recovery routine of subregion and relative to recovery routine operating system source installation procedure image file, this is extensive
Multiple program is above-mentioned recovery module.
4. a kind of operating system recovery system according to claim 3, it is characterised in that the MBR subregion
MBR is stored at the magnetic track head of hard disk, and the subregion includes main bootstrap program and several primary partition tables;Data are accessed in a hard disk
All operations be all to be realized according to the state of primary partition table and end address, when a computer system starts up, main boot
Boot sector of the program search in boot partition.
5. a kind of operating system recovery system according to claim 3, it is characterised in that the first behaviour of first subregion
It is a Windows as system.
6. a kind of operating system recovery system according to claim 3, it is characterised in that the recovery journey in the 3rd subregion
During sequence start-up operation system recovery procedure, recovery is the second behaviour in the first operating system or the second subregion in the first subregion
Make system.
7. a kind of operating system recovery method, based on above-mentioned recovery system, it is characterised in that its implementation process is:
Trigger resetkey first, activate operating system to be restored, trigger the corresponding value of statistical indicant of the operating system to be restored;
Recovery routine is loaded into random access memory RAM according to value of statistical indicant;
One recovery system is created by the recovery routine of the loading, it is extensive to perform operating system installation image file using recovery system
Multiple operating system.
8. a kind of operating system recovery method according to claim 7, it is characterised in that after operating system recovery, weight
Put value of statistical indicant and restart computer.
9. a kind of operating system recovery method according to claim 7, it is characterised in that resetkey activates computer operation
The recovery process of system, produces the signal value for corresponding to and recovering, value of statistical indicant to be adjusted according to signal value, when value of statistical indicant is 0,
The operating system of computer is activated, normal to start;When value of statistical indicant is 1, system resumes operation is performed.
10. a kind of operating system recovery method according to claim 9, it is characterised in that the recovery system is used to draw
Guided mode intends respective operations system environments, after recovery system decompressing image file, the installation procedure of operating system is performed, in operation
After system is installed completely, value of statistical indicant is set to 0, then restarts computer system;When computer system restarts,
It is 0 that BIOS detects value of statistical indicant, and corresponding normal booting procedure is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611128219.5A CN106776133A (en) | 2016-12-09 | 2016-12-09 | A kind of system and method for operating system recovery |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611128219.5A CN106776133A (en) | 2016-12-09 | 2016-12-09 | A kind of system and method for operating system recovery |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106776133A true CN106776133A (en) | 2017-05-31 |
Family
ID=58874832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611128219.5A Pending CN106776133A (en) | 2016-12-09 | 2016-12-09 | A kind of system and method for operating system recovery |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776133A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107368389A (en) * | 2017-06-26 | 2017-11-21 | 合肥美的智能科技有限公司 | Control method, control device and the EMMC of operating system One-key recovery function |
CN107621997A (en) * | 2017-09-28 | 2018-01-23 | 联想(北京)有限公司 | A kind of processing method and processing device |
CN107678880A (en) * | 2017-09-08 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of minicomputer calculates partition operating system Backup and Restore device and method |
CN107704337A (en) * | 2017-08-22 | 2018-02-16 | 北京珠穆朗玛移动通信有限公司 | Method, mobile terminal and the device with store function of factory reset |
CN107967141A (en) * | 2017-11-27 | 2018-04-27 | 北京小米移动软件有限公司 | Operating system update method, apparatus and terminal |
CN110162317A (en) * | 2019-04-02 | 2019-08-23 | 苏州摩比信通智能系统有限公司 | A kind of single chip computer architecture and method improving single-chip microcontroller firmware upgrade safety |
TWI813869B (en) * | 2020-03-27 | 2023-09-01 | 宜鼎國際股份有限公司 | Data storage device and method for maintaining normal boot operation of data storage device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1096381A2 (en) * | 1999-10-28 | 2001-05-02 | Agfa Corporation | Recovery system and method for computer operating systems |
CN1700181A (en) * | 2005-06-10 | 2005-11-23 | 张健 | Method for safeguarding the continuous safety operation of computers |
CN1235149C (en) * | 2002-09-18 | 2006-01-04 | 宏碁股份有限公司 | Method and device for restoring computer operation system and method for producing said system |
US20060150037A1 (en) * | 2004-12-30 | 2006-07-06 | Mitac Technology Corp. | Methods and systems for operating system recovery |
CN102163168A (en) * | 2011-05-05 | 2011-08-24 | 曙光信息产业(北京)有限公司 | Recovery method and recovery device of computer system |
CN102270163A (en) * | 2010-11-02 | 2011-12-07 | 泗阳天琴软件科技有限公司 | Method for recovering computer operating system |
-
2016
- 2016-12-09 CN CN201611128219.5A patent/CN106776133A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1096381A2 (en) * | 1999-10-28 | 2001-05-02 | Agfa Corporation | Recovery system and method for computer operating systems |
CN1235149C (en) * | 2002-09-18 | 2006-01-04 | 宏碁股份有限公司 | Method and device for restoring computer operation system and method for producing said system |
US20060150037A1 (en) * | 2004-12-30 | 2006-07-06 | Mitac Technology Corp. | Methods and systems for operating system recovery |
CN1700181A (en) * | 2005-06-10 | 2005-11-23 | 张健 | Method for safeguarding the continuous safety operation of computers |
CN102270163A (en) * | 2010-11-02 | 2011-12-07 | 泗阳天琴软件科技有限公司 | Method for recovering computer operating system |
CN102163168A (en) * | 2011-05-05 | 2011-08-24 | 曙光信息产业(北京)有限公司 | Recovery method and recovery device of computer system |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107368389A (en) * | 2017-06-26 | 2017-11-21 | 合肥美的智能科技有限公司 | Control method, control device and the EMMC of operating system One-key recovery function |
CN107368389B (en) * | 2017-06-26 | 2020-11-06 | 合肥美的智能科技有限公司 | Control method and control device for one-key recovery function of operating system and EMMC |
CN107704337B (en) * | 2017-08-22 | 2020-08-25 | 北京珠穆朗玛移动通信有限公司 | Factory setting restoring method, mobile terminal and device with storage function |
CN107704337A (en) * | 2017-08-22 | 2018-02-16 | 北京珠穆朗玛移动通信有限公司 | Method, mobile terminal and the device with store function of factory reset |
CN107678880B (en) * | 2017-09-08 | 2020-04-03 | 郑州云海信息技术有限公司 | Backup recovery device and method for small computer computing partition operating system |
CN107678880A (en) * | 2017-09-08 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of minicomputer calculates partition operating system Backup and Restore device and method |
CN107621997A (en) * | 2017-09-28 | 2018-01-23 | 联想(北京)有限公司 | A kind of processing method and processing device |
CN107621997B (en) * | 2017-09-28 | 2021-05-18 | 联想(北京)有限公司 | Processing method and device |
CN107967141A (en) * | 2017-11-27 | 2018-04-27 | 北京小米移动软件有限公司 | Operating system update method, apparatus and terminal |
CN107967141B (en) * | 2017-11-27 | 2021-04-13 | 北京小米移动软件有限公司 | Operating system upgrading method and device and terminal |
CN110162317A (en) * | 2019-04-02 | 2019-08-23 | 苏州摩比信通智能系统有限公司 | A kind of single chip computer architecture and method improving single-chip microcontroller firmware upgrade safety |
CN110162317B (en) * | 2019-04-02 | 2022-11-18 | 苏州摩比信通智能系统有限公司 | Singlechip structure and method for improving upgrading safety of singlechip firmware |
TWI813869B (en) * | 2020-03-27 | 2023-09-01 | 宜鼎國際股份有限公司 | Data storage device and method for maintaining normal boot operation of data storage device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106776133A (en) | A kind of system and method for operating system recovery | |
US8751783B2 (en) | Booting computing devices with EFI aware operating systems | |
JP5715566B2 (en) | Cache data and metadata management | |
US7366887B2 (en) | System and method for loading programs from HDD independent of operating system | |
KR101994811B1 (en) | Electronic apparatus, method for restore of mbr and computer-readable recording medium | |
KR101115486B1 (en) | Apparatus and method for controlling booting of computer system | |
JP4371771B2 (en) | Power management block used in non-volatile memory system | |
CN101183324B (en) | Recovery method of computer system | |
US20060150037A1 (en) | Methods and systems for operating system recovery | |
US20090217024A1 (en) | Recovering from Hard Disk Errors that Corrupt One or More Critical System Boot Files | |
US20060041738A1 (en) | Recovery method for master boot record of hard disk drive | |
JP2006286001A (en) | Usage of usb memory device for recovery of operating system | |
CN107943414A (en) | The file partition of built-in Linux and data read-write method | |
KR101651204B1 (en) | Apparatus and Method for synchronization of snapshot image | |
US20080098381A1 (en) | Systems and methods for firmware update in a data processing device | |
CN111258666B (en) | Method and device for reading computer file, computer system and storage medium | |
CN102439565A (en) | Method and device for starting recovery | |
US20140372710A1 (en) | System and method for recovering from an unexpected shutdown in a write-back caching environment | |
US9846621B1 (en) | Disaster recovery—multiple restore options and automatic management of restored computing devices | |
CN104751062B (en) | A kind of method and device improving operating system reliability | |
US20090013167A1 (en) | Computer device, method for booting the same, and booting module for the same | |
CN101324849B (en) | Method for integrating DOS operating system by BIOS chip | |
US10592425B2 (en) | Virtualizing NVDIMM WPQ flushing with minimal overhead | |
CN109086085B (en) | Operating system start management method and device | |
KR20180023575A (en) | Firmware auto updating method and computer readable recording medium writing firmware auto updating method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170531 |
|
WD01 | Invention patent application deemed withdrawn after publication |