JPH0212326A - Disk controller - Google Patents
Disk controllerInfo
- Publication number
- JPH0212326A JPH0212326A JP16121588A JP16121588A JPH0212326A JP H0212326 A JPH0212326 A JP H0212326A JP 16121588 A JP16121588 A JP 16121588A JP 16121588 A JP16121588 A JP 16121588A JP H0212326 A JPH0212326 A JP H0212326A
- Authority
- JP
- Japan
- Prior art keywords
- data
- sector
- sector buffer
- buffers
- buffer
- 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
Links
- 239000000872 buffer Substances 0.000 claims abstract description 184
- 238000001514 detection method Methods 0.000 claims description 16
- 238000000034 method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
1度圀!
本発明はディスク制御装置に関し、特にディスク制御装
置を介して行われるディスク装置と主記憶装置との間の
データ転送処理に関する。[Detailed description of the invention] Once again! The present invention relates to a disk control device, and more particularly to data transfer processing between a disk device and a main storage device performed via the disk control device.
良工盈且
従来、ディスク制御装置は、主記憶装置とディスク装置
との間のデータ転送処理における各々の転送速度差およ
び非同期動作を補うために、1回の命令で取板い得る最
大のデータ量を格納することができる全セクタバッファ
をデータバッファとして構成されるのが一般的である。Conventionally, disk control devices have been designed to control the maximum amount of data that can be retrieved with a single command in order to compensate for the difference in transfer speed and asynchronous operation in the data transfer process between the main storage device and the disk device. It is common that a full sector buffer capable of storing an amount of data is configured as a data buffer.
したがって、ディスク制御装置が全セクタバッファをデ
ータバッファとして構成されている場合には、主記憶装
置との間で全てのデータ転送が終了した後にディスク装
置との間のデータ転送を開始しなければならず、あるい
はディスク装置との間で全てのデータ転送が終了した後
に主記憶装置との間のデータ転送を開始しなければなら
ないため、1回の命令に要する時間が主記憶装置との間
のデータ転送の時間とディスク装置との間のデータ転送
の時間とを加え合わせたものとなり、多くの処理時間を
必要とするとともに、全セクタバッファの容量の大きさ
によりディスク制御装置の能力が仰えられ、しかも回路
量が多くなるという欠点がある。Therefore, if the disk controller is configured with all sector buffers as data buffers, data transfer to and from the disk device must be started after all data transfer to and from the main storage device is completed. Because data transfer to and from the main storage device must be started after all data transfers to and from the disk device have been completed, the time required for one command is shorter than the data transfer to and from the main storage device. This is the sum of the transfer time and the data transfer time between the disk device and requires a lot of processing time, and the capacity of the disk control device is determined by the capacity of all sector buffers. , and has the disadvantage that the amount of circuitry increases.
さらに、全セクタバッファが故障した場合には、これ以
後データ転送が正常に行われないだけでなく、誤ってデ
ータ転送が行われて異常なデータが転送されても発見で
きないというように信頼性が低(、回路量が多いために
故障箇所の判定が困難であるという欠点がある。Furthermore, if all sector buffers fail, not only will data transfer not be performed normally from now on, but reliability will also be affected, as even if data is transferred incorrectly and abnormal data is transferred, it will not be possible to detect it. Low (low), it has the disadvantage that it is difficult to determine the location of the failure due to the large amount of circuitry.
ユ1しと1皿
本発明は上記のような従来のものの欠点を除去すべくな
されたもので、処理時間を短縮することができ、ハード
ウェアの信頼性を向上させ、回路の故障箇所を容易に判
定することができるディスク制御装置の提供を目的とす
る。The present invention was made in order to eliminate the drawbacks of the conventional ones as described above, and it can shorten the processing time, improve the reliability of hardware, and easily locate faulty parts of the circuit. The object of the present invention is to provide a disk control device that can make a determination.
九匪立■處
本発明によるディスク制御装置は、ディスク装置から読
出されたデータを第1および第2のセクタバッファに交
互に格納し、前記第1および第2のセクタバッファに格
納された前記データを交互に主記憶装置に転送するディ
スク制御装置であって、前記第1および第2のセクタバ
ッファ各々に対応して設けられ、これら対応セクタバッ
ファと同一のデータを各々格納する第1および第2の付
加セクタバッファと、前記第1および第2のセクタバッ
ファ各々に格納されたデータの障害の有無を検出する第
1および第2のセクタバッファ障害検出手段と、前記第
1および第2の付加セクタバッファ各々に格納されたデ
ータの障害の有無を検出する第1および第2の付加セク
タバッファ障害検出手段と、前記第1または第2のセク
タバッファ障害検出手段の検出結果と前記第1または第
2の付加セクタバッファ障害検出手段の検出結果とに応
じて、前記第1または第2のセクタバッファに格納され
たデータと前記第1または第2の付加セクタバッファに
格納されたデータとのうち一方を選択する選択手段とを
有し、前記選択手段により選択されたデータを前記主記
憶装置に転送するようにしたことを特徴とする。A disk control device according to the present invention alternately stores data read from a disk device in first and second sector buffers, and stores the data stored in the first and second sector buffers. A disk control device that alternately transfers data to a main storage device, the first and second sector buffers being provided corresponding to each of the first and second sector buffers and storing the same data as the corresponding sector buffers, respectively. an additional sector buffer; first and second sector buffer fault detection means for detecting the presence or absence of a fault in data stored in each of the first and second sector buffers; first and second additional sector buffer failure detection means for detecting the presence or absence of a failure in data stored in each buffer; detection results of the first or second sector buffer failure detection means and the first or second additional sector buffer failure detection means; one of the data stored in the first or second sector buffer and the data stored in the first or second additional sector buffer according to the detection result of the additional sector buffer failure detection means of It is characterized in that it has a selection means for making a selection, and data selected by the selection means is transferred to the main storage device.
次に、本発明の一実施例について図面を参照して説明す
る。Next, an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例の構成を示すブロック図であ
る0図において、本発明の一実施例によるディスク制御
装置は、セクタバッファ1.2と、付加セクタバッファ
3,4と、カウンタ7.8と、セクタバッファ切換え回
路9と2パリテイ生成器10.11と、パリティチエツ
ク回路12〜15と、比較器16.17と、選択器18
.19と、コントローラ20とにより構成されている。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 7.8, sector buffer switching circuits 9 and 2 parity generators 10.11, parity check circuits 12 to 15, comparators 16.17, and selector 18
.. 19 and a controller 20.
セクタバッファ1.2には図示せぬディスク装置での読
出しおよび書込みの単位である1セクタ分のデータが格
納される。The sector buffer 1.2 stores data for one sector, which is a unit of reading and writing in a disk device (not shown).
付加セクタバッファ3.4はセクタバッファ1゜2に夫
々対応しており、セクタバッファ1,2各々に格納され
たデータと同一のデータが各々格納される。Additional sector buffers 3.4 correspond to sector buffers 1 and 2, respectively, and store the same data as that stored in each of sector buffers 1 and 2.
カウンタ7.8はセクタバッファ1.2および付加セク
タバッファ3.4各々にデータが規定i格納されている
ことを示すフラグ5.6を夫々内蔵し、セクタバッファ
1.2および付加セクタバッファ3.4各々に読出しア
ドレスまたは書込みアドレスを供給するとともに、セク
タバッファ1゜2および付加セクタバッファ3,4各々
から図示せぬ主記憶装置への転送データ量を計数する。The counter 7.8 has a built-in flag 5.6 indicating that data is stored in the sector buffer 1.2 and the additional sector buffer 3.4, respectively. A read address or a write address is supplied to each of the sector buffers 1 and 4, and the amount of data transferred from each of the sector buffers 1 and 2 and additional sector buffers 3 and 4 to the main memory (not shown) is counted.
セクタバッファ切換え回路9はセクタバッファ1.2お
よび付加セクタバッファ3.4各々に読出し状態あるい
は書込み状態を手旨定し、セクタバッファ1,2および
付加セクタバッファ3.4各々が、主記憶装置との間の
データ転送に使用されているか、あるいはディスク装置
との間のデータ転送に使用されているかを区別し、セク
タバッフr1.2および付加セクタバッファ3.4にお
けるデータ転送状態を制御する。The sector buffer switching circuit 9 determines a read state or a write state for each of the sector buffers 1.2 and additional sector buffers 3.4, and each of the sector buffers 1, 2 and additional sector buffers 3.4 serves as a main storage device. The data transfer state in the sector buffer r1.2 and the additional sector buffer 3.4 is controlled by distinguishing whether the sector buffer r1.2 and the additional sector buffer 3.4 are used for data transfer between the disk drive and the disk drive.
パリティ生成器10.11はセクタバッファ1゜2およ
び付加セクタバッファ3.4各々にデータを書込む際に
パリティビットを生成して該データに付加する。Parity generator 10.11 generates a parity bit and adds it to the data when writing data to each of sector buffer 1.2 and additional sector buffer 3.4.
パリティチエツク回路12〜15は夫々セクタバッファ
1.2および付加セクタバッファ3.4各々に書込まれ
たデータを、パリティ生成器10゜11で該データに付
加されたパリティビットによりパリティチエツクを行う
。Parity check circuits 12-15 perform a parity check on the data written in sector buffer 1.2 and additional sector buffer 3.4, respectively, using parity bits added to the data by parity generators 10-11.
比較器16.17は夫々セクタバッファ1.2からの読
出しデータと付加セクタバッファ3.4からの読出しデ
ータとを比叙し、これらのデータが一致しているか否か
を検出する。Comparators 16, 17 compare the data read from sector buffer 1.2 and the data read from additional sector buffer 3.4, respectively, and detect whether these data match.
選択器18.19はハリティチエツク回路12〜15の
チエツク結果、−比較器16.17の比較結果とに応じ
て、セクタバッファ1.2からの読出しデータと付加セ
クタバッファ3,4からの読出しデータとのうち一方を
選択する。また、コントローラ20はディスク装置との
間のデータ転送を制御する。The selectors 18 and 19 select read data from the sector buffer 1.2 and read data from the additional sector buffers 3 and 4 according to the check results of the harness check circuits 12 to 15 and the comparison results of the comparators 16 and 17. Select one of the data. The controller 20 also controls data transfer with the disk device.
次に、ディスク装置からデータを読出す場合について説
明する。Next, the case of reading data from the disk device will be explained.
ディスク制御装置に読出し命令が与えられると、フラグ
5,6とカウンタ7.8とセクタバッファ切換え回路9
とが初期化され、コントローラ20の制御によりバス1
01を介して転送されてきたディスク装置からの読出し
データが、セクタバッファ切換え回路9により指定され
るセクタバッフT1および付加セクタバッファ3に内部
バス103を介して順次格納されていく。When a read command is given to the disk controller, flags 5 and 6, counters 7 and 8, and sector buffer switching circuit 9
are initialized, and the bus 1 is initialized under the control of the controller 20.
The read data from the disk device transferred via the internal bus 103 is sequentially stored in the sector buffer T1 and the additional sector buffer 3 designated by the sector buffer switching circuit 9 via the internal bus 103.
セクタバッファ1および付加セクタバッファ3に順次格
納されるデータはカウンタ7によってカウントされる。Data sequentially stored in sector buffer 1 and additional sector buffer 3 is counted by counter 7.
また、該データにはパリティ生成器10により生成され
たパリティビットが付加されてセクタバ・ツファ1およ
び付加セクタバッファ3に格納されていく。Further, a parity bit generated by the parity generator 10 is added to the data, and the data is stored in the sector buffer 1 and the additional sector buffer 3.
ディスク装置からの1セクタ分のデータ転送が終了する
と、フラグ5が論理″1′″となって一旦データ転送処
理が中止される。このとき、セクタバッファ切換え回路
9によりディスク装置からの読出しデータを格納するセ
クタバッファの切換えが行われる。すなわち、ディスク
装置からの読出しデータを格納するセクタバッファが、
セクタバッフr1およびけ加・セクタバッファ3からセ
クタバッフT2および付加セクタバッファ4に切換えら
れる。When the data transfer for one sector from the disk device is completed, the flag 5 becomes logic "1" and the data transfer process is temporarily stopped. At this time, the sector buffer switching circuit 9 switches the sector buffer that stores the data read from the disk device. In other words, the sector buffer that stores read data from the disk device is
Sector buffer r1 and additional sector buffer 3 are switched to sector buffer T2 and additional sector buffer 4.
このセクタバッファ2および付加セクタバッファ4への
切換えが行われると、コントローラ20の制御によりデ
ィスク装置からの読出しデータの転送が再開され、上述
の動作と同様にして、ディスク装置からの読出しデータ
がセクタバッファ2および付加セクタバッファ4に格納
されていく。When this switching to the sector buffer 2 and the additional sector buffer 4 is performed, the transfer of read data from the disk device is restarted under the control of the controller 20, and in the same manner as described above, the read data from the disk device is transferred to the sector. The data is stored in buffer 2 and additional sector buffer 4.
このとき、セクタバッファ1および付加セクタバッファ
3のデータ量を示すフラグ5が論理″1″″となってい
るので、セクタバッファ1または付加セクタバッファ3
に格納されたデータが選択器18と内部バスIQ4とバ
ス102とを介して主記憶装置に転送されていく。At this time, since flag 5 indicating the amount of data in sector buffer 1 and additional sector buffer 3 is logic "1", sector buffer 1 or additional sector buffer 3
The data stored in is transferred to the main storage device via the selector 18, internal bus IQ4, and bus 102.
つまり、この時点ではセクタバッファ2および付加セク
タバッファ4にディスク装置からの読出しデータが格納
される処理と、セクタバッファ1または付加セクタバッ
ファ3からの読出しデータが主記憶装置に転送される処
理とが同時に行われていることになる。In other words, at this point, there is a process in which read data from the disk device is stored in sector buffer 2 and additional sector buffer 4, and a process in which read data from sector buffer 1 or additional sector buffer 3 is transferred to the main storage device. It will be done at the same time.
しかも、セクタバッファ1または付加セクタバッファ3
と主記憶装置との間のデータ転送速度は、ディスク装置
の1セクタ処理時間内であれば、ディスク装置とセクタ
バッファとの転送速度に依存せず、主記憶装置とディス
ク制御装置とを接続するバス102の使用状況のみによ
って決定される。Moreover, sector buffer 1 or additional sector buffer 3
The data transfer speed between the main storage device and the main storage device does not depend on the transfer speed between the disk device and the sector buffer, as long as it is within the processing time of one sector of the disk device, and the data transfer speed between the main storage device and the disk control device is Determined solely by bus 102 usage.
セクタバッファ1または付加セクタバッファ3から主記
憶装置へのデータ転送が順次行われ、1セクタ分のデー
タ転送が終了すると、フラグ5が論理“0″となってセ
クタバッファ1または付加セクタバッファ3から主記憶
装置へのデータ転送が中断される。Data transfer from sector buffer 1 or additional sector buffer 3 to the main memory is performed sequentially, and when data transfer for one sector is completed, flag 5 becomes logic "0" and data is transferred from sector buffer 1 or additional sector buffer 3 to main memory. Data transfer to main storage is interrupted.
また、ディスク装置からセクタバッファ2および付加セ
クタバッファ4への1セクタ分のデータ転送処理が終了
すると、フラグ6が論理“1″となって一旦データ転送
処理が中止される。Further, when the data transfer process for one sector from the disk device to the sector buffer 2 and the additional sector buffer 4 is completed, the flag 6 becomes logic "1" and the data transfer process is temporarily stopped.
このとき、セクタバッフア切換え回路9によりディスク
装置からの読出しデータを格納するセクタバッファの切
換え、および主記憶装置にデータ転送を行うセクタバッ
ファの切換えが行われる。At this time, the sector buffer switching circuit 9 switches the sector buffer that stores read data from the disk device and the sector buffer that transfers data to the main storage device.
すなわち、ディスク装置からの読出しデータを格納する
セクタバッファが、セクタバッファ2および付加セクタ
バッファ4からセクタバッファ1および付加セクタバッ
ファ3に切換えられ、主記憶装置にデータ転送を行うセ
クタバッファが、セクタバッファ1および付加セクタバ
ッファ3からセクタバッファ2および付加セクタバッフ
ァ4に切換えられる。That is, the sector buffer that stores read data from the disk device is switched from sector buffer 2 and additional sector buffer 4 to sector buffer 1 and additional sector buffer 3, and the sector buffer that transfers data to the main storage device is switched from sector buffer 2 and additional sector buffer 4 to sector buffer 1 and additional sector buffer 3. 1 and additional sector buffer 3 are switched to sector buffer 2 and additional sector buffer 4.
上述の動作のように、ディスク装置との間のデータ転送
と、主記憶装置との間のデータ転送とが同時に行われ、
上述の動作を命令により与えられたセクタ数分繰返すこ
とによりディスク装置から主記憶装置へのデータ転送が
終了する。As in the above operation, data transfer to and from the disk device and data transfer to and from the main storage device are performed at the same time.
By repeating the above operation for the number of sectors given by the command, data transfer from the disk device to the main storage device is completed.
次に、セクタバッファ1または付加セクタバッファ3か
ら主記憶装置にデータ転送を行う場合に、セクタバッフ
ァ1または付加セクタバッファ3から読出された読出し
データに対する障害検出処理について説明する。Next, when data is transferred from sector buffer 1 or additional sector buffer 3 to the main memory device, failure detection processing for read data read from sector buffer 1 or additional sector buffer 3 will be described.
セクタバッファ1または付加セクタバッファ3から主記
憶装置にデータ転送を行う場合、セクタバッファ1およ
び付加セクタバッフr3の両方からデータの読出しが行
われる。When data is transferred from sector buffer 1 or additional sector buffer 3 to the main memory device, data is read from both sector buffer 1 and additional sector buffer r3.
このとき、セクタバッファ1および付加セクタバッファ
3から読出されたデータは、比較器16によりセクタバ
ッファ1からの読出しデータと付加セクタバッファ3か
らの読出しデータとが一致しているかが検証され、同時
にパリティチエツク回路12.14によりセクタバッフ
ァ1からの読出しデータおよび付加セクタバッファ3か
らの読出しデータのパリティチエツクが行われる。At this time, the data read from the sector buffer 1 and the additional sector buffer 3 are verified by the comparator 16 to see if the data read from the sector buffer 1 and the data read from the additional sector buffer 3 match. Check circuits 12 and 14 perform a parity check on data read from sector buffer 1 and data read from additional sector buffer 3.
比較器16の比較結果およびパリティチエツク回路12
.14のパリティチエツクの結果により、セクタバッフ
ァ1からの読出しデータと付加セクタバッファ3からの
読出しデータとが一致しており、かつセクタバッファ1
からの読出しデータおよび付加セクタバッファ3からの
読出しデータにパリティチエツクによる誤りがないと判
定されたとき、セクタバッファ1からの読出しデータお
よび付加セクタバッフT3からの読出しデータともに正
常であるので、選択器18はセクタバッファ1からの読
出しデータを選択して主記憶装置に転送する。この場合
、選択器18が付加セクタバッファ3からの読出しデー
タを選択しても不都合はない。Comparison result of comparator 16 and parity check circuit 12
.. As a result of the parity check in step 14, the data read from sector buffer 1 and the data read from additional sector buffer 3 match, and the data read from sector buffer 1
When it is determined that there is no error in the read data from the sector buffer T3 and the data read from the additional sector buffer T3, the selector 18 selects the read data from sector buffer 1 and transfers it to the main memory. In this case, there is no problem even if the selector 18 selects the read data from the additional sector buffer 3.
比較器16によりセクタバッファ1からの読出しデータ
と付加セクタバッファ3からの続出しデータとの不一致
が検出されると、パリティチエツク回路12によってセ
クタバッファ1からの読出しデータに誤りが検出された
場合には、選択器18で付加セクタバッファ3からの読
出しデータが選択され、パリティチエツク回路14によ
って付加セクタバッファ3からの読出しデータに誤りが
検出された場合には、選択器18でセクタバッファ1か
らの読出しデータが選択されて主記憶装置に転送される
。When the comparator 16 detects a mismatch between the read data from the sector buffer 1 and the subsequent data from the additional sector buffer 3, the parity check circuit 12 detects an error in the read data from the sector buffer 1. When the selector 18 selects the read data from the additional sector buffer 3 and the parity check circuit 14 detects an error in the read data from the additional sector buffer 3, the selector 18 selects the read data from the sector buffer 1. Read data is selected and transferred to main memory.
上述のように、セクタバッファ1または付加セクタバッ
ファ3からの読出しデータに誤りが検出された場合に、
正常な技出しデータに切換えても間に合う程度の転送時
間を設定し、もしくは読出しデータの切換えが発生した
ときに転送時間を延長させるような制御を行えば、デー
タ転送は止まることなく実行することができる。As mentioned above, when an error is detected in the read data from sector buffer 1 or additional sector buffer 3,
If you set a transfer time that is long enough to last even when switching to normal technique data, or if you control the transfer time to extend when a switch to read data occurs, data transfer can be performed without stopping. can.
また、比較a16によりセクタバッファ1からの読出し
データと付加セクタバッファ3からの読出しデータとの
一致が検出され、パリティチエツク回路12.14によ
ってセクタバッファ1および叶加セクタバッファ3両方
からの読出しデータに誤りが検出された場合や、比較器
16によりセクタバッファ1からの読出しデータと付加
セクタバッファ3からの読出しデータとの不一致が検出
され、パリティチエツク回路12.14によってセクタ
バッファ1および付加セクタバフフッ3両方からの読出
しデータに誤りが検出されなかった場合等には、回路故
障としてデータ転送を中止してシステムに報告する。Furthermore, the comparison a16 detects a match between the data read from the sector buffer 1 and the data read from the additional sector buffer 3, and the parity check circuit 12.14 checks the data read from both the sector buffer 1 and the additional sector buffer 3. If an error is detected, or if the comparator 16 detects a mismatch between the data read from sector buffer 1 and the data read from additional sector buffer 3, parity check circuits 12 and 14 check both sector buffer 1 and additional sector buffer 3. If no error is detected in the read data, data transfer is stopped as a circuit failure and reported to the system.
セクタバッファ2または付加セクタバッファ4から主記
憶装置にデータ転送を行う場合のパリティチエツク回路
13.15、比較器17、選択器1つの動作も、上述の
パリティチエツク回路12゜111、比較器16、選択
器18の動作と同様である。The operations of the parity check circuits 13, 15, the comparator 17, and the selector 1 when transferring data from the sector buffer 2 or the additional sector buffer 4 to the main memory are also performed by the parity check circuits 12, 111, comparator 16, The operation is similar to that of the selector 18.
上述のような制御により、セクタバッファ1゜2のデー
タに誤りが検出されても付加セクタバッファ3.4が動
作するので、装置を停止することなくデータ転送を行わ
せることができる。By controlling as described above, the additional sector buffers 3.4 operate even if an error is detected in the data in the sector buffers 1.2, so that data transfer can be performed without stopping the apparatus.
また、データの誤り検出回路としてパリティチエツク回
路12〜15および比較器16.17を具備しているの
で、ハードウェアの信頼性が向上し、かつデータに誤り
が検出された場合にはシステムに対して誤りが検出され
たことを報告することにより、回路の故障箇所を容易に
判定することができる。In addition, since it is equipped with parity check circuits 12 to 15 and comparators 16 and 17 as data error detection circuits, the reliability of the hardware is improved, and if an error is detected in the data, the system is By reporting that an error has been detected, it is possible to easily determine the location of a fault in the circuit.
ディスク装置にデータの書込みを行う場合の動作は、デ
ータ転送の方向がデータの読出し時と異なるのみで、基
本的動作はデータの読出し時と同じである。したがって
、ディスク装置にデータの書込みを行う場合の動作につ
いての説明は省略する。The operation when writing data to a disk device is basically the same as when reading data, except the direction of data transfer is different from when reading data. Therefore, a description of the operation when writing data to the disk device will be omitted.
このように、1セクタ分のデータを格納するセクタバッ
ファ1.2、および対応するセクタバッファ1.2と同
一のデータを格納する付加セクタバッファ3.4夫々に
格納されたデータのパリティチエツクをパリティチエツ
ク回路12へ−15で行い、セクタバッファ1.2のデ
ータと付加セクタバッファ3.4のデータとの比較を比
較器16゜17で行って、パリティチエツク回路12〜
15の結果と比較器16.17の結果とに応じて選択器
ts、19でセクタバッファ1,2のデータと付加セク
タバッファ3.4のデータとのうち一方を選択して主記
憶装置に転送するようにすることによって、ディスク装
置との間のデータ転送処理と主記憶装置との間のデータ
転送処理とを同時に行うので、全セクタバッファに比べ
て少量の回路量で処理時間を短縮することができる。In this way, the parity check of the data stored in the sector buffer 1.2 that stores one sector worth of data and the additional sector buffer 3.4 that stores the same data as the corresponding sector buffer 1.2 is performed. -15 to the check circuit 12, and comparators 16 and 17 compare the data in the sector buffer 1.2 and the data in the additional sector buffer 3.4.
Depending on the result of step 15 and the result of comparator 16.17, selector ts and 19 select one of the data in sector buffers 1 and 2 and the data in additional sector buffer 3.4 and transfer it to the main memory. By doing so, data transfer processing between the disk device and the main storage device is performed at the same time, so processing time can be shortened with a small amount of circuitry compared to an all-sector buffer. I can do it.
また、パリティチエツク回路12〜15と比較器16.
17とによりセクタバッファ1.2および付加セクタバ
ッファ3.4からのデータの誤りを検出しているので、
ハードウェアの信頼性が向上し、セクタバッファ1,2
のデータに誤りが検出されても引き続き付加セクタバッ
ファ3,4が動作するので、装置を停止させることなく
データ転送を行うことができ、回路の故障箇所を容易に
判定することができる。Also, parity check circuits 12 to 15 and comparators 16.
17 detects errors in the data from sector buffer 1.2 and additional sector buffer 3.4.
Improved hardware reliability, sector buffers 1 and 2
Since the additional sector buffers 3 and 4 continue to operate even if an error is detected in the data, data transfer can be performed without stopping the device, and the location of a failure in the circuit can be easily determined.
几」しと1工
以上説明したように本発明によれば、第1および第2の
セクタバッファに交互に格納され、ディスク装置から読
出されたデータと、第1および第2のセクタバッファ各
々に対応して設けられた第1および第2の付加セクタバ
ッファに格納され、これら対応セクタバッファと同一の
データとにおける障害の有無を検出し、その検出結果に
応じて第1または第2のセクタバッファに格納されたデ
ータと第1または第2の付加セクタバッファに格納され
たデータとのうち一方を選択して、この選択されたデー
タを交互に主記憶装置に転送するようにすることによっ
て、処理時間を短縮することができ、ハードウェアの信
頼性を向上させ、回路の故障箇所を容易に判定すること
ができるという効果がある。As described above, according to the present invention, data alternately stored in the first and second sector buffers and read from the disk device and data stored in the first and second sector buffers respectively. The data stored in the correspondingly provided first and second additional sector buffers detects the presence or absence of a failure in the same data as those in the corresponding sector buffers, and depending on the detection result, the data is stored in the first and second additional sector buffers. The processing is performed by selecting one of the data stored in the first or second additional sector buffer and the data stored in the first or second additional sector buffer, and alternately transferring the selected data to the main storage device. This has the effect of reducing time, improving hardware reliability, and easily determining the location of a circuit failure.
第1図は本発明の一実施例の構成を示すブロック図であ
る。
主要部分の符号の説明
1.2・・・・・・セクタバッファ
3.4・・・・・・付加セクタバッファ9・・・・・・
セクタバッファ切換え回路12〜15・・・・・・パリ
ティチエツク回路16.17・・・・・・比較器
18.19・・・・・・選択器FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. Explanation of symbols of main parts 1.2...Sector buffer 3.4...Additional sector buffer 9...
Sector buffer switching circuits 12 to 15...Parity check circuit 16.17...Comparator 18.19...Selector
Claims (1)
第2のセクタバッファに交互に格納し、前記第1および
第2のセクタバッファに格納された前記データを交互に
主記憶装置に転送するディスク制御装置であって、前記
第1および第2のセクタバッファ各々に対応して設けら
れ、これら対応セクタバッファと同一のデータを各々格
納する第1および第2の付加セクタバッファと、前記第
1および第2のセクタバッファ各々に格納されたデータ
の障害の有無を検出する第1および第2のセクタバッフ
ァ障害検出手段と、前記第1および第2の付加セクタバ
ッファ各々に格納されたデータの障害の有無を検出する
第1および第2の付加セクタバッファ障害検出手段と、
前記第1または第2のセクタバッファ障害検出手段の検
出結果と前記第1または第2の付加セクタバッファ障害
検出手段の検出結果とに応じて、前記第1または第2の
セクタバッファに格納されたデータと前記第1または第
2の付加セクタバッファに格納されたデータとのうち一
方を選択する選択手段とを有し、前記選択手段により選
択されたデータを前記主記憶装置に転送するようにした
ことを特徴とするディスク制御装置。(1) A disk that alternately stores data read from a disk device in first and second sector buffers, and alternately transfers the data stored in the first and second sector buffers to the main storage device. The control device includes first and second additional sector buffers that are provided corresponding to each of the first and second sector buffers and store the same data as the corresponding sector buffers, and first and second sector buffer failure detection means for detecting the presence or absence of a failure in the data stored in each of the second sector buffers; and first and second additional sector buffer fault detection means for detecting the presence or absence of the buffer;
stored in the first or second sector buffer according to the detection result of the first or second sector buffer fault detection means and the detection result of the first or second additional sector buffer fault detection means. and a selection means for selecting one of the data stored in the first or second additional sector buffer, and the data selected by the selection means is transferred to the main storage device. A disk control device characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16121588A JPH0212326A (en) | 1988-06-29 | 1988-06-29 | Disk controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16121588A JPH0212326A (en) | 1988-06-29 | 1988-06-29 | Disk controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0212326A true JPH0212326A (en) | 1990-01-17 |
Family
ID=15730802
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16121588A Pending JPH0212326A (en) | 1988-06-29 | 1988-06-29 | Disk controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0212326A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1294745C (en) * | 2000-01-26 | 2007-01-10 | 夏普公司 | Electronic program guide display controller |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5736355A (en) * | 1980-08-12 | 1982-02-27 | Nec Corp | Disk controlling equipment |
| JPS60247748A (en) * | 1984-05-23 | 1985-12-07 | Hitachi Ltd | Data processor with fifo queue |
-
1988
- 1988-06-29 JP JP16121588A patent/JPH0212326A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5736355A (en) * | 1980-08-12 | 1982-02-27 | Nec Corp | Disk controlling equipment |
| JPS60247748A (en) * | 1984-05-23 | 1985-12-07 | Hitachi Ltd | Data processor with fifo queue |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1294745C (en) * | 2000-01-26 | 2007-01-10 | 夏普公司 | Electronic program guide display controller |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH11111000A (en) | Failure self-diagnosing device of semiconductor memory | |
| JPH0212326A (en) | Disk controller | |
| JP2910692B2 (en) | Testing method of random access memory | |
| JPH0863406A (en) | Memory access controller | |
| JPH0553924A (en) | System for testing storage device | |
| JPH01219923A (en) | Sector buffer control system | |
| JPH02302855A (en) | Memory control system | |
| JPH079636B2 (en) | Bus diagnostic device | |
| JPH03263120A (en) | Sector buffer control system | |
| JPH0561777A (en) | Memory control circuit | |
| JPH0612270A (en) | Test circuit | |
| JPH06119200A (en) | Memory device and its test method | |
| JPH07325763A (en) | Self-restoration type memory circuit | |
| JPH0528056A (en) | Memory device | |
| JPS63163556A (en) | Memory monitoring system | |
| JPS63123140A (en) | History information storage device | |
| KR20010028615A (en) | A doubling apparatus of a exchange | |
| JPS61150041A (en) | Duplex information processing system | |
| JPH0296255A (en) | Memory control system | |
| JPS6095660A (en) | Memory device | |
| JP2001307498A (en) | Memory check device, memory check method, and storage medium | |
| JPS61134857A (en) | Multilexing memory device | |
| JPH03125246A (en) | Memory test device | |
| JPH02230349A (en) | Memory supervisory circuit | |
| JPH0673102B2 (en) | Memory monitoring device |