[go: up one dir, main page]

JPH0659953A - Method for controlling input/output of virtual file - Google Patents

Method for controlling input/output of virtual file

Info

Publication number
JPH0659953A
JPH0659953A JP4128411A JP12841192A JPH0659953A JP H0659953 A JPH0659953 A JP H0659953A JP 4128411 A JP4128411 A JP 4128411A JP 12841192 A JP12841192 A JP 12841192A JP H0659953 A JPH0659953 A JP H0659953A
Authority
JP
Japan
Prior art keywords
file
divided
key
files
virtual file
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
JP4128411A
Other languages
Japanese (ja)
Inventor
Naoharu Amaya
直治 天谷
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 Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4128411A priority Critical patent/JPH0659953A/en
Publication of JPH0659953A publication Critical patent/JPH0659953A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To access plural divided real files by including a function for determining the access order of divided files to a virtual file name. CONSTITUTION:A virtual file corresponding to divided files 31 to 33 is defined as A, and at the time of allocating files, the upper limit of key values in each division is registered in a division key table 1, divided file names corresponding to the virtual file name are registered in a divided file allocating table 2 and the order of the divided file names is used as the order for sequential access. When the virtual file A is accessed by a value 'f', the divided file 32 based upon 'f<h' is selected by the table 1 and key specification access is applied to the file 32 by using the key value 'f'. When a user accesses next to a record with a key value 'c' in the file 31, the end of the file 31 is detected and input/ output control refers to the table 2 and accesses the file 32.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、仮想ファイル入出力制
御方法に関し、特に、1つの仮想ファイル名の指定によ
り、複数の実ファイルをまたがってデータの入出力を行
なう仮想ファイル入出力制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a virtual file input / output control method, and more particularly to a virtual file input / output control method for inputting / outputting data across a plurality of real files by designating one virtual file name. .

【0002】[0002]

【従来の技術】従来の仮想ファイル入出力制御方法は、
1つのファイル名に対して1ファイルの入出力制御を行
なう。
2. Description of the Related Art A conventional virtual file input / output control method is
Input / output control of one file is performed for one file name.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の仮想フ
ァイル入出力制御方法では、1つのファイルを複数の媒
体にまたがって割り当てることは可能であるが、このと
き、利用者は媒体を個別に意識することができないた
め、このファイルを1つの大きなファイルとしてアクセ
スしたり、媒体ごとの小さなファイルとしてアクセスし
たりしたいという、ユーザ側の要望を満たすことが困難
である。
In the above-mentioned conventional virtual file input / output control method, it is possible to allocate one file over a plurality of media, but at this time, the user is aware of the media individually. Therefore, it is difficult to satisfy the user's demand for accessing this file as one large file or as a small file for each medium.

【0004】[0004]

【課題を解決するための手段】本発明のファイル入出力
制御方法は、1つの仮想ファイル名に対して複数の実フ
ァイル(分割ファイル)を入出力の対象とする分割ファ
イル引当て機能と、それらに対して、キー指定入出力を
行なうための分割キーアクセス機能と、仮想ファイル名
に対して分割フファイルのアクセス順序を決定する分割
ファイル順次アクセス機能とを含むことを特徴とする。
A file input / output control method of the present invention has a division file allocation function for inputting / outputting a plurality of real files (divided files) for one virtual file name, and those functions. On the other hand, it is characterized by including a split key access function for performing key designation input / output and a split file sequential access function for determining the access order of split files with respect to a virtual file name.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例の分割ファイルの
割り当てを示す。分割ファイル31,32,33は同じ
形式のレコードで構成され、キー部によって分類された
ものである。これら分割ファイルに対する仮想ファイル
をAとする。
FIG. 1 shows allocation of divided files according to an embodiment of the present invention. The divided files 31, 32 and 33 are composed of records of the same format and are classified by the key part. Let A be a virtual file for these divided files.

【0007】ファイルの割り当て時に、分割キーテーブ
ル1には、1分割ごとのキー値の上限(正確には、次の
分割ファイルの先頭キー)が登録され、分割ファイル引
当テーブル2には、仮想ファイル名に対し、何という分
割ファイル名が対応するかが登録される。この分割ファ
イル引当テーブル2に登録される分割ファイル名の順序
が、そのまま順次アクセスする際の順序となる。
At the time of file allocation, the upper limit of the key value for each division (more precisely, the leading key of the next division file) is registered in the division key table 1, and the division file allocation table 2 stores virtual files. What division file name corresponds to the name is registered. The order of the divided file names registered in the divided file allocation table 2 is the order of the sequential access.

【0008】こうして割り当てられた仮想ファイルAに
対し、“f”の値でアクセスすると、分割キーテーブル
1により“f<h”で分割ファイル32が選択され、分
割ファイル32に対して“f”のキー値でキー指定アク
セスが行なわれる。さらに利用者が、仮想ファイルAに
対し、先頭より終りまでを順次アクセスしようとした場
合、分割ファイル31のキー値“c”のレコードの次を
アクセスすると、分割ファイル31の終了が検出され、
入出力制御は、分割ファイル引当テーブル2を参照し
て、分割ファイル32をアクセスしに行く。
When the virtual file A allocated in this way is accessed with the value of "f", the divided file 32 is selected with "f <h" by the divided key table 1, and the divided file 32 of "f" is selected. Key-specified access is performed by the key value. Further, when the user tries to access the virtual file A sequentially from the beginning to the end, when the user accesses the next of the record of the key value “c” of the divided file 31, the end of the divided file 31 is detected,
For input / output control, the divided file allocation table 2 is referred to access the divided file 32.

【0009】こうして最後まで順次アクセスが行なわれ
る。もちろん、キー指定アクセスと順次アクセスを交互
に使用することも可能となる。さらに、分割ファイル各
々は、1つの独立したファイルとして割り当てられてい
るので、仮想ファイル引当テーブルを別に“B”のよう
に定義すれば、個々を独立して使用することもできる。
In this way, access is sequentially performed until the end. Of course, it is possible to alternately use the key-specified access and the sequential access. Further, since each divided file is assigned as one independent file, if the virtual file allocation table is separately defined as "B", each file can be used independently.

【0010】[0010]

【発明の効果】以上説明したように、本発明は、利用者
に対し1つの仮想ファイル名を意識するだけで、従来の
ファイルをアクセスするのと同じように、複数の分割さ
れた実ファイルをアクセスすることができる。さらに、
分割された実ファイルを個々に利用することもでき、フ
ァイル入出力処理における効率の向上という効果を奏す
る。
As described above, according to the present invention, it is possible to generate a plurality of divided real files in the same way as when accessing a conventional file, by making the user aware of only one virtual file name. Can be accessed. further,
The divided real files can also be used individually, which has the effect of improving the efficiency in file input / output processing.

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

【図1】本発明の一実施例の概念図である。FIG. 1 is a conceptual diagram of an embodiment of the present invention.

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

1 分割キーテーブル 2 分割ファイル引当テーブル 31〜33 分割ファイル 1 split key table 2 split file allocation table 31-33 split file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 指定された仮想ファイル名に対する実フ
ァイルを割り当てる手段と、仮想ファイルに対して要求
される入出力データの実ファイルを入出力する手段とを
含むことを特徴とする仮想ファイル入出力制御方法。
1. A virtual file input / output, comprising: means for allocating a real file for a specified virtual file name; and means for inputting / outputting a real file of input / output data required for the virtual file. Control method.
JP4128411A 1992-05-21 1992-05-21 Method for controlling input/output of virtual file Pending JPH0659953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4128411A JPH0659953A (en) 1992-05-21 1992-05-21 Method for controlling input/output of virtual file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4128411A JPH0659953A (en) 1992-05-21 1992-05-21 Method for controlling input/output of virtual file

Publications (1)

Publication Number Publication Date
JPH0659953A true JPH0659953A (en) 1994-03-04

Family

ID=14984111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4128411A Pending JPH0659953A (en) 1992-05-21 1992-05-21 Method for controlling input/output of virtual file

Country Status (1)

Country Link
JP (1) JPH0659953A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08110869A (en) * 1994-10-12 1996-04-30 Fuji Xerox Co Ltd File system
US6434553B1 (en) * 1996-12-13 2002-08-13 Hitachi, Ltd. File prefetch control method for computer system
EP1170747A4 (en) * 1999-04-05 2003-03-05 Sharp Kk File managing system
JP2009540466A (en) * 2006-06-16 2009-11-19 マイクロソフト コーポレーション Application program interface for managing media files
JP2011191835A (en) * 2010-03-12 2011-09-29 Hitachi Ltd Computer system and method of executing application program
JP2012511197A (en) * 2008-12-05 2012-05-17 インターナショナル・ビジネス・マシーンズ・コーポレーション Access to data in a multi-generation database

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08110869A (en) * 1994-10-12 1996-04-30 Fuji Xerox Co Ltd File system
US6434553B1 (en) * 1996-12-13 2002-08-13 Hitachi, Ltd. File prefetch control method for computer system
EP1170747A4 (en) * 1999-04-05 2003-03-05 Sharp Kk File managing system
JP2009540466A (en) * 2006-06-16 2009-11-19 マイクロソフト コーポレーション Application program interface for managing media files
JP2012511197A (en) * 2008-12-05 2012-05-17 インターナショナル・ビジネス・マシーンズ・コーポレーション Access to data in a multi-generation database
JP2011191835A (en) * 2010-03-12 2011-09-29 Hitachi Ltd Computer system and method of executing application program

Similar Documents

Publication Publication Date Title
JPH0659953A (en) Method for controlling input/output of virtual file
JPH0368042A (en) File access system
JPH0887433A (en) File system block management system
JPH04149648A (en) Editing system for file control table
JPH02297291A (en) Image data input/output system
JPH0512077A (en) File re-arranging system
JPH06266593A (en) File managing method
JPH0245842A (en) Data file control system
JP3056128B2 (en) Work area securing method
JPH01319820A (en) Memory medium control system
JPH01106217A (en) Parallel storage/reading type data processor
JPH04223537A (en) Image file storing system
JPH11296419A (en) Copy method of disk device and recording medium
JP2000148550A (en) Area management method and free area management method for file
JPH0520142A (en) Block managing system
JP2006244282A (en) Information processing apparatus and output data arrangement method
JPH0764832A (en) Multi-extent file system
JPH07105054A (en) File management method
JPH02297180A (en) Document editing system
JPH0744427A (en) Data arrangement system for disk
JPH11120043A5 (en)
JPH0448347A (en) File area securing system for system including external storages of different types
JPH0512080A (en) Disk media control system
JP2008123053A (en) File management device and file management program
JPH04242481A (en) Electronic file device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981104