CN1068212A - 微机硬盘读写控制器 - Google Patents

微机硬盘读写控制器 Download PDF

Info

Publication number
CN1068212A
CN1068212A CN 92107305 CN92107305A CN1068212A CN 1068212 A CN1068212 A CN 1068212A CN 92107305 CN92107305 CN 92107305 CN 92107305 A CN92107305 A CN 92107305A CN 1068212 A CN1068212 A CN 1068212A
Authority
CN
China
Prior art keywords
read
write
microcomputer
hard disk
disk
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
CN 92107305
Other languages
English (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 92107305 priority Critical patent/CN1068212A/zh
Publication of CN1068212A publication Critical patent/CN1068212A/zh
Priority to EP93103745A priority patent/EP0560277A1/en
Priority to JP5049786A priority patent/JPH0675713A/ja
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/80Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in storage media based on magnetic or optical technology, e.g. disks with sectors
    • G06F21/805Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in storage media based on magnetic or optical technology, e.g. disks with sectors using a security table for the storage sub-system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Abstract

本发明公开了一种微机硬盘读写控制器,该控制 器有三种方案,其一是由存贮器、单片机、硬盘读写选 通信号控制电路和接口电路组成,其二是将前述方案 中的硬盘读写选通信号控制电路改为I/O口封锁 电路,其三是由硬盘适配器和存贮器组成,该控制器 的优点是能够控制硬盘的读写到扇区,使每个扇区的 读写均受到可靠的保护,能防止所有操作系统型的微 机病毒,保证数据不被破坏。本发明广泛适用于各类 微型计算机的病毒防治和数据保护。

Description

本发明涉及一种计算机附件,特别是一种微机硬盘读写控制器。
在计算机应用日益普及的当今世界,计算机犯罪日渐猖獗。犯罪的手段是多种多样的,计算机病毒便是其中最为受宠,最为有效的一种手段。而且,计算机病毒攻击得最多和最广泛的是基于DOS操作系统的IBM系列微型计算机及其兼容机。DOS操作系统是一个使用简便、信息共享性强,适合于个人开发与应用,全面开放的系统。DOS操作系统资料详细齐全,几乎没有什么秘密可言,用户对它可进行扩充、缩减或其它改造。而且由于没有从硬件上对它所使用的数据提供保护,造成对它的数据破坏轻而易举。所以DOS操作系统成为计算机病毒主要的攻击对象。为了增强DOS的安全性,人们做了大量的工作,并从软件角度研制了很多的防病毒软件及防病毒卡。但是,如果不从硬件的角度对硬盘的数据提供保护,一旦病毒发作,可能使硬盘的数据被彻底破坏,造成大量宝贵数据的丢失,使人们多年的心血毁于一旦。如果病毒的发作是修改数据,则后果更不堪设想。从硬件上增强DOS的安全性,主要在于增加对硬盘读写的可靠控制。微机的硬盘对微机而言是一个子系统,计算机只要对它发送命令,即可实现对硬盘操作。由于微机的结构所致,完全可以使任何软件监控系统,在病毒发出破坏操作之前不能被检测出来。这样,只能采用预处理的办法,即若需对硬盘操作,先由计算机发出相应的请求,正确无误才能开放硬盘使之能够工作。中国专利(CN10477160A),公开了一种防病毒的方法,该方法是通过控制硬盘适配器到硬盘驱动器连线中的写选通和读选通信号来实现控制硬盘读写的目的。但用这种方法所设计的硬盘读写控制卡,没有具有计算能力的芯片,同时存贮器的容量小,因而只能以磁道为单位进行硬盘的读写保护。由于DOS操作系统下的文件是以族为单位存取,可以说是以扇区为单位读写,这样现有的硬盘存取控制卡只能设定某个逻辑盘为只读或可读可写,从而造成给用户提供的安全软件的人机界面不友好和不习惯。
本发明的目的是提供能够控制硬盘的读写到扇区,使每个扇区的读写均受到可靠保护的微机硬盘读写控制器。
本发明的目的是这样实现的:该微机硬盘读写控制器是由存贮器、单片机、硬盘读写控制电路和接口电路组成,其中硬盘读写控制电路为硬盘读写选通信号控制电路,微机进行硬盘读写前,通过接口电路向单片机提出读写申请,单片机根据存贮器的存贮状态,决定申请是否合法,若申请合法则接通硬盘读写选通信号控制电路,使微机进行读写,若申请不合法则关闭硬盘读写选通信号控制电路,使微机不能进行读写。这种微机硬盘读写控制器中的硬盘读写控制电路还可以采用I/O口封锁电路,当微机执行硬盘I/O指令时,该I/O口封锁电路输出信号线与微机向硬盘输出的I/O信号,并根据读写申请,决定是否使微机输出信号有效或无效。
本发明的目的还可以这样实现:该微机硬盘读写控制器,它包括硬盘适配器,其特征在于它还含有存贮器,在进行硬盘读写操作时,硬盘适配器根据微机硬盘读写操作命令和存贮器中的状态决定硬盘适配器是否对硬盘驱动器进行操作。
该微机硬盘读写控制器的工作原理为:当微机刚开机或(reset)后,首先把硬盘置为全盘可读可写,如果确认为是软盘启动,则把硬盘改为全盘只读不写。硬盘启动后,由于DOS操作系统所用区均设为只读,故启动开始时,系统一定是没有病毒感染和破坏的。系统启动后,进入与该硬盘控制硬件相联系的应用软件,使用户选择本次开机需要使用的可读可写的子目录(一个或数个)。然后,以该硬件的应用软件生成本次使用的硬盘读写权利表,即只有本次使用的子目录中的文件是可读可写的(只读文件也是不可写),其它子目录的文件都是只读或不可读写的,这些功能都是用硬件保证的。把本次使用的硬盘读写权利表,通过接口送入硬盘读写控制器上的大容量存贮器,以保存本次使用权利表,这个工作只能在系统开始时做一次,这样,这个使用权利表不能被任何非法操作加以破坏。做完上述预处理后,在操作系统中修改与硬盘有关的设备驱动程序(例如DOS操作系统下的INT13)。在用户进行操作的过程中,如需要对硬盘进行读写,必须首先通过硬盘的设备驱动程序(INT13)和I/O接口向硬盘读写控制器进行本次读写要求的申请,然后硬盘读写控制器上有计算能力的芯片(单片机等),通过大容量RAM中保存的读写权利表,决定是否允许这次读写请求,并把结果通过I/O接口返回给硬盘设备驱动程序(INT13),如正确则开放硬盘读写控制电路,使操作能顺利正常进行,对不正确的读写硬盘的请求,则把这个信息通过I/O接口返回给设备驱动程序(INT13),由该程序报警并把信息返回给操作系统。
本发明与现有技术相比,具有如下显著优点:1、控制硬盘的读写到扇区,使每个扇区的读写均受到可靠的保护;2、可以防止所有操作系统型的计算机病毒,保证操作系统启动时干净无毒;3、保证系统下的数据不被随意破坏;4、保证计算机内的机密数据不被非法读写。本发明广泛适用于各类微型计算机的病毒防治和数据保护。
本发明的具体方案由下列附图和实施例详细给出:
图1为本发明实施例1示意图。
图2为本发明实施例2示意图。
图3为本发明实施例3示意图。
实施例1:该微机硬盘读写控制器是由存贮器1,单片机2,硬盘读写选通信号控制电路3和接口电路4组成。其中存贮器1选用一片62256(32k*8)静态RAM,单片机选用由8031和一片EPROM(27128)构成的单片机,硬盘读写选通信号控制电路3按中国专利(CN10477160A)设计,接口电路4选用4片74LS373和相应的译码电路,4片74LS373的I/O口地址分别为1F3~1F6H,选用一片3态门电路74LS368作为向计算机返回信息的器件,I/O地址为176H。微机进行硬盘读写前,通过接口电路4向单片机2提出读写申请,单片机2根据存贮器1的存贮状态,决定申请是否合法,若申请合法则接通硬盘读写选通信号控制电路3,使微机进行读写,若申请不合法则关闭硬盘读写选通信号控制电路3,使微机不能进行读写。
实施例2:除了硬盘读写选通信号控制电路3之外,其余部件和连接方式与实施例1相同。本例中的硬盘读写选通信号控制电路3采用I/O口封锁电路,该I/O口封锁电路选用74LS368和相应的译码电路,当微机执行向硬盘适配器发送读写请求命令时,I/O口封锁电路同时发出正确的命令信号或封锁信号,两种命令信号在总线上进行线与,以决定是否使微机输出信号有效或无效。
实施例3:该微机硬盘读写控制器由硬盘适配器1和存贮器2组成。其中硬盘适配器1采用现有的适配器,存贮器2采用62256(32k*8)静态RAM。在进行硬盘读写操作时,硬盘适配器1根据微机硬盘读写操作命令和存贮器2中的状态决定硬盘适配器1是否对硬盘驱动器进行操作。

Claims (3)

1、一种微机硬盘读写控制器,其特征在于该微机硬盘读写控制器是由存贮器1、单片机2、硬盘读写控制电路3和接口电路4组成,其中硬盘读写控制电路3为硬盘读写选通信号控制电路,微机进行硬盘读写前,通过接口电路4向单片机2提出读写申请,单片机2根据存贮器1的存贮状态,决定申请是否合法,若申请合法则接通硬盘读写选通信号控制电路3,使微机进行读写,若申请不合法则关闭硬盘读写选通信号控制电路3,使微机不进行读写。
2、根据权利要求1所述的微机硬盘读写控制器,其特征在于硬盘读写控制电路3为I/O口封锁电路,当微机执行硬盘I/O指令时,该I/O口封锁电路输出信号线与微机向硬盘输出的I/O信号,并根据读写申请,决定是否使微机输出信号有效或无效。
3、一种微机硬盘读写控制器,它包括硬盘适配器1,其特征在于它还含有存贮器2,在进行硬盘读写操作时,硬盘适配器根据微机硬盘读写操作命令和存贮器2中的状态决定硬盘适配器1是否对硬盘驱动器进行操作。
CN 92107305 1992-03-11 1992-03-11 微机硬盘读写控制器 Pending CN1068212A (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN 92107305 CN1068212A (zh) 1992-03-11 1992-03-11 微机硬盘读写控制器
EP93103745A EP0560277A1 (en) 1992-03-11 1993-03-09 Method and apparatus for controlling read and write of microcomputer hard disk
JP5049786A JPH0675713A (ja) 1992-03-11 1993-03-11 マイコンのハード・ディスクの読み書きを制御する方法及び装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 92107305 CN1068212A (zh) 1992-03-11 1992-03-11 微机硬盘读写控制器

Publications (1)

Publication Number Publication Date
CN1068212A true CN1068212A (zh) 1993-01-20

Family

ID=4942799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 92107305 Pending CN1068212A (zh) 1992-03-11 1992-03-11 微机硬盘读写控制器

Country Status (3)

Country Link
EP (1) EP0560277A1 (zh)
JP (1) JPH0675713A (zh)
CN (1) CN1068212A (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2279163A (en) * 1993-06-15 1994-12-21 Boxware Limited Computer security device which disables a disc drive
US6219726B1 (en) * 1994-07-27 2001-04-17 International Business Machines Corporation System for providing access protection on media storage devices by selecting from a set of generated control parameters in accordance with application attributes
US7581252B2 (en) 2004-07-20 2009-08-25 Lenovo (Singapore) Pte. Ltd. Storage conversion for anti-virus speed-up
US7581253B2 (en) * 2004-07-20 2009-08-25 Lenovo (Singapore) Pte. Ltd. Secure storage tracking for anti-virus speed-up
US7581250B2 (en) 2005-02-17 2009-08-25 Lenovo (Singapore) Pte Ltd System, computer program product and method of selecting sectors of a hard disk on which to perform a virus scan
DE102005043043A1 (de) * 2005-09-09 2007-03-22 Fujitsu Siemens Computers Gmbh Computer mit mindestens einer Anschlussmöglichkeit für ein Wechselspeichermedium und Verfahren zum Starten und Betreiben eines Computers mit einem Wechselspeichermedium
US8099785B1 (en) 2007-05-03 2012-01-17 Kaspersky Lab, Zao Method and system for treatment of cure-resistant computer malware
NO335189B1 (no) 2010-10-26 2014-10-20 Cupp Computing As Sikkert databehandlingssystem
CN102521170B (zh) * 2010-12-20 2015-03-11 中国电子科技集团公司第四十一研究所 测量仪器校准数据病毒免疫和自恢复系统
US10496834B2 (en) 2011-10-25 2019-12-03 Cupp Computing As Secure computing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5144659A (en) * 1989-04-19 1992-09-01 Richard P. Jones Computer file protection system
GB9003890D0 (en) * 1990-02-21 1990-04-18 Rodime Plc Method and apparatus for controlling access to and corruption of information in computer systems

Also Published As

Publication number Publication date
EP0560277A1 (en) 1993-09-15
JPH0675713A (ja) 1994-03-18

Similar Documents

Publication Publication Date Title
US5729760A (en) System for providing first type access to register if processor in first mode and second type access to register if processor not in first mode
US5657473A (en) Method and apparatus for controlling access to and corruption of information in computer systems
US5144660A (en) Securing a computer against undesired write operations to or read operations from a mass storage device
EP0408689B1 (en) System and method of protecting integrity of computer data and software
KR101093124B1 (ko) 메모리를 소거하는 메모리 제어기를 포함하는 신뢰성있는실행 환경을 이용한 컴퓨터 시스템
US5357573A (en) Memory card
US5748888A (en) Method and apparatus for providing secure and private keyboard communications in computer systems
US7146525B2 (en) Method for backing up and recovering data in the hard disk of a computer
US7165135B1 (en) Method and apparatus for controlling interrupts in a secure execution mode-capable processor
CN105787360A (zh) 一种嵌入式系统内存安全访问控制的技术实现方法
CN1068212A (zh) 微机硬盘读写控制器
EP0109504A2 (en) Protection system for storage and input/output facilities and the like
CN105718208A (zh) Flash程序存储器保护设计方法与硬件实现装置
CN1053507C (zh) 计算机硬盘读写控制装置
CN2249922Y (zh) 微型计算机软硬盘保护装置
CN1243312C (zh) 嵌入式安全模块
CN110874495B (zh) 一种基于自动锁定写保护功能的固态硬盘及防篡改方法
CN2266149Y (zh) 一种微机硬盘存取控制装置
CN1210307A (zh) 一种计算机二次启动方法
CN1021089C (zh) 存储信息保护机构
WO2000016179A1 (en) Method and device of disabling the unauthorised use of a computer
KR920010973B1 (ko) 컴퓨터 바이러스(Virus)로부터 하드 및 플로피 디스크를 보호하는 회로 및 보호방법
CN1081363C (zh) 一种计算机防治病毒的硬件装置
JP2541287B2 (ja) システム共用制御ブロック制御方式
CN2298551Y (zh) 微型计算机硬盘写保护装置

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C01 Deemed withdrawal of patent application (patent law 1993)
WD01 Invention patent application deemed withdrawn after publication