CN2491894Y - PCI hard disk protective card - Google Patents

PCI hard disk protective card Download PDF

Info

Publication number
CN2491894Y
CN2491894Y CN 01229210 CN01229210U CN2491894Y CN 2491894 Y CN2491894 Y CN 2491894Y CN 01229210 CN01229210 CN 01229210 CN 01229210 U CN01229210 U CN 01229210U CN 2491894 Y CN2491894 Y CN 2491894Y
Authority
CN
China
Prior art keywords
pci
card
network interface
hard disk
interface controller
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 01229210
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.)
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 01229210 priority Critical patent/CN2491894Y/en
Application granted granted Critical
Publication of CN2491894Y publication Critical patent/CN2491894Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The utility model discloses a PCI hardware protection card, wherein, the protection card adapts a cheap PCI network interface controller as a PCI bus interface controller of the hardware protection card, a PCI base type code of the PCI hardware protection card can be changed by exchanging address /data reusable line position 26 and position 25 connections between the PCI network interface controller and the PCI bus, the utility model is not cognized as a network card by a computer system, thereby avoiding influence of a CMOS setting and always ensuring a hardware protection programmer stored on the PCI hardware protection card for guiding the storing device (Boot ROM) to be executed while starting the computer with permanent protection effects.

Description

A kind of PCI hard disk protecting card
The utility model relates to a kind of hard disk protecting card that hard disk is protected that uses in computer.
Memory is the vitals of storage data in the computer. Hard disk is as the most frequently used external memory storage of computer, has the advantages that price is low, capacity large, the storage data for a long time, are not cut off the power supply and affected, and the warehouse of the Computer Storage data on coming true, existing computer do not have the hard disk performance that almost is far from being. Hard disk is normally combined by disk sheet group, various control circuit, control appliance encapsulation, is a kind of precision equipment, is the important component part of guard of computer to the protection of hard disk. The protection of hard disk is normally finished by software; because the motherboard of computer all provides PCI (peripheral component interface) EBI slot at present; so that hard disk protecting card is as the hardware carrier of the kernel software of hard disk protection software; not only include the memory of storage core protection software and the memory of the various parameters of storage, also comprise the PCI bus interface controller. Yet the complex structure of the pci bus interface controller that traditional hard disk protecting card adopts, cost are extremely expensive, cause the complex structure of hard disk protecting card, and buying and manufacturing cost are high.
The purpose of this utility model is to provide the PCI hard disk protecting card that a kind of cost is low, simple in structure, be easy to make.
For achieving the above object, the PCI hard disk protecting card that the utility model provides comprises the PCI network interface card that contains bootstrap memory (Boot ROM), network interface controller and pci bus socket;
Described network interface controller is used for finishing the pci bus interface function, and storage is for information such as the base class code that identifies the network interface card function, vendor code, product types;
Described network interface controller is connected with the PCI slot of computer by described pci bus socket, is connected with described bootstrap memory by address wire, data wire and read-write control line;
Described bootstrap memory; be used for storage and carry out the program of hard disk protection; the address/data multiplexing line AD25 of described network interface controller is connected with the address/data multiplexing line AD26 of pci bus socket, and the address/data multiplexing line AD26 of described network interface controller is connected with the address/data multiplexing line AD25 of PCI bus socket.
Below in conjunction with drawings and Examples the utility model and advantage of the present utility model are described further.
Fig. 1 is principle assumption diagram of the present utility model;
Fig. 2 is the circuit diagram of embodiment of the present utility model.
Because the pci card of different manufacturers production may have different functions, " PCI local bus standard " regulation: the PCI plug-in card of different purposes has different identification codes, namely has different PCI base class codes, with reference to following table.
The base class code Meaning
00h The PCI card that design was produced before the base class code standard was worked out.
01h The mass memory unit controller.
02h Network controller.
03h Display controller.
04h Multimedia equipment.
05h Memory Controller Hub.
06h Bridge device. Such as: the bridge that pci bus is converted to ISA (Industry Standard Architecture) bus.
07h Simple communication controller. Such as: serial communication.
08h The fundamental system peripheral hardware. Such as: with the supporting chipset of CPU.
09h Input equipment.
0Ah Dump station (Docking stations).
0Bh Processor. Such as: CPU.
0Ch Series bus controller. Such as: USB.
0Dh-FEh Keep.
FFh The pci card that does not belong to above-mentioned all classes.
According to upper table, if the base class code of pci card storage is 02H, show that this pci card is the PCI network controller, if the base class code of pci card storage is 04H, show that this PCI card is the PCI multimedia controller.
" PCI local bus standard " also stipulated: different vendor's design PCI plug-in card that produce, different model has different vendor code (Vendor ID) and device code (Device ID). Vendor code is globally unique, and for example the vendor code of Intel Company is " 8086 ".
" PCI local bus standard " regulation: the PCI plug-in card must provide " identity and feature " information, and for this reason, each pci card will provide above-mentioned information by special-purpose " configuration space (Configuration Space) ", with reference to following table.
Byte offset 31 16 15 0 of sense bit
00h Device code (Device ID) Vendor code (Vendor ID)
04h Status word (Status) Command word (Command)
08h Base class code (Base Class Code) Subclass code (Sub class Code) Specified register DLL (SRLPI) Revision code (Revision ID)
0Ch The self demarking code of dispatching from the factory (BIST) Head type code (Header Type) Latent time (Latency Timer) Cache memory sizes (Cache Line Size)
10h 14h 18h 1Ch Base address register (Base Address Registers)
20h 24h
28h Plug-in card bus configuration district pointer (Cardbus CIS Pointer)
2Ch Subsystem code (Subsystem ID) Subsystem vendor code (Subsystem Vendor ID)
30h Expansion ROM base address (Expansion ROM Base Address)
34h 38h Keep (Reserved)
3Ch Maximum latent time (Max_Lat) Best-case Response Time (Min_Gnt) Interrupt pin number (Interrup t Pin) Interrupt wire size (Interrupt Line)
The explanation of upper table be information in the configuration space that provides of a kind of pci card, as can be seen from the table, in the space storage of the byte at side-play amount 0BH place is the base class code that identifies different PCI cards.
If with 32 IO read-write modes, namely read and write 4 bytes at every turn, scan all local bus Bus, equipment Device, function Function, read effectively " configuration space " data, 1. just can determine has the PCI plug-in card on which PCI slot, 2. it has any function---PCI base class code, 3. it is which manufacturers produce---vendor code, 4. its product type---device code, 5. and its configuration that need to carry out and the computer resource that may take etc. information.
In order to follow " PCI local bus standard " and to have specific function, pci card must have special large scale integrated chip to come complete pci bus interface function and specific other function, and described large scale integrated chip is exactly the pci bus interface controller.
Complexity and the cost of the pci bus interface controller that the pci card of difference in functionality adopts have larger difference; it is just complicated and expensive more than the pci bus interface controller that is used for the PCI network controller that design is specifically designed to the pci bus interface controller of PCI hard disk protecting card; if can use the low side PCI network interface controller that international IC manufacturer produces in enormous quantities; for example Realtek RTL8029AS, Winbond W89C940F; PCI bus interface controller as hard disk protecting card; give up its network control function; with the kernel software of hard disk protection software as its bootstrap memory program Solidification in the bootstrap memory chip, just can obtain cheap PCI hard disk protecting card. But such hard disk protecting card has the PCI base class code of network interface card, although it does not have network communication control function, only has the function of bootstrap memory, still can be regarded as network interface card by computer system. In addition, the computer BIOS of some version (basic input output system), its CMOS are provided with one of following three options or three's possible combination:
1, First boot device:LAN (the first starting device: LAN)
2, Boot from LAN first:Enable (at first from network startup: allow)
3, PnP OS Installed:Yes (whether plug and play is installed: be)
For above-mentioned BIOS, if being changed into other, " LAN LAN " change " forbidding Disable " into or/and " Yes " changed into " No " or/and will " allow Enable ", computer is when starting, and BIOS just can not carry out the program in the bootstrap memory on the network interface card. To adopting the PCI network interface controller as the PCI type hard disk protecting card of pci bus interface controller; this is a fatal technical disadvantages: if the BIOS program in the bootstrap memory on the execute card not; hard disk protecting card will lose or temporarily lose the defencive function to hard disk, and this will cause the ill effect that existing protected data meeting is destroyed even system collapses fully in the hard disk.
A straightforward procedure that addresses the above problem; change exactly the PCI base class code of PCI type hard disk protecting card; allow computer system assert that no longer it is network interface card; thereby the impact that not arranged by CMOS; make that the program in the bootstrap memory can be performed on the PCI type hard disk protecting card when computer starting, forever play a protective role.
Consider 02H and two PCI base class of 04H code, wherein the pci card of 02H sign is the PCI network controller, and the pci card of 04H sign is the PCI multimedia equipment. The binary form of 02H is 0000 0010B, the binary form of 04H is 0000 0100B, if from right to left since 0 the 2nd of counting and the 1st exchange, just can make network controller (network interface card) become multimedia equipment (such as sound card) above-mentioned base class code.
Based on top described, PCI hard disk protecting card of the present utility model is with reference to figure 1, and it is made of the PCI network interface card 1 that contains bootstrap memory 2, network interface controller 3 and pci bus socket 4, wherein:
Described network interface controller 3 is used for finishing the pci bus interface function, and storage is for information such as the base class code that identifies the network interface card function, vendor code, product types;
Described network interface controller 3 is connected with the PCI slot of computer by described pci bus socket 4, is connected with described bootstrap memory 2 by address wire, data wire and read-write control line;
Described bootstrap memory 2 is used for the program that hard disk protection is carried out in storage; Because PCI network interface controller 3 inside have the PCI base class code 02h that can not change, therefore, the address/data multiplexing line AD25 of described network interface controller 3 is connected with the address/data multiplexing line AD26 of pci bus socket 4, the address/data multiplexing line AD26 of described network interface controller 3 is connected with the address/data multiplexing line AD25 of pci bus socket 4, is connected with AD25 with the address/data multiplexing line AD26 that computer system PCI slot provides respectively by described pci bus socket so that the address/data multiplexing line AD25 of network interface controller is connected with AD26.
The model of described PCI network interface card for consisting of the PCI hard disk protecting card can be any, and the bootstrap memory on the card can be read-only storage, for example EPROM or electric erasable read-write memory EEPROM, perhaps Flash memory.
The utility model can directly be made of the PCI network interface card; the original network interface card boot that only needs will be stored in the bootstrap memory is replaced by the hard disk protection program, and address/data multiplexing line AD25, the AD26 of described network interface controller be connected respectively with address/data multiplexing line AD26, the AD25 of pci bus socket get final product. Certainly the utility model also can reference PCI network interface card and foregoing formation in the reality.
Because the utility model can be by connecting respectively with the 26th bit address/data-reusing line the 25th between the 26th of the network interface controller on the PCI network interface card of a cheapness and the 25th bit address/data-reusing line and the pci bus; so just the pci bus interface controller of network interface controller as hard disk protecting card can be used; cause the PCI base class code of PCI type hard disk protecting card to change; computer system does not assert that it is network interface card; thereby the impact that not arranged by CMOS; simultaneously; the hard disk protection program of storing in the bootstrap memory on the card; when computer starting, be performed, can forever play a protective role. Such hard disk protecting card cost is low, simple in structure, be easy to make, security is higher.
Fig. 2 is the circuit diagram of embodiment of the present utility model, and the model of the bootstrap memory among the figure is 27512, the model of network interface controller is W89C940F, in addition, comprises also among the figure that a model is the EEPROM of NS93C46. Wherein address/data multiplexing line AD25, the AD26 of network interface controller are connected with address/data multiplexing line AD26, the AD25 of pci bus socket respectively.
Adopt such scheme, the PCI base class code in the PCI network interface controller on the hard disk protecting card that computer software reads has just become 04h by 02h, and computer software just no longer is used as hard disk protecting card as network interface card, but is used as multimedia card.
Adopting technical scheme described in the utility model, is feasible technically. From this end of computer PCI bus, this connection is without any impact. From this end of PCI type hard disk protecting card; owing to given up the network control function of pci bus interface controller; only used the function of its bootstrap memory; because the address of bootstrap memory is used the 0th to the 17th at most usually; therefore adopt technique scheme on the not impact of address wire of bootstrap memory; for the impact of the data bit in the bootstrap memory, can when program writes bootstrap memory, carry out in advance the decommutation of position and correct. So as the carrier of the kernel software of the hard disk protection software of PCI type hard disk protecting card, this connection is without any negative effect.
From this end of PCI type hard disk protecting card, except PCI base class code, affected only have following parameters:
1, Device ID (device code), Subsystem ID (subsystem code), Max Lat (maximum latent time) leave in the external eeprom chip in advance, and the initialize data that can change among the EEPROM is corrected.
2, Cardbus CIS Pointer (plug-in card bus configuration district pointer) is always full 0, and is unaffected.
3, BIST (self demarking code of dispatching from the factory) is the self-inspection record that dispatches from the factory, and position 26 and the position of the product by check 25 all are 0, and be unaffected.
4, Base Address Registers (base address memory) is always full 0, and Expansion ROM Base Address (expansion read-only storage base address) is also unaffected as the address.
5, the DEVSEL timing (equipment selection sequential) of position 26 and position 25 corresponding Status (status word) is generally 01B, and being illustrated on the pci bus is middling speed equipment, becomes now 10B, and expression is slow devices. Owing to given up the network control function of pci bus interface controller, only used its bootstrap memory function, this variation is without any negative effect.

Claims (3)

1, a kind of PCI hard disk protecting card comprises the PCI network interface card that contains bootstrap memory (Boot ROM), network interface controller and PCI (peripheral component interface) bus socket;
Described network interface controller is used for finishing the pci bus interface function, and storage is for information such as the base class code that identifies the network interface card function, vendor code, product types;
Described network interface controller is connected with the PCI slot of computer by described pci bus socket, is connected with described bootstrap memory by address wire, data wire and read-write control line;
It is characterized in that: described bootstrap memory; be used for storage and carry out the program of hard disk protection; the address/data multiplexing line AD25 of described network interface controller is connected with the address/data multiplexing line AD26 of pci bus socket, and the address/data multiplexing line AD26 of described network interface controller is connected with the address/data multiplexing line AD25 of pci bus socket.
2, pci bus hard disk protecting card according to claim 1, it is characterized in that: the model of described PCI network interface card is any.
3, pci bus hard disk protecting card according to claim 1 is characterized in that: described bootstrap memory is read-only storage, perhaps electric erasable read-write memory EEPROM, perhaps Flash memory.
CN 01229210 2001-06-27 2001-06-27 PCI hard disk protective card Expired - Fee Related CN2491894Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01229210 CN2491894Y (en) 2001-06-27 2001-06-27 PCI hard disk protective card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01229210 CN2491894Y (en) 2001-06-27 2001-06-27 PCI hard disk protective card

Publications (1)

Publication Number Publication Date
CN2491894Y true CN2491894Y (en) 2002-05-15

Family

ID=33644121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01229210 Expired - Fee Related CN2491894Y (en) 2001-06-27 2001-06-27 PCI hard disk protective card

Country Status (1)

Country Link
CN (1) CN2491894Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100382027C (en) * 2005-02-01 2008-04-16 苏州超锐微电子有限公司 Method for storing and operating high-capacity Boot ROM mirror

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100382027C (en) * 2005-02-01 2008-04-16 苏州超锐微电子有限公司 Method for storing and operating high-capacity Boot ROM mirror

Similar Documents

Publication Publication Date Title
US7987438B2 (en) Structure for initializing expansion adapters installed in a computer system having similar expansion adapters
US7356637B2 (en) Virtual IDE storage device with PCI express interface
US6505263B1 (en) Bus controller operating code in system memory
CN100504784C (en) Optional ROM characterization method and device
EP1835396A2 (en) Address space emulation
US20080256352A1 (en) Methods and systems of booting of an intelligent non-volatile memory microcontroller from various sources
US7873754B2 (en) Structure for option ROM characterization
US7606964B2 (en) Virtual USB flash memory storage device with PCI express interface, controller and method thereof
CN106990958A (en) A kind of extension element, electronic equipment and startup method
US9058257B2 (en) Persistent block storage attached to memory bus
US20100125679A1 (en) Computer and method for directly accessing computer hardware by virtual system
TW515959B (en) Method for memory data access by system management interrupt and computer system thereof
EP1403814B1 (en) Electronic apparatus, information processing apparatus, adapter apparatus, and information exchange system
CN114816528A (en) Method, device, electronic equipment and medium for accessing register
CN2491894Y (en) PCI hard disk protective card
US7568061B2 (en) Initializing expansion adapters installed in a computer system having similar expansion adapters
US20050092846A1 (en) Simulated smartmedia/XD-picture memory card capable of using various kinds on non-volatile memory
CN110795373B (en) I2C bus-to-parallel bus conversion method, terminal and storage medium
CN1141652C (en) Method for preparing protective card of PCI hard disk
CN203930839U (en) A kind of safeguard protection card for forcing hard disc of computer to start the operating system
CN215006450U (en) Feiteng X100 bridge piece embedding mainboard
CN201417408Y (en) Embedded main board
CN2567638Y (en) Multifunction read-write apparatus of computer
CN1831793A (en) Automatic information loading method of PCI equipment
CN217360785U (en) Data computing system and server with built-in data computing system

Legal Events

Date Code Title Description
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