JPS61262342A - Communication control equipment - Google Patents

Communication control equipment

Info

Publication number
JPS61262342A
JPS61262342A JP60105653A JP10565385A JPS61262342A JP S61262342 A JPS61262342 A JP S61262342A JP 60105653 A JP60105653 A JP 60105653A JP 10565385 A JP10565385 A JP 10565385A JP S61262342 A JPS61262342 A JP S61262342A
Authority
JP
Japan
Prior art keywords
line
buffer circuit
circuit
signal
communication 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
Application number
JP60105653A
Other languages
Japanese (ja)
Inventor
Daisaku Ide
井手 大作
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP60105653A priority Critical patent/JPS61262342A/en
Publication of JPS61262342A publication Critical patent/JPS61262342A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To realize a communication controller with high performance and less hardware quantity by providing a transmission buffer and a reception buffer in a line adaptor and changing over the mode so as not to use a buffer circuit in case of the basic procedure and so as to use it in case of the HDLC procedure. CONSTITUTION:A transmission buffer circuit 4 and a reception buffer circuit 5 are providing between a serial/parallel converting circuit 1 and a communication control basic section in a line adaptor and the communication control basic section gives an indication to change over the mode using the transmission buffer circuit and the reception buffer circuit and the mode not using them. The communication control basic section transfers a data in plural bytes to one processing request from the line adaptor in the operating mode and transfers a data in 1 type to one processing request in the mode not using them. For example, the communication controller does not use the transmission buffer circuit and the reception buffer circuit in case of the basic procedure and uses the buffer circuits in case of the HDLC procedure.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は通信制御装置に関する。特に、ベーシック手順
およびハイレベルデータリンク伝送制御手順(以下rH
DLC手順」という)の両方をサポートする通信制御装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication control device. In particular, basic procedures and high-level data link transmission control procedures (rH
This invention relates to a communication control device that supports both DLC procedures (DLC procedures).

〔概 要〕〔overview〕

本発明は、ベーシック手順およびHDLC手順の双方に
より中央処理装置と通信回線との間のデ−タ送受信を制
御する通信制御装置において、回線アダプタ内に送信バ
ッファおよび受信バッファを備え、ベーシック手順の場
合にはこれらのバッファ回路を使用せず、HDLC手順
の場合には使用するようにモード切り替えを行うことに
より・ 少ないハード量で高性能の通信制御装置を実現するもの
である。
The present invention provides a communication control device that controls data transmission and reception between a central processing unit and a communication line using both the basic procedure and the HDLC procedure. By switching the mode so that these buffer circuits are not used in the case of HDLC procedures and are used in the case of HDLC procedures, a high-performance communication control device can be realized with a small amount of hardware.

〔従来の技術〕[Conventional technology]

従来の通信制御装置は、通信回線を接続して送受信デー
タの直並列変換を行う回線アダプタと、複数個の回線ア
ダプタを接続して各種の伝送制御手順の制御および中央
処理装置とのインタフェース制御を行う通信制御基本部
とで構成される。通信制御基本部は、複数個の回線アダ
プタを一個ずつ走査し、回線アダプタからの処理要求を
検出して要求に対応した処理を実行していた。
Conventional communication control devices include a line adapter that connects communication lines and performs serial/parallel conversion of transmitted and received data, and a line adapter that connects multiple line adapters to control various transmission control procedures and interface control with a central processing unit. It consists of a basic communication control unit that performs the following operations. The communication control basic unit scans a plurality of line adapters one by one, detects processing requests from the line adapters, and executes processing corresponding to the requests.

〔発明が解決しようとする問題点1 上述した従来の通信制御装置は、回線アダプタからの一
回の処理要求に対して1バイトのデータ転送を行うよう
に作られている。このため、高速の回線を接続する場合
には、回線アダプタからの一回の処理要求に対する通信
制御基本部での処理時間を短縮する必要があり、そのた
めに通信制御基本部のハードウェア量が増加する欠点が
あった。
[Problem to be Solved by the Invention 1] The conventional communication control device described above is designed to transfer 1 byte of data in response to a single processing request from a line adapter. Therefore, when connecting a high-speed line, it is necessary to shorten the processing time in the communication control basic unit for one processing request from the line adapter, which increases the amount of hardware in the communication control basic unit. There was a drawback.

この欠点は、回線アダプタ側にバッファ回路を設けるこ
とにより解決できる。しかし、ベーシック手順の制御を
行う場合には制御キャラクタの検出等に1バイト単位の
制御が必要であり、回線アダプタ側にバッファ回路を設
けると、このバッファ回路の制御が複雑になる欠点があ
った。
This drawback can be solved by providing a buffer circuit on the line adapter side. However, when controlling basic procedures, it is necessary to control each byte for detecting control characters, etc., and if a buffer circuit is provided on the line adapter side, the control of this buffer circuit becomes complicated. .

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

本発明の通信制御装置は、それぞれが通信回線に接続さ
れた一つ以上の回線アダプタと、この回線アダプタに接
続され、伝送制御手順の制御および中央処理装置とのイ
ンタフェース制御を行う通信制御基本部とを備え、上記
回線アダプタには、通信回線に対する送受信データの直
並列変換を行う直並列変換回路を含む通信制御装置にお
いて、上記回線アダプタには、上記直並列変換回路と上
記通信制御基本部との間に送信バッファ回路および受信
バッファ回路とを設け、上記通信制御基本部からの指示
により、上記送信バッファ回路および受信バッファ回路
を使用するモードと使用しないモードとを切り替える手
段を含み、上記通信制御基本部は、上記使用するモード
では上記回線アダプタからの一回の処理要求に対して複
数バイトのデータを転送し、上記使用しないモードでは
上記回線アダプタからの一回の処理要求に対して1バイ
トのデータを転送する制御手段を含むことを特徴とする
The communication control device of the present invention includes one or more line adapters, each connected to a communication line, and a communication control basic unit that is connected to the line adapters and controls transmission control procedures and interfaces with a central processing unit. In a communication control device, the line adapter includes a serial-to-parallel conversion circuit that performs serial-to-parallel conversion of data transmitted and received over a communication line, and the line adapter includes the serial-to-parallel conversion circuit and the communication control basic unit. a transmitting buffer circuit and a receiving buffer circuit are provided between the transmitting buffer circuit and the receiving buffer circuit, and means for switching between a mode in which the transmitting buffer circuit and the receiving buffer circuit are used and a mode in which the transmitting buffer circuit and the receiving buffer circuit are not used according to an instruction from the communication control basic unit; The basic part transfers multiple bytes of data in response to a single processing request from the line adapter in the mode used above, and 1 byte in response to a single processing request from the line adapter in the mode not used. The invention is characterized in that it includes a control means for transferring data.

〔作 用〕[For production]

本発明の通信制御装置は、ベーシック手順の場合には送
信バッファ回路および受信バッファ回路を使用せず、H
DLC手順の場合にはこれらのバッファ回路を使用す為
。したがって、回線アダプタ内の複雑なバッファ制御を
行うことなしにベーシック手順の送受信ができ、簡単な
制御により、HDLC手順の送受信ができる。
The communication control device of the present invention does not use a transmission buffer circuit and a reception buffer circuit in the case of a basic procedure, and
These buffer circuits are used in the case of the DLC procedure. Therefore, the basic procedure can be transmitted and received without performing complicated buffer control within the line adapter, and the HDLC procedure can be transmitted and received with simple control.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明一実施例の通信制御装置のブロック構成
図である。
FIG. 1 is a block diagram of a communication control device according to an embodiment of the present invention.

通信制御基本部201は、信号線250を介して中央処
理装置に接続され、信号線30〜32.34〜37を介
して、回線アダプタ300−1〜300−nに接続され
る。
The communication control basic unit 201 is connected to the central processing unit via a signal line 250, and to line adapters 300-1 to 300-n via signal lines 30 to 32, 34 to 37.

通信制御基本部201は、HDCL手順およびベーシッ
ク手順の制御および中央処理装置とのインタフェースを
制御する。回線アダプタ300−1〜300−nおよび
信号線30〜32.34〜37については、以下に説明
する。
The communication control basic unit 201 controls HDCL procedures and basic procedures, and controls the interface with the central processing unit. Line adapters 300-1 to 300-n and signal lines 30 to 32 and 34 to 37 will be described below.

第2図は、本実施例に用いられる回線アダプタのブロッ
ク構成図である。
FIG. 2 is a block diagram of the line adapter used in this embodiment.

直並列変換回路1は、信号線80.81を介して回線に
接続され、信号線51を介してバッファ制御回路3およ
びセレクタ10に接続され、信号線52を介してセレク
タ13に接続され、信号!53を介してセレクタ14に
接続され、信号線50を介してバッファ制御回路3、セ
レクタ11、受信バッファ回路5およびセレクタ12に
接続される。
The serial-to-parallel conversion circuit 1 is connected to a line via signal lines 80, 81, to the buffer control circuit 3 and the selector 10 via a signal line 51, to the selector 13 via a signal line 52, and is connected to a signal line 80. ! It is connected to the selector 14 via the signal line 53, and to the buffer control circuit 3, the selector 11, the reception buffer circuit 5, and the selector 12 via the signal line 50.

回線アダプタ2は、信号線106およびパスレシーバ2
0を介して信号線30に接続され、信号線107および
パスレシーバ21を介して信号線31に接続され、信号
線71を介してバッファ制御回路3に接続され、信号線
72を介してセレクタ13に接続され、信号線73を介
してセレクタ14に接続される。
Line adapter 2 includes signal line 106 and path receiver 2
0 to the signal line 30, connected to the signal line 31 via the signal line 107 and the path receiver 21, connected to the buffer control circuit 3 via the signal line 71, and connected to the selector 13 via the signal line 72. and to the selector 14 via a signal line 73.

バッファ制御回路3は、信号線62を介してセレクタ1
3に接続され、信号線63を介してセレクタ14に接続
され、信号線66.67を介して受信バッファ回路5に
接続され、信号線64.65を介して送信バッファ回路
4に接続され、信号線61を介してセレクタ10に接続
され、信号線100およびパスドライバ27を介して信
号線37に接続される。
The buffer control circuit 3 is connected to the selector 1 via a signal line 62.
3, connected to the selector 14 via the signal line 63, connected to the receive buffer circuit 5 via the signal lines 66.67, connected to the transmit buffer circuit 4 via the signal lines 64.65, and connected to the selector 14 via the signal line 63. It is connected to the selector 10 via the line 61 and to the signal line 37 via the signal line 100 and the path driver 27.

送信バッファ回路4は、信号線101およびパスレシー
バ23を介して信号線32に接続され、信号線102を
介してセレクタ11に接続され、信号線103およびパ
スレシーバ24を介して信号線34に接続される。
The transmission buffer circuit 4 is connected to a signal line 32 via a signal line 101 and a path receiver 23, connected to a selector 11 via a signal line 102, and connected to a signal line 34 via a signal line 103 and a path receiver 24. be done.

受信バッファ回路5は、信号線104およびバスドライ
バ25を介して信号線35に接続され、信号線105を
介してセレクタ12に接続される。
The reception buffer circuit 5 is connected to the signal line 35 via the signal line 104 and the bus driver 25, and is connected to the selector 12 via the signal line 105.

セレクタ11は、信号線101を介してパスレシーバ2
3に接続される。セレクタ12は、バスドライバ22を
介して信号m32に接続される。
The selector 11 connects the path receiver 2 via the signal line 101.
Connected to 3. The selector 12 is connected to the signal m32 via the bus driver 22.

直並列変調回路1は回線上のシリアルデータと回線アダ
プタ内部のパラレル(8ビツト)データとを変換する回
路であり、一般にU RT (UniversalRe
civer and Trans+5itter)と呼
ばれるLSIで実現している。
The serial-parallel modulation circuit 1 is a circuit that converts serial data on the line and parallel (8-bit) data inside the line adapter, and is generally a U RT (Universal Re
It is realized using an LSI called ``civer and trans+5itter''.

回線アダプタ制御回路2は回線アダプタ全体の制御を行
う回路であり、自分で保持している回線アダプタ番地(
以下rLALA番地いう)と通信制御基本部から送られ
るLA番地が一致したとき、自回線アダプタに対する制
御動作を行う。バッファ制御回路3は送信バッファ回路
4および受信バッファ回路5を制御する回路である。
The line adapter control circuit 2 is a circuit that controls the entire line adapter, and the line adapter address (
When the LA address (hereinafter referred to as rLALA address) and the LA address sent from the communication control basic unit match, a control operation for the own line adapter is performed. The buffer control circuit 3 is a circuit that controls the transmission buffer circuit 4 and the reception buffer circuit 5.

送信バッファ回路4は、送信データおよび直並列変調回
路1に対する制御情報を格納する。送信バッファの容量
は64ワード×9ビツト(データ8ビツト+データ/制
御識別1ビツト)であり、先入れ先出しメモリ(以下r
 F I F O(First InFirst Ou
t )メモリ」という)で構成される。
The transmission buffer circuit 4 stores transmission data and control information for the serial-parallel modulation circuit 1. The capacity of the transmission buffer is 64 words x 9 bits (8 bits of data + 1 bit of data/control identification), and is referred to as first-in, first-out memory (referred to below as r).
F I F O (First In First Ou
t) consists of ``memory'').

受信バッファ回路5は、受信データおよび直並列変換回
路lから送られる制御情報を格納する。
The reception buffer circuit 5 stores received data and control information sent from the serial/parallel conversion circuit l.

受信バッファの容量は、64ワード×9ビツト(データ
8ビツト+データ/制?111m別1ビット)であり、
FIFOメモリである。
The capacity of the receive buffer is 64 words x 9 bits (8 bits of data + 1 bit for each data/system 111m).
It is FIFO memory.

セレクタ10は、直並列変換回路1からの割込み信号と
バッファ制御回路3からの割込み信号を切り替える切替
回路であり、バッファ使用モードにはバッファ制御回路
3からの信号を選択する。セレクタ11は、通信制御基
本部201から送られるデータと送信バッファ回路4の
出力データとを切り替える切替回路であり、バッファ使
用モードには送信バッファ回路4の出力を選択する。
The selector 10 is a switching circuit that switches between the interrupt signal from the serial/parallel conversion circuit 1 and the interrupt signal from the buffer control circuit 3, and selects the signal from the buffer control circuit 3 for the buffer use mode. The selector 11 is a switching circuit that switches between the data sent from the communication control basic unit 201 and the output data of the transmission buffer circuit 4, and selects the output of the transmission buffer circuit 4 for the buffer use mode.

セレクタ12は、回線アダプタ内部データバスと受信バ
ッファ回路5との出力を切り替える切替回路であり、バ
ッファ使用モードには受信バッファ回路5の出力を選択
する。
The selector 12 is a switching circuit that switches between the line adapter internal data bus and the output of the reception buffer circuit 5, and selects the output of the reception buffer circuit 5 in the buffer use mode.

セレクタ13は、バッファ制御回路3C:出力と回線ア
ダプタ制御回路2の出力を切り替えて、直並列変換回路
lの内部のレジスタを指定する番地を発生する。バッフ
ァ使用モードには、バッファ制御回路3の出力を選択す
る。セレクタ14は、バッファ制御回路3の出力と回線
アダプタ制御回路2の出力とを切り替えて、直並列変換
回路1に対する制御信号(読出し信号R[!AD、書込
み信号WRITII!等)を発生する。バッファ使用モ
ードには、バッファ制御回路3の出力を選択する。
The selector 13 switches between the output of the buffer control circuit 3C and the output of the line adapter control circuit 2, and generates an address specifying the internal register of the serial/parallel conversion circuit l. For the buffer use mode, the output of the buffer control circuit 3 is selected. The selector 14 switches between the output of the buffer control circuit 3 and the output of the line adapter control circuit 2, and generates control signals (read signal R[!AD, write signal WRITII!, etc.) for the serial/parallel conversion circuit 1. For the buffer use mode, the output of the buffer control circuit 3 is selected.

バスドライバ22.25.26.27は自回線アダプタ
がLA番地によって選択されたときのみエネイブルとな
る。
The bus driver 22.25.26.27 is enabled only when its own line adapter is selected by the LA address.

信号線30はLA番地および回線アダプタの内部の番地
情報を示す信号を伝達し、信号線106は信号線30の
パスレシーバ出力信号を伝達する。信号線31は、回線
アダプタに対する制御信号(読出し信号RBAD、書込
み信号−RITE等)を伝達し、信号線107は、信号
線30のパスレシーバ出力信号を伝達する。
Signal line 30 carries a signal indicating the LA address and internal address information of the line adapter, and signal line 106 carries the path receiver output signal of signal line 30. The signal line 31 transmits control signals for the line adapter (read signal RBAD, write signal -RITE, etc.), and the signal line 107 transmits the path receiver output signal of the signal line 30.

信号線32は、8ビツトの双方向データバス信号DAT
Aを伝達し、信号線101は、信号線32のパスレシー
バ出力信号を伝達する。
The signal line 32 is an 8-bit bidirectional data bus signal DAT.
A, and signal line 101 carries the path receiver output signal of signal line 32.

信号線35は、受信バッファ回路5から通信制御基本部
201へ送出するデータが、受信データか制御情報かを
識別する信号を伝達する。信号線104は、信号線35
のバスドライバ入力信号を伝達する。
The signal line 35 transmits a signal that identifies whether the data sent from the reception buffer circuit 5 to the communication control basic unit 201 is reception data or control information. The signal line 104 is connected to the signal line 35
bus driver input signals.

信号線34は、通信制御基本部201から送信バッファ
回路4へ送出するデータが、送信データか制御情報かを
識別する信号を伝達する。信号fi103は、信号線3
4のパスレシーバ出力信号を伝達する。
The signal line 34 transmits a signal that identifies whether the data sent from the communication control basic unit 201 to the transmission buffer circuit 4 is transmission data or control information. Signal fi103 is signal line 3
4 pass receiver output signals.

信号線36は、通信制御基本部201へ送出する割込み
信号INTを伝達する。
The signal line 36 transmits an interrupt signal INT to be sent to the communication control basic section 201.

信号線37は、通信制御基本部201に対するデータ転
送を終了させる終了信号ENDを伝達し、信号*ioo
は信号′!s37のバスドライバ入力信号を伝達する。
The signal line 37 transmits an end signal END for terminating data transfer to the communication control basic unit 201, and a signal *ioo
is a signal'! s37 bus driver input signal is transmitted.

信号線50は、回線アダプタ内部の双方向データバス(
8ビツト)であり、直並列変換回路1、バッファ制御回
路3、セレクタ11、受信バッファ回路5およびセレク
タ12に接続される。信号線51は、直並列変換回路1
から出力される割込み信号を伝達する。
The signal line 50 is a bidirectional data bus (
8 bits) and is connected to the serial/parallel converter circuit 1, the buffer control circuit 3, the selector 11, the reception buffer circuit 5, and the selector 12. The signal line 51 is connected to the serial/parallel conversion circuit 1
transmits the interrupt signal output from the

信号線52は、直並列変換回路1内部のレジスタを指定
する番地情報を伝達する。信号線53は直並列変換回路
1に対する制御信号(読出し信号READ、書込み信号
wmE等)を伝達する。
The signal line 52 transmits address information specifying a register inside the serial-to-parallel conversion circuit 1. The signal line 53 transmits control signals (read signal READ, write signal wmE, etc.) to the serial/parallel conversion circuit 1.

信号m62は、バッファ制御回路3が出力した番地情報
を伝達し、直並列変換回路1の内部のレジスタを指定す
る。信号M72は、回線アダプタ制御回路2が出力した
番地情報を伝達し、直並列変換回路lの内部のレジスタ
を指定する。信号線63は、バッファ制御回路3が出力
する、直並列変換回路1に対する制御信号を伝達する。
The signal m62 transmits the address information output by the buffer control circuit 3 and specifies the internal register of the serial/parallel conversion circuit 1. The signal M72 transmits the address information output by the line adapter control circuit 2, and specifies the internal register of the serial/parallel conversion circuit l. The signal line 63 transmits a control signal output from the buffer control circuit 3 to the serial/parallel conversion circuit 1 .

信号[73は、回線アダプタ制御回路2が出力する同様
の制御信号を伝達する。
The signal [73 conveys a similar control signal output by the line adapter control circuit 2.

信号線64は、送信バッファ回路4に対する制御信号(
読出し信号READ、書込み信号WRITE等)を伝達
する。信号線66は受信バッファ回路5に対する制御信
号(読出し信号READ、書込み信号WRITIE等)
を伝達゛する。信号線65は、送信バッファ回路4の状
態を示す制御信号(バッファ空、バッファ満、制御情報
あり等)を伝達する。信号線67は、受信バフフッ回路
5の状態を示す制御信号(バッファ空、バッファ満等)
を伝達する。
The signal line 64 carries a control signal (
(read signal READ, write signal WRITE, etc.). The signal line 66 carries control signals (read signal READ, write signal WRITIE, etc.) for the reception buffer circuit 5.
Communicate. The signal line 65 transmits a control signal indicating the state of the transmission buffer circuit 4 (buffer empty, buffer full, control information available, etc.). A signal line 67 carries a control signal indicating the state of the reception buffing circuit 5 (buffer empty, buffer full, etc.).
Communicate.

信号線71は、バッファを使用するモードまたは使用し
ないモードの一方に設定する信号を伝達する。この信号
は、通信制御基本部201から送られる回線アダプタ内
部のアドレス情報を解続することによって出力される。
The signal line 71 transmits a signal to set the buffer to either a mode in which the buffer is used or a mode in which it is not used. This signal is output by terminating the address information inside the line adapter sent from the communication control basic unit 201.

信号線80は、回線への送信データTXDを伝達し、信
号線81は、回線からの受信データRXDを伝達する。
Signal line 80 transmits transmission data TXD to the line, and signal line 81 transmits reception data RXD from the line.

第3図はバッファ回路を使用するモードにおける送信動
作のタイムチャートである。このモードにおける送信動
作は以下のように行う。
FIG. 3 is a time chart of the transmission operation in the mode using the buffer circuit. Transmission operation in this mode is performed as follows.

信号線30のLA番地は、通信制御基本部201が回線
アダプタ300−1〜300−nを一個ずつ走査するた
め、各回線アダプタの番地の値を「1」加算しながら設
定される。この値は、送信側と受信側で別の値が設定さ
れる。該当する回線アダプタから信号−36の割込信号
INTがセットされないと、通信制御基本部201は、
該当する回線アダプタに対しては処理を行わず、次の番
地に移る。送信バッファ回路4に一定量のバッファの空
きが検出され、割込み信号INTが入力されると通信制
御基本部201は、信号線32上に送信データを出力し
、信号線31に書込み信号WRITEを出力することに
よって、送信データを送信バッファ回路4へ書込む。こ
の転送動作は、回線アダプタがバッファの状態または制
御情報の送信バッファ回路4への書込みを検出し、信号
線27に終了信号ENDをセットすることにより終了す
る。
The LA address of the signal line 30 is set by adding "1" to the address value of each line adapter because the communication control basic unit 201 scans the line adapters 300-1 to 300-n one by one. Different values are set for this value on the sending and receiving sides. If the interrupt signal INT of signal -36 is not set from the corresponding line adapter, the communication control basic unit 201 will:
No processing is performed on the corresponding line adapter, and the process moves to the next address. When a certain amount of buffer space is detected in the transmission buffer circuit 4 and an interrupt signal INT is input, the communication control basic unit 201 outputs transmission data on the signal line 32 and outputs a write signal WRITE on the signal line 31. By doing so, the transmission data is written to the transmission buffer circuit 4. This transfer operation ends when the line adapter detects the state of the buffer or the writing of control information to the transmission buffer circuit 4, and sets the end signal END to the signal line 27.

送信バッファ回路4から直並列変換回路lへの送信デー
タの転送は、バッファ制御回路3が、直並列変換回路1
からの割込み信号および送信バッファ回路4からの制御
信号を監視し、バッファを使用しないモードにおける通
信制御基本部201の制御と同様に行われる。直並列変
換回路1は、送信データが書込まれると、あらかじめ設
定された回線速度に応じて直列データに変換し、回線上
へ送信データTXDを送出する。
Transfer of transmission data from the transmission buffer circuit 4 to the serial/parallel conversion circuit l is performed by the buffer control circuit 3
The interrupt signal from the transmission buffer circuit 4 and the control signal from the transmission buffer circuit 4 are monitored, and control is performed in the same manner as the communication control basic unit 201 in the mode in which no buffer is used. When the transmission data is written, the serial/parallel conversion circuit 1 converts it into serial data according to a preset line speed, and sends the transmission data TXD onto the line.

第4図はバッファ回路を使用するモードにおける受信動
作タイムチャートである。このモードにおける受信動作
は以下のように行う。
FIG. 4 is a reception operation time chart in a mode using a buffer circuit. The reception operation in this mode is performed as follows.

直並列変換回路1は、回線からの受信データRXDを並
列データに変換する。直並列変換回路1から受信バτ・
ファ回路5への受信データの転送は、バッフ1制御回路
3が直並列変換回路1からの割込み信号および受信バッ
ファ回路4からの制御信号を監視し、バッファ回路を使
用しないモードにおける通信制御基本部201での制御
と同様に行われる。受信バッファ回路5に一定量の受信
データが書込まれることによって、LA番地で指定した
回線アダプタから信号線36に割込み信号INTがセッ
トされると、通信制御基本部201は読出し信号REA
Dを信号線31に送出する。回線アダプタは、この読出
し信号READに応答して、受信バッファ回路5に格納
されている受信データを信号線32に送出する。
The serial/parallel conversion circuit 1 converts the received data RXD from the line into parallel data. From the serial/parallel converter circuit 1 to the receiving bar τ・
To transfer the received data to the buffer circuit 5, the buffer 1 control circuit 3 monitors the interrupt signal from the serial-to-parallel converter circuit 1 and the control signal from the reception buffer circuit 4. The control is performed in the same manner as in 201. When a certain amount of received data is written to the reception buffer circuit 5 and an interrupt signal INT is set on the signal line 36 from the line adapter specified by the LA address, the communication control basic unit 201 outputs the read signal REA.
D to the signal line 31. The line adapter sends the received data stored in the receive buffer circuit 5 to the signal line 32 in response to the read signal READ.

この転送動作は、回線アダプタが、バッファ回路の状態
または受信バッファ回路4からの制御データの読出しを
検出し、終了信号ENDを信号線27にセットすること
により終了する。
This transfer operation ends when the line adapter detects the state of the buffer circuit or the reading of control data from the reception buffer circuit 4 and sets an end signal END on the signal line 27.

第5図はバッファ回路を使用しないモードにおける送信
動作のタイムチャートである。このモードにおける送信
動作は以下のように行う。
FIG. 5 is a time chart of a transmission operation in a mode that does not use a buffer circuit. Transmission operation in this mode is performed as follows.

信号線36には、直並列変換回路1の割込み信号がその
まま出力される。LA番地で指定した回線アダプタから
割込み信号INTが信号線36にセットされると、通信
制御基本部201は、読出し信号READおよび回線ア
ダプタ内の番地情報をセットすることにより、直並列変
換回路1内にある状態レジスタの読出しを行い、割込み
要因(送信割込み/受信側込み等)の判別を行う。送信
割込みがあれば、次に同様の手段で直並列変換回路1内
にある送信割込みレジスタの読出しを行い、送信割込み
要因(送信要求/アンダラン等)の判別を行う。
The interrupt signal of the serial-to-parallel conversion circuit 1 is outputted to the signal line 36 as is. When the interrupt signal INT is set to the signal line 36 from the line adapter specified by the LA address, the communication control basic unit 201 sets the read signal READ and the address information in the line adapter to interrupt the serial/parallel conversion circuit 1. Reads the status register located in the register and determines the cause of the interrupt (transmission interrupt/reception side interrupt, etc.). If there is a transmission interrupt, then the transmission interrupt register in the serial/parallel conversion circuit 1 is read using the same means, and the cause of the transmission interrupt (transmission request/underrun, etc.) is determined.

送信要求があれば、信号線32に送信データを出力し、
信号m31に書込み信号を出力することによって、送信
データを直並列変換回路1内にある送信データレジスタ
に直接書込む。
If there is a transmission request, output the transmission data to the signal line 32,
By outputting a write signal to signal m31, the transmission data is directly written into the transmission data register in the serial/parallel conversion circuit 1.

第6図はバッファ回路を使用しないモードにおける受信
動作のタイムチャートである。このモードにおける受信
動作は以下のように行う。
FIG. 6 is a time chart of a receiving operation in a mode that does not use a buffer circuit. The reception operation in this mode is performed as follows.

LA番地で指定した回線アダプタから信号!s36に割
込み信号INTがセントされると、通信制御基本部20
1は状態レジスタの読出しを行う。受信割込みがあれば
、次に同様の手段で、受信割込みレジスタの読出しを行
い受信割込み要因(受信要求/受信終了等)の判別を行
う。受信要求があれば、同様の手段で、直並列変換回路
1内にある受信データレジスタを読出し、通信制御基本
部201へ受信データを送出する。
Signal from the line adapter specified by LA address! When the interrupt signal INT is sent to s36, the communication control basic unit 20
1 reads the status register. If there is a reception interrupt, then the reception interrupt register is read using the same means to determine the cause of the reception interrupt (reception request/end of reception, etc.). If there is a reception request, the reception data register in the serial/parallel conversion circuit 1 is read out using the same means, and the reception data is sent to the communication control basic unit 201.

バッファ回路を使用するモードとバッファ回路を使用し
ないモードとの制御の差は、直並列変換回路1の制御を
、バッファ制御回路3が行うかあるいは通信制御基本部
201が直接行うかである。
The difference in control between the mode using the buffer circuit and the mode not using the buffer circuit is whether the serial-to-parallel conversion circuit 1 is controlled by the buffer control circuit 3 or directly by the communication control basic unit 201.

第2図に示した回線アダプタのブロック構成図は、本発
明の特徴を示すところのみを図示しており、実際には図
示していない回路および結線が存在する。また、第2図
において、回線アダプタあたりの回路数は1回線とした
が、これを複数回線にしても本発明を同様に実施できる
The block configuration diagram of the line adapter shown in FIG. 2 only shows features of the present invention, and there are actually circuits and connections that are not shown. Further, in FIG. 2, the number of circuits per line adapter is one, but the present invention can be implemented in the same way even if the number of circuits is plural.

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

以上説明したように、本発明の通信制御装置は、フレー
ム単位の制御を行うHDLC手順の制御の場合には、バ
ッファを使用するモードで回線アダプタを制御すること
により、通信制御基本部のハード量を増加することなく
、高速性等の性能向上が可能となる。また、キャラクタ
単位の制御を行うベーシック手順の場合には、バッファ
を使用しないモードで回線アダプタを制御することによ
り、回線アダプタ内のバッファ制御を複雑にする必要が
なくなり、バッファ回路の構成が簡単となる。
As explained above, in the case of HDLC procedure control that performs frame-by-frame control, the communication control device of the present invention controls the hardware amount of the communication control basic section by controlling the line adapter in a mode that uses a buffer. It is possible to improve performance such as high speed without increasing the speed. In addition, in the case of the basic procedure that controls each character, by controlling the line adapter in a mode that does not use a buffer, there is no need to complicate buffer control within the line adapter, and the configuration of the buffer circuit is simplified. Become.

一般に、通信制御装置は、高速性が要求されるHDLC
手順および低速または中速で使用されるベーシック手順
の双方をサポートすることが多い。
Generally, communication control devices are HDLC, which requires high speed.
Often supports both procedures and basic procedures used at low or medium speeds.

本発明は、制御手順の混在を可能とし、しかも高性能の
通信制御装置をより少ないハード量で実現できる効果が
ある。
The present invention has the effect of making it possible to mix control procedures and realizing a high-performance communication control device with a smaller amount of hardware.

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

第1図は本発明一実施例通信制御装置のブロック構成図
。 第2図は本実施例に用いられる回線アダプタのブロック
構成図。 第3図はバッファ回路を使用するモードの送信動作のタ
イムチャート。 第4図はバッファ回路を使用するモードの受信動作のタ
イムチャート。 第5図はバッファ回路を使用しないモードの送信動作の
タイムチャート。 第6図はバッファ回路を使用しないモードの受信動作の
タイムチャート。 1・・・直並列変換回路、2・・・回線アダプタ制御回
路、3・・・バッファ制御回路、4・・・送信バッファ
回路、5・・・受信バッファ回路、10〜14・・・セ
レクタ、22.25.26.27・・・バスドライバ、
20.21.23.24・・・パスレシーバ、201・
・・通信制御基本部、300−1〜300−n・・・回
線アダプタ。
FIG. 1 is a block diagram of a communication control device according to an embodiment of the present invention. FIG. 2 is a block diagram of a line adapter used in this embodiment. FIG. 3 is a time chart of a transmission operation in a mode using a buffer circuit. FIG. 4 is a time chart of reception operation in a mode using a buffer circuit. FIG. 5 is a time chart of transmission operation in a mode that does not use a buffer circuit. FIG. 6 is a time chart of reception operation in a mode that does not use a buffer circuit. DESCRIPTION OF SYMBOLS 1... Serial/parallel conversion circuit, 2... Line adapter control circuit, 3... Buffer control circuit, 4... Transmission buffer circuit, 5... Receiving buffer circuit, 10-14... Selector, 22.25.26.27...bus driver,
20.21.23.24...Pass receiver, 201.
...Communication control basic unit, 300-1 to 300-n...Line adapter.

Claims (1)

【特許請求の範囲】[Claims] (1)それぞれが通信回線に接続された一つ以上の回線
アダプタと、 この回線アダプタに接続され、伝送制御手順の制御およ
び中央処理装置とのインタフェース制御を行う通信制御
基本部と、 を備え、 上記回線アダプタには、通信回線に対する送受信データ
の直並列変換を行う直並列変換回路を含む 通信制御装置において、 上記回線アダプタには、上記直並列変換回路と上記通信
制御基本部との間に送信バッファ回路および受信バッフ
ァ回路とを設け、 上記通信制御基本部からの指示により、上記送信バッフ
ァ回路および受信バッファ回路を使用するモードと使用
しないモードとを切り替える手段を含み、 上記通信制御基本部は、上記使用するモードでは上記回
線アダプタからの一回の処理要求に対して複数バイトの
データを転送し、上記使用しないモードでは上記回線ア
ダプタからの一回の処理要求に対して1バイトのデータ
を転送する制御手段を含む ことを特徴とする通信制御装置。
(1) comprising one or more line adapters, each connected to a communication line, and a communication control basic unit connected to the line adapters and controlling transmission control procedures and interface control with a central processing unit; In a communication control device, the line adapter includes a serial-to-parallel conversion circuit that performs serial-to-parallel conversion of data transmitted and received over a communication line; a buffer circuit and a reception buffer circuit, and means for switching between a mode in which the transmission buffer circuit and reception buffer circuit are used and a mode in which the transmission buffer circuit and reception buffer circuit are not used according to an instruction from the communication control basic unit, the communication control basic unit: In the mode used above, multiple bytes of data are transferred in response to a single processing request from the line adapter, and in the mode not used above, 1 byte of data is transferred in response to a single processing request from the line adapter. 1. A communication control device characterized by comprising a control means for controlling.
JP60105653A 1985-05-16 1985-05-16 Communication control equipment Pending JPS61262342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60105653A JPS61262342A (en) 1985-05-16 1985-05-16 Communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60105653A JPS61262342A (en) 1985-05-16 1985-05-16 Communication control equipment

Publications (1)

Publication Number Publication Date
JPS61262342A true JPS61262342A (en) 1986-11-20

Family

ID=14413403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60105653A Pending JPS61262342A (en) 1985-05-16 1985-05-16 Communication control equipment

Country Status (1)

Country Link
JP (1) JPS61262342A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62110344A (en) * 1985-11-08 1987-05-21 Fujitsu Ltd Line control equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62110344A (en) * 1985-11-08 1987-05-21 Fujitsu Ltd Line control equipment
JPH0423978B2 (en) * 1985-11-08 1992-04-23 Fujitsu Ltd

Similar Documents

Publication Publication Date Title
US4695952A (en) Dual redundant bus interface circuit architecture
US4490788A (en) Well-logging data processing system having segmented serial processor-to-peripheral data links
US4935894A (en) Multi-processor, multi-bus system with bus interface comprising FIFO register stocks for receiving and transmitting data and control information
EP0522764B1 (en) Multiplexing scheme for modem control signals
GB2128000A (en) Direct memory access interface arrangement
US7191262B2 (en) High-throughput UART interfaces
US4612541A (en) Data transmission system having high-speed transmission procedures
US6192409B1 (en) X.25 network connection for X.25 protocol communication used in a full electronic switching system
JPS62500555A (en) Interface circuit for connecting digital devices to time multiplexed links
JPS61262342A (en) Communication control equipment
KR970007257B1 (en) Packet transmission system and method utilizing both data bus and dedicated control lines
EP0055741B1 (en) Input/output system and method of communication for peripheral devices in data processing system
JPH1063617A (en) Serial communication device
JP2971006B2 (en) Serial communication method and serial communication controller
JPH10145433A (en) Data transfer rate converter and communication network system
CN117851310A (en) UART controller circuit supporting LIN slave communication mode
JPH01174049A (en) Communication control equipment
KR0150032B1 (en) Bus transaction mapping device
KR910002621B1 (en) Interface in collect callexchange
JPS6282846A (en) Tracing system for line data
JPS61173555A (en) Connecting method of communication controller
KR19990052958A (en) Method and device for data transmission in VOD server
JPH11327948A (en) Operation testing method for serial bus interface macro circuit
JPH06105922B2 (en) Communication control device
JPH04314157A (en) Communication equipment