JPH03212729A - Data buffer division control system - Google Patents
Data buffer division control systemInfo
- Publication number
- JPH03212729A JPH03212729A JP913290A JP913290A JPH03212729A JP H03212729 A JPH03212729 A JP H03212729A JP 913290 A JP913290 A JP 913290A JP 913290 A JP913290 A JP 913290A JP H03212729 A JPH03212729 A JP H03212729A
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- data transfer
- data buffer
- area
- 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
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
データ転送の高速化を図るために設けられる大容量のデ
ータバッファを分割制御するデータバッファ分割制御方
式に関し、
データ転送の中断時に先取りしているデータを保証し、
再開時にデータ転送時間の短縮を図ることができること
を目的とし、
データバッファを用いて転送データのバッファリングを
行うデータバッファ制御回路において、データバッファ
は、その領域を二分割して使用する構成であり、データ
バッファの一方の領域を使用した第一の媒体とのデータ
転送の中断時に、その時点のバッファアドレスを格納し
、その後の第二の媒体とのデータ転送に際して、データ
バッファの他方の領域を用いたデータ転送を指示する中
断処理手段と、第一の媒体とのデータ転送の再開時には
、中断時のバッファアドレスを再設定してデータバッフ
ァの一方の領域を用いたデータ転送を指示する再開処理
手段とを備えて構成する。[Detailed Description of the Invention] [Summary] Regarding a data buffer division control method that divides and controls a large-capacity data buffer provided for speeding up data transfer, the present invention guarantees that data is taken in advance when data transfer is interrupted. death,
In a data buffer control circuit that uses a data buffer to buffer transferred data with the aim of reducing data transfer time when restarting, the data buffer has a configuration in which its area is divided into two. , when the data transfer with the first medium using one area of the data buffer is interrupted, the buffer address at that time is stored, and when the data is transferred with the second medium thereafter, the other area of the data buffer is used. an interruption processing means for instructing data transfer using one area of the data buffer, and a restart processing for instructing data transfer using one area of the data buffer by resetting the buffer address at the time of interruption when data transfer between the first medium and the first medium is resumed; and means.
本発明は、データ転送の高速化を図るために設けられる
大容量のデータバッファを分割制御するデータバッファ
分割制御方式に関する。The present invention relates to a data buffer division control method for dividing and controlling a large-capacity data buffer provided for speeding up data transfer.
[従来の技術]
大量のデータを転送するための構成では、データ転送を
行う装置間に大容量のデータバッファを配置し、データ
バッファ制御回路の制御によりデータ転送の高速化を図
っている。[Prior Art] In a configuration for transferring a large amount of data, a large-capacity data buffer is arranged between devices that transfer data, and data transfer speed is increased by controlling a data buffer control circuit.
ここで、データ転送を行うチャネル装置の構成について
第4図に示す。Here, FIG. 4 shows the configuration of a channel device that performs data transfer.
第4図において、チャネル装置70は、入出力バス61
に接続される入出力ハス制御回路71、各入出力装置6
31.632に接続される入出力装置制御回路73、入
出力バス制御回路71および入出力装置制御回路73の
間で、転送データのバッファリングを行うデータバッフ
ァ75およびデータバッファ制御回路77により構成さ
れる。In FIG. 4, the channel device 70 includes an input/output bus 61
The input/output hash control circuit 71 and each input/output device 6 connected to
The input/output device control circuit 73, the input/output bus control circuit 71, and the input/output device control circuit 73 connected to Ru.
第5図は、従来のデータバッファの動作を説明する図で
ある。FIG. 5 is a diagram illustrating the operation of a conventional data buffer.
図において、書き込みアドレスレジスタ(WADR)8
1および読み出しアドレスレジスタ(RADR) 83
には、転送データの書き込みあるいは読み出しに応じて
、それぞれ所定の先頭アドレスが設定される。In the figure, write address register (WADR) 8
1 and read address register (RADR) 83
A predetermined start address is set in each of the addresses according to writing or reading of transfer data.
データバッファ75に入力されるデータは、書き込みア
ドレスレジスタ81が出力する書き込みアドレスに従っ
て順次書き込まれる。また、データバッファ75から出
力されるデータは、読み出しアドレスレジスタ83が出
力する読み出しアドレスに従って順次読み出される。な
お、書き込みアドレスレジスタ81および読み出しアド
レスレジスタ83が出力するアドレスは、それぞれイン
クリメンタ(+1)85.87を介して更新される。Data input to the data buffer 75 is sequentially written in accordance with the write address output by the write address register 81. Furthermore, the data output from the data buffer 75 is sequentially read out according to the read address output from the read address register 83. Note that the addresses output by the write address register 81 and the read address register 83 are updated via incrementers (+1) 85 and 87, respectively.
ところで、従来の構成では、例えば入出力装置のディス
コネクトによりデータ転送が一時中断したときには、デ
ータバッファは転送データの先取りを行っているので、
まだ転送されていない有効なデータが残っている状態に
ある。By the way, in the conventional configuration, when data transfer is temporarily interrupted due to, for example, disconnection of an input/output device, the data buffer prefetches the transferred data.
There is still valid data that has not been transferred.
一方、データ転送が中断した場合には、効率面から直ち
に他の入出力装置との間のデータ転送のための制御に移
る必要があり、上述した状態にあるデータバッファでは
、他のデータ転送のために残っているデータをすべて無
効にせざるを得なかった。On the other hand, if data transfer is interrupted, it is necessary to immediately shift to control for data transfer with other input/output devices in terms of efficiency. Therefore, I had no choice but to invalidate all remaining data.
したがって、中断前のデータ転送を再開するには、中断
した所からのデータを再度取り直す必要があった。Therefore, in order to resume the data transfer before the interruption, it was necessary to re-acquire the data from where it was interrupted.
本発明は、データ転送の中断時に先取りしているデータ
を保証し、再開時にデータ転送時間の短縮を図ることが
できるデータバッファ分割制御方式を提供することを目
的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a data buffer division control method that can guarantee data that has been fetched in advance when data transfer is interrupted and can reduce data transfer time when data transfer is restarted.
〔課題を解決するための手段] 第1図は、本発明の原理ブロック図である。[Means to solve the problem] FIG. 1 is a block diagram of the principle of the present invention.
図において、データバッファ11は、その領域を二分割
して使用する構成である。In the figure, the data buffer 11 has a configuration in which its area is divided into two parts.
中断処理手段13は、データバッファ11の一方の領域
を使用した第一の媒体とのデータ転送の中断時に、その
時点のバッファアドレスを格納し、その後の第二の媒体
とのデータ転送に際して、データバッファ11の他方の
領域を用いたデータ転送を指示する構成である。The interruption processing means 13 stores the buffer address at that time when data transfer with the first medium using one area of the data buffer 11 is interrupted, and stores the data at the time of data transfer with the second medium thereafter. This configuration instructs data transfer using the other area of the buffer 11.
再開処理手段15は、第一の媒体とのデータ転送の再開
時には、中断時のバッファアドレスを再設定してデータ
バッファ11の一方の領域を用いたデータ転送を指示す
る構成である。The restart processing means 15 is configured to reset the buffer address at the time of interruption and instruct data transfer using one area of the data buffer 11 when data transfer with the first medium is resumed.
本発明は、データバッファ11の領域を二分割し、一つ
の領域を使用したデータ転送が中断された場合に、中断
処理手段13が他のデータ転送にはデータバッファ11
の他の領域を使用することを指示することにより、転送
中断時までの先取りデータを保存することができる。The present invention divides the area of the data buffer 11 into two, and when data transfer using one area is interrupted, the interruption processing means 13 handles the data transfer using the data buffer 11.
By instructing the use of other areas, it is possible to save prefetched data until the transfer is interrupted.
したがって、転送再開時には、再開処理手段15が再び
データバッファ11の中断時に使用していた領域を指定
し、先取りデータからのデータ転送を行うことにより、
再開されたデータ転送の転送時間の短縮を図ることがで
きる。Therefore, when restarting the transfer, the restart processing means 15 again specifies the area of the data buffer 11 that was being used at the time of interruption, and performs data transfer from the prefetched data.
It is possible to reduce the transfer time of restarted data transfer.
以下、図面に基づいて本発明の実施例について詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第2図は、本発明の一実施例構成を示すブロック図であ
る。FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.
なお、本実施例では、複数の入出力装置のデータ転送を
制御するチャネル装置内のデータバッファについて説明
する。In this embodiment, a data buffer in a channel device that controls data transfer of a plurality of input/output devices will be described.
図において、データバッファ(#0、#1)21゜、2
1、は、バッファ領域が2分割されたものである。書き
込みアドレスレジスタ(WADR) 23および読み出
しアドレスレジスタ(RADR) 25には、回外の制
御系から各バッファ領域に応した先頭アドレスがアンド
ゲート27.29を介してセットされ、インクリメンタ
(+1)31.33によりそれぞれ指定されたバッファ
領域まで更新されるアドレスがデータバッファ21に供
給される。In the figure, data buffers (#0, #1) 21°, 2
1, the buffer area is divided into two. The write address register (WADR) 23 and the read address register (RADR) 25 are set with the start address corresponding to each buffer area from the supination control system via AND gates 27 and 29, and the incrementer (+1) 31 .33, the data buffer 21 is supplied with an address that is updated up to the designated buffer area.
また、書き込みアドレスレジスタ23および読み出しア
ドレスレジスタ25の内容は、アンドゲート35.37
を介してそれぞれ対応するストアレジスタ(SWADR
,5RADR) 39.41にセーフ゛される。また、
各ストアレジスタ39.41の内容は、アンドゲート4
3.45を介して、書き込みアドレスレジスタ23およ
び読み出しアドレスレジスタ25にセットされる。Furthermore, the contents of the write address register 23 and the read address register 25 are stored in the AND gate 35.37.
via the respective store registers (SWADR
, 5RADR) Safe at 39.41. Also,
The contents of each store register 39.41 are stored in the AND gate 4
3.45 to the write address register 23 and read address register 25.
フリップフロップ47.49は、ディスコネクト信号り
の入力からりコネクト信号Rの入力までの間を論理「1
」となる中断制御信号SUSを生成する構成であり、こ
の中断制御信号SUSがデータム・7フア(#1)21
.のイネーブル端子およびインバータ51.53を介し
てデータバッファ(#0)21.のイネーブル端子に接
続される。The flip-flops 47 and 49 have logic "1" between the input of the disconnect signal R and the input of the connect signal R.
”, and this interruption control signal SUS is generated by the datum 7 fa (#1) 21.
.. data buffer (#0) 21. through the enable terminal and inverters 51.53. Connected to the enable terminal of the
また、ノアゲート55およびアンドゲート57は、それ
ぞれ中断制御信号SUSおよびフリップフロップ47の
反転出力dの否定論理和および論理積をとり、それぞれ
退避制御信号CHIおよび復帰制御信号CH2を出力す
る。なお、この退避制御信号CHIは、アンドゲート2
7.29.35.37の制御に用いられ、復帰制御信号
CH2はアンドゲート43.45の制御に用いられる。Further, the NOR gate 55 and the AND gate 57 take the NOR and AND of the interruption control signal SUS and the inverted output d of the flip-flop 47, respectively, and output the save control signal CHI and the return control signal CH2, respectively. Note that this save control signal CHI is applied to the AND gate 2
7.29.35.37, and the return control signal CH2 is used to control the AND gate 43.45.
ここで、第3図に各信号の論理レベルのタイムチャート
を示す。Here, FIG. 3 shows a time chart of the logic levels of each signal.
このような構成により、ディスコネクト信号りが入力さ
れるまでの間およびリコネクト信号Rが入力された以降
は、中断制御信号SUSが論理「O」であるのでデータ
バッファ(#0)21゜がイぶ−プルとなり、ディスコ
ネクト信号りの入力からりコネクト信号Rの入力までの
間は、中断制御信号SUSが論理「1」であるのでデー
タバッファ(#1)21+ がイネーブルとなり、それ
ぞれ交互にデータバッファとして機能させることができ
る。With this configuration, until the disconnect signal R is input and after the reconnect signal R is input, the interrupt control signal SUS is at logic "O", so the data buffer (#0) 21° is disabled. Since the interruption control signal SUS is logic "1" from the input of the disconnect signal R to the input of the connect signal R, the data buffer (#1) 21+ is enabled and data is alternately input. It can function as a buffer.
したがって、通常は入出力装置Aとのデータ転送に用い
られているデータバッファ(#0)21゜は、その入出
力装置からディスコネクト信号りが通知されると、退避
制御信号CHIが論理「1」となってディセーブルとな
り、書き込みアドレスレジスタ23あるいは読み出しア
ドレスレジスタ25の内容が、アンドゲート35.37
を介してそれぞれストアレジスタ39.41にセーブさ
れる。Therefore, when the data buffer (#0) 21°, which is normally used for data transfer with the input/output device A, receives a disconnect signal from the input/output device, the save control signal CHI changes to logic "1". ” and is disabled, and the contents of the write address register 23 or read address register 25 are changed to the AND gate 35.37.
are saved in store registers 39 and 41, respectively.
一方、書き込みアドレスレジスタ23あるいは読み出し
アドレスレジスタ25には、アンドゲート27.29を
介して他の入出力装置Bからのデータ転送に必要なアド
レス(データバッファ(#1)21、の先頭アドレス)
が設定され、以後データバッファ(#1)21.を介し
てデータ転送が行われる。On the other hand, the write address register 23 or the read address register 25 contains an address (starting address of the data buffer (#1) 21) necessary for data transfer from another input/output device B via the AND gates 27 and 29.
is set, and thereafter the data buffer (#1) 21. Data transfer takes place via.
ここで、入出力装置Bのデータ転送が終了すると、入出
力装置Aからリコネクト信号Rが通知され、復帰制御信
号CH2が論理「1」となり、ストアレジスタ39.4
1の内容が、アンドゲート43.45を介してそれぞれ
書き込みアドレスレジスタ23あるいは読み出しアドレ
スレジスタ25にセットされる。したがって、データバ
ッファ(#0)21.に先読みして保持されているデー
タから、中断していた入出力装置Aとのデータ転送を再
開することができる。Here, when the data transfer of the input/output device B is completed, the reconnect signal R is notified from the input/output device A, the return control signal CH2 becomes logic "1", and the store register 39.
The contents of 1 are set in the write address register 23 or the read address register 25 through AND gates 43 and 45, respectively. Therefore, data buffer (#0) 21. The interrupted data transfer with the input/output device A can be resumed from the data read ahead and held.
すなわち、入出力装置Aとの間のデータ転送が中断され
た時点で先取りしていたデータは、データバッファ(#
0)21゜に保存され、データ転送再開時に中断時のア
ドレスを再設定することにより、再びデータバッファ(
#0)21゜を用いたデータ転送を再開することができ
、先取りデータを無駄にすることなく効率的なデータ転
送処理を行うことができる。In other words, the data that was previously fetched at the time when the data transfer with input/output device A was interrupted is transferred to the data buffer (#
0) 21°, and by resetting the address at the time of interruption when data transfer is resumed, the data buffer (
#0) Data transfer using 21° can be restarted, and efficient data transfer processing can be performed without wasting prefetched data.
上述したように、本発明によれば、データ転送の中断が
生じた場合に、その時点で先取りしていたデータを保証
することにより、データ転送再開後の転送処理時間の短
縮を図ることができる。As described above, according to the present invention, when data transfer is interrupted, by guaranteeing the data that was previously fetched at that time, it is possible to reduce the transfer processing time after data transfer is resumed. .
第1図は本発明の原理ブロック図、
第2図は本発明の一実施例構成を示すブロック図、
第3図は各信号の状態を示すタイムチャート、第4図は
データ転送を行うチャネル装置の構成を示すブロック図
、
第5図は従来のデータバッファの動作を説明する図であ
る。
図において、
11はデータバッファ、
13は中断処理手段、
15は再開処理手段、
21はデータバッファ、
23は書き込みアドレスレジスタ(WADR)、25は
読み出しアドレスレジスタ(RADR)、27.29.
35.37.43.45.57はアンドゲート、
3L33はインクリメンタ(+1)、
9.41はストアレジスタ(SWADR7,49はフリ
ップフロップ、
l、53はインバータ、
5はノアゲートである。
5RADR)、
データ
本発明原理ブロック図
第
図
クロック信号CLK
ディスコ7クト信号り
各信号の状態を示すタイムチャート
第3図
先須アドレス
先頭ア]レス
本発明実施例の構成を示すブロック図
データ転送を行うチャネル装置の構成を示す口筒
図
データFig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram showing the configuration of an embodiment of the invention, Fig. 3 is a time chart showing the status of each signal, and Fig. 4 is a channel device for data transfer. FIG. 5 is a diagram illustrating the operation of a conventional data buffer. In the figure, 11 is a data buffer, 13 is an interruption processing means, 15 is a restart processing means, 21 is a data buffer, 23 is a write address register (WADR), 25 is a read address register (RADR), 27.29.
35.37.43.45.57 is an AND gate, 3L33 is an incrementer (+1), 9.41 is a store register (SWADR7, 49 are flip-flops, l, 53 is an inverter, 5 is a NOR gate. 5RADR), Data Block diagram of the principles of the present invention Figure 3 Clock signal CLK Disc signal Time chart showing the status of each signal Figure 3 First address First address Block diagram showing the configuration of the embodiment of the present invention Channel device for data transfer Mouth diagram data showing the composition of
Claims (1)
ングを行うデータバッファ制御回路において、データバ
ッファ(11)は、その領域を二分割して使用する構成
であり、 前記データバッファ(11)の一方の領域を使用した第
一の媒体とのデータ転送の中断時に、その時点のバッフ
ァアドレスを格納し、その後の第二の媒体とのデータ転
送に際して、前記データバッファ(11)の他方の領域
を用いたデータ転送を指示する中断処理手段(13)と
、 前記第一の媒体とのデータ転送の再開時には、前記中断
時のバッファアドレスを再設定して前記データバッファ
(11)の一方の領域を用いたデータ転送を指示する再
開処理手段(15)とを備えたことを特徴とするデータ
バッファ分割制御方式。(1) In a data buffer control circuit that buffers transfer data using a data buffer, the data buffer (11) has a configuration in which its area is divided into two parts, and one of the data buffers (11) When data transfer using the area is interrupted with the first medium, the buffer address at that time is stored, and the other area of the data buffer (11) is used for subsequent data transfer with the second medium. An interruption processing means (13) for instructing data transfer, and when resuming data transfer with the first medium, the buffer address at the time of the interruption is reset and one area of the data buffer (11) is used. 1. A data buffer division control system comprising: a restart processing means (15) for instructing data transfer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP913290A JPH03212729A (en) | 1990-01-17 | 1990-01-17 | Data buffer division control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP913290A JPH03212729A (en) | 1990-01-17 | 1990-01-17 | Data buffer division control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03212729A true JPH03212729A (en) | 1991-09-18 |
Family
ID=11712106
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP913290A Pending JPH03212729A (en) | 1990-01-17 | 1990-01-17 | Data buffer division control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03212729A (en) |
-
1990
- 1990-01-17 JP JP913290A patent/JPH03212729A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR950004453B1 (en) | Register circuit having the function of inter-register copying | |
| US4730248A (en) | Subroutine link control system and apparatus therefor in a data processing apparatus | |
| JPH01237864A (en) | Dma transfer controller | |
| US5537582A (en) | Bus interface circuitry for synchronizing central processors running at multiple clock frequencies to other computer system circuitry | |
| JP3281211B2 (en) | Information processing apparatus having synchronous memory and synchronous memory | |
| JPH03212729A (en) | Data buffer division control system | |
| JP3043341B2 (en) | Microcomputer system | |
| JPH01273132A (en) | Microprocessor | |
| JPH0222748A (en) | Non-volatile memory control circuit | |
| US6421280B1 (en) | Method and circuit for loading data and reading data | |
| JP2581144B2 (en) | Bus control device | |
| JPH02284251A (en) | Data transfer control system for hard disk | |
| JP3134811B2 (en) | Data processing device | |
| JP3255429B2 (en) | Memory interface circuit | |
| KR930000670B1 (en) | Interface circuit of common ram between main cpu and sub-cpu | |
| JPH0355642A (en) | Memory control system | |
| JPS5938827A (en) | Microprocessor ipl system | |
| JPS61161560A (en) | Memory device | |
| JPH05210695A (en) | Data processor | |
| JPH02151947A (en) | Microcomputer system | |
| JPH03214275A (en) | Semiconductor integrated circuit | |
| JPH01121924A (en) | Data transfer device | |
| JPS63286934A (en) | Information processor | |
| JPH1165990A (en) | Cache control circuit | |
| JPH03134754A (en) | Data processor |