JPH03248252A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH03248252A
JPH03248252A JP2046452A JP4645290A JPH03248252A JP H03248252 A JPH03248252 A JP H03248252A JP 2046452 A JP2046452 A JP 2046452A JP 4645290 A JP4645290 A JP 4645290A JP H03248252 A JPH03248252 A JP H03248252A
Authority
JP
Japan
Prior art keywords
characters
stored
central processing
processing unit
main memory
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
JP2046452A
Other languages
Japanese (ja)
Inventor
Yoshiaki Koizumi
小泉 義明
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 JP2046452A priority Critical patent/JPH03248252A/en
Publication of JPH03248252A publication Critical patent/JPH03248252A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To perform high-speed communication and to relax restrictions on transmission control procedures by providing a communication control part, DMA control part, a character storage part, and a report part to a CPU. CONSTITUTION:When serial data is received from a terminal equipment or the like through a communication line, a communication control part 11 composes characters by parallel conversion, and a DMA control part 11 stores these characters in a main memory 3 of a central processing unit 2. The DMA control part 11 monitors reception characters stored in the main memory 3; and when a characters equal to a prescribed character like ETX, ETB, EOT, ENQ for basic procedures stored in a character storage part 14 is stored in the main memory, an interrupt generating part 13 searches this state to report it to the central processing unit 2 by interrupt. The central processing unit 2 refers to data stored in the main memory 3 to execute a corresponding processing. High-speed communication is possible because reception characters are directly stored in the main memory, and various transmission control procedures such as basic procedures can be adopted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、遠隔地の端末装置などと中央処理装置とを通
信回線を介して接続し、両者間のデータの授受に関する
制御を行う通信制御装置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a communication control system that connects a terminal device at a remote location and a central processing unit via a communication line and controls the exchange of data between the two. It is related to the device.

〔従来の技術〕[Conventional technology]

従来、文字の組み立てと分解までの機能をサポートする
通信制御装置として、受信した文字を中央処理装置側へ
伝達する仕方により、第3図と第4図に示す2通りの構
成が提案されている。
Conventionally, as a communication control device that supports the functions of assembling and disassembling characters, two configurations have been proposed, as shown in Figures 3 and 4, depending on how received characters are transmitted to the central processing unit. .

第3図の通信制御装置300は、通信回線4を介して図
示しない端末装置等からシリアルなデータを受信すると
、これをパラレル変換して文字に組み立て、1文字ずつ
バス303を介して中央処理袋W301に送るものであ
る。この場合、中央処理装置301は、通信制御装置3
00から1文字を受け取る毎に所定の処理を実行しメイ
ンメモIJ 302にパス304を介して受信文字を格
納する等の処理を行うことになる。なお、第3図におい
て、305は通信制御装置300と中央処理袋W301
とを結ぶ信号線であり、この信号!!305を介して両
装置間で制御信号の授受等が行われる。
When the communication control device 300 in FIG. 3 receives serial data from a terminal device, etc. (not shown) via the communication line 4, it converts the data into parallel data, assembles it into characters, and transfers the data one character at a time to a central processing unit via the bus 303. This is to be sent to W301. In this case, the central processing unit 301
Each time a character from 00 is received, a predetermined process is executed, such as storing the received character in the main memo IJ 302 via the path 304. In addition, in FIG. 3, 305 indicates the communication control device 300 and the central processing bag W301.
It is a signal line that connects this signal! ! Control signals are exchanged between the two devices via 305.

他方第4図の通信制御装置400は、通信制御部400
1 トDMAll11部4002とを含み、通信回線4
から受信したシリアルなデータを通信制御部4001に
おいてパラレル変換して文字に組み立ててパス4003
を介してDMA制御部4002に送り、このDMA制御
部4002によりバス403を介して直接にメインメモ
リ402に文字の格納を行うものである。この場合、中
央処理袋!401は、1文字毎の受け取り処理は不要に
なるが、受信文字をリアルタイムに認識できないため、
例えばメインメモリ402の文字格納領域を定期的に調
べる等の処理を行うことにより、通信相手との通信を続
けることになる。なお、第4図において、404,40
5は中央処理装置401と通信制御部4001.DMA
制御部4002を結ぶ信号線であり、これらの信号線を
介して両者間で制御信号等の授受が行われる。また、4
06は中央処理装置401とメインメモリ402とを結
ぶ信号線である。
On the other hand, the communication control device 400 in FIG.
1 DMA All 11 part 4002, and the communication line 4
The communication controller 4001 converts the serial data received from
The DMA controller 4002 directly stores the characters in the main memory 402 via the bus 403. In this case, central processing bags! 401 eliminates the need to process the reception of each character, but since the received characters cannot be recognized in real time,
For example, by periodically checking the character storage area of the main memory 402, communication with the communication partner is continued. In addition, in Fig. 4, 404, 40
5 is a central processing unit 401 and a communication control unit 4001. D.M.A.
These are signal lines that connect the control unit 4002, and control signals and the like are exchanged between the two via these signal lines. Also, 4
06 is a signal line connecting the central processing unit 401 and the main memory 402.

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

従来の通信制御装置は上述したような構成で受信文字を
中央処理装置側に伝達していたが、各々次のような問題
点があった。
Conventional communication control devices have the above-described configuration to transmit received characters to the central processing unit, but each has the following problems.

(1)第3図の通信制御装置300では、中央処理装置
301は1文字毎の受け取り処理が必要となり、通信回
線4による通信の速度が高速になって、中央処理装置3
01の処理速度より受信データを受け取る速度が速くな
ると、データを消失してしまう。この結果、第3図の通
信制御装置300は高速通信には不向きである。
(1) In the communication control device 300 shown in FIG. 3, the central processing unit 301 is required to receive and process each character, and the communication speed via the communication line 4 becomes high.
If the speed of receiving received data becomes faster than the processing speed of 01, the data will be lost. As a result, the communication control device 300 shown in FIG. 3 is not suitable for high-speed communication.

(2)第4図の通信制御装置400では、中央処理装置
401を介さないので高速通信は可能であるが、前述し
た如く中央処理装置401は受信文字をリアルタイムに
認識できない為、採用可能な伝送制御手順が制限される
。即ち、第5図(a)に示すような転送フォーマットを
使用してテキスト(データ)のスタート/ストップを特
定の1文字(F”’ (7E) xtx )で制御し、
一定量データの連続送信と連続応答による同時監視式伝
送制御を採用しているHDLCには適用が容易であるが
、第5図(ロ)〜(e)に示すような各種の転送フォー
マットを使用してデータのスタート/ストップ等を複数
の文字で制御し、データを幾つかのブロックに分割して
送信し受信側の正常受信応答を待って次のブロックを送
信する交互監視式伝送制御を採用しているベーシック手
順には適用が困難である。
(2) In the communication control device 400 in FIG. 4, high-speed communication is possible because the central processing unit 401 is not used, but as mentioned above, the central processing unit 401 cannot recognize received characters in real time, so the transmission that can be adopted is Control procedures are limited. That is, using a transfer format as shown in FIG. 5(a), the start/stop of text (data) is controlled by a specific character (F"' (7E) xtx),
Although it is easy to apply to HDLC, which employs simultaneous monitoring transmission control based on continuous transmission of a fixed amount of data and continuous response, various transfer formats as shown in Figures 5 (b) to (e) are used. Adopts an alternate monitoring type transmission control that controls data start/stop etc. using multiple characters, divides the data into several blocks, sends them, waits for a normal reception response from the receiving side, and then sends the next block. It is difficult to apply basic procedures that

本発明はこのような事情に鑑みて為されたもので、その
目的は、高速通信が可能で且つ採用可能な伝送制御手順
の制限を緩和した通信制御装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a communication control device that is capable of high-speed communication and has relaxed restrictions on employable transmission control procedures.

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

本発明の通信制御装置は、上記の目的を達成するために
、 通信回線を制御する通信Km部き、 この通信制御部から出力された受信文字を受け取って中
央処理装置のメインメモリへ格納するDMAflU1部
と、 所定の文字、例えばベーシック手順を採用する場合には
例えばETX、ETB、EOT、ENQを記憶する文字
格納部と、 前記DMA制御部が前記メインメモリへ格納する受信文
字を監視し、前記文字格納部に格納された文字と同一文
字の格納が行われた時、その旨を前記中央処理装置へ例
えば割り込みによって通知する通知部とを有している。
In order to achieve the above object, the communication control device of the present invention includes a communication Km unit that controls a communication line, and a DMAflU1 that receives received characters output from the communication control unit and stores them in the main memory of the central processing unit. a character storage section for storing predetermined characters, for example, ETX, ETB, EOT, and ENQ when a basic procedure is adopted; The apparatus includes a notification section that notifies the central processing unit of this fact, for example, by interrupting, when the same character as the character stored in the character storage section is stored.

〔作用〕[Effect]

本発明の通信#御装置においては、通信回線を介して端
末装置などからシリアルなデータを受信すると、通信制
御部がパラレル変換を行って文字に組み立て、この文字
をDMAIIWJ部が中央処理装置のメインメモリへ格
納する。このとき、通知部が、その格納される受信文字
を監視しており、文字格納部に格納されたETX、ET
B、EOT。
In the communication control device of the present invention, when serial data is received from a terminal device etc. via a communication line, the communication control section performs parallel conversion and assembles it into characters, and the DMAIIWJ section converts the characters into characters. Store in memory. At this time, the notification section monitors the received characters that are stored, and the ETX, ET stored in the character storage section.
B.EOT.

ENQ等の文字と同一文字の格納が行われた時には、そ
の旨を例えば割り込みによって中央処理装置へ通知する
When a character identical to a character such as ENQ is stored, this fact is notified to the central processing unit by, for example, an interrupt.

〔実施例〕〔Example〕

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

第1図を参照すると、本発明の一実施例の通信制御装置
1は、通信制御部11と、DMA制御部12と、特定文
字サーチ割り込み発生部13と、特定文字格納部14と
を有している。
Referring to FIG. 1, a communication control device 1 according to an embodiment of the present invention includes a communication control section 11, a DMA control section 12, a specific character search interrupt generation section 13, and a specific character storage section 14. ing.

通信制御部11は、通信回線4に接続されると共に制御
信号等の授受の為に信号線5を介して中央処理装置2に
接続され、また受信文字を伝達するためのパス15を介
してDMAliIlIll部12に接続されている。こ
の通信制御部11は受信にかかる文字の組み立て、送信
にかかる文字の分解を行う部分である。特に、通信回線
4を介してシリアルなデータを受信した場合には、それ
をパラレル変換して文字を組み立て、その受信文字をパ
ス15を介してDMA制御部12に送出する。
The communication control unit 11 is connected to the communication line 4 and to the central processing unit 2 via a signal line 5 for sending and receiving control signals, etc., and is also connected to the central processing unit 2 via a path 15 for transmitting received characters. 12. This communication control unit 11 is a part that assembles characters for reception and disassembles characters for transmission. In particular, when serial data is received via the communication line 4, it is converted into parallel data, assembled into characters, and the received characters are sent to the DMA control unit 12 via the path 15.

DMA制御部12は、制御信号授受のための信号線6を
介して中央処理装置2に接続されると共に受信文字をメ
インメモリ3に書き込むためのパス16を介して特定文
字サーチ割り込み発生部13に接続されている。このD
MAI]?1部12は、通信制御部11からパス15を
介して渡された受信文字を、パス16.特定文字サーチ
割り込み発生部13.バスlOを介してメインメモリ3
に直接格納する。なお、メインメモリ3の格納先アドレ
スは信号線6を介して中央処理装置2から指定されるも
のである。
The DMA control unit 12 is connected to the central processing unit 2 via a signal line 6 for sending and receiving control signals, and is connected to the specific character search interrupt generation unit 13 via a path 16 for writing received characters into the main memory 3. It is connected. This D
MAI]? The first unit 12 receives the received characters passed from the communication control unit 11 via the path 15 to the path 16 . Specific character search interrupt generation unit 13. Main memory 3 via bus lO
Store directly in . Note that the storage destination address of the main memory 3 is specified by the central processing unit 2 via the signal line 6.

特定文字格納部14は、採用された伝送制御手順に合致
する特定の文字を保持する部分である。
The specific character storage section 14 is a part that holds specific characters that match the adopted transmission control procedure.

例えばベーシック手順を採用する場合、特定文字格納部
14には、ETX、ETB、EOT、ENQの各文字を
表現する16進数値(03)、(17)、  (04)
、  (05)が図示の如く格納され、それらがパス1
7を介して特定文字サーチ割り込み発生部13に与えら
れる。なお、文字の格納は例えば中央処理装置2から信
号線7を介して行われる。
For example, when adopting the basic procedure, the specific character storage section 14 contains hexadecimal values (03), (17), (04) representing each character of ETX, ETB, EOT, and ENQ.
, (05) are stored as shown in the figure, and they are stored as path 1.
7 to the specific character search interrupt generating section 13. Note that the characters are stored, for example, from the central processing unit 2 via the signal line 7.

特定文字サーチ割り込み発生部13は、割り込み信号線
8により中央処理装置2と接続され、DMA制?1部1
2からパス16を介して送られてきた受信文字等の信号
をそのままパス10を介してメインメモリ3に送出する
と共に、そのパス16上の受信文字を常時監視し、特定
文字格納部14に格納された文字と同一文字の格納が行
われた時、割り込み信号線8によって中央処理装置2に
割り込みをかける。このような特定文字サーチ割り込み
発生部13は、例えば第2図に示すように、パス16を
介してDMA制御部12から送られる受信文字とパス1
7を介して特定文字格納部14から加えられている特定
文字とを比較する比較器121〜124と、これら比較
器の出力の論理和条件信号を割り込み信号線8に出力す
るオア回路125で構成することができる。
The specific character search interrupt generating section 13 is connected to the central processing unit 2 via an interrupt signal line 8, and is connected to the central processing unit 2 using a DMA system. 1 part 1
2 through the path 16 to the main memory 3 via the path 10, and constantly monitors the received characters on the path 16 and stores them in the specific character storage section 14. When the same character is stored, an interrupt is sent to the central processing unit 2 via the interrupt signal line 8. Such a specific character search interrupt generation unit 13, as shown in FIG.
It consists of comparators 121 to 124 that compare the specific characters added from the specific character storage section 14 via 7, and an OR circuit 125 that outputs the OR condition signal of the outputs of these comparators to the interrupt signal line 8. can do.

また、第1図の中央処理装置2は、信号線5゜6によっ
て通信制御部11.DMA1il制御部12を制御する
と共に、信号線7によって特定文字格納部14への特定
文字の格納を行い、更に割り込み信号線8から割り込み
がかかると、信号線9を介してメインメモリ3の格納デ
ータを参照し、受信文字に応じた処理を実行する。
The central processing unit 2 in FIG. 1 also connects the communication control unit 11. In addition to controlling the DMA1il control unit 12, a specific character is stored in the specific character storage unit 14 via the signal line 7, and when an interrupt is generated from the interrupt signal line 8, the data stored in the main memory 3 is stored via the signal line 9. , and perform processing according to the received character.

次に、上述のように構成された本実施例の動作を、ベー
シック手順を採用し、特定文字格納部14に図示の如き
特定文字が格納されている場合を例にして説明する。
Next, the operation of the present embodiment configured as described above will be explained using a basic procedure and taking as an example a case where a specific character as shown in the figure is stored in the specific character storage section 14.

通信回線4を介して図示しない端末装置等からシリアル
なデータが送られてくると、そのデータは通信制御装置
1の通信制御部11で受信され、シリアル−パラレル変
換されて文字としてDMA制御部12に渡される。DM
A制御部12はこの受信文字を中央処理装置2からの指
示により指定されたメインメモリ3のアドレスへ特定文
字サーチ割り込み発生部13を介して格納する。このと
き、特定文字サーチ割り込み発生部13の第2図に示す
各比較器121〜124において、上記格納される受信
文字と特定文字格納部14に保持された特定の文字とが
比較され、一致した場合にはオア回路125から割り込
み信号線8を介して中央処理装置2へ割り込みがかけら
れる。
When serial data is sent from a terminal device (not shown) through the communication line 4, the data is received by the communication control unit 11 of the communication control device 1, converted from serial to parallel, and sent as characters to the DMA control unit 12. passed to. DM
The A control unit 12 stores this received character in the address of the main memory 3 specified by the instruction from the central processing unit 2 via the specific character search interrupt generation unit 13. At this time, each of the comparators 121 to 124 shown in FIG. In this case, the OR circuit 125 issues an interrupt to the central processing unit 2 via the interrupt signal line 8.

中央処理装置2は割り込みがかかると、メインメモリ3
の格納データを参照し、その格納データに応じた処理を
実行する。この結果、端末装置等からETX、ETB、
EOT、ENQが送られてくると、はぼリアルタイムで
それらを認識し必要な処理を迅速に実行することが可能
となる。
When the central processing unit 2 receives an interrupt, the main memory 3
Refers to the stored data in and executes processing according to the stored data. As a result, ETX, ETB,
When EOT and ENQ are sent, it is possible to recognize them in almost real time and quickly execute necessary processing.

以上、本発明の実施例について説明したが、本発明は以
上の実施例にのみ限定されずその他各種の付加変更が可
能である。例えば、特定文字格納部14に格納する文字
の種類は上記の例に限られず、採用する伝送制御手順に
応じ中央処理装置2に即座に認識させたい文字を格納す
ることができる。また、特定文字がメインメモリ3に格
納された旨の通知を割り込み以外の方法で中央処理装置
2に通知するようにしても良い。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments, and various other additions and changes are possible. For example, the types of characters stored in the specific character storage section 14 are not limited to the above example, and characters that are desired to be immediately recognized by the central processing unit 2 can be stored in accordance with the transmission control procedure adopted. Further, the central processing unit 2 may be notified that the specific character has been stored in the main memory 3 by a method other than an interrupt.

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

以上説明した本発明の通信制御装置によれば、次のよう
な効果を得ることできる。
According to the communication control device of the present invention described above, the following effects can be obtained.

■ 受信文字を中央処理装置を介さずDMA制御部によ
りメインメモリに直接格納しているので、高速通信が可
能となる。
- Since the received characters are directly stored in the main memory by the DMA control unit without going through the central processing unit, high-speed communication is possible.

■ DMA制御部によってメインメモリに格納される受
信文字が予め設定された特定の文字例えばベーシック手
順の場合にはETX、ETB、EOT、ENQ等の文字
であれば、特定文字サーチ割り込み発生部等の通知部に
より割り込み等によって速やかに中央処理装置に通知さ
れるので、中央処理装置は必要な処理を迅速に実行する
ことができる。このため、ベーシック手順の如く種々の
伝送制御手順を採用することが可能となる。
■ If the received character stored in the main memory by the DMA control unit is a preset specific character, for example, ETX, ETB, EOT, ENQ, etc. in the case of the basic procedure, the specific character search interrupt generation unit, etc. Since the notification unit promptly notifies the central processing unit by an interrupt or the like, the central processing unit can quickly execute necessary processing. Therefore, it is possible to employ various transmission control procedures such as the basic procedure.

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

第1図は本発明の一実施例の構成図、 第2図は特定文字サーチ割り込み発生部13の構成例を
示す回路図、 第3図および第4図は従来の通信制御装置の説明図並び
に、 第5図は転送フォーマント例を示す図である。 図において、 1・・・通信制御装置 2・・・中央処理装置 3・・・メインメモリ ・・・通信回線 1・・・通信制御部 2・・・DMA制御部 3・・・特定文字サーチ割り込み発生部4・・・特定文
字格納部
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a circuit diagram showing an example of the configuration of the specific character search interrupt generation section 13, and FIGS. 3 and 4 are explanatory diagrams and diagrams of a conventional communication control device. , FIG. 5 is a diagram showing an example of a transfer formant. In the figure, 1...Communication control device 2...Central processing unit 3...Main memory...Communication line 1...Communication control unit 2...DMA control unit 3...Specific character search interrupt Generation part 4...Specific character storage part

Claims (3)

【特許請求の範囲】[Claims] (1)通信回線を制御する通信制御部と、 該通信制御部から出力された受信文字を受け取って中央
処理装置のメインメモリへ格納するDMA制御部と、 所定の文字を記憶する文字格納部と、 前記DMA制御部が前記メインメモリへ格納する受信文
字を監視し、前記文字格納部に格納された文字と同一文
字の格納が行われた時、その旨を前記中央処理装置へ通
知する通知部とを含む通信制御装置。
(1) A communication control unit that controls a communication line, a DMA control unit that receives received characters output from the communication control unit and stores them in the main memory of a central processing unit, and a character storage unit that stores predetermined characters. , a notification unit that monitors received characters stored in the main memory by the DMA control unit, and notifies the central processing unit when the same character as the character stored in the character storage unit is stored; A communication control device including.
(2)前記通知部は、割り込みによって前記中央処理装
置へ通知を行う請求項1記載の通信制御装置。
(2) The communication control device according to claim 1, wherein the notification section notifies the central processing unit by an interrupt.
(3)ベーシック手順をサポートし、前記文字格納部に
ETX、ETB、EOT、ENQが格納される請求項1
または2記載の通信制御装置。
(3) A basic procedure is supported, and ETX, ETB, EOT, and ENQ are stored in the character storage unit.
Or the communication control device according to 2.
JP2046452A 1990-02-27 1990-02-27 Communication controller Pending JPH03248252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2046452A JPH03248252A (en) 1990-02-27 1990-02-27 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2046452A JPH03248252A (en) 1990-02-27 1990-02-27 Communication controller

Publications (1)

Publication Number Publication Date
JPH03248252A true JPH03248252A (en) 1991-11-06

Family

ID=12747553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2046452A Pending JPH03248252A (en) 1990-02-27 1990-02-27 Communication controller

Country Status (1)

Country Link
JP (1) JPH03248252A (en)

Similar Documents

Publication Publication Date Title
JPH04165841A (en) Remote operation control system for facsimile terminal line concentration device
JPH03248252A (en) Communication controller
JP2733569B2 (en) Serial synchronous communication system
JP2658129B2 (en) Data transmission equipment
JPH03143047A (en) Communication control system
JPH04101265A (en) System for controlling input-output between information processing device
JPS61196353A (en) Multiplexing bus control system
JPS63197144A (en) Information communication system
JPS6257337A (en) Data transmission equipment
JPH02161866A (en) Facsimile equipment
JPH1188330A (en) Simulator device and remote maintenance system using the same
JPH01291598A (en) Monitor information transmission system
JP2616010B2 (en) Packet network
JPS63164548A (en) Transmission equipment
JPS61292446A (en) Transmission line control system
JPH03108929A (en) Data transmitter
JPS62122438A (en) Control signal transfer system
JPS628249A (en) Control system for data monitoring
JPH04236537A (en) Data communication system
JPH04162163A (en) Communication protocol packaging system
JPH03265246A (en) Data transmission system
JPH0231596A (en) Data link transmitting device
JPS58177051A (en) Communication device
JPS63197143A (en) Multi-point communication system
JPH04102150A (en) Telegraphic message editing and transmitting system