JPS60222924A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPS60222924A
JPS60222924A JP59079821A JP7982184A JPS60222924A JP S60222924 A JPS60222924 A JP S60222924A JP 59079821 A JP59079821 A JP 59079821A JP 7982184 A JP7982184 A JP 7982184A JP S60222924 A JPS60222924 A JP S60222924A
Authority
JP
Japan
Prior art keywords
data
transfer
ram
circuit
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.)
Pending
Application number
JP59079821A
Other languages
Japanese (ja)
Inventor
Hisao Asano
朝野 久夫
Akio Nakagawa
明夫 中川
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.)
Tokico Ltd
Original Assignee
Tokico Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokico Ltd filed Critical Tokico Ltd
Priority to JP59079821A priority Critical patent/JPS60222924A/en
Publication of JPS60222924A publication Critical patent/JPS60222924A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To supply a degree of freedom to the transfer timing of data in a computer and to improve its performance by providing RAM which is positioned in the bus line between a controller and a computer and stored transfer data temporarily. CONSTITUTION:A control signal from a host system 4 is inputted to the read/ write discriminating circuit 6 of the controller 2 and the circuit 6 discriminates a request for data transfer between an IC3 and the RAM5. Then, a data transfer direction determining circuit 7 discriminatdd a write request to the RAM5 with an instruction code from the system 4. Consequently, the IC 3 reads data from a driver 1 and transfers and writes it to and in the RAM5. At this time, an address counter 12 updates the address, one by one, every time one byte is transferred. Then, data is transferred from the RAM5 to the system 4 with the request signal from the system 4. At this time, a counter 12 updates the address, one by one, similarly.

Description

【発明の詳細な説明】 (発明の技術分野) この発明は、コントローラにランダムアクセスメモリを
備えた磁気ディスク装置するものである。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field of the Invention) The present invention relates to a magnetic disk device including a random access memory in a controller.

〔従来技術〕[Prior art]

従来、例えばホストシステムのコンビコータに接続され
る磁気ディスク装置は、その磁気ディスク装置のコント
ローラ用大規模集積回路(LS I )と、コンピュー
タとの間のパスラインによって、データを直接的に転送
するJ−うになっていた。そして、その直接的な転送の
ため、データの転送スピードが磁気ディスクのドライブ
スピードによって決っていた。したがって、コンピュー
タはデータの転送を任意な時間に行うことができず、特
に高性能であることが要求されるホストコンピュータに
あっては、その影響が大ぎく、効率の良いプログラムを
組むことが難しかった。
Conventionally, for example, a magnetic disk device connected to a combi coater of a host system directly transfers data via a path line between a large scale integrated circuit (LSI) for the controller of the magnetic disk device and a computer. J-It was turning. Because of this direct transfer, the data transfer speed was determined by the drive speed of the magnetic disk. Therefore, computers are unable to transfer data at arbitrary times, and this has a significant impact, especially on host computers that are required to have high performance, making it difficult to write efficient programs. Ta.

〔発明の目的〕[Purpose of the invention]

この発明は、上記従来の問題を解消するものであって、
磁気ディスク装置のコントローラ側に、コンピュータと
の間の転送データを−m記憶するランダムアクセスメモ
リ(RAM)を備えることにより、コンピュータにおり
るデータの転送タイミングに自由度を与えて、その性能
の向上を実現する磁気ディスク装置を提供することを目
的と覆る。
This invention solves the above conventional problems, and includes:
By equipping the controller side of the magnetic disk drive with a random access memory (RAM) that stores the data transferred to and from the computer, it gives flexibility in the timing of data transfer to the computer and improves its performance. The objective is to provide a magnetic disk device that achieves this.

〔発明の構成〕[Structure of the invention]

この発明は、磁気ディスク装置のコントローラに、コン
ピュータとの間のパスライン中に位置して転3:A ’
i’〜りを〜I1.+!記ta yるランタムアクセス
メ七り(RA M )を備えたことを1JI徴どりる。
This invention provides a controller for a magnetic disk device that is located in a path line between it and a computer.
i'~riwo~I1. +! It is assumed that the computer is equipped with a random access memory (RAM).

(発明の実施例〉 」ス下、この発明の一実施例を・図面に基づいて説明η
る。
(Embodiment of the Invention) Below, an embodiment of this invention will be explained based on the drawings.
Ru.

図中1は磁気ディスク表置のドライシー(あり、2はそ
の〕ン1〜D−ラである。このコント[)−ラ2(よ人
現根東槓回路(1−8l)3をメインどしている。]ン
ト1」〜う2と、ホストシステム4との間にはパスライ
ンか形成されていて、磁気ティスフ装置とホストシステ
ム4どの間のデータ転送が]ン1〜[]−ラ2を通しで
行イjねれるように41っている。コンl−[]−ラ2
には、ホス1ヘシスノ2ム4との間のハスライン中にイ
装置りるレングス、アクl!スメしり(1ス小r RA
 M Jという)5か備えられている。このRA M 
5は、ドーノイゾ1からホストシステム4への転送デー
タ、(1ゴよびその逆のホストシステム4からドライブ
1への中云送データを−11、)記憶リ−るものである
In the figure, 1 is the dry sea (with magnetic disk surface), and 2 is the number 1 to D-La. A path line is formed between the components 1" to 2 and the host system 4, and data transfer between the magnetic disk device and the host system 4 is performed via the nodes 1 to 2 and the host system 4. 41 so that you can go through 2.Conl-[]-ra2
In the lotus line between Hos 1 and Hesisnom 2 and M 4, there is a length of the device, and an Ak l! Sumeshiri (1st small r RA)
It is equipped with 5 (called MJ). This RAM
Reference numeral 5 indicates a memory read for data transferred from the drive 1 to the host system 4 (-11 for intermediate transfer data from the host system 4 to the drive 1 and vice versa).

以下、〕ン1〜ローラ2に備えられた各回路を作用と共
に説明する。
Hereinafter, each circuit provided in the rollers 1 to 2 will be explained along with their functions.

デ゛−タの転送には、RA M 5を中継どりるドライ
ブ1からホストシステム4への方向の転送ど、RAM5
を中継とり−る小スI〜シスラム4 ht Iらドライ
ブ11\の方向のΦ区送との2つかある。
Data transfer includes transfer from drive 1 to host system 4 via RAM 5, etc.
There are two routes, Φ, in the direction of drive 11\ from small bus I to system ram 4 ht I, which relay the data.

そこぐ、まず前者の転送、っJ、すRA M 5を中継
とするドライブ1からホストシステム4への%、送につ
いで説明りる。
First, we will explain the former transfer, from drive 1 to host system 4 using RAM 5 as a relay.

この方向のデータ転送では、まず1ヘライゾ1がらRA
 M 5への第1段階の転送か行なわれ、その1(にR
AM5からホストシステム4への第2段階の転送が行4
^われる。
For data transfer in this direction, first RA
The first stage transfer to M5 is performed, and the first step (to R
The second stage transfer from AM5 to host system 4 is on line 4.
^It will be done.

■ 第1段階の転送 この転送命令(J1小ストシスンム4がら1laJ t
al+信号どしてコン[〜l」−ラ2に与えられる。こ
の場合、その制御信号は、コン1へ自〜う2に対しc1
ドライブ1からデータをリードすることを要求するもの
である。制御信号はコンI・ローラ2のリード/ライト
弁別回路6に人力される。この弁別回路6は入力した制
御信号が集積回路3とRAM5どの間でのデータ転送を
要求りるものか、あるいはRAM5とホストシス−)−
ム4との間でのデータ転送を要求づるもの4丁のかを弁
別りる。ここては前者の要求であると判断される。次に
、小ス]ヘシス−7ム4からの命令」−1〜により、う
゛−タφム送方向決定回路7かRA M 5にグ・1し
ての請求がリート、あるい【よノイ1〜のい・ノ゛れで
あるかを判定りる。ここで1よ、RA fvl 5に幻
づるライ1−要求であると判定される。この結果、j゛
−夕のリヮ、送方向が集積11す路3 /Jl rう1
く△M E)への方向であることが決定され、そのこと
がリード/ライト信月出力1mlλ″88に伝えられる
■ First stage transfer This transfer command (J1 small system 4 to 1laJ t
The al+ signal is applied to the controller 2. In this case, the control signal is sent to controller 1 from c1 to c2.
This is a request to read data from drive 1. The control signal is input manually to the read/write discrimination circuit 6 of the controller I/roller 2. This discrimination circuit 6 determines whether the input control signal requests data transfer between the integrated circuit 3 and the RAM 5, or between the RAM 5 and the host system.
It is determined whether there are four computers requesting data transfer to or from the system 4. This is considered to be the former request. Next, according to commands ``-1'' from the small system 7 system 4, the data φm sending direction determining circuit 7 or the RAM 5 is requested to read or 1 to determine whether it is a gap or a gap. Here, it is determined that the request is a RA 1-request that appears in RA fvl 5. As a result, the transfer direction is 11 3/Jl r 1
It is determined that the direction is ΔME), and this is communicated to the read/write signal output 1mlλ″88.

そして、集積回路3がリード、/ライ1〜回路9全回路
てドライブ1からデータを読み取り、その読み取ったデ
ータを集積回路3外部に転送”づることを要求づる。こ
の要求にJ、す、リード/ライト信号作成回路10は集
積回路3どRA M 5との間のデータ転送信号を要求
に合うタイミングてり−1〜/ライト信号出力回路8に
出力づる。そのタイミングの設定に当っては、発振器1
1の発振信号が利用される。このデータ転送信号をを(
)たり−1・2/ライト信号出力回路8は、先に=+ノ
1ご−Jデータ送方向の指示、つまり集積回路3からR
A M 5 ’\データを転送り゛るという指示1こよ
り、RA M 5へのライト命令を、リード/′ライl
−信号作成回路10からのデータ転送信号に合わl!て
光()る。このライ1〜命令を受(づだRAM5は、集
−積回路3からの転送データを順次記憶−りる。
Then, the integrated circuit 3 requests that all circuits from the read/write circuit 1 to the circuit 9 read data from the drive 1 and transfer the read data to the outside of the integrated circuit 3. The signal generation circuit 10 outputs the data transfer signal between the integrated circuit 3 and the RAM 5 to the write signal output circuit 8 at a timing that meets the request.In setting the timing, the oscillator 1
One oscillation signal is used. This data transfer signal (
) or -1, 2/write signal output circuit 8 first sends an instruction in the direction of data transmission, that is, from the integrated circuit 3 to R.
From the instruction 1 to transfer A M 5'\data, a write command to RAM 5 is executed as read/'write command.
- In accordance with the data transfer signal from the signal generation circuit 10! It shines (). The RAM 5 sequentially stores the transfer data from the integrated circuit 3.

RA M 5のアドレスカウンタ12は、ホストシステ
ム4からの命令によって1−−タの中!、送が開始され
るどき、リー千/ライl−4:L号出ツノ回路8によっ
てリレッj〜される。したかっ−C1この点においてリ
ード/ライ1〜信号出力回路7は、フノドレスノJウン
タ12のりしツ1〜回路Qあるといえる。そして、集積
回路3かドライブ′1から読んtこデータか1ハイドず
つ1く△M5に転送される都度、アドレスカウンタ12
はアドレスを1つずつ更新する。
The address counter 12 of the RAM 5 is set to 1! by a command from the host system 4. , when the transmission is started, it is rechecked by the L number output horn circuit 8. In this respect, it can be said that the read/write circuit 1 to the signal output circuit 7 are equivalent to the circuits 1 to Q of the read/write counter 12. Then, each time the data read from the integrated circuit 3 or the drive '1 is transferred to ΔM5 by 1, the address counter 12
updates the addresses one by one.

この更新によってアドレスがRΔL5の容量を越えたと
ぎ、アドレスカウンタ12は、RAM5へのり一ド/ラ
イト信号の作成を強制的に中止させる禁止信号をリード
/ライ1へ信号作成回路10に出力する。このため、R
A M 4の容量を越えたアクセスが防止される。
When the address exceeds the capacity of RΔL5 due to this update, the address counter 12 outputs a prohibition signal to the read/write 1 signal generation circuit 10 to forcibly stop the generation of the read/write signal to the RAM 5. For this reason, R
Access beyond the capacity of AM4 is prevented.

このようにして、ドライブ1力目ら[く△M5へのデー
タ転送が終了り−る。
In this way, the data transfer from the first drive to ΔM5 is completed.

■ 第2段階の転送 この転送は、ポストシステム4から任意の時間に要求さ
れる。この要求信号は、前述した転送の場合と同様にリ
ード/ライ1〜弁別回路6とデータ転送方向決定回路7
によって判定される。そして、リード/ライト信号出ツ
ノ回路8にJ、リアドレスノJウンタ12はリセットさ
れ、RA M 5からホストシステム4ヘデータが1バ
イ1へ転送さ札る1口に、アドレスカウンタ12はツノ
ドレスを1′つずつ更新リ−る。この更新によっ−(ア
ドレスか[くΔM5の容量を越えたとぎ、アドレスカウ
ンタ12は前述した転送の場合と同様にRAM5に対り
るノックレスの禁止信号を出す。
■ Second Stage Transfer This transfer is requested by the post system 4 at any time. This request signal is transmitted to read/write 1 to discrimination circuit 6 and data transfer direction determining circuit 7, as in the case of transfer described above.
It is judged by. Then, the read/write signal output corner circuit 8 is set to J, the rear address counter 12 is reset, and the data is transferred from RAM 5 to the host system 4 1 by 1. Updates one by one. As a result of this update, when the address exceeds the capacity of ΔM5, the address counter 12 issues a knockless prohibition signal to the RAM 5, as in the case of transfer described above.

以上は、RA M 5を中継と゛りるドライブ1がらホ
ストシステム4への方向の転送についての説明であり、
次にその逆の方向、つまりRA M 5を中継とするホ
ストシステム4からドライブ1への方向の転送について
説明する。
The above is an explanation of the transfer from the drive 1 to the host system 4 using the RAM 5 as a relay.
Next, the transfer in the opposite direction, that is, from the host system 4 to the drive 1 using the RAM 5 as a relay, will be explained.

この転送の場合もホストシステム4からRAM5への転
送と、RAM5からドライブ1への転送との2段階に分
れる。
This transfer is also divided into two stages: transfer from the host system 4 to the RAM 5, and transfer from the RAM 5 to the drive 1.

まず、ホストシステム4からRAM5への転送命令がホ
ストシステム4から発μられ、その内容がリード/ライ
ト弁別回路6とデータ転送方向決定回路7ににって判別
される。そして、リード/ライト信号出力回路8により
アドレスカウンタ12はリセットされ、ホストシステム
4からRA M5ヘデータが1バイ1へ書き込まれる毎
にアドレスカウンタ12がアドレスを1つずつ史祈り−
る。この更新によってアドレスがRAM5の容量を越え
たとき、アドレスカウンタ12はRAM5に対するアク
セスの禁止信号を出づ。このようにしてRAM5へのデ
ータの濯ぎ込みを・終えた後、ホス)〜システム4がR
AM5からドライブ1へのデータ転送の命令を発り−る
ど、その命令内容がリード/ライト弁別回路6とデータ
転送方向決定回路7によって判別される。そして、リー
ド/ライト信号出力回路8によりアドレスカウンタ12
がリセツ1〜され、RAM5からデータが1バイI−読
み出されてドライブ1へ書ぎ込まれる毎にアドレスカウ
ンタ12がアドレスを1つずつ更新する。この更新によ
ってアドレスがRAM5の容量を越えたとき、アドレス
カウンタ12はRAM5に対するノ′クセスの禁止信号
を出す。
First, a transfer command from the host system 4 to the RAM 5 is issued from the host system 4, and its contents are determined by the read/write discrimination circuit 6 and the data transfer direction determination circuit 7. Then, the address counter 12 is reset by the read/write signal output circuit 8, and each time data is written from the host system 4 to the RAM 5 in 1 by 1, the address counter 12 increments the address one by one.
Ru. When the address exceeds the capacity of the RAM 5 due to this update, the address counter 12 issues a signal prohibiting access to the RAM 5. After rinsing the data into the RAM 5 in this way, the host system 4
When a command for data transfer is issued from the AM 5 to the drive 1, the content of the command is determined by a read/write discrimination circuit 6 and a data transfer direction determining circuit 7. Then, the read/write signal output circuit 8 outputs the address counter 12.
The address counter 12 updates the address one by one each time data is read from the RAM 5 by one byte and written to the drive 1. When the address exceeds the capacity of RAM 5 due to this update, address counter 12 issues a signal prohibiting access to RAM 5.

なお、アドレスカウンタ′12が出力するランタムアク
セスメモリ5のアクしスの禁止信すによって警報を発す
る警報器をアドレスカウンタ12に接続りることににす
、ランダムアクセスメモリ12に対してその容量を越え
た異常な)アクセスがあったことをAペレータに積極的
に知らしめることができる。
It is to be noted that an alarm device is connected to the address counter 12, which issues an alarm when the address counter '12 outputs a prohibited access to the random access memory 5. It is possible to proactively inform the A operator that there has been an abnormal (exceeding) access.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明の磁気ディスク装置は、
磁気ディスクのコン1−ローラにランダムアクセスメモ
リをl#iえ、このメモリを中継′してコン、ピユータ
との間でデータの転送を行なうものであるから、コンピ
ュータはそれ自身の一番効率の良い時にデータの転送を
要求し、そしてドライブのデータ転送スピードの影響を
受Eブることなくデータの転送を高速で実行することが
できる。また、コントローラに備えたランダムアクセス
メモリにドライブの1トラック分のデータを記憶させる
ことにより、このコントローラをコンピュータの外部記
憶装置として使用リ−ることかできる。また、コン1−
ローラ内のランダムアクセスメモリの記憶データはバッ
クアップ用のデ゛−夕ともなり、例えばドライブの故障
によってそのデータが消却した場合に、コントローラ内
に残っているデータが利用できてデータの消滅づる率が
少なくなる。
As explained above, the magnetic disk device of the present invention has
Random access memory is installed in the magnetic disk controller, and this memory is used as a relay to transfer data between the computer and the computer, so the computer uses its own most efficient It is possible to request data transfer at a good time and perform the data transfer at high speed without being affected by the data transfer speed of the drive. Furthermore, by storing data for one track of the drive in a random access memory provided in the controller, this controller can be used as an external storage device for a computer. Also, Con1-
The data stored in the random access memory in the controller also serves as a backup data; for example, if the data is deleted due to a drive failure, the data remaining in the controller can be used, reducing the probability of data loss. It becomes less.

【図面の簡単な説明】[Brief explanation of drawings]

図面はこの発明の一実施例を表すブロック描成図である
。 1・・・・・・ドライブ、2・・・・・・コントローラ
、4・・・・・・ホストシステム(コンピュータ)、5
・・・・・・ランダムアクセスメ七り(RA〜1)、1
2・・・・・・アドレスカウンタ。
The drawing is a block diagram representing one embodiment of the invention. 1...Drive, 2...Controller, 4...Host system (computer), 5
・・・・・・Random access method (RA~1), 1
2...Address counter.

Claims (1)

【特許請求の範囲】[Claims] 磁気ディスクのコントローラを通してコンピュータとの
間でデータの転送を行なう磁気ディスク装置において、
前記コントローラに、コンピュータとの間のパスライン
中に位置して転送データを一時記憶するランダムアクセ
スメモリを備えたことを特徴とする磁気ディスク装置。
In a magnetic disk device that transfers data to and from a computer through a magnetic disk controller,
A magnetic disk device characterized in that the controller includes a random access memory that is located in a path line between the controller and the computer and temporarily stores transferred data.
JP59079821A 1984-04-20 1984-04-20 Magnetic disk device Pending JPS60222924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59079821A JPS60222924A (en) 1984-04-20 1984-04-20 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59079821A JPS60222924A (en) 1984-04-20 1984-04-20 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPS60222924A true JPS60222924A (en) 1985-11-07

Family

ID=13700866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59079821A Pending JPS60222924A (en) 1984-04-20 1984-04-20 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPS60222924A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58221459A (en) * 1982-06-18 1983-12-23 Hitachi Ltd Controlling circuit of external storage device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58221459A (en) * 1982-06-18 1983-12-23 Hitachi Ltd Controlling circuit of external storage device

Similar Documents

Publication Publication Date Title
JPS60222924A (en) Magnetic disk device
EP0383097A2 (en) Cache memory
JPS60222927A (en) Magnetic disk device
JPS61127026A (en) Optical disk controller
JPS6029860A (en) Updating method of data
JP3012402B2 (en) Information processing system
JP2701739B2 (en) Processor switching method
EP0631236A1 (en) A bus-master computer system and method
EP0358224A2 (en) Semiconductor disk device useful in transaction processing system
JP2710475B2 (en) Memory control circuit
JP3299147B2 (en) Cache control circuit
JPS60222925A (en) Magnetic disk device
JP2968636B2 (en) Microcomputer
JP2574821B2 (en) Direct memory access controller
JP2892429B2 (en) I / O controller
JP2904266B2 (en) Memory connection controller that can cope with bus degradation
JPS586172B2 (en) Interface method
JPH0414373B2 (en)
JPS60220448A (en) Mutual checking method of multi-cpu system
JPH0293971A (en) Memory access circuit
JPS61127025A (en) Optical disk controller
JPS60222926A (en) Magnetic disk device
JPH01292454A (en) Cache control system
JPH02249052A (en) Data transfer device
JP2000029763A (en) Storage device control method and storing system thereof