JPS6165647A - Circuit control circuit of packet exchange - Google Patents

Circuit control circuit of packet exchange

Info

Publication number
JPS6165647A
JPS6165647A JP59187634A JP18763484A JPS6165647A JP S6165647 A JPS6165647 A JP S6165647A JP 59187634 A JP59187634 A JP 59187634A JP 18763484 A JP18763484 A JP 18763484A JP S6165647 A JPS6165647 A JP S6165647A
Authority
JP
Japan
Prior art keywords
data
dma
transfer
bcc
data block
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
JP59187634A
Other languages
Japanese (ja)
Inventor
Jitsuo Sentoda
仙洞田 実夫
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 JP59187634A priority Critical patent/JPS6165647A/en
Publication of JPS6165647A publication Critical patent/JPS6165647A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To decrease a load off CPU, to improve processing capacity and to make data transmission highly speedily by dividing the data block received by URT to a prescribed length and installing plural DMA control means to transmit DMA, a DMA switching controller and a detecting means to detect ETX and ETB and a means to stop a DMA transfer. CONSTITUTION:First, by checking BCC by URT32, the presence and absence of the error of the transmitting data 31 are investigated. When an error is present the data are re-transmitted from a terminal 30. When the error is absent, a long data block is shortly divided by DMA controllers 33 and 34. Further, by switching the controllers 33 and 34 alternately, the short data block is successively DMA-transferred to the next step exchanger. When BCC is included in a data block, DMA transfer is executed from a detecting circuit 41 and a delay circuit 42 and the transfer of the data after that is prohibited.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、URT(υn1versaI Receiv
erTrlnsmjtt15r )と称される回線制御
LSIを使用してB S C(Blnary 5ync
hronous Communications)手順
によりデータのDMA転送を行うパケット交換機の回線
制御回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides URT (υn1versaI Receiving
BSC (Blnary 5sync) using a line control LSI called erTrlnsmjtt15r
The present invention relates to a line control circuit for a packet switch that performs DMA transfer of data according to a chronous communications procedure.

〔従来の技術〕[Conventional technology]

一般に、パケット交換機は、転送すべきデータの千2−
訂正な各交換機間(リンク バイ リンク)で行い、高
品質の伝送路を提供することができる。ところがこれは
、エラー訂正のためにはデータをブロック単位で蓄積す
ることが必要であり、そのために長いデータブロックで
伝送するようKしである。そのため、回線交換と比較し
て、遅延時間特性が大幅に悪化する。このことを、例え
ば第3図(a)に示すように、端末1からパケット交換
492.394を介してホストCPU5にデータを伝送
する場合について説明する。この場合、同図(賜に示す
ように、端末1および各)(ケラト交換機2.3.4が
データを中継する時間をtとすれば、データが端末lか
らホストCPU5に届くまでには4tという多くの時間
を必要とする(ただしとζでは、説明を容易にする丸め
、データは全ての箇所で同一スピードで伝送されるもの
とした)。
In general, a packet switch transfers data to
This is done link-by-link between each exchange, providing a high-quality transmission path. However, in order to correct errors, it is necessary to store data in blocks, and therefore it is recommended to transmit data in long data blocks. Therefore, the delay time characteristics are significantly worse compared to circuit switching. This will be explained in the case where data is transmitted from the terminal 1 to the host CPU 5 via the packet exchange 492.394, as shown in FIG. 3(a), for example. In this case, if the time it takes for the Kerat exchange 2.3.4 to relay data is t, it will take 4t for the data to reach the host CPU 5 from the terminal 1 (as shown in the figure). (However, in ζ and ζ, it is assumed that data is transmitted at the same speed at all locations, rounding is done to make the explanation easier).

ここで特に、端末とホス)CPU間の会話形通信で一画
藺分のデータ伝送を行うような場合には、伝送効率を上
げるtめに長いデータブロックで送るのが一般的とされ
ているが、一方応答時間な短縮して)!!延待時間特性
良好に維持することも多く望まれている。
In particular, when transmitting one stroke of data through conversational communication between a terminal and a host's CPU, it is generally said that the data is sent in long data blocks in order to increase transmission efficiency. But on the other hand, the response time is shortened)! ! It is also often desired to maintain good delay time characteristics.

応答時間を短縮するためには、パケット交換機にURT
を用いることにより、エラー訂正を端末間で、すなわち
エンド トウ エンド(End  t。
To reduce response time, it is necessary to use URT in the packet switch.
By using error correction between terminals, i.e., end to end (End t.

Efid )で行5回線交換的なサービスが要求され、
長いデータブロックを短かく区切って高速で伝送する必
要が生じた。
Efid), line 5 circuit-switched service is requested,
It became necessary to divide long data blocks into shorter pieces and transmit them at high speed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のパケット交換機で上記の要求を実現しようとする
場合、以下のような問題が生じた。その間−を第4図〜
第6図に基き、具体例をあげて説明する。
When trying to meet the above requirements with a conventional packet switch, the following problems arose. Figure 4 shows the time between
A specific example will be explained based on FIG.

第4図で、URTを使用したデータブロック伝送につい
て、特に一般的なURTの機能について説明する。ここ
では、ノ(ケラト交換機21が受信11JURT23及
び送信側UFLT24を具えており、端末20からのデ
ータがパケット交換機21を介してホストCPU22に
伝送される。端末20からのデータは、第5図に示され
るような、BSC手順による一般的なデータ伝送のメツ
セージ形式で送出される。ここで、STXはデータの始
まりを示すコードであり、gTXまたはETBはデータ
の終了を示すコードであり、BCCはSTXからBTX
またはETBまでのエラーチェック用のコードである。
With reference to FIG. 4, data block transmission using the URT will be explained, particularly the functions of the general URT. Here, the Kerat exchange 21 includes a reception side JURT 23 and a transmission side UFLT 24, and data from the terminal 20 is transmitted to the host CPU 22 via the packet exchange 21.The data from the terminal 20 is shown in FIG. It is sent in the general data transmission message format according to the BSC procedure as shown below. Here, STX is a code indicating the start of data, gTX or ETB is a code indicating the end of data, and BCC is a code indicating the end of data. STX to BTX
Or it is a code for error checking up to ETB.

BCCの次には無効データが続いている。Invalid data follows the BCC.

第4図において、端末20からの上記データは、受信1
10RT23によってBCCの正誤がチェックされるが
、このBCCはDMA転送されない。
In FIG. 4, the above data from the terminal 20 is
10RT23 checks whether the BCC is correct or not, but this BCC is not transferred by DMA.

上記データが正しい場合は、BTXま九はETBまでが
送信側URT24から送出され、BCCは送信側υRT
24によって付加される。こつようKBCCを送信側で
付加するととKより、BCCをDMA転送せずに、受信
したBCCと同じ内容のものを送出データに付加するも
のである。
If the above data is correct, BTX up to ETB will be sent from the sending side URT24, and BCC will be sent from the sending side υRT.
It is added by 24. When the KBCC is added on the sending side, the same content as the received BCC is added to the transmitted data without DMA transfer of the BCC.

しかし、上記のようK、受信した長いデータブロックと
同じ長さでデータ転送する場合は、上述したように多(
の転送時間を必要とする。一方、との転送時間を短縮す
るために、第6図に示すように長いデータブ、ロック2
5を短いデータブロック26.27に区切って転送しよ
うとする場合は、BCCもデータの一部として取込まな
いと不都合が生じてしまうが、上記のURTはBCCま
でDMA転送する機能を有し【いないので第6図のよう
にデータブロックを短く区切って転送することはできな
い。
However, if K is the same length as the received long data block, as described above, K is the same length as the received long data block.
transfer time. On the other hand, in order to shorten the transfer time with
5 into short data blocks 26.27, it will be inconvenient if the BCC is not included as part of the data, but the above URT has the function of DMA transfer up to the BCC [ Therefore, data blocks cannot be divided into short sections and transferred as shown in FIG.

また、URTはDMA転送時にもBTXまたはETBの
検出機能な持ち、これらを検出するとCPUに割込み指
示を送る。CPUは、この指示を受けると、プμグラム
転送モードで2〕(イトのBCCを引取り、データをD
MA転送した後にgTBまたはBTXが格納されている
エリアの次のエリアにBCCを書込まなげればならない
。従ってCPUは、そのためのアドレス職別等の多(の
機能を持たなければならない。
The URT also has a BTX or ETB detection function during DMA transfer, and upon detecting these, sends an interrupt instruction to the CPU. When the CPU receives this instruction, it uses the program transfer mode (2) to take over the BCC of the host and transfer the data to the D.
After MA transfer, BCC must be written in the area next to the area where gTB or BTX is stored. Therefore, the CPU must have multiple functions such as address classification.

また、との゛よ5な処理を回線スピードに応じたリアル
タイムで行うことが要求される。しかし、特に複数回線
または高速回線収容時はCPUの負荷を増大させること
となり、処理能力の大幅な低下を招いてしまうので、上
記の要求を実現することは非常に困難であった。
Furthermore, it is required to perform the following five types of processing in real time according to the line speed. However, especially when accommodating multiple lines or high-speed lines, the load on the CPU increases, resulting in a significant drop in processing capacity, so it has been extremely difficult to achieve the above requirements.

〔問題点を解決するための手段〕[Means for solving problems]

本発明に係る回線制御回路は、URTを使用し−CBS
C手順によりデータのDMA転送を行うノ(ケラト交換
機に適用されるものであって、上記問題点を解決するた
めの手段とし【、前記URTで受信したデータブロック
を所望の長さに分割してDMA転送する複数のDMAコ
ントロール手段と、該分割された各データブロックのD
MA転送が終了する毎に、該DMA転送を行ったDMA
コントロール手段から他のいずれかのDMAコントロー
ル手段に切替えて前記υRTに接続する切替手段と、前
記BSC手劇0BCCの前に挿入されてデータの終了を
示すBTX若しくはETBを検出する検出手段と、該検
出がされたときから前記BCCまでのDMA転送が終了
するまでの所定時間後に指示を出すことによりD M 
A転送を停止させる手段とを具備することにより、BC
CまでDMA転送を行えるようにしたものである。
The line control circuit according to the present invention uses URT-CBS.
DMA transfer of data according to the C procedure (applied to the Kerat exchange, and as a means to solve the above problem [, the data block received by the URT is divided into desired lengths) A plurality of DMA control means for DMA transfer, and a D of each divided data block.
Every time an MA transfer is completed, the DMA that performed the DMA transfer
a switching means for switching from the control means to any other DMA control means and connecting it to the υRT; a detection means for detecting BTX or ETB inserted before the BSC operation 0BCC to indicate the end of data; D
By providing means for stopping the A transfer, the BC
This allows DMA transfer up to C.

〔実施例〕〔Example〕

以下、本発明の実施例について、図面を参照しながら説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明のパケット交換機の回線制御回路の一
実施例を示すブロック図である。こζでURT32は端
末30に接続され、端末3oからの送信データ31を受
信する。この送信データ31は、第5図で示し丸ような
りSC手順による一般的なデータ伝送のメツセージ形式
で送出される。
FIG. 1 is a block diagram showing an embodiment of a line control circuit of a packet switch according to the present invention. At this point ζ, the URT 32 is connected to the terminal 30 and receives the transmission data 31 from the terminal 3o. This transmission data 31 is sent in the message format of general data transmission according to the circular SC procedure shown in FIG.

URT32は、2つのDMAコントロー233.34の
いずれか一方を介してCPU40 IC接続されている
。とこで、DMAコントローラ33または34は、CP
U4Gの指示により所定のバイト数が設定され、URT
32で受信したデータをこのバイト数からなる短いデー
タに区切り、この一区切りの短いデ・−夕をデータ線5
0または51から次段の交換機にDMA転送する。D 
M人コントローツ33または34は、このDMA転送が
終了したとき転送終了信号38または39を出力し、こ
の信号38または39がCPU40及びDM人切替コン
トロー235に導かれるように接続されている。
The URT 32 is connected to the CPU 40 IC via one of two DMA controllers 233, 34. By the way, the DMA controller 33 or 34
A predetermined number of bytes is set according to the instructions of U4G, and the URT
Divide the data received at 32 into short data consisting of this number of bytes, and send this one section of short data to data line 5.
DMA transfer from 0 or 51 to the next exchange. D
The M person controller 33 or 34 outputs a transfer end signal 38 or 39 when this DMA transfer is completed, and is connected so that this signal 38 or 39 is guided to the CPU 40 and the DM person switching controller 235.

DM人切替コントローラ35は、切替スイッチ36.3
7を切替えることKより、URT32及びcpu+o<
対して、2つのDMAコントローラ33,34を交互K
il続するものであり、この切替えは上記転送終了信号
38または39を受は九ときに行われる。また、CPU
40は、転送終了信号38または39を受けると、上記
切替えと同時に、その切替えられたDMAコントローラ
33または34に所定のバイト数を与えることにより、
上記のような短いデータtつ(つて同様にDMA転送を
行わせる。
The DM person switching controller 35 has a switching switch 36.3.
From switching 7, URT32 and cpu+o<
On the other hand, the two DMA controllers 33 and 34 are
This switching is performed at 9 o'clock when the transfer end signal 38 or 39 is received. Also, CPU
Upon receiving the transfer end signal 38 or 39, 40 simultaneously with the above switching, provides a predetermined number of bytes to the switched DMA controller 33 or 34.
Similarly, DMA transfer is performed using t pieces of short data as described above.

また、端末30は検出回路41及び遅延回路42を介し
てCPU40に接続されている。ここで検出口i%41
は、第5図で示したデータの終了を示すBTXもしくは
ETBを検出するものであり、その検出信号43を遅延
回路42に送出する。遅延回路42は、検出41号43
を受けて、2バイトのBCCのDMA転送が終了するま
での所定時間だけ待合わせてから、BCC転送終了信号
43をCPU40に送出する。CPU4Qは、このBC
C転送終了信号43馨受けて、D M A転送を停止さ
せる。このようにBTXもしくはETBを検出後上記所
定時間だけ遅延させることにより、BCCをデータとし
て転送した後、BCCの次に続(無効データの転送を禁
止制御している。
Further, the terminal 30 is connected to the CPU 40 via a detection circuit 41 and a delay circuit 42. Here detection port i%41
5 detects BTX or ETB indicating the end of data shown in FIG. 5, and sends the detection signal 43 to the delay circuit 42. The delay circuit 42 has a detection number 41 and a detection number 43.
In response, it waits for a predetermined period of time until the DMA transfer of the 2-byte BCC is completed, and then sends a BCC transfer end signal 43 to the CPU 40. CPU4Q uses this BC
Upon receiving the C transfer end signal 43, the DMA transfer is stopped. In this way, by delaying the BTX or ETB by the predetermined time after detection, after the BCC is transferred as data, the transfer of the next (invalid) data of the BCC is prohibited.

本実施例では、まずURT32がBCCをチェックする
ととKより、送信データ31のエラーの有無を調べる。
In this embodiment, first, when the URT 32 checks the BCC, the transmission data 31 is checked for errors.

工2−があった場合は、端末30からデータを再送信さ
せる。工2−が無かった場合は、上述したようにしてD
MAコントローラ33.34で長いデータブロックを短
く区切る。
If there is a step 2-, the data is retransmitted from the terminal 30. If there is no step 2-, do D as described above.
MA controllers 33 and 34 divide long data blocks into shorter blocks.

そして更KDM人コントローラ33.34を交互に切替
えることKより、短いデータブロックを次段の交換機に
順次DMA転送する。データブロック中にBCCを含む
場合は、検出回路41及び遅延回路42の上記作用によ
りBCCまでのDMA転送を行い、それ以後のデータの
転送を禁止する。
Then, by alternately switching the KDM controllers 33 and 34, short data blocks are sequentially DMA-transferred to the next-stage exchange. When a data block includes a BCC, the detection circuit 41 and the delay circuit 42 perform the DMA transfer up to the BCC, and subsequent data transfer is prohibited.

次に第Z@(a)に示すように、本実−例に係る回線制
御回路を有するパケット交換機2,3.4を介して、端
末lからホストCPU5Vcデータを伝送する場合につ
いて説明する。ここでは、端末1からの長いデータを4
等分に区切ってDMA転送するものとする。すると、従
来では第3図に示しという短い時間で済むことになる。
Next, as shown in No. Z@(a), a case will be described in which data from the host CPU 5Vc is transmitted from the terminal 1 via the packet switch 2, 3.4 having the line control circuit according to the present example. Here, long data from terminal 1 is 4
It is assumed that the data is divided into equal parts and DMA transfer is performed. In this case, the conventional method requires only a short time as shown in FIG.

この場合、従来の9600bps  1本の処理能力を
9600bp14本にまで高めることができる。なお、
データをさらに細かく区切れば、更に高い処理能力を持
九せることができる。
In this case, the conventional processing capacity for one 9600bps line can be increased to 14 9600bps lines. In addition,
By dividing the data into smaller pieces, even higher processing power can be achieved.

なお、本実り例ではDM人コントロー2を2つ設けてい
るが、3つ以上設けることにより、上述したようなデー
タを短く区切るためのバイト数の設定を容易にし、さら
に高速のデータ転送を行うことができる。
In this example, two DM controllers 2 are provided, but by providing three or more, it is easier to set the number of bytes for dividing data into shorter pieces as described above, and data transfer is performed at even higher speeds. be able to.

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

本発明は以上説明し九ように、BCCまでDMA転送す
ることを可能としたことにより、C10の負荷を軽減し
処理能力を向上させることができるので、回線スピード
に応じたリアルタイム処理を容易に行うことができ、従
って高速のデータ伝送を可能にするとい5鐵れた効果を
有する。
As explained above, the present invention makes it possible to perform DMA transfer up to the BCC, thereby reducing the load on the C10 and improving the processing capacity, making it easy to perform real-time processing according to the line speed. Therefore, it has five important effects in enabling high-speed data transmission.

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

第1図は本発明のパケット交換機の回線制#園路の一実
施例を示すブロック図、第2図は本発明に係るパケット
交換機な使用したデータ伝送の説明図、第3図は従来の
パケット交換機を使用したデータ伝送の説明図、第4図
は一般のURTを使用し九パケット交換機のブロック図
、第5図はBSC手順による一般的なデータメツセージ
形式を示す図、第6図は長いデータブロックを2つの短
いデータブロックに区切った状態を示す図である。 32・・・URT     33,34・・・DMAコ
ント四−235・・−DMA切替フンドロー’)   
    36.37・・・切替スイッチ40・−cpυ
     41・・・検出回路42・・・遅[回路。 特許出願人  日本′#i気株式会社 −0,、。 代理人   弁理士 内  原   蕊゛日  6、−
1 、ノー′ 第2図 第3図 第4図
FIG. 1 is a block diagram showing an embodiment of the circuit system #enro of a packet switch according to the present invention, FIG. 2 is an explanatory diagram of data transmission using the packet switch according to the present invention, and FIG. 3 is a diagram showing a conventional packet switch. An explanatory diagram of data transmission using a switch. Figure 4 is a block diagram of a nine-packet switch using a general URT. Figure 5 is a diagram showing a general data message format using the BSC procedure. Figure 6 is a diagram showing the format of a general data message using the BSC procedure. FIG. 3 is a diagram showing a state in which a block is divided into two short data blocks. 32...URT 33, 34...DMA control 4-235...-DMA switching fund draw')
36.37...Selector switch 40・-cpυ
41...Detection circuit 42...Slow circuit. Patent applicant: Nippon'#iKi Co., Ltd. -0,. Agent Patent Attorney Uchihara Akihito 6, -
1, No' Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 URTを使用してBSC手順によりデータのDMA転送
を行うパケツト交換機の回線制御回路において、 前記URTで受信したデータブロツクを所定の長さに分
割してDMA転送する複数のDMAコントロール手段と
、 該分割された各データブロツクのDMA転送が終了する
毎に、該DMA転送を行つたDMAコントロール手段か
ら他のいずれかのDMAコントロール手段に切替えて前
記URTに接続する切替手段と、 前記BSC手順のBCCの前に挿入されてデータの終了
を示すBTX若しくはETBを検出する検出手段と、 該検出がされたときから前記BCCまでのDMA転送が
終了するまでの所定時間後に指示を出すことによりDM
A転送を停止させる手段とを具備したことを特徴とする
パケツト交換機の回線制御回路。
[Scope of Claims] In a line control circuit of a packet switch that performs DMA transfer of data according to a BSC procedure using a URT, a plurality of DMAs divide a data block received by the URT into predetermined lengths and transfer the divided data by DMA. a control means; a switching means for switching from the DMA control means that performed the DMA transfer to any other DMA control means and connecting to the URT each time the DMA transfer of each divided data block is completed; Detection means for detecting BTX or ETB inserted before the BCC in the BSC procedure to indicate the end of data, and issuing an instruction after a predetermined time from when the detection is made until the DMA transfer to the BCC is completed. By DM
1. A line control circuit for a packet switch, comprising means for stopping A-transfer.
JP59187634A 1984-09-07 1984-09-07 Circuit control circuit of packet exchange Pending JPS6165647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59187634A JPS6165647A (en) 1984-09-07 1984-09-07 Circuit control circuit of packet exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59187634A JPS6165647A (en) 1984-09-07 1984-09-07 Circuit control circuit of packet exchange

Publications (1)

Publication Number Publication Date
JPS6165647A true JPS6165647A (en) 1986-04-04

Family

ID=16209541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59187634A Pending JPS6165647A (en) 1984-09-07 1984-09-07 Circuit control circuit of packet exchange

Country Status (1)

Country Link
JP (1) JPS6165647A (en)

Similar Documents

Publication Publication Date Title
US5978865A (en) System for performing DMA transfers where an interrupt request signal is generated based on the value of the last of a plurality of data bits transmitted
JPH0824320B2 (en) Method and device for buffer chaining in communication control device
CN115967589A (en) ARM and FPGA-based high-speed buffer type CAN bus communication system and method
US4736365A (en) Method and apparatus for controlling access to an asynchronous communication network
JPS6165647A (en) Circuit control circuit of packet exchange
CN112463172A (en) Data burning method and system
JPS5986940A (en) Information transmitting system of multi-drop system
JPS63293657A (en) Serial communication controller
JPS61186046A (en) System for controlling terminal equipment connection
JPH0378066A (en) Data processor
JPS59119439A (en) Buffer busy avoiding system
JPS5953574B2 (en) Communication control method
JPH01304568A (en) Data read system for process output device
JPH0344248A (en) Data transmitter
JPH077954B2 (en) Control device
JPS62164345A (en) Communication control equipment
JPH02149049A (en) Communication control system
JPS5936456A (en) Communication controller
JPS62232057A (en) Pseudo dma system
JPS5826866B2 (en) Communication control device
JPS61180353A (en) Data transfer control system
JPH033054A (en) Method for preventing communication data from being missed
JPH02305124A (en) Data transmission system
JPH07105795B2 (en) Polling control method
JPS60158750A (en) High-speed communication system