JP2003298601A - Packet sorting apparatus, overflow processing method, program and recording medium - Google Patents

Packet sorting apparatus, overflow processing method, program and recording medium

Info

Publication number
JP2003298601A
JP2003298601A JP2002100011A JP2002100011A JP2003298601A JP 2003298601 A JP2003298601 A JP 2003298601A JP 2002100011 A JP2002100011 A JP 2002100011A JP 2002100011 A JP2002100011 A JP 2002100011A JP 2003298601 A JP2003298601 A JP 2003298601A
Authority
JP
Japan
Prior art keywords
packet
buffer
packets
discarding
rearrangement
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
JP2002100011A
Other languages
Japanese (ja)
Inventor
Koji Nishida
康二 西田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002100011A priority Critical patent/JP2003298601A/en
Publication of JP2003298601A publication Critical patent/JP2003298601A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To enable normal sorting processing and transmitting packets in a normal sequence even if overflow processing is performed to packets stored over a buffering capacity. <P>SOLUTION: A packet sorting apparatus receives packets in which sequence numbers are added to a header information part to store temporarily into a sorting buffer 112 and extracts packets from the buffer 112 in order of the sequence numbers. A packet retention number counting part 102 counts the number of packets stored into the buffer 112, when the counted number exceed a predetermined number, a sorting control part 107 discards a packet to be extracted at first among the packets stored into the buffer 112. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、パケット並替装
置、オーバーフロー処理方法、プログラム、及び記憶媒
体に関し、特に、ヘッダ情報部にシーケンス番号が付加
されたパケットを受信してバッファに一時的に保存し、
該バッファからシーケンス番号順にパケットを取り出し
て出力するパケット並替装置、該パケット並替装置に適
用されるオーバーフロー処理方法、該オーバーフロー処
理方法をコンピュータに実行させるためのプログラム、
及び該プログラムを記憶した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet rearrangement device, an overflow processing method, a program, and a storage medium, and more particularly to receiving a packet having a sequence number added to a header information section and temporarily storing it in a buffer. Then
A packet rearrangement device that extracts packets from the buffer in order of sequence numbers and outputs the packets, an overflow processing method applied to the packet rearrangement device, and a program for causing a computer to execute the overflow processing method.
And a storage medium storing the program.

【0002】[0002]

【従来の技術】従来、パケットを送受信する通信システ
ムとして、並列多重伝送路と複数の通信装置(ノード)
とから構成された通信システムがある。並列多重伝送路
は複数の通信路から成り、各通信路では、均等にパケッ
トが流れるように分散させながらパケットが送信され
る。そのため、この通信システムでは、受信側ノードに
到着するパケットの順番は保証されない。
2. Description of the Related Art Conventionally, a parallel multiplex transmission line and a plurality of communication devices (nodes) have been used as a communication system for transmitting and receiving packets.
There is a communication system composed of and. The parallel multiplex transmission path is composed of a plurality of communication paths, and packets are transmitted while being distributed so that the packets flow evenly in each communication path. Therefore, in this communication system, the order of the packets arriving at the receiving node is not guaranteed.

【0003】すなわち、送信側ノードから受信側ノード
への伝送時において、複数の送信路にパケットがランダ
ムに送出され、かつ、中継ノードのバッファにおける混
み具合に応じて中継ノードからのパケットの送出が遅ら
されるために、パケットの受信側ノードへの到着順序が
ばらばらになり、受信側ノードに到着するパケットの順
番は保証されない。
That is, at the time of transmission from the transmission side node to the reception side node, packets are randomly transmitted to a plurality of transmission paths, and packets are transmitted from the relay node depending on the congestion in the buffer of the relay node. Due to the delay, the arrival order of the packets to the receiving side node is random, and the order of the packets arriving at the receiving side node is not guaranteed.

【0004】図7は、並列多重伝送路と複数の通信装置
(ノード)とから構成される通信システムの構成の一例
を示すブロック図である。
FIG. 7 is a block diagram showing an example of the configuration of a communication system including a parallel multiplex transmission line and a plurality of communication devices (nodes).

【0005】図中、301〜304はノード装置、30
5〜308は交換スイッチ、309〜312はバッフ
ァ、341〜344は端末インタフェース部、321〜
336は端末、A,B,C,D はリングを成す並列伝
送路である。
In the figure, 301 to 304 are node devices, and 30
5 to 308 are exchange switches, 309 to 312 are buffers, 341 to 344 are terminal interface units, and 321 to
336 is a terminal, and A, B, C and D are parallel transmission lines forming a ring.

【0006】つぎに、図3を参照して、この通信システ
ムで行われる通信動作を簡単に説明する。
Next, the communication operation performed in this communication system will be briefly described with reference to FIG.

【0007】この通信システムのネットワークはリング
状の複数の並列伝送路A,B,C,Dを有し、各並列伝
送路間は交換スイッチ305〜309によって相互に接
続されている。各端末321〜336は並列伝送路A,
B,C,D の中の1つの並列伝送路に接続されてお
り、他の並列伝送路に接続された端末と通信を行う場合
は、パケットが、少なくとも1回、交換スイッチで他の
並列伝送路に交換されることで通信が行われる。この場
合、パケット交換が行われる位置は特定されないが、宛
先ノード装置の1つ手前のノード装置で宛先の並列伝送
路へ乗り換えるようにし、各ノード装置ではパケットの
伝送順序を特に保証せずに、任意の並列伝送路へ分散さ
せるようにすると通信制御が容易になる。
The network of this communication system has a plurality of ring-shaped parallel transmission lines A, B, C and D, and the parallel transmission lines are mutually connected by exchange switches 305 to 309. Each of the terminals 321 to 336 has a parallel transmission path A,
When communicating with a terminal connected to one parallel transmission line of B, C, and D and connected to another parallel transmission line, the packet is transmitted at least once to the other parallel transmission by the exchange switch. Communication is performed by switching to the road. In this case, the position at which packet switching is performed is not specified, but the node device immediately before the destination node device is switched to the parallel transmission path of the destination, and each node device does not particularly guarantee the packet transmission order, The communication control becomes easy by distributing the data in arbitrary parallel transmission paths.

【0008】この通信システムでは、ノード装置の構成
を簡略化するため、交換スイッチ305〜308が、入
力パケットと無関係に入出力の接続関係を特定の巡回パ
ターンにしたがって一定周期で変更し、バッファ309
〜312で入力パケットを一時蓄積して、交換スイッチ
305〜308の入出力接続関係が所望の関係になった
ときにバッファ309〜312からパケットを読み出す
ようにして交換が行われる。
In this communication system, in order to simplify the configuration of the node device, the exchange switches 305 to 308 change the input / output connection relationship at a constant cycle according to a specific cyclic pattern regardless of the input packet, and the buffer 309.
312, the input packets are temporarily stored, and when the input / output connection relations of the exchange switches 305 to 308 have a desired relation, the packets are read out from the buffers 309 to 312 to perform exchange.

【0009】例えば、端末322から端末332へパケ
ットを送信する場合は、端末322から出力されたパケ
ットはノード装置301の端末インタフェース部341
で、パケットヘッダにシーケンス番号を挿入されてから
バッファ309に一時的に蓄積される。そして、交換ス
イッチ305の入力端IN2が例えば出力端OUT2に
接続されたときに、バッファ309からパケットが読み
出されて伝送路Bに出力され、ノード装置302のバッ
ファ310へ一時的に蓄積される。そして、交換スイッ
チ306の入力端IN2と出力端OUT4とが接続され
たときに。バッファ310からパケットが読み出され、
伝送路Dへ出力される。
For example, when a packet is transmitted from the terminal 322 to the terminal 332, the packet output from the terminal 322 is the terminal interface unit 341 of the node device 301.
Then, the sequence number is inserted into the packet header and then temporarily stored in the buffer 309. Then, when the input terminal IN2 of the exchange switch 305 is connected to the output terminal OUT2, for example, a packet is read from the buffer 309, output to the transmission line B, and temporarily stored in the buffer 310 of the node device 302. . Then, when the input terminal IN2 and the output terminal OUT4 of the exchange switch 306 are connected. The packet is read from the buffer 310,
It is output to the transmission path D.

【0010】この時パケットの伝送順番が入れ替わって
いる可能性があるが、伝送路Dから分離されたパケット
は、端末インタフェース部343においてシーケンス番
号順に並び替えられてから端末332へ送られる。
At this time, the transmission order of the packets may be changed, but the packets separated from the transmission path D are rearranged in sequence number order in the terminal interface section 343 and then sent to the terminal 332.

【0011】このように、パケットがノード装置で異な
る並列伝送路に乗り換えられることにより通信が行われ
る。
In this way, communication is performed by transferring packets to different parallel transmission paths in the node device.

【0012】図8は、端末インタフェース部341〜3
44の内部構成を示すブロック図である。端末インタフ
ェース部341〜344はそれぞれ、同じ構成であるの
で、その1つを端末インタフェース部400とする。な
おここに示す端末インタフェース部400の構成は、従
来の端末インタフェース部の構成である。
FIG. 8 shows the terminal interface units 341 to 341.
FIG. 44 is a block diagram showing an internal configuration of 44. Since the terminal interface units 341 to 344 have the same configuration, one of them is referred to as the terminal interface unit 400. The configuration of the terminal interface unit 400 shown here is the configuration of a conventional terminal interface unit.

【0013】端末インタフェース部400は、ヘッダ変
換部401と並べ替え部402とから成る。ヘッダ変換
部401は、ネットワークにパケットを送信する際に、
パケットの送信順番に対応してシーケンス番号をパケッ
トのヘッダに付加する。並べ替え部402は、ランダム
に到着したパケットをシーケンス番号順に並べ替える。
The terminal interface section 400 comprises a header conversion section 401 and a rearrangement section 402. The header conversion unit 401, when transmitting a packet to the network,
A sequence number is added to the packet header corresponding to the packet transmission order. The rearrangement unit 402 rearranges the randomly arrived packets in sequence number order.

【0014】図9は、並べ替え部402の1コネクショ
ン分の内部構成を示すブロック図である。
FIG. 9 is a block diagram showing the internal structure of the rearrangement unit 402 for one connection.

【0015】図中500は、パケットのヘッダ情報から
シーケンス番号を分離するシーケンス番号分離部、50
1は、並べ替えバッファ502からパケットを読み出す
ためのアドレスを生成する読み出しポインタ用リングカ
ウンタ、502は、パケットを一時記憶し、シーケンス
番号順にパケットを送信する為の並べ替えバッファであ
り、並べ替え制御部503が制御する。並べ替えバッフ
ァ502は、例えば0〜511の記憶番地を付与された
512個の記憶領域からなり、各記憶領域は、パケット
データとストアフラグとを記憶する2つの記憶領域から
構成される。ストアフラグは、対応する記憶領域にパケ
ットデータが書き込まれていることを「1」で、またパ
ケットデータが書き込まれていないことを「0」で示す
フラグである。
In the figure, reference numeral 500 denotes a sequence number separating section for separating a sequence number from the header information of the packet, and 50.
Reference numeral 1 is a read pointer ring counter for generating an address for reading packets from the rearrangement buffer 502, and 502 is a rearrangement buffer for temporarily storing packets and transmitting the packets in sequence number order. The unit 503 controls this. The rearrangement buffer 502 includes 512 storage areas assigned storage addresses 0 to 511, for example, and each storage area includes two storage areas for storing packet data and a store flag. The store flag is a flag that indicates that the packet data is written in the corresponding storage area by "1" and that the packet data is not written by "0".

【0016】次に、並べ替え部402の動作を説明す
る。
Next, the operation of the rearrangement section 402 will be described.

【0017】端末方向へ分離出力されたパケットは、サ
ブ伝送路を通って端末インタフェース部(400、図
8)へ送られる。端末インタフェース部は並べ替え制御
部503によってコントロールされており、パケットの
書き込みにおいては、シーケンス番号分離部500が、
パケットヘッダ上のシーケンス番号に従った書き込みポ
インタを生成し、そのポインタの指し示す並べ替えバッ
ファ502の記憶領域にパケットデータが書き込まれる
とともに、ストアフラグ「1」が書き込まれる。
The packets separated and output toward the terminal are sent to the terminal interface section (400, FIG. 8) through the sub transmission path. The terminal interface unit is controlled by the rearrangement control unit 503, and when writing a packet, the sequence number separation unit 500
A write pointer is generated according to the sequence number on the packet header, the packet data is written in the storage area of the rearrangement buffer 502 pointed to by the pointer, and the store flag “1” is written.

【0018】パケットの読み出しにおいては、パケット
読み出し毎にインクリメントされる読み出しポインタ用
リングカウンタ501が読み出しポインタを生成し、そ
のポインタの指し示す並べ替えバッファ502の記憶領
域に記憶されたストアフラグを参照する。ストアフラグ
が「1」であれば、並べ替えバッファ502の対応する
記憶領域にパケットデータが書き込まれているというこ
となので、そのパケットデータを読み出してパケットを
端末に送信し、さらに、対応するストアフラグを「0」
に設定する。その後、読み出しポインタ用リングカウン
タ501をインクリメントして、次に読み出すべきシー
ケンス番号に対応するポインタ値を生成する。
In reading a packet, the read pointer ring counter 501, which is incremented each time a packet is read, generates a read pointer and refers to the store flag stored in the storage area of the rearrangement buffer 502 indicated by the pointer. If the store flag is “1”, it means that the packet data is written in the corresponding storage area of the rearrangement buffer 502, so that the packet data is read and the packet is transmitted to the terminal. "0"
Set to. Then, the read pointer ring counter 501 is incremented to generate a pointer value corresponding to the sequence number to be read next.

【0019】なお、参照したストアフラグが「0」であ
れば、パケットがまだ到着していないということである
ので、読み出すべきパケットが到着してストアフラグが
「1」となるまで、パケットデータの読み出しを待機す
る。
If the referred store flag is "0", it means that the packet has not arrived yet. Therefore, until the packet to be read arrives and the store flag becomes "1", the packet data Wait for reading.

【0020】このようにすることにより、ランダムに到
着したパケットデータをシーケンス番号順に並び替えて
端末に送信することができる。
By doing so, randomly arrived packet data can be rearranged in sequence number order and transmitted to the terminal.

【0021】なお、図9に示す並べ替えバッファ502
を使用した通信システムの例では、パケットにシーケン
ス番号が0から511まで順に付与され、511の付与
の次は0に戻って付与が行われる。したがって、最大値
(512パケット)分のパケット毎に同じシーケンス番
号を付与されたパケットが現れることになる。この最大
値は、パケットがネットワークを伝播する途中でその順
番が入れ替わる際に発生し得る最大入れ替わり量よりも
十分大きな値に設定される。
The rearrangement buffer 502 shown in FIG.
In the example of the communication system using, the sequence numbers are added to the packets in order from 0 to 511, and after the addition of 511, the sequence number is returned to 0 and the addition is performed. Therefore, a packet with the same sequence number appears for each packet of the maximum value (512 packets). This maximum value is set to a value that is sufficiently larger than the maximum amount of exchange that can occur when the order of packets is exchanged during their propagation through the network.

【0022】[0022]

【発明が解決しようとする課題】ところで、一般的に通
信処理装置においては、通信データ(パケット)を一時
的にバッファリングする機能が必要であり、その機能部
では、レート制御などの品質保証が行われる他、後段の
通信処理装置からデータの送信禁止を求める信号が送ら
れた場合に、バッファリング容量を越えて蓄えられたパ
ケットに対してオーバーフロー処理が行われる場合があ
る。オーバーフロー処理では一般的に、バッファリング
容量を越えた後に到着したパケットを単純に廃棄するよ
うにしている。
By the way, in general, a communication processing apparatus needs a function of temporarily buffering communication data (packets), and its functional section is responsible for quality assurance such as rate control. In addition to the above, when a signal for prohibiting the transmission of data is sent from the communication processing device in the subsequent stage, overflow processing may be performed on the packet accumulated exceeding the buffering capacity. In overflow processing, generally, a packet that arrives after the buffering capacity is exceeded is simply discarded.

【0023】しかしながら、上記の従来の並べ替え部4
02において、オーバーフローが生じた場合に、新たに
到着したパケットを単純に廃棄すると、これから読み出
すべきパケットに対応するシーケンス番号列に抜けが生
じる。そのため、並べ替え処理を正常に行うことができ
ない状態になってしまうという問題がある。
However, the above-mentioned conventional rearrangement unit 4
In 02, when an overflow occurs, if a newly arrived packet is simply discarded, a sequence number sequence corresponding to a packet to be read out is omitted. Therefore, there is a problem that the rearrangement process cannot be performed normally.

【0024】具体的には、パケットの廃棄に伴いシーケ
ンス番号列に抜けが生じると、並べ替えバッファ502
の記憶領域のうち、抜けたシーケンス番号に対応する記
憶領域においてストアフラグが「1」とならないという
状況が発生する。このため、パケット読み出し時におい
て、並べ替え部402がパケットデータの読み出し待機
状態で動作を停止してしまうことを意味する。
More specifically, when the sequence number string is omitted due to the discard of the packet, the rearrangement buffer 502
In this case, the store flag does not become "1" in the storage area corresponding to the missing sequence number. Therefore, at the time of packet reading, the rearrangement unit 402 stops operating in a packet data read standby state.

【0025】さらに、上記のようにパケット読み出しが
停止した状態のまま、送信側からパケットが送信され続
けると、やがて、並べ替えバッファ502に滞留してい
るパケットと同一シーケンス番号を持つパケットが到着
することになる。この結果、同一シーケンス番号の新た
なパケットによって、従前のパケットデータが破壊(上
書き又は廃棄)されてしまい、正常なシーケンスでパケ
ットの伝送が行われなくなるという問題がある。
Further, when packets are continuously transmitted from the transmitting side while the packet reading is stopped as described above, a packet having the same sequence number as the packet staying in the rearrangement buffer 502 eventually arrives. It will be. As a result, there is a problem that the previous packet data is destroyed (overwritten or discarded) by a new packet having the same sequence number, and the packet cannot be transmitted in a normal sequence.

【0026】本発明はこのような問題点に鑑みてなされ
たものであって、バッファリング容量を越えて蓄えられ
たパケットに対してオーバーフロー処理が行われても、
並べ替え処理を正常に行え、かつ正常なシーケンスでパ
ケットの伝送が行われるようにしたパケット並替装置、
オーバーフロー処理方法、プログラム、及び記憶媒体を
提供することを目的とする。
The present invention has been made in view of the above problems, and even if overflow processing is performed on a packet stored in excess of the buffering capacity,
A packet rearrangement device capable of performing normal rearrangement processing and transmitting packets in a normal sequence,
An object is to provide an overflow processing method, a program, and a storage medium.

【0027】[0027]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明によれば、ヘッダ情報部にシー
ケンス番号が付加されたパケットを受信してバッファに
一時的に保存し、該バッファからシーケンス番号順にパ
ケットを取り出して出力するパケット並替装置におい
て、前記バッファに保存されているパケットの数を計測
する計測手段と、前記計測手段によって計測された数が
所定数を越えたとき、前記バッファに保存されているパ
ケットのうち最初に取り出すべきパケットを廃棄する廃
棄手段とを有することを特徴とするパケット並替装置が
提供される。
In order to achieve the above object, according to the invention of claim 1, a packet having a sequence number added to a header information section is received and temporarily stored in a buffer, In a packet rearrangement device that extracts packets from the buffer in order of sequence numbers and outputs the packets, a measuring unit that measures the number of packets stored in the buffer, and a number measured by the measuring unit exceeds a predetermined number. A packet rearranging device is provided, which comprises: a discarding unit that discards a packet to be extracted first among the packets stored in the buffer.

【0028】また、請求項10記載の発明によれば、ヘ
ッダ情報部にシーケンス番号が付加されたパケットを受
信してバッファに一時的に保存し、該バッファからシー
ケンス番号順にパケットを取り出して出力するパケット
並替装置に適用されるオーバーフロー処理方法におい
て、前記バッファに保存されているパケットの数を計測
する計測ステップと、前記計測ステップによって計測さ
れた数が所定数を越えたとき、前記バッファに保存され
ているパケットのうち最初に取り出すべきパケットを廃
棄する廃棄ステップとを有することを特徴とするオーバ
ーフロー処理方法が提供される。
According to the invention described in claim 10, the packet having the sequence number added to the header information portion is received and temporarily stored in the buffer, and the packet is taken out from the buffer in the sequence number order and outputted. In an overflow processing method applied to a packet rearrangement device, a measuring step of measuring the number of packets stored in the buffer, and storing in the buffer when the number measured by the measuring step exceeds a predetermined number. A discarding step of discarding the first packet to be extracted among the stored packets.

【0029】さらに、上記オーバーフロー処理方法をコ
ンピュータに実行させるためのプログラム、及び上記オ
ーバーフロー処理方法をプログラムとして記憶した、コ
ンピュータにより読み出し可能な記憶媒体が提供され
る。
Further provided is a program for causing a computer to execute the overflow processing method, and a computer-readable storage medium storing the overflow processing method as a program.

【0030】[0030]

【発明の実施の形態】以下、本発明の実施の形態を、図
面を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0031】(第1の実施の形態)図1は、本発明に係
る並べ替え部の第1の実施の形態の構成を示すブロック
図である。この並べ替え部はノード装置の端末インタフ
ェース部に設けられる。なお、上記の並べ替え部を除く
他の構成は、図7および図8に示す構成と同じである。
(First Embodiment) FIG. 1 is a block diagram showing the arrangement of a first embodiment of a rearrangement section according to the present invention. This rearrangement unit is provided in the terminal interface unit of the node device. The configuration other than the above-mentioned rearrangement unit is the same as the configuration shown in FIGS. 7 and 8.

【0032】第1の実施の形態における並べ替え部は、
オーバーフロー判断部100と、並べ替え制御部107
と、並べ替えバッファ112とから構成される。並べ替
え制御部107および並べ替えバッファ112は、図9
に示した並べ替え制御部503および並べ替えバッファ
502とそれぞれ同じ構成であり、パケット入力時にお
いては、シーケンス番号分離部108が、入力したパケ
ットのヘッダ部を分離し、ヘッダ内のシーケンス番号を
用いてパケットの書き込みポインタを生成する。パケッ
トデータが、この書き込みポインタの指し示す並べ替え
バッファ112の記憶領域に保持されるとともに、並べ
替えバッファ112内の同記憶領域のストアフラグが
「1」に設定される。
The sorting section in the first embodiment is
Overflow determination unit 100 and rearrangement control unit 107
And a rearrangement buffer 112. The sorting control unit 107 and the sorting buffer 112 are shown in FIG.
Each of them has the same configuration as the sorting control unit 503 and the sorting buffer 502 shown in FIG. 3, and when a packet is input, the sequence number separating unit 108 separates the header portion of the input packet and uses the sequence number in the header Generate a write pointer for the packet. The packet data is held in the storage area of the sorting buffer 112 pointed to by the write pointer, and the store flag of the storage area in the sorting buffer 112 is set to "1".

【0033】パケットの読み出し時においては、読み出
しポインタ用リングカウンタ109が、読み出しポイン
タを生成し、そのポインタの指し示す並べ替えバッファ
112の記憶領域に保持されているストアフラグを参照
する。その結果。ストアフラグが「1」に設定されてい
れば、パケットデータが同記憶領域に保持されていると
いうことになるので、同記憶領域に保持されているパケ
ットデータを読み出してパケットを端末に出力し、同時
にストアフラグを「0」に設定し、次のパケットの記憶
領域を検索するため、読み出しポインタ用リングカウン
タ109を1だけ進める。なお、読み出しポインタ用リ
ングカウンタ109が1ずつ単調増加するリングカウン
タであるため、パケットの読み出し順序がシーケンス番
号順に並び替えられて読み出される。
When reading a packet, the read pointer ring counter 109 generates a read pointer and refers to the store flag held in the storage area of the rearrangement buffer 112 pointed to by the read pointer. as a result. If the store flag is set to "1", it means that the packet data is held in the same storage area. Therefore, the packet data held in the same storage area is read and the packet is output to the terminal. At the same time, the store flag is set to "0" and the read pointer ring counter 109 is incremented by 1 to search the storage area of the next packet. Since the read pointer ring counter 109 is a ring counter that monotonically increases by 1, the packet reading order is rearranged in sequence number order and read.

【0034】オーバーフロー判断部100は、パケット
滞留数閾値保持部101と、パケット滞留数計測部10
2と、比較部103とから構成される。パケット滞留数
閾値保持部101は、予め設定された例えば「100」
という閾値を保持する。パケット滞留数計測部102
は、並べ替え制御部503が並べ替えバッファ502に
パケットデータを書き込むときに発生されるパケット書
き込み信号105を用いてカウントアップを行う。ま
た、パケット滞留数計測部102は、並べ替え制御部5
03が並べ替えバッファ502からパケットデータを読
み出すときに発生されるパケット読み出し信号104を
受けてカウントダウンする。
The overflow determination unit 100 includes a packet retention number threshold value holding unit 101 and a packet retention number measurement unit 10.
2 and a comparison unit 103. The packet retention number threshold holding unit 101 is set in advance to, for example, “100”.
Holds the threshold. Packet retention number measuring unit 102
Counts up using the packet write signal 105 generated when the sorting control unit 503 writes the packet data in the sorting buffer 502. In addition, the packet retention number measuring unit 102 includes a rearrangement control unit 5
03 receives the packet read signal 104 generated when reading the packet data from the rearrangement buffer 502, and counts down.

【0035】図2〜図4は、並べ替えバッファ112内
におけるパケットデータの保持状態の一例を示す図であ
る。
2 to 4 are diagrams showing an example of a state of holding packet data in the rearrangement buffer 112. As shown in FIG.

【0036】図2では、読み出し停止指示が入力され
て、読み出しポインタが並べ替えバッファ112内の番
号156の記憶領域を指し示した状態でパケットの読み
出しが停止され、一方、パケットの書き込みは継続して
いる。パケットの流入が続くと、パケット滞留数計測部
102がカウントアップばかりを行うことになる。なお
図2において、番号162,160の記憶領域にはパケ
ットが保持されていないが、これは、パケットがランダ
ムに伝送されてくるために、未到着であることを示す。
In FIG. 2, the read stop instruction is input, and the packet read is stopped while the read pointer points to the storage area of the number 156 in the rearrangement buffer 112, while the packet write is continued. There is. When the inflow of packets continues, the packet retention number measuring unit 102 only increments. In FIG. 2, packets are not held in the storage areas 162 and 160, but this indicates that the packets have not arrived because they are transmitted randomly.

【0037】比較部103は、パケット滞留数計測部1
02でのカウント数とパケット滞留数閾値保持部101
に保持されている閾値(例えば100)とを比較し、カ
ウント数が閾値を越えると、オーバーフロー発生信号を
並べ替え制御部107に出力する。
The comparing unit 103 is a packet retention number measuring unit 1
02 count value and packet retention number threshold value holding unit 101
When the count number exceeds the threshold value, the overflow occurrence signal is output to the rearrangement control unit 107.

【0038】図3は、並べ替えバッファ112内の番号
156〜256の記憶領域にパケットが滞留している状
態を示す。ここで、新たに番号259の記憶領域にパケ
ットが書き込まれると、オーバーフロー発生信号が並べ
替え制御部107に出力される。図3でも、番号25
8,257の記憶領域にはパケットが保持されていない
が、これも、パケットが未到着であることを示す。
FIG. 3 shows a state in which packets are accumulated in the storage areas of the numbers 156 to 256 in the rearrangement buffer 112. Here, when a packet is newly written in the storage area of number 259, the overflow occurrence signal is output to the rearrangement control unit 107. Also in FIG. 3, the number 25
Although no packet is held in the storage area of 8,257, this also indicates that the packet has not arrived.

【0039】以上のようにして、オーバーフロー発生信
号を受信した並べ替え制御部107では、オーバーフロ
ー処理が行われる。
As described above, the rearrangement control unit 107 which receives the overflow occurrence signal performs the overflow process.

【0040】図5は、並べ替え制御部107で行われる
オーバーフロー処理の手順を示すフローチャートであ
る。
FIG. 5 is a flowchart showing the procedure of overflow processing performed by the rearrangement control unit 107.

【0041】ステップS1で通常の並べ替え処理を行
い、ステップS2で、オーバーフロー判断部100から
オーバーフロー発生信号を受信したか否かを判別する。
オーバーフロー発生信号を受信したならばステップS3
へ進み、受信しないならばステップS1に戻る。
A normal rearrangement process is performed in step S1, and it is determined in step S2 whether or not an overflow occurrence signal is received from the overflow determination unit 100.
If the overflow occurrence signal is received, step S3
If not received, the process returns to step S1.

【0042】ステップS3で、読み出しポインタが指し
示している並べ替えバッファ112内の記憶領域(図3
の例では番号156の記憶領域)におけるストアフラグ
を読み出して、それが有効であることを確認する。有効
ならばステップS3へ進み、無効ならばステップS8へ
進む。
In step S3, the storage area in the rearrangement buffer 112 pointed to by the read pointer (see FIG. 3).
In this example, the store flag in the storage area of number 156) is read and it is confirmed that it is valid. If it is valid, the process proceeds to step S3, and if it is invalid, the process proceeds to step S8.

【0043】ステップS4では、読み出しポインタが指
し示している並べ替えバッファ112内の記憶領域に保
持されているパケットデータを廃棄するとともに、同記
憶領域のストアフラグを「0」に設定する。図4は、番
号156の記憶領域におけるパケットデータの廃棄を示
している。
In step S4, the packet data held in the storage area in the rearrangement buffer 112 pointed to by the read pointer is discarded and the store flag of the storage area is set to "0". FIG. 4 shows discarding of packet data in the storage area of number 156.

【0044】ステップS5では、パケット滞留数計測部
102のカウント数を1だけデクリメントする。
In step S5, the count number of the packet retention number measuring unit 102 is decremented by 1.

【0045】ステップS6では、読み出しポインタ用リ
ングカウンタ109を1だけインクリメントする。図4
は、読み出しポインタ用リングカウンタ109がインク
リメントされて、読み出しポインタが「157」となっ
た状態を示している。
In step S6, the read pointer ring counter 109 is incremented by one. Figure 4
Shows the state where the read pointer ring counter 109 is incremented and the read pointer becomes “157”.

【0046】ステップS7では、読み出しポインタが指
し示すパケットの読み出し処理を行い、ステップS1に
戻る。
In step S7, the packet read by the read pointer is read out, and the process returns to step S1.

【0047】ステップS8では、ストアフラグが無効な
ので不具合発生と判断し、ステップS9でエラー処理を
行う。
In step S8, since the store flag is invalid, it is determined that a defect has occurred, and error processing is performed in step S9.

【0048】以上のように、並べ替えバッファ112に
滞留しているパケットのうち、最初に読み出すべきパケ
ットを廃棄することで、これから読み出すべきパケット
に対応するシーケンス番号列に抜けが生じず、並べ替え
処理を正常に行うことが可能となる。すなわち、並べ替
えバッファ112に滞留しているパケットと同一シーケ
ンス番号を持つパケットが到着することや、パケットデ
ータが破壊(上書き又は廃棄)されてしまい伝送エラー
率が増大してしまうという問題を解消することができ
る。
As described above, by discarding the packet to be read first among the packets staying in the rearrangement buffer 112, the sequence number sequence corresponding to the packet to be read from now is not lost, and the rearrangement is performed. The processing can be performed normally. That is, the problem that the packet having the same sequence number as the packet staying in the rearrangement buffer 112 arrives and the packet data is destroyed (overwritten or discarded) and the transmission error rate increases is solved. be able to.

【0049】(第2の実施の形態)図6は、本発明に係
る並べ替え部の第2の実施の形態の構成を示すブロック
図である。この並べ替え部はノード装置の端末インタフ
ェース部に設けられる。なお、上記の並べ替え部を除く
他の構成は、図7および図8に示す構成と同じである。
(Second Embodiment) FIG. 6 is a block diagram showing the configuration of a second embodiment of a rearrangement section according to the present invention. This rearrangement unit is provided in the terminal interface unit of the node device. The configuration other than the above-mentioned rearrangement unit is the same as the configuration shown in FIGS. 7 and 8.

【0050】第1の実施の形態では、オーバーフロー判
断部100が1コネクションに対応している場合を想定
していたが、第2の実施の形態では、オーバーフロー判
断部200が複数(N)のコネクションに対応する。そ
のため、オーバーフロー判断部200は、パケット滞留
数カウンタテーブルメモリ210を備える。パケット滞
留数カウンタテーブルメモリ210はRAMで構成さ
れ、Nコネクション分の記憶領域を持ち、そこにパケッ
ト滞留数を保持する。
In the first embodiment, it is assumed that the overflow judgment unit 100 corresponds to one connection, but in the second embodiment, the overflow judgment unit 200 has a plurality of (N) connections. Corresponding to. Therefore, the overflow determination unit 200 includes the packet retention number counter table memory 210. The packet retention number counter table memory 210 is composed of RAM, has a storage area for N connections, and holds the packet retention number therein.

【0051】第2の実施の形態では、パケット滞留数計
測部202が、パケット書き込み時に、コネクションに
対応したパケット滞留数カウンタテーブルメモリ210
の記憶領域にアクセスして、該領域に保持されたパケッ
ト滞留数をインクリメントし、また、パケット読み出し
時に、コネクションに対応したパケット滞留数カウンタ
テーブルメモリ210の記憶領域にアクセスして、該領
域に保持されたパケット滞留数をデクリメントし、これ
によって、パケット滞留数の計測をコネクション毎に行
う。また、パケット書き込み時に、比較部203が、パ
ケット滞留数カウンタテーブルメモリ210のコネクシ
ョンに対応した記憶領域からパケット滞留数を読み出す
とともに、パケット滞留数閾値保持部201からコネク
ションに対応した閾値を読み出し、両者を比較する。そ
して、パケット滞留数が閾値を越えていれば、オーバー
フロー発生信号を出力する。
In the second embodiment, the packet retention count measuring unit 202 uses the packet retention count counter table memory 210 corresponding to the connection when writing a packet.
Of the packet retention number counter table memory 210 corresponding to the connection at the time of packet reading, and retains in this area. The accumulated packet retention number is decremented, and thereby the packet retention number is measured for each connection. Further, at the time of writing a packet, the comparison unit 203 reads the packet retention number from the storage area of the packet retention number counter table memory 210 corresponding to the connection, and also reads the threshold value corresponding to the connection from the packet retention number threshold value holding unit 201. To compare. If the packet retention number exceeds the threshold value, an overflow occurrence signal is output.

【0052】図示を省略した並べ替え制御部では、コネ
クション毎にオーバーフロー処理が行われる。オーバー
フロー処理自体は、第1の実施の形態と同じである。
In the rearrangement control section (not shown), overflow processing is performed for each connection. The overflow process itself is the same as in the first embodiment.

【0053】以上のようにして、複数コネクションにお
いても、並べ替えバッファに滞留しているパケットと同
一シーケンス番号を持つパケットが到着することや、パ
ケットデータが破壊(上書き又は廃棄)されてしまい伝
送エラー率が増大してしまうという問題を解消すること
ができる。
As described above, even in the case of a plurality of connections, a packet having the same sequence number as the packet staying in the rearrangement buffer arrives, or packet data is destroyed (overwritten or discarded) and a transmission error occurs. The problem that the rate increases can be solved.

【0054】(他の実施の形態)なお、前述した各実施
の形態の機能を実現するソフトウェアのプログラムコー
ド自体が本発明を構成してもよく、また、そのプログラ
ムコードを記憶した記憶媒体が本発明を構成してもよ
い。
(Other Embodiments) The program code itself of the software that realizes the functions of the above-described embodiments may constitute the present invention, and the storage medium storing the program code is the main program. You may comprise invention.

【0055】この場合、記憶媒体から読み出されたプロ
グラムコード自体が、前述の各実施の形態の機能を実現
することになり、そのプログラムコードを記憶した記憶
媒体が本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the function of each of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. .

【0056】プログラムコードを供給するための記憶媒
体として、例えば、フロッピー(登録商標)ディスク、
ハードディスク、光ディスク、光磁気ディスク、CD−
ROM、CD−R、磁気テープ、不揮発性のメモリカー
ド、ROMなどを用いることができる。
As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk,
Hard disk, optical disk, magneto-optical disk, CD-
ROM, CD-R, magnetic tape, non-volatile memory card, ROM, etc. can be used.

【0057】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した各実施の形態
の機能が実現されるだけでなく、そのプログラムコード
の指示に基づき、コンピュータ上で稼働しているOSな
どが実際の処理の一部または全部を行い、その処理によ
って前述した各実施の形態の機能が実現される場合も、
本発明に含まれることは言うまでもない。
Further, by executing the program code read by the computer, not only the functions of the respective embodiments described above are realized, but also the OS and the like running on the computer based on the instructions of the program code. Does some or all of the actual processing, and the functions of the above-described embodiments are realized by the processing,
Needless to say, it is included in the present invention.

【0058】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPUなどが実際の処理の一部または全部を行
い、その処理によって前述した各実施の形態の機能が実
現される場合も、本発明に含まれることは言うまでもな
い。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, based on the instruction of the program code, It is needless to say that the present invention also includes a case where the CPU or the like included in the function expansion board or the function expansion unit performs a part or all of the actual processing and the processing realizes the functions of the above-described embodiments. Yes.

【0059】[0059]

【発明の効果】以上詳述したように本発明によれば、パ
ケットがバッファのバッファリング容量を越えて蓄えら
れようとするとき、バッファから、最初に取り出すべき
シーケンス番号順位のパケットを廃棄するので、読み出
すべきパケットのシーケンス番号列に抜けが生じること
がなくなり、並べ替え処理を正常に行え、かつ正常なシ
ーケンスでパケットの伝送が行われる。したがって、バ
ッファに滞留しているパケットと同一シーケンス番号を
持つパケットが到着するという問題や、パケットデータ
が破壊(上書き又は廃棄)されて正常なシーケンスでパ
ケットの伝送が行われなくなるという問題が解消され
る。
As described above in detail, according to the present invention, when a packet is going to be stored exceeding the buffering capacity of the buffer, the packet having the sequence number order to be taken out first is discarded from the buffer. Thus, the sequence number sequence of the packet to be read will not be lost, the rearrangement process can be performed normally, and the packet can be transmitted in the normal sequence. Therefore, the problem that the packet having the same sequence number as the packet staying in the buffer arrives and the problem that the packet data is destroyed (overwritten or discarded) and the packet is not transmitted in a normal sequence are solved. It

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

【図1】本発明に係る並べ替え部の第1の実施の形態の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of a rearrangement unit according to the present invention.

【図2】並べ替えバッファ内におけるパケットデータの
保持状態の一例を示す図である。
FIG. 2 is a diagram showing an example of a holding state of packet data in a rearrangement buffer.

【図3】並べ替えバッファ内におけるパケットデータの
保持状態の一例を示す図である。
FIG. 3 is a diagram showing an example of a holding state of packet data in a rearrangement buffer.

【図4】並べ替えバッファ内におけるパケットデータの
保持状態の一例を示す図である。
FIG. 4 is a diagram showing an example of a holding state of packet data in a rearrangement buffer.

【図5】並べ替え制御部で行われるオーバーフロー処理
の手順を示すフローチャートである。
FIG. 5 is a flowchart showing a procedure of overflow processing performed by a rearrangement control unit.

【図6】本発明に係る並べ替え部の第2の実施の形態の
構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a second exemplary embodiment of a rearrangement unit according to the present invention.

【図7】並列多重伝送路と複数の通信装置(ノード)と
から構成される通信システムの構成の一例を示すブロッ
ク図である。
FIG. 7 is a block diagram showing an example of a configuration of a communication system including a parallel multiplex transmission line and a plurality of communication devices (nodes).

【図8】端末インタフェース部の内部構成を示すブロッ
ク図である。
FIG. 8 is a block diagram showing an internal configuration of a terminal interface unit.

【図9】並べ替え部の1コネクション分の内部構成を示
すブロック図である。
FIG. 9 is a block diagram showing an internal configuration of a rearrangement unit for one connection.

【符号の説明】[Explanation of symbols]

100 オーバーフロー判断部 101 パケット滞留数閾値保持部 102 パケット滞留数計測部(計測手段、カウンタ) 103 比較部 104 パケット読み出し信号 105 パケット書き込み信号 106 オーバーフロー発生信号 107 並べ替え制御部(廃棄手段、パケット書込手
段、パケット読出手段、判断手段) 108 シーケンス番号分離部 109 読み出しポインタ用リングカウンタ(リングカ
ウンタ) 110 ストアフラグ情報 111 パケット入力情報 112 並べ替えバッファ(バッファ) 200 オーバーフロー判断部 201 パケット滞留数閾値保持部 202 パケット滞留数計測部 203 比較部 210 パケット滞留数カウンタテーブルメモリ(記憶
手段) 301〜304 ノード装置(通信装置) 305〜308 交換スイッチ 309〜312 バッファ 321〜336 端末 341〜344 端末インタフェース部 400 端末インタフェース部 401 ヘッダ変換部 402 並べ替え部
100 overflow determination unit 101 packet retention number threshold retention unit 102 packet retention number measurement unit (measurement means, counter) 103 comparison unit 104 packet read signal 105 packet write signal 106 overflow occurrence signal 107 rearrangement control unit (discard means, packet write) Means, packet reading means, judging means) 108 sequence number separating section 109 read pointer ring counter (ring counter) 110 store flag information 111 packet input information 112 rearrangement buffer (buffer) 200 overflow judging section 201 packet retention number threshold holding section 202 packet retention number measurement unit 203 comparison unit 210 packet retention number counter table memory (storage unit) 301 to 304 node device (communication device) 305 to 308 exchange switch 30 ~312 buffer 321-336 terminals 341 to 344 terminal interface unit 400 terminal interface unit 401 header converting section 402 sorting unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5K030 GA13 HA08 KA03 LC11 MA13 MB13 MB15 5K031 AA07 DA11 DB11 5K033 AA05 CB06 DB13 EA03 5K034 AA06 EE11 HH01 HH02 HH63 MM11    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5K030 GA13 HA08 KA03 LC11 MA13                       MB13 MB15                 5K031 AA07 DA11 DB11                 5K033 AA05 CB06 DB13 EA03                 5K034 AA06 EE11 HH01 HH02 HH63                       MM11

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 ヘッダ情報部にシーケンス番号が付加さ
れたパケットを受信してバッファに一時的に保存し、該
バッファからシーケンス番号順にパケットを取り出して
出力するパケット並替装置において、 前記バッファに保存されているパケットの数を計測する
計測手段と、 前記計測手段によって計測された数が所定数を越えたと
き、前記バッファに保存されているパケットのうち最初
に取り出すべきパケットを廃棄する廃棄手段とを有する
ことを特徴とするパケット並替装置。
1. A packet reordering device for receiving a packet having a sequence number added to a header information part, temporarily storing the packet in a buffer, extracting the packet from the buffer in sequence number order, and outputting the packet. Measuring means for measuring the number of stored packets, and discarding means for discarding the first packet to be taken out of the packets stored in the buffer when the number measured by the measuring means exceeds a predetermined number. A packet reordering device comprising:
【請求項2】 前記計測手段は、前記バッファにパケッ
トデータが書き込まれる毎にインクリメントし、前記バ
ッファからパケットデータが読み出される毎にデクリメ
ントするカウンタから構成されることを特徴とする請求
項1記載のパケット並替装置。
2. The measuring means comprises a counter that increments each time packet data is written to the buffer and decrements each time packet data is read from the buffer. Packet sorter.
【請求項3】 前記カウンタは、前記廃棄手段によって
パケットデータの廃棄が行われたときデクリメントする
ことを特徴とする請求項2記載のパケット並替装置。
3. The packet rearrangement apparatus according to claim 2, wherein the counter decrements when the discarding means discards the packet data.
【請求項4】 受信したパケットに付加されているシー
ケンス番号と同一数の番地を有する前記バッファの記憶
領域に、前記受信したパケットのデータを書き込むパケ
ット書込手段と、 前記バッファの記憶領域数と同一数の最大カウント値を
持ち、前記バッファからパケットデータが読み出される
毎にカウントアップするリングカウンタと、 前記リングカウンタのカウント値と同一数の番地を有す
る前記バッファの記憶領域からパケットデータを読み出
すパケット読出手段とを、さらに有し、 前記廃棄手段は、前記計測手段によって計測された数が
所定数を越えたとき、前記リングカウンタのカウント値
と同一数の番地を有する前記バッファの記憶領域に書き
込まれているパケットデータを廃棄することを特徴とす
る請求項1乃至請求項3のいずれかに記載のパケット並
替装置。
4. A packet writing unit for writing data of the received packet in a storage area of the buffer having the same number of addresses as the sequence number added to the received packet, and a storage area number of the buffer. A ring counter having the same maximum count value and counting up each time packet data is read from the buffer, and a packet reading packet data from the storage area of the buffer having the same number of addresses as the count value of the ring counter. The discarding means further includes a reading means, and when the number measured by the measuring means exceeds a predetermined number, the discarding means writes in the storage area of the buffer having the same number of addresses as the count value of the ring counter. The packet data that has been discarded is discarded. The packet rearrangement device according to any one of the above.
【請求項5】 前記リングカウンタは、前記廃棄手段に
よってパケットデータの廃棄が行われたときカウントア
ップすることを特徴とする請求項4記載のパケット並替
装置。
5. The packet reordering device according to claim 4, wherein the ring counter counts up when the discarding means discards the packet data.
【請求項6】 前記バッファの各記憶領域は、パケット
データが記憶される第1の領域と、該第1の領域にパケ
ットデータが記憶されていることを示すためのフラグが
記憶される第2の領域とから構成され、 前記廃棄手段は、前記計測手段によって計測された数が
所定数を越えたとき、前記リングカウンタのカウント値
と同一数の番地を有する前記バッファの記憶領域の第2
の領域に有効なフラグが存在するならば、該記憶領域の
第1の領域に記憶されたパケットデータを廃棄すること
を特徴とする請求項4または請求項5記載のパケット並
替装置。
6. Each storage area of the buffer has a first area for storing packet data and a second area for storing a flag for indicating that the packet data is stored in the first area. When the number measured by the measuring means exceeds a predetermined number, the discarding means has a second storage area of the buffer having the same number of addresses as the count value of the ring counter.
6. The packet rearrangement apparatus according to claim 4 or 5, wherein if a valid flag is present in the area, the packet data stored in the first area of the storage area is discarded.
【請求項7】 前記計測手段によって計測された数が所
定数を越えたとき、前記リングカウンタのカウント値と
同一数の番地を有する前記バッファの記憶領域の第2の
領域に有効なフラグが存在しないならば、異常発生と判
断する判断手段を、さらに有することを特徴とする請求
項6記載のパケット並替装置。
7. A valid flag exists in the second area of the storage area of the buffer having the same number of addresses as the count value of the ring counter when the number measured by the measuring means exceeds a predetermined number. The packet rearrangement apparatus according to claim 6, further comprising a determination unit that determines that an abnormality has occurred, if not.
【請求項8】 前記パケット並替装置が、複数の並列伝
送路および該複数の並列伝送路の途中に設けられた複数
の通信装置から構成される通信システムにおける該複数
の通信装置内にそれぞれ設けられ、 前記計測手段によって計測されたパケットの数を、前記
複数の並列伝送路毎に記憶する記憶手段をさらに有し、 前記廃棄手段は、前記記憶手段によって記憶されたパケ
ット数のうち処理対象の並列伝送路に対応するパケット
数を読み出して、前記廃棄を実行することを特徴とする
請求項1乃至請求項7のいずれかに記載のパケット並替
装置。
8. The packet rearrangement device is provided in each of the plurality of communication devices in a communication system including a plurality of parallel transmission lines and a plurality of communication devices provided in the middle of the plurality of parallel transmission lines. Further comprising a storage unit for storing the number of packets measured by the measurement unit for each of the plurality of parallel transmission paths, wherein the discarding unit is a processing target among the number of packets stored by the storage unit. The packet rearrangement apparatus according to any one of claims 1 to 7, wherein the number of packets corresponding to the parallel transmission path is read and the discarding is executed.
【請求項9】 前記パケット並替装置が、複数のリング
状の並列伝送路および該複数の並列伝送路の途中に設け
られた複数の通信装置から構成される通信システムにお
ける該複数の通信装置内にそれぞれ設けられ、 前記パケット並替装置には、各パケットがシーケンス番
号順と無関係な順番で伝送されることを特徴とする請求
項1乃至請求項8のいずれかに記載のパケット並替装
置。
9. The plurality of communication devices in a communication system, wherein the packet rearrangement device is composed of a plurality of ring-shaped parallel transmission lines and a plurality of communication devices provided in the middle of the plurality of parallel transmission lines. 9. The packet rearrangement apparatus according to claim 1, wherein each packet is transmitted to the packet rearrangement apparatus in an order irrelevant to the sequence number order.
【請求項10】 ヘッダ情報部にシーケンス番号が付加
されたパケットを受信してバッファに一時的に保存し、
該バッファからシーケンス番号順にパケットを取り出し
て出力するパケット並替装置に適用されるオーバーフロ
ー処理方法において、 前記バッファに保存されているパケットの数を計測する
計測ステップと、 前記計測ステップによって計測された数が所定数を越え
たとき、前記バッファに保存されているパケットのうち
最初に取り出すべきパケットを廃棄する廃棄ステップと
を有することを特徴とするオーバーフロー処理方法。
10. A packet in which a sequence number is added to a header information part is received and temporarily stored in a buffer,
In an overflow processing method applied to a packet rearrangement device that extracts packets from the buffer in order of sequence number and outputs the packets, a measuring step of measuring the number of packets stored in the buffer, and a number measured by the measuring step. When the number of packets exceeds a predetermined number, the discarding step of discarding the packet to be taken out first out of the packets stored in the buffer.
【請求項11】 ヘッダ情報部にシーケンス番号が付加
されたパケットを受信してバッファに一時的に保存し、
該バッファからシーケンス番号順にパケットを取り出し
て出力するパケット並替装置に適用されるオーバーフロ
ー処理方法を、コンピュータに実行させるためのプログ
ラムにおいて、 前記オーバーフロー処理方法が、 前記バッファに保存されているパケットの数を計測する
計測ステップと、 前記計測ステップによって計測された数が所定数を越え
たとき、前記バッファに保存されているパケットのうち
最初に取り出すべきパケットを廃棄する廃棄ステップと
を有することを特徴とするプログラム。
11. A packet in which a sequence number is added to a header information part is received and temporarily stored in a buffer,
In a program for causing a computer to execute an overflow processing method applied to a packet reordering apparatus that extracts packets from the buffer in order of sequence numbers and outputs the packets, the overflow processing method is the number of packets stored in the buffer. And a discarding step of discarding the first packet to be taken out of the packets stored in the buffer when the number measured by the measuring step exceeds a predetermined number. Program to do.
【請求項12】 ヘッダ情報部にシーケンス番号が付加
されたパケットを受信してバッファに一時的に保存し、
該バッファからシーケンス番号順にパケットを取り出し
て出力するパケット並替装置に適用されるオーバーフロ
ー処理方法をプログラムとして記憶した、コンピュータ
により読み出し可能な記憶媒体において、 前記オーバーフロー処理方法が、 前記バッファに保存されているパケットの数を計測する
計測ステップと、 前記計測ステップによって計測された数が所定数を越え
たとき、前記バッファに保存されているパケットのうち
最初に取り出すべきパケットを廃棄する廃棄ステップと
を有することを特徴とする記憶媒体。
12. A packet in which a sequence number is added to a header information part is received and temporarily stored in a buffer,
In a computer-readable storage medium that stores as a program an overflow processing method applied to a packet rearrangement apparatus that extracts packets from the buffer in order of sequence numbers and outputs the packets, the overflow processing method is stored in the buffer. And a discarding step of discarding the first packet to be retrieved among the packets stored in the buffer when the number measured by the measuring step exceeds a predetermined number. A storage medium characterized by the above.
JP2002100011A 2002-04-02 2002-04-02 Packet sorting apparatus, overflow processing method, program and recording medium Pending JP2003298601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002100011A JP2003298601A (en) 2002-04-02 2002-04-02 Packet sorting apparatus, overflow processing method, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002100011A JP2003298601A (en) 2002-04-02 2002-04-02 Packet sorting apparatus, overflow processing method, program and recording medium

Publications (1)

Publication Number Publication Date
JP2003298601A true JP2003298601A (en) 2003-10-17

Family

ID=29388293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002100011A Pending JP2003298601A (en) 2002-04-02 2002-04-02 Packet sorting apparatus, overflow processing method, program and recording medium

Country Status (1)

Country Link
JP (1) JP2003298601A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006333438A (en) * 2005-04-28 2006-12-07 Fujitsu Ten Ltd Gateway apparatus and routing method
JP2009272906A (en) * 2008-05-08 2009-11-19 Mitsubishi Electric Corp Message relaying apparatus
JP7376459B2 (en) 2020-11-30 2023-11-08 日本電波工業株式会社 transmission circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006333438A (en) * 2005-04-28 2006-12-07 Fujitsu Ten Ltd Gateway apparatus and routing method
US7787479B2 (en) 2005-04-28 2010-08-31 Fujitsu Ten Limited Gateway apparatus and routing method
JP2009272906A (en) * 2008-05-08 2009-11-19 Mitsubishi Electric Corp Message relaying apparatus
JP4629126B2 (en) * 2008-05-08 2011-02-09 三菱電機株式会社 Message relay device
JP7376459B2 (en) 2020-11-30 2023-11-08 日本電波工業株式会社 transmission circuit

Similar Documents

Publication Publication Date Title
JP3816530B2 (en) Low latency, high clock frequency, pre-geo asynchronous packet-based crossbar switching chip system and method
US6762995B1 (en) Network switch including hysteresis in signalling fullness of transmit queues
US20060268913A1 (en) Streaming buffer system for variable sized data packets
US8306045B2 (en) Packet forwarding apparatus and method for discarding packets
JPS61214694A (en) Switching unit for data transmission
JP2001292164A (en) Packet switch and its switching method
JP2011514111A (en) Method and filter arrangement for storing information about messages arriving at a subscriber of the network via a serial data bus of the communication network
JPWO2004066570A1 (en) Network switch device and network switch method
US20090196288A1 (en) Efficient Packet Replication
JPS611146A (en) Information communication equipment
JPH07183898A (en) Method for recovering predetermined order for cell style of asymmetric order in atm exchange technology
EP1351439B1 (en) Embedded system for broadcast traffic congestion control in communication network
CN112491715B (en) Routing device and routing equipment of network on chip
US6947413B2 (en) Switching apparatus, communication apparatus, and communication system
US5913042A (en) Method and apparatus for managing packet memory
JP2003298601A (en) Packet sorting apparatus, overflow processing method, program and recording medium
US20020009082A1 (en) Buffer unit and switching apparatus
US7111093B2 (en) Ping-pong buffer system having a buffer to store a subset of data from a data source
JPH10322347A (en) Network communication equipment
US8073999B2 (en) Data input-output control apparatus
JP3044653B2 (en) Gateway device
JP2001202345A (en) Parallel processor
JPH02190059A (en) Buffer controller
JP4263115B2 (en) Data buffer control method and data relay apparatus
EP1347597A2 (en) Embedded system having multiple data receiving channels