JPS61139860A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPS61139860A
JPS61139860A JP59262022A JP26202284A JPS61139860A JP S61139860 A JPS61139860 A JP S61139860A JP 59262022 A JP59262022 A JP 59262022A JP 26202284 A JP26202284 A JP 26202284A JP S61139860 A JPS61139860 A JP S61139860A
Authority
JP
Japan
Prior art keywords
frame
transmission
reception
received
storage area
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
JP59262022A
Other languages
Japanese (ja)
Inventor
Yutaka Imai
豊 今井
Koji Sugita
浩二 杉田
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 JP59262022A priority Critical patent/JPS61139860A/en
Publication of JPS61139860A publication Critical patent/JPS61139860A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To receive plural frames in response to a reception command which is sent from a central processor once by transferring a received frame to a storage device together with additional information on its length, and transferring plural frames to one storage area. CONSTITUTION:Receiving operation is started in response to the reception command which is sent from the central processor 5 through a control interface and a transmission and reception control part 2 decides on the start and the end of a frame received from a transmission line 15 to count the frame length. A transfer control part 3 transfers the passed frame and information on the frame length to one area 6 of a storage device 5 indicated by the reception command. When the tail of the one storage area is detected, reception completion is reported to the central processor 4 through the control interface 11 and the indication of the start of receiving operation is sent to the transmission and reception control part 2 with a next reception command. The transfer control part 3 receives the frame which is interrupted owing to the restarted receiving operation and the remaining of this frame is transferred to the head of a next storage area 7.

Description

【発明の詳細な説明】 本発明は通信制御装置に関し、特に任意のビット列の送
受信が行える透過モードの伝送を制御する通信制御装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a communication control device, and more particularly to a communication control device that controls transparent mode transmission in which arbitrary bit strings can be transmitted and received.

(従来技術) 従来、この種の通信制御装置では中央処理装置からの1
回の受信指命に対して% 1つの伝送上のフレームを受
信し主記憶装置へ転送するとともに中央処理装置に割り
込みを発生させ受信の完了を通知していた。
(Prior art) Conventionally, in this type of communication control device, one
For every receive instruction, %1 transmission frame was received and transferred to the main memory, and an interrupt was generated to the central processing unit to notify the completion of reception.

このため、従来の通信制御装置はフレーム長の短いフレ
ームを連続的に受信する場合、中央処理装置の受信指命
を行うだめの処理・受信完了の割り込み処理が高頻度で
発生し、これが負荷となり全体の処理能力の低下をまね
く欠点を有していた。
For this reason, when conventional communication control devices continuously receive frames with short frame lengths, processing for instructing the central processing unit to receive data and interrupt processing for receiving completion occur frequently, which creates a load. This method had the disadvantage of reducing overall processing capacity.

また、この通信制御装置はフレームの送信についても同
様、1フレームごとに中央処理装置が通信制御装置に対
して送信指命を行わねばならず送信完了処理とあわせて
中央処理装置の負荷を高めていた等の欠点を有していた
In addition, in this communication control device, the central processing unit must issue a transmission instruction to the communication control device for each frame, which increases the load on the central processing unit in addition to the transmission completion process. It had the following drawbacks.

(発明の目的) 本発明は従来の通信制御装置におけるかかる欠点を除去
し、1回の送受信指令によって記憶領域内に複数のフレ
ームを受信すること、ならびに記憶領域内に記憶された
複数のフレームを送信することを可能にすることにより
、フレームの送受信に関する中央処理装置の負荷を低減
し得る通信制御装置を提供することにある。
(Object of the Invention) The present invention eliminates such shortcomings in conventional communication control devices, and is capable of receiving a plurality of frames in a storage area with a single transmission/reception command, and receiving a plurality of frames stored in a storage area. An object of the present invention is to provide a communication control device that can reduce the load on a central processing unit related to frame transmission and reception by making it possible to transmit frames.

(発明の構成) 本発明によれば任意のビット列の送受信が行える透過モ
ードの伝送を制御する通信制御装置において、伝送の単
位であるフレーム(ピント列)の受信に際し、受信フレ
ームに受信フレームの長さを示す情報を付加し記憶装置
に転送することにより、1つの記憶領域内に複数のフレ
ームを転送することによって1回の中央処理装置からの
受信指令によって複数フレームの受信が行える通信制御
装置が侵られる。
(Structure of the Invention) According to the present invention, in a communication control device that controls transparent mode transmission in which arbitrary bit strings can be transmitted and received, when receiving a frame (focus sequence) that is a unit of transmission, the length of the received frame is added to the received frame. A communication control device that can receive multiple frames with a single reception command from the central processing unit by transferring multiple frames within one storage area by adding information indicating the be invaded.

更に本発明によれば2つの記憶領域にまたがって1つの
フレームの受信が行える通信制御装置が得られる。
Further, according to the present invention, a communication control device capable of receiving one frame across two storage areas is obtained.

更に父本発明によれば、フレームの送信に際し、送信フ
レームに付加されたフレーム長の情報により1つのフレ
ームt−識別することで1つの記憶領域内に記lされた
複数のフレームを1回の中央処理装置からの送信指令に
よって送信できる通信制御装置が得られる。
Further, according to the present invention, when transmitting a frame, one frame is identified by the frame length information added to the transmitted frame, so that multiple frames recorded in one storage area can be transmitted at one time. A communication control device that can transmit data according to a transmission command from a central processing unit is obtained.

更に本発明によれば、2つの記憶領域にまたがって記憶
された1つのフレームを送信できることを特徴とする通
信制御装置が得られる。
Further, according to the present invention, there is obtained a communication control device characterized in that it can transmit one frame stored across two storage areas.

(実施例) 本発明の実施例について図面を参照して説明する。(Example) Embodiments of the present invention will be described with reference to the drawings.

図面は本発明の一実施例を示す。図において本発明の一
実施例はファクシミリ等の通信制御装置として中央処理
装置4に接続されるインタフェース制御部1と、伝送路
上のフレームの送受信制御部2と、記憶装置5に接続さ
れるフレームの転送制御部3とを含み、インタフェース
制御部1は送受信制御部2および転送制御部3に接続さ
れており、更に送受信制御部2と転送制御部3とが接続
されている。なお、記憶装置との間のフレームの転送は
DMA(ダイレクトメモリアクセス)装置によって行わ
れる。
The drawing shows an embodiment of the invention. In the figure, one embodiment of the present invention includes an interface control section 1 connected to a central processing unit 4 as a communication control device for a facsimile, a frame transmission/reception control section 2 on a transmission path, and a frame transmission control section 2 connected to a storage device 5. The interface control section 1 is connected to the transmission/reception control section 2 and the transfer control section 3, and further connected to the transmission/reception control section 2 and the transfer control section 3. Note that frame transfer to and from the storage device is performed by a DMA (direct memory access) device.

次に本実施例の受信動作について説明すると。Next, the reception operation of this embodiment will be explained.

本実施例は中央処理装置4から制御インタフェースを介
した受信指令によって受信動作が開始される。送受信制
御部2は伝送路15から受信したフレームの開始・終了
を判定しフレーム長をカウントする。この送受信制御部
2はフレームとして識別されたデータとフレーム長をカ
ウントした情報を転送制御部3へ渡す。転送制御部3で
は渡されたフレームとフレーム長の情報を受信指令によ
って示された記憶装置5の1つの記1領域6に転送する
。この転送制御部3は転送が終了すると記1領域内の次
のフレームの格納位置を記憶し、次のフレームの転送に
そなえる。このようにして転送制御部3はこの動作を繰
シ返し行い、1つの記憶領域の終端を検出するとインタ
フェース制御部1に対し1つの記1領域の受信が完了し
たことを通知する。インク7工−ス制御部1は中央処理
装置4に対し受信完了を制御インタフェース11を介し
て通知すると同時に次の受信指令によって送受信制御部
2に対し受信動作の開始を指示する。
In this embodiment, the reception operation is started by a reception command from the central processing unit 4 via the control interface. The transmission/reception control unit 2 determines the start and end of frames received from the transmission path 15 and counts the frame length. The transmission/reception control section 2 passes data identified as a frame and information on counting the frame length to the transfer control section 3. The transfer control unit 3 transfers the passed frame and frame length information to one area 6 of the storage device 5 indicated by the reception command. When the transfer is completed, the transfer control unit 3 stores the storage position of the next frame within the first area and prepares for the transfer of the next frame. In this manner, the transfer control section 3 repeatedly performs this operation, and when it detects the end of one storage area, it notifies the interface control section 1 that reception of one storage area has been completed. The ink 7 process control unit 1 notifies the central processing unit 4 of the completion of reception via the control interface 11, and at the same time instructs the transmission/reception control unit 2 to start the reception operation using the next reception command.

転送制御部3は再開された受信動作によって中断された
フレームの受信が行われ、このフレームの残りを記憶装
置5上の次の記1領域7の先頭に転送する。
The transfer control unit 3 receives the interrupted frame by the restarted reception operation, and transfers the remainder of this frame to the beginning of the next area 7 on the storage device 5.

このようにインタフェース制御部1では2つの受信指令
を保持することができ、受信動作が連続的に行えること
を保証する。
In this way, the interface control unit 1 can hold two reception commands, ensuring that reception operations can be performed continuously.

次に本実施例の送信動作について説明すると。Next, the transmission operation of this embodiment will be explained.

本実施例は中央処理装置から制御インタフェース11を
介して送信指令によって開始される。インタフェース制
御部1はたとえば2つまでの送信指令を保持することが
できるが、この送信指令によって送信制御部2が動作を
開始し、かつ転送制御部3に対し制御インタフェース1
4t−介して送信指令で与えられた1つの化1領域から
のフレームの取り出しを要求する。
This embodiment is started by a transmission command from the central processing unit via the control interface 11. The interface control unit 1 can hold, for example, up to two transmission commands, and this transmission command causes the transmission control unit 2 to start operating and send the control interface 1 to the transfer control unit 3.
4t--Requests the extraction of a frame from a single area given in the transmission command via 4t.

転送制御部3では指定された紀瞳装置5の記憶領域6の
先頭から順次フレームの情報t−読み出し送信制御部3
に渡す。送受信制御部3では渡されたデータ内にあるフ
レーム長の情報をもとに1つのフレームの開始と終了を
判定し、伝送路上15へフレームとして送信し、1つの
フレームの送信が終了すると1次のフレームの読み出し
を転送制御部3へ要求し、送信動作を繰り返見す。
The transfer control unit 3 sequentially reads frame information t- from the beginning of the storage area 6 of the designated pupil device 5 and transmits the information t-out.
give it to The transmission/reception control unit 3 determines the start and end of one frame based on the frame length information in the passed data, and transmits it as a frame to the transmission path 15. When the transmission of one frame is completed, the primary A request is made to the transfer control unit 3 to read the frame, and the transmission operation is repeatedly observed.

転送制御部3は1つの記憶領域6の終端まで読み出した
ことを検出するとインタフェース制御部lに対し1つの
記憶領域6の送信が完了したことを制御インタフェース
12を介して通知する。インタフェース制御部1は中央
処理装置4に対し送信の完了を制御インタフェース11
を介して通知するとともにただちに保持しである次の送
信要求疋もとすいて送信制御部2に対し送信動作を再開
するよう制御インタフェース13を介して指示する。送
信1.制御部2はこの指示により転送制御部3に対し次
の送信指令で与えられた記憶領域7の先頭からフレーム
の取り出しt−要求し、前記厖領域からすでに取り出さ
れ、中断されているフレームに付加し1フレームを完成
させ送信動作t−ta続する。
When the transfer control unit 3 detects that the end of one storage area 6 has been read, it notifies the interface control unit 1 via the control interface 12 that the transmission of one storage area 6 has been completed. The interface control unit 1 controls the central processing unit 4 to complete the transmission via the control interface 11.
The control interface 13 notifies the transmission controller 2 via the control interface 13 to immediately hold the next transmission request and resume the transmission operation. Transmission 1. Based on this instruction, the control unit 2 requests the transfer control unit 3 to take out a frame from the beginning of the storage area 7 given by the next transmission command, and adds it to the interrupted frame that has already been taken out from the storage area. One frame is then completed and the transmission operation continues t-ta.

本実施例においてはファクシミリ装置等の場合に最小5
バイト(40ピツト)のフレームが数ゴ連続して送受信
されることがあり、9600  ビット/秒の回線を使
用すると、1フレームが3ミリ秒単位で送受信されるこ
ととなり、この結果中央処理装置として1秒間に330
回の送受信処理動作が行なわれる。
In this embodiment, in the case of a facsimile machine, etc., the minimum
Frames of several bytes (40 bits) may be sent and received in succession, and if a 9600 bit/second line is used, one frame will be sent and received in units of 3 milliseconds, and as a result, the central processing unit 330 per second
Transmission and reception processing operations are performed twice.

本実施例は例えば4000バイ)(32000ビツト)
の化l領域を使用した場合、この化1領域には約800
のフレームを格納できるので、約2.5秒に1回の送受
信処理しか必要としない。
In this embodiment, for example, 4000 bytes) (32000 bits)
When using the chemical l area, this chemical l area has approximately 800
frames can be stored, so only one transmission/reception process is required approximately every 2.5 seconds.

したがって本発明の一実施例ではファクシミリ装置の場
合フレーム長の平均が約40バイト(320ビツト)程
度であることから中央処理装置の送受信処理による負荷
が送受信用の記憶領域を4000バイトとして1710
0程度に低減できる。
Therefore, in one embodiment of the present invention, since the average frame length of a facsimile machine is about 40 bytes (320 bits), the load on the central processing unit due to transmission and reception processing is 1710, assuming a storage area for transmission and reception of 4000 bytes.
It can be reduced to about 0.

(発明の効果) 本発明は以上説明したように送受信フレームにフレーム
長の情報を付加することによって中央処理装置からの1
回の送受信指命によって複数のフレームの送受信を行う
ことができ、中央処理装置の送受信処理に関する負荷を
低減することができる効果がある。
(Effects of the Invention) As explained above, the present invention adds frame length information to transmitted and received frames to
A plurality of frames can be transmitted and received by one transmission/reception instruction, and the load on the central processing unit regarding transmission and reception processing can be reduced.

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

図面は本発明の実施例を示すブロック図である。 1・・・・・・インタフェース制御部、2・・・・・・
送受信制御部、3・・・・・・転送制御部、4・・・・
・・中央処理装置、5・・・・・・起重装置、6.7・
・・・・・化1領域、11〜14・・・・・・制御イン
タフェース(点線)、15〜17・・・・・・データイ
ンタフェース。
The drawing is a block diagram showing an embodiment of the invention. 1... Interface control unit, 2...
Transmission/reception control unit, 3... Transfer control unit, 4...
... Central processing unit, 5... Lifting device, 6.7.
1 area, 11 to 14, control interface (dotted line), 15 to 17, data interface.

Claims (4)

【特許請求の範囲】[Claims] (1)任意のビット列の送受信が行える透過モードの伝
送を制御する通信制御装置において、伝送の単位である
フレーム(ビット列)の受信に際し、受信フレームに受
信フレームの長さを示す情報を付加し主記憶装置に転送
することと、1つの記憶領域内に複数の受信フレームを
転送することとによって1回の中央処理装置からの受信
指令によって複数フレームの受信が行えるようにしたこ
とを特徴とする通信制御装置。
(1) In a communication control device that controls transmission in a transparent mode that can send and receive arbitrary bit strings, when receiving a frame (bit string), which is a unit of transmission, information indicating the length of the received frame is added to the received frame. A communication characterized in that a plurality of received frames can be received by one reception command from a central processing unit by transferring them to a storage device and transferring a plurality of received frames within one storage area. Control device.
(2)2つの記憶領域にまたがって1つのフレームの受
信(転送)が行えることを特徴とする特許請求の範囲第
(1)項記載の通信制御装置。
(2) The communication control device according to claim (1), wherein one frame can be received (transferred) across two storage areas.
(3)フレームの送信に際し、送信フレームに付加され
たフレーム長の情報により1つのフレームを識別するこ
とにより1つの記憶領域内に記憶された複数のフレーム
を1回の中央処理装置からの送信指令によって送信でき
るようにしたことを特徴とする特許請求の範囲第(1)
項記載の通信制御装置。
(3) When transmitting a frame, multiple frames stored in one storage area are transmitted in one transmission command from the central processing unit by identifying one frame based on the frame length information added to the transmitted frame. Claim No. (1) characterized in that the transmission can be made by
Communication control device described in Section 1.
(4)2つの記憶領域にまたがって記憶された1つのフ
レームを送信できることを特徴とする特許請求の範囲第
(3)項記載の通信制御装置。
(4) The communication control device according to claim (3), which is capable of transmitting one frame stored across two storage areas.
JP59262022A 1984-12-12 1984-12-12 Communication controller Pending JPS61139860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59262022A JPS61139860A (en) 1984-12-12 1984-12-12 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59262022A JPS61139860A (en) 1984-12-12 1984-12-12 Communication controller

Publications (1)

Publication Number Publication Date
JPS61139860A true JPS61139860A (en) 1986-06-27

Family

ID=17369932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59262022A Pending JPS61139860A (en) 1984-12-12 1984-12-12 Communication controller

Country Status (1)

Country Link
JP (1) JPS61139860A (en)

Similar Documents

Publication Publication Date Title
US5604866A (en) Flow control system having a counter in transmitter for decrementing and incrementing based upon transmitting and received message size respectively for indicating free space in receiver
JPS61139860A (en) Communication controller
JPS6335139B2 (en)
JPS622747A (en) Reception control system
JPH04319467A (en) Printing device
JP3670372B2 (en) Data transfer device
JPS6051346A (en) Data transfer system
JPH04277850A (en) Descriptor control system
JPH0234518B2 (en)
JPH05204829A (en) Data transfer device
JP2580382B2 (en) High-speed I / O instruction method
JPH05260085A (en) Facsimile store and forward exchange device
JP2539517B2 (en) Communication control method
JPH05176000A (en) Data repeater
JPH02149049A (en) Communication control system
JP3198251B2 (en) Information communication terminal
JPH0561617A (en) Printing control system
JPH05276221A (en) Reception control system
JPH0783367B2 (en) Data transmission control system
JPH10254800A (en) Serial interface transfer device
JPS6051751B2 (en) Communication control device
JPS59230346A (en) Buffering system of transmission/reception data of transmitter
JPS60198938A (en) Communication controller
KR20000007884A (en) Loading method of small asynchronous transfer switching system
JPS6029987B2 (en) Data transfer control method