JPH0353736A - Reception buffer control system - Google Patents

Reception buffer control system

Info

Publication number
JPH0353736A
JPH0353736A JP1189467A JP18946789A JPH0353736A JP H0353736 A JPH0353736 A JP H0353736A JP 1189467 A JP1189467 A JP 1189467A JP 18946789 A JP18946789 A JP 18946789A JP H0353736 A JPH0353736 A JP H0353736A
Authority
JP
Japan
Prior art keywords
buffer
data
reception buffer
register
reception
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
JP1189467A
Other languages
Japanese (ja)
Inventor
Masaaki Chinju
鎮守 正昭
Shinichi Tamada
玉田 眞一
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.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP1189467A priority Critical patent/JPH0353736A/en
Publication of JPH0353736A publication Critical patent/JPH0353736A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the data transfer without interrupting a midway data transfer by detecting it that a reception buffer residual quantity is a specified value or below and implementing the acquisition processing of the succeeding reception buffer in advance. CONSTITUTION:An address counter of a DMA control circuit 14 is counted up, a range counter is counted down and a transfer buffer residual quantity detection circuit 13 is counted down at every DMA transfer between a general- purpose receiver/transmitters(URT) 17, 18, 19, 20 and a memory section 4, and when the transfer buffer residual quantity detection circuit 13 detects the end of transfer by a byte number being a half of the reception buffer length, a LA control circuit 15 receives an instruction, a succeeding reception buffer address is set to an address register 11 and a reception buffer length is set to a range register 12 via a data bus 51. Thus, the transfer of the data from the URT 17, 18, 19, 20 to the memory section 4 is continued.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は通信制御装置に於ける受信バッファ制御方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a reception buffer control method in a communication control device.

〔従来の技術〕[Conventional technology]

従来の通信制御装置に於ては、回線からの受信データを
メモリ部へ転送するために、受信データバッファの先頭
アドレス及び受信バッファ長を回線制御部内のレジスタ
へ設定するのが、受信動作起動時と転送中の受信バッフ
ァの残量がゼロになったときであった。
In conventional communication control devices, in order to transfer the received data from the line to the memory unit, the start address and receive buffer length of the receive data buffer are set in a register in the line control unit at the time of starting the receive operation. This happened when the remaining capacity of the receive buffer during transfer became zero.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の通信制御装置に於では、受信データが受
信データバッファ長より大きい場合には、受信バッフ7
残量がゼロであることを検出して、次の受信バッファの
確保処理を行ない、アドレスレジスタ及びレンジレジス
タへの格納を行なうまでの間は、回線制御部からメモリ
部への転送動作が中断するためにオーバランが起こりや
すいという欠点があった。
In the conventional communication control device described above, when the received data is larger than the receive data buffer length, the receive buffer 7
The transfer operation from the line control unit to the memory unit is interrupted until it is detected that the remaining capacity is zero, the next receive buffer is secured, and the data is stored in the address register and range register. This has the disadvantage that overruns are likely to occur.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の受信バッファ制御方式の構成は、プロセッサ部
と、上位インタフェース部と、回線制御部と、メモリ部
から構成される通信制御装置に於て、複数個の受信デー
タバッファの先頭アドレス及び受信バッファ長を格納す
るアドレスレジスタ及びレンジレジスタと、回線制御部
からメモリ部へ転送中の受信バッファの残量を示す転送
中バッファ残量検出回路を有し、転送中の受信バッファ
の残量が規定値以下を検出すると、次の受信バッファの
確保処理を行ない、上記アドレスレジスタ及びレンジレ
ジスタへの格納を行ない、転送中の受信バッファの残量
がゼロを検出すると、次の受信ハッファを示す上記アド
レスレシスタ及びレンジレジスタの内容を使用して、回
線制御部からメモリ部への転送を継続することを特徴と
し、プロセッサ部と上位インタフェース部と回線制御部
とメモリ部から構成される通信制御装置に於いて、受信
データに付加されている受信バッファ長を一時記憶する
手段と、受信バッファの確保処理をおこなって確保した
受信データハッファの先頭アドレスと受信バッファ長を
複数保持する手段と、受信データに付加されている受信
バッファ長と確保した受信バッファ長とを比較する手段
と、受信データに付加された受信バッファ長と確保した
受信ハッファ長の合計が等しいかあるいは受信バッファ
長の方が小さくなるまで受信バッファを確保する手段を
有する。
The configuration of the reception buffer control method of the present invention is such that a communication control device including a processor section, a higher-level interface section, a line control section, and a memory section controls the start address of a plurality of reception data buffers and the reception buffer. It has an address register and a range register that store the length, and a transfer buffer remaining amount detection circuit that indicates the remaining amount of the receive buffer during transfer from the line control section to the memory section, and the remaining amount of the receive buffer during transfer is a specified value. When the following is detected, the next receive buffer is secured and stored in the above address register and range register, and when the remaining capacity of the receive buffer during transfer is detected to be zero, the above address receiver indicating the next receive buffer is The present invention is characterized in that the contents of the star and range registers are used to continue the transfer from the line control unit to the memory unit, and the communication control device consists of a processor unit, a higher-level interface unit, a line control unit, and a memory unit. means for temporarily storing the receive buffer length added to the received data, means for holding multiple start addresses and receive buffer lengths of the received data huffer secured by performing the process of securing the receive buffer, and a means for temporarily storing the receive buffer length added to the received data; A means for comparing the added receive buffer length and the secured receive buffer length until the sum of the receive buffer length added to the received data and the secured receive huffer length is equal or the receive buffer length is smaller. It has means for securing a reception buffer.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第l図は第1の発明の一実施例を示すブロック図である
FIG. 1 is a block diagram showing an embodiment of the first invention.

回線制御部1はアドレスレジスタ11とレンジレジスタ
12の転送中バッファ残量検出回路13とDMA制御回
路l4とLA制御回路l5とLAデータレジスタ16及
び汎用レシーバ/トランスミッタ(URT)17.18
,19.20から構成される。
The line control unit 1 includes an address register 11, a range register 12, a transfer buffer remaining amount detection circuit 13, a DMA control circuit 14, an LA control circuit 15, an LA data register 16, and a general-purpose receiver/transmitter (URT) 17.18.
, 19.20.

プロセッサ部2は通信制御装置全体の制御を行なうブロ
ック、上位バスインタフェース部3は通信制御装置と上
位のホストコンピュータとのインタフェースを制御する
ブロック、メモリ部4は通信制御装置を制御するための
ファームウェアと制御テーブル及び送信データ/受信デ
ータが格納されるメモリである。
The processor section 2 is a block that controls the entire communication control device, the upper bus interface section 3 is a block that controls the interface between the communication control device and the upper host computer, and the memory section 4 is a block that controls the communication control device. This is a memory in which control tables and transmission data/reception data are stored.

アドレスレジスタ11はメモリ部に割当てられる送信バ
ッファ及び受信バッファの先頭アドレスヲ格納スる4個
のレジスタ、レンジレジスタ12は送信バッファ及び受
信バッファのバッファ長が格納される4個のレジスタで
ある。転送中バッファ残量検出回路13はDMA転送開
始時に転送を行なうバッファ長の172の値がセットさ
れ、メモリ部との転送を行なうごとにカウントダウンし
バッファ長の1/2のバイト数の転送が終了したことを
検出する回路である。
The address registers 11 are four registers that store the start addresses of the transmit and receive buffers assigned to the memory section, and the range registers 12 are four registers that store the buffer lengths of the transmit and receive buffers. The transfer buffer remaining amount detection circuit 13 is set to a value of 172, which is the buffer length to be transferred at the start of DMA transfer, and counts down every time a transfer is performed with the memory section, and the transfer of 1/2 the number of bytes of the buffer length is completed. This is a circuit that detects when something happens.

DMA制御回路14はプロセッサ部2を介さないで直接
メモリ部4とLAデータレジスタ16との間でデータバ
ス5lを通してデータ転送させる為の受信アドレスカウ
ンタおよびレンジカウンタを含む制御回路である。
The DMA control circuit 14 is a control circuit including a reception address counter and a range counter for directly transferring data between the memory section 4 and the LA data register 16 via the data bus 5l without going through the processor section 2.

LAデータレジスタ16は汎用レシーバ/}・ランスミ
yタ(URT)1 7.1 8,1 9.2 0のパラ
レルデータを一時蓄積しておくデータバッファ回路であ
る。
The LA data register 16 is a data buffer circuit that temporarily stores parallel data of the general-purpose receiver/transmitter (URT) 1 7.1 8, 1 9.2 0.

汎用レシーバ/トランスミッタ(URT)17,18,
19.20は回線からのシリアルデータなパラレルデー
タに変換したり、電送制御キャラクタの検出を行う汎用
レシーバ/トランスミッタである。
General purpose receiver/transmitter (URT) 17, 18,
19.20 is a general-purpose receiver/transmitter that converts serial data from a line into parallel data and detects transmission control characters.

かかる構成の動作を以下に説明する。The operation of such a configuration will be explained below.

上位バスインタフェース部3によってアドレスバス52
とデータバス51を介してメモリ部4に通信制御装置を
制御するためのファームウェアが格納されている。
The address bus 52 is connected to the address bus 52 by the upper bus interface section 3.
Firmware for controlling the communication control device is stored in the memory section 4 via the data bus 51.

ホストコンピュータより受信コマンドが発行さレ上位ハ
スインタフェース部3,データバス5lを通してメモリ
部4に転送され、メモリ部4に格納されるファームウェ
アによって解読される。LA制御回路15、URT17
,18,19.20およびDMA制御回路l4の初期設
定をメモリ部4に格納されているファイルとプロセッサ
部2によって行ない、回線からのデータを受信可能とす
る。
A reception command is issued by the host computer, transferred to the memory section 4 through the host interface section 3 and the data bus 5l, and decoded by firmware stored in the memory section 4. LA control circuit 15, URT17
, 18, 19, 20 and the DMA control circuit 14 are initialized using files stored in the memory section 4 and the processor section 2, thereby making it possible to receive data from the line.

初期設定の時に、メモリ部4に格納されている受信バッ
ファの先頭アドレスと受信バッファ長はデータバス51
,アドレスレジスタ11,レンジレジスタl2を介して
DMA制御回路l4の中にあるアドレスカウンタおよび
レンジカウンタにセットされる。
At the time of initial setting, the start address and receive buffer length of the receive buffer stored in the memory section 4 are determined by the data bus 51.
, address register 11, and range register l2 to the address counter and range counter in the DMA control circuit l4.

それと同時に、転送中バッファ残量検出回路13にレン
ジレジスタl2の値の1/2のバイト数をセットしてお
く。
At the same time, the number of bytes that is 1/2 of the value of the range register l2 is set in the transfer buffer remaining amount detection circuit 13.

回線から受信データが受信されるとシリアルデータはU
RT17,18,19.20によってパラレルに変換さ
れて、LAバス53を通してLAデータレジスタ16,
データバス51を介して、DMA制御回路l4にあるア
ドレスカウンタの出力受信ハッファのアドレスがアドレ
スバス52によって与えられた受信バッファアドレスに
データが書かれる。
When the receive data is received from the line, the serial data is
It is converted into parallel data by RT17, 18, 19.20 and sent to LA data register 16,
Data is written via the data bus 51 to the receive buffer address given by the address bus 52, which is the address of the output receive buffer of the address counter in the DMA control circuit l4.

この様にURT17.18.19.20とメモリ部4の
間でDMA転送されるたびに、DMA制御回路l4のア
ドレスカウンタをカウントアップ、レンジカウンタをカ
ウントダウンおよび転送中バッファ残量検出回路13を
カウントダウンさせる。転送中バッファ残量検出回路1
3は受信バッファ長の1/2のバイト数の転送が終了し
たことを検出すると、LA制御回路15に指示を出しL
A制御回路15はアドレスバス52を通して、次の受信
バッファアドレスをアドレスレジスタ11に受信バッフ
ァ長をデータバス51を介してレンジレジスタ12にセ
ットしておく。
In this way, each time a DMA is transferred between the URT 17, 18, 19, 20 and the memory section 4, the address counter of the DMA control circuit 14 is counted up, the range counter is counted down, and the transfer buffer remaining amount detection circuit 13 is counted down. let Buffer remaining amount detection circuit 1 during transfer
3, when it detects that the transfer of 1/2 bytes of the receive buffer length has been completed, it issues an instruction to the LA control circuit 15.
The A control circuit 15 sets the next reception buffer address in the address register 11 and the reception buffer length in the range register 12 through the data bus 51 through the address bus 52.

DMA制御回路l4のレンジカウンタがゼロになった場
合、メモリ部4に格納されている受信バッファの先頭ア
ドレスと受信バッファ長の確保動作をするのではなく、
受信バッファ長の1/2のバイト数の転送終了したこと
を検出して確保してきたアドレスレジスタl1とレンジ
レジスタ12にセットされている受信バッファの先頭ア
ドレスと受信バッファ長を、DMA制御回路14のアド
レスカウンタとレンジカウンタにセットすることにより
、URT17,18,19,20からのデータをLAバ
ス53,LAデータレジスタ14,データバス5lを介
してメモリ部4への転送を継続させる。
When the range counter of the DMA control circuit l4 reaches zero, instead of securing the start address and length of the receive buffer stored in the memory unit 4,
The DMA control circuit 14 uses the start address and receive buffer length of the receive buffer set in the address register l1 and range register 12, which have been secured by detecting the completion of transfer of 1/2 bytes of the receive buffer length. By setting the address counter and range counter, the data from the URTs 17, 18, 19, and 20 are continued to be transferred to the memory section 4 via the LA bus 53, LA data register 14, and data bus 5l.

次に、第2の発明について図面を参照して説明する。Next, the second invention will be explained with reference to the drawings.

第2図は第2の発明のブロック図である。FIG. 2 is a block diagram of the second invention.

回線制御部lはアドレスレジスタ1lとレンジレジスタ
12の受信バッファ長レジスタl6と確保受信バ,ファ
長レジスタ13と比較回路17とDMA制御回路14と
LA制御回路l5とLAデータレジスタl8及び汎用レ
シーバ/トランスミッタ(URT)1 9,20,21
.22から構成される。
The line control unit 1 includes an address register 1l, a reception buffer length register 16 of a range register 12, a secured reception buffer, a buffer length register 13, a comparison circuit 17, a DMA control circuit 14, an LA control circuit 15, an LA data register 18, and a general-purpose receiver/ Transmitter (URT) 1 9, 20, 21
.. Consists of 22.

プロセッサ部2は通信制御装置全体の制御を行うプロ,
ク、上位バスインタフェース部3は通信制御装置と上位
のホストコンピュータとのインタフェースを制御するブ
ロックメモリ部4は通信制御装置を制御するためのファ
ームウェアと制御テーブル及び送信データ/受信データ
が格納されるメモリである。
The processor section 2 is a professional processor that controls the entire communication control device.
The upper bus interface section 3 controls the interface between the communication control device and the upper host computer.The block memory section 4 is a memory in which firmware and control tables for controlling the communication control device and transmission data/reception data are stored. It is.

アドレスレジスタ11はメモリ部に割当てられる送信バ
ッファ及び受信バッファの先頭アドレスを格納する。特
に受信バッファの先頭アドレスは複数格納できる。レン
ジレジスタl2は送信バッファ及び受信バッファのバッ
ファ長を格納する。
The address register 11 stores the start addresses of the transmitting buffer and receiving buffer assigned to the memory section. In particular, multiple start addresses of the receive buffer can be stored. Range register l2 stores the buffer lengths of the transmit buffer and receive buffer.

特に受信バッファのバッファ長は複数格納できる。In particular, multiple buffer lengths can be stored in the receive buffer.

確保受信バッファ長レジスタ13は受信バッファ確保処
理で得たバッファ長の合計を格納しておくレジスタで、
受信バッファ長レジスタ16と比較回路17で比較され
る。
The reserved reception buffer length register 13 is a register that stores the total buffer length obtained in the reception buffer reservation process.
It is compared by the reception buffer length register 16 and the comparison circuit 17.

受信バッファ長レジスタ16は受信データに付加されて
いる受信バッファ長を格納するレジスタである。
The receive buffer length register 16 is a register that stores the receive buffer length added to received data.

比較回路17は確保受信バッファ長レジスタ13と受信
バッファ長レジスタl6とを比較する回路であり、確保
受信バッファ長レジスタl3と受信バッファ長レジスタ
16が等しくなるか、受信バッファ永レジスタl6の方
が小さくなるまで受信バッファの確保要求をLA制御回
路15に行う。
The comparison circuit 17 is a circuit that compares the secured reception buffer length register 13 and the reception buffer length register l6, and determines whether the secured reception buffer length register l3 and the reception buffer length register 16 are equal, or the reception buffer length register l6 is smaller. A request is made to the LA control circuit 15 to reserve a reception buffer until the time is reached.

DMA制御回路l4はプロセッサ部2を介さないで直接
メモリ部4とLAデータレジスタ18との間でデータバ
ス5lを通してデータ転送させる為の受信アドレスカウ
ンタおよびレンジカウンタを含む制御回路である。
The DMA control circuit 14 is a control circuit including a reception address counter and a range counter for directly transferring data between the memory section 4 and the LA data register 18 via the data bus 5l without going through the processor section 2.

LA制御回路は汎用レシーバ/トランスミッタ(URT
)19,20,21.22の制御およびバッファ確保処
理を行う制御回路である。
The LA control circuit is a general purpose receiver/transmitter (URT).
) 19, 20, 21, and 22 and performs buffer reservation processing.

LAデータレジスタl8は汎用レシーバ/トランスミッ
タ(URT)19,20,21.22のパラレルデータ
を一時蓄積してオ<テータハッファ回路である。
The LA data register 18 temporarily stores parallel data of the general-purpose receiver/transmitter (URT) 19, 20, 21, and 22, and is an amplifier huffer circuit.

汎用レシーバ/トランスミッタ(UR,T)19,20
,21,22は回線からのシリアルデータなパラレルデ
ータに変換したり伝送制御キャラクタの検出を行う汎用
レシーバ/トランスミッタである。
General purpose receiver/transmitter (UR, T) 19, 20
, 21 and 22 are general-purpose receiver/transmitters that convert serial data from a line into parallel data and detect transmission control characters.

かかる構戒の動作を以下に説明する。The operation of such a kangkai will be explained below.

上位バスインタフェース部3によってアドレスバス52
とデータバス51を介してメモリ部4に通信制御装置を
制御するためのファームウェアが格納されている。
The address bus 52 is connected to the address bus 52 by the upper bus interface section 3.
Firmware for controlling the communication control device is stored in the memory section 4 via the data bus 51.

ホストコンピュータより受信コマンドが発行されると、
本コマンドは上位バスインタフェース部3,データバス
5lを通してメモリ部4に転送されメモリ部4に格納さ
れるファームウェアによって解読される。LA制御回路
15、URT19,20,21.22およびDMA制御
回路14の初期設定をメモリ部4に格納されているファ
ームウェアとプロセッサ部2によって行い、回線からの
データを受信可能とする。
When a receive command is issued from the host computer,
This command is transferred to the memory section 4 through the upper bus interface section 3 and the data bus 5l, and is decoded by firmware stored in the memory section 4. The LA control circuit 15, the URTs 19, 20, 21.22, and the DMA control circuit 14 are initialized by the firmware stored in the memory section 4 and the processor section 2, and are enabled to receive data from the line.

初期設定時(受信起動時)にメモリ部4に格納されてい
る受信バッファの先頭アドレスと受信バッファ長をデー
タバス51を介してアドレスレジスタ11,レンジレジ
スタ12にセットすると共にDMA制御回路l4の中に
あるアドレスカウンタおよびレンジカウンタにセットす
る。この動作と同時に確保受信バッファ長レジスタl3
にセットする。
At the time of initial setting (when starting reception), the start address and reception buffer length of the reception buffer stored in the memory unit 4 are set in the address register 11 and range register 12 via the data bus 51, and also in the DMA control circuit l4. Set the address counter and range counter in . At the same time as this operation, receive buffer length register l3 is secured.
Set to .

受信データに付加されている受信バッファ長を受信バッ
ファ長レジスタ16にセットし、比較回路l7で比較し
、受信バッファ長レジスタの方が大きい場合、LA制御
回路に要求を出し、メモリ部に格納している受信バッフ
ァ先頭アドレスと受信ハッファ長をデータバス5lを通
してアドレスレジスタ11とレンジレジスタ12にセッ
トし、確保受信バッファ長レジスタ13の値に受信バッ
ファ長を加算する。
The receive buffer length added to the received data is set in the receive buffer length register 16 and compared in the comparison circuit 17. If the receive buffer length register is larger, a request is sent to the LA control circuit and the data is stored in the memory section. The receiving buffer head address and receiving buffer length are set in the address register 11 and range register 12 through the data bus 5l, and the receiving buffer length is added to the value of the secured receiving buffer length register 13.

受信バッフ7長レジスタ16の値が小さいか、等しくな
るまで受信バッファの確保動作を行い、アドレスレジス
タ11とレンジレジスタl2にセットしておく。
The receiving buffer is secured until the value in the receiving buffer 7 length register 16 is smaller or equal to the value, and the data is set in the address register 11 and range register 12.

回線から受信データが受信されるとシリアルデータは、
URT19,20,21.22によってパラレル変換さ
れてLAバス53を通してLAデータレジスタ18、デ
ータバス51を介してDMA制御回路14にあるアドレ
スカウンタによって与えられた受信バッファアドレスに
データが書かれる。
When the receive data is received from the line, the serial data is
The data is parallel-converted by the URTs 19, 20, 21, and 22, and is written through the LA bus 53 to the LA data register 18, and then to the receive buffer address given by the address counter in the DMA control circuit 14 through the data bus 51.

この様にURT19,20,21.22とメモリ部4の
間でDMA転送されるたびに、DMA制御回路l4のア
ドレスカウンタをカウントアップ、レンジカウンタをカ
ウントダウンさせる。
In this manner, each time DMA transfer is performed between the URTs 19, 20, 21.22 and the memory unit 4, the address counter of the DMA control circuit 14 is counted up and the range counter is counted down.

もし、DMA制御回路l4のレンジカウンタがゼロにな
った場合、メモリ部4に格納されている受信ハッファの
先頭アドレスと受信バッファ長の確保動作するのではな
く、受信起動時にセットしてあるアドレスレジスタ11
とレンジレジスタ12の受信バッファ先頭アドレスと受
信ハッファ長をDMA制御回路l4のアドレスカウンタ
とレンジカウンタにセットすることにより、URT19
,20,21.22からのデータ.をLAバス53,L
Aデータレジスタ18,データバス51を介してメモリ
部への転送を継続させる。
If the range counter of the DMA control circuit l4 reaches zero, instead of securing the start address of the receive huffer and the receive buffer length stored in the memory unit 4, the address register set at the time of starting reception is used. 11
By setting the reception buffer start address and reception huffer length of the range register 12 to the address counter and range counter of the DMA control circuit l4,
Data from , 20, 21.22. LA bus 53,L
Transfer to the memory section via the A data register 18 and data bus 51 is continued.

〔発明の効果〕 以上説明したように第1の発明は、受信バッファ残量が
規定値以下であることを検出して次の受信バッファの確
保処理をあらかじめおこなうことによ9て、途中のデー
タ転送動作を中断することなくデータ転送ができるため
オーバランが起こりに<<、性能がアップできる効果が
ある。
[Effects of the Invention] As explained above, the first invention detects that the remaining amount of the reception buffer is less than a specified value and performs the process of securing the next reception buffer in advance. Since data can be transferred without interrupting the transfer operation, overruns are less likely to occur and performance can be improved.

また、第2の発明は、受信起動時に受信バッファを確保
する際、受信データに付加されている受信バッファ長と
確保した受信バッファ長の合計が等しいか確保した受信
バッファ長の合計が大きくなるまで繰り返し受信バッフ
ァを確保しているため、途中のデータ転送動作が中断す
ることなくデータ転送ができるので、オーバランが起こ
りにくく、性能がアップできる効果がある。
Further, in the second invention, when securing a reception buffer at the time of starting reception, the reception buffer length added to the reception data and the total of the secured reception buffer lengths are equal or until the total of the secured reception buffer lengths becomes larger. Since a repetitive reception buffer is secured, data transfer can be performed without interrupting the data transfer operation in the middle, so overruns are less likely to occur and performance can be improved.

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

第1図及び第2図は本発明の第1及び第2の実施例を示
すブロック図である。 l・・・・・・回線制御部、2・・・・・・フロセッサ
部、3・・・・・・上位バスインタフェース部、4・・
・・・・メモリL51・・・・・・データバス、52・
・・・・・アドレスバス、53・・・・・・LAバス、
11・・・・・・アドレスレジスタ、l2・・・・・・
レンジレジスタ、13・・・・・・転送中バッファ残量
検出回路、13’・・・・・・確保受信バッファ長レジ
スタ、14・・・・・・DMA制御回路、15・・・・
・・LA制御回路、16.18’・・・・・・LAデー
タレジスタ、16′・・・・・・受信バッファ長レジス
タ、17,18,19,19’ ,20,21.22・
・・・・・汎用レシーバ/トランスミッタ (URT)、 1 7′ ・・・・・比較回路。
1 and 2 are block diagrams showing first and second embodiments of the present invention. l...Line control unit, 2...Flosser unit, 3...Upper bus interface unit, 4...
...Memory L51...Data bus, 52.
... Address bus, 53 ... LA bus,
11...Address register, l2...
Range register, 13... Transfer buffer remaining amount detection circuit, 13'... Secure reception buffer length register, 14... DMA control circuit, 15...
...LA control circuit, 16.18'... LA data register, 16'... Receive buffer length register, 17, 18, 19, 19', 20, 21.22.
...General-purpose receiver/transmitter (URT), 1 7' ...Comparison circuit.

Claims (1)

【特許請求の範囲】 1、プロセッサ部と、上位インタフェース部と、回線制
御部と、メモリ部から構成される通信制御装置に於て、
複数個の受信データバッファの先頭アドレス及び受信バ
ッファ長を格納するアドレスレジスタ及びレンジレジス
タと、回線制御部からメモリ部へ転送中の受信バッファ
の残量を示す転送中バッファ残量検出回路を有し、転送
中の受信バッファの残量が規定値以下を検出すると、次
の受信バッファの確保処理を行ない、上記アドレスレジ
スタ及びレンジレジスタへの格納を行ない、転送中の受
信バッファの残量がゼロを検出すると、次の受信バッフ
ァを示す上記アドレスレジスタ及びレンジレジスタの内
容を使用して、回線制御部からメモリ部への転送を継続
することを特徴とする受信バッファ制御方式。 2、プロセッサ部と上位インタフェース部と回線制御部
とメモリ部から構成される通信制御装置に於いて、受信
データに付加されている受信バッファ長を一時記憶する
手段と、受信バッファの確保処理をおこなって確保した
受信データバッファの先頭アドレスと受信バッファ長を
複数保持する手段と、受信データに付加されている受信
バッファ長と確保した受信バッファ長とを比較する手段
と、受信データに付加された受信バッファ長と確保した
受信バッファ長の合計が等しいかあるいは受信バッファ
長の方が小さくなるまで受信バッファを確保する手段を
有する受信バッファ制御方式。
[Claims] 1. In a communication control device comprising a processor section, a higher-level interface section, a line control section, and a memory section,
It has an address register and a range register that store the start addresses and receive buffer lengths of a plurality of receive data buffers, and a transfer buffer remaining amount detection circuit that indicates the remaining amount of the receive buffer that is being transferred from the line control section to the memory section. When the remaining capacity of the receive buffer during transfer is detected to be less than the specified value, the next receive buffer is secured, stored in the above address register and range register, and the remaining capacity of the receive buffer during transfer becomes zero. A reception buffer control method characterized in that, upon detection, the contents of the address register and range register indicating the next reception buffer are used to continue the transfer from the line control unit to the memory unit. 2. In a communication control device consisting of a processor section, a higher-level interface section, a line control section, and a memory section, a means for temporarily storing the receive buffer length added to received data and a process for securing the receive buffer are provided. means for holding a plurality of reception data buffer start addresses and reception buffer lengths secured by a receiver; means for comparing the reception buffer length added to reception data with the reception buffer length secured; A reception buffer control method having means for securing a reception buffer until the sum of the buffer length and the secured reception buffer length is equal or the reception buffer length is smaller.
JP1189467A 1989-07-21 1989-07-21 Reception buffer control system Pending JPH0353736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1189467A JPH0353736A (en) 1989-07-21 1989-07-21 Reception buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1189467A JPH0353736A (en) 1989-07-21 1989-07-21 Reception buffer control system

Publications (1)

Publication Number Publication Date
JPH0353736A true JPH0353736A (en) 1991-03-07

Family

ID=16241761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1189467A Pending JPH0353736A (en) 1989-07-21 1989-07-21 Reception buffer control system

Country Status (1)

Country Link
JP (1) JPH0353736A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0553754U (en) * 1991-12-27 1993-07-20 新東工業株式会社 Flask moving device
JP2008210012A (en) 2007-02-23 2008-09-11 Fujitsu Ltd Data decoding processing program and data decoding processor
CN113064847A (en) * 2021-03-25 2021-07-02 浙江清华柔性电子技术研究院 Data transmission method, system, processor and DMA controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0553754U (en) * 1991-12-27 1993-07-20 新東工業株式会社 Flask moving device
JP2008210012A (en) 2007-02-23 2008-09-11 Fujitsu Ltd Data decoding processing program and data decoding processor
CN113064847A (en) * 2021-03-25 2021-07-02 浙江清华柔性电子技术研究院 Data transmission method, system, processor and DMA controller

Similar Documents

Publication Publication Date Title
US5604866A (en) Flow control system having a counter in transmitter for decrementing and incrementing based upon transmitting and received message size respectively for indicating free space in receiver
US5708779A (en) Multimedia system and method of controlling data transfer between a host system and a network adapter using a DMA engine
EP0239937B1 (en) Serial communications controller
US6154793A (en) DMA with dynamically assigned channels, flexible block boundary notification and recording, type code checking and updating, commands, and status reporting
US5752076A (en) Dynamic programming of bus master channels by intelligent peripheral devices using communication packets
US6038607A (en) Method and apparatus in a computer system having plural computers which cause the initiation of functions in each other using information contained in packets transferred between the computers
US5765023A (en) DMA controller having multiple channels and buffer pool having plurality of buffers accessible to each channel for buffering data transferred to and from host computer
US5933654A (en) Dynamic buffer fracturing by a DMA controller
US5151999A (en) Serial communications controller for transfer of successive data frames with storage of supplemental data and word counts
US6279052B1 (en) Dynamic sizing of FIFOs and packets in high speed serial bus applications
US5305441A (en) Data communication system prioritizing data transfer over microcomputer data interrupt processing
EP0772831B1 (en) Bidirectional parallel signal interface
US5761453A (en) Method and system for increasing the throughput of serial data in a computer system
JPH0353736A (en) Reception buffer control system
KR20010013137A (en) Communication DMA Device
US6700887B1 (en) Packet transfer apparatus which generates access reject command during a DMA transfer
US5432910A (en) Coupling apparatus and method for increasing the connection capability of a communication system
JPH0221619B2 (en)
US6178462B1 (en) Protocol for using a PCI interface for connecting networks
KR20040066311A (en) Apparatus and method for data transmission in dma
JP2523874B2 (en) Asynchronous serial data transmission device
JP2823625B2 (en) Data processing device
KR960003649B1 (en) Microcomputer system for communication
JPS6051751B2 (en) Communication control device
JP3120609B2 (en) Frame receiver