JPS60158750A - High-speed communication system - Google Patents

High-speed communication system

Info

Publication number
JPS60158750A
JPS60158750A JP59013174A JP1317484A JPS60158750A JP S60158750 A JPS60158750 A JP S60158750A JP 59013174 A JP59013174 A JP 59013174A JP 1317484 A JP1317484 A JP 1317484A JP S60158750 A JPS60158750 A JP S60158750A
Authority
JP
Japan
Prior art keywords
computer
interrupt
area
transmission
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.)
Granted
Application number
JP59013174A
Other languages
Japanese (ja)
Other versions
JPH0342740B2 (en
Inventor
Kenichi Kuroiwa
黒岩 謙一
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
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59013174A priority Critical patent/JPS60158750A/en
Publication of JPS60158750A publication Critical patent/JPS60158750A/en
Publication of JPH0342740B2 publication Critical patent/JPH0342740B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To reduce the load of a computer and to reduce the execution time of a control program by providing a circuit between a circuit protocol LSI and a computer to share a part of the process that is executed by the computer when an interruption is produced from said LSI. CONSTITUTION:A terminal device 6, a computer 2 and a circuit control protocol LSI1 are connected via a data bus 9 and then connected to a memory 4, a DMA cintroller 3 and an interruption control circuit 10. The circuit 10 is connected to the LSI1 and the computer 2 via an interruption signal line 7. The memory 4 contains a control program store area (a), a transmission/reception data buffer area (b) and a control parameter area (c). The area (c) stores the DMA information, factors of transmission/reception interruptions, etc. When an interruption is produced, the circuit 10 shares a part of the process to be executed by the computer 2 by the interruption given from the LSI1. This reduces the load of the computer 2 and decreases the execution time of the control program.

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は、高速通信方式に関し、特に、高速通信回線に
接続される端末装置の回線インターフェース回路の制御
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a high-speed communication system, and more particularly to a control system for a line interface circuit of a terminal device connected to a high-speed communication line.

従来技術 高速通信回線に接続される端末装置の回線インターフェ
ース回路を回線制御プロトコルLSIを中心に構成する
方式は公知である0回線制御プロトコルLSIは、送信
データを回線の制御プロトコルに適合する信号形式に直
列変換して送出する機能、受信データを並列データに変
換する機能。
Prior Art A method for configuring a line interface circuit of a terminal device connected to a high-speed communication line using a line control protocol LSI is well known. A line control protocol LSI converts transmitted data into a signal format that conforms to the line control protocol. Function to serially convert and send, function to convert received data to parallel data.

チェックシーケンスの自動送出機能および自動チエラグ
機能、送受信動作の完了やエラー発生等を割込によって
コンピュータに通知する機能等を有シテオリ、コンピュ
ータの制御によって動作する。
It operates under the control of the computer, including an automatic check sequence sending function, an automatic checkerage function, and a function to notify the computer of the completion of transmission/reception operations, the occurrence of an error, etc. using an interrupt.

すなわち、回線制御プロトコルL’S Iの初期設定時
および送受信完了またはエラー発生等による割込発生時
には、次のデータを正常に送受信するために、割込発生
要因に応じた適切な制御パラメータを発行する制御プロ
グラムの実行が必要である。しかし、端末装置が高速の
通信回線に接続される場合には、高速側の回線速度に比
してコンピュータの動作速度が遅く、送受信完了時の割
込処理の実行時間がかかり、受信完了時に次のデータの
受信に対する受信準備動作が遅く、また送信完了時に次
のデータの送信までに時間がかかるため高速なデータ伝
送が阻害されるという欠点がある。
In other words, when initializing the line control protocol L'S I and when an interrupt occurs due to completion of transmission/reception or error occurrence, appropriate control parameters are issued according to the cause of the interrupt in order to transmit/receive the next data normally. It is necessary to execute a control program to However, when a terminal device is connected to a high-speed communication line, the operating speed of the computer is slow compared to the high-speed line speed, and it takes time to execute the interrupt process when the transmission/reception is completed. This method has disadvantages in that the reception preparation operation for receiving data is slow, and it takes time until the next data is sent when the transmission is completed, which impedes high-speed data transmission.

また、回線制御プロトコルLSIとメモリ内の送受信デ
ータバッファ間のデータ転送を高速に行なうために、D
MAコントローラの制御によってDMA転送(ダイレク
ト メモリ アクセス)を行なうためには、前記コンピ
ュータは送受信完了の割込発生時に、次の送受信データ
のDMA転送に必要とされる情報(例えば送受信バッフ
ァのアドレス)をDMAコントローラに通知しておく必
要がある。この処理のために、割込発生時におけるコン
ピュータの負担がより一層増大し、処理時間はさらに長
くなる。
In addition, in order to perform high-speed data transfer between the line control protocol LSI and the transmit/receive data buffer in memory,
In order to perform DMA transfer (direct memory access) under the control of the MA controller, the computer must obtain the information (for example, the address of the transmit/receive buffer) required for the DMA transfer of the next transmit/receive data when an interrupt occurs for the completion of transmit/receive. It is necessary to notify the DMA controller. This processing further increases the burden on the computer when an interrupt occurs and further increases the processing time.

発明の目的 本発明の目的は、上述の従来の欠点を解決し、回線制御
プロトコルLSIからの割込発生時にコンピュータが実
行すべき処理の1部を分担する回路を回線制御プロトコ
ルLSIとコンピュータとの間に付加することによって
コンピュータの負荷を軽減し、制御プログラムの実行時
間を短縮することができる高速通信方式を提供すること
にある。
OBJECTS OF THE INVENTION An object of the present invention is to solve the above-mentioned conventional drawbacks, and to create a circuit between the line control protocol LSI and the computer that shares a part of the processing that the computer should execute when an interrupt occurs from the line control protocol LSI. It is an object of the present invention to provide a high-speed communication method that can reduce the load on a computer and shorten the execution time of a control program by adding the information to the computer.

発明の構成 本発明の高速通信方式は、高速回線に接続され、送受信
データの直並列変換、チェックシーケンスの自動送出、
自動チェック、送受信動作の完了およびエラー発生時等
におけるコンピュータへの割込機能等を有する回線制御
プロトコルLSIと、送受信データバッファのDMA転
送を制御するDMAコントローラと、制御プログラム格
納エリアおよび送受信バッファエリアを有するメモリと
、これらの動作を制御するコンピュータとを備えて、前
記高速回線と端末装置間のインターフェースを行なうよ
うにした高速通信方式において、前記メモリは、前記回
線制御プロトコルLSIに対して発行すべき制御パラメ
ータ、割込要因および前記DMAコントローラに対して
通知すべき送受信バッファに関する情報等をあらかじめ
記憶させておくためのパラメー′タエリアを有し、前記
回線制御プロトコルLSIからの割込発生時に前記メモ
リエリアから必要な制御パラメータを読出して前記回線
制御プロトコルLSIに発行し同時にバッファ情報を前
記DMAコントローラに通知した後に前記メモリエリア
に割込要因を書込むと共に前記コンピュータに割込信号
を送出する割込制御回路を備えたことを特徴とする。
Composition of the Invention The high-speed communication system of the present invention is connected to a high-speed line, performs serial-to-parallel conversion of transmitted and received data, automatically transmits a check sequence,
A line control protocol LSI that has functions such as automatic checking, completion of transmission/reception operations, and interrupts to the computer when an error occurs, etc., a DMA controller that controls DMA transfer of the transmission/reception data buffer, a control program storage area, and a transmission/reception buffer area. In the high-speed communication method, the memory is provided with a memory to be issued to the line control protocol LSI, and a computer that controls these operations to interface between the high-speed line and the terminal device. It has a parameter area for pre-memorizing control parameters, interrupt factors, information regarding the transmitting/receiving buffer to be notified to the DMA controller, and the memory area is used when an interrupt occurs from the line control protocol LSI. an interrupt control that reads necessary control parameters from the DMA controller and issues them to the line control protocol LSI, simultaneously notifies the DMA controller of buffer information, writes an interrupt cause to the memory area, and sends an interrupt signal to the computer; It is characterized by being equipped with a circuit.

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

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

すなわち、端末装置6とコンピュータ2と回線制御プロ
トコルLSIIとがデータバス9に接続され、送受信デ
ータはDMAコントローラ3の制御によって送受信デー
タバッファにDMA転送される。参照数字8はDMA要
求線である。
That is, the terminal device 6, the computer 2, and the line control protocol LSII are connected to the data bus 9, and the transmitted and received data is DMA-transferred to the transmitted and received data buffer under the control of the DMA controller 3. Reference number 8 is the DMA request line.

回線制御プロトコルLSIIは送受信データの並直列変
換、送受信完了またはエラー発生時の割込等を行なうこ
とは従来と同様である。
The line control protocol LSII performs parallel-to-serial conversion of transmitted/received data, interrupts when transmission/reception is completed, or when an error occurs, etc., as in the past.

しかし、本実施例においては、割込制御回路10をデー
タバス9に接続し、回線制御プロトコルLSIIからの
割込は割込信号線7によって上記割込制御回路lOに入
力させ、コンピュータ2への割込信号は、該割込制御回
路10から割込信号線7′によってコンピュータ2に出
力する。そして、データバス9に接続されたメモリ4は
、制御プログラムを格納した制御プログラム格納エリア
a、送受信データを一時蓄積するための送受信データバ
ッファエリアbの他に制御パラメータその他の情報を格
納するためのパラメータエリアCを有する。
However, in this embodiment, the interrupt control circuit 10 is connected to the data bus 9, and interrupts from the line control protocol LSII are inputted to the interrupt control circuit IO through the interrupt signal line 7, and are sent to the computer 2. The interrupt signal is output from the interrupt control circuit 10 to the computer 2 via an interrupt signal line 7'. The memory 4 connected to the data bus 9 includes a control program storage area a for storing control programs, a transmission/reception data buffer area b for temporarily storing transmission and reception data, and a storage area for storing control parameters and other information. It has a parameter area C.

第2図は、上記パラメータエリアC内のメモリエリアの
設定の、−例を示す図である。制御パラメータエリア1
1には、割込発生時に回線制御プロトコルLSIIに対
して発行すべ3Hol (−!−ンドオブインタラプト
)コマンド、エラー リセットコマンド等があらかじめ
設定されている。受信DMA情報エリア12には、受信
データのDMA転送先、すなわち受信データバッファの
アドレスと長さを示すパラメータを設定しておく。送信
DMA情報−エリア13は、送信データのバッファアド
レスと長さを示すパラメータを設定しておくためのエリ
アである。受信割込要因エリア14と送信割込要因エリ
ア15は、割込制御回路10がコンピュータ2に割込発
生要因を通知するために使用するエリアである。
FIG. 2 is a diagram showing an example of setting the memory area in the parameter area C. Control parameter area 1
1 is preset with 3Hol (-!-end of interrupt) commands, error reset commands, etc. to be issued to the line control protocol LSII when an interrupt occurs. In the reception DMA information area 12, parameters indicating the DMA transfer destination of the reception data, that is, the address and length of the reception data buffer, are set. The transmission DMA information area 13 is an area for setting parameters indicating the buffer address and length of transmission data. The reception interrupt cause area 14 and the transmission interrupt cause area 15 are areas used by the interrupt control circuit 10 to notify the computer 2 of an interrupt occurrence factor.

次に本実施例の受信完了時の動作について説明する0回
線制御プロトコルLSIIから受信完了の割込が発生し
、割込信号線7によって割込制御回路lOに通知される
と、割込制御回路10は、制御パラメータエリア11か
ら必要な制御パラメータを出力させ、該パラメータはデ
ータバス9を介して回線制御プロトコルLSIIに入力
される。また受信DMA情報エリア12から次に受信す
るデータを転送すべき受信データバッファのアドレス情
報を読出してDMAコントローラ3に通知し、受信割込
要因エリア14には受信の正常完了を意味するパラメー
タをセットした後割込信号線7′によってコンピュータ
2に割込む。
Next, we will explain the operation at the time of completion of reception in this embodiment.0 When a reception completion interrupt occurs from the line control protocol LSII and is notified to the interrupt control circuit IO via the interrupt signal line 7, the interrupt control circuit 10 outputs necessary control parameters from the control parameter area 11, and these parameters are input to the line control protocol LSII via the data bus 9. Also, the address information of the receive data buffer to which the next received data should be transferred is read from the receive DMA information area 12 and notified to the DMA controller 3, and a parameter indicating normal completion of reception is set in the receive interrupt cause area 14. After that, an interrupt is made to the computer 2 via the interrupt signal line 7'.

コンピュータ2は、受信割込要因エリア14から割込要
因を読出して受信が正常に完了したことを確認した後、
受信DMA情報エリア12に次の次に受信するデータの
バッファ情報を準備しておく、このバッファ情報は、次
の受信完了の割込発生時に割込制御回路10からDMA
コントローラ3に通知するための情報である。このよう
に、受信割込発生時に必要とされる各種パラメータ類を
すべてあらかじめパラメータエリアCに準備しておくこ
とにより1割込制御回路lOが割込発生要因に応じた迅
速な処理を行なうことができる。受信完了時におけるコ
ンピュータ2の実行する処理は、受信完了の確認と受信
DMA情報エリア12の準備だけに限定されるため、プ
ログラムの実行時間が大幅に短縮され、迅速に次のデー
タを受信することができるという効果がある。送信動作
についても、パラメータエリアCに必要なパラメータ類
を準備しておくことにより、上記同様に割込制御回路l
Oによる高速処理が可能である。
After the computer 2 reads the interrupt cause from the reception interrupt cause area 14 and confirms that the reception has been completed normally,
Buffer information for the next data to be received is prepared in the reception DMA information area 12. This buffer information is sent to the DMA from the interrupt control circuit 10 when the next reception completion interrupt occurs.
This is information for notifying the controller 3. In this way, by preparing all the various parameters required when a reception interrupt occurs in the parameter area C in advance, the 1st interrupt control circuit IO can perform prompt processing according to the cause of the interrupt occurrence. can. The processing executed by the computer 2 upon completion of reception is limited to confirmation of completion of reception and preparation of the reception DMA information area 12, so the program execution time is significantly shortened and the next data can be received quickly. It has the effect of being able to. Regarding the transmission operation, by preparing the necessary parameters in the parameter area C, the interrupt control circuit l
High-speed processing using O is possible.

発明の効果 以上のように、本発明においては、メモリにパラメータ
エリアを設けて該パラメータエリアに割込発生時の処理
に必要なパラメータ類をあらかじめ準備しておき、割込
制御回路の制御によって上記パラメータエリアから読出
したパラメータによってコンピュータへの割込および送
受信準備の実行を行なうように構成したから、コンピュ
ータの負担を軽減し高速処理が可能となるという効果が
ある。
Effects of the Invention As described above, in the present invention, a parameter area is provided in the memory, parameters necessary for processing when an interrupt occurs are prepared in advance, and the above-described operations are performed by controlling the interrupt control circuit. Since the configuration is such that an interrupt to the computer and preparation for transmission/reception are executed based on the parameters read from the parameter area, the load on the computer is reduced and high-speed processing becomes possible.

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

第1図は本発明の一実施例を示すブロック図、第2図は
上記実施例のパラメータエリアの構成例を示す図である
。 図において、l二回線制御プロトコルLSI。 2:コンピュータ、3 : DMAコントローラ、4:
メモリ、5:高速回線、6:端末装置、7:割込信号線
、8 : DMA要求線、9:データバス、lO:割込
制御回路、11二制御パラメータエリア、12:受信D
MA情報エリア、13:送信DMA情報エリア、14:
受信割込要因エリア、15:送信割込要因エリア、a:
制御プログラム格納エリア、b:送受信データバッファ
エリア、C:パラメータエリア。 出願人 日本電気株式会社 代理人 弁理士 住田俊宗
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the configuration of a parameter area in the above embodiment. In the figure, two line control protocol LSIs are shown. 2: Computer, 3: DMA controller, 4:
Memory, 5: High-speed line, 6: Terminal device, 7: Interrupt signal line, 8: DMA request line, 9: Data bus, IO: Interrupt control circuit, 112 control parameter area, 12: Reception D
MA information area, 13: Transmission DMA information area, 14:
Reception interrupt cause area, 15: Transmission interrupt cause area, a:
Control program storage area, b: transmission/reception data buffer area, C: parameter area. Applicant: NEC Corporation Agent: Patent Attorney: Toshimune Sumita

Claims (1)

【特許請求の範囲】[Claims] 高速回線に接続され、送受信データの直並列変換、チェ
ックシーケンスの自動送出、自動チェック、送受信動作
の完了およびエラー発生時等におけるコンピュータへの
割込機能等を有する回線制御プロトコルLSIと、送受
信データバッファのDMA転送を制御するDMAコント
ローラと、制御プログラム格納エリアおよび送受信バッ
ファエリアを有するメモリと、これらの動作を制御する
コンピュータとを備えて、前記高速回線と端末装置間の
インターフェースを行なうようにした高速通信方式にお
いて、前記メモリは、前記回線制御プロトコルLSIに
対して発行すべき制御パラメータ、′M込要因および前
記DMAコントローラに対して通知すべき送受信バッフ
ァに関する情報等をあらかじめ記憶させておくためのパ
ラメータエリアを有し、前記回線制御プロトコルLSI
からの割込発圭時に前記メモリエリアから必要な制御パ
ラメータを読出して前記回線制御プロトコルLSIに発
行し同時にバッファ情報を前記DMAコントローラに通
知した後に前記メモリエリアに割込要因を書込むと共に
前記コンピュータに割込信号を送出する割込制御回路を
備えたことを特徴とする高速通信方式。
A line control protocol LSI that is connected to a high-speed line and has functions such as serial-parallel conversion of transmitted and received data, automatic transmission of check sequences, automatic checks, completion of transmission and reception operations, and interrupt functions to the computer when an error occurs, etc., and a transmission and reception data buffer. A high-speed controller that interfaces between the high-speed line and the terminal device, comprising: a DMA controller that controls DMA transfer; a memory having a control program storage area and a sending/receiving buffer area; and a computer that controls these operations. In the communication method, the memory is configured to store in advance control parameters to be issued to the line control protocol LSI, information regarding the 'M-inclusion factor, and transmission/reception buffers to be notified to the DMA controller. area, and the line control protocol LSI
When an interrupt is issued from the memory area, necessary control parameters are read from the memory area and issued to the line control protocol LSI, and at the same time, buffer information is notified to the DMA controller, and then the interrupt cause is written to the memory area, and the computer A high-speed communication method characterized by being equipped with an interrupt control circuit that sends an interrupt signal.
JP59013174A 1984-01-27 1984-01-27 High-speed communication system Granted JPS60158750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59013174A JPS60158750A (en) 1984-01-27 1984-01-27 High-speed communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59013174A JPS60158750A (en) 1984-01-27 1984-01-27 High-speed communication system

Publications (2)

Publication Number Publication Date
JPS60158750A true JPS60158750A (en) 1985-08-20
JPH0342740B2 JPH0342740B2 (en) 1991-06-28

Family

ID=11825815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59013174A Granted JPS60158750A (en) 1984-01-27 1984-01-27 High-speed communication system

Country Status (1)

Country Link
JP (1) JPS60158750A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62175043A (en) * 1986-01-28 1987-07-31 Nec Corp Transmitting receiving control system for loop type communicating system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62175043A (en) * 1986-01-28 1987-07-31 Nec Corp Transmitting receiving control system for loop type communicating system

Also Published As

Publication number Publication date
JPH0342740B2 (en) 1991-06-28

Similar Documents

Publication Publication Date Title
JPH01215161A (en) Frame transmission system
JPS60158750A (en) High-speed communication system
US6700887B1 (en) Packet transfer apparatus which generates access reject command during a DMA transfer
JPS6240751B2 (en)
GB1574470A (en) Intelligent input-output interface control unit for input-output system
JPS6126706B2 (en)
JPS6378257A (en) Input-output controller
JPS61251252A (en) Processing method for data transfer
KR100460994B1 (en) High-bandwidth I/O device with direct memory access and method thereof
JPS634216B2 (en)
JPS6253046A (en) Communication equipment for data of industrial robot
JPS5922462A (en) Communication control system
JP3227273B2 (en) Link processing method of programmable controller
JPS61237149A (en) Program loading system
JPH01276257A (en) Communication control device
JPH01311350A (en) Channel interface circuit
JPS5972533A (en) Direct memory access system
JPS58213336A (en) Communication controller
JPH0194741A (en) Interruption control system for communications control equipment
JPS59230346A (en) Buffering system of transmission/reception data of transmitter
JPS6255182B2 (en)
JPS63266565A (en) Channel adapter control system
JPS6182260A (en) Input and output interruption control system
JPS62544B2 (en)
JPH077954B2 (en) Control device