JPH03220621A - Disk input/output control system - Google Patents
Disk input/output control systemInfo
- Publication number
- JPH03220621A JPH03220621A JP2016461A JP1646190A JPH03220621A JP H03220621 A JPH03220621 A JP H03220621A JP 2016461 A JP2016461 A JP 2016461A JP 1646190 A JP1646190 A JP 1646190A JP H03220621 A JPH03220621 A JP H03220621A
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- file
- control table
- disk
- 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 claims description 3
- 238000010586 diagram Methods 0.000 description 2
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は中央処理装置とディスク装置との間のレコード
の入出力制御に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to record input/output control between a central processing unit and a disk device.
従来の技術
従来、ディスク装置へのレコードの入出力は、主記憶装
置上にファイル制御テーブルと入出力バッファを構成し
、ファイルのオープン時にファイルのディレクトリ情報
をディスクから読んでファイル制御テーブルを完成させ
、ファイル制御テーブルの内容を基にレコードの入出力
を行い、ファイルのクローズ時にファイル制御テーブル
の内容をディスクのディレクトリに書き込み、更に人出
カバソファ上の更新レコードをディスクに書き込んでい
る。Conventional technology Conventionally, record input/output to a disk device was performed by configuring a file control table and an input/output buffer on the main storage device, and completing the file control table by reading the file's directory information from the disk when the file was opened. , records are input and output based on the contents of the file control table, the contents of the file control table are written to the disk directory when the file is closed, and the updated records on the crowded cover sofa are written to the disk.
発明が解決しようとする課題
すなわち、従来の方式では、ディスク入出力としてファ
イルオープン時にブイレフ1〜りの読み込み、ファイル
クローズ時にディレクトリの書き込みと入出力バッファ
上の更新レコードの書き込みが発生する。The problem to be solved by the invention is that in the conventional system, when a file is opened as a disk input/output, reading of builfs 1 to 2 occurs, and when a file is closed, a directory is written and an update record is written on the input/output buffer.
ところで、例えば端末システムにおけるジャーナル情報
の蓄積の場合、電源断等によるジャーナルレコード消滅
を防ぐ為に、ジャーナルレコード発生の都度レコードを
ディスクに書き込む必要があり、そのためにファイルの
オープン、クローズを行っていた。従って、ジャーナル
レコード発生の度に上述のディレクトリ、更新レコード
のディスク入出力が伴うという欠点がある。By the way, when storing journal information in a terminal system, for example, it is necessary to write a record to disk each time a journal record is generated in order to prevent the journal record from disappearing due to a power outage, etc. To do this, files must be opened and closed. . Therefore, there is a drawback that the disk input/output of the above-mentioned directory and update record is required every time a journal record is generated.
本発明は従来の上記実情に鑑みて成されたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消し、ディスク装置の入出力回数を減少させること
を可能とした新規なディスク入出力制御方式を提供する
ことにある。The present invention has been made in view of the above-mentioned conventional circumstances,
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a new disk input/output control method that eliminates the above-mentioned drawbacks inherent in the conventional technology and makes it possible to reduce the number of inputs and outputs to a disk device.
課題を解決するための手段
上記目的を達成する為に、本発明に係るディスク入出力
制御方式は、ファイル制御テーブルと人出力バッファを
バックアップ電源でバックアップされる不揮発メモリ上
に形成することにより構成され、しかして、電源断にな
ってもファイル制御テーブルおよび人出力バッファ上の
レコードが失われないようにしている。これにより前述
したファイルのオープン、クローズが不要となり、処理
効率が向上する。Means for Solving the Problems In order to achieve the above object, the disk input/output control method according to the present invention is configured by forming a file control table and a human output buffer on a nonvolatile memory backed up by a backup power source. , so that records on the file control table and human output buffer are not lost even if the power is cut off. This eliminates the need to open and close files as described above, improving processing efficiency.
実施例
次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.
第1図は本発明の一実施例を示すブロック構成図である
。FIG. 1 is a block diagram showing one embodiment of the present invention.
第1図を参照するに、参照番号1はCPU (中央処理
装置)、2はIOP (入出力処理装置〉、3はディス
ク装置、31はディレクトリ、32および33はファイ
ル、4は主記憶装置、41はプログラム、42はレコー
ドバッファ、5は不揮発メモリ、6はファイル制御テー
ブル、7は入出力バッファ、71.72.73.74は
入出力バッファ中のレコード、8は本発明に係る入出力
制御機構をそれぞれ示している。Referring to FIG. 1, reference number 1 is a CPU (central processing unit), 2 is an IOP (input/output processing unit), 3 is a disk device, 31 is a directory, 32 and 33 are files, 4 is a main storage device, 41 is a program, 42 is a record buffer, 5 is a non-volatile memory, 6 is a file control table, 7 is an input/output buffer, 71.72.73.74 is a record in the input/output buffer, 8 is an input/output control according to the present invention Each mechanism is shown.
プログラム41がファイルのオーブン要求を出すと、入
出力制御機構8はディスク装置3のディレクトリ31か
ら対応するファイルの情報を読み込み、不揮発メモリ5
のファイル制御テーブル6を完敗させる。レコードの入
出力はレコードバッファ42、人出力バッファ7および
ファイル32又は33の間でファイル制御テーブル6の
情報を基に入出力制御機構8により制御される。When the program 41 issues a file oven request, the input/output control mechanism 8 reads the corresponding file information from the directory 31 of the disk device 3, and
Completely defeat the file control table 6 of. Record input/output is controlled between the record buffer 42, the human output buffer 7, and the file 32 or 33 by the input/output control mechanism 8 based on information in the file control table 6.
プログラム41がファイルのクローズ要求を出すと、入
出力制御機構8は、不揮発メモリ5のファイル制御テー
ブル6の内容をディスク装置3のディレクトリ31に書
き込み、さらにレコード71から74のうち更新された
ものがあればディスク装置3のファイルに書き込む。When the program 41 issues a file close request, the input/output control mechanism 8 writes the contents of the file control table 6 in the nonvolatile memory 5 to the directory 31 of the disk device 3, and also writes the updated records 71 to 74. If there is, it is written to a file on disk device 3.
発明の詳細
な説明したように、本発明によれば、ファイル制御テー
ブルおよび人出力バツファをバックアップ電源でバック
アップされた不揮発メモリ上に構成してそれを用いた入
出力制御を行うことにより、障害あるいはオペレータの
操作ミス等により電源断となった場合でもその時点まで
のレコードはディスクあるいは人出力バツファのいずれ
かに存在しているためにレコードが失われる事はない。As described in detail, according to the present invention, a file control table and a human output buffer are configured on a non-volatile memory backed up by a backup power supply, and input/output control is performed using the non-volatile memory backed up by a backup power supply. Even if the power is cut off due to an operator error or the like, the records up to that point will remain on either the disk or the human output buffer, so the records will not be lost.
これにより電源断への対処のためにレコードの出力要求
の度毎にファイル制御テーブルの内容およびレコードを
ディスク装置へ書き込む必要がなくなるので、ディスク
装置の入出力回数を減らすことができる。This eliminates the need to write the contents of the file control table and records to the disk device every time a record output request is made in order to cope with a power outage, so the number of inputs and outputs to the disk device can be reduced.
第1図は本発明の一実施例を示すブロック構成図である
。
−
ト・・CPU (中央処理装置)、2・・・IOP
(入出力処理装置)、3・・・ディスク装置、31・
・・ディレクトリ、32.33・・・ファイル、4・・
・主記憶装置、41・・・プログラム、42・・・レコ
ードバ・ソファ、5・・・不揮発メモリ、6・・・ファ
イル制御テーブル、7・人出力バッファ、71〜74・
・・レコード、8・・・入出力制御機構FIG. 1 is a block diagram showing one embodiment of the present invention. − G...CPU (Central Processing Unit), 2...IOP
(input/output processing device), 3... disk device, 31.
...Directory, 32.33...File, 4...
- Main storage device, 41... Program, 42... Record bar sofa, 5... Nonvolatile memory, 6... File control table, 7. Person output buffer, 71-74.
...Record, 8...I/O control mechanism
Claims (1)
るコンピュータシステムにおいて、ファイル制御テーブ
ルと入出力バッファをバックアップ電源でバックアップ
される不揮発メモリ上に構成することを特徴とするディ
スク入出力制御方式。A disk input/output control method in a computer system that inputs and outputs records between a central processing unit and a disk device, characterized in that a file control table and an input/output buffer are configured on a nonvolatile memory backed up by a backup power source.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016461A JPH03220621A (en) | 1990-01-26 | 1990-01-26 | Disk input/output control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016461A JPH03220621A (en) | 1990-01-26 | 1990-01-26 | Disk input/output control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03220621A true JPH03220621A (en) | 1991-09-27 |
Family
ID=11916891
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016461A Pending JPH03220621A (en) | 1990-01-26 | 1990-01-26 | Disk input/output control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03220621A (en) |
-
1990
- 1990-01-26 JP JP2016461A patent/JPH03220621A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5193154A (en) | Buffered peripheral system and method for backing up and retrieving data to and from backup memory device | |
| JP2002288024A (en) | Information processing data storage method and corresponding storage device | |
| JPH03220621A (en) | Disk input/output control system | |
| JPS62125452A (en) | Data back-up system for storage device | |
| JP3022011B2 (en) | Data backup system | |
| JPH11212845A (en) | Device and method for backup data management and recording medium | |
| JPH03216743A (en) | Parallel saving system for data base | |
| JPS62269256A (en) | Data storage system for semiconductor file | |
| JP2838910B2 (en) | Vending machine data loader | |
| JPH0385650A (en) | Disk volume restoration system | |
| JPH0393942U (en) | ||
| JPS6118218B2 (en) | ||
| JPH03257521A (en) | Medium copy system | |
| JPH01240943A (en) | Data content recovery system | |
| JPS62168202A (en) | program recording device | |
| JPS63140357A (en) | Disk input and output control system | |
| JPH04217044A (en) | Information processing system | |
| JPH04209044A (en) | Data base control system | |
| JPH01229324A (en) | System for managing patch of information processing system | |
| JPH0573395A (en) | File controller | |
| JPS6394323A (en) | Information processor with programmable variable setting and holding function | |
| JPH06149818A (en) | Building controller | |
| JPS6127780B2 (en) | ||
| JPH01144276A (en) | System for re-formatting magnetic disk in operating | |
| JPS6254348A (en) | Processing system for fault of file |