JPH064368A - File access device - Google Patents

File access device

Info

Publication number
JPH064368A
JPH064368A JP4163086A JP16308692A JPH064368A JP H064368 A JPH064368 A JP H064368A JP 4163086 A JP4163086 A JP 4163086A JP 16308692 A JP16308692 A JP 16308692A JP H064368 A JPH064368 A JP H064368A
Authority
JP
Japan
Prior art keywords
file
data
storage medium
external storage
history information
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
JP4163086A
Other languages
Japanese (ja)
Inventor
Masayoshi Minoda
政義 蓑田
Yoshihisa Enomoto
圭央 榎本
Masaru Osawa
優 大澤
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.)
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering 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 Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP4163086A priority Critical patent/JPH064368A/en
Publication of JPH064368A publication Critical patent/JPH064368A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide the file access device of which completeness of a data file is guaranteed. CONSTITUTION:When the data amount of a file demanding the write from a work processing job 1 exceeds the capacity of the data file, an output processing part 4 divides the file records it in an external storage medium 8 as plural data files, prepares an index file storing the file names of the plural data files and file history information concerning the respective data files and asks a file access processing part 5 to record it in the external storage medium 8. When the file requested to read is divided into plural data files and recorded, by referring to the index file, an input processing part 3 verifies whether the file history information of the respective data files is coincident with the file history information of respective data files stored in the file access processing part 5 or not and when they are coincident with each other, the data files are read out of the external storage medium 8.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、記憶媒体状のファイル
をアクセスするファイルアクセス装置に関するものであ
り、特に、大容量ファイルを複数のデ−タファイルに分
割して格納し、或いは読み出すファイルアクセス装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file access device for accessing a file in the form of a storage medium, and more particularly to a file access device for dividing a large capacity file into a plurality of data files for storage or reading. It is about.

【0002】[0002]

【従来の技術】従来、外部記憶媒体上にデ−タファイル
1個あたりの物理的な容量制限を越えるファイルを格納
したい場合、ファイル1個あたりの容量制限を拡大する
ために、ファイルアクセスを行う処理プログラム、バッ
クアップを取得するプログラム及び、バックアップファ
イルから回復するプログラム等の改造を行う必要があっ
た。これに対して従来、インデックスファイルを設け、
ファイルアクセス時にインデックスファイルを参照する
ことによってファイル1個の物理的な制限を越えたデー
タを格納するファイルアクセス装置が提案されている。
2. Description of the Related Art Conventionally, when it is desired to store a file that exceeds a physical capacity limit per data file on an external storage medium, a file access process is performed in order to expand the capacity limit per file. It was necessary to modify the program, the program to obtain the backup, and the program to recover from the backup file. On the other hand, conventionally, an index file is provided,
A file access device has been proposed which stores data exceeding the physical limit of one file by referring to the index file when accessing the file.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、かかる
従来のファイルアクセス装置にあっては、次のような問
題点があった。
However, such a conventional file access device has the following problems.

【0004】すなわち、通常、コンピュ−タシステムの
外部記憶媒体の保守等のために該外部記憶媒体の一部或
いは全部のデ−タファイルをバックアップし、バックア
ップファイルを作成することがよくある。このバックア
ップファイルからの回復によって、複数のデータファイ
ル群のうち一つでも古いか、又は、新しいデータファイ
ルに変更された場合、特に複数のデ−タファイルに分割
されて格納されているファイルにあっては、本来あるべ
きデ−タの内容が変更され、デ−タの正確性が担保でき
なくなる。
That is, in general, a backup file is often created by backing up a part or all of the data files of the external storage medium for maintenance of the external storage medium of the computer system. If any of the multiple data file groups is old or changed to a new data file by recovery from this backup file, especially if it is stored in a file divided into multiple data files. , The contents of the original data are changed, and the accuracy of the data cannot be guaranteed.

【0005】本発明は上記問題点に鑑みてなされたもの
で、デ−タファイルの完全性を保証できるファイルアク
セス装置を提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a file access device capable of guaranteeing the integrity of a data file.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明は、ファイルの書き込みもしくは読み出しの依
頼に応じて、ファイルにアクセスするファイルアクセス
装置であって、所定の制限容量以下のデ−タファイルを
格納する外部記憶媒体と、外部記憶媒体に記憶されてい
る各デ−タファイルに関する第1のファイル履歴情報を
記憶し、前記外部記憶媒体へのデ−タファイルの書き込
みもしくは更新を依頼された場合に、依頼されたデ−タ
ファイルの前記外部記憶媒体への書き込みもしくは更新
を制御し、記憶したデ−タファイルに関する前記第1の
ファイル履歴情報を書き換えて管理し、前記デ−タファ
イルの読み出しを依頼された場合に、当該デ−タファイ
ルの読みだしを制御するファイルアクセス処理手段と、
書き込みを依頼されたファイルのデ−タ量が、デ−タフ
ァイルの容量を超えている場合に、当該ファイルを分割
して複数のデ−タファイルとして前記外部記憶媒体に記
録するようファイルアクセス処理手段に依頼し、当該フ
ァイルについての管理情報として、当該ファイルを分割
した複数のデ−タファイルの各デ−タファイル名と各デ
−タファイルに関する第2のファイル履歴情報を格納し
たインデックスファイルを作成し、作成したインデック
スファイルを前記外部記憶媒体に記録する出力処理手段
と、前記ファイルアクセス処理手段に前記外部記憶媒体
へのデ−タファイルの書き込みもしくは更新を依頼する
デ−タファイル操作手段と、読みだしを依頼されたファ
イルが、先に複数のデ−タファイルに分割されて記録さ
れているファイルであった場合に、当該ファイルについ
ての前記インデックスファイルを参照し、当該ファイル
を構成する各デ−タファイルの前記第2のファイル履歴
情報と、前記ファイルアクセス処理手段によって記憶さ
れた対応するデ−タファイルについての第1のファイル
履歴情報が一致するか否か検証し、前記第1、第2のフ
ァイル履歴情報が一致した場合には、当該デ−タファイ
ルを前記外部記憶媒体から読みだすようファイルアクセ
ス処理手段に依頼する入力処理手段を有することを特徴
とするファイルアクセス装置を提供する。
In order to achieve the above object, the present invention is a file access device for accessing a file in response to a request for writing or reading the file, and a data access device having a predetermined capacity or less. When an external storage medium for storing a data file and first file history information regarding each data file stored in the external storage medium are stored, and a request for writing or updating the data file to the external storage medium is made. Control of writing or updating the requested data file to the external storage medium, rewriting and managing the first file history information relating to the stored data file, and requesting reading of the data file. File access processing means for controlling the reading of the data file,
When the amount of data of a file requested to be written exceeds the capacity of the data file, the file access processing means is configured to divide the file and record it as a plurality of data files in the external storage medium. As a management information for the file, an index file that stores each data file name of a plurality of data files obtained by dividing the file and the second file history information regarding each data file is created and created. Output processing means for recording the index file in the external storage medium, data file operating means for requesting the file access processing means to write or update the data file in the external storage medium, and a read request were made. File that is recorded by dividing the file into multiple data files first If there is, refer to the index file for the file and refer to the second file history information of each data file forming the file and the corresponding data file stored by the file access processing means. File access processing means for verifying whether or not the first file history information of the above is matched, and if the first and second file history information is matched, the data file is read from the external storage medium. There is provided a file access device characterized by having an input processing means for requesting to.

【0007】[0007]

【作用】本発明はファイルアクセス装置を上述のごとく
構成し、書き込み依頼を受けたファイルのデ−タ量がデ
−タファイルの容量よりも大きな場合には、複数のデ−
タファイルに分割して順次格納していく。一つのデータ
ファイルの容量が容量限界になったら当該デ−タファイ
ルをクローズし、そのデータファイル名と、当該データ
ファイルのファイル履歴情報(ファイル作成日、ファイ
ル更新日、ファイル作成時間、ファイル更新回数、容
量)を格納したインデックスファイルを生成し、外部記
憶媒体に格納する。また、複数のデ−タファイルに分割
されて格納されているファイルを読み出す時には、当該
ファイルのファイル名が格納されているインデックスフ
ァイルから当該ファイルの第2のファイル履歴情報を読
み出し、ファイルアクセス手段に記憶されている当該フ
ァイルの第1のファイル履歴情報と第2のファイル履歴
情報とを比較し、一致した場合にはファイルの読みだし
を続行する。従って、前記デ−タファイル操作手段によ
ってバックアップに関連する処理等のために、外部記憶
媒体中のデ−タファイルが更新された場合でも、複数の
ファイルに分割されているデ−タファイルの内容の正確
性が検証でき、データ不良を防止出来る。
According to the present invention, the file access device is constructed as described above, and when the data amount of the file requested to be written is larger than the capacity of the data file, a plurality of data are accessed.
Data files are divided and stored sequentially. When the capacity of one data file reaches the capacity limit, the data file is closed, and the data file name and file history information of the data file (file creation date, file update date, file creation time, file update count, The index file storing the capacity is generated and stored in the external storage medium. Also, when reading a file that is divided and stored in a plurality of data files, the second file history information of the file is read from the index file that stores the file name of the file and stored in the file access means. The first file history information and the second file history information of the file in question are compared, and if they match, the reading of the file is continued. Therefore, even if the data file in the external storage medium is updated by the data file operating means for processing related to backup, etc., the accuracy of the contents of the data file divided into a plurality of files. Can be verified and data defects can be prevented.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は、本発明にかかるファイルアクセス
装置の構成を示す機能ブロック図である。同図中、1は
業務処理ジョブ、2は大容量データアクセス処理部、3
は入力処理部、4は出力処理部、5はファイルアクセス
処理部、6はファイル保存回復処理部、7はバックアッ
プファイル、8は外部記憶媒体、9はインデックスファ
イル群、10はデータファイル群である。
FIG. 1 is a functional block diagram showing the configuration of a file access device according to the present invention. In the figure, 1 is a job processing job, 2 is a large-capacity data access processing unit, 3
Is an input processing unit, 4 is an output processing unit, 5 is a file access processing unit, 6 is a file save / recovery processing unit, 7 is a backup file, 8 is an external storage medium, 9 is an index file group, and 10 is a data file group. .

【0010】大容量データアクセス処理部2は入力処理
部3及び出力処理部4からなり、業務処理ジョブ1から
大容量データのアクセス要求があった場合、ファイルア
クセス処理部5を介して外部記憶媒体8のインデクスフ
ァイル9群及び、データファイル10群にアクセスする
ものである。ファイルアクセス処理部5は、デ−タファ
イル群10内のデ−タファイルに関する第一のファイル
履歴情報(ファイル作成日、ファイル更新日、ファイル
作成時間、ファイル更新回数、容量)を記憶し、その管
理も行なっている。また、ファイル保存回復処理部6
は、業務処理ジョブ1からバックアップ、或いはバック
アップファイルの回復要求を受けたファイルアクセス処
理部5の指令によって、全部或いは一部のデ−タファイ
ルをバックアップファイル7に書き込み、或いは読みだ
しを行なうものである。
The large-capacity data access processing unit 2 comprises an input processing unit 3 and an output processing unit 4, and when a large-volume data access request is issued from the job processing job 1, an external storage medium is sent via the file access processing unit 5. 8 index files 9 and data files 10 are accessed. The file access processing unit 5 stores the first file history information (file creation date, file update date, file creation time, file update count, capacity) regarding the data files in the data file group 10 and also manages them. I am doing it. In addition, the file save recovery processing unit 6
Is for writing or reading all or some of the data files to the backup file 7 according to a command from the file access processing unit 5 which receives a backup or a backup file recovery request from the job processing job 1. .

【0011】次に外部記憶媒体8内のインデックスファ
イル群9及びデ−タファイル群10について説明する。
ここで、図2はインデックスファイル群9及びデ−タフ
ァイル群10の構成を示した図である。インデックスフ
ァイル群9はインデックスファイル9−1,9−2,…
…から構成され、各インデックスファイル9−1,9−
2内には次のインデックスファイル名21−1、及びそ
のファイル履歴情報、データファイル名22−11,…
…,22−1n、及びそれらのファイル履歴情報が格納
されている。また、デ−タファイル群10は、デ−タフ
ァイル10−11,……,10−1n,10−21,…
…,10−2m,……から構成されている。本実施例で
は、次のインデックスファイル名21−1のファイル情
報には、インデックスファイル9−2に関するファイル
履歴情報、即ちファイル作成日、ファイル更新日、ファ
イル作成時間、ファイル更新回数等が書き込まれてい
る。また、デ−タファイル名22−11のファイル履歴
情報には、当該デ−タファイル名を有するデ−タファイ
ル10−11のファイル履歴情報が格納されている。同
様に、デ−タファイル名22−1nには、当該デ−タフ
ァイル名を有するデ−タファイル10−1nのファイル
情報が格納される。他のインデックスファイルについて
も同様であるため、他のインデックスファイルについて
の説明は省略する。
Next, the index file group 9 and the data file group 10 in the external storage medium 8 will be described.
Here, FIG. 2 is a diagram showing the configurations of the index file group 9 and the data file group 10. The index file group 9 includes index files 9-1, 9-2, ...
.., each index file 9-1, 9-
2, the next index file name 21-1, its file history information, data file name 22-11, ...
, 22-1n and their file history information are stored. Further, the data file group 10 includes the data files 10-11, ..., 10-1n, 10-21 ,.
..., 10-2m, .... In this embodiment, the file information of the next index file name 21-1 is written with the file history information about the index file 9-2, that is, the file creation date, the file update date, the file creation time, the file update count, and the like. There is. The file history information of the data file name 22-11 stores the file history information of the data file 10-11 having the data file name. Similarly, the file information of the data file 10-1n having the data file name is stored in the data file name 22-1n. Since the same applies to other index files, description of the other index files will be omitted.

【0012】続いて、本実施例のデ−タアクセス処理に
ついて説明する。ここで、図3は業務処理ジョブ1への
ファイルの入力処理を行う入力処理部3の処理を示すフ
ローチャートである。なお、ここで大容量デ−タとは、
一つのデ−タファイル10−11では納めることのでき
ない容量のデ−タをいうものとする。
Next, the data access processing of this embodiment will be described. Here, FIG. 3 is a flowchart showing the processing of the input processing unit 3 which performs the input processing of the file to the job processing job 1. In addition, here, the large-capacity data is
The data has a capacity that cannot be stored in one data file 10-11.

【0013】まず入力処理部3は、ファイルのオープン
要求があったか否かを判定する(ステップ301)。ス
テップ301においてイエス(Yes)と判断された場合、
インデックスファイルのオープンをファイルアクセス処
理部5に依頼し、ファイルアクセス処理部5がインデッ
クスファイル群9から指定されたインデックスファイル
をオ−プンする。続いて、ファイルアクセス処理部5は
オ−プンしたインデックスファイルから指定されたデ−
タファイル名のファイル履歴情報(ファイル作成日、フ
ァイル更新日、ファイル作成時間、ファイル更新回数、
容量)を得て、入力処理部3に手渡す。さらに、ファイ
ルアクセス処理部5自身が管理している、該指定された
デ−タファイル名に対応するファイル履歴情報を入力処
理部3に手渡す。
First, the input processing unit 3 determines whether or not there is a file open request (step 301). If Yes in step 301,
The file access processing unit 5 is requested to open the index file, and the file access processing unit 5 opens the index file designated by the index file group 9. Subsequently, the file access processing unit 5 selects the data specified by the opened index file.
File history information of file name (file creation date, file update date, file creation time, file update count,
The capacity is obtained and handed to the input processing unit 3. Further, the file history information corresponding to the specified data file name managed by the file access processing unit 5 itself is handed to the input processing unit 3.

【0014】入力処理部3においては、ファイルアクセ
ス処理部5の管理しているファイル履歴情報とインデッ
クスファイル内に格納されていたファイル履歴情報が一
致するかチェックする(ステップ303)。ステップ3
03においてノ−(No)、即ち不一致の場合、業務処理ジ
ョブ1にエラーを報告し(ステップ305)、処理を終了
する。これに対してステップ303においてイエス(Ye
s)、即ち一致した場合、ファイルアクセス処理部5を使
ってデータファイルのオープンを依頼する。従って、フ
ァイルアクセス処理部5によって所定のデ−タファイル
がオ−プンされる。
The input processing unit 3 checks whether the file history information managed by the file access processing unit 5 and the file history information stored in the index file match (step 303). Step 3
If No in 03, that is, if they do not match, an error is reported to the job processing job 1 (step 305) and the processing is terminated. On the other hand, in step 303, Yes (Ye
s), that is, if they match, the file access processing unit 5 is used to request the opening of the data file. Therefore, the file access processing unit 5 opens a predetermined data file.

【0015】ステップ301においてノ−(No)と判断さ
れた場合には、次にファイルの入力要求があったか否か
を判定する(ステップ306)。ステップ306におい
てイエス(Yes)、即ちファイルの入力要求があったと判
断された場合、ファイルアクセス処理部5に指定のデ−
タファイルのレコ−ドを取り出す旨を依頼し、当該依頼
に基づいてファイルアクセス処理部5がデータファイル
群10の所定のデ−タファイルからレコードを取り出し
業務処理ジョブ1に渡す(ステップ307)。これに対
して、ステップ306においてノ−(No)と判断された場
合、ファイルのクローズ要求があったか否かを判定する
(ステップ308)。ステップ308においてイエス(Y
es)と判断された場合、ファイルアクセス処理部5に対
して、現在オープンしているインデックスファイル及
び、データファイルのクローズを依頼して、処理を終了
する。
When it is judged No in step 301, it is judged whether or not there is a next file input request (step 306). If it is determined in step 306 that there is a file input request, the data specified by the file access processing unit 5 is input.
A request for taking out the record of the data file is requested, and the file access processing unit 5 takes out a record from a predetermined data file of the data file group 10 based on the request and passes it to the job processing job 1 (step 307). On the other hand, if it is judged No in step 306, it is judged whether or not there is a file close request (step 308). In step 308, yes (Y
If it is determined to be es), the file access processing unit 5 is requested to close the index file and the data file that are currently open, and the processing is ended.

【0016】図4は業務処理ジョブ1からのファイルの
出力処理を行う出力処理部4の処理を示すフローチャー
トである。まず出力処理部4は、ファイルのオープン要
求があったか否かを判定する(ステップ401)。ステ
ップ401においてイエス(Yes)、即ちファイルのオー
プン要求があったと判断された場合、インデックスファ
イルのオープンをファイルアクセス処理部5に依頼し、
ファイルアクセス処理部5は指定されたインデックスフ
ァイルをオ−プンする(ステップ402)。そして、デ
ータファイルをファイルアクセス処理部5を使ってオー
プンする(ステップ403)。
FIG. 4 is a flow chart showing the processing of the output processing unit 4 which performs the output processing of the file from the job processing job 1. First, the output processing unit 4 determines whether or not there is a file open request (step 401). If it is determined in step 401 that there is a file open request, the file access processing unit 5 is requested to open the index file,
The file access processing unit 5 opens the designated index file (step 402). Then, the data file is opened using the file access processing unit 5 (step 403).

【0017】ステップ401においてノ−(No)と判断さ
れた場合には、ファイルの出力要求があったか否かを判
定する(ステップ404)。ステップ404においてイ
エス(Yes)の場合、オ−プンされているデ−タファイル
の容量が限界となっているかどうかを調べる(ステップ
405)。限界となっていない場合にはデ−タファイル
にデ−タを書き込む(ステップ409)。これに対し
て、限界となっている場合には、当該デ−タファイルを
クロ−ズするようにファイルアクセス処理部5に依頼す
る(ステップ406)。ファイルアクセス処理部5はオ
−プンしているデ−タファイルをクロ−ズすると共に、
インデックスファイルのうち、当該デ−タファイルのデ
−タファイル名に対応するファイル履歴情報を書き換
え、更にファイルアクセス処理部5自身が管理している
当該デ−タファイルに関するファイル履歴情報も書き換
える。出力処理部4は、次のデ−タファイル名を生成し
て(ステップ407)、当該次のデ−タファイル名に対
応するデ−タファイルをオ−プンするようファイルアク
セス処理部5に依頼する(ステップ408)。その後、
ファイルアクセス処理部5は当該デ−タファイルにデ−
タを書き込む(ステップ409)。
When it is judged No in step 401, it is judged whether or not there is a file output request (step 404). If YES in step 404, it is checked whether or not the capacity of the opened data file is the limit (step 405). If the limit is not reached, the data is written in the data file (step 409). On the other hand, if the limit is reached, the file access processing unit 5 is requested to close the data file (step 406). The file access processing unit 5 closes the opened data file and
In the index file, the file history information corresponding to the data file name of the data file is rewritten, and the file history information regarding the data file managed by the file access processing unit 5 itself is also rewritten. The output processing unit 4 generates the next data file name (step 407) and requests the file access processing unit 5 to open the data file corresponding to the next data file name (step 407). 408). afterwards,
The file access processing unit 5 writes data to the data file.
Data is written (step 409).

【0018】ステップ404においてノ−と判断された
場合、ファイルのクローズ要求があったかを判定する
(ステップ410)。当該ステップ410においてイエ
ス(Yes)と判断された場合、ファイルアクセス処理部5
に対して、現在オ−プンしているデータファイルのクロ
ーズをファイルアクセス処理部5に依頼し、ファイルア
クセス処理部5は所定のファイルをクロ−ズする(ステ
ップ411)。そして最後に、インデックスファイルの
うち、ステップ411においてクロ−ズしたデ−タファ
イルのデ−タファイル名に対応するファイル履歴情報を
書き換えるようファイルアクセス処理部に依頼する(ス
テップ412)。なお、かかる場合にもファイルアクセ
ス処理部5自身も、クロ−ズしたデ−タファイルのデ−
タファイル名に対応するファイル履歴情報を書き換えて
おく。そして、出力処理部4はファイルアクセス処理部
5を使ってインデックスファイルをクロ−ズして(ステ
ップ409)、処理を終了する。なお、ステップ406
においてノ−(No)と判断された場合にも、処理は終了す
る。
If the answer is NO in step 404, it is determined whether there is a file close request (step 410). When it is determined as Yes in step 410, the file access processing unit 5
On the other hand, the file access processing unit 5 is requested to close the currently opened data file, and the file access processing unit 5 closes the predetermined file (step 411). Finally, in the index file, the file access processing unit is requested to rewrite the file history information corresponding to the data file name of the data file closed in step 411 (step 412). Even in such a case, the file access processing unit 5 itself also processes the data of the closed data file.
Rewrite the file history information corresponding to the file name. Then, the output processing unit 4 uses the file access processing unit 5 to close the index file (step 409) and ends the processing. Note that step 406
Even if it is determined to be No, the processing ends.

【0019】[0019]

【発明の効果】以上説明したように本発明によれば、複
数のデ−タファイルに分割して格納されたファイルの内
容のすりかわりを防止することができ、ファイルの完全
性を保証することができるという優れた効果を得ること
ができる。
As described above, according to the present invention, it is possible to prevent the contents of a file stored by being divided into a plurality of data files from being replaced and to guarantee the integrity of the file. The excellent effect that it can be obtained can be obtained.

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

【図1】本発明にかかるファイルアクセス装置の構成を
示す機能ブロック図である。
FIG. 1 is a functional block diagram showing a configuration of a file access device according to the present invention.

【図2】外部記憶媒体中のインデックスファイル群及び
デ−タファイル群の構成を示した図である
FIG. 2 is a diagram showing a configuration of an index file group and a data file group in an external storage medium.

【図3】業務処理ジョブへの入力処理を示すフローチャ
ートである。
FIG. 3 is a flowchart showing an input process for a job processing job.

【図4】業務処理ジョブからの出力処理を示すフローチ
ャートである。
FIG. 4 is a flowchart showing an output process from a job processing job.

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

1 業務処理ジョブ 2 大容量データアクセス処理部 3 入力処理部 4 出力処理部 5 ファイルアクセス処理部 6 ファイル保存回復処理部 7 バックアップファイル 8 外部記憶媒体 9 インデックスファイル群 10 データファイル群 1 Job processing job 2 Large-capacity data access processing unit 3 Input processing unit 4 Output processing unit 5 File access processing unit 6 File save / recovery processing unit 7 Backup file 8 External storage medium 9 Index file group 10 Data file group

───────────────────────────────────────────────────── フロントページの続き (72)発明者 榎本 圭央 神奈川県秦野市堀山下1番地 日立コンピ ュータエンジニアリング株式会社内 (72)発明者 大澤 優 神奈川県秦野市堀山下1番地 株式会社日 立製作所神奈川工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Keio Enomoto 1 Horiyamashita, Hadano City, Kanagawa Prefecture Hitachi Computer Engineering Co., Ltd. (72) Inventor Yu Osawa 1 Horiyamashita, Hadano City, Kanagawa Prefecture Tate Manufacturing Kanagawa Factory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ファイルの書き込みもしくは読み出しの依
頼に応じて、ファイルにアクセスするファイルアクセス
装置であって、 所定の制限容量以下のデ−タファイルを格納する外部記
憶媒体と、 外部記憶媒体に記憶されている各デ−タファイルに関す
る第1のファイル履歴情報を記憶し、前記外部記憶媒体
へのデ−タファイルの書き込みもしくは更新を依頼され
た場合に、依頼されたデ−タファイルの前記外部記憶媒
体への書き込みもしくは更新を制御し、記憶したデ−タ
ファイルに関する前記第1のファイル履歴情報を書き換
えて管理し、前記デ−タファイルの読み出しを依頼され
た場合に、当該デ−タファイルの読みだしを制御するフ
ァイルアクセス処理手段と、 書き込みを依頼されたファイルのデ−タ量が、デ−タフ
ァイルの容量を超えている場合に、当該ファイルを分割
して複数のデ−タファイルとして前記外部記憶媒体に記
録するようファイルアクセス処理手段に依頼し、当該フ
ァイルについての管理情報として、当該ファイルを分割
した複数のデ−タファイルの各デ−タファイル名と各デ
−タファイルに関する第2のファイル履歴情報を格納し
たインデックスファイルを作成し、作成したインデック
スファイルを前記外部記憶媒体に記録する出力処理手段
と、 前記ファイルアクセス処理手段に前記外部記憶媒体への
デ−タファイルの書き込みもしくは更新を依頼するデ−
タファイル操作手段と、 読みだしを依頼されたファイルが、先に複数のデ−タフ
ァイルに分割されて記録されているファイルであった場
合に、当該ファイルについての前記インデックスファイ
ルを参照し、当該ファイルを構成する各デ−タファイル
の前記第2のファイル履歴情報と、前記ファイルアクセ
ス処理手段によって記憶された対応するデ−タファイル
についての第1のファイル履歴情報が一致するか否か検
証し、前記第1、第2のファイル履歴情報が一致した場
合には、当該デ−タファイルを前記外部記憶媒体から読
みだすようファイルアクセス処理手段に依頼する入力処
理手段を有することを特徴とするファイルアクセス装
置。
1. A file access device for accessing a file in response to a request to write or read the file, the external storage medium storing a data file having a predetermined limit capacity or less, and the external storage medium stored in the external storage medium. The first file history information about each data file stored therein is stored, and when the writing or updating of the data file to the external storage medium is requested, the requested data file is stored in the external storage medium. A file that controls writing or updating, rewrites and manages the first file history information relating to the stored data file, and controls reading of the data file when requested to read the data file. The access processing means and the amount of data of the file requested to be written determine the size of the data file. In this case, the file access processing means is requested to divide the file into a plurality of data files and record the plurality of data files on the external storage medium. An output processing means for creating an index file storing each data file name of the data file and second file history information relating to each data file, and recording the created index file in the external storage medium; and the file access processing means. To the external storage medium to request writing or updating of the data file
If the data file operation means and the file requested to be read are the files that have been previously recorded by dividing them into multiple data files, refer to the index file for that file and It is verified whether or not the second file history information of each of the constituent data files and the first file history information of the corresponding data file stored by the file access processing means match, and the first file history information is stored. The file access device further comprises input processing means for requesting the file access processing means to read the data file from the external storage medium when the second file history information matches.
JP4163086A 1992-06-22 1992-06-22 File access device Pending JPH064368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4163086A JPH064368A (en) 1992-06-22 1992-06-22 File access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4163086A JPH064368A (en) 1992-06-22 1992-06-22 File access device

Publications (1)

Publication Number Publication Date
JPH064368A true JPH064368A (en) 1994-01-14

Family

ID=15766923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4163086A Pending JPH064368A (en) 1992-06-22 1992-06-22 File access device

Country Status (1)

Country Link
JP (1) JPH064368A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009140518A (en) * 2009-02-09 2009-06-25 Fujitsu Social Science Laboratory Ltd Distributed storage method and device
JP2019164705A (en) * 2018-03-20 2019-09-26 日本電気株式会社 Information processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009140518A (en) * 2009-02-09 2009-06-25 Fujitsu Social Science Laboratory Ltd Distributed storage method and device
JP2019164705A (en) * 2018-03-20 2019-09-26 日本電気株式会社 Information processing device

Similar Documents

Publication Publication Date Title
US5029125A (en) Method of reading and writing files on nonerasable storage media
JP3509285B2 (en) Compressed data management method
JPH04233639A (en) File controlling method and system
KR20020080458A (en) A method for repartitioning physical sectors of a storage system with use of virtual disc drives, a data processing apparatus and a data storage apparatus
JPH07110784A (en) Method and device for storing additional form record
US20090030954A1 (en) Management of multiple virtual data copies
JP2003296151A (en) Hsm system and migration control method of the system
JP3315779B2 (en) File transfer device and file transfer method between disk devices
JPH064368A (en) File access device
JPH0322046A (en) Control method for file using draw type storage medium
JP2822869B2 (en) Library file management device
JPH0357037A (en) File management device
JPH0644118A (en) File backup system
JPH0451861B2 (en)
JPH0235537A (en) Multiple volume update control system
JPH05151037A (en) Reorganization processing system for database in business processing
JPH07105067A (en) File control system
JPH0652019A (en) File controller
JP2649675B2 (en) Optical disk storage management method
JP3936839B2 (en) Data storage system
JPH01255028A (en) Method for making access to external storage device
JPH03183090A (en) File control system for draw type optical disk
JPH0378043A (en) Data update system for direct-read-after-write draw) type medium
JPH06168079A (en) Data backup system
JPS6336375A (en) File managing method in data filling device