JPS62102328A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPS62102328A
JPS62102328A JP24214285A JP24214285A JPS62102328A JP S62102328 A JPS62102328 A JP S62102328A JP 24214285 A JP24214285 A JP 24214285A JP 24214285 A JP24214285 A JP 24214285A JP S62102328 A JPS62102328 A JP S62102328A
Authority
JP
Japan
Prior art keywords
sector
command
disk
data
read
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
JP24214285A
Other languages
Japanese (ja)
Inventor
Takeshi Matsunaga
松永 武
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP24214285A priority Critical patent/JPS62102328A/en
Publication of JPS62102328A publication Critical patent/JPS62102328A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To eliminate a sector overrun by setting a command corresponding to a target sector at timing corresponding to a sector attention signal, and writing and reading data on the basis of the command. CONSTITUTION:A target sector address 113 from an address means 115 is sent to a disk device part 11, a generating means 119 generates a sector attention signal 117 according to the address 113, and a means 129 generates specific timing in response to the signal 117. Then, a next command 125 in a buffer 127 is set in a register 12 at the timing and data is written in or read out by the device part 111 with the next command 125.

Description

【発明の詳細な説明】 〔概要〕 ディスク制御装置であって、目的とするセクターの1つ
前のセクターに関連して発生されるセクターアテンショ
ン信号に応じたタイミングで、当該目的セクターに対応
するコマンドをセットし、該セットされたコマンドに基
づいて的確に目的セクターにデータの書き込み、読み取
りを可能とする。
[Detailed Description of the Invention] [Summary] A disk control device that issues a command corresponding to a target sector at a timing corresponding to a sector attention signal generated in relation to a sector immediately before a target sector. is set, and data can be written and read accurately in the target sector based on the set command.

〔産業上の利用分野〕[Industrial application field]

本発明はディスク制御装置であって、特にディスク装置
のためのコマンド設定の制御態様を改善したディスク制
御装置に関するものである。
The present invention relates to a disk control device, and more particularly to a disk control device that improves the control aspect of command settings for disk devices.

〔従来の技術〕[Conventional technology]

例えばデータの書き込み、読み取りをあるディスク装置
において行なう場合、ディスク制御装置に依って、デー
タ・の書き込み、読み取りを行なうべき目的のセクター
をサーチする必要がある。その場合、目的セクターの1
つ前のセクターからのセクターアテンションを受け、そ
れに応じてすばやく的確なタイミングで書き込・す、読
み取りのコマンドをコマンドレジスタにセットしている
。かようにしてセットされたコマンドに基づいてデータ
の書き込み、読み取りを行なうようにしている。
For example, when data is to be written or read in a certain disk device, it is necessary to use the disk control device to search for the target sector in which data should be written or read. In that case, 1 of the target sector
It receives sector attention from the previous sector and quickly sets write, read, and read commands in the command register at the appropriate timing. Data is written and read based on the commands set in this way.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来装置にあっては、ディスク装置はデータ
転送速度等を大きくするためディスクのスピンドル回転
数を高く保っている。その場合での目的セクターのサー
チを第3図を使用して説明する。
In such conventional devices, the disk device maintains a high disk spindle rotation speed in order to increase the data transfer rate. The search for the target sector in this case will be explained using FIG.

第3図(a)に示す如くタイミングでセクターパルスが
発生されているものとし、同図(b)に示す如く第2番
目のセクターが目的セクターのアドレスであるものとす
る。ここで、この目的セクターの1つ前のセクターにお
いて同図(C1に示すようにセクターアテンション信号
が発生される。
Assume that sector pulses are generated at the timing shown in FIG. 3(a), and that the second sector is the address of the target sector as shown in FIG. 3(b). Here, a sector attention signal is generated in the sector immediately before the target sector, as shown in FIG. 2 (C1).

このセクターアテンション信号に基づいて第3図(d)
及び(e)に示すようなディスクとの同期を計る同期信
号が発生される。この同図(d)の信号タイミングで、
データの書き込み、読み取りを行なうべきコマンドがセ
ットされる。
Based on this sector attention signal, FIG. 3(d)
And a synchronization signal for synchronizing with the disk as shown in (e) is generated. At the signal timing shown in (d) of this figure,
Commands to write and read data are set.

次いで、コマンドがセットされた後のセクター、つまり
目的セクターがセクターパルスの発生によって検知され
れば、第3図(flに示すリード/ライト信号によって
データの書き込み、読み取りの動作が実行される。次の
セクターのセクターパルスが発生されて、目的セクター
のり−ド/ライト動作は終了する。それと共に、次の割
込みを可能とするための゛インターラブドリクエスト信
号(第3図(gl参照)が発生される。
Next, when the sector after the command is set, that is, the target sector, is detected by the generation of a sector pulse, data write and read operations are executed by the read/write signal shown in FIG. 3 (fl).Next A sector pulse for the sector is generated, and the target sector read/write operation is completed.At the same time, an interwoven request signal (see Figure 3 (gl)) is generated to enable the next interrupt. Ru.

しかしながら、例えば他の装置をアクセスするなど他の
処理がされていることに因り、上述したセクターアテン
ションに対して規定時間(例えば696ビツト)内にコ
マンドをセントできない場合がある(第3図(hl及び
(1)参照)。すると、同図(jlに示す如くリード/
ライト信号が発生されず、目的セクターでのデータの書
き込み、読み取りの動作が何ら実行されないで、セクタ
ーオーバーラン信号(第3図(kl参照)が発生される
結果となる。
However, due to other processes being performed, such as accessing other devices, it may not be possible to send a command within the specified time (for example, 696 bits) for the above-mentioned sector attention (see Figure 3 (hl)). and (1)).Then, as shown in the same figure (jl), the lead/
No write signal is generated, no data write or read operations are performed in the target sector, and a sector overrun signal (see FIG. 3 (kl)) is generated.

また、同図(幻に示すようにインターラブドリクエスト
信号も発生される。
Additionally, an interwoven request signal is also generated as shown in the figure (phantom).

本発明は、かかる点に鑑みて創作されたもので、目的セ
クターでのデータの書き込み、読み取りを確実に行なわ
しめるディスク制御装置を提供することを目的としてい
る。
The present invention was created in view of these points, and an object of the present invention is to provide a disk control device that can reliably write and read data in a target sector.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

第1図は本発明の原理図である。 FIG. 1 is a diagram showing the principle of the present invention.

図において、ディスク装置部111はデータの書き込み
、読み取りが可能である。
In the figure, a disk device section 111 is capable of writing and reading data.

アドレス手段115は、ディスク装置部111にデータ
の書き込み、読み取りを行なうべき目的セクターのため
のセクターアドレス113をディスク装置部111に送
る。
The address means 115 sends to the disk device section 111 a sector address 113 for a target sector in which data is to be written to or read from the disk device section 111 .

アテンション信号発生手段119は、セクターアドレス
113に応じて、目的セクターの1つ前のセクターに関
連するセクターアテンション信号117を発生する。
The attention signal generating means 119 generates a sector attention signal 117 related to the sector immediately before the target sector in accordance with the sector address 113.

コマンドレジスタ123は、コマンドをセットするため
のレジスタである。
The command register 123 is a register for setting commands.

バッファ127は、目的セクターに対応する次コマンド
125を準備する。
Buffer 127 prepares the next command 125 corresponding to the target sector.

コマンドセットタイミング手段129は、セクターアテ
ンション信号に応答してバッファ127に在る次コマン
ド125をコマンドレジスタ123にセットするタイミ
ングを作る。
The command set timing means 129 creates timing for setting the next command 125 in the buffer 127 in the command register 123 in response to the sector attention signal.

従って、系全体として次コマンドに応じて目的セクター
にデータの書き込み、読み取りが行なわれるように構成
されている。
Therefore, the system as a whole is configured so that data is written to and read from the target sector in response to the next command.

〔作用〕[Effect]

目的セクターにデータの書き込み、読み取りを行なうべ
く次コマンドはバッファ127に準備される。
The next command is prepared in the buffer 127 to write and read data in the target sector.

セクターアテンション信号117が発生されると、コマ
ンドセットタイミング手段129に依ってタイミングが
計られる。それの適切なタイミングによって、バッファ
127から次コマンド125がコマンドレジスタ123
にセットされる。
Once the sector attention signal 117 is generated, it is timed by the command set timing means 129. Depending on its proper timing, the next command 125 from the buffer 127 is transferred to the command register 123.
is set to

かようにセットされた次コマンド125でディスク装置
部111におけるデータの書き込み、読み取りが行なわ
れることになる。
The next command 125 set in this manner causes data to be written or read in the disk device section 111.

本発明では、セクターオーバーランの生じることがなく
、的確なタイミングで目的セクターに対してデー タの
書き込み、読み取りが可能となる。
According to the present invention, data can be written to and read from the target sector at appropriate timing without causing sector overrun.

〔実施例〕〔Example〕

第2図は本発明の実施例であって、ディスク制御装置2
00はメモリを図示しないバスを介して接続するCPU
300及び複数のディスク装置DISI、DIS2. 
 ・・・と接続されている。
FIG. 2 shows an embodiment of the present invention, in which a disk controller 2
00 is a CPU that connects memory via a bus (not shown)
300 and a plurality of disk devices DISI, DIS2.
...is connected to...

ここで、ディスク制御装置200は、CPU300によ
って制御命令を受けるコマンド設定制御部210.LS
Iで形成される制御部220及び発振器(VF○)23
0で成る。
Here, the disk control device 200 includes a command setting control section 210. which receives control instructions from the CPU 300. L.S.
A control unit 220 and an oscillator (VF○) 23 formed by I
Consists of 0.

また、コマンド設定制御部210は、次に実行すべきコ
マンドが格納されるバッファ241.ディスク装置DI
SL、DTS2からの情報が格納されるステータス部2
43及び当該ステータス部243の指示によりVFO2
30からのクロック(100ナノ秒周期)CLVFOを
計数するカウンタ245で成っている。
The command setting control unit 210 also controls a buffer 241. Disk device DI
Status section 2 where information from SL and DTS 2 is stored
43 and the status section 243, the VFO2
It consists of a counter 245 that counts the clock (100 nanosecond period) CLVFO from 30.

更に、制御部220には、コマンドがセットされるコマ
ンドレジスタ251が具わっている。
Furthermore, the control unit 220 includes a command register 251 in which commands are set.

なお、ディスク制御装置200と複数のディスク装置と
は互いにパスラインBUSで接続され、CPU30tl
にはその他の制御装置が接続されているが、ここでは省
略する。
Note that the disk control device 200 and the plurality of disk devices are connected to each other by a pass line BUS, and the CPU 30tl
Although other control devices are connected to the , they are omitted here.

上述した構成の本発明実施例の動作を以下に述べる。な
お、動作例としてシーク−ライト(Seek−Writ
e )の場合について説明する。
The operation of the embodiment of the present invention having the above-described configuration will be described below. As an example of operation, Seek-Writ
The case e) will be explained.

いま、ディスク装置DISLにデータを書き込みたいも
のとする。そのためには、先ずディスクのヘッドを目的
のアドレス(目的のシリンダ又はトラックのセクター)
へ移動させるために、CPU300がディスク制御装置
200をしてディスク装置DISLにシーク動作を生ぜ
しめる。しかる後、CPU300は当該ディスク制御装
置200との関連を絶ち、他の装置を制御する。
Now, assume that you want to write data to the disk device DISL. To do this, first move the disk head to the desired address (destination cylinder or track sector).
In order to move to , the CPU 300 causes the disk controller 200 to cause the disk device DISL to perform a seek operation. Thereafter, the CPU 300 disconnects from the disk control device 200 and controls other devices.

ディスク装置DISLは目的のセクターの1つ前のセク
ターパルス(第3図(a)参照)を検出するとセクター
アテンション信号(第3図fc)参照)SSATをコマ
ンド設定制御部210に供給する。
When the disk device DISL detects a sector pulse (see FIG. 3(a)) immediately before the target sector, it supplies a sector attention signal (see FIG. 3(c)) SSAT to the command setting control unit 210.

この信号5SATに応じて、コマンド設定制御部210
内のステータス部243における「0」ビットのセクタ
ーアテンション・ビットが“1“になる。これに因り、
当該ステータス部243はカウンタ245に加算計数の
実行を指令する計数指令信号5CNUPを供給する。
In response to this signal 5SAT, the command setting control unit 210
The sector attention bit of the "0" bit in the status section 243 becomes "1". Due to this,
The status unit 243 supplies a counting command signal 5CNUP that instructs the counter 245 to perform addition counting.

カウンタ245は、この信号5CNIJPに依って付勢
されて、VF○230からのクロックCLVFOを加算
計数する。その計数値が所定値(例えば1600)にな
ると、該カウンタ245はコマンド転送信号SCMTR
を発生する。
The counter 245 is activated by the signal 5CNIJP and adds and counts the clock CLVFO from the VF○ 230. When the count value reaches a predetermined value (for example, 1600), the counter 245 outputs the command transfer signal SCMTR.
occurs.

バ・ッファ241は、コマンド転送信号SCMTRを受
けると、そこにセットされていたライト・コマンドを制
御部220のコマンドレジスタ251に転送してセット
する。
Upon receiving the command transfer signal SCMTR, the buffer 241 transfers the write command set there to the command register 251 of the control unit 220 and sets it therein.

このようにしてコマンドレジスタ251にライト・コマ
ンドがセットされると、ディスクの回転に同期し、次に
ディスクからのリードデータに同期するように制御部2
20が同期制御を為す(第3図td)及び(e)参照)
When the write command is set in the command register 251 in this way, the control unit 251 synchronizes with the rotation of the disk and then with the read data from the disk.
20 performs synchronous control (see Figure 3 td) and (e))
.

続いて目的セクターのセクターパルスを受けると、ID
フィールドを読み取って目的のアドレスであることを確
認してから、メモリからのデータをデータフィールドに
書き込む(第3図fbl及び(f)参照)。
Then, when receiving the sector pulse of the target sector, the ID
After reading the field and confirming that it is the desired address, the data from memory is written into the data field (see Figure 3 fbl and (f)).

データの書き込みが終了し、目的セクターの次のセクタ
ーパルスを受けると、ディスク制御装置200はデータ
転送の終了を告げる為にインターラブドリクエスト信号
を“オン”とする(第3図(g)参照)。
When data writing is completed and the next sector pulse of the target sector is received, the disk controller 200 turns on the interlaced request signal to signal the end of data transfer (see FIG. 3(g)). .

以上の動作を実行すると、カウンタの計数は最早不必要
であるので、ステータス部2′43のセクターパルス・
ビットを1”にしてカウンタ245をクリアする。
After the above operation is executed, the count of the counter is no longer necessary, so the sector pulse of the status section 2'43 is
The counter 245 is cleared by setting the bit to 1''.

このように構成することによって、ディスク装置以外の
装置をCPU300が制御していても、シーク・コマン
ド(この場合ライト命令)を次のコマンドとしてバッフ
ァ241にセントしておくことにより、規定時間内(セ
クターアテンションが発生されてからクロックCLVF
Oを計数して1864ビット以内)に、的確なタイミン
グでコマンドをレジスタ251にセットすることができ
る。そのため、セクターオーバーランが生じる可能性が
ない。
With this configuration, even if the CPU 300 is controlling a device other than the disk device, the seek command (write command in this case) is sent to the buffer 241 as the next command, so that the seek command (in this case, the write command) can be sent within the specified time ( Clock CLVF after sector attention is generated
The command can be set in the register 251 at an appropriate timing (within 1864 bits counting O). Therefore, there is no possibility of sector overrun occurring.

なお、上述した実施例にあっては「書き込み」の場合で
あったが、「読み取り」の場合であっても同様である。
Although the above-described embodiment deals with "writing", the same applies to "reading".

コマンドの内容が異なるだけである。The only difference is the content of the commands.

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

以上述べてきたように、本発明によれば、セクターオー
バーランが生じることがなく、ディスク装置に対してデ
ータの書き込み、読み取りを正確かつ安定に行なわしめ
得るに足りるコマンドの設定制御を行なうことができる
As described above, according to the present invention, it is possible to perform sufficient command setting control to accurately and stably write and read data to and from a disk device without causing sector overruns. can.

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

第1図は本発明のディスク制御装置の原理プロ、7り図
、 第2図は本発明の実施例を示すブロック図、第3図は従
来例及び本発明実施例の動作を説明するための信号タイ
ミング図である。 第1図において、 111はディスク装置部、 123はコマンドレジスタ、 127はバッファ、。 129はコマンドセントタイミング手段である。 第2図において、 200はディスク制御装置、 241はバッファ、 245はカウンタ、 251はコマンドレジスタ、 DISl、DIS2はディスク装置である。 一
Fig. 1 is a diagram showing the principle of the disk control device of the present invention, Fig. 2 is a block diagram showing an embodiment of the present invention, and Fig. 3 is a diagram for explaining the operation of the conventional example and the embodiment of the present invention. FIG. 3 is a signal timing diagram. In FIG. 1, 111 is a disk unit, 123 is a command register, and 127 is a buffer. 129 is a command sent timing means. In FIG. 2, 200 is a disk control device, 241 is a buffer, 245 is a counter, 251 is a command register, and DIS1 and DIS2 are disk devices. one

Claims (1)

【特許請求の範囲】 データの書き込み、読み取りが可能なディスク装置部(
111)にデータの書き込み、読み取りを行なうべき目
的セクターのためのセクターアドレス(113)を前記
ディスク装置部に送るアドレス手段(115)と、 前記セクターアドレスに応じて、前記目的セクターの1
つ前のセクターに関連するセクターアテンション信号(
117)を発生するアテンション信号発生手段(119
)と、 コマンドをセットするコマンドレジスタ(123)と、 前記目的セクターに対応する次コマンド(125)を準
備しておくためのバッファ(127)と、前記セクター
アテンション信号に応答してバッファ(127)に在る
次コマンドをコマンドレジスタ(123)にセットする
タイミングを作るコマンドセットタイミング手段(12
9)とを有し、前記次コマンドに応じて目的セクターに
書き込み、読み取りを行なうように構成したことを特徴
とするディスク制御装置。
[Claims] A disk device unit that can write and read data (
address means (115) for sending a sector address (113) for a target sector in which data is to be written or read to the disk unit (111);
sector attention signal related to the previous sector (
attention signal generating means (119) for generating (117);
), a command register (123) for setting a command, a buffer (127) for preparing the next command (125) corresponding to the target sector, and a buffer (127) in response to the sector attention signal. command set timing means (12) that creates timing for setting the next command in the command register (123);
9), and is configured to write to and read from a target sector in response to the next command.
JP24214285A 1985-10-29 1985-10-29 Disk controller Pending JPS62102328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24214285A JPS62102328A (en) 1985-10-29 1985-10-29 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24214285A JPS62102328A (en) 1985-10-29 1985-10-29 Disk controller

Publications (1)

Publication Number Publication Date
JPS62102328A true JPS62102328A (en) 1987-05-12

Family

ID=17084937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24214285A Pending JPS62102328A (en) 1985-10-29 1985-10-29 Disk controller

Country Status (1)

Country Link
JP (1) JPS62102328A (en)

Similar Documents

Publication Publication Date Title
US4047157A (en) Secondary storage facility for data processing
EP0664907B1 (en) Disk array controller utilizing command descriptor blocks for control information
JPS618785A (en) Access control system for storage device
JPS6142049A (en) Data processing system
EP0544954A1 (en) Disk drive synchronisation
JPS62102328A (en) Disk controller
JPH10178626A (en) Transmitting device, server device and transmitting method
EP1159686B1 (en) Method and apparatus for the block transfer of data
JP2001069163A (en) Usb data monitor device
JPS61177564A (en) Shared storage device
US5586272A (en) Asynchronous data transfers among a plurality of computer devices
JPH03252960A (en) Magnetic disk device
JPS63311553A (en) Synchronization control system microprocessor peripheral circuit
JPH0241535A (en) Data processor
JP2616490B2 (en) Shared data storage method
JP2978626B2 (en) DMA controller
JPH02244368A (en) Bus controller
JPS6159563A (en) Bus control system
JPH03150653A (en) Memory access control system
JPS63196968A (en) Input/output controller
JP2003122701A (en) Interface and input/output device
JPH02223241A (en) Data buffer circuit
JPH0520165A (en) System bus controller
JPS61285566A (en) Input and output controller
JPH02148122A (en) Magnetic disk controller