JPH05233401A - Infinite virtually simultaneous file opening system - Google Patents

Infinite virtually simultaneous file opening system

Info

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
Application number
JP4037404A
Other languages
Japanese (ja)
Inventor
Tsunehisa Oyama
恒久 大山
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 Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP4037404A priority Critical patent/JPH05233401A/en
Publication of JPH05233401A publication Critical patent/JPH05233401A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To open files by more than the limited number of a basic program at the same time. CONSTITUTION:A file control table is retrieved (step 1) to decide whether or not there is a file to be opened is present in this state (step 2). It is decided whether or not the file is in an open state (step 3) and when so, the file is normally opened. When the loop is repeated as many times as file control tables, a new file control table is generated (step 4). The number of files which are already opened and the files to be opened are totalized and it is decided whether or not the total number exceeds the limited number (step 5). When the limited number is exceeded, the oldest file is closed (step 6) and a file which is currently requested to be opened is opened (step 7). A counter for files is counted up by one and the current number of opened files is set (step 8). The file control tables are rewritten and the values in the tables are set (step 9).

Description

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

【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.

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

【図1】本発明の無限仮想同時ファイルオープン方式の
一実施例を示す処理フローチャートである。
FIG. 1 is a processing flowchart showing an embodiment of an infinite virtual simultaneous file open system of the present invention.

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

1,〜9 処理ステップ 1, to 9 processing steps

Claims (1)

【特許請求の範囲】[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.
JP4037404A 1992-02-25 1992-02-25 Infinite virtually simultaneous file opening system Withdrawn JPH05233401A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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