JPS60115085A - Magnetic tape file control method - Google Patents

Magnetic tape file control method

Info

Publication number
JPS60115085A
JPS60115085A JP22346583A JP22346583A JPS60115085A JP S60115085 A JPS60115085 A JP S60115085A JP 22346583 A JP22346583 A JP 22346583A JP 22346583 A JP22346583 A JP 22346583A JP S60115085 A JPS60115085 A JP S60115085A
Authority
JP
Japan
Prior art keywords
file
tape
magnetic tape
area
files
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
JP22346583A
Other languages
Japanese (ja)
Inventor
Tamaki Hirota
廣田 珠規
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP22346583A priority Critical patent/JPS60115085A/en
Publication of JPS60115085A publication Critical patent/JPS60115085A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • G11B27/327Table of contents
    • G11B27/328Table of contents on a tape [TTOC]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE:To shorten the file control time for a magnetic tape by adding a header block at the head of each file to show the file information and therefore attaining the retrieval of the file from the present tape position without performing the rewind for each retrieval of file. CONSTITUTION:Files 3a, 3b,... divided by tape marks 2a, 2b,... consist of data blocks 6a, 6b,.... A header block 7 set at each head of files 3a, 3b,... includes an area 8 where the identification code of the block 7 is recorded and an area 9 where file numbers of files 3a, 3b,... are shown. When a specific file is retrieved, the file number is obtained from the area 9 of the block 7 and compared with the desired file number. Then a magnetic tape is rewound only in case the read- out file number is larger than the desired file number. When no coincidence is obtained from said comparison, the tape is advance for retrieval to read out the next file.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、磁気テープのファイル管理方法に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a magnetic tape file management method.

〔従来技術〕[Prior art]

従来、この種の方法としては、第1図及び第2図に示す
ものがあった。第1図において、1はカセット磁気テー
プの始端を示す孔、2a〜2dはテープマーク、3a〜
3cはテープマーク28〜2dにより区切られたファイ
ル、4はファイル3a〜3Cの並びの終了を示す消去領
域、5はテープの終了を示す孔である。第2図は各ファ
イル3a〜3Cのフォーマット図である。各ファイル3
a〜3Cは複数のデータブロック6a〜6dからなる。
Conventionally, this type of method has been shown in FIGS. 1 and 2. In FIG. 1, 1 is a hole indicating the starting end of the cassette magnetic tape, 2a to 2d are tape marks, and 3a to
3c is a file separated by tape marks 28-2d, 4 is an erasing area indicating the end of the sequence of files 3a-3C, and 5 is a hole indicating the end of the tape. FIG. 2 is a format diagram of each of the files 3a to 3C. Each file 3
a to 3C are composed of a plurality of data blocks 6a to 6d.

次に動作について説明する。コンピュータにより希望す
るファイル番号をもつ、例えば、ファイル3bを検索す
る場合を例にとり説明する。まずテープの巻戻しを行な
い、孔1より始端側へ移動する。次に最初のテープマー
ク2aの検索を行なう。検出したテープマーク2aのテ
ープマーク数と希望するファイル番号との比較を行なう
。この場合、アープマーり数がファイル3bのファイル
番号より小さいので終了方向へさらにテープを進め、テ
ープマーク2bの検索を行なう。これによるテープマー
ク数とファイル番号は一致するので、テープマーク2b
に続くファイル3bが希望するものである。もし、消去
領域4まで検索を行なってもテープマーク数とファイル
番号が一致しない場合は希望するファイルは存在しない
ものと解釈される。
Next, the operation will be explained. An example will be explained in which a computer searches for, for example, file 3b having a desired file number. First, the tape is rewound and moved from hole 1 to the starting end side. Next, a search is performed for the first tape mark 2a. The number of detected tape marks 2a is compared with the desired file number. In this case, since the number of arp marks is smaller than the file number of file 3b, the tape is further advanced in the end direction and a search for tape mark 2b is performed. Since the number of tape marks and the file number match, tape mark 2b
The file 3b following is the desired one. If the number of tape marks and the file number do not match even after searching up to erase area 4, it is interpreted that the desired file does not exist.

従来のカセットファイル管理方法は、以上のよう罠構成
されていたので、希望するファイルを検索するためには
、たとえ現在のテープ位置が希望するファイル上にあっ
ても一旦始端まで巻き戻しをしなければならず、時間的
な効率が悪いという欠点があった。
Conventional cassette file management methods have the trap structure described above, so in order to search for the desired file, even if the current tape position is on the desired file, the tape must be rewound to the beginning. However, it also had the disadvantage of being inefficient in terms of time.

〔発明の概要〕[Summary of the invention]

この発明は、上記のような従来のものの欠点を除去する
ためになされたもので、各ファイルの先頭にそのファイ
ルに関する情報を示したヘッダブロックを付加すること
により、現在のテープ位置からファイルの検索が行なえ
る磁気テープのファイル管理方法を提供することを目的
としている。
This invention was made to eliminate the drawbacks of the conventional methods as described above. By adding a header block indicating information about the file to the beginning of each file, it is possible to search for a file from the current tape position. The purpose of this paper is to provide a magnetic tape file management method that can be used to manage files on magnetic tape.

〔発明の実施例〕 以下この発明の一実施例を図について説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第3図は第1図における各ファイル3a〜3cのフォー
マット図である。図において6a〜6Cはデータブロッ
ク、7は各ファイル3a〜3cの先頭圧置かれ、それぞ
れのヘッダ情報が格納されているヘッダブロック、8は
ヘッダブロック7の識別コードを記録する領域、9はフ
ァイル3a〜3Cのファイル番号を示す領域である。
FIG. 3 is a format diagram of each of the files 3a to 3c in FIG. 1. In the figure, 6a to 6C are data blocks, 7 is a header block placed at the beginning of each file 3a to 3c and stores the respective header information, 8 is an area for recording the identification code of header block 7, and 9 is a file This is an area showing file numbers 3a to 3C.

次に上記構成の動作について希望するファイルを検索す
る場合を例にとり図を用いて説明する。
Next, the operation of the above configuration will be explained with reference to the drawings, taking as an example the case of searching for a desired file.

まず、ステップ10においてテープマーク2a〜2dを
検索し、これに続(ヘッダブロック7の領域9からファ
イル番号をめる。ステップ11において希望するファイ
ル番号と検出したファイル番号とを比較する。両ファイ
ル番号が一致する場合(−)は、ファイル検索を完了す
る。希望するファイルノファイル番号が検出したファイ
ル番号より小さい場合(<)は、ステップ12に進み、
テープ巻戻しを行なう。逆に大きい場合(〉)はステッ
プ13に進み、テープを進めてステップ10と同じ処理
を行なう。ステップ14において続いて読み込んだブロ
ックが消去領域4であるかどうかのチェックを行ない、
消去領域4であれば、希望するファイルは存在しなかっ
たことになるので、エラー終了となる。消去領域4でな
くファイル3a〜3Cであれば、ステップ15において
、その検出したファイル番号と希望するファイル番号を
比較し、一致すれば、ファイル検索を完了し、検出した
ファイル番号の方が大きい場合(<)はエラー終了どな
る。その他の場合(−、>)はステップ13−〜ステッ
プ15までの処理を、ファイル検索が完了するまで、又
は希望するファイルが存在せず、エラー終了となるまで
繰返す。
First, in step 10, tape marks 2a to 2d are searched, and then a file number is written from area 9 of header block 7. In step 11, the desired file number and the detected file number are compared. Both files If the numbers match (-), the file search is completed. If the desired file number is smaller than the detected file number (<), proceed to step 12;
Perform tape rewind. Conversely, if it is larger (>), the process proceeds to step 13, where the tape is advanced and the same process as step 10 is performed. In step 14, it is checked whether the subsequently read block is in the erase area 4,
If it is erase area 4, it means that the desired file does not exist, and the process ends with an error. If it is not erase area 4 but files 3a to 3C, the detected file number and the desired file number are compared in step 15, and if they match, the file search is completed, and if the detected file number is larger (<) indicates an error termination. In other cases (-, >), the processes from step 13 to step 15 are repeated until the file search is completed or the desired file does not exist and the process ends with an error.

また上記実施例では、ヘッダブロック7にファイル番号
を示す領域9を設けたものを示したが、ヘッダブロック
Tにそのファイルに含まれるデータブロック数を示す領
域を設けてもよく、上記実施例と同様の効果を奏する。
Further, in the above embodiment, the header block 7 is provided with an area 9 indicating the file number, but the header block T may also be provided with an area indicating the number of data blocks included in the file. It has a similar effect.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によればファイルの先頭にその
ファイルの情報を示すヘッダブロックな付加したので、
ファイル検索の度にいちいち巻戻しを行なう必要がなく
なり、ファイル検索に要する時間が短縮できるという効
果がある。
As described above, according to the present invention, a header block indicating information about the file is added to the beginning of the file.
There is no need to rewind each time a file is searched, which has the effect of shortening the time required to search for a file.

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

第1図はカセット磁気テープの記録フォーマット図、第
2図は従来のファイルのフォーマット図、第3図はこの
発明の一実施例によるファイルのフォーマット図、第4
図はこの発明によりファイルを検索する処理のフロー図
である。 1.5・・・孔、2・・・テープマーク、3・・・ファ
イル、4・・・消去領域、6・・・データブロック、7
・・・ヘッダブロック、8.9・・・領域。 なお、図中、同一符号は同−又は相当部分を示す0
FIG. 1 is a recording format diagram of a cassette magnetic tape, FIG. 2 is a conventional file format diagram, FIG. 3 is a file format diagram according to an embodiment of the present invention, and FIG.
The figure is a flow diagram of the process of searching for files according to the present invention. 1.5... Hole, 2... Tape mark, 3... File, 4... Erase area, 6... Data block, 7
...Header block, 8.9...Area. In addition, in the figures, the same symbols indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 磁気テープ上鏡記録される各ファイルの先頭ブロックに
当該ファイルの番号を記録する領域を設け、特定のファ
イルを検索する場合は上記磁気テープから読み出された
ファイルの番号と上記特定ファイルの番号とを比較し、
読み出された上記ファイルの番号が上記特定ファイルの
番号より大きいときにのみ上記磁気テープの巻戻しをし
、また不一致のときは次のファイルを読み出すように上
記磁気テープを進めて検索するようにした磁気テープフ
ァイル管理方法。
An area is provided in the first block of each file recorded on the magnetic tape to record the number of the file, and when searching for a specific file, the number of the file read from the magnetic tape and the number of the specific file are combined. Compare the
The magnetic tape is rewound only when the number of the read file is greater than the number of the specific file, and when they do not match, the magnetic tape is advanced to read the next file. magnetic tape file management method.
JP22346583A 1983-11-28 1983-11-28 Magnetic tape file control method Pending JPS60115085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22346583A JPS60115085A (en) 1983-11-28 1983-11-28 Magnetic tape file control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22346583A JPS60115085A (en) 1983-11-28 1983-11-28 Magnetic tape file control method

Publications (1)

Publication Number Publication Date
JPS60115085A true JPS60115085A (en) 1985-06-21

Family

ID=16798571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22346583A Pending JPS60115085A (en) 1983-11-28 1983-11-28 Magnetic tape file control method

Country Status (1)

Country Link
JP (1) JPS60115085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5355259A (en) * 1992-02-28 1994-10-11 Ampex Corporation 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
US5355259A (en) * 1992-02-28 1994-10-11 Ampex Corporation Volume format table for data recording system
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
US5825726A (en) Multi-session disc and a high-speed access method thereto
KR100603157B1 (en) Digital data recording method and digital data recording medium
US4932014A (en) Data recording and reading system
JPS63121179A (en) Staging method
US4279004A (en) Method for controlling rotary memory device
JPS60115085A (en) Magnetic tape file control method
JPS63104284A (en) Disk file access system
JP4946126B2 (en) Data recording method and data recording apparatus
JP2525809B2 (en) Search device
JP2872249B2 (en) Recording / reproducing method of optical card management information
JPS6391887A (en) Data recording system
JPH1173354A (en) Magnetic storage device
JPS63298869A (en) Recording and reproducing device
JPH0518196B2 (en)
JPH0336681A (en) Optical card and optical card recording and reproducing device
JPH0233786A (en) Optical disk device
JPH02132516A (en) System and method for write enable type optical disk controlling
JPH05151716A (en) Data backup method of magnetic tape
JPH041977A (en) Data recording method
JPH04293116A (en) Tape system storage device control method
JPS62177642A (en) File management system for postscript filing device
JPS60212886A (en) Magnetic disc recorder
JPH036634A (en) File storing system for floppy disk
JPH02122489A (en) Magnetic tape device
JPH02185783A (en) Read/write system for cartridge magnetic tape device