JPH0318206B2 - - Google Patents

Info

Publication number
JPH0318206B2
JPH0318206B2 JP17722383A JP17722383A JPH0318206B2 JP H0318206 B2 JPH0318206 B2 JP H0318206B2 JP 17722383 A JP17722383 A JP 17722383A JP 17722383 A JP17722383 A JP 17722383A JP H0318206 B2 JPH0318206 B2 JP H0318206B2
Authority
JP
Japan
Prior art keywords
data
data block
identification number
magnetic tape
circuit
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
JP17722383A
Other languages
Japanese (ja)
Other versions
JPS6069731A (en
Inventor
Akihiro Hayakawa
Yoichi 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 JP17722383A priority Critical patent/JPS6069731A/en
Publication of JPS6069731A publication Critical patent/JPS6069731A/en
Publication of JPH0318206B2 publication Critical patent/JPH0318206B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は、記録媒体をデータフアイル単位に区
切るために記憶されたテープマーク毎にテープマ
ーク識別番号を記録すると共に、テープマークと
テープマークとの間に記録されたデータブロツク
毎にデータブロツク識別番号を記録する記録装置
に関し、特に所定のフアイル内に新たにデータブ
ロツクを書きたしする場合の記録装置のブロツク
管理方法に関する。
Detailed Description of the Invention (a) Technical Field of the Invention The present invention records a tape mark identification number for each tape mark stored in order to divide a recording medium into data file units, and also distinguishes between tape marks and tape marks. The present invention relates to a recording apparatus that records a data block identification number for each data block recorded during the recording process, and particularly to a block management method of the recording apparatus when writing a new data block in a predetermined file.

(b) 技術の背景 データを記録媒体に記録/再生する方法は各種
の方法が開発され実施されている。記録媒体に記
録/再生するデータの重要度はデータ処理装置の
利用方法が高度化、複雑化するにつれて益々重要
度が増大して来ている。このような状況下にあつ
て、データを記録媒体上に記録/再生する管理手
法もより高度で確実なものが要請される。
(b) Technical Background Various methods have been developed and implemented for recording/reproducing data on recording media. The importance of data recorded on/reproduced from a recording medium is increasing as the usage of data processing devices becomes more sophisticated and complicated. Under these circumstances, there is a need for more advanced and reliable management methods for recording/reproducing data on recording media.

(c) 従来技術と問題点 従来の記録装置のブロツク管理方法について磁
気テープを例にとり説明する。
(c) Prior Art and Problems The block management method of a conventional recording device will be explained using a magnetic tape as an example.

第1図は従来の磁気テープのブロツク管理方法
の実施例を示す。
FIG. 1 shows an embodiment of a conventional magnetic tape block management method.

図において、1は磁気テープ媒体、2はテープ
マーク、3はデータブロツク、4はデータフアイ
ル()、5はデータフアイル()をそれぞれ
示し、又a〜dは磁気ヘツド(図示してない)の
磁気テープに対する相対位置を示す。
In the figure, 1 is a magnetic tape medium, 2 is a tape mark, 3 is a data block, 4 is a data file (), 5 is a data file (), and a to d are magnetic heads (not shown). Indicates relative position to the magnetic tape.

尚データブロツク3にはデータブロツク識別番
号とテープマーク識別番号からなるデータブロツ
ク管理情報が付与されている。
The data block 3 is given data block management information consisting of a data block identification number and a tape mark identification number.

又データフアイル()4内にデータブロツク
3を書き足しする場合、c地点以降のデータフア
イル()は上書きされて消されてまう。従つて
通常は別媒体に複写しておく。
Furthermore, when data block 3 is added to data file () 4, data file () after point c is overwritten and erased. Therefore, it is usually copied onto a separate medium.

今、磁気ヘツド(図示してない)がa地点に位
置付けられており、この状態で書き足しをする場
合、上位装置(図示してない)からフオワードス
ペースコマンド(磁気テープ媒体1をフオワード
方向に進めテープマーク2を検出するとストツプ
する動作)を発行する。フオワードスペースコマ
ンド実施後は磁気ヘツド(図示してない)の位置
はd地点に移動する。この時磁気テープ制御装置
(図示してない)内ではテープマーク識別番号
(TSN)はデータフアイル()5のテープマー
ク識別番号(TSNn+1)、即ちn+1の番号が
認識されている。しかし、データブロツク識別番
号(BSN1、BSN2,…)は認識されていない。
Now, the magnetic head (not shown) is positioned at point a, and if you want to add data in this state, send a forward space command (move the magnetic tape medium 1 in the forward direction) from the host device (not shown). When detecting advance tape mark 2, a stop operation is issued. After executing the forward space command, the position of the magnetic head (not shown) moves to point d. At this time, in the magnetic tape control device (not shown), the tape mark identification number (TSN) of the data file ( ) 5, ie, the number n+1, is recognized as the tape mark identification number (TSN). However, the data block identification numbers (BSN1, BSN2,...) are not recognized.

次に磁気テープ制御装置(図示してない)は書
き足しするデータフアイル()4位置に移動す
るためにバツクワードスペースコマンド(磁気テ
ープ媒体1をバツクワード方向に進めテープマー
ク2又はデータブロツク3を検出するとストツプ
する動作)を実行し磁気ヘツド(図示してない)
の位置をc地点に移動させる。この時テープマー
ク識別番号(TSN)はマイナス1されnとなる
が、まだデータブロツク識別番号(BSN1、
BSN2…)は認識されていない。
Next, the magnetic tape controller (not shown) issues a backward space command (advances the magnetic tape medium 1 in the backward direction and detects tape mark 2 or data block 3) in order to move to the data file () 4 position to be added. Then, the magnetic head (not shown)
Move the position of to point c. At this time, the tape mark identification number (TSN) is minus 1 and becomes n, but the data block identification number (BSN1,
BSN2…) is not recognized.

次に、上位装置(図示してない)からライトコ
マンドが発行されると、磁気テープ制御装置(図
示してない)は、書き足しするデータブロツク3
のデータブロツク識別番号(BSN1、BSN2…)
を確認するためと、データブロツク・データブロ
ツク間の一定間隔(ギヤツプ)を十分に確保する
ためにバツクスペースブロツク(磁気テープ媒体
1をバツクワード方向に進めデータブロツク3を
検出するとストツプする動作)を実行する。これ
により、磁気ヘツド(図示してない)の位置をb
地点に移動しデータブロツク識別番号(BSN1、
BSN2…)を確認する。ここで書込み動作に移
り、いま読んだ最終のデータブロツクと十分な一
定間隔(ギヤツプ)をとつてフオワード方向に磁
気ヘツドを進め、書き足しする直前のデータブロ
ツク3で読み取り確認されたデータブロツク識別
番号(BSNn)にプラス1したもの、即ちBSNn
+1が書き足しの最初のデータブロツク識別番号
として書き込まれる。しかし、直前のデータブロ
ツク3(識別番号BSNn)までの距離が所定の長
さより十分に長い場合(磁気テープ媒体1上の欠
陥等により情報の記録が出来ないための未記録部
分等がある場合)には、バツクスペースブロツク
(磁気テープ媒体1をバツクワード方向に進めデ
ータブロツク3を検出するとストツプする動作)
を複数回実行するため、直前のデータブロツク3
(識別番号BSNn)までの位置付け及び書き足し
する最初のデータブロツク3(識別番号BSNn+
1)への位置付けに要する時間的ロスが大きくな
るという欠点がある。
Next, when a write command is issued from the host device (not shown), the magnetic tape control device (not shown) writes the data block 3 to be added.
Data block identification number (BSN1, BSN2…)
In order to confirm the data block and to ensure a sufficient gap between data blocks, a backspace block (operation in which magnetic tape medium 1 advances in the backward direction and stops when data block 3 is detected) is executed. do. This allows the position of the magnetic head (not shown) to be
Go to the location and enter the data block identification number (BSN1,
BSN2…). Now move on to the write operation, advance the magnetic head in the forward direction with a sufficient constant gap from the last data block just read, and read and confirm the data block identification number in data block 3 just before writing. (BSNn) plus 1, that is, BSNn
+1 is written as the first data block identification number to be added. However, if the distance to the immediately preceding data block 3 (identification number BSNn) is sufficiently longer than the predetermined length (if there is an unrecorded portion because information cannot be recorded due to a defect on the magnetic tape medium 1, etc.) Backspace block (operation in which magnetic tape medium 1 is advanced in the backward direction and stopped when data block 3 is detected)
is executed multiple times, the previous data block 3
First data block 3 (identification number BSNn +
There is a disadvantage that the time loss required for positioning 1) becomes large.

(d) 発明の目的 本発明は、上記欠点を解消した新規な記録装置
のブロツク管理方法を提供することを目的とし、
特にデータブロツクの書き足しをする場合、直前
のデータブロツクまでの位置付け及び書き足しす
る最初のデータブロツクまでの位置付けに要する
時間的ロスを解消し、効率的にデータブロツクの
書き足しが可能となる記録装置のブロツク管理方
法を実現することにある。
(d) Purpose of the Invention The purpose of the present invention is to provide a novel block management method for a recording device that eliminates the above-mentioned drawbacks.
In particular, when adding to a data block, this record eliminates the time loss required for positioning to the previous data block and to the first data block to be added, making it possible to efficiently add to the data block. The object of the present invention is to realize a block management method for devices.

(e) 発明の構成 記録媒体をデータフアイル単位に区切るために
記録されたテープマーク毎にテープマーク識別番
号を記録すると共に、テープマークとテープマー
クとの間に記録されたデータブロツク毎にデータ
ブロツク識別番号を記録する記録装置において、
該データフアイルに該データブロツクを追加記録
するとき、直前のデータブロツクが見つからなか
つたことを示す情報と、上記データブロツク識別
番号を再度初期値から採番して付加記録するよう
に構成する。
(e) Structure of the invention A tape mark identification number is recorded for each tape mark recorded to divide a recording medium into data file units, and a data block is recorded for each data block recorded between tape marks. In a recording device that records an identification number,
When the data block is additionally recorded in the data file, information indicating that the previous data block was not found and the data block identification number are renumbered from the initial value and are additionally recorded.

(f) 発明の実施例 以下本発明を図面を参照して説明する。(f) Examples of the invention The present invention will be explained below with reference to the drawings.

第2図は本発明に係る磁気テープ制御装置の実
施例、第3図は本発明に係る磁気テープ媒体上の
データフオーマツトの実施例をそれぞれ示す。
FIG. 2 shows an embodiment of a magnetic tape control device according to the present invention, and FIG. 3 shows an embodiment of a data format on a magnetic tape medium according to the present invention.

本実施例においては磁気テープ媒体上の記録方
式は磁気テープ媒体の幅方向に18ビツト同時に記
録する18トラツクと呼ばれる構成である。
In this embodiment, the recording method on the magnetic tape medium is a configuration called 18 tracks in which 18 bits are simultaneously recorded in the width direction of the magnetic tape medium.

第2図において、6はインタフエース回路、7
はマルチプレクサ回路、8はバツフア回路、9は
変調/ライト回路、10は復調/リード回路、1
1はシリアルナンバサンプリング回路(以下
SNS回路と略称する)、12はシリアルナンバ発
生回路(以下SN発生回路と略称する)、13はシ
リアルナンバレジスタ回路(以下SNR回路と略
称する)、14はマイクロプロセツサ(以下MPU
と略称する)、15は磁気テープ制御装置、16
は共用レジスタ回路、17は磁気テープ装置、1
8はAゾーン、19はBゾーン、20はデータグ
ループ()、21はデータグループ()、22
はレジデユアルデータグループ、23はCRCデ
ータグループをそれぞれ示す。
In Figure 2, 6 is an interface circuit, 7
is a multiplexer circuit, 8 is a buffer circuit, 9 is a modulation/write circuit, 10 is a demodulation/read circuit, 1
1 is the serial number sampling circuit (hereinafter
12 is a serial number generation circuit (hereinafter referred to as SN generation circuit), 13 is a serial number register circuit (hereinafter referred to as SNR circuit), and 14 is a microprocessor (hereinafter referred to as MPU).
), 15 is a magnetic tape control device, 16
is a shared register circuit, 17 is a magnetic tape device, 1
8 is A zone, 19 is B zone, 20 is data group (), 21 is data group (), 22
23 indicates a residential data group, and 23 indicates a CRC data group.

又、第3図において、D1〜D17は書込みデー
タ、ECCはエラー訂正符号、Pdはパデイングデ
ータ、はテープマーク識別番号(TSN1、
TSN2、…)、,はデータブロツク識別番号
(BSN1、BSN2、…)、は制御用フラグをそれ
ぞれ示す。
In addition, in Fig. 3, D1 to D17 are write data, ECC is an error correction code, Pd is padding data, and tape mark identification numbers (TSN1,
TSN2,...), , indicate data block identification numbers (BSN1, BSN2,...), and control flags, respectively.

第2図における磁気テープ制御装置15は上位
装置(図示してない)との情報のやりとりをする
インタフエース回路6、インタフエース回路6と
復調/リード回路10とシリアルナンバ発生回路
12からの入力データを選択してバツフア回路8
へ出力するマルチプレクサ回路7、マルチプレク
サ回路7からの入力データを一時的に蓄え、変
調/ライト回路9へ順次出力するバツフア回路
8、バツフア回路8からの入力データを変調し
て、書込みデータとして磁気テープ装置17に転
送する変調/ライト回路9、磁気テープ装置17
からの読み取りテータを復調した読み取りデータ
とする復調/リード回路10、復調/リード回路
10よりデータブロツク識別番号(BSN1、
BSN2、…)とテープマーク識別番号(TSN1、
TSN2、…)及び制御用フラグを取り出すSNS
回路11、MPU14の指示により書き足しする
データブロツク3に付与するデータブロツク識別
番号(BSN1、BSN2、…)とテープマーク識別
番号(TSN1、TSN2、…)及び制御用フラグ
を作成して、マルチプレクサ回路7へ出力する
SN発生回路12、MPU14内にありデータブロ
ツク管理情報を格納しているSNR回路13、磁
気テープ制御装置15内の各種の制御を司る
MPU14から構成される。
The magnetic tape control device 15 in FIG. 2 receives input data from an interface circuit 6 that exchanges information with a host device (not shown), the interface circuit 6, a demodulation/read circuit 10, and a serial number generation circuit 12. Select buffer circuit 8
A multiplexer circuit 7 outputs the input data to the multiplexer circuit 7, a buffer circuit 8 temporarily stores the input data from the multiplexer circuit 7 and sequentially outputs it to the modulation/write circuit 9, modulates the input data from the buffer circuit 8 and writes it to the magnetic tape as write data. Modulation/write circuit 9 and magnetic tape device 17 for transferring data to device 17
The demodulation/read circuit 10 converts the read data from the data block into demodulated read data.
BSN2,…) and tape mark identification number (TSN1,…)
TSN2,...) and SNS for extracting control flags
The circuit 11 creates data block identification numbers (BSN1, BSN2, ...), tape mark identification numbers (TSN1, TSN2, ...) and control flags to be added to the data block 3 to be added, and sends them to the multiplexer circuit. Output to 7
It controls various controls in the SN generation circuit 12, the SNR circuit 13 located in the MPU 14 and storing data block management information, and the magnetic tape control device 15.
It is composed of MPU14.

尚磁気テープ装置17はデータブロツク管理情
報を格納する共用レジスタ16を持つている。
The magnetic tape device 17 has a shared register 16 for storing data block management information.

次に第3図の磁気テープ媒体上のデータフオー
マツトはデータの上下方向のビツト数が9ビツト
でなるAゾーン18、Bゾーン19と、各ゾーン
に配置され、それぞれ8バイトでなる4つのデー
タグループ20,21,22,23で構成され
る。
Next, the data format on the magnetic tape medium shown in Fig. 3 is divided into A zone 18 and B zone 19, each of which has 9 bits in the vertical direction, and 4 pieces of data each consisting of 8 bytes arranged in each zone. It is composed of groups 20, 21, 22, and 23.

本実施例では上位装置(図示してない)から転
送されて来る書き込みデータが17バイトの場合で
ある。
In this embodiment, the write data transferred from the host device (not shown) is 17 bytes.

まず、奇数バイト目の書込みデータはAゾーン
18側に、偶数バイト目の書込みデータはBゾー
ン19側に振り分けられる、更にそれぞれ振り分
けられた書込みデータは各ゾーン毎に7バイトの
書込みデータ用データグループ()20、()
21に分離する。各データグループ20〜23に
はエラー訂正用のチエツクデータであるエラー訂
正符号(ECC)が付加されるので、各データグ
ループ20〜23は8バイトで形成される。尚デ
ータグループ()21に振り分けられたデータ
が7バイトに満たない場合は不足バイト分だけパ
デイングデータPdが付加される。
First, the odd-numbered byte write data is distributed to the A zone 18 side, and the even-numbered byte write data is distributed to the B zone 19 side.Furthermore, each distributed write data is divided into 7-byte write data data groups for each zone. ()20, ()
Separate into 21 parts. Since an error correction code (ECC) which is check data for error correction is added to each data group 20-23, each data group 20-23 is formed of 8 bytes. Note that if the data allocated to the data group ( ) 21 is less than 7 bytes, padding data Pd is added for the missing bytes.

上位装置(図示してない)から転送されて来た
データにより構成されるデータグループ()2
0、()21の後にはAゾーン18、Bゾーン
19共に更にレジデユアルデータグループ22、
CRCデータグループ23が付加される。レジデ
ユアルデータグループ22の1バイト目〜4バイ
ト目に本発明に係るデータが記録される。
Data group ()2 consisting of data transferred from a higher-level device (not shown)
0, () 21, both A zone 18 and B zone 19 are further residential data group 22,
A CRC data group 23 is added. Data according to the present invention is recorded in the first to fourth bytes of the residential data group 22.

1バイト目がテープマーク識別番号、2、3
バイト目がデータブロツク識別番号、、4バ
イト目は制御用フラグが記録される。以上の4
バイトはAゾーン18、Bゾーン19共に同一デ
ータが書き込まれ、データの読み出し時にAゾー
ン18側のデータとBゾーン19側のデータとが
比較される。又レジデユアルデータグループ22
の5バイト目以降とCRCデータグループ23に
は上位装置(図示してない)から転送されて来る
全データに対するチエツクビツト(CRC)他が
記録されている。
1st byte is tape mark identification number, 2, 3
The data block identification number is recorded in the first byte, and a control flag is recorded in the fourth byte. Above 4
The same byte data is written in both the A zone 18 and the B zone 19, and when data is read, the data on the A zone 18 side and the data on the B zone 19 side are compared. Also Residential Data Group 22
In the fifth and subsequent bytes and in the CRC data group 23, check bits (CRC) and other information for all data transferred from a host device (not shown) are recorded.

次にデータフアイル内にデータブロツク3の書
き足し(データブロツク3識別番号BSNn以降に
相当する)をする時の動作について説明する。
Next, the operation when adding data block 3 to the data file (corresponding to the data block 3 identification number BSNn and later) will be explained.

磁気ヘツド(図示してない)がa地点に位置付
けられているとする。a地点で上位位置(図示し
てない)からフオワードスペースコマンド(磁気
テープ媒体1をフオワード方向に進めテープマー
ク2を検出するとストツプする動作)が発行され
ると、MPU14は内部のSNR回路13で現在認
識されているテープマーク識別番号(TSNn)を
プラス1し、データブロツク識別番号をゼロにセ
ツトする。そして、その内容を磁気テープ装置1
7内の共用レジスタ16に格納し、磁気テープ装
置17に対してフオワードスペースコマンド動作
を指示する。磁気テープ装置17は磁気テープを
移動させて、磁気ヘツド(図示してない)が、最
初のテープマークを検出したd地点で停止する。
更に上位装置(図示してない)からバツクワード
スペースコマンド(磁気テープ媒体1をバツクワ
ード方向に進めテープマーク2又はデータブロツ
ク3を検出するとストツプする動作)が発行され
る。このコマンドによりMPU14は磁気テープ
装置17内共用レジスタ16で記憶いているデー
タブロツク管理情報をSNR回路13に取り出し、
磁気テープ装置17にバツクワードスペースコマ
ンド動作を指示し、磁気テープ装置17は磁気ヘ
ツド(図示してない)をc地点に位置付ける。こ
の時MPU14は前記バツクワードスペースコマ
ンド動作で読み込んだデータがテープマーク2で
あることを認識するとSNR回路13内のテープ
マーク識別番号(TSNn+1)をマイナス1し、
データブロツク識別番号をゼロにし、レジデユア
ルデータグループ22の4バイト目に格納すべき
制御用フラグ内の図示してないUフラグ(アン
デフアインドフラグと呼ばれ、通常“0”にリセ
ツトされており、バツクリード系の命令でテープ
マーク2を検出した時に“1”がセツトされ、さ
らにデータブロツク3を検出したときに“0”に
リセツトされる。)を“1”、同じく制御用フラグ
内の図示してないWフラグ(ライトフラグと呼
ばれ、“1”であると直前にライト系のコマンド
を実行したことを示すフラグ)を“0”にし、共
用レジスタ16に格納する。この時点ではMPU
14はテープマーク識別番号“TSNn”は認識さ
れているが、データブロツク識別番号は認識され
ていない。
Assume that a magnetic head (not shown) is positioned at point a. When a forward space command (operation of advancing the magnetic tape medium 1 in the forward direction and stopping when tape mark 2 is detected) is issued from a higher position (not shown) at point a, the MPU 14 uses the internal SNR circuit 13 to Add 1 to the currently recognized tape mark identification number (TSNn) and set the data block identification number to zero. Then, transfer the contents to the magnetic tape device 1.
7 and instructs the magnetic tape device 17 to perform a forward space command operation. The magnetic tape device 17 moves the magnetic tape and stops at point d where a magnetic head (not shown) detects the first tape mark.
Further, a backward space command (an operation of advancing the magnetic tape medium 1 in the backward direction and stopping when tape mark 2 or data block 3 is detected) is issued from a host device (not shown). With this command, the MPU 14 retrieves the data block management information stored in the shared register 16 in the magnetic tape device 17 to the SNR circuit 13, and
A backward space command operation is instructed to the magnetic tape device 17, and the magnetic tape device 17 positions a magnetic head (not shown) at point c. At this time, when the MPU 14 recognizes that the data read by the backward space command operation is tape mark 2, it subtracts 1 from the tape mark identification number (TSNn+1) in the SNR circuit 13, and
The data block identification number is set to zero, and the U flag (not shown) in the control flags to be stored in the 4th byte of the residential data group 22 (called the undefined flag, which is normally reset to "0") is set. , is set to "1" when tape mark 2 is detected by a back read command, and is reset to "0" when data block 3 is detected. A W flag not shown (referred to as a write flag; when "1" indicates that a write-related command was executed immediately before) is set to "0" and stored in the shared register 16. At this point MPU
14, the tape mark identification number "TSNn" is recognized, but the data block identification number is not recognized.

この時点で上位装置(図示してない)からライ
トコマンドが発行される。このコマンドにより
MPU14は共用レジスタ16からデータブロツ
ク管理情報をSNR回路13に読み込み制御用フ
ラグ内の図示してないWフラグが“0”、同じ
くUフラグが“1”であることから、直前にバツ
ク系コマンドでテープマーク2を読んだことを認
識し、書込み動作に先立ちバツクスペースブロツ
ク(磁気テープ媒体1をバツクワード方向に進め
データブロツク3を検出するとストツプする動
作)を行い、テープポジシヨンを正しい位置に位
置付けるためと、書込みするデータブロツク識別
番号を認識するために、直前のデータブロツク3
(データブロツク識別番号BSNnが記録されてい
る)を読みに行く。
At this point, a write command is issued from a host device (not shown). This command
The MPU 14 reads the data block management information from the shared register 16 into the SNR circuit 13, and since the W flag (not shown) in the control flags is "0" and the U flag is "1", the MPU 14 reads data block management information from the shared register 16 into the SNR circuit 13. It recognizes that tape mark 2 has been read, and performs a backspace block (an operation in which the magnetic tape medium 1 advances in the backward direction and stops when data block 3 is detected) prior to the write operation to position the tape at the correct position. Then, in order to recognize the data block identification number to be written, the previous data block 3 is
(The data block identification number BSNn is recorded).

この直前のデータブロツク3(データブロツク
識別番号BSNnが記録されている)を読みに行つ
た時に、直前のデータブロツク3(データブロツ
ク識別番号BSNnが記録されている)までの距離
が所定の長さより十分長い場合は、誤読み取りで
はなくイレーズ(消去)されて又は磁気テープ媒
体1上の欠陥等により情報の記録が出来ないため
の未記録部分等がある場合であつて、データブロ
ツクが存在しない領域であると、MPU14が判
断する。そこでMPU14が直前のデータブロツ
ク3を読みに行く動作を中断して、書込み動作に
移つた場合、SN発生回路12にデータブロツク
管理情報を書込みする際に、直前のデータブロツ
ク識別番号が認識できなかつたため、データブロ
ツク識別番号を初期値である“0”、制御用フラ
グの図示してないUフラグを“1”のままにし
てデータブロツク3が見つからなかつたことを表
示して、追加のデータの最初のデータブロツク3
を書込み、以降のデータブロツク3の書込みは前
記Uフラグを“0”にして、データブロツク識別
番号は、1、2…と順番に採番して行く。
When I go to read the immediately preceding data block 3 (in which the data block identification number BSNn is recorded), the distance to the immediately preceding data block 3 (in which the data block identification number BSNn is recorded) is less than the predetermined length. If it is long enough, it is an area where there is no data block because there is an unrecorded part because it has been erased (erased) or because information cannot be recorded due to a defect on the magnetic tape medium 1, etc. , the MPU 14 determines. Therefore, if the MPU 14 interrupts the operation of reading the immediately preceding data block 3 and moves on to the write operation, when writing the data block management information to the SN generation circuit 12, if the immediately preceding data block identification number cannot be recognized and Therefore, the data block identification number is set to the initial value "0" and the control flag (not shown) is set to "1" to indicate that data block 3 was not found, and additional data can be added. first data block 3
For subsequent writing of data block 3, the U flag is set to "0", and the data block identification numbers are assigned sequentially as 1, 2, and so on.

次に上記のシーケンスで書込みしたデータブロ
ツク3を順次読み取る時は、直前で読み取つたデ
ータブロツク識別番号とシーケンスが崩れても、
Uフラグが“1”の時は、追加データであること
が認識されておりデータブロツク識別番号は
“0”から開始しても期待したデータブロツク3
を読み取つたもとしてMPU14が判断して、正
常に処理する。
Next, when reading data blocks 3 written in the above sequence sequentially, even if the data block identification number and sequence read just before are corrupted,
When the U flag is "1", it is recognized as additional data, and even if the data block identification number starts from "0", the expected data block 3
The MPU 14 determines that the data has been read and processes it normally.

即ち、従来は必ず直前のデータブロツクを読み
取つて、データブロツク識別番号を認識するよう
にしており、直前のデータブロツクを読み取るた
めバツクスペースブロツク動作をデータブロツク
が見つかるまで複数回行うことになり、この動作
のための時間が浪費されるが、本発明によりデー
タブロツクの書き足しをする場合は、バツクスペ
ースブロツク動作は1回だけであり処理時間の高
速化になる。
That is, in the past, the immediately preceding data block was always read to recognize the data block identification number, and in order to read the immediately preceding data block, the backspace block operation was performed multiple times until the data block was found. Although time is wasted for the operation, when data blocks are added according to the present invention, the backspace block operation is performed only once, which speeds up the processing time.

(g) 発明の効果 以上のような本発明によりデータブロツクの書
き足しをする場合、直前のデータブロツクまでの
位置付け及び書き足しをする最初の記録媒体上へ
の位置付けに要する時間的ロスを生じることな
く、効率的にデータブロツクの書き足しが可能と
なる記録装置のブロツク管理方法を提供できると
いう効果がある。
(g) Effects of the invention When adding to a data block according to the present invention as described above, there is a time loss required for positioning up to the immediately preceding data block and positioning it on the first recording medium to be added. The present invention has the advantage that it is possible to provide a block management method for a recording device that enables efficient addition of data blocks.

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

第1図は従来の磁気テープのブロツク管理方法
の実施例、第2図は本発明に係る磁気テープ制御
装置の実施例、第3図は本発明に係る磁気テープ
媒体上のデータフオーマツトの実施例をそれぞれ
示す。 図において、1は磁気テープ媒体、2はテープ
マーク、3はデータブロツク、4はデータフアイ
ル()、5はデータフアイル()、6はインタ
フエース回路、7はマルチプレクサ回路、8はバ
ツフア回路、9は変調/ライト回路、10は復
調/リード回路、11はSNS回路、12はSN発
生回路、13はSNR回路、14はMPU、15は
磁気テープ制御装置、16は共用レジスタ回路、
17は磁気テープ装置、18はAゾーン、19は
Bゾーン、20はデータグループ()、21は
データグループ()、22はレジデユアルデー
タグループ、23はCRCデータグループ、をそ
れぞれ示す。
FIG. 1 is an embodiment of a conventional magnetic tape block management method, FIG. 2 is an embodiment of a magnetic tape control device according to the present invention, and FIG. 3 is an implementation of a data format on a magnetic tape medium according to the present invention. An example is given for each. In the figure, 1 is a magnetic tape medium, 2 is a tape mark, 3 is a data block, 4 is a data file (), 5 is a data file (), 6 is an interface circuit, 7 is a multiplexer circuit, 8 is a buffer circuit, 9 10 is a modulation/write circuit, 10 is a demodulation/read circuit, 11 is an SNS circuit, 12 is an SN generation circuit, 13 is an SNR circuit, 14 is an MPU, 15 is a magnetic tape control device, 16 is a shared register circuit,
17 is a magnetic tape device, 18 is an A zone, 19 is a B zone, 20 is a data group (), 21 is a data group (), 22 is a residential data group, and 23 is a CRC data group.

Claims (1)

【特許請求の範囲】[Claims] 1 記録媒体をデータフアイル単位に区切るため
に記録されたテープマーク毎にテープマーク識別
番号を記録すると共に、テープマークとテープマ
ークとの間に記録されたデータブロツク毎にデー
タブロツク識別番号に記録する記録装置におい
て、該データフアイルに該データブロツクを追加
記録するとき、直前のデータブロツクが見つから
なかつたことを示す情報と、上記データブロツク
識別番号を再度初期値から採番して付加記録する
ことを特徴とする記録装置のブロツク管理方法。
1 Record a tape mark identification number for each tape mark recorded to divide the recording medium into data file units, and record a data block identification number for each data block recorded between tape marks. In the recording device, when the data block is additionally recorded in the data file, information indicating that the previous data block was not found and the data block identification number renumbered from the initial value are added and recorded. Features: Block management method for recording devices.
JP17722383A 1983-09-26 1983-09-26 Block control method of recorder Granted JPS6069731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17722383A JPS6069731A (en) 1983-09-26 1983-09-26 Block control method of recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17722383A JPS6069731A (en) 1983-09-26 1983-09-26 Block control method of recorder

Publications (2)

Publication Number Publication Date
JPS6069731A JPS6069731A (en) 1985-04-20
JPH0318206B2 true JPH0318206B2 (en) 1991-03-12

Family

ID=16027304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17722383A Granted JPS6069731A (en) 1983-09-26 1983-09-26 Block control method of recorder

Country Status (1)

Country Link
JP (1) JPS6069731A (en)

Also Published As

Publication number Publication date
JPS6069731A (en) 1985-04-20

Similar Documents

Publication Publication Date Title
US5081548A (en) Data storage apparatus and method
EP0272130A2 (en) Data recording
EP0078492A2 (en) Method of controlling storage device
US5539914A (en) Method and system for preprocessing data block headers during access of data in a data storage system
US4833663A (en) Information recording/reproducing apparatus for handling defective sectors on an optical disk
EP0680043A2 (en) Disc controller
KR970060056A (en) Method and apparatus for recording data on magnetic tape storage media
JPS634476A (en) Optical information recoding and reproducing device
JPH0318206B2 (en)
JP2595096B2 (en) Control method of magnetic tape unit and buffer memory
JPS6040104B2 (en) Recording inspection method for magnetic recording devices
JPS5845083B2 (en) Data read check method
JPS6047268A (en) Block managing method
JPS63181168A (en) Alternative processing method for optical disk devices
JPS59177705A (en) Data recording system
JP2576509B2 (en) Data recorder
JP2828769B2 (en) Data recording method
JPS60176136A (en) Data recording method in magnetic recording and reproducing device
JPH01264683A (en) Digital signal recording and reproducing device
JPS58102312A (en) Magnetic recording and reproducing device
JP2595878B2 (en) Magnetic tape controller
JPH0464972A (en) Data recorder
JPS6391887A (en) Data recording system
JPH08115572A (en) Recording and playback device
JPS6095763A (en) Optical disc processor