JPH04104315A - File retrieval system for magnetic tape device - Google Patents

File retrieval system for magnetic tape device

Info

Publication number
JPH04104315A
JPH04104315A JP22160790A JP22160790A JPH04104315A JP H04104315 A JPH04104315 A JP H04104315A JP 22160790 A JP22160790 A JP 22160790A JP 22160790 A JP22160790 A JP 22160790A JP H04104315 A JPH04104315 A JP H04104315A
Authority
JP
Japan
Prior art keywords
file
tape
magnetic tape
vtoc
search
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
JP22160790A
Other languages
Japanese (ja)
Inventor
Yoshiichi Sekiya
関谷 由一
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.)
NEC Software Kansai Ltd
Original Assignee
NEC Software Kansai 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 NEC Software Kansai Ltd filed Critical NEC Software Kansai Ltd
Priority to JP22160790A priority Critical patent/JPH04104315A/en
Publication of JPH04104315A publication Critical patent/JPH04104315A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To position a tape up to a file to be retrieved at rewinding speed at the time of file retrieval by permitting a magnetic tape retrieval sensor to detect the position of the file on the tape. CONSTITUTION:Writing into the tape is executed from a program, a tape position in the head of the file is detected and data is written into VTOC. When the writing into the tape is terminated, the tape position at the end of the file is detected and data is written into VTOC. When the name of the file 'FFF' is read by the program, VTOC is retrieved first, and the start position of the tape is detected. The magnetic tape is fast forwarded to the immediate front of the tape start position '104'. HDR of 'FFF' is searched from the position and 'FFF' is retrieved. When th unload instruction of the tape is executed, VTOC on the memory is written into the VTOC area of the magnetic tape and the tape is unloaded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気テープ装置の使用・運用に関し、特に磁気
テープ1巻に複数のファイルを格納した場合のファイル
検索方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to the use and operation of a magnetic tape device, and particularly to a file search method when a plurality of files are stored on one volume of magnetic tape.

〔従来の技術〕[Conventional technology]

従来の磁気テープ装置のファイル検索はファイルシーケ
ンシャル番号の指定又は外部ファイル名の指定によって
HDR(ファイルへッタラヘル)を磁気テープの頭より
サーチし、検索したいファイルに位置づける方法となっ
ていた。
File searches in conventional magnetic tape devices have been carried out by searching for HDR (file header) from the beginning of the magnetic tape by specifying a file sequential number or an external file name, and locating the file to be searched.

〔発明か解決しようとする課題〕[Invention or problem to be solved]

上述した従来のファイル検索方法は磁気テープ上のHD
 Rをサーチして検索したいファイルに位置ずける方法
となっているので、1本の磁気テープに複数のファイル
を格納した場合、磁気テープの後方のファイルを検索し
ようとすると磁気テープの頭より検索したいファーイル
が見つかるまでHDRがサーチされて行く。この場合、
HD Hの内容が読める速さでサーチされるので、ファ
イル検索までに非常に時間かかかるという欠点がある。
The conventional file search method described above is based on HD files on magnetic tape.
The method is to search for R and locate the file you want to search, so if multiple files are stored on one magnetic tape, if you try to search for a file at the back of the magnetic tape, the search will start from the beginning of the magnetic tape. HDR is searched until the desired file is found. in this case,
Since the contents of the HDH are searched as fast as it can be read, the disadvantage is that it takes a very long time to search for a file.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の磁気テープ装置のファイル検索方式は、磁気テ
ープ位置検索センサーを有し、前記センサーによってフ
ァイルか磁気テープのとの位置から始まりどこて終って
いるかを数値によって表現し、前記数値をファイル格納
位置としてVTOCエリアに格納し、ファイルの検索処
理時には前記VTOCエリアを読出して当該ファイル格
納位置を検知して前記磁気テープを位置イ」けるように
して実現される。
The file search method of the magnetic tape device of the present invention has a magnetic tape position search sensor, and the sensor expresses numerically where a file starts and ends on the magnetic tape, and the numerical value is stored in the file. This is realized by storing the magnetic tape in the VTOC area as a position, and during file search processing, reading the VTOC area, detecting the file storage position, and then positioning the magnetic tape.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示す磁気テープのファイル
構造の説明図である。同図において第1フアイル]aが
VTOCとなっている。
FIG. 1 is an explanatory diagram of a file structure of a magnetic tape showing an embodiment of the present invention. In the figure, the first file ]a is the VTOC.

第2図は本発明を実現する磁気テープ装置の例を示す説
明図である。同図において磁気テープ装置10はテープ
の位置を検出する磁気テープ残量位置検索センザー1]
を有する。
FIG. 2 is an explanatory diagram showing an example of a magnetic tape device that implements the present invention. In the figure, a magnetic tape device 10 is a magnetic tape remaining amount position search sensor 1 that detects the position of the tape.]
has.

第3図は磁気テープ1を磁気テープ装置10にマウント
する操作を示す説明図である。磁気テープかマウントさ
れるとBOT検出と同時に磁気テープのVTOCが読ま
れ、磁気テープ装置制御部のメモリにロードされる。
FIG. 3 is an explanatory diagram showing the operation of mounting the magnetic tape 1 on the magnetic tape device 10. When the magnetic tape is mounted, the VTOC of the magnetic tape is read simultaneously with BOT detection and loaded into the memory of the magnetic tape device control section.

第4図(a)〜(f)はプログラムによる磁気テープへ
のファイルの書込みおよび検索の動作を示す説明図であ
る。
FIGS. 4(a) to 4(f) are explanatory diagrams showing the operation of writing and retrieving files on a magnetic tape by a program.

第4図(a)においてAの部分が磁気テープ残量位置検
索センサーによって検出される部分てあり、テープの端
の位置が数値に変換される。変換された数値はVTOC
のテープ位置情報に格納される。
In FIG. 4(a), a portion A is detected by the magnetic tape remaining amount position search sensor, and the position of the end of the tape is converted into a numerical value. The converted value is VTOC
is stored in the tape position information.

第4図(b)において、プロクラムよりテープへの書込
みか行われると、まずファイルの頭のテープ位置が検出
されVTOCに書込まれる。
In FIG. 4(b), when the program writes to the tape, the tape position of the head of the file is first detected and written to the VTOC.

第4図(c)において、テープへの書込みが終了すると
、ファイルの終りのテープ位置か検出されVTOCに書
込まれる。そして上記の動作の繰返しによりVTOCの
情報か第4図(d)になったとする。
In FIG. 4(c), when writing to the tape is completed, the tape position at the end of the file is detected and written to the VTOC. Assume that by repeating the above operations, the VTOC information becomes as shown in FIG. 4(d).

第4図(e)において、プログラムによってファイル名
“FFF’の読込みが行われると、まずVTOCが検索
されテープの開始位置が検出される。そして磁気テープ
位置はそのテープ開始位置“104”の手前まで磁気テ
ープを早送りする。その位置よりFFF”のHDRをサ
ーチしファイル“FFF″を検索する。第4図(f)は
上記の様子を示す説明図である。
In FIG. 4(e), when the program reads the file name "FFF", the VTOC is first searched and the tape start position is detected.Then, the magnetic tape position is just before the tape start position "104". Fast-forward the magnetic tape to the point. From that position, search for the HDR of "FFF" and search for the file "FFF". FIG. 4(f) is an explanatory diagram showing the above situation.

テープのTJ N L OA D命令か行れると、メモ
リ上のVTOCは磁気テープのVTOCエリアに書込ま
れ、テープはUNLOADされる。なお、この磁気テー
プ装置では従来の磁気テープ装置で作成した磁気テープ
も読取り、書込みができるように対応されており(第1
フアイルがVTOCであるかないかの判断による。)、
従来の資源も利用可能となっている。またこの磁気テー
プ装置によって作成されたものを従来の磁気テープ装置
で使用する場合は、第1フアイル(VTOC)を読み飛
はすたけて使用できる。
When a tape TJ NL OA D command is executed, the VTOC on the memory is written to the VTOC area of the magnetic tape, and the tape is UNLOADed. This magnetic tape device is also compatible with the ability to read and write magnetic tapes created with conventional magnetic tape devices (first
It depends on whether the file is a VTOC or not. ),
Traditional resources are also available. Furthermore, when a file created by this magnetic tape device is used in a conventional magnetic tape device, the first file (VTOC) can be used without skipping.

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

以上説明したように本発明は、磁気テープ検索センザー
でテープ上のファイルの位置を検出することにより、フ
ァイル検索時に検索したいファイルまで巻戻しのスピー
ドで位置付けることができるのて、著しく検索スピード
を向上させることができる。したがって今まで煩雑だっ
た磁気テープ装置の使用イメージを向上させる効果があ
る。
As explained above, the present invention uses a magnetic tape search sensor to detect the position of a file on a tape, and when searching for a file, it is possible to locate the file to be searched at the speed of rewinding, thereby significantly improving search speed. can be done. Therefore, there is an effect of improving the usage image of the magnetic tape device, which has been complicated up to now.

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

第1図は本発明の一実施例を示す磁気テープのファイル
構造を示ず説明図、第2図は磁気テープ装置の例を示す
説明図、第3図は磁気テープのマウント動作を示す説明
図、第4図(a)〜(f>は動作を示す説明図である。 1・・磁気テープ、1a・・・第1フアイル(VTOC
)、10・・・磁気テープ装置、1]・・・磁気テープ
残量位置検索センサー
FIG. 1 is an explanatory diagram showing an example of a magnetic tape file structure according to an embodiment of the present invention, FIG. 2 is an explanatory diagram showing an example of a magnetic tape device, and FIG. 3 is an explanatory diagram showing a magnetic tape mounting operation. , FIGS. 4(a) to 4(f) are explanatory diagrams showing the operation. 1... Magnetic tape, 1a... First file (VTOC)
), 10... Magnetic tape device, 1]... Magnetic tape remaining amount position search sensor

Claims (1)

【特許請求の範囲】[Claims]  磁気テープ位置検索センサーを有し、前記センサーに
よってファイルが磁気テープのどの位置から始まりどこ
で終っているかを数値によって表現し、前記数値をファ
イル格納位置としてVTOCエリアに格納し、ファイル
の検索処理時には前記VTOCエリアを読出して当該フ
ァイル格納位置を検知して前記磁気テープを位置付ける
ことを特徴とする磁気テープ装置のファイル検索方式。
It has a magnetic tape position search sensor, which numerically represents where a file starts and ends on the magnetic tape, stores the numerical value in the VTOC area as a file storage position, and when performing file search processing, the A file search method for a magnetic tape device, characterized in that the magnetic tape is positioned by reading a VTOC area and detecting the file storage position.
JP22160790A 1990-08-23 1990-08-23 File retrieval system for magnetic tape device Pending JPH04104315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22160790A JPH04104315A (en) 1990-08-23 1990-08-23 File retrieval system for magnetic tape device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22160790A JPH04104315A (en) 1990-08-23 1990-08-23 File retrieval system for magnetic tape device

Publications (1)

Publication Number Publication Date
JPH04104315A true JPH04104315A (en) 1992-04-06

Family

ID=16769406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22160790A Pending JPH04104315A (en) 1990-08-23 1990-08-23 File retrieval system for magnetic tape device

Country Status (1)

Country Link
JP (1) JPH04104315A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742138A (en) * 1995-02-21 1998-04-21 Fanuc Ltd. Control method for servo system with adjustable softness in rectangular coordinate system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742138A (en) * 1995-02-21 1998-04-21 Fanuc Ltd. Control method for servo system with adjustable softness in rectangular coordinate system

Similar Documents

Publication Publication Date Title
US5890208A (en) Command executing method for CD-ROM disk drive
JPS6093172U (en) Recorded information reproducing device
JP2006065999A (en) Magnetic tape control apparatus, and method and program therefor
JPH04104315A (en) File retrieval system for magnetic tape device
KR960030198A (en) Digital data recording / reproducing device and digital data recording / reproducing method
JPS5931742B2 (en) Magnetic tape recording and reproducing method
JPH05274760A (en) Magnetic cartridge tape device of library type
EP0587952A1 (en) Method for controlling a tape system storage device
JPH0239225A (en) Filing system
JP2924330B2 (en) Video tape recorder
JPH06259930A (en) High-speed program searching system for magnetic tape film
JP2525809B2 (en) Search device
JPH0659948A (en) File management system
JPH07114443A (en) File retrieval method and magnetic tape device
JPH02185783A (en) Read/write system for cartridge magnetic tape device
JPH04293116A (en) Tape system storage device control method
JPH02299036A (en) Information recording and reproducing method
JPH05274845A (en) Controlling method for magnetic tape recording/ reproducing device
JPH036634A (en) File storing system for floppy disk
JPS6113327A (en) Cassette controlling system of microcomputer
JPH04359330A (en) Film access history management system
JPS63298869A (en) Recording and reproducing device
JP2001188532A5 (en)
JPH01303520A (en) Semiconductor memory
JPH04355262A (en) Retrieval information saving system