JPS61180353A - Data transfer control system - Google Patents

Data transfer control system

Info

Publication number
JPS61180353A
JPS61180353A JP60019756A JP1975685A JPS61180353A JP S61180353 A JPS61180353 A JP S61180353A JP 60019756 A JP60019756 A JP 60019756A JP 1975685 A JP1975685 A JP 1975685A JP S61180353 A JPS61180353 A JP S61180353A
Authority
JP
Japan
Prior art keywords
buffer
data
transfer
frame
chain
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
Application number
JP60019756A
Other languages
Japanese (ja)
Inventor
Shigeru Hashimoto
繁 橋本
Morihiro Kamidate
神館 盛弘
Noboru Yamamoto
昇 山本
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP60019756A priority Critical patent/JPS61180353A/en
Publication of JPS61180353A publication Critical patent/JPS61180353A/en
Pending 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/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Landscapes

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

Abstract

PURPOSE:To reduce greatly the processing quantity needed for transfer of data and to improve the circuit throughput, by attaining the transfer of plural frames with just a single command through a circuit control channel of a controller. CONSTITUTION:When data equivalent to four frames of buffers (b), (c), (d) and (e) of a main memory 2 are transferred, a CPU 1 sets a single piece of control indication information to the buffer (a). Then the orders of transfer and the chain states of buffers are set to the chain areas of buffers (b-e). Then a circuit control channel 3 is started and reads and decodes the contents of the buffer (a). Then the channel 3 detects a transfer indication to read out the buffer (b) and knows the buffer (c) of the next transfer data from the chain information of the buffer (b) after the contents of the buffer (b) are transferred in the form of the 1st frame. Then the buffer (c) is read out and transferred as the 2nd frame. Hereafter buffers (d) and (e) are read out and transferred as the 3rd and 4th frames respectively.

Description

【発明の詳細な説明】 〔目次〕 以下の順序で本発明を説明する。[Detailed description of the invention] 〔table of contents〕 The present invention will be explained in the following order.

〔産業上の利用分野〕[Industrial application field]

〔従来の技術〕 〔発明が解決しようとする8照点〕 C問題点を解決するための手段〕 (第1図)〔作用) 〔実施例〕 構成の説明(第2図、第3図) 転送動作の説明(第4図、第5図) 〔発明の効果〕 〔産業上の利用分野〕 本発明は、コントローラから端末等の相手装置へ回線を
介してデータを転送するデータ転送制御方式に関し、特
にコントローラの回線制御チャネルがコマンドに応じて
複数フレームのデータ転送を行うことのできるデータ転
送制御方式に関する。
[Prior art] [Eight points to be solved by the invention] Means for solving problem C] (Figure 1) [Operation] [Example] Explanation of configuration (Figures 2 and 3) Description of transfer operation (Figures 4 and 5) [Effects of the invention] [Field of industrial application] The present invention relates to a data transfer control method for transferring data from a controller to a partner device such as a terminal via a line. In particular, the present invention relates to a data transfer control system in which a line control channel of a controller can transfer multiple frames of data in response to a command.

コントローラCTと複数の端末5a、5b−とを回線6
で接続し、データ転送を行う第6図(A)の様なデータ
転送システムは広く利用されている。例えばL A N
 (Local Area Network)等におい
ては、端末5a、5bからの要求に従ってコントローラ
CTからデータが回線6を介し転送され、コントローラ
CTは図示しないホストコンピュータ等にも接続され、
ホストコンピュータ等と通信を行って回線6ヘデータを
転送する場合もある。
A line 6 connects the controller CT and the plurality of terminals 5a, 5b-.
A data transfer system as shown in FIG. 6(A), in which data is transferred by connecting the two, is widely used. For example, L A N
(Local Area Network) etc., data is transferred from the controller CT via the line 6 in accordance with requests from the terminals 5a and 5b, and the controller CT is also connected to a host computer (not shown), etc.
In some cases, data may be transferred to the line 6 by communicating with a host computer or the like.

係るデータ転送システムのコントローラCTは、メイン
プロセッサ1と、その主記憶メモリ2と、回線接続チャ
ネル3と、共通バス4とを少なくとも含んでおり、回線
接続チャネル3は、プロセッサ30と共通バス制御部3
1と、ローカルメモリ32と、回線制御部33と内部バ
ス34とで構成されている。回線接続チャネル3はプロ
セッサ30を有しており、独立して主記憶メモリ2から
送信データを共通ハス4を介し共通バス制御部31より
読出し、フレーム単位に編集して回線制御部33より回
線6を介しパーソナルコンピュータ等で構成された端末
5a〜5nに転送するように構成されている。1フレー
ムは第7図に示す如く、端末アドレスAと送信制御情報
Cと送信データSDで構成され、LANにおいては最大
1.5Kbyteである。
The controller CT of such a data transfer system includes at least a main processor 1, its main memory 2, a line connection channel 3, and a common bus 4, and the line connection channel 3 connects the processor 30 and the common bus control unit. 3
1, a local memory 32, a line control section 33, and an internal bus 34. The line connection channel 3 has a processor 30, which independently reads transmission data from the main memory 2 via the common bus 4 from the common bus control unit 31, edits it frame by frame, and sends it to the line 6 from the line control unit 33. It is configured to transfer the data to terminals 5a to 5n configured with personal computers or the like. As shown in FIG. 7, one frame is composed of a terminal address A, transmission control information C, and transmission data SD, and has a maximum size of 1.5 Kbytes in a LAN.

〔従来の技術〕[Conventional technology]

このようなlフレームの転送を行うには、従来第8図に
示す如くの動作がコントローラCT内で行われていた。
In order to transfer such l frames, the operation as shown in FIG. 8 has conventionally been performed within the controller CT.

■ メインプロセッサ1は転送に当って、主記憶メモリ
2に第6図(B)の制御指示情報をバッファaに用意す
る。lフレーム分の送信データはバッファbに予じめ用
意されている。バッファaの制御指示情報は第6図(B
)の如く、データ送信コマンドと、転送すべき端末アド
レスAと、送信データの先頭アドレス(この例ではバッ
ファbの先頭アドレス)と、送信レングスと、スティタ
ス(後述の転送完了時に用いられる)とで構成され、メ
インプロセッサ1は、バ・7フアbの内容を転送するに
際し、バッファaのスティタス以外の制御指示情報を共
通バス4を介しセットする。
(2) At the time of transfer, the main processor 1 prepares the control instruction information shown in FIG. 6(B) in the main memory 2 in the buffer a. Transmission data for l frames is prepared in advance in buffer b. The control instruction information for buffer a is shown in Figure 6 (B
), the data send command, the terminal address A to be transferred, the start address of the send data (in this example, the start address of buffer b), the send length, and the status (used when the transfer is completed as described later) The main processor 1 sets control instruction information other than the status of the buffer a via the common bus 4 when transferring the contents of the buffer a.

■ 次に、メインプロセッサ1は共通バス4を介し回線
制御チャネル3に対し割込みを行いコマンド起動する。
(2) Next, the main processor 1 interrupts the line control channel 3 via the common bus 4 and activates a command.

このコマンドにはバッファaの先頭アドレスが含まれる
This command includes the start address of buffer a.

■ これによって回線制御チャネル3は動作の起動が行
われ、共通バス制御部31、内部バス34を介してプロ
セッサ30がこのコマンドを解読し、共通バス制御部3
1より与えられたバッファaの先頭アドレスから共通バ
ス4を介しDMA (Direct Access M
ode)モードで主記憶メモリ2のバッファaの内容を
読出し、共通バス制御部31を介しローカルメモリ32
へ格納後解読を行う。
■ As a result, the line control channel 3 starts operating, and the processor 30 decodes this command via the common bus control unit 31 and internal bus 34, and the common bus control unit 3
DMA (Direct Access M
ode) mode, the contents of the buffer a of the main memory 2 are read out and transferred to the local memory 32 via the common bus control unit 31.
It is decoded after being stored in .

プロセッサ3はこのバッファaの内容の解読によってデ
ータ送信が命じられ、転送先は端末Aであり、送信デー
タの格納域(この例では、バッファb)、長さも、先頭
アドレス、送信レングスより知ることができる。
Processor 3 is ordered to send data by decoding the contents of buffer a, the transfer destination is terminal A, and the storage area (buffer b in this example) and length of the data to be sent can also be known from the start address and send length. Can be done.

■ 次に、プロセッサ30は共通バス制御部31より与
えられた先頭アドレス(この例ではバッファbの先頭ア
ドレス)から送信レングス分共通バス4を介しDMAモ
ードで主記憶メモリ2のバッファbの内容を読出し、共
通制御部31を介しローカルメモリ32へ格納する。
■ Next, the processor 30 reads the contents of buffer b of the main memory 2 in the DMA mode via the common bus 4 for the transmission length from the start address given by the common bus control unit 31 (in this example, the start address of buffer b). The data is read out and stored in the local memory 32 via the common control unit 31.

■ 更に、プロセッサ30は第7図の如く、1フレーム
を編集し、回線制御部33より回線6へ1フレーム分の
データを送信する。
(2) Furthermore, the processor 30 edits one frame and transmits one frame of data to the line 6 from the line control section 33, as shown in FIG.

■ これによって、例えば端末5aが指定され、■フレ
ーム分の転送データを正常に受信すると、応答R1を返
送する。応答R1は回線6、回線制御部33、内部バス
34を介しプロセッサ30へ与えられ、正常受信を検知
する。
(2) As a result, for example, the terminal 5a is designated, and (1) when the frame worth of transfer data is normally received, a response R1 is sent back. The response R1 is given to the processor 30 via the line 6, line control section 33, and internal bus 34, and normal reception is detected.

■ そして、プロセッサ30は、共通バス制御部31よ
り共通バス24を介しメモリ2のバッファaのスティタ
スエリアにデータ転送正常終了をDMAモードでライト
する。
(2) Then, the processor 30 writes a normal end of data transfer to the status area of the buffer a of the memory 2 via the common bus 24 from the common bus control unit 31 in the DMA mode.

■ 更に、プロセッサ30は共通バス制御部31より共
通バス4を介しメインプロセッサlに割込み通知し、1
フレーム分の転送を完了する。メインプロセッサ1はメ
モリ2のバッファaのスティタスエリアの内容をみて、
データ転送が正常に完了したことを検知する。
■Furthermore, the processor 30 notifies the main processor l of an interrupt via the common bus 4 from the common bus control unit 31, and
Completes frame transfer. Main processor 1 looks at the contents of the status area of buffer a in memory 2, and
Detects successful completion of data transfer.

このように、従来のデータ転送制御では、■フレーム分
の転送に1コマンド(制御指示情報)が相当していた。
In this way, in conventional data transfer control, one command (control instruction information) corresponds to the transfer of one frame.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このため、従来の方式では、メインプロセッサ1からの
割込み、コマンドのDMAリード、データのDMAリー
ド、スティタスのDMAライト及びメインプロセッサl
への割込みというシーケンスで1フレーム分の転送が完
了するため、1フレーム分の転送に割込み2回、DMA
3回というメインプロセッサ1及び回線制御チャネル3
の処理量を要していた。
Therefore, in the conventional method, interrupts from the main processor 1, command DMA read, data DMA read, status DMA write, and main processor l
The transfer of one frame is completed in the sequence of interrupting the DMA.
3 times main processor 1 and line control channel 3
This required a large amount of processing time.

一方、イメージ等の多量なデータを転送するには、1フ
レームでは済まず複数フレームに分けて転送する必要が
ある。
On the other hand, in order to transfer a large amount of data such as an image, it is not enough to transfer it in one frame, but it is necessary to divide it into multiple frames and transfer it.

従って、従来の転送制御方式では、前述のlフレーム分
の処理量のフレーム数倍必要とし、高速なデータ転送が
できず、回線のスループットが限られるという問題があ
った。
Therefore, in the conventional transfer control system, the number of frames is required to be multiplied by the amount of processing for one frame described above, and there is a problem that high-speed data transfer is not possible and the throughput of the line is limited.

これに対し、1コマンド1フレームに対し、コマンドチ
ェーン方式を用いてメインプロセッサ1の1フレーム転
送毎の割込みを減少させる方式も考えられるが、DMA
の数が減らないため、それ程の処理量の減少が得られず
、同様の問題が生じる。
On the other hand, a method can be considered in which the main processor 1 uses a command chain method to reduce the number of interrupts for each frame transfer for one command, one frame.
Since the number of ``processing'' is not reduced, the amount of processing cannot be reduced to that extent, and a similar problem occurs.

本発明は、データ転送に要する処理量を大幅に減少し、
回線のスルーブツトを向上させることのできるデータ転
送制御方式を提供することを目的とする。
The present invention significantly reduces the amount of processing required for data transfer,
The purpose of this invention is to provide a data transfer control method that can improve line throughput.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

本発明は、従来の1コマンド(制御指示情報)に対して
1フレームの転送という制約を取り除き1コマンドで複
数フレームの転送をできるようにしたことを基本として
いる。
The present invention is based on removing the conventional restriction of transferring one frame for one command (control instruction information) and making it possible to transfer a plurality of frames with one command.

例えばバッファb、c、d、eの4フレーム分の転送を
行うには、コマンドは、従来通りバッファaに1個セッ
トするが、各バッファb、c、d、eには送信データに
送信データ間(バッファ間)のチェーン状態を示すチェ
ーン情報cb、cc、cd、ceを付加して格納するよ
うにしている。
For example, to transfer 4 frames of buffers b, c, d, and e, one command is set in buffer a as before, but each buffer is Chain information cb, cc, cd, and ce indicating the chain status between buffers (between buffers) is added and stored.

そして前述の回線制御チャネル3がバッファaのコマン
ドを読出し、解読して該バッファbの内容を読出してそ
の送信データより1フレームのデータ転送後、付加され
たチェーン情報cbを解読し、次に転送すべき送信デー
タのバッファCを得て、ハ゛ソファCの内容を読出し1
フレームのデータ転送し、以降同様にしてバッファd、
eの内のフレーム転送を行うようにしている。
Then, the aforementioned line control channel 3 reads the command in buffer a, decodes it, reads out the contents of buffer b, transfers one frame of data from the transmitted data, decodes the added chain information cb, and then transfers the command. Obtain the buffer C of the transmission data to be sent, read the contents of the high sofa C1
Transfer the data of the frame, and then do the same in the buffer d,
The frame is transferred within e.

〔作用〕[Effect]

本発明では、メインプロセッサ1がコマンドをバッファ
aにセットした後は、回線制御チャネルがバッファbの
読出し転送後チェーン情報に基きバッファc、d、eと
次々と読出し転送を繰返すため、例えば4フレーム分転
送するのに割込み2回、DMA6回で済む。従来例では
、4フレーム分転送するのに割込み8回、DMA12回
を要し、コマンドチェーンしても、割込み2回、DMA
 12回のため、大幅な処理量の減少が得られ、回線の
スループットの向上が可能となる。
In the present invention, after the main processor 1 sets a command to buffer a, the line control channel repeats reading and transferring to buffers c, d, and e one after another based on the chain information after reading and transferring buffer b, for example, 4 frames. It only takes 2 interrupts and 6 DMAs to transfer the amount. In the conventional example, it takes 8 interrupts and 12 DMAs to transfer 4 frames, and even with command chaining, it takes 2 interrupts and 12 DMAs.
Because the number of times is 12, the amount of processing can be significantly reduced, and the throughput of the line can be improved.

〔実施例〕〔Example〕

第2図は本発明の一実施例構成図、第3図は第2図にお
けるデータバッファの構成図である。
FIG. 2 is a configuration diagram of an embodiment of the present invention, and FIG. 3 is a configuration diagram of a data buffer in FIG. 2.

図中、第6図及び第1図で示したものと同一のものは同
一の記号で示してあり、CFAはチェーンエリアであり
、各データバッファb、c、d、eに設けられるもので
あり、次バッファとのチェーンの有無を示すチェーン指
定フラグCFと、次チェーンバッファの先頭アドレスC
Aと次バッファのレングスLとが格納されるもの、DA
は送信データエリアであり、各データバッファbSc、
d、eに設けられ、1フレームで送信すべき送信データ
SDを格納するものである。従って、デ−タバソファと
して用いられているバッファb、c、d、eは、チェー
ンエリアCFAと、送信データエリアDAとで構成され
ており、且つ回線制御チャネル3のプロセッサ30はブ
ロックb、c、d。
In the figure, the same parts as those shown in Fig. 6 and Fig. 1 are indicated by the same symbols, and CFA is a chain area provided in each data buffer b, c, d, and e. , a chain designation flag CF indicating whether there is a chain with the next buffer, and the start address C of the next chain buffer.
A and the length L of the next buffer are stored, DA
is the transmission data area, and each data buffer bSc,
d and e to store transmission data SD to be transmitted in one frame. Therefore, buffers b, c, d, and e used as data buffer sofas are composed of a chain area CFA and a transmission data area DA, and the processor 30 of the line control channel 3 is composed of blocks b, c, d.

eを読出した時にチェーンエリアCFAの内容を分離し
てチェーン情報の解析を行う機能を有している。
It has a function to separate the contents of the chain area CFA and analyze the chain information when e is read.

次に、第2図及び第3図の実施例構成の動作について第
4図転送動作説明図及び第5図転送シーケンス説明図を
用いて説明する。ここで、データバッファb、c、dX
eの4フレーム分の転送を行う例について説明する。
Next, the operation of the embodiment configuration shown in FIGS. 2 and 3 will be explained with reference to FIG. 4, a transfer operation explanatory diagram, and FIG. 5, a transfer sequence explanatory diagram. Here, data buffers b, c, dX
An example in which four frames of e are transferred will be explained.

■ メインプロセッサ1は転送に当って、主記憶メモリ
2に第6図(B)の制御指示情報(コマンド)をバッフ
ァaに用意する。バッファaの制御指示情報は第6図(
B)の如く、データ送信コマンドと、転送すべき端末ア
ドレス八と、送信データの先頭アドレス(この例ではバ
ッファbの先頭アドレス)と、送信レングス(バッファ
bのレングス)と、スティタス(後述の転送完了時に用
いられる)とで構成され、メインプロセッサ1ばバッフ
ァb −eの内容を転送するに際し、バッファaにステ
ィタス以外の制御指示情報を共通バス4を介しセントす
る。
(2) At the time of transfer, the main processor 1 prepares the control instruction information (command) shown in FIG. 6(B) in the main memory 2 in the buffer a. The control instruction information for buffer a is shown in Figure 6 (
B), the data send command, the terminal address to be transferred, the start address of the send data (in this example, the start address of buffer b), the send length (length of buffer b), and the status (transfer When the main processor 1 transfers the contents of the buffers b-e, the main processor 1 sends control instruction information other than status to the buffer a via the common bus 4.

次に、メインプロセッサlは、予じめ用意されているデ
ータバッファb z eの各チェーンエリアCFAにチ
ェーン情報を共通バス4を介してセットする。例えば、
データバッファb、、c、dのチェーン指定フラグCF
にはチェーン有りの“1”、データバッファeのチェー
ン指定フラグCFにはチェーン無しの“0”、データバ
ッファb、c、dの次チェーンアドレスCAには各々デ
ータバッファc、d、eの先頭アドレスを、データバッ
ファb、c、、dの次バッファレングスしには、各々デ
ータバッファc、d、、eのレングスをセントする。
Next, the main processor 1 sets chain information in each chain area CFA of the data buffer b z e prepared in advance via the common bus 4 . for example,
Chain specification flag CF for data buffers b, c, d
is "1" indicating that there is a chain, the chain specification flag CF of data buffer e is "0" indicating that there is no chain, and the next chain address CA of data buffers b, c, and d is the beginning of data buffers c, d, and e, respectively. To set the address to the next buffer length of data buffers b, c, ..d, write the length of data buffers c, d, .e, respectively.

このようにしてデータバッファbXc、d、eにはb 
−e c→d→eの順でチェーン構成がなされる。
In this way, data buffers bXc, d, and e have b
-e A chain configuration is made in the order of c→d→e.

■ 次に、メインプロセッサ1は共通バス4を介し回線
制御チャネル3に対し割込みを行いコマンド起動する。
(2) Next, the main processor 1 interrupts the line control channel 3 via the common bus 4 and activates a command.

このコマンドにはバッファaの先頭アドレスが含まれる
This command includes the start address of buffer a.

■ これによって回線制御チャネル3は動作の起動が行
われ、共通バス制御部31、内部バス34を介してプロ
セッサ30がこのコマンドを解読し、共通バス制御部3
1より与えられたバッファaの先頭アドレスから共通バ
ス4を介しDMA (Direct Access M
ode)モードで主記憶メモリ2のバッファaの内容を
読出し、共通バス制御部31を介しローカルメモリ32
へ格納後解読を行う。
■ As a result, the line control channel 3 starts operating, and the processor 30 decodes this command via the common bus control unit 31 and internal bus 34, and the common bus control unit 3
DMA (Direct Access M
ode) mode, the contents of the buffer a of the main memory 2 are read out and transferred to the local memory 32 via the common bus control unit 31.
It is decoded after being stored in .

プロセッサ3はこのバッファaの内容の解読によってデ
ータ送信が命じられ、転送先は端末Aであり、バッファ
bの格納域、長さも、先頭アドレス、送信レングスより
知ることができる。
Processor 3 is instructed to transmit data by decoding the contents of buffer a, and the transfer destination is terminal A, and the storage area and length of buffer b can also be known from the start address and transmission length.

■ 次に、プロセッサ30は共通バス制御部31より与
えられた先頭アドレス(この例ではバッファbの先頭ア
ドレス)から送信レングス分共通パス4を介しDMAモ
ードで主記憶メモリ2のバッファbの内容を読出し、共
通制御部31を介しローカルメモリ32へ格納する。
■ Next, the processor 30 reads the contents of buffer b of the main memory 2 in DMA mode via the common path 4 for the transmission length from the start address given by the common bus control unit 31 (in this example, the start address of buffer b). The data is read out and stored in the local memory 32 via the common control unit 31.

■ 更に、プロセッサ30は第7図の如く、バッファb
の送信データより1フレームを編集し、回線制御部33
より回線6へ1フレーム分のデータを送信する。
■Furthermore, the processor 30, as shown in FIG.
Edit one frame from the transmission data of
1 frame of data is sent to line 6.

■ これによって、例えば端末5aが指定され、lフレ
ーム分の転送データを正常に受信すると、応答R1を返
送する。応答R1は回線6、回線制御部33、内部バス
34を介しプロセッサ30へ与えられ、フレーム1の正
常受信を検知する。
(2) As a result, when the terminal 5a is designated, for example, and successfully receives transfer data for one frame, it returns a response R1. The response R1 is given to the processor 30 via the line 6, line control section 33, and internal bus 34, and normal reception of frame 1 is detected.

■ 次に、プロセッサ30はローカルメモリ32のバッ
ファbのチェーンエリアCFAの内容を解析し、チェー
ン指定フラグCFよりチェーンの有無を調べ、チェーン
有を検知し、次チェーンアドレスCAを先頭アドレスと
し、次バッファレングスLをレングスとしてステップ■
と同様にして、DMAモードで主記憶メモリ2のバッフ
ァCの内容を読出し、ローカルメモリ32へ格納する。
■ Next, the processor 30 analyzes the contents of the chain area CFA of the buffer b of the local memory 32, checks whether there is a chain based on the chain designation flag CF, detects the presence of a chain, sets the next chain address CA as the first address, and sets the next chain address CA as the first address. Step with buffer length L as length■
Similarly, the contents of the buffer C of the main memory 2 are read out in the DMA mode and stored in the local memory 32.

■ ステップ■と同様、プロセッサ3oはバッファCの
送信データを用いて1フレームを編集し、回線制御部3
3より回線6へ2フレーム目のデータを送信する。
■ Similar to step ■, the processor 3o edits one frame using the transmission data in the buffer C, and
3 transmits the second frame data to line 6.

■ ステップ■と同様にして端末5aが正常受信すると
、その応答R2によってプロセッサ30はこれを検知す
る。
(2) When the terminal 5a normally receives the signal in the same way as in step (2), the processor 30 detects this based on the response R2.

[相] 次に、プロセッサ30はステ・ノブ■と同様に
ローカルメモリ32のバッファCのチェーンエリアCF
Aを解析し、その次チェーンアドレスCAを先頭アドレ
スとし、その次バ・ノファレングスLをレングスとして
ステップ■、■と同様にして、DMAモードで主記憶メ
モリ2のバ・ノファdの内容を読出し、ローカルメモリ
32へ格納する。
[Phase] Next, the processor 30 processes the chain area CF of the buffer C of the local memory 32 in the same way as Ste.
Analyze A, then set the chain address CA as the first address, set the next chain address CA as the length, and read out the contents of bar d in the main memory 2 in the DMA mode in the same manner as in steps ■ and ■. Store it in the local memory 32.

■ ステップ■、■と同様、プロセ・ノサ30はバッフ
ァdの送信データを用いて1フレームを編集し、回線制
御部33より回線6へ3フレーム目のデータを送信する
(2) Similar to steps (2) and (2), the processor 30 edits one frame using the transmission data in the buffer d, and transmits the third frame data to the line 6 from the line control unit 33.

@ ステップ■、■と同様にして端末5aが正常受信す
ると、その応答R3によってプロセ・ノサ30はこれを
検知する。
@ When the terminal 5a receives the signal normally in the same way as in steps (2) and (2), the processor 30 detects this based on the response R3.

0 ステップ■、[相]と同様にプロセ・ノサ30は、
ローカルメモリ32のバッファdのチェーンエリアCF
Aを解析し、その次チェーンアドレスCAを先頭アドレ
スとし、その次バッファレングスLをレングスとしてス
テップ■、■、[相]と同様にして、DMAモードで主
記憶メモリ2のバッファeの内容を読出し、ローカルメ
モリ32へ格納する。
0 Similar to Step ■, [Phase], Proce Nosa 30 is
Chain area CF of buffer d in local memory 32
Analyze A, then read the contents of buffer e in main memory 2 in DMA mode using chain address CA as the first address and buffer length L as the length in the same manner as in steps ■, ■, [phase]. , and stored in the local memory 32.

■ ステップ■、■、■と同様、プロセッサ30はバッ
ファeの送信データを用いて1フレームを編集し、回線
制御部33より回線6へ4フレーム目のデータを送信す
る。
(2) Similar to steps (2), (2), and (2), the processor 30 edits one frame using the transmission data in the buffer e, and transmits the fourth frame data to the line 6 from the line control unit 33.

[相] ステップ■、■、@と同様にして端末5aが正
常受信すると、その応答R4によってプロセッサ30は
これを検知する。
[Phase] When the terminal 5a receives the signal normally in the same way as in steps ①, ①, and @, the processor 30 detects this based on the response R4.

[相] ステップ■、[相]、■と同様にプロセッサ3
0は、ローカルメモリ32のパ゛ソファeのチェーンエ
リアCFAを解析し、チェーン無を検出すると、プロセ
ッサ30は共通ハス制御部31より共通バス4を介しメ
モリ2のバッファaのスティタスエリアにデータ転送正
常終了をDMAモードでライトする。
[Phase] Similar to step ■, [phase], ■, processor 3
0 analyzes the chain area CFA of the buffer e in the local memory 32, and when detecting the absence of a chain, the processor 30 transfers data from the common bus control unit 31 to the status area of the buffer a in the memory 2 via the common bus 4. Write normal completion in DMA mode.

■ 更に、プロセッサ30は、共通パス制御部31より
共通バス4を介しメインプロセッサ1に割込み通知し、
4フレーム分の転送を完了する。
■Furthermore, the processor 30 notifies the main processor 1 of an interrupt via the common bus 4 from the common path control unit 31,
Transfer of 4 frames is completed.

メインプロセッサlはメモリ2のバッファaのスティタ
スエリアの内容をみて、データ転送が正常に完了したこ
とを検知する。
The main processor l looks at the contents of the status area of the buffer a of the memory 2 and detects that the data transfer has been completed normally.

このようにして、主記憶メモリ2のバッファb、c、d
、eの4フレーム分のデータを転送するに当り、メイン
プロセッサlはバッファaに1ケの制御指示情報をセッ
トし、バッファb、c、d、eのチェーンエリアに転送
順とバッファのつながり(チェーン状態)をセットし、
回線制御チャネル3を起動すれば、回線制御チャネル3
が、主記憶メモリ2のバッファaの内容を読出し、解読
し、転送指示を検知し、主記憶メモリのバッファbを読
出し、バッファbの内容を1フレーム目として転送後、
バッファbのチェーン情報より次転送データのバッファ
を知り、バッファCを読出し2フレーム目として転送し
、以降同様にしてバッファd、eを読出し3フレーム目
、4フレーム目として転送するようにし、バッファaの
スティタスに転送完了を書込み転送動作を終了し、メイ
ンプロセッサに割込みを通知するようにしている。
In this way, the buffers b, c, d of the main memory 2
, e, main processor l sets one piece of control instruction information in buffer a, and stores the transfer order and buffer connections ( chain condition),
If line control channel 3 is started, line control channel 3
reads the contents of buffer a of main memory 2, decodes it, detects a transfer instruction, reads buffer b of main memory 2, and transfers the contents of buffer b as the first frame.
The buffer for the next transfer data is known from the chain information of buffer b, and buffer C is read and transferred as the second frame. Thereafter, buffers d and e are similarly read and transferred as the third and fourth frames. The transfer completion is written to the status of the controller, the transfer operation is ended, and an interrupt is notified to the main processor.

この送信データはコントローラCTに設けられた図示し
ない外部記憶装置やホストコンピュータより得て、主記
憶メモリ2にセントされる。
This transmission data is obtained from an external storage device (not shown) provided in the controller CT or a host computer, and is stored in the main memory 2.

上述の実施例では4フレーム分の転送を例に説明したが
、複数フレーム分の転送であればよく、またチェーン情
報の構成も実施例に限られない。
In the above-described embodiment, the transfer of four frames was explained as an example, but the transfer of a plurality of frames may be sufficient, and the structure of the chain information is not limited to the embodiment.

以上本発明を一実施例により説明したが、本発明は本発
明の主旨に従い種々の変形が可能であり、本発明からこ
れらを排除するものではない。
Although the present invention has been described above using one embodiment, the present invention can be modified in various ways according to the gist of the present invention, and these are not excluded from the present invention.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明によれば、複数フレーム分の
データ転送に要する処理量を大幅に減少しうるという効
果を奏し、従って回線のスルーブツトが大幅に向上する
という効果も奏する。特に、LANにおいて多量のイメ
ージ情報を高速転送でき、受信側の待ち時間も大幅に減
少する。
As described above, according to the present invention, the amount of processing required to transfer data for a plurality of frames can be significantly reduced, and the throughput of the line can therefore be significantly improved. In particular, a large amount of image information can be transferred at high speed over a LAN, and the waiting time on the receiving side is also significantly reduced.

又、そのための構成もデータのチェーンを行えばよく、
容易にしかも安価に係る機能を実現できるという実用上
優れた効果も奏する。
Also, the configuration for this can be done by chaining the data,
It also has the advantageous practical effect of being able to realize functions easily and at low cost.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例ブロック図、第3図は第2図
構成のデータバッファの構成図、第4図は第2図構成の
転送動作説明図、第5図は第2図構成の転送シーケンス
説明図、第6図はデータ転送システムの構成図、第7図
はフレームのフォーマントtit 成因、第8図は従来
のデータ転送動作説明図である。 図中、 CT−−コントローラ、 l−メインプロセッサ、 2−主記憶メモリ、 3−回線制御チャネル、 5a、5b一端末、 6−回線、 a、b、、cXd、e−バッファ、 cb、ccX cd、ce−チェーン情報。
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a configuration diagram of the data buffer configured in Fig. 2, and Fig. 4 is a transfer operation of the configuration in Fig. 2. FIG. 5 is an explanatory diagram of the transfer sequence of the configuration shown in FIG. 2, FIG. 6 is a diagram of the configuration of the data transfer system, FIG. 7 is a frame format diagram, and FIG. 8 is an explanatory diagram of conventional data transfer operation. It is. In the figure, CT--controller, l-main processor, 2-main memory, 3-line control channel, 5a, 5b one terminal, 6-line, a, b,, cXd, e-buffer, cb, ccX cd. , ce-chain information.

Claims (1)

【特許請求の範囲】 メインプロセッサと、 制御指示情報と送信すべきデータとが格納されるメモリ
と、 該メインプロセッサによって起動され該メモリの制御指
示情報を読出して解読し、該メモリの送信データを読出
し、フレーム単位に回線へ送信データを転送する回線制
御チャネルとを有し、該メモリに1フレーム分に相当す
る該送信データにチェーン情報を付加して複数格納し、
該回線制御チャネルが該制御指示情報の解読によって該
メモリの送信データを読出し、フレーム単位に該回線に
転送後該読出した送信データに付加された該チェーン情
報により該メモリの次に転送すべき送信データを読出し
てフレーム単位に該回線に転送することを特徴とするデ
ータ転送制御方式。
[Scope of Claims] A main processor, a memory in which control instruction information and data to be transmitted are stored, and a memory activated by the main processor to read and decode the control instruction information in the memory and to transmit data to be transmitted in the memory. a line control channel for reading and transmitting transmission data to the line in frame units, and storing a plurality of pieces of transmission data corresponding to one frame with chain information added to the memory;
The line control channel reads the transmission data from the memory by decoding the control instruction information, transfers it to the line frame by frame, and then determines the next transmission from the memory based on the chain information added to the read transmission data. A data transfer control method characterized by reading data and transferring it to the line in units of frames.
JP60019756A 1985-02-04 1985-02-04 Data transfer control system Pending JPS61180353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60019756A JPS61180353A (en) 1985-02-04 1985-02-04 Data transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60019756A JPS61180353A (en) 1985-02-04 1985-02-04 Data transfer control system

Publications (1)

Publication Number Publication Date
JPS61180353A true JPS61180353A (en) 1986-08-13

Family

ID=12008188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60019756A Pending JPS61180353A (en) 1985-02-04 1985-02-04 Data transfer control system

Country Status (1)

Country Link
JP (1) JPS61180353A (en)

Similar Documents

Publication Publication Date Title
JP3481308B2 (en) Interface device, data transfer system and data transfer method
JPH0243652A (en) Data transfer system
JPS61180353A (en) Data transfer control system
JPH04177445A (en) Descriptor control system
US8054857B2 (en) Task queuing methods and systems for transmitting frame information over an I/O interface
JPS63293657A (en) Serial communication controller
JPH01140276A (en) Portable recording medium processor
JPH069036B2 (en) I / O controller
JPS6253046A (en) Communication equipment for data of industrial robot
JP2636206B2 (en) Information processing system
JP2004054419A (en) Inter-node transaction processor
JPS6245575B2 (en)
JPS6057453A (en) Data processing system
JPS6198469A (en) Inter-microprocessor communications system
JPS59165165A (en) Fast input and output processing system
JPH041819A (en) Data block controller
JPH0249584B2 (en)
JPS61153770A (en) Image processor
JPS5953929A (en) Data transfer device
JPH01158554A (en) Data processing system providing dma device
JPS58213336A (en) Communication controller
JPH0628301A (en) Direct memory access circuit
JPH05204829A (en) Data transfer device
JPS61202256A (en) Channel trouble processing system
JPS6310257A (en) Channel control system