JPH11308229A - Cell scheduling method - Google Patents

Cell scheduling method

Info

Publication number
JPH11308229A
JPH11308229A JP11057698A JP11057698A JPH11308229A JP H11308229 A JPH11308229 A JP H11308229A JP 11057698 A JP11057698 A JP 11057698A JP 11057698 A JP11057698 A JP 11057698A JP H11308229 A JPH11308229 A JP H11308229A
Authority
JP
Japan
Prior art keywords
cell
virtual channel
queue
channel identifier
shaping
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
JP11057698A
Other languages
Japanese (ja)
Inventor
Hiroyuki Fujii
裕順 藤井
Muneyoshi Suzuki
宗良 鈴木
Takakazu Oda
孝和 小田
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 JP11057698A priority Critical patent/JPH11308229A/en
Publication of JPH11308229A publication Critical patent/JPH11308229A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to guarantee a virtual; channel which requires transmission for a specific period by taking out a virtual channel identifier from the head of a scheduling queue of shaping non-correspondence and transmitting its cells when the virtual channel identifier is empty, or the queue length is zero even through the identifier is valid. SOLUTION: When a value 19 of a virtual channel identifier taken out of a shaping correspondence scheduling queue 15 is empty or the queue length is equal to zero even if it is valid, a scheduling part 17 takes out the identifier of the virtual channel from a head of a shaping non-correspondence scheduling queue 16 after inserting the identifier into a final part of the shaping correspondence scheduling queue 15. Then, the scheduling part 17 transmits the value of the virtual channel identifier to a cell transmission part 12. The transmission part 12 transmits a leading cell of a cell queue corresponding to the virtual channel identifier to a communication network.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ATMスイッチに
おける、固定長パケット(セル)のスケジューリング方
法に関するものであり、特に一定周期でのセル送出(シ
ェーピング)を必要とするバーチャルチャネルに対して
確実にシェーピングを施し、一定周期でのセル送出を可
能にするセルスケジューリング方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for scheduling fixed-length packets (cells) in an ATM switch, and more particularly, to a method for reliably transmitting a virtual channel that requires cell transmission (shaping) at a fixed period. The present invention relates to a cell scheduling method that performs shaping and enables cell transmission at a constant period.

【0002】[0002]

【従来の技術】従来、この種のセルスケジューリング方
法としては、キュー長を用いる方法がある。以下、図5
を用いて、この方法の動作について説明する。
2. Description of the Related Art Conventionally, as this kind of cell scheduling method, there is a method using a queue length. Hereinafter, FIG.
The operation of this method will be described with reference to FIG.

【0003】図5において、51はセル受信部、52はセル
送信部、53a、53b、53cはバーチャルチャネル毎に設
けられたセルキュー、54はバーチャルチャネルのキュー
長と重みとを比較する重み比較部、55はバーチャルチャ
ネル間のセル送出順を管理するスケジューリングキュ
ー、56はスケジューリングキュー55の先頭からバーチャ
ルチャネル識別子を取出してその値をセル送信部52に伝
えるスケジューリング部、57は各バーチャルチャネルの
重みとキュー長とを管理する重み比較テーブルである。
In FIG. 5, reference numeral 51 denotes a cell receiving section; 52, a cell transmitting section; 53a, 53b, 53c, cell queues provided for each virtual channel; and 54, a weight comparing section for comparing the queue length and weight of the virtual channel. , 55 is a scheduling queue for managing the order of cell transmission between virtual channels, 56 is a scheduling unit for extracting a virtual channel identifier from the head of the scheduling queue 55 and transmitting the value to the cell transmission unit 52, and 57 is a weight for each virtual channel. 9 is a weight comparison table for managing queue lengths.

【0004】セル受信部51は、通信網からセルを受信す
ると、そのセルのバーチャルチャネル識別子に対応する
セルキュー(例えば53a)にセルを入力する。その後、
セル受信部51は、重み比較部54にそのバーチャルチャネ
ル識別子を伝える。バーチャルチャネル識別子を受信し
た重み比較部54は、重み比較テーブル57内のキュー長の
値を1増やした後キュー長と重みの値とを比較し、(キ
ュー長)≦(重みの値)であればスケジューリングキュ
ー55にそのバーチャルチャネル識別子を入力する。
When receiving a cell from the communication network, the cell receiving section 51 inputs the cell to a cell queue (for example, 53a) corresponding to the virtual channel identifier of the cell. afterwards,
The cell receiving unit 51 transmits the virtual channel identifier to the weight comparing unit 54. After receiving the virtual channel identifier, the weight comparing unit 54 increases the queue length value in the weight comparison table 57 by 1, compares the queue length with the weight value, and if (queue length) ≦ (weight value). For example, the virtual channel identifier is input to the scheduling queue 55.

【0005】セルの出力に際しては、スケジューリング
部56は、スケジューリングキュー55の先頭からバーチャ
ルチャネル識別子を1個取出し、その値をセル送信部52
に伝える。セル送信部52は、そのバーチャルチャネル識
別子に対応するセルキュー(例えば53a)の先頭セルを
通信網に送出する。この時、スケジューリング部56は、
セル送出処理と並行してそのバーチャルチャネル識別子
の値を重み比較部54に伝え、バーチャルチャネル識別子
を受信した重み比較部54は、重み比較テーブル57内のキ
ュー長の値を1減らす。その後、重み比較部54は、キュ
ー長と重みの値とを比較し、(キュー長)≧(重みの
値)であればそのバーチャルチャネル識別子を再びスケ
ジューリングキュー55に入力する。
To output a cell, the scheduling unit 56 extracts one virtual channel identifier from the head of the scheduling queue 55 and outputs the value to the cell transmitting unit 52.
Tell The cell transmission unit 52 sends the head cell of the cell queue (for example, 53a) corresponding to the virtual channel identifier to the communication network. At this time, the scheduling unit 56
In parallel with the cell transmission processing, the value of the virtual channel identifier is transmitted to the weight comparing unit 54, and the weight comparing unit 54, which has received the virtual channel identifier, reduces the value of the queue length in the weight comparing table 57 by one. Thereafter, the weight comparing unit 54 compares the queue length with the value of the weight, and if (queue length) ≧ (value of the weight), inputs the virtual channel identifier to the scheduling queue 55 again.

【0006】このような従来のキュー長を用いたセルス
ケジューリング方法は、一定周期でのセル送出(シェー
ピング)を必要とするバーチャルチャネルが存在する場
合、そのようなバーチャルチャネルに対し、必ずしも一
定周期でのセルの送出を保証できないという問題があ
る。その例を図6を用いて説明する。
In such a conventional cell scheduling method using a queue length, when there is a virtual channel that requires cell transmission (shaping) at a constant period, such a virtual channel is not necessarily allocated at a constant period. Is not guaranteed. An example will be described with reference to FIG.

【0007】図6において、重み1及びシェーピング1
のバーチャルチャネル#1、並びに、重み2及びシェーピ
ング0のバーチャルチャネル#2があり、セル送出レート
は3とし、バーチャルチャネル#1では一定周期でセルが
送出されることが望まれているものとする。(a) は時
刻、(b) バーチャルチャネル#1のセル到着の様子、(c)
はバーチャルチャネル#2のセル到着の様子、(d) はセル
送出の様子をそれぞれ示す。セル送出の様子(d) には、
バーチャルチャネル#1のセルが、バースト的に到着する
バーチャルチャネル#2のセルの影響を受けて一定周期で
送出されていないことが示されている。
In FIG. 6, weight 1 and shaping 1
Virtual channel # 1 and virtual channel # 2 of weight 2 and shaping 0, the cell transmission rate is 3, and it is desired that cells are transmitted at a constant period in virtual channel # 1. . (a) Time, (b) Cell arrival state of virtual channel # 1, (c)
Shows the state of cell arrival of virtual channel # 2, and (d) shows the state of cell transmission. In the state of cell transmission (d),
It is shown that the cells of the virtual channel # 1 are not transmitted at a fixed period due to the influence of the cells of the virtual channel # 2 arriving in a burst.

【0008】[0008]

【発明が解決しようとする課題】本発明の目的は、一定
周期でのセル送出を必要とするバーチャルチャネルに対
して、それを保証することができるセルスケジューリン
グ方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a cell scheduling method capable of guaranteeing a virtual channel that requires cell transmission at a constant period.

【0009】[0009]

【課題を解決するための手段】本発明のセルスケジュー
リング方法は、上記の目的を達成するため、シェーピン
グを必要とするバーチャルチャネルについて、そのバー
チャルチャネルの識別子の値を予めシェーピング対応ス
ケジューリングキューに格納するステップ、セル受信時
に、重み比較テーブル内のキュー長の値を1増やした
後、受信セルがシェーピングを施すべきバーチャルチャ
ネルに属するか否かを判断するステップ、受信セルがシ
ェーピングを施すべきバーチャルチャネルに属する場合
はその時点で処理を終了するステップ、受信セルがシェ
ーピングを施すべきバーチャルチャネルに属さない場合
は、セルキューのキュー長とそのバーチャルチャネルの
重みの値とを比較し、キュー長が重みの値以下の場合に
バーチャルチャネル識別子の値をシェーピング非対応ス
ケジューリングキューに挿入するステップ、セル送出時
に、シェーピング対応スケジューリングキューの先頭か
らバーチャルチャネル識別子を取出し、そのバーチャル
チャネル識別子が有効且つそのバーチャルチャネル識別
子に対応するセルキューにセルが1個以上蓄積されてい
る場合に、そのバーチャルチャネルのセルを送信するス
テップ、及び、前記シェーピング対応スケジューリング
キューから取出したバーチャルチャネル識別子が空であ
るか又はそのバーチャルチャネル識別子が有効であって
もキュー長が零である場合は、シェーピング非対応スケ
ジューリングキューの先頭からバーチャルチャネル識別
子を取出し、そのバーチャルチャネル識別子のセルを送
信するステップを具えることを特徴とする。
In order to achieve the above object, the cell scheduling method of the present invention stores, for a virtual channel requiring shaping, the value of the identifier of the virtual channel in a shaping-compatible scheduling queue in advance. Step: upon receiving a cell, increasing the value of the queue length in the weight comparison table by 1, and then determining whether the received cell belongs to a virtual channel to be shaped, and determining whether the received cell belongs to a virtual channel to be shaped. If it belongs, the step ends the processing at that point.If the received cell does not belong to the virtual channel to be shaped, the queue length of the cell queue is compared with the weight value of the virtual channel, and the queue length is the weight value. Virtual channel if Inserting the value of the discriminator into the non-shaping-capable scheduling queue; extracting a virtual channel identifier from the head of the shaping-compatible scheduling queue at the time of sending out the cell; Transmitting one or more cells of the virtual channel if one or more are accumulated, and queuing even if the virtual channel identifier extracted from the shaping-capable scheduling queue is empty or the virtual channel identifier is valid; If the length is zero, extracting a virtual channel identifier from the head of the non-shaping-capable scheduling queue and transmitting a cell of the virtual channel identifier. That.

【0010】このような本発明のセルスケジューリング
方法においては、前記シェーピングを必要とするバーチ
ャルチャネルについてそのバーチャルチャネルの識別子
の値を予めシェーピング対応スケジューリングキューに
格納するステップが、前記バーチャルチャネルの重みの
値を基に、バーチャルチャネル識別子の挿入間隔を算出
するステップ、算出された挿入間隔でシェーピング対応
スケジューリングキューにバーチャルチャネル識別子を
格納するステップ、及び、格納すべきバーチャルチャネ
ル識別子がない場合、シェーピング対応スケジューリン
グキュー内に「空」を示す情報を挿入するステップを具
えることができる。
In the cell scheduling method according to the present invention, the step of storing in advance the identifier value of the virtual channel for the virtual channel requiring shaping in the shaping-compatible scheduling queue comprises the step of: Calculating the virtual channel identifier insertion interval based on the calculated insertion interval, storing the virtual channel identifier in the shaping corresponding scheduling queue at the calculated insertion interval, and, if there is no virtual channel identifier to be stored, the shaping corresponding scheduling queue Inserting information indicating "empty" into the information.

【0011】また、本発明のセルスケジューリング方法
においては、前記セル送出時に、シェーピング対応スケ
ジューリングキューからバーチャルチャネル識別子を取
出し、そのバーチャルチャネル識別子が有効且つバーチ
ャルチャネル識別子に対応するセルキューにセルが1個
以上蓄積されている場合に、そのバーチャルチャネルの
セルを送信するステップが、取出したバーチャルチャネ
ル識別子に対応するセルキューの先頭セルを通信網に送
出した後、セルキュー長を管理する重み比較テーブル内
のキュー長の値を1減らすステップ、及び、取出したバ
ーチャルチャネル識別子を再びシェーピング対応スケジ
ューリングキューの最後尾に挿入するステップを含み、
前記セル送出時に、シェーピング対応スケジューリング
キューから取出したバーチャルチャネル識別子が「空」
であるか又はバーチャルチャネル識別子が有効であって
もキュー長が零である場合に、シェーピング非対応スケ
ジューリングキューの先頭からバーチャルチャネル識別
子を取出し、そのバーチャルチャネル識別子のセルを送
信するステップが、取出したバーチャルチャネル識別子
に対応するセルキューの先頭セルを通信網に送出した
後、セルキュー長を管理する重み比較テーブル内のその
キュー長の値を1減らすステップ、及び、セルキューの
キュー長と重みの値とを比較し、キュー長が重みの値以
上の場合にバーチャルチャネル識別子を再びシェーピン
グ非対応スケジューリングキューに挿入するステップを
具えることができる。
In the cell scheduling method of the present invention, at the time of transmitting the cell, a virtual channel identifier is taken out of a shaping-compatible scheduling queue, and one or more cells are stored in a cell queue in which the virtual channel identifier is valid and corresponds to the virtual channel identifier. When the cell is stored, the step of transmitting the cell of the virtual channel includes, after transmitting the head cell of the cell queue corresponding to the extracted virtual channel identifier to the communication network, the queue length in the weight comparison table for managing the cell queue length. And inserting the extracted virtual channel identifier into the end of the shaping-capable scheduling queue again,
At the time of transmitting the cell, the virtual channel identifier taken out of the scheduling queue corresponding to shaping is “empty”.
Or if the queue length is zero even though the virtual channel identifier is valid, the step of taking out the virtual channel identifier from the head of the shaping non-corresponding scheduling queue and transmitting the cell of that virtual channel identifier takes place After transmitting the head cell of the cell queue corresponding to the virtual channel identifier to the communication network, reducing the value of the queue length in the weight comparison table for managing the cell queue length by 1; And, if the queue length is greater than or equal to the weight value, inserting the virtual channel identifier into the non-shaping-capable scheduling queue again.

【0012】このような本発明のセルスケジューリング
方法によれば、シェーピング対応スケジューリングキュ
ーを用いることにより、一定周期でのセル送出を必要と
するバーチャルチャネルに対し、確実にシェーピングを
施し、他のバーチャルチャネルに到着するセルの影響を
受けることなく、常に一定周期でセルを送出することが
できる。本発明の方法によるセル送出の様子は、図6の
例では(e) に示すようになる。本発明によりシェーピン
グを施された送出セルは、隣接のスイッチ、端末等の通
信装置に申告値通りのトラヒック形状で到着することが
できる。その結果、隣接の通信装置でのセルの廃棄確率
を小さくすることができ、また、周期的なセル到着を要
求するアプリケーションに対して、セル揺らぎ、セル廃
棄等に起因する品質の劣化を抑えることができる。
According to such a cell scheduling method of the present invention, by using the scheduling queue corresponding to shaping, it is possible to reliably perform shaping on a virtual channel that requires cell transmission at a fixed period, and to use other virtual channels. Cells can always be sent out at a fixed period without being affected by cells arriving at the cell. The state of cell transmission according to the method of the present invention is as shown in FIG. A transmission cell shaped according to the present invention can arrive at a communication device such as an adjacent switch or terminal in a traffic shape according to a declared value. As a result, it is possible to reduce the probability of cell discard in an adjacent communication device, and to suppress quality deterioration due to cell fluctuation, cell discard, and the like for applications that require periodic cell arrival. Can be.

【0013】[0013]

【発明の実施の形態】次に図面を用いて本発明の実施例
を説明する。図1は本発明の実施例を説明する図であ
り、11はセル受信部、12はセル送信部、13a、13b、13
cはバーチャルチャネル毎に設けられたセルキュー、14
はバーチャルチャネルのキュー長と重みとを比較する重
み比較部、15はシェーピングが必要とされるバーチャル
チャネルのセル送出順を管理するシェーピング対応スケ
ジューリングキュー、16はシェーピングが必要とされな
いバーチャルチャネルのセル送出順を管理するシェーピ
ング非対応スケジューリングキュー、17はスケジューリ
ングキュー15又は16の先頭からバーチャルチャネル識別
子を取出してその値をセル送信部12に伝えるスケジュー
リング部、18は各バーチャルチャネルの重みとキュー長
とを管理する重み比較テーブルである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram for explaining an embodiment of the present invention, in which 11 is a cell receiving unit, 12 is a cell transmitting unit, 13a, 13b, 13
c is a cell queue provided for each virtual channel, 14
Is a weight comparison unit that compares the queue length and weight of the virtual channel, 15 is a shaping-capable scheduling queue that manages the order of cell transmission of virtual channels that require shaping, and 16 is cell transmission of virtual channels that do not require shaping. Scheduling non-corresponding scheduling queue for managing the order, 17 is a scheduling unit that extracts a virtual channel identifier from the head of the scheduling queue 15 or 16 and transmits the value to the cell transmitting unit 12, and 18 is a weight and queue length of each virtual channel. It is a weight comparison table to be managed.

【0014】このような構成において本発明のシェーピ
ングを考慮したセルスケジューリング方法の動作を、図
2、3及び4のフローチャートを併用して説明する。先
ず、動作を実行する前に、シェーピングを必要とするバ
ーチャルチャネルについて、そのバーチャルチャネルの
重みに基づいてバーチャルチャネル識別子の挿入間隔を
算出する(ステップ21)。次に、算出した挿入間隔に基
づいて、そのバーチャルチャネル識別子19の値をシェー
ピング対応スケジューリングキュー15内に格納する(ス
テップ22)。
The operation of the cell scheduling method according to the present invention in consideration of the shaping in such a configuration will be described with reference to the flowcharts of FIGS. First, before executing the operation, for a virtual channel requiring shaping, an insertion interval of a virtual channel identifier is calculated based on the weight of the virtual channel (step 21). Next, based on the calculated insertion interval, the value of the virtual channel identifier 19 is stored in the shaping corresponding scheduling queue 15 (step 22).

【0015】セル受信部11が通信網からセルを受信する
と、そのセルのバーチャルチャネル識別子に対応するセ
ルキュー(例えば13a)にセルを蓄積する(ステップ3
1)。その後、セル受信部11が重み比較部14にそのバー
チャルチャネル識別子を伝える。そのバーチャルチャネ
ル識別子を受信した重み比較部14は重み比較テーブル18
内のキュー長の値を1増やした後(ステップ32)、重み
比較テーブル18内のシェーピング欄を参照する(ステッ
プ33)。シェーピング欄が「1」の場合は、シェーピン
グ対応スケジューリングキュー15が既にバーチャルチャ
ネル識別子を持っているためその時点で処理を終了す
る。一方、シェーピング欄が「0」の場合は、キュー長
と重みの値との比較を行い、(キュー長)≦(重みの
値)であればシェーピング非対応スケジューリングキュ
ー16にそのバーチャルチャネル識別子を入力し(ステッ
プ34)、処理を終了する。
When the cell receiving section 11 receives a cell from the communication network, the cell is stored in a cell queue (for example, 13a) corresponding to the virtual channel identifier of the cell (step 3).
1). After that, the cell receiving unit 11 notifies the weight comparing unit 14 of the virtual channel identifier. Upon receiving the virtual channel identifier, the weight comparison unit 14
After the value of the queue length is increased by 1 (step 32), the shaping column in the weight comparison table 18 is referred to (step 33). If the shaping column is “1”, the processing ends at that point because the shaping-capable scheduling queue 15 already has the virtual channel identifier. On the other hand, if the shaping field is “0”, the queue length is compared with the weight value, and if (queue length) ≦ (weight value), the virtual channel identifier is input to the non-shaping scheduling queue 16. (Step 34), and the process ends.

【0016】セルの出力に際しては、先ずスケジューリ
ング部17がシェーピング対応スケジューリングキュー15
の先頭からバーチャルチャネル識別子を1個取出す(ス
テップ41)。その識別子が有効(「空」ではない)で且
つその識別子に対応するセルキュー内にセルがある(キ
ュー長>0)場合は(ステップ42)、取出したバーチャ
ルチャネル識別子の値をセル送信部12に伝え、セル送信
部12はバーチャルチャネル識別子に対応するセルキュー
(例えば13a)の先頭セルを通信網に送出する(ステッ
プ43)。更にこれと並行して、スケジューリング部17は
取出したバーチャルチャネル識別子を再びシェーピング
対応スケジューリングキュー15の最後尾に挿入すると共
に、重み比較テーブル18内のキュー長の値を1減らし
(ステップ43)、処理を終了する。
When outputting a cell, first, the scheduling unit 17 outputs a scheduling-capable scheduling queue 15.
One virtual channel identifier is taken out from the beginning of step (step 41). If the identifier is valid (not “empty”) and there is a cell in the cell queue corresponding to the identifier (queue length> 0) (step 42), the value of the extracted virtual channel identifier is transmitted to the cell transmitting unit 12. The cell transmitting unit 12 transmits the first cell of the cell queue (for example, 13a) corresponding to the virtual channel identifier to the communication network (step 43). In parallel with this, the scheduling unit 17 inserts the extracted virtual channel identifier again into the tail of the shaping-compatible scheduling queue 15 and reduces the value of the queue length in the weight comparison table 18 by 1 (step 43). To end.

【0017】一方、シェーピング対応スケジューリング
キュー15から取出したバーチャルチャネル識別子の値19
が「空」である(有効ではない)か又は有効であっても
キュー長=0の場合は(ステップ42)、スケジューリン
グ部17は、その識別子をシェーピング対応スケジューリ
ングキュー15の最後尾に挿入した後、シェーピング非対
応スケジューリングキュー16の先頭からバーチャルチャ
ネル識別子を取出す(ステップ44)。スケジューリング
部17はバーチャルチャネル識別子の値をセル送信部12に
伝え、セル送信部12はバーチャルチャネル識別子に対応
するセルキュー(例えば13b)の先頭セルを通信網に送
出する。この時、スケジューリング部17は、セル送出処
理と並行してバーチャルチャネル識別子の値を重み比較
部14に伝え、その識別子を受信した重み比較部14は重み
比較テーブル18内のキュー長の値を1減らす。その後、
重み比較部14はキュー長と重みの値との比較を行い、
(キュー長)≧(重みの値)であればバーチャルチャネ
ル識別子を再びシェーピング非対応スケジューリングキ
ュー16に入力し(ステップ45)、処理を終了する。
On the other hand, the value 19 of the virtual channel identifier extracted from the scheduling queue 15 for shaping
Is empty (not valid) or if valid but the queue length is equal to 0 (step 42), the scheduling unit 17 inserts the identifier into the end of the shaping-compatible scheduling queue 15 Then, the virtual channel identifier is extracted from the head of the non-shaping scheduling queue 16 (step 44). The scheduling unit 17 transmits the value of the virtual channel identifier to the cell transmitting unit 12, and the cell transmitting unit 12 sends the first cell of the cell queue (for example, 13b) corresponding to the virtual channel identifier to the communication network. At this time, the scheduling unit 17 transmits the value of the virtual channel identifier to the weight comparison unit 14 in parallel with the cell transmission process, and the weight comparison unit 14 that has received the identifier sets the value of the queue length in the weight comparison table 18 to 1 cut back. afterwards,
The weight comparing unit 14 compares the queue length with the value of the weight,
If (queue length) ≧ (weight value), the virtual channel identifier is input to the non-shaping scheduling queue 16 again (step 45), and the process ends.

【0018】[0018]

【発明の効果】以上説明したように、本発明のセルスケ
ジューリング方法によりシェーピングを施された送出セ
ルは、隣接のスイッチ、端末等の通信装置に対して申告
値通りのトラヒック形状で到着することができる。その
結果、隣接の通信装置でのセル廃棄の発生確率を小さく
することができ、また、周期的なセル到着を要求するア
プリケーションに対して、セル揺らぎ、セル廃棄等に起
因する品質の劣化を抑えることができる。
As described above, a transmission cell shaped by the cell scheduling method of the present invention can arrive at an adjacent communication device such as a switch or a terminal in a traffic shape according to a declared value. it can. As a result, the probability of occurrence of cell discard in an adjacent communication device can be reduced, and quality degradation due to cell fluctuation, cell discard, and the like can be suppressed for applications that require periodic cell arrival. be able to.

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

【図1】本発明の実施例を説明するための図である。FIG. 1 is a diagram for explaining an embodiment of the present invention.

【図2】事前処理のフローチャートである。FIG. 2 is a flowchart of a pre-processing.

【図3】セルを受信する時の処理のフローチャートであ
る。
FIG. 3 is a flowchart of a process when receiving a cell.

【図4】セルを送信する時の処理のフローチャートであ
る。
FIG. 4 is a flowchart of a process when transmitting a cell.

【図5】従来の方法を説明するための図である。FIG. 5 is a diagram for explaining a conventional method.

【図6】セル送出の様子を示す図である。FIG. 6 is a diagram showing a state of cell transmission.

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

11 セル受信部 12 セル送信部 13 セルキュー 14 重み比較部 15 シェーピング対応スケジューリングキュー 16 シェーピング非対応スケジューリングキュー 17 スケジューリング部 18 重み比較テーブル 51 セル受信部 52 セル送信部 53 セルキュー 54 重み比較部 55 スケジューリングキュー 56 スケジューリング部 57 重み比較テーブル Reference Signs List 11 cell receiving unit 12 cell transmitting unit 13 cell queue 14 weight comparing unit 15 shaping-capable scheduling queue 16 shaping non-corresponding scheduling queue 17 scheduling unit 18 weight comparing table 51 cell receiving unit 52 cell transmitting unit 53 cell queue 54 weight comparing unit 55 scheduling queue 56 Scheduling unit 57 Weight comparison table

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 セル受信時に、受信セルをバーチャルチ
ャネル識別子別に分離して該当するセルキューに格納す
るステップ、及び、セル送出時に、セルが格納されてい
るセルキューのキュー長を管理している重み比較テーブ
ル内のキュー長に基づき、複数のバーチャルチャネル間
のセル送信タイミングを決定し、送出セルキューから先
頭セルを取出しセル送信を行うステップを具えるセルス
ケジューリング方法において、 シェーピングを必要とするバーチャルチャネルについ
て、そのバーチャルチャネルの識別子の値を予めシェー
ピング対応スケジューリングキューに格納するステップ
を具え、 セル受信時には、 重み比較テーブル内のキュー長の値を1増やした後、受
信セルがシェーピングを施すべきバーチャルチャネルに
属するか否かを判断するステップ、 受信セルがシェーピングを施すべきバーチャルチャネル
に属する場合は、その時点で処理を終了するステップ、
及び受信セルがシェーピングを施すべきバーチャルチャ
ネルに属さない場合は、セルキューのキュー長とそのバ
ーチャルチャネルの重みの値とを比較し、キュー長が重
みの値以下の場合にバーチャルチャネル識別子の値をシ
ェーピング非対応スケジューリングキューに挿入するス
テップを具え、 セル送出時には、 シェーピング対応スケジューリングキューの先頭からバ
ーチャルチャネル識別子を取出し、そのバーチャルチャ
ネル識別子が有効且つそのバーチャルチャネル識別子に
対応するセルキューにセルが1個以上蓄積されている場
合に、そのバーチャルチャネルのセルを送信するステッ
プ、及び前記シェーピング対応スケジューリングキュー
から取出したバーチャルチャネル識別子が「空」である
か又はそのバーチャルチャネル識別子が有効であっても
キュー長が零である場合は、シェーピング非対応スケジ
ューリングキューの先頭からバーチャルチャネル識別子
を取出し、そのバーチャルチャネル識別子のセルを送信
するステップを具えることを特徴とするセルスケジュー
リング方法。
1. A method for separating received cells by virtual channel identifiers and storing the cells in a corresponding cell queue when receiving a cell, and a weight comparison for managing a queue length of a cell queue in which a cell is stored when transmitting a cell. Based on the queue length in the table, determine a cell transmission timing between a plurality of virtual channels, in the cell scheduling method comprising a step of taking out the first cell from the transmission cell queue and performing cell transmission, for a virtual channel requiring shaping, Storing a value of the identifier of the virtual channel in a scheduling queue corresponding to the shaping in advance. At the time of cell reception, after increasing the value of the queue length in the weight comparison table by 1, the received cell belongs to the virtual channel to be shaped. Whether or not Disconnecting, if the received cell belongs to a virtual channel to be shaped, ending the process at that time;
If the received cell does not belong to the virtual channel to be shaped, the queue length of the cell queue is compared with the weight value of the virtual channel, and if the queue length is equal to or less than the weight value, the value of the virtual channel identifier is shaped. A step of inserting the cell into a non-corresponding scheduling queue; at the time of transmitting a cell, extracting a virtual channel identifier from the head of the shaping-compatible scheduling queue; Transmitting the cell of the virtual channel, if the virtual channel identifier extracted from the shaping-capable scheduling queue is "empty" or the virtual channel identifier. If the queue length be effective is zero, it extracts the virtual channel identifier from the beginning of the shaping incompatible scheduling queue, cell scheduling method characterized by comprising the step of transmitting the cells of the virtual channel identifier.
【請求項2】 前記シェーピングを必要とするバーチャ
ルチャネルについてそのバーチャルチャネルの識別子の
値を予めシェーピング対応スケジューリングキューに格
納するステップが、 前記バーチャルチャネルの重みの値を基に、バーチャル
チャネル識別子の挿入間隔を算出するステップ、 算出された挿入間隔でシェーピング対応スケジューリン
グキューにバーチャルチャネル識別子を格納するステッ
プ、及び格納すべきバーチャルチャネル識別子がない場
合、シェーピング対応スケジューリングキュー内に
「空」を示す情報を挿入するステップを具えることを特
徴とする請求項1に記載のセルスケジューリング方法。
2. A method of storing a virtual channel identifier value of a virtual channel requiring shaping in a shaping-compatible scheduling queue in advance, based on a weight value of the virtual channel. Calculating a virtual channel identifier in the shaping-capable scheduling queue at the calculated insertion interval; and inserting information indicating “empty” in the shaping-compatible scheduling queue when there is no virtual channel identifier to be stored. The method of claim 1, comprising steps.
【請求項3】 前記セル送出時に、シェーピング対応ス
ケジューリングキューの先頭からバーチャルチャネル識
別子を取出し、そのバーチャルチャネル識別子が有効且
つそのバーチャルチャネル識別子に対応するセルキュー
にセルが1個以上蓄積されている場合に、そのバーチャ
ルチャネルのセルを送信するステップが、 取出したバーチャルチャネル識別子に対応するセルキュ
ーの先頭セルを通信網に送出した後、セルキュー長を管
理する重み比較テーブル内のキュー長の値を1減らすス
テップ、及び取出したバーチャルチャネル識別子を再び
シェーピング対応スケジューリングキューの最後尾に挿
入するステップを具え、 前記セル送出時に、シェーピング対応スケジューリング
キューから取出したバーチャルチャネル識別子が「空」
であるか又はそのバーチャルチャネル識別子が有効であ
ってもキュー長が零である場合は、シェーピング非対応
スケジューリングキューの先頭からバーチャルチャネル
識別子を取出し、そのバーチャルチャネル識別子のセル
を送信するステップが、 取出したバーチャルチャネル識別子に対応するセルキュ
ーの先頭セルを通信網に送出した後、セルキュー長を管
理する重み比較テーブル内のそのキュー長の値を1減ら
すステップ、及びセルキューのキュー長と重みの値とを
比較し、キュー長が重みの値以上の場合にバーチャルチ
ャネル識別子を再びシェーピング非対応スケジューリン
グキューに挿入するステップを具えることを特徴とする
請求項1に記載のセルスケジューリング方法。
3. At the time of transmitting the cell, a virtual channel identifier is taken from a head of a shaping-compatible scheduling queue, and when one or more cells are stored in the cell queue corresponding to the virtual channel identifier that is valid and corresponding to the virtual channel identifier. Transmitting the cell of the virtual channel, transmitting the head cell of the cell queue corresponding to the extracted virtual channel identifier to the communication network, and then reducing the value of the queue length in the weight comparison table for managing the cell queue length by one. And inserting the extracted virtual channel identifier again into the end of the shaping-capable scheduling queue, wherein the virtual channel identifier retrieved from the shaping-capable scheduling queue is “empty” when the cell is transmitted.
Or if the virtual channel identifier is valid but the queue length is zero, the step of taking the virtual channel identifier from the head of the non-shaping-capable scheduling queue and transmitting the cell with the virtual channel identifier comprises: After transmitting the head cell of the cell queue corresponding to the virtual channel identifier to the communication network, reducing the value of the queue length in the weight comparison table for managing the cell queue length by one, and determining the queue length and weight value of the cell queue. 2. The cell scheduling method according to claim 1, further comprising, if the queue length is equal to or greater than the weight value, inserting the virtual channel identifier into the non-shaping scheduling queue again.
JP11057698A 1998-04-21 1998-04-21 Cell scheduling method Pending JPH11308229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11057698A JPH11308229A (en) 1998-04-21 1998-04-21 Cell scheduling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11057698A JPH11308229A (en) 1998-04-21 1998-04-21 Cell scheduling method

Publications (1)

Publication Number Publication Date
JPH11308229A true JPH11308229A (en) 1999-11-05

Family

ID=14539346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11057698A Pending JPH11308229A (en) 1998-04-21 1998-04-21 Cell scheduling method

Country Status (1)

Country Link
JP (1) JPH11308229A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001821A1 (en) * 2000-06-29 2002-01-03 Nec Corporation Packet scheduling apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001821A1 (en) * 2000-06-29 2002-01-03 Nec Corporation Packet scheduling apparatus
US7613114B2 (en) 2000-06-29 2009-11-03 Nec Corporation Packet scheduling apparatus

Similar Documents

Publication Publication Date Title
EP1115265B1 (en) Method and a device for determining packet transmission priority between a plurality of data streams
US6477168B1 (en) Cell/frame scheduling method and communications cell/frame scheduler
JP2017532870A (en) Data frame traffic shaping method in network, device and computer program product
US6396843B1 (en) Method and apparatus for guaranteeing data transfer rates and delays in data packet networks using logarithmic calendar queues
EP0671096B1 (en) Constant bit rate traffic in fast packet networks
CN114615211B (en) Time-sensitive network queue management scheduling method based on wired and wireless integration
JP2000252997A (en) Traffic shaper
Soni et al. Optimizing network calculus for switched ethernet network with deficit round robin
US6556567B1 (en) Method and system for multiplexing packets
RU2294601C1 (en) Method for performing statistical multiplexing during transfer of information
WO2018171115A1 (en) Quality of service assurance method for fragment and field-programmable gate array
US20020150047A1 (en) System and method for scheduling transmission of asynchronous transfer mode cells
US7142514B2 (en) Bandwidth sharing using emulated weighted fair queuing
US6418118B1 (en) Network device including selective discard of packets
EP1340344B1 (en) Latency management for a network
KR100630339B1 (en) A decision method for burst assembly parameters in optical burst switching network system
JPH11308229A (en) Cell scheduling method
JP2001503232A (en) Non-frame synchronous simultaneous shaping method for reducing delay and delay variation in CBR transmission system
JP3514215B2 (en) Scheduling circuit
Suethanuwong Message fragmentation of event-triggered traffic in TTEthernet systems using the timely block method
JPH11261586A (en) Device and method for sharing cbr band
US20050163124A1 (en) Method and system for converting data
JPH10308753A (en) Communication device
JP4113932B2 (en) Statistical multiplexer
JP2756766B2 (en) Cell priority processing unit