JPH05233401A - Infinite virtually simultaneous file opening system - Google Patents
Infinite virtually simultaneous file opening systemInfo
- Publication number
- JPH05233401A JPH05233401A JP4037404A JP3740492A JPH05233401A JP H05233401 A JPH05233401 A JP H05233401A JP 4037404 A JP4037404 A JP 4037404A JP 3740492 A JP3740492 A JP 3740492A JP H05233401 A JPH05233401 A JP H05233401A
- Authority
- JP
- Japan
- Prior art keywords
- file
- opened
- files
- open
- infinite
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は応用プログラムで同時オ
ープンファイル数の制限を意識せずにファイルをオープ
ンする無限仮想同時ファイルオープン方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an infinite virtual simultaneous file open system for opening files by application programs without being aware of the limit on the number of files that can be opened simultaneously.
【0002】[0002]
【従来の技術】従来、同時オープンのファイル数は、基
本プログラムで制限しており、応用プログラムでは基本
プログラムの制限下でファイルのオープンを行ってい
た。2. Description of the Related Art Conventionally, the number of files that can be opened simultaneously is limited by a basic program, and an application program has opened files under the limitation of the basic program.
【0003】[0003]
【発明が解決しようとする課題】上述した従来の同時オ
ープンのファイル数を考えた応用プログラムでは、オー
プンするファイル数が制限され、基本プログラムが制限
した数しかオープンできず、また基本プログラムの制限
する数は固有であり変更はできない。In the above-mentioned application program which considers the number of files that can be simultaneously opened, the number of files to be opened is limited, and the basic program can open only the limited number of files. The number is unique and cannot be changed.
【0004】本発明の目的は、基本プログラムが制限し
た数以上の同時ファイルのオープンを可能にする無限仮
想同時ファイルオープン方式を提供することにある。It is an object of the present invention to provide an infinite virtual simultaneous file open system which allows the basic program to open more than a limited number of simultaneous files.
【0005】[0005]
【課題を解決するための手段】本発明の無限仮想同時フ
ァイルオープン方式は、外部媒体に収容されるプログラ
ム又はデータのアクセス管理をオープン・クローズ形式
で制御する基本オペレーティングシステムの同時オープ
ン可能ファイル数を超えてオープンが必要な時に応用プ
ログラムは時系列的に最も古くオープンされたファイル
をクローズし要求ファイルをオープンすることを特徴と
する。The infinite virtual simultaneous file open method of the present invention determines the number of files that can be simultaneously opened by a basic operating system that controls access control of programs or data stored in an external medium in an open / closed format. The application program is characterized by closing the earliest opened file and opening the request file in time series when opening beyond is necessary.
【0006】[0006]
【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の無限仮想同時ファイルオープン方式
の一実施例を示す処理フローチャートである。The present invention will be described below with reference to the drawings. FIG. 1 is a processing flowchart showing an embodiment of the infinite virtual simultaneous file opening method of the present invention.
【0007】応用プログラムはまず、ファイル管理テー
ブルを検索して(ステップ1)、オープンするファイル
がこのテーブルに存在するか判定を行う(ステップ
2)。次にファイルがオープン状態かどうかを判定し
(ステップ3)、オープン状態ならばファイルのオープ
ンが正常である。一方、ファイル管理テーブル数分ステ
ップ2→1→2のループを回り終えた時に新規にファイ
ル管理テーブルを作る(ステップ4)。すでにオープン
しているファイル数と今オープンしようとしているファ
イルとを合計して同時オープンのファイル数が制限数よ
り超過しているか判定を行う(ステップ5)。ここで同
時オープンのファイル数が制限数より超過している場合
(YES)は一番古いファイルを1つクローズする(ス
テップ6)。そして、今ファイルのオープン要求のあっ
たものをオープンする(ステップ7)。ファイルのカウ
ンタを1つカウントアップし現在のオープン数を設定す
る(ステップ8)。次にファイル管理テーブルの書換え
を行いテーブル上の値を設定する(ステップ9)。The application program first searches the file management table (step 1) and determines whether the file to be opened exists in this table (step 2). Next, it is judged whether or not the file is in the open state (step 3). If the file is in the open state, the file is normally opened. On the other hand, when the loop of steps 2 → 1 → 2 is completed by the number of file management tables, a new file management table is created (step 4). The number of files that have already been opened and the file that is about to be opened are summed to determine whether the number of files that can be opened simultaneously exceeds the limit (step 5). If the number of files opened simultaneously exceeds the limit (YES), one oldest file is closed (step 6). Then, the file that has been requested to be opened is opened (step 7). The file counter is incremented by 1 and the current number of open files is set (step 8). Next, the file management table is rewritten and the values on the table are set (step 9).
【0008】[0008]
【発明の効果】以上説明したように本発明は、応用プロ
グラムで同時オープンのファイル数を制限数以上のオー
プンを可能にし、また応用プログラムで同時オープンの
ファイル数を意識することなくファイルのオープンを行
えるという効果を有する。As described above, according to the present invention, it is possible for an application program to open more than a limited number of files that are simultaneously opened, and the application program can open files without being aware of the number of files that are simultaneously opened. It has the effect that it can be done.
【図1】本発明の無限仮想同時ファイルオープン方式の
一実施例を示す処理フローチャートである。FIG. 1 is a processing flowchart showing an embodiment of an infinite virtual simultaneous file open system of the present invention.
1,〜9 処理ステップ 1, to 9 processing steps
Claims (1)
ータのアクセス管理をオープン・クローズ形式で制御す
る基本オペレーティングシステムの同時オープン可能フ
ァイル数を超えてオープンが必要な時に応用プログラム
は時系列的に最も古くオープンされたファイルをクロー
ズし要求ファイルをオープンすることを特徴とする無限
仮想同時ファイルオープン方式。1. An application program is most time-sequentially opened when it is necessary to open more files than the number of simultaneously openable files of a basic operating system that controls access management of programs or data stored in an external medium in an open / closed format. An infinite virtual simultaneous file open method characterized by closing an old open file and opening a request file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4037404A JPH05233401A (en) | 1992-02-25 | 1992-02-25 | Infinite virtually simultaneous file opening system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4037404A JPH05233401A (en) | 1992-02-25 | 1992-02-25 | Infinite virtually simultaneous file opening system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05233401A true JPH05233401A (en) | 1993-09-10 |
Family
ID=12496596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4037404A Withdrawn JPH05233401A (en) | 1992-02-25 | 1992-02-25 | Infinite virtually simultaneous file opening system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05233401A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015103012A (en) * | 2013-11-25 | 2015-06-04 | 株式会社東芝 | File access system |
CN112506736A (en) * | 2020-12-01 | 2021-03-16 | 北京北信源软件股份有限公司 | office file opening state monitoring method and apparatus |
-
1992
- 1992-02-25 JP JP4037404A patent/JPH05233401A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015103012A (en) * | 2013-11-25 | 2015-06-04 | 株式会社東芝 | File access system |
CN112506736A (en) * | 2020-12-01 | 2021-03-16 | 北京北信源软件股份有限公司 | office file opening state monitoring method and apparatus |
CN112506736B (en) * | 2020-12-01 | 2024-05-24 | 北京北信源软件股份有限公司 | Method and device for monitoring open state of office file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2199520A1 (en) | Method of operating a computer system | |
JPH05233401A (en) | Infinite virtually simultaneous file opening system | |
JP2624170B2 (en) | Logical deletion data physical deletion method | |
JPH08335181A (en) | File accessing device | |
JPH0713817A (en) | File management system | |
JPH028920A (en) | Event recorder and event reproducing device | |
JPH0244442A (en) | File deleting system | |
GB2317972A (en) | Supplementing or replacing data in a ROM | |
JPH0683596A (en) | Program version management system | |
JPH03147150A (en) | Data processing system | |
JPH05113882A (en) | Out-fitted man-machine interface realizing system by intermediate file | |
JPH0233634A (en) | Open file system at the time of request | |
JPH0385649A (en) | File management information generating device | |
JPH0540677A (en) | Index file opening control system | |
JPH05298145A (en) | Trace data sampling processing system | |
JPH11224216A (en) | System file history management system and record medium recording the system | |
JPH05120104A (en) | File managing device | |
JPH01231140A (en) | Dynamic managing system for file control information stored area | |
JPH07239728A (en) | Operation schedule update system | |
JPH01310439A (en) | Editing history control system | |
JPH05108433A (en) | File data read mechanism for memory card | |
JPH05119979A (en) | File use status control system | |
JPH035845A (en) | File opening substitution device | |
JPH01312648A (en) | File control system | |
JPH0540593A (en) | Window system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19990518 |