JPS6117059B2 - - Google Patents

Info

Publication number
JPS6117059B2
JPS6117059B2 JP13609578A JP13609578A JPS6117059B2 JP S6117059 B2 JPS6117059 B2 JP S6117059B2 JP 13609578 A JP13609578 A JP 13609578A JP 13609578 A JP13609578 A JP 13609578A JP S6117059 B2 JPS6117059 B2 JP S6117059B2
Authority
JP
Japan
Prior art keywords
data
write
writing
data unit
magnetic tape
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.)
Expired
Application number
JP13609578A
Other languages
Japanese (ja)
Other versions
JPS5562518A (en
Inventor
Shuhei Inamori
Masatomo Takahashi
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 JP13609578A priority Critical patent/JPS5562518A/en
Publication of JPS5562518A publication Critical patent/JPS5562518A/en
Publication of JPS6117059B2 publication Critical patent/JPS6117059B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は磁気テープ等の記録媒体に起る書き込
み誤りの処理方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for handling write errors that occur on a recording medium such as a magnetic tape.

従来、磁気テープ等の記録媒体にデータを書き
込む場合、不良媒体等の原因により書き込み誤り
を発生する場合がある。この場合には同一データ
を位置をずらして数回〜十数回再書き込みを試
み、それでも書き込み不可能な場合にはキヤンセ
ル符号を書き込む。このキヤンセル符号も書き込
み不可の場合には磁気テープは交換される。いず
れにしてもこの磁気テープは終了しないから最初
の正しいデータも生かされず、始めから再度デー
タを入力しなければならない。通常1フアイルの
データは複数の磁気テープ毎のボリユームに区分
されるが、このボリユームに書き込み誤りが発生
した場合にこのように正常なデータを含めてボリ
ユーム毎に破棄されることは不経済である。
Conventionally, when writing data to a recording medium such as a magnetic tape, a writing error may occur due to a defective medium or the like. In this case, the same data is tried to be rewritten several times to more than ten times by shifting its position, and if writing is still not possible, a cancel code is written. If this cancel code also cannot be written, the magnetic tape is replaced. In any case, the magnetic tape never ends, so the correct data at the beginning is not used, and the data must be input again from the beginning. Normally, data in one file is divided into volumes for each of multiple magnetic tapes, but if a writing error occurs in this volume, it is uneconomical to discard each volume including normal data. .

本発明の目的はボリユーム処理される記録媒体
の書き込み誤りの効率的な処理方式を提供するこ
とである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an efficient method for handling write errors on a volume-processed recording medium.

前記目的を達成するため、本発明の媒体書き込
み誤り処理方式は記録媒体上のデータに書き込み
誤りが発生した場合には、所定回数の再書き込み
を試み、それでも正常な書き込みが得られない場
合には、最終の正常なデータ単位まで戻り、該デ
ータ単位の内容をバツフアメモリに転送し、その
空いた場所に書き込みデータ単位の終了符号を書
き込んだ後、別の記録媒体に移り最初に前記バツ
フアメモリに格納したデータ単位を書き込み、引
き続き後続するデータ単位を順次書き込むように
したことを特徴とするものである。
In order to achieve the above object, the medium write error processing method of the present invention attempts rewriting a predetermined number of times when a write error occurs in data on a recording medium, and if normal writing is still not obtained, , returns to the last normal data unit, transfers the contents of the data unit to the buffer memory, writes the end code of the write data unit in the vacant space, and then moves to another recording medium and stores it in the buffer memory first. It is characterized in that a data unit is written, and subsequent data units are sequentially written.

以下本発明の原理と実施例につき詳述する。 The principle and embodiments of the present invention will be explained in detail below.

第1図は本発明の原理説明図である。同図aに
示すように、ボリユーム#1として磁気テープ1
に所定のデータ単位でデータ(1)2,(2)2
(3)2を書き込みヘツドで書き込み、読み取りヘ
ツドで読み取りチエツクを行なうことにより、媒
体不良等によりたとえば、データ(3)に書き込み誤
りが起きた場合、前述のように位置をずらして再
書き込みを行ない数回〜十数回繰り返すことがで
きる。しかしこれでも書き込み不可能な場合に
は、本発明では正常なデータ(2)2にパツクスキ
ツプして戻り、データ(2)2を退去パツフアメモ
リに転送して格納しておき、この空いた場所に、
同図bに示すように、このボリユーム#1が終結
したことを示す所定の形式でテープマーク
(TM)3とボリユーム終了符号(EOV)4を書
き込む。次に、ボリユーム#2として同図cに示
すように、磁気テープ1の最初に前記退去バツ
フアメモリに格納されているデータ(2)2の内容
を書き込み、これに引き続きデータ(3)2,デー
タ(4)2,……を順次書き込んでいき、最後にテ
ープマーク(TM)3とフアイル終了符号
(EOF)5を書き込む。書き込み誤りが発生した
場合は前述と同様に処理する。
FIG. 1 is a diagram explaining the principle of the present invention. As shown in figure a, magnetic tape 1 is used as volume #1.
1 in a predetermined data unit (1)2 1 , (2)2 2 ,
(3) By writing 2 3 with the write head and reading and checking with the read head, if a write error occurs in data (3) due to a media defect, for example, the position can be shifted and rewritten as described above. You can repeat this several times to more than ten times. However, if writing is still not possible, the present invention skips back to the normal data (2) 2 , transfers the data (2) 2 2 to the evacuation buffer memory and stores it, and then stores it in the empty space. To,
As shown in FIG. 5B, a tape mark (TM) 3 and an end-of-volume code (EOV) 4 are written in a predetermined format indicating that this volume #1 has ended. Next , as volume # 2 , as shown in FIG . , data (4) 2 4 , . . . are sequentially written, and finally a tape mark (TM) 3 and an end of file code (EOF) 5 are written. If a write error occurs, the same process as described above is performed.

このように、従来書き込み誤りが発生した場
合、そのボリユームの磁気テープは使用できずそ
れに書き込まれている正常なデータとともに破棄
されていたが、本発明ではこれを救済することが
でき、効率的な書き込み誤り処理方式が実現でき
る。
In this way, in the past, when a write error occurred, the magnetic tape of that volume could not be used and was discarded together with the normal data written on it, but with the present invention, this can be rescued and an efficient A write error handling method can be realized.

第2図は上述の原理に基く本発明の実施例の構
成を示す説明図である。
FIG. 2 is an explanatory diagram showing the configuration of an embodiment of the present invention based on the above-mentioned principle.

同図において、情報源から回線制御部10を通
して入力したデータは、データ制御部11で制御
され、受信レジスタ12に一旦格納される。そし
て、書き込みデータは制御信号発生回路15を介
して書き込みレジスタ13に送られるとともに、
書き込み信号を発生して書き込み制御回路17に
送られる。ここで、書き込み信号に応じ書き込み
レジスタ13からの書き込みデータが磁気テープ
装置18の書き込みヘツドに与えられ、磁気テー
プが駆動信号で駆動されれて書き込みが行なわれ
る。次に磁気テープに書き込まれたデータを読み
出しヘツドで読み出し、読み出し制御回路19を
介して比較回路20に入れ、書き込みレジスタ1
3の該当する書き込みデータと比較し、一致しな
ければ誤り信号をデータ制御部11に送る。この
制御により、受信レジスタ12に格納されたデー
タに対して再書き込みの制御を行ない、前述と同
じ手順に従つて位置をずらして書き込みを行な
う。この再書き込みは所定回数繰り返すことがで
きる。また退去レジスタ14にはあらかじめ書き
込みレジスタ13の一つ前の正常なデータ内容が
格納されており、前述の所定回数の再書き込みが
不成立に終つた場合には、比較回路20からの誤
り信号を受けデータ制御部11の制御により、退
去レジスタ14の内容すなわち最終の正常なデー
タをデータ制御部11を通し、書き込み読み出し
制御回路21を経てメモリ22の退去バツフア部
に格納させる。そしてメモリ22内に記憶されて
いるボリユーム終了符号(EOV)を読み出し、
データ制御部11を通し受信レジスタ12に記憶
させ、制御信号発生回路15よりバツクスキツプ
信号を書き込み制御回路17に送り、磁気テープ
装置18の書き込みヘツドを最終の正常データブ
ロツクの初頭に戻し、次に制御信号発生回路15
を介し書き込むべきボリユーム終了符号
(EOV)を書き込みレジスタ13に、書き込み信
号は制御信号発生回路15より書き込み制御回路
17に送られ、書き込みレジスタ13からの符号
EOVを、その前後に設けるテープマーク発生回
路16からのテープマークとともに、書き込み制
御回路17を介して磁気テープ装置18の書き込
みヘツドに与え、磁気テープの最終正常データを
記憶していた場所に格納される。これで磁気テー
プボリユーム#1は終了する。
In the figure, data input from an information source through a line control section 10 is controlled by a data control section 11 and temporarily stored in a reception register 12. Then, the write data is sent to the write register 13 via the control signal generation circuit 15, and
A write signal is generated and sent to the write control circuit 17. Here, write data from the write register 13 is applied to the write head of the magnetic tape device 18 in response to the write signal, and the magnetic tape is driven by the drive signal to perform writing. Next, the data written on the magnetic tape is read out by the read head, inputted to the comparator circuit 20 via the read control circuit 19, and written into the write register 1.
3, and if they do not match, an error signal is sent to the data control unit 11. Through this control, rewriting control is performed on the data stored in the reception register 12, and the writing is performed by shifting the position according to the same procedure as described above. This rewriting can be repeated a predetermined number of times. In addition, the previous normal data content of the write register 13 is stored in advance in the withdrawal register 14, and if the aforementioned predetermined number of rewrites ends in failure, an error signal from the comparator circuit 20 is received. Under the control of the data control section 11, the contents of the withdrawal register 14, that is, the final normal data, are passed through the data control section 11, passed through the write/read control circuit 21, and stored in the withdrawal buffer section of the memory 22. Then, the end of volume code (EOV) stored in the memory 22 is read out,
The data is stored in the reception register 12 through the data control unit 11, and the control signal generation circuit 15 sends a backskip signal to the write control circuit 17 to return the write head of the magnetic tape device 18 to the beginning of the last normal data block. Signal generation circuit 15
The end of volume code (EOV) to be written is sent to the write register 13 via the control signal generation circuit 15, and the write signal is sent to the write control circuit 17,
The EOV is applied to the write head of the magnetic tape device 18 via the write control circuit 17 along with tape marks from the tape mark generation circuit 16 provided before and after the EOV, and is stored in the location where the last normal data of the magnetic tape was stored. Ru. This completes magnetic tape volume #1.

次に、磁気テープボリユーム#2に対し、まず
通常のデータの書き込みと同様にヘツダーマーク
を記録し、次にメモリ22内の退去バツフアの内
容が書き込み読み出し制御回路21で読み出さ
れ、データ制御部11を介して受信レジスタ12
に格納される。以下前述の手順に従い、磁気テー
プ装置18の書き込みヘツドにより磁気テープに
書き込みが行なわれる。以下CPU10より後続
するデータに対し順次同様の手順で書き込みが行
なわれ、もし書き込み誤りが起ると前述の方法で
処理される。
Next, a header mark is first recorded in the magnetic tape volume #2 in the same manner as when writing normal data, and then the contents of the withdrawal buffer in the memory 22 are read out by the write/read control circuit 21, and the data control unit 11 through the receiving register 12
is stored in Thereafter, writing is performed on the magnetic tape by the write head of the magnetic tape device 18 according to the procedure described above. Thereafter, subsequent data is sequentially written by the CPU 10 in the same manner, and if a write error occurs, it is processed in the manner described above.

実施例では磁気テープについて述べたが、これ
に限定されることなく記録、再生、消去が容易に
できる記録媒体であれば本発明を適用することが
可能である。
Although a magnetic tape has been described in the embodiment, the present invention is not limited to this, and the present invention can be applied to any recording medium that can be easily recorded, reproduced, and erased.

以下説明したように、本発明によれば、記録媒
体上のデータに書き込み誤りが発生した場合に
は、所定回数の再書き込みを試み、それでも正常
な書き込みが得られない場合には、最終の正常な
データ単位まで戻り、該データ単位の内容をバツ
フアメモリに転送し、その空いた場所に書き込み
データ単位の終了符号を書き込んだ後、別の記録
媒体に移り最初に前記バツフアメモリに格納した
データ単位を書き込み、引続き後続するデータ単
位を順次書き込むようにしたものである。これに
よりフアイルされるデータが複数ボリユームの媒
体に亘り記録されるとき、1つのボリユームに書
き込み誤りが発生した場合未終了のまま正常なデ
ータを含めて破棄することを救済することがで
き、媒体の有効利用に役立つものである。
As explained below, according to the present invention, when a writing error occurs in data on a recording medium, rewriting is attempted a predetermined number of times, and if normal writing is still not obtained, the final normal After returning to the data unit, transferring the contents of the data unit to the buffer memory, and writing the end code of the write data unit in the vacant space, moving to another recording medium and writing the data unit originally stored in the buffer memory. , the subsequent data units are sequentially written. As a result, when file data is recorded across multiple volumes of media, if a writing error occurs in one volume, it can be saved by discarding the unfinished data including normal data, and the media can be saved. It is useful for effective use.

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

第1図a〜cは本発明の原理説明図、第2図は
本発明の実施例の構成を示す説明図であり、図
中、1,1は磁気テープ、2,2,2
……はデータ単位、3はテープマーク、4,5は
終了信号、10は回線制御部、11はデータ制御
部、12は受信レジスタ、13は書き込みレジス
タ、14は退去レジスタ、15は制御信号発生回
路、16はテープマーク発生回路、17は書き込
み制御回路、18は磁気テープ装置、19は読み
出し制御回路、20は比較回路、21は書き込み
読み出し制御回路、22はメモリを示す。
1A to 1C are explanatory diagrams of the principle of the present invention, and FIG. 2 is an explanatory diagram showing the configuration of an embodiment of the present invention. In the figure, 11 , 12 are magnetic tapes, 21 , 22 , 2 3
... is a data unit, 3 is a tape mark, 4 and 5 are end signals, 10 is a line control section, 11 is a data control section, 12 is a reception register, 13 is a write register, 14 is a withdrawal register, 15 is a control signal generation 16 is a tape mark generation circuit, 17 is a write control circuit, 18 is a magnetic tape device, 19 is a read control circuit, 20 is a comparison circuit, 21 is a write/read control circuit, and 22 is a memory.

Claims (1)

【特許請求の範囲】[Claims] 1 記録媒体上のデータに書き込み誤りが発生し
た場合には、所定回数の再書き込みを試み、それ
でも正常な書き込みが得られない場合には、最終
の正常なデータ単位まで戻り、該データ単位の内
容をバツフアメモリに転送し、その空いた場所に
書き込みデータ単位の終了符号を書き込んだ後、
別の記録媒体に移り最初に前記バツフアメモリに
格納したデータ単位を書き込み、引き続き後続す
るデータ単位を順次書き込むようにしたことを特
徴とする媒体書き込み誤り処理方式。
1 If a writing error occurs in the data on the recording medium, try rewriting a predetermined number of times, and if normal writing still cannot be obtained, return to the last normal data unit and write the contents of that data unit. After transferring the data to the buffer memory and writing the end code of the write data unit to the empty space,
1. A medium write error handling method, characterized in that the data unit stored in the buffer memory is first written to another recording medium, and subsequent data units are sequentially written.
JP13609578A 1978-11-05 1978-11-05 Medium write error processing system Granted JPS5562518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13609578A JPS5562518A (en) 1978-11-05 1978-11-05 Medium write error processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13609578A JPS5562518A (en) 1978-11-05 1978-11-05 Medium write error processing system

Publications (2)

Publication Number Publication Date
JPS5562518A JPS5562518A (en) 1980-05-12
JPS6117059B2 true JPS6117059B2 (en) 1986-05-06

Family

ID=15167135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13609578A Granted JPS5562518A (en) 1978-11-05 1978-11-05 Medium write error processing system

Country Status (1)

Country Link
JP (1) JPS5562518A (en)

Also Published As

Publication number Publication date
JPS5562518A (en) 1980-05-12

Similar Documents

Publication Publication Date Title
US5966358A (en) Signal recording apparatus and signal recording method
US5251077A (en) Method of reading digital data on magnetic tape
JPH03157872A (en) Assembly of data group of digital audio tape
EP0046323B1 (en) Method of writing and reading sector-organized information into and out of a record carrier body and device for performing the method
US4680653A (en) Rotating storage device track format emulation
JPS62502501A (en) Method, apparatus and controller for restoring stored data blocks from tape data blocks corrupted by damage
KR100659915B1 (en) Method and apparatus for transferring data
JPS6117059B2 (en)
WO1986006199A1 (en) Recovery of stored data from mutilated tape data blocks
JP4264615B2 (en) Data recording method, data recording apparatus and recording medium
JPS59177705A (en) Data recording system
JPS6347937Y2 (en)
JPS60176136A (en) Data recording method in magnetic recording and reproducing device
JPS6050672A (en) Read control system of rotary memory
JP3567492B2 (en) Magnetic recording and / or reproducing device
JPH11328930A (en) Cassette management method and data recorder
JPH0541037A (en) Digital data recording and reproducing device
JPS6013360A (en) Storage device
JPS6391887A (en) Data recording system
JP2779540B2 (en) Magnetic tape unit
JP2972365B2 (en) Access control method for magnetic tape storage
JPH0118514B2 (en)
JPH0158580B2 (en)
JPS6180564A (en) Alternate track write control circuit
JPH04345919A (en) Optical card recording/reproducing device