JP3870218B2 - Cell flow rate control method and cell exchange system using the same - Google Patents

Cell flow rate control method and cell exchange system using the same Download PDF

Info

Publication number
JP3870218B2
JP3870218B2 JP2006090694A JP2006090694A JP3870218B2 JP 3870218 B2 JP3870218 B2 JP 3870218B2 JP 2006090694 A JP2006090694 A JP 2006090694A JP 2006090694 A JP2006090694 A JP 2006090694A JP 3870218 B2 JP3870218 B2 JP 3870218B2
Authority
JP
Japan
Prior art keywords
cell
line
time
time counter
value
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.)
Expired - Fee Related
Application number
JP2006090694A
Other languages
Japanese (ja)
Other versions
JP2006191692A (en
Inventor
和弘 吉田
直聡 渡辺
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2006090694A priority Critical patent/JP3870218B2/en
Publication of JP2006191692A publication Critical patent/JP2006191692A/en
Application granted granted Critical
Publication of JP3870218B2 publication Critical patent/JP3870218B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、ATM(Asynchronous Transfer Mode:非同期転送モード)交換機
等のセル交換システムのUNI(ユーザ対網インタフェース)やNNI(網対網
インタフェース)において、適切なセル流入量を監視、制御するUPC(Usage
Parameter Control)機能を持つセル流量制御方法及び、これを用いるセル交換シ
ステムに関する。
The present invention is a UPC (Monitoring and Controlling Appropriate Cell Inflow) in UNI (User-to-Network Interface) and NNI (Network-to-Network Interface) of a cell switching system such as an ATM (Asynchronous Transfer Mode) switch. Usage
The present invention relates to a cell flow rate control method having a (Parameter Control) function and a cell exchange system using the same.

特に、複数の回線を多重化し、この多重化された複数の回線に流れるセル流に
対し、1つの装置によりUPC機能を果たす様にしたセル流量制御方法及び、こ
れを用いるセル交換システムに関する。
In particular, the present invention relates to a cell flow rate control method in which a plurality of lines are multiplexed and a UPC function is performed by one device for cell flows flowing through the multiplexed lines, and a cell switching system using the same.

ATM交換機等のセル交換システムは、伝送路を通して加入者端末と接続され
る加入者インタフェースに、UPC機能を装備している。かかるUPC機能は、
加入者線対応に用意されていることが一般である。
A cell switching system such as an ATM switch is equipped with a UPC function in a subscriber interface connected to a subscriber terminal through a transmission path. The UPC function is
In general, it is prepared for the subscriber line.

しかし、比較的低速なインタフェースにおいても、個別にセル流量制御装置(
以下、UPC装置という)を用意することは、不経済である。したがって、複数
の上記加入者インタフェースを多重化して1つのUPC装置を利用することが考
えられる。
However, even with a relatively low-speed interface, the cell flow control device (
It is uneconomical to prepare a UPC device). Therefore, it is conceivable to multiplex a plurality of the subscriber interfaces and use one UPC device.

図12は、ATM交換機システムの構成例ブロック図である。ATMスイッチ
部1と入力回線対応部2及び出力回線対応部3を有する。ATMスイッチ部1は
、バンヤン・スイッチ等のセルフルーチングスイッチであり、セルのヘッダの情
報をもとに、宛先の出力伝送路にルーティングを行なう。
FIG. 12 is a block diagram illustrating a configuration example of the ATM switching system. An ATM switch unit 1, an input line corresponding unit 2, and an output line corresponding unit 3 are provided. The ATM switch unit 1 is a self-routing switch such as a Banyan switch, and performs routing to a destination output transmission path based on information in a cell header.

入力回線対応部2は、加入者SUB対応に繋がる伝送路(物理回線)を終端し
、セルの流量を監視する。出力回線対応部3は、出力伝送路とのインタフェース
機能を有し、バッファ回路30、保守運用管理部31等で構成される。
The input line corresponding unit 2 terminates a transmission line (physical line) connected to the subscriber SUB and monitors the flow rate of the cell. The output line corresponding unit 3 has an interface function with the output transmission path, and includes a buffer circuit 30, a maintenance operation management unit 31, and the like.

入力回線対応部2は、上記のように複数の上記物理回線を多重化して、1つの
UPC装置20を利用することを考える場合、複数の加入者インタフェース回路
I/Fの出力が回線多重化装置21に入力される。回線多重化装置21で多重化
された信号のセル流が、UPC装置20で計測される。なお、入力回線対応部2
にも保守運用管理部22が設けられる。
When considering the use of one UPC device 20 by multiplexing a plurality of physical lines as described above, the input line corresponding unit 2 outputs the plurality of subscriber interface circuits I / F as line multiplexing devices. 21 is input. The cell flow of the signal multiplexed by the line multiplexer 21 is measured by the UPC device 20. Input line support unit 2
Also, a maintenance operation management unit 22 is provided.

UPC装置20を通過したセルは、ヘッダ変換部22により、伝送路上で用い
る仮想チャネル識別子(VCI)をATMスイッチ1で用いるVCIに変換する
。この変換されたVCIにしたがって、ATMスイッチ1のパスが選択され、交
換機能が果たされる。
The cell that has passed through the UPC device 20 converts the virtual channel identifier (VCI) used on the transmission path into the VCI used by the ATM switch 1 by the header converter 22. According to the converted VCI, the path of the ATM switch 1 is selected and the exchange function is performed.

図13は、上記の回線多重化装置21の多重化出力のセル流を1つのUPC装
置20で測定する例として、a,bの2つの物理回線(加入者線)を多重化する
場合を想定して、説明する図である。図14は、図13に対応するタイムチャー
トである。
FIG. 13 assumes a case where two physical lines a and b (subscriber lines) are multiplexed as an example of measuring the multiplexed output cell flow of the line multiplexer 21 with one UPC apparatus 20. FIG. FIG. 14 is a time chart corresponding to FIG.

図14のa,bは、それぞれ加入者線a,bに対応するセル列を表わしている
。また、図14のMは、回線多重化装置21の出力である。加入者線a,bに流
れるセル流は、それぞれ独立であり、その速度は、共通でない。したがって、セ
ルa3 、b4 のごとくタイミングが一致する場合は、回線多重化装置21では、
いずれかのセルのタイミングを遅らせることが必要となる。
In FIG. 14, a and b represent cell columns corresponding to the subscriber lines a and b, respectively. 14 is the output of the line multiplexer 21. The cell flows flowing through the subscriber lines a and b are independent of each other and their speed is not common. Therefore, when the timings coincide as in the cells a3 and b4, the line multiplexer 21
It is necessary to delay the timing of any cell.

図14の例では、セルa3 のタイミングを遅らせている。UPC装置20では
、加入者線毎にセル列を把握して、セル流量を計算する。したがって、回線多重
化装置21の出力から分離される加入者線aに対応するセル列において、セルa
2 とa3 の間隔T1 が広がり、セルa3 とa4 の間隔T2 が狭まる。
In the example of FIG. 14, the timing of the cell a3 is delayed. The UPC device 20 grasps the cell train for each subscriber line and calculates the cell flow rate. Therefore, in the cell string corresponding to the subscriber line a separated from the output of the line multiplexer 21, the cell a
The interval T1 between 2 and a3 increases, and the interval T2 between cells a3 and a4 decreases.

このために、UPC装置20の入力点において、セルの到着に揺らぎが生じる
。これにより、UPCの精度が制限される。
For this reason, the arrival of the cell fluctuates at the input point of the UPC device 20. This limits the accuracy of UPC.

さらに、各加入者線に流れるセル流の速度が異なることによる問題の他に、多
重化後の速度と各インタフェース回路I/Fの速度の合計が、適当な比にならな
い場合、UPC精度が制限されるという問題がある。
Furthermore, in addition to the problem caused by the difference in the cell flow speed flowing through each subscriber line, the UPC accuracy is limited when the sum of the speed after multiplexing and the speed of each interface circuit I / F does not reach an appropriate ratio. There is a problem of being.

図15は、これを説明する図である。システム構成上の理由から多重化後の速
度とインタフェース回路I/Fの速度の差は、正確に物理回線速度の適当な倍数
にならないためにUPC装置20の入力に余った帯域分の無効なセルを挿入しな
ければならない。図15において、多重化後のセル列Mの斜線領域(セルb1 と
a2 の間、セルb3 とa4 の間)が挿入された無効セルである。
FIG. 15 is a diagram for explaining this. For reasons of system configuration, the difference between the speed after multiplexing and the speed of the interface circuit I / F is not an appropriate multiple of the physical line speed. Must be inserted. In FIG. 15, the hatched area (between cells b1 and a2, and between cells b3 and a4) of the multiplexed cell row M is an invalid cell.

この挿入される無効セルにより、図15に示すように、多重化後のa回線のセ
ル列に揺らぎが生じていることが分かる。
As shown in FIG. 15, the inserted invalid cell causes fluctuations in the cell line of the multiplexed a line.

さらに、別の問題として複数回線を多重化して、1つのUPC装置20に入力
する場合、各回線の伝送速度の和以上の速度でUPC機能を果たさなければなら
ない。
Furthermore, when a plurality of lines are multiplexed and input to one UPC device 20 as another problem, the UPC function must be performed at a speed higher than the sum of the transmission speeds of the respective lines.

しかし、UPC装置20は、低速レートから高速レートまで広範囲にわたって
、精度よく計算するために、浮動小数点演算等が必要である。かかる浮動小数点
演算は、メモリ等の容量を小さく押さえることができるが、小数点演算のための
演算時間が多く必要となる。このために、装置動作に限界を与える要因となる。
However, the UPC device 20 requires floating point arithmetic and the like in order to accurately calculate over a wide range from a low rate to a high rate. Such floating point arithmetic can reduce the capacity of a memory or the like, but requires a lot of calculation time for decimal point arithmetic. For this reason, it becomes a factor which gives a limit to apparatus operation.

したがって、本発明の目的は、複数回線を多重化して、1つのUPC装置20
によりUPC機能を果たそうとする場合における、上記した諸問題を、解決する
UPU(セル流量監視)装置を提供することにある。
Therefore, an object of the present invention is to multiplex a plurality of lines and to make one UPC device 20.
An object of the present invention is to provide a UPU (cell flow rate monitoring) device that solves the above-mentioned problems when attempting to fulfill the UPC function.

更なる本発明の課題は、以下に説明する図面を参照しての、実施の形態からも
明らかとなる。
Further problems of the present invention will become apparent from the embodiments with reference to the drawings described below.

上記の本発明の目的を達成するセル流量制御方法御及び、これを用いるセル交
換システムの第1の態様は、複数の回線から送られるセルを受信し、セルのパス
を制御するものであることを前提とし、以下の構成を有する。
The first aspect of the cell flow rate control method and the cell switching system using the cell flow rate control method for achieving the object of the present invention is to receive cells sent from a plurality of lines and to control the cell path. And has the following configuration.

先ず前記複数の回線を多重化する。次に、多重化される回線対応に備えられる
、複数の時刻カウンタのうち、到来するセルの属する回線に対応する時刻カウン
タのみを歩進する。そして、この歩進された時刻カウンタの計数値に対応して、
セル流量を制御する。
First, the plurality of lines are multiplexed. Next, only the time counter corresponding to the line to which the incoming cell belongs is stepped out of the plurality of time counters provided for the line to be multiplexed. And in correspondence with the count value of this advanced time counter,
Control cell flow.

上記の構成により、物理回線毎のセル流量の時間管理を行なうことができる。   With the above configuration, the time management of the cell flow rate for each physical line can be performed.

また、別の構成として、セル識別子からそのセルが属する物理回線が分からな
いような場合、前記複数の回線の多重化において、到来するセルの属する回線を
識別する識別子を付し、次いで、該識別子の識別する回線に対応する時刻カウン
タを歩進する。
As another configuration, when the physical line to which the cell belongs is not known from the cell identifier, an identifier for identifying the line to which the incoming cell belongs is attached in the multiplexing of the plurality of lines, and then the identifier The time counter corresponding to the line to be identified is incremented.

また、上記において、前記複数の回線を多重化において、いずれの回線にも属
しない速度調整用セルを挿入し、速度調整用セルによっては、いずれの時刻カウ
ンタも歩進しないようにする。これにより、前記複数の回線の多重化の前後での
速度の相違を吸収することができる。
Further, in the above, when the plurality of lines are multiplexed, a speed adjustment cell that does not belong to any line is inserted, and depending on the speed adjustment cell, no time counter is incremented. As a result, the difference in speed before and after the multiplexing of the plurality of lines can be absorbed.

さらに、本発明の別の形態として、前記多重化される回線対応に備えられる、
複数の時刻カウンタのそれぞれは、対応する回線に属する複数のコネクションの
それぞれに対して、相互にずれたカウンタ値を有する。そして、複数のコネクシ
ョンのそれぞれに対して、相互にずれたカウンタ値は、相互にずれたタイミング
でオーバフローする。これにより、複数のコネクションに対し、共通のカウンタ
を使用することができる。
Furthermore, as another aspect of the present invention, it is provided for the line to be multiplexed.
Each of the plurality of time counters has a counter value shifted from each other for each of the plurality of connections belonging to the corresponding line. Then, counter values shifted from each other for each of the plurality of connections overflow at timing shifted from each other. Thereby, a common counter can be used for a plurality of connections.

さらに、具体例として、前記オーバフロー処理を必要とするコネクションと、
その属する回線番号を対比してテーブルに記憶する。前記対応する時刻カウンタ
のカウンタ値により、このテーブルを検索して、オーバフロー処理を、実施しよ
うとするコネクションの回線が、該テーブルに記憶されたオーバフロー処理を必
要とするコネクションの属する回線と一致する場合、当該コネクションの属する
回線に対応する時刻カウンタに対し、オーバフロー処理を実行する。
Furthermore, as a specific example, a connection that requires the overflow processing,
The line number to which it belongs is compared and stored in the table. When this table is searched by the counter value of the corresponding time counter and the line of the connection to be subjected to the overflow process matches the line to which the connection requiring the overflow process stored in the table belongs The overflow processing is executed for the time counter corresponding to the line to which the connection belongs.

また、具体例として、前記オーバフロー処理を必要とするコネクションと、そ
の属する回線番号を対比して、記憶するテーブルにおける、このオーバフロー処
理を必要とするコネクションは、そのコネクションに一意の理想到達時刻により
示される。
Further, as a specific example, the connection requiring the overflow processing and the line number to which the connection belongs are compared in the table to be stored, and the connection requiring the overflow processing is indicated by a unique ideal arrival time for the connection. It is.

この理想到達時刻から前記対応する時刻カウンタのカウンタ値を減算すること
によりオーバフロー処理が行われる。
An overflow process is performed by subtracting the counter value of the corresponding time counter from the ideal arrival time.

さらに、具体例として、複数の回線のそれぞれに属するコネクションに対する
セル流量を制御を行なう基準となるパラメータをテーブルに記憶する。
Further, as a specific example, parameters serving as a reference for controlling the cell flow rate for connections belonging to each of a plurality of lines are stored in a table.

このパラメータは、固定小数点で記録され、且つパラメータの小数点位置の指
数値が記録され、このパラメータと、前記時刻カウンタの計数値との演算を行な
いう際、指数値により、時刻カウンタの計数値を桁移動して、演算する。
This parameter is recorded in a fixed decimal point, and an exponent value at the decimal point position of the parameter is recorded, and when calculating the parameter and the count value of the time counter, the count value of the time counter is calculated by the exponent value. Move digit and calculate.

また、同様にして、オーバフロー処理を行なう時は、前記理想到達時刻は、固
定小数点と小数点位置の指数値で表わされる。そして、前記理想到達時刻から前
記対応する時刻カウンタの(最大カウンタ値+1)に関連する特定値を減算する
ことによりオーバフロー処理を行なう際、該特定値を該小数点位置の指数値分桁
移動して、前記理想到達時刻から減算することにより実行する。
Similarly, when the overflow process is performed, the ideal arrival time is represented by an exponent value at a fixed point and a decimal point position. When performing overflow processing by subtracting a specific value related to (maximum counter value + 1) of the corresponding time counter from the ideal arrival time, the specific value is moved by an exponent value digit of the decimal point position. , By subtracting from the ideal arrival time.

かかる桁移動により、UPC用のパラメータをメモリから読み出す毎に、小数
点位置の調整を必要とすることが避けられる。
Such digit shift avoids the necessity of adjusting the decimal point position each time the UPC parameter is read from the memory.

以下図面に従い、本発明の実施の形態を説明する。なお、図において、同一ま
たは類似ものには、同一の参照番号または参照記号を付して説明する。
Embodiments of the present invention will be described below with reference to the drawings. In the drawings, the same or similar elements are described with the same reference numerals or reference symbols.

本発明の実施例を説明する前に、本発明に従うUPC装置の特徴点について、
順次説明する。
Before describing the embodiments of the present invention, the features of the UPC device according to the present invention will be described.
A description will be made sequentially.

[物理回線毎の時間管理]
図1及び図2は、本発明のUPC装置の第1の特徴点を説明する概念図である
。加入者線を図12に示すように回線多重化装置21で多重化した場合における
、物理回線毎の伝送速度の相違による問題を解決している。
[Time management for each physical line]
1 and 2 are conceptual diagrams for explaining a first characteristic point of the UPC device of the present invention. When the subscriber line is multiplexed by the line multiplexer 21 as shown in FIG. 12, the problem due to the difference in transmission rate for each physical line is solved.

即ち、物理回線毎の伝送速度が異なると、多重化されるそれぞれの回線対応に
管理すべき時間軸も異なってくる。したがって、本発明では、物理回線分の時刻
カウンタを用意する。
That is, when the transmission rate for each physical line is different, the time axis to be managed corresponding to each multiplexed line is also different. Therefore, in the present invention, time counters for physical lines are prepared.

図1の例では、UPC装置20に時刻カウンタ200とセレクタ201を備え
る。時刻カウンタ200には、多重化される、例として4つの物理回線に対応し
て、4つのカウンタc1〜c4が用意される。該当する物理回線のセルが到着す
る毎に、セレクタ201で、カウンタ200の時刻カウンタc1〜c4のうちの
該当の物理回線用に用意した時刻カウンタを、歩進する様に構成される。
In the example of FIG. 1, the UPC device 20 includes a time counter 200 and a selector 201. In the time counter 200, four counters c1 to c4 are prepared corresponding to, for example, four physical lines to be multiplexed. Each time a cell of the corresponding physical line arrives, the selector 201 is configured to increment the time counter prepared for the corresponding physical line among the time counters c1 to c4 of the counter 200.

即ち、図1において、セレクタ1は、図1においては、図示されていない回線
多重化装置21から出力されるセル10のヘッダ部11から、当該セルが属する
物理回線を、セル識別子であるVPI(Virtual Path Identifier)を使って、判
断する。セレクタ201は、VPI値から対応する回線用の、時刻カウンタ20
0のカウンタc1〜c4を選択して、当該選択されたカウンタを+1だけ歩進(
インクリメント)する。
That is, in FIG. 1, the selector 1 selects the physical line to which the cell belongs from the header portion 11 of the cell 10 output from the line multiplexer 21 (not shown) in FIG. Judgment is made using the Virtual Path Identifier. The selector 201 selects the time counter 20 for the corresponding line from the VPI value.
0 counters c1 to c4 are selected, and the selected counter is incremented by +1 (
Increment).

図2に、かかる様子を示すタイムチャートが示される。図2Aは、インタフェ
ース回路I/Fの出力が、回線多重化装置21(図12参照)で多重化されたセ
ル流である。各セルに付された数字は、(VPI−VCI)を示し、例えば、3
−2を例にすると、回線番号3のコネクション番号2を示している。
FIG. 2 shows a time chart showing such a situation. FIG. 2A shows a cell flow in which the output of the interface circuit I / F is multiplexed by the line multiplexer 21 (see FIG. 12). The number given to each cell indicates (VPI-VCI), for example, 3
When -2 is taken as an example, connection number 2 of line number 3 is shown.

したがって、図2Aのセル流に対する、時刻カウンタ200の各回線用の時刻
カウンタc1〜c4の計数値は、図2B〜図2Eに示されるようになる。また、
図2Fは、回線2のコネクション1に対応するセルの到着パターンを示している
。この様に、カウンタ200の回線対応の時刻カウンタの値を見ることにより、
それぞれの回線番号に属するコネクション毎に、セルの流量を把握することがで
きる。
Therefore, the count values of the time counters c1 to c4 for each line of the time counter 200 for the cell flow of FIG. 2A are as shown in FIGS. 2B to 2E. Also,
FIG. 2F shows an arrival pattern of a cell corresponding to connection 1 of line 2. In this way, by looking at the value of the time counter corresponding to the line of the counter 200,
The flow rate of the cell can be grasped for each connection belonging to each line number.

[物理回線番号の通知]
図3は、本発明の別の特徴を説明するの概念図である。この特徴では、上記図
1において、セル識別子から、当該セルが属する物理回線が分からない場合に、
物理回線番号を回線多重化装置21から新たに通知する様に構成している。
[Notification of physical line number]
FIG. 3 is a conceptual diagram illustrating another feature of the present invention. In this feature, in FIG. 1, when the physical line to which the cell belongs is not known from the cell identifier,
The physical line number is newly notified from the line multiplexer 21.

図3において、回線多重化装置21でセルを多重化する際、セルに物理回線番
号を付加している。セルCE1、CE2、CE3は、それぞれ物理回線a,b,
cにより送られるセルである。したがって、図示するように回線多重化装置21
から出力されるセルCE1、CE2、CE3には、それぞれ回線番号a,b,c
がヘッダに付されている。
In FIG. 3, when a cell is multiplexed by the line multiplexer 21, a physical line number is added to the cell. Cells CE1, CE2, and CE3 have physical lines a, b,
cell sent by c. Therefore, as shown in FIG.
Cell numbers CE, CE2, and CE3 output from the line numbers a, b, and c, respectively.
Is attached to the header.

かかる回線番号a,b,cの付されたセルは、図1に示すセレクタ201で回
線番号が検知され、カウンタ200の対応する時刻カウンタが、 その都度+1増
加される。かかる図3の特徴では、任意のVPI/VCIを任意の物理回線に、
割り当てることができる。
The cells with the line numbers a, b, and c are detected by the selector 201 shown in FIG. 1, and the corresponding time counter of the counter 200 is incremented by +1 each time. In such a feature of FIG. 3, an arbitrary VPI / VCI is connected to an arbitrary physical line,
Can be assigned.

[物理回線速度の総和の調整]
ここで、回線多重化装置21には、物理回線からのセルの他に、速度調整用に
用意された空きセルが入力される場合がある。即ち、いずれの回線にも属しない
セルである。かかる場合は、本発明の更に別の特徴として、いずれの回線にも属
さないセルであることが明示する。
[Adjustment of total physical line speed]
Here, in addition to the cell from the physical line, there may be a case where an empty cell prepared for speed adjustment is input to the line multiplexer 21. That is, the cell does not belong to any line. In such a case, as still another feature of the present invention, it is clearly indicated that the cell does not belong to any line.

図4に示すように、回線a,b,cの有効セルの多重化の際に、回線多重化装
置21において、無効セルCEXが挿入される。したがって、図示されるように
、回線多重化装置21から、多重化された回線a,b,cに対応するセルCE1
、CE2、CE3に加えて、速度調整用の無効セルCEX(ヘッダ部に無効セル
であることの明示xが付される)が出力される。
As shown in FIG. 4, when the effective cells of lines a, b, and c are multiplexed, invalid cell CEX is inserted in line multiplexer 21. Accordingly, as shown in the figure, from the line multiplexer 21, a cell CE1 corresponding to the multiplexed lines a, b, c is obtained.
, CE2 and CE3, an invalid cell CEX for speed adjustment (an explicit x indicating that it is an invalid cell is added to the header portion) is output.

次いで、図1と同様に、セレクタ201において、各セルの対応する回線番号
が認識される。この際、無効セルCEXについては、対応する回線番号がないの
で、当然に認識されない。
Next, as in FIG. 1, the selector 201 recognizes the corresponding line number of each cell. At this time, the invalid cell CEX is not recognized because there is no corresponding line number.

これにより、回線番号が認識されたセルに対応して、時刻カウンタ200の対
応するカウンタを+1だけ歩進する。一方、無効セルCEXについては、いずれ
のカウンタの歩進にも、影響を与えない。
As a result, the counter corresponding to the time counter 200 is incremented by +1 corresponding to the cell whose line number is recognized. On the other hand, the invalid cell CEX does not affect the progress of any counter.

[時刻カウンタのオーバフロー処理]
UPC機能は、予め申告されたセル流量に対し、実際のセル流量を求め、申告
されたセル流量を超えるセルについて、廃棄等の処理を行ない、回線の平等な運
用を可能とするものである。
[Time counter overflow processing]
The UPC function obtains an actual cell flow rate with respect to a previously reported cell flow rate, performs a process such as discarding the cells that exceed the reported cell flow rate, and enables equal operation of the line.

この機能の実行のために、UPC装置20においては、実際のセル流量を求め
るために、上記特徴に示したように、多重回線数分の時刻カウンタを有するカウ
ンタ200が用いられる。
In order to execute this function, the UPC device 20 uses a counter 200 having time counters corresponding to the number of multiple lines as shown in the above feature in order to obtain the actual cell flow rate.

ここで、上記したカウンタ200の多重回線数分のそれぞれの時刻カウンタに
注目すると、それぞれ対応する物理回線のセルの到来毎に計数が、歩進される。
Here, when attention is paid to the respective time counters corresponding to the number of multiplexed lines of the counter 200, the count is incremented for each arrival of the cell of the corresponding physical line.

上記複数の時刻カウンタのそれぞれは、所定のビット長を有するハードウェア
又は、ソフトウェアとして実現される。そのカウント長は、無限ではない。さら
に、1の物理回線には、複数のコネクションが属している。したがって、コネク
ション毎に、セル流入量を想定するために、前回のセル流入時刻と今回のセル流
入時刻との差(セル流入間隔)が、計算される。この時、上述のように時刻カウ
ンタのカウント範囲は、有限であり、所定の周期で、同じカウント値の出力を繰
り返す。
Each of the plurality of time counters is realized as hardware or software having a predetermined bit length. The count length is not infinite. Furthermore, a plurality of connections belong to one physical line. Therefore, in order to assume the cell inflow amount for each connection, the difference (cell inflow interval) between the previous cell inflow time and the current cell inflow time is calculated. At this time, as described above, the count range of the time counter is finite, and the output of the same count value is repeated at a predetermined cycle.

したがって、前回のセル流入時刻から今回のセル流入時刻までの間に時刻カウ
ンタが、何回オーバフロー(即ち、最大カウント値から0に復帰)したかを示す
オーバフローフラグを、コネクション毎に記憶する必要がある。
Therefore, an overflow flag indicating how many times the time counter has overflowed (ie, returned from the maximum count value to 0) between the previous cell inflow time and the current cell inflow time needs to be stored for each connection. is there.

しかし、上記の通り、同じ加入者回線に属する、異なるコネクションは、カウ
ンタ200の同じ時刻カウンタに計数される。したがって、時刻カウンタがオー
バフロー処理されると、オーバーフローフラグの更新が完了していない、同じ加
入者回線に属するコネクションに対するセルが流入した場合、当該コネクション
に対する流入間隔は、誤ったオーバフローフラグに基づいて算出されることにな
る。
However, as described above, different connections belonging to the same subscriber line are counted in the same time counter of the counter 200. Therefore, when the time counter overflows, if a cell for a connection belonging to the same subscriber line that has not been updated, the inflow interval for that connection is calculated based on the incorrect overflow flag. Will be.

かかる問題を解決するために、本発明で回線を多重化し、1つのUPC装置で
UPC機能を実行する場合においても、先に本願発明者等が提案した、時刻カウ
ンタの値とコネクション識別子(例えば、VPI/VCI)との差を、当該コネ
クションに対する時刻カウンタとして使用する技術(特願平8−30715号)
を採用することができる。
In order to solve such a problem, even when a line is multiplexed according to the present invention and the UPC function is executed by one UPC device, the value of the time counter and the connection identifier (for example, as previously proposed by the present inventors) are proposed. Technology that uses the difference from VPI / VCI as a time counter for the connection (Japanese Patent Application No. 8-30715)
Can be adopted.

かかる技術では、コネクション毎にユニークなオフセットを持つ時刻を定義し
、その時刻が0に回帰(オーバフロー)するタイミングで、当該コネクションだ
けをオーバフロー処理することができる。
In such a technique, a time having a unique offset is defined for each connection, and only the connection can be overflowed when the time returns to 0 (overflow).

即ち、コネクション毎に、基準となる時刻カウンタ値(これをグローバル時刻
カウンタ値と定義する)から、コネクション毎の対応する大きさ分ずれた、時刻
カウンタ値(これをローカル時刻カウンタ値と定義する)が使用される。
That is, for each connection, a time counter value (this is defined as a local time counter value) deviated by a corresponding magnitude for each connection from a reference time counter value (this is defined as a global time counter value). Is used.

この結果、1つのローカル時刻カウンタ値がオーバフローした場合に、オーバ
フローフラグを更新する必要があるコネクションの数は、ただ1つとなる。この
1つのコネクションに対するオーバフローフラグの更新処理は、1セル分の流入
時間より短い時間で完了できる。
As a result, when one local time counter value overflows, the number of connections that need to update the overflow flag is only one. The overflow flag update process for one connection can be completed in a time shorter than the inflow time for one cell.

具体例として、図5に示すように、グローバル時刻カウンタ値tc から1つの
コネクションのコネクション識別子VPI(仮想パス識別子)/VCI(仮想チ
ャネル識別子)より一意に定まるセル識別番号IDの値を、減算して得られるカ
ウンタ値が、そのコネクションに対応するローカル時刻カウンタ値tcdと定義さ
れる。
As a specific example, as shown in FIG. 5, the value of the cell identification number ID uniquely determined from the connection identifier VPI (virtual path identifier) / VCI (virtual channel identifier) of one connection is subtracted from the global time counter value tc. The counter value obtained in this way is defined as the local time counter value tcd corresponding to the connection.

図5において、時刻t1 でローカル時刻カウンタ値tcdがオーバフローする。
即ち、グローバル時刻カウンタ値tc が、値IDに等しくなる時、ローカル時刻
カウンタ値tcdがオーバフロー処理される。
In FIG. 5, the local time counter value tcd overflows at time t1.
That is, when the global time counter value tc becomes equal to the value ID, the local time counter value tcd is overflowed.

オーバフロー処理は、次のように行われる。即ち、TAT (Theoretical
Arrival Time:理想到着時刻)が示す、次の理想到着時刻から時刻カウンタの長
さClenに相当する時間を減算し、得られる値TAT’を、次の理想到着時刻とし
て、ローカル時刻カウンタ値tcdの歩進を継続する。
The overflow process is performed as follows. That is, TAT (Theoretical
The time corresponding to the length Clen of the time counter is subtracted from the next ideal arrival time indicated by Arrival Time (ideal arrival time), and the obtained value TAT ′ is used as the next ideal arrival time to determine the local time counter value tcd. Continue to advance.

ここで、時刻カウンタの長さClenに相当する時間は、時刻カウンタの(カウン
タ最大値+1)に関連する特定値として定義できる。したがって、オーバフロー
処理は、理想到達時刻から、該当のコネクションに対応する時刻カウンタの(カ
ウンタ最大値+1)に関連する特定値を差し引くことにより行われる。
Here, the time corresponding to the length Clen of the time counter can be defined as a specific value related to (maximum counter value + 1) of the time counter. Therefore, the overflow process is performed by subtracting a specific value related to (counter maximum value + 1) of the time counter corresponding to the connection from the ideal arrival time.

図5では、ローカル時刻カウンタ値tcdとして、物理回線aのコネクション識
別子IDについてのみ示されている。コネクション毎に識別子の値が異なるので
、1つの物理回線に含まれるコネクション毎に、ユニークなオフセットを持つ時
刻を定義し、その時刻が0に回帰(オーバフロー)するタイミングで、当該コネ
クションだけをオーバフロー処理することができる。
In FIG. 5, only the connection identifier ID of the physical line a is shown as the local time counter value tcd. Since the value of the identifier is different for each connection, a time with a unique offset is defined for each connection included in one physical line, and only the relevant connection is overflowed when the time returns to 0 (overflow). can do.

ここで、本願発明の対象とする、複数回線を多重化して、且つ物理回線対応に
複数の時刻カウンタを用いる構成では、物理回線が複数存在するために、先の出
願の技術をそのまま使用することができない。したがって、複数の時刻カウンタ
を用いる本願発明では、図6を参照して、以下のように処理が行われる。
Here, in the configuration in which a plurality of lines are multiplexed and a plurality of time counters corresponding to the physical lines are used, the technique of the previous application is used as it is because there are a plurality of physical lines. I can't. Therefore, in the present invention using a plurality of time counters, the following processing is performed with reference to FIG.

本発明において、UPC装置20には、TATメモリ62を有する。このTA
Tメモリ62には、TAT即ち、予めコネクション毎に対応して、設定されるT
AT(理想到達時刻)が属する物理回線番号を、TATに関連して、記憶してい
る。
In the present invention, the UPC device 20 has a TAT memory 62. This TA
In the T memory 62, TAT, that is, T set in advance corresponding to each connection.
The physical line number to which the AT (ideal arrival time) belongs is stored in association with the TAT.

更に、本発明の第1の特徴である図1の原理の説明と同様に、先ず入力したセ
ル10のヘッダ11から回線番号60を抽出し、セレクタ201により、歩進(
+1を加算)するべき対応の時刻カウンタを、選択する(図の例では、入力した
セル10の回線番号60が、回線aに対応するものとして時刻カウンタaが選択
されている)。
Further, similarly to the explanation of the principle of FIG. 1 which is the first feature of the present invention, first, the line number 60 is extracted from the header 11 of the inputted cell 10, and the selector 201 executes the step (
The corresponding time counter to be added (+1 is added) is selected (in the example of the figure, the time counter a is selected with the line number 60 of the input cell 10 corresponding to the line a).

そして、加算した後のカウンタの値61により、オーバフロー処理をするコネ
クションのTATを示す指示子とし、上記TATメモリ62をアクセスする。こ
こで指示されるTATは、入力したセルとは、直接関係を有しない。
Then, the TAT memory 62 is accessed using the counter value 61 after the addition as an indicator indicating the TAT of the connection to be overflow processed. The TAT indicated here is not directly related to the input cell.

したがって、加算後のカウンタ値61と一致するTATに対応して、TATメ
モリに記憶されている回線番号が読みだされる。さらに、読みだされる回線番号
が、入力セルの属する回線番号と同一である場合は、当該入力セルのコネクショ
ンの時刻カウンタが、最大値まで到達したことを意味し、したがって、オーバフ
ロー処理の対象とされる。
Therefore, the line number stored in the TAT memory is read in correspondence with the TAT that matches the counter value 61 after the addition. Furthermore, when the line number to be read is the same as the line number to which the input cell belongs, it means that the time counter of the connection of the input cell has reached the maximum value, and therefore the overflow processing target Is done.

例えば、図6において、物理回線aに属するコネクション識別子(ID)のセ
ルが入力し、その時のIDコネクションに関連する時刻は、表1の様になる。
For example, in FIG. 6, a connection identifier (ID) cell belonging to the physical line a is input, and the time associated with the ID connection at that time is as shown in Table 1.

Figure 0003870218

表1において、「Clen」は、時刻カウンタの長さである。カウンタaの値が0
であっても、コネクション識別番号(ID)によって、時刻をずらせている。即
ち、図6において、加算後のカウント値61(グローバル時刻カウンタ値)から
コネクション識別子(ID)63が減算回路64で減算され、これが当該コネク
ションに対する時刻(ローカル時刻カウンタ値)となり、UPC処理65が行わ
れる。この様に、オーバフロー処理が必要なコネクションも1つだけである。
Figure 0003870218

In Table 1, “Clen” is the length of the time counter. The value of counter a is 0
Even so, the time is shifted by the connection identification number (ID). That is, in FIG. 6, the connection identifier (ID) 63 is subtracted from the count value 61 (global time counter value) after the addition by the subtraction circuit 64, and this becomes the time (local time counter value) for the connection, and the UPC process 65 is performed. Done. In this way, only one connection requires overflow processing.

なお、減算回路64では、コネクション識別子63の各ビットの符号を反転し
、これに+1を加算して得られる数(コネクション識別子63に対する2の補数
)に、加算後のカウント値61であるグローバル時刻カウント値を加算する演算
を実行することにより減算処理が実行される。
The subtracting circuit 64 inverts the sign of each bit of the connection identifier 63 and adds +1 to this bit number (the 2's complement to the connection identifier 63) to the global time that is the count value 61 after the addition. The subtraction process is executed by executing an operation for adding the count value.

ここで、コネクション識別番号(ID)は、コネクションに固有である。した
がって、上記図6の様に、加算後のカウント値61(グローバル時刻カウンタ値
)からコネクション識別子63が減算回路64で減算され、その結果を、当該コ
ネクションに対する時刻(ローカル時刻カウンタ値)とする代わりに、図7のよ
うに構成することが可能である。
Here, the connection identification number (ID) is unique to the connection. Therefore, as shown in FIG. 6, the connection identifier 63 is subtracted from the added count value 61 (global time counter value) by the subtraction circuit 64, and the result is used as the time (local time counter value) for the connection. In addition, it is possible to configure as shown in FIG.

この図7の場合の、グローバル時刻カウンタ値61とコネクション識別子63
との関係は、表2のようになる。
The global time counter value 61 and the connection identifier 63 in the case of FIG.
Table 2 shows the relationship.

Figure 0003870218
即ち、図7では、加算後のカウント値61(グローバル時刻カウンタ値)にコ
ネクション識別子63を加算回路66で加算するようにしている。この場合も、
コネクション毎に時刻カウンタとして使用する時刻が異なり、オーバフロー処理
が必要なコネクションは1つだけである。
Figure 0003870218
That is, in FIG. 7, the connection identifier 63 is added to the count value 61 (global time counter value) after the addition by the adding circuit 66. Again,
The time used as the time counter is different for each connection, and only one connection requires overflow processing.

もし、表1で識別子ID=2のコネクションが、物理回線bに属している場合
、表3、4の様に示される。
If the connection with the identifier ID = 2 in Table 1 belongs to the physical line b, it is shown as Tables 3 and 4.

Figure 0003870218
Figure 0003870218

Figure 0003870218
表3は、物理回線aについて、表4は、物理回線bについて、示している。表
3の物理回線aには、識別番号ID=2は、存在しない。したがって、物理回線
aに対応する時刻カウンタの計数値がa=2であっても、オーバフロー処理は、
行われない。
Figure 0003870218
Table 3 shows the physical line a, and Table 4 shows the physical line b. The identification number ID = 2 does not exist in the physical line a in Table 3. Therefore, even if the count value of the time counter corresponding to the physical line a is a = 2, the overflow process is
Not done.

一方、物理回線bに対応する時刻カウンタbの計数値が2の時、当該物理回線
bに属するコネクションが存在するから、オーバフロー処理が必要となる。
On the other hand, when the count value of the time counter b corresponding to the physical line b is 2, since there is a connection belonging to the physical line b, an overflow process is required.

上記のように、図6、図7に示すTATメモリに、TAT(即ち、コネクショ
ン)がどの回線(即ち、時刻カウンタ)に属するかを、TAT(コネクション)
に関連して、記憶しておく。これにより、入力したセルと、同じ物理回線に属し
ている時、オーバフロー処理が実行される。
As described above, in the TAT memory shown in FIGS. 6 and 7, which line (that is, time counter) the TAT (that is, connection) belongs to, TAT (connection).
Remember in relation to. As a result, overflow processing is executed when the cell belongs to the same physical line as the input cell.

[半固定小数点演算によるUPC処理]
図6または、図7において、コネクション別時刻65が求められると、UPC
処理が行なわれる。ここで、UPC装置は、150Mbps 以上の高速なコネクシ
ョンから、64Kbps のような低速コネクションまで幅広い特性のコネクション
を処理するために、浮動小数点演算方式を採用する。
[UPC processing by semi-fixed point arithmetic]
In FIG. 6 or FIG. 7, when the connection-specific time 65 is obtained, the UPC
Processing is performed. Here, the UPC device employs a floating point arithmetic method in order to process connections with a wide range of characteristics from high-speed connections of 150 Mbps or higher to low-speed connections such as 64 Kbps.

しかし、浮動小数点演算方式を採用する場合は、その演算に要するCPU負荷
が、大きくなる。従って、本発明は、コネクション別時刻65が求められると、
最適なUPC処理として、半固定小数点演算方式によるUPC処理を行うことを
特徴とする。
However, when the floating-point arithmetic method is adopted, the CPU load required for the calculation becomes large. Therefore, according to the present invention, when the connection-specific time 65 is obtained,
As an optimal UPC process, a UPC process by a semi-fixed point arithmetic method is performed.

本発明の特徴は、更に、かかるUPC処理のための浮動小数点演算を、処理精
度を落とさずにしかも、小さな回路規模のUPC装置を可能とするものである。
The feature of the present invention further enables a UPC apparatus having a small circuit scale without lowering the processing accuracy of the floating-point arithmetic for UPC processing.

図8は、本発明に従う例として、半固定浮動小数点演算方式を用いて、VS
(Virtual Scheduling Argolithm) でUPU処理を行うフローである。
As an example according to the present invention, FIG.
This is a flow for performing UPU processing in (Virtual Scheduling Argolithm).

従来、各セル毎にセルのパラメータとして、TAT(Theoretiacal Arrival
Time)、I(Increment Parameter)、L(Limited Parameter)を浮動形式で記憶
し、演算に用いていた。ここで、I(Increment Parameter)は、あらかじめ規定
されたセル流入間隔を表現する加算値である。
Conventionally, as a cell parameter for each cell, TAT (Theoretiacal Arrival
Time), I (Increment Parameter), and L (Limited Parameter) are stored in a floating format and used for computation. Here, I (Increment Parameter) is an added value expressing a cell inflow interval defined in advance.

また、L(Limited Parameter)は、セルがTATより速く到着している場合は
、どの程度早くに到着しているかが問題であり、この場合の許容値を示す値であ
る。
Also, L (Limited Parameter) is a problem indicating how early the cell arrives faster than TAT, and is a value indicating an allowable value in this case.

本発明では、これらのパラメータを、全て固定小数点化し、代わりにこれらの
パラメータが持つ小数点の位置を指数値exp というパラメータで代表的にメモリ
80に記憶している。この指数値exp の値に応じて、時刻カウンタの桁をシフト
させて演算を実施する。
In the present invention, these parameters are all converted into fixed-point numbers, and instead, the positions of the decimal points of these parameters are typically stored in the memory 80 as a parameter called exponent value exp. Depending on the value of the exponent value exp, the time counter digit is shifted to perform the operation.

TAT、I、Lの各パラメータは、ファーム等から設定する場合は、小数点位
置の関係を調整しておく。小数点位置の絶対値は、時刻カウンタの桁シフトによ
って、調整する。
When the TAT, I, and L parameters are set from a firmware or the like, the relationship of the decimal point positions is adjusted in advance. The absolute value of the decimal point position is adjusted by the digit shift of the time counter.

図8において、図6、図7で得られるコネクション別の時刻65の桁合わせの
ために、メモリ80から指数値exp の値を読み出し、指数値exp の値の大きさに
合わせて桁シフトする(ステップS80)。この桁シフトされた現在時刻値ta
の小数点位置は、TATと同じである。
In FIG. 8, the exponent value exp is read from the memory 80 and digit-shifted in accordance with the magnitude of the exponent value exp in order to align digits at the time 65 for each connection obtained in FIGS. Step S80). This digit shifted current time value ta
Is the same as TAT.

次いで、時刻値ta とTATの差を計算する(ステップS81)。この計算結
果において、更にTATとを比較して、TAT<ta ならば、TATは、過去の
時刻となっているので、セル流を許容できる状態にあるので、適合(A)と判断
する(ステップS82)。
Next, the difference between the time value ta and TAT is calculated (step S81). In this calculation result, TAT is further compared. If TAT <ta, since TAT is in the past, the cell flow is in an acceptable state, so it is determined as conforming (A) (step) S82).

一方、TATが大きい場合は、(TAT−ta )とLを比較し(ステップS8
3)、
ta ≧TAT−Lであれば、TATとの差が許容用値L以内であるので、適合(
B)と判断する(ステップS84)。さらに、ta <TAT−Lであれば、許容
用値Lを超えているので、不適合と判断する(ステップS85)。
On the other hand, if TAT is large, (TAT-ta) is compared with L (step S8).
3),
If ta ≧ TAT-L, the difference from TAT is within the allowable value L, so
B) is determined (step S84). Further, if ta <TAT-L, the allowable value L is exceeded, so that it is determined as non-conforming (step S85).

さらに、上記の適合(a)の場合、次回のTATとして、現在時刻ta を、適
合(b)の場合は、パラメータI分増加した値、(TAT+I)をメモリ62に
更新値として、書き戻す。
Further, in the case of the adaptation (a), the current time ta is written as the next TAT, and in the case of the adaptation (b), the value increased by the parameter I and (TAT + I) are written back to the memory 62 as updated values.

従来の浮動小数点演算では、メモリからパラメータを読み出す毎に、小数点位
置の調整が必要であり、メモリへの書き戻しの際にも、指数部と、仮数部に分解
するための手順が必要であった。
In conventional floating point arithmetic, each time a parameter is read from the memory, the decimal point position must be adjusted, and when writing back to the memory, a procedure for decomposing it into an exponent part and a mantissa part is necessary. It was.

これに対し、上記の構成により、本発明では、演算の中で、時刻カウンタの桁
シフトが1度だけ行われるだけである。また、小数点位置は、コネクション毎に
、指数値exp で変更できるため、精度を落とさずに演算ができる。
On the other hand, with the above configuration, in the present invention, the digit shift of the time counter is performed only once in the calculation. In addition, since the decimal point position can be changed with the exponent value exp for each connection, the calculation can be performed without reducing accuracy.

[半固定小数点演算UPC処理におけるオーバフロー処理]
ここで、上記の図7の構成では、TATと時刻カウンタの小数点位置がコネク
ション毎に異なることになる。このために、先に説明した、TATから定数を減
算する方法では、コネクション毎にオーバフロー処理ができない。
[Overflow processing in semi-fixed point arithmetic UPC processing]
Here, in the configuration of FIG. 7 described above, the decimal point positions of the TAT and the time counter are different for each connection. For this reason, the above-described method of subtracting a constant from TAT cannot perform overflow processing for each connection.

そこで、図9に示すように、時刻カウンタ長(時刻カウンタの最大値+1)を
定数(C)67として保持する。保持した値を指数値exp だけシフトし(ステッ
プ90)、TAT69の減数値68とする。この減数値68をTATから減数す
る(ステップ91)。
Therefore, as shown in FIG. 9, the time counter length (maximum value of the time counter + 1) is held as a constant (C) 67. The held value is shifted by the exponent value exp (step 90) to obtain a decrement value 68 of TAT69. The decrement value 68 is decremented from the TAT (step 91).

図9におけるシフト処理(ステップS90)と、図8におけるシフト処理(ス
テップS81)とは、目的が異なるが、同一の機能であるために、ハードウエア
は、共通化できる。
Although the shift process (step S90) in FIG. 9 and the shift process (step S81) in FIG. 8 have different purposes, the hardware can be shared because they have the same function.

なお、図9では、複数の物理回線の多重化を考慮しないで構成しているが、多
重化に適用する場合は、図6または図7を組み合わせることで、容易に可能であ
る。
In FIG. 9, the configuration is made without considering the multiplexing of a plurality of physical lines, but when applied to multiplexing, it can be easily achieved by combining FIG. 6 or FIG.

[実施例]
次に、上記に説明した本発明の特徴を適用したUPC装置の構成例を、説明す
る。図11が、本発明の実施例として、上記の各特徴を適用する実施例ブロック
図であり、図10に示す物理回線の多重化を前提とする。
[Example]
Next, a configuration example of a UPC device to which the above-described features of the present invention are applied will be described. FIG. 11 is a block diagram of an embodiment to which the above-described features are applied as an embodiment of the present invention, and is based on the multiplexing of physical lines shown in FIG.

図10において、3つの物理層終端装置I/F1〜I/F3の3つの物理回線
a,b,cを、回線多重化装置21で多重化して、UPC装置20に送る。各物
理回線には、先に説明したように、複数のコネションが含まれている。
In FIG. 10, the three physical lines a, b, and c of the three physical layer termination devices I / F 1 to I / F 3 are multiplexed by the line multiplexer 21 and sent to the UPC device 20. Each physical line includes a plurality of connections as described above.

さらに、回線多重化装置21では、各回線からのセルを多重化する際、セルが
入力される毎に、対応する回線識別子a,b,cを付加して、UPC装置20に
送る。また、多重化後の速度が、高速である場合は、速度の調整のために無効セ
ルXが多重化して、挿入される。
Further, in the line multiplexer 21, when cells from each line are multiplexed, the corresponding line identifiers a, b, c are added and sent to the UPC device 20 each time a cell is input. If the speed after multiplexing is high, the invalid cell X is multiplexed and inserted for speed adjustment.

かかる、図10に示す物理回線a,b,cの多重化を前提として、図11のU
PC装置21の構成について説明する。
Assuming such multiplexing of physical lines a, b, and c shown in FIG. 10, U in FIG.
The configuration of the PC device 21 will be described.

入力したセルCLから、その回線識別子60と、コネクション識別子63が把
握される。回線識別子60により、セレクタ201により、時刻カウンタ200
の対応する物理回線用の時刻カウンタaが選択的に+1加算され、歩進する。
The line identifier 60 and the connection identifier 63 are grasped from the input cell CL. The time counter 200 is selected by the selector 201 based on the line identifier 60.
The time counter a for the corresponding physical line is selectively incremented by +1 and stepped.

+1加算された後の、時刻カウンタaのカウント値61は、その物理回線の時
刻を示している。
The count value 61 of the time counter a after adding +1 indicates the time of the physical line.

特定の物理回線のセルが来なければ、その回線の時刻カウンタは、進まない。
したがって、速度の異なる物理回線を多重化しても問題は、生じない。UPC処
理とカウンタのオーバフロー処理は、同時に行なわずに、一方を処理してから他
方を処理する。
If a cell of a specific physical line does not come, the time counter of that line will not advance.
Therefore, no problem occurs even if physical lines having different speeds are multiplexed. The UPC process and the counter overflow process are not performed simultaneously, but one is processed and the other is processed.

今、オーバフロー処理を、先に行なうととして、説明する。オーバフロー処理
は、加算後のカウンタ値をインデックス(アドレス)として、TATメモリ62
からTATと回線番号を読みだす。
Now, description will be made assuming that the overflow processing is performed first. In the overflow process, the TAT memory 62 uses the counter value after addition as an index (address).
Read TAT and line number from.

即ち、TATメモリ62には、先に説明したように、コネクション毎即ち、T
AT毎に、コネクションの属する回線の番号が記憶されている。したがって、加
算後のカウンタ値61により、TAT620と回線番号621が、TATメモリ
62から読み出される。
That is, in the TAT memory 62, as described above, for each connection, that is, T
The number of the line to which the connection belongs is stored for each AT. Therefore, the TAT 620 and the line number 621 are read from the TAT memory 62 based on the counter value 61 after the addition.

同時に、メモリ100から、加算後のカウンタ値61により、アクセスされる
インクリメント情報Iに対応する指数値exp が読み出される。
At the same time, the exponent value exp corresponding to the increment information I to be accessed is read from the memory 100 by the counter value 61 after the addition.

ここで、歩進された時刻カウンタと関連する即ち、対応の回線に属するコネク
ションでなければ、オーバフロー処理は、不要である。このために、TATに関
連して記憶している回線番号621と、入力したセルの回線識別番号6が、比較
器102で比較される。この比較において、一致していなければ、TATの更新
は、抑止される(図11、103参照)。
Here, if the connection is not related to the stepped time counter, that is, the connection belongs to the corresponding line, the overflow process is not necessary. For this purpose, the comparator 102 compares the line number 621 stored in association with the TAT and the line identification number 6 of the input cell. In this comparison, if they do not match, the TAT update is inhibited (see FIGS. 11 and 103).

TATの更新は、一致していれば、図5に示されるように、TATをTAT’
に更新する。このために、TATから減算定数(Clen)104を指数値exp に従
って、シフタ105により、桁移動し、この桁移動された値をTAT620から
加算器106により減算する。この減算結果107を、メモリ62に更新したT
AT’として書き戻すことにより、オーバフロー処理が、行なわれる。
If the TAT update matches, then TAT is changed to TAT ′ as shown in FIG.
Update to For this purpose, the subtraction constant (Clen) 104 is shifted from the TAT by the shifter 105 according to the exponent value exp, and the value shifted by this shift is subtracted from the TAT 620 by the adder 106. The subtraction result 107 is updated to the memory 62 T
By writing back as AT ′, overflow processing is performed.

なお、加算器106では、シフタ105の出力の各ビットを反転して得られる
ビット列に、1を加算して得られる数(シフタ105の出力に対する2の補数)
にTAT620の値を加算することにより、減算演算を行なう。
In the adder 106, a number obtained by adding 1 to the bit string obtained by inverting each bit of the output of the shifter 105 (2's complement to the output of the shifter 105).
A subtraction operation is performed by adding the value of TAT620 to.

ここで、図11において、シフタ105と、加算器106は、後に説明するよ
うに、UPC処理と共用することができる。
Here, in FIG. 11, the shifter 105 and the adder 106 can be shared with the UPC process, as will be described later.

さらに、上記シフタ105により、シフトされる減算定数104は、時刻カウ
ンタ200のビット数に関連して、決定される。例えば、時刻カウンタ200の
長さが16ビットで、規定の小数点位置が、ビット13−ビット14の間(指数
値exp =0) である場合、16ビット+13ビット=29ビットに相当する減算
定数(−229)を用意する。
Further, the subtraction constant 104 to be shifted by the shifter 105 is determined in relation to the number of bits of the time counter 200. For example, when the time counter 200 has a length of 16 bits and the specified decimal point position is between bit 13 and bit 14 (exponential value exp = 0), a subtraction constant (16 bits + 13 bits = 29 bits) -229) is prepared.

仮に、オーバフロー処理するコネクションの指数値exp が5であれば、
−2(29-5)=224を、シフタ105により求める。この値を、TAT620から
差し引いて、その結果107を、書き戻すことにより、オーバフロー処理が完了
する。
If the exponent value exp of the connection to be overflowed is 5,
-2 (29-5) = 224 is obtained by the shifter 105. The overflow process is completed by subtracting this value from TAT 620 and writing back the result 107.

次に、実行されるUPC処理に付いて、説明する。UPC処理では、コネクシ
ョン識別子63により参照される、メモリ62、100、101に記憶されるコ
ネクションに対応したUPCパラメータ(TAT,I,L)と、小数点位置情報
即ち、指数値exp を使用する。
Next, the UPC process to be executed will be described. In the UPC process, UPC parameters (TAT, I, L) corresponding to the connections stored in the memories 62, 100, 101, which are referred to by the connection identifier 63, and decimal point position information, that is, the exponent value exp are used.

UPC処理で必要な計時機能は、コネクション固有の現在時刻ta 65を用い
る。時刻ta 65は、セルが入力した時点で、+1加算した値61から、加算器
66でコネクション識別子(番号)3を、差し引いて求められる。
The timekeeping function necessary for the UPC process uses the current time ta 65 unique to the connection. The time ta 65 is obtained by subtracting the connection identifier (number) 3 by the adder 66 from the value 61 added by +1 when the cell is input.

これにより、同一時刻であっても、時刻ta 65は、コネクション毎に異なる
値を持つ。時刻ta 65は、UPC演算のために、TATと桁を合わせる必要が
ある。この桁合わせ処理は、シフタ105により、指数値 exp(121)だけシ
フトされることで実現される。
Thus, even at the same time, the time ta 65 has a different value for each connection. At time ta 65, it is necessary to match the digits with TAT for UPC calculation. This digit alignment processing is realized by the shifter 105 shifting by the exponent value exp (121).

シフト結果107は、次のTATとなる可能性が有るために、レジスタ108
に一時保持される。シフトされた時刻ta と、TATとの差を加算器106で求
め、その大小関係を符号で判定する。
Since the shift result 107 may be the next TAT, the register 108
Temporarily held. A difference between the shifted time ta and TAT is obtained by an adder 106, and the magnitude relationship is determined by a sign.

かかる判定処理において、−符号即ち、TAT<ta であれば、入力したセル
は、TATが過去の時刻となっているので、適合と判断される。この場合は、セ
ルは、遅延器DL、ゲートGを通してネットワークに向けて送り出される。
In this determination process, if the minus sign, that is, TAT <ta, the input cell is determined to be compatible because the TAT is in the past. In this case, the cell is sent out to the network through the delay unit DL and the gate G.

また、この時、一時メモリ118に保持しておいた、シフト後のta をTAT
として、セレクタ111を通して、メモリ62に書き戻す。
At this time, the shifted ta held in the temporary memory 118 is changed to TAT.
As shown in FIG.

TAT>ta の時は、セルが予定されたTATより早く到着しているために、
次の判断が必要となる。即ち、判断として、どれだけ早く到着しているかが問題
である。この判断のために許容範囲を示すLの値と、TAT−ta の大小関係を
比較器109で比較する。
When TAT> ta, the cell has arrived earlier than the scheduled TAT.
The following judgment is necessary. That is, as a judgment, it is a problem how early the arrival is. For this determination, the comparator 109 compares the L value indicating the allowable range with the magnitude relationship of TAT-ta.

L≧TAT−ta ならば、許容範囲内と判断され、TAT+Iを次のTATと
して、メモリ62に書き戻す。このTAT+Iは、メモリ62から読み出される
TATに、メモリ100から読み出されるIを、加算器112で加算することに
より得られる。この時も、入力セルは、遅延器DL、ゲートGを通してネットワ
ークに送り出される。
If L ≧ TAT−ta, it is determined that the value is within the allowable range, and TAT + I is written back to the memory 62 as the next TAT. This TAT + I is obtained by adding I read from the memory 100 to the TAT read from the memory 62 by the adder 112. Also at this time, the input cell is sent to the network through the delay unit DL and the gate G.

さらに、L<TAT−ta の場合は、予定された到着時刻TATに対し、許容
値Lより早くセルCLが到着しているので、不適号と判断される。この場合は、
TATの更新処理は行なわず、セルCLに対しては、ゲートGを閉じ、廃棄され
る。
Further, if L <TAT-ta, the cell CL has arrived earlier than the allowable value L with respect to the scheduled arrival time TAT. in this case,
The TAT update process is not performed, and the gate G is closed and discarded for the cell CL.

上記に本発明の実施例を図に従い、説明したが、本発明においては、複数の物
理回線を多重化しても、多重によるセルの揺らぎが生じない。異なる速度の物理
回線を多重化しても、それぞれ独立なUPCを構成できる特徴を有する。
Although the embodiments of the present invention have been described above with reference to the drawings, in the present invention, even if a plurality of physical lines are multiplexed, cell fluctuation due to multiplexing does not occur. Even if physical lines having different speeds are multiplexed, independent UPCs can be configured.

複数の物理回線を多重化しても、他の物理回線によるUPC処理への影響が皆
無である。また、物理回線に伝送速度の総和と、多重化後の速度のずれによるU
PC誤差が少ない。
Even if a plurality of physical lines are multiplexed, there is no influence on UPC processing by other physical lines. In addition, the sum of the transmission speeds on the physical line and the U due to the difference in speed after multiplexing.
There is little PC error.

さらに、幅広い伝送速度に対して、固定小数点演算を適用できる。このため、
高速向きで、且つ小さなハードウェアで構成できる。
Furthermore, fixed point arithmetic can be applied to a wide range of transmission rates. For this reason,
It can be configured with high speed and small hardware.

本発明のUPC装置の第1の特徴点の原理を説明する図である。It is a figure explaining the principle of the 1st feature point of the UPC apparatus of this invention. 図1の動作を説明するタイムチャートである。It is a time chart explaining the operation | movement of FIG. 本発明の別の特徴の原理を説明する図である。It is a figure explaining the principle of another characteristic of this invention. 本発明の更に、別の特徴の原理を説明する図である。It is a figure explaining the principle of another characteristic of this invention. 同一物理回線に属するコネクション毎の時刻カウンタについて説明する図である。It is a figure explaining the time counter for every connection which belongs to the same physical line. 物理回線対応にカウンタを用いる構成において、図5を適用する本発明の特徴を説明する図(その1)である。FIG. 6 is a diagram (part 1) for explaining the feature of the present invention to which FIG. 5 is applied in a configuration using a counter for physical lines; 物理回線対応にカウンタを用いる構成において、図5を適用する本発明の特徴を説明する図(その2)である。FIG. 6 is a diagram (part 2) for explaining the feature of the present invention to which FIG. 5 is applied in a configuration using a counter for physical lines; 本発明に従う例として、浮動小数点演算方式を用いて、VSでUPU処理を行うフローである。As an example according to the present invention, a UPU process is performed in VS using a floating point arithmetic method. 本発明に従い、半固定小数点演算UPC処理におけるオーバフロー処理を説明する図である。It is a figure explaining the overflow process in a semi-fixed point arithmetic UPC process according to this invention. 本発明の特徴を適用する実施例として3物理回線を多重化する場合を説明する図である。It is a figure explaining the case where 3 physical lines are multiplexed as an Example to which the characteristic of this invention is applied. 図10を前提とする本発明の特徴を適用する実施例であり、処理フローを含めた構成例ブロック図である。FIG. 11 is an embodiment to which the features of the present invention based on FIG. 10 are applied, and is a configuration example block diagram including a processing flow. ATM交換機システムの構成例ブロック図である。It is a block diagram of a configuration example of an ATM switching system. 2つの加入者線を多重化する場合を想定した場合の、多重化装置とUPC装置の関係を説明する図である。It is a figure explaining the relationship between a multiplexing apparatus and a UPC apparatus at the time of assuming the case where two subscriber lines are multiplexed. 図13に対応するタイムチャートであり、従来の回線多重化の問題を説明する図である。It is a time chart corresponding to FIG. 13, and is a figure explaining the problem of the conventional line multiplexing. 多重化後の速度と各インタフェース回路の速度の合計が、適当な比にならない場合、UPC精度が制限されるという問題を説明する図である。がある。It is a figure explaining the problem that UPC precision is restrict | limited when the sum of the speed | rate after multiplexing and the speed of each interface circuit does not become an appropriate ratio. There is.

符号の説明Explanation of symbols

1 ATMスイッチ部
2 入力回線対応部
3 出力回線対応部
20 UPC装置
21 回線多重化装置
22 ヘッダ変換部
23、31 OAM回路
30 バッファ回路
10 ATMセル
11 ヘッダ部
200 時刻カウンタ
201 回線多重化部
60 回線番号レジスタ
61 加算後カウンタ値
62 TATメモリ
63 コネクション識別子
65 コネクション別時刻
1 ATM switch part 2 Input line correspondence part 3 Output line correspondence part 20 UPC device
21 Line multiplexer 22 Header converter 23, 31 OAM circuit
30 buffer circuit 10 ATM cell 11 header part 200 time counter 201 line multiplexing part 60 line number register 61 counter value after addition 62 TAT memory 63 connection identifier 65 time by connection

Claims (2)

複数の回線から送られるセルを受信し,セルのパスを制御するセル交換システムにおけるセル流量制御方法において,
一つの共通の処理回路により実行される
前記複数の回線を多重化するステップと,
該多重化される複数の回線対応に備えられる複数の時刻カウンタのうち,到来するセルの属する回線に対応する時刻カウンタのみを歩進するステップを有し,
更に,前記歩進された時刻カウンタの計数値に対応して,セル流量を制御するステップを有し,
該セル流量を制御するステップとして,
前記複数の回線のそれぞれに属するコネクションに対するセル流量の制御を行う基準となるパラメータをテーブルに記憶し,
該パラメータは,固定小数点で記憶され,且つ前記パラメータの少数点位置は,コネクション毎に代表的な一つの指数値で記録され,
前記パラメータと,前記時刻カウンタの計数値との演算を行う際,前記指数値により,前記時刻カウンタの計数値を桁移動して演算する,
ことを特徴とするセル流量制御方法。
In a cell flow rate control method in a cell switching system for receiving cells sent from a plurality of lines and controlling a cell path,
Executed by one common processing circuit ,
Multiplexing the plurality of lines;
A step of incrementing only the time counter corresponding to the line to which the incoming cell belongs among the plurality of time counters provided for the plurality of lines to be multiplexed ;
And a step of controlling the cell flow rate corresponding to the count value of the stepped time counter,
As a step of controlling the cell flow rate,
Storing a parameter as a reference for controlling the cell flow rate for connections belonging to each of the plurality of lines in a table;
The parameters are stored in fixed point, and decimal point position of the parameters are recorded in a typical one index value for each connection,
When calculating the parameter and the count value of the time counter, the count value of the time counter is shifted by the exponent value and calculated.
A cell flow rate control method.
複数の回線から送られるセルを受信し,セルのパスを制御するセル交換システムにおいて,
一つの処理回路として構成される,
前記複数の回線を多重化する回線多重化部と,
該回線多重化部により多重化される複数の回線対応に備えられ,到来するセルの属する回線に対応する時刻カウンタのみを歩進される複数の時刻カウンタを有し,
更に,前記歩進された時刻カウンタの計数値に対応して,セル流量を制御するセル流量制御装置を有し,
該セル流量制御装置は,
前記複数の回線のそれぞれに属するコネクションに対するセル流量の制御を行う基準となるパラメータを記憶するテーブルを有し,
前記パラメータは,固定小数点で記憶され,且つ前記パラメータの少数点位置は,コネクション毎に代表的な一つの指数値で記録され,
前記パラメータと,前記時刻カウンタの計数値との演算を行う際,前記指数値により,前記時刻カウンタの計数値を桁移動して演算する,
ことを特徴とするセル交換システム。
In a cell switching system that receives cells sent from multiple lines and controls the cell path,
Configured as one processing circuit,
A line multiplexing unit for multiplexing the plurality of lines;
A plurality of time counters provided only for a plurality of lines multiplexed by the line multiplexing unit and incremented only by a time counter corresponding to a line to which an incoming cell belongs ;
And a cell flow rate control device for controlling the cell flow rate according to the count value of the stepped time counter ,
The cell flow controller is
A table for storing parameters serving as a reference for controlling the cell flow rate for connections belonging to each of the plurality of lines;
The parameters are stored in fixed point, and decimal point position of the parameters are recorded in a typical one index value for each connection,
When calculating the parameter and the count value of the time counter, the count value of the time counter is shifted by the exponent value and calculated.
A cell switching system characterized by that.
JP2006090694A 2006-03-29 2006-03-29 Cell flow rate control method and cell exchange system using the same Expired - Fee Related JP3870218B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006090694A JP3870218B2 (en) 2006-03-29 2006-03-29 Cell flow rate control method and cell exchange system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006090694A JP3870218B2 (en) 2006-03-29 2006-03-29 Cell flow rate control method and cell exchange system using the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP21837997A Division JP3801740B2 (en) 1997-08-13 1997-08-13 Cell flow rate control method and cell exchange system using the same

Publications (2)

Publication Number Publication Date
JP2006191692A JP2006191692A (en) 2006-07-20
JP3870218B2 true JP3870218B2 (en) 2007-01-17

Family

ID=36798255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006090694A Expired - Fee Related JP3870218B2 (en) 2006-03-29 2006-03-29 Cell flow rate control method and cell exchange system using the same

Country Status (1)

Country Link
JP (1) JP3870218B2 (en)

Also Published As

Publication number Publication date
JP2006191692A (en) 2006-07-20

Similar Documents

Publication Publication Date Title
US5796956A (en) ATM cell switch
US6349097B1 (en) Multicasting in switching apparatus
JP3774042B2 (en) Short cell multiplexer
US5557609A (en) Switching apparatus for ATM
US6041059A (en) Time-wheel ATM cell scheduling
US5432713A (en) Usage parameter control circuit for effecting policing control in an ATM network
CA1208749A (en) Packet load monitoring by trunk controllers
JP3904922B2 (en) Traffic shaper and concentrator
US5394397A (en) Shared buffer memory type ATM communication system and method with a broadcast facility
US6128278A (en) Cell queuing in ATM switches
CN102315956B (en) Method and device for supervising flow
JPH10294744A (en) Method for transmitting cell in asynchronous transfer mode
US6510160B1 (en) Accurate computation of percent utilization of a shared resource and fine resolution scaling of the threshold based on the utilization
CA2094561A1 (en) Method and circuit arrangement for checking the observance of prescribed transmission bit rates in an atm switching equipment
JP3801740B2 (en) Cell flow rate control method and cell exchange system using the same
US5930234A (en) Counter overflow processing method and device, device and method for controlling flow of cells
JP3870218B2 (en) Cell flow rate control method and cell exchange system using the same
Kim et al. Scalable hardware earliest-deadline-first scheduler for ATM switching networks
RU2305374C1 (en) Method for hybrid commutation and adaptive routing and device for realization of the method
JP3093160B2 (en) Apparatus and method for multiplexing cells in asynchronous transfer mode
US6442136B1 (en) Traffic shaping device for ATM communication network
US8924662B2 (en) Credit-based storage device flow control
JP2006101004A (en) Transmission apparatus and leaky packet band control method
US5768259A (en) Method and device for measuring characteristic magnitudes of a stream of fixed length data packets in a digital transmission system
US6674723B1 (en) Apparatus and method of monitoring a queue state in an asynchronous transfer mode switch

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060718

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060913

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: 20061010

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061016

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees