JP2767966B2 - High-speed file access method - Google Patents

High-speed file access method

Info

Publication number
JP2767966B2
JP2767966B2 JP2068783A JP6878390A JP2767966B2 JP 2767966 B2 JP2767966 B2 JP 2767966B2 JP 2068783 A JP2068783 A JP 2068783A JP 6878390 A JP6878390 A JP 6878390A JP 2767966 B2 JP2767966 B2 JP 2767966B2
Authority
JP
Japan
Prior art keywords
file
page
update
data
data 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.)
Expired - Lifetime
Application number
JP2068783A
Other languages
Japanese (ja)
Other versions
JPH03268146A (en
Inventor
孝幸 西村
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 JP2068783A priority Critical patent/JP2767966B2/en
Publication of JPH03268146A publication Critical patent/JPH03268146A/en
Application granted granted Critical
Publication of JP2767966B2 publication Critical patent/JP2767966B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理システムにおけるファイルアクセス
方式に関し、特に高速ファイル装置を利用してデータフ
ァイルを高速にアクセスする高速ファイルアクセス方式
に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file access method in an information processing system, and more particularly to a high-speed file access method for accessing a data file at a high speed using a high-speed file device.

〔従来の技術〕[Conventional technology]

従来、この種の高速ファイル装置を利用したファイル
アクセスの高速化は、データファイルをすべてアクセス
速度の速い高速ファイル装置に確保することにより行わ
れていた。
Conventionally, the speed of file access using such a high-speed file device has been increased by securing all data files in a high-speed file device having a high access speed.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述した従来のファイルアクセスの高速化方式では、
大容量のデータファイルを高速にアクセスする必要があ
る場合には、データファイルのすべてを高速ファイル装
置上に確保しなければならないので、データファイルの
容量に見合った台数の高速ファイル装置が必要になると
ともに、データファイルのあまりアクセスしない部分も
高価な高速ファイル装置上に確保されるという欠点があ
る。
In the conventional method for accelerating file access described above,
If a large-capacity data file needs to be accessed at high speed, all of the data files must be secured on the high-speed file device, so the number of high-speed file devices corresponding to the capacity of the data file is required. In addition, there is a drawback that a part of the data file that is not frequently accessed is secured on an expensive high-speed file device.

本発明の目的は、上述の点に鑑み、データファイルの
更新されたページの更新イメージのみを高速ファイル装
置上に保持し、かつ利用者プログラムから更新されたペ
ージの更新イメージを整合をとって他の利用者プログラ
ムからも参照および更新できるようにして、高速ファイ
ル装置を有効に利用しながらデータファイルを高速にア
クセスすることができるようにした高速ファイルアクセ
ス方式を提供することにある。
SUMMARY OF THE INVENTION In view of the above, it is an object of the present invention to keep only an updated image of a page updated in a data file on a high-speed file device and to match an updated image of a page updated from a user program with another Another object of the present invention is to provide a high-speed file access method which enables a user program to be referred to and updated, thereby enabling high-speed access to a data file while effectively utilizing a high-speed file device.

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

本発明の高速ファイルアクセス方式は、複数の利用者
プログラムから利用されページ単位に排他制御が行われ
同時にアクセスすることが可能なデータファイルに対す
るファイルアクセス方式において、データファイルを同
時にアクセスしながら処理を行う複数の利用者プログラ
ムと、これら複数の利用者プログラムによりアクセスさ
れる前記データファイルと、このデータファイルが置か
れているファイル装置と、前記利用者プログラムにより
前記データファイルのページが更新された更新イメージ
を格納する複数の更新データサブファイルからなる更新
データファイルと、この更新データファイルが置かれ前
記ファイル装置よりも高速にアクセスが可能な高速ファ
イル装置と、前記利用者プログラムにより更新されたペ
ージの情報と更新イメージを格納している前記更新デー
タサブファイルの位置情報とをプログラム単位でもつプ
ログラムテーブルと前記利用者プログラムのすべてから
利用できる共有テーブルとに分けて管理しているページ
管理テーブルと、前記利用者プログラムより呼ばれ前記
データファイルの利用開始,前記データファイルへの入
出力および前記データファイルの利用終了の各処理に対
して対応する処理手段に制御を渡すファイル処理手段
と、このファイル処理手段より呼ばれ前記データファイ
ルの利用開始処理で利用者プログラム対応に前記更新デ
ータサブファイルを前記高速ファイル装置上に確保し確
保した前記更新データサブファイルの位置情報を前記ペ
ージ管理テーブルにプログラムテーブルとして登録する
ファイル利用開始手段と、前記ファイル処理手段より呼
ばれ前記データファイルのページの参照要求に対しては
前記ページ管理テーブルを検索して前記更新データサブ
ファイルにおける該当ページの更新イメージの有無を確
認し前記更新データサブファイルに該当ページの更新イ
メージが存在すれば前記更新データサブファイルから該
当ページ更新イメージを高速に読み込み前記更新データ
サブファイルに該当ページの更新イメージが存在しなけ
れば前記データファイルから該当ページを読み込む処理
を行い、前記データファイルのページの更新要求に対し
ては前記ページ管理テーブルに更新したページの情報を
反映させるとともに更新したページの更新イメージを前
記更新データサブファイルに格納するファイル入出力手
段と、前記ファイル処理手段より呼ばれ前記データファ
イルの利用終了処理および前記データファイルの一連の
更新の終了処理で前記利用者プログラムにより更新され
たページの更新イメージを他の利用者プログラムからも
参照および更新できるように前記ページ管理テーブル内
の対応するプログラムテーブルの情報を共有テーブルに
移送するとともに、前記データファイルをアクセスする
利用者プログラムが存在しなくなったときに前記更新デ
ータファイルから更新イメージを前記データファイルに
書き戻して前記データファイルを前記利用者プログラム
からの更新が反映された状態とするファイル更新終了手
段とを有する。
The high-speed file access method of the present invention performs processing while simultaneously accessing data files in a file access method for a data file that is used by a plurality of user programs, is subjected to exclusive control in page units, and can be accessed simultaneously. A plurality of user programs, the data file accessed by the plurality of user programs, a file device in which the data file is located, and an updated image in which the page of the data file is updated by the user program Update data file comprising a plurality of update data sub-files storing the update data file, a high-speed file device in which the update data file is placed and which can be accessed at a higher speed than the file device, and information on a page updated by the user program And update a A page management table that manages the location information of the update data subfile storing the page in a program table and a shared table that can be used by all of the user programs. File processing means which is called by a user program and transfers control to processing means corresponding to each processing of starting use of the data file, inputting / outputting to / from the data file and ending use of the data file; Called, the update data subfile is secured on the high-speed file device in correspondence with the user program in the use start processing of the data file, and the position information of the secured update data subfile is registered as a program table in the page management table. File use start means, and the file In response to a request to refer to a page of the data file, the page management table is searched to determine whether or not there is an update image of the corresponding page in the update data subfile. If there is an update image, read the corresponding page update image from the update data subfile at high speed.If there is no update image of the corresponding page in the update data subfile, perform a process of reading the corresponding page from the data file. File input / output means for reflecting the updated page information in the page management table and storing an updated image of the updated page in the update data sub-file in response to the page update request of the data file; Said data file called by means In the page management table so that another user program can refer to and update the updated image of the page updated by the user program in the use end process of the data file and the series of update end processes of the data file. The information of the program table is transferred to the shared table, and when the user program accessing the data file no longer exists, the updated image from the updated data file is written back to the data file, and the data file is written to the user. File update ending means for setting a state in which the update from the program is reflected.

〔作用〕[Action]

本発明の高速ファイルアクセス方式では、複数の利用
者プログラムがデータファイルを同時にアクセスしなが
ら処理を行い、データファイルが複数の利用者プログラ
ムによりアクセスされ、ファイル装置にデータファイル
が置かれ、更新データファイルが利用者プログラムによ
りデータファイルのページが更新された更新イメージを
格納する複数の更新データサブファイルからなり、ファ
イル装置よりも高速にアクセスが可能な高速ファイル装
置に更新データファイルが置かれ、ページ管理テーブル
が利用者プログラムにより更新されたページの情報と更
新イメージを格納している更新データサブファイルの位
置情報とをプログラム単位でもつプログラムテーブルと
利用者プログラムのすべてから利用できる共有テーブル
とに分けて管理し、ファイル処理手段が利用者プログラ
ムより呼ばれデータファイルの利用開始,データファイ
ルへの入出力およびデータファイルの利用終了の各処理
に対して対応する処理手段に制御を渡し、ファイル利用
開始手段がファイル処理手段より呼ばれデータファイル
の利用開始処理で利用者プログラム対応に更新データサ
ブファイルを高速ファイル装置上に確保し確保した更新
データサブファイルの位置情報をページ管理テーブルに
プログラムテーブルとして登録し、ファイル入出力手段
がファイル処理手段より呼ばれデータファイルのページ
の参照要求に対してはページ管理テーブルを検索して更
新データサブファイルにおける該当ページの更新イメー
ジの有無を確認し更新データサブファイルに該当ページ
の更新イメージが存在すれば更新データサブファイルか
ら該当ページの更新イメージを高速に読み込み更新デー
タサブファイルに該当ページの更新イメージが存在しな
ければデータファイルから該当ページを読み込む処理を
行い、データファイルのページの更新要求に対してはペ
ージ管理テーブルに更新したページの情報を反映させる
とともに更新したページの更新イメージを更新データサ
ブファイルに格納し、ファイル更新終了手段がファイル
処理手段より呼ばれデータファイルの利用終了処理およ
びデータファイルの一連の更新の終了処理で利用者プロ
グラムにより更新されたページの更新イメージを他の利
用者プログラムからも参照および更新できるようにペー
ジ管理テーブル内の対応するプログラムテーブルの情報
を共有テーブルに移送するとともに、データファイルを
アクセスする利用者プログラムが存在しなくなったとき
に更新データファイルから更新イメージをデータファイ
ルに書き戻してデータファイルを利用者プログラムから
の更新が反映された状態とする。
In the high-speed file access method of the present invention, a plurality of user programs perform processing while simultaneously accessing the data file, the data file is accessed by the plurality of user programs, the data file is placed in the file device, and the update data file is updated. Consists of a plurality of update data subfiles that store update images in which data file pages are updated by a user program. The update data file is placed on a high-speed file device that can be accessed faster than the file device, and page management The information on the page whose table is updated by the user program and the location information of the update data subfile storing the update image are divided into a program table having a program unit and a shared table which can be used by all user programs. Manage, The file processing means is called by the user program and passes control to the corresponding processing means for starting the use of the data file, inputting / outputting the data file, and terminating the use of the data file, and the file use starting means performs the file processing. The update data subfile is allocated on the high-speed file device corresponding to the user program in the data file use start process called by the means and the position information of the secured update data subfile is registered as a program table in the page management table, and the file is entered. The output means is called by the file processing means, and in response to a request to reference a page of the data file, the page management table is searched to confirm whether or not there is an update image of the page in the update data subfile, and the Update data if update image exists Reads the update image of the relevant page from the sub file at high speed and reads the relevant page from the data file if there is no update image of the relevant page in the update data sub file. The updated table information is reflected in the management table and the updated image of the updated page is stored in the update data subfile. The file update ending means is called by the file processing means, and the data file use ending processing and the series of data file The information of the corresponding program table in the page management table is transferred to the shared table so that the update image of the page updated by the user program in the update end processing can be referred to and updated from other user programs, and the data is updated. File When the user program to be accessed no longer exists, the update image from the update data file is written back to the data file, and the data file is made to reflect the update from the user program.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明す
る。
Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例に係る高速ファイルアク
セス方式の構成を示すブロック図である。本実施例の高
速ファイルアクセス方式は、データファイル2を同時に
割り当ててデータファイル2の参照および更新を一定サ
イズの領域(以下、ページという)単位に行う複数の利
用者プログラム1と、複数の利用者プログラム1により
参照および更新が行われるデータファイル2と、データ
ファイル2が確保されているファイル装置3と、利用者
プログラム1により更新されたデータファイル2のペー
ジの更新イメージが格納される複数の更新データサブフ
ァイル4aからなる更新データファイル4と、更新データ
ファイル4が確保されファイル装置3よりも高速にアク
セスが行える高速ファイル装置5と、利用者プログラム
1により更新されたページのページ番号と更新イメージ
が格納されている更新データサブファイル4aの位置情報
とをプログラム固有の情報とプログラム共有の情報とに
分けて保持しているページ管理テーブル6と、利用者プ
ログラム1より呼ばれデータファイル2に対する処理要
求に対して該当する処理手段に制御を渡すファイル処理
手段7と、データファイル2の利用開始処理でデータフ
ァイル2の更新されたページの更新イメージを格納する
更新データサブファイル4aを高速ファイル装置5上に確
保し確保した更新データサブファイル4aの位置情報をペ
ージ管理テーブル6にプログラム固有の情報として登録
するファイル利用開始手段8と、データファイル2に対
する入出力に伴い参照要求のときにはページ管理テーブ
ル6を検索して該当ページのページ情報が登録されてい
れば更新データサブファイル4aから該当ページの更新イ
メージを高速に読み込み該当ページのページ情報が登録
されていなければデータファイル2から該当ページを読
み込む処理を行い、更新要求に対しては該当ページの更
新イメージを更新データサブファイル4aに格納しページ
管理テーブル6に反映するファイル入出力手段9と、デ
ータファイル2の利用終了処理あるいはデータファイル
2への一連の更新の終了処理で利用者プログラム1によ
り更新されたページの更新イメージを他の利用者プログ
ラム1からも参照および更新できるようにページ管理テ
ーブル6上でプログラム固有の情報を他の利用者プログ
ラム1からも参照可能なプログラム共有の情報として登
録するとともに、データファイル2をアクセスする利用
者プログラム1が存在しなくなったときに更新データフ
ァイル4から更新イメージをデータファイル2に書き込
むファイル更新終了手段10とから構成されている。
FIG. 1 is a block diagram showing a configuration of a high-speed file access method according to one embodiment of the present invention. In the high-speed file access method according to the present embodiment, a plurality of user programs 1 for simultaneously allocating the data file 2 and referring to and updating the data file 2 in units of areas of a fixed size (hereinafter, referred to as pages); A data file 2 that is referenced and updated by the program 1, a file device 3 in which the data file 2 is secured, and a plurality of updates that store an updated image of a page of the data file 2 updated by the user program 1. An update data file 4 composed of a data subfile 4a, a high-speed file device 5 in which the update data file 4 is secured and can be accessed faster than the file device 3, a page number and an update image of a page updated by the user program 1 And the location information of the update data subfile 4a A page management table 6 which is divided into program-specific information and program-sharing information, and a file processing unit which is called by the user program 1 and which passes control to a processing unit corresponding to a processing request for the data file 2 7 and an update data subfile 4a for storing an update image of a page updated in the data file 2 in the use start processing of the data file 2 is secured on the high-speed file device 5, and the location information of the secured update data subfile 4a is stored. A file use start means 8 for registering the information as program-specific information in the page management table 6; Read the update image of the relevant page from the update data subfile 4a at high speed. If the page information of the page is not registered, a process of reading the corresponding page from the data file 2 is performed, and in response to an update request, a file storing the update image of the corresponding page in the update data subfile 4a and reflecting the update image in the page management table 6 The input / output unit 9 and a reference and update of the updated image of the page updated by the user program 1 in the use end processing of the data file 2 or the end processing of a series of updates to the data file 2 from another user program 1. Register the program-specific information on the page management table 6 as program-sharing information that can be referred to by other user programs 1 so that the user program 1 accessing the data file 2 no longer exists. Update image from update data file 4 to data file 2 And a file update ending means 10 to be written into the file.

第2図を参照すると、ページ管理テーブル6は、ポイ
ンタ領域21と、プログラムテーブル領域22と、共有テー
ブル領域23とから構成されている。
Referring to FIG. 2, the page management table 6 includes a pointer area 21, a program table area 22, and a shared table area 23.

ポインタ領域21には、データファイル2を使用してい
る利用者プログラム1の数を示す利用者数211と、デー
タファイル2の更新を行う利用者プログラム1ごとに存
在するプログラムテーブル221を指すプログラムテーブ
ルポインタ212と、データファイル2ごとに存在する共
有テーブル231を指す共有テーブルポインタ213とが格納
される。
The pointer area 21 includes a user number 211 indicating the number of user programs 1 using the data file 2 and a program table indicating a program table 221 existing for each user program 1 updating the data file 2. A pointer 212 and a shared table pointer 213 pointing to a shared table 231 existing for each data file 2 are stored.

プログラムテーブル領域22には、利用者プログラム1
がデータファイル2の利用開始処理を行ったときに高速
ファイル装置5上に確保される更新データサブファイル
4aの位置情報をもつファイル情報222と、利用者プログ
ラム1により更新されたページのページ番号と更新イメ
ージが格納されている更新データサブファイル4a内の位
置情報とをもつページ情報223とからなるプログラムテ
ーブル221が格納される。
The user table 1 is stored in the program table area 22.
Data subfile secured on the high-speed file device 5 when the user performs the use start processing of the data file 2
A program consisting of file information 222 having the position information 4a and page information 223 having the page number of the page updated by the user program 1 and the position information in the update data subfile 4a storing the update image. The table 221 is stored.

共有テーブル領域23には、データファイル2の利用終
了処理あるいは一連の更新の終了処理で、プログラムテ
ーブル領域22に確保されていたプログラム固有の情報で
あるプログラムテーブル221のイメージをそのまま転記
し、利用者プログラム1による更新イメージを他の利用
者プログラム1からも参照および更新できるようにした
プログラム共有の情報である共有テーブル231が格納さ
れる。
In the shared table area 23, the image of the program table 221 which is the program-specific information secured in the program table area 22 is transcribed as it is in the end processing of the use of the data file 2 or the end processing of a series of updates. A shared table 231 is stored, which is information on program sharing so that an update image by the program 1 can be referred to and updated by another user program 1.

なお、本実施例では、複数の利用者プログラム1から
アクセスされるデータファイル2が1つの場合を例にと
っており、ポインタ領域21にデータファイル2を識別す
るための情報が設けられていないとともに、1つのデー
タファイル2に対応して共有テーブル231が1つだけ確
保されるようになっている。
In the present embodiment, a case where a single data file 2 is accessed from a plurality of user programs 1 is taken as an example, and information for identifying the data file 2 is not provided in the pointer area 21 and the number of data files 2 is one. Only one shared table 231 is reserved for one data file 2.

第3図を参照すると、ファイル利用開始手段8の処理
は、更新データサブファイル確保ステップ31と、プログ
ラムテーブル作成および更新データサブファイル情報登
録ステップ32と、プログラムテーブルポイントおよび利
用者数加算ステップ33とからなる。
Referring to FIG. 3, the processing of the file use start means 8 includes an update data subfile securing step 31, a program table creation and update data subfile information registration step 32, a program table point and user number addition step 33. Consists of

第4図を参照すると、ファイル入出力手段9の処理
は、更新要求判定ステップ41と、プログラムテーブル該
当ページ番号検索ステップ42と、該当ページ番号有無判
定ステップ43と、共有テーブル該当ページ番号検索ステ
ップ44と、該当ページ番号有無判定ステップ45と、デー
タファイルからの該当ページ読込みステップ46と、更新
データサブファイルからの該当ページ更新イメージ読込
みステップ47と、共有テーブル該当ページ番号検索ステ
ップ48と、該当ページ番号有無判定ステップ49と、プロ
グラムテーブル該当ページ番号検索ステップ4Aと、該当
ページ番号有無判定ステップ4Bと、更新データサブファ
イルへの該当ページ更新イメージ追加書込みステップ4C
と、更新ページ情報登録ステップ4Dと、更新データサブ
ファイルへの該当ページ更新イメージ重ね書きステップ
4Eとからなる。
Referring to FIG. 4, the processing of the file input / output means 9 includes an update request determination step 41, a program table corresponding page number search step 42, a corresponding page number existence determination step 43, and a shared table corresponding page number search step 44. A corresponding page number presence / absence determination step 45, a corresponding page reading step 46 from a data file, a corresponding page update image reading step 47 from an update data subfile, a shared table corresponding page number searching step 48, a corresponding page number Presence / absence determination step 49, program table pertinent page number search step 4A, pertinent page number presence / absence determination step 4B, and pertinent page update image additional writing step 4C in the update data subfile
And update page information registration step 4D, and step of overwriting the corresponding page update image on the update data subfile
4E.

第5図を参照すると、ファイル更新終了手段10の処理
は、更新データサブファイルサイズ縮小ステップ51と、
ファイル情報およびページ情報の共有テーブル移相ステ
ップ52と、利用終了通知判定ステップ53と、プログラム
テーブル削除ステップ54と、最終利用者プログラム判定
ステップ55と、データファイルへの更新イメージ書込み
ステップ56と、共有テーブル終了判定ステップ57と、プ
ログラムテーブルクリアステップ58と、更新データサブ
ファイル再確保およびプログラムテーブルへのファイル
情報登録ステップ59とからなる。
Referring to FIG. 5, the processing of the file update ending means 10 includes an update data sub-file size reduction step 51,
File information and page information sharing table phase shift step 52, use end notification determination step 53, program table deletion step 54, last user program determination step 55, update image writing step 56 in data file, and sharing It comprises a table end determination step 57, a program table clear step 58, and a step 59 of re-securing the update data subfile and registering file information in the program table.

次に、このように構成された本実施例の高速ファイル
アクセス方式の動作について説明する。
Next, the operation of the high-speed file access method according to the present embodiment configured as described above will be described.

(1)まず、ファイル利用開始手段8による更新データ
サブファイル4aの確保処理およびプログラムテーブル22
1の作成処理について、第3図を参照しながら説明す
る。
(1) First, the process of securing the update data subfile 4a by the file use start means 8 and the program table 22
The creation process 1 will be described with reference to FIG.

利用者プログラム1がファイル処理手段7を通じてデ
ータファイル2の利用を通知すると、ファイル利用開始
手段8に制御が渡る。
When the user program 1 notifies the use of the data file 2 through the file processing unit 7, the control is transferred to the file use start unit 8.

ファイル利用開始手段8は、まずデータファイル2の
ページがあらかじめ決められた数分だけ格納できるサイ
ズで高速ファイル装置5上に更新データサブファイル4a
を確保する(ステップ31)。
The file use start means 8 first stores the update data sub-file 4a on the high-speed file device 5 in a size that can store a predetermined number of pages of the data file 2.
Is secured (step 31).

例えば、第2図では、ファイル利用開始手段8は、利
用者プログラムaからのデータファイル2の利用通知に
基づいて更新データサブファイル241を確保したとする
(第2図のA参照)。
For example, in FIG. 2, it is assumed that the file use start unit 8 secures the update data subfile 241 based on the use notification of the data file 2 from the user program a (see A in FIG. 2).

次に、ファイル利用開始手段8は、ページ管理テーブ
ル6のプログラムテーブル領域22にプログラムテーブル
221を作成し、先に確保した更新データサブファイル241
の高速ファイル装置5内での位置情報をファイル情報22
2として登録する(ステップ32)。
Next, the file use start means 8 stores the program table in the program table area 22 of the page management table 6.
221 created and the update data subfile 241 secured earlier
Location information in the high-speed file device 5 by the file information 22
Register as 2 (step 32).

続いて、ファイル利用開始手段8は、ポインタ領域21
からプログラムテーブルポインタ212の空きを捜し、作
成したプログラムテーブル221へのポインタおよび利用
者プログラム1を識別するためのプログラム名(第2図
の例ではプログラム名a)を登録し、利用者数211を1
つ加算する(ステップ33)。
Subsequently, the file use start unit 8 sets the pointer area 21
The program table pointer 212 is searched for a free space, a pointer to the created program table 221 and a program name (program name a in the example of FIG. 2) for identifying the user program 1 are registered, and the number of users 211 is registered. 1
Are added (step 33).

以上で、ファイル利用開始手段8による処理が終了す
る。
Thus, the processing by the file use start means 8 ends.

なお、第2図では、利用者プログラムaと同様に、利
用者プログラムbについても、更新データサブファイル
242が確保され、プログラムテーブル221が作成されたも
のとする(第2図のB参照)。
Note that, in FIG. 2, the user data b as well as the user data a are updated in the update data sub-file.
It is assumed that 242 has been secured and the program table 221 has been created (see B in FIG. 2).

(2)次に、ファイル入出力手段9による更新データフ
ァイル4からの更新イメージの検索処理および更新デー
タファイル4への更新イメージの格納処理について、第
4図を参照しながら説明する。
(2) Next, a process of searching for an update image from the update data file 4 and a process of storing the update image in the update data file 4 by the file input / output means 9 will be described with reference to FIG.

(2−1)まず、プログラムテーブル221のページ情報2
23および共有テーブル231のページ情報233に該当ページ
のページ番号が登録されていないときの処理について説
明する。
(2-1) First, page information 2 of the program table 221
The process when the page number of the corresponding page is not registered in the page information 233 of the common table 23 and the common table 231 will be described.

利用者プログラム1からファイル処理手段7を通じて
データファイル2のページの参照要求があると、ファイ
ル入出力手段9が呼ばれる。
When there is a request from the user program 1 for referring to the page of the data file 2 through the file processing means 7, the file input / output means 9 is called.

ファイル入出力手段9は、まず参照要求であるか更新
要求であるかを判定し(ステップ41)、参照要求である
ので、利用者プログラム1のプログラム名を伴うプログ
ラムテーブルポインタ212が指すプログラムテーブル221
のページ情報223を参照して参照要求があったページ
(該当ページ)のページ番号が登録されているかどうか
を検索する(ステップ42)。
The file input / output means 9 first determines whether the request is a reference request or an update request (step 41). Since the request is a reference request, the program table 221 indicated by the program table pointer 212 accompanied by the program name of the user program 1
With reference to the page information 223, a search is made as to whether the page number of the page (relevant page) for which the reference request has been made is registered (step 42).

次に、ファイル入出力手段9は、該当ページのページ
番号の登録の有無を判定し(ステップ43)、プログラム
テーブル221のページ情報223に該当ページのページ番号
が登録されていないときには、共有テーブルポインタ21
3が指す共有テーブル231のページ情報233を辿って該当
ページのページ番号が登録されているかどうかを検索す
る(ステップ44)。
Next, the file input / output means 9 determines whether or not the page number of the corresponding page is registered (step 43). If the page number of the corresponding page is not registered in the page information 223 of the program table 221, the shared table pointer twenty one
By searching the page information 233 of the shared table 231 pointed to by 3, it is searched whether or not the page number of the corresponding page is registered (step 44).

続いて、ファイル入出力手段9は、該当ページのペー
ジ番号の登録の有無を判定し(ステップ45)、共有テー
ブル231のページ情報233にも該当ページのページ番号が
登録されていないときには、利用者プログラム1が該当
ページを一度も更新していないことを意味するので、デ
ータファイル2より該当ページを読み込む(ステップ4
6)。
Subsequently, the file input / output means 9 determines whether or not the page number of the corresponding page is registered (step 45). If the page number of the corresponding page is not registered in the page information 233 of the shared table 231 as well, the user Since the program 1 has not updated the corresponding page at all, the corresponding page is read from the data file 2 (step 4).
6).

例えば、第2図では、利用者プログラムaがページp2
について参照要求を行った場合、最初はプログラムテー
ブル221のページ情報223および共有テーブル231のペー
ジ情報233に該当ページp2のページ番号が登録されてい
ないため、ファイル入出力手段9は、データファイル2
より該当ページp2を読み込む(第2図のC参照)。
For example, in FIG. 2, the user program a has a page p2
When the reference request is made, since the page number of the corresponding page p2 is not registered in the page information 223 of the program table 221 and the page information 233 of the shared table 231 at first, the file input / output means 9
Then, the corresponding page p2 is read (see C in FIG. 2).

次に、利用者プログラム1からファイル処理手段7を
通じて参照したページの更新要求があると、同様にファ
イル入出力手段9が呼ばれる。
Next, when there is a request for updating the page referred to from the user program 1 through the file processing means 7, the file input / output means 9 is similarly called.

ファイル入出力手段9は、まず参照要求であるか更新
要求であるかを判定し(ステップ41)、更新要求である
ので、共有テーブルポインタ213が指す共有テーブル231
のページ情報233を参照して更新要求があったページ
(該当ページ)のページ番号が登録されているかどうか
を検索する(ステップ48)。
The file input / output means 9 first determines whether the request is a reference request or an update request (step 41), and since the request is an update request, the shared table 231 indicated by the shared table pointer 213.
With reference to the page information 233, a search is made as to whether the page number of the page (relevant page) requested to be updated is registered (step 48).

次に、ファイル入出力手段9は、該当ページのページ
番号の登録の有無を判定し(ステップ49)、共有テーブ
ル231のページ情報233に該当ページのページ番号が登録
されていないときには、更新要求を行った利用者プログ
ラム1のプログラム名からプログラムテーブルポインタ
212を経てプログラムテーブル221を得、プログラムテー
ブル221のページ情報223に該当ページのページ番号が登
録されているかどうかを検索する(ステップ4A)。
Next, the file input / output means 9 determines whether or not the page number of the corresponding page is registered (step 49). If the page number of the corresponding page is not registered in the page information 233 of the shared table 231, an update request is issued. Program table pointer from program name of user program 1
The program table 221 is obtained through 212, and it is searched whether or not the page number of the corresponding page is registered in the page information 223 of the program table 221 (step 4A).

続いて、ファイル入出力手段9は、プログラムテーブ
ル221のページ情報223に該当ページのページ番号が登録
されているかどうかを判定し(ステップ4B)、プログラ
ムテーブル221のページ情報223にも該当ページのページ
番号が登録されていないときには、初めて該当ページが
更新要求されたことを意味するので、更新データサブフ
ァイル4aに更新された該当ページの更新イメージを追加
して書き込む(ステップ4C)。
Subsequently, the file input / output means 9 determines whether or not the page number of the corresponding page is registered in the page information 223 of the program table 221 (step 4B). When the number is not registered, it means that the corresponding page has been requested to be updated for the first time, and the updated image of the updated page is additionally written into the update data subfile 4a (step 4C).

さらに、ファイル入出力手段9は、更新された該当ペ
ージのページ番号と更新データサブファイル4a内に格納
されている該当ページの更新イメージの位置情報とから
なるページ情報223をプログラムテーブル221に登録する
(ステップ4D)。
Further, the file input / output unit 9 registers in the program table 221 page information 223 including the updated page number of the relevant page and the position information of the update image of the relevant page stored in the update data subfile 4a. (Step 4D).

例えば、第2図では、利用者プログラムaからのペー
ジp2の更新要求が行われた場合、更新データサブファイ
ル241に更新されたページp2の更新イメージp2′が書き
込まれ、プログラムテーブル221のページ情報223にペー
ジ番号p2および位置情報が登録される(第2図のD参
照)。
For example, in FIG. 2, when an update request for the page p2 is made from the user program a, the update image p2 'of the updated page p2 is written in the update data subfile 241 and the page information of the program table 221 is written. The page number p2 and position information are registered in 223 (see D in FIG. 2).

なお、利用者プログラムbについても同様に、ページ
p15およびページp3が更新されて更新イメージp15′およ
びページp3′が更新データサブファイル242に書き込ま
れたとする。また、その後、後述するファイル更新終了
手段10により一連の更新の終了処理が行われ、プログラ
ム名bを伴うプログラムテーブルポインタ212が指すプ
ログラムテーブル221のイメージが共有テーブル231に転
記され、プログラムテーブル221には新たに確保された
更新データサブファイル243の情報が格納されたものと
する(第2図のE参照)。
The same applies to user program b.
It is assumed that p15 and page p3 have been updated, and an update image p15 'and page p3' have been written to the update data subfile 242. After that, a series of update ending processing is performed by the file update ending means 10 described later, and the image of the program table 221 pointed to by the program table pointer 212 with the program name b is transcribed to the shared table 231. Is assumed to store the information of the newly secured update data subfile 243 (see E in FIG. 2).

(2−2)次に、プログラムテーブル221のページ情報2
23または共有テーブル231のページ情報233に該当ページ
のページ番号が登録されているときのページ参照処理に
ついて説明する。
(2-2) Next, page information 2 of the program table 221
The page reference process when the page number of the corresponding page is registered in the page information 233 of the shared table 23 or 23 will be described.

ページの参照要求で該当ページのページ番号がプログ
ラムテーブル221のページ情報223に登録されていれば
(ステップ43)、ファイル入出力手段9は、プログラム
テーブル221のファイル情報222およびページ情報223を
用いて更新データサブファイル4aから該当ページの更新
イメージを読み込む(ステップ47)。
If the page number of the pertinent page is registered in the page information 223 of the program table 221 in the page reference request (step 43), the file input / output means 9 uses the file information 222 and the page information 223 of the program table 221. The update image of the corresponding page is read from the update data subfile 4a (step 47).

例えば、第2図では、利用者プログラムaから再度ペ
ージp2の参照要求があった場合には、ファイル入出力手
段9は、プログラムテーブル221のファイル情報222およ
びページ情報223を用いて更新データサブファイル241か
ら該当ページp2の更新イメージp2′を読み込む(ステッ
プ47)。
For example, in FIG. 2, when the user program a makes a request to refer to the page p2 again, the file input / output means 9 uses the file information 222 and the page information 223 of the program table 221 to update the update data sub-file. The update image p2 'of the corresponding page p2 is read from 241 (step 47).

また、利用者プログラムaからページp3の参照要求が
あった場合には、ファイル入出力手段9は、プログラム
テーブル221のページ情報223に該当ページp3のページ番
号が登録されていないので(ステップ43)、共有テーブ
ル231のページ情報233を検索し(ステップ44)、該当ペ
ージp3のページ番号が登録されているので(ステップ4
5)、共有テーブル231のファイル情報232およびページ
情報233を用いて更新データサブファイル242から該当ペ
ージp3の更新イメージp3′を読み込む(ステップ47)。
If the user program a has made a reference request for the page p3, the file input / output means 9 does not register the page number of the page p3 in the page information 223 of the program table 221 (step 43). Then, the page information 233 of the shared table 231 is searched (step 44), and the page number of the corresponding page p3 is registered (step 4).
5) Using the file information 232 and the page information 233 of the shared table 231, read the update image p3 'of the corresponding page p3 from the update data subfile 242 (step 47).

したがって、利用者プログラム1自身が読み込み更新
したページや他の利用者プログラム1が読み込み更新が
完了したページは、高速ファイル装置5上の更新データ
サブファイル4aに更新イメージが格納されているため、
高速に読み込むことが可能である。
Therefore, the page read and updated by the user program 1 itself and the page read and updated by another user program 1 have the update image stored in the update data subfile 4 a on the high-speed file device 5.
It is possible to read at high speed.

(2−3)次に、プログラムテーブル221のページ情
報223または共有テーブル231のページ情報233に該当ペ
ージのページ番号が登録されているときのページ更新処
理について説明する。
(2-3) Next, the page update process when the page number of the corresponding page is registered in the page information 223 of the program table 221 or the page information 233 of the shared table 231 will be described.

例えば、利用者プログラムaから先に参照したページ
p3の更新要求があった場合、ファイル入出力手段9は、
共有テーブル231のページ情報233に該当ページp3のペー
ジ番号が登録されているので(ステップ49)、共有テー
ブル231のファイル情報232およびページ情報233を用い
て該当ページp3の更新イメージp3″を更新データサブフ
ァイル242の更新イメージp3′に対して重ね書きする
(第2図のF参照)。
For example, the page referenced earlier from user program a
When there is a request for updating p3, the file input / output means 9
Since the page number of the corresponding page p3 is registered in the page information 233 of the shared table 231 (step 49), the update image p3 ″ of the corresponding page p3 is updated using the file information 232 and the page information 233 of the shared table 231. The update image p3 'of the subfile 242 is overwritten (see F in FIG. 2).

また、ページp2の更新要求があった場合は、ファイル
入出力手段9は、プログラムテーブル221のページ情報2
23に該当ページp2のページ番号が登録されているので
(ステップ4B)、プログラムテーブル221のファイル情
報222およびページ情報223を用いて該当ページp2の更新
イメージp2″を更新データサブファイル241の更新イメ
ージp2′に対して重ね書きする(第2図のG参照)。
When there is a request to update the page p2, the file input / output means 9 sends the page information 2
Since the page number of the corresponding page p2 is registered in 23 (step 4B), the update image p2 ″ of the corresponding page p2 is updated using the file information 222 and the page information 223 of the program table 221. Overwrite p2 '(see G in FIG. 2).

したがって、更新イメージは高速ファイル装置5上で
更新が続けられ、この時点ではデータファイル2への更
新は何ら行われない。
Therefore, the update image is continuously updated on the high-speed file device 5, and no update to the data file 2 is performed at this time.

また、利用者プログラムbからは、他の利用者プログ
ラムaのプログラムテーブル221を参照することはない
ため、利用者プログラムaの更新途中のページ、例えば
ページp2の更新イメージp2′を読み込むことはなく、プ
ログラム共有の情報である共有テーブル231の情報、例
えばページp15やページp3の情報についてのみ参照およ
び更新が可能である。また、データファイル2はページ
単位で排他制御されているので、複数の利用者プログラ
ム1がプログラムテーブル221のページ情報223または共
有テーブル231のページ情報233にページ番号が登録され
ている該当ページを同時に読みに行くことはない。
Further, since the user program b does not refer to the program table 221 of the other user program a, the page being updated of the user program a, for example, the updated image p2 'of the page p2 is not read. It is possible to refer to and update only the information of the sharing table 231 that is the information of the program sharing, for example, the information of the page p15 and the page p3. Further, since the data file 2 is exclusively controlled on a page basis, a plurality of user programs 1 simultaneously execute the corresponding pages whose page numbers are registered in the page information 223 of the program table 221 or the page information 233 of the shared table 231. Never go to read.

(3)最後に、ファイル更新終了手段10によるページ
情報223(233)のプログラムテーブル221から共有テー
ブル231への移し替えの処理およびデータファイル2へ
の更新処理について、第5図を参照しながら説明する。
(3) Finally, the process of transferring the page information 223 (233) from the program table 221 to the shared table 231 and the process of updating the data file 2 by the file update ending means 10 will be described with reference to FIG. I do.

利用者プログラム1からファイル処理手段7を通じて
データファイル2の利用終了通知あるいは一連の更新の
終了通知を行うと、ファイル更新終了手段10に制御が渡
る。
When the user program 1 notifies the end of use of the data file 2 or the end of a series of updates through the file processing unit 7, the control is transferred to the file update ending unit 10.

ファイル更新終了手段10は、通知があった利用者プロ
グラム1のプログラムテーブル221をプログラムテーブ
ルポインタ212より得て、ファイル情報222およびページ
情報223に基づいて実際にページが格納されているサイ
ズまで更新データサブファイル4aのサイズを縮小する
(ステップ51)。
The file update ending means 10 obtains the program table 221 of the notified user program 1 from the program table pointer 212, and based on the file information 222 and the page information 223, updates the data up to the size where the page is actually stored. The size of the sub file 4a is reduced (step 51).

次に、ファイル更新終了手段10は、プログラムテーブ
ル221のファイル情報222およびページ情報223を共有テ
ーブル231の続きの領域に移送する(ステップ52)。
Next, the file update ending means 10 transfers the file information 222 and the page information 223 of the program table 221 to a continuation area of the shared table 231 (Step 52).

これにより、利用者プログラム1により更新されたペ
ージの更新イメージのファイル情報232およびページ情
報233が他の利用者プログラム1からも参照できる共有
テーブル231に移されるため、他の利用者プログラム1
でもその更新イメージの参照および更新が可能となる。
Thereby, the file information 232 and the page information 233 of the updated image of the page updated by the user program 1 are moved to the shared table 231 that can be referred to from other user programs 1.
However, the update image can be referred to and updated.

次に、データファイル2の利用終了通知であれば、フ
ァイル更新終了手段10は、ページ管理テーブル6のプロ
グラムテーブル領域22からプログラムテーブル221を削
除し、ポインタ領域21のプログラムテーブルポインタ21
2を消す(ステップ54)。
Next, if it is a use end notification of the data file 2, the file update end means 10 deletes the program table 221 from the program table area 22 of the page management table 6, and deletes the program table pointer 21 of the pointer area 21.
2 is erased (step 54).

さらに、ファイル更新終了手段10は、データファイル
2の利用者数211を1つ減少させた後に、最終の利用者
プログラム1(利用者数211が0かどうかで判断)であ
れば(ステップ55)、共有テーブルポインタ213から共
有テーブル231を辿りながらファイル情報232およびペー
ジ情報233を用いて利用者プログラム1により更新され
たページの更新イメージを更新データファイル4からデ
ータファイル2にすべて書き戻し、データファイル2を
更新された状態にする(ステップ56および57)。
Further, the file update ending means 10 reduces the number of users 211 of the data file 2 by one, and then, if it is the final user program 1 (determined based on whether the number of users 211 is 0) (step 55). While tracing the shared table 231 from the shared table pointer 213, the updated image of the page updated by the user program 1 using the file information 232 and the page information 233 is written back from the update data file 4 to the data file 2, and the data file is updated. 2 is updated (steps 56 and 57).

また、データファイル2の一連の更新の終了通知であ
れば、ファイル更新終了手段10は、プログラムテーブル
221をクリアし(ステップ58)、高速ファイル装置5上
に更新データサブファイル4aを再度確保し直し、更新デ
ータサブファイル4aの高速ファイル装置5内での位置情
報をファイル情報222として再登録する(ステップ5
9)。
If the series of updates of the data file 2 has been notified, the file update ending means 10
221 is cleared (step 58), the update data subfile 4a is re-secured on the high-speed file device 5, and the position information of the update data subfile 4a in the high-speed file device 5 is re-registered as the file information 222 (step 58). Step 5
9).

したがって、データファイル2への更新は、当該デー
タファイル2を利用している利用者プログラム1が存在
しなくなったときに初めて行われ、それまでは高速ファ
イル装置5の更新データファイル4上でのみページの更
新が行われる。
Therefore, the update to the data file 2 is performed only when the user program 1 using the data file 2 no longer exists. Until then, the page is only updated on the update data file 4 of the high-speed file device 5. Is updated.

なお、上記実施例では、ページを識別する情報として
ページ番号を用いた場合を例にとって説明したが、ペー
ジを識別する情報がページ番号である必要はかならずし
もない。
Note that, in the above-described embodiment, a case where a page number is used as information for identifying a page has been described as an example. However, the information for identifying a page need not necessarily be a page number.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、データファイルのペー
ジの更新イメージのみを高速でアクセス可能な高速ファ
イル装置上の更新データサブファイルに保持し、かつ利
用者プログラムにより更新されたページの更新イメージ
を他の利用者プログラムからも整合をとって高速ファイ
ル装置上の更新データサブファイルから参照および更新
できるようにしたことにより、データファイルのすべて
を高価な高速ファイル装置上に置く必要がなくなり、高
速ファイル装置を有効に利用しながらデータファイルの
高速アクセスが行えるという効果がある。
As described above, the present invention holds only an update image of a page of a data file in an update data subfile on a high-speed file device that can be accessed at a high speed, and stores an update image of a page updated by a user program. By making it possible to refer to and update from the updated data subfile on the high-speed file device with consistency from the user program, it is not necessary to put all the data files on the expensive high-speed file device. There is an effect that high-speed access of a data file can be performed while effectively utilizing.

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

第1図は本発明の一実施例に係る高速ファイルアクセス
方式の構成を示すブロック図、 第2図は第1図中のページ管理テーブルのフォーマット
と更新データサブファイルとの関連を示す図、 第3図は第1図中のファイル利用開始手段の処理を示す
流れ図、 第4図は第1図中のファイル入出力手段の処理を示す流
れ図、 第5図は第1図中のファイル更新終了手段の処理を示す
流れ図である。 図において、 1……利用プログラム、2……データファイル、3……
ファイル装置、4……更新データファイル、4a……更新
データサブファイル、5……高速ファイル装置、6……
ページ管理テーブル、7……ファイル処理手段、8……
ファイル利用開始手段、9……ファイル入出力手段、10
……ファイル更新終了手段、21……ポインタ領域、22…
…プログラムテーブル領域、23……共有テーブル領域、
211……利用者数、212……プログラムテーブルポイン
タ、213……共有テーブルポインタ、221……プログラム
テーブル、222,232……ファイル情報、223,233……ペー
ジ情報、231……共有テーブル、241,242,243……更新デ
ータサブファイルである。
FIG. 1 is a block diagram showing the configuration of a high-speed file access method according to an embodiment of the present invention. FIG. 2 is a diagram showing the relationship between the format of a page management table and the update data subfile in FIG. 3 is a flowchart showing the processing of the file use starting means in FIG. 1, FIG. 4 is a flowchart showing the processing of the file input / output means in FIG. 1, and FIG. 5 is the file update ending means in FIG. 6 is a flowchart showing the processing of FIG. In the figure, 1 ... use program, 2 ... data file, 3 ...
File device, 4 ... Update data file, 4a ... Update data subfile, 5 ... High-speed file device, 6 ...
Page management table 7 File processing means 8
File use start means, 9 File input / output means, 10
…… File update ending means, 21 …… Pointer area, 22…
... program table area, 23 ... shared table area,
211: Number of users, 212: Program table pointer, 213: Shared table pointer, 221: Program table, 222, 232: File information, 223, 233: Page information, 231: Shared table, 241, 242, 243: Update data It is a subfile.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の利用者プログラムから利用されペー
ジ単位に排他制御が行われ同時にアクセスすることが可
能なデータファイルに対するファイルアクセス方式にお
いて、 データファイルを同時にアクセスしながら処理を行う複
数の利用者プログラムと、 これら複数の利用者プログラムによりアクセスされる前
記データファイルと、 このデータファイルが置かれているファイル装置と、 前記利用者プログラムにより前記データファイルのペー
ジが更新された更新イメージを格納する複数の更新デー
タサブファイルからなる更新データファイルと、 この更新データファイルが置かれ前記ファイル装置より
も高速にアクセスが可能な高速ファイル装置と、 前記利用者プログラムにより更新されたページの情報と
更新イメージを格納している前記更新データサブファイ
ルの位置情報とをプログラム単位でもつプログラムテー
ブルと前記利用者プログラムのすべてから利用できる共
有テーブルとに分けて管理しているページ管理テーブル
と、 前記利用者プログラムより呼ばれ前記データファイルの
利用開始,前記データファイルへの入出力および前記デ
ータファイルの利用終了の各処理に対して対応する処理
手段に制御を渡すファイル処理手段と、 このファイル処理手段より呼ばれ前記データファイルの
利用開始処理で利用者プログラム対応に前記更新データ
サブファイルを前記高速ファイル装置上に確保し確保し
た前記更新データサブファイルの位置情報を前記ページ
管理テーブルにプログラムテーブルとして登録するファ
イル利用開始手段と、 前記ファイル処理手段より呼ばれ前記データファイルの
ページの参照要求に対しては前記ページ管理テーブルを
検索して前記更新データサブファイルにおける該当ペー
ジの更新イメージの有無を確認し前記更新データサブフ
ァイルに該当ページの更新イメージが存在すれば前記更
新データサブファイルから該当ページ更新イメージを高
速に読み込み前記更新データサブファイルに該当ページ
の更新イメージが存在しなければ前記データファイルか
ら該当ページを読み込む処理を行い、前記データファイ
ルのページの更新要求に対しては前記ページ管理テーブ
ルに更新したページの情報を反映させるとともに更新し
たページの更新イメージを前記更新データサブファイル
に格納するファイル入出力手段と、 前記ファイル処理手段より呼ばれ前記データファイルの
利用終了処理および前記データファイルの一連の更新の
終了処理で前記利用者プログラムにより更新されたペー
ジの更新イメージを他の利用者プログラムからも参照お
よび更新できるように前記ページ管理テーブル内の対応
するプログラムテーブルの情報を共有テーブルに移送す
るとともに、前記データファイルをアクセスする利用者
プログラムが存在しなくなったときに前記更新データフ
ァイルから更新イメージを前記データファイルに書き戻
して前記データファイルを前記利用者プログラムからの
更新が反映された状態とするファイル更新終了手段と を有することを特徴とする高速ファイルアクセス方式。
In a file access method for a data file which is used by a plurality of user programs and which is exclusively controlled on a page basis and which can be accessed at the same time, a plurality of users who perform processing while simultaneously accessing the data file. A program, the data file accessed by the plurality of user programs, a file device in which the data file is stored, and a plurality of storages for storing an updated image in which a page of the data file is updated by the user program. An update data file comprising an update data sub-file, a high-speed file device in which the update data file is placed and which can be accessed at a higher speed than the file device, and information and an update image of a page updated by the user program. Storing A page management table which separately manages a program table having the location information of the update data subfile in a program unit and a shared table which can be used by all of the user programs, and the data called by the user program. File processing means for transferring control to processing means corresponding to each of processing of starting use of a file, input / output to the data file, and end of use of the data file; and use of the data file which is called by the file processing means. A file use start unit that secures the update data subfile on the high-speed file device in correspondence with a user program in a start process and registers position information of the secured update data subfile as a program table in the page management table; Called by file processing means In response to a request to refer to a page of the data file, the page management table is searched to determine whether or not there is an update image of the corresponding page in the update data subfile. If the update data subfile reads the corresponding page update image at a high speed, if the update data subfile does not include the update image of the corresponding page, the corresponding page is read from the data file, and the page of the data file is updated. File input / output means for reflecting the information of the updated page in the page management table and storing an updated image of the updated page in the update data subfile in response to the request; and Use end processing And information of a corresponding program table in the page management table so that an update image of a page updated by the user program in a process of ending a series of updates of the data file can be referred to and updated by another user program. Is transferred to a shared table, and when the user program accessing the data file no longer exists, the update image from the update data file is written back to the data file to update the data file from the user program. And a file update ending means for setting a state in which the file is reflected.
JP2068783A 1990-03-19 1990-03-19 High-speed file access method Expired - Lifetime JP2767966B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2068783A JP2767966B2 (en) 1990-03-19 1990-03-19 High-speed file access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2068783A JP2767966B2 (en) 1990-03-19 1990-03-19 High-speed file access method

Publications (2)

Publication Number Publication Date
JPH03268146A JPH03268146A (en) 1991-11-28
JP2767966B2 true JP2767966B2 (en) 1998-06-25

Family

ID=13383678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2068783A Expired - Lifetime JP2767966B2 (en) 1990-03-19 1990-03-19 High-speed file access method

Country Status (1)

Country Link
JP (1) JP2767966B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3593366B2 (en) * 1994-09-19 2004-11-24 株式会社日立製作所 Database management method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60254220A (en) * 1984-05-30 1985-12-14 Toshiba Corp Optical disk control system with paging

Also Published As

Publication number Publication date
JPH03268146A (en) 1991-11-28

Similar Documents

Publication Publication Date Title
US5276840A (en) Disk caching method for writing data from computer memory including a step of writing a plurality of physically adjacent blocks in a single I/O operation
US5933847A (en) Selecting erase method based on type of power supply for flash EEPROM
US7325110B2 (en) Method for acquiring snapshot
US6961828B2 (en) Cluster system, memory access control method, and recording medium
JP2001510598A (en) Device drive for accessing computer files
GB2264798A (en) High speed access control
JPH04504018A (en) How to read and write files on non-erasable storage media
JP2001101046A (en) Device and method for processing information and computer readable memory
JPH03160534A (en) Access control system for shared file
JPH1063551A (en) Information processor
JP2767966B2 (en) High-speed file access method
JP2972548B2 (en) File management method
US5978810A (en) Data management system and method for storing a long record in a set of shorter keyed records
JP3169596B2 (en) Database management device
JPH06110766A (en) Directory constitution method and computer system for sharing stored file system
JPH08202595A (en) File system
JPS63138442A (en) Restoring and processing system for deleted file
JP2912657B2 (en) File access processor
JP2735400B2 (en) Asynchronous I / O control method
JPH11306053A (en) Data transfer method and information processor for executing the method
WO1991008537A1 (en) Data record copy apparatus for a virtual memory system
JPH1198448A (en) Video server system and access processing method therefor
JPH04370847A (en) Method for transaction synchronous access to sequential file
JPH069042B2 (en) Sequential access control device for shared storage medium
JPS62202242A (en) Mapping system for virtual disk device