JPH02297619A - Disk controller with parallel transfer - Google Patents

Disk controller with parallel transfer

Info

Publication number
JPH02297619A
JPH02297619A JP11933289A JP11933289A JPH02297619A JP H02297619 A JPH02297619 A JP H02297619A JP 11933289 A JP11933289 A JP 11933289A JP 11933289 A JP11933289 A JP 11933289A JP H02297619 A JPH02297619 A JP H02297619A
Authority
JP
Japan
Prior art keywords
data
subcontrollers
pass
host interface
data transfer
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
JP11933289A
Other languages
Japanese (ja)
Inventor
Toshiaki Takagi
敏彰 高木
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP11933289A priority Critical patent/JPH02297619A/en
Publication of JPH02297619A publication Critical patent/JPH02297619A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To prevent a data error occurring due to a fault or malfunction, etc., by comparing a pass number with pass information, and transferring data when coincidence is obtained. CONSTITUTION:When the pass information 240 is analyzed with a pass decoder 61 at a subcontroller 51 and its own system is selected, a data transfer instruction 281 is outputted to a data transfer circuit 71. A synchronous circuit 81, when confirming the fact that all the subcontrollers 51-54 are set at states ready to receive the data, outputs a synchronism completion instruction 331, and also, a pass counter 111 counts the number of times of the output of a response signal 260. A pass number comparator 121 compares the output 351 of the pass counter 111 with the pass information 240, and outputs pass number noncoincidence 361 when noncoincidence occurs. In such a way, the pass information to designate the subcontrollers 51-54 and subcontrollers 55-58 alternately can be checked in data transfer between a host interface part 40 and the subcontrollers 51-58. Thereby, the data error due to the fault or the malfunction, etc., can be prevented occurring.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数のデータバッファを介してホストプロセッ
サと複数のディスク装置との間で並列データ転送を行う
ディスク制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a disk control device that performs parallel data transfer between a host processor and a plurality of disk devices via a plurality of data buffers.

〔従来の技術〕[Conventional technology]

従来、この種のディスク制御装置は、N台のディスク装
置に対するデータの書込みまたは読出しにおいて、ホス
トプロセッサとの間でLバイト幅のデータ転送を行うホ
ストインタフェース部と、データバッファな有しディス
ク装置との間で1バイト幅のデータ転送を行うN台のサ
ブコントローラとを有し、前記ホストインタフェース部
は、1バイト幅当りM (M=N/L)台接続されるサ
ブコントローラをL台毎に順次指定するためのパス情報
を出力し、指定されたサブコントローラはホストインタ
フェース部との間でデータ転送を行うようになっていた
Conventionally, this type of disk control device has a host interface section that transfers L-byte data to and from a host processor when writing or reading data to or from N disk devices, and a disk device that has a data buffer. The host interface unit has N sub-controllers that transfer data of 1 byte width between the N sub-controllers, and the host interface unit transfers M (M=N/L) sub-controllers per 1-byte width to each L unit. Path information for sequential designation is output, and the designated subcontroller transfers data to and from the host interface unit.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のディスク制御装置は、ホストインタフェ
ース部より出力されるパス情報で順次指定されたL台毎
のサブコントローラがホストインタフェース部との間で
データ転送を行うようになっているので、故障、誤動作
等によりパス情報が順次指定されない、またはサブコン
トローラで誤ってデータ転送を行なった場合等にデータ
誤りが発生するという欠点がある。
In the above-mentioned conventional disk control device, each L subcontroller sequentially specified by the path information output from the host interface unit transfers data to and from the host interface unit. There is a drawback that data errors occur when path information is not specified sequentially due to malfunction or when data is transferred erroneously in a sub-controller.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の並列転送のディスク制御装置は、ホストブロセ
、すと、複数のファイルを固定長で記録するN台のディ
スク装置と、前記ディスク装置に対する書込み又は読取
りデータを格納するデータバッファを有し、前記ディス
ク装置に対するデータの書込み及び読取りを制御するN
個のサブコントローラと、前記ホストプロセッサとの間
でLバイ)1111のデータ転送を行い前記サブコント
ローラが1バイト幅当りM (M=N/L)台接続され
るホストインタフェース部とを有し、前記サブコントロ
ーラ内に前記ホストインタフェース部からデータ転送を
行う前記サブコントローラをL台毎順次指定するため出
力されるパス情報を解析するパスデコーダと、前記ホス
トインタフェース部と前記サブコントローラ間でデータ
の転送毎にパス番号を計数するパスカウンタと、前記パ
スカウンタのパス番号と前記ホストインタフェース部か
らのパス情報を比較するパス番号比較回路と、前記パス
デコーダで選択されたことを確認し、前記パス番号比較
回路で不一致が生じなければ前記ホストインタフェース
部間で1バイト幅のデータを転送するデータ転送回路と
を有している。
A disk control device for parallel transfer according to the present invention includes a host processor, N disk devices for recording a plurality of files in a fixed length, and a data buffer for storing data written to or read from the disk devices. N that controls writing and reading of data to the disk device
and a host interface unit to which M (M=N/L) subcontrollers are connected per 1 byte width for performing L-byte (1111) data transfer between the host processor and the host processor; a path decoder that analyzes path information output in order to sequentially designate each L subcontroller to which data is to be transferred from the host interface section in the subcontroller; and a path decoder that analyzes path information that is output to the subcontroller, and a path decoder that transfers data between the host interface section and the subcontroller. a path counter that counts the path number for each pass; a path number comparison circuit that compares the path number of the path counter with the path information from the host interface section; and a data transfer circuit that transfers 1-byte wide data between the host interface sections if no mismatch occurs in the comparison circuit.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。本
実施例は特にホストプロセッサと4バイトを1ワードと
する並列データの受授を行なうディスク制御装置につい
ての例である。ディスク制御装置20は、ホストプロセ
ッサ10との間で4バイト幅のデータ転送を制御するホ
ストインタフェース部4と、ディスク装置31〜38の
アクセス時間のずれを吸収するためのデータバッファを
有しディスク装置31〜38に対して各々データの書込
み及び読出しを制御するサブコントローラ51〜58と
から構成されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. This embodiment is particularly an example of a disk control device that exchanges parallel data of 4 bytes (one word) with a host processor. The disk control device 20 has a host interface unit 4 that controls 4-byte data transfer with the host processor 10, and a data buffer that absorbs discrepancies in access times of the disk devices 31 to 38. It is composed of subcontrollers 51 to 58 that control writing and reading of data to and from 31 to 38, respectively.

前記ディスク装置31〜38へのデータ書込みについて
説明する。ホストインタフェース部40は、データパス
201〜204を介してホスドブセッサ10から書込み
データを受取ると、サブコントローラ51〜54または
55〜58のどちらがデータを受取るかを指示するパス
情報を240へおよび書込みデータをデータパス211
〜214へ出力したあと、転送要求信号250を出力す
る。
Writing data to the disk devices 31 to 38 will be explained. When the host interface unit 40 receives write data from the host processor 10 via the data paths 201 to 204, the host interface unit 40 transmits path information indicating which of the subcontrollers 51 to 54 or 55 to 58 receives the data to the data path 240, and sends the write data to the host interface unit 40. data path 211
After outputting to 214, a transfer request signal 250 is output.

前記ホストインタフェース部40は、例えば、1ワード
目の転送時はサブコントローラ51〜54を、2ワード
目の転送時はサブコントローラ55〜58を、3ワード
目の転送時はサブコントローラ51〜54と交互に指定
するためにワードデータ転送毎にパス情報を順次切換え
る。
The host interface unit 40, for example, controls subcontrollers 51 to 54 when transferring the first word, subcontrollers 55 to 58 when transferring the second word, and subcontrollers 51 to 54 when transferring the third word. In order to specify alternately, path information is sequentially switched every time word data is transferred.

次に第2図を参照して上記サブコントローラ51〜58
を詳細に説明する。各サブコントローラは同一の構成を
有すため、ここではサブコントローラ51について代表
的に説明する。パスデコーダ61はパス情報240を解
析し自系が選択されている場合、データ転送指示281
をデータ転送回路71へ出力する。同期回路81は、線
271を介してサブコントローラ51〜54の全てがデ
ータ受取り可能状態になったことを確認すると同期完了
指示331を出力する。また、パスカウンタ111は、
応答信号260の出力回数を計数する。
Next, referring to FIG. 2, the sub-controllers 51 to 58
will be explained in detail. Since each sub-controller has the same configuration, the sub-controller 51 will be representatively explained here. The path decoder 61 analyzes the path information 240 and, if its own system is selected, issues a data transfer instruction 281.
is output to the data transfer circuit 71. When the synchronization circuit 81 confirms via the line 271 that all of the subcontrollers 51 to 54 are ready to receive data, it outputs a synchronization completion instruction 331. Further, the pass counter 111 is
The number of times the response signal 260 is output is counted.

パス番号比較回路121は、パスカウンタ111の出力
351とパス情報240を比較し不一致が生ずるとパス
番号不一致361を出力する。データ転送回路71はデ
ータバッファ91への未書込みデータを保持していなけ
れば、転送許可321を同期回路81へ出力する。同期
回路81から同期完了指示331が出力され、パスデコ
ーダ61からデータ転送指示281が出力され、かつパ
ス番号比較回路121からパス番号不一致361が出力
されていない状態で、ホストインタフェース部40から
の転送要求信号250を受付けるとデータ転送回路71
はデータパス211を介して1バイトのデータを受取り
応答信号260を返す。
The path number comparison circuit 121 compares the output 351 of the path counter 111 and the path information 240, and outputs a path number mismatch 361 if a mismatch occurs. If the data transfer circuit 71 does not hold unwritten data in the data buffer 91, it outputs a transfer permission 321 to the synchronization circuit 81. When the synchronization completion instruction 331 is output from the synchronization circuit 81, the data transfer instruction 281 is output from the path decoder 61, and the path number mismatch 361 is not output from the path number comparison circuit 121, transfer from the host interface unit 40 is performed. Upon receiving the request signal 250, the data transfer circuit 71
receives 1 byte of data via the data path 211 and returns a response signal 260.

このときサブコントローラ52〜54は、各々データパ
ス212〜214を介してデータを受取るが応答信号2
60は返さない。ここで、応答信号260を出力できる
サブコントローラはサブコントローラ51と55に限定
しである。但し、パス番号比較回路121からパス番号
不一致361が出力されていればデータ転送回路71は
、ホストインタフェース部40からの転送要求信号25
0に応答せずデータ転送を中止することにより誤ったデ
ータの書込みを防止する。
At this time, the subcontrollers 52 to 54 receive data via the data paths 212 to 214, respectively, but the response signal 2
60 will not be returned. Here, the subcontrollers that can output the response signal 260 are limited to the subcontrollers 51 and 55. However, if the path number comparison circuit 121 outputs the path number mismatch 361, the data transfer circuit 71 receives the transfer request signal 25 from the host interface unit 40.
Writing of erroneous data is prevented by not responding to 0 and canceling data transfer.

ホストインタフェース部40は、サブコントローラ51
からの応答信号260が返ると、次にサブコントローラ
55〜58を指定するパス情報240と、データパス2
11〜214へ次のワードデータを出力したあと、転送
要求信号250を出力する。また、前記応答信号260
は全てのサブコントローラ51〜58のパスカウンタ1
11で受信され、パスカウンタ111の出力351を更
新する。これにより出力351はサブコントローラ55
〜58を示すパス番号になる。このため、次はサブコン
トローラ55〜58がデータを受取り、サブコントロー
ラ55から応答信号260が返る。このようにしてサブ
コントローラ51〜54及びサブコントローラ55〜5
8は交互に1ワードのデータを受取るようになっている
The host interface unit 40 has a sub-controller 51
When the response signal 260 is returned from the
After outputting the next word data to 11 to 214, a transfer request signal 250 is output. Further, the response signal 260
is the pass counter 1 of all subcontrollers 51 to 58
11 and updates the output 351 of the path counter 111. As a result, the output 351 becomes the sub-controller 55
The path number will be ~58. Therefore, the subcontrollers 55 to 58 next receive the data, and the subcontroller 55 returns a response signal 260. In this way, the subcontrollers 51 to 54 and the subcontrollers 55 to 5
8 alternately receive one word of data.

データ転送回路71は、ホストインタフェース部40か
らデータを受取り保持していればデータバッファ91か
らのアクセス許可301が出力すれているときデータパ
ス311へ書込みデータを出力し、書込み指示291を
出力しデータバッファ91へ格納する。ディスク制御部
101は、データバッファ91へ格納されているデータ
をパス341を介して読出し、信号線221を介してデ
ィスク装置31へ書込む。サブコントローラ52〜58
もサブコントローラ51と同様に各々ディスク装置32
〜38ヘデータを書込む。
If the data transfer circuit 71 receives and holds data from the host interface section 40, it outputs write data to the data path 311 when the access permission 301 from the data buffer 91 is output, outputs a write instruction 291, and transfers the data. Store it in the buffer 91. The disk control unit 101 reads data stored in the data buffer 91 via the path 341 and writes it to the disk device 31 via the signal line 221. Sub controllers 52 to 58
Similarly to the sub-controller 51, each disk device 32
~Write data to 38.

次に、ディスク装置31〜38からのデータ読出しにつ
いて説明する。ディスク制御部101は信号線221を
介してディスク装置31がらデータを読出し、パス34
1を介してデータバッファ91へ格納される。データバ
ッファ91は、データが格納されていればアクセス許可
301を出力する。データ転送回路71は、データバッ
ファ91からアクセス許可301が出力されると、デー
タパス311を介してデータを読出し保持し転送許可3
21を同期回路81へ出力する。データ転送回路71は
、パスデコーダ61からのデータ転送指示281.同期
回路81からの同期完了指示331.ホストインタフェ
ース部4oがらの転送要求信号250が出力され、かつ
パス番号比較回路121からのパス番号不一致361が
出力されていなければデータパス211ヘデータを出力
し応答信号260を返す。パス番号不一致361が出力
されていればデータ転送回路71はホストインタフェー
ス部40からの転送要求信号250に対して応答せずデ
ータ転送を中止する。ホストインタフェース部40は、
サブコントローラ51からの応答信号260が返えると
データパス211〜214を介してデータを受取りデー
タパス201〜204を介してホストプロセッサ1oへ
転送スる。サブコントローラ51〜54およびサブコン
トルーラ55〜58は交互に1ワードのデータを出力し
、ホストインタフェース部4で順次データを受取るよう
になっている。
Next, reading data from the disk devices 31 to 38 will be explained. The disk control unit 101 reads data from the disk device 31 via the signal line 221 and transfers the data to the path 34.
1 and stored in the data buffer 91. The data buffer 91 outputs access permission 301 if data is stored. When the access permission 301 is output from the data buffer 91, the data transfer circuit 71 reads and holds the data via the data path 311 and transfers the permission 301.
21 is output to the synchronization circuit 81. The data transfer circuit 71 receives data transfer instructions 281 . Synchronization completion instruction 331 from synchronization circuit 81. If the transfer request signal 250 is output from the host interface unit 4o and the path number mismatch 361 is not output from the path number comparison circuit 121, data is output to the data path 211 and a response signal 260 is returned. If the path number mismatch 361 is output, the data transfer circuit 71 does not respond to the transfer request signal 250 from the host interface section 40 and stops data transfer. The host interface section 40 is
When the response signal 260 is returned from the sub-controller 51, the data is received via the data paths 211-214 and transferred to the host processor 1o via the data paths 201-204. The subcontrollers 51 to 54 and the subcontrollers 55 to 58 alternately output one word of data, and the host interface section 4 sequentially receives the data.

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

以上説明したように本発明は、ホストインタフェース部
とサブコントローラとの間のデータ転送においてサブコ
ントローラ51〜54とサブコン)a−ラ55〜58を
交互に指定するパス情報をチェックすることにより、故
障、誤動作等によるデータ誤りを防止できる効果がある
As explained above, the present invention detects a failure by checking path information that alternately specifies the subcontrollers 51 to 54 and the subcontrollers 55 to 58 during data transfer between the host interface section and the subcontroller. This has the effect of preventing data errors due to malfunctions, etc.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図のサブコントローラ51を示すブロック図である
。 lO・・・・・・ホストプロセッサ、20・・・・・・
ディスク制御装置、31,32.〜38・・・・・・デ
ィスク装置、40・・・・・・ホストインタフェース部
、51,52.〜58・・・・・・サブコントローラ、
61・・・・・・パスデコーダ、71・・・・・・デー
タ転送回路、81・・・・・・同期回路、91・・・・
・・データバッファ、101・・・・・・ディスク制御
部、111・・・・・・パスカウンタ、121・・・・
・・パス番号比較回路。 代理人 弁理士  内 原   音 1X
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a block diagram showing the sub-controller 51 of FIG. 1. lO...Host processor, 20...
Disk control device, 31, 32. ~38...Disk device, 40...Host interface section, 51, 52. ~58... Sub controller,
61...Pass decoder, 71...Data transfer circuit, 81...Synchronization circuit, 91...
...Data buffer, 101...Disk control unit, 111...Pass counter, 121...
...Path number comparison circuit. Agent Patent Attorney Oto Uchihara 1X

Claims (1)

【特許請求の範囲】 ホストプロセッサと、複数のファイルを固定長で記録す
るN台のディスク装置と、前記ディスク装置に対する書
込みまたは読取りデータを格納するデータバッファを有
し前記ディスク装置に対するデータの書込みおよび読取
りを制御するN個のサブコントローラと、前記ホストプ
ロセッサとの間でLバイト幅のデータ転送を行い前記サ
ブコントローラが1バイト幅当りM(M=N/L)台接
続されこれらサブコントローラの中でデータ転送を行う
L台を指定するためのパス情報を出力するホストインタ
フェース部とを有するディスク制御装置において、 前記各サブコントローラ内に全ての前記サブコントロー
ラの前記ホストインターフェースとの間のデータ転送を
監視する転送監視手段と、前記パス情報を認識するパス
情報認識手段と、前記転送監視手段と前記パス情報認識
手段とによりデータ転送を選択的に実行するデータ転送
回路とを含むことを特徴とする並列転送のディスク制御
装置。
[Scope of Claims] A host processor, N disk devices that record a plurality of files in a fixed length, and a data buffer that stores data written to or read from the disk devices, and includes a data buffer for storing data written to or read from the disk devices. Data transfer of L byte width is performed between N subcontrollers that control reading and the host processor, and M (M=N/L) of the subcontrollers are connected per 1 byte width. In a disk control device having a host interface section that outputs path information for specifying L units for data transfer, each of the sub-controllers includes a host interface section for data transfer between all the sub-controllers and the host interface. The method is characterized in that it includes a transfer monitoring means for monitoring, a path information recognition means for recognizing the path information, and a data transfer circuit for selectively executing data transfer by the transfer monitoring means and the path information recognition means. Disk controller for parallel transfer.
JP11933289A 1989-05-11 1989-05-11 Disk controller with parallel transfer Pending JPH02297619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11933289A JPH02297619A (en) 1989-05-11 1989-05-11 Disk controller with parallel transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11933289A JPH02297619A (en) 1989-05-11 1989-05-11 Disk controller with parallel transfer

Publications (1)

Publication Number Publication Date
JPH02297619A true JPH02297619A (en) 1990-12-10

Family

ID=14758859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11933289A Pending JPH02297619A (en) 1989-05-11 1989-05-11 Disk controller with parallel transfer

Country Status (1)

Country Link
JP (1) JPH02297619A (en)

Similar Documents

Publication Publication Date Title
US4747047A (en) Data transfer system using two peripheral controllers to access dual-ported data storage units
US4558446A (en) Memory system
US4805090A (en) Peripheral-controller for multiple disk drive modules having different protocols and operating conditions
JP2855019B2 (en) External storage device data guarantee method and external storage device
US4885683A (en) Self-testing peripheral-controller system
JP2846837B2 (en) Software-controlled data processing method for early detection of faults
JPH0449413A (en) Driving position confirming system for array disk device
US4918651A (en) Method and disk controller architecture for zero latency data read
US4527273A (en) Magnetic disc device
JPH02297619A (en) Disk controller with parallel transfer
US5091909A (en) Method for writing/reading of data in magnetic disk subsystem
JP2570995B2 (en) Disk controller
JPS6050672A (en) Read control system of rotary memory
GB1574104A (en) Data processing apparatus
JP3275492B2 (en) Linked disk unit
JP2868003B1 (en) Magnetic disk drive
JPH01211347A (en) Data writing control method for magnetic tape subsystem
JPS5847057B2 (en) magnetic disk controller
JPS5916067A (en) Data checking system
JPH02297620A (en) Input/output control system
JPH02245954A (en) Semiconductor storage device
JPH04285773A (en) external storage device
JPH0799608B2 (en) Track emulation method for magnetic disk unit
JPH02157953A (en) Memory sub system
JPH09293026A (en) Redundant conversion method of device storage part and its device