CN100371916C - SCSI magnetic disc recording device and mehtod - Google Patents

SCSI magnetic disc recording device and mehtod Download PDF

Info

Publication number
CN100371916C
CN100371916C CNB2004100813713A CN200410081371A CN100371916C CN 100371916 C CN100371916 C CN 100371916C CN B2004100813713 A CNB2004100813713 A CN B2004100813713A CN 200410081371 A CN200410081371 A CN 200410081371A CN 100371916 C CN100371916 C CN 100371916C
Authority
CN
China
Prior art keywords
scsi
disk
controller
peripheral
peripheral hardware
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
CNB2004100813713A
Other languages
Chinese (zh)
Other versions
CN1783040A (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 CNB2004100813713A priority Critical patent/CN100371916C/en
Publication of CN1783040A publication Critical patent/CN1783040A/en
Application granted granted Critical
Publication of CN100371916C publication Critical patent/CN100371916C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The present invention discloses a device for recording SCSI magnetic disks and a method thereof. An SCSI system controller 2 which supports three-port I/O is composed of a soft core of an SCSI magnetic disk controller, a soft core of an information processing controller, a soft core of a PCI bus controller, a soft core of an SDRAM controller and a soft core of a peripheral interface controller, and field programmable devices are utilized to realize the circuit function of the SCSI system controller 2. A data peripheral, a host computer and an SCSI magnetic disk array device are connected with each other through a three-port SCSI system control card to form an SCSI magnetic disk recording device, and the data peripheral writes data into a magnetic disk array in real time through the SCSI system control card. Simultaneously, the host computer is communicated with the peripheral through the SCSI system control card to record the storing position of data which is written into a magnetic disk by the peripheral every time, and copy and display peripheral data. After the recording pauses or ends, the host computer reads the data of the magnetic disk according to the recorded storing position of each writing task of the peripheral to realize rapid playback.

Description

Scsi disk pen recorder and method
Technical field
The present invention relates to a kind of scsi disk pen recorder, particularly relate to peripheral hardware, main frame and all need visit the scsi disk controller of Disk Array and pen recorder correspondingly.
Background technology
High-speed data recording is communicated by letter and is had important status in (news) with being stored in scientific research and modern data, in fields such as the big system of test, data communication, scientific experimentation, video editings, all needs to adopt the high-speed data memory device.Present magnanimity recording storage equipment is Disk Array and magnetic tape recorder normally, the memory capacity of tape is big but speed is slower, the speed of disk is higher, especially with scsi interface (Small Computer System Interface, small computer system interface) disk is for very, disk size is also increasing, can be easily constitutes a high-speed high capacity storage system in the mode of disk array.
But in the past general SCSI card or the embedded methods of adopting of disk storage system realize more, general SCSI card must directly be managed by main frame, the topological structure that is limited to the common computer system, not only take a lot of times of CPU and I/O passage, reduced the average transmission efficient of disk, and real-time is difficult to guarantee.And present embedded disk storage device, although can guarantee that real-time lacks and the dirigibility of main-machine communication.
No matter disk storage system adopts in the past general SCSI card still be that embedded method realizes, employing all are special chips, at the specific function demand time, design and lack dirigibility.Present electronics, the communications industry generally adopt SOC (System OnChip, SOC (system on a chip)) with IP (Intellectual Property, intellecture property) nuclear designs, but also there is not scsi system controller IP kernel at present, can only adopt special chip, function is single-minded, operation underaction, HardwareUpgring inconvenience.
Summary of the invention
The objective of the invention is to solve existing weak point in the above-mentioned technology, a kind of scsi disk pen recorder and method of novelty is provided.The scsi disk pen recorder has the characteristics of embedded and general scsi device concurrently, main frame and peripheral hardware timesharing and scsi disk array apparatus communicate, peripheral hardware is with Embedded mode real time access scsi disk array apparatus, main frame communicates with the scsi disk array apparatus in normal way, and main frame also can communicate, monitor the data and the behavior of peripheral hardware with peripheral hardware.At the technical matters that adopts special chip to exist, all circuit function modules are the form of soft nuclear, adopt Verilog HDL (Verilog Hardware Language, the Verilog hardware description language) designs, have good transplantability, cutting out property and functions expanding ability, can realize on the programming device at the scene easily.
Above-mentioned purpose of the present invention is achieved by the following scheme: towards digital peripherals, scsi disk array apparatus, three I/O ports of main frame, an integrated scsi system controller of supporting three port interconnections in a field programmable device, the scsi system controller is made of scsi disk controller soft nuclear, the soft nuclear of information processing controller, the soft nuclear of pci bus controller, Peripheral Interface controller soft nuclear, the soft nuclear of sdram controller, these soft nuclears are realized with the Verilog hardware description language, realize its hardware capability with field programmable device.Scsi system controller outside respectively with PCI (Peripheral Component Interconnection, peripheral element extension interface) bus interface, by a FIFO with read pointer restore funcitons and Peripheral Interface, by LVTTL-LVDS level transferring chip and scsi disk array apparatus interface, constitute one three port scsi system control card.For improving the performance of host access disk, scsi system controller outside has connected a slice SDRAM conduct at the plate buffer memory.
Peripheral hardware writes Disk Array by the scsi system control card with peripheral data, and while main frame and peripheral communication, record peripheral hardware are write the behavior of the deposit position of disk, the copy data that reads peripheral hardware, monitoring peripheral access Disk Array at every turn.When the peripheral hardware charged timeout or when all record finishes, main frame is by scsi system control card visit disk, and according to the peripheral hardware that the is write down position of depositing at every turn, the reading disk data realize the quick playback of data.
Compared with the prior art, three port I/O topological structure scsi disk pen recorders of this novelty, can guarantee the high-speed real-time of peripheral data storage, main frame can be monitored all data and the behavior of peripheral hardware again easily, also can realize the quick playback of data according to note down visit disk, flexible operation has overcome the non real-time of general SCSI memory device and the problem of embedded SCSI memory device and main-machine communication inconvenience.Scsi system controller in the scsi disk pen recorder, have the characteristics of embedded and general scsi controller concurrently, adopt the form of soft nuclear, realize, overcome the technical matters of scsi controller special chip function singleness, operation underaction, HardwareUpgring inconvenience with field programmable device.
Description of drawings
Fig. 1 is the I/O structural drawing of scsi disk pen recorder of the present invention.
Fig. 2 is the internal circuit configuration figure of scsi system controller of the present invention.
Fig. 3 is the circuit structure diagram of scsi disk controller soft nuclear of the present invention.
Fig. 4 is the single multiple goal scsi bus phase transition graph that starts that illustrates.
Fig. 5 is the circuit structure diagram of the soft nuclear of information processing controller of the present invention.
Fig. 6 is the workflow diagram of the soft nuclear of information processing controller of the present invention.
Embodiment
With reference to figure 1, this illustrates the I/O structural drawing of scsi disk pen recorder of the present invention, and peripheral hardware, main frame and scsi disk array apparatus are by three port I/O topological structures of three port scsi system control cards, 1 interconnection.This scsi system control card is its core circuit with field programmable device 2, the integrated scsi system controller of supporting three port interconnections, scsi system controller outside respectively with pci bus interface, by a FIFO with read pointer restore funcitons and Peripheral Interface, by LVTTL-LVDS level transferring chip and scsi disk array apparatus interface, constitute one three port scsi system control card.Peripheral hardware, main frame timesharing visit Disk Array can only support the host access disk maybe can only support the limitation of the simple function of peripheral access disk with the function that breaks through present scsi controller special chip.
With reference to figure 2, this illustrates the internal circuit configuration figure of scsi system controller of the present invention, the scsi system controller comprises scsi disk controller, information processing controller, pci bus controller, Peripheral Interface controller, sdram controller and buffer zone FIFO1, FIFO4, all circuit modules are the form of soft nuclear, realize its circuit function with field programmable device 2.
The data of digital peripherals are controlled by information processing controller, in real time data buffer zone outside sheet is write Disk Array by FIFO1 and scsi disk controller, information processing controller is notified main frame simultaneously, and main frame reads the peripheral hardware operation information, record data deposit position and frame sign thereof.Write in real time in the process of disk at peripheral hardware, main frame is not done any intervention, but main frame can read the copy data of peripheral hardware, all data and the action of monitoring peripheral hardware by FIFO4, and the scsi disk pen recorder can be carried out the dual role that peripheral data deposit in real time and host monitor are shown simultaneously.
After peripheral data has write down, recorded data deposit position when main frame is write disk according to peripheral hardware, by the quick reading disk of information processing controller, data are write SDRAM from disk by scsi disk controller and FIFO3, main frame reads the data among the SDRAM again.
With reference to figure 3, this illustrates the circuit structure diagram of scsi disk controller soft nuclear of the present invention.Scsi disk controller soft nuclear is made of specific implementation SCSI instruction access layer, SCSI transmission protocol layer and SCSI physical connection layer protocol SCSI agreement microcontroller, SCSI information register group, parity checker, digital filter.SCSI agreement microcontroller is to adopt the structure identical with the risc processor control assembly to be realized according to the SCSI agreement, support scsi bus phases such as selection, message input, order, data, message output, state, and the function of communicating by letter with information processing controller is provided.The information register group comprises information output register group and information input register group, information output register group comprises SCSI instruction, the formation of message output register, being used for the register information processing controller waits instruction, the startup person's message sent out to send to target device.Information input register group comprises state and the formation of message input register, is used to deposit state, the input message that target device sends.Digital filter is in order to eliminate the shake that scsi bus signal causes along long parallel cable transmission.Parity checker is used for the information on the SCSI bus is carried out parity checking and produce parity check bit when information is exported.
Fig. 4 is the single stage transition graph that starts the multiple goal SCSI bus that illustrates.For the scsi disk pen recorder, SCSI instruction and message, be defined in the scope that scsi disk is supported, the SCSI instruction is all determined with message, because device has only a main control equipment, thereby the scsi disk controller is when starting SCSI bus visit disk, can remove arbitration phase and choice phase again from.When peripheral hardware makes the scsi disk controller start a disk write operation by the control of Message Processing controller, SCSI bus directly enters the choice phase from idle phase, the scsi disk controller sends to the ID of main control equipment on the SCSI bus with the ID of target device, do not respond if disk is overtime, then bus is got back to idle phase, just can enter the message output stage when disk provides busy signal.The scsi disk controller continues identification message (80h) is sent on the SCSI bus, just carries out retry operation if disk detects parity error, if there is not parity error, main control equipment was set up with being connected of disk, can the entry instruction stage.The scsi disk controller sends to the instruction in the output register group on the SCSI bus according to the order of sequence according to the REQ/ACK handshake, just carries out retry operation if disk detects parity error, if there is not parity error, then can enter data phase.In data transmission procedure, if detecting parity error, disk just carries out retry operation, Magnetic Disk Controller resends the data of peripheral hardware by the data pointer of interrupt notification information processing controller recovery external data impact damper simultaneously, if there is not parity error, after finishing data transmission, bus just gets the hang of the stage.In state phase, if detecting parity error, the scsi disk controller just carries out retry, if there is not parity error, SCSI bus enters the message input phase.At the message input phase, if detecting parity error, the scsi disk controller just carries out retry operation, if there is not parity error, SCSI bus just enters idle phase, a writing task of peripheral hardware just is through with.For the operation that main frame is read disk, the scsi bus phase migration is identical therewith.
With reference to figure 5, this illustrates the circuit structure diagram of the soft nuclear of information processing controller of the present invention.The service object of information processing controller is towards main frame, peripheral hardware, Magnetic Disk Controller, responds specifically that PCI hits, the outer if physical discontinuity pulse of Magnetic Disk Controller, and control assembly generates control signals such as cmd_rdy, mark_ext, retry in good time.When response external was interrupted, PCI hit than peripheral hardware priority of interrupt height, and the scsi disk controller interrupts for PCI access cycle or the peripheral access cycle is normal or the statement of improper end.When being in when writing PCI access cycle, peripheral hardware the intact or pointer of disk task and recovering retry, control assembly provides the mark_ext control signal, and when response PCI instruction or the response peripheral hardware interrupts and its message is made LBA calculates when finishing, provide the cmd_rdy signal, the sequential maker calculated address of Notify Address and with the sequential output of information in the order register heap.
With reference to figure 6, this illustrates the workflow diagram of the soft nuclear of information processing controller of the present invention.After system powers on, by the application program of main frame by driver to the information processing controller essential informations such as the capacity that obtains each scsi disk in the magnetic disc storage instrument system, sector-size that send instructions, these information that read main frame write down and with the disk parameter table of these information writing information processing controllers, set up wide synchronous transmission agreement, storage system is carried out loopback test, abandon control then, wait for the interruption of peripheral hardware information manager by message handler system.
When peripheral hardware is write disk, the peripheral hardware information manager at first obtain desire record the peripheral hardware frame data size and send out interruption to information processing controller, control assembly is had no progeny in removing and being somebody's turn to do, enable totalizer and calculate LBA, size with the frame data of peripheral hardware, LBA and SCSI microcode are combined into the SCSI instruction, sequential address generator calculated address of while, address and SCSI instruction are issued Magnetic Disk Controller according to the order of sequence, control assembly is sent out by pci controller and is interrupted giving main frame simultaneously, main frame is had no progeny in receiving, write down the Frame size of this transmission and deposit data in the position of disk, and read the copy data of peripheral hardware, play the effect of monitoring.Simultaneously, Magnetic Disk Controller starts quick synchronous transmission after accepting instruction, and the data of peripheral hardware are served SCSI bus according to the order of sequence, and waits for the interruption of scsi disk controller.If the SCSI bus state is CHECK CONDITION, send out and interrupt giving information processing controller, the latter is interrupted route with this and is given main frame, and main frame sends REQUEST SENSE instruction and obtains the abortive reason of the current command for analyzing; If this frame data normal transmission finishes, at this moment, Magnetic Disk Controller is sent out and is interrupted giving information processing controller, so the interruption once more of peripheral hardware information manager is handled or waited for to information processing controller, continues the data disk write operation of peripheral hardware.When the address of LBA allowed addressing range greater than the maximum of disk, comparer provided the dr_s signal LBA is put 0, and disk number adds 1, automatically switches to next disk.Information processing is to connect concurrent working by rigid line.
When main frame reads peripheral hardware and is stored in the data of disk, system mask is fallen peripheral hardware and is interrupted, read the data in the disk fast and write the SDRAM buffer memory according to the peripheral hardware deposit position of being write down before, send out interruption pulse by information processing controller again and give pci controller, main frame is had no progeny in receiving, and reads data among the SDRAM with the direct mapping mode of internal memory again.
From the above description as can be known, constitute three port scsi system control cards by scsi system controller and the peripheral chip thereof of supporting three port I/O, Peripheral Interface controller soft nuclear, the soft nuclear of information processing controller, scsi disk controller soft nuclear, pci bus interface controller soft nuclear, the soft nuclear of sdram controller are combined into scsi system controller soft nuclear, scsi system controller soft nuclear is carried out the back comprehensively with adaptive, its configuration data is programmed in the configuring chip of the field programmable device on the scsi system control card by programmable device or online programming mode.Three port scsi system control cards and digital peripherals, scsi disk array apparatus, host interconnection are formed the scsi disk pen recorder.Start computing machine, install driver is write application program and USBDI according to concrete application, just can realize the scsi disk pen recorder of special-purpose.

Claims (8)

1. scsi disk pen recorder, it is characterized in that the scsi disk pen recorder is by three port scsi system control cards, peripheral hardware, main frame, the scsi disk array apparatus constitutes, the core circuit of scsi system control card is for supporting the scsi system controller of three ports, and described scsi system controller is by the scsi disk controller, information processing controller, pci bus controller, the Peripheral Interface controller, sdram controller and buffer zone parts are formed, peripheral hardware wherein, main frame, the scsi disk array apparatus is by the interconnection of three port scsi system control cards, and the scsi system controller adopts the LVTTL-LVDS level transferring chip to link to each other with the scsi disk array apparatus.
2. scsi disk pen recorder as claimed in claim 1 is characterized in that the scsi system controller is made of soft nuclear.
3. scsi disk pen recorder as claimed in claim 2 is characterized in that the soft nuclear of scsi system controller adopts the Verilog hardware description language to realize.
4. scsi disk pen recorder as claimed in claim 3 is characterized in that the scsi system controller adopts field programmable device to realize the circuit function of soft nuclear.
5. scsi disk recording method, it is characterized in that peripheral hardware, main frame are by three port scsi system control card timesharing visit scsi disk array apparatus, main frame and peripheral hardware communicate by three port scsi system control cards, and the priority of host access Disk Array is higher than the priority of peripheral access Disk Array.
6. scsi disk recording method as claimed in claim 5 is characterized in that peripheral hardware deposits data in Disk Array by the scsi system control card with real-time mode; Writing when front disk when full, can automatically target device be switched to next disk.
7. scsi disk recording method as claimed in claim 5 is characterized in that peripheral hardware deposits data in the process of Disk Array by the scsi system control card, and main frame can be monitored the data and the behavior of peripheral hardware and write down peripheral hardware deposit information.
8. scsi disk recording method as claimed in claim 5, it is characterized in that when main frame wins the visit control of disk or peripheral access disk and finishes, main frame temporarily masks the visit of peripheral hardware to disk, realizes the quick playback of data according to the peripheral hardware deposit message reference disk of record.
CNB2004100813713A 2004-11-30 2004-11-30 SCSI magnetic disc recording device and mehtod Expired - Fee Related CN100371916C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100813713A CN100371916C (en) 2004-11-30 2004-11-30 SCSI magnetic disc recording device and mehtod

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100813713A CN100371916C (en) 2004-11-30 2004-11-30 SCSI magnetic disc recording device and mehtod

Publications (2)

Publication Number Publication Date
CN1783040A CN1783040A (en) 2006-06-07
CN100371916C true CN100371916C (en) 2008-02-27

Family

ID=36773247

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100813713A Expired - Fee Related CN100371916C (en) 2004-11-30 2004-11-30 SCSI magnetic disc recording device and mehtod

Country Status (1)

Country Link
CN (1) CN100371916C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010252090A (en) * 2009-04-16 2010-11-04 Rohm Co Ltd Semiconductor device
CN103984655A (en) * 2014-04-29 2014-08-13 三星半导体(中国)研究开发有限公司 Processing method and processing device for data access

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1354420A (en) * 2000-11-22 2002-06-19 世仰科技股份有限公司 Magnetic disk array system controller
US20020120804A1 (en) * 2001-02-26 2002-08-29 Jaroslav Belonoznik Control unit with PCI and SCSI buses and computing system with electronic semiconductor disc

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1354420A (en) * 2000-11-22 2002-06-19 世仰科技股份有限公司 Magnetic disk array system controller
US20020120804A1 (en) * 2001-02-26 2002-08-29 Jaroslav Belonoznik Control unit with PCI and SCSI buses and computing system with electronic semiconductor disc

Also Published As

Publication number Publication date
CN1783040A (en) 2006-06-07

Similar Documents

Publication Publication Date Title
KR101035225B1 (en) Controller apparatus and method for improved data transfer
US9256384B2 (en) Method and system for reducing write latency in a data storage system by using a command-push model
JP5638069B2 (en) Method and system for controlling host memory access by a memory device
KR100909119B1 (en) Apparatus and Method for High Performance Volatile Disk Drive Memory Access Using Integrated DMA Engine
CN100555257C (en) The memory controller of the dma operation between the processing page replicative phase and method
US7426588B2 (en) Storage apparatus
US8316179B2 (en) Command suspension in response, at least in part, to detected acceleration and/or orientation change
US20060230240A1 (en) Inter-processor communication method using a shared cache memory in a storage system
CN100346283C (en) Information processing system, storage unit,and computer-readable recording medium
US7809068B2 (en) Integrated circuit capable of independently operating a plurality of communication channels
JP2002354217A (en) Method and device for forming image
EP2546756A2 (en) Effective utilization of flash interface
WO2019240849A1 (en) Logical block addressing range collision crawler
CN100371916C (en) SCSI magnetic disc recording device and mehtod
JP2006323541A (en) Data transfer circuit and data transfer method
JP2001166994A (en) Device and method for storing data for improving data storage device performance by using early data transfer completion
WO2009115058A1 (en) Mainboard for providing flash storage function and storage method thereof
US7571266B2 (en) Peripheral device in a computerized system and method
CN113296899A (en) Transaction master machine, transaction slave machine and transaction processing method based on distributed system
US7921238B2 (en) USB host system and method for transferring transfer data
CN112199044B (en) Multi-tenant-oriented FTL setting method, system, computer program and storage medium
KR100615694B1 (en) Control system for controlling plural function block
WO2024113838A1 (en) Processor setting method and apparatus, electronic device, and storage medium
WO2011119151A1 (en) Communication between a computer and a data storage device
JPS6027014A (en) Magnetic disk controller

Legal Events

Date Code Title Description
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Meng Jinsong

Document name: Deemed not to advise

C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Meng Jinsong

Document name: Written notice of preliminary examination of application for patent for invention

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
DD01 Delivery of document by public notice

Addressee: Meng Jinsong

Document name: Notification to Pay the Fees

DD01 Delivery of document by public notice

Addressee: Meng Jinsong

Document name: Notification to Pay the Fees

DD01 Delivery of document by public notice

Addressee: Meng Jinsong

Document name: Notification of Termination of Patent Right

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080227

Termination date: 20101130