JP2891809B2 - Time management method - Google Patents
Time management methodInfo
- Publication number
- JP2891809B2 JP2891809B2 JP29601291A JP29601291A JP2891809B2 JP 2891809 B2 JP2891809 B2 JP 2891809B2 JP 29601291 A JP29601291 A JP 29601291A JP 29601291 A JP29601291 A JP 29601291A JP 2891809 B2 JP2891809 B2 JP 2891809B2
- Authority
- JP
- Japan
- Prior art keywords
- fixed
- length data
- time
- counter
- cell
- 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
Links
- 238000007726 management method Methods 0.000 title claims description 16
- 238000012544 monitoring process Methods 0.000 claims description 25
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 description 23
- 238000012545 processing Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000005259 measurement Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005498 polishing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、ATMセル等の固定長
データが所定時間内に発生する数を測定する装置におけ
る時刻管理方式に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time management system for an apparatus for measuring the number of fixed-length data such as ATM cells generated within a predetermined time.
【0002】[0002]
【従来の技術】ATM(Asynchronous T
ransfer Mode)網では、ユーザはネットワ
ークへ送出する帯域を申告する。したがって、ユーザが
申告値を越えてATMセル(以下、セルと略す)を送出
した場合は、あらかじめ割り当てられた帯域を越えるセ
ルが流入されることになり、他の呼のサービス品質にも
影響を及ぼすこととなる。2. Description of the Related Art ATM (Asynchronous T)
In a transfer mode network, a user declares a band to be transmitted to the network. Therefore, if the user sends an ATM cell (hereinafter abbreviated as "cell") exceeding the declared value, cells exceeding the band allocated in advance will flow in, and this will affect the service quality of other calls. Will have an effect.
【0003】このため、ユーザの申告帯域を監視する機
能により、ユーザの申告値を越えるセルが網に流入しな
いよう、監視することが必要となる。以後、ユーザの申
告帯域を監視する機能をポリシングと呼ぶこととする。
このポリシング方式の一例を以下に示す。この方式は、
監視パラメータとしてユーザから送信されてくるセル数
を監視する時間単位である監視時間幅Tm、Tm中に存
在が許可される最大セル数Xmを有し、Tm時間内にX
m個を越えるセルが入力されると、その入力セルを違反
セルとみなし、違反セル処理を行うといったものであ
る。For this reason, it is necessary to monitor a cell exceeding a user's declared value so as not to flow into the network by a function of monitoring a user's declared band. Hereinafter, the function of monitoring the user's declared bandwidth is referred to as policing.
An example of this polishing method is shown below. This method is
It has a monitoring time width Tm which is a time unit for monitoring the number of cells transmitted from the user as a monitoring parameter, a maximum number of cells Xm allowed to exist during Tm, and X within the time Tm.
When more than m cells are input, the input cells are regarded as violating cells, and violating cell processing is performed.
【0004】ここで、単一ユーザの場合のポリシング制
御について考える。図8にセルフォーマットの概念図、
図9はTm=5,Xm=2とした場合の単一ユーザ時の
ポリシング制御タイムチャート、図10はその動作フロ
ーチャートである。図8に示すように、 セルは53バ
イトの固定長を有する。5バイトのヘッダ部は、セルの
宛先情報を持ち、同時にこれはユーザ識別子としても用
いることができる。48バイトの情報部は、宛先に転送
する情報(音声、画像、データ)で構成される。そし
て、セルシンクは、1セル時間に1度、定期的に発生す
る信号である。Here, policing control in the case of a single user will be considered. FIG. 8 is a conceptual diagram of a cell format,
FIG. 9 is a policing control time chart for a single user when Tm = 5 and Xm = 2, and FIG. 10 is an operation flowchart thereof. As shown in FIG. 8, the cell has a fixed length of 53 bytes. The 5-byte header has cell destination information, which can also be used as a user identifier. The 48-byte information section is composed of information (audio, image, data) to be transferred to the destination. The cell sync is a signal that occurs periodically once every one cell time.
【0005】セルは、セルシンクに同期してポリシング
回路(図示せず)に入力される。ポリシング回路におけ
るポリシング制御は、ユーザの監視時間幅Tmを管理す
る時計カウンタと、Tm中に存在が許可される最大セル
数Xmを管理するセル数カウンタと、これらを制御する
制御部とによって行われる。時計カウンタは、セルシン
クに同期してカウントアップされ、時計カウンタ値がT
mとなった時にリセットされる。セル数カウンタは、入
力セルが存在するとカウントアップされ、時計カウンタ
リセット時にリセットされる。入力セルは、その時のセ
ル数カウンタ値がXmであれば違反セルとみなされ、違
反セル処理される。違反セル処理には、例えば、永井正
武監修「広帯域ISDN対応ATM通信技術 」、P.
126、(株)トリケップス、1990年11月29日
発行、に記載されているように、各種の処理方式がある
が、ここでは無条件廃棄方式(違反セルと判定されたセ
ルは無条件に廃棄される)とする。The cells are input to a policing circuit (not shown) in synchronization with a cell sink. The policing control in the policing circuit is performed by a clock counter that manages the monitoring time width Tm of the user, a cell number counter that manages the maximum number of cells Xm allowed to exist in Tm, and a control unit that controls these. . The clock counter counts up in synchronization with the cell sync, and when the clock counter value is T
Reset when it reaches m. The cell number counter is counted up when an input cell is present, and is reset when the clock counter is reset. An input cell is regarded as a violating cell if the cell number counter value at that time is Xm, and is processed as a violating cell. The violating cell processing includes, for example, "Broadband ISDN-compatible ATM communication technology" supervised by Masatake Nagai, p.
126, as described in Triqueps Co., Ltd., issued on November 29, 1990, there are various processing methods. Here, an unconditional discard method (cells determined as violating cells are discarded unconditionally) Is done).
【0006】このように、単一ユーザ時のポリシング制
御は簡単に行うことができる。As described above, the policing control for a single user can be easily performed.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、複数ユ
ーザに対して、前記従来の方法でポリシング制御を行う
と、ユーザ数だけのポリシング制御機能が必要となり、
ハードウェア規模が非常に大きなものとなり、コストが
増大するという問題点があった。本発明は、前記問題点
を解決し、複数種類の固定長データが所定時間内に発生
する数を固定データの種類ごとに測定する装置におい
て、それぞれの固定長データごとに時間を管理する時計
カウンタと固定長データ数を管理するデータ数カウンタ
を必要とせず、そのためコスト及びハードウェアの規模
を非常に小さくできる時刻管理方式を提供することを目
的とする。また、時計カウンタの1周期以上、同一種類
の固定長データが発生しなくても、その発生数の測定を
可能とする時刻管理方式を提供することを目的とする。However, if policing control is performed on a plurality of users by the above-mentioned conventional method, a policing control function corresponding to the number of users is required.
There is a problem that the hardware scale becomes very large and the cost increases. SUMMARY OF THE INVENTION The present invention solves the above problems, and in a device for measuring the number of occurrences of a plurality of types of fixed-length data within a predetermined time for each type of fixed data, a clock counter for managing time for each fixed-length data. It is another object of the present invention to provide a time management method which does not require a data number counter for managing the number of fixed-length data, and therefore can greatly reduce the cost and the scale of hardware. It is another object of the present invention to provide a time management method that enables measurement of the number of occurrences of the same type of fixed-length data even if the same type of fixed-length data does not occur for one or more cycles of the clock counter.
【0008】[0008]
【課題を解決するための手段】本発明は、上記の目的を
達成するために、U種類(ただし、Uは2以上の整数)
の固定長データが所定時間内に発生する数を該固定長デ
ータの種類ごとに測定する装置において、固定長データ
のデータ長ごとに発生する第1のタイミング信号を入力
とし、かつ、あらかじめ固定長データの種類ごとに設定
されている固定長データの監視時間幅の規定値Tmの最
小値n以上の周期で時間をカウントする時計カウンタ
と、第1のタイミング信号とそれに同期したクロック信
号を入力とし、第1のタイミング信号のU/n(ただ
し、整数でない場合は切上げる)倍の速度の第2のタイ
ミング信号と、第2のタイミング信号をクロック入力と
してカウントしたカウンタ値を出力するタイミング作成
回路と、入力固定長データの種類を示すデータをアドレ
スとし、前回の固定長データの到着時間tpと、固定長
データの監視を開始してからの経過時間tmと、経過時
間tm中に発生した固定長データの数xmと、規定値T
mと、あらかじめ固定長データの種類ごとに設定されて
いる規定値Tm中に存在が許可される固定長データの最
大数Xmを内容とするメモリと、時計カウンタ、タイミ
ング作成回路及びメモリを制御する制御部を設け、第2
のタイミング信号検出時にタイミング作成回路のカウン
タ値をアドレスとしてメモリの内容を参照し、xmが0
でなければ時計カウンタのカウンタ値−tp+tmを計
算し、これがTm以上であれば時計カウンタのカウンタ
値−tp+tmからTmを減算した値を新たにtmと
し、かつ、時計カウンタのカウンタ値を新たにtpと
し、Tm以上でなければ時計カウンタのカウンタ値−t
p+tmを新たにtmとし、かつ、時計カウンタのカウ
ンタ値を新たにtpとするように構成した。According to the present invention, in order to achieve the above object, there are provided U types (where U is an integer of 2 or more).
For measuring the number of occurrences of fixed-length data within a predetermined time for each type of fixed-length data, wherein a first timing signal generated for each data length of fixed-length data is input, and A clock counter for counting time in a cycle equal to or longer than the minimum value n of the specified value Tm of the monitoring time width of the fixed-length data set for each type of data, and a first timing signal and a clock signal synchronized therewith are input. A second timing signal having a speed twice as high as U / n of the first timing signal (rounded up if not an integer), and a timing generation circuit for outputting a counter value obtained by counting the second timing signal as a clock input. Monitoring of the arrival time tp of the previous fixed-length data and the fixed-length data is started using the data indicating the type of the input fixed-length data as an address. Elapsed time and tm, the number xm fixed length data generated during the elapsed time tm from specified value T
m, a memory containing the maximum number Xm of fixed-length data permitted to exist in a specified value Tm set in advance for each type of fixed-length data, a clock counter, a timing creation circuit, and a memory. The control unit is provided and the second
When the timing signal is detected, the contents of the memory are referred to using the counter value of the timing generation circuit as an address, and xm is set to 0.
If not, the counter value of the watch counter -tp + tm is calculated, and if it is equal to or greater than Tm, a value obtained by subtracting Tm from the counter value of the watch counter -tp + tm is newly set to tm, and the counter value of the watch counter is newly set to tp. If not more than Tm, the counter value of the clock counter−t
It is configured such that p + tm is newly set to tm and the counter value of the clock counter is set to tp.
【0009】[0009]
【作用】本発明によれば、以上のように時刻管理方式を
構成したので、制御部は第2のタイミング信号検出時
に、タイミング作成回路のカウンタ値をアドレスとして
メモリの内容を参照し、xmが0でなければ、時計カウ
ンタのカウンタ値−tp+tmを計算し、これがTm以
上であれば、監視時間を経過したことになるため、時計
カウンタのカウンタ値−tp+tmからTmを減算した
値を新たにtmとし、かつ、時計カウンタのカウンタ値
を新たにtpとし、Tm以上でなければ時計カウンタの
カウンタ値−tp+tmを新たにtmとし、かつ、時計
カウンタのカウンタ値を新たにtpとする。According to the present invention, since the time management system is configured as described above, the control unit refers to the contents of the memory using the counter value of the timing generation circuit as an address when the second timing signal is detected, and determines the value of xm. If it is not 0, the counter value of the clock counter -tp + tm is calculated. If it is equal to or greater than Tm, the monitoring time has elapsed, and a value obtained by subtracting Tm from the counter value of the clock counter -tp + tm is newly calculated as tm. And the counter value of the clock counter is newly set to tp. If the counter value is not equal to or greater than Tm, the counter value of the clock counter−tp + tm is set to tm, and the counter value of the clock counter is set to tp.
【0010】したがって、どの固定長データに対して
も、Tm中に少なくとも1度は時刻更新処理が行われる
ことになり、時計カウンタの周期以上固定長データの発
生がなくても、その発生数の測定が可能となる。Therefore, the time update processing is performed at least once during Tm for any fixed-length data, and even if the fixed-length data does not occur for more than the period of the clock counter, the number of occurrences of the fixed-length data is reduced. Measurement becomes possible.
【0011】[0011]
【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1は本発明の実施例に係る時
刻管理方式の構成を示すブロック図で、時計カウンタ
1、タイミング作成回路2、セル到着履歴メモリ3及び
制御部4から構成されている。Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a time management system according to an embodiment of the present invention, which comprises a clock counter 1, a timing creation circuit 2, a cell arrival history memory 3, and a control unit 4.
【0012】時計カウンタ1は、セルシンクを入力とし
カウントアップしていく。そして、カウンタ値が1周期
経過するとリセットされ、新たにカウントアップしてい
く。タイミング作成回路2は、セルシンクとセルシンク
に同期したクロックを入力とし、後で示す時刻更新処理
を行うタイミングと時刻更新処理を行うべきユーザの論
理チャネル番号LCNを作成する。セル到着履歴メモリ
3は、入力セルの論理チャネル番号LCNをアドレスと
し、前回セル到着時間tp、監視経過時間tm、tm中
のセル数xm、監視時間幅Tm、Tm中に存在が許可さ
れる最大セル数Xmをデータに持つ。ただし、アドレス
は0からユーザ数(U)−1までとする。制御部4は、
違反セルの判定を行う通常処理と時計カウンタの1周期
(Tck)以上入力セルが存在しない場合の対処のため
設けられている時刻更新処理を行う。この2つの処理
は、シリアルに行っても(順序関係なし)パラレルに行
ってもよい。The clock counter 1 receives a cell sync and counts up. Then, the counter value is reset when one cycle elapses, and starts counting up again. The timing creation circuit 2 receives a cell sync and a clock synchronized with the cell sync, and creates a timing for performing a time update process described later and a logical channel number LCN of a user who should perform the time update process. The cell arrival history memory 3 uses the logical channel number LCN of the input cell as an address, the previous cell arrival time tp, the monitoring elapsed time tm, the number of cells xm in the tm, and the maximum allowed to exist in the monitoring time width Tm, Tm. The data has the number of cells Xm. However, the address ranges from 0 to the number of users (U) -1. The control unit 4
A normal process for determining a violating cell and a time updating process provided for dealing with a case where there is no input cell for one cycle (Tck) of the clock counter are performed. These two processes may be performed serially (with no order relationship) or in parallel.
【0013】図2及び図3は本発明の実施例に係る時刻
管理方式の通常処理フローチャートである。ここでは、
違反セル処理は無条件廃棄方式とした。図2において、
まず、ステップ11でセルシンクの有無を判断し、セル
シンクがあればステップ12に進み、ステップ12で入
力セルが空セルの場合は本処理は行われない。空セルで
ない場合は、ステップ13に示すように入力セルの論理
チャネル番号LCNをアドレスとし、セル到着履歴メモ
リ3を読む。そして、ステップ14で監視経過時間tm
中のセル数xmが0であれば、監視状態にするため、ス
テップ15でセル到着履歴メモリ3内のxmを1にし、
ステップ16でセル到着履歴メモリ3内の前回セル到着
時間tpを時計カウンタ値CTsにする。また、ステッ
プ14でxmが0でなければ、監視状態になっているた
め、図3のステップ17に進む。FIGS. 2 and 3 are flowcharts of the normal processing of the time management system according to the embodiment of the present invention. here,
Violation cell processing was unconditionally discarded. In FIG.
First, it is determined in step 11 whether or not there is a cell sync. If there is a cell sync, the process proceeds to step 12, and if the input cell is an empty cell in step 12, this processing is not performed. If it is not an empty cell, the cell arrival history memory 3 is read using the logical channel number LCN of the input cell as an address as shown in step 13. Then, in step 14, the monitoring elapsed time tm
If the number xm of cells in the cell is 0, xm in the cell arrival history memory 3 is set to 1 in step 15 in order to enter the monitoring state.
In step 16, the previous cell arrival time tp in the cell arrival history memory 3 is set to the clock counter value CTs. Further, if xm is not 0 in step 14, it is in the monitoring state, and the process proceeds to step 17 in FIG.
【0014】ステップ17では、(CTs−tp)+t
m≧Tmであれば、監視経過時間が監視時間幅以上とな
ったことであるから、ステップ18で{(CTs−t
p)+tm}−Tmを新たにセル到着履歴メモリ3内の
tmとする。また、ステップ19でセル到着履歴メモリ
3内のxmを1とし、ステップ20でtpをCTsとす
る。一方、ステップ17で(CTs−tp)+tm<T
mであれば、監視経過時間が監視時間幅未満であるの
で、ステップ21で違反セル判定を行う。ここで、xm
+1>Xmであれば違反セルとみなされ、ステップ25
で違反セル処理される。また、ステップ21でxm+1
≦Xmであれば違反セルとみなされないので、ステップ
22で(CTs−tp)+tmをtmとし、ステップ2
3でxm+1を新たにxmとする。さらに、ステップ2
4でCTsをtpとする。なお、ここでCTs−tpは
図4のカウンタの周期を考慮した到着セル経過時間の概
念図に示すように、CTs−tp>0の時は、CTs−
tpでよいが、CTs−tp<0の時は、CTs−tp
+Tckとする。また、CTs=tpの時は、この値を
Tckとみなす。実際には、CTsとtpの2の補数を
加算すればよい。In step 17, (CTs-tp) + t
If m ≧ Tm, it means that the monitoring elapsed time has become equal to or longer than the monitoring time width.
p) + tm} −Tm is newly set as tm in the cell arrival history memory 3. In step 19, xm in the cell arrival history memory 3 is set to 1, and in step 20, tp is set to CTs. On the other hand, in step 17, (CTs-tp) + tm <T
If it is m, the monitoring elapsed time is less than the monitoring time width, so that the violating cell determination is performed in step 21. Where xm
If +1> Xm, it is regarded as a violation cell, and step 25
Is processed. In step 21, xm + 1
If ≤Xm, the cell is not regarded as a violation cell, so (CTs-tp) + tm is set to tm in step 22 and step 2
In step 3, xm + 1 is newly set to xm. Step 2
In step 4, CTs is set to tp. Here, as shown in the conceptual diagram of the arriving cell elapsed time in consideration of the counter cycle in FIG. 4, CTs-tp is CTs-tp>CTs-tp> 0
tp may be used, but when CTs−tp <0, CTs−tp
+ Tck. When CTs = tp, this value is regarded as Tck. Actually, two's complement of CTs and tp may be added.
【0015】ところで、通常処理だけでは、時計カウン
タの1周期以上入力セルが存在しないと、監視経過時間
の判断ができなくなり、ポリシング処理は不可能にな
る。そこで、時刻更新処理を行う。この処理タイミング
と処理を行うべきユーザの論理チャネル番号LCNは、
タイミング作成回路で作られる。図5は本発明の実施例
におけるタイミング作成回路の構成を示すブロック図で
ある。By the way, if there is no input cell for at least one cycle of the clock counter by the normal processing alone, the monitoring elapsed time cannot be determined, and the policing processing becomes impossible. Therefore, a time update process is performed. The processing timing and the logical channel number LCN of the user who should perform the processing are as follows:
Created by the timing creation circuit. FIG. 5 is a block diagram showing a configuration of the timing generation circuit in the embodiment of the present invention.
【0016】1セル時間(回線上での1セル保留時間=
セルシンクの間隔)に時刻更新処理の行われる回数は、
Uをユーザ数とし、nをユーザ毎の監視時間幅Tmの最
小値とすると、U/nで求められる。ただし、この値が
整数でなければ切り上げて整数にする。図5のタイミン
グパルス発生回路31にセルシンクとクロックを入力
し、セルシンクの速度に対してU/n倍の速度でセルシ
ンクに同期したパルスを作る。これが、時刻更新処理の
行われるタイミングに対応するパルスである。そして、
このパルスをカウンタ32にクロック入力にし、時刻更
新処理を行うユーザの論理チャネル番号LCNを作る。
ただし、カウンタ値は0からU−1である。以上によ
り、どのユーザのセルにおいても、監視時間幅Tm中に
少なくとも1度は時刻更新処理が行われる。1 cell time (1 cell hold time on line =
The number of times the time update process is performed during the cell sync interval)
If U is the number of users and n is the minimum value of the monitoring time width Tm for each user, it can be obtained by U / n. However, if this value is not an integer, it is rounded up to an integer. The cell sync and the clock are input to the timing pulse generation circuit 31 of FIG. 5, and a pulse synchronized with the cell sync is generated at a speed U / n times the speed of the cell sync. This is a pulse corresponding to the timing at which the time update process is performed. And
This pulse is used as a clock input to the counter 32 to create a logical channel number LCN of the user who performs the time update process.
However, the counter value is from 0 to U-1. As described above, the time update process is performed at least once during the monitoring time width Tm in any user cell.
【0017】なお、実際には、図1の時計カウンタ1と
タイミング作成回路2の機能は、同一の機能として取り
扱うことができる。例えば、U=4096、n=204
8、Tck=4096の時、セルシンクに同期した2倍
の速度のパルスを発生させ、このパルスをクロック入力
として0から8102まで繰り返すカウンタを作り、カ
ウンタの上位1ビットを除く出力を時刻更新処理に用
い、カウンタの下位1ビットを除く出力を時計カウンタ
として用いれば1つの機能で時計カウンタとタイミング
作成回路の2つの動作が可能になる。ただし、ここでは
説明を簡単にするため2つの機能に分割した。In practice, the functions of the clock counter 1 and the timing creation circuit 2 in FIG. 1 can be handled as the same function. For example, U = 4096, n = 204
8. When Tck = 4096, generate a pulse at twice the speed synchronized with the cell sync, make a counter that repeats from 0 to 8102 using this pulse as a clock input, and output the counter excluding the upper 1 bit to the time update process. If the output of the counter excluding the lower 1 bit is used as a clock counter, two functions of the clock counter and the timing generation circuit can be performed with one function. However, for the sake of simplicity, the function is divided into two functions.
【0018】図6は本発明の実施例に係る時刻管理方式
の時刻更新処理フローチャートである。以下、図1、図
5及び図6を参照しながら、時刻更新処理動作を説明す
る。まず、図6のステップ41でパルス発生回路31の
出力パルスがあれば、ステップ42でカウンタ32のカ
ウンタ値をアドレスとしてセル到着履歴メモリ3を読む
ことにより、時刻更新処理を行う。ステップ43におい
て、セル到着履歴メモリ3内のxm=0であれば、前回
セル到着がないため、本処理は行われない。xm≠0で
あれば、ステップ44で(CTs−tp)+tm≧Tm
かどうかを判断し、これが成り立てば監視時間を経過し
たことになるため、ステップ45で{(CTs−tp)
+tm}−Tmをセル到着履歴メモリ3内のtmとし、
CTsをtpとする。一方、前記条件が成り立たなけれ
ば、ステップ46で(CTs−tp)+tmをtmと
し、CTsをtpとする。以上の処理により、時計カウ
ンタ1の周期Tck以上セル発生がなくても、違反セル
判定は可能になる。ただし、Tck≧ユーザ毎のTmの
最小値としなくてはならない。FIG. 6 is a flowchart of a time update process of the time management system according to the embodiment of the present invention. Hereinafter, the time update processing operation will be described with reference to FIG. 1, FIG. 5, and FIG. First, if there is an output pulse from the pulse generation circuit 31 in step 41 of FIG. 6, the time update process is performed by reading the cell arrival history memory 3 in step 42 using the counter value of the counter 32 as an address. In step 43, if xm = 0 in the cell arrival history memory 3, this processing is not performed because there is no previous cell arrival. If xm ≠ 0, (CTs−tp) + tm ≧ Tm in step 44
It is determined whether or not the monitoring time has passed. If this is the case, it is determined in step 45 that {(CTs-tp)
+ Tm} −Tm as tm in the cell arrival history memory 3,
Let CTs be tp. On the other hand, if the above condition is not satisfied, (CTs-tp) + tm is set to tm in step 46, and CTs is set to tp. By the above processing, the violating cell can be determined even if no cell is generated for the period Tck of the clock counter 1. However, Tck ≧ the minimum value of Tm for each user must be satisfied.
【0019】図7は、ユーザ数U=3、時計カウンタの
周期Tck=8、ユーザu1,u2,u3の監視時間幅
Tm1,Tm2,Tm3をそれぞれ2,3,4、Tm
1,Tm2,Tm3中に存在が許可される最大セル数X
m1,Xm2,Xm3をいずれも1とした場合の制御タ
イムチャートである(したがって、U/n=3/2→
2)。以下、ユーザu1のセルに対する通常処理及び時
刻更新処理を説明する。ただし、ユーザu1のセルC1
が最初に入力されるユーザu1のセルとし、セルC1〜
C3は空セルでないものとする。また、タイミング作成
回路のカウンタ値0,1,2がそれぞれユーザu1,u
2,u3の論理チャネル番号LCNを示すものとする。FIG. 7 shows the number of users U = 3, the period of the clock counter Tck = 8, and the monitoring time widths Tm1, Tm2, Tm3 of the users u1, u2, u3 are 2, 3, 4, and Tm, respectively.
Maximum number of cells X allowed to exist in 1, Tm2, Tm3
6 is a control time chart when m1, Xm2, and Xm3 are all set to 1 (therefore, U / n = 3/2 →
2). Hereinafter, the normal process and the time update process for the cell of the user u1 will be described. However, cell C1 of user u1
Are the cells of the user u1 to be input first, and the cells C1 to
C3 is not an empty cell. In addition, the counter values 0, 1, and 2 of the timing creation circuit are used by the users u1, u, respectively.
2 and u3.
【0020】まず、図1の制御部4にセルC1が入力さ
れると、通常処理が行われる。この時、図2のステップ
11、ステップ12ではともにYESと判定されるの
で、ステップ13に進む。ここで、ユーザu1の論理チ
ャネル番号LCNをアドレスとしてセル到着履歴メモリ
3を読み込むが、最初の入力セルなのでステップ14で
はNOと判断され、ステップ15でセル到着履歴メモリ
3内のxm=1とし、ステップ16でtp=CTs=7
とする。First, when the cell C1 is input to the control unit 4 in FIG. 1, normal processing is performed. At this time, since YES is determined in both Step 11 and Step 12 in FIG. Here, the cell arrival history memory 3 is read using the logical channel number LCN of the user u1 as an address. However, since it is the first input cell, NO is determined in step 14 and xm = 1 in the cell arrival history memory 3 is set in step 15; In step 16, tp = CTs = 7
And
【0021】次に、図7のタイミング作成回路のカウン
タ値が2番目の0となった時、ユーザu1に対する時刻
更新処理が行われる。この時、図6のステップ41では
YESと判定され、ステップ42でタイミング作成回路
のカウンタ値=0をアドレスとしてセル到着履歴メモリ
を読み込む。既にxm=1となっているので、ステップ
43はYESになり、ステップ44に進む。ここでは、
(CTs−tp)+tm=1(CTs=0、tp=7、
tm=0であるため)であるからNOになり、ステップ
46に進む。ここで、tm=1、tp=0とする。Next, when the counter value of the timing generation circuit of FIG. 7 becomes the second zero, a time update process is performed on the user u1. At this time, YES is determined in step 41 of FIG. 6, and in step 42, the cell arrival history memory is read using the counter value = 0 of the timing generation circuit as an address. Since xm = 1 has already been set, step 43 becomes YES and the process proceeds to step 44. here,
(CTs-tp) + tm = 1 (CTs = 0, tp = 7,
(since tm = 0), the answer is NO, and the routine proceeds to step 46. Here, tm = 1 and tp = 0.
【0022】次に、セルC2が入力されると、前記と同
様に通常処理が行われ、xm=1、CTs=1、tm=
1、tp=0であるから、図3のステップ17でYES
となり、ステップ18でtm=0、xm=1、tp=1
とする。次に、図7のタイミング作成回路のカウンタ値
が3番目の0となった時、前記と同様にユーザu1に対
する時刻更新処理が行われる。xm=1、CTs=1、
tp=1、tm=0となっているので、図6のステップ
43でYES、ステップ43でNOとなり、ステップ4
6でtm=0、tp=1とする。Next, when the cell C2 is input, normal processing is performed in the same manner as described above, and xm = 1, CTs = 1, and tm =
1, since tp = 0, YES in step 17 of FIG.
Tm = 0, xm = 1, tp = 1 in step 18
And Next, when the counter value of the timing generation circuit of FIG. 7 becomes the third zero, the time updating process is performed on the user u1 in the same manner as described above. xm = 1, CTs = 1,
Since tp = 1 and tm = 0, YES in step 43 of FIG. 6, NO in step 43, and step 4
In step 6, tm = 0 and tp = 1.
【0023】次に、セルC3が入力されると、前記と同
様に通常処理が行われ、xm=1、CTs=2、tm=
0、tp=1であるから、図3のステップ17でNO、
ステップ21でNOとなり、ステップ25でセルC3は
廃棄される。以下、同様にして通常処理、時刻管理処理
が行われ、ユーザu2、ユーザu3のセルにおいても同
様にして通常処理、時刻更新処理が行われる。Next, when cell C3 is input, normal processing is performed in the same manner as described above, and xm = 1, CTs = 2, and tm =
0, tp = 1, so NO in step 17 of FIG.
In the step 21, the result is NO, and in the step 25, the cell C3 is discarded. Hereinafter, the normal processing and the time management processing are similarly performed, and the normal processing and the time update processing are similarly performed in the cells of the user u2 and the user u3.
【0024】なお、本発明は上記実施例に限定されるも
のではなく、本発明の趣旨に基づき種々の変形が可能で
あり、それらを本発明の範囲から排除するものではな
い。It should be noted that the present invention is not limited to the above-described embodiment, and various modifications are possible based on the gist of the present invention, and they are not excluded from the scope of the present invention.
【0025】[0025]
【発明の効果】以上、詳細に説明したように、本発明に
よれば、複数種類の固定長データが所定時間内に発生す
る数を固定長データの種類ごとに測定する装置におい
て、同一種別の固定長データが時計カウンタの1周期以
上発生しなくてもその発生する数の測定が可能となる。As described above in detail, according to the present invention, in an apparatus for measuring the number of occurrences of a plurality of types of fixed length data within a predetermined time for each type of fixed length data, Even if the fixed-length data does not occur for one cycle or more of the clock counter, the number of occurrences can be measured.
【0026】したがって、本発明を複数ユーザを有する
ATMセルのポリシング制御に適用すれば、同一宛先を
持つセルが時計カウンタの1周期以上発生しなくても、
ポリシング制御が可能となる。また、ユーザごとに時計
カウンタを用意しなくても、基準となる時計カウンタ1
つと、セル到着履歴メモリ、セル到着時刻メモリを用意
するだけで制御可能となるので、ハードウェア規模とコ
ストが非常に軽減される。Therefore, if the present invention is applied to policing control of ATM cells having a plurality of users, even if cells having the same destination do not occur for one cycle or more of the clock counter,
Policing control becomes possible. Further, even if a clock counter is not prepared for each user, the clock counter 1 as a reference can be used.
In other words, since control is possible only by preparing a cell arrival history memory and a cell arrival time memory, the hardware scale and cost are greatly reduced.
【図1】本発明の実施例に係る時刻管理方式の構成を示
すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a time management system according to an embodiment of the present invention.
【図2】本発明の実施例に係る時刻管理方式の通常処理
フローチャートの一部である。FIG. 2 is a part of a normal processing flowchart of a time management method according to an embodiment of the present invention.
【図3】本発明の実施例に係る時刻管理方式の通常処理
フローチャートの一部である。FIG. 3 is a part of a normal processing flowchart of a time management method according to the embodiment of the present invention.
【図4】本発明の実施例における到着セル経過時間の概
念図である。FIG. 4 is a conceptual diagram of an arrival cell elapsed time in an embodiment of the present invention.
【図5】本発明の実施例におけるタイミング作成回路の
構成を示すブロック図てある。FIG. 5 is a block diagram illustrating a configuration of a timing generation circuit according to the embodiment of the present invention.
【図6】本発明の実施例に係る時刻管理方式の時刻更新
処理フローチャートである。FIG. 6 is a time update processing flowchart of a time management method according to an embodiment of the present invention.
【図7】本発明の実施例に係る時刻管理方式の動作タイ
ムチャートである。FIG. 7 is an operation time chart of the time management system according to the embodiment of the present invention.
【図8】セルフォーマットの概念図である。FIG. 8 is a conceptual diagram of a cell format.
【図9】従来の単一ユーザ時のポリシング制御タイムチ
ャートの1例である。FIG. 9 is an example of a conventional policing control time chart for a single user.
【図10】従来の単一ユーザ時のポリシング制御動作フ
ローチャートの1例である。FIG. 10 is an example of a conventional policing control operation flowchart for a single user.
1 時計カウンタ 2 タイミング作成回路 3 セル到着履歴メモリ 4 制御部 DESCRIPTION OF SYMBOLS 1 Clock counter 2 Timing creation circuit 3 Cell arrival history memory 4 Control part
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−247145(JP,A) 特開 平3−143138(JP,A) 特開 平5−110585(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04L 12/28 H04L 12/56 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-3-247145 (JP, A) JP-A-3-143138 (JP, A) JP-A-5-110585 (JP, A) (58) Field (Int.Cl. 6 , DB name) H04L 12/28 H04L 12/56
Claims (2)
固定長データが所定時間内に発生する数を該固定長デー
タの種類ごとに測定する装置において、 (a)前記固定長データのデータ長ごとに発生する第1
のタイミング信号を入力とし、かつ、あらかじめ固定長
データの種類ごとに設定されている固定長データの監視
時間幅の規定値Tmの最小値n以上の周期で時間をカウ
ントする時計カウンタと、 (b)前記第1のタイミング信号と該第1のタイミング
信号に同期したクロック信号を入力とし、前記第1のタ
イミング信号のU/n(ただし、整数でない場合は切上
げる)倍の速度の第2のタイミング信号と、該第2のタ
イミング信号をクロック入力としてカウントしたカウン
タ値を出力するタイミング作成回路と、 (c)前記入力固定長データの種類を示すデータをアド
レスとし、前回の固定長データの到着時間tpと、前記
固定長データの監視を開始してからの経過時間tmと、
該経過時間中に発生した前記固定長データの数xmと、
前記規定値Tmと、あらかじめ固定長データの種類ごと
に設定されている該規定値Tm中に存在が許可される前
記固定長データの最大数Xmを内容とするメモリと、 (d)前記時計カウンタ、タイミング作成回路及びメモ
リを制御する制御部を設け、 前記第2のタイミング信号検出時に、前記タイミング作
成回路のカウンタ値をアドレスとして前記メモリの内容
を参照し、xmが0でなければ前記時計カウンタのカウ
ンタ値−tp+tmを計算し、これがTm以上であれば
時計カウンタのカウンタ値−tp+tmからTmを減算
した値を新たにtmとし、かつ、時計カウンタのカウン
タ値を新たにtpとし、Tm以上でなければ時計カウン
タのカウンタ値−tp+tmを新たにtmとし、かつ、
時計カウンタのカウンタ値を新たにtpとすることを特
徴とする時刻管理方式。1. An apparatus for measuring, for each type of fixed-length data, the number of occurrences of U types (where U is an integer of 2 or more) of fixed-length data within a predetermined time, (a) the fixed-length data First generated for each data length of
(B) a clock counter which receives the timing signal of (1) and counts the time in a cycle equal to or more than the minimum value n of the specified value Tm of the monitoring time width of the fixed length data set in advance for each type of fixed length data; 2.) The first timing signal and a clock signal synchronized with the first timing signal are input, and the second timing is U / n (rounded up if not an integer) times the first timing signal. A timing generating circuit for outputting a counter value obtained by counting the signal and the second timing signal as a clock input; and (c) an arrival time of the previous fixed-length data using data indicating the type of the input fixed-length data as an address. tp, the time tm elapsed since the monitoring of the fixed length data was started,
A number xm of the fixed-length data generated during the elapsed time;
A memory containing the specified value Tm and the maximum number Xm of the fixed-length data permitted to exist in the specified value Tm preset for each type of fixed-length data; and (d) the clock counter. A control unit for controlling a timing generation circuit and a memory, wherein when the second timing signal is detected, the contents of the memory are referred to by using a counter value of the timing generation circuit as an address. Is calculated, and if it is equal to or greater than Tm, a value obtained by subtracting Tm from the counter value -tp + tm of the clock counter is newly set to tm, and the counter value of the clock counter is newly set to tp. If not, the counter value of the clock counter -tp + tm is newly set to tm, and
A time management method characterized by newly setting a counter value of a clock counter to tp.
宛先を有するATMセルであり、第1のタイミング信号
がセルシンクである請求項1記載の時刻管理方式。2. The time management system according to claim 1, wherein the U types of fixed-length data are ATM cells having different destinations, and the first timing signal is a cell sync.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29601291A JP2891809B2 (en) | 1991-11-12 | 1991-11-12 | Time management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29601291A JP2891809B2 (en) | 1991-11-12 | 1991-11-12 | Time management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05136807A JPH05136807A (en) | 1993-06-01 |
| JP2891809B2 true JP2891809B2 (en) | 1999-05-17 |
Family
ID=17827981
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29601291A Expired - Fee Related JP2891809B2 (en) | 1991-11-12 | 1991-11-12 | Time management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2891809B2 (en) |
-
1991
- 1991-11-12 JP JP29601291A patent/JP2891809B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05136807A (en) | 1993-06-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0548995A2 (en) | Usage parameter control circuit | |
| US6108303A (en) | Method and apparatus for traffic control in a cell-based network | |
| Johnston et al. | The ATM layer chip: an ASIC for B-ISDN applications | |
| JP2891809B2 (en) | Time management method | |
| US6442136B1 (en) | Traffic shaping device for ATM communication network | |
| JPH07273771A (en) | Window type cell flow rate monitoring device | |
| JP2987258B2 (en) | Traffic monitoring method in asynchronous transfer mode communication network | |
| JPH05136808A (en) | Time managing system | |
| JP3157718B2 (en) | Time management method for ATM transmission network | |
| JP2851743B2 (en) | Policing circuit | |
| JPH05136806A (en) | Time management system | |
| JP2895657B2 (en) | Monitoring system for ATM transmission network | |
| JP3020746B2 (en) | ATM test cell transmission circuit | |
| JPH08242248A (en) | Method and circuit device for monitoring predetermined transmission bit rate during communication cell transmission | |
| JP2855485B2 (en) | Traffic observation circuit | |
| US5995508A (en) | Line adapter for cell switching machine | |
| JPH05110585A (en) | Policing function monitor method | |
| US6674716B1 (en) | Cell compliance decision method and apparatus | |
| JP2001274795A (en) | Cell shaping device | |
| KR100276079B1 (en) | A cell spacer using bucket calendar and its cotrol method | |
| JP2864071B2 (en) | Cell traffic monitoring device | |
| JP3587708B2 (en) | Cell management processing circuit and network system | |
| JP3501603B2 (en) | Arithmetic circuit failure monitoring method | |
| JP2580395B2 (en) | Cell monitoring device and cell flow control device using the same | |
| JP2947687B2 (en) | Buffer device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19990216 |
|
| LAPS | Cancellation because of no payment of annual fees |