JPH01256840A - Communication equipment coupling terminal equipment and network - Google Patents

Communication equipment coupling terminal equipment and network

Info

Publication number
JPH01256840A
JPH01256840A JP8420188A JP8420188A JPH01256840A JP H01256840 A JPH01256840 A JP H01256840A JP 8420188 A JP8420188 A JP 8420188A JP 8420188 A JP8420188 A JP 8420188A JP H01256840 A JPH01256840 A JP H01256840A
Authority
JP
Japan
Prior art keywords
protocol
circuit
network
data
dma
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
JP8420188A
Other languages
Japanese (ja)
Inventor
Shoji Yamaguchi
山口 彰二
Seiichi Yasumoto
精一 安元
Masakazu Okada
政和 岡田
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 JP8420188A priority Critical patent/JPH01256840A/en
Publication of JPH01256840A publication Critical patent/JPH01256840A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To attain high speed processing by using an external designation switch only so as to determine a protocol and applying DMA data transfer with a network. CONSTITUTION:Communication equipments 20a, 20b exist across a high speed network 21 and the communication equipments 20a, 20b act like relaying the communication between terminal equipments 23a, 23b. The communication equipment 20a consists of a network interface control section 30, an internal bus 31, a DMA circuit 32, a protocol control circuit 33, a DMA interface circuit 34, a protocol designation switch 35, a data buffer 36, a reception circuit 37, a transmission circuit 38, and an internal bus 39. One protocol is designated by the designation switch 35 and data transmission and reception is applied between the communication and the terminal equipment according to the designated protocol. Moreover, the transmission and reception data is stored tentatively in the buffer 36 in the communication equipment and the data is transmitted between the buffer 36 and the network 21 by a DMA circuit 32 in terms of DMA transfer.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、端末装置とネットワーク間に設置される通信
装置、特にマイコンレスで構成された通信装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication device installed between a terminal device and a network, and particularly to a communication device configured without a microcomputer.

〔従来の技術〕[Conventional technology]

従来例には、特開昭62−98791号がある。この従
来例は1つの半導体装置に複数の機能を具備し、それら
のいずれかの機能を選択可能にせしめた。
A conventional example is JP-A-62-98791. In this conventional example, one semiconductor device is provided with a plurality of functions, and any one of these functions can be selected.

そのための選択手段としては、シフトレジスタを設けた
A shift register was provided as selection means for this purpose.

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

上記従来例は、マイコンレスのDMA転送に関しての記
載はない。更に、通信装置への適用についても記載はな
い。
In the above conventional example, there is no description regarding microcontroller-less DMA transfer. Furthermore, there is no description of application to communication devices.

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

本発明は、端末装置との間での送受信用の複数のプロト
コル指定機能、及び各プロトコルに従つて端末装置と送
受信部とを介して送信制御を行う送受信機能、とを有す
るプロトコル制御用専用回路と、送受信データ格納用の
バッファと上位ネットワークとの間での送受信データ転
送をDMAで行うDMA回路と、上記プロトコル制御用
専用回路での複数のプロトコルのいずれの使用かをプロ
トコル制御用専用回路の外部から指定する指定スイッチ
とを設けた。
The present invention provides a dedicated protocol control circuit that has a plurality of protocol designation functions for transmission and reception with a terminal device, and a transmission and reception function that controls transmission via the terminal device and a transmission/reception unit according to each protocol. and a DMA circuit that transfers transmitted and received data between a buffer for storing transmitted and received data and the upper network using DMA, and a circuit dedicated to protocol control that determines which of the plurality of protocols is used in the circuit dedicated to protocol control. A designation switch that can be designated externally is provided.

〔作用〕[Effect]

本発明によれば、指定スイッチで1つのプロトコルが指
定され、プロトコル制御専用回路はこの指定されたプロ
トコルに従って通信装置と端末との間でのデータ送受信
を行う。更に、通信装置内ではバッファに送受信データ
が一時的に格納されるが、バッファとネットワークとの
間のデータ転送はDMA回路でDMA転送される。これ
によって、通信装置内部にマイコンを装備しなくとも、
通信装置としての本来の通信機能を達成でき、且つ通信
装置でのネットワークと端末装置との中継装置としても
、DMA転送を行うが故に高速転送を実行でき、ネット
ワークや端末装置に負担をかけることはない。
According to the present invention, one protocol is designated by the designated switch, and the protocol control dedicated circuit transmits and receives data between the communication device and the terminal according to the designated protocol. Furthermore, although transmitted and received data is temporarily stored in a buffer within the communication device, data is transferred between the buffer and the network using a DMA circuit. This makes it possible to use communication devices without the need for a microcomputer inside the communication device.
It can achieve the original communication function as a communication device, and can also be used as a relay device between the communication device's network and the terminal device, and because it performs DMA transfer, it can perform high-speed transfer without putting a burden on the network or terminal device. do not have.

〔実施例〕〔Example〕

第2図は本発明の全体システム図を示す。ネットワーク
21は、高速ネットワークと呼ばれるものである。この
両端に、通信装置20a、20bがあり、ネットワーク
21が通信製[20aと20bとの通信を行う。勿論、
ネットワーク21には、この他に膨大な数の通信装置が
並列的に接続される。
FIG. 2 shows an overall system diagram of the present invention. Network 21 is called a high-speed network. There are communication devices 20a and 20b at both ends, and a network 21 performs communication between the communication devices 20a and 20b. Of course,
A huge number of other communication devices are connected in parallel to the network 21 .

通信装置20aは1回線22aを介して端末装置23a
と接続し、通信装置20bは回線22bを介して端末装
置23bと接続する。端末装置23a、23bも共に1
個又はそれ以上の数である。
The communication device 20a connects to the terminal device 23a via one line 22a.
The communication device 20b is connected to the terminal device 23b via the line 22b. Both terminal devices 23a and 23b are 1
or more.

かかるシステムでは、端末装置23aと23bとの間で
データの送受信を行う。通信装置20a、20bは、端
末装置23a、23bとの間の通信中継用の役割を持つ
In such a system, data is transmitted and received between the terminal devices 23a and 23b. The communication devices 20a, 20b have the role of relaying communication with the terminal devices 23a, 23b.

端末装置23aと通信装置20aとの間での制御情報等
のプロトコルは、複数存在するが、システム決定時にい
ずれか1つに指定し、この指定したプロトコルに従って
、端末装置23aと通信装置20a′ 、  どの間の
通信が回線22aを介して行う。
There are multiple protocols such as control information between the terminal device 23a and the communication device 20a, but one is specified when deciding the system, and according to this specified protocol, the terminal device 23a and the communication device 20a', Communication between the two is performed via the line 22a.

端末装置23bと通信装置20bとの間でも、複数のプ
ロトコルが存在し、システム決定時に、いずれか1つが
指定され、この指定したプロトコルに従って端末装置2
3bと通信装置20bとの間の通信が回線22bを介し
て行う。
There are multiple protocols between the terminal device 23b and the communication device 20b, and one of them is specified at the time of system determination, and the terminal device 2
Communication between the communication device 3b and the communication device 20b is performed via the line 22b.

通信装置20aとネットワーク21との間のプロトコル
、ネットワーク21の内部でのプロトコル、ネットワー
ク21と通信装置20bとの間でのプロトコルは、全く
別の形式をとるが1本発明とは直接関係しない故に、省
略する。
The protocol between the communication device 20a and the network 21, the protocol within the network 21, and the protocol between the network 21 and the communication device 20b take completely different formats, but they are not directly related to the present invention. , omitted.

第2図の下段は、伝送時間tの様子を示す。ここで伝送
時間とは、伝送容量とも云うべき量であり、単位時間に
送れるビット量又はバイト量のことである。例えば、t
 、 =48Kbρs、 t3=32Mbpsである。
The lower part of FIG. 2 shows the transmission time t. Here, the transmission time is an amount that can also be called transmission capacity, and refers to the amount of bits or bytes that can be sent per unit time. For example, t
, =48Kbρs, t3=32Mbps.

一方、t2とは通信装置20a、20bでの処理時間で
あり、tz≧1.であることが望ましい。
On the other hand, t2 is the processing time in the communication devices 20a and 20b, and tz≧1. It is desirable that

ここで、t 1= 48 K bpsとした場合、t2
=48Kbpsとすることは、従来のマイコン内蔵の通
信装置20a(又は20b)では不可能である。先ず端
末装置23aと通信装置20aとのプロトコル手順を決
定し、この決定後プロトコル手順となるようにソフトウ
ェアで制御するとの手順を必要とする。この手順の実行
には、48 K bpsの処理速度は達成できない。
Here, if t 1 = 48 K bps, t2
=48 Kbps is not possible with the conventional communication device 20a (or 20b) with a built-in microcomputer. It is necessary to first determine the protocol procedure between the terminal device 23a and the communication device 20a, and then to control the protocol procedure using software after this determination. Processing speeds of 48 K bps are not achievable for performing this procedure.

そこで、本実施例では、通信製[20a、20bの内部
にはマイコンを内蔵せず、専用ハードウェアで通信装置
を形成せしめた。かかる専用ハードウェアによる通信装
置のもとでは、端末装置との間のプロトコルはシステム
決定時に一義的に指定され、且つネットワークと通信装
置との間のデータ伝送もDMA転送で高速に行う。この
一義的に指定されたプロトコルのもとてプロトコル操作
は単純化されて短時間となり、且つDMA転送で高速転
送が可能となるため、通信装置20a、20bでの実質
的な処理速度は、向上し、t2≧tlを達成できる。
Therefore, in this embodiment, a microcomputer is not built into the communication devices 20a and 20b, and the communication device is formed from dedicated hardware. In such a dedicated hardware communication device, the protocol with the terminal device is uniquely specified at the time of system determination, and data transmission between the network and the communication device is performed at high speed using DMA transfer. Based on this uniquely specified protocol, protocol operations are simplified and shortened, and high-speed transfer is possible using DMA transfer, so the actual processing speed in the communication devices 20a and 20b is improved. However, t2≧tl can be achieved.

第1図は、通信装置20aの実施例図を示す。通信装置
20bも同一構成から成る6 通信装置20aは、ネットワークインターフエース制御
部30.内部バス31.DMA回路32.プロトコル制
御回路33.DMAインターフェース回路34゜プロト
コル指定スイッチ35.データバッファ36゜受信回路
37.送信回路39.内部バス39より成る。
FIG. 1 shows an example diagram of a communication device 20a. The communication device 20b also has the same configuration6.The communication device 20a has a network interface control unit 30. Internal bus 31. DMA circuit 32. Protocol control circuit 33. DMA interface circuit 34° protocol specification switch 35. Data buffer 36° receiving circuit 37. Transmission circuit 39. It consists of an internal bus 39.

本実施例での特徴は、DMA転送を管理するDMA回路
32とDMAインターフェース回路34とを設けたこと
、専用ハードウェアより成るプロトコル制御回路33を
設けたこと、及びプロトコル指定スイッチを設けたこと
、である。更に、データバッファ36の使い方も新規で
ある。
The features of this embodiment include the provision of a DMA circuit 32 and a DMA interface circuit 34 for managing DMA transfer, the provision of a protocol control circuit 33 consisting of dedicated hardware, and the provision of a protocol specification switch. It is. Furthermore, the use of data buffer 36 is also new.

更に詳述する。It will be explained in further detail.

プロトコル制御回路33は、伝送線22a上の端末装置
23aとの制御プロトコルを指定し、制御する。
The protocol control circuit 33 specifies and controls a control protocol with the terminal device 23a on the transmission line 22a.

このプロトコルは、BISYNC手順とHDLC手順と
の2つの制御手順を持つ。使用に際しては、そのいずれ
か一方の手順を指定する。この指定はシステム決定時に
行う。この手順指定を行うのが、プロトコル指定スイッ
チ35である。
This protocol has two control procedures: a BISYNC procedure and an HDLC procedure. When using, specify one of the procedures. This specification is made when determining the system. The protocol designation switch 35 specifies this procedure.

このプロトコル指定スイッチ35で指定されると、プロ
トコル制御回路33は以後、指定されたプロトコルであ
るB工5YNC手順かHDLC手順かのいずれか1つの
手順動作を受持ち、この手順に従って端末装置23aと
の間で伝送を行わせる。
When specified by this protocol designation switch 35, the protocol control circuit 33 takes charge of one of the specified protocols, either the B-5YNC procedure or the HDLC procedure, and according to this procedure, communicates with the terminal device 23a. Transmission is performed between

データバッファ36は、受信回路37を介して受信した
データを一時ラッチした後ネットワーク21へ送信する
。更にネットワーク21から受信したデータはデータバ
ッファ36に一時ラッチされた後、送信回路38を介し
て端末装置23aに送られる。
The data buffer 36 temporarily latches the data received via the receiving circuit 37 and then transmits the data to the network 21 . Further, the data received from the network 21 is temporarily latched in the data buffer 36 and then sent to the terminal device 23a via the transmission circuit 38.

このデータバッファ36とネットワーク21との間のデ
ータ転送はDMA転送であり、このDMA転送は、DM
A回路32の指示で行う。
This data transfer between the data buffer 36 and the network 21 is a DMA transfer, and this DMA transfer is a DMA transfer.
This is done according to instructions from the A circuit 32.

以上の動作の中でのプロトコル制御回路33とDMA回
路32とDMAインターフェース回路34との動作につ
いて更に述べる。
The operations of the protocol control circuit 33, DMA circuit 32, and DMA interface circuit 34 in the above operation will be further described.

プロトコル制御回路33は受信回路37で受信したデー
タをバス39を介して取込み、CRCチエツクを行い、
正しいデータであると判断すると、冗長データたるCR
Cコード等をデータ中からはずし、必要なデータのみを
取出し、これをデータバッファ36に送る。データバッ
ファにデータをラッチしたことをDMAインターフェー
ス回路へ連絡し次に、DMAインターフェース回路34
はDMA回路32に対して受信要求を出し、DMA回路
32はこの要求を受けてデータバッファ36内のデータ
を読出し、バス31.ネットワークインターフェース制
御部30を介してネットワーク21に送出する。
The protocol control circuit 33 takes in the data received by the reception circuit 37 via the bus 39, performs a CRC check,
If it is determined that the data is correct, the CR is redundant data.
C code etc. are removed from the data, only necessary data is extracted and sent to the data buffer 36. The DMA interface circuit is notified that the data has been latched in the data buffer, and then the DMA interface circuit 34
issues a reception request to the DMA circuit 32, and upon receiving this request, the DMA circuit 32 reads out the data in the data buffer 36 and transfers the data to the bus 31. It is sent to the network 21 via the network interface control unit 30.

一方、ネットワーク21から送信されてきたデータは、
ネットワークインターフェース制御部30に一時取込ま
れる。これをDMAインターフェース回路34が知り、
DMA回路32に取込み指令を与える。DMA回路32
はネットワークインターフェース制御部30からデータ
を取出してデータバッファ36に格納する。格納後、プ
ロトコル制御回路にデータが送られ、プロトコル制御回
路33は、このデータにCRCデータを付加し、送信回
路38、回線22aを介して端末装置23aに送る。
On the other hand, the data sent from the network 21 is
The data is temporarily taken into the network interface control unit 30. The DMA interface circuit 34 knows this and
A capture command is given to the DMA circuit 32. DMA circuit 32
extracts data from the network interface control unit 30 and stores it in the data buffer 36. After storage, the data is sent to the protocol control circuit, and the protocol control circuit 33 adds CRC data to this data and sends it to the terminal device 23a via the transmission circuit 38 and line 22a.

プロトコル制御回路33の内部機能を第3図に示す。B
ISYNC手順とHDLC手順との2つのプロトコル機
能を持っており、このどちらかを外部のプロトコル指定
スイッチ35が指定する。指定後は、どちらかに限定し
た手順をとる。BISYNC手順では、SYN除去かS
YN挿入かのいずれかの指示、及びHDLC手順では、
ゼロ除去かゼロ挿入かの指示を行う。いずれの手順でも
、CRC生成かCRCチエツクかを行う。尚、SYN挿
入、ゼロ挿入、CRC生成とは送信モードであり、SY
N除去、ゼロ除去、CRCチエツクとは受信モードを意
味する。
The internal functions of the protocol control circuit 33 are shown in FIG. B
It has two protocol functions, an ISYNC procedure and an HDLC procedure, and an external protocol designation switch 35 designates one of them. After specifying, the procedure is limited to one or the other. In the BISYNC procedure, SYN removal or S
For any instructions for YN insertion and for HDLC procedures,
Instructs whether to remove zero or insert zero. In either procedure, CRC generation or CRC check is performed. Note that SYN insertion, zero insertion, and CRC generation are transmission modes, and SYN insertion, zero insertion, and CRC generation are transmission modes.
N removal, zero removal, and CRC check mean reception mode.

本実施例では、2つの手順の選択であったが、プロトコ
ルとしてはこれ以外の手順もある故に、この2つの手順
に限定されない。SYN除去、挿入の2つ以外、ゼロ除
去、ゼロ挿入の2つ以外の処理も当然に可能である。
In this embodiment, two procedures were selected, but the protocol is not limited to these two procedures because there are other procedures. Naturally, processes other than SYN removal and insertion, zero removal and zero insertion are also possible.

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

本発明によれば、外部からの指定スイッチによってのみ
プロトコルが決定でき、且つネットワークとの間のデー
タ転送がDMA転送とさせたために、高速処理可能な通
信装置が提供できた。
According to the present invention, a communication device capable of high-speed processing can be provided because the protocol can be determined only by a designated switch from the outside and data transfer to and from the network is performed using DMA transfer.

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

第1図は本発明の実施例図、第2図は全体システム図、
第3図はプロトコル制御回路の内部機能図である。 20a 、 20b−通信制御装置、23a 、 23
b 一端末装置。 代理人弁理士・ 秋  本  正  実業 1 回 第 3 図
Fig. 1 is an embodiment diagram of the present invention, Fig. 2 is an overall system diagram,
FIG. 3 is an internal functional diagram of the protocol control circuit. 20a, 20b-communication control device, 23a, 23
b One terminal device. Representative Patent Attorney Tadashi Akimoto Business 1st 3rd Diagram

Claims (1)

【特許請求の範囲】 1、端末装置との間での送受信を行う送受信部と、該端
末装置との間での送受信用の複数のプロトコル指定機能
、及び各プロトコルに従って端末装置と送受信部とを介
しての送受信制御を行う送受信制御機能、とを有するプ
ロトコル制御用専用回路と、 上位ネットワークと、前記送受信部を介した端末装置と
の間の送受信データがプロトコル制御回路の管理のもと
に一時的にラッチされるバッファと、 該バッファと上位ネットワークとの間での送受信データ
転送をDMAで行うDMA回路と、を備えると共に、 上記プロトコル制御用専用回路での複数のプロトコルの
いずれの使用かをプロトコル制御用専用回路の外部から
指定する指定スイッチと、を備えた端末装置とネットワ
ーク間結合用通信装置。
[Claims] 1. A transmitting/receiving unit that performs transmission and reception with a terminal device, a plurality of protocol specification functions for transmitting and receiving data with the terminal device, and a function of specifying a plurality of protocols for transmitting and receiving data between the terminal device and the transmitting/receiving unit according to each protocol. a dedicated protocol control circuit having a transmission/reception control function for controlling transmission/reception via the transmission/reception unit; and a dedicated protocol control circuit having a transmission/reception control function for controlling transmission/reception via the transmission/reception unit; a DMA circuit that performs transmission/reception data transfer between the buffer and the upper network using DMA; A communication device for coupling between a terminal device and a network, which includes a designated switch that is designated from outside a dedicated circuit for protocol control.
JP8420188A 1988-04-07 1988-04-07 Communication equipment coupling terminal equipment and network Pending JPH01256840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8420188A JPH01256840A (en) 1988-04-07 1988-04-07 Communication equipment coupling terminal equipment and network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8420188A JPH01256840A (en) 1988-04-07 1988-04-07 Communication equipment coupling terminal equipment and network

Publications (1)

Publication Number Publication Date
JPH01256840A true JPH01256840A (en) 1989-10-13

Family

ID=13823865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8420188A Pending JPH01256840A (en) 1988-04-07 1988-04-07 Communication equipment coupling terminal equipment and network

Country Status (1)

Country Link
JP (1) JPH01256840A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06224910A (en) * 1993-01-27 1994-08-12 Nec Corp Lan connection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06224910A (en) * 1993-01-27 1994-08-12 Nec Corp Lan connection system

Similar Documents

Publication Publication Date Title
CA1271821A (en) Information transfer method and arrangement
JPH01256840A (en) Communication equipment coupling terminal equipment and network
JP2001067299A (en) Interface controller and computer system
AU609791B2 (en) Improvements in or relating to data communication systems
JPS6236940A (en) Data communication equipment in automobile
JP2953362B2 (en) LAN switching device
JPS6055752A (en) Packet processing system
JP2821053B2 (en) Network system
JP3299021B2 (en) Multi-bus II-SCSI bus data transfer method and apparatus
KR100427764B1 (en) Apparatus for Interface between Devices of different Data Bus
EP1171957A2 (en) Apparatus and method for performing and controlling encryption/decryption for data to be transmitted on local area network
JPH0341543A (en) Data buffer control system for controller on communication network
JPH03255749A (en) Data transfer system for communication control equipment
JPH02149049A (en) Communication control system
JPS6165649A (en) Communication control system
JPS6326905B2 (en)
JPH0237439A (en) Information transfer and management system
JPS63182939A (en) Communication control equipment
JPS6050094B2 (en) Data bus method
JPH04314157A (en) Communication equipment
JPS6029987B2 (en) Data transfer control method
JPS5995643A (en) Interruption data transfer system
JPH02272941A (en) Data processor
JPH05130162A (en) Data transfer system
JPH01314326A (en) Communication control system in data processing system