JPH01227273A - File format method - Google Patents

File format method

Info

Publication number
JPH01227273A
JPH01227273A JP5319788A JP5319788A JPH01227273A JP H01227273 A JPH01227273 A JP H01227273A JP 5319788 A JP5319788 A JP 5319788A JP 5319788 A JP5319788 A JP 5319788A JP H01227273 A JPH01227273 A JP H01227273A
Authority
JP
Japan
Prior art keywords
data
unit
tape
recorded
recording
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
JP5319788A
Other languages
Japanese (ja)
Inventor
Toshiro Kita
喜多 敏郎
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP5319788A priority Critical patent/JPH01227273A/en
Publication of JPH01227273A publication Critical patent/JPH01227273A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To record, reproduce and erase a large quantity of data by sectioning a track on a recording medium into at least two steps and controlling the data with the sections of a high-order step as a unit. CONSTITUTION:By making two adjoining tracks TR as one frame F, 25 Fs are assigned to one unit U and 16 Rs are assigned to one block B. In a sub-code area of each TR, the numbers of the B and the U to which the track belongs are recorded in BCD code and they are file control information. In zero-th B, data to control all files in the tape is stored and data to show the names of the files, the attributes of the files, directory data and the usage condition of a storage area, etc., are contained. In case of using a new tape, the zero-th B is formed at the head of the tape. This is the format operation of the tape. When the format operation is performed, the above-mentioned data are all made 0. Thus, the title file format method capable of recording, reproducing and erasing a large quantity of data can be obtained.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はコンピュータ等によりデータを記録媒体に記録
させる場合のファイルフォーマット方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a file formatting method when data is recorded on a recording medium by a computer or the like.

(従来の技術と発明が解決しようとする課題)コンピュ
ータ等を用いたシステムに於いて、記録、再生、消去可
能であり且つ比較的大容量のデータを扱える記録媒体と
しては、ハードディスク。
(Prior Art and Problems to be Solved by the Invention) In a system using a computer or the like, a hard disk is a recording medium that can record, reproduce, and erase data and can handle a relatively large amount of data.

光磁気ディスク、及びコンパクトカセ・ントテーブが一
般的に用いられている。
Magneto-optical disks and compact cassette/tables are commonly used.

ハードディスクは、高速データ転送、高速アクセスが可
能であるので広く用いられている。しかし、比較的大規
模のシステムに用いられるものを除いて、その容量は2
0MB程度であり、取り換えができない上に高価である
Hard disks are widely used because they allow high-speed data transfer and high-speed access. However, except for those used in relatively large-scale systems, the capacity is 2.
It is approximately 0MB, cannot be replaced, and is expensive.

光磁気ディスクは高速データ転送、高速アクセス及び取
り換えが可能であるが、高価であり、しかも記録再生装
置の価格が他の媒体用のそれと比較して掘めて高価であ
る。
Although magneto-optical disks are capable of high-speed data transfer, high-speed access, and replacement, they are expensive, and the cost of recording and reproducing devices is significantly higher than those for other media.

コンパクトカセットテープは低価格であり、取り換え可
能であるが、容量が小さい(例えば、 2400bps
で120分テープに記録した場合、 2.1MB程度)
上に、データ転送速度が遅く、アクセス時間が長いとい
う欠点がある。
Compact cassette tapes are inexpensive and replaceable, but have a small capacity (e.g. 2400bps)
When recorded on a tape for 120 minutes, it is approximately 2.1MB)
Moreover, it has the disadvantages of slow data transfer speed and long access time.

このように、従来の記録媒体及びそのための記録再主装
置は、容量が少ない或は非常に高価であるという欠点を
有しているので、大量のデータを扱うには不向きである
。最近は、イメ−ジデータ等の大量のデータをパソコン
等の簡単なシステムで扱うことが要望されている。しか
し、従来の記録媒体及びそのための記録再生装置にはそ
れに適合したものがなく、大量のデータを比較的簡単な
システムで扱うことができ、しかも安価な記録媒体及び
記録再生装置の開発が望まれている。
As described above, conventional recording media and recording/reproducing devices therefor have the disadvantages of having a small capacity or being very expensive, and are therefore unsuitable for handling large amounts of data. Recently, there has been a demand for handling large amounts of data such as image data with simple systems such as personal computers. However, there is no conventional recording medium and recording/playback device for the same, and it is desired to develop a recording medium and a recording/playback device that can handle a large amount of data with a relatively simple system and is inexpensive. ing.

本発明はこのような現状に鑑みてなされたものであり、
その目的とする所は、簡単な構成の記録再生装置を用い
て、取り換え可能であり且つ安価な記録媒体にイメージ
データ等の大量のデータを記録、再生、消去することが
可能なファイルフォーマット方法を提供することである
The present invention was made in view of the current situation, and
The objective is to develop a file formatting method that allows large amounts of data such as image data to be recorded, played back, and erased on replaceable and inexpensive recording media using a recording/playback device with a simple configuration. It is to provide.

(課題を解決するための手段) 本発明のファイルフォーマット方法は、記録媒体に、サ
ブエリアと記録すべきデータが記録されるメインエリア
とを有する多数のトラックを形成すること、該多数のト
ラックを、少なくとも1個のトラックで構成される第1
段の区画、及び複数個の該第1段の区画で構成される第
2段の区画を含む少なくとも2段階に区画すること、並
びにトラックのサブエリアに該トラックが属する少なく
とも第2段の区画名を記録することを包含しており、そ
のことにより上記目的が達成される。
(Means for Solving the Problem) The file formatting method of the present invention includes forming a large number of tracks on a recording medium, each having a subarea and a main area in which data to be recorded is recorded, and forming a large number of tracks on a recording medium. , a first track consisting of at least one track
partitioning into at least two stages including a stage division and a second stage division consisting of a plurality of first stage divisions, and the name of at least the second stage division to which the truck belongs to the subarea of the track; The above purpose is achieved.

(実施例) 以下に本発明の実施例について説明する。(Example) Examples of the present invention will be described below.

本実施例は、ディジタルオーディオ用の記録再生装置と
して1986年4月のDATコンファレンスによるR−
DAT勧告に基づき最近に開発、商品化され。
This embodiment is a digital audio recording/playback device based on the R-
Recently developed and commercialized based on DAT recommendations.

広く普及しつつつあるR−DAT(Rotary he
ad DigitalAudio Taperecor
der)用の磁気テープを記録媒体として用いるもので
ある。
R-DAT (Rotary he
ad Digital Audio Tape recorder
der) magnetic tape is used as the recording medium.

このR−DATを簡単に説明する。R−DATは記録媒
体として磁気テープを使用し、2個の磁気ヘッドを有す
るモータ駆動回転ドラムを備えている。磁気テープは回
転ドラムに所定の傾斜角度及び90度の巻付角度で巻き
付は接触されている。記録すべきオーディオ情報は、テ
ープ走行方向に対して上記の所定角度傾斜して配列して
形成された各トラックにディジタル信号として記録され
る。
This R-DAT will be briefly explained. R-DAT uses magnetic tape as a recording medium and is equipped with a motor-driven rotating drum having two magnetic heads. The magnetic tape is wound and brought into contact with the rotating drum at a predetermined inclination angle and a winding angle of 90 degrees. The audio information to be recorded is recorded as a digital signal on each track formed so as to be inclined at the above-mentioned predetermined angle with respect to the tape running direction.

これらのトラックの記録フォーマットは、上記R−DA
T勧告に従うものであり、テープTA上の各トラックT
Rは、第9図に示すように、再生時の制御情報、副チャ
ネル信号等を記録するサブコードエリア91と、トラッ
キング制御情報を記録するATFエリア92と、オーデ
ィオ情報を記録する。それら両エリアの各対間に挟まれ
たPC?lエリア93とを有している。PCMエリア9
3は128個のブロックで構成されている。各ブロック
には、同期信号、 IDコード、ブロックアドレス、パ
リティデータ、及び256ビツトのPCMデータが含ま
れている。
The recording format of these tracks is the R-DA above.
T recommendation, each track T on the tape TA
As shown in FIG. 9, R records a subcode area 91 for recording control information during playback, sub-channel signals, etc., an ATF area 92 for recording tracking control information, and audio information. A PC sandwiched between each pair of both areas? 1 area 93. PCM area 9
3 consists of 128 blocks. Each block includes a synchronization signal, ID code, block address, parity data, and 256-bit PCM data.

第1図に本実施例によるファイルフォーマットの構成を
示す。尚、以下では、  R−DATに用いられる磁気
テープを単に「テープ」と称することにする。本実施例
で用いるテープのトラックのフォーマットは、第1図(
e)に示すように、上述のR−DATによるフォーマッ
ト(第9図)と全(同じである。
FIG. 1 shows the structure of the file format according to this embodiment. In the following, the magnetic tape used in R-DAT will be simply referred to as "tape." The format of the tape track used in this example is shown in Figure 1 (
As shown in e), the format is completely (same) as the above-mentioned R-DAT format (FIG. 9).

第9図においては示されなかったギャップ部94は。The gap portion 94 not shown in FIG.

記録時のマージンを確保するために設けられている。イ
ンターリーブが行われる隣接する2本のトラックTR(
第1図(d))を1個のフレームF (第1図(C))
とする。1フレームは5760バイトの記憶容量である
。この25フレ一ム分を1個のユニットU(第1図(b
)) (128にバイト)に割り当てる。更に。
This is provided to ensure a margin during recording. Two adjacent tracks TR (
Figure 1(d)) into one frame F (Figure 1(C))
shall be. One frame has a storage capacity of 5760 bytes. These 25 frames are combined into one unit U (Fig. 1(b)
)) (128 bytes). Furthermore.

16ユニツト分を1個のブロックB(第1図(a))に
割り当てる。1個のテープには720ブロツクが含まれ
る。
16 units are allocated to one block B (FIG. 1(a)). One tape contains 720 blocks.

各トラックのサブコードエリア92には、ファイル管理
情報として、そ、のトラックの属するブロックの番号及
びユニットの番号がBCDコードで記録される。
In the subcode area 92 of each track, the block number and unit number to which the track belongs are recorded in BCD code as file management information.

0番のブロックには、そのテープに記録されるすべての
ファイルを管理するためのデータが格納される。このデ
ータには、ファイル名、ファイルの属性及びそのファイ
ルの記録位置を示すディレクトリデータ、並びにテープ
の記憶領域の使用状況を示すファイル管理データ等が含
まれる。新しいテープを使用する際には、テープの先頭
に0番のブロックを形成する。これをテープのフォーマ
ット操作とする。フォーマット操作が行われた時には、
上記データはすべて0とされる。
Block number 0 stores data for managing all files recorded on that tape. This data includes directory data indicating the file name, file attributes, and recording location of the file, and file management data indicating the usage status of the tape storage area. When using a new tape, a block numbered 0 is formed at the beginning of the tape. This is called a tape formatting operation. When a format operation is performed,
The above data are all set to 0.

本実施例を実施するためのファイル装置及びその制御装
置のブロック図を第2図に示す。ファイル装置(以下で
は、  rDAT装置」と称する)■と。
FIG. 2 shows a block diagram of a file device and its control device for carrying out this embodiment. File device (hereinafter referred to as rDAT device) ■.

パーソナルコンピュータ等のディジタル制御装置(以下
、「ホストコンピュータ」と称する)2とは、各々のイ
ンターフェイス12.21及びシリアルデータ伝送ライ
ン3を介して接続されている。
A digital control device (hereinafter referred to as a "host computer") 2 such as a personal computer is connected via respective interfaces 12, 21 and serial data transmission lines 3.

DAT装置1は、 047部10.コントローラ11.
 ROM13゜ワーキングメモリ托、操作部17を備え
ている。047部10は、テープに対して記録再生を行
うもので。
The DAT device 1 has 047 parts 10. Controller 11.
It is equipped with a ROM 13° working memory and an operation section 17. The 047 unit 10 is for recording and reproducing data on and from a tape.

ドラムサーボ制御、メモリ制?I1.エラー訂正、^T
F制御、 RFアンプの各回路を含むLSIを備えてお
り。
Drum servo control, memory system? I1. Error correction, ^T
It is equipped with an LSI that includes F control and RF amplifier circuits.

コントローラ11により制御される。データ記録時には
、  047部10は、インターフェイス21.12を
介して伝送されるディジタルデータにパリティを付加し
て、2トラック間でインターリーブを行ってD/A変換
し、得られたデータをテープに記録する。
It is controlled by a controller 11. When recording data, the 047 unit 10 adds parity to the digital data transmitted via the interface 21.12, performs interleaving between two tracks, performs D/A conversion, and records the obtained data on tape. do.

再生時には、テープからデータを読み取り、読み取られ
たデータのA/D変換を行い、誤り訂正処理をした後、
インターフェイス12ヘシリアルのディジタルデータと
して出力する。
During playback, data is read from the tape, A/D conversion is performed on the read data, and error correction processing is performed.
It is output to the interface 12 as serial digital data.

インターフェイス12は、コントローラ11により制御
され、ホストコンピュータ2と047部10との間の同
期をとりつつ、16ビツトでなるワード単位でデータ伝
送を行う。
The interface 12 is controlled by the controller 11, and performs data transmission in units of 16-bit words while synchronizing the host computer 2 and the 047 unit 10.

各部の制御を行うコントローラ11には、制御プログラ
ムを格納するRO?+13と、  RAM14中に構成
されるワーキングメモリ15とがパスライン16を介し
て接続されている。コントローラ11は前述のサブコー
ドの制御を行うことにより、ファイルフォーマット制御
を行う。
The controller 11 that controls each part has an RO? that stores a control program. +13 and a working memory 15 configured in RAM 14 are connected via a path line 16. The controller 11 controls the file format by controlling the subcodes described above.

ワーキングメモリ15には、後述のコマンドレジスタ、
フレームカウンタ、ユニットカウンタ等が含まれている
The working memory 15 includes command registers, which will be described later.
Contains a frame counter, unit counter, etc.

操作部17は、テープの取り出し等の外部からの操作を
行うために設けられている。
The operation unit 17 is provided for performing external operations such as taking out a tape.

ホストコンピュータ2はメインCPt120を有してい
る。CPt120には、パスライン26を介して、イン
ターフェイス21.システムプログラムを記憶している
ROM22.  ワーキングメモリ23.  DATメ
モリ24゜DMAコントローラ25.及びその他のI1
0ポート(不図示)が接続されている。
The host computer 2 has a main CPt120. The CPt 120 is connected via a path line 26 to an interface 21 . ROM 22 that stores system programs. Working memory 23. DAT memory 24° DMA controller 25. and other I1
0 port (not shown) is connected.

インターフェイス21は、  DMAコントローラ25
の制御下にDAT装置1との間のデータ伝送を行うもの
であり、パラレルからシリアル及びシリアルからパラレ
ルの両方向のデータ変換を行う。
The interface 21 is a DMA controller 25
It performs data transmission with the DAT device 1 under the control of the DAT device 1, and performs data conversion in both directions, from parallel to serial and from serial to parallel.

ワーキングメモリ23には、ユーザアプリケーションプ
ログラム及び処理データが格納されている。
The working memory 23 stores user application programs and processing data.

また、  DAT装置1との間でデータ交換を行うデー
タもワーキングメモリ23に格納される。図示していな
いイメージスキャナにより読み取られたイメージデータ
もワーキングメモリ23に一旦格納され。
Further, data for data exchange with the DAT device 1 is also stored in the working memory 23. Image data read by an image scanner (not shown) is also temporarily stored in the working memory 23.

その後に、後述のDAT装置1にファイルするための処
理が行われる。ワーキングメモリ23はさらに。
After that, processing for filing into the DAT device 1, which will be described later, is performed. Working memory 23 is further.

後述する位置レジス外ユニットレジスタ等を有している
It has a unit register outside the position register, which will be described later.

DMAコントローラ25は、インターフェイス21から
の要求に基づいて、  CPt120を介在することな
くインターフェイス21とワーキングメモリ23との間
でのデータ転送を行う。
Based on a request from the interface 21, the DMA controller 25 transfers data between the interface 21 and the working memory 23 without intervening the CPt 120.

DAT管理メモリ24は、  DAT装置1をアクセス
する際にテープの0番のブロックより読み出された前述
のディレクトリデータ及びファイル管理データが格納さ
れるディレクトリテーブル及びファイル管理テーブルを
有している。
The DAT management memory 24 has a directory table and a file management table in which the above-mentioned directory data and file management data read from block No. 0 of the tape when accessing the DAT device 1 are stored.

ファイル管理テーブル及びディレクトリテーブルを第3
図を用いて説明する。ファイル管理テーブル30は各ユ
ニットに対応するエントリを有しており、各エントリは
テーブルアドレスを用いてアクセスされる。各エントリ
にはブロック番号31゜ユニット番号32及び使用有無
情報33が格納される。
File management table and directory table in the third
This will be explained using figures. The file management table 30 has an entry corresponding to each unit, and each entry is accessed using a table address. Each entry stores a block number 31, a unit number 32, and usage information 33.

使用有無情報33には、テープ上の該当ユニットにデー
タが記録されていなければ、未使用を示すコードrFF
HJが記録される。そのユニットにデータが記録されて
おり、続きのデータが他のユニットに記録されている場
合には1次のユニットに対応するエントリのテーブルア
ドレス(NEXTアドレス)が格納される。ファイルの
最後尾のデータが記録されているユニットのエントリに
はENDコードが格納されている。あるユニ・ントに記
録されているデータを消去する場合には、そのユニ・ン
トに対応するエントリの使用有無情報33をrFFnJ
に変更する。
If no data is recorded in the corresponding unit on the tape, the usage information 33 contains a code rFF indicating that it is unused.
HJ is recorded. If data is recorded in that unit and subsequent data is recorded in another unit, the table address (NEXT address) of the entry corresponding to the primary unit is stored. An END code is stored in the entry of the unit in which the last data of the file is recorded. When erasing data recorded in a certain unit, the usage information 33 of the entry corresponding to that unit is sent to rFFnJ.
Change to

ディレクトリテーブル34は、各ファイル毎にエントリ
を有するテーブルであり、各エントリには。
The directory table 34 is a table having an entry for each file, and each entry has an entry.

ファイル名35並びにそのファイルを格納している最初
のユニットのブロック番号及びユニ・ノド番号36が格
納される。
The file name 35 and the block number and uni-node number 36 of the first unit storing the file are stored.

DAT装置装置水ストコンピュータ2との間のデータ伝
送手順の概略を説明する。先ず、記録時には、ホストコ
ンピュータ2にて発生した記録すべきデータ量に基づい
て、テープ上での記録に必要なブロック数及びユニット
数を算出する。その後。
An outline of the data transmission procedure between the DAT device and the water strike computer 2 will be explained. First, during recording, the number of blocks and units required for recording on the tape are calculated based on the amount of data to be recorded generated by the host computer 2. after that.

記録を開始するブロック番号とユニット番号との組及び
連続して記録するユニ7)数がDAT装置1へ送出され
、それと共に記録コマンド(REC)が送出される。ホ
ストコンピュータ2はDAT装置1からの確認信号の受
領後、連続的にデータを送出する。データがテープ上で
分割して記録される場合には、データ送出は複数回に分
けて行われ、そのたびにコマンドが送られる。
A set of a block number and a unit number for starting recording and the number of units to be continuously recorded are sent to the DAT device 1, and a recording command (REC) is sent together with them. After receiving the confirmation signal from the DAT device 1, the host computer 2 continuously sends data. When data is divided and recorded on a tape, data transmission is performed multiple times, and a command is sent each time.

再生時には、ホストコンピュータ2において。At the time of playback, in the host computer 2.

再生すべきファイルのファイル名を用いて対応するブロ
ック番号及びユニット番号がディレクトリテーブル34
から取り出される。これらの番号が再生コマンド(PL
AY)と共にDAT装置1に送出された後、 DAT装
置1で再生されたデータが受信される。
Using the file name of the file to be played, the corresponding block number and unit number are stored in the directory table 34.
taken from. These numbers are the playback command (PL)
After being sent to the DAT device 1 along with AY), the data reproduced by the DAT device 1 is received.

次に、第4図乃至第7図を用いて第2図の装置の動作を
より詳細に説明する。
Next, the operation of the apparatus shown in FIG. 2 will be explained in more detail using FIGS. 4 to 7.

(1)記録時 初めて使用するテープにはフォーマットが形成されてお
らず、データはトラック形成を行いながら記録される。
(1) No format is formed on the tape used for the first time during recording, and data is recorded while forming tracks.

既に記録されているテープを使用する場合には、前述の
ようにテープの先頭(0番のブロック)に記録されてい
るファイル管理データ、ディレクトリデータ等がホスト
コンピュータ2のファイル管理テーブル30.ディレク
トリテーブル34等にロードされ、これらのテーブルに
基づいてフォーマット制御される。
When using a tape that has already been recorded, the file management data, directory data, etc. recorded at the beginning of the tape (block number 0) are stored in the file management table 30. of the host computer 2 as described above. The data is loaded into the directory table 34 or the like, and the format is controlled based on these tables.

イメージスキャナ等により読み取ったイメージデータを
ファイルする際には、ホストコンピュータ2は記録すべ
きデータのinを求める(ステップ101)。このデー
タilnを1ユニット当りのバイト数m(本実施例では
128にバイト)で除して、記録するのに必要なユニッ
ト数を算出し、ワーキングメモリ23に形成されている
ユニットレジスタ41(第3図)に格納する(ステップ
102)。
When filing image data read by an image scanner or the like, the host computer 2 obtains the IN of the data to be recorded (step 101). The number of units required for recording is calculated by dividing this data in by the number of bytes m per unit (in this example, 128 bytes). 3) (step 102).

次に、ファイル管理テーブル30 (第3図)の先頭よ
り空き↓ニットの検索を行う。使用有無情報33に未使
用コード’FFHコが記録されていれば空きユニットと
判断される。使用有無情報33にENDコード又は他の
データが記録されているならば。
Next, a search for free ↓nits is performed from the beginning of the file management table 30 (Fig. 3). If the unused code 'FFH is recorded in the usage information 33, it is determined that the unit is empty. If an END code or other data is recorded in the usage information 33.

使用済ユニットと判断される。このようにして空きユニ
ットが見い出されると、ワーキングメモリ23内の位置
レジスタ40(第3図)にそのブロック番号及びユニッ
ト番号を格納する(ステップ103〜104)。UNC
カウンタ42には1をプリセットする(ステップ105
)。
It is determined to be a used unit. When a vacant unit is found in this manner, its block number and unit number are stored in the position register 40 (FIG. 3) in the working memory 23 (steps 103-104). UNC
The counter 42 is preset to 1 (step 105).
).

ステップ1’02に於いて算出されユニットレジスタ4
1に格納されている。データ量に相当したユニット数と
、  UNCカウンタ42とを比較する(ステップ10
6)。tlNcカウンタ42の方が小さければ、ステッ
プ107〜123を実行してUNCカウンタがユニット
数と等しくなるまで次の空きユニットを検索する。
Calculated in step 1'02 and unit register 4
It is stored in 1. The number of units corresponding to the data amount is compared with the UNC counter 42 (step 10).
6). If the tlNc counter 42 is smaller, steps 107 to 123 are executed to search for the next free unit until the UNC counter becomes equal to the number of units.

UNCカウンタ42とユニット数とが等しければ、即ち
、記録エリアが確保されたならば、ステップ130以降
を実行する。
If the UNC counter 42 and the number of units are equal, that is, if the recording area is secured, steps 130 and subsequent steps are executed.

ステップ107では上で検索したユニットの次のユニッ
トを検索する。空きユニット(FFn)であると判定さ
れたならば、そのテーブルアドレスをNEXTレジスタ
44(第3図)に格納し、 NEXT1zジスタ44の
内容を前のユニットの使用有無情報33に格納し、  
tlNcカウンタ42をカウントアツプする(ステップ
108〜111)。この動作を繰り返すことによって、
連続するエリア、即ち、テープ上の連続するユニットを
確保する。
In step 107, the unit next to the unit searched above is searched. If it is determined that it is a free unit (FFn), its table address is stored in the NEXT register 44 (FIG. 3), the contents of the NEXT1z register 44 are stored in the previous unit's usage information 33,
The tlNc counter 42 is counted up (steps 108 to 111). By repeating this action,
Ensure continuous areas, ie consecutive units on the tape.

以上の動作によって、記録すべきデータ量が全て連続す
るエリアに格納可能である場合には、ステップ106よ
りステップ130へ移行して、最後尾のユニットの使用
有無情報33にENDコードを記録し、ステップ140
へ移行する。
If the amount of data to be recorded can all be stored in a continuous area through the above operations, the process moves from step 106 to step 130, and an END code is recorded in the usage information 33 of the last unit. Step 140
Move to.

他方、動作の途中でrFFH,以外のデータが検知され
ると、ステップ120へ移行し、未使用のユニットを検
索し続ける。rFF、Jのユニットが検索されると、そ
のテーブルアドレスをNEXTレジスタ44に格納し、
そのアドレスを先の空きエリアの内の最後尾ユニットの
使用有無情報33に格納する。この状態で検索を中断し
、データを分割して記録するために、記録動作を行うス
テップ140へ移行する。
On the other hand, if data other than rFFH is detected during operation, the process moves to step 120 and continues searching for unused units. When the rFF, J unit is retrieved, its table address is stored in the NEXT register 44,
The address is stored in the usage information 33 of the last unit in the empty area. In this state, the search is interrupted and the process moves to step 140 where a recording operation is performed in order to divide and record the data.

ステップ140に於いて、ユニットレジスタ41の値と
UNCカウンタ42の値との差(ユニットUNC)をユ
ニットレジスタ41の内容とする。その後、ステップ1
04又は後述のステップ148に於いて位置レジスタ4
0に格納したブロック番号及びユニット番号並びに、 
 tlNcカウンタ42のデータをコマンドレジスタ4
3(第3図)に格納し、  RFCコマンドとコマンド
レジスタ43の内容とをインターフェイス21を介して
DAT装置1へ転送する(ステップ141)。
In step 140, the difference (unit UNC) between the value of the unit register 41 and the value of the UNC counter 42 is set as the content of the unit register 41. Then step 1
04 or in step 148 described below.
The block number and unit number stored in 0 and
The data of the tlNc counter 42 is transferred to the command register 4.
3 (FIG. 3), and transfers the RFC command and the contents of the command register 43 to the DAT device 1 via the interface 21 (step 141).

イメージデータを順次伝送し、1ユニット当りのバイト
数mに相当する量だけ送出される毎にtlNcカウンタ
42をカウントダウンする。 UNCカウンタ42の値
がOになるまでこれを繰り返す(ステップ142〜14
5)。
The image data is transmitted sequentially, and the tlNc counter 42 is counted down each time an amount corresponding to the number m of bytes per unit is transmitted. This is repeated until the value of the UNC counter 42 becomes O (steps 142 to 14).
5).

ステップ146に於いてユニットレジスタが0でなけれ
ば1分割して記録すべきデータが残っていると判断し、
先のNEXTレジスタ44の内容に基づいてファイル管
理テープ、ル30のエントリを選択し。
If the unit register is not 0 in step 146, it is determined that there remains data to be divided into one and recorded,
An entry in the file management tape 30 is selected based on the contents of the NEXT register 44.

そのブロック番号とユニット番号とを位置レジスタ40
に格納する(ステップ147及び148)。ステップ1
11に戻って次の連続エリアを確保する。
The block number and unit number are stored in the position register 40.
(steps 147 and 148). Step 1
Return to step 11 and secure the next continuous area.

ユニットレジスタ41が0であれば、全ての記録が終了
したと判断し、記録したファイルの先頭となったユニッ
トのブロック番号とユニット番号とをディレクトリテー
ブル34に格納し、更に、各種レジスタ及びカウンタを
リセットする(ステップ149及び150)。
If the unit register 41 is 0, it is determined that all recording has been completed, and the block number and unit number of the first unit of the recorded file are stored in the directory table 34, and various registers and counters are stored. Reset (steps 149 and 150).

DAT装置1は上記RFCコマンドを受は取ると。The DAT device 1 receives the above RFC command.

第5図のフローを実行する。Execute the flow shown in Figure 5.

ホストコンピュータ2からRFCコマンドと共に伝送さ
れたブロック番号及びユニット番号をワーキングメモ1
月4に形成された位置レジスタにセ・ン卜する。更に、
ワーキングメモ1月4に形成されたフレームカウンタを
リセットする(ステップ201〜203)。
Working memo 1 contains the block number and unit number transmitted from host computer 2 along with the RFC command.
Enter the position register created on month 4. Furthermore,
Working Memo Reset the frame counter formed on January 4 (steps 201-203).

シリアルに伝送されたデータが受信される。受信データ
はワーキングメモ1月4内のバッファに格納され、パリ
ティデータが付加され、インターリーブ処理が行われる
(ステップ204)。
Serially transmitted data is received. The received data is stored in a buffer in the working memo January 4, parity data is added, and interleaving processing is performed (step 204).

上記処理の1フレ一ム分が終了すると、記録指示がなさ
れ、上記ブロック番号及びユニット番号に対応するトラ
ックを高速サーチする。この時。
When one frame of the above processing is completed, a recording instruction is given, and a track corresponding to the block number and unit number is searched at high speed. At this time.

先に説明したように、サブコードエリアに格納している
ブロック番号及びユニット番号を読み取り。
As explained earlier, read the block number and unit number stored in the subcode area.

目的位置のトラックまで高速サーチされる。目的のトラ
ックがサーチされると、データ記録が行われ、フレーム
カウンタがカウントアツプされる(ステップ206〜2
09)。フレームカウンタが25に達するまでステップ
204〜209を繰り返す。フレームカウンタが25に
達すると、ユニットカウンタを更新しくステップ212
) 、次のユニットにデータを記録する。
A high-speed search is performed to reach the target track. When the target track is searched, data recording is performed and the frame counter is counted up (steps 206 to 2).
09). Steps 204-209 are repeated until the frame counter reaches 25. When the frame counter reaches 25, update the unit counter in step 212.
), record data to the next unit.

この記録に際して、各トラックTRのサブコードエリア
91には、ブロック番号及びユニット番号が記録される
During this recording, a block number and a unit number are recorded in the subcode area 91 of each track TR.

受信されたデータの全てが記録されると、最後のユニッ
トでは、一部のフレームのみにデータが記録されている
ので、データが記録されていない残りのフレームには上
記フォーマットとデータゼロが記録される(ステップ2
13〜215)。
When all of the received data is recorded, in the last unit, data is recorded only in some frames, so the above format and data zero are recorded in the remaining frames where no data is recorded. (Step 2
13-215).

以上のようにして、第1図に示すようにフォーマット化
されたデータ記録が成される。
In the manner described above, data is recorded in a format as shown in FIG.

(2)再生時 再生時のホストコンピュータ夕2の動作のフローを第6
図に示す。ホストコンピュータ2の再生時の動作は基本
的には記録時のそれとほぼ同様であるので、その動作は
概略のみを説明する。
(2) During playback The flow of the operation of the host computer 2 during playback is shown in the 6th section.
As shown in the figure. Since the operation of the host computer 2 during playback is basically almost the same as that during recording, only an outline of the operation will be described.

読み出すべきファイル名が入力されると、ホストコンピ
ュータ2はそのディレクトリテーブル34(第3図)を
参照し、記録開始ブロック番号及びユニット番号を取り
出す。これらのブロック番号及びユニット番号に基づい
てファイル管理テーブル30(第3図)が参照され、連
続するユニット数が求められ、 PLAYコマンドと共
にDAT装置lに伝送される。データが分割されて記録
されている場合には、その都度ブロック番号及びユニッ
ト番号が取り出され、 PLAYコマンドと共にDAT
ATiO3送される。DATATiO3り再生され、送
信されてきたデータはワーキングメモリ23に格納され
る。
When the file name to be read is input, the host computer 2 refers to its directory table 34 (FIG. 3) and extracts the recording start block number and unit number. Based on these block numbers and unit numbers, the file management table 30 (FIG. 3) is referred to, the number of consecutive units is determined, and is transmitted to the DAT device 1 together with the PLAY command. If the data is recorded in parts, the block number and unit number are extracted each time, and the DAT is sent along with the PLAY command.
ATiO3 is sent. The data that has been reproduced and transmitted is stored in the working memory 23.

再生時のDATATiO3作を第7図に示す。この動作
は上述の説明と第7図に示すフローとから明らかである
ので、その詳細な説明は省略する。
Figure 7 shows the DATATiO3 production during playback. Since this operation is clear from the above explanation and the flow shown in FIG. 7, detailed explanation thereof will be omitted.

記録時の動作の一例を、第8図を用いて、簡単に説明す
る。第8図は、テープ上に0番のブロック(ディレクト
リデータ等が記録されている)並びに3個のファイル8
1.82及び83が記録されている状態を模式的に示し
ている。各ブロックは0番から24番までの25個のユ
ニットを有している。ファイル83は3番のブロックの
4番のユニットまでを占有しているものとする。ここで
新たに第4のファイルを登録するとする。第4のファイ
ルの大きさは25ユニット分とする。まず、3番のブロ
ックの0番のユニットの先端までテープを早送り(サー
チ)し、0番のユニットから4番のユニットの終端まで
再生を行う、5番のユニット以降のPCMエリア93に
第4のファイルのデータを記録する。
An example of the operation during recording will be briefly explained using FIG. 8. Figure 8 shows block number 0 (in which directory data etc. are recorded) and three files 8 on the tape.
A state in which 1.82 and 83 are recorded is schematically shown. Each block has 25 units numbered 0 to 24. It is assumed that the file 83 occupies up to the fourth unit of the third block. Now suppose that a fourth file is newly registered. The size of the fourth file is 25 units. First, the tape is fast-forwarded (searched) to the beginning of unit number 0 in block number 3, and playback is performed from unit number 0 to the end of unit number 4. Record the data of the file.

3番のブロックの24番のユニットの終端を検出すると
、それ以降にはサブコードエリア91にブロック番号及
びユニット番号が記録されていないので。
When the end of the 24th unit of the 3rd block is detected, no block number or unit number is recorded in the subcode area 91 after that.

ブロック番号である4及び0番から始まるユニット番号
を各トラックのサブコードエリア91に記録すると共に
、  PCMエリア93にデータを記録する。
Unit numbers starting from block numbers 4 and 0 are recorded in the subcode area 91 of each track, and data is recorded in the PCM area 93.

第4のファイルの記録は4番のブロックの4番のユニッ
トで終了する。その後、24番のユニットマで、即ち4
番のブロック4の終わりまで、各トラックのサブコード
エリアにブロック番号及びユニット番号を記録してゆ(
。最後に0番のブロック0のディレクトリデータエリア
に第4のファイルに関する情報を登録する。
The recording of the fourth file ends with the fourth unit of the fourth block. Then, with unit number 24, i.e. 4
Record the block number and unit number in the subcode area of each track until the end of block 4.
. Finally, information regarding the fourth file is registered in the directory data area of block 0, numbered 0.

(発明の効果) 本発明によれば、記録媒体上の多数のトラックが少な(
とも1個のトラックで構成される第1段の区画、及び複
数個の該第1段の区画で構成される第2段の区画を含む
少な(とも2段階に区画されており、記録媒体へのデー
タの記録及び該記録媒体からのデータの再生に際して、
第2段の区画以上の上位の段の区画を単位としてデータ
を管理することができる。従って、データ管理に要する
記憶域や処理時間が小さくて済み、  R−DAT用の
テープ等の安価であり、大容量であり、且つ取り換え可
能である記録媒体にイメージデータ等の大量のデータを
効率よく記録、再生、消去することが可能なファイルフ
ォーマット方法が堤供される。
(Effects of the Invention) According to the present invention, a large number of tracks on a recording medium can be reduced (
A first-stage section consisting of one track, and a second-stage section consisting of a plurality of first-stage sections. When recording data and reproducing data from the recording medium,
Data can be managed in units of partitions in higher tiers than the second tier partitions. Therefore, the storage area and processing time required for data management are small, and large amounts of data such as image data can be efficiently stored on inexpensive, large-capacity, and replaceable recording media such as R-DAT tape. File formatting methods are often provided that allow recording, playback, and erasure.

本発明方法によるフォーマットは、規格化されているオ
ーディオ用のフォーマットを崩すことなく行うことがで
きるので、オーディオ用に開発されたR−DAT用テー
プ等の広く市販されており入手容易な記録媒体をそのま
ま使用できる。
Since formatting according to the method of the present invention can be performed without breaking the standardized audio format, widely available and easily available recording media such as R-DAT tape developed for audio can be used. It can be used as is.

本発明によれば、ファイルフォーマットのトラックのパ
ターンは音響用のR−DATと同一とすることができる
。従って2本発明を適用したファイル装置はR−DAT
との共通化が可能となり9回転ドラム等の高価な部品も
R−DAT用として大量生産されているものをそのまま
使用できるので、オーディオ用のR−DATとしても使
用可能な大容量のファイル装置を安価に供給することが
可能となる。
According to the invention, the track pattern of the file format can be the same as R-DAT for audio. Therefore, the file device to which the present invention is applied is R-DAT.
This allows for common use with the 9-turn drum and other expensive parts that are mass-produced for R-DAT, making it possible to use large-capacity file devices that can also be used as R-DAT for audio. It becomes possible to supply it at low cost.

4、 パ  の   な蕾゛J 第1図は本発明の一実施例によるファイルフォーマット
を示す図、第2図はその実施例を実施するためのファイ
ル装置及びその制御装置のブロック図、第3図はその制
御装置内に形成されるテーブル、レジスタ等を模式的に
示す図、第4図は記録時の制御装置の動作を示すフロー
チャート第5図は記録時のファイル装置の動作を示すフ
ローチャート、第6図は再生時の制御装置の動作を示す
フローチャート第7図は再生時のファイル装置の動作を
示すフローチャート、第8図は記録媒体である磁気テー
プの記録状態の一例を模式的に示す図、第9図はR−D
ATにおけるトラックのフォーマットを示す図である。
4. Pa's Nabuds J Fig. 1 is a diagram showing a file format according to an embodiment of the present invention, Fig. 2 is a block diagram of a file device and its control device for carrying out the embodiment, Fig. 3 4 is a flowchart showing the operation of the control device during recording, and FIG. 5 is a flowchart showing the operation of the file device during recording. FIG. 6 is a flowchart showing the operation of the control device during reproduction. FIG. 7 is a flowchart showing the operation of the file device during reproduction. FIG. 8 is a diagram schematically showing an example of the recording state of the magnetic tape as a recording medium. Figure 9 is R-D
FIG. 3 is a diagram showing the format of a track in AT.

TA・・・テープ(記録媒体)、TR・・・トラック、
 F・・・フレーム(第1段の区画L  u・・・ユニ
ット(第2段の区画)、B・・・ブロック(第3段の区
画)、1・・・DAT装置(記録再生装置)、2・・・
ホストコンピュータ(制御装置)、91・・・サブコー
ドエリア(サブエリア)、92・・・ATFエリア、9
3・・・PCMエリア(メインエリア)。
TA...tape (recording medium), TR...track,
F... Frame (first stage section L u... unit (second stage section), B... block (third stage section), 1... DAT device (recording/reproducing device), 2...
Host computer (control device), 91...Subcode area (subarea), 92...ATF area, 9
3...PCM area (main area).

以上that's all

Claims (1)

【特許請求の範囲】 1、記録媒体に、サブエリアと記録すべきデータが記録
されるメインエリアとを有する多数のトラックを形成す
ること、 該多数のトラックを、少なくとも1個のトラックで構成
される第1段の区画、及び複数個の該第1段の区画で構
成される第2段の区画を含む少なくとも2段階に区画す
ること、並びに トラックのサブエリアに該トラックが属する少なくとも
第2段の区画名を記録すること を包含するファイルフォーマット方法。
[Claims] 1. Forming a large number of tracks on a recording medium, each having a subarea and a main area in which data to be recorded is recorded; partitioning into at least two stages including a first stage compartment consisting of a plurality of first stage compartments, and a second stage compartment comprising a plurality of said first stage compartments, and at least a second stage to which said truck belongs to a subarea of said truck. A file formatting method that includes recording the partition name.
JP5319788A 1988-03-07 1988-03-07 File format method Pending JPH01227273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5319788A JPH01227273A (en) 1988-03-07 1988-03-07 File format method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5319788A JPH01227273A (en) 1988-03-07 1988-03-07 File format method

Publications (1)

Publication Number Publication Date
JPH01227273A true JPH01227273A (en) 1989-09-11

Family

ID=12936148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5319788A Pending JPH01227273A (en) 1988-03-07 1988-03-07 File format method

Country Status (1)

Country Link
JP (1) JPH01227273A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5379152A (en) * 1989-11-28 1995-01-03 Sony Corporation Data recorder which partitions the recording medium into data information and table of contents information
US5602686A (en) * 1992-02-28 1997-02-11 Ampex Corporation Magnetic tape resident volume format table for data recording system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5379152A (en) * 1989-11-28 1995-01-03 Sony Corporation Data recorder which partitions the recording medium into data information and table of contents information
US5602686A (en) * 1992-02-28 1997-02-11 Ampex Corporation Magnetic tape resident volume format table for data recording system

Similar Documents

Publication Publication Date Title
US6298414B1 (en) Method and medium for recording digital data
JP2993994B2 (en) Data storage device and data storage method
JPH04141867A (en) File managing method
JPH08501172A (en) Volume format table for data recording system
JPH08501169A (en) Digital servo track format
JPH08501168A (en) Data recording system having a single end-of-record and start-of-record format indicator
JPH01227273A (en) File format method
JP3632213B2 (en) Signal processing device
JPS63104284A (en) Disk file access system
WO2001008013A1 (en) Disk medium managing method
KR100235123B1 (en) Digital data copying device using tape streamer
JPH04238160A (en) Signal reproducing device
JP2001282462A (en) Recording/reproducing device and file managing method
JP2787839B2 (en) Digital recording device
JPH02132516A (en) System and method for write enable type optical disk controlling
JP3568347B2 (en) Magnetic recording / reproducing device
JPH01282778A (en) Storing control method for optical disk
JPH0950353A (en) Library type storage
JP2000285640A (en) Information recording and reproducing device
JP2784650B2 (en) Optical disk storage management method
JP2921134B2 (en) Signal recording device and signal reproducing device
JP2001283563A (en) Recording and reproducing device
JPS601670A (en) Data recording method and data recorder used for said recording method
JPH02299036A (en) Information recording and reproducing method
JPH01307983A (en) Digital data recording and reproducing device