JPS61187058A - Data transfer system - Google Patents
Data transfer systemInfo
- Publication number
- JPS61187058A JPS61187058A JP2701885A JP2701885A JPS61187058A JP S61187058 A JPS61187058 A JP S61187058A JP 2701885 A JP2701885 A JP 2701885A JP 2701885 A JP2701885 A JP 2701885A JP S61187058 A JPS61187058 A JP S61187058A
- Authority
- JP
- Japan
- Prior art keywords
- data
- transfer
- input
- counter
- output control
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
チャネル装置を介して、主記憶装置と入出力制量を転送
終了したとき、入出力制御装置において、次のデータ転
送の開始を遅らせるようにしたものである。[Detailed Description of the Invention] [Summary] When the transfer of the input/output limit to the main storage device is completed via the channel device, the start of the next data transfer is delayed in the input/output control device. .
本発明は、主記憶装置、中央処理装置、チャネル装置お
よび該チャネル装置に接続される入出力制御装置を含む
情報処理システムであって、主記憶装置における転送対
象のデータエリアを一定サイズのデータ長にしてチェイ
ンするいわゆるデータチェイン機能を使用してチャネル
装置と入出力制御装置間のデータ転送を行なうことを可
能なようにした情報処理システムにおいて、システムの
負荷を高くすることなく、かつ主記憶容量を増大させる
ことなく、チャネル装置と入出力制御装置間のデータ転
送を効率よく実行可能なようにしたデータ転送方式に関
する。The present invention is an information processing system including a main storage device, a central processing unit, a channel device, and an input/output control device connected to the channel device, in which a data area to be transferred in the main storage device has a data length of a fixed size. In an information processing system that makes it possible to transfer data between a channel device and an input/output control device using a so-called data chain function in which data is chained by The present invention relates to a data transfer method that enables efficient data transfer between a channel device and an input/output control device without increasing the amount of data.
第3図は、一般的な情報処理システムの構成例を示す図
である。図中、1は主記憶装置(M、S)。FIG. 3 is a diagram showing an example of the configuration of a general information processing system. In the figure, 1 is the main memory (M, S).
2は中央処理装置(CPU)、3はチャネル装置(CH
)、4は入出力制御装置(IOC)、5は入出力装置(
■0)である。2 is the central processing unit (CPU), 3 is the channel device (CH
), 4 is the input/output control device (IOC), and 5 is the input/output device (
■0).
第3図に示す如きシステムにおいて、チャネル装置3を
介して主記憶装置1と入出力制御装置4の間で大量のデ
ータ転送を行なう場合、一般に主記憶装置1には小量な
一部サイズのデータエリアを多数用意し、これらのデー
タエリアを順次チェインしてデータ転送を行なう、いわ
ゆるデータチェイン機能を使用している。In the system shown in FIG. 3, when a large amount of data is transferred between the main storage device 1 and the input/output control device 4 via the channel device 3, the main storage device 1 generally has a small portion of the size. A so-called data chain function is used in which a large number of data areas are prepared and data is transferred by sequentially chaining these data areas.
第2図は、従来の入出力制御装置の構成例を示す図であ
り、図中、10はマイクロプロセッサ。FIG. 2 is a diagram showing an example of the configuration of a conventional input/output control device, and in the figure, 10 is a microprocessor.
11はデータバッファ、12は転送制御部、13はバイ
トカウンタ(BC)、14は減算回路。11 is a data buffer, 12 is a transfer control unit, 13 is a byte counter (BC), and 14 is a subtraction circuit.
15はオール゛0゛検出回路、16はチャネル装置との
間の制御線、17はチャネル装置との間のデータ線、1
8はマイクロプロセッサ10への割込み信号(線)、1
9は転送データ線である。15 is an all-0 detection circuit; 16 is a control line between the channel device; 17 is a data line between the channel device;
8 is an interrupt signal (line) to the microprocessor 10, 1
9 is a transfer data line.
第2図の従来例は、入出力制御装置の主制御をマイクプ
ロセッサ10で行なっている場合を示している。まず、
チャネルを介して主記憶装置との間でデータ転送を行な
う前に、チャネルプログラムの制御のもとに、全体の転
送を示すバイトカウント値がバイトカウンタ13にセッ
トされる。The conventional example shown in FIG. 2 shows a case where a microprocessor 10 performs main control of the input/output control device. first,
Before data is transferred to or from main memory via a channel, a byte count value indicating the entire transfer is set in byte counter 13 under control of the channel program.
その後データが1バイト転送されるごとに、減算回路1
4によりバイトカウン13の内容は−1ずつ減算されて
ゆく。そして、バイトカウンタ13の内容は未だ“O”
とはなっていないが、主記憶装置上の連続すヤ、一定サ
イズのデータエリア上のデータの転送が終了すると、チ
ャネル装置においてデータチェイン動作が実行され、チ
ェインされた次の主記憶装置上のデータエリアと入出力
制御装置との間で引続いてデータ転送が行なわれてゆく
。After that, each time 1 byte of data is transferred, the subtraction circuit 1
4, the contents of the byte counter 13 are subtracted by -1. And the content of byte counter 13 is still “O”
However, when the transfer of data in a data area of a certain size in consecutive rounds on the main memory device is completed, a data chain operation is executed in the channel device, and the data on the next chained main memory device is transferred. Data transfer continues between the data area and the input/output control device.
そして、オール“0゛検出路15にて、バイトカウンタ
13の内容が0”になったことが検出されると、転送制
御部12にストップ指示が発せられるとともに、マイク
ロプロセッサ10に割込みがかけられる。以後、マイク
ロプロセッサ10は所要の処理を実行してゆく。When the all "0" detection path 15 detects that the content of the byte counter 13 has become 0, a stop instruction is issued to the transfer control unit 12 and an interrupt is issued to the microprocessor 10. . Thereafter, the microprocessor 10 executes the required processing.
上記の場合、チャネルがデータチェイン動作を行なう時
間が問題であり、前記一定サイズのデータエリアが小さ
いとデータチェイン動作の頻度が多くなり、システムの
負荷が高くなり、結果的にこれを防止するため、前記デ
ータエリアを大きくすることで、データチェイン動作の
頻度を減少できるが、主記憶装置上に占有するエリアが
大きいことは、即ち主記憶容量の増大を招くという欠点
があった。In the above case, the problem is the time it takes for the channel to perform the data chain operation, and if the data area of the fixed size is small, the frequency of the data chain operation increases, resulting in a high system load. By enlarging the data area, the frequency of data chain operations can be reduced; however, the large area occupied on the main memory device has the drawback of increasing the main memory capacity.
上記の点を解決するために本発明は、主記憶装置(1)
、中央処理装置(2)、チャネル装置(3)および該チ
ャネル装置に接続される入出力制御装置(4)を含む情
報処理システムであって、前記主記憶装置(1)におけ
る転送対象のデータエリアを一部サイズのデータ長にし
てチェインするデータチェイン機能を使用して前記チャ
ネル装置(3)と入出力制御装置(4)間のデータ転送
を行なうことを可能なようにした情報処理システムにお
いて、前記入出力制御装置(4)に、前記一定サイズの
データ長を記憶する手1d(20)と、該データ養分の
データの転送を完了したことを検出する手段(22)を
設け、該データ養分のデータの転送毎に一時的に転送動
作を停止し又は転送要求の時間間隔を伸ばすよう構成し
たことを特徴とする。In order to solve the above points, the present invention provides a main storage device (1)
, an information processing system including a central processing unit (2), a channel device (3), and an input/output control device (4) connected to the channel device, the data area to be transferred in the main storage device (1). In an information processing system that makes it possible to transfer data between the channel device (3) and the input/output control device (4) using a data chain function of chaining with a data length of a partial size, The input/output control device (4) is provided with means 1d (20) for storing the data length of the fixed size and means (22) for detecting completion of data transfer of the data nourishment. The present invention is characterized in that the transfer operation is temporarily stopped or the time interval between transfer requests is extended every time data is transferred.
本発明は、データチェイン機能を使用してデ−夕転送を
行う場合に、入出力制御装置において、前記データチェ
インを行なう単位である一定サイズのデータ長の転送毎
に一時的に転送動作を停止又は転送要求の時間間隔を伸
ばすようにしたものであり、これにより、データチェイ
ン動作のオーバヘッドによるオーバランを防止すること
が可能となる。When data transfer is performed using the data chain function, the present invention temporarily stops the transfer operation every time a data length of a certain size is transferred, which is the unit for performing the data chain, in the input/output control device. Alternatively, the time interval between transfer requests is extended, thereby making it possible to prevent overruns due to overhead of data chain operations.
第1図は、本発明の1実施例の入出力制御装置の構成を
示す図である。図中、上述した第2図と同一番号のもの
は同一名称のものを示し、20はデータチェインを行な
う単位であるバイトカウント値が設定されるカウンタ、
21は減算回路、22はオール゛0”検出回路、23は
オア回路である。FIG. 1 is a diagram showing the configuration of an input/output control device according to an embodiment of the present invention. In the figure, the same numbers as those in FIG. 2 above indicate the same names, and 20 is a counter in which a byte count value is set, which is a unit for performing a data chain;
21 is a subtraction circuit, 22 is an all "0" detection circuit, and 23 is an OR circuit.
第2図図示の従来例と比較すると、カウンタ20、減算
回路21オア回路23が追加された構成となっている。Compared to the conventional example shown in FIG. 2, the configuration is such that a counter 20, a subtraction circuit 21, and an OR circuit 23 are added.
実施例の動作は以下の通りである。The operation of the embodiment is as follows.
まず、データ転送を行なう前に、全体のデータ転送量を
示すバイトカウント値をバイトカウンタ13にセットし
、更に、データチェインを行なう単位であるバイトカウ
ント値をカウント2oにセットする。その後、転送制御
部12を起動する。First, before performing data transfer, a byte count value indicating the total amount of data transferred is set in the byte counter 13, and furthermore, a byte count value, which is a unit in which data chain is performed, is set in count 2o. Thereafter, the transfer control unit 12 is activated.
転送制御部12は、チャネル装置との1バイトデータの
転送毎に、減算回路14および21に減算指示を発し、
バイトカウンタ13およびカウンタ20のそれぞれの内
容を一1減算せしめる。The transfer control unit 12 issues a subtraction instruction to the subtraction circuits 14 and 21 every time 1 byte data is transferred with the channel device,
The contents of byte counter 13 and counter 20 are each subtracted by 1.
データチェインされているときは、当然、初期設定時に
、〔バイトカウンタ13の内容〕〉〔カウンタ20の内
容〕となっており、データ転送の実行につれて、先にカ
ウンタ2oの内容が“0”になったとき、すなわち、デ
ータチェインにおける1回分のデータ長のデータ転送終
了により、転送制御部12は転送動作をいったん停止し
、マイクロプロセッサ10へ割込みを発生する。When the data is chained, the contents of the byte counter 13 and the contents of the counter 20 are naturally set at the time of initial setting, and as the data transfer is executed, the contents of the counter 2o are set to "0" first. When this occurs, that is, when the data transfer of one data length in the data chain is completed, the transfer control unit 12 temporarily stops the transfer operation and generates an interrupt to the microprocessor 10.
マイクロプロセッサ10は、バイトカウンタ13が“0
″になっていないかの判断を行ない、“0″でなければ
、再度、カウンタ2oにバイトカウント値をセットし、
一定時間待ってから転送制御部12を起動する。The microprocessor 10 determines that the byte counter 13 is “0”.
”, and if it is not “0”, set the byte count value in counter 2o again,
After waiting for a certain period of time, the transfer control unit 12 is activated.
このように、データチェインにおける1単位データ長毎
にマイクロプロセッサ10に割込みを発生し、一時的に
転送動作を停止する。In this way, an interrupt is generated in the microprocessor 10 for each unit data length in the data chain, and the transfer operation is temporarily stopped.
本発明によれば、データチェイン動作のオーバヘッドに
よるデータ転送動作のオーバランを防止できるので、転
送効率の向上が計れる。また、データチェインの単位と
なる一定サイズのデータ長を小さくできるので、主記憶
の小容量化が計れる。According to the present invention, it is possible to prevent overruns in data transfer operations due to overhead of data chain operations, thereby improving transfer efficiency. Furthermore, since the data length of a fixed size that is a unit of a data chain can be reduced, the capacity of the main memory can be reduced.
第1図は本発明の1実施例の入出力制御装置の構成を示
す図、第2図は従来の入出力制御装置の構成例を示す図
、第3図は情報処理システムの構成例を示す図である。
第1図において、
10はマイクロプロセッサ、11はデータバッファ、1
2は転送制御部、13はバイトカウンタ。
20はカウンタ22はオール°0゛検出回路である。
ンジー泉の入弘力Ill椿P輩響め才偽入4列唆示ず区
外2 国
A 本(輯め1電倖イク・胸入出〃!JI
II胛痕夏ml摸へり示す図N−1目
)1貴報Nf’lンスブムの蟻へ4列ε170乎 3
圀FIG. 1 is a diagram showing the configuration of an input/output control device according to an embodiment of the present invention, FIG. 2 is a diagram showing a configuration example of a conventional input/output control device, and FIG. 3 is a diagram showing a configuration example of an information processing system. It is a diagram. In FIG. 1, 10 is a microprocessor, 11 is a data buffer, 1
2 is a transfer control unit, and 13 is a byte counter. 20 is a counter 22 which is an all 0' detection circuit. Nji Izumi's entrance Hiroki Ill Tsubaki P's sounding talent false entry 4 rows without suggestion 2 country A book (read 1 electric study, breast entry and exit! JI
II. Figure N-1) 1) 4 rows ε170 3
country
Claims (1)
(3)および該チャネル装置に接続される入出力制御装
置(4)を含む情報処理システムであって、前記主記憶
装置(1)における転送対象のデータエリアを一定サイ
ズのデータ長にしてチェインするデータチェイン機能を
使用して前記チャネル装置(3)と入出力制御装置(4
)間のデータ転送を行なうことを可能なようにした情報
処理システムにおいて、前記入出力制御装置(4)に、
前記一定サイズのデータ長を記憶する手段(20)と、
該データ長分のデータの転送を完了したことを検出する
手段(22)を設け、該データ長分のデータの転送毎に
前記入出力制御装置(4)が発生する転送要求の時間間
隔を一時的に伸ばすよう構成したことを特徴とするデー
タ転送方式。An information processing system including a main storage device (1), a central processing unit (2), a channel device (3), and an input/output control device (4) connected to the channel device, the main storage device (1) The channel device (3) and the input/output control device (4) are connected using a data chain function in which the data area to be transferred is set to a fixed data length and chained.
), the input/output control device (4) includes:
means (20) for storing the data length of the constant size;
Means (22) for detecting completion of data transfer for the data length is provided, and the time interval of transfer requests generated by the input/output control device (4) is temporarily set each time data for the data length is transferred. A data transfer method characterized by being configured to extend the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2701885A JPS61187058A (en) | 1985-02-14 | 1985-02-14 | Data transfer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2701885A JPS61187058A (en) | 1985-02-14 | 1985-02-14 | Data transfer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61187058A true JPS61187058A (en) | 1986-08-20 |
Family
ID=12209351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2701885A Pending JPS61187058A (en) | 1985-02-14 | 1985-02-14 | Data transfer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61187058A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0573583A4 (en) * | 1991-02-26 | 1995-07-26 | Digi Int Inc | A method for supplying data to a buffered uart. |
-
1985
- 1985-02-14 JP JP2701885A patent/JPS61187058A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0573583A4 (en) * | 1991-02-26 | 1995-07-26 | Digi Int Inc | A method for supplying data to a buffered uart. |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH05250305A (en) | Data transfer control system | |
EP0220990A2 (en) | Buffer storage control system | |
JPS61187058A (en) | Data transfer system | |
JP2669911B2 (en) | DMA controller and information processing system | |
US5577260A (en) | Data processing system having a serial interface comprising an end-of-transmission flag | |
JPS5725045A (en) | Data processing equipment | |
JPS5826043B2 (en) | Processor reset method | |
JPH01150935A (en) | Central processing unit | |
GB2030331A (en) | Real-time Data Processing System for Processing Time Period Commands | |
JPS59123055A (en) | Instruction processing system | |
JPS6119072B2 (en) | ||
JPH0462093B2 (en) | ||
JPS63132362A (en) | Command operation control system | |
JPS5475242A (en) | Interrupt processing system | |
JPS633328B2 (en) | ||
JPS61264436A (en) | Data processing system | |
JP2604051B2 (en) | Data transfer method | |
JPS5922153A (en) | Data processor | |
JPH05334233A (en) | Data transferring device | |
JPS63182750A (en) | Device for supporting development of microcomputer | |
JPS598060A (en) | Microprocessor | |
JPS62166463A (en) | Data transfer system | |
JPH02201680A (en) | Dma data transfer circuit | |
JPS62175853A (en) | Interface control system | |
JPS63233455A (en) | Microprocessor |