JPS6339188A - File input/output device - Google Patents

File input/output device

Info

Publication number
JPS6339188A
JPS6339188A JP18158986A JP18158986A JPS6339188A JP S6339188 A JPS6339188 A JP S6339188A JP 18158986 A JP18158986 A JP 18158986A JP 18158986 A JP18158986 A JP 18158986A JP S6339188 A JPS6339188 A JP S6339188A
Authority
JP
Japan
Prior art keywords
signal
write
data
error
monitor
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
JP18158986A
Other languages
Japanese (ja)
Inventor
Masamitsu Miki
三木 正光
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP18158986A priority Critical patent/JPS6339188A/en
Publication of JPS6339188A publication Critical patent/JPS6339188A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate an error detection at data write and to attain retrial in a short time by extracting a monitor signal from a write signal and using a conversion characteristic equivalent to data conversion so as to discriminate the coincidence with a modified signal converted from a write data signal, thereby outputting the error signal. CONSTITUTION:The write data signal b1 of a control section is a write signal c1 in a driving unit 3 and a monitor signal c3 extracted from a write signal as the data conversion characteristic and the conversion characteristic from the write data signal into the modified signal d2 of a control section by a modification means are made equal and a comparison means 21 compares the monitor signal c4 with the modified signal d2. Thus, if the write signal c1 is obtained through the normal conversion of the write data signal b1, the monitor signal c3 and the modified signal d1 are coincident with each other, no error signal is caused and if normal conversion is not executed de to noise, discrepancy takes place and an error signal (g) is generated.

Description

【発明の詳細な説明】 本発明はフレキシブルケイスフ装置やハードディスク装
置等のファイル入出力装置に関し、特にそのドライブユ
ニットによるデータの書込み時のエラーを検出する装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to file input/output devices such as flexible caseload devices and hard disk devices, and particularly to a device for detecting errors when data is written by a drive unit thereof.

(従来の技術) ファイル入出力装置においては、例えばCQ出版社によ
る「最新フロッピ・ディスク装置とその応用ノウハウ」
の第197頁から199頁にも記載されているように、
データの読出し時にCRCエラー等のエラーが発生した
場合は、一般に読出しを行ったセクタに対して再度読出
しを行うリトライ処理を行っている。
(Prior art) Regarding file input/output devices, for example, "Latest floppy disk devices and their application know-how" by CQ Publishing Co., Ltd.
As stated on pages 197 to 199 of
If an error such as a CRC error occurs when reading data, a retry process is generally performed in which the read sector is read again.

しかし、データー1込み時においてエラーを検出しよう
とする場合は、一度書込んだデータをホストシステム又
は制御部が読出してc t<c ;it iを行うか、
ホス1−システムのメモリ、又は制御部のバッファメモ
リ内のデータと比較してデータの書込みが正常であった
かどうかを判断する必要があり、よってかなりの時間を
要する処理となっている。
However, if you want to detect an error when writing data 1, either the host system or control unit reads the data once written and performs c t<c ;it i;
It is necessary to compare the data with the data in the memory of the host 1 system or the buffer memory of the control unit to determine whether the data writing was normal or not, which is a process that takes a considerable amount of time.

このためデータ書込み時のりトライは、シークエラーの
ように、データを書込む収面に検出されたエラーや、ベ
リファイ橢能付フォーマットライト又はベリファイ機能
付ディスクコピー等の特殊な場合にのみ行われており、
通常のデータ店込み時は行われていなかった。
For this reason, a retry when writing data is only performed in special cases such as an error detected during data writing, such as a seek error, or a format write with a verify function or a disk copy with a verify function. Ori,
This was not done during normal data store loading.

(発明が解決しようとする問題点) しかしながら以上述べたように、データ書込み時のりト
ライを行わない場合は書込みデータの信頼性が低い。
(Problems to be Solved by the Invention) However, as described above, if no retry is performed when writing data, the reliability of the written data is low.

また、書込み時のりトライを行おうとすると、エラー検
出のために、ディスクが一回転するのを持って、目的と
するヒクタが再びリード/ライトヘッドの下に来たとぎ
データの読出しを行う必要かあり、よって更に読出しの
ための回転の時間を要し、高速化に支障を来たしていた
Also, when trying to retry writing, it is necessary to wait until the disk has rotated once to detect an error, and then read the data once the target hictor is under the read/write head again. Therefore, additional rotation time is required for reading, which poses a problem in increasing speed.

本発明は、以上述べた問題点を除去し、データ書込み時
のエラー検出を容易にし、且つ、データ書込みのりトラ
イが短時間に行える装置を提供して、書込みデータの信
頼性を向上させることを目的とする。
The present invention aims to improve the reliability of written data by eliminating the above-mentioned problems, by providing a device that facilitates error detection during data writing, and which can perform data writing trials in a short time. purpose.

(問題点を解決するための手段) 本発明は前記問題点を解決するために、制υB部からの
ライトデータ信号に基づいてドライブユニットによって
データ記録媒体に情報を記録しあるいは読出すファイル
入出力装置において、前記ドライブユニットにおけるラ
イト信号からモニタ信号を前記制御部に取出すモニタ信
号取出し手段と、前記ライトデータ信号から前記モニタ
信号に至るデータ変換と同等な変換特性により前記ライ
トデータ信号を変換してモディファイ信号を出力するモ
ディファイ手段と、前記モニタ信号と七デイファイ信号
との一致を判別してエラー信号を出力する比較手段とを
設けて構成したものである。
(Means for Solving the Problems) In order to solve the above problems, the present invention provides a file input/output device that records or reads information on a data recording medium using a drive unit based on a write data signal from a control υB section. a monitor signal extraction means for extracting a monitor signal from a write signal in the drive unit to the control section; and converting the write data signal using conversion characteristics equivalent to data conversion from the write data signal to the monitor signal to convert the write data signal into a modified signal. The present invention is constructed by providing a modifying means for outputting a signal, and a comparing means for determining whether the monitor signal matches the seven-day signal and outputting an error signal.

(作 用) 本発明によれば、制御部のライトデータ信号が、ドライ
ブユニットにJ3けるライト信号となって該ライト信号
からモニタ信号が取り出される過程のデータ変換特性と
、モディファイ手段による制御部のライトデータ信号か
らモディファイ信号への変換特性とを同等にして、比較
手段が前記モニタ信号とモディファイ信号とを比較する
ようにしたので、ドライブユニットにおtプるライト信
号が、制御部のライトデータ信号から正常に変換して1
qられたものであるならば、モニタ信号とモディファイ
信号とは一致してエラー信号はなく、そしてノイズなど
で正常に変換されないときは、不一致となり、このとぎ
エラー信号が発生する。
(Function) According to the present invention, the data conversion characteristics in the process in which the write data signal of the control section becomes the write signal sent to the drive unit J3 and the monitor signal is extracted from the write signal, and the write data signal of the control section by the modifying means Since the conversion characteristics from the data signal to the modify signal are made the same and the comparing means compares the monitor signal and the modify signal, the write signal input to the drive unit is changed from the write data signal of the control section. Successfully converted 1
q, the monitor signal and the modify signal match and there is no error signal, and if the conversion is not normal due to noise or the like, they do not match and an error signal is generated.

(実施例) 第2図は本発明の第1の実施例としてのファイル入出力
装置の構成を示すブロック図である。
(Embodiment) FIG. 2 is a block diagram showing the configuration of a file input/output device as a first embodiment of the present invention.

図中、1はファイル入出力装置であり、制御部2、ドラ
イブユニット3、インタフェースケーブル4からなる。
In the figure, 1 is a file input/output device, which is composed of a control section 2, a drive unit 3, and an interface cable 4.

5はホストシステムで、ファイル入出力装置1に書込み
用データを送ってドライブユニット3によるそのデータ
の四込みあるいは読出しを命令し、且つそのデータを受
入れるなどの統括制御をし、更に本発明に係わるエラー
信号をファイル入出力装置1から受入れる。6はデータ
バス、7はコントロールバス、8は前記エラー信号を受
入れるエラー信号線、9は前記書込みの終了を伝達する
ライト終了信号線て゛ある。
5 is a host system that performs overall control such as sending write data to the file input/output device 1, instructing the drive unit 3 to write or read the data, and accepting the data; A signal is accepted from the file input/output device 1. 6 is a data bus, 7 is a control bus, 8 is an error signal line for receiving the error signal, and 9 is a write end signal line for transmitting the end of the write.

10は制御部2において、書込みエラー検出の制御をす
るエラー検出制御部、11はドライブユニット3におけ
るライト系ユニットである。
Reference numeral 10 indicates an error detection control section for controlling write error detection in the control section 2, and reference numeral 11 indicates a write system unit in the drive unit 3.

第1図は本発明の一実施例を示すファイル入出力5A置
の要部回路図で、前記エラー検出制御部101ライト系
ユニツト11等よりなる各部の接続及びその詳細を示し
たものである。
FIG. 1 is a circuit diagram of a main part of a file input/output unit 5A showing an embodiment of the present invention, and shows the connections and details of each part including the error detection control section 101, write system unit 11, etc.

同図において、ホストシステム5からデータバス6を経
て受は入れた制御部2のライトデータ信号b1は、ドラ
イバ12によって電流増幅された後、インタフェースケ
ーブル4を経てドライブユニット3のレシーバ13に入
力され、レシーバ13の出力b2はドライブユニット3
の172分周器14ににって分周されて、フロッピーデ
ィスクあるいは、ハードディスク等の記録情報として磁
性体を磁化するライト信号C1となる。そしてホストシ
ステム5からコントロールバスを経て受入れた制御部2
のライトゲート信号a1は、ドライバ15によって電流
増幅された侵、インタフェースケーブル4を経て、ドラ
イブユニット3のレシーバ16に入力されレシーバ16
の出力は、ライトゲート信号a2として172分周器1
4のクリア端子Reに接続されており、ライトゲート信
号a1が無効(以後、各実施例において論理値がローレ
ベル)の時にライト信号C1を無効にする。
In the figure, a write data signal b1 of the control unit 2 received from the host system 5 via the data bus 6 is current-amplified by the driver 12, and then input to the receiver 13 of the drive unit 3 via the interface cable 4. The output b2 of the receiver 13 is the drive unit 3
The signal is frequency-divided by the 172 frequency divider 14, and becomes a write signal C1 that magnetizes a magnetic material as recording information on a floppy disk, hard disk, or the like. The control unit 2 received from the host system 5 via the control bus.
The write gate signal a1 is current-amplified by the driver 15, passes through the interface cable 4, and is input to the receiver 16 of the drive unit 3.
The output of 172 frequency divider 1 is used as write gate signal a2.
4, and invalidates the write signal C1 when the write gate signal a1 is invalid (hereinafter, the logic value is at a low level in each embodiment).

前記ライト信号C1とライトゲート信号a2はドライブ
ユニット3のライトアンブリファイア(図示せず)に接
続されている。またライト信号C1は、ドライバ17で
電流増幅された侵、インタフェースケーブル4のライト
モニタ線C2を経て、制御部2のレシーバ18に入力さ
れ、レシーバ18の出力は、ライトモニタ信号C3とな
る。
The write signal C1 and the write gate signal a2 are connected to a write amblifier (not shown) of the drive unit 3. Further, the write signal C1 is current-amplified by the driver 17, and is input to the receiver 18 of the control unit 2 via the write monitor line C2 of the interface cable 4, and the output of the receiver 18 becomes the write monitor signal C3.

前記ドライバ17とレシーバ18はモニタ信号取出し手
段の各要素をなしている。
The driver 17 and receiver 18 constitute respective elements of a monitor signal extraction means.

一方制御部2において、ライトデータ信号b1は制御部
2内の172分周器19の入力に接続されて、172分
周器14におけると同様に分周され、比較用ライト信号
d1となる。ライトゲート信号a1は1/2分周器19
のクリア端子°Reと接続されており、ライトゲート信
号a1が無効のときに、比較用ライト信号d1を無効に
する。
On the other hand, in the control section 2, the write data signal b1 is connected to the input of the 172 frequency divider 19 in the control section 2, and is frequency-divided in the same way as in the 172 frequency divider 14, and becomes a comparison write signal d1. Write gate signal a1 is 1/2 frequency divider 19
It is connected to the clear terminal °Re of , and makes the comparison write signal d1 invalid when the write gate signal a1 is invalid.

前記ライトモニタ信号C3と比較用ライト信号d1は、
同期装置20に接続され、ライトデータ信号b1の送出
タイミングに同期したライトクロック信号eによって両
信号の同期がとられ、その各同lfl信号C4、d2が
比較手段としての比較器21に接続される。前記1/2
分周器19と同期装置20とはモディフフイ手段の各要
素をなしている。比較器21は、同期信号C4とd2と
が一致しているか否かを判別する比較信号fをラッチ回
路22に出力する。ラッチ回路22はライトゲート信号
a1によってクリヤされ、比較信号fをラッチし、前記
判別結果に基づくエラー信号qを出力して、エラー信号
線8を介してホストシステム5に伝達する。
The write monitor signal C3 and the comparison write signal d1 are
Both signals are synchronized by a write clock signal e which is connected to a synchronizer 20 and synchronized with the sending timing of the write data signal b1, and each of the same lfl signals C4 and d2 is connected to a comparator 21 as a comparison means. . Said 1/2
The frequency divider 19 and the synchronizer 20 constitute the respective elements of the modification means. The comparator 21 outputs a comparison signal f to the latch circuit 22 for determining whether or not the synchronization signals C4 and d2 match. The latch circuit 22 is cleared by the write gate signal a1, latches the comparison signal f, outputs an error signal q based on the determination result, and transmits it to the host system 5 via the error signal line 8.

つぎに、第3図に示すタイムチャートを用いて動作の説
明をする。先ずライトゲート信号a2が有効(以後、各
実施例において論理値がハイレベル)になると、続いて
制御部2からインタフェースケーブル4を介してパルス
列によってライトデータ信号b2がドライブユニット3
に受信される。
Next, the operation will be explained using the time chart shown in FIG. First, when the write gate signal a2 becomes valid (hereinafter, the logic value is high level in each embodiment), the write data signal b2 is sent from the control unit 2 to the drive unit 3 by a pulse train via the interface cable 4.
will be received.

172分周器14は、ライトデータ信号b2のパルスが
入力される毎にその出力を反転させてライト信号C1と
なし、これと同様なライトモニタ信号C3として、制御
部2に受信される。一方、制御部2の172分周器19
は同様にライトデータ信号b1のパルスが入力される毎
にその出力を反転させ、比較用ライト信号d1を得る。
The 172 frequency divider 14 inverts its output every time a pulse of the write data signal b2 is input to form a write signal C1, which is received by the control unit 2 as a similar write monitor signal C3. On the other hand, the 172 frequency divider 19 of the control section 2
Similarly, every time a pulse of the write data signal b1 is input, the output is inverted to obtain a comparison write signal d1.

ところで、制御部2がドライブユニット3から受信した
ライトモニタ信号C3には、インタフェースケーブル4
等による時間遅れが生じ、そのままでは比較用ライト信
号d1との比較ができないため、同期装置20により、
ライトクロック信号eの後縁で両信号c3.d1の同期
をとって、その各同期出力信号c4 、d2が比較器2
1により比較される。
By the way, the write monitor signal C3 received by the control section 2 from the drive unit 3 includes an interface cable 4.
etc., and the comparison with the comparison write signal d1 cannot be made as it is, so the synchronization device 20
At the trailing edge of write clock signal e, both signals c3. d1, and the respective synchronized output signals c4 and d2 are sent to the comparator 2.
Compare by 1.

ライトデータ信号b2及びライトゲート信号a2が正常
である場合は、ライトモニタ信号C3の同明出力信号C
4と、比較用ライト信号d1の同期出力信号d2とが一
致するので、比較器21の比較信号fは無効となり、よ
ってラッチ回路22によるエラー信号qも無効のままで
ある。
When the write data signal b2 and the write gate signal a2 are normal, the Domei output signal C of the write monitor signal C3
4 and the synchronous output signal d2 of the comparison write signal d1, the comparison signal f of the comparator 21 becomes invalid, and therefore the error signal q from the latch circuit 22 also remains invalid.

つぎに、インタフェースケーブル4等に誘導された外来
ノイズ等によって、例えば第3図の時点t1においてラ
イトデータ信号b2に破線で示すように異常が発生した
とすると、ライトデータ信号b2のパルス列において、
エラービットが現われるために、ライトモニタ信号C3
がつぎのライトクロック信号eの後縁で反転する。
Next, if an abnormality occurs in the write data signal b2 as shown by the broken line at time t1 in FIG. 3 due to external noise or the like induced in the interface cable 4, etc., then in the pulse train of the write data signal b2,
In order for the error bit to appear, the write monitor signal C3
is inverted at the trailing edge of the next write clock signal e.

一方、比較用ライト信号d1は、制御部2の内部にある
ため、外来ノイズの影響を受けにくく、よって反転しな
い。このため、ライトモニタ信号C3の同期出力信号C
4と比較用ライト信号d1の同期出力信号d2は、比較
器21により、不一致と判定されてその比較信号fは有
効となる。ここで、外来ノイズによるエラービットの発
生が、1パルスだけであることは、稀であり、ライトモ
ニタ信号C3に偶数のエラービットが発生り゛ると、再
度反転して元にもどり比較信号fは、無効どなるが比較
器信号fが一旦有効になったときは、これをラッチ回路
22にラッチし、エラー信号qとしてホストシステム5
へ出力する。
On the other hand, since the comparison write signal d1 is inside the control unit 2, it is not easily affected by external noise and is therefore not inverted. Therefore, the synchronous output signal C of the write monitor signal C3
4 and the synchronous output signal d2 of the comparison write signal d1 are determined by the comparator 21 to be inconsistent, and the comparison signal f becomes valid. Here, it is rare that the error bit generated by external noise is only one pulse, and when an even number of error bits occurs in the write monitor signal C3, it is inverted again and returns to the original state, and the comparison signal f is invalid, but once the comparator signal f becomes valid, it is latched into the latch circuit 22 and sent to the host system 5 as an error signal q.
Output to.

また、前述と同様の原因により、第3図の時点t2にお
いて、ライトゲート信号a2に破線で示ずように異常が
発生した場合は、ライトゲート信号a2が一時無効にな
るため、172分周器14はリセットされる。このため
、ライトモニタ信号C3がハイレベルのときには、これ
がローレベルとなる。しかし、制御部2のライトゲート
信号a1は、制御部2の内部にあるので外来ノイズの影
響を受けにくく比較用ライト信号d1はリセットされな
い。その結果、ライトモニタ信号c3の同期出力信号C
4と比較用ライト信号d1の同期出力信号d2は、比較
器21により、つぎのライトクロック信号eの後縁にお
いて不一致と判定され、比較出力信号fは有効となり、
これをラッチしたエラー信号qも有効となる。
Furthermore, if an abnormality occurs in the write gate signal a2 at time t2 in FIG. 3 as shown by the broken line due to the same cause as described above, the write gate signal a2 will be temporarily invalidated, so the 172 frequency divider 14 is reset. Therefore, when the write monitor signal C3 is at a high level, it becomes a low level. However, since the write gate signal a1 of the control unit 2 is inside the control unit 2, it is not easily affected by external noise and the comparison write signal d1 is not reset. As a result, the synchronized output signal C of the write monitor signal c3
4 and the synchronous output signal d2 of the comparison write signal d1 are determined by the comparator 21 to be inconsistent at the trailing edge of the next write clock signal e, and the comparison output signal f becomes valid.
The error signal q obtained by latching this signal also becomes valid.

なお、前記時点t2においてライトモニタ信号C3がロ
ーレベルのときは、172分周器14はリセットされて
いるので、これはローレベルのままであり、よってエラ
ー信号0は無効のままである。
Note that when the write monitor signal C3 is at the low level at the time t2, the 172 frequency divider 14 has been reset, so it remains at the low level, and therefore the error signal 0 remains invalid.

しかし、この場合、外来ノイズによるライトゲ−ト信号
a2の無効状態が1回だけであることは希であるので、
多くの場合、ライトモニタ信号C3が引続きハイレベル
となったときに、1)を記と同様にライトゲート信号a
2が一時無効となって、エラー信号qが有効となる。
However, in this case, it is rare that the write gate signal a2 is invalidated only once due to external noise.
In many cases, when the write monitor signal C3 continues to be at a high level, the write gate signal a is
2 is temporarily disabled, and the error signal q is enabled.

つぎに、以上のように得られたエラー情報のホストシス
テム5による処理制御を、第4図に示すフローチャート
に従って説明する。
Next, the processing control by the host system 5 of the error information obtained as described above will be explained according to the flowchart shown in FIG.

第2図に示すホストシステム5のメモリ23にはライト
データ信号等が書込まれている。まずポストシステム5
のリトライカウンタ24に、所定のりトライ回数Rをセ
ットしくステップ$1)、制御部2のデータカウンタ2
5に、占込みするデータの総個数Nをセットし、且つ制
御部2のアドレスポインタ26にメモリ23の開始番地
A e tツトする(ステップ82)。そしてコントロ
ールバス7を介して制御部2にデータライト動作の起動
をかける(ステップ83)。この後に、アータライト終
了割込みのための割込みマスクを開き、割込み可能状態
(図中*印は、以後の各フローチャートにおいて、割込
み可能を示す)にして、エラー信号Qを探索する(ステ
ップ34 、 S5 )。
Write data signals and the like are written in the memory 23 of the host system 5 shown in FIG. First, post system 5
Step $1) Set a predetermined number of retry attempts R in the retry counter 24 of the controller 2.
5, the total number N of data to be occupied is set, and the start address A of the memory 23 is set in the address pointer 26 of the control unit 2 (step 82). Then, the controller 2 is activated to start the data write operation via the control bus 7 (step 83). After this, the interrupt mask for the arterite end interrupt is opened, the interrupt is enabled (the asterisk in the figure indicates that interrupts are enabled in each subsequent flowchart), and the error signal Q is searched for (steps 34 and S5). ).

制御部2は、アドレスポインタ26の示す、メモリ番地
すなわちA番地の内容を読み出し、ドライブユニット3
に書込/Vでデータカウンタ25の値Nを−1、アドレ
スポインタ26の値Aをトコし、データカウンタ25の
値NがOになるまで、メモリ23の内容の読出しと、ド
ライブユニット3への書込みを繰り返す。
The control unit 2 reads the contents of the memory address, that is, address A, indicated by the address pointer 26, and
Write /V to -1 the value N of the data counter 25 and the value A of the address pointer 26, and read the contents of the memory 23 and write to the drive unit 3 until the value N of the data counter 25 becomes O. Repeat writing.

データカウンタ25の値NがOになった場合は、ライト
終了信号線9を介してデータライト終了信号がホストシ
ステム5に送出されて、ホストシステム5は、この送出
があったことによって、データライ1−動作の正常終了
としての割込み処理を行い(ステップS6)、データ書
込みとエラーの探索を終了する。
When the value N of the data counter 25 becomes O, a data write end signal is sent to the host system 5 via the write end signal line 9, and the host system 5 receives the data write end signal via the write end signal line 9. 1- Interrupt processing is performed as a normal end of operation (step S6), and data writing and error search are completed.

データライト中にライトエラーが発生した場合は、エラ
ー信号9がイ1効になるので、エラーが検出される(ス
テップ85)。
If a write error occurs during data writing, the error signal 9 becomes valid, so the error is detected (step 85).

エラーが検出されると、リトライ回数をチエツクし、リ
トライカウンタ24の値RがOでない場合は、その値R
を−1にしてステップ2に戻る(ステップ38)。リト
ライカウンタ24の値RがOとなった場合は、データラ
イトエラーの表示を行って(ステップS9〉、オペレー
タに知らせて終了する。
When an error is detected, the number of retries is checked, and if the value R of the retry counter 24 is not O, the value R is
is set to -1 and returns to step 2 (step 38). When the value R of the retry counter 24 becomes O, a data write error is displayed (step S9), and the operator is notified and the process ends.

第5図は、第4図においてデータライト終了信号をもっ
て割込み処理したのに対して、エラー信号qをホストシ
ステム5への割込み信号とした場合のフローチャートで
ある。
FIG. 5 is a flowchart in the case where the error signal q is used as the interrupt signal to the host system 5, whereas the interrupt processing is performed using the data write end signal in FIG.

ステップ81.82.33までは第4図のフローチャー
トと同様であるが、この後、割込みマスクを聞いて割込
み可能状態とし、他の処理ブ1コグラムに実行を移V(
ステップ510)。ステップS6によるデータライト終
了割込みは第4図と同様である。データライト中、ライ
トエラーが発生し、エラー信号qが有効になるとライト
エラー割込みが発生し、リトライ回数をチエツクしくス
テップ511)、リトライカウンタ24の値RがOでな
い場合は、その値Rを−1して(ステップ512)、ス
テップS2に戻る。リトライカウンタ24の値R/fi
Oとなった場合は、データライトエラーの表示を行って
(ステップ513)、オペレータに知らせ、終了する。
Steps 81, 82, and 33 are the same as the flowchart in Figure 4, but after this, the interrupt mask is heard, the interrupt is enabled, and execution is moved to another processing block.V(
Step 510). The data write end interrupt at step S6 is the same as that shown in FIG. During data writing, when a write error occurs and the error signal q becomes valid, a write error interrupt is generated and the number of retries is checked (step 511). If the value R of the retry counter 24 is not O, the value R is set to - 1 (step 512), and the process returns to step S2. Value R/fi of retry counter 24
If the result is O, a data write error is displayed (step 513), the operator is notified, and the process ends.

第5図の制御においては、データライト中に、ホストシ
ステム5は他の処理プログラムを実行することができる
のでホストシステム5の処理効率がよい。
In the control shown in FIG. 5, since the host system 5 can execute other processing programs during data writing, the processing efficiency of the host system 5 is good.

第6図は本発明の第2の実施例としてのファイル入出力
装置の構成を示すブロック図であり、第2図と同等な部
分は同一符号を用い、異る部分を主体に説明する。同図
において、ライト制御部10、ライト系ユニット11は
第1図に示J゛ものと同様であるが、第1図におけるエ
ラー信@qは、ファイル入出力装置1Aの制御部2Aに
おいでデータの入出力を制御するプロセッサ27に接続
される。また制御部2Aは、プロセッサ27によってυ
制御可能なデータカウンタ25.25Aとアドレスポイ
ンタ26.26Aとリトライカウンタ24Aと、データ
バッフ7レジスタ28とステータスレジスタ29を備え
ている。
FIG. 6 is a block diagram showing the configuration of a file input/output device as a second embodiment of the present invention. Parts equivalent to those in FIG. 2 are denoted by the same reference numerals, and different parts will be mainly explained. In the same figure, a write control unit 10 and a write system unit 11 are the same as those shown in FIG. 1, but the error signal @q in FIG. It is connected to a processor 27 that controls the input/output of the. Further, the control unit 2A uses the processor 27 to
It includes a controllable data counter 25.25A, an address pointer 26.26A, a retry counter 24A, a data buffer 7 register 28, and a status register 29.

つぎに第6図の装置による処理制御を第7図と第8図に
示すフO−ヂャートに従って説明する。
Next, processing control by the apparatus shown in FIG. 6 will be explained with reference to the diagrams shown in FIGS. 7 and 8.

第7図は、ホストシステム5側のフローチャートであり
、まず、制御部2Aのリトライカウンタ24Aにリトラ
イ回数Rをセットする(ステップ514)。そして制御
部2Aのデータカウンタ25に占込みするデータの総個
数N1アドレスポインタ25にホストシステム5のメモ
リ23の開始番地へをセットしくステップ515)、コ
ントロールバス7によって制御部2Aにデータライト動
作の起i1Jヲ/)’ケル(ス・jツ7’516) 、
この後、1lil+御部2Δからのデータライト動作終
了割込みのための割込みマスクを開き、割込み可能状態
にして、他の処理プログラムに実行を移す(ステップ5
17)。
FIG. 7 is a flowchart on the host system 5 side. First, the number of retries R is set in the retry counter 24A of the control unit 2A (step 514). Then, the total number of data N1 to be filled in the data counter 25 of the control unit 2A is set to the start address of the memory 23 of the host system 5 in the address pointer 25 (step 515), and the control bus 7 is used to write the data to the control unit 2A. Kii1Jwo/)'Keru (S・jツ7'516),
After this, open the interrupt mask for the data write operation end interrupt from 1lil+control unit 2Δ, enable interrupts, and move execution to other processing programs (step 5
17).

第8図は、制御部2Aのフローチャートで、データカウ
ンタ25の値Nをもう1つのデータカウンタ25−へ書
き込み、(これをN−とする)アドレスポインタ26の
値Aをもう1つのアドレスポインタ26′へ書き込んで
(これを八−とする)データライトの処理に入る(ステ
ップ518)。ステータスレジスタ29に、「正常終了
した」という意味のスティタスコード″“0”を書きこ
み(ステップ519)、アドレスポインタ26の示すA
?1地−カデータをホストシステム5のメモリ23より
υl1ll12Aのデータバッファレジスタ28へ読み
出しくステップ520)、データバッファレジスタ28
のデータをドライブユニット3に書き込み(ステップ5
11)、エラー信号qを探索する(ステップ522)。
FIG. 8 is a flowchart of the control unit 2A, in which the value N of the data counter 25 is written to another data counter 25- (this is referred to as N-), and the value A of the address pointer 26 is written to the other data counter 25-. ' (this is set as 8-) and data write processing begins (step 518). Write the status code "0" meaning "normal completion" to the status register 29 (step 519), and write the A status indicated by the address pointer 26.
? Step 520) of reading out the data from the memory 23 of the host system 5 to the data buffer register 28 of υl1ll12A, the data buffer register 28
Write the data to drive unit 3 (step 5)
11), search for error signal q (step 522).

エラーがな番プれば、データカウンタ25の値Nを−1
、アドレスポインタ26の値Aを+1しくステップ82
3)、データカウンタ25のft1Nが“O″なるまで
ステップ820〜823を繰り返す(ステップ524)
。エラー無くデータカウンタ25の値NがONになると
、データライト動作が終了し、データライト終了割込み
をホストシステム5に出力する。
If there is an error, the value N of the data counter 25 is -1.
, increase the value A of the address pointer 26 by +1 in step 82
3) Repeat steps 820 to 823 until ft1N of the data counter 25 becomes "O" (step 524)
. When the value N of the data counter 25 turns ON without any error, the data write operation is completed and a data write end interrupt is output to the host system 5.

ステップ822において、エラーがあった場合は、リト
ライカウンタ24Aの1ilIRをチエツクしくステッ
プ525)、その値Rが“0′°でなければ、1−タカ
ウンタ25の値Nとアドレスポインタ26の値へを、ホ
ストシステム5が、起動時にセットした値すなわちデー
タカウンタ25−の値N′およびアドレスポインタ26
′の値A′にセットしくステップ826)、リトライカ
ウンタ24Δの値Rを−1しくテスップ322)、ステ
ィタスレジスタ29に、「リトライを行った結果ライト
が正常終了した」という意味のスティタスコード1″を
セットして(ステップ828)、エラーが検出されある
いはリトライカウンタ24Aの値Rが“0″になるまで
、ステップ820以後が繰り返し実行される。
In step 822, if there is an error, check 1ilIR of the retry counter 24A (step 525), and if the value R is not "0'°, set the value N of the 1-counter 25 and the value of the address pointer 26. , the value set by the host system 5 at startup, that is, the value N' of the data counter 25- and the address pointer 26.
' is set to the value A' (Step 826), the value R of the retry counter 24Δ is -1 (Step 322), and the status code 1'' is written to the status register 29, which means ``The write ended normally as a result of retry.'' is set (step 828), and steps 820 and subsequent steps are repeatedly executed until an error is detected or the value R of the retry counter 24A becomes "0".

リトライカウンタ24Δの値Rが0になった場合はステ
ィタスレジスタ29に「リトライを設定された回数行っ
たがライトできなかった」という意味をスティタス」−
ド例えば’ 99 ”をセットしくステップ529)、
データライト終了割込みをホスl−システム5に出力し
て終了する。
When the value R of the retry counter 24Δ becomes 0, the status register 29 indicates "status" meaning that "the retry was performed the set number of times, but the write was not possible."
For example, set the code to '99' (step 529),
A data write end interrupt is output to the host system 5 and the process ends.

再度、第7図のフローチャートに戻り、ホストシステム
5では、第8図の処理におけるデータライト終了割込み
により、現在行っていたステップS17の処理を中断し
、ステータスレジスタ29の内容を読み出しくステップ
530)、ステータスレジスタ29の内容が、II O
IIであった場合は、「正常終了」、111 ITであ
った場合は「リトライを行って正常終了」、“’ 99
 ”であった場合は、「データライト不可」をオペレー
タに対して表示などして、データライト動作を終了する
(ステップ531)。
Returning again to the flowchart of FIG. 7, in response to the data write end interrupt in the process of FIG. 8, the host system 5 interrupts the process of step S17 that is currently being performed, and reads the contents of the status register 29 (step 530). , the contents of the status register 29 are II O
If it is II, "Complete normally", if it is 111 IT, "Retry and complete normally", "' 99
”, a message “data write not possible” is displayed to the operator, and the data write operation is terminated (step 531).

(発明の効宋) 以」−説明したように、本発明によれば、データ書込み
中に、書き込みエラーが検出できるので、記録したデー
タを再読み出しづることなしにリトライ等のエラー処理
を容易に行うことができ、J3込みデータの信頼性が向
−ヒする。
(Effect of the invention) - As explained, according to the present invention, a write error can be detected during data writing, so error handling such as retrying can be easily performed without re-reading the recorded data. This improves the reliability of J3-containing data.

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

第1図は本発明の実流例を示すファイル入出力装置の要
部回路図、第2図は本発明の第1の実施例として第1図
の回路を含みファイル入出力装置の構成を示すブロック
図、第3図は第1図の各部のタイミングチャート、第4
図、第5図は第2図の構成による各動作例を示すフロー
チャート、第6図は本発明の第2の実施例として第1の
回路を含みファイル入出力装置の構成を示づブロック図
、第7図は第6図の構成によるホストシステムを中心と
した動作の70−チャート、第8図は第6図の構成によ
る制御部を中心とした動作のフローチャートである。 2.2A・・・制御部 3・・・ドライブユニット
Fig. 1 is a circuit diagram of a main part of a file input/output device showing an actual example of the present invention, and Fig. 2 shows the configuration of a file input/output device including the circuit of Fig. 1 as a first embodiment of the present invention. The block diagram, Figure 3 is a timing chart of each part in Figure 1, and Figure 4 is a timing chart of each part in Figure 1.
5 is a flowchart showing each operation example according to the configuration of FIG. 2, and FIG. 6 is a block diagram showing the configuration of a file input/output device including a first circuit as a second embodiment of the present invention. FIG. 7 is a 70-chart of the operation centered on the host system with the configuration of FIG. 6, and FIG. 8 is a flowchart of the operation centered on the control section with the configuration of FIG. 6. 2.2A...Control unit 3...Drive unit

Claims (1)

【特許請求の範囲】 制御部からのライトデータ信号に基づいてドライブユニ
ットによってデータ記録媒体に情報を記録しあるいは読
出すファイル入出力装置において、前記ドライブユニッ
トにおけるライト信号からモニタ信号を前記制御部に取
出すモニタ信号取出し手段と、 前記ライトデータ信号から前記モニタ信号に至るデータ
変換と同等な変換特性により前記ライトデータ信号を変
換してモディファイ信号を出力するモディファイ手段と
、 前記モニタ信号とモディファイ信号との一致を判別して
エラー信号を出力する比較手段とを設けてなる ファイル入出力装置。
[Scope of Claims] In a file input/output device in which information is recorded on or read from a data recording medium by a drive unit based on a write data signal from a control unit, a monitor that extracts a monitor signal from a write signal in the drive unit to the control unit. a signal extraction means; a modifying means for converting the write data signal with conversion characteristics equivalent to the data conversion from the write data signal to the monitor signal and outputting a modify signal; A file input/output device comprising comparison means for determining and outputting an error signal.
JP18158986A 1986-08-01 1986-08-01 File input/output device Pending JPS6339188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18158986A JPS6339188A (en) 1986-08-01 1986-08-01 File input/output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18158986A JPS6339188A (en) 1986-08-01 1986-08-01 File input/output device

Publications (1)

Publication Number Publication Date
JPS6339188A true JPS6339188A (en) 1988-02-19

Family

ID=16103450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18158986A Pending JPS6339188A (en) 1986-08-01 1986-08-01 File input/output device

Country Status (1)

Country Link
JP (1) JPS6339188A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6434268B1 (en) 1998-04-20 2002-08-13 Mitsubishi Denki Kabushiki Kaisha Color conversion device and color conversion method
US6717585B2 (en) 2001-01-17 2004-04-06 Mitsubishi Denki Kabushiki Kaisha Color conversion characteristic determining method, image display device, and recording medium
US6766049B2 (en) 1993-08-27 2004-07-20 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method
US6901162B2 (en) 1999-12-09 2005-05-31 Mitsubishi Denki Kabushiki Kaisha Image display device
US6906834B1 (en) 1999-10-14 2005-06-14 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method of manufacturing the same
US6930809B1 (en) 1999-10-14 2005-08-16 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method of manufacturing the same
US6980325B1 (en) 1999-01-27 2005-12-27 Mitsubishi Denki Kabushiki Kaisha Automated color property adaptation in computer output devices
US7075554B2 (en) 1999-12-09 2006-07-11 Mitsubishi Denki Kabushiki Kaisha Image display device
US7119927B2 (en) 1999-10-14 2006-10-10 Mitsubishi Kabushiki Kaisha Color conversion device and color conversion method
US7136190B2 (en) 2001-04-13 2006-11-14 Mitsubishi Denki Kabushiki Kaisha Color conversion apparatus and color conversion method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766049B2 (en) 1993-08-27 2004-07-20 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method
USRE41199E1 (en) 1994-08-18 2010-04-06 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method
US7146044B2 (en) 1994-08-18 2006-12-05 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method
US6434268B1 (en) 1998-04-20 2002-08-13 Mitsubishi Denki Kabushiki Kaisha Color conversion device and color conversion method
US6904167B2 (en) 1998-07-10 2005-06-07 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method
US6980325B1 (en) 1999-01-27 2005-12-27 Mitsubishi Denki Kabushiki Kaisha Automated color property adaptation in computer output devices
US7119927B2 (en) 1999-10-14 2006-10-10 Mitsubishi Kabushiki Kaisha Color conversion device and color conversion method
US6906834B1 (en) 1999-10-14 2005-06-14 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method of manufacturing the same
US6930809B1 (en) 1999-10-14 2005-08-16 Mitsubishi Denki Kabushiki Kaisha Color conversion device and method of manufacturing the same
US6901162B2 (en) 1999-12-09 2005-05-31 Mitsubishi Denki Kabushiki Kaisha Image display device
US7075554B2 (en) 1999-12-09 2006-07-11 Mitsubishi Denki Kabushiki Kaisha Image display device
US7158667B2 (en) 1999-12-09 2007-01-02 Mitsubishi Denki Kabushiki Kaisha Image display device
US6933950B2 (en) 2001-01-17 2005-08-23 Mitsubishi Denki Kabushiki Kaisha Color conversion characteristic determining method, image display device, and recording medium
US6717585B2 (en) 2001-01-17 2004-04-06 Mitsubishi Denki Kabushiki Kaisha Color conversion characteristic determining method, image display device, and recording medium
US7136190B2 (en) 2001-04-13 2006-11-14 Mitsubishi Denki Kabushiki Kaisha Color conversion apparatus and color conversion method

Similar Documents

Publication Publication Date Title
EP0189638B1 (en) Bus width adapter
US3984814A (en) Retry method and apparatus for use in a magnetic recording and reproducing system
US4276595A (en) Microinstruction storage units employing partial address generators
JPS6339188A (en) File input/output device
US4348721A (en) System for selectively addressing nested link return addresses in a microcontroller
US4630269A (en) Methods for diagnosing malfunctions in a disk drive
US4054947A (en) Computer to tape deck interface
US5333301A (en) Data transfer bus system and method serving multiple parallel asynchronous units
US4339795A (en) Microcontroller for controlling byte transfers between two external interfaces
US5896540A (en) Method and apparatus for controlling data transfer between a host and a peripheral in a pre-reading mode, post-reading mode and both-reading mode
US4339797A (en) Microcontroller with auxiliary register for duplicating storage of data in one memory location
NL7905916A (en) SYSTEM FOR DATA PROCESSING.
US20090077314A1 (en) Method for optimized data record verification
JPS5963015A (en) Rotable body magnetic memory device
JPH0440794B2 (en)
JPH0154733B2 (en)
JPS62168241A (en) Microprogram controller
JPH036614A (en) Magnetic disk controller
JPH04254969A (en) Recording data protection means for draw type recording system
SU1660050A1 (en) Device for checking data stored on a magnetic medium
JPH0431129B2 (en)
JPS592103B2 (en) automatic correction device
JPH0474254A (en) Microprocessor diagnostic system
JPS5916067A (en) Data checking system
JPH09106340A (en) Fifo memory controller