JP2000099375A - File management device, file managing method for the same and storage medium with its control program recorded therein - Google Patents

File management device, file managing method for the same and storage medium with its control program recorded therein

Info

Publication number
JP2000099375A
JP2000099375A JP10268729A JP26872998A JP2000099375A JP 2000099375 A JP2000099375 A JP 2000099375A JP 10268729 A JP10268729 A JP 10268729A JP 26872998 A JP26872998 A JP 26872998A JP 2000099375 A JP2000099375 A JP 2000099375A
Authority
JP
Japan
Prior art keywords
file
external storage
storage device
divided
free space
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.)
Withdrawn
Application number
JP10268729A
Other languages
Japanese (ja)
Inventor
Tatsu Ashikawa
達 芦川
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP10268729A priority Critical patent/JP2000099375A/en
Publication of JP2000099375A publication Critical patent/JP2000099375A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a file management device capable of dividing a file and storing it in a storage medium when another file is stored in the storage medium in which the file is about to be stored and even when the kind or format of it is different. SOLUTION: A control function 7 checks the capacity of an external storage device 13 and notifies the capacity to a dividing function 4. The function 4 divides data from the front of a file stored in a RAM 3 in conformity with the free capacity of the external storage device 4 and a flag attaching function 8 attaches a start flag to the front of the divided file and a stop flag to the end of the file respectively. A storing function 9 stores the file to which the flags are attached in each external storage device 13. When an inputted file name is the same as a file name in the device 13 and their flags are also equal, a controlling function 5 stores a file read from the device 13 by a data reading function 12 in the RAM 3 with a storing function 6.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はファイル管理装置及
びそれに用いるファイル管理方法並びにその制御プログ
ラムを記録した記録媒体に関し、特にファイルを分割し
て複数の外部記憶装置に保存するためのファイル管理方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management apparatus, a file management method used therefor, and a recording medium storing a control program therefor, and more particularly to a file management method for dividing a file and storing the divided file in a plurality of external storage devices. .

【0002】[0002]

【従来の技術】従来、この種のファイル管理システムに
おいては、CPU(中央処理装置)と、RAM(ランダ
ム・アクセス・メモリ)と、ROM(リード・オンリ・
メモリ)と、入力装置と、表示装置と、入出力装置と、
外部記憶装置とを備えている。
2. Description of the Related Art Conventionally, in a file management system of this type, a CPU (central processing unit), a RAM (random access memory), and a ROM (read only memory) are provided.
Memory), an input device, a display device, an input / output device,
An external storage device.

【0003】このシステムに用いられるファイル管理装
置はデータ入力機能と、RAMにデータを格納する機能
と、外部記憶装置の種類を検出する機能と、外部記憶装
置の全空き容量に合わせてデータを分割する機能と、分
割したデータにスタートフラグとストップフラグとを付
加する機能と、判断機能と、分割したファイルを外部記
憶装置に保存する機能と、外部記憶装置に保存されてい
る分割されたデータをRAMに格納する機能と、RAM
に格納されかつ分割されているデータを結合させる機能
とを有している。
A file management device used in this system has a data input function, a function of storing data in a RAM, a function of detecting the type of an external storage device, and a function of dividing data according to the total free space of the external storage device. , A function of adding a start flag and a stop flag to the divided data, a determination function, a function of storing the divided file in an external storage device, and a function of dividing the divided data stored in the external storage device. Function to be stored in RAM and RAM
And a function of combining the data stored and divided into the data.

【0004】このファイル管理装置ではRAMに格納さ
れた1つのファイルを記憶媒体(例えば、フロッピディ
スク媒体等)の空き容量(例えば、1.44メガバイト
等)に合わせてファイルを分割し、それら分割されたフ
ァイルを複数の記憶媒体に夫々保存している。
In this file management apparatus, one file stored in a RAM is divided into files according to the free space (for example, 1.44 megabytes, etc.) of a storage medium (for example, a floppy disk medium, etc.), and the files are divided. Files are respectively stored in a plurality of storage media.

【0005】この場合、上記の記憶媒体にはデータが保
存されていてはならず、データが保存されている場合に
はファイルのデータを保存することで、その記憶媒体に
以前から保存されていたデータが消去されてしまうこと
となる。
In this case, the data must not be stored in the storage medium, and if the data is stored, the data of the file is stored so that the data has been stored in the storage medium for a long time. The data will be erased.

【0006】複数の記憶媒体に分割して保存されたデー
タにはスタートフラグとストップフラグとが付加されて
いるので、元のファイルに戻す場合、複数の記憶媒体に
保存されたデータからスタートフラグとストップフラグ
とを削除した後に結合させている。
[0006] Since a start flag and a stop flag are added to data divided and stored in a plurality of storage media, when returning to the original file, the start flag and the stop flag are added to the data stored in the plurality of storage media. After deleting the stop flag and joining.

【0007】[0007]

【発明が解決しようとする課題】上述した従来のファイ
ル管理装置では、初期設定時に外部記憶装置の種類を設
定しているため、記憶容量が異なる外部記憶装置[例え
ば、MO(Magneto Optical)等のリム
ーバブル記憶媒体]や記憶媒体のフォーマットが異なる
外部記憶装置をファイル保存用として同時に使用するこ
とができない。
In the above-mentioned conventional file management apparatus, since the type of the external storage device is set at the time of initial setting, the external storage device having a different storage capacity [for example, MO (Magneto Optical) or the like]. Removable Storage Medium] or an external storage device having a different storage medium format cannot be used simultaneously for file storage.

【0008】つまり、従来のファイル分割保存として
は、なにも保存されていない同一種類でかつ同一フォー
マットの記憶媒体についてのみ対応しているため、保存
しようとしている記憶媒体に他のファイルが保存されて
いる場合や種類またはフォーマットが異なる記憶媒体に
分割ファイルを保存させることが不可能である。言い換
えると、従来技術では記憶媒体の空き容量に合わせてフ
ァイルの分割保存を行うことができない。
In other words, the conventional file division storage only supports storage mediums of the same type and the same format that are not stored at all, and other files are stored in the storage medium to be stored. It is not possible to store the divided files in storage media of different types or formats. In other words, in the related art, it is not possible to divide and save a file according to the free space of the storage medium.

【0009】そこで、本発明の目的は上記の問題点を解
消し、保存しようとしている記憶媒体に他のファイルが
保存されている場合や種類またはフォーマットが異なる
場合でも記憶媒体にファイルを分割して保存させること
ができるファイル管理装置及びそれに用いるファイル管
理方法並びにその制御プログラムを記録した記録媒体を
提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned problems and to divide a file into storage media even when another file is stored in the storage medium to be stored or when the type or format is different. It is an object of the present invention to provide a file management device capable of being stored, a file management method used therefor, and a recording medium recording a control program therefor.

【0010】[0010]

【課題を解決するための手段】本発明によるファイル管
理装置は、分割するファイルを一時記憶する一時記憶手
段と、前記ファイルを保存する複数の外部記憶装置と、
前記外部記憶装置の空き容量を確認する確認手段と、前
記確認手段で確認された前記空き容量に合わせて前記一
時記憶手段に記憶されているファイルの先頭から分割す
る分割手段と、前記分割手段で分割されたファイルを複
数の外部記憶装置各々に保存する保存手段とを備えてい
る。
According to the present invention, there is provided a file management apparatus comprising: a temporary storage unit for temporarily storing a file to be divided; a plurality of external storage units for storing the file;
Confirmation means for confirming the free space of the external storage device, division means for dividing the file stored in the temporary storage means from the beginning according to the free space confirmed by the confirmation means, Storage means for storing the divided files in each of the plurality of external storage devices.

【0011】本発明によるファイル管理方法は、分割す
るファイルを一時記憶するステップと、前記ファイルを
保存する複数の外部記憶装置の空き容量を確認するステ
ップと、確認された空き容量に合わせて一時記憶されて
いるファイルの先頭から分割するステップと、その分割
されたファイルを複数の外部記憶装置各々に保存するス
テップとを備えている。
In the file management method according to the present invention, a step of temporarily storing a file to be divided, a step of checking free space of a plurality of external storage devices for storing the file, and a temporary storage according to the checked free space And a step of storing the divided file in each of a plurality of external storage devices.

【0012】本発明によるファイル管理制御プログラム
を記録した記録媒体は、コンピュータに、ファイルの保
存管理を行わせるためのファイル管理制御プログラムを
記録した記録媒体であって、前記ファイル管理制御プロ
グラムは前記コンピュータに、分割するファイルを一時
記憶させ、前記ファイルを保存する複数の外部記憶装置
の空き容量を確認させ、確認された空き容量に合わせて
一時記憶されているファイルの先頭から分割させ、その
分割されたファイルを複数の外部記憶装置各々に保存さ
せている。
A recording medium on which a file management control program according to the present invention is recorded is a recording medium on which a file management control program for causing a computer to store and manage files is recorded. The file to be divided is temporarily stored, the free space of a plurality of external storage devices for storing the file is confirmed, the file is temporarily divided according to the confirmed free space from the beginning of the file, and the divided file is divided. The stored file is stored in each of the plurality of external storage devices.

【0013】すなわち、本発明のファイル管理装置は、
1つの外部記憶装置の容量を超えるような大容量のデー
タを、そのデータを保存する各外部記憶装置の空き容量
に合わせて分割した後、各外部記憶装置へと保存してい
る。
That is, the file management device of the present invention comprises:
Large-capacity data exceeding the capacity of one external storage device is divided according to the free space of each external storage device for storing the data, and then stored in each external storage device.

【0014】より具体的には、本発明のファイル管理装
置は、分割するファイルをRAMに格納した後、保存す
る外部記憶装置の記憶媒体の空き容量を確認し、その空
き容量に合わせてRAMに格納されているファイルの先
頭から分割し、外部記憶装置に保存している。
More specifically, the file management device of the present invention stores the file to be divided in the RAM, checks the free space of the storage medium of the external storage device to be saved, and stores the file in the RAM according to the free space. The stored file is divided from the beginning and stored in an external storage device.

【0015】これによって、外部記憶装置に他のファイ
ルが保存されている等のように外部記憶装置の空き容量
が何のデータも保存していない状態(最大記憶容量)で
はない場合や異なるフォーマットの場合でも、外部記憶
装置の空き容量に合わせてファイルを分割して保存する
ことが可能となる。また、種類が異なる外部記憶装置に
ついても、各外部記憶装置の空き容量に合わせてファイ
ルを分割して保存することが可能となる。
[0015] Accordingly, when the free space of the external storage device is not in a state where no data is stored (maximum storage capacity), such as when another file is stored in the external storage device, or when a different format is used. Even in this case, the file can be divided and stored according to the free space of the external storage device. Also, for external storage devices of different types, files can be divided and stored according to the free space of each external storage device.

【0016】[0016]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
るファイル管理装置の構成を示すブロック図であり、図
2は本発明の一実施例によるファイル管理装置を用いた
システムのシステム構成を示すブロック図である。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a file management device according to one embodiment of the present invention, and FIG. 2 is a block diagram showing a system configuration of a system using the file management device according to one embodiment of the present invention.

【0017】これらの図において、本発明の一実施例に
よるファイル管理装置を用いたシステムは互いにバス
(アドレスバス及びデータバス等)100に接続される
CPU(中央処理装置)21と、ROM(リード・オン
リ・メモリ)22と、RAM(ランダム・アクセス・メ
モリ)3と、入出力制御装置24とから構成されてい
る。また、入出力制御装置24には入力装置25と、外
部記憶装置13と、表示装置27とが接続されている。
In these figures, a system using a file management apparatus according to an embodiment of the present invention includes a CPU (central processing unit) 21 and a ROM (read) connected to a bus (address bus and data bus, etc.) 100 mutually. (Only memory) 22, RAM (random access memory) 3, and input / output control device 24. The input / output control device 24 is connected with an input device 25, an external storage device 13, and a display device 27.

【0018】一方、本発明の一実施例によるファイル管
理装置は入力機能1と、格納機能2,6と、分割機能4
と、制御機能5,7と、フラグ付加機能8と、保存機能
9と、フラグ読取機能10と、フラグ判定機能11と、
データ読取機能12とを備えている。
On the other hand, the file management apparatus according to one embodiment of the present invention has an input function 1, storage functions 2 and 6, and a split function 4
Control functions 5 and 7, a flag addition function 8, a storage function 9, a flag reading function 10, a flag determination function 11,
And a data reading function 12.

【0019】入力機能1は入力装置25からデータを入
力する機能であり、格納機能2は入力装置25から入力
されたデータをRAM3(図2のRAM23)に格納す
る機能である。
The input function 1 is a function for inputting data from the input device 25, and the storage function 2 is a function for storing data input from the input device 25 in the RAM 3 (RAM 23 in FIG. 2).

【0020】分割機能4はRAM3に格納されたデータ
を外部記憶装置13(図2の外部記憶装置26)の空き
容量に合わせて分割する機能である。フラグ付加機能8
は分割したファイルの先頭にスタートフラグを付加し、
ファイルの最後尾にストップフラグを付加する機能であ
る。保存機能9は分割したファイルを外部記憶装置13
に保存する機能である。
The dividing function 4 is a function for dividing the data stored in the RAM 3 according to the free space of the external storage device 13 (the external storage device 26 in FIG. 2). Flag addition function 8
Adds a start flag to the beginning of the divided file,
This function adds a stop flag to the end of the file. The storage function 9 stores the divided files in the external storage device 13.
It is a function to save to.

【0021】フラグ読取機能10は外部記憶装置13に
保存されたファイルに付加されたフラグを読取る機能で
あり、フラグ判定機能11は外部記憶装置13から読取
ったフラグを判定する機能である。
The flag reading function 10 is a function of reading a flag added to a file stored in the external storage device 13, and the flag determining function 11 is a function of determining a flag read from the external storage device 13.

【0022】データ読取機能12は外部記憶装置13に
分割して保存されたファイルを読取る機能である。格納
機能6はその読取ったファイルからスタートフラグとス
トップフラグとを削除し、分割したファイルを結合さ
せ、元のファイルに戻した後にRAM3に格納する機能
である。
The data reading function 12 is a function of reading a file divided and stored in the external storage device 13. The storage function 6 is a function of deleting the start flag and the stop flag from the read file, combining the divided files, returning to the original file, and storing the original file in the RAM 3.

【0023】図3は図1のRAM3に格納されたデータ
を外部記憶装置13に保存する際の処理動作を示すフロ
ーチャートであり、図4は図1の外部記憶装置13に分
割されて保存されたデータを結合してRAM3に格納す
る際の処理動作を示すフローチャートである。これら図
1〜図4を参照して本発明の一実施例によるファイル管
理装置の処理動作について説明する。
FIG. 3 is a flow chart showing a processing operation when data stored in the RAM 3 of FIG. 1 is stored in the external storage device 13, and FIG. 4 is divided and stored in the external storage device 13 of FIG. 9 is a flowchart illustrating a processing operation when data is combined and stored in the RAM 3. The processing operation of the file management apparatus according to the embodiment of the present invention will be described with reference to FIGS.

【0024】例えば、RAM3内にあるデータが1つの
フロッピディスク媒体の記憶容量(例えば、1.4M
b)では保存できない容量(例えば、2Mb)を持って
いる場合に、このデータを外部記憶装置13に保存する
ための処理動作について説明する。尚、図3及び図4に
示す処理動作はROM22等の制御メモリに格納された
プログラムを実行することで実現される。
For example, the data in the RAM 3 is the storage capacity of one floppy disk medium (for example, 1.4M).
A description will be given of a processing operation for storing this data in the external storage device 13 when there is a capacity (for example, 2 Mb) that cannot be stored in b). The processing operations shown in FIGS. 3 and 4 are realized by executing a program stored in a control memory such as the ROM 22.

【0025】この場合、まず、使用者が任意のファイル
名で外部記憶装置13内に領域を確保する。この時、制
御機能7はフラグを初期化した後に(図3ステップS
1)、入力機能1から入力された領域を確保することが
できるかどうかを判断するために、外部記憶装置13の
容量を調べる(図3ステップS2)。制御機能7は外部
記憶装置13の容量を調べる際に、空きセクタ数から外
部記憶装置13の空き容量を調べ、その容量を分割機能
4に通知する。
In this case, first, the user secures an area in the external storage device 13 with an arbitrary file name. At this time, the control function 7 initializes the flag (step S3 in FIG. 3).
1) Check the capacity of the external storage device 13 to determine whether the area input from the input function 1 can be secured (step S2 in FIG. 3). When checking the capacity of the external storage device 13, the control function 7 checks the free capacity of the external storage device 13 from the number of free sectors and notifies the division function 4 of the free capacity.

【0026】分割機能4は制御機能7からの通知に応じ
て、つまり外部記憶装置13の空き容量に合わせてRA
M3に格納されているファイルの先頭からデータを分割
し(図3ステップS3)、分割したファイルを保存機能
9に送る。これは上記のファイルを1つの外部記憶装置
13のみに記憶できないような場合に、外部記憶装置1
3各々のあいている領域に当該ファイルを分割して保存
するためである。
The division function 4 responds to the notification from the control function 7, that is, the RA according to the free space of the external storage device 13.
The data is divided from the beginning of the file stored in M3 (step S3 in FIG. 3), and the divided file is sent to the storage function 9. This is because when the above file cannot be stored in only one external storage device 13,
3 is to divide and save the file in each open area.

【0027】その際、分割機能4は分割したファイルの
容量を制御機能7を介してフラグ付加機能8に通知する
ので、フラグ付加機能8は制御機能7を介して送られて
くる分割機能4からの通知に応じて、分割したファイル
の先頭にスタートフラグを、そのファイルの最後尾にス
トップフラグを夫々付加する(図3ステップS4)。
At this time, the division function 4 notifies the flag addition function 8 of the capacity of the divided file via the control function 7, so that the flag addition function 8 is transmitted from the division function 4 sent via the control function 7. , A start flag is added to the beginning of the divided file, and a stop flag is added to the end of the file (step S4 in FIG. 3).

【0028】スタートフラグ及びストップフラグは一番
目の分割ファイルにスタートフラグ#1及びストップフ
ラグ#1を、二番目の分割ファイルにスタートフラグ#
2及びストップフラグ#2を、というようにフラグ付加
機能8で付加されていく。また、フラグ付加機能8は一
番最後のファイルの最後尾にエンドフラグEを付加す
る。
The start flag and the stop flag are the start flag # 1 and the stop flag # 1 in the first divided file, and the start flag # 1 in the second divided file.
2 and the stop flag # 2 are added by the flag adding function 8, and so on. The flag addition function 8 adds an end flag E to the end of the last file.

【0029】その際、RAM3に分割するファイルがま
だある場合(図3ステップS5)、制御機能7はフラグ
付加機能8でフラグが付加されたファイルを保存機能9
によって各外部記憶装置13に保存する(図3ステップ
S6)。この後に、制御機能7はフラグを更新した後に
(フラグ=フラグ+1)(図3ステップS7)、表示装
置27に外部記憶装置13の交換を表示してから(図3
ステップS8)、外部記憶装置13の交換を指示する
(図3ステップS9)。
At this time, if there is still a file to be divided in the RAM 3 (step S5 in FIG. 3), the control function 7 saves the file added with the flag by the flag adding function 8
Is stored in each external storage device 13 (step S6 in FIG. 3). Thereafter, the control function 7 updates the flag (flag = flag + 1) (step S7 in FIG. 3), and then displays the replacement of the external storage device 13 on the display device 27 (FIG. 3).
Step S8), and instruct to replace the external storage device 13 (Step S9 in FIG. 3).

【0030】上記の処理動作は、RAM3内の分割する
ファイルがなくなるまで、繰返し行われる(図3ステッ
プS2〜S9)。制御機能7はRAM3内の分割するフ
ァイルがなくなると(図3ステップS5)、フラグ付加
機能8によって一番最後のファイルの最後尾にエンドフ
ラグEを付加し(図3ステップS10)、フラグ付加機
能8でフラグが付加されたファイルを保存機能9によっ
て各外部記憶装置13に保存する(図3ステップS1
1)。
The above processing is repeated until there are no more files to be divided in the RAM 3 (steps S2 to S9 in FIG. 3). When there are no more files to be divided in the RAM 3 (step S5 in FIG. 3), the control function 7 adds an end flag E to the end of the last file by the flag addition function 8 (step S10 in FIG. 3). The file added with the flag in step 8 is stored in each external storage device 13 by the storage function 9 (step S1 in FIG. 3).
1).

【0031】次に、複数の外部記憶装置13に分割され
て保存されたデータを結合してRAM3に格納する際の
処理動作について説明する。まず、使用者が入力装置2
5からファイル名を入力する(図4ステップS21)。
Next, a description will be given of a processing operation when the data divided and stored in the plurality of external storage devices 13 are combined and stored in the RAM 3. First, the user operates the input device 2
Then, a file name is input from Step 5 (Step S21 in FIG. 4).

【0032】すると、制御機能5はフラグを1に初期化
する(図4ステップS22)。その後に、制御機能5は
使用者が入力したファイル名と外部記憶装置13に保存
されているファイル名とが同じか否かを判断し(図4ス
テップS22)、ファイル名が違っていれば表示装置2
7にエラー表示及びファイル名を再入力するよう催促す
るメッセージを表示するとともに、外部記憶装置13の
交換を表示してから(図4ステップS28)、外部記憶
装置13の交換を指示する(図4ステップS29)。
Then, the control function 5 initializes the flag to 1 (step S22 in FIG. 4). Thereafter, the control function 5 determines whether the file name input by the user is the same as the file name stored in the external storage device 13 (step S22 in FIG. 4), and displays if the file name is different. Device 2
7, an error display and a message urging the user to re-enter the file name are displayed, and the replacement of the external storage device 13 is displayed (step S28 in FIG. 4), and then the replacement of the external storage device 13 is instructed (FIG. 4). Step S29).

【0033】制御機能5はファイル名が等しければ、外
部記憶装置13に保存されているファイルのスタートフ
ラグ及びストップフラグが読出すべきフラグと等しいか
どうかを判断する(図4ステップS24)。1つ目の外
部記憶装置13から読出す場合には、スタートフラグ及
びストップフラグが夫々#1であるかを調べ、それ以降
はフラグの番号を外部記憶装置13の交換が行われる毎
に1ずつ増やしていく。
If the file names are the same, the control function 5 determines whether the start flag and the stop flag of the file stored in the external storage device 13 are equal to the flag to be read (step S24 in FIG. 4). When reading from the first external storage device 13, it is checked whether the start flag and the stop flag are each # 1, and thereafter the flag number is incremented by one every time the external storage device 13 is exchanged. Increase.

【0034】制御機能5はフラグが等しくなければ、外
部記憶装置13の交換を表示してから(図4ステップS
28)、外部記憶装置13の交換を指示する(図4ステ
ップS29)。また、制御機能5はフラグが等しけれ
ば、データ読取機能12によってそのファイルを外部記
憶装置13から読取り、格納機能6によってそのデータ
からスタートフラグ及びストップフラグを削除しながら
RAM3に格納する(図4ステップS25)。
If the flags are not equal, the control function 5 indicates that the external storage device 13 has been replaced (step S5 in FIG. 4).
28), and instructs replacement of the external storage device 13 (step S29 in FIG. 4). If the flags are the same, the control function 5 reads the file from the external storage device 13 by the data reading function 12, and stores the file in the RAM 3 while deleting the start flag and the stop flag from the data by the storage function 6 (step in FIG. 4). S25).

【0035】その際、制御機能5はファイルにエンドマ
ークEが付加されていなければ(図4ステップS2
6)、フラグを更新した後に(フラグ=フラグ+1)
(図4ステップS27)、表示装置27に外部記憶装置
13の交換を表示してから(図4ステップS28)、外
部記憶装置13の交換を指示する(図4ステップS2
9)。
At this time, if the end mark E has not been added to the file (step S2 in FIG. 4)
6) After updating the flag (flag = flag + 1)
(Step S27 in FIG. 4), after displaying the exchange of the external storage device 13 on the display device 27 (Step S28 in FIG. 4), the exchange of the external storage device 13 is instructed (Step S2 in FIG. 4).
9).

【0036】上記の処理動作は、外部記憶装置13から
エンドマークEが付加されたファイルが読出されるま
で、繰返し行われる(図4ステップS22〜S29)。
制御機能5は外部記憶装置13からエンドマークEが付
加されたファイルが読出されると(図4ステップS2
6)、格納機能6によってそのデータからスタートフラ
グ及びストップフラグとエンドマークEとを削除しなが
らRAM3に格納し(図4ステップS30)、RAM3
に格納されたファイルを結合する(図4ステップS3
1)。この分割ファイルの結合は従来と同様にして行わ
れる。
The above processing is repeated until the file to which the end mark E is added is read from the external storage device 13 (steps S22 to S29 in FIG. 4).
The control function 5 reads the file to which the end mark E is added from the external storage device 13 (step S2 in FIG. 4).
6) The data is stored in the RAM 3 while the start flag, the stop flag, and the end mark E are deleted from the data by the storage function 6 (step S30 in FIG. 4).
(Step S3 in FIG. 4)
1). The combination of the divided files is performed in the same manner as in the related art.

【0037】このように、例えば1つのフロッピディス
ク媒体の容量を超えるような大容量のデータを、そのデ
ータを保存する各外部記憶装置13の空き容量に合わせ
て夫々分割し、各外部記憶装置13へと保存することに
よって、外部記憶装置13に他のファイルが保存されて
いる等のように外部記憶装置13の空き容量が何のデー
タも保存していない状態(最大記憶容量)ではない場合
や異なるフォーマットの場合でも、外部記憶装置13の
空き容量に合わせてファイルを分割して保存することが
できる。
As described above, for example, large-capacity data exceeding the capacity of one floppy disk medium is divided according to the free space of each external storage device 13 for storing the data. Is stored in the external storage device 13 so that the free space of the external storage device 13 is not in a state where no data is stored (maximum storage capacity), such as when other files are stored in the external storage device 13. Even in the case of a different format, the file can be divided and stored according to the free space of the external storage device 13.

【0038】また、種類が異なる外部記憶装置、例えば
MO等についても、各外部記憶装置13の空き容量に合
わせてファイルを分割して保存することができる。各外
部記憶装置13からの読出しは上記のように、ファイル
名とフラグ番号とを基に行うので、ファイルが異なるフ
ォーマットの記憶媒体に夫々分割保存された場合でも、
容易に読出してファイルの結合を行うことができる。
Also, for external storage devices of different types, such as MOs, files can be divided and stored according to the free space of each external storage device 13. As described above, the reading from each external storage device 13 is performed based on the file name and the flag number. Therefore, even when the files are divided and stored in the storage media of different formats,
It is easy to read and combine files.

【0039】[0039]

【発明の効果】以上説明したように本発明によれば、分
割するファイルを一時記憶し、その分割するファイルを
保存する複数の外部記憶装置の空き容量を確認し、確認
された空き容量に合わせて、一時記憶されているファイ
ルの先頭から分割し、その分割されたファイルを複数の
外部記憶装置各々に保存することによって、保存しよう
としている記憶媒体に他のファイルが保存されている場
合や種類またはフォーマットが異なる場合でも記憶媒体
にファイルを分割して保存させることができるという効
果がある。
As described above, according to the present invention, the file to be divided is temporarily stored, the free space of a plurality of external storage devices for storing the file to be divided is checked, and the free space is adjusted according to the checked free space. By dividing the temporarily stored file from the beginning and storing the divided file in each of a plurality of external storage devices, the case where other files are stored in the storage medium to be stored or the Alternatively, even if the formats are different, there is an effect that the file can be divided and stored in the storage medium.

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

【図1】本発明の一実施例によるファイル管理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a file management device according to an embodiment of the present invention.

【図2】本発明の一実施例によるファイル管理装置を用
いたシステムのシステム構成を示すブロック図である。
FIG. 2 is a block diagram showing a system configuration of a system using a file management device according to one embodiment of the present invention.

【図3】図1のRAMに格納されたデータを外部記憶装
置に保存する際の処理動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a processing operation when data stored in a RAM of FIG. 1 is stored in an external storage device.

【図4】図1の外部記憶装置に分割されて保存されたデ
ータを結合してRAMに格納する際の処理動作を示すフ
ローチャートである。
FIG. 4 is a flowchart showing a processing operation when data divided and stored in the external storage device of FIG. 1 are combined and stored in a RAM.

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

1 入力機能 2,6 格納機能 3 RAM 4 分割機能 5,7 制御機能 8 フラグ付加機能 9 保存機能 10 フラグ読取機能 11 フラグ判定機能 12 データ読取機能 13 外部記憶装置 21 CPU21 22 ROM 24 入出力制御装置 25 入力装置 27 表示装置 Reference Signs List 1 input function 2, 6 storage function 3 RAM 4 division function 5, 7 control function 8 flag addition function 9 storage function 10 flag reading function 11 flag determination function 12 data reading function 13 external storage device 21 CPU 21 22 ROM 24 input / output control device 25 input device 27 display device

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 分割するファイルを一時記憶する一時記
憶手段と、前記ファイルを保存する複数の外部記憶装置
と、前記外部記憶装置の空き容量を確認する確認手段
と、前記確認手段で確認された前記空き容量に合わせて
前記一時記憶手段に記憶されているファイルの先頭から
分割する分割手段と、前記分割手段で分割されたファイ
ルを複数の外部記憶装置各々に保存する保存手段とを有
することを特徴とするファイル管理装置。
1. A temporary storage unit for temporarily storing a file to be divided, a plurality of external storage devices for storing the file, a confirmation unit for confirming a free space of the external storage device, and a confirmation unit for confirming a free space of the external storage device. A dividing unit that divides the file stored in the temporary storage unit from the beginning according to the free space; and a storage unit that stores the file divided by the division unit in each of a plurality of external storage devices. Characteristic file management device.
【請求項2】 前記確認手段は、前記外部記憶装置の空
きセクタ数から前記外部記憶装置の空き容量を確認する
よう構成したことを特徴とする請求項1記載のファイル
管理装置。
2. The file management apparatus according to claim 1, wherein said confirmation means is configured to confirm the free space of said external storage device from the number of free sectors of said external storage device.
【請求項3】 前記保存手段は、前記分割手段で分割さ
れたファイルの先頭及び最後尾に夫々先頭及び最後尾を
示すフラグを付加して前記外部記憶装置に保存するよう
構成したことを特徴とする請求項1または請求項2記載
のファイル管理装置。
3. The storage device according to claim 1, wherein the storage unit adds a flag indicating a head and a tail to a head and a tail of the file divided by the division unit, and stores the file in the external storage device. 3. The file management device according to claim 1, wherein
【請求項4】 外部指示に応じて前記外部記憶装置から
前記ファイルを読出す読出し手段と、前記読出し手段が
前記外部記憶装置から読出したファイルの先頭及び最後
尾から前記フラグを削除して前記一時記憶手段に格納す
る格納手段とを含むことを特徴とする請求項3記載のフ
ァイル管理装置。
4. A reading means for reading the file from the external storage device in response to an external instruction, and wherein the reading means deletes the flag from the beginning and end of the file read from the external storage device, and 4. The file management apparatus according to claim 3, further comprising a storage unit for storing the data in the storage unit.
【請求項5】 分割するファイルを一時記憶するステッ
プと、前記ファイルを保存する複数の外部記憶装置の空
き容量を確認するステップと、確認された空き容量に合
わせて一時記憶されているファイルの先頭から分割する
ステップと、その分割されたファイルを複数の外部記憶
装置各々に保存するステップとを有することを特徴とす
るファイル管理方法。
5. A step of temporarily storing a file to be divided, a step of checking free space of a plurality of external storage devices for storing the file, and a step of starting the file temporarily stored according to the checked free space. And a step of storing the divided files in each of a plurality of external storage devices.
【請求項6】 前記空き容量を確認するステップは、前
記外部記憶装置の空きセクタ数から前記外部記憶装置の
空き容量を確認するようにしたことを特徴とする請求項
5記載のファイル管理方法。
6. The file management method according to claim 5, wherein in the step of checking the free space, the free space of the external storage device is checked from the number of free sectors of the external storage device.
【請求項7】 前記分割されたファイルを複数の外部記
憶装置各々に保存するステップは、分割されたファイル
の先頭及び最後尾に夫々先頭及び最後尾を示すフラグを
付加して前記外部記憶装置に保存するようにしたことを
特徴とする請求項5または請求項6記載のファイル管理
方法。
7. The step of storing the divided file in each of a plurality of external storage devices includes adding a flag indicating a head and a tail to a head and a tail of the divided file, respectively, and storing the divided file in the external storage device. 7. The file management method according to claim 5, wherein the file is stored.
【請求項8】 外部指示に応じて前記外部記憶装置から
前記ファイルを読出すステップと、前記外部記憶装置か
ら読出したファイルの先頭及び最後尾から前記フラグを
削除して一時記憶させるステップとを含むことを特徴と
する請求項7記載のファイル管理方法。
8. A step of reading the file from the external storage device in response to an external instruction, and a step of temporarily storing the file read from the external storage device while deleting the flag from the beginning and end of the file. 8. The file management method according to claim 7, wherein:
【請求項9】 コンピュータに、ファイルの保存管理を
行わせるためのファイル管理制御プログラムを記録した
記録媒体であって、前記ファイル管理制御プログラムは
前記コンピュータに、分割するファイルを一時記憶さ
せ、前記ファイルを保存する複数の外部記憶装置の空き
容量を確認させ、確認された空き容量に合わせて一時記
憶されているファイルの先頭から分割させ、その分割さ
れたファイルを複数の外部記憶装置各々に保存させるこ
とを特徴とするファイル管理制御プログラムを記録した
記録媒体。
9. A recording medium recording a file management control program for causing a computer to perform file storage management, wherein the file management control program causes the computer to temporarily store a file to be divided, and To check the free space of a plurality of external storage devices for storing the file, split the temporarily stored file from the beginning according to the checked free space, and store the divided file in each of the plurality of external storage devices A recording medium on which a file management control program is recorded.
【請求項10】 前記ファイル管理制御プログラムは前
記コンピュータに、前記空き容量を確認させる際に、前
記外部記憶装置の空きセクタ数から前記外部記憶装置の
空き容量を確認させることを特徴とする請求項9記載の
ファイル管理制御プログラムを記録した記録媒体。
10. The file management control program, when causing the computer to check the free space, causes the computer to check the free space of the external storage device from the number of free sectors of the external storage device. A recording medium recording the file management control program according to claim 9.
【請求項11】 前記ファイル管理制御プログラムは前
記コンピュータに、前記分割されたファイルを複数の外
部記憶装置各々に保存させる際に、分割されたファイル
の先頭及び最後尾に夫々先頭及び最後尾を示すフラグを
付加して前記外部記憶装置に保存させることを特徴とす
る請求項9または請求項10記載のファイル管理制御プ
ログラムを記録した記録媒体。
11. The file management control program, when causing the computer to store the divided file in each of a plurality of external storage devices, indicates the beginning and end of the divided file at the beginning and end, respectively. 11. A recording medium storing a file management control program according to claim 9, wherein a flag is added and stored in the external storage device.
【請求項12】 前記ファイル管理制御プログラムは前
記コンピュータに、外部指示に応じて前記外部記憶装置
から前記ファイルを読出させ、前記外部記憶装置から読
出させたファイルの先頭及び最後尾から前記フラグを削
除させて一時記憶させることを特徴とする請求項11記
載のファイル管理制御プログラムを記録した記録媒体。
12. The file management control program causes the computer to read the file from the external storage device in response to an external instruction, and deletes the flag from the beginning and end of the file read from the external storage device. 12. A recording medium recording the file management control program according to claim 11, wherein the file management program is temporarily stored.
JP10268729A 1998-09-22 1998-09-22 File management device, file managing method for the same and storage medium with its control program recorded therein Withdrawn JP2000099375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10268729A JP2000099375A (en) 1998-09-22 1998-09-22 File management device, file managing method for the same and storage medium with its control program recorded therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10268729A JP2000099375A (en) 1998-09-22 1998-09-22 File management device, file managing method for the same and storage medium with its control program recorded therein

Publications (1)

Publication Number Publication Date
JP2000099375A true JP2000099375A (en) 2000-04-07

Family

ID=17462547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10268729A Withdrawn JP2000099375A (en) 1998-09-22 1998-09-22 File management device, file managing method for the same and storage medium with its control program recorded therein

Country Status (1)

Country Link
JP (1) JP2000099375A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002079789A (en) * 2000-09-08 2002-03-19 Tokio Marine & Fire Insurance Co Ltd Writing tool
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 (5)

* 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
JP2002079789A (en) * 2000-09-08 2002-03-19 Tokio Marine & Fire Insurance Co Ltd Writing tool
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
US6823417B2 (en) Memory controller for memory card manages file allocation table
JPH1069420A (en) Information recording and reproducing device and information recording and reproducing method
JP2610737B2 (en) Recording and playback device
JP2001165675A (en) Navigation system
US7058659B2 (en) Apparatus and method for file management of portable device
JP2000099375A (en) File management device, file managing method for the same and storage medium with its control program recorded therein
JP2750230B2 (en) Electronic file device
US6523105B1 (en) Recording medium control device and method
JP2728056B2 (en) File editing device
JPH08255167A (en) External comment appending system for image data collection medium
JP2010128605A (en) Information storage device, data storage method, and program
JPH06231012A (en) Log data managing device
JP2793630B2 (en) Communication terminal system
JPH02302813A (en) Device for storing and setting up hard disk parameter
JPS62107331A (en) Error processing system for document file
JPS63285787A (en) Information recording card system
JPH05324447A (en) Map data managing device
JPS6195461A (en) Information filing device
JP2003015919A (en) Data file management device, data file management method, program and storage medium
JPH0619980A (en) Image retrieval system
JPS63255889A (en) Data file device
JPH05113922A (en) Data storage device
JPH0261750A (en) File remote maintaining method in on-line system
JPH09128282A (en) Retrieval information management system in image filing device
JP2000222262A (en) Information recording device and method for information recording to same device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110