JPS5913768B2 - Channel transfer control method - Google Patents
Channel transfer control methodInfo
- Publication number
- JPS5913768B2 JPS5913768B2 JP54040715A JP4071579A JPS5913768B2 JP S5913768 B2 JPS5913768 B2 JP S5913768B2 JP 54040715 A JP54040715 A JP 54040715A JP 4071579 A JP4071579 A JP 4071579A JP S5913768 B2 JPS5913768 B2 JP S5913768B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- channel
- transfer
- byte
- control device
- 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
Links
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Description
【発明の詳細な説明】
本発明は、チャネル転送制御方式、特にマルチプレクサ
を介して例えば通信制御装置の如き制御装置が接続され
てバースト・モードでデータ送受を行なうようなシステ
ムにおいて、バースト・モードで転送するデータ・バイ
トの個数をシステムの状態および/または規模にあわせ
て可変にセットし得るようにし、最適なスルー・フット
を定めるようにしたチャネル転送制御方式に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a channel transfer control method, particularly in a system in which a control device such as a communication control device is connected via a multiplexer and transmits and receives data in a burst mode. The present invention relates to a channel transfer control method in which the number of data bytes to be transferred can be variably set according to the state and/or scale of the system, and an optimum through foot can be determined.
例えば通信制御装置のようにメッセージ・バッファ方式
の制御装置は、マルチプレクサ・チャネルに接続され、
該チャネルを経由して比較的大量のデータを送受する。A message-buffered controller, such as a communication controller, is connected to the multiplexer channel and
A relatively large amount of data is sent and received via the channel.
この種の制御装置は一般にブロック・マルチプレクサ・
チャネルに接続されることが多いが、システム規模が小
さい場合や高いスループットを要求されない場合にはバ
イト・マルチプレクサ・チャネルに接続されることも多
い。後者の場合には、上記制御装置とマルチプレクサ・
チャネルとの間のデータ転送に関して、次のような条件
から最適なスループットを定める必要がある。即ち、^
マルチプレクサ・チャネルMXCの転送能力、(2)
当該マルチプレクサ・チャネルに接続される他の入出力
機器によるチャネル占有の度合、C)当該他の入出力機
器のために許容できる最大持ち時間、0Ilil獅装置
例えば通信制御装置が要求するスループットの条件、な
どから最適なスループットを定める必要がある。This type of control device is generally a block multiplexer.
It is often connected to a byte multiplexer channel, but if the system scale is small or high throughput is not required, it is often connected to a byte multiplexer channel. In the latter case, the above control device and multiplexer
Regarding data transfer between channels, it is necessary to determine the optimal throughput based on the following conditions. That is, ^
Transfer capability of multiplexer channel MXC, (2)
C) the degree of channel occupancy by other input/output devices connected to the multiplexer channel; C) the maximum allowable hold time for the other input/output devices; the throughput conditions required by the device, such as a communication control device; It is necessary to determine the optimal throughput based on the following factors.
一般に、マルチプレクサ・チャネルとのデータ送受に当
つては複数バイトのローカル・バーストによる転送を行
なうことがスループットの面から好ましい。しかし一方
当該マルチプレクサ・チャネルに他の入出力機器が接続
されていてその入出力機器がオーバランを生じる可能性
をもつ場合には、上記ローカル・バーストにもとづくチ
ャネル保留時間を短かくする必要がある。本発明は上記
の点を解決することを目的としており、本発明のチヤネ
ル転送制御方式は、ホスト・・データ処理装置に対して
バイト・マルチプレクサ・チヤネルを介して接続されて
なり、かつ制御装置が上記バイト・マルチプレクサ・チ
ヤネルに対してバースト・モードで複数バイト分のデー
タの転送バイト数をデータ転送用カウンタにセツトして
1バイト分転送毎に減算しつつ当該データを送受すると
共に、当該送受を行なうべく当該制御装置内のメモリを
l回あるいは複数回アクセスするよう構成された制御装
置において、上記複数バイト分のデータの転送に際して
上記メモリをアクセスする回数をカウントするアクセス
回数カウンタをもうけ、上記バースト・モードで送受す
る1回毎のデータ転送時間の最大値を上記カウンタの内
容にもとづいて決定するよう構成したことを特徴として
いる。In general, when transmitting and receiving data to and from a multiplexer channel, it is preferable from the viewpoint of throughput to transfer multiple bytes in local bursts. However, if other input/output devices are connected to the multiplexer channel and there is a possibility that the input/output devices will cause an overrun, it is necessary to shorten the channel hold time based on the local burst. The present invention aims to solve the above points, and the channel transfer control method of the present invention is such that the control device is connected to a host data processing device via a byte multiplexer channel, and the control device is connected to a host data processing device via a byte multiplexer channel. The number of transfer bytes of multiple bytes of data is set in the data transfer counter to the above-mentioned byte multiplexer channel in burst mode, and the data is sent and received while being decremented every time one byte is transferred. The control device is configured to access the memory in the control device one or more times in order to transfer the plurality of bytes of data. - A feature is that the maximum value of the data transfer time for each transmission/reception in the mode is determined based on the contents of the counter.
以下図面を参照しつつ説明する。第1図は本発明が適用
される一実施例システム、第2図は本発明の一実施例構
成を示す。第1図において、1は通信匍脚装置、2はマ
ルチプレクサ・チヤネル、CPUはホスト・データ処理
装置、3は回線走査部、4は中央制御部、5はメモリで
あつて通信匍脚プログラムや送受信データを格納するも
の、6はチヤネル・アダプタであつてマルチプレクサ・
チヤネル2とメモリ5との間のデータ転送を制御するも
のを表わしている。This will be explained below with reference to the drawings. FIG. 1 shows an embodiment of a system to which the present invention is applied, and FIG. 2 shows a configuration of an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a communication leg unit, 2 a multiplexer channel, CPU a host data processing unit, 3 a line scanning unit, 4 a central control unit, and 5 a memory for transmitting/receiving communication leg programs. 6 is a channel adapter that stores data, and is a multiplexer.
It shows what controls data transfer between channel 2 and memory 5.
また第2図において、符号4,5,6は第1図に対応し
、7はサイクル・スチール・アドレス・レジスタであつ
てチヤネル・アダプタ6がサイクル・スチールによつて
メモリ5をアクセスするためのアドレス情報がセツトさ
れるもの、8はデータ・バツフア・レジスタであつて上
記マルチプレクサ・チヤネル2とメモリ5との間の転送
データが一時保持されるもの、9はデータ転送用カウン
タであつて転送データのバイト数をカウントするもの、
10はオペレーシヨナル・イン・ラツチであつて該ラツ
チがセツト状態にある期間に通信制御装置1とマルチプ
レクサ・チヤネル2との間の交信ルートが保持されるも
の、11,12はアクセス回数カウンタであつて一緒に
なつて4進カウンタを構成するもの、13はバースト・
モード転送回数設定部、14,15,16は夫々アンド
回路17,18,19は夫々オア回路を表わしている。
例えば通信制御装置1からホスト・データ処理装置CP
U側にデータを転送する場合、周知の如くオペレーシヨ
ナル●イン●ラツチ10がセツトされてマルチプレクサ
・チヤネル2と通信制御装置1との間の交信ルートが確
保され、チヤネル・アダプタ6はアドレス・レジスタ7
の内容によつてメモリ5に対してサイクル・スチールに
よつてリードzアクセスを行なう。これによつて図示の
場合メモリ5側から2バイト分のデータが1度に読出さ
れ、オア回路17をへてデータ・バツフア・レジスタ8
にセツトされる。そして1バイト分ずつチヤネル・バス
・インによつてホスト・データ処理装置側に転送される
。該1バイト分の転送が行なわれると、カウンタ9の内
容が−1される。即ち、予め該カウンタ9にセツトされ
た転送バイト数に等しいバイト数分を最終的に転送し得
るようにされる。データ・バツフア・レジスタ8上に上
記の如く2バイト分のデータが読出されると、アドレス
・レジスタ7の内容は+2され、再びサイクル・スチー
ルによつてメモリ5にリード・アクセスを行なう。逆に
ホスト・データ処理装置CPU側から通信制御装置1側
にデータを転送する場合、やはりオペレーシヨナル・イ
ン・ラツチ10がセツトされている状態で、チヤネル・
バス・アウトによつてホスト・データ処理装置CPU側
から1バイト分ずつデータが転送されてデータ・バツフ
ア・レジスタ8にセツトされる。Further, in FIG. 2, numerals 4, 5, and 6 correspond to those in FIG. 1, and 7 is a cycle steal address register for the channel adapter 6 to access the memory 5 by cycle stealing. 8 is a data buffer register in which the transfer data between the multiplexer channel 2 and the memory 5 is temporarily held; 9 is a data transfer counter for the transfer data; Something that counts the number of bytes of
10 is an operational in latch which maintains the communication route between the communication control device 1 and the multiplexer channel 2 while the latch is in the set state; 11 and 12 are access count counters; together make up a quaternary counter, 13 is the burst
The mode transfer number setting units 14, 15, and 16 represent AND circuits, respectively, and the AND circuits 17, 18, and 19 represent OR circuits, respectively.
For example, from the communication control device 1 to the host data processing device CP
When transferring data to the U side, as is well known, the operational latch 10 is set to secure the communication route between the multiplexer channel 2 and the communication control device 1, and the channel adapter 6 is set to the address register. 7
According to the contents of , a read z access is performed to the memory 5 by cycle stealing. As a result, in the case shown in the figure, 2 bytes of data are read out from the memory 5 side at a time, and are passed through the OR circuit 17 to the data buffer register 8.
is set to Then, each byte is transferred to the host data processing device side via the channel bus in. When the 1 byte worth of transfer is performed, the contents of the counter 9 are incremented by 1. That is, the number of bytes equal to the number of transfer bytes set in advance in the counter 9 can be finally transferred. When 2 bytes of data are read onto data buffer register 8 as described above, the contents of address register 7 are incremented by 2, and read access to memory 5 is performed again by cycle stealing. Conversely, when data is transferred from the host data processing device CPU side to the communication control device 1 side, the operational in latch 10 is still set, and the channel
By bus out, data is transferred one byte at a time from the host data processing unit CPU side and set in the data buffer register 8.
このとき、やはり予め与えられたバイト数分のデータを
最終的に転送し得るように管理するために、カウンタ9
の内容が−1される。データ・バツフア・レジスタ8に
セツトされたデータは、サイクル・スチール・アドレス
タ7の内容によつてメモリ5に対してライト・アクセス
を行なう。そして2バイト分ずつメモリ5の所定番地に
ストアする。勿論該データは回線側に送出される。通信
制御装置1とホスト・データ処理装置CPU側との間の
データ転送に当つては上記の如く処理されるが、本願明
細書冒頭に述べた如く、スループツトを向上するために
はバースト・モードでデータ転送を行なうことが望まし
く、その間オペレーシヨナル・イン・ラツチ10はセツ
ト状態に保たれ、マルチプレクサ・チヤネル2は通信制
御装置1のために占有されることになる。At this time, in order to manage the data so that a predetermined number of bytes can be finally transferred, the counter 9
The content of is decreased by -1. The data set in data buffer register 8 performs write access to memory 5 according to the contents of cycle steal address register 7. Then, each 2 bytes are stored at a predetermined location in the memory 5. Of course, the data is sent to the line side. Data transfer between the communication control device 1 and the host data processing device CPU side is processed as described above, but as stated at the beginning of this specification, in order to improve throughput, burst mode is used. It is desirable to carry out a data transfer, during which operational latch 10 is kept set and multiplexer channel 2 is occupied for communications controller 1.
したがつて、マルチプレクサ・チヤネル2に他の入出力
機器が接続されている場合、当該他の入出力機器とホス
ト・データ処理装置側とのデータ転送は禁示される。こ
のために、場合によつては、当該他の入出力機器側にお
いてオーバランを生じる。本発明の場合、上記バースト
・モードによつてデータ転送を行なうに当つて、システ
ムの態様にあわせて上記マルチプレクサ・チヤネル2を
占有する時間を設定し得るようにしている。図示の場合
には、2バイト・バーストの場合と8バイト・バースト
の場合とを選択できる構成として示されている。なお上
記例えば2バイト・バーストの場合と8バイト・バース
トの喝合とのいずれを選択するかは、システムのオーバ
ランが生じないことを条件として決定され、第2図図示
の場合には2バイト・バースト指示が予め与えられてい
るとき、オア回路19がオン状態に保たれる。8バイト
・バーストを行なう場合、データ転送開始時にメモリ5
が1回アクセスされることによつてアクセス回数カウン
タ11,12がりセツトされ、チヤネル・アダプタ6が
メモリ5に対してアクセスを行なう都度アンド回路14
を介してアクセス回数カウンタ11,12に対してクロ
ツクが供給される。Therefore, if another input/output device is connected to the multiplexer channel 2, data transfer between the other input/output device and the host data processing device is prohibited. Therefore, in some cases, an overrun occurs on the side of the other input/output device. In the case of the present invention, when data is transferred in the burst mode, the time during which the multiplexer channel 2 is occupied can be set in accordance with the aspect of the system. In the illustrated case, a configuration is shown in which a 2-byte burst or an 8-byte burst can be selected. For example, whether to select a 2-byte burst or a combination of 8-byte bursts is determined on the condition that no system overrun occurs; in the case shown in FIG. When a burst instruction is given in advance, OR circuit 19 is kept on. When performing an 8-byte burst, memory 5 is
is accessed once, the access count counters 11 and 12 are reset, and each time the channel adapter 6 accesses the memory 5, the AND circuit 14 is reset.
A clock is supplied to the access number counters 11 and 12 via.
図示の場合、メモリ・アクセスが4回行なわれたとき、
アンド回路15がオンされる。そしてこの状態のもとで
、データ・バツフア・レジスタ8とホスト.データ処理
装置側との間で2バイトを1区切りとしたデータ転送(
1バイト分ずつ2回)が終了したときアンド回路16が
オンされて、オペレーシヨナル・イン・ラツチ10がり
セツトされる。即ち、通信制御装置1によるマルチプレ
クサ・チヤネル2の占有が一旦解除され、他の入出機器
によるデータ転送を許容するようにする。勿論、上記8
バイト・バーストによるデータ転送を行なつている間に
、図示「2バイトバースト指示」信号が論理「1」とさ
れると、当該時点以降において上記1区切りのデータ転
送が終了したときにアンド回路16がオンされ、オペレ
ーシヨナル・イン・ラツチ10がりセツトされる。この
ため、必要に応じて2バイト・バーストによるデータ転
送を行なうに当つては、図示「2バイト・バースト指示
」信号を論理「1」にしておけば足りる。なお、バース
ト・モード転送回数設定部13の構成は図示の場合に限
られるものではなく、手動セツトによりあるいはプログ
ラム・セツトによつて任意のバイト数分のバーストを指
示できるよう構成することは任意である。以上説明した
如く、本発明によれば、バースト・モード転送によるマ
ルチプレクサ・チヤネルの占有時間をシステムの態様に
合わせて任意に設定できる。In the case shown, when memory access is performed four times,
AND circuit 15 is turned on. Under this condition, the data buffer register 8 and the host. Data transfer between the data processing device and the 2-byte section (
When the operation (twice for one byte) is completed, the AND circuit 16 is turned on and the operational in latch 10 is reset. That is, the possession of the multiplexer channel 2 by the communication control device 1 is temporarily released, and data transfer by other input/output devices is allowed. Of course, above 8
If the illustrated "2-byte burst instruction" signal is set to logic "1" during data transfer by byte burst, the AND circuit 16 is turned on and the operational in latch 10 is reset. Therefore, when performing data transfer by 2-byte burst as necessary, it is sufficient to set the illustrated "2-byte burst instruction" signal to logic "1". Note that the configuration of the burst mode transfer count setting unit 13 is not limited to the one shown in the figure, and may be configured to instruct bursts of any number of bytes by manual setting or program setting. be. As described above, according to the present invention, the occupation time of a multiplexer channel by burst mode transfer can be arbitrarily set in accordance with the aspect of the system.
このために、非所望なオーバランを生じる危険性を未然
に防止できる。Therefore, the risk of causing an undesired overrun can be prevented.
第1図は本発明が適用される一実施例システム、第2図
は本発明の一実施例構成を示す。
図中、1は通信匍脚装置、2はマルチプレクサ・チヤネ
ル、CPUはホスト・データ処理装置、4は中央匍脚部
、5はメモリ、6はチヤネル・アダプタ、7はサイクル
・スチール・アドレス・レジスタ、8はデータ・バツフ
ア・レジスタ、9はデータ転送用カウンタ、10はオペ
レーシヨナル・イン・ラツチ、11,12はアクセス回
数カウンタ、13はバースト・モード転送回数設定部を
表わす。FIG. 1 shows an embodiment of a system to which the present invention is applied, and FIG. 2 shows a configuration of an embodiment of the present invention. In the figure, 1 is a communications pedestal, 2 is a multiplexer channel, CPU is a host data processing unit, 4 is a central pedestal, 5 is a memory, 6 is a channel adapter, and 7 is a cycle steal address register. , 8 is a data buffer register, 9 is a data transfer counter, 10 is an operational in latch, 11 and 12 are access count counters, and 13 is a burst mode transfer count setting unit.
Claims (1)
レクサ・チャネルを介して接続されてなり、かつ制御装
置が上記バイト・マルチプレクサ・チャネルに対してバ
ースト・モードで複数バイト分のデータの転送バイト数
をデータ転送用カウンタにセットして1バイト分転送毎
に減算しつつ当該データを送受すると共に、当該送受を
行なうべく当該制御装置内のメモリを1回あるいは複数
回アクセスするよう構成された制御装置において、上記
複数バイト分のデータの転送に際して上記メモリをアク
セスする回数をカウントするアクセス回数カウンタをも
うけ、上記バースト・モードで送受する1回毎のデータ
転送時間の最大値を上記カウンタの内容にもとづいて決
定するよう構成したことを特徴とするチャネル転送制御
方式。1 connected to a host data processing device via a byte multiplexer channel, and a control device transmits the number of bytes of multiple bytes of data to the byte multiplexer channel in burst mode. In a control device configured to send and receive data by setting it in a transfer counter and decrementing one byte every time it is transferred, and to access the memory in the control device once or multiple times in order to perform the sending and receiving, An access counter is provided to count the number of times the memory is accessed when transferring the multiple bytes of data, and the maximum value of the data transfer time for each transmission/reception in the burst mode is determined based on the contents of the counter. A channel transfer control method characterized by being configured to.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54040715A JPS5913768B2 (en) | 1979-04-04 | 1979-04-04 | Channel transfer control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54040715A JPS5913768B2 (en) | 1979-04-04 | 1979-04-04 | Channel transfer control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS55134435A JPS55134435A (en) | 1980-10-20 |
| JPS5913768B2 true JPS5913768B2 (en) | 1984-03-31 |
Family
ID=12588272
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP54040715A Expired JPS5913768B2 (en) | 1979-04-04 | 1979-04-04 | Channel transfer control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5913768B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6182261A (en) * | 1984-09-11 | 1986-04-25 | Fujitsu Ltd | Transfer control system |
| JPS61190623A (en) * | 1985-02-19 | 1986-08-25 | Nippon Telegr & Teleph Corp <Ntt> | Controller of storage device |
| US7107365B1 (en) * | 2002-06-25 | 2006-09-12 | Cypress Semiconductor Corp. | Early detection and grant, an arbitration scheme for single transfers on AMBA advanced high-performance bus |
-
1979
- 1979-04-04 JP JP54040715A patent/JPS5913768B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS55134435A (en) | 1980-10-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4093981A (en) | Data communications preprocessor | |
| US4352952A (en) | Data security module | |
| EP0458304B1 (en) | Direct memory access transfer controller and use | |
| CA1227879A (en) | Buffer system for input/output portion of digital data processing system | |
| US4359731A (en) | Communication link contention resolution system | |
| US3781815A (en) | Terminal interface for a serial loop communications system having store and forward capability | |
| US4642630A (en) | Method and apparatus for bus contention resolution | |
| US4939636A (en) | Memory management unit | |
| JPH0577103B2 (en) | ||
| JPS639786B2 (en) | ||
| US4407014A (en) | Communications subsystem having a direct connect clock | |
| JPH02246444A (en) | Data transmission method and system | |
| US4006457A (en) | Logic circuitry for selection of dedicated registers | |
| US5311510A (en) | Data storing system for a communication control circuit | |
| US6061748A (en) | Method and apparatus for moving data packets between networks while minimizing CPU intervention using a multi-bus architecture having DMA bus | |
| US4393461A (en) | Communications subsystem having a self-latching data monitor and storage device | |
| JPS5913768B2 (en) | Channel transfer control method | |
| EP0325080B1 (en) | Protocol and apparatus for the selective scanning of a plurality of lines connected to a communication device | |
| US20030093594A1 (en) | Apparatus and method for controlling block signal flow in a multi digital signal processor configuration from a shared peripheral direct memory controller to high level data link controller | |
| JPS60186151A (en) | Data communicating method between processors | |
| JP2962767B2 (en) | Memory access method for DMA device | |
| JPH0234518B2 (en) | ||
| KR100703387B1 (en) | TD-bus and P-bus matching device using main processor | |
| JPH0652081A (en) | Local memory type DMA control method in packet communication | |
| JP3125325B2 (en) | Transmission control method in storage-type star communication network |