JP2972262B2 - Communication control device - Google Patents

Communication control device

Info

Publication number
JP2972262B2
JP2972262B2 JP2062999A JP6299990A JP2972262B2 JP 2972262 B2 JP2972262 B2 JP 2972262B2 JP 2062999 A JP2062999 A JP 2062999A JP 6299990 A JP6299990 A JP 6299990A JP 2972262 B2 JP2972262 B2 JP 2972262B2
Authority
JP
Japan
Prior art keywords
line
address
interrupt
control circuit
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2062999A
Other languages
Japanese (ja)
Other versions
JPH03263951A (en
Inventor
光則 鈴木
美奈子 鈴木
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.)
NIPPON DENKI ENJINIARINGU KK
NEC Corp
Original Assignee
NIPPON DENKI ENJINIARINGU KK
Nippon Electric Co 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 NIPPON DENKI ENJINIARINGU KK, Nippon Electric Co Ltd filed Critical NIPPON DENKI ENJINIARINGU KK
Priority to JP2062999A priority Critical patent/JP2972262B2/en
Publication of JPH03263951A publication Critical patent/JPH03263951A/en
Application granted granted Critical
Publication of JP2972262B2 publication Critical patent/JP2972262B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は通信制御装置に関し、特に複数の回線からの
割込みを1個選択して処理していく通信制御装置に関す
る。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control device, and more particularly to a communication control device that selects and processes one interrupt from a plurality of lines.

〔従来の技術〕[Conventional technology]

従来、この種の通信制御装置は、回線アダプタを実装
した位置によりその回線アダプタのアドレスが決まるよ
うに、その回線アダプタの実装位置によってあらかじめ
アドレスが割り当てられており、そのアドレスの値の順
番に通信制御装置共通部が回線アダプタ内部のステータ
スレジスタをリードして、そのステータスレジスタの内
容により処理要求のフラグが立っているかどうかを検出
して、フラグが立っているならそれに見合う処理をその
回線アダプタに対して行っていた。
Conventionally, this type of communication control apparatus has been pre-assigned an address according to the mounting position of the line adapter so that the address of the line adapter is determined by the position where the line adapter is mounted, and performs communication in the order of the address values. The control unit common unit reads the status register inside the line adapter, detects whether the processing request flag is set based on the contents of the status register, and if the flag is set, performs processing corresponding to that flag to the line adapter. I was going to.

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

上述した従来の通信制御装置は、トラフィック量に関
係なく一定の優先順位に従って回線からの割込み処理を
行うので多くの回線が接続されているときに、高トラフ
ィックの回線が待たされることによるアンダーラン/オ
ーバーランが起こるという欠点がある。
The above-described conventional communication control device performs an interrupt process from a line according to a fixed priority regardless of the traffic amount. Therefore, when many lines are connected, underrun / overrun due to waiting for a high-traffic line is waited. There is a disadvantage that overrun occurs.

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

本発明の通信制御装置は、並列データに変換された受
信データを一時的に格納する受信バッファと、この受信
バッファに格納されているデータ量を検出するバッファ
量検出回路と、回線からの割込みの優先制御を行なう優
先制御回路と、自回線からの割込みが優先して選択され
たとき自回線アドレスを出力する回線アドレス出力回路
とを回線アダプタ毎に有し、前記受信バッファに格納さ
れているデータ量に応じて回線アダプタからの割込みの
優先順位を変化させることを特徴とする。
A communication control device according to the present invention includes a reception buffer for temporarily storing reception data converted into parallel data, a buffer amount detection circuit for detecting an amount of data stored in the reception buffer, and an interruption of a line interrupt. Data stored in the reception buffer, having a priority control circuit for performing priority control and a line address output circuit for outputting a line address when an interrupt from the line is selected with priority, for each line adapter; It is characterized in that the priority of interruption from the line adapter is changed according to the amount.

〔実施例〕〔Example〕

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

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

通信制御装置共通部6は、それに接続される回線アダ
プタ71,72を制御する制御部61および送受信するデータ
を一時的に記憶しておくメモリ部62などから構成され
る。
The communication control unit common unit 6 includes a control unit 61 for controlling line adapters 71 and 72 connected thereto, a memory unit 62 for temporarily storing data to be transmitted and received, and the like.

制御部61内の制御回路611は、回線アダプタ71,72中の
優先制御回路714,724からの割込み信号を受けるとカウ
ンタ612を起動させ、また回線アドレス出力回路715,725
から回線アドレスを入力するとカウンタ612をリセット
し、回転アダプタ71,72内の汎用レシーバ/トランスミ
ッタ711,721の内部レジスタ(図示せず)をリードする
のに必要な9ビットのアドレス情報をアドレスバス4へ
出力する。カウンタ612は4ビットの2進ダウンカウン
タで、制御回路611によって起動され、4ビットの2進
数で実現できる最大値1111(2)から一定時間毎に順次
カウントダウンし、その値をバッファ量バス2へ出力す
る。
The control circuit 611 in the control unit 61 activates the counter 612 upon receiving an interrupt signal from the priority control circuits 714, 724 in the line adapters 71, 72, and also outputs the line address output circuits 715, 725.
When the line address is input from the counter, the counter 612 is reset, and 9-bit address information necessary for reading the internal registers (not shown) of the general-purpose receivers / transmitters 711 and 721 in the rotary adapters 71 and 72 is output to the address bus 4. I do. The counter 612 is a 4-bit binary down counter which is started by the control circuit 611 and counts down from a maximum value 1111 (2) which can be realized by a 4-bit binary number at regular intervals, and transfers the value to the buffer amount bus 2. Output.

回線アダプタ71,72は、各々1回線を収容し、通信制
御装置共通部6と接続される。
Each of the line adapters 71 and 72 accommodates one line and is connected to the communication control unit common unit 6.

データバス1は通信制御装置共通部6と回線アダプタ
71,72とのデータの授受を行なう8ビットのバスであ
る。
The data bus 1 includes a communication control unit common unit 6 and a line adapter.
This is an 8-bit bus for exchanging data with 71 and 72.

バッファ量バス2は、制御部61内のカウンタ612から
出力される4ビットの区分値を同報通信するバスであ
る。
The buffer amount bus 2 is a bus for broadcasting the 4-bit division value output from the counter 612 in the control unit 61.

割込み回線アドレスバス3は、優先制御により選択さ
れた回線アドレスが回線アドレス出力回路715,725から
出力される6ビットのバスである。
The interrupt line address bus 3 is a 6-bit bus from which the line address selected by the priority control is output from the line address output circuits 715 and 725.

アドレスバス4は、通信制御装置共通部6から回線ア
ダプタ71,72へ送られる9ビットのアドレスが出力され
るバスである。このアドレスバス4で通信される9ビッ
トのアドレスは、回線アダプタを識別するための5ビッ
トと、回線アダプタ内部にあるレジスタを指定するため
の4ビットに分類される。
The address bus 4 is a bus from which a 9-bit address sent from the communication control device common unit 6 to the line adapters 71 and 72 is output. The 9-bit address communicated on the address bus 4 is classified into 5 bits for identifying a line adapter and 4 bits for designating a register inside the line adapter.

割込み信号線5には回線アダプタ71,72の優先制御回
路714,724からの割込み信号がオープンコレクタで出力
され、論理和かとられて、通信制御装置共通部6内の制
御回路611へ送られる。
The interrupt signals from the priority control circuits 714 and 724 of the line adapters 71 and 72 are output from the open collector to the interrupt signal line 5, ORed, and sent to the control circuit 611 in the communication control unit common unit 6.

汎用レシーバ/トランスミッタ711,721は、送信/受
信データの直列/並列変換を行なう回路である。
The general-purpose receiver / transmitters 711 and 721 are circuits for performing serial / parallel conversion of transmission / reception data.

受信バッファ712,722は、汎用レシーバ/トランスミ
ッタ711,721で並列データに変換された受信データを一
時的に格納するファーストイン/ファーストアウトのバ
ッファである。
The reception buffers 712 and 722 are first-in / first-out buffers that temporarily store the reception data converted into parallel data by the general-purpose receivers / transmitters 711 and 721.

バッファ量検出回路713,723は、受信バッファ712,722
に格納されているデータの量を検出する回路で、受信バ
ッファ712,722のデータ量を16段階で区分し、その区分
した4ビットの区分値を信号線81,82に出力する。
The buffer amount detection circuits 713, 723
Is a circuit for detecting the amount of data stored in the receiving buffer 712, 722, dividing the data amount into 16 levels, and outputting the divided 4-bit division values to the signal lines 81, 82.

優先制御回路714,724は、回線アダプタ71,72の割込み
優先制御を行なう回路である。この優先制御回路714,72
4は次のように動作する。回転アダプタ71,72が回線より
データを受信し、それを通信制御装置共通部6内のメモ
リ部62へ転送するために起こる割込み(以下、その割込
みを「受信に起因する割込み」という)を制御する場合
は、バッファ量検出回路713,723から受信バッファ712,7
22内のデータ数を16段階で区分した4ビットを区分値が
入力されると起動し、その4ビットの区分値を保持して
おくのと同時にオープンコレクタ出力で割込み信号を制
御回路611へあげる。制御回路611はそれによりカウンタ
612を起動させ、そのカウンタ612からバッファ量バス2
を通して送られてきた値が優先制御回路714,724が保持
しておいた値と一致すると優先制御回路714,724は回線
アドレス出力回路に対し、3ステート出力で起動させる
信号を送出する。一方、受信に起因する割込み以外の割
込みの場合には、優先制御回路714,724は回線アダプタ
制御回路717,727により起動をかけられ、受信に起因す
る割込みの場合と異なり、割込み信号を制御回路611へ
あげると同時に回線アドレス出力回路715,725へ起動を
かけるようになっている。
The priority control circuits 714 and 724 are circuits that perform interrupt priority control of the line adapters 71 and 72. The priority control circuits 714, 72
4 works as follows. Controls an interrupt that occurs when the rotating adapters 71 and 72 receive data from the line and transfer it to the memory unit 62 in the communication control unit common unit 6 (hereinafter, the interrupt is referred to as an “interrupt due to reception”). When receiving, the reception buffer 712,7
When the division value is input, the four bits obtained by dividing the number of data in 22 into 16 steps are started, and the four-bit division value is held, and at the same time, the interrupt signal is sent to the control circuit 611 by the open collector output. . The control circuit 611 thereby controls the counter
Activate 612, and read the buffer amount bus 2 from the counter 612.
When the value sent through the Priority Control Circuits 714 and 724 matches the value held by the Priority Control Circuits 714 and 724, the Priority Control Circuits 714 and 724 send a signal to activate the line address output circuit with a three-state output. On the other hand, in the case of an interrupt other than the interrupt caused by reception, the priority control circuits 714 and 724 are activated by the line adapter control circuits 717 and 727, and unlike the case of the interrupt caused by reception, the interrupt signal is sent to the control circuit 611. At the same time, the line address output circuits 715 and 725 are activated.

複数の優先制御回路が同時に回線アドレス出力回路へ
起動をかけないように、前もって割り当てられた回線ア
ドレスによりその回線アドレスの大きい順に優先順位を
決めておき、ある回線アダプタの優先制御回路がそれに
接続される回線アドレス出力回路へ起動をかけた時に、
それと同じタイミングで優先順位の低い他の回線アダプ
タ内にある優先制御回路に対し、それに接続される回線
アドレス出力回路に対し起動をかけないように、その3
ステート出力を禁止させ、ハイ・インピーダンス状態に
させるような信号を送出する。
In order to prevent a plurality of priority control circuits from simultaneously activating the line address output circuit, priorities are determined in descending order of the line addresses according to previously assigned line addresses, and a priority control circuit of a certain line adapter is connected thereto. When the line address output circuit is activated,
At the same timing, the third priority control circuit in another line adapter having a lower priority order is set so that the line address output circuit connected thereto is not activated.
A signal that disables the state output and sets the state to a high impedance state is transmitted.

回線アドレス出力回路715,725は、スイッチなどで各
回線ごとに固有に設定される回線アドレスを出力する回
路であり、該回線が選択されたときのみ回線アドレス出
力回路715,725の出力を割込み回線アドレスバス3へ出
力する。
The line address output circuits 715 and 725 are circuits that output line addresses uniquely set for each line by a switch or the like, and output the line address output circuits 715 and 725 to the interrupt line address bus 3 only when the line is selected. Output.

アドレスデコーダ716,726は、通信制御装置共通部6
が回線アダプタ71,72内のレジスタをリード/ライトす
るときに送られるアドレスをデコードする回路である。
The address decoders 716 and 726 are provided in the communication controller common unit 6.
Is a circuit for decoding the address sent when reading / writing the registers in the line adapters 71 and 72.

回線アダプタ制御回路717,727は、回線アダプタ71,72
全体の制御を行なう回路である。
The line adapter control circuits 717 and 727
This is a circuit that performs overall control.

この回線アダプタ制御回路717,727は次のように動作
する、回線アダプタ制御回路717,727は、汎用レシーバ
/トランスミッタ711,721内のステータス・レジスタを
常時監視しており、汎用レシーバ/トランスミッタ711,
721内で割込みが起こり、ステータス・レジスタ内にフ
ラグが立つと、それが受信に起因する割込みの場合はバ
ッファ量検出回路713,723へ起動をかけ、受信に起因す
る割込み以外の割込みの場合は、優先制御回路714,724
へ起動をかける。また、アドレスデコーダ716,726から
のデコードされた信号を受け、それにより汎用レシーバ
/トランスミッタ711,721内のレジスタに内容を制御回
路611へ出力・報告させたり、受信バッファ712,722に受
信データを出力させたりする。
The line adapter control circuits 717 and 727 operate as follows. The line adapter control circuits 717 and 727 constantly monitor the status register in the general-purpose receiver / transmitter 711 and 721, and
When an interrupt occurs in the 721 and a flag is set in the status register, it activates the buffer amount detection circuits 713 and 723 if it is an interrupt due to reception, and if it is an interrupt other than an interrupt due to reception, Control circuit 714,724
Start up. Also, it receives decoded signals from the address decoders 716 and 726, and outputs and reports the contents to registers in the general-purpose receivers / transmitters 711 and 721 to the control circuit 611 and outputs received data to the reception buffers 712 and 722.

回線アダプタ71,72からの割込みの場合は、回線アダ
プタ71,72内の回線アドレス出力回路715,725から通信制
御装置共通部6内の制御回路611へ送られた回線アドレ
スに基づいて、制御回路611が9ビットのアドレスをア
ドレスデコーダ716,726へ送り、その9ビットのアドレ
ス指定した回線アダプタ内のレジスタをリードし、その
レジスタ中のフラグにより割込み要因を認識するように
なっている。
In the case of an interrupt from the line adapters 71 and 72, the control circuit 611 is controlled based on the line address sent from the line address output circuits 715 and 725 in the line adapters 71 and 72 to the control circuit 611 in the communication controller common unit 6. The 9-bit address is sent to the address decoders 716 and 726, the register in the line adapter specified by the 9-bit address is read, and the interrupt factor is recognized based on the flag in the register.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、回線毎にバッファ内の
データ量を検出する回路を有し、受信に起因する割込み
については、データ量が多い回線を優先的に処理できる
ことにより、複数回線が同時動作中のオーバラン発生を
抑えることができ、コスト/パーフォーマンスのよい通
信制御装置を提供できるという効果を奏する。
As described above, the present invention has a circuit for detecting the amount of data in the buffer for each line, and is capable of processing a line having a large amount of data preferentially with respect to an interruption due to reception. It is possible to suppress the occurrence of overrun during operation and to provide a communication control device with good cost / performance.

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

第1図は本発明の一実施例のブロック図である。 1……データバス、2……バッファ量バス、3……割込
み回線アドレスバス、4……アドレスバス、5……割込
み信号線、6……通信制御装置共通部、71,72……回線
アダプタ、711,721……汎用レシーバ/トランスミッ
タ、712,722……受信バッファ、713,723……バッファ量
検出回路、714,724……優先制御回路、715,725……回線
アドレス出力回路、716,726……アドレスデコーダ,717,
727……回線アダプタ制御回路、81,82……信号線、61…
…制御部、611……制御回路、612……カウンタ、62……
メモリ部。
FIG. 1 is a block diagram of one embodiment of the present invention. 1 ... Data bus, 2 ... Buffer amount bus, 3 ... Interrupt line address bus, 4 ... Address bus, 5 ... Interrupt signal line, 6 ... Communication control unit common part, 71,72 ... Line adapter 711,721 general-purpose receiver / transmitter 712,722 reception buffer 713 723 buffer amount detection circuit 714 724 priority control circuit 715 725 line address output circuit 716 726 address decoder 717
727 …… Line adapter control circuit, 81,82 …… Signal line, 61…
... Control unit, 611 ... Control circuit, 612 ... Counter, 62 ...
Memory section.

フロントページの続き (56)参考文献 特開 平1−117549(JP,A) 特開 平1−174049(JP,A) 特開 昭63−94745(JP,A) 特開 昭63−59140(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04L 29/02 Continuation of the front page (56) References JP-A-1-117549 (JP, A) JP-A-1-17449 (JP, A) JP-A-63-94745 (JP, A) JP-A-63-59140 (JP, A) , A) (58) Fields investigated (Int. Cl. 6 , DB name) H04L 29/02

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】並列データに変換された受信データを一時
的に格納する受信バッファと、この受信バッファに格納
されているデータ量を検出するバッファ量検出回路と、
回線からの割込みの優先制御を行う優先制御回路と、自
回線からの割込みが優先して選択されたとき自回線アド
レスを出力する回転アドレス出力回路とをそれぞれ具備
する複数個の回線アダプタと、 前記優先制御回路から割込み信号を受けてカウンタを起
動し前記回線アドレス出力回路から回線アドレスを入力
すると前記カウンタをリセットし回線から受信データを
読込むアドレス情報を出力する制御回路と、前記制御回
路によって起動されそのカウント値を前記優先制御回路
へ出力するカウンタとを含む制御部と、回線を回して送
受信するデータを一時記憶するメモリ部とを具備する通
信制御装置共通部とを有することを特徴とする通信制御
装置。
A reception buffer for temporarily storing reception data converted into parallel data; a buffer amount detection circuit for detecting an amount of data stored in the reception buffer;
A plurality of line adapters each including a priority control circuit that performs priority control of an interrupt from a line, and a rotation address output circuit that outputs a own line address when an interrupt from the own line is selected with priority; A control circuit that receives an interrupt signal from the priority control circuit, starts a counter, and inputs a line address from the line address output circuit, resets the counter and outputs address information for reading received data from the line, and starts the control circuit. A communication unit including a control unit including a counter for outputting the count value to the priority control circuit and a memory unit for temporarily storing data to be transmitted / received through the line. Communication control device.
JP2062999A 1990-03-13 1990-03-13 Communication control device Expired - Fee Related JP2972262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2062999A JP2972262B2 (en) 1990-03-13 1990-03-13 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2062999A JP2972262B2 (en) 1990-03-13 1990-03-13 Communication control device

Publications (2)

Publication Number Publication Date
JPH03263951A JPH03263951A (en) 1991-11-25
JP2972262B2 true JP2972262B2 (en) 1999-11-08

Family

ID=13216587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2062999A Expired - Fee Related JP2972262B2 (en) 1990-03-13 1990-03-13 Communication control device

Country Status (1)

Country Link
JP (1) JP2972262B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4690576B2 (en) * 2001-04-26 2011-06-01 パナソニックシステムネットワークス株式会社 Software modem and communication terminal device having the same

Also Published As

Publication number Publication date
JPH03263951A (en) 1991-11-25

Similar Documents

Publication Publication Date Title
US4942515A (en) Serial communications controller with FIFO register for storing supplemental data and counter for counting number of words within each transferred frame
US5132680A (en) Polling communication system with priority control
KR100186928B1 (en) A device with host indication combination
US4298959A (en) Digital information transfer system (DITS) receiver
JPH0865334A (en) Equipment and method for multimedia communication
US5151999A (en) Serial communications controller for transfer of successive data frames with storage of supplemental data and word counts
US5311510A (en) Data storing system for a communication control circuit
JPS58502027A (en) Peripherals adapted to monitor low data rate serial input/output interfaces
EP1430653B1 (en) Serial communication device with dynamic filter allocation
JP2972262B2 (en) Communication control device
JPH0824298B2 (en) CSMA communication system
US4612541A (en) Data transmission system having high-speed transmission procedures
US20030065735A1 (en) Method and apparatus for transferring packets via a network
EP0637156B1 (en) Memory interface system using tag words
JPH0744567B2 (en) Communication interface device
CN111857817B (en) Data reading method, data reading device and data reading system
JPH0642690B2 (en) Packet signal transmission method
US4959843A (en) Content induced transaction overlap (CITO) block transmitter
JP3045147B2 (en) Mobile communication data relay device
US7239640B1 (en) Method and apparatus for controlling ATM streams
US6944176B1 (en) Method and apparatus for bit level network data multiplexing
EP0668556A2 (en) A queue memory system and method therefor
JPH09259073A (en) Communication controller
SU1185634A2 (en) Interface for linking electronic computer with telegraph communication channels
WO1991005419A1 (en) Packet/fast packet switch for voice and data

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees