JPH0233634A - Open file system at the time of request - Google Patents
Open file system at the time of requestInfo
- Publication number
- JPH0233634A JPH0233634A JP63184872A JP18487288A JPH0233634A JP H0233634 A JPH0233634 A JP H0233634A JP 63184872 A JP63184872 A JP 63184872A JP 18487288 A JP18487288 A JP 18487288A JP H0233634 A JPH0233634 A JP H0233634A
- Authority
- JP
- Japan
- Prior art keywords
- file
- registered
- registration
- files
- opened
- 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
Links
- 238000000034 method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野]
このyh明は計C′:1機シスデムのファイルシスデム
に関づる。[Detailed Description of the Invention] [Industrial Application Field] This yh light relates to a total of C': 1 system system file system.
従来より、計口1システムにおいてファイルを操作する
場合、ユーザーは所定のファイルをオープンすることに
よってそのアクセス権を獲得し、各種操作を行なった後
は、クローズによりファイルのアクセス権を解放する。Conventionally, when manipulating a file in an accounting system, a user obtains access rights to a given file by opening it, and after performing various operations, releases the access rights to the file by closing it.
(R明が解決しようとする課題)
口のように、従来はユーザーがファイルのオープン・ク
ローズの情理を行なっていたため、操作がrf4雑にな
り、多くのファイルを取り(及う場合はユーザーの負担
が大きくなる。また、同時にオープンできるファイルの
数に制限がある計0別システムにおいては、制限以上の
数のファイルを連続的に取り扱うことができないという
問題点があった。(Problem that Rming is trying to solve) As mentioned above, in the past, the user was responsible for opening and closing files, so the operation became sloppy, and many files were required (in some cases, the user was responsible for opening and closing files). In addition, in a total zero system that has a limit on the number of files that can be opened at the same time, there is a problem that it is not possible to consecutively handle more files than the limit.
この光明は上記従来技術に鑑みなされたもので、ユーザ
ーのファイル操作時の負担を軽減すると共に、同時にオ
ープンできるファイル数に制限のある計綽ホシステムで
も必要とする全てのファイルを連続的に取り扱うことが
できるようにしたファイルシステムを提供することを目
的とする。This light was developed in consideration of the above-mentioned conventional technology, and it reduces the burden on the user when operating files, and also handles all the necessary files continuously even in a system that has a limit on the number of files that can be opened at the same time. The purpose is to provide a file system that allows for
(課題を解決するための手段)
上記課題を解決するため、この光明に係るファイルシス
テムでは、ユーザーからのファイル操作要求に対してフ
ァイル管理テーブル内の登録エリアを探索して登録エリ
アの空きがあるかないかを判断し、空きがある場合は指
定されたフ1イルをオープンしてそのファイルを登録エ
リアに登録する。一方、登録エリアに空きがなければ登
録エリア内の不必要な任意のファイルの登録を解除して
ファイルをクローズし、指定されたファイルをオープン
してそのファイルを登録エリアに登録する。そして、フ
ァイルに対する操作が終了すると、そのファイルの登録
を解除してファイルをクローズする。(Means for solving the problem) In order to solve the above problem, in the file system related to Komei, in response to a file operation request from a user, the registered area in the file management table is searched and there is a vacant registered area. If there is space, open the specified file and register it in the registration area. On the other hand, if there is no free space in the registration area, the registration of any unnecessary file in the registration area is canceled, the file is closed, the specified file is opened, and the file is registered in the registration area. When the operation on the file is completed, the registration of the file is canceled and the file is closed.
(作用)
ユーザーのフン・イル操作要求に対するファイルのオー
プン・クローズ、並びにファイル管理テーブルへの登録
・登録解除が自動的に行なわれるため、ユーザーはファ
イルのオープン・クローズ等を意識することなくファイ
ルを操作することができる。また、同時にオープンでき
るファイルの数に制限があっても、使用されていない不
必要なファイルが自動的にクローズされるので、ユーザ
ーは必要とする全てのファイルの操作を連続的に行なう
ことができる。(Function) File opening/closing and registration/unregistration in the file management table are automatically performed in response to the user's operation requests, so the user can open/close the file without being aware of it. can be operated. Additionally, even if there is a limit to the number of files that can be opened at the same time, unnecessary files that are not in use are automatically closed, allowing users to perform operations on all necessary files in succession. .
〔実施例] 以下、この発明の実施例を図面と共に説明する。〔Example] Embodiments of the present invention will be described below with reference to the drawings.
第1図は、ファイル操作を行なう場合の基本h〜成を示
す概念図である。図において、ユーザーが計算ぼ1を介
してファイル装置3のファイル操作要求を出すと、ファ
イルシステム2では内部に設定されたファイル管理テー
ブル4を探索し、状況に応じてファイルのオープン及び
登録を自動的に行なう。すなわち、ファイル管理テーブ
ルの登録エリアに空きがある場合は、指定されたファイ
ルをオープン℃てそのフ1イルを登録し、登録エリアに
空きがなければ登録エリア内の不必要な任意のファイル
の登録を解除してファイルをクローズし、指定されたフ
ァイルをオープンしてそのフ31イルのファイルを登録
エリアにO録する。しただって、例えば同時にオープン
できるファイルの数に制限がある計算b1システムにお
いては、ファイル管理テーブルの登録エリア数を、上記
制限以内に設定しておけば、使用されていない不必要な
ファイルの登録が自動的に解除されてファイルがクロー
ズされるため、ユーザーは必要とする全てのファイルの
操作を連続的に行なうことが可r1シとなる。また、フ
ァイルの操作が終了すると、ファイルの登録が自動的に
解除され、ファイルもクローズされる。FIG. 1 is a conceptual diagram showing the basic configuration when performing file operations. In the figure, when the user issues a file operation request to the file device 3 via the calculator 1, the file system 2 searches the internally set file management table 4 and automatically opens and registers the file depending on the situation. Do it properly. In other words, if there is space in the registration area of the file management table, open the specified file and register that file; if there is no space in the registration area, register any unnecessary file in the registration area. 31 to close the file, open the specified file, and record the file in the registration area. For example, in a calculation b1 system where there is a limit to the number of files that can be opened at the same time, by setting the number of registration areas in the file management table within the above limit, registration of unused and unnecessary files can be avoided. Since the file is automatically released and the file is closed, the user can perform all required file operations continuously. Furthermore, when the file operation is completed, the file registration is automatically canceled and the file is also closed.
次に、上述したファイルシステムの動作を制御するファ
イル管理プログラムの処理手順を第2図のフローヂX・
−トを用いて説明する。Next, the processing procedure of the file management program that controls the operation of the file system described above is explained in the flowchart shown in Figure 2.
-Explain using the following.
第2図において、ファイルシステム2に対してユーザー
からファイル操作要求が出されると(ステップ1o1)
、ファイルシステム2はファイルをオープンする必要が
あるかどうかを判断ゴ゛る(ステップ102)。ここで
、ファイルをオープンする必要がないと判断した場合は
ステップ103へ移り、ファイルのオープンを供なわな
いファイル操作を行なう。一方、ステップ102におい
てファイルをオープンする必要があると判断した場合は
ステップ104に移り、指定されたファイルが既にファ
イル管理テーブルに登録されているかどうかを判1!I
iする。ここで、指定されたファイルが登録されていた
場合は、ステップ108に移り、ファイル管理テーブル
に登録されたファイルに対して操作を行なう。一方、ス
テップ104で指定されたファイルがファイル管理テー
ブルに登録されていなかった場合は、次にファイル管理
テーブルに空きがあるかどうかを判断する(ステップ1
05)。ここで、ファイル管理テーブルに空きがあれば
ステップ107に移り、ファイルをオープンしてファイ
ルを登録する。一方、ステップ105でファイル管理テ
ーブルに空きがないときは、ファイル管理テーブル内の
不必要な任意のファイルの登録を解除してファイルをク
ローズし、<Nkエリアを空ける(ステップ106)。In Figure 2, when a user issues a file operation request to file system 2 (step 1o1)
, the file system 2 determines whether it is necessary to open the file (step 102). Here, if it is determined that there is no need to open a file, the process moves to step 103 and a file operation that does not involve opening a file is performed. On the other hand, if it is determined in step 102 that it is necessary to open a file, the process moves to step 104, and it is determined whether the specified file is already registered in the file management table (1!). I
i do Here, if the specified file has been registered, the process moves to step 108 and operations are performed on the file registered in the file management table. On the other hand, if the file specified in step 104 is not registered in the file management table, then it is determined whether there is space in the file management table (step 1
05). Here, if there is space in the file management table, the process moves to step 107, where the file is opened and registered. On the other hand, if there is no free space in the file management table in step 105, the registration of any unnecessary file in the file management table is canceled, the file is closed, and the <Nk area is vacated (step 106).
そして、指定されたファイルをオープンしてそのファイ
ルを1tab(ステップ107)、ファイル管理テーブ
ルに登録されたファイルに対してファイル操作を行なう
(ステップ108)。Then, the specified file is opened, the file is tabbed (step 107), and a file operation is performed on the file registered in the file management table (step 108).
なお、この発明に係るファイルシステムでは、ファイル
の操作要求として、ファイルのオープン又はクローズも
要求できるので、従来のファイルシステムと同様に取扱
うことも可能である。Note that in the file system according to the present invention, a request to open or close a file can also be requested as a file operation request, so that it can be handled in the same way as a conventional file system.
(ye明の効果〕
以上説明したように、この発明に係るファイルシステム
では、ファイルのオープン・り0−ズ並びにファイル管
理テーブルへの登録・登録解除を自動釣に行なうように
したため、ユーザーは7戸イルのオープン・クローズ等
を@識することなくファイルを操作でき、ファイル操作
時のユーザーの負担を軽減することができる。(Effects of Eye Lighting) As explained above, in the file system according to the present invention, the opening and resetting of files as well as the registration and cancellation of registration in the file management table are automatically performed, so that the user can Files can be manipulated without knowing whether the file is opened or closed, and the burden on the user when manipulating files can be reduced.
また、同時にオープンできるファイル数に制限のある計
算機システムでも、不必要なファイルが自動釣にクロー
ズされるので、必要とする全てのファイルを連続的に取
り扱うことが可能となる。Furthermore, even in computer systems where the number of files that can be opened at the same time is limited, unnecessary files are automatically closed, making it possible to continuously handle all necessary files.
第1図はファイル操作を行なう場合の基本―成を示す概
念図、第2図はファイル管理プログラムの処理手順を示
すフローチャートである。
1・・・計弾機、2・・・ファイルシステム、3・・・
ファイル装置、4・・・ファイル管理テーブル。FIG. 1 is a conceptual diagram showing the basic structure for performing file operations, and FIG. 2 is a flowchart showing the processing procedure of the file management program. 1... Bullet meter, 2... File system, 3...
File device, 4...File management table.
Claims (1)
ブル内の登録エリアを探索し、登録エリアに空きがある
場合は指定されたファイルをオープンしてそのファイル
を登録エリアに登録し、登録エリアに空きがなければ登
録エリア内の任意のファイルの登録を解除してファイル
をクローズし、指定されたファイルをオープンしてその
ファイルを登録エリアに登録すると共に、ファイル操作
終了時にそのファイルの登録を解除してファイルをクロ
ーズすることを特徴とする要求時オープンファイルシス
テム。The registration area in the file management table is searched in response to a user's file operation request, and if there is space in the registration area, the specified file is opened and registered in the registration area, and if there is space in the registration area. For example, you can unregister any file in the registration area, close the file, open the specified file and register it in the registration area, and when the file operation is finished, unregister the file and close the file. An open-on-demand file system characterized by closing .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63184872A JPH0233634A (en) | 1988-07-25 | 1988-07-25 | Open file system at the time of request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63184872A JPH0233634A (en) | 1988-07-25 | 1988-07-25 | Open file system at the time of request |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0233634A true JPH0233634A (en) | 1990-02-02 |
Family
ID=16160789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63184872A Pending JPH0233634A (en) | 1988-07-25 | 1988-07-25 | Open file system at the time of request |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0233634A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57106953A (en) * | 1980-12-24 | 1982-07-03 | Fujitsu Ltd | Mode setting and switching controlling method for the same resource |
JPS5947659A (en) * | 1982-09-13 | 1984-03-17 | Hitachi Ltd | File control method |
JPS63140349A (en) * | 1986-12-02 | 1988-06-11 | Mitsubishi Electric Corp | Reading out and writing method for memory device |
-
1988
- 1988-07-25 JP JP63184872A patent/JPH0233634A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57106953A (en) * | 1980-12-24 | 1982-07-03 | Fujitsu Ltd | Mode setting and switching controlling method for the same resource |
JPS5947659A (en) * | 1982-09-13 | 1984-03-17 | Hitachi Ltd | File control method |
JPS63140349A (en) * | 1986-12-02 | 1988-06-11 | Mitsubishi Electric Corp | Reading out and writing method for memory device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2199520A1 (en) | Method of operating a computer system | |
JPH05282260A (en) | Computer network and its operation method | |
JPH0233634A (en) | Open file system at the time of request | |
JPH07141237A (en) | Data base access control unit | |
JPH02294855A (en) | Sub-file using right managing system | |
JPH0652079A (en) | Communication application program interface device | |
JPH0293961A (en) | File deleting system | |
JPH07146809A (en) | Information processor | |
JPS6150356B2 (en) | ||
JPH01319847A (en) | Operating system | |
JPH0552537B2 (en) | ||
JPS62184535A (en) | System for making operating system nonresident | |
JPH03116261A (en) | Multiprocessor control system | |
JPH03265947A (en) | File back-up system | |
JPH02120947A (en) | File input/output processing method for information processing system | |
JPH05233401A (en) | Infinite virtually simultaneous file opening system | |
JPH0414161A (en) | Transaction processing system | |
JPH04153872A (en) | Function mask controlling method | |
JPH02139634A (en) | Operating system | |
JPH0448351A (en) | Resource information control system | |
JPH03255554A (en) | Temporary file input/output control system | |
JPH01231140A (en) | Dynamic managing system for file control information stored area | |
JPS61204742A (en) | Spool controlling system for data processing system | |
JPH03189741A (en) | Remote data base access method | |
JPS58115568A (en) | Exclusive control system for mass storage device |