JPS63246055A - Packet transmitter-receiver - Google Patents

Packet transmitter-receiver

Info

Publication number
JPS63246055A
JPS63246055A JP62080234A JP8023487A JPS63246055A JP S63246055 A JPS63246055 A JP S63246055A JP 62080234 A JP62080234 A JP 62080234A JP 8023487 A JP8023487 A JP 8023487A JP S63246055 A JPS63246055 A JP S63246055A
Authority
JP
Japan
Prior art keywords
packet
transmission
reception
control
receiving device
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
JP62080234A
Other languages
Japanese (ja)
Inventor
Hiroshi Suzuki
洋 鈴木
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 JP62080234A priority Critical patent/JPS63246055A/en
Publication of JPS63246055A publication Critical patent/JPS63246055A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain communication with high speed high throughput by separating a means applying complicated processing between packet transmission/ reception controllers and a means applying comparatively simple processing. CONSTITUTION:A transmission packet is sent to a line 131 from a transmission buffer 101 via a header addition circuit 111 and a line control section 12 and a reception packet is stored in a reception buffer memory 102 from a line 132 via the control section 12 and a header read circuit 112. In this case, mode setting or timeout recovery processing causes complicated processing with many control states. On the other hand, the addition of sequence number and reception error detection of a sequence number are processed comparatively easily. Then the former processing is realized by a memory 16 and an operation mode setting/error recovery processor 15, and the latter processing is executed by only a transmission/reception state circuit 14. Thus, while no error takes place, the processing is executed by the hardware only.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はパケット通信方式に関し、特に高速かつ高スル
ープツトのならびにパケット送受信装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a packet communication system, and particularly to a high-speed and high-throughput packet transmitting/receiving device.

(従来の技術) 一般にパケットの送受信においては受信バッファのオー
バフローを防止するフロー制御及び伝送中のどットエラ
ー、パケットの紛失等の誤り回復を行なう再送制御が必
要となる。従来技術においては、これらの制御はハイレ
ベル伝送手順制御(HDLC)等で用いられているウィ
ンドウ制御方式により実現されていることが多い。この
方式では各パケットの連続送信可能数を制限し、さらに
は受信確認・再送手順を実現している。
(Prior Art) In general, in the transmission and reception of packets, flow control to prevent overflow of a reception buffer and retransmission control to recover from errors such as dot errors during transmission and packet loss are required. In the prior art, these controls are often realized by a window control method used in high-level transmission procedure control (HDLC) and the like. This method limits the number of consecutive packets that can be transmitted, and also implements reception confirmation and retransmission procedures.

従来方式では第3に示す構成でこれらの処理を行ってい
る。送信バッファメモリ331の送信パケットは伝送制
御プロセッサ35によってベダ付加回路341でシーケ
ンス番号が付加され送信回線311へ送出される。回線
制御部32でフラグやフレームチェックシーケンス等が
付加される。一方、受信回線312から受信されたパケ
ットは回線制御部32でフラグの検出やフレーチチェッ
クエラーの検査後、ペダ読取回路342でシーケンス番
号等のベダが読み込まれ伝送制御プロセッサ35でベダ
が解析され、受信バッファ332へ格納される。
In the conventional system, these processes are performed using the third configuration. A sequence number is added to the transmission packet in the transmission buffer memory 331 by the Beda addition circuit 341 by the transmission control processor 35, and the packet is sent to the transmission line 311. A flag, a frame check sequence, etc. are added by the line control unit 32. On the other hand, the packet received from the reception line 312 is checked for flags and frame check errors by the line control unit 32, and then the sequence number and other information is read by the pedal reading circuit 342, and the Beda is analyzed by the transmission control processor 35. , are stored in the reception buffer 332.

ここで伝送制御プロセッサ35はヘッダ付加回路341
ヘシーケンス番号を通知し、ヘッダ読取回路342から
受信シーケンス番号を検知することによって、連続送信
可能なパケット数、再送すべきパケットの決定を行って
いる。すなわち上記シーケンス番号を用いた送信可能な
パケット数の制御、受信パケットの受信確認ならびに受
信誤りの場合の再送手順を実行する、本方式の中核部で
あ′る。
Here, the transmission control processor 35 includes a header addition circuit 341
By notifying the header of the sequence number and detecting the received sequence number from the header reading circuit 342, the number of packets that can be continuously transmitted and the packets to be retransmitted are determined. That is, this is the core part of this system, which uses the above sequence number to control the number of transmittable packets, confirm reception of received packets, and perform retransmission procedures in the event of a reception error.

この制御は各パケットの送信、受信の度に内部制御状態
が変化する上に、再送手順においては各送信パケットの
送達確認(相手側では受信パケットの受信確認)が得ら
れるまでの時間管理等の非常に複雑な処理を必要とする
This control not only changes the internal control state each time each packet is sent or received, but also requires time management etc. in the retransmission procedure until confirmation of delivery of each sent packet (reception confirmation of received packet on the other side) is obtained. Requires extremely complex processing.

また、送達確認がある一定時間内に得られなかった場合
、相手装置に対して受信状態の間イ合せを行って、処理
の再開を図る処理も行なう必要がある。さらにこれらの
一連の処理を行なうための動作モードの設定が一般には
必要である。これら場合には相手送受信装置との間でコ
マンド、レスポンスのやりとりが必要となる。以上の伝
送制御処理はその状態数が非常に多いため第3図に示す
ようにメモリ36にプログラムを格納しこれに基づいて
プロセッサ35で処理するプログラム処理に頼らざるを
得ない。
Furthermore, if delivery confirmation is not obtained within a certain period of time, it is necessary to perform a process of adjusting the receiving state of the other party's device and restarting the process. Furthermore, it is generally necessary to set an operating mode for performing these series of processes. In these cases, it is necessary to exchange commands and responses with the other party's transmitting/receiving device. Since the transmission control processing described above has a very large number of states, it has no choice but to rely on program processing in which a program is stored in the memory 36 and processed by the processor 35 based on the program, as shown in FIG.

この場合伝送回線312.311を数十Mbit/秒と
高速化しても上記のソフトウェア処理実行時間が遅いた
め高々IMbit/秒のスループットしか得られず高い
スループットでのパケット通信の実現ができないという
問題が生じる。これを解決する1つの手段として さらにファームウェアで実行する方法があるが基本的に
プログラム制御に頼らざえないので数Mbit/:沙程
度にしかスルーブツトは向上しない。
In this case, even if the speed of the transmission line 312.311 is increased to several tens of Mbit/sec, the above software processing execution time is slow, so a throughput of only IMbit/sec can be obtained at most, making it impossible to realize high throughput packet communication. arise. One way to solve this problem is to execute the process using firmware, but since it basically has to rely on program control, the throughput can only be improved by a few Mbit/sha.

(発明が解決しようとする問題点) このように従来技術ではパケットの送受信制御が非常に
複雑な処理を実行する必要がありプログラム処理に頼ら
ざる得ない。従って高速高スループツトが得られないと
いう問題点を有している。
(Problems to be Solved by the Invention) As described above, in the conventional technology, it is necessary to perform very complicated processing for packet transmission and reception control, and it is necessary to rely on program processing. Therefore, there is a problem that high speed and high throughput cannot be obtained.

本発明は上記問題点を解決しようとするものである。The present invention attempts to solve the above problems.

(問題点を解決するための手段) すなわち本発明はパケット伝送制御を行なうパケット送
受信装置であり、各パケットの送受信状態を管理する第
1の制御手段と各パケットの誤り回復処理ならび動作モ
ードの設定を行なう第2の制御手段とからなり、パケッ
トの誤り回復処理ならびに動作モードの設定を行なわな
い場合に前記第1の制御手段がパケットの送受信状態管
理を行ない、パケットの誤り回復処理あるいは動作モー
ドの設定を行なう場合に限り前記第1の制御手段と第2
の制御手段が連動してパケットの伝送制御を行ない前記
各パケットの送受信状態を管理する第1の制御手段は、
下記(a)〜(flからなり、(a)送信パケットにシ
ーケンス番号を付加する手段と、 <b)受信パケットのシーケンスエラーを検出する手段
と、 (C)正常に受信したパケットのシーケンス番号を相手
送信装置へ通知する手段と、 (d)受信に失敗したパケットの再送を相手送信装置へ
要求する手段と、 (e)送信した各パケットに対する相手受信装置からの
前記正常受信の通知を受けるまで該送信パケットを保持
する手段と、 (0送信した各パケットに対する相手受信装置からの前
記正常受信通知あるいは前記再送要求通知がある時間以
内に返送されるかを検出するタイマ手段、 前記各パケットの誤り回復処理ならびに動作モードの設
定を行なう第2の制御手段は、下記(a)〜(Oすなわ
ち (a)前記第一の制御手段からパケットの送受信状態を
検知する手段と、 (b)前記相手受信装置から前記パケットの再送要求の
通知を受けた場合、該相手受信装置からの該再送要求に
対応するパケットを、前記第一の制御手段を介して該相
手受信装置へ送信する手段と、 (c)前記第一の制御手段の前記タイマ手段から前記相
手受信装置からの前記正常受信通知あるいは前記再送要
求通知がある時間以内に行なわれなかった事を検知した
場合に、前記第一の制御手段を介して、相手パケット送
受信装置に対してパケットの受信状態の問い合せを行な
う手段と、 (d)前記第一の制御手段を介して、相手パケット送受
信装置と動作モードの設定を行なう手段を有することを
特徴とするパケット送受信装置である。
(Means for Solving the Problems) That is, the present invention is a packet transmitting/receiving device that performs packet transmission control, and includes a first control means for managing the transmission/reception status of each packet, error recovery processing for each packet, and setting of an operation mode. and a second control means that performs packet error recovery processing and operation mode setting, and when packet error recovery processing and operation mode setting are not performed, the first control means manages packet transmission and reception status and performs packet error recovery processing or operation mode setting. The first control means and the second control means are used only when making settings.
The first control means controls the transmission and reception of each packet in conjunction with the control means, and controls the transmission and reception of each packet.
Consisting of the following (a) to (fl), (a) a means for adding a sequence number to a transmitted packet, <b) a means for detecting a sequence error in a received packet, and (C) a means for adding a sequence number to a normally received packet. (d) means for requesting the other party's transmitting device to retransmit the packet whose reception has failed; and (e) until receiving notification of normal reception from the other party's receiving device for each transmitted packet. means for retaining the transmitted packet; The second control means that performs the recovery process and sets the operation mode includes the following (a) to (O), that is, (a) means for detecting the state of transmission and reception of packets from the first control means; means for transmitting a packet corresponding to the retransmission request from the destination receiving device to the destination receiving device via the first control means when receiving a notification of the packet retransmission request from the device; ) when it is detected from the timer means of the first control means that the normal reception notification or the retransmission request notification from the other party receiving device has not been received within a certain time; and (d) means for setting an operation mode with the other party's packet transmitting/receiving apparatus via the first control means. This is a characteristic packet transmitting/receiving device.

(作用) 本発明ではパケット送受信制御装置間での動作モードの
設定、パケットシーケンスエラーやタイムアウトなどの
誤り回復処理といった複雑な処理を行なう手段と通常の
データパケットの転送において誤りが生じてない場合の
比較的簡単な処理を行な゛う手段を分離することにより
、前者はプログラム制御で実現し、後者はハードウェア
化することが容易となり、ハード量が少なくしかも高速
、高スルーブツトのデータ伝送制御実現できる。つまり
通常データ伝送制御の速度は誤りが生じない間はハード
ウェア(布線論理)のみで実行されるため素子速度を高
めれば数十Mbit/秒のスループットをも得られる。
(Function) The present invention provides a means for performing complicated processing such as setting an operation mode between packet transmission and reception control devices, error recovery processing such as packet sequence error and timeout, and a method for performing complicated processing when no error occurs in normal data packet transfer. By separating the means for performing relatively simple processing, the former can be achieved through program control, and the latter can be easily implemented in hardware, making it possible to realize high-speed, high-throughput data transmission control with a small amount of hardware. can. In other words, the speed of data transmission control is usually executed only by hardware (wiring logic) as long as no errors occur, so if the element speed is increased, a throughput of several tens of Mbit/sec can be obtained.

(実施例) 本発明によるパケット送受信装置を第1図を用いて説明
する。第1図において送信パケットは送信バッファ10
1からヘッダ付加回路111をへて回線制御部12を介
して回線131へ送出される。一方受信パケットは回線
132から回線制御部12を介しヘッダ読取回路112
をへて受信バッファメモリへ格納される。ここで回線制
御部12ではフレームチェックシーケンスの付加ならび
にそのチェックやフラグの付加ならびのその検出を行な
うものである。パケット送受信状態管理回路14は請求
の範囲第1項の第1の制御手段に対応する。すなわち、
通常のデータ送受信状態においてパケットのシーケンス
番号の管理等を行なう。
(Embodiment) A packet transmitting/receiving device according to the present invention will be explained using FIG. 1. In FIG. 1, the transmission packet is sent to the transmission buffer 10.
1, the header addition circuit 111, and the line control unit 12 to be sent to the line 131. On the other hand, the received packet is sent from the line 132 via the line control unit 12 to the header reading circuit 112.
The data is then stored in the receive buffer memory. Here, the line control section 12 adds and checks a frame check sequence, adds a flag, and detects the frame check sequence. The packet transmission/reception state management circuit 14 corresponds to the first control means in claim 1. That is,
It manages packet sequence numbers during normal data transmission and reception.

一方、動作モード設定、誤り回復制御用プロセッサ15
ならびにメモリ16は同上、第2の制御手段に対応し、
上記の複雑な処理を行なう場合のみパケット送受信状態
管理回路と連動して伝送制御を行なう。但しメモリ16
はそのための状態遷移制御用プログラムを格納するもの
である。ここで具体的な処理に対応させて説明するため
第2図のパケット処理シーケンスを用いる。ここではA
からBヘデータを転送する場合を例示している。
On the other hand, a processor 15 for operating mode setting and error recovery control
and the memory 16 corresponds to the second control means,
Transmission control is performed in conjunction with the packet transmission/reception state management circuit only when performing the above-mentioned complicated processing. However, memory 16
stores the state transition control program for this purpose. Here, the packet processing sequence shown in FIG. 2 will be used to explain the specific processing. Here A
The case where data is transferred from to B is illustrated.

まずデータの送信に先立ちA、B間で動作モードならび
にパラメータのネゴシェーションが行われる。図中のコ
マンド・レスポンスに対応する。その後データの送出が
始まる。各データ(DTで示す)にはシーケンス番号が
付加される(DT(1)、 DT(2)等)。
First, prior to data transmission, the operation mode and parameters are negotiated between A and B. Corresponds to the command/response in the figure. Data transmission then begins. A sequence number is added to each data (denoted by DT) (DT(1), DT(2), etc.).

シーケンス番号は順々にインクリメントされていく。こ
こでRR(3)はデータDT(3)まで受けとったこと
を示す。AはRR(3)を得るまでDT(0)〜DT(
3)を保持し、再送にそなえている。RR(3)の確認
後AはDT(4)〜DT(7)まで送出する。ここでD
T(6)がエラーを起こした場合を考える。BはDT(
7)の到着でシーケンスのエラーの判定を行なうことが
でき、再送要求REJ(5)をAに返送する。このRE
J(5)の“5″はDT(5)まで正常に受は取ったこ
とを意味する。従ってAはDT(6)から再送を開始す
る。この時送信シーケンス番号は7から6に更新する必
要がある。つまり送信バッファの読出しアドレス、シー
ケンス番−号等の変数をREJパケットの内容に応じて
更新することになる。この後同様にDT(6)〜DT(
1)が送信され、さらにDT(2)が送信される。次に
DT(2)に対する到達確認RR(2)をBからAに返
送する際RR(2)がエラーした場合を考える。この時
Aは各パケットの送信からそのレスポンスが得られるま
での時間を計っている。ここでその時間がRR(2)が
エラーしたことによりタイムアウトしてしまう。その場
合AはBに対してどこまで受信したか問い合せを行なう
RR(P=1)。これに対しBはRR(2,F=1)と
DT(2)まで受信したことをAに知らせその後通常の
伝送が再開される。
The sequence number is incremented one after another. Here, RR(3) indicates that up to data DT(3) has been received. A moves from DT(0) to DT( until RR(3) is obtained.
3) is retained and prepared for retransmission. After confirming RR(3), A sends out DT(4) to DT(7). Here D
Consider the case where T(6) causes an error. B is DT (
7), a sequence error can be determined and a retransmission request REJ(5) is sent back to A. This RE
"5" in J(5) means that the receipt was normally received up to DT(5). Therefore, A starts retransmission from DT(6). At this time, the transmission sequence number needs to be updated from 7 to 6. That is, variables such as the read address of the transmission buffer and the sequence number are updated according to the contents of the REJ packet. After this, DT(6) to DT(
1) is transmitted, and further DT(2) is transmitted. Next, consider a case where RR(2) makes an error when returning arrival confirmation RR(2) for DT(2) from B to A. At this time, A measures the time from the transmission of each packet until the response is obtained. Here, the time expires due to an error in RR(2). In this case, A inquires of B as to how far the RR has been received (P=1). In response, B notifies A that it has received up to RR (2, F=1) and DT (2), and then normal transmission is resumed.

上記の一連の処理のうち制御状態が多く複雑な処理とな
り得るのはA、Bのモードの設定、Aの再送処理ならび
にA、Bのタイムアウト回復処理である。
Among the series of processes described above, the processes that involve many control states and can be complicated are the mode setting of A and B, the retransmission process of A, and the timeout recovery process of A and B.

一方性のシーケンス番号の付加、シーケンス番号の受信
エラー検出、ならびに到達確認の処理は送信ずべきシー
ケンス番号さえ注意すれば比較的容易となる。
Adding a one-sided sequence number, detecting a sequence number reception error, and confirming arrival are relatively easy as long as you pay attention to the sequence number to be transmitted.

ここで前記の処理を第1図メモリ16と動作モード設定
・誤り回復制御用プロセッサ15で実現させる。
Here, the above processing is realized by the memory 16 in FIG. 1 and the operating mode setting/error recovery control processor 15.

一方後者の処理をパケット送受信状態管理回路でのみ行
わせる。
On the other hand, the latter process is performed only by the packet transmission/reception state management circuit.

両者の処理内容で最も特徴的な違いは、後者がシーケン
ス番号を1つづつ増加させ−るあるいは受信したシーケ
ンス番号をレスポンスとしてそのまま返すといったもの
であるのに対し前者はシーケンス番号が後もどりしてジ
ャンプするあるいはコマンドルスポンスのように状況に
応じてさまざまな種類の処理が考えられるといった比較
的ランダムな処理シーケンスが要求される点にある。そ
こでこの両者を分離し、後者をハードウェアで実現し前
者をソフトウェアで実現すれば、エラーが発生しない間
はハードウェアのみで処理が実行され、高速化が図れる
ことになる。
The most distinctive difference in the processing content between the two is that the latter increments the sequence number by one or returns the received sequence number as a response, whereas the former increments the sequence number and returns it as a response. The point is that a relatively random processing sequence is required, such as jumping or command response, in which various types of processing can be considered depending on the situation. Therefore, if these two are separated, and the latter is implemented in hardware and the former is implemented in software, processing can be executed only by hardware as long as no errors occur, and speeding up can be achieved.

さらに第1図の詳細図を第4図に示す。本図において送
信バッファ401 i、t 101に受信バッファ40
2は102に回線制御部42は12に回線431,43
2は111.112にそれぞれ対応させて考え、第1図
の説明と同じ機能をはたす。441〜444が第1図1
4のパケット送受信状態管理14回路ならびにヘッダ読
取り、付加回路112゜111に対応する。ここで送信
制御回路442は、送信パケットに付加するシーケンス
番号を決定するものであり、受信制御回路441は受信
シーケンス番号エラーを検知する。さらに受信エラーし
たパケットの再送要求ならびに正常受信したパケットの
到達確認は受信制御回路441が受信状態を制御線44
5(IX2X3)で送信制御回路442に通知し送信制
御回路442がRRパケットあるいはREJパケットを
送出することで実現される。
Further, a detailed view of FIG. 1 is shown in FIG. 4. In this figure, the receiving buffer 40 is connected to the transmitting buffer 401 i, t 101.
2 to 102 and line control unit 42 to 12 to lines 431 and 43
2 corresponds to 111 and 112, respectively, and performs the same function as explained in FIG. 441 to 444 are shown in Figure 1
This corresponds to 14 packet transmission/reception state management circuits and header reading/addition circuits 112 and 111 of No. 4. Here, the transmission control circuit 442 determines a sequence number to be added to a transmission packet, and the reception control circuit 441 detects a reception sequence number error. Furthermore, the reception control circuit 441 sends a request for retransmission of a received error packet and confirms the arrival of a normally received packet by sending the reception status to the control line 44.
5 (IX2X3) to the transmission control circuit 442, and the transmission control circuit 442 transmits an RR packet or a REJ packet.

さらにACK待ちパケット管理回路444は送信した各
パケットに対する正常受信通知を受けるまで送信バッフ
ァメモリ内に保持されているパケットのアドレスを記憶
するものであり、送信制御回路442から制御線442
1で送信パケットシーケンス番号を通知されるとともに
そのパケットの格納アドレスを保持し、受信制御回路4
41から正常受信の通知をうけたパケットのP(R>を
制御線4411から検知するとともに上記格納アドレス
をリセットするという動作をとる。そして再送を行なう
場合はプロセッサ45が制御線454を介して再送パケ
ットの送信バッファメモリ内アドレスを知り、再送する
ことになる。
Further, the ACK waiting packet management circuit 444 stores the address of the packet held in the transmission buffer memory until it receives a normal reception notification for each transmitted packet, and the ACK waiting packet management circuit 444 stores the address of the packet held in the transmission buffer memory until it receives a normal reception notification for each transmitted packet.
1, the reception control circuit 4 receives the transmission packet sequence number and holds the storage address of the packet.
The processor 45 detects P(R> of the packet that has been notified of normal reception from the control line 4411 from the control line 4411 and resets the above-mentioned storage address. If retransmission is to be performed, the processor 45 sends the packet again via the control line 454. The address of the packet in the transmission buffer memory is known and the packet is retransmitted.

一方、タイマ443は送信した各パケットに対する相手
受信装置からのレスポンスがくるまでの時間を計るもの
であり上記と同様に制御線4421でセットされ441
1でRe5etされる。タイマは各送信パケット毎にセ
ットされる。タイムアウトを起した場合タイムアウトを
起こしたパケットのシーケンス番号が制御線453でプ
ロセサ45に通知される。
On the other hand, the timer 443 measures the time until a response is received from the receiving device for each transmitted packet, and is set via the control line 4421 in the same manner as above.
Re5et is performed at 1. A timer is set for each transmitted packet. When a timeout occurs, the sequence number of the packet that caused the timeout is notified to the processor 45 via the control line 453.

以上のパケットの再送要求やタイムアウトが起きない場
合のパケットの伝送制御、すなわち送信パケットへのシ
ーケンス番号の付加、各パケットの正常到達確認(AC
K受信)ならびにシーケンス番号を用いたウィンドウフ
ロー制御機能は、制御回路441.442だけで行われ
る。また、ACK待ちパケットの管理ならびにレスポン
スパケットのエラーを検出するタイマ管理は443.4
44の回路で実現される。
Packet transmission control when the above packet retransmission requests and timeouts do not occur, including adding sequence numbers to transmitted packets, and confirming the normal arrival of each packet (AC
K reception) and window flow control functions using sequence numbers are performed only by control circuits 441 and 442. In addition, 443.4 is used to manage ACK waiting packets and timer management to detect errors in response packets.
It is realized by 44 circuits.

これらはすべて簡単な制御なので後述するハードウェア
のみで実現され、高速なデータ転送が可能となる。
All of these are simple controls that can be realized using only the hardware described below, enabling high-speed data transfer.

一方、プロセッサ45の動作は以下の通りである。前記
の受信制御回路は相手受信端末から再送要求パケットを
受信した場合に制御線452によりこのことをプロセッ
サ45に伝える。プロセッサ45は受信制御回路ならび
に送信制御回路に制御線452゜451を介してアクセ
スすることで送受信状態すなわち最後に送信したパケッ
トのシーケンス番号ならびに最後に正常受信されて到達
確認を得たパケットのシーケンス番号を知る。そして再
送要求がどのシーケンス番号のパケットに対して起なわ
れてるかを上記動作で検知することによって送信制御回
路に対しそのパケットから送信を行なうよう設定を行な
う。その場合にACK待ちパケット管理回路をアクセス
してそのパケットの送信バッファメモリ内の格納アドレ
スを知る。このようにしてパケットの再送が起われる。
On the other hand, the operation of the processor 45 is as follows. When the reception control circuit receives a retransmission request packet from the other receiving terminal, it notifies the processor 45 through the control line 452. The processor 45 accesses the reception control circuit and the transmission control circuit via control lines 452 and 451 to determine the transmission/reception status, that is, the sequence number of the last transmitted packet and the sequence number of the last packet that was successfully received and received confirmation of arrival. Know. Then, by detecting for which sequence number the packet for which the retransmission request has been made by the above operation, the transmission control circuit is set to perform transmission from that packet. In this case, the ACK waiting packet management circuit is accessed to know the storage address of the packet in the transmission buffer memory. In this way, retransmission of the packet occurs.

  ゛ これに対しタイムアウトが生じた場合、制御線453か
らレスポンスが返ってこないパケット番号をプロセッサ
45は知り、これにより相手送受信装置と状態の問合せ
を行なうためのコマンドルスポンスパケットのやり取り
を行なう。これは制御回路441、442を介して行わ
れる。この場合制御回路441゜442の動作は完全に
プロセッサによって支配される。また、動作モードの設
定のためのコマンド・レスポンスのやり取りも同様であ
る。
In contrast, if a timeout occurs, the processor 45 learns the packet number for which no response is returned from the control line 453, and based on this, the processor 45 exchanges a command response packet for inquiring the status with the other transmitting/receiving device. This is done via control circuits 441, 442. In this case, the operation of the control circuits 441 and 442 is completely controlled by the processor. The same applies to the exchange of commands and responses for setting the operating mode.

以上のプロセッサ45の動作はすべてメモリ46のプロ
グラム制御によって処理されるので処理が複雑になって
も対応可能となる。
All the operations of the processor 45 described above are processed by program control of the memory 46, so that even if the processing becomes complex, it can be handled.

さらに回路441,442の詳細を説明する。第5図は
送信制御回路442の詳細図である。442では送信デ
ータ4011に対しヘッダ付加回路50で送信シーケン
ス番号p(s)と受信シーケンス番号P(R)を自動的
に付加する。P(S)はカウンタ51で与えられパケッ
トを1つ送信するたびにインクリメントされる。又、こ
のとき445(2)は受信制御回路から正常受信された
シーケンス番号(受信P(R))を送信可l不可判定回
路52に与える。この判定回路52はウィンドサイズ5
21の値WとP(S)とから未確認ACK数がWを越え
ないよう送信制御を行なう。一方、送信パケットがない
場合はRR/RNRパケットを回路54から発生して正
常受信を示すP(SR)を相手へ通知する。又受信制御
回路441でシーケンスエラーが検知された場合445
(3)でその事が回路53に通知しREJパケットを送
信する。(つまり再送要求は自動的にハードで動作させ
る。しかしそれに対する再送処理はプロセサ処理となる
。) さらにまたプロセサ45は制御線451及びインターフ
ェース4511、を介し送信シーケンス番号をモニタあ
るいはセントが可能でさらにインタフェース4512で
コマンド・レスポンスの送信指示を行なうことができる
。REJ、 RR/RNR、データパケットもしくはプ
ロセサ指示によるコマンド・レスポンスパケットはセレ
クタ56をへて421へ送出される。タイマ443、A
CK待ちパケットの制御回路のセットは4421を介し
て送信シーケンス番号P(S)毎に行われる。第6図は
受信制御回路442である。回路60で受信データ42
2のヘッダが読み取られる。受信されたp(s)送信シ
ーケンス番号はシーケンスチェッカ61でシーケンスエ
ラーの判定がなされ、エラーのないP(8)はレジスタ
62にラッチされ石。もしシーケンスエラーがなければ
この受信されたP(S)は信号線445(1)で送信制
御回路442へ通知され相手装置へP(R)として通知
されることによって正常受信通知が実現される。もしエ
ラーの場合445(3)を介して送信制御回路442へ
通知され自動的にREJフレームが送信される。
Further, details of the circuits 441 and 442 will be explained. FIG. 5 is a detailed diagram of the transmission control circuit 442. At step 442, the header addition circuit 50 automatically adds a transmission sequence number p(s) and a reception sequence number P(R) to the transmission data 4011. P(S) is given by a counter 51 and is incremented every time one packet is transmitted. Further, at this time, 445(2) provides the normally received sequence number (reception P(R)) from the reception control circuit to the transmission permission/impossibility determination circuit 52. This judgment circuit 52 has a window size of 5.
Based on the values W and P(S) of 21, transmission control is performed so that the number of unconfirmed ACKs does not exceed W. On the other hand, if there is no transmission packet, an RR/RNR packet is generated from the circuit 54 and P(SR) indicating normal reception is notified to the other party. Also, if a sequence error is detected in the reception control circuit 441, 445
In (3), this fact is notified to the circuit 53 and a REJ packet is transmitted. (In other words, the retransmission request is automatically operated by hardware. However, the retransmission processing for it is processed by the processor.) Furthermore, the processor 45 can monitor or send the transmission sequence number via the control line 451 and the interface 4511. An interface 4512 can be used to instruct command/response transmission. REJ, RR/RNR, data packets, or command/response packets based on processor instructions are sent to 421 via selector 56 . Timer 443, A
The control circuit for the CK waiting packet is set via 4421 for each transmission sequence number P(S). FIG. 6 shows the reception control circuit 442. Received data 42 in circuit 60
2 headers are read. The received p(s) transmission sequence number is judged to have a sequence error by the sequence checker 61, and P(8) without an error is latched in the register 62 and stored. If there is no sequence error, this received P(S) is notified to the transmission control circuit 442 via the signal line 445(1), and is notified to the partner device as P(R), thereby realizing a normal reception notification. If there is an error, the transmission control circuit 442 is notified via 445(3) and an REJ frame is automatically transmitted.

一方、レジスタ63は受信パケットのP(R)受信シー
ケンス番号を保持するものでこれはすでに送ったパケッ
トのどこまで正常に相手装置で受信されたか示すもので
445(2)を介しウィンドウによる送信可l不可判定
に用いられる。さらに制御線4411を介し、タイマ4
43及びACK待ちパケット管理回路444のRe56
tを受信P(R)毎に行なう。コマンドルスポンスが受
信された場合レジスタ64にその内容が保持されインタ
フェース452(1)を介しさらに制御線452でプロ
セサ45へ通知される。プロセサ45はまたインタフェ
ース452(2)、 (3)を介して受信したP(S)
、 P(R)をモニタできる。
On the other hand, the register 63 holds the P(R) reception sequence number of the received packet, which indicates how many of the packets that have already been sent have been successfully received by the destination device, and can be sent via window via 445(2). Used for impossibility judgment. Further, through the control line 4411, the timer 4
43 and Re56 of the ACK waiting packet management circuit 444
t is performed for each reception P(R). When a command response is received, its contents are held in the register 64 and notified to the processor 45 via the interface 452(1) and the control line 452. The processor 45 also receives P(S) via the interface 452(2),(3)
, P(R) can be monitored.

以上のように送受信制御回路441.442は簡単な構
成でありハードウェアで十分実現できる各パケット毎の
タイマ443もメモリとカウンタで構成できまたACK
待ちパケット管理回路もメモリだけの構成できる。
As described above, the transmission/reception control circuits 441 and 442 have a simple configuration, and can be fully realized with hardware.The timer 443 for each packet can also be configured with a memory and a counter.
The waiting packet management circuit can also be configured with only memory.

(効果) 以上のように通常のパケット送受信動作は誤りが発生し
ない限りプロセサ45の動作が不要でありかつハードウ
ェアのみの処理で実現できるため素子速度を上げること
により回線速度が100Mbit/秒以上となっても動
作でき高速なパケット送受信動作が実現される。
(Effects) As mentioned above, normal packet transmission/reception operations do not require the operation of the processor 45 unless an error occurs, and can be realized by processing only with hardware. By increasing the element speed, the line speed can be increased to 100 Mbit/s or more. This enables high-speed packet transmission and reception operations.

さらに誤り回復の場合プロセサによる制御が入るがこれ
は網内の誤り率を下げることにより実質的に効率の劣化
は無視できるため、全体としても極めて高速高スループ
ツトの通信が可能となる。
Further, in the case of error recovery, control is performed by a processor, but this reduces the error rate within the network, so that the deterioration in efficiency can be virtually ignored, making it possible to perform extremely high-speed, high-throughput communication as a whole.

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

第1図は本発明によるパケット送受信装置の例を示す図
、第2図は本発明の原理を示すためのパケット送受信シ
ーケンスの図、第3図は従来方式によるパケット送受信
装置を示す図、第4図は第1図をより詳細に記述した図
、第5図は第4図の送信制御回路の詳細図、第6図は第
4図の受信制御回路の詳細図である。 図において、 12・・・回線制御部、 14・・・パケット送受信状態管理回路、15・・・動
作モード設定・誤り回復制御用プロセッサ、 16、・・メモリ、101.102・・・バッファ、1
11・・・ヘッダ付加回路、 112・・・ヘッダ読取回路、 八         B 亭  5  回 4づ1z
FIG. 1 is a diagram showing an example of a packet transmitting/receiving device according to the present invention, FIG. 2 is a diagram of a packet transmitting/receiving sequence to illustrate the principle of the present invention, FIG. 3 is a diagram showing a conventional packet transmitting/receiving device, and FIG. This figure describes FIG. 1 in more detail, FIG. 5 is a detailed diagram of the transmission control circuit of FIG. 4, and FIG. 6 is a detailed diagram of the reception control circuit of FIG. 4. In the figure, 12...Line control unit, 14...Packet transmission/reception state management circuit, 15...Operation mode setting/error recovery control processor, 16...Memory, 101.102...Buffer, 1
11...Header addition circuit, 112...Header reading circuit, 8 B Tei 5 times 4zu 1z

Claims (1)

【特許請求の範囲】[Claims] (1)パケット伝送制御を行なうパケット送受信装置で
あり、各パケットの送受信状態を管理する第1の制御手
段と各パケットの誤り回復処理ならび動作モードの設定
を行なう第2の制御手段とからなり、パケットの誤り回
復処理ならびに動作モードの設定を行わない場合に前記
第1の制御手段がパケットの送受信状態管理を行ない、
パケットの誤り回復処理あるいは動作モードの設定を行
なう場合に限り前記第1の制御手段と第2の制御手段が
連動してパケットの伝送制御を行い前記各パケットの送
受信状態を管理する第1の制御手段は、(a)送信パケ
ットにシーケンス番号を付加する手段と、 (b)受信パケットのシーケンスエラーを検出する手段
と、 (c)正常に受信したパケットのシーケンス番号を相手
送信装置へ通知する手段と、 (d)受信に失敗したパケットの再送を相手送信装置へ
要求する手段と、 (e)送信した各パケットに対する相手受信装置からの
前記正常受信の通知を受けるまで該送信パケットを保持
する手段と、 (f)送信した各パケットに対する相手受信装置からの
前記正常受信通知あるいは前記再送要求通知がある時間
以内に返送されるかを検出するタイマ手段とを有するも
のであり、 前記各パケットの誤り回復処理ならびに動作モードの設
定を行なう第2の制御手段は、 (a)前記第一の制御手段からパケットの送受信状態を
検知する手段と、 (b)前記相手受信装置から前記パケットの再送要求の
通知を受けた場合、該相手受信装置からの該再送要求に
対応するパケットを、前記第一の制御手段を介して該相
手受信装置へ送信する手段と、 (c)前記第一の制御手段の前記タイマ手段から前記相
手受信装置からの前記正常受信通知あるいは前記再送要
求通知がある時間以内に行われなかった事を検知した場
合に、前記第一の制御手段を介して、相手パケット送受
信装置に対してパケットの受信状態の問い合せを行なう
手段と、 (d)前記第一の制御手段を介して、相手パケット送受
信装置と動作モードの設定を行なう手段とを有する ことを特徴とするパケット送受信装置。
(1) A packet transmitting/receiving device that performs packet transmission control, consisting of a first control means that manages the transmission and reception status of each packet, and a second control means that performs error recovery processing of each packet and setting the operation mode, When the packet error recovery process and the operation mode setting are not performed, the first control means manages the packet transmission and reception status,
a first control in which the first control means and the second control means cooperate to control packet transmission and manage the transmission/reception status of each packet only when performing packet error recovery processing or setting an operation mode; The means include (a) a means for adding a sequence number to a transmitted packet; (b) a means for detecting a sequence error in a received packet; and (c) a means for notifying the other transmitter of the sequence number of a normally received packet. (d) means for requesting the other party's transmitting device to retransmit the packet whose reception has failed; and (e) means for holding each transmitted packet until notification of normal reception is received from the other party's receiving device for each transmitted packet. and (f) a timer means for detecting whether the normal reception notification or the retransmission request notification is returned from the destination receiving device for each transmitted packet within a certain time, and detects errors in each of the packets. The second control means for performing recovery processing and setting the operation mode includes: (a) means for detecting the transmission/reception status of packets from the first control means; and (b) means for receiving a request for retransmission of the packets from the partner receiving device. (c) means for transmitting a packet corresponding to the retransmission request from the other receiving device to the other receiving device via the first control means when the notification is received; When it is detected from the timer means that the normal reception notification or the retransmission request notification has not been received from the destination receiving device within a certain time, the first control means sends a message to the destination packet transmitting/receiving device. (d) means for setting an operation mode with the other party's packet transmitting/receiving device via the first control means.
JP62080234A 1987-03-31 1987-03-31 Packet transmitter-receiver Pending JPS63246055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62080234A JPS63246055A (en) 1987-03-31 1987-03-31 Packet transmitter-receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62080234A JPS63246055A (en) 1987-03-31 1987-03-31 Packet transmitter-receiver

Publications (1)

Publication Number Publication Date
JPS63246055A true JPS63246055A (en) 1988-10-13

Family

ID=13712654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62080234A Pending JPS63246055A (en) 1987-03-31 1987-03-31 Packet transmitter-receiver

Country Status (1)

Country Link
JP (1) JPS63246055A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0446589A2 (en) * 1990-03-14 1991-09-18 Alcatel SEL Aktiengesellschaft ATM switch with copy capability
EP0446586A2 (en) * 1990-03-14 1991-09-18 Alcatel SEL Aktiengesellschaft ATM-exchange
EP0497097A2 (en) * 1991-01-08 1992-08-05 Nec Corporation Switching system with time-stamped packet distribution input stage and packet sequencing output stage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6116651A (en) * 1984-06-12 1986-01-24 Fujitsu Ltd Multilink communication processing system
JPS62155638A (en) * 1985-12-27 1987-07-10 Matsushita Graphic Commun Syst Inc Retransmission processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6116651A (en) * 1984-06-12 1986-01-24 Fujitsu Ltd Multilink communication processing system
JPS62155638A (en) * 1985-12-27 1987-07-10 Matsushita Graphic Commun Syst Inc Retransmission processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0446589A2 (en) * 1990-03-14 1991-09-18 Alcatel SEL Aktiengesellschaft ATM switch with copy capability
EP0446586A2 (en) * 1990-03-14 1991-09-18 Alcatel SEL Aktiengesellschaft ATM-exchange
US5202885A (en) * 1990-03-14 1993-04-13 Alcatel N.V. Atm exchange with copying capability
EP0497097A2 (en) * 1991-01-08 1992-08-05 Nec Corporation Switching system with time-stamped packet distribution input stage and packet sequencing output stage

Similar Documents

Publication Publication Date Title
JP2006287981A (en) Error correcting communication method to transmit data packet in network communication system
JPS63197259A (en) Network communication system
JPH10510403A (en) Multi-processor environment
JPH03165139A (en) Data communication method and data communication system
JPH0656994B2 (en) Checkpoint / frame number reduction method
WO1998012844A1 (en) Packet transmitter-receiver and packet receiver
US5054019A (en) Transfer direction turnaround in network data communications
JPS63246055A (en) Packet transmitter-receiver
JP2006191368A (en) Network transmission device
US20040148422A1 (en) Communication control method, communication system, and communication apparatus that can improve throughput
JP3148733B2 (en) Signal processing device and signal processing system
JPS6362435A (en) Packet transmission and reception system
JP3341276B2 (en) Communication control device
JP3217397B2 (en) Data transmission method of communication control device
JP2002281034A (en) Information transfer device
JP3972630B2 (en) Ethernet variable transmission system
JP2677895B2 (en) Multiplex transmission method
JP2000244530A (en) Data communication equipment
JP2002290442A (en) Communication device, program, information recording medium, and communication control method
JPH01161562A (en) Data resending system of data transferring network
EP1233581A2 (en) Packet transmitter and method
JP2001168938A (en) Multi-link controller and multi-link control method
JPH06152605A (en) Local area network with data transmission confirming function
JP2006340194A (en) Serial interface circuit
JPS60201760A (en) Data transmission system