CN1508697A - 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 PDF

Info

Publication number
CN1508697A
CN1508697A CNA02156518XA CN02156518A CN1508697A CN 1508697 A CN1508697 A CN 1508697A CN A02156518X A CNA02156518X A CN A02156518XA CN 02156518 A CN02156518 A CN 02156518A CN 1508697 A CN1508697 A CN 1508697A
Authority
CN
China
Prior art keywords
hard disk
operating system
boot
basic input
protection
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.)
Granted
Application number
CNA02156518XA
Other languages
Chinese (zh)
Other versions
CN1308846C (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB02156518XA priority Critical patent/CN1308846C/en
Publication of CN1508697A publication Critical patent/CN1508697A/en
Application granted granted Critical
Publication of CN1308846C publication Critical patent/CN1308846C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Stored Programmes (AREA)

Abstract

The invention is a method and the device for protecting the operation system on hard disk. It comprises starting basic I/O system, sets the activation conditions of operation system abnormal startup, the basic I/O system boots program to judge that if the activation condition exists, if the condition doesn't exist, it calls the operation system in hard disk normal parts, if the condition exists; it sets the operation system protection area in the hard disk, the basic I/O system boots the operation system in the hard disk protection area.

Description

On hard disk, realize the method and the device thereof of protection computer operating system
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
For overcoming above-mentioned deficiency; the object of the present invention is to provide a kind of method and device thereof of on hard disk, realizing the protection computer operating system; in the operating system that realizes on the hard disk that operating system is thoroughly isolated 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, 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;
(4) if undesired trigger condition exists, setting operation system protection zone 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:
(1) 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;
(2) the hard disk boot of in the hard disk protection district, packing into, Basic Input or Output System (BIOS) boot guiding hard disk boot;
(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 and output 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 common Basic Input or Output System (BIOS) of the basic input and output boot of hard disk.
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 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 boot adopts inverted order to deposit.
7, realize the said device of realizing the method for protection computer operating system on hard disk of claim 1, comprise CPU (central processing unit), storer and input-output device, it is characterized in that: this system also comprises an operating system flip flop equipment.
8, according to the said device of realizing the method for 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 device of realizing the method for protection computer operating system on hard disk of claim 7, it is characterized in that: said flip flop equipment is an infrared interface.
CNB02156518XA 2002-12-16 2002-12-16 Method and apparatus for realizing protection of computer operation system in hard disk Expired - Fee Related CN1308846C (en)

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 true CN1508697A (en) 2004-06-30
CN1308846C 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006053488A1 (en) * 2004-11-18 2006-05-26 Lenovo (Beijing) Limited A method for realizing anti-virus and a computer thereof
WO2007022687A1 (en) * 2005-08-23 2007-03-01 Star Softcomm (China) Ltd System and method for security control of operating system
WO2007022686A1 (en) * 2005-08-23 2007-03-01 Star Softcomm(China) Ltd System and method for isolating operating system
WO2007056932A1 (en) * 2005-11-16 2007-05-24 Jie Bai A method for deleting virus program and a method to get back the data destroyed by the virus.
WO2007056933A1 (en) * 2005-11-16 2007-05-24 Jie Bai A method for identifying unknown virus and deleting it
CN100435098C (en) * 2006-01-05 2008-11-19 英业达股份有限公司 Inline processing method and system for initiate key codes in operating system
CN103091108A (en) * 2013-01-17 2013-05-08 商旭升 Vibration detecting system used for aircraft engine
CN107562466A (en) * 2017-07-21 2018-01-09 华为技术有限公司 The method and apparatus of computer operating system installation

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349980B (en) * 2007-07-18 2010-10-06 深圳市顶星数码网络技术有限公司 Hard disk data backup and protection method
CN103810430B (en) * 2012-11-13 2018-02-27 联想(北京)有限公司 The method and electronic equipment of a kind of control electronics

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385721B1 (en) * 1999-01-22 2002-05-07 Hewlett-Packard Company Computer with bootable hibernation partition
CN1102262C (en) * 1999-02-10 2003-02-26 联想(北京)有限公司 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 (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006053488A1 (en) * 2004-11-18 2006-05-26 Lenovo (Beijing) Limited A method for realizing anti-virus and a computer thereof
CN100374969C (en) * 2004-11-18 2008-03-12 联想(北京)有限公司 Method for searching and killing virus and computer therefor
WO2007022687A1 (en) * 2005-08-23 2007-03-01 Star Softcomm (China) Ltd System and method for security control of operating system
WO2007022686A1 (en) * 2005-08-23 2007-03-01 Star Softcomm(China) Ltd System and method for isolating operating system
CN100403212C (en) * 2005-08-23 2008-07-16 北京软通科技有限责任公司 System and method for implementing operation system separation
WO2007056932A1 (en) * 2005-11-16 2007-05-24 Jie Bai A method for deleting virus program and a method to get back the data destroyed by the virus.
WO2007056933A1 (en) * 2005-11-16 2007-05-24 Jie Bai A method for identifying unknown virus and deleting it
CN100435098C (en) * 2006-01-05 2008-11-19 英业达股份有限公司 Inline processing method and system for initiate key codes in operating system
CN103091108A (en) * 2013-01-17 2013-05-08 商旭升 Vibration detecting system used for aircraft engine
CN107562466A (en) * 2017-07-21 2018-01-09 华为技术有限公司 The method and apparatus of computer operating system installation
CN107562466B (en) * 2017-07-21 2021-01-08 华为技术有限公司 Method and equipment for installing computer operating system

Also Published As

Publication number Publication date
CN1308846C (en) 2007-04-04

Similar Documents

Publication Publication Date Title
US7519806B2 (en) Virtual partition for recording and restoring computer data files
CN1241120C (en) Method for backing up and recovering data in hard disk of computer
US5651139A (en) Protected system partition read/write access on a SCSI controlled DASD
CN1506813A (en) Reliably and safelf refreshing and recovering firmware from large scale memory equipment
US20150227743A1 (en) Portable media system with virus blocker and method of operation thereof
US20110010756A1 (en) Virtual application program system, storing device, method for executing virtual application program and method for protecting virtual environment
US20060190941A1 (en) Removable device and program startup method
CN101046752A (en) System and method for guiding standby MBR during virus attack
JPH05289854A (en) Access device for external storage device
CN1308846C (en) Method and apparatus for realizing protection of computer operation system in hard disk
CN101944043A (en) File access method of Linux virtual machine disk under Windows platform
TWI813869B (en) Data storage device and method for maintaining normal boot operation of data storage device
CN1848067A (en) Information processing apparatus
EP0247274B1 (en) Detection of the presence of an incorrect removable storage medium
KR20090048576A (en) Portable device with user interface
JP2007122772A (en) Information processor and method and program for storing data
CN1223406A (en) Computer hardware controlled partitioned storage protection technology
CN101373457B (en) Hard disk write-protection lock based on USB equipment under Windows environment
US6216225B1 (en) PC system having flash-ROM controlling device and method for protecting BIOS stored in flash-ROM
CN1317650C (en) Method for automatically recovering BIOS based on hard disk protective space
US20060080518A1 (en) Method for securing computers from malicious code attacks
CN1818824A (en) High-reliable personal computer and operating system thereof
CN102222185B (en) Method for preventing operating system starting file from being infected
CN1173269C (en) Monitor method for reverse mounting
WO2009088175A2 (en) Virtual application program system, storing device, method for executing virtual application program and method for protecting virtual environment

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070404

Termination date: 20201216