JPS6053326B2 - Double data recording method for input/output control equipment - Google Patents

Double data recording method for input/output control equipment

Info

Publication number
JPS6053326B2
JPS6053326B2 JP57107862A JP10786282A JPS6053326B2 JP S6053326 B2 JPS6053326 B2 JP S6053326B2 JP 57107862 A JP57107862 A JP 57107862A JP 10786282 A JP10786282 A JP 10786282A JP S6053326 B2 JPS6053326 B2 JP S6053326B2
Authority
JP
Japan
Prior art keywords
data
file memory
memory device
control device
input
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.)
Expired
Application number
JP57107862A
Other languages
Japanese (ja)
Other versions
JPS58223861A (en
Inventor
弘之 大村
賢一 花辺
透 中川
正大 永井
英雄 阿部
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.)
Fujitsu Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Nippon Electric Co 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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp, Nippon Electric Co Ltd filed Critical Fujitsu Ltd
Priority to JP57107862A priority Critical patent/JPS6053326B2/en
Publication of JPS58223861A publication Critical patent/JPS58223861A/en
Publication of JPS6053326B2 publication Critical patent/JPS6053326B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

【発明の詳細な説明】 本発明はコンピュータの中央制御系からの指示により
、回線に接続された回線制御装置とファイルメモリ装置
間のデータ転送を制御する入出力制御装置において、特
に同一データを異なるファイルメモリ装置に2重記録す
る方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an input/output control device that controls data transfer between a line control device connected to a line and a file memory device based on instructions from a central control system of a computer. This invention relates to a method of double recording in a file memory device.

回線制御装置で受信したデータをファイルメモリ装置
に長時間蓄積する場合、ファイルメモリ装置の信頼性を
考慮して2重に記録することが多い。
When data received by a line control device is stored in a file memory device for a long time, the data is often recorded twice in consideration of the reliability of the file memory device.

その方法としては、入出力制御装置により、回線制御装
置とファイルメモリ装置間のデータ転送を2回実行する
方式と、回線制御装置から入出力制御装置への1回の転
送で、ファイルメモリ装置へは2回転送する方式とがあ
るが、スループットが大きい点で後者の方が優れている
。第1図は上記回線制御装置からの1回のデータ転送で
ファイルメモリ装置に2回転送する方式の従来の説明図
である。
There are two ways to do this: the input/output controller transfers data between the line controller and the file memory device twice, and the other is to transfer data from the line controller to the input/output controller once and then transfer the data to the file memory device. There is a method of transferring data twice, but the latter method is superior in terms of high throughput. FIG. 1 is an explanatory diagram of a conventional method in which data is transferred twice to a file memory device in one data transfer from the line control device.

第1図において、1は中央制御装置、2は入出力制御装
置、2−1〜2−nは該入出力制御装置2に具備されて
いる一定の大きさの複数面のデータバッファ、3はラン
ダムアクセスメモリなどで構成されたバッファメモリを
内蔵する回線制御装置、4−1〜4−mは磁気ディスク
装置などのファイルメモリ装置である。入出力制御装置
2は中央制御装置1の指示によります回線制御装置3を
起動し、2−1〜2−n中の指定されたデータバッファ
(2−1とする)に回線制御装置3からのデータを転送
して蓄積する。その後、入出力制御装置2は第1のファ
イルメモリ装置(4−1とする)を起動し、それがアク
セス可能になると、データバッファ2−1のデータを該
ファイルメモリ装置4−1に書込み、それの完了後、第
2のファイルメモリ装置(4−2とする)を起動して、
アクセス可能になると、データバッファ2−1のデータ
を該ファイルメモリ装置4−2に書込む。ところで、こ
の従来の方式は、データを2重記録する第1と第2のフ
ァイルメモリ装置へのアクセスを直列に処理しているた
め、処理時間が長く、転送能力が小さい欠点があつた。
In FIG. 1, 1 is a central control device, 2 is an input/output control device, 2-1 to 2-n are multi-sided data buffers of a certain size provided in the input/output control device 2, and 3 is an input/output control device. A line control device 4-1 to 4-m has a built-in buffer memory composed of a random access memory or the like, and 4-1 to 4-m are file memory devices such as magnetic disk devices. The input/output control device 2 starts up the line control device 3 according to instructions from the central control device 1, and transfers data from the line control device 3 to a designated data buffer (2-1) in 2-1 to 2-n. Transfer and accumulate. Thereafter, the input/output control device 2 starts the first file memory device (referred to as 4-1), and when it becomes accessible, writes the data in the data buffer 2-1 to the file memory device 4-1. After that is completed, start the second file memory device (referred to as 4-2) and
When it becomes accessible, the data in the data buffer 2-1 is written to the file memory device 4-2. However, in this conventional method, since accesses to the first and second file memory devices that record data in duplicate are processed in series, the processing time is long and the transfer capacity is low.

本発明は上記従来の欠点を解決するため、第1および第
2のファイルメモリ装置へのアクセス要求を並列に行い
、まず先にアクセス可能となつた側のファイルメモリ装
置にデータを転送し、次に他方のファイルメモリ装置に
同一データを転送するようにしたもので、以下、実施例
について詳細.に説明する。
In order to solve the above conventional drawbacks, the present invention makes access requests to the first and second file memory devices in parallel, transfers data to the file memory device that can be accessed first, and then The same data is transferred to the other file memory device at the same time.The details of the embodiment are described below. Explain.

第2図は本発明の一実施例であつて、1は中央制御装置
、2は入出力制御装置、2−1〜2−nはデータバッフ
ァ、3は回線制御装置、4−1〜4−mはファイルメモ
リ装置、5はデータバツフーア2−1〜2−nにデータ
が格納されているか否かを管理するデータバッファ管理
テーブル、6一1〜6−mは4−1〜4−mのファイル
メモリ装置対応にそれぞれ制御情報(チャネルプログラ
ム)を格納するサブチャネルメモリを示す。
FIG. 2 shows an embodiment of the present invention, in which 1 is a central controller, 2 is an input/output controller, 2-1 to 2-n are data buffers, 3 is a line controller, 4-1 to 4- m is a file memory device, 5 is a data buffer management table for managing whether data is stored in data buffers 2-1 to 2-n, and 6-1 to 6-m are 4-1 to 4-m. 3 shows subchannel memories that store control information (channel programs) corresponding to each file memory device.

なお、入出力制御装置2には、上記データバッファ2−
1〜2−n1データバッファ管理テーブル5、サブチャ
ネルメモリ6−1〜6−mの他に、中央制御装置1や回
線制御装置3やファイルメモリ装置4−1〜4−mとの
インタフェース制御を司どるインタフェース回路、該入
出力制御装置の各部の動作を制御する共通制御部などが
具備されているが、第2図では省略してある。以下、回
線ノ制御装置3からのデータを、データバッファ2−1
を用いてファイルメモリ装置4−1と4−2へ2重記録
する場合について説明する。さて、入出力制御装置2は
、まず中央制御装置1より、回線制御装置3からデータ
バッファ2−1を用いてファイルメモリ装置4−1への
データ転送を指示する第1の制御情報と、データバッフ
ァ2−1からファイルメモリ装置4−2へのデータ転送
を指示する第2の制御情報を受取り、それぞれ第1の制
御情報はサブチャネルメモリ6−1”に、第2の制御情
報はサブチャネルメモリ6−2に格納する。
Note that the input/output control device 2 includes the data buffer 2-
In addition to the 1 to 2-n1 data buffer management table 5 and the subchannel memories 6-1 to 6-m, it also controls the interface with the central control device 1, line control device 3, and file memory devices 4-1 to 4-m. Although it is provided with an interface circuit for controlling the input/output control device, a common control section for controlling the operation of each section of the input/output control device, etc., these are omitted in FIG. Hereinafter, data from the line control device 3 is transferred to the data buffer 2-1.
A case will be described in which double recording is performed in the file memory devices 4-1 and 4-2 using the following. Now, the input/output control device 2 first receives first control information from the central control device 1 that instructs data transfer from the line control device 3 to the file memory device 4-1 using the data buffer 2-1, and the data Receives second control information instructing data transfer from the buffer 2-1 to the file memory device 4-2, and stores the first control information in the subchannel memory 6-1'' and the second control information in the subchannel memory 6-1'', respectively. The data is stored in the memory 6-2.

次に、入出力制御装置2は、サブチャネルメモリ6−1
の制御情報に従つて回線制御装置3を起動し、該回線制
御装置3からのデータをデータバッファ2−1に転送し
て蓄積すると共に、その旨をデータバッファ管理テーブ
ル5に登録する。更に、これと並行して、サブチャネル
メモリ6−1,6−2の制御情報によりファイルメモリ
装置4−1,4−2に対してアクセス要求を発する。そ
の後、入出力制御装置2は、ファイルメモリ装置4−1
,4−2のいずれかがアクセス可能となると、データバ
ッファ管理テーブル5の内容を読出し、データバッファ
2−1にデータが蓄積されていれば、アクセス可能にな
つたファイルメモリ装置に対して該データの書込み動作
を行う。次にもう一つのファイルメモリ装置がアクセス
可能となると、該ファイルメモリ装置に対して、上記デ
ータバッファ2−1のデータの2回目の書込み動作を行
う。なお、データバッファ2−1にデータが蓄積されて
いない場合は、蓄積されるまでサーチを繰り返し、デー
タバッファにデータが蓄積されると、その時アクセス可
能となつているファイルメモリ装置に1回目の書込みを
行い、その完了後、もう一方のファイルメモリ装置がア
クセスを可能となると、それに対して2回目の書込みを
行う。以上の説明では、回線制御装置3にアクセスして
いるサブチャネルメモリ6−1が同時にファイルメモリ
装置4−1にもアクセスするとしたが、回線制御装置3
にアクセスしたサブチャネルメモリ6−1は、データバ
ッファ2−1へデータの蓄積が終了した後、ファイルメ
モリ装置4−1へアクセスするようにしてもよい。
Next, the input/output control device 2 includes a subchannel memory 6-1
The line control device 3 is activated according to the control information, and the data from the line control device 3 is transferred to and stored in the data buffer 2-1, and this fact is registered in the data buffer management table 5. Furthermore, in parallel with this, an access request is issued to the file memory devices 4-1, 4-2 based on the control information of the sub-channel memories 6-1, 6-2. Thereafter, the input/output control device 2 controls the file memory device 4-1.
, 4-2 becomes accessible, the contents of the data buffer management table 5 are read, and if data is stored in the data buffer 2-1, the data is transferred to the file memory device that has become accessible. Write operation is performed. Next, when another file memory device becomes accessible, a second writing operation of the data in the data buffer 2-1 is performed to the file memory device. If data is not stored in the data buffer 2-1, the search is repeated until the data is stored, and when the data is stored in the data buffer, the first write is performed to the file memory device that is accessible at that time. After that, when the other file memory device becomes accessible, a second write is performed to it. In the above explanation, it is assumed that the subchannel memory 6-1 accessing the line control device 3 also accesses the file memory device 4-1 at the same time.
The subchannel memory 6-1 that has accessed the file memory device 4-1 may access the file memory device 4-1 after the data has been stored in the data buffer 2-1.

以下、この場合の動作を説明する。入出力制御装置2は
、中央制御装置1より回線制御装置3からデータバッフ
ァ2−1を用いてファイルメモリ装置4−1へのデータ
転送を指示する第1の制御情報と、データバッファ2−
1からファイルメモリ装置4−2へのデータ転送を指示
する第2の制御情報を受取り、それぞれサブチャネルメ
モリ6−1,6−2に格納する。
The operation in this case will be explained below. The input/output control device 2 receives first control information that instructs the central control device 1 to transfer data from the line control device 3 to the file memory device 4-1 using the data buffer 2-1, and the data buffer 2-1.
1 to the file memory device 4-2, and stores them in the subchannel memories 6-1 and 6-2, respectively.

次に、入出力制御装置2はサブチャネルメモリ6−1の
制御情報により回線制御装置3を起動し、データをデー
タバッファ2−1に転送して蓄積し、該データバッファ
が満杯になつたことをデータバッファ管理テーブル5に
登録する。その後、入出力制御装置2はサブチャネルメ
モリ6−1の制御情報によりファイルメモリ装置4−1
へアクセス要求を出し、これと並行して、サブチャネル
メモリ6一2の制御情報によりファイルメモリ装置4−
2へアクセス要求を出す。ファイルメモリ装置4−1,
4−2へのデータの書込みは前記の方式と同様であり、
最初にアクセス可能になつたものに対して行う。上記い
ずれの方式とも、2つのファイルメモリ装置への並列ア
クセスを行つて2重記録しているのが特徴で、第3図乃
至第5図のタイムチャートを見ると、本発明の利点が明
らかである。
Next, the input/output control device 2 activates the line control device 3 based on the control information in the subchannel memory 6-1, transfers and stores data to the data buffer 2-1, and detects that the data buffer is full. is registered in the data buffer management table 5. Thereafter, the input/output control device 2 uses the control information of the subchannel memory 6-1 to control the file memory device 4-1.
At the same time, an access request is issued to the file memory device 4-2 based on the control information of the subchannel memory 6-2.
Issue an access request to 2. File memory device 4-1,
Writing data to 4-2 is the same as the above method,
Do it for the first one that becomes accessible. All of the above methods are characterized by double recording by accessing two file memory devices in parallel, and the advantages of the present invention are clear when looking at the time charts of FIGS. 3 to 5. be.

ここで、第3図は初めに説明した方式、第4図は後に説
明した方式であり、第5図は従来方式である。図におい
て、T1は回線制御装置3との転送時間、T2はファイ
ルメモリ装置4−1に対するシーク、オフラインサーチ
時間、T3はファイルメモリ装置4−1との転送時間、
T4はファイルメモリ装置4−2に対するシーク、オフ
ラインサーチ時間、T5はファイルメモリ装置4−2と
の転送時間、Tは持ち時間である。本発明方式は前にも
説明したように、Tl,T2,T4の大小関係でアクセ
ス可能となつたファイルメモリ装置がデータバッファに
データが蓄積されるまで待つ場合があり、それを第3図
,第4図に示す。但し、待つ場合は、データバッファに
データが蓄積されると、直ちに転送開始てきるものとす
る。また、6一1,6−2はサブチャネルメモリで、第
3図のサブチャネルメモリ6−1は回線制御装置へのア
クセスと、ファイルメモリ装置へのアクセスを同時に行
つていることがわかる。また、第3図,第4図では2サ
ブチャネルとも並列に動作していることがわかる。第3
図乃至第5図より、従来方式が2重記録を直列処理で行
つているのに対し、本発明方式は並列処理で行つている
ことがわかり、処理時間が短かい本発明方式の方が処理
能力、転送能力が大きいことがわかる。以上説明したよ
うに、本発明はデータの2重記録において、2重記録す
るファイルメモリ装置に対して入出力制御装置が並列に
アクセスするもの;で、従来方式と比較して2重記録の
処理時間が短縮され、転送能力が大きい利点がある。
Here, FIG. 3 shows the method explained first, FIG. 4 shows the method explained later, and FIG. 5 shows the conventional method. In the figure, T1 is the transfer time with the line control device 3, T2 is the seek and offline search time for the file memory device 4-1, T3 is the transfer time with the file memory device 4-1,
T4 is the seek and offline search time for the file memory device 4-2, T5 is the transfer time with the file memory device 4-2, and T is the holding time. As explained previously, in the method of the present invention, depending on the magnitude relationship of Tl, T2, and T4, the file memory device that has become accessible may wait until data is accumulated in the data buffer. It is shown in Figure 4. However, in the case of waiting, the transfer will start immediately after the data is accumulated in the data buffer. Further, 6-1 and 6-2 are sub-channel memories, and it can be seen that the sub-channel memory 6-1 in FIG. 3 accesses the line control device and the file memory device at the same time. Furthermore, in FIGS. 3 and 4, it can be seen that both the two subchannels operate in parallel. Third
From Figures 5 to 5, it can be seen that while the conventional method performs double recording by serial processing, the method of the present invention performs it by parallel processing, and the method of the present invention has a shorter processing time. It can be seen that the ability and transfer ability are large. As explained above, the present invention is a system in which an input/output control device accesses a file memory device for double recording in parallel in double recording of data; It has the advantage of shortening the time and having a large transfer capacity.

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

第1図は従来のデータ2重記録方式を説明するためのブ
ロック図、第2図は本発明方式の一実施)例のブロック
図、第3図乃至第5図は本発明方式と従来方式を比較す
るためのタイミング図である。 1・・・中央制御装置、2・・・入出力制御装置、2一
1〜2−n・・・データバッファ、3・・・入出力制御
装5置、4−1〜4−m・・・ファイルメモリ装置、5
・・・データバッファ管理テーブル、6−1〜6−m・
・・サブチャネルメモリ。
Fig. 1 is a block diagram for explaining a conventional data dual recording method, Fig. 2 is a block diagram of an example of the method of the present invention, and Figs. 3 to 5 show the method of the present invention and the conventional method. FIG. 4 is a timing diagram for comparison. DESCRIPTION OF SYMBOLS 1... Central control device, 2... Input/output control device, 2-1 to 2-n... Data buffer, 3... Input/output control device 5 devices, 4-1 to 4-m...・File memory device, 5
...Data buffer management table, 6-1 to 6-m.
...Subchannel memory.

Claims (1)

【特許請求の範囲】[Claims] 1 中央制御系からの指示により、回線制御装置とファ
イルメモリ装置間のデータ転送を制御する入出力制御装
置において、該入出力制御装置は、データを一時格納す
るデータバッファと、ファイルメモリ装置対応のサブチ
ャネルメモリとを具備し、中央制御系から、使用するデ
ータバッファの指示と回線制御装置から第1のファイル
メモリ装置までのデータ転送の指示を行う第1の制御情
報と、前記データバッファから第2のファイルメモリ装
置へのデータ転送の指示を行う第2の制御情報とが与え
られた時、前記第1および第2の制御情報をそれぞれ前
記指示されたファイルメモリ装置対応のサブチャネルメ
モリに格納し、前記第1の制御情報に従つて回線制御装
置からのデータを前記データバッファに蓄積するととも
に、前記第1および第2の制御情報に従つて前記第1お
よび第2のファイルメモリ装置に並列的にアクセス要求
を出し、先にアクセス可能となつたファイルメモリ装置
に前記データバッファに蓄積されたデータを転送し、次
にもう一方のファイルメモリ装置に前記データバッファ
のデータを転送することを特徴とする入出力制御装置の
データ2重記録方式。
1 In an input/output control device that controls data transfer between a line control device and a file memory device based on instructions from a central control system, the input/output control device has a data buffer for temporarily storing data, and a data buffer compatible with the file memory device. first control information for instructing data buffers to be used and for instructing data transfer from the line control device to the first file memory device; When second control information instructing data transfer to a second file memory device is given, the first and second control information are respectively stored in subchannel memories corresponding to the designated file memory devices. and stores data from the line control device in the data buffer according to the first control information, and stores data in parallel in the first and second file memory devices according to the first and second control information. The method is characterized in that the data stored in the data buffer is transferred to the first file memory device that can be accessed by issuing an access request, and then the data in the data buffer is transferred to the other file memory device. Data dual recording method for input/output control equipment.
JP57107862A 1982-06-23 1982-06-23 Double data recording method for input/output control equipment Expired JPS6053326B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57107862A JPS6053326B2 (en) 1982-06-23 1982-06-23 Double data recording method for input/output control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57107862A JPS6053326B2 (en) 1982-06-23 1982-06-23 Double data recording method for input/output control equipment

Publications (2)

Publication Number Publication Date
JPS58223861A JPS58223861A (en) 1983-12-26
JPS6053326B2 true JPS6053326B2 (en) 1985-11-25

Family

ID=14469952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57107862A Expired JPS6053326B2 (en) 1982-06-23 1982-06-23 Double data recording method for input/output control equipment

Country Status (1)

Country Link
JP (1) JPS6053326B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03162862A (en) * 1989-07-10 1991-07-12 Toshimitsu Matsubara Environmental space disinfection system by smoking

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0374764B1 (en) * 1988-12-19 2001-04-04 Nec Corporation Data transfer apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03162862A (en) * 1989-07-10 1991-07-12 Toshimitsu Matsubara Environmental space disinfection system by smoking

Also Published As

Publication number Publication date
JPS58223861A (en) 1983-12-26

Similar Documents

Publication Publication Date Title
JPS62177621A (en) Disk device
JP2523715B2 (en) Magnetic disk drive
US6880042B2 (en) Data storage apparatus that combines a group of continuous data series stored in buffer separately before storing in a recording medium
JPS6053326B2 (en) Double data recording method for input/output control equipment
JPS6331806B2 (en)
JPS6128128B2 (en)
JPS6027014A (en) Magnetic disk controller
JP3024686B2 (en) Storage subsystem
JPS6366773A (en) Magnetic head mechanism for magnetic disk device
JP2001014219A (en) Method and device for controlling cache
JPH01166378A (en) Disk control device
JPH04191921A (en) Data filling device
JPS61198327A (en) Disc buffer device
JPH01201754A (en) Data transfer system in external storage device
JPH09114737A (en) Cache disk control
JP2569524B2 (en) Virtual disk control method for extended storage device
JP2001209577A (en) Information recording and reproducing device
JPS6387690A (en) Optical disk medium setting controller
JPS59172186A (en) Cache memory control system
JPH0122656B2 (en)
JPS6234227A (en) Auxiliary memory device
JPS6194167A (en) Peripheral controller
JPH05233159A (en) Duplex auxiliary storage system
JPS6041123A (en) Magnetic disc control device
JPS61273650A (en) Magnetic disk controlling device