[go: up one dir, main page]

JPS63238643A - Duplex file access control system - Google Patents

Duplex file access control system

Info

Publication number
JPS63238643A
JPS63238643A JP62073223A JP7322387A JPS63238643A JP S63238643 A JPS63238643 A JP S63238643A JP 62073223 A JP62073223 A JP 62073223A JP 7322387 A JP7322387 A JP 7322387A JP S63238643 A JPS63238643 A JP S63238643A
Authority
JP
Japan
Prior art keywords
input
file
output
output queue
slave
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
JP62073223A
Other languages
Japanese (ja)
Inventor
Shigeru Shibayama
茂 柴山
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 JP62073223A priority Critical patent/JPS63238643A/en
Publication of JPS63238643A publication Critical patent/JPS63238643A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten the waiting time for a file access, by inputting a data from a file which has become inputtable first among a main system file and a subsystem file. CONSTITUTION:An input/output executing means 7 is started by an input/output control means 4, refers to an input/output queue with respect to a main system input/output queue 8 and a subsystem input/output queue 9, and determines an input required to be executed in the next time. Subsequently, before executing the input request, an input/output queue deleting means 6 is started, whether this input request exists in the input/output queue of the other system or not is decided, and when said request exists, its input request is deleted from the input/output queue of the other system. Thereafter, the input/output executing means 7 executes an input processing to a main system file 12 or a subsystem file 13, by which a data can be inputted from a file which has become inputtable first among a main system file 12 and a subsystem file 13. In such a way, the waiting time for a file access can be decreased remarkably.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置の二重化ファイルのアクセス制
御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a duplex file access control system for a data processing device.

〔従来の技術〕[Conventional technology]

従来、この種の二重化ファイルアクセス制御方式では、
二重化ファイルに対する入力要求がなされた時には、常
に主系ファイルからデータを入力していた。
Conventionally, in this type of duplex file access control method,
When an input request was made to the duplex file, data was always input from the main file.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の二重化ファイルアクセス制御方式では、
二重化ファイルに対する入力要求がなされた時には、常
に主系ファイルからデータを入力していたので、ファイ
ルアクセスの待ち時間が長くなるという欠点かある。
In the conventional duplex file access control method described above,
When an input request is made to the duplex file, data is always input from the main file, which has the disadvantage of increasing the waiting time for file access.

本発明の目的は上記欠点を除去し、大幅にファイルアク
セス待ち時間を減少することのできる二重化ファイルア
クセス制御方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a duplex file access control method that can eliminate the above drawbacks and significantly reduce file access waiting time.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の二重化ファイルアクセス制御方式は、二重化フ
ァイルに対する入力要求がなされたとき主系ファイルお
よび従系ファイルに対し入出力制御を行う入出力制御手
段と、前記主系ファイルおよび前記従系ファイルの各々
に対する入出力要求をキューイングする主系入出力キュ
ーおよび原糸入出力キューと、前記入出力制御手段によ
り起動され前記二重化ファイルに対する入力要求かなさ
れたとき当該入力要求を前記主系入出力キューおよび前
記原糸入出力キューの各々に対して登録する入出力登録
手段と、前記入出力制御手段により起動され前記主系入
出力キューおよび前記原糸入出力キューの先頭にキュー
イングされている入力要求を前記主系ファイルおよびフ
ァイルおよび前記従系ファイルに対して実行する入出力
実行手段と、前記入出力実行手段により起動され前記主
系ファイルおよび前記従系ファイルに対する入力要求を
実行する前に他系の入出力キューから当該入力要求を削
除する入出力キュー削除手段とを有している。
The duplex file access control method of the present invention includes an input/output control means that performs input/output control on a master file and a slave file when an input request is made to the duplex file; a main system input/output queue and a yarn input/output queue for queuing input/output requests to the main system input/output queue and a yarn input/output queue; an input/output registration means for registering for each of the yarn input/output queues; and an input request activated by the input/output control means and queued at the head of the main input/output queue and the yarn input/output queue. input/output execution means that executes input/output execution means for the main file and files and the slave file; and input/output queue deletion means for deleting the input request from the input/output queue.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のデータの流れを中心に示す
システムブロック図、第2図は第1図の入出力キュー登
録手段5の動作を示すフローチャート、第3図は第1図
の入出力実行手段7の動作を示すフローチャート、第4
図は第1図の入出力キュー削除手段6の動作を示すフロ
ーチャートである。
FIG. 1 is a system block diagram mainly showing the flow of data in an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the input/output queue registration means 5 of FIG. 1, and FIG. Flowchart showing the operation of the input/output execution means 7, No. 4
The figure is a flowchart showing the operation of the input/output queue deletion means 6 of FIG.

第1図を参照すると、本発明の一実施例はデータ処理装
置1.事務処理プログラム2.ファイルアクセス制御手
段3.入出力制御手段4.入出力キュー登録手段5.入
出力キュー削除手段6.入出力実行手段7.主系入出力
キュー8.従系入出力キュー9.外部記憶装置10−1
および1〇−2、二重化ファイル11.主系ファイル1
2.従系ファイル13から構成されている。
Referring to FIG. 1, one embodiment of the present invention is a data processing device 1. Office processing program 2. File access control means 3. Input/output control means 4. Input/output queue registration means5. Input/output queue deletion means 6. Input/output execution means 7. Main input/output queue 8. Slave input/output queue9. External storage device 10-1
and 10-2, duplex file 11. Main file 1
2. It is composed of slave files 13.

第2図を参照すると、入出力キュー登録手段5は、主系
入出力キュー登録部21.従糸入出力キュー登録部22
から構成されている。
Referring to FIG. 2, the input/output queue registration means 5 includes the main input/output queue registration section 21. Following yarn input/output queue registration section 22
It consists of

第3図を参照すると、入出力実行手段7は、実行入力要
求決定部31.入出力キュー削除手段起動部32.入力
要求実行部33から構成されている。
Referring to FIG. 3, the input/output execution means 7 includes an execution input request determining section 31. I/O queue deletion means activation unit 32. It is composed of an input request execution section 33.

第4図を参照すると、入出力キュー削除手段6は入力要
求存在所定部41.入力要求削除部42から構成されて
いる。
Referring to FIG. 4, the input/output queue deletion means 6 includes the input request existence predetermining section 41. It consists of an input request deletion section 42.

本システムは外部記憶装置10−1および1〇−2内に
、主系ファイル12および従系ファイル13からなる二
重化ファイル11を有している。
This system has a duplex file 11 consisting of a main file 12 and a slave file 13 in external storage devices 10-1 and 10-2.

事務処理プログラム2から前記二重化ファイル11に対
して入力要求が出されると、ファイルアクセス制御手段
3は入出力制御手段4を起動する。入出力制御手段4は
当該入力要求をキューイングするために、入出力キュー
登録手段5を起動する。前記入出力キュー登録手段5は
主系入出力キュー登録部21により当該入力要求を主系
人出カキュー8に登録し、次に従系入出力キュー登録部
22により当該入力要求を原糸入出力キュー9に登録す
る。
When the office processing program 2 issues an input request to the duplicated file 11, the file access control means 3 activates the input/output control means 4. The input/output control means 4 activates the input/output queue registration means 5 in order to queue the input request. The input/output queue registration means 5 registers the input request in the main output queue 8 through the main input/output queue registration section 21, and then registers the input request into the yarn input/output through the slave input/output queue registration section 22. Register in queue 9.

入出力実行手段7は前記入出力制御手段4より起動され
、主系入出力キュー8および原糸入出力キュー9に対し
て以下の処理を実行する。
The input/output execution means 7 is activated by the input/output control means 4 and executes the following processing on the main input/output queue 8 and yarn input/output queue 9.

実行入力要求決定部31は入出力キューを参照し、次に
実行する入力要求を決定する。次に前記入出力実行手段
7は、入力要求を実行する前に入出力キュー削除手段起
動部32により入出力キュー削除手段6を起動する6人
出力キュー削除手段6は入力要求存在判定部41により
当該入力要求が他系の入出力キューに存在するか否かを
判断し、存在する場合には入力要求削除部42により当
該入力要求を他系の入出力キューから削除する。
The execution input request determining unit 31 refers to the input/output queue and determines the input request to be executed next. Next, the input/output execution means 7 activates the input/output queue deletion means 6 using the input/output queue deletion means activation section 32 before executing the input request. It is determined whether the input request exists in the input/output queue of the other system, and if it exists, the input request deletion unit 42 deletes the input request from the input/output queue of the other system.

その後前記入出力実行手段7は、入力要求実行部33に
より前記主系ファイル12もしくは前記従系ファイル1
3に対する入力処理を実行することにより、前記主系フ
ァイル12、前記従系ファイル13のうち先に入力可能
となったファイルからデータを入力することが可能とな
る。
Thereafter, the input/output execution unit 7 uses the input request execution unit 33 to request the input/output execution unit 7 to output the main file 12 or the slave file 1.
By executing the input processing for 3, it becomes possible to input data from the file that becomes inputtable first among the main file 12 and the slave file 13.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、二重化ファイルに対す
る入力要求がなされた時に、常に主系ファイルからデー
タを入力するのではなく、主系ファイル、従系ファイル
のうち先に入力可能となりたファイルからデータを入力
することにより、ファイルアクセスのための待ち時間を
短縮するという効果がある。
As explained above, in the present invention, when an input request is made to a duplex file, data is not always input from the main file, but from the file that becomes inputtable first from the main file or the slave file. By inputting , it has the effect of shortening the waiting time for file access.

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

第1図は本発明の一実施例のデータの流れを中心に示す
ブロック図、第2図は第1図の入出力キュー登録手段5
の動作を示すフローチャート、第3図は第1図の入出力
実行手段7の動作を示すフローチャート、第4図は第1
図の入出力キュー削除手段6の構成を示す図である。 1・・・データ処理装置、2・・・事務処理プログラム
、3・・・ファイルアクセス制御手段、4・・・入出力
制御手段、5・・・入出力キュー登録手段、6・・・入
出力キュー削除手段、7・・・入出力実行手段、8・・
・主系入出力キュー、9・・・原糸入出力キュー、10
−1.10−2・・・外部記憶装置、11・・・二重化
ファイル、12・・・主系ファイル、13・・・従系フ
ァイ磐 1 回
FIG. 1 is a block diagram mainly showing the flow of data in an embodiment of the present invention, and FIG. 2 is a block diagram showing the input/output queue registration means 5 of FIG.
3 is a flowchart showing the operation of the input/output execution means 7 in FIG. 1, and FIG.
It is a figure which shows the structure of the input-output queue deletion means 6 of a figure. DESCRIPTION OF SYMBOLS 1... Data processing device, 2... Office processing program, 3... File access control means, 4... Input/output control means, 5... Input/output queue registration means, 6... Input/output Queue deletion means, 7... Input/output execution means, 8...
・Main system input/output queue, 9... Yarn input/output queue, 10
-1.10-2...External storage device, 11...Duplicated file, 12...Main file, 13...Slave file 1 time

Claims (1)

【特許請求の範囲】[Claims] 外部記憶装置内に確保した主系ファイルおよび従系ファ
イルの二つのファイルを一つの論理ファイルである二重
化ファイルとして入出力制御を行うシステムにおいて、
前記二重化ファイルに対する入出力要求がなされたとき
前記主系ファイルおよび従系ファイルに対して入出力制
御を行う入出力制御手段と、前記主系ファイルおよび前
記従系ファイルの各々に対する入出力要求をキューイン
グする主系入出力キューおよび従系入出力キューと、前
記入出力制御手段により起動され前記二重化ファイルに
対する入力要求がなされたとき当該入力要求を前記主系
入出力キューおよび従系入出力キューの各々に対して登
録する入出力キュー登録手段と、前記入出力制御手段に
より起動され前記入出力キューおよび前記従系入出力キ
ューの先頭にキューイングされている入力要求を前記主
系ファイルおよび前記従系ファイルに対して実行する入
出力実行手段と、前記入出力実行手段により起動され前
記主系ファイルおよび前記従系ファイルに対する入力要
求を実行する前に他来の入出力キューから当該入力要求
を削除する入出力キュー削除手段とを有し、前記二重化
ファイルに対する入力要求がなされたときに常に前記主
系ファイルからデータを入力するのではなく、前記主系
ファイルおよび従系ファイルのうち先に入力可能となっ
たファイルからデータを入力することによりファイルア
クセスの待ち時間を短縮することを特徴とする二重化フ
ァイルアクセス制御方式。
In a system that performs input/output control on two files, a main file and a slave file, secured in an external storage device as one logical file, a duplex file.
an input/output control means for controlling input/output to the main file and the slave file when an input/output request is made to the duplex file, and a queue for input/output requests to each of the master file and the slave file. A master input/output queue and a slave input/output queue are activated by the input/output control means, and when an input request to the duplexed file is made, the input request is sent to the master input/output queue and the slave input/output queue. an input/output queue registration means for registering each input request, and input requests activated by the input/output control means and queued at the head of the input/output queue and the slave input/output queue to the master file and the slave input/output queue. an input/output execution means that executes on a system file, and deletes the input request from another input/output queue before executing the input request to the main file and the slave file activated by the input/output execution means and an input/output queue deletion means, so that when an input request to the duplex file is made, data can be input first between the main file and the slave file instead of always inputting data from the main file. A redundant file access control method characterized by shortening the waiting time for file access by inputting data from a file that has become .
JP62073223A 1987-03-26 1987-03-26 Duplex file access control system Pending JPS63238643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62073223A JPS63238643A (en) 1987-03-26 1987-03-26 Duplex file access control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62073223A JPS63238643A (en) 1987-03-26 1987-03-26 Duplex file access control system

Publications (1)

Publication Number Publication Date
JPS63238643A true JPS63238643A (en) 1988-10-04

Family

ID=13511961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62073223A Pending JPS63238643A (en) 1987-03-26 1987-03-26 Duplex file access control system

Country Status (1)

Country Link
JP (1) JPS63238643A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55115152A (en) * 1979-02-26 1980-09-04 Nec Corp Double recording data readout system for magnetic disc unit
JPS55135955A (en) * 1979-04-10 1980-10-23 Nec Corp Magnetic disk control device of double recording system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55115152A (en) * 1979-02-26 1980-09-04 Nec Corp Double recording data readout system for magnetic disc unit
JPS55135955A (en) * 1979-04-10 1980-10-23 Nec Corp Magnetic disk control device of double recording system

Similar Documents

Publication Publication Date Title
US10289306B1 (en) Data storage system with core-affined thread processing of data movement requests
KR102346601B1 (en) Method for improving processing speed of input and output related to a plurality of writing for guaranting a sequence of writing in an operating system
JPS63238643A (en) Duplex file access control system
CN115525226A (en) Hardware batch fingerprint calculation method, device and equipment
JPS603229B2 (en) Information processing method
JPH0421892B2 (en)
JPS5837577B2 (en) common bass
JPS63826B2 (en)
JPH03182945A (en) Transfer system for data in main storage
JPS61165172A (en) Memory access control method
JPS63155254A (en) Information processor
JPH04113414A (en) Automatic application system for disk cache
Smith Implementing a transputer SCSI interface
JPH02304616A (en) File control system
JPS6131899B2 (en)
JPH0628320A (en) Multiprocessor system
JPH0363815A (en) Floating point arithmetic unit
JPH03257634A (en) Method and device for parallelly processing program
JPH01302448A (en) Information processor
JPH05197663A (en) File access system
JPH02171940A (en) Input/output controlling system
JPH03246644A (en) Record sharing control system
JPH11338813A (en) Data input / output control method
JPH0226246B2 (en)
JPS61151755A (en) File revision system