JPH11175377A - File management method - Google Patents

File management method

Info

Publication number
JPH11175377A
JPH11175377A JP9340926A JP34092697A JPH11175377A JP H11175377 A JPH11175377 A JP H11175377A JP 9340926 A JP9340926 A JP 9340926A JP 34092697 A JP34092697 A JP 34092697A JP H11175377 A JPH11175377 A JP H11175377A
Authority
JP
Japan
Prior art keywords
file
medium
group
files
media
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
JP9340926A
Other languages
Japanese (ja)
Inventor
Hiroki Sato
弘樹 佐藤
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP9340926A priority Critical patent/JPH11175377A/en
Publication of JPH11175377A publication Critical patent/JPH11175377A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a file management method for facilitating the group management of plural files stored in plural media or read from the media. SOLUTION: Data for group recognition composed of the time of writing the file in the respective media, a serial number assigned to the media and a number for specifying a loader 1 are written in the respective media A and B and the loader recognizes a group for the respective files and the group for the respective loaders from the data for the group recognition and manages the file. The loader prepares a file storage map for indicating in which medium the file is written, stores it in one medium and recognizes the medium storing the file of the same group by referring to the file storage map.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、PC(プログラマ
ブルコントローラ)等で使用する複数ファイルをコンピ
ュータで管理し、ファイルを着脱可能な媒体へ分散して
格納したり、その一部又は全部を媒体から検索して読み
出すためのファイル管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer for managing a plurality of files used by a PC (programmable controller) or the like, distributing and storing the files in a removable medium, or transferring a part or all of the files from the medium. The present invention relates to a file management method for searching and reading.

【0002】[0002]

【従来の技術】PCで使用する複数のファイルが、その
ファイルの内容の編集を行うパーソナルコンピュータ等
のコンピュータ上で動く編集プログラム(以下、ローダ
と呼ぶ)で管理する場合、図7に示すように、ローダは
編集する複数ファイルのうちの1つをファイル名をグル
ープ登録するファイルとし、このファイルに登録すべき
ファイルの名前を格納するなどの方法により関連付けを
行い、全体を1グループのファイルとして扱う。同図で
は、ファイルMAIN.PRJにファイルA.PRG〜
Z.PRGの名前を登録する場合である。
2. Description of the Related Art When a plurality of files used in a PC are managed by an editing program (hereinafter referred to as a loader) which runs on a computer such as a personal computer for editing the contents of the files, as shown in FIG. The loader sets one of the plurality of files to be edited as a file for registering a file name in a group, associates the file by storing the name of a file to be registered in this file, and treats the entire file as one group of files. . In the figure, the file MAIN.
This is a case where the name of Z.PRG is registered.

【0003】通常、ローダによって着脱可能な媒体(フ
ロッピーディスクなど)にファイルを転送する場合、ロ
ーダはオペレーティングシステムに用意されているファ
イルコピー用のプログラムまたはシステムコールを利用
し、着脱可能媒体との間でファイルを転送する。
Usually, when a file is transferred to a removable medium (such as a floppy disk) by a loader, the loader uses a file copy program or a system call prepared in an operating system to transfer the file to and from the removable medium. To transfer the file.

【0004】この書込み手順を図8に示す。このコピー
コマンドは、保存するファイルを選択させ(S1)、選
択したファイルの先頭を認識し(S2)、ファイル転送
先になる着脱可能媒体をセットさせ(S3)、この着脱
可能媒体にファイルを格納する空き容量があるか否かを
チェックし(S4)、なければ空の媒体へ交換させる表
示をし(S5)、空きがあれば当該媒体にファイルを書
込み(S6)、全てのファイルを書込んだか否かをチェ
ックし(S7)、残りのファイルがあれば次のファイル
を認識し(S8)、このファイルについて媒体に空きが
あるか否かをチェックしながらファイル書き込みを行
い、全てのファイルの書き込み終了でコピーを終える。
このコピーコマンドは、媒体にファイルを格納する空き
容量がある範囲でのみコピー可能となる。
FIG. 8 shows this writing procedure. This copy command causes the user to select a file to be saved (S1), recognizes the beginning of the selected file (S2), sets a removable medium as a file transfer destination (S3), and stores the file in the removable medium. It is checked whether or not there is free space to be used (S4). If there is free space, a message to replace the medium with an empty medium is displayed (S5). If there is free space, a file is written to the medium (S6), and all files are written. (S7), and if there is any remaining file, the next file is recognized (S8). The file is written while checking whether there is free space in the medium for this file, and all files are written. Copy is completed when writing is completed.
This copy command can be copied only in a range where there is free space for storing files on the medium.

【0005】なお、複数枚の媒体に書込んだファイルを
読み出すときは、媒体が同じグループのファイルを格納
しているかどうかをローダプログラムが知ることができ
ないので、ローダを使用するユーザーが管理している。
When a file written on a plurality of media is read, the loader program cannot know whether or not the media stores the same group of files. I have.

【0006】[0006]

【発明が解決しようとする課題】従来のファイル管理方
法には、以下の不都合がある。
The conventional file management method has the following disadvantages.

【0007】(1)1つのグループになっている複数フ
ァイルが複数の着脱可能な媒体に分かれて格納されてい
ることを認識できない。
(1) It cannot be recognized that a plurality of files in one group are stored separately in a plurality of removable media.

【0008】1つの着脱可能な媒体の容量が、グループ
になっている複数ファイルの総容量より小さい場合に、
媒体が複数必要になる。通常のコピー用コマンドを使用
してのコピーでは、同じグループのファイルが入ってい
るという情報は格納されてないので、ローダを使用する
ユーザーが管理しなければならない。
When the capacity of one removable medium is smaller than the total capacity of a plurality of files in a group,
Multiple media are required. In the copy using the normal copy command, the information that the files of the same group are included is not stored, so that the user who uses the loader has to manage it.

【0009】(2)同一ファイル・同一サイズで構成さ
れていて内容のみ異なる2つのグループ群のファイルが
ある場合、それらを格納した複数の着脱可能媒体が間違
って混在して使用しても、ローダ側で誤りを判別できな
い。
(2) If there are two groups of files having the same file and the same size but differing only in their contents, even if a plurality of removable media storing those files are mixed and used erroneously, the loader Side cannot determine the error.

【0010】グループを認識する情報がないので、着脱
可能な媒体の内容が同じであれば同じグループとしか見
られないことによる。
[0010] Since there is no information for recognizing a group, if the contents of the removable medium are the same, only the same group can be seen.

【0011】(3)複数の媒体に分かれて複数のファイ
ルが格納されているとき、個々のファイルがどの媒体に
入っているかが容易にわからない。
(3) When a plurality of files are stored in a plurality of mediums, it is not easy to know which medium contains each file.

【0012】全ての媒体を調べないと、ファイルが格納
されている媒体が特定できない。
Unless all the media are checked, the media storing the file cannot be specified.

【0013】(4)グループの一部のファイルのみ読み
出すことができない。
(4) Only some files of the group cannot be read.

【0014】読み出したいファイルが、どの媒体に格納
されているのかわからないので、必ず一度全部のファイ
ルを読み出す必要がある。
Since it is not known on which medium the file to be read is stored, it is necessary to read all the files once.

【0015】本発明の目的は、複数の媒体に格納又は媒
体から読み出す複数ファイルのグループ管理を容易にす
るファイル管理方法を提供することにある。
An object of the present invention is to provide a file management method which facilitates group management of a plurality of files stored in or read from a plurality of media.

【0016】[0016]

【課題を解決するための手段】本発明は、媒体毎に付け
たグループ認識データ、又は媒体を特定する番号とファ
イル名からなるグループ格納マップを使い、複数の媒体
に格納される同じグループのファイルを自動認識するこ
とでファイルの書込み及び読み出しの管理を容易にした
もので、以下の方法を特徴とする。
According to the present invention, a file of the same group stored in a plurality of media is used by using group recognition data attached to each medium or a group storage map including a number specifying a medium and a file name. Automatically manages writing and reading of a file, and is characterized by the following method.

【0017】(第1の発明)コンピュータに着脱可能な
複数の媒体へ複数のファイルを分散して書込み又は読み
出すためのファイル管理方法であって、前記各媒体にフ
ァイルを書き込むときに当該媒体に付けた連続番号と媒
体への書込み指示時刻及びコンピュータを特定する番号
からなるグループ認識用データを各媒体に書込んでお
き、前記コンピュータは、前記グループ認識用データか
ら媒体に書込まれたファイル毎のグループ及びコンピュ
ータ毎のグループを認識してファイルを管理することを
特徴とする。
(1st invention) A file management method for distributing and writing a plurality of files to a plurality of media which can be attached to and detached from a computer. The group recognition data consisting of the serial number, the write instruction time to the medium, and the number specifying the computer is written in each medium, and the computer reads each file written to the medium from the group recognition data. The file is managed by recognizing the group and the group for each computer.

【0018】(第2の発明)コンピュータに着脱可能な
複数の同種の媒体へ複数のファイルを分散して書込み又
は読み出すためのファイル管理方法であって、前記コン
ピュータは、前記媒体1枚当たりの空き容量から計算し
て媒体に格納できるファイル名とグループ認識用データ
からなるファイル格納マップを作成して各媒体のうちの
1枚の媒体に格納しておき、前記マップに従って各媒体
にファイルを書込むと共に対応するグループ認識用デー
タを書込み、前記コンピュータは、前記ファイル格納マ
ップの参照で同じグループのファイルが格納される媒体
を認識して各媒体からファイルを読み出すことを特徴と
する。
(2nd invention) A file management method for distributing and writing a plurality of files to a plurality of the same kind of media which can be attached to and detached from a computer, wherein the computer has a free space per one medium. Create a file storage map composed of file names and group recognition data that can be stored in the medium by calculating from the capacity, store it in one of the media, and write the file to each medium according to the map And the corresponding group recognition data is written, and the computer recognizes the medium storing the files of the same group by referring to the file storage map and reads the file from each medium.

【0019】(第3の発明)コンピュータに着脱可能な
複数の異種の媒体へ複数のファイルを分散して書込み又
は読み出すためのファイル管理方法であって、前記コン
ピュータは、ファイル名とグループ認識用データ領域を
持つファイル格納マップをワークエリアに作成してお
き、各媒体にはその空き容量から計算してファイルを書
込むと共に前記ワークエリアのグループ認識用データ領
域及び媒体に媒体連続番号を書込んでおき、最後のファ
イルの書込み後に前記ファイル格納マップを各媒体のう
ちの1枚の媒体に書込み、前記コンピュータは、前記フ
ァイル格納マップの参照で同じグループのファイルが格
納される媒体を認識して各媒体からファイルを読み出す
ことを特徴とする。
(Third invention) A file management method for distributing and writing or reading a plurality of files to and from a plurality of different types of media that can be attached to and detached from a computer, wherein the computer has a file name and group recognition data A file storage map having an area is created in the work area, and a file is written to each medium by calculating from the free space, and a medium serial number is written to the group recognition data area of the work area and the medium. After the last file has been written, the file storage map is written to one of the media, and the computer recognizes the medium on which the files of the same group are stored by referring to the file storage map, and It is characterized by reading a file from a medium.

【0020】[0020]

【発明の実施の形態】(第1の実施形態)…複数の媒体
のグループ認識方法 本実施形態は、1つのグループとなる複数ファイルを複
数の着脱可能な媒体に格納(書込み)する場合、それら
の媒体が同一グループであると認識するための方法であ
り、前記の課題(1)と(2)の解決方法になる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) A method of recognizing a group of a plurality of media In this embodiment, when storing (writing) a plurality of files forming a group in a plurality of removable media, the method is as follows. This is a method for recognizing that the mediums belong to the same group, which is a solution to the above-mentioned problems (1) and (2).

【0021】本実施形態では、個々の媒体に、ファイル
を格納するときにグループ認識用のデータを書込む。こ
のデータは、ユーザーがPC用ファイルの書込みを指示
した時刻(年月日時分秒)、媒体の連続番号およびロー
ダを特定するための製品番号からなり、以下のデータ構
造にする。
In this embodiment, data for group recognition is written in each medium when storing a file. This data includes the time (year, month, day, hour, minute, second) at which the user instructed the writing of the PC file, the serial number of the medium, and the product number for specifying the loader, and has the following data structure.

【0022】 認識データ=yyyymmdd−hhnnss−ppp
ppp−aaa yyyy=年 mm=月 dd=日 hh=時 nn=分 ss=秒 pppppp=ローダの製品番号 aaa=媒体の連続番号 このうち、ローダの製品番号は、ローダプログラムに個
々に付与する連続した番号で、例えばインストールされ
ているローダごとに唯一の値を設定しておく。また、媒
体の連続番号は、1で始まる整数とし、複数の媒体があ
れば、1枚目の媒体から順に1、2、3、…のように昇
順又は降順で設定していく。
Recognition data = yyyymmdd-hhnnss-ppp
ppp-aaa yyyy = year mm = month dd = day hh = hour nn = minute ss = second For example, a unique value is set for each installed loader. Further, the serial numbers of the media are integers starting with 1, and if there are a plurality of media, they are set in ascending or descending order as 1, 2, 3,...

【0023】媒体への書込み指示時刻(年月日時分秒)
は、同一のコンピュータで、同一のグループのファイル
を異なる時期に格納した場合、媒体のグループを認識し
て区別するために使用する。
Instruction time for writing to the medium (year / month / day / hour / minute / second)
Is used to recognize and distinguish a group of media when files of the same group are stored at different times on the same computer.

【0024】図1は、グループ認識用データを媒体に付
加した例を示す。同図では、1997年9月29日18
時24分32秒に製品番号012345のローダ1で1
枚目の媒体Aと2枚目の媒体Bのように昇順に格納を行
った場合を示す。
FIG. 1 shows an example in which group recognition data is added to a medium. In the figure, 18 September 29, 1997
At 24 hours and 32 seconds, loader 1 with product number 012345
The case where the data is stored in ascending order as in the case of the second medium A and the second medium B is shown.

【0025】このデータの付け方により、全く同時に2
つのローダプログラムで同一のファイルの格納を行って
も、異なるデータを媒体に設定することが可能である。
例えば、図2に示すように、ローダ(製品番号0000
01)1で媒体A,Bにファイルをグループで格納し、
この格納と同じ時間にローダ(製品番号000002)
2で媒体C,Dにファイルをグループで格納した場合、
ローダの製品番号が異なるため、別グループの媒体とし
て認識できる。
According to this data attaching method, two
Even if the same file is stored by one loader program, different data can be set in the medium.
For example, as shown in FIG. 2, a loader (product number 0000)
01) In step 1, files are stored in groups on media A and B,
At the same time as this storage, loader (product number 000002)
When files are stored in groups on media C and D in 2
Since the product number of the loader is different, it can be recognized as a medium of another group.

【0026】なお、グループ認識用データは、テキスト
ファイルまたはバイナリーファイルの形式で媒体ごとに
書込む。また、グループ認識用データは、少なくとも媒
体連続番号と媒体への書込み指示時刻及びコンピュータ
を特定する番号であればよい。
The group recognition data is written for each medium in the form of a text file or a binary file. The group recognition data may be any number as long as it is at least a medium serial number, a write instruction time to the medium, and a computer identification number.

【0027】(第2の実施形態)…複数媒体へのファイ
ルの読み出しと書込み方法 本実施形態は、PC用ファイルを同一容量になる複数の
着脱可能媒体に格納し、かつ、その一部または全部を検
索で自動的に取り出すための方法であり、前記の課題
(3)と(4)の解決方法になる。
(Second Embodiment) Method of Reading and Writing Files to Plural Media In this embodiment, PC files are stored in a plurality of removable media having the same capacity, and some or all of them are stored. Is automatically extracted by a search, and is a solution to the above-mentioned problems (3) and (4).

【0028】この方法は、媒体にPC用ファイルを書き
込む前に、媒体に格納するファイルがどこの媒体に書込
まれるかを、媒体1枚あたりの容量から計算して、ファ
イルと媒体の関係を示すテーブル(以下、ファイル格納
マップと仮称する)を作成して1枚目の媒体に格納して
おく。なお、この方法で使用する媒体は、同一容量・同
一種類の媒体の場合である。
According to this method, before writing a PC file on a medium, the file to be stored on the medium is calculated from the capacity per medium to determine on which medium the file to be written is written. A table shown below (tentatively referred to as a file storage map) is created and stored in the first medium. The medium used in this method is a medium of the same capacity and the same type.

【0029】ファイル格納マップは、媒体の連続番号を
除いた前記のグループ認識データと、格納するPC用フ
ァイルの名と、そのファイルを格納する媒体の連続番号
の組みからなるファイル格納マップをローダ上で予め作
成しておき、1枚目の媒体へのファイル書込み時にその
媒体に格納しておく。
The file storage map stores, on the loader, a file storage map including a set of the group recognition data excluding the serial number of the medium, the name of the PC file to be stored, and the serial number of the medium storing the file. In advance, and stored in the medium when writing a file to the first medium.

【0030】図3に示すファイル格納マップ例では、フ
ァイル名と媒体連続番号をマップとするデータを作成し
ておき、計算によって求めた媒体の連続番号をもとに、
PC用ファイルを対応する4枚の媒体A〜Dに格納して
いく。このとき、ファイル格納マップを1枚目の媒体に
格納しておく。
In the example of the file storage map shown in FIG. 3, data is created by using a file name and a medium serial number as a map, and based on the medium serial number obtained by calculation,
The PC file is stored in the corresponding four media A to D. At this time, the file storage map is stored on the first medium.

【0031】これにより、ローダが媒体Aからファイル
を読み出す際に、それに書込まれたファイル格納マップ
を参照することで、4枚の媒体に分割格納された同じグ
ループのファイルが存在することを認識できる。
Thus, when the loader reads a file from the medium A, the loader recognizes that the same group of files divided and stored on the four media exists by referring to the file storage map written therein. it can.

【0032】PC用ファイルの書込み手順を図4に示
す。まず、保存するファイルを選択させ(S11)、現
在の時刻で媒体の連続番号を除いたグループ認識データ
とファイル名をもつファイル格納マップを作成し(S1
2)、選択したファイルの先頭を認識し(S13)、媒
体の連続番号を1に初期化し(S14)、その書込み済
み容量を0に設定する(S15)。
FIG. 4 shows a procedure for writing a PC file. First, a file to be saved is selected (S11), and a file storage map having the group recognition data and the file name excluding the serial number of the medium at the current time is created (S1).
2) Recognize the head of the selected file (S13), initialize the medium serial number to 1 (S14), and set the written capacity to 0 (S15).

【0033】この後、書込み済み容量と書込みファイル
容量を加えた値が媒体容量より小さいか否かをチェック
し(S16)、大きい場合には連続番号を+1(インク
リメント)する(S17)。小さい場合には書込み済み
容量に書込みファイル容量を加算し(S18)、ファイ
ル及び媒体連続番号をファイル格納マップへ書込む(S
19)。
Thereafter, it is checked whether or not the value obtained by adding the written capacity and the written file capacity is smaller than the medium capacity (S16), and if it is larger, the serial number is incremented by +1 (S17). If it is smaller, the write file capacity is added to the written capacity (S18), and the file and medium serial numbers are written to the file storage map (S18).
19).

【0034】これまでの容量計算とマップ作成を、書込
むファイルの全てについて調べ(S20)、残りのファ
イルがあればそのファイルについての容量計算とマップ
への追加作成を行う(S21)。
The capacity calculation and the map creation up to now are checked for all the files to be written (S20), and if there are any remaining files, the capacity calculation for the file and the addition to the map are performed (S21).

【0035】次に、ローダは媒体の連続番号を1に初期
化し(S22)、1枚目の媒体をセットさせ(S2
3)、この媒体にグループ認識データを書込み(S2
4)、ファイル格納マップ上で現在の媒体連続番号に対
応するファイルを全てセットされている媒体に書込む
(S25)。
Next, the loader initializes the serial number of the medium to 1 (S22), and sets the first medium (S2).
3) Write the group recognition data on this medium (S2
4) Write all files corresponding to the current medium serial number on the file storage map to the set medium (S25).

【0036】これまでの媒体へのファイル書込みとセッ
トをすべての連続番号のファイルを格納するまで(S2
6)、媒体連続番号を+1しながら繰り返す(S2
7)。
The writing and setting of the file to the medium up to now are performed until the files of all consecutive numbers are stored (S2
6) Repeat while incrementing the media serial number by one (S2)
7).

【0037】次に、読み出しの手順を図5に示す。読み
出しの時は、まず1枚目の媒体をセットさせ(S3
1)、この媒体に格納されているファイル格納マツプを
読み込み(S32)、このファイル格納マツプからどの
連続番号の媒体にどのファイルが格納されているかがわ
かるので、これを元にメッセージを表示して、読み出す
PC用ファイルをユーザに選択させる(S33)。この
選択とマップからファイルに対応する媒体連続番号が昇
順になるよう読み込む順を並び替え(S34)、並び替
えた後の先頭のファイルを認識しておく(S35)。
Next, the reading procedure is shown in FIG. At the time of reading, first, the first medium is set (S3
1) The file storage map stored in this medium is read (S32), and from this file storage map, which file is stored in which serial number of the medium is known, a message is displayed based on this. Then, the user selects a PC file to be read (S33). The read order is rearranged from the selection and the map so that the medium serial numbers corresponding to the files are in ascending order (S34), and the first file after the rearrangement is recognized (S35).

【0038】この後、ファイルの媒体連続番号をファイ
ル格納マップより求め(S36)、現在の媒体連続番号
がファイルの媒体連続番号に一致するか否かをチェック
し(S37)、一致しなければ当該ファイルが書込まれ
た媒体に交換するようユーザに通知し(S38)、ユー
ザによる媒体交換を促す(S39)。媒体のグループ番
号が一致したとき、その媒体からPC用ファイルを読み
込む(S40)。
Thereafter, the medium serial number of the file is obtained from the file storage map (S36), and it is checked whether or not the current medium serial number matches the medium serial number of the file (S37). The user is notified that the medium should be replaced with the medium in which the file has been written (S38), and the user is prompted to replace the medium (S39). When the group numbers of the medium match, the PC file is read from the medium (S40).

【0039】このようにして、選択されたすべてのPC
用ファイルを読み込んでいく(S41,S42)。
In this way, all the selected PCs
The application file is read (S41, S42).

【0040】(第3の実施形態)…複数媒体へのファイ
ルの書込みと読み出し方法 本実施形態は、PC用ファイルを異なる容量又は種類に
なる複数の着脱可能媒体に格納し、かつ、その一部また
は全部を検索で取り出すための方法であり、前記の課題
(3)と(4)の解決方法になる。
(Third Embodiment) A method of writing and reading a file to and from a plurality of media In this embodiment, a PC file is stored in a plurality of removable media having different capacities or types and a part thereof. Alternatively, this is a method for retrieving all by search, which is a solution to the above-mentioned problems (3) and (4).

【0041】この方法によるPC用ファイルの書込み手
順を図6に示す。まず、保存するファイルをユーザに選
択させ(S51)、現在の時刻で媒体の連続番号を除い
たグループ認識データ領域とファイル名を持つファイル
格納マップをワークエリアに作成し(S52)、選択し
たファイルの先頭を認識する(S53)。次に、媒体の
連続番号を1に初期化し(S54)、媒体をセットさせ
る(S55)。
FIG. 6 shows a procedure for writing a PC file by this method. First, the user selects a file to be saved (S51), and creates a file storage map having a group recognition data area and a file name excluding the serial number of the medium at the current time in the work area (S52). Is recognized (S53). Next, the serial number of the medium is initialized to 1 (S54), and the medium is set (S55).

【0042】このセットした媒体の連続番号が1か2以
上かをチェックし(S56)、1の場合にはファイル格
納マップ容量と書込みファイル容量を加えた値が当該媒
体の空き容量より小さいか否かをチェックする(S5
7)。また2以上の場合には書込みファイル容量が媒体
空き容量より小さいか否かをチェックする(S58)。
It is checked whether the serial number of the set medium is 1 or 2 or more (S56). In the case of 1, it is determined whether the value obtained by adding the file storage map capacity and the write file capacity is smaller than the free space of the medium. Is checked (S5
7). If the number is two or more, it is checked whether the write file capacity is smaller than the free medium capacity (S58).

【0043】これらチェックでファイル容量が媒体空き
容量より大きい場合、空の媒体をセットするようユーザ
に通知し(S59)、媒体連続番号を+1する(S6
0)。小さい場合は当該媒体へファイルを書込むと共に
媒体連続番号を書込む(S61)。これら一連の処理を
未格納のファイルがある限り続ける(S62,S6
3)。
If the file capacity is larger than the free medium capacity in these checks, the user is notified to set an empty medium (S59), and the medium serial number is incremented by one (S6).
0). If it is smaller, the file is written to the medium and the medium serial number is written (S61). These series of processes are continued as long as there are unstored files (S62, S6).
3).

【0044】これにより、ローダのワークエリアに確保
するファイル格納マツプには全てのファイルが媒体に格
納されるまで、PC用ファイルと対応する媒体の連続番
号を書込んでいく。但し、1枚目の媒体には、ファイル
群の最大容量からきまるファイル格納マツプの最大容量
分だけ容量を空けてPC用ファイルを格納する。すべて
のPC用ファイルの格納が完了した時点で、1枚目の媒
体にローダのワークエリアにあるファイル格納マツプを
書込む処理を行う。
As a result, the serial number of the medium corresponding to the PC file is written in the file storage map secured in the work area of the loader until all the files are stored in the medium. However, in the first medium, the PC file is stored with a space corresponding to the maximum capacity of the file storage map determined from the maximum capacity of the file group. When all the PC files have been stored, a process of writing the file storage map in the work area of the loader to the first medium is performed.

【0045】この方法では、媒体の空き容量を確認しな
がらPC用ファイルを格納していくので、媒体ごとに空
き容量が異なる場合、又は媒体の種類が異なる場合にも
ファイルの格納されている媒体を知ることができる。
In this method, the PC file is stored while checking the free space of the medium. Therefore, even when the free space differs for each medium or when the type of the medium is different, the medium on which the file is stored is different. You can know.

【0046】ファイルの読み出しについては、前記の第
2の実施形態と同様に行うことができる。
The reading of the file can be performed in the same manner as in the second embodiment.

【0047】なお、以上までの実施形態では、PC用フ
ァイルについて説明しているが、複数の着脱可能な媒体
にファイルを分散して書込み又は読み出すシステムや装
置に適用できる。
In the above embodiments, PC files are described. However, the present invention can be applied to a system or an apparatus in which files are written to or read from a plurality of removable media in a distributed manner.

【0048】また、ファイル格納マップは1枚目の媒体
に書込むに限らず、各媒体のうちの1枚の媒体に書込む
ことでもよい。
The file storage map is not limited to being written on the first medium, but may be written on one of the media.

【0049】[0049]

【発明の効果】以上のとおり、本発明によれば、媒体毎
に付けたグループ認識データ、又は媒体を特定する番号
とファイル名からなるグループ格納マップを使い、複数
の媒体に格納される同じグループのファイルを自動認識
するようにしたため、複数の媒体に格納又は媒体から読
み出す複数ファイルのグループ管理が容易になる。具体
的には以下の効果がある。
As described above, according to the present invention, the same group stored in a plurality of media is used by using group recognition data assigned to each medium or a group storage map including a number specifying a medium and a file name. Is automatically recognized, so that group management of a plurality of files stored in or read from a plurality of media becomes easy. Specifically, the following effects are obtained.

【0050】(1)グループ認識データにより同じグル
ープのファイルを容易に認識・管理ができる。
(1) Files in the same group can be easily recognized and managed by the group recognition data.

【0051】(2)複数のローダプログラムが動作する
コンピュータで、同一ファイル名、同一サイズのグルー
プのファイル群を着脱可能媒体に同時に格納した場合も
異なるグループのファイルを容易に認識・管理ができ
る。
(2) When a plurality of loader programs run on a computer and a group of files having the same file name and the same size are simultaneously stored in a removable medium, files in different groups can be easily recognized and managed.

【0052】(3)1つのグループになっている複数の
ファイルを、複数の着脱可能な媒体に格納しても、同一
グループのファイルのある媒体とそうでないファイルを
容易に認識・管理ができる。
(3) Even if a plurality of files in one group are stored in a plurality of removable media, a medium having files of the same group and a file not having the same group can be easily recognized and managed.

【0053】(4)1つのグループになっている複数の
ファイルを、複数の着脱可能な媒体に格納しても、その
中の一部または全部のファイルがどの媒体に入っている
かをすべての媒体を参照することなく容易に認識・管理
ができる。
(4) Even if a plurality of files in one group are stored in a plurality of removable media, it is possible to determine which medium contains some or all of the files in all media. Can be easily recognized and managed without referring to

【0054】(5)同一種類の媒体でも、異なる種類の
媒体でも同一グループのファイルを容易に認識・管理が
できる。
(5) The same group of files can be easily recognized and managed on the same type of medium or different types of media.

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

【図1】本発明の実施形態を示すグループ認識番号の
例。
FIG. 1 is an example of a group identification number indicating an embodiment of the present invention.

【図2】実施形態におけるファイルの同時書込み例。FIG. 2 is an example of simultaneous writing of files in the embodiment.

【図3】本発明の他の実施形態を示すファイル格納マッ
プ例。
FIG. 3 is an example of a file storage map showing another embodiment of the present invention.

【図4】実施形態における同一媒体を使ったときのファ
イルの書込み手順。
FIG. 4 illustrates a file writing procedure when the same medium is used in the embodiment.

【図5】実施形態におけるファイル読み出し手順。FIG. 5 is a file reading procedure in the embodiment.

【図6】本発明の他の実施形態を示す異なる媒体を使っ
たときのファイルの書込み手順。
FIG. 6 shows a file writing procedure when a different medium is used according to another embodiment of the present invention.

【図7】従来のPC用ファイルの関連付けを示す図。FIG. 7 is a diagram showing a conventional PC file association.

【図8】従来のファイル格納手順。FIG. 8 shows a conventional file storage procedure.

【符号の説明】[Explanation of symbols]

1、2…ローダ A〜D…着脱可能な媒体 1, 2, loader A to D, removable medium

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータに着脱可能な複数の媒体へ
複数のファイルを分散して書込み又は読み出すためのフ
ァイル管理方法であって、 前記各媒体にファイルを書き込むときに当該媒体に付け
た連続番号と媒体への書込み指示時刻及びコンピュータ
を特定する番号からなるグループ認識用データを各媒体
に書込んでおき、 前記コンピュータは、前記グループ認識用データから媒
体に書込まれたファイル毎のグループ及びコンピュータ
毎のグループを認識してファイルを管理することを特徴
とするファイル管理方法。
1. A file management method for distributing and writing or reading a plurality of files to and from a plurality of media detachable from a computer, comprising: writing a file to each of the media; Group recognition data consisting of a write instruction time on a medium and a number specifying a computer is written on each medium, and the computer reads each group and computer for each file written on the medium from the group recognition data. A file management method for recognizing a group of files and managing the files.
【請求項2】 コンピュータに着脱可能な複数の同種の
媒体へ複数のファイルを分散して書込み又は読み出すた
めのファイル管理方法であって、 前記コンピュータは、前記媒体1枚当たりの空き容量か
ら計算して媒体に格納できるファイル名とグループ認識
用データからなるファイル格納マップを作成して各媒体
のうちの1枚の媒体に格納しておき、前記マップに従っ
て各媒体にファイルを書込むと共に対応するグループ認
識用データを書込み、 前記コンピュータは、前記ファイル格納マップの参照で
同じグループのファイルが格納される媒体を認識して各
媒体からファイルを読み出すことを特徴とするファイル
管理方法。
2. A file management method for distributing and writing or reading a plurality of files to and from a plurality of the same kind of media which can be attached to and detached from a computer, wherein the computer calculates a free space per one of the media. A file storage map composed of file names and group recognition data which can be stored in the medium by using the storage medium, and store the file in one of the mediums. A file management method, comprising writing recognition data, the computer recognizing a medium storing files of the same group by referring to the file storage map, and reading the file from each medium.
【請求項3】 コンピュータに着脱可能な複数の異種の
媒体へ複数のファイルを分散して書込み又は読み出すた
めのファイル管理方法であって、 前記コンピュータは、ファイル名とグループ認識用デー
タ領域を持つファイル格納マップをワークエリアに作成
しておき、各媒体にはその空き容量から計算してファイ
ルを書込むと共に前記ワークエリアのグループ認識用デ
ータ領域及び媒体に媒体連続番号を書込んでおき、最後
のファイルの書込み後に前記ファイル格納マップを各媒
体のうちの1枚の媒体に書込み、 前記コンピュータは、前記ファイル格納マップの参照で
同じグループのファイルが格納される媒体を認識して各
媒体からファイルを読み出すことを特徴とするファイル
管理方法。
3. A file management method for distributing and writing or reading a plurality of files to and from a plurality of different types of media that are removable from a computer, wherein the computer has a file having a file name and a data area for group recognition. A storage map is created in the work area, a file is calculated for each medium from its free space, a file is written, and a medium serial number is written to the group recognition data area of the work area and the medium. After writing the file, the file storage map is written to one of the media, and the computer recognizes the medium on which the files of the same group are stored by referring to the file storage map, and reads the file from each medium. A file management method characterized by reading.
JP9340926A 1997-12-11 1997-12-11 File management method Pending JPH11175377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9340926A JPH11175377A (en) 1997-12-11 1997-12-11 File management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9340926A JPH11175377A (en) 1997-12-11 1997-12-11 File management method

Publications (1)

Publication Number Publication Date
JPH11175377A true JPH11175377A (en) 1999-07-02

Family

ID=18341575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9340926A Pending JPH11175377A (en) 1997-12-11 1997-12-11 File management method

Country Status (1)

Country Link
JP (1) JPH11175377A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008500608A (en) * 2004-04-27 2008-01-10 トムソン ライセンシング Method and stream in a distributed storage system
JP2010211815A (en) * 2010-04-12 2010-09-24 Nikon Corp Recording medium for data file management and data file management device
US8730349B2 (en) 2000-04-26 2014-05-20 Nikon Corporation Recording medium for data file management, apparatus for data file management, handling apparatus for image data, and image capturing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8730349B2 (en) 2000-04-26 2014-05-20 Nikon Corporation Recording medium for data file management, apparatus for data file management, handling apparatus for image data, and image capturing system
JP2008500608A (en) * 2004-04-27 2008-01-10 トムソン ライセンシング Method and stream in a distributed storage system
US8615602B2 (en) 2004-04-27 2013-12-24 Thomson Licensing Method and device for recording or playing back a data stream
JP2010211815A (en) * 2010-04-12 2010-09-24 Nikon Corp Recording medium for data file management and data file management device

Similar Documents

Publication Publication Date Title
EP0487331B1 (en) Directory management system
US5699549A (en) Memory card having a card management information area for improved format capability and recording, reproducing, and erasing methods therefor
US5481519A (en) Method for recording, reproducing and managing file data on a recording medium
JP2599536B2 (en) Method and system for managing product configuration
JP2770855B2 (en) Digital information storage and retrieval method and apparatus
CN100470660C (en) Method and devices for storing and reading data on a storage medium and storage medium
KR920005107A (en) Initial and updated data recording and reading methods and data storage media
SE458321B (en) PROCEDURE IS TO CLEAR THEME IN INSTRUCTION SYSTEM
JPH11175377A (en) File management method
JPS62226375A (en) Picture information retrieving system
JPS61241850A (en) Memory control system of optical disk
JP7110924B2 (en) Library management program, method and apparatus
JPH11175380A (en) Information reproduction method
JPS6175432A (en) Information file device
JPH11282758A (en) Device and method for data writing into nonvolatile memory
JPS62177642A (en) File management system for postscript filing device
JPH0436831A (en) Program development back-up system
JPH02278439A (en) Data control system for draw
JPS63298630A (en) System for supplying source code
JP2000353088A (en) Rewritable program writing device for non-volatile memory
JPH04165564A (en) Document preparing device
JPS60196878A (en) Retrieving device
JPS60238950A (en) Information management and retrieval system
JP2000305817A (en) Data storage method in data retrieval system
JPH05334150A (en) Database generation managing device