CN1308846C - Method and apparatus for realizing protection of computer operation system in hard disk - Google Patents
Method and apparatus for realizing protection of computer operation system in hard disk Download PDFInfo
- Publication number
- CN1308846C CN1308846C CNB02156518XA CN02156518A CN1308846C CN 1308846 C CN1308846 C CN 1308846C CN B02156518X A CNB02156518X A CN B02156518XA CN 02156518 A CN02156518 A CN 02156518A CN 1308846 C CN1308846 C CN 1308846C
- Authority
- CN
- China
- Prior art keywords
- hard disk
- operating system
- basic input
- bios
- boot
- 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
Links
Landscapes
- Storage Device Security (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to a method and a device for protecting computer operating systems on a hard disk, which needs to solve the problems that the systems are easy to be attacked by viruses, have a low speed to be recovered, etc. The method comprises: a basic I/O system is started after a computer is powered on, and a triggering condition of the abnormal startup of an operating system is configured; a bootstrap program of the basic I/O system judges whether the triggering condition of the abnormal startup of the operating system exists or not; if the triggering condition does not exist, then an operating system in a general partition in the hard disk is invoked; if the triggering condition of the abnormal startup exists, then a protection area of the operating system is configured in the hard disk, and the operating system in the protection area of the hard disk is guided by the basic I/O system. The present invention can realize the independent and fully isolated operating system in the computer without being influenced by other operating systems, protect the general operating system and the protection programs thereof, and restore the users' data at the fastest speed even if the user's general operating system is completely damaged. The present invention is suitable for protecting the computer operating systems and recovery programs thereof.
Description
Technical field
The invention belongs to computer program control technology field, specifically a kind of method and device thereof of on hard disk, realizing the protection computer operating system.
Background technology
Basic Input or Output System (BIOS) (BIOS) and operating system (OS) are the critical softwares of computing machine, usually provide respectively by mainboard producer and operating system producer, in the mainboard production run, mainboard manufacturer can be written to Basic Input or Output System (BIOS) in the ROM (read-only memory) (ROM) or flash memory (FLASH) of mainboard.In installing operating system, operating system can write one section bootstrap loading routine in the fixing position of hard disk that is a sector foremost of hard disk.When calculating startup, computing machine is the operation Basic Input or Output System (BIOS) automatically, Basic Input or Output System (BIOS) can be called the bootstrap loading routine in the sector foremost of hard disk, bootstrap loading routine is pressed the zoning ordinance of hard disk, start the operating system in a certain subregion, the start-up course of operating system that Here it is.
Hard disk is erasable memory device, and Basic Input or Output System (BIOS), application software or operating system reading writing harddisk finally all must be instructed by the hard disk port operation and operate hard disk, and the hard-disk interface codes and standards are followed in this instruction.The Standard Edition that the instruction of hard-disk interface standard is followed at present is ATAPI-5 and ATAPI-6 (advanced techniques embedded hard disc interface) or higher hard-disk interface codes and standards such as ATA-100.In general; data on the hard disk are deleted or are destroyed than being easier to; but the hard disk of standard provided a kind of instruction of protected data after ATAPI-5 reached; the instruction of hard disk maximum address promptly is set,, just can marks a zone at hard disk by this instruction; it is the hard disk protection district; the user can not be visited, as hard-disk capacity littler, the data in the hard disk protection district can avoid virus destruction.
Summary of the invention
Based on above-mentioned; purpose of the present invention just is to provide a kind of method and device thereof of realizing the protection computer operating system on hard disk; it can be in the thorough operating system of isolating of operating system that realizes on the hard disk in a cover and other common subregion, with protection operating system.
To achieve the above object of the invention, the technical solution used in the present invention is: a kind of method that realizes the protection computer operating system on hard disk may further comprise the steps:
The step of a starting up Basic Input or Output System (BIOS);
The trigger condition of the undesired startup of b setting operation system;
Whether the trigger condition of the undesired startup of c Basic Input or Output System (BIOS) boot decision operation system exists, the Basic Input or Output System (BIOS) boot guides the hard disk bootstrap loading routine of a sector foremost if do not exist then, calls the operating system in the common subregion of hard disk;
If the undesired trigger condition of d exists in hard disk setting operation system protection zone, by the operating system in the Basic Input or Output System (BIOS) guiding hard disk protection district.
Setting operation system protection zone in hard disk further comprises step by the operating system in the Basic Input or Output System (BIOS) guiding hard disk protection district:
(a) if undesired trigger condition exists, the basic input and output boot in the guiding hard disk protection district of then in the hard disk protection district, packing into, the basic input and output boot in Basic Input or Output System (BIOS) guiding hard disk protection district;
(b) the hard disk boot of in the hard disk protection district, packing into, basic input and output boot guiding hard disk boot;
(c) in the hard disk protection district, carry out subregion, make to have data partition and operating system partition in the hard disk protection district, the operating system in the hard disk boot guiding hard disk protection district.
The basic input and output boot and the Basic Input or Output System (BIOS) in hard disk protection district are put together; The compatible common Basic Input or Output System (BIOS) of the basic input and output boot of hard disk; Hard disk protection district boot leaves in the actual maximum sector of hard disk; Hard disk protection district boot adopts inverted order to deposit.
Be implemented in the device of protection computer operating system method on the hard disk, comprise the flip flop equipment of CPU (central processing unit), storer and input-output device and an operating system.
Good effect of the present invention is, can realize the cover operating system of independently isolating fully not being subjected to the influence of normal operations system fully in computing machine.Can be in computing machine user data even normal operations system with and recovery routine protect; even the normal operations system is destroyed fully; under the condition of other floppy disk or CD, also can the operational computations machine, allow user's data obtain recovering the most rapidly.
Description of drawings
Fig. 1 is a normal operations system start-up process flow diagram;
Fig. 2 is an operation system protection method main flow chart of the present invention.
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Embodiment
ATAPI-5 and ATAPI-6 all are big capacity hard disk high transmission rates data access interface standards, these standards are designed in the driver hard disk controller is integrated, support Ultra DMA (the vast capacity internal memory is directly visited) interface standard, this standard has been improved the sequential dutycycle, and data transmission is reliable.The hard-disk interface standard of standard provided a kind of instruction of protected data after ATAPI-5 and ATAPI-6 hard-disk interface standard reached; it is provided with the instruction of hard disk maximum address; by this instruction; just can mark a zone and do the hard disk protection district at hard disk; the user can not be visited, suffer viral destruction to avoid the data in the hard disk protection district.But this method can not really protect the data of hard disk to avoid suffering the destruction of virus.In the prior art, general os starting flow process as shown in Figure 1, its startup method is: the starting up, start common Basic Input or Output System (BIOS), basic input-output operation system bootstrap hard disk is sector directed loading program foremost, call the operating system in the common subregion of hard disk, thereby start computer system.Hard-disk interface standards such as ATAPI-5 and ATAPI-6 hard-disk interface standard are provided with the instruction of hard disk maximum address, and this instruction marks a zone at hard disk and does the hard disk protection district, with protection operating system.
Consult Fig. 2; the present invention increases a new flow process with the protection operation system of computer on original os starting flow process; the at first flip flop equipment of the undesired startup of setting operation system such as keyboard or infrared interface; these devices are carried out data definition; if triggering the condition of these devices exists; the protection flow process that then starts the operating system; otherwise startup Basic Input or Output System (BIOS); basic input-output operation system bootstrap hard disk is sector directed loading program foremost; call the operating system in the common subregion of hard disk, thereby start computer system.If undesired trigger condition exists in hard disk setting operation system protection zone, by the operating system in the Basic Input or Output System (BIOS) guiding hard disk protection district.The basic input and output boot and the Basic Input or Output System (BIOS) in hard disk protection district are put together; And the compatible common Basic Input or Output System (BIOS) of the basic input and output boot of hard disk.
Execution in step process of the present invention is: starting up's Basic Input or Output System (BIOS) at first; the basic input and output boot in hard disk protection district checks in the starting basic input and output system process whether a certain flip flop equipment exists; as the special definition of data on keyboard or the infrared interface; if just have not according to normal flow leading hard disk boot section, and go to guide hard disk protection district boot.
If undesired trigger condition exists, the basic input and output boot in the exploitation and the guiding hard disk protection district of packing in the hard disk protection district then is by the basic input and output boot in Basic Input or Output System (BIOS) guiding hard disk protection district.
In the hard disk protection district, develop and the hard disk boot of packing into afterwards, guide the boot in hard disk protection district by the basic input and output boot in hard disk protection district.Hard disk protection district boot leaves in the actual maximum sector of hard disk, and hard disk protection district boot adopts inverted order to deposit.According to the zoning ordinance of hard disk fixed partition, in the hard disk protection district, carry out subregion, allow can have data partition and operating system partition in the hard disk protection district.The hard disk protection zoning ordinance is the realization of common fdisk rule in the hard disk protection subregion.
Hard disk protection district boot guides the operating system in the hard disk protection subregion that needs to start according to the hard disk protection zoning ordinance then.The hard drive program in hard disk protection district is the realization of common hard drive technology in the hard disk protection district.Operating system in the hard disk protection district need go access hard disk protection subregion to start by hard disk protection district hard drive program.Subregion when os starting in the hard disk protection district can equally with the common subregion on the hard disk can be operated system identification, becomes the subregion of hard disk.Basic input/output routine guiding hard disk protection district, hard disk protection district boot; reboot hard disk boot accessing operation system and can accomplish effective protection, allow viral supervisor can not destroy data in the hard disk protection district data in the hard disk protection district and operating system.
Claims (9)
1, a kind of method that realizes the protection computer operating system on hard disk is characterized in that comprising the steps:
(1) step of starting up's Basic Input or Output System (BIOS);
(2) trigger condition of the undesired startup of setting operation system;
(3) whether the trigger condition of the undesired startup of Basic Input or Output System (BIOS) boot decision operation system exists, if not existing then, the Basic Input or Output System (BIOS) boot guides the hard disk bootstrap loading routine of a sector foremost, call the operating system in the common subregion of hard disk, no longer execution in step (4);
(4) if undesired startup trigger condition exists, setting operation system disk protected location in hard disk then is by the operating system in the Basic Input or Output System (BIOS) guiding hard disk protection district.
2, according to the said method that realizes the protection computer operating system on hard disk of claim 1, it is characterized in that: step (4) further comprises the steps:
(4.1) if undesired startup trigger condition exists, the Basic Input or Output System (BIOS) boot in the guiding hard disk protection district of then in the hard disk protection district, packing into, the Basic Input or Output System (BIOS) boot in Basic Input or Output System (BIOS) guiding hard disk protection district;
(4.2) the hard disk boot of in the hard disk protection district, packing into, the Basic Input or Output System (BIOS) boot guiding hard disk boot in hard disk protection district;
(4.3) in the hard disk protection district, carry out subregion, make to have data partition and operating system partition in the hard disk protection district, the operating system in the hard disk boot guiding hard disk protection district.
3, according to the said method that realizes the protection computer operating system on hard disk of claim 2, it is characterized in that: the Basic Input or Output System (BIOS) boot and the Basic Input or Output System (BIOS) in hard disk protection district are put together.
4, according to the said method that on hard disk, realizes the protection computer operating system of claim 2, it is characterized in that: the compatible Basic Input or Output System (BIOS) of hard disk protection district Basic Input or Output System (BIOS) boot.
5, according to the said method that realizes the protection computer operating system on hard disk of claim 2, it is characterized in that: hard disk protection district Basic Input or Output System (BIOS) boot leaves in the actual maximum sector of hard disk.
6, according to the said method that realizes the protection computer operating system on hard disk of claim 2, it is characterized in that: hard disk protection district Basic Input or Output System (BIOS) boot adopts inverted order to deposit.
7, according to the said method that realizes the protection computer operating system on hard disk of claim 1, it is characterized in that: the undesired startup of described step (3) is triggered by an operating system flip flop equipment.
8, according to the said method that realizes the protection computer operating system on hard disk of claim 7, it is characterized in that: said flip flop equipment is a keyboard.
9, according to the said method that realizes the protection computer operating system on hard disk of claim 7, it is characterized in that: said flip flop equipment is an infrared interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB02156518XA CN1308846C (en) | 2002-12-16 | 2002-12-16 | Method and apparatus for realizing protection of computer operation system in hard disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB02156518XA CN1308846C (en) | 2002-12-16 | 2002-12-16 | Method and apparatus for realizing protection of computer operation system in hard disk |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1508697A CN1508697A (en) | 2004-06-30 |
CN1308846C true CN1308846C (en) | 2007-04-04 |
Family
ID=34236253
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB02156518XA Expired - Fee Related CN1308846C (en) | 2002-12-16 | 2002-12-16 | Method and apparatus for realizing protection of computer operation system in hard disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1308846C (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101349980B (en) * | 2007-07-18 | 2010-10-06 | 深圳市顶星数码网络技术有限公司 | Hard disk data backup and protection method |
CN103810430A (en) * | 2012-11-13 | 2014-05-21 | 联想(北京)有限公司 | Method for controlling electronic equipment and electronic equipment |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100374969C (en) * | 2004-11-18 | 2008-03-12 | 联想(北京)有限公司 | Method for searching and killing virus and computer therefor |
CN100403212C (en) * | 2005-08-23 | 2008-07-16 | 北京软通科技有限责任公司 | System and method for implementing operation system separation |
CN100514305C (en) * | 2005-08-23 | 2009-07-15 | 北京软通科技有限责任公司 | System and method for implementing safety control of operation system |
CN100465978C (en) * | 2005-11-16 | 2009-03-04 | 白杰 | Method for recovering data damaged by virus programe, apparatus and virus clearing method |
CN100437614C (en) * | 2005-11-16 | 2008-11-26 | 白杰 | Method for identifying unknown virus programe and clearing method thereof |
CN100435098C (en) * | 2006-01-05 | 2008-11-19 | 英业达股份有限公司 | Method and system for embedding operating system starting key code |
CN103091108A (en) * | 2013-01-17 | 2013-05-08 | 商旭升 | Vibration detecting system used for aircraft engine |
CN107562466B (en) * | 2017-07-21 | 2021-01-08 | 华为技术有限公司 | Method and equipment for installing computer operating system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1225475A (en) * | 1999-02-10 | 1999-08-11 | 联想(北京)有限公司 | Method for protection of hard disc based on computer main board fixation memory device |
JP2001306327A (en) * | 2000-04-24 | 2001-11-02 | I-O Data Device Inc | Application execution method before activation of os, and data processing system |
US6385721B1 (en) * | 1999-01-22 | 2002-05-07 | Hewlett-Packard Company | Computer with bootable hibernation partition |
-
2002
- 2002-12-16 CN CNB02156518XA patent/CN1308846C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6385721B1 (en) * | 1999-01-22 | 2002-05-07 | Hewlett-Packard Company | Computer with bootable hibernation partition |
CN1225475A (en) * | 1999-02-10 | 1999-08-11 | 联想(北京)有限公司 | Method for protection of hard disc based on computer main board fixation memory device |
JP2001306327A (en) * | 2000-04-24 | 2001-11-02 | I-O Data Device Inc | Application execution method before activation of os, and data processing system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101349980B (en) * | 2007-07-18 | 2010-10-06 | 深圳市顶星数码网络技术有限公司 | Hard disk data backup and protection method |
CN103810430A (en) * | 2012-11-13 | 2014-05-21 | 联想(北京)有限公司 | Method for controlling electronic equipment and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN1508697A (en) | 2004-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1241120C (en) | Method for backing up and recovering data in hard disk of computer | |
US7519806B2 (en) | Virtual partition for recording and restoring computer data files | |
US5651139A (en) | Protected system partition read/write access on a SCSI controlled DASD | |
US8312259B1 (en) | System and method for booting a computer from backup | |
CN1506813A (en) | Reliably and safelf refreshing and recovering firmware from large scale memory equipment | |
US5832513A (en) | Detecting significant file system alterations during execution of a storage media software utility | |
US20020166059A1 (en) | Methods and apparatus for protecting against viruses on partitionable media | |
EP0510244A1 (en) | Method and apparatus for protecting a computer system from computer viruses | |
US9015840B2 (en) | Portable media system with virus blocker and method of operation thereof | |
CN1308846C (en) | Method and apparatus for realizing protection of computer operation system in hard disk | |
US9588829B2 (en) | Security method and apparatus directed at removable storage devices | |
CN101046752A (en) | System and method for guiding standby MBR during virus attack | |
CN1417689A (en) | Fixed disk data enciphering back-up and restoring method | |
US6907524B1 (en) | Extensible firmware interface virus scan | |
EP0247274B1 (en) | Detection of the presence of an incorrect removable storage medium | |
CN107329855A (en) | Reduce the method and device of firmware information | |
CN1223406A (en) | Computer hardware controlled partitioned storage protection technology | |
CN1317650C (en) | Method for automatically recovering BIOS based on hard disk protective space | |
CN101373457A (en) | A Hard Disk Write Protection Lock Based on USB Device in Windows Environment | |
CN1818824A (en) | High-reliable personal computer and operating system thereof | |
WO2006119233A2 (en) | Method for securing computers from malicious code attacks | |
CN102222185B (en) | Method for preventing operating system starting file from being infected | |
CN1368679A (en) | Monitoring Methods for Uninstallation | |
KR101282443B1 (en) | Backup and Recovery of data | |
CN118427823B (en) | Virus attack behavior processing method and device based on hard disk storage chip |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070404 Termination date: 20201216 |
|
CF01 | Termination of patent right due to non-payment of annual fee |