CN101470644A - Operating system recovery apparatus and method - Google Patents

Operating system recovery apparatus and method Download PDF

Info

Publication number
CN101470644A
CN101470644A CNA2007103073729A CN200710307372A CN101470644A CN 101470644 A CN101470644 A CN 101470644A CN A2007103073729 A CNA2007103073729 A CN A2007103073729A CN 200710307372 A CN200710307372 A CN 200710307372A CN 101470644 A CN101470644 A CN 101470644A
Authority
CN
China
Prior art keywords
operating system
memory
read
memory storage
recovery
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
CNA2007103073729A
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNA2007103073729A priority Critical patent/CN101470644A/en
Publication of CN101470644A publication Critical patent/CN101470644A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a recovery device of an operating system, which comprises a storage device, a read-only storage unit and a recovery unit, wherein the storage device is used to store the operating system, the read-only storage unit is arranged on a main board, and is used to store setting data of the operating system. The recovery unit is coupled with the storage device and the read-only storage unit, and is used to determine whether enabling a recovery signal according to the state of the operating system to write the setting data to the storage device, thereby leading the operating system to recover to a normal state.

Description

Operating system recovery apparatus and method
Technical field
The invention relates to a kind of Data Recapture Unit and method, and particularly relevant for a kind of operating system recovery apparatus and method.
Background technology
In general, (Operating System OS) can deposit on the memory storage (hard disk) operating system of computer system (server).In addition, also can be in the storage space of memory storage, go again to be partitioned into one independently hidden partition come the image file (Image) of backup operation system.Therefore, when operating system is damaged or can not normally use (for example the data loss of operating system etc.), can pass through above-mentioned image file, make operating system recovery arrive normal condition, so that computer system can normal operation.
But, because physical damage may take place in memory storage itself, for example the magnetic region of memory map file is damaged or the magnetic region of storage operating system is damaged, and make the user to arrive normal condition by operating system recovery by above-mentioned image file, so computer system can't normal operation.And, in memory storage, additionally use one independently hidden partition come the image file of storage operating system, will reduce total usage space of memory storage.In addition,, also the image file of operating system must be backed up once more,, can allow the operating system recovery normal condition, so, will cause the inconvenience in the use so that operating system takes place unusual or when damaging if when the user need change memory storage.
Summary of the invention
The invention provides a kind of operating system recovery apparatus and method, by this except saving the usage space of memory storage, can also avoid memory storage because physical damage, and can't allow operating system recovery arrive normal condition, in addition, also need not after changing memory storage, also once more the image file of storage operating system to new memory storage.
The present invention proposes a kind of operating system recovery apparatus, and it comprises memory storage, read-only memory unit and recovery unit.Memory storage is in order to storage operating system.Read-only memory unit is disposed on the mainboard, in order to the setting data of storage operating system.Recovery unit is coupled to memory storage and read-only memory unit, and in order to the state of foundation operating system, and whether decision enables a restoring signal, so that setting data is write in the hard disk, makes that operating system recovery is a normal condition.
In an embodiment of the present invention, when above-mentioned state when operating system is normal condition, forbidden energy restoring signal then.And when the state of operating system is up-set condition, then enable restoring signal, and so that setting data is write in the memory storage, cover original operating system, make operating system be returned to normal condition.
In an embodiment of the present invention, above-mentioned read-only memory unit comprise ROM (read-only memory) and Erasable Programmable Read Only Memory EPROM one of them.In addition, above-mentioned memory storage is a hard disk.In addition, above-mentioned recovery unit is a basic input-output system unit.
The present invention proposes a kind of operating system recovery method, is suitable for a computer system, and this computer system comprises mainboard and memory storage, and memory device stores operating system.And the method comprises the following steps: to dispose read-only memory unit on mainboard, in order to the setting data of storage operating system.The state of detecting operation system.When the state that detects operating system is up-set condition, then produce a restoring signal.According to restoring signal, setting data is write in the memory storage, make operating system recovery to normal operating condition.
In an embodiment of the present invention, above-mentioned read-only memory unit comprise ROM (read-only memory) and Erasable Programmable Read Only Memory EPROM wherein it.In addition, above-mentioned memory storage is a hard disk.
The present invention is by being disposed at the read-only memory unit on the mainboard, come the setting data (for example image file of operating system raw data or driver) of backup operation system, and take place when unusual in operating system, produce a restoring signal by recovery unit again, so that the setting data of operating system is write in the memory storage, and then cover the operating system of damaging, make that operating system recovery is a normal condition.Thus, can save the usage space of the shared memory storage of setting data of operating system, and also can avoid the user when changing memory storage, also will back up to the setting data of operating system again on the new memory storage once more.In addition, also can avoid memory storage because of physical damage, and can't be with operating system recovery to normal condition.
For above-mentioned feature and advantage of the present invention can be become apparent, preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Description of drawings
Fig. 1 illustrates the system architecture calcspar into the computer system of one embodiment of the invention.
Fig. 2 illustrates the process flow diagram into the operating system recovery method of one embodiment of the invention.
Embodiment
Fig. 1 illustrates the system architecture calcspar into the computer system of one embodiment of the invention.Please refer to Fig. 1, the computer system 100 that present embodiment provided comprises central processing unit 110, chipset 120, storer 130 and operating system recovery apparatus 140.
Central processing unit 110 is coupled to chipset 120.Generally speaking, chipset 120 can comprise north bridge chips and South Bridge chip etc.By this, central processing unit 110 can see through chipset 120, and is coupled to storer 130 and operating system recovery apparatus 140.
In the present embodiment, storer 130 can be dynamic RAM (DRAM), static RAM (SRAM), Synchronous Dynamic Random Access Memory (SDRAM) or two random access memory (DDRAM).
In addition, operating system recovery apparatus 140 comprises memory storage 141, read-only memory unit 142 and recovery unit 143.Wherein, memory storage 141 for example is a hard disk, and in other embodiments, memory storage 141 can be a flash memory.And memory storage 141 is in order to storage operating system, so that after computer system 100 starts, central processing unit 110 can be carried out the operating system in the memory storage 141, makes computer system 100 normal operations.
Hold above-mentioned, read-only memory unit 142 can be disposed on the mainboard (not illustrating), and be used for the setting data of storage operating system, for example be the original start file of operating system and driver etc., do not limit its scope, so that the operating system in the memory storage 141 takes place when unusual, can allow the operating system recovery normal condition.In the present embodiment, read-only memory unit 142 can be for comprising ROM (read-only memory) (Read-only Memory, ROM) with Erasable Programmable Read Only Memory EPROM (Electrically ErasableProgrammable Read Only Memory, EEPROM) one of them.
Please continue with reference to Fig. 1, recovery unit 143 is coupled to memory storage 141 and read-only memory unit 142, and in order to the state of foundation operating system, and whether decision enables a restoring signal, so that setting data is write in the memory storage 141, make that operating system recovery is a normal condition.
In the present embodiment, recovery unit 143 can be Basic Input or Output System (BIOS) (Basic InputOutput System, BIOS) unit, and (Read-only Memory ROM) implements can to utilize flash memory (Flash Memory) or ROM (read-only memory).In addition, because recovery unit 143 is a basic input-output system unit, so store the source code of relevant BIOS in the recovery unit 143.
Above-mentioned with relation of coupling and the effect thereof between each element in the explanation computer system 100.Below, will further specify the motion flow of present embodiment.At first, when a user started computer system 100, central processing unit 110 can see through chipset 120 in recovery unit (BIOS unit) 143, deposits in the position in the memory storage 141 to learn operating system.Afterwards, central processing unit 110 just can see through chipset 120 in memory storage again according to above-mentioned position, to carry out the operating system of memory storage 141, makes computer system 100 be able to normal operation.In central processing unit 110 executive operating systems, the state that recovery unit 143 just can the detecting operation system.If the state that detects operating system is normal condition (that is central processing unit 110 normally executive operating system), then recovery unit 143 can not enable restoring signal.
In other words, if detect the state of operating system when being undesired (for example operating system is damaged or the part data of operating system are lost), expression central processing unit 110 may executive operating system, and then recovery unit 143 can enable a restoring signal.Then, central processing unit 110 can be according to this restoring signal, writes in the memory storage 141 and see through the setting data that chipset 120 stored read-only memory unit 142, so that cover original operating system, makes the operating system recovery normal condition.Afterwards, the user can be after operating system recovery be finished, and start again once more is so that allow computer system 100 be able to normal operation.
By the explanation of the foregoing description, can summarize a kind of operating system recovery method.And the method can be suitable for a computer system, and computer system comprises mainboard and memory storage, and memory device stores operating system.Fig. 2 illustrates the process flow diagram into the operating system recovery method of one embodiment of the invention.Please refer to Fig. 2, at first, in step S202, configuration one read-only memory unit on mainboard, and the setting data of this read-only memory unit storage operating system.In step S204, the state of detecting operation system.In step S206,, then produce a restoring signal when the state that detects operating system when being undesired.
In step S208, according to restoring signal, setting data is write in the memory storage, make operating system recovery to normal condition.In the present embodiment, above-mentioned read-only memory unit comprise ROM (read-only memory) and Erasable Programmable Read Only Memory EPROM one of them.In addition, above-mentioned memory storage is a hard disk.
In addition, in the process of aforesaid operations system recovery, be to see through recovery unit 143 to carry out automatically, but the invention is not restricted to this, also can dispose a resetkey in addition, and this resetkey can be coupled to recovery unit 143 in computer system 100.For instance, when the user finds that the operating system of computer system 100 can't normal operation, can make recovery unit 143 enable a restoring signal by pushing resetkey.Then, central processing unit 110 is understood according to this restoring signal, and sees through chipset 120 to read-only memory unit 142, so that will be stored in the action that the setting data (for example image file of operating system) in the read-only memory unit 142 decompresses.Afterwards, central processing unit 110 just can write to memory storage 141 with the setting data after decompressing, and to cover the primitive operation system in the memory storage 141, makes the operating system of damaging can recover normal.
In sum, the present invention is by being disposed at the read-only memory unit on the mainboard, come the setting data (for example image file of operating system raw data or driver) of backup operation system, and take place when unusual in operating system, producing a restoring signal by recovery unit, so that the setting data of operating system is write in the memory storage, and then cover the operating system of damaging, make that operating system recovery is a normal condition.Thus, can save the usage space of the shared memory storage of setting data of operating system, and also can avoid the user when changing memory storage, also will back up to the setting data of operating system again on the new memory storage once more.In addition, also can avoid memory storage because of physical damage, and can't be with operating system recovery to normal condition.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; have in the technical field under any and know the knowledgeable usually; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is when with being as the criterion that claim was defined.

Claims (8)

1. operating system recovery apparatus comprises:
One memory storage is in order to store this operating system;
One read-only memory unit is disposed on the mainboard, in order to store a setting data of this operating system; And
One recovery unit is coupled to this memory storage and this read-only memory unit, and in order to the state according to this operating system, and whether decision enables a restoring signal, so that this setting data is write in this memory storage, makes that this operating system recovery is a normal condition.
2. operating system recovery apparatus as claimed in claim 1, it is characterized in that, when the state of this operating system is normal condition, this restoring signal of forbidden energy then, when the state of this operating system is up-set condition, then enable this restoring signal, so that this setting data is write in this memory storage, cover this original operating system, make this operating system be returned to normal condition.
3. operating system recovery apparatus as claimed in claim 1 is characterized in that, this read-only memory unit comprise ROM (read-only memory) and Erasable Programmable Read Only Memory EPROM one of them.
4. operating system recovery apparatus as claimed in claim 1 is characterized in that, this memory storage is a hard disk.
5. operating system recovery apparatus as claimed in claim 1 is characterized in that, this recovery unit is a basic input-output system unit.
6. an operating system recovery method is suitable for a computer system, and this computer system comprises a mainboard and a memory storage, and this operating system of this memory device stores, and this method comprises the following steps:
Configuration one read-only memory unit on this mainboard, and this read-only memory unit is stored a setting data of this operating system;
Detect the state of this operating system;
When the state that detects this operating system when being undesired, then produce a restoring signal; And
According to this restoring signal, this setting data is write in this memory storage, make this operating system recovery to normal condition.
7. operating system recovery method as claimed in claim 6 is characterized in that, this read-only memory unit comprise ROM (read-only memory) and Erasable Programmable Read Only Memory EPROM one of them.
8. operating system recovery method as claimed in claim 6 is characterized in that, this memory storage is a hard disk.
CNA2007103073729A 2007-12-28 2007-12-28 Operating system recovery apparatus and method Pending CN101470644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007103073729A CN101470644A (en) 2007-12-28 2007-12-28 Operating system recovery apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007103073729A CN101470644A (en) 2007-12-28 2007-12-28 Operating system recovery apparatus and method

Publications (1)

Publication Number Publication Date
CN101470644A true CN101470644A (en) 2009-07-01

Family

ID=40828130

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007103073729A Pending CN101470644A (en) 2007-12-28 2007-12-28 Operating system recovery apparatus and method

Country Status (1)

Country Link
CN (1) CN101470644A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108572886A (en) * 2017-03-13 2018-09-25 鸿富锦精密工业(武汉)有限公司 operating system recovery circuit
CN111522690A (en) * 2020-03-27 2020-08-11 宜鼎国际股份有限公司 Data storage device and method for maintaining normal startup operation of data storage device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108572886A (en) * 2017-03-13 2018-09-25 鸿富锦精密工业(武汉)有限公司 operating system recovery circuit
CN108572886B (en) * 2017-03-13 2022-11-04 鸿富锦精密工业(武汉)有限公司 Operating system recovery circuit
CN111522690A (en) * 2020-03-27 2020-08-11 宜鼎国际股份有限公司 Data storage device and method for maintaining normal startup operation of data storage device
CN111522690B (en) * 2020-03-27 2023-08-18 宜鼎国际股份有限公司 Data storage device and method for maintaining normal start-up operation of data storage device

Similar Documents

Publication Publication Date Title
US10896099B2 (en) Memory module with non-volatile backup storage
CN102707990B (en) Container based processing method and device
EP2168042B1 (en) Execution of point-in-time copy operations in continuous mirroring environments
US11579775B2 (en) Storage system and method of operating the same
CN108431783A (en) Access request processing method, device and computer system
CN100382049C (en) Data processing apparatus and method for flash memory
CN102135927A (en) Method and device for system booting based on NAND FLASH
CN106970856B (en) Data management system and method for backing up, recovering and mounting data
CN104281538A (en) Storage device capacity expanding and snapping method and storage devices
CN1936866A (en) Flash memory body storing mechanism with data restoring function
US10191670B2 (en) Method and device of data protection, storage equipment
CN104216796A (en) Data backup and recovery method and electronic device
CN100437504C (en) Hard disc data backup system and method
US9384125B2 (en) Method for accessing flash memory having pages used for data backup and associated memory device
CN103198122A (en) Method and device for restarting in-memory database
CN110941395A (en) Dynamic random access memory, memory management method, system and storage medium
CN111324290A (en) Memory device
CN111666046B (en) Data storage method, device and equipment
US8074012B2 (en) Flash memory apparatus and method for securing a flash memory from data damage
CN101246429A (en) Electronic systems using flash memory modules as main storage and related system booting methods
CN108431784A (en) Access request processing method, device and computer system
CN107402843A (en) Restoration methods, device and the equipment of database corruption
CN101470644A (en) Operating system recovery apparatus and method
CN109918228B (en) Data power failure maintaining method and system
CN101620575B (en) Flash card and method for flash memory to prevent data from being damaged

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090701