[go: up one dir, main page]

JP2001230804A - Packet multiplexer - Google Patents

Packet multiplexer

Info

Publication number
JP2001230804A
JP2001230804A JP2000039856A JP2000039856A JP2001230804A JP 2001230804 A JP2001230804 A JP 2001230804A JP 2000039856 A JP2000039856 A JP 2000039856A JP 2000039856 A JP2000039856 A JP 2000039856A JP 2001230804 A JP2001230804 A JP 2001230804A
Authority
JP
Japan
Prior art keywords
packet
buffer
output
input
packets
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.)
Granted
Application number
JP2000039856A
Other languages
Japanese (ja)
Other versions
JP3590751B2 (en
Inventor
Shigeru Shiyoujitsu
繁 照日
Katsutoshi Nihei
勝利 仁平
Masayoshi Nakayama
正芳 中山
Toru Otsu
徹 大津
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2000039856A priority Critical patent/JP3590751B2/en
Publication of JP2001230804A publication Critical patent/JP2001230804A/en
Application granted granted Critical
Publication of JP3590751B2 publication Critical patent/JP3590751B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

(57)【要約】 【課題】 出力帯域が最適となるようにアダプティブな
帯域の割当てを可能とし、統計多重効果を高める。パケ
ットの転送遅延時間を少なくする。 【解決手段】 入力パケットを出力パケットの識別子毎
に格納する複数のバッファに蓄積されている送信待ちデ
ータ量(キュー長)を測定し、この複数のバッファのど
のバッファから読み出すか判定するときには、キュー長
が出力パケットのペイロード長に達していること、もし
くは、バッファに蓄積されている入力パケットが一つの
パケットを分割した最終パケットであることを考慮す
る。
(57) [Summary] [PROBLEMS] To enable adaptive band allocation so as to optimize an output band, and to enhance a statistical multiplexing effect. Reduce the packet transfer delay time. SOLUTION: The amount of data waiting for transmission (queue length) stored in a plurality of buffers for storing an input packet for each identifier of an output packet is measured, and when judging from which of the plurality of buffers the buffer is to be read, a queue is used. Consider that the length has reached the payload length of the output packet, or that the input packet stored in the buffer is the last packet obtained by dividing one packet.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、パケットを別の固
定長フレームに格納して転送するネットワークに利用す
るに適する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is suitable for use in a network in which a packet is stored in another fixed-length frame and transferred.

【0002】[0002]

【従来の技術】従来のパケットの変換を伴うパケット多
重化方式では、図7に示すように、入力パケットである
パケットAから出力パケットであるパケットBへのパケ
ット変換部と出力ポートへの出力制御を行うスケジュー
リング部から構成され、それぞれは独立に処理されてい
る。
2. Description of the Related Art In a conventional packet multiplexing method involving packet conversion, as shown in FIG. 7, a packet conversion unit from an input packet A to a packet B as an output packet and output control to an output port. , And each is processed independently.

【0003】つまり、入力パケットは、該当する出力パ
ケットの識別子のバッファ毎に蓄積され、固定長フレー
ムの出力パケットに変換されることになるが、入力パケ
ットのトラヒック状況あるいは入力パケットの内容に応
じて優先的な出力ポートへのスケジューリングを行うと
いった出力処理は行わない。
[0003] That is, an input packet is accumulated for each buffer of the identifier of the corresponding output packet, and is converted into an output packet of a fixed-length frame. Depending on the traffic situation of the input packet or the content of the input packet, Output processing such as scheduling to a preferential output port is not performed.

【0004】[0004]

【発明が解決しようとする課題】入力パケットを、入力
パケットとは異なる長さ、構成を持つ固定長フレームの
出力パケットに格納して転送する際に、出力パケットの
中での有効入力パケットの占める割合(有効パケット密
度)は多重度をみる重要な要素の一つである。
When an input packet is stored in an output packet of a fixed length frame having a different length and configuration from that of the input packet and transferred, the effective input packet occupies in the output packet. The ratio (effective packet density) is one of the important factors for determining the multiplicity.

【0005】従来の技術を用いる場合には、パケット変
換処理とスケジューリング処理が独立に行われるため
に、バッファに、出力パケットの識別子毎に割当てられ
た帯域(出力帯域)に満たない入力パケットしかない場
合でも、スケジューリング処理によって読み出される順
番になれば、出力帯域に見合った所定の個数の出力パケ
ットが読み出される。すなわち、この読み出された所定
の個数の出力パケットには、無効となる空帯域が多く含
まれる結果となり、有効パケット密度が悪化し、出力ポ
ートの回線使用効率が低下する。
When the conventional technique is used, since the packet conversion process and the scheduling process are performed independently, the buffer has only input packets less than the band (output band) allocated to each output packet identifier. Even in such a case, if the order is read by the scheduling process, a predetermined number of output packets corresponding to the output band are read. That is, the read out predetermined number of output packets includes a lot of invalid empty bands, resulting in a decrease in effective packet density and a decrease in line use efficiency of output ports.

【0006】あるいは、一つのパケットが複数の入力パ
ケットに分割されて転送される場合に、当該一つのパケ
ットの最終パケットがバッファに到着しているにもかか
わらず、スケジューリング処理によって読み出される順
番が回って来ない場合には、この待ち時間が当該一つの
パケットの転送遅延時間の増大を招く結果となる。
[0006] Alternatively, when one packet is divided into a plurality of input packets and transferred, the order in which the last packet of the one packet is read out by the scheduling process is rotated even though the last packet has arrived in the buffer. If not, the waiting time results in an increase in the transfer delay time of the one packet.

【0007】特に、当該一つのパケットを構成する他の
パケットが既に送出済みである場合には、この最終パケ
ット一つが遅延することにより、当該一つのパケット全
体が許容遅延時間を逸脱して廃棄されてしまう場合もあ
り得る。
In particular, when another packet constituting the one packet has already been transmitted, the last one packet is delayed, so that the entire one packet is discarded outside the allowable delay time. It can happen.

【0008】本発明は、このような背景に行われたもの
であって、入力パケットのトラヒック状況および格納さ
れた情報の内容に応じて入力パケットから出力パケット
に変換を行うことにより、出力帯域が最適となるように
アダプティブな帯域の割当てを可能とし、統計多重効果
を高めることができるパケット多重化装置を提供するこ
とを目的とする。また、本発明は、パケットの転送遅延
時間を少なくすることができるパケット多重化装置を提
供することを目的とする。
The present invention has been made in view of such a background. By converting an input packet into an output packet in accordance with the traffic situation of the input packet and the content of the stored information, the output bandwidth is reduced. It is an object of the present invention to provide a packet multiplexing apparatus which enables adaptive band allocation so as to be optimal and enhances a statistical multiplexing effect. Another object of the present invention is to provide a packet multiplexing apparatus that can reduce the packet transfer delay time.

【0009】[0009]

【課題を解決するための手段】本発明のパケット多重化
装置は、入力パケットを出力パケットの識別子毎に格納
する複数のバッファに蓄積されている送信待ちデータ量
(キュー長)を測定し、この複数のバッファのどのバッ
ファから読み出すか判定するときには、キュー長が出力
パケットのペイロード長に達していること、もしくは、
バッファに蓄積されている入力パケットが一つのパケッ
トを分割した最終パケットであることを考慮することを
特徴とする。
SUMMARY OF THE INVENTION A packet multiplexing apparatus of the present invention measures the amount of queued data (queue length) stored in a plurality of buffers for storing input packets for each output packet identifier. When judging from which buffer of a plurality of buffers to read, the queue length must reach the payload length of the output packet, or
It is characterized in that the input packet stored in the buffer is the last packet obtained by dividing one packet.

【0010】すなわち、従来のスケジューラによる送信
条件に加えて、キュー長が出力パケットのペイロード長
に達していることを加えることで、常に出力パケットを
有効なデータによって満たして送出することができる。
こうして有効パケット密度が低い非効率な出力パケット
の送出を抑制し、有効パケット密度が高い効率的な出力
パケットのみ送出していくことにより、帯域の有効利用
を図ることができる。
That is, by adding that the queue length has reached the payload length of the output packet in addition to the transmission conditions of the conventional scheduler, the output packet can always be filled with valid data and transmitted.
In this way, transmission of inefficient output packets having a low effective packet density is suppressed, and only efficient output packets having a high effective packet density are transmitted, whereby effective use of bandwidth can be achieved.

【0011】また、入力パケットに一つのパケットの最
後を示す識別子が付与されている場合には、従来のスケ
ジューラによる送信条件と前記キュー長による送出条件
に限定すると、キュー長が出力パケットのペイロード長
に達するまではバッファに格納された最終パケットが送
出されないケースが発生し、前記一つのパケットとして
の転送遅延時間が大きくなってしまうことがあるため、
前記一つのパケットの最後を示す識別子が付与された入
力パケットはたとえ有効パケット密度が下がっても出力
パケットに変換し送出していく必要がある。
When an input packet is provided with an identifier indicating the end of one packet, if the transmission condition by the conventional scheduler and the transmission condition by the queue length are limited, the queue length becomes equal to the payload length of the output packet. Until the final packet stored in the buffer is not sent out, and the transfer delay time as the one packet may increase.
An input packet to which an identifier indicating the end of the one packet has been added needs to be converted into an output packet and transmitted even if the effective packet density decreases.

【0012】そこで本発明は、前記一つのパケットを構
成する複数の入力パケットの最終パケットに対しては、
キュー長の条件を適用せずに出力パケットに変換し送出
していくことを特徴としている。本発明により前記一つ
のパケットの転送遅延時間を短くすることができる。
[0012] Therefore, the present invention provides a method for the final packet of a plurality of input packets constituting one packet.
It is characterized in that it is converted into an output packet and transmitted without applying the condition of the queue length. According to the present invention, the transfer delay time of the one packet can be reduced.

【0013】すなわち、本発明は、複数の入力ポート
と、一つの出力ポートとを備え、この入力ポートに到着
する入力パケットをパケットの長さが固定の出力パケッ
トに多重する手段を備えたパケット多重化装置である。
That is, the present invention provides a packet multiplexing device comprising a plurality of input ports and one output port, and a means for multiplexing an input packet arriving at the input port into an output packet having a fixed packet length. Device.

【0014】ここで、本発明の特徴とするところは、出
力パケットのパケット識別子毎にバッファが設けられ、
このバッファに前記識別子にしたがって入力パケットを
振り分け蓄積する手段と、前記バッファに蓄積された入
力パケットのデータ量を測定する手段と、蓄積された入
力パケットのデータ量が出力パケットのパケット長に対
応した閾値に達したバッファ内の入力パケットを優先的
に多重し出力パケットとして出力する手段とを備えたと
ころにある。
Here, a feature of the present invention is that a buffer is provided for each packet identifier of an output packet,
Means for distributing and storing input packets in the buffer according to the identifier; means for measuring the data amount of the input packets stored in the buffer; and the data amount of the stored input packets corresponding to the packet length of the output packets. Means for preferentially multiplexing input packets in the buffer which has reached the threshold value and outputting them as output packets.

【0015】また、一つのパケットが複数の入力パケッ
トに分割されて転送されるときに、前記一つのパケット
の最終パケットが到着したバッファについては、前記閾
値にかかわらず当該パケットの到着したバッファ内の入
力パケットを優先的に多重し出力パケットとして出力す
る手段を備えることが望ましい。
Further, when one packet is divided into a plurality of input packets and transferred, regarding the buffer in which the last packet of the one packet has arrived, the buffer in the buffer in which the packet has arrived regardless of the threshold value It is desirable to have means for preferentially multiplexing input packets and outputting them as output packets.

【0016】[0016]

【発明の実施の形態】本発明実施例のパケット多重化装
置の構成を図1および図4を参照して説明する。図1は
本発明第一実施例のパケット多重化装置の要部ブロック
構成図である。図4は本発明第二実施例のパケット多重
化装置の要部ブロック構成図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The configuration of a packet multiplexing apparatus according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram of a main part of a packet multiplexer according to a first embodiment of the present invention. FIG. 4 is a block diagram of a main part of a packet multiplexer according to a second embodiment of the present invention.

【0017】本発明は、複数の入力ポートI〜I
と、一つの出力ポートOとを備え、この入力ポートI
〜Iに到着する入力パケットをパケットの長さが固
定の出力パケットに多重する手段としての制御部B14
を備えたパケット多重化装置である。
According to the present invention, a plurality of input ports I 1 to I 1
n and one output port O, and the input port I
Control unit B14 as a means for the input packets arriving 1 ~I n is the length of the packet multiplexed into the output packet of the fixed
Is a packet multiplexing device including

【0018】ここで、本発明の特徴とするところは、図
1に示すように、出力パケットのパケット識別子毎にバ
ッファB15〜B15が設けられ、このバッファB
15 〜B15に前記識別子にしたがって入力パケッ
トを振り分け蓄積する手段としてのVPI/VCI識別
部B11と、バッファB15〜B15に蓄積された
入力パケットのデータ量を測定する手段としてのキュー
長読取部B13とを備え、情報管理部B12は、蓄積さ
れた入力パケットのデータ量が出力パケットのパケット
長に対応した閾値に達したバッファB15(iは1〜
nのいずれか)を検出して送信権を与え、制御部B14
は、この送信権が与えられたバッファB15内の入力
パケットを優先的に多重し出力パケットとして出力する
ところにある。
Here, the feature of the present invention is shown in FIG.
As shown in FIG.
Buffa B151~ B15nIs provided, and the buffer B
Fifteen 1~ B15nInput packet according to the identifier
VPI / VCI identification as a means to sort and accumulate data
Part B11 and buffer B151~ B15nAccumulated in
Queue as a means to measure the amount of data in incoming packets
The information management unit B12 includes a long reading unit B13.
The amount of data of the input packet
Buffer B15 that has reached the threshold value corresponding to the lengthi(I is 1 to
n), the transmission right is given, and the control unit B14
Is the buffer B15 to which the transmission right is given.iInput in
Packets are multiplexed with priority and output as output packets
There.

【0019】また、一つのパケットが複数の入力パケッ
トに分割されて転送されるときには、図4に示すEOP
識別部B22により、前記一つのパケットの最終パケッ
トの到着を検出し、この最終パケットが到着したバッフ
ァB15(jは1〜nのいずれか)については、情報
管理部B12は、制御部B14に対し、前記閾値にかか
わらず当該パケットの到着したバッファB15内の入
力パケットを優先的に多重し出力パケットとして出力す
るように指示するところにある。
When one packet is divided into a plurality of input packets and transferred, the EOP shown in FIG.
The identification unit B22 detects the arrival of the last packet of the one packet, and for the buffer B15 j (j is any one of 1 to n) in which the last packet has arrived, the information management unit B12 sends the information to the control unit B14. against, certain incoming packets arriving buffer B15 the j of the packet regardless of the threshold value at which an instruction to output as preferentially multiplexed output packets.

【0020】(第一実施例)本発明第一実施例を図1な
いし図3を参照して説明する。図2は本実施例のパケッ
ト到着時の動作を示すフローチャートである。図3は本
実施例のパケット送信時の動作を示すフローチャートで
ある。本実施例では、パケット多重化装置への入力パケ
ットがATMセルであり、出力パケットがMPEG2−
TSパケット(ペイロード長=184Bytes)であり、D
eficit Round Robinスケジューリング法(DRR法)に
入力パケットのトラヒックに応じて出力パケットを制御
する機能を組み込んだ例を示す。
(First Embodiment) A first embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a flowchart showing the operation of the present embodiment when a packet arrives. FIG. 3 is a flowchart showing the operation at the time of transmitting a packet according to the present embodiment. In this embodiment, the input packet to the packet multiplexer is an ATM cell, and the output packet is MPEG2-
TS packet (payload length = 184 bytes)
An example in which a function of controlling an output packet according to the traffic of an input packet is incorporated in an eficit Round Robin scheduling method (DRR method) will be described.

【0021】DRR法においては、スケジューリングリ
ストによって処理すべきキューの順番が管理されてお
り、リストの先頭にあるキューの送信可否について判断
を行い、送信可の場合には該当キューからパケットを送
信し、該当キューにパケットが残っている場合にはスケ
ジューリングリストの末尾に再び登録する。
In the DRR method, the order of queues to be processed is managed by a scheduling list, and it is determined whether the queue at the head of the list can be transmitted. If the queue is transmittable, a packet is transmitted from the queue. If the packet remains in the corresponding queue, it is registered again at the end of the scheduling list.

【0022】図1において、VPI/VCI識別部B1
1は、到着したATMセルのVPI/VCIを識別し
て、該当するバッファB151〜B15nにATMセルの
まま格納する。バッファB151〜B15nはMPEG2
−TSパケットの識別子PID(Packet Identificatio
n)毎に用意され、バッファリングされているATMセル
をMPEG2−TSパケットに詰め込む際は、同一のバ
ッファB151〜B15nから行う。
In FIG. 1, a VPI / VCI identification unit B1
1, identifying the VPI / VCI of the arriving ATM cells, stores remain ATM cells to the appropriate buffer B15 1 ~B15 n. Buffer B15 1 ~B15 n is MPEG2
-Identifier PID (Packet Identificatio) of TS packet
n) is prepared for each, when packing the ATM cells are buffered in MPEG2-TS packets is performed from the same buffer B15 1 ~B15 n.

【0023】本実施例のパケット多重化方式では、キュ
ー長読取部B13は、ATMセルの到着もしくはMPE
G2−TSパケット送出によってキュー長が変化したと
きに、該当するバッファ内のキュー長を確認する。情報
管理部B12は、ATMセルが到着するとスケジューリ
ングリストの末尾に登録する。スケジューリングリスト
の先頭に登録されているバッファ内のキュー長がMPE
G2−TSパケット長に達している場合に送信権を与え
る。制御部B14は、情報管理部において送信権を与え
られたバッファB15からの送信を制御する。
In the packet multiplexing method according to the present embodiment, the queue length reading unit B13 detects the arrival of the ATM cell or the MPE.
When the queue length changes due to transmission of the G2-TS packet, the queue length in the corresponding buffer is checked. When the ATM cell arrives, the information management unit B12 registers it at the end of the scheduling list. The queue length in the buffer registered at the top of the scheduling list is MPE
When the G2-TS packet length has been reached, a transmission right is given. Control unit B14 controls the transmission from the buffer B15 i given a transmission right in the information management unit.

【0024】本実施例ではDRR法をもとにして本発明
の機能を説明したが、他のスケジューリング法において
も本発明の機能を組み込むことにより同様の効果を得る
ことができる。
In this embodiment, the functions of the present invention have been described based on the DRR method. However, similar effects can be obtained by incorporating the functions of the present invention in other scheduling methods.

【0025】次に、本発明第一実施例の動作を(初期
化)(パケット入力)(パケット出力)に分けてさらに
詳細に説明する。
Next, the operation of the first embodiment of the present invention will be described in more detail with respect to (initialization) (packet input) (packet output).

【0026】(初期化)バッファ毎のパラメータとし
て、キュー長を示すQ[i]と、DRR法における送信
権が与えられたときに送信可能量を示すDC[i]を用
意して、それぞれを初期化(0クリア)する。
(Initialization) As parameters for each buffer, Q [i] indicating a queue length and DC [i] indicating a transmittable amount when a transmission right in the DRR method is given are prepared. Initialize (clear to 0).

【0027】(パケット入力)パケット到着時の動作を
図2を参照して説明する。ATMセルが到着したとき
(F101)、該当するPID[i]のバッファのキュ
ー長を示すQ[i]にATMセル長(53バイト)を加
える(F102)。次に、当該PID[i]グループが
既にスケジューリングリストに登録されていなければ
(F103)、スケジューリングリストの末尾に登録す
ると同時にDC[i]値を0にクリアする(F10
4)。最後に該当するバッファ[i]に到着したATM
セルを格納する(F105)。また、当該PID[i]
グループが既にスケジューリングリストに登録されてい
れば、到着したATMセルをバッファ[i]に格納す
る。
(Packet Input) The operation when a packet arrives will be described with reference to FIG. When an ATM cell arrives (F101), the ATM cell length (53 bytes) is added to Q [i] indicating the queue length of the buffer of the corresponding PID [i] (F102). Next, if the PID [i] group is not already registered in the scheduling list (F103), it is registered at the end of the scheduling list and the DC [i] value is cleared to 0 (F10).
4). ATM arriving at the last corresponding buffer [i]
The cell is stored (F105). Also, the PID [i]
If the group is already registered in the scheduling list, the arriving ATM cell is stored in the buffer [i].

【0028】(パケット出力)パケット送信時の動作を
図3を参照して説明する。スケジューリングリストの先
頭にリストされているPID[i]グループのバッファ
情報を読み込んで(F202)、当該PID[i]グル
ープのキュー長[i]がMPEG2−TSのペイロード
長(184バイト)に達しているときは(F203)、
保証帯域に比例したユーザ固有のウェイト値[i]をD
C[i]値に加える(F204)。そして、DC[i]
値をもとにパケットの送出可否の判断をして(F20
5)、送出を認められたバッファ[i]から1MPEG
2−TSパケットを送出する(F206)。DC[i]
値により送出が認められなかった場合は、スケジューリ
ングリストの末尾に登録し直し(F208)、次に登録
されているPID[i]グループに対して同じ処理を行
う。
(Packet Output) The operation at the time of packet transmission will be described with reference to FIG. The buffer information of the PID [i] group listed at the head of the scheduling list is read (F202), and the queue length [i] of the PID [i] group reaches the payload length (184 bytes) of MPEG2-TS. When you are (F203),
The user-specific weight value [i] proportional to the guaranteed bandwidth is D
The value is added to the C [i] value (F204). And DC [i]
It is determined whether the packet can be transmitted based on the value (F20).
5), 1 MPEG from buffer [i] approved to be sent
2- Send a TS packet (F206). DC [i]
If the transmission is not permitted by the value, it is registered again at the end of the scheduling list (F208), and the same processing is performed for the next registered PID [i] group.

【0029】キュー長[i]がMPEG2−TSパケッ
ト長に達していないときは、DC[i]値がキュー長
[i]に達していない場合にのみ、DC[i]値にユー
ザ固有のウェイト値[i]を加える(F210)。そし
てスケジューリングリストの末尾に登録し直す(F20
8)。
When the queue length [i] does not reach the MPEG2-TS packet length, the user-specific weight is added to the DC [i] value only when the DC [i] value does not reach the queue length [i]. The value [i] is added (F210). Then, it is registered again at the end of the scheduling list (F20
8).

【0030】送信後は、キュー長[i]およびDC
[i]値からMPEG2−TSパケット長である184
を引いて(F207)、1MPEG2−TSパケット分
のデータを送信したことで当該PID[i]グループの
バッファ[i]が空になったかどうか確認する。バッフ
ァ[i]が空のときは、スケジューリングリストから登
録を削除する。
After transmission, the queue length [i] and DC
[I] 184 which is the MPEG2-TS packet length from the value
(F207), it is confirmed whether or not the buffer [i] of the PID [i] group becomes empty due to the transmission of the data of one MPEG2-TS packet. When the buffer [i] is empty, the registration is deleted from the scheduling list.

【0031】(第二実施例)本発明第二実施例を図4な
いし図6を参照して説明する。図5は本実施例のパケッ
ト到着時の動作を示すフローチャートである。図6は本
実施例のパケット送信時の動作を示すフローチャートで
ある。本実施例では、パケット多重化装置への入力パケ
ットがATMセルであり、出力パケットがMPEG2−
TSパケットであり、Deficit Round Robinスケジュー
リング法(DRR法)に、入力パケットのトラヒックに
応じて出力パケットを制御する機能とともに入力パケッ
トが最終パケットであるか否かに応じて出力パケットを
制御する機能を組み込んだ場合を示す。DRR法におい
ては、スケジューリングリストによって処理すべきキュ
ーの順番が管理されており、リストの先頭にあるキュー
の送信可否について判断を行い、送信可の場合には該当
キューからパケットを送信し、該当キューにパケットが
残っている場合にはスケジューリングリストの末尾に再
び登録する。
(Second Embodiment) A second embodiment of the present invention will be described with reference to FIGS. FIG. 5 is a flowchart showing the operation of the present embodiment when a packet arrives. FIG. 6 is a flowchart showing the operation at the time of transmitting a packet according to the present embodiment. In this embodiment, the input packet to the packet multiplexer is an ATM cell, and the output packet is MPEG2-
A TS packet, which has a function of controlling an output packet according to the traffic of the input packet and a function of controlling the output packet according to whether or not the input packet is the last packet according to the Definit Round Robin scheduling method (DRR method). Shows the case where it is incorporated. In the DRR method, the order of queues to be processed is managed by a scheduling list, a determination is made as to whether the queue at the head of the list can be transmitted, and if transmission is possible, a packet is transmitted from the queue and the queue is transmitted. If a packet remains in the scheduling list, it is registered again at the end of the scheduling list.

【0032】図4において、VPI/VCI識別部B1
1は、到着したATMセルのVPI/VCIを識別し
て、該当するバッファB15〜B15にATMセル
のまま格納する。EOP識別部B22は、到着したAT
MセルがEOPセルであるかどうかを識別してEOPセ
ルであれば、該当するバッファ内に最終セル(EOPセ
ル)が含まれていることを記録する。バッファB15
〜B15はMPEG2−TSパケットの識別子PID
(Packet Identification)毎に用意され、バッファリン
グされているATMセルをMPEG2−TSパケットに
詰め込む際は、同一のバッファB15〜B15から
行う。
In FIG. 4, a VPI / VCI identification unit B1 is provided.
1, identifying the VPI / VCI of the arriving ATM cells, stores remain ATM cells to the appropriate buffer B15 1 ~B15 n. The EOP identification unit B22 sends the arriving AT
If the M cell is an EOP cell by identifying whether it is an EOP cell or not, the fact that the last buffer (EOP cell) is included in the corresponding buffer is recorded. Buffer B15 1
~ B15 n is the identifier PID of the MPEG2-TS packet
Prepared in the (Packet for the Identification) each, when packing the ATM cells are buffered in MPEG2-TS packets is performed from the same buffer B15 1 ~B15 n.

【0033】本実施例のパケット多重化方式では、キュ
ー長読取部B13は、ATMセルの到着もしくはMPE
G2−TSパケット送出によってキュー長が変化したと
きに、該当するバッファ内のキュー長を確認する。情報
管理部B12は、ATMセルが到着するとスケジューリ
ングリストの末尾に登録する。スケジューリングリスト
の先頭に登録されているバッファ内のキュー長がMPE
G2−TSパケット長を満たしている場合に送信権を与
える。このような条件を満たさない場合でも、バッファ
内にEOPセルが含まれている場合に送信権を与える。
制御部B14は、情報管理部B12において送信権を与
えられたバッファB15からの送信を制御する。
In the packet multiplexing method according to the present embodiment, the queue length reading unit B13 detects the arrival of an ATM cell or the MPE.
When the queue length changes due to transmission of the G2-TS packet, the queue length in the corresponding buffer is checked. When the ATM cell arrives, the information management unit B12 registers it at the end of the scheduling list. The queue length in the buffer registered at the top of the scheduling list is MPE
A transmission right is given when the G2-TS packet length is satisfied. Even when such a condition is not satisfied, a transmission right is given when an EOP cell is included in the buffer.
Control unit B14 controls the transmission from the buffer B15 i given a transmission right in the information management unit B12.

【0034】本実施例ではDRR法をもとにして本発明
の機能を説明したが、他のスケジューリング法において
も本発明の機能を組み込むことにより同様の効果を得る
ことができる。
In this embodiment, the functions of the present invention have been described based on the DRR method. However, similar effects can be obtained by incorporating the functions of the present invention in other scheduling methods.

【0035】次に、本発明第二実施例の動作を(初期
化)(パケット入力)(パケット出力)に分けてさらに
詳細に説明する。
Next, the operation of the second embodiment of the present invention will be described in more detail with respect to (initialization) (packet input) (packet output).

【0036】(初期化)バッファ毎のパラメータとし
て、キュー長をバイト単位で示すQ[i]と、DRR法
における送信権が与えられたときに送信可能量を示すD
C[i]を用意して、それぞれを初期化(0クリア)す
る。
(Initialization) As parameters for each buffer, Q [i] indicating the queue length in bytes and D indicating the transmittable amount when the transmission right in the DRR method is given.
C [i] is prepared, and each is initialized (cleared to 0).

【0037】(パケット入力)パケット到着時の動作を
図5を参照して説明する。ATMセルが到着したとき
(F301)、該当するPID[i]のバッファ[i]
のキュー長を示すQ[i]にATMセル長(53バイ
ト)を加える(F302)。このとき、到着したATM
セルにより新しくMPEG2−TSパケットが生成され
たならば(F303)、EOP識別フラグ[i]を下げ
る(F304)。
(Packet Input) The operation when a packet arrives will be described with reference to FIG. When the ATM cell arrives (F301), the buffer [i] of the corresponding PID [i]
The ATM cell length (53 bytes) is added to Q [i] indicating the queue length of (F302). At this time, the ATM that arrived
If a new MPEG2-TS packet is generated by the cell (F303), the EOP identification flag [i] is lowered (F304).

【0038】次に、当該PID[i]グループがスケジ
ューリングリストに登録されていなければ(F30
5)、スケジューリングリストの末尾に登録すると同時
にDC[i]値を0にクリアする(F306)。また到
着したATMセルがEOPセルの場合は(F307)、
EOP識別フラグ[i]を立てる(F308)。最後に
該当するバッファ[i]に到着したATMセルを格納す
る(F309)。
Next, if the PID [i] group is not registered in the scheduling list (F30
5) At the same time as registering at the end of the scheduling list, the DC [i] value is cleared to 0 (F306). If the arrived ATM cell is an EOP cell (F307),
The EOP identification flag [i] is set (F308). Finally, the ATM cell arriving at the corresponding buffer [i] is stored (F309).

【0039】(パケット出力)パケット送信時の動作を
図6を参照して説明する。スケジューリングリストの先
頭のPID[i]グループのバッファ情報を読み込んで
(F402)、当該PID[i]グループのキュー長
[i]がMPEG2−TSのペイロード長(184バイ
ト)に達しているとき(F403)、もしくはEOP識
別フラグ[i]が立っているときは(F404)、保証
帯域に比例したユーザ固有のウェイト値[i]をDC
[i]値に加える(F405)。
(Packet Output) The operation at the time of packet transmission will be described with reference to FIG. The buffer information of the PID [i] group at the head of the scheduling list is read (F402), and the queue length [i] of the PID [i] group has reached the payload length (184 bytes) of MPEG2-TS (F403). ) Or when the EOP identification flag [i] is set (F404), the user-specific weight value [i] proportional to the guaranteed bandwidth is set to DC.
[I] is added to the value (F405).

【0040】次に、DC[i]値をもとにパケットの送
出可否の判断をして(F406)、送出を認められたバ
ッファ[i]から1MPEG2−TSパケットを送出す
る(F407)。DC[i]値により送出が認められな
かった場合は、スケジューリングリストの末尾に登録し
直し(F409)、スケジューリングリストの次にリス
トされているPID[i]グループに対して同じ処理を
行う。
Next, it is determined whether the packet can be transmitted based on the DC [i] value (F406), and a 1 MPEG2-TS packet is transmitted from the buffer [i] whose transmission has been recognized (F407). If the transmission is not permitted due to the DC [i] value, it is registered again at the end of the scheduling list (F409), and the same processing is performed for the PID [i] group listed next to the scheduling list.

【0041】キュー長[i]がMPEG2−TSパケッ
ト長に達せずに、しかもキュー[i]にEOPセルが含
まれていないときは、DC[i]値がキュー長[i]に
達していない場合にのみDC[i]値にユーザ固有のウ
ェイト値[i]を足す(F411)。そしてスケジュー
リングリストの末尾に登録し直す(F409)。
When the queue length [i] does not reach the MPEG2-TS packet length and the queue [i] does not include an EOP cell, the DC [i] value does not reach the queue length [i]. Only in this case, the user-specific weight value [i] is added to the DC [i] value (F411). Then, it is registered again at the end of the scheduling list (F409).

【0042】送信後は、キュー長[i]およびDC
[i]値からMPEG2−TSパケット長である184
を引いて(F408)、1MPEG2−TSパケット分
のデータを送信したことで当該PID[i]グループの
バッファ[i]が空になったかどうか確認する。バッフ
ァ[i]が空のときは、スケジューリングリストから登
録を削除する。
After transmission, the queue length [i] and DC
[I] 184 which is the MPEG2-TS packet length from the value
(F408), and confirms whether the buffer [i] of the PID [i] group becomes empty due to the transmission of the data of one MPEG2-TS packet. When the buffer [i] is empty, the registration is deleted from the scheduling list.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
入力パケットのトラヒック状況および格納された情報の
内容に応じて入力パケットから出力パケットに変換を行
うことにより、出力帯域が最適となるようにアダプティ
ブな帯域の割当てを可能とし、統計多重効果を高めるこ
とができる。また、パケットの転送遅延時間を少なくす
ることができる。
As described above, according to the present invention,
By converting an input packet into an output packet in accordance with the traffic situation of the input packet and the content of the stored information, it is possible to allocate an adaptive band so that the output band is optimized, and to enhance the statistical multiplexing effect. Can be. Further, the packet transfer delay time can be reduced.

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

【図1】本発明第一実施例のパケット多重化装置の要部
ブロック構成図。
FIG. 1 is a block diagram of a main part of a packet multiplexer according to a first embodiment of the present invention.

【図2】本発明第一実施例のパケット到着時の動作を示
すフローチャート。
FIG. 2 is a flowchart showing an operation when a packet arrives according to the first embodiment of the present invention.

【図3】本発明第一実施例のパケット出力時の動作を示
すフローチャート。
FIG. 3 is a flowchart showing an operation at the time of outputting a packet according to the first embodiment of the present invention.

【図4】本発明第二実施例のパケット多重化装置の要部
ブロック構成図。
FIG. 4 is a block diagram of a main part of a packet multiplexer according to a second embodiment of the present invention.

【図5】本発明第二実施例のパケット到着時の動作を示
すフローチャート。
FIG. 5 is a flowchart showing an operation when a packet arrives according to the second embodiment of the present invention.

【図6】本発明第二実施例のパケット出力時の動作を示
すフローチャート。
FIG. 6 is a flowchart showing an operation at the time of outputting a packet according to the second embodiment of the present invention.

【図7】従来のパケット多重化装置の要部ブロック構成
図。
FIG. 7 is a block diagram of a main part of a conventional packet multiplexer.

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

B11 VPI/VCI識別部 B12 情報管理部 B13 キュー長読取部 B14 制御部 B15〜B15 バッファ B22 EOP識別部 I〜I 入力ポート O 出力ポートB11 VPI / VCI identification unit B12 information management unit B13 queue length reader B14 controller B15 1 ~B15 n buffer B22 EOP identification section I 1 ~I n input ports O output port

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中山 正芳 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 大津 徹 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5K030 GA02 HA08 JA01 KA19 KX12 MA14 MB15  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Masayoshi Nakayama 2-3-1 Otemachi, Chiyoda-ku, Tokyo Nippon Telegraph and Telephone Corporation (72) Inventor Tohru Otsu 2-3-1, Otemachi, Chiyoda-ku, Tokyo No. 1 F-term in Nippon Telegraph and Telephone Corporation (reference) 5K030 GA02 HA08 JA01 KA19 KX12 MA14 MB15

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の入力ポートと、一つの出力ポート
とを備え、この入力ポートに到着する入力パケットをパ
ケットの長さが固定の出力パケットに多重する手段を備
えたパケット多重化装置において、 出力パケットのパケット識別子毎にバッファが設けら
れ、このバッファに前記識別子にしたがって入力パケッ
トを振り分け蓄積する手段と、 前記バッファに蓄積された入力パケットのデータ量を測
定する手段と、 蓄積された入力パケットのデータ量が出力パケットのパ
ケット長に対応した閾値に達したバッファ内の入力パケ
ットを優先的に多重し出力パケットとして出力する手段
とを備えたことを特徴とするパケット多重化装置。
1. A packet multiplexing apparatus comprising: a plurality of input ports; and an output port, wherein the packet multiplexing apparatus includes means for multiplexing an input packet arriving at the input port into an output packet having a fixed packet length. A buffer is provided for each packet identifier of the output packet, means for sorting and storing input packets in the buffer according to the identifier, means for measuring the data amount of input packets stored in the buffer, and stored input packets. Means for preferentially multiplexing input packets in a buffer whose data amount has reached a threshold value corresponding to the packet length of output packets, and outputting the multiplexed packets as output packets.
【請求項2】 一つのパケットが複数の入力パケットに
分割されて転送されるときに、 前記一つのパケットの最終パケットが到着したバッファ
については、前記閾値にかかわらず当該パケットの到着
したバッファ内の入力パケットを優先的に多重し出力パ
ケットとして出力する手段を備えた請求項1記載のパケ
ット多重化装置。
2. When one packet is divided into a plurality of input packets and transferred, regarding a buffer in which the last packet of the one packet has arrived, regardless of the threshold value, 2. The packet multiplexing apparatus according to claim 1, further comprising means for multiplexing input packets with priority and outputting the multiplexed packets as output packets.
JP2000039856A 2000-02-17 2000-02-17 Packet multiplexer Expired - Fee Related JP3590751B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000039856A JP3590751B2 (en) 2000-02-17 2000-02-17 Packet multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000039856A JP3590751B2 (en) 2000-02-17 2000-02-17 Packet multiplexer

Publications (2)

Publication Number Publication Date
JP2001230804A true JP2001230804A (en) 2001-08-24
JP3590751B2 JP3590751B2 (en) 2004-11-17

Family

ID=18563359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000039856A Expired - Fee Related JP3590751B2 (en) 2000-02-17 2000-02-17 Packet multiplexer

Country Status (1)

Country Link
JP (1) JP3590751B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007251653A (en) * 2006-03-16 2007-09-27 Sony Corp Communications device, transmission control method, and transmission control program
JP2015186154A (en) * 2014-03-25 2015-10-22 キヤノン株式会社 Communication device, control method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007251653A (en) * 2006-03-16 2007-09-27 Sony Corp Communications device, transmission control method, and transmission control program
US7924721B2 (en) 2006-03-16 2011-04-12 Sony Corporation Communication apparatus, transmission control method, and transmission control program
JP2015186154A (en) * 2014-03-25 2015-10-22 キヤノン株式会社 Communication device, control method and program

Also Published As

Publication number Publication date
JP3590751B2 (en) 2004-11-17

Similar Documents

Publication Publication Date Title
US6785236B1 (en) Packet transmission scheduling with threshold based backpressure mechanism
US6343066B2 (en) Non-consecutive data readout scheduler
US6011775A (en) Method and apparatus for integrated traffic shaping in a packet-switched network
US6377546B1 (en) Rate guarantees through buffer management
US6661802B1 (en) Congestion management
US5790522A (en) Method and system for performing traffic congestion control in a data communication network
US6795870B1 (en) Method and system for network processor scheduler
US8971345B1 (en) Method and apparatus for scheduling a heterogeneous communication flow
US7245586B2 (en) Buffer management based on buffer sharing across ports and per-port minimum buffer guarantee
US8259738B2 (en) Channel service manager with priority queuing
US9686209B1 (en) Method and apparatus for storing packets in a network device
US9077466B2 (en) Methods and apparatus for transmission of groups of cells via a switch fabric
US7620693B1 (en) System and method for tracking infiniband RDMA read responses
US20030112817A1 (en) Methods and apparatus for differentiated services over a packet-based network
US20040001493A1 (en) Method and apparatus for queuing data flows
US20020147829A1 (en) Method and system for traffic control
JP2004266389A (en) Packet transfer control method and packet transfer control circuit
US6246687B1 (en) Network switching system supporting guaranteed data rates
US8199764B2 (en) Scalable approach to large scale queuing through dynamic resource allocation
US7342934B1 (en) System and method for interleaving infiniband sends and RDMA read responses in a single receive queue
JP2001230804A (en) Packet multiplexer
HUP0203928A2 (en) Method and system for controlling transmission of packets in computer networks
JP3416156B2 (en) Method and circuit arrangement for transmitting information cells via virtual connections of different priorities
US7133932B2 (en) Scheduling system using packet FIFOs and cell FIFOs for converting IP packets to ATM cells
US20070263542A1 (en) Method for Transmitting Data Available in the Form of Data Packets

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040511

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040727

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040803

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040817

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040823

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees