JPH04183146A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH04183146A
JPH04183146A JP2313644A JP31364490A JPH04183146A JP H04183146 A JPH04183146 A JP H04183146A JP 2313644 A JP2313644 A JP 2313644A JP 31364490 A JP31364490 A JP 31364490A JP H04183146 A JPH04183146 A JP H04183146A
Authority
JP
Japan
Prior art keywords
interrupt
circuit
line
address
register
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
JP2313644A
Other languages
Japanese (ja)
Inventor
Minako Nakamura
美奈子 中村
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 Engineering Ltd
Original Assignee
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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2313644A priority Critical patent/JPH04183146A/en
Publication of JPH04183146A publication Critical patent/JPH04183146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To shorten a period of time from time of outputting a circuit address to time when a processing request signal is returned as an interrupt by temporarily storing states of interrupt signal lines from a plurality of circuits installed in a circuit adapter at a time and detecting the presence or absence of interrupt for a plurality of circuits at a time to control a scan counter. CONSTITUTION:From scan counter 5, a circuit adapter 1001 or 1002 is selected using a circuit adapter selecting signal 101, and a state of request for processing from URT circuits 11-14 or 21-24 is output to interrupt signal lines 201-204 and stored in an interrupt register circuit 2. Here, an interrupt detecting circuit 3 monitors an interrupt state stored in the interrupt register circuit 2, and if an interrupt occurs, the interrupt detecting circuit 3 reports a circuit address of the scan counter 5 to the interrupt selecting circuit 1, and gives an internal state of the interrupt register to a processor section 6, while a circuit address output circuit 4 provides the processor section 6 with the circuit address.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信制御装置に関し、特に複数の回線アダプ
タからの割り込みを選択して処理していく通信制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication control device, and particularly to a communication control device that selects and processes interrupts from a plurality of line adapters.

〔従来の技術〕[Conventional technology]

従来この種の通信制御装置は、あらかじめ決められた優
先順位によって回線側々にアドレスを与えて処理要求が
あるかないか割り込みで検出していた。
Conventionally, this type of communication control device has used interrupts to detect whether there is a processing request by giving addresses to each line according to a predetermined priority order.

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

上述した従来の通信制御装置は、一定時間にスキャンカ
ウンタをカウントアツプし、回線毎に回線アドレスを与
え、回線からの個々の処理要求を割り込みで検出してい
たことと、割り込みが無くても回線アドレスを与えて回
線処理要求を検出していたため回線処理時間が余分にか
かり、回線処理能力が低下する欠点がある。
The conventional communication control device described above counts up a scan counter at a certain time, gives a line address to each line, and detects individual processing requests from the line by interrupt. Since a line processing request is detected by giving an address, extra line processing time is required, which has the drawback of reducing line processing capacity.

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

本発明の通信制御装置は、複数の回線アダプタのアドレ
スを一定の順序で発生して回線アダプタに与える手段と
、複数回線処理要求の状態を出力する手段と、回線アダ
プタの複数回線割り込みを一時的に格納するレジスタと
、一時的に格納するレジスタから割り込みを選択する手
段と、割り込みの有無を検出する手段と、回線アドレス
を提供する手段とを備え、複数の回線からの割り込みを
同時に前記レジスタに格納し、割り込み有無を複数回線
まとめて検出することを特徴とする。
The communication control device of the present invention includes means for generating addresses of a plurality of line adapters in a fixed order and providing them to the line adapters, means for outputting the status of a plurality of line processing requests, and a means for temporarily controlling the plurality of line interrupts of the line adapters. a register for storing interrupts in the register, a means for selecting an interrupt from the temporarily storing register, a means for detecting the presence or absence of an interrupt, and a means for providing a line address; The feature is that the presence or absence of an interrupt is detected for multiple lines at the same time.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック構成図である
。回線アダプタ1001.1002は、各々回線を収容
する通信制御装置である。汎用レシーバ/トランスミッ
タ(URT回路)11〜14.21〜24は、送信/受
信データの直列/並列変換、CRC演算、同期制御等を
行う回路である。
FIG. 1 is a block diagram showing one embodiment of the present invention. Line adapters 1001 and 1002 are communication control devices each accommodating a line. General-purpose receiver/transmitter (URT circuit) 11 to 14. 21 to 24 are circuits that perform serial/parallel conversion of transmission/reception data, CRC calculation, synchronization control, etc.

割り込み切替回路61.62は、回線アダプタ1001
.1002の割り込みを切り替える回路であり、回線ア
ダプタ選択信号線101の値の回線が選択される。
The interrupt switching circuits 61 and 62 are connected to the line adapter 1001.
.. This is a circuit for switching interrupts 1002, and the line corresponding to the value of the line adapter selection signal line 101 is selected.

割り込み選択回路1は、プロセッサ部6へ割り込みを出
力する回路である。
The interrupt selection circuit 1 is a circuit that outputs interrupts to the processor section 6.

割り込みレジスタ回路2は□、回線アダプタ1001.
1002の割り込みを同時に入力し、プロセッサ部6へ
出力する。
The interrupt register circuit 2 is connected to the line adapter 1001.
1002 interrupts are simultaneously input and output to the processor section 6.

割り込み有無検出回路3は、割り込み状態を監視して割
り込みが無ければスキャンカウンタをカウントアツプす
る指示をする。
The interrupt detection circuit 3 monitors the interrupt state and instructs the scan counter to count up if there is no interrupt.

回線アドレス出力回路4は、プロセッサへ割り込みアド
レスを出力する回路である。
The line address output circuit 4 is a circuit that outputs an interrupt address to the processor.

スキャンカウンタ5は、+1更新し、出力を回線アダプ
タ選択信号線101に出力する。
The scan counter 5 is updated by +1 and outputs the output to the line adapter selection signal line 101.

回線アダプタ選択信号線101は、回線アダプタ100
1.1002を識別するための信号線である。
The line adapter selection signal line 101 is connected to the line adapter 100
This is a signal line for identifying 1.1002.

回線アドレス選択信号線102は、回線アダプタ100
1.1002のURT回路11〜24を識別するための
信号線である。
The line address selection signal line 102 is connected to the line adapter 100.
This is a signal line for identifying the URT circuits 11 to 24 of 1.1002.

割り込み出力信号線103は、割り込み選択回路1で選
択された割り込みを出力するための信号線である。
The interrupt output signal line 103 is a signal line for outputting the interrupt selected by the interrupt selection circuit 1.

アドレス信号線104は、プロセッサ部6へURT回路
11〜24を識別させるための信号線である。
The address signal line 104 is a signal line for causing the processor unit 6 to identify the URT circuits 11 to 24.

割り込み信号線201〜204は、回線アダプタ100
1.1002の割り込み信号線である。
The interrupt signal lines 201 to 204 are connected to the line adapter 100.
1.1002 interrupt signal line.

第1図の動作を説明する。まず、スキャンカウンタ5か
ら回線アダプタ選択信号線101を使用して回線アダプ
タ1001または1002を選択する。選択された回線
アダプタ1001または1002は内部に収容されてい
るURT回路11〜14または21〜24からの処理要
求の状態を割り込み信号線201〜204に出力し、割
り込みレジスタ回路2に格納する。
The operation shown in FIG. 1 will be explained. First, the line adapter 1001 or 1002 is selected from the scan counter 5 using the line adapter selection signal line 101. The selected line adapter 1001 or 1002 outputs the status of the processing request from the URT circuits 11 to 14 or 21 to 24 housed therein to the interrupt signal lines 201 to 204, and stores it in the interrupt register circuit 2.

割り込み有無検出回路3は、割り込みレジスタ回路2に
格納されている割り込み状態を監視しており、割り込み
が無ければスキャンカウンタ5をカウントアツプして次
の回線アダプタの複数回線割り込みの検出を行なう。割
り込みが有れば、スキャンカウンタ5の回線アドレスを
割り込み選択回路1に報告し、割り込みレジスタ内の状
態をプロセ・ツサ部6へ割り込みを与えると同時に、回
線アドレス出力回路4によってプロセッサ部8へ回線ア
ドレスを与える。
The interrupt detection circuit 3 monitors the interrupt state stored in the interrupt register circuit 2, and if there is no interrupt, counts up the scan counter 5 to detect the next multiple line interrupt of the line adapter. If there is an interrupt, the line address of the scan counter 5 is reported to the interrupt selection circuit 1, the state in the interrupt register is given as an interrupt to the processor section 6, and at the same time, the line address output circuit 4 sends the line address to the processor section 8. Give address.

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

以上説明したように本発明の通信制御装置は、回線アダ
プタ内に収容されている複数回線からの割り込み信号線
の状態を同時に割り込みレジスタに一時的に格納し、割
り込みの有無を複数回線まとめて検出しスキャンカウン
タを制御するため、回線アドレスを出力してから処理要
求信号が割り込みとして返却される時間が短縮され、回
線処理効率を上げることができる効果がある。
As explained above, the communication control device of the present invention temporarily stores the states of interrupt signal lines from multiple lines housed in a line adapter in an interrupt register, and detects the presence or absence of an interrupt for multiple lines at once. Since the scan counter is controlled, the time required for the processing request signal to be returned as an interrupt after the line address is output is shortened, which has the effect of increasing line processing efficiency.

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

第1図は本発明の一実施例のブロック構成図である。 1001〜1002・・・回線アダプタ、11〜24・
・・URT回路、101・・・回線アダプタ選択信号線
、102・・・回線アドレス選択信号線、103・・・
割り込み出力信号線、104・・・アドレス信号線、2
01〜204・・・割り込み信号線、1・・・割り込み
選択回路、2・・・割り込みレジスタ回路、3・・・割
り込み有無検出回路、4・・・回線アドレス出力回路、
5・・・スキャンカウンタ、6・・・プロセッサ部。
FIG. 1 is a block diagram of an embodiment of the present invention. 1001-1002...Line adapter, 11-24.
... URT circuit, 101... Line adapter selection signal line, 102... Line address selection signal line, 103...
Interrupt output signal line, 104...Address signal line, 2
01-204...Interrupt signal line, 1...Interrupt selection circuit, 2...Interrupt register circuit, 3...Interrupt presence detection circuit, 4...Line address output circuit,
5...Scan counter, 6...Processor section.

Claims (1)

【特許請求の範囲】[Claims] 複数の回線アダプタのアドレスを一定の順序で発生して
回線アダプタに与える手段と、複数回線処理要求の状態
を出力する手段と、回線アダプタの複数回線割り込みを
一時的に格納するレジスタと、一時的に格納するレジス
タから割り込みを選択する手段と、割り込みの有無を検
出する手段と、回線アドレスを提供する手段とを備え、
複数の回線からの割り込みを同時に前記レジスタに格納
し、割り込み有無を複数回線まとめて検出することを特
徴とする通信制御装置。
means for generating addresses of multiple line adapters in a fixed order and providing them to the line adapter; means for outputting the status of multiple line processing requests; a register for temporarily storing multiple line interrupts of the line adapter; means for selecting an interrupt from a register stored in the register, means for detecting the presence or absence of an interrupt, and means for providing a line address;
A communication control device characterized in that interrupts from a plurality of lines are simultaneously stored in the register, and the presence or absence of an interrupt is detected for the plurality of lines at once.
JP2313644A 1990-11-19 1990-11-19 Communication controller Pending JPH04183146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2313644A JPH04183146A (en) 1990-11-19 1990-11-19 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2313644A JPH04183146A (en) 1990-11-19 1990-11-19 Communication controller

Publications (1)

Publication Number Publication Date
JPH04183146A true JPH04183146A (en) 1992-06-30

Family

ID=18043794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2313644A Pending JPH04183146A (en) 1990-11-19 1990-11-19 Communication controller

Country Status (1)

Country Link
JP (1) JPH04183146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028939A (en) * 2006-07-25 2008-02-07 Sumitomo Heavy Ind Ltd Switching system and switching method for communication path

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028939A (en) * 2006-07-25 2008-02-07 Sumitomo Heavy Ind Ltd Switching system and switching method for communication path

Similar Documents

Publication Publication Date Title
JPH04183146A (en) Communication controller
JPH02230356A (en) Bus extension device for information processor
JPH07177161A (en) Polling selection method
JP3505540B2 (en) Data transfer device
JPH0546535A (en) Data transfer interface device
JP2991559B2 (en) Redundant system for interface panel
JP3278831B2 (en) Packet processing device
JPH0870489A (en) Notifying method for load monitoring state and load monitoring system using the same
KR100230240B1 (en) Complex wireless paging device and radio calling signal processing method thereof
JPH06161912A (en) Data bus control system
JPH04151929A (en) Terminal controller
KR950005148B1 (en) Duplex packet bus selecting circuit of packet processing device
US6510482B1 (en) Multiplexed bus data transmission control system
JPH04183145A (en) Communication controller
JPH09134294A (en) Interruption control circuit
KR20000043347A (en) Data input/output device
JPH04284547A (en) Abnormal cpu detection circuit
JPH0294940A (en) Communication control equipment
JPH08249295A (en) Message controller
JP2002010371A (en) Gathering method of alarm information
JPH029251A (en) Framing error status circuit
JPH03265963A (en) Bus controller
JPH0675765A (en) Processing speed controller
JPH0784913A (en) Communication line controller
JPH08320844A (en) Sequential propagation type transmission system