JPH02189049A - Line controller - Google Patents

Line controller

Info

Publication number
JPH02189049A
JPH02189049A JP1007846A JP784689A JPH02189049A JP H02189049 A JPH02189049 A JP H02189049A JP 1007846 A JP1007846 A JP 1007846A JP 784689 A JP784689 A JP 784689A JP H02189049 A JPH02189049 A JP H02189049A
Authority
JP
Japan
Prior art keywords
buffer
reception
memory
line control
transmission
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
JP1007846A
Other languages
Japanese (ja)
Other versions
JP2762506B2 (en
Inventor
Kenji Kawakita
謙二 川北
Shigeki Morimoto
茂樹 森本
Katsumi Maeda
克己 前田
Toshiaki Koyama
俊明 小山
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer 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 Hitachi Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP1007846A priority Critical patent/JP2762506B2/en
Publication of JPH02189049A publication Critical patent/JPH02189049A/en
Application granted granted Critical
Publication of JP2762506B2 publication Critical patent/JP2762506B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the occurrence of overrun and underrun by separating management information between a transmission/reception buffer main body and a transmission/reception buffer, storing the management information in a memory provided at the location of a line control section to be accessed fastest and providing a bus access control circuit between the memory and the transmission/reception buffer. CONSTITUTION:Buffer management information 6000 is stored in a 2nd reception buffer memory 250. A bus access control circuit 500 in order to isolate electrically and logically internal buses 502, 504, can read the buffer management information of a reception line control section 200 in parallel even while a reception DMAC 260 transfers the received data in a 1st reception buffer memory 290 to a main memory 800 via the internal bus 504. Thus, no overrun takes place even to the received data from a high speed line. This is similarly applied to the transmission side.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は回線制御装置に関し、特に処理能力の向上と、
信頼性の向上を可能とする回線制御装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a line control device, and particularly to an improvement in processing capacity,
The present invention relates to a line control device that enables improved reliability.

〔従来の技術〕[Conventional technology]

従来、回線制御装置の処理能力を向上させるため1手順
処理プロセッサを送信、受信料々に設けた例として、ア
イ・ニス・ニス′81プロシーデインゲスのセツション
23B、ペーパー4.1981年(ISS’81  P
roceedings、5ession23B、Pap
er4,1981)のF igure 6に示されてい
るCCITT(国際電信電話諮問委員会)Na3共通線
信号処理装置が挙げられる。
Conventionally, as an example of providing one-procedure processing processors for transmitting and receiving signals in order to improve the processing capacity of line control equipment, I. 81 P
roceedings, 5ession23B, Pap
An example of this is the CCITT (International Telegraph and Telephone Consultative Committee) Na3 common line signal processing device shown in Figure 6 of er4, 1981).

この装置は、通信プロトコルは送信側の状態遷移機械と
受信側の状態遷移機械に分けて記述できることから、送
信側と受信側をそれぞれマイクロプロセッサ、ROM、
RAM、S IO(回線制御用周辺LSI)等で構成し
、送信側と受信側を PIO(パラレル入出力用周辺L
SI)で接続した構成をとっている。
This device uses a microprocessor, ROM,
It consists of RAM, SIO (peripheral LSI for line control), etc., and the transmitting and receiving sides are PIO (peripheral LSI for parallel input/output).
SI).

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

上記従来技術は、回線速度が高速化した場合についての
配慮がなされておらず、高速回線接続時に、上記SIO
とRAM中の送受信バッファの間のデータ転送速度(単
位時間当りのデータ転送量)が大きくなると、バスの使
用率が高くなりCPUがホールドして、手順処理が行わ
れにくくなるという問題があった。
The above conventional technology does not take into consideration the case where the line speed increases, and when connecting to a high-speed line, the SIO
When the data transfer rate (amount of data transferred per unit time) between the CPU and the transmitting/receiving buffer in RAM increases, the bus usage rate increases, causing the CPU to hold and making it difficult to perform procedural processing. .

また、高速にバッファとの間のデータ転送を行うだめに
、D M A C(Direct Memory Ac
cessController)を使用した場合、該D
MACが、送受信バッファのアドレス等の管理情報をメ
モリから取込むときにバス空き待ちをするため、受信時
にデータの欠落を生ずる、いわゆるオーバーランエラー
や、送信時に送信データに欠落を生ずる、いわゆるアン
ダーランエラーを発生し、信頼性が低下するという問題
もあった。
In addition, in order to transfer data to and from the buffer at high speed, DM A C (Direct Memory Ac
cessController), the corresponding D
When the MAC takes in management information such as the address of the transmitting/receiving buffer from memory, it waits for the bus to become free, which causes so-called overrun errors that cause data to be lost during reception, and so-called under-run errors that occur when sent data is lost during transmission. There was also the problem that run errors occurred and reliability decreased.

本発明の目的は、従来の技術における上述の如き問題を
解消し、高速回線に接続した場合にも手順処理CPUと
DMACのメモリアクセスを可能とし、手順処理能力を
向上させるとともに、オーバーラン、アンダーランの発
生をなくすることが可能な回線制御装置を提供すること
にある。
An object of the present invention is to solve the above-mentioned problems in the conventional technology, to enable memory access of the procedure processing CPU and DMAC even when connected to a high-speed line, to improve procedure processing ability, and to prevent overruns and underruns. An object of the present invention is to provide a line control device capable of eliminating the occurrence of runs.

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

本発明の上記目的は、受信回線に接続される受信回線制
御部と、送信回線に接続される送信回線制御部と、上位
プロセッサまたは他の回線制御装置との接続手段と、送
信手順処理プロセッサと。
The above-mentioned object of the present invention is to provide a reception line control section connected to a reception line, a transmission line control section connected to a transmission line, means for connecting a host processor or other line control device, and a transmission procedure processing processor. .

受信手順処理プロセッサと、送信バッファと、受信バッ
ファおよびこれらを接続する内部バスを有する回線制御
装置において、前記送信手順処理プロセッサと受信手順
処理プロセッサ間に通信手段を設け、前記送信バッファ
を管理する情報と受信バッファを管理する情報とを、前
記送信バッファ。
In a line control device having a reception procedure processor, a transmission buffer, a reception buffer, and an internal bus connecting these, a communication means is provided between the transmission procedure processor and the reception procedure processor, and information for managing the transmission buffer. and information for managing the receive buffer, the transmit buffer.

受信バッファとは別のメモリ手段にそれぞれ格納すると
ともに、前記メモリ手段と前記送信バッファ、受信バッ
ファとをそれぞれ独立にアクセス可能とする内部バスア
クセス制御回路を設けたことを特徴とする回線制御装置
によって達成される。
A line control device characterized in that an internal bus access control circuit is provided for storing data in a memory means separate from a receiving buffer, and for making each of the memory means, the transmitting buffer, and the receiving buffer independently accessible. achieved.

〔作用〕[Effect]

本発明に係る回線制御装置においては、送受信バッファ
本体と送・受信バッファの管理情報を分離させ、管理情
報を回線制御部の最も高速にアクセスできる位置に新た
に設けたメモリに格納し、このメモリと送・受信バッフ
ァメモリの間にバスアクセス制御回路を設けたものであ
る。
In the line control device according to the present invention, the transmission/reception buffer main body and the management information of the transmission/reception buffer are separated, and the management information is stored in a newly provided memory at the fastest accessible position of the line control unit. A bus access control circuit is provided between the transmitter and transmitter/receiver buffer memory.

具体的に言えば、第1図に示す第2受信用バツフアメモ
リ250に、第3図に示すバッファ管理情報6000を
格納する点が特徴である。第1図に示す受信回線制御部
200は、第2受信バツフアメモリ250上の上記バッ
ファ管理情報を読込み、そのバッファポインタが示す第
1受信用バツフアメモリ290上のバッファ6100に
、受信データを格納する。
Specifically, a feature is that buffer management information 6000 shown in FIG. 3 is stored in the second receiving buffer memory 250 shown in FIG. The reception line control unit 200 shown in FIG. 1 reads the buffer management information on the second reception buffer memory 250 and stores the reception data in the buffer 6100 on the first reception buffer memory 290 indicated by the buffer pointer.

受信手順処理CPU270は、受信データの手順処理を
行う。手順処理終了後の受信データは、受信用DMAC
260により、システムバス600を介してメインメモ
リ800に転送され、その後、メインCPU700によ
り処理され、上位装置インタフェース用チャネルアダプ
タ900によりチャネル3000を介して、後述するホ
ストコンピュータ2000に転送される。
The reception procedure processing CPU 270 performs procedure processing on received data. After the procedure processing is completed, the received data is sent to the receiving DMAC.
260, the data is transferred to the main memory 800 via the system bus 600, then processed by the main CPU 700, and transferred to the host computer 2000, which will be described later, via the channel 3000 by the upper device interface channel adapter 900.

バスアクセス制御回路500は、内部バス502と50
4の間を電気的、論理的に切離すため、受信用DMAC
260が、第1受信用バツフアメモリ290上の受信デ
ータを、内部バス504を介してメインメモリ800へ
転送中であっても、それと並行して受信回線制御部20
0のバッファ管理情報読込みができる。これにより、高
速回線からの受信データに対しても、オーバーランする
ことがない。
The bus access control circuit 500 includes internal buses 502 and 50.
In order to electrically and logically separate the
260 is transferring the received data on the first reception buffer memory 290 to the main memory 800 via the internal bus 504, the reception line control unit 20
0 buffer management information can be read. This prevents overrun even with data received from a high-speed line.

送信側も、同様である。The same applies to the sending side.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

最初に、第一の実施例を説明する。First, a first example will be described.

第2図は、本発明の一実施例である回線制御装置100
を含む通信制御装置1000の構成例を示す図である。
FIG. 2 shows a line control device 100 which is an embodiment of the present invention.
1 is a diagram illustrating a configuration example of a communication control device 1000 including: FIG.

本実施例に示す通信制御装置1000は、チャネル30
00を介してホストコンピュータ2000に接続される
。通信制御装置1000は、複数の回線制御装置と、メ
インCPU700.メインメモリ800゜上位装置イン
タフェース用チャネルアダプタ900を、システムバス
600で接続して構成される。
The communication control device 1000 shown in this embodiment has a channel 30.
00 to the host computer 2000. The communication control device 1000 includes a plurality of line control devices and a main CPU 700. The main memory 800 is configured by connecting a channel adapter 900 for an upper device interface with a system bus 600.

第1図に、上述の回線制御装置100の構成図を示す。FIG. 1 shows a configuration diagram of the above-mentioned line control device 100.

本実施例に示す回線制御装置100は、送信系と受信系
とが対称に構成されており、両者を共通メモリ400お
よびバスアクセス制御回路545で接続している。以下
、受信系の構成および動作を例にとって説明する。
The line control device 100 shown in this embodiment has a transmitting system and a receiving system configured symmetrically, and the two are connected by a common memory 400 and a bus access control circuit 545. The configuration and operation of the receiving system will be described below as an example.

まず、受信系の構成について説明する。First, the configuration of the receiving system will be explained.

受信系は、システムバス600を介してメインCPU7
00およびメインメモリ800と信号およびデータの授
受を行う受信用DMAC260,受信回線4000から
受信したデータを格納する第1受信用バッファメモリ2
90.該第1受信用バツフアメモリ290内のデータを
用いて受信手順処理を行う受信手順処理CPU270.
該受信手順処理CPtJ270のプログラムおよびワー
クエリアを格納する受信手順メモリ280.受信したデ
ータのフラグ同期。
The receiving system is connected to the main CPU 7 via the system bus 600.
00 and the main memory 800, a reception DMAC 260 that exchanges signals and data, and a first reception buffer memory 2 that stores data received from the reception line 4000.
90. A reception procedure processing CPU 270 that performs reception procedure processing using the data in the first reception buffer memory 290.
A reception procedure memory 280 that stores the program and work area of the reception procedure processing CPtJ 270. Flag synchronization of received data.

FCSエラー検出およびバッファへの転送を行う受信回
線制御部200.受信バッファのバッファ管理情報を格
納する第2受信用バツフアメモリ250から成り、これ
らがバスアクセス制御回路500゜505、5,10.
515を介して内部バス502.504.512に接続
されている。
A receiving line control unit 200 that detects FCS errors and transfers them to a buffer. It consists of a second reception buffer memory 250 that stores buffer management information of the reception buffer, and these are connected to the bus access control circuit 500 505, 5, 10 .
515 to internal buses 502.504.512.

上記構成要素のうち、メモリに読み書きする主体(バス
マスタ)となり得るのは、受信回線制御部200、受信
用DMAC260,受信手順処理CPU270であり、
受信回線制御部200は、第2受信用バツフアメモリ2
50および第1受信用バツフアメモリ290をアクセス
可能であり、受信用DMAC260は第1受信用バツフ
アメモリ290を、受信手順処理CPU270は、受信
手順メモリ280.第1受信用バッファメモリ290.
共通メモリ400および第2受信用バツフアメモリ25
0を、それぞれ、アクセス可能である。
Among the above components, the receiving line control unit 200, the receiving DMAC 260, and the receiving procedure processing CPU 270 can be the main body (bus master) that reads and writes to the memory.
The reception line control unit 200 includes a second reception buffer memory 2
50 and the first reception buffer memory 290, the reception DMAC 260 can access the first reception buffer memory 290, and the reception procedure processing CPU 270 can access the reception procedure memory 280. First reception buffer memory 290.
Common memory 400 and second reception buffer memory 25
0, respectively.

バスアクセス制御回路500,505,510,515
は、上記バスマスタが、バスアクセス制御回路を介して
メモリをアクセスするときのみメモリに対してゲートが
開き、バスアクセス回路を介さない範囲でのメモリアク
セス時には、バスアクセス回路の反対側のバスへのゲー
トを閉じて、バスへの影響をなくす機能を有する。
Bus access control circuits 500, 505, 510, 515
The gate opens to the memory only when the above bus master accesses the memory via the bus access control circuit, and when accessing the memory without going through the bus access circuit, the gate opens to the bus on the opposite side of the bus access circuit. It has the function of closing the gate to eliminate any impact on the bus.

例えば、受信用DMAC260が、バスアクセス制御回
路505,515を介して、内部バス504を用いて第
1受信用バツフアメモリ290をアクセス中であっても
、バスアクセス制御回路510の働きで。
For example, even if the receiving DMAC 260 is accessing the first receiving buffer memory 290 using the internal bus 504 via the bus access control circuits 505 and 515, the bus access control circuit 510 operates.

内部バス512へ影響を与えない。従って、受信手順処
理CPU270は、内部バス512およびバスアクセス
制御回路510を介して受信手順メモリ280をアクセ
スできる。同時に、受信回線制御部200は、内部バス
502を介して第2受信用バツフアメモリ250をアク
セスできる。
It does not affect the internal bus 512. Therefore, reception procedure processing CPU 270 can access reception procedure memory 280 via internal bus 512 and bus access control circuit 510. At the same time, the reception line control section 200 can access the second reception buffer memory 250 via the internal bus 502.

受信データを格納するデータ構造の一例を、第3図に示
す。データ構造は、受信データそのものを格納するバッ
ファ6100とバッファ管理情報6000に分かれてお
り、バッファ管理情報6000は1次のバッファ管理情
報のアドレスであるチエインポインタ6010.バッフ
ァ6100の先頭アドレスであるバッファポインタ60
20.バッファ中の有効なデータ長を示すデータ長60
30 、受信終了時の受信回線制御部200のステータ
スを格納するステータス6040から構成されている。
An example of a data structure for storing received data is shown in FIG. The data structure is divided into a buffer 6100 that stores the received data itself and buffer management information 6000, and the buffer management information 6000 has a chain pointer 6010. which is the address of the primary buffer management information. Buffer pointer 60 which is the start address of buffer 6100
20. Data length 60 indicating the effective data length in the buffer
30, and a status 6040 that stores the status of the reception line control unit 200 at the time of completion of reception.

上記バッファ管理情報6000は、第2受信用バツフア
メモリ250に格納し、バッファは第1受信用バツフア
メモリ 290に格納する。
The buffer management information 6000 is stored in the second reception buffer memory 250, and the buffer is stored in the first reception buffer memory 290.

次に、受信系の動作について説明する。Next, the operation of the receiving system will be explained.

第4図に示す如きフォーマットを有する受信データが、
受信回線4000を介して前述の受信回線制御部200
に入力すると、受信回線制御部200は、フラグを検出
してデータの受信を認識し、受信回線制御部の内部に保
持しているバッファ管理情報のアドレスから、第2受信
用バツフアメモリ250に格納しであるバッファ管理情
報6000を読込む。
Received data having a format as shown in FIG.
The aforementioned reception line control unit 200 via the reception line 4000
, the reception line control unit 200 detects the flag, recognizes the reception of data, and stores the data in the second reception buffer memory 250 from the address of the buffer management information held within the reception line control unit. The buffer management information 6000 is read.

受信回線制御部200では、読込んだバッファ管理情報
6000から、前述のバッファポインタ6020を取出
し、該バッファポインタの指す第1受信用バツフアメモ
リ290へ、受信データのアドレスから情報までを転送
する。このとき、読込んだバッファ管理情報6000の
チエインポインタ6010を、次に読込むべきバッファ
管理情報のアドレスとして保持しておく。
The reception line control unit 200 extracts the aforementioned buffer pointer 6020 from the read buffer management information 6000, and transfers information from the address of the reception data to the first reception buffer memory 290 pointed to by the buffer pointer. At this time, the chain pointer 6010 of the read buffer management information 6000 is held as the address of the buffer management information to be read next.

受信データの転送が終了すると、受信回線制御部200
は、バッファ管理情報6000に、データ長6030と
受信終了ステータスを格納する。受信データの長さが、
バッファ6100の大きさを趙える場合には1次のバッ
ファに格納する。
When the transfer of the received data is completed, the reception line control unit 200
stores the data length 6030 and reception end status in the buffer management information 6000. The length of the received data is
If the size of the buffer 6100 is changed, it is stored in the primary buffer.

第1受信用バツフアメモリ290に格納した受信データ
に対して、受信手順処理CPU270は、まず、第2受
信用バツフアメモリ250中のバッファ管理情報600
0中のステータス6040を読出し、FCSエラー等が
ないことを確認する。エラーがなければ第1受信用バツ
フアメモリ290内の受信データのアドレス、制御部を
読出し、手順処理を行う。
Regarding the received data stored in the first receiving buffer memory 290, the receiving procedure processing CPU 270 first processes the buffer management information 600 in the second receiving buffer memory 250.
Read the status 6040 in 0 and confirm that there is no FCS error or the like. If there is no error, the address and control section of the received data in the first receiving buffer memory 290 are read out and the procedure is processed.

手順処理中で、送信手順処理と共通なデータ。Data common to sending procedure processing during procedure processing.

例えば、状態変数、送・受信シーケンス番号等は。For example, state variables, send/receive sequence numbers, etc.

共通メモリ400に格納する。共通メモリ400中の共
通変数のデータ構造例を、第5図に示す。
The data is stored in the common memory 400. An example of the data structure of common variables in the common memory 400 is shown in FIG.

共通変数の同時書込みを禁止する目的で、共通変数全体
に対してセマフォフラグを設け、第6図に示す手順でア
クセスする。すなわち、セマフォフラグ=゛′1″′を
「使用中」、RO11を「空き」の意味で用い、第6図
のaの部分を1メモリアクセスサイクルで行う。
In order to prohibit simultaneous writing of common variables, a semaphore flag is provided for all common variables, and access is made according to the procedure shown in FIG. That is, the semaphore flag=''1''' is used to mean "in use" and RO11 is used to mean "free", and the portion a in FIG. 6 is performed in one memory access cycle.

手順処理の終了後、受信手順処理CPU270が受信用
DMAC260を起動し、手順処理の終了した受信デー
タの情報部分をシステムバス600を介してメインメモ
リ800に転送する。メインメモリ転送後、メインCP
U700が上位装置インタフェース用チャネルアダプタ
900を起動し、チャネル3000を介してホストコン
ピュータ2000に転送する。
After the procedural processing is completed, the receiving procedure processing CPU 270 activates the receiving DMAC 260 and transfers the information portion of the received data for which the procedural processing has been completed to the main memory 800 via the system bus 600. After main memory transfer, main CP
The U 700 activates the upper-level device interface channel adapter 900 and transfers the data to the host computer 2000 via the channel 3000.

送信側の処理も、ホストコンピュータ2000がら上記
受信側と逆の手順で行う、 上記実施例によれば、既に、第1受信用バツフアメモリ
290に格納済みで、受信手順処理が終了した受信デー
タを、内部バス504と受信用DMAC260を介して
メインメモリ800へ転送中であっても、受信回路制御
部200は、第2受信用バツフアメモリ250中にある
バッファ管理情報6000を読込むことができるため、
バッファチエイン時に。
According to the above embodiment, the process on the transmitting side is also performed by the host computer 2000 in the reverse procedure to the process on the receiving side. Since the receiving circuit control unit 200 can read the buffer management information 6000 in the second receiving buffer memory 250 even while it is being transferred to the main memory 800 via the internal bus 504 and the receiving DMAC 260,
during buffer chain.

次の受信バッファのアドレスをバス競合のために読込め
なくてバッファオーバーランになるというエラーを防ぐ
ことができる。
It is possible to prevent an error in which the address of the next receive buffer cannot be read due to bus contention, resulting in a buffer overrun.

次に、第二の実施例を説明する。Next, a second embodiment will be described.

第7図は、第1図における共通メモリ400を、FIF
Oバッファ410,420に置換えた構成例を示してい
る。FIFOバッファ410は、受信手順処理CPU2
70から送信手順処理CPU370への制御情報を、ま
た、FIFOバッファ410は、二九と逆の方向の制御
情報を格納する。
FIG. 7 shows the common memory 400 in FIG.
A configuration example in which O buffers 410 and 420 are replaced is shown. The FIFO buffer 410 is a reception procedure processing CPU 2
70 to the transmission procedure processing CPU 370, and the FIFO buffer 410 stores control information in the opposite direction.

上記制御情報としては、 (1)P/F=1ビット受信通知 (2)送信状態変数V(S)変更通知 等が、手順処理としては考えられる。The above control information is as follows: (1) P/F = 1 bit reception notification (2) Transmission state variable V(S) change notification etc. can be considered as procedural processing.

本実施例における受信および送信手順は、先に示した第
一の実施例の共通メモリアクセスの部分を、FIFOバ
ッファに転送する処理に変更し、また、FIFOバッフ
ァの読出しを手順処理CPUが行うことを加える点以外
は、先に示した第一の実施例と同様である。
In the reception and transmission procedures in this embodiment, the common memory access part of the first embodiment described above is changed to a process of transferring to a FIFO buffer, and the procedure processing CPU performs reading from the FIFO buffer. This embodiment is the same as the first embodiment shown above except that .

本実施例によれば、先に示した第一の実施例の効果に加
えて、共通メモリ上の共通データの使用権待ちがなくな
るため、送受信手順プロセッサの待ち時間をなくし、処
理能力をより一層向上させるという効果がある。
According to this embodiment, in addition to the effects of the first embodiment shown above, since there is no need to wait for the right to use common data on the common memory, the waiting time of the transmitting/receiving procedure processor is eliminated, and the processing capacity is further improved. It has the effect of improving

上記実施例は本発明の一例として示したものであり、本
発明はこれに限定されるべきものではないことは言うま
でもない。
It goes without saying that the above embodiment is shown as an example of the present invention, and that the present invention is not limited thereto.

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

以上述べた如く、本発明によれば、送受信バッファ本体
と送・受信バッファの管理情報を分離させ、管理情報を
回線制御部の最も高速にアクセスできる位置に新たに設
けたメモリに格納し、このメモリと送・受信バッファメ
モリの間にバスアクセス制御回路を設けたので、高速回
線に接続した場合にも手順処理CPUとDMACのメモ
リアクセスを可能とし、手順処理能力を向上させるとと
もに、オーバーラン、アンダーランの発生をなくするこ
とが可能な回線制御装置を実現できるという顕著な効果
を奏するものである。
As described above, according to the present invention, the transmission/reception buffer main body and the management information of the transmission/reception buffer are separated, the management information is stored in a newly provided memory in a position of the line control unit that can be accessed at the fastest speed, and A bus access control circuit is provided between the memory and the transmitting/receiving buffer memory, allowing the procedural processing CPU and DMAC to access the memory even when connected to a high-speed line, improving procedural processing ability and preventing overruns and This has the remarkable effect of realizing a line control device that can eliminate the occurrence of underruns.

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

第1図は本発明の一実施例である回線制御装置の構成図
、第2図は実施例の回線制御装置を含む通信制御装置の
構成例を示す図、第3図はバッファのデータ構造の一例
を示す図、第4図は受信データのフォーマットの一例を
示す図、第5図は共通データのデータ構造の一例を示す
図、第6図は共通データのアクセス手順の一例を示すフ
ローチャート、第7図は他の実施例を示す回線制御装置
の構成図である。 100:回線制御装置、200:受信回線制御部、25
0゜290:受信用バッファメモリ、300:送信回線
制御部、350,390 :送信用バッファメモリ、2
60:受信用DMAC,270:受信手順処理CPU、
360:送信用DMAC2370:送信手順処理CPU
、400:共通メモリ、410,420 : F I 
F Oバッファ、500および505,510,515
 :バスアクセス制御回路、550および555,56
0,565 :バスアクセス制御回路、600ニジステ
ムバス、700:メインCPU、800:メインメモリ
、1000 :通信制御装置、4000 :受信回線、
5ooo :送信回線。
FIG. 1 is a configuration diagram of a line control device that is an embodiment of the present invention, FIG. 2 is a diagram showing an example of the configuration of a communication control device including the line control device of the embodiment, and FIG. 3 is a diagram of the data structure of a buffer. FIG. 4 is a diagram showing an example of the format of received data. FIG. 5 is a diagram showing an example of the data structure of common data. FIG. 6 is a flowchart showing an example of the common data access procedure. FIG. 7 is a configuration diagram of a line control device showing another embodiment. 100: line control device, 200: reception line control unit, 25
0゜290: Reception buffer memory, 300: Transmission line control unit, 350, 390: Transmission buffer memory, 2
60: Reception DMAC, 270: Reception procedure processing CPU,
360: Transmission DMAC 2370: Transmission procedure processing CPU
, 400: Common memory, 410, 420: FI
FO buffers, 500 and 505, 510, 515
: Bus access control circuit, 550 and 555, 56
0,565: Bus access control circuit, 600 System bus, 700: Main CPU, 800: Main memory, 1000: Communication control device, 4000: Receiving line,
5ooo: Transmission line.

Claims (1)

【特許請求の範囲】 1、受信回線に接続される受信回線制御部と、送信回線
に接続される送信回線制御部と、上位プロセッサまたは
他の回線制御装置との接続手段と、送信手順処理プロセ
ッサと、受信手順処理プロセッサと、送信バッファと、
受信バッファおよびこれらを接続する内部バスを有する
回線制御装置において、前記送信手順処理プロセッサと
受信手順処理プロセッサ間に通信手段を設け、前記送信
バッファを管理する情報と受信バッファを管理する情報
とを、前記送信バッファ、受信バッファとは別のメモリ
手段にそれぞれ格納するとともに、前記各メモリ手段と
前記送信バッファ、受信バッファとをそれぞれ独立にア
クセス可能とする内部バスアクセス制御回路を設けたこ
とを特徴とする回線制御装置。 2、前記プロセッサ間通信手段が、共通メモリであるこ
とを特徴とする請求項1記載の回線制御装置。 3、前記プロセッサ間通信手段が、FIFOバッファで
あることを特徴とする請求項1記載の回線制御装置。 4、前記メモリ手段が、前記送信回線制御部、受信回線
制御部にそれぞれ直接接続されていることを特徴とする
請求項1〜3記載の回線制御装置。
[Claims] 1. A reception line control unit connected to a reception line, a transmission line control unit connected to a transmission line, means for connecting to a host processor or other line control device, and a transmission procedure processing processor. , a reception procedure processor, a transmission buffer,
In a line control device having a reception buffer and an internal bus connecting these, a communication means is provided between the transmission procedure processor and the reception procedure processor, and information for managing the transmission buffer and information for managing the reception buffer are transmitted. The transmitting buffer and the receiving buffer are stored in memory means separate from the transmitting buffer and the receiving buffer, respectively, and an internal bus access control circuit is provided which allows each of the memory means and the transmitting buffer and the receiving buffer to be accessed independently. line control device. 2. The line control device according to claim 1, wherein the inter-processor communication means is a common memory. 3. The line control device according to claim 1, wherein the inter-processor communication means is a FIFO buffer. 4. The line control device according to claim 1, wherein the memory means is directly connected to the transmission line control section and the reception line control section, respectively.
JP1007846A 1989-01-18 1989-01-18 Line controller Expired - Fee Related JP2762506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1007846A JP2762506B2 (en) 1989-01-18 1989-01-18 Line controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1007846A JP2762506B2 (en) 1989-01-18 1989-01-18 Line controller

Publications (2)

Publication Number Publication Date
JPH02189049A true JPH02189049A (en) 1990-07-25
JP2762506B2 JP2762506B2 (en) 1998-06-04

Family

ID=11676985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1007846A Expired - Fee Related JP2762506B2 (en) 1989-01-18 1989-01-18 Line controller

Country Status (1)

Country Link
JP (1) JP2762506B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08149179A (en) * 1994-11-22 1996-06-07 Nec Corp Data communication controller
JPH08331197A (en) * 1995-05-29 1996-12-13 S Ee I Garufu:Kk Multiple line control system
US6137795A (en) * 1997-03-19 2000-10-24 Fujitsu Limited Cell switching method and cell exchange system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08149179A (en) * 1994-11-22 1996-06-07 Nec Corp Data communication controller
JPH08331197A (en) * 1995-05-29 1996-12-13 S Ee I Garufu:Kk Multiple line control system
US6137795A (en) * 1997-03-19 2000-10-24 Fujitsu Limited Cell switching method and cell exchange system

Also Published As

Publication number Publication date
JP2762506B2 (en) 1998-06-04

Similar Documents

Publication Publication Date Title
US6742063B1 (en) Method and apparatus for efficient transfer of data packets
US20030074502A1 (en) Communication between two embedded processors
US7484028B2 (en) Burst-capable bus bridges for coupling devices to interface buses
US7334061B2 (en) Burst-capable interface buses for device-to-device communications
US20040230717A1 (en) Processing device
JPH02189049A (en) Line controller
US5432910A (en) Coupling apparatus and method for increasing the connection capability of a communication system
JP3639651B2 (en) Information processing apparatus comprising at least two processors
KR950009763B1 (en) A method of data transmission and synchronization between two cpu's
JPS6298444A (en) Data communication system
JP2573790B2 (en) Transfer control device
JPH086882A (en) Communication device
KR100289578B1 (en) Mediation Device of Packet Memory in High-capacity Communication Processing System
JP3458383B2 (en) Bus connection method
KR0170742B1 (en) Data transfer method using mbus
KR200200469Y1 (en) Apparatus of direct memory access and apparatus of interface using the same
JPS6347867A (en) Inter-dual cpu communication system
KR100324281B1 (en) Centralized High Speed Data Processing Module
JPH0581167A (en) Data transmission processor
JPS6132161A (en) Information transfer device of processing system
JPH04314157A (en) Communication equipment
JPH02272854A (en) High speed transmission control circuit
JPH0232650A (en) Communication adapter control system and the same adapter
JPS63121962A (en) Data transfer system for asynchronous data
JPH02186462A (en) Bus transfer controller

Legal Events

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