[go: up one dir, main page]

JPH0391339A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH0391339A
JPH0391339A JP1227336A JP22733689A JPH0391339A JP H0391339 A JPH0391339 A JP H0391339A JP 1227336 A JP1227336 A JP 1227336A JP 22733689 A JP22733689 A JP 22733689A JP H0391339 A JPH0391339 A JP H0391339A
Authority
JP
Japan
Prior art keywords
computer
control circuit
data
transmission
shared 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
JP1227336A
Other languages
Japanese (ja)
Inventor
Toshihiko Ogura
敏彦 小倉
Naoya Ikeda
尚哉 池田
Takeki Katsube
勝部 武樹
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 Ltd
Original Assignee
Hitachi 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 filed Critical Hitachi Ltd
Priority to JP1227336A priority Critical patent/JPH0391339A/en
Publication of JPH0391339A publication Critical patent/JPH0391339A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パケット形式のデータ伝送システムにおいて
、データ伝送の高速化を、より簡略化したハードウェア
で実現するようにした通信制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication control device that achieves high-speed data transmission using simpler hardware in a packet-format data transmission system.

〔従来の技術〕[Conventional technology]

従来の通信制御装置の構成例を第2図に示す。 An example of the configuration of a conventional communication control device is shown in FIG.

ここでは、通信のデータを格納するエリアとして、共有
メモリを使用した例を示している。
Here, an example is shown in which a shared memory is used as an area for storing communication data.

第2図によれば、ホストコンピュータ1、伝送制御コン
ピュータ2および通信制御コンピュータの3つのコンピ
ュータを用い、各々のコンピュータ17の間の通信を行
うために、共有メモ1J19,6゜7を接続する方式を
採用している。
According to FIG. 2, there is a method in which three computers, a host computer 1, a transmission control computer 2, and a communication control computer, are used to connect the shared memo 1J19, 6゜7 in order to communicate between each computer 17. is adopted.

この方式は、ホストコンピュータ1が、ホストコンピュ
ータ1と通信制御コンピュータ17との間に接続した共
有メモリ6に、パケットの情報データを格納することに
より、共有メモリ間のパケットの情報データの転送が不
要となる。従って、伝送プロトコルのヘッダ処理を行う
伝送制御コンピュータ2と、伝送データを扱う通信制御
コンピュータ17とが独立に動作するため、高速処理の
実現が可能である。この方式の一例が、特開昭62−6
0043 号公報に述べられている。
In this method, the host computer 1 stores the packet information data in the shared memory 6 connected between the host computer 1 and the communication control computer 17, so that there is no need to transfer the packet information data between the shared memories. becomes. Therefore, since the transmission control computer 2 that processes the header of the transmission protocol and the communication control computer 17 that handles the transmission data operate independently, high-speed processing can be achieved. An example of this method is JP-A-62-6
It is stated in the No. 0043 publication.

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

しかし、上記従来技術は、次のような問題があった。す
なわち、3つのコンピュータシステムを用いているため
、これらのコンピュータの間に共有メモリを接続するに
は、3つの共有メモリ6゜7.19と3つの競合制御回
路8 、9 、20とが必要となり、ハードウェアが複
雑になる。また、通信制御コンピュータ17は、通信制
御回路11およびDMA制御回路10に対する制御に用
いるが、伝送制御コンピュータ2からの指示によりその
制御を行うため、伝送制御コンピュータ2のサブプロセ
ッサとして位置付けられ、機能面では小さい役割しかな
い。さらに、通信制御コンピュータ17のバス15は、
通信制御コンピュータ17およびDMA制御回路10の
2つのバスマスタがあるため、バス負荷が重くなり、高
速化に適していない。
However, the above conventional technology has the following problems. In other words, since three computer systems are used, three shared memories 6゜7.19 and three contention control circuits 8, 9, and 20 are required to connect shared memories between these computers. , the hardware becomes more complex. Further, the communication control computer 17 is used to control the communication control circuit 11 and the DMA control circuit 10, but since it performs the control based on instructions from the transmission control computer 2, it is positioned as a sub-processor of the transmission control computer 2, and is functionally It only has a small role. Furthermore, the bus 15 of the communication control computer 17 is
Since there are two bus masters, the communication control computer 17 and the DMA control circuit 10, the bus load becomes heavy and it is not suitable for high speed.

本発明の目的は、高速伝送用の通信制御装置を、より簡
略化したハードウェアで実現する手段を提供することに
ある。
An object of the present invention is to provide a means for realizing a communication control device for high-speed transmission using simpler hardware.

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

上記目的を達成するために、本発明は、上記従回路のD
MA制御回路に対する制御を伝送制御コンピュータから
の指示で行うことに着目して、伝送制御コンピュータと
通信制御コンピュータとを1つのコンピュータとし、D
 M A制御回路の制御バスおよびメモリアクセスバス
を独立にすることで、DMA制御回路と伝送制御コンピ
ュータとに通信制御コンピュータの役目を分担すること
で、コンピュータの数を減らし、ハードウェアの簡略化
を図るものである。
In order to achieve the above object, the present invention provides D
Focusing on the fact that the MA control circuit is controlled by instructions from the transmission control computer, the transmission control computer and the communication control computer are made into one computer, and the D
By making the control bus and memory access bus of the MA control circuit independent, the role of the communication control computer can be shared between the DMA control circuit and the transmission control computer, reducing the number of computers and simplifying the hardware. This is what we aim to do.

つまり、本発明は、コンピュータに接続し、パケット伝
送を行うための通信制御装置において、ホストコンピュ
ータとしての第1のコンピュータ(ホストコンピュータ
)と、過制御手順等のプロトコルを実行する第2のコン
ピュータ(伝送制御コンピュータ)と、データを伝送す
るための通信制御回路およびDMA制御回路とを備え、
ホストコンピュータと伝送制御コンピュータとの間に通
信手段を設け、ホストコンピュータと通信制御回路との
間に第1の共有メモリを設け、伝送制御コンピュータと
通信制御回路との間に第2の共有メモリを設けている。
In other words, the present invention provides a communication control device that is connected to a computer and performs packet transmission, which includes a first computer (host computer) as a host computer, and a second computer (host computer) that executes a protocol such as an overcontrol procedure. a transmission control computer), a communication control circuit and a DMA control circuit for transmitting data,
A communication means is provided between the host computer and the transmission control computer, a first shared memory is provided between the host computer and the communication control circuit, and a second shared memory is provided between the transmission control computer and the communication control circuit. It is set up.

また、DMA制御回路の制御バスヲ、伝送制御コンピュ
ータのバスに接続し、DMA制御回路のメモリアクセス
バスを、上述の2つの共有メモリのバスに接続している
Further, the control bus of the DMA control circuit is connected to the bus of the transmission control computer, and the memory access bus of the DMA control circuit is connected to the buses of the two shared memories mentioned above.

そこで、送信するパケットの情報データを、ホストコン
ピュータからDMA制御回路へ第1の共有メモリを介し
て与え、また、送信するパケットの制御データを、ホス
トコンピュータから伝送制御コンピュータへ通信手段を
介して与える。伝送制御コンピュータは、与えられた制
御データをもとに、ヘッダデータを生成し、生成したヘ
ッダデータを、上記DMA制御回路へ上記第2共有メモ
リを介して与える。DMA制御回路が、与えられた情報
データおよびヘッダデータを1つにまとめてから、通信
制御回路がこれを送信する。
Therefore, the information data of the packet to be transmitted is given from the host computer to the DMA control circuit via the first shared memory, and the control data of the packet to be transmitted is given from the host computer to the transmission control computer via the communication means. . The transmission control computer generates header data based on the supplied control data, and supplies the generated header data to the DMA control circuit via the second shared memory. After the DMA control circuit combines the given information data and header data into one, the communication control circuit transmits it.

〔作用〕[Effect]

上記構成をとる本発明では、ホストコンピュータは、パ
ケットの情報データを上記第1の共有メモリに格納し、
また、パケットの制御データを上)通信手段を介して伝
送制御コンピュータに与える。伝送制御コンピュータは
、ホストコンピュータからの制御データをもとに、上記
第2の共有メモリにヘッダデータを作成し、DMA制御
回路にヘッダデータおよび情報データのアドレスを与え
る。DMA制御回路は、伝送制御コンピュータからのア
ドレスを基に、上記第2の共有メモリからへラダデータ
を読み出し、上記第1の共有メモリから情報データを読
み出し、これらを順次通信制御回路に与えることで、伝
送を行うことが可能となる。
In the present invention having the above configuration, the host computer stores the information data of the packet in the first shared memory,
Also, the control data of the packet is given to the transmission control computer via the communication means (above). The transmission control computer creates header data in the second shared memory based on control data from the host computer, and provides addresses of the header data and information data to the DMA control circuit. The DMA control circuit reads the ladder data from the second shared memory, reads the information data from the first shared memory, and sequentially provides these to the communication control circuit, based on the address from the transmission control computer. It becomes possible to perform transmission.

このため、従来例のように、通信制御コンピュータに対
して制御データを送る必要がなくなるので、ハードウェ
アが簡略化されるとともに、高速化が図れる。
Therefore, unlike the conventional example, there is no need to send control data to the communication control computer, so the hardware can be simplified and the speed can be increased.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を参照して説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の通信制御装置の構成を示し
た図である。
FIG. 1 is a diagram showing the configuration of a communication control device according to an embodiment of the present invention.

図中、1はホストコンピュータ、2は伝送制御コンピュ
ータ、3.4はホストコンピュータ1および伝送制御コ
ンピュータ2のプログラムメモリ、5はホストコンピュ
ータlと伝送制御コンピュータ2との間の制御データを
やりとりするためのFIFOである。
In the figure, 1 is a host computer, 2 is a transmission control computer, 3.4 is a program memory of the host computer 1 and transmission control computer 2, and 5 is for exchanging control data between the host computer 1 and the transmission control computer 2. This is a FIFO.

また、6はホストコンピュータ1と通信制御回路11と
の間のデータをやりとりする共有メモリ、7は伝送制御
コンピュータ2と通信制御回路11との間のデータをや
りとりする共有メモリ、8は共有メモリ6の競合制御回
路、9は共有メモリ7の競合制御回路、10は通信デー
タをアクセスするためのDMA制御回路、11は通信デ
ータを送受信するための通信制御回路である。
Further, 6 is a shared memory for exchanging data between the host computer 1 and the communication control circuit 11, 7 is a shared memory for exchanging data between the transmission control computer 2 and the communication control circuit 11, and 8 is a shared memory 6 9 is a contention control circuit for the shared memory 7, 10 is a DMA control circuit for accessing communication data, and 11 is a communication control circuit for transmitting and receiving communication data.

また、12はホストコンピュータ1のバス、13は伝送
制御コンピュータ2のバス、14はDMA制御制御回路
l側御データバス、15はDMA制御回路10のメモリ
アクセスバスである。制御データバス14は、バス13
と接続している。
Further, 12 is a bus of the host computer 1, 13 is a bus of the transmission control computer 2, 14 is a DMA control circuit l side control data bus, and 15 is a memory access bus of the DMA control circuit 10. The control data bus 14 is connected to the bus 13
is connected to.

第1図に示した通信制御装置は、第2図の従来例から通
信制御コンピュータを省き、DMA制御制御回路l側御
バスが伝送制御コンピュータ2に接続し、ホストコンピ
ュータ1と伝送制御コンピュータ2との接続が共有メモ
リからFIFO5に変更になっている点が、異なる。
In the communication control device shown in FIG. 1, the communication control computer is omitted from the conventional example shown in FIG. The difference is that the connection has been changed from shared memory to FIFO5.

次に、本図に基づいて、パケットデータ送信時の制御方
法について説明する。
Next, a control method during packet data transmission will be described based on this figure.

まず、ホストコンピュータlは、送信データを生成する
と、共有メモリ6に送信データを格納し、FIFO5を
介して、伝送制御コンピュータ2に送信要求を出す。
First, when the host computer 1 generates transmission data, it stores the transmission data in the shared memory 6 and issues a transmission request to the transmission control computer 2 via the FIFO 5.

伝送制御コンピュータ2は、FIFO5を経由して与え
られたホストコンピュータlからの送信要求をもとに、
HDLCのプロトコルに従って、ヘッダデータを生成し
、共有メモリ7に格納する。
Based on the transmission request from the host computer l given via the FIFO 5, the transmission control computer 2
Header data is generated according to the HDLC protocol and stored in the shared memory 7.

伝送制御コンピュータ2は、ヘッダデータを共有メモリ
7に格納後、DMA制御回路10のアドレス制御レジス
タ(図示せず)に、制御データバス14を経由して、ヘ
ッダデータのアドレスおよび情報データのアドレスを設
定し、DMA制御回路10に\起動をかける。
After storing the header data in the shared memory 7, the transmission control computer 2 sends the address of the header data and the address of the information data to an address control register (not shown) of the DMA control circuit 10 via the control data bus 14. settings and activates the DMA control circuit 10.

DMA制御回路10は、アドレス制御レジスタの内容に
従って、ヘッダデータおよび情報データを、順次、通信
制御回路11に渡すことで、データの伝送を実現する。
The DMA control circuit 10 realizes data transmission by sequentially passing header data and information data to the communication control circuit 11 according to the contents of the address control register.

通信制御回路11は、DMA制御回路10から与えられ
たデータをHDLC手順に従ったシリアルデータに変換
して伝送路16に送出する。
The communication control circuit 11 converts the data given from the DMA control circuit 10 into serial data according to the HDLC procedure and sends it to the transmission line 16.

以上に説明したように、ホストコンピュータ1は、生成
データを共有メモリ6に格納するだけで、あとは、伝送
制御コンピュータ2が制御するため、余分なオーバーヘ
ッドはない。
As explained above, the host computer 1 only stores the generated data in the shared memory 6, and the rest is controlled by the transmission control computer 2, so there is no extra overhead.

また、伝送制御コンピュータ2は、HDLC伝送プロト
コル処理に従って、ヘッダを生成し、DMA制御回路1
0にアドレスを設定するだけであり、従来例のように、
通信制御コンピュータに送信の指示を出すのと同様の処
理だけで、送信処理を実現できる。従って、送信処理に
特別なオーバーヘッドは生じないため、高速伝送が実現
できる。
Further, the transmission control computer 2 generates a header according to HDLC transmission protocol processing, and transmits the header to the DMA control circuit 1.
Just set the address to 0, as in the conventional example,
Transmission processing can be accomplished by simply issuing a transmission instruction to a communication control computer. Therefore, no special overhead is generated in transmission processing, so high-speed transmission can be achieved.

さらに、ホストコンピュータlと伝送制御コンピュータ
2との間のデータのやりとりは、FIFO5を用いてお
り、競合制御では両方のバスの使用権を取るためアクセ
ス待ちが発生するのに対し、FIFO5での接続では、
両方のコンピュータがFIFO5をアクセスしていると
きのみアクセス待ちが発生するので、ホストコンピュー
タ1と伝送制御コンピュータ2との間のデータのやりと
りも高速化が可能である。
Furthermore, data exchange between the host computer l and the transmission control computer 2 uses FIFO5, and while in contention control there is a wait for access to obtain the right to use both buses, FIFO5 connection So,
Since an access wait occurs only when both computers are accessing the FIFO 5, data exchange between the host computer 1 and the transmission control computer 2 can also be speeded up.

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

以上説明したように、本発明によれば、データ処理を行
うコンピュータと、伝送制御を行うコンピュータとの2
つで、伝送制御のオーバーヘッドが少ないデータ伝送を
実現できるため、ハードウェアが少なく、高速なデータ
伝送の実現が可能となるという効果がある。
As explained above, according to the present invention, there are two computers: a computer that processes data, and a computer that controls transmission.
Since data transmission can be realized with less transmission control overhead, it is possible to realize high-speed data transmission with less hardware.

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

第1図は本発明の一実施例の通信制御装置の構成を示す
ブロック図、第2図は従来例の通信制御装置の構成を示
すブロック図である。 1・・・ホストコンピュータ 2・・・伝送制御コンピュータ 3.4・・・プログラムメモリ 5・・・FIFO 8,9・・・競合制御回路 11・・・通信制御回路 12 、13 、14 、15・・・バス6.7・・・
共有メモリ 10・・・DMA制御回路 16・・・伝送路
FIG. 1 is a block diagram showing the configuration of a communication control device according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a conventional communication control device. 1... Host computer 2... Transmission control computer 3.4... Program memory 5... FIFO 8, 9... Competition control circuit 11... Communication control circuit 12, 13, 14, 15. ...Bus 6.7...
Shared memory 10...DMA control circuit 16...Transmission line

Claims (1)

【特許請求の範囲】 1、コンピュータに接続し、パケット伝送を行うための
通信制御装置において、ホストコンピュータとしての第
1のコンピュータと、伝送制御手順等のプロトコルを実
行する第2のコンピュータと、データを伝送するための
通信制御回路およびDMA制御回路とを備え、上記第1
のコンピュータと上記第2のコンピュータとの間に通信
手段を設け、上記第1のコンピュータと上記通信制御回
路との間に第1の共有メモリを設け、上記第2のコンピ
ュータと上記通信制御回路との間に第2の共有メモリを
設け、上記DMA制御回路の制御バスを、上記第2のコ
ンピュータのバスに接続し、上記DMA制御回路のメモ
リアクセスバスを、上記第1および第2の共有メモリの
バスに接続することを特徴とする通信制御装置。 2、上記第1のコンピュータは、送信するパケットの情
報データを、上記第1の共有メモリを介して、上記DM
A制御回路へ与え、また、送信するパケットの制御デー
タを、上記通信手段を介して、上記第2のコンピュータ
へ与え、上記第2のコンピュータは、与えられた制御デ
ータをもとに、ヘッダデータを生成し、生成したヘッダ
データを、上記第2共有メモリを介して、上記DMA制
御回路へ与え、上記DMA制御回路は、与えられた情報
データおよびヘッダデータをひとつのパケットデータに
まとめて、上記通信制御回路により送信することを特徴
とする請求項1記載の通信制御装置。
[Claims] 1. A communication control device connected to a computer to perform packet transmission, comprising: a first computer as a host computer; a second computer executing a protocol such as a transmission control procedure; and a communication control circuit and a DMA control circuit for transmitting the first
A communication means is provided between the computer and the second computer, a first shared memory is provided between the first computer and the communication control circuit, and a first shared memory is provided between the second computer and the communication control circuit. A second shared memory is provided between the first and second shared memories, a control bus of the DMA control circuit is connected to a bus of the second computer, and a memory access bus of the DMA control circuit is connected to the first and second shared memories. A communication control device characterized by being connected to a bus. 2. The first computer transmits the information data of the packet to be transmitted to the DM via the first shared memory.
The control data of the packet to be given to the A control circuit and to be transmitted is given to the second computer via the communication means, and the second computer converts the header data based on the given control data. The generated header data is provided to the DMA control circuit via the second shared memory, and the DMA control circuit combines the provided information data and header data into one packet data, and provides the generated header data to the DMA control circuit via the second shared memory. 2. The communication control device according to claim 1, wherein the communication control circuit transmits the information.
JP1227336A 1989-09-04 1989-09-04 Communication controller Pending JPH0391339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1227336A JPH0391339A (en) 1989-09-04 1989-09-04 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1227336A JPH0391339A (en) 1989-09-04 1989-09-04 Communication controller

Publications (1)

Publication Number Publication Date
JPH0391339A true JPH0391339A (en) 1991-04-16

Family

ID=16859213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1227336A Pending JPH0391339A (en) 1989-09-04 1989-09-04 Communication controller

Country Status (1)

Country Link
JP (1) JPH0391339A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0758747A (en) * 1993-06-30 1995-03-03 Nec Corp Call controller of exchange

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0758747A (en) * 1993-06-30 1995-03-03 Nec Corp Call controller of exchange

Similar Documents

Publication Publication Date Title
JPS63255759A (en) Control system
US6189062B1 (en) Apparatus and method for address translation in bus bridge devices
JPH10507023A (en) Shared memory system
EP0814408B1 (en) Bus bridge apparatus
JPS63255760A (en) Control system
JP4188446B2 (en) Data exchange apparatus and method
JP2591502B2 (en) Information processing system and its bus arbitration system
JPH0391339A (en) Communication controller
JPH07271654A (en) Controller
JPH0954748A (en) Computer system and dma controller used for the system
JP2604022B2 (en) Communication control device and distributed processing system
JPH01175056A (en) Program transfer system
JPH03175851A (en) Communication controller
JPH02105250A (en) Data transfer method
JPH10341257A (en) Packet processing unit
JP2553086B2 (en) Bus control system for storage / exchange processing unit
JPH0236016B2 (en)
JP3299021B2 (en) Multi-bus II-SCSI bus data transfer method and apparatus
JP2573790B2 (en) Transfer control device
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JPH0784968A (en) Method for communication between processors, and information processor
JPS5975354A (en) Processor device
JPH06149725A (en) Processor applied device
JPS60136853A (en) Data transfer method
JPH02299055A (en) Information transfer system between multi-bus constitution devices