CN1287300C - Attribute setup method for computer hard disk zoning, and its appliance - Google Patents

Attribute setup method for computer hard disk zoning, and its appliance Download PDF

Info

Publication number
CN1287300C
CN1287300C CN 200410029973 CN200410029973A CN1287300C CN 1287300 C CN1287300 C CN 1287300C CN 200410029973 CN200410029973 CN 200410029973 CN 200410029973 A CN200410029973 A CN 200410029973A CN 1287300 C CN1287300 C CN 1287300C
Authority
CN
China
Prior art keywords
write
read
hard disk
type
fdisk
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
Application number
CN 200410029973
Other languages
Chinese (zh)
Other versions
CN1564141A (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 200410029973 priority Critical patent/CN1287300C/en
Publication of CN1564141A publication Critical patent/CN1564141A/en
Application granted granted Critical
Publication of CN1287300C publication Critical patent/CN1287300C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • Y02B60/1225

Landscapes

  • Storage Device Security (AREA)

Abstract

The present invention relates to a method and a device thereof for setting the read-write attribute of a hard disk partition of a computer. In order to solve the problem that the reliability of the existing computer hard disk is poor, address signals of the hard disk partition are intercepted, and are converted into logic address signals; after that information prestored on the region of the hard disk partition is compared with the information prestored on an attribute type memory by means of a comparison judging controller, and the control of the writing and the reading of the hard disk is realized by an electronic switch. The attribute types of the hard disk partition set by the memory are selected from the types: A type: conversion between a readable and writable state and a read-only state; B type: only a readable and writable state; C type: conversion between a readable and writable state, a read-only state and an access prohibited state. The comparison judging controller is provided with a manual conversion switch used for realizing the conversion functions. The present invention adopts a nonprogrammable hard logic circuit, and has the advantages of no interception and modification, good function of the defense against a virus, a hacker and misoperation, strong reliability and great reduction of the failure rate of the computer.

Description

Hard disc of computer subregion read-write properties establishing method and device thereof
Technical field
The present invention relates to hard disc of computer subregion read-write properties setting technique, particularly relate to a kind of hard disc of computer subregion read-write properties establishing method, the invention still further relates to the device that is used to implement this method.
Background technology
Hard disk is the topmost memory device of computing machine.Its function is to read and write data according to the requirement of machine in the disc of hard disk, and hard disk has just possessed the condition of storage data through behind low-level formatting, subregion and the high-level formatting.Hard disk is when carrying out read-write operation, and machine will transmit three information to hard disk: 1, address information promptly requires hard disk to go to read or write somewhere; 2, order: promptly read or write order; 3, data: these three signals are all delivered in address register in the hard disk controller, command register, the data register by bus.Address information wherein can be retained down in the process of transmission fully.
At present, the data of hard disk being carried out write-protected product has:
Software product: realize write-protect to hard disk with software.Representative products has super bodyguard, instant recovery, reduction spirit etc., and this series products is inexpensive, widely use at present, but reliability is relatively poor, as long as password is decrypted and just is broken.
Half hardware type: will protect software solidification on hard disk protecting card or reduction card, and perhaps be solidificated in the BIOS chip on the mainboard, the advantage of this mode is that protection software itself can be not destroyed; But same password is decrypted, as long as perhaps find the interruption that is trapped that it is changeed back, defencive function will lose efficacy, and has issued the device that cracks of hard disk protecting card or reduction card now on the net.This product is a lot of on the market at present, but the non-constant of market.
The data protection technology of existing hard disk all can not be stopped to destroy protected system in the hard disk by keyboard operation fully on remote computer or this machine, therefore, and the outstanding defective that has poor reliability.
Summary of the invention
The objective of the invention is to overcome the defective of prior art, a kind of hard disc of computer subregion read-write properties establishing method of good reliability is provided, the invention still further relates to the device that is used to implement this method.
For achieving the above object, hard disc of computer subregion read-write properties establishing method of the present invention is by holding back the fdisk address signal, after converting logical address signal to, compare by fdisk zone and the attribute type information of relatively judging controller and be pre-stored on fdisk zone and the attribute type storer again, and realize the control of hard disk write and read by electronic switch; The zone attribute type of the hard disk of fdisk zone and the setting of attribute type storer is selected from: the A type, can write and read-only not writing between the two states changed readable, Type B, be readable writing, the C type, can readablely writing, read-onlyly not write, forbid conversion between the read-write: relatively judge the manual change-over switch that is used to realize above-mentioned translation function is housed on the controller.The zone attribute type of the hard disk of this setting can be A type and Type B, and the A type is the program disks of installing operating system and all commodity software here, and Type B is the user data dish; The zone attribute type of the hard disk of this setting can also be the combination of A type, Type B and C type, and the A type is the program disks of installing operating system and all commodity softwares here, and Type B is the user data dish, and the C type is to be reluctant disclosed private data dish.The hard disk write and read control that electronic switch is realized is the read-write character of hard disk, promptly prohibit read, prohibit write, readable, writability matter.
Employing compares with the setting divisional signal at computing machine output tail end intercepting hard disc magnetic head operation address signal; judge whether hard disk operates in the zone of corresponding protection; decide guard method to read-write control; be to realize with non-programmable hard logic circuit (perhaps by non-programmable microprogram); therefore; can not be trapped and change, stopped fully on remote computer or this machine, to destroy protected data in the hard disk, have the advantage of good reliability by keyboard operation.
As optimization, described manual change-over switch comprises and is used for A type subregion is write and the read-only bifurcation manual change-over switch of changing between the two states of not writing readable, or and be used for to C type subregion readablely write, read-only do not write, forbid reading and writing between the ternary manual change-over switch of conversion.In two manual change-over switch one both can only be installed, also can install simultaneously by two manual change-over switch.Certainly, the bifurcation manual change-over switch more preferably is applicable to the C district of installing operating system and all commodity software of hard disk; Ternary manual change-over switch more preferably is applicable to the private data of hard disk, is generally E district or F district.Adopt the method, defencive function is more reliable.
Hard disc of computer subregion read-write properties setting device of the present invention comprises a fdisk read-write properties setting card that is fitted on the host expansion slot, this attribute is set card the address register that is used to hold back the fdisk address signal is installed, and the converter that is used for the fdisk address signal is converted to logical address signal that is attached thereto, regional and the attribute type storer of fdisk is with converter and the regional relatively judgement controller that links to each other with the attribute type storer of fdisk; Judge that relatively controller links to each other with reading signal lines with hard disk write current line by electronic switch; The divisional type of the hard disk of fdisk zone and the setting of attribute type storer is selected from: the A type, can write and read-only not writing between the two states changed readable, Type B, be readable writing, the C type, can readablely writing, read-onlyly not write, forbid conversion between the read-write; Relatively judge the manual change-over switch that is used to realize above-mentioned translation function is housed on the controller.Fdisk zone and attribute type storer are flash-type.The zone attribute type of the hard disk of this setting can be A type and Type B, and the A type is the program disks of installing operating system and all commodity software here, and Type B is the user data dish; The zone attribute type of the hard disk of this setting can also be the combination of A type, Type B and C type, and the A type is the program disks of installing operating system and all commodity software here, and Type B is the user data dish, and the C type is to be reluctant disclosed private data dish.The hard disk write and read control that electronic switch is realized is the read-write character of hard disk, promptly prohibit read, prohibit write, readable, writability matter.
Fdisk read-write properties setting card can be inserted in the expansion slot or be connected between ide interface and the hard disk; Adopt which kind of mode, see the easier realization of the sort of mode.
When main frame during to hard disk transfer address signal, send the fdisk read-write properties simultaneously to and set address register on the card, promptly be that address signal is retained down, address signal is used for determining hard disk read and write somewhere.The address signal converter is the form that is used for physical address translations is become logical address, so that relatively judge, the information after the conversion is delivered to and judged that relatively controller judges.Fdisk zone and attribute type storer adopt flash memory to make, and it deposits the zone of logical partition of hard disk and the attribute information type of each subregion.The function of relatively judging controller is to judge according to fdisk attribute and read-write properties configuration switch state that the user sets, when hard disk is operating in forbid writing regional, both can cut off the write current of hard disk by electronic switch, also can change the control signal that hard disk writes (i.e. the control signal wire input high level signal that writes to the hard disk of ide interface); When hard disk is operating in forbid reading regional, both can cut off the reading signal lines of hard disk, also can change the control signal (promptly to the control signal wire input high level signal of reading to the hard disk of ide interface) that hard disk is read, but the boot sector of the Master boot sector on the hard disk and each logical drive is defined as all and does not read-onlyly write.
Because speed is had requirement, the computing on the card and judge and adopt the hard logic circuit to realize as far as possible can not be adopted after the CPU computing of main frame in the input card, its objective is the read-write properties of hard disk are not stayed any slit that is trapped change.Block and can normally move for guaranteeing that the fdisk read-write properties are set, good teamwork is answered in sequential control.
As optimization, described manual change-over switch comprises and is used for A type subregion is write and the read-only bifurcation manual change-over switch of changing between the two states of not writing readable, or and be used for to C type subregion readablely write, read-only do not write, forbid reading and writing between the ternary manual change-over switch of conversion.Hand switch should be installed in cabinet behind, and the fdisk read-write properties are set on the card should make edge connector, and picks out by cable.Certainly, the bifurcation manual change-over switch more preferably is applicable to the C district of installing operating system He all commodity softwares of hard disk; Ternary manual change-over switch more preferably is applicable to the private data district of hard disk.So design, defencive function is more reliable.
As optimization, judge that relatively controller is also by linking to each other with reading signal lines with hard disk write current line with the duplex hand switch of electronic switch parallel connection.Specifically be to judge that relatively controller both linked to each other with reading signal lines with hard disk write current line respectively by two electronic switches, linked to each other with reading signal lines with hard disk write current line by the duplex hand switch again; When the duplex hand switch closed, hard disk write current line and reading signal lines must conductings (then forbidding this card).So design, more convenient forbidding fdisk read-write properties are set card.When the duplex hand switch disconnects, the break-make of hard disk write current line and reading signal lines is then determined by electronic switch fully, promptly can only be the conducting of hard disk write current line, can also only be the conducting of hard disk reading signal lines, more can be all conducting and not conductings of hard disk write current line and reading signal lines.
As optimization, the fdisk zone links to each other with main board bus by special switch with the attribute type storer.So design, after fdisk zone and attribute type storer deposited fdisk zone and attribute type information in, the disconnection special switch can protect wherein that information is not modified.
As optimization, this device can also be incorporated on the mainboard, or is integrated on the circuit board of hard disk controller.
As optimization, the read-write of hard disk both can be controlled by electronic switch break-make write current line and reading signal lines, also can import high and low level signal to the read-write control line of hard-disk interface by electronic switch and control.
Certainly, the hard disc of computer of its adapted also can be a plurality of, should can both move on single hardware and a plurality of hard disk.
After adopting technique scheme, what hard disc of computer subregion read-write properties setting device of the present invention adopted is non-programmable hard logic circuit, can not be trapped, change, and virus, hacker and maloperation are all had good defense reaction, good reliability can reduce the failure rate of computing machine greatly.
Description of drawings
Accompanying drawing is the structure principle chart of hard disc of computer subregion read-write properties setting device of the present invention.
Embodiment
Do further explanation below in conjunction with instantiation:
As shown in the figure, hard disc of computer subregion read-write properties establishing method of the present invention is by holding back the fdisk address signal, after converting logical address signal to, compare by fdisk zone and the attribute type information of relatively judging controller 4 and be pre-stored on fdisk zone and the attribute type storer 1 again, and realize the control of hard disk write and read by electronic switch K6, K7; The zone attribute type of the hard disk of fdisk zone and 1 setting of attribute type storer is selected from: the A type, can write and read-only not writing between the two states changed readable, Type B, be readable writing, the C type, can readablely writing, read-onlyly not write, forbid conversion between the read-write; Relatively judge the manual change-over switch that is used to realize above-mentioned translation function is housed on the controller 4.Described manual change-over switch comprises and is used for A type subregion is write and read-onlyly do not write the bifurcation manual change-over switch K4 that changes between the two states readable, and be used for to C type subregion readablely write, read-only do not write, forbid reading and writing between the ternary manual change-over switch K5 of conversion.
Judge that relatively controller 4 is by being installed in the break-make of electronic switch k6, k7 control hard disk reading signal lines 7 and write current line 6 on hard disk reading signal lines 7 and the write current line 6; Ganged switch k2, hard disk reading signal lines 7 and write current line 6 conducting all the time when k3 closes, when ganged switch k2, k3 disconnected, the break-make of hard disk reading signal lines 7 and write current line 6 was controlled by electronic switch k6, k7 fully.
Be used to realize that the device of the inventive method comprises a fdisk read-write properties setting card that is fitted on the host expansion slot, fdisk has C, D, three districts of E.This attribute is set card the address register 2 that is used to hold back the fdisk address signal is installed, and the converter 3 that is used for the fdisk address signal is converted to logical address signal that is attached thereto, regional and the attribute type storer 1 of fdisk is with converter 3 and the regional relatively judgement controller 4 that links to each other with attribute type storer 1 of fdisk; Judge that relatively controller 4 is by linking to each other with reading signal lines 7 with hard disk write current line 6 with electronic switch K6, the K7 of duplex hand switch K2, K3 parallel connection; The divisional type of the hard disk of fdisk zone and 1 setting of attribute type storer is: the A type, can write and read-only not writing between the two states changed readable, Type B, be readable writing, the C type, can readablely writing, read-onlyly not write, forbid conversion between the read-write.The A type is applicable to the C district of installing operating system and all commodity softwares; Type B is applicable to the D district that preserves user's general data; The C type is applicable to deposit is reluctant that the E of disclosed private data coils.Relatively judge the manual change-over switch that is used to realize above-mentioned translation function is housed on the controller 4.Described manual change-over switch comprises and is used for A type subregion is write and read-onlyly do not write the bifurcation manual change-over switch K4 that changes between the two states readable, and be used for to C type subregion readablely write, read-only do not write, forbid reading and writing between the ternary manual change-over switch K5 of conversion.
Its using method is: the user normally installs: at first manual ganged switch k2, k3 among the figure are closed, the fdisk read-write properties are set the card forbidding.Plan hard disk, usually hard disk has been divided into C, D, three districts of E.The K1 that closes a switch moves a program demarcate information and zone attribute information of subregion is write fdisk zone and attribute type storer 1, has write K1 is turned off.The read-write properties in C district are made as the A type; The read-write properties in D district are made as Type B; The read-write properties in E district are made as the C type.Operating system and all commodity software are contained in the C district, are called program disks, and user data is contained in the D district, are called the user data dish; To be reluctant that disclosed data are placed on the E district, be called private data dish (district).Dial the read-write properties configuration switch in Ding Ge district, the program disks that the K4 switch will be made as the C district of A type attribute are made as read-onlyly not to be write; The private data packing in E district that is made as C type attribute is according to user's needs at that time, and K5 places A, B, C difference, has read-onlyly not write, readablely write, forbid the attribute read and write.K2, K3 place running status (promptly opening) then, allow attribute set the normal operation of card.
Set card normally operation when finishing above step fdisk read-write properties.If to write-protected C district install software, only need to place the readable state of writing to get final product on the K4 switch.

Claims (3)

1, a kind of hard disc of computer subregion read-write properties setting device, it is characterized in that comprising a fdisk read-write properties setting card that is fitted on the host expansion slot, this attribute is set card the address register that is used to hold back the fdisk address signal is installed, and the converter that is used for the fdisk address signal is converted to logical address signal that is attached thereto, regional and the attribute type storer of fdisk is with converter and the regional relatively judgement controller that links to each other with the attribute type storer of fdisk; Comparison controller links to each other with reading signal lines with hard disk write current line with the duplex hand switch by electronic switch parallel with one another; The divisional type of the hard disk of fdisk zone and the setting of attribute type storer has: the A type, can write and read-only not writing between the two states changed readable, Type B, be readable writing, the C type, can readablely writing, read-onlyly not write, forbid conversion between the read-write; Relatively judge the manual change-over switch that is used to realize above-mentioned translation function is housed on the controller; Described manual change-over switch comprises and is used for A type subregion is write and read-onlyly do not write the bifurcation manual change-over switch of changing between the two states readable, and be used for to C type subregion readablely write, read-only do not write, forbid reading and writing between the ternary manual change-over switch of conversion; The fdisk zone links to each other with main board bus by special switch with the attribute type storer.
2, device according to claim 1 is characterized in that this device can also be incorporated on the mainboard, or is integrated on the circuit board of hard disk controller.
3, device according to claim 2, the read-write that it is characterized in that hard disk both can be controlled by electronic switch break-make write current line and reading signal lines, also can import high and low level signal to the read-write control line of hard-disk interface by electronic switch and control.
CN 200410029973 2004-04-08 2004-04-08 Attribute setup method for computer hard disk zoning, and its appliance Expired - Fee Related CN1287300C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410029973 CN1287300C (en) 2004-04-08 2004-04-08 Attribute setup method for computer hard disk zoning, and its appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410029973 CN1287300C (en) 2004-04-08 2004-04-08 Attribute setup method for computer hard disk zoning, and its appliance

Publications (2)

Publication Number Publication Date
CN1564141A CN1564141A (en) 2005-01-12
CN1287300C true CN1287300C (en) 2006-11-29

Family

ID=34481048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410029973 Expired - Fee Related CN1287300C (en) 2004-04-08 2004-04-08 Attribute setup method for computer hard disk zoning, and its appliance

Country Status (1)

Country Link
CN (1) CN1287300C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100383881C (en) * 2005-12-08 2008-04-23 杭州海康威视数字技术有限公司 Method for protecting hardware key information area in embedded device
CN101441602B (en) * 2007-11-19 2011-01-26 联想(北京)有限公司 Hard disk data protection device, hard disk, computer and hard disk data protection method
CN101276311B (en) * 2008-05-08 2011-04-13 苏州壹世通科技有限公司 Limited separating method of flash memory array memory
CN102033760A (en) * 2009-10-10 2011-04-27 北京派瑞根科技开发有限公司 Software running method of high-safety information system
CN111414627A (en) * 2019-01-04 2020-07-14 珠海金山办公软件有限公司 File opening mode conversion method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN1564141A (en) 2005-01-12

Similar Documents

Publication Publication Date Title
US6488581B1 (en) Mass storage data protection device for a gaming machine
AU2001264712B2 (en) Method and apparatus for inhibiting a selected IDE command
US7472245B2 (en) System and method for securing drive access to data storage media based on medium identifiers
TW476030B (en) RAID controller system and method with ATA emulation host interface
US20030212854A1 (en) Computer system
CN110692058B (en) Auxiliary storage device for providing independent backup and recovery functions and equipment suitable for auxiliary storage device
US7986621B2 (en) Apparatus and method to set the signaling rate for a plurality of data storage devices
CN1287300C (en) Attribute setup method for computer hard disk zoning, and its appliance
CN1924786A (en) Individual disc redundancy array system
US20090019211A1 (en) Establishing A Redundant Array Of Inexpensive Drives
CN1053507C (en) Method and device for controlling read and write of hard disc in computer
KR100364895B1 (en) Method of controlling data access and system thereof
US20030105905A1 (en) Domain validation process that is transparent to a device driver
CN2368081Y (en) Protection card for hard-disc of computer
CN105989308A (en) Method, device and electronic equipment for realizing double network isolation
CN2370473Y (en) Protective card for computer system
CN1159650C (en) Hard disc access indexing device and method for hard disc indexing access
US7757130B2 (en) Computer system having raid control function and raid control method
CN2319854Y (en) Suspension-type hard disc writing protection monitor
JP3597550B2 (en) Disk array device
US5634029A (en) Apparatus for interchanging floppy diskette drive assignments
CN114063908A (en) Hard disk read-write processing method and device based on RAID and storage medium
KR100234741B1 (en) Device for determining the drive type of a disc reproducer
JP2562834B2 (en) Redundant control method
JP3597766B2 (en) Disk array device control method

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