JPH08195751A - Traffic shaper - Google Patents

Traffic shaper

Info

Publication number
JPH08195751A
JPH08195751A JP508995A JP508995A JPH08195751A JP H08195751 A JPH08195751 A JP H08195751A JP 508995 A JP508995 A JP 508995A JP 508995 A JP508995 A JP 508995A JP H08195751 A JPH08195751 A JP H08195751A
Authority
JP
Japan
Prior art keywords
transmission time
cell
time
ideal
tat
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
JP508995A
Other languages
Japanese (ja)
Other versions
JP2848259B2 (en
Inventor
Tsutomu Murase
勉 村瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP508995A priority Critical patent/JP2848259B2/en
Publication of JPH08195751A publication Critical patent/JPH08195751A/en
Application granted granted Critical
Publication of JP2848259B2 publication Critical patent/JP2848259B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To improve the efficiency of a network by setting a new TAT just before an ideal transmission time TAT through a prescribed arithmetic operation so as to send cells close to an ideal state. CONSTITUTION: A shaper algorithm 101 uses a TATb of other cell sent just before and a transmission line speed (a) to obtain a TAT corresponding to TATb+1/a. When a buffer memory at a location of a ring memory corresponding to the time is idle, a write pointer 102 is used to write the cell thereto. When not idle, the cell is written in an idle buffer memory at a time just before the write time. The processing is repeated to avoid a transmission time from being apart from an ideal time thereby sending a cell to a time closest to the ideal transmission time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、非同期転送モードを扱
う通信網、特にはパケット交換方式の通信網と、前記通
信網の外の装置とのインタフェ−ス点に設置され、送出
しようとするセルの送出時刻を、直前に送出した他のセ
ルの送出時刻および伝送路速度を用いて決定し、通信網
で発生するトラヒックの輻輳制御を行うトラヒックシェ
イパに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is installed at an interface point between a communication network that handles an asynchronous transfer mode, in particular, a packet switching communication network and a device outside the communication network, and attempts to send the data. The present invention relates to a traffic shaper that determines the transmission time of a cell by using the transmission time of another cell transmitted immediately before and the transmission path speed and performs congestion control of the traffic generated in a communication network.

【0002】[0002]

【従来の技術】ATMでは、網の輻輳を防止し、網の利
用効率を高めることにトラヒックシェイパが有効であ
る。トラヒックシェイパは、網の入り口に設置され、
(論文1)Pierre E. Boyer らにより、IEEE Network 1
992 September における論文“Spacing cells protects
and enhances utilization of ATM network links”で
提案されているようにシェイパに到着したセルに対し、
適当な遅延時間を付加して、送出すべき時刻TATを決
定し、セルを送出する制御を行う一種の遅延回路であ
る。このTATは、例えば、論文1で提案されているよ
うに送出レートがaのときに、シェイパに到着したセル
に対し、直前のセルが送出されるべき時刻TATbより
も理想的には1/a遅らせて、すなわちTATb+1/
aの時刻に、または、1/a以上遅らせて、TATb+
1/aよりも遅い時刻に決定される。このとき、シェイ
パの本来の目的を果たすためには、できるだけ理想的送
出時刻、つまりTATb+1/aに近い時刻に送出する
ことが必要である。なお、このTATは、送出すべき理
想時刻であり、実際に送出した時刻ではない。
2. Description of the Related Art In ATM, a traffic shaper is effective for preventing network congestion and improving network utilization efficiency. Traffic shaper is installed at the entrance of the net,
(Article 1) Pierre E. Boyer et al. IEEE Network 1
992 September paper “Spacing cells protects
For cells arriving at the shaper as suggested in “and enhances utilization of ATM network links”,
This is a kind of delay circuit that controls the transmission of cells by determining the time TAT to be transmitted by adding an appropriate delay time. This TAT is ideally 1 / a from the time TATb at which the immediately preceding cell should be transmitted to the cell arriving at the shaper when the transmission rate is a as proposed in paper 1, for example. Delayed, ie TATb + 1 /
TATb + at the time of a or delayed by 1 / a or more
It is decided at a time later than 1 / a. At this time, in order to fulfill the original purpose of the shaper, it is necessary to send at the ideal sending time, that is, at a time close to TATb + 1 / a. It should be noted that this TAT is the ideal time to be sent, not the time at which it was actually sent.

【0003】この方式では、セル同期システム、つまり
セル送出の周期が一定で、送るべきセルがない場合にも
ダミーのセルを送出し、とにかくセル送出が一定のタイ
ミングで行われるようなシステムでは、1/aが小数の
場合、TAT=TATb+1/aが小数になるという問
題がある。さらに、TATの時刻に既に他の送出すべき
セルがスケジューリングされている場合には、セルを送
ることができないという問題がある。
In this system, in a cell synchronization system, that is, in a system in which a cell transmission cycle is constant, dummy cells are transmitted even when there is no cell to be transmitted, and cell transmission is performed at a constant timing anyway, When 1 / a is a decimal, there is a problem that TAT = TATb + 1 / a becomes a decimal. Further, if another cell to be transmitted has already been scheduled at the time of TAT, there is a problem that the cell cannot be transmitted.

【0004】前記論文1では、TATよりも小さくない
最小の整数値を新TATとし、新TATの時刻に既に他
の送出すべきセルがある場合には、該新TATとして他
の送出すべきセルがない最も小さい量子化されたTAT
値にすることが述べられている。
In the above paper 1, the smallest integer value not smaller than TAT is set as a new TAT, and if another cell to be transmitted already exists at the time of the new TAT, another cell to be transmitted as the new TAT. Smallest quantized TAT without
It is stated to be a value.

【0005】[0005]

【発明が解決しようとする課題】この従来方式では、セ
ルのTAT送出時刻とそれ以降の時刻に他のセルが多く
スケジューリングされている場合には、新TATが元来
の理想的送出時刻TATと大きくかけ離れてしまうとい
う問題点がある。
In this conventional method, the new TAT is the original ideal transmission time TAT when many other cells are scheduled at the TAT transmission time of the cell and the time after that. There is a problem that they are far apart.

【0006】本発明は、前記問題を解決し、新TATが
元来の理想的送出時刻TATにできるだけ近くなるよう
に新TATを与えることができるトラヒックシェイパを
提供することを目的とする。
An object of the present invention is to solve the above problems and provide a traffic shaper capable of providing a new TAT so that the new TAT is as close as possible to the original ideal transmission time TAT.

【0007】[0007]

【課題を解決するための手段】本発明のトラヒックシェ
イパは、非同期転送モードを扱う通信網と、前記通信網
の外の装置とのインタフェ−ス点に設置され、当該セル
の送出時刻TATを直前に送出した他のセルの送出時刻
TATbおよび伝送路速度aを用いて下記の式 TAT=TATb+1/a で計算するとともに、計算結果を単位時間で量子化して
実際のセルの送出時刻を決定するトラヒックシェイパに
おいて、上記の式の結果が小数となる場合には、上記の
式の結果よりも小さい整数値であって、最も大きな整数
値を当該セルの理想的送出時刻と決定する理想的送出時
刻決定手段を有する。
A traffic shaper of the present invention is installed at an interface point between a communication network handling an asynchronous transfer mode and a device outside the communication network, and determines a transmission time TAT of the cell. Using the transmission time TATb of the other cell transmitted immediately before and the transmission line speed a, the following equation TAT = TATb + 1 / a is calculated, and the calculation result is quantized per unit time to determine the actual cell transmission time. In the traffic shaper, when the result of the above formula is a decimal number, an ideal transmission that determines an integer value that is an integer value smaller than the result of the above formula and is the ideal transmission time of the cell It has a time determination means.

【0008】また、前記理想的送出時刻決定手段は、当
該セルの理想的送出時刻として決定した理想的送出時刻
が既に他のセルの送出時刻として決定されていた場合に
は、他のセルの送出時刻として決定されていない送出時
刻であって、最も大きな整数値を当該セルの理想的送出
時刻と決定するのが好ましい。
Further, if the ideal transmission time determined as the ideal transmission time of the cell has already been determined as the transmission time of another cell, the ideal transmission time determining means transmits the other cell. It is preferable to determine the largest integer value that is the transmission time not determined as the time as the ideal transmission time of the cell.

【0009】[0009]

【作用】理想的送出時刻TATとそれ以降に既に他のセ
ルを送出することが予定されており、かつ理想送出時刻
の直前には他のセルの送出が予定されていない場合を考
える。本発明のトラヒックシェイパは、従来方式のよう
にTAT以降を探して、送出時刻が理想時刻にかけ離れ
てしまうという問題点を回避でき、TAT直前に新TA
Tを設定できるため、理想送出時刻になるべく近い時刻
にセルを送出することができる。
Consider a case in which another cell is already scheduled to be transmitted at and after the ideal transmission time TAT, and another cell is not scheduled to be transmitted immediately before the ideal transmission time. The traffic shaper of the present invention can avoid the problem that the sending time is far from the ideal time by searching after TAT as in the conventional method, and the new TA is set just before TAT.
Since T can be set, cells can be transmitted at a time as close as possible to the ideal transmission time.

【0010】[0010]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明のトラヒックシェイパの一実
施例を示す図である。図2は図1の実施例のトラヒック
シェイパのアルゴリズムを示す図である。理想的送出時
刻計算アルゴリズム101は、到着したセルに対して理
想的送出時刻TATを決定する(理想的送出時刻TAT
を決定する場合、文献1で示されるアルゴリズムを用い
る。なお、文献1においては、TATは、TRTという
名前で呼ばれている)。リングメモリ104は、セルを
蓄積するバッファメモリであって、論理的にはリング状
になっているため、以下の説明では、読み出し、書き込
みをするときにリングメモリ104の物理的先頭や物理
的最後を意識しなくてよいものとする。ここでは、便宜
上、読み出しポインタが指している(つまり今読み出し
を行いつつある)位置をバッファメモリの先頭とする。
従って、バッファメモリの先頭は、物理的には変わりう
る。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a diagram showing an embodiment of the traffic shaper of the present invention. FIG. 2 is a diagram showing an algorithm of the traffic shaper of the embodiment of FIG. The ideal transmission time calculation algorithm 101 determines the ideal transmission time TAT for the arrived cell (ideal transmission time TAT
When determining, the algorithm shown in Reference 1 is used. Note that TAT is referred to as TRT in Reference 1.) The ring memory 104 is a buffer memory for accumulating cells and is logically ring-shaped. Therefore, in the following description, when reading or writing, the physical head or the physical end of the ring memory 104 is used. It is not necessary to be aware of. Here, for the sake of convenience, the position pointed by the read pointer (that is, the point where the reading is being performed) is set as the head of the buffer memory.
Therefore, the head of the buffer memory can be physically changed.

【0011】リングメモリ104には、独立動作の書き
込みポインタ102、読み出しポインタ103によりセ
ルの入出力が行われる。特に、読み出しポインタはシー
ケンシャルに動作し、セルを途切れることなく網へ送出
するようにバッファメモリをシーケンシャルに読み出
す。このとき、バッファメモリにセルがない(バッファ
メモリが空)の場合でも、読み出し動作は行われ、結果
として空セルというものが網に送出される。従って、ひ
とたびバッファメモリ位置が決まれば(バッファメモリ
に書き込めば)、そのバッファメモリ位置から計算し
て、そのバッファメモリが読み出される時刻も決まる。
一方、書き込みポインタは、セルを適当なバッファメモ
リ位置に書き込むためのポインタであり、該適当な位置
は、読み出されるべき時刻、つまり理想送出時刻に従っ
て決められる。この理想送出時刻に関しては、文献1で
示されるアルゴリズムを用いて、理想的送出時刻TAT
を決定する。
A cell is input / output to / from the ring memory 104 by a write pointer 102 and a read pointer 103 which operate independently. In particular, the read pointer operates sequentially and reads the buffer memory sequentially so as to send cells to the network without interruption. At this time, even if there are no cells in the buffer memory (the buffer memory is empty), the read operation is performed, and as a result, an empty cell is sent to the network. Therefore, once the buffer memory location is determined (writing to the buffer memory), the time at which the buffer memory is read is also determined by calculation from the buffer memory location.
The write pointer, on the other hand, is a pointer for writing a cell to an appropriate buffer memory location, which is determined according to the time to be read, ie the ideal delivery time. As for this ideal sending time, the ideal sending time TAT is calculated by using the algorithm shown in Reference 1.
To decide.

【0012】セル書き込みにおいては、図2に示すよう
なアルゴリズム200が適用され、シェイパアルゴリズ
ム101で決められた理想的送出時刻TATを算出する
(S1)。理想的送出時刻TATに相当する時刻に対応
する位置のバッファメモリが空いていれば、そこにセル
を書き込む(S2)。もし、該位置が空いていない、つ
まり他のセルが既に書き込まれている場合には、書き込
もうとした時刻の直前の時刻の位置を見て、空きであれ
ば該バッファメモリ位置に書き込む。空いていなければ
この操作を繰り返し行う(S3)。バッファメモリの先
頭位置まできた場合には、これ以上書き込み場所を探す
ことができなくなったとして、従来方法に切り替えても
よい。
In cell writing, an algorithm 200 as shown in FIG. 2 is applied to calculate the ideal transmission time TAT determined by the shaper algorithm 101 (S1). If the buffer memory at the position corresponding to the time corresponding to the ideal transmission time TAT is free, the cell is written there (S2). If the position is not empty, that is, another cell has already been written, the position of the time immediately before the time when writing is attempted is checked, and if it is empty, the buffer memory position is written. If it is not empty, this operation is repeated (S3). When reaching the head position of the buffer memory, it may be possible to switch to the conventional method because it is impossible to find a writing place any more.

【0013】[0013]

【発明の効果】上述したように本発明は、TAT以降を
探して、送出時刻が理想時刻にかけ離れてしまうという
問題点を回避するため、TAT直前に新TATを設定す
ることにより、理想送出時刻になるべく近い時刻にセル
を送出するというシェイパの本来の目的を達成すること
が可能になる。ひいては、そのために、網の利用効率が
向上するという効果がある。
As described above, according to the present invention, in order to avoid the problem that the sending time is far from the ideal time by searching after the TAT, the ideal sending time is set by setting the new TAT immediately before the TAT. It is possible to achieve the original purpose of the shaper, which is to send out cells at a time as close as possible. As a result, there is an effect that the utilization efficiency of the network is improved.

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

【図1】本発明のトラヒックシェイパの一実施例のアー
キテクチャを示す図である。
FIG. 1 is a diagram showing the architecture of one embodiment of the traffic shaper of the present invention.

【図2】図1の実施例における理想的送出時刻の決定ア
ルゴリズムを示す図である。
FIG. 2 is a diagram showing an ideal transmission time determination algorithm in the embodiment of FIG.

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

101 シェイパアルゴリズム 102 書き込みポインタ 103 読み出しポインタ 104 リングメモリ 101 Shaper Algorithm 102 Write Pointer 103 Read Pointer 104 Ring Memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 非同期転送モードを扱う通信網と、前記
通信網の外の装置とのインタフェ−ス点に設置され、当
該セルの送出時刻TATを直前に送出した他のセルの送
出時刻TATbおよび伝送路速度aを用いて下記の式 TAT=TATb+1/a で計算するとともに、計算結果を単位時間で量子化して
実際のセルの送出時刻を決定するトラヒックシェイパに
おいて、 上記の式の結果が小数となる場合には、上記の式の結果
よりも小さい整数値であって、最も大きな整数値を当該
セルの理想的送出時刻と決定する理想的送出時刻決定手
段を有することを特徴とするトラヒックシェイパ。
1. A transmission network which handles an asynchronous transfer mode and a transmission time TATb of another cell which is installed at an interface point between a device outside the communication network and which has transmitted the transmission time TAT of the cell immediately before. In the traffic shaper that calculates the following formula using the transmission path speed a, TAT = TATb + 1 / a, and quantizes the calculation result in unit time to determine the actual cell transmission time, the result of the above formula is a decimal number. In this case, the traffic shape is characterized by having an ideal transmission time determining means for determining the largest integer value smaller than the result of the above equation as the ideal transmission time of the cell. Pa.
【請求項2】 前記理想的送出時刻決定手段は、当該セ
ルの理想的送出時刻として決定した理想的送出時刻が既
に他のセルの送出時刻として決定されていた場合には、
他のセルの送出時刻として決定されていない送出時刻で
あって、最も大きな整数値を当該セルの理想的送出時刻
と決定する請求項1記載のトラヒックシェイパ。
2. The ideal transmission time determination means, when the ideal transmission time determined as the ideal transmission time of the cell has already been determined as the transmission time of another cell,
The traffic shaper according to claim 1, wherein a transmission time that has not been determined as a transmission time of another cell, and the largest integer value is determined as an ideal transmission time of the cell.
JP508995A 1995-01-17 1995-01-17 Traffic shaper Expired - Fee Related JP2848259B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP508995A JP2848259B2 (en) 1995-01-17 1995-01-17 Traffic shaper

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP508995A JP2848259B2 (en) 1995-01-17 1995-01-17 Traffic shaper

Publications (2)

Publication Number Publication Date
JPH08195751A true JPH08195751A (en) 1996-07-30
JP2848259B2 JP2848259B2 (en) 1999-01-20

Family

ID=11601675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP508995A Expired - Fee Related JP2848259B2 (en) 1995-01-17 1995-01-17 Traffic shaper

Country Status (1)

Country Link
JP (1) JP2848259B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5999515A (en) * 1996-12-06 1999-12-07 Nec Corporation Method and apparatus for shaping processing in which discard of ATM cell effectively performed

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5999515A (en) * 1996-12-06 1999-12-07 Nec Corporation Method and apparatus for shaping processing in which discard of ATM cell effectively performed

Also Published As

Publication number Publication date
JP2848259B2 (en) 1999-01-20

Similar Documents

Publication Publication Date Title
US5555264A (en) Methods and devices for prioritizing in handling buffers in packet networks
US5241541A (en) Burst time division multiplex interface for integrated data link controller
US5535201A (en) Traffic shaping system using two dimensional timing chains
CN101291194B (en) Method and system for keeping sequence of report
US6952739B2 (en) Method and device for parameter independent buffer underrun prevention
AU661378B2 (en) An access control arrangement for communication channel
US8072972B2 (en) Configurable hardware scheduler calendar search algorithm
JPH08195751A (en) Traffic shaper
US6216182B1 (en) Method and apparatus for serving data with adaptable interrupts
JPH09191321A (en) Adaptive credit control type transfer method
JPH0458646A (en) Buffer management system
JP3190800B2 (en) Asynchronous transfer circuit with transfer speed switching function
JP2002252628A (en) Packet output adjustment device
JPH01225261A (en) Packet transmitting device
JP4035077B2 (en) Data transmission / reception device and data transmission / reception method
JPH11234333A (en) Gateway device
US8677103B1 (en) Asynchronous pipelined data path with data transition
US7002966B2 (en) Priority mechanism for link frame transmission and reception
JPH0629972A (en) Buffer memory management system for data link protocol controller
KR100190842B1 (en) An atm switching device and the method using parallel cdp detection
JP2002215567A (en) Usb controller
US20020129194A1 (en) Method and device for operating a RAM memory
JP2001045003A (en) Cell schedule system
JPS6277666A (en) Buffer circuit
JPH03283940A (en) Link congestion control system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071106

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081106

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081106

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091106

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091106

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101106

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111106

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111106

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20131106

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees