JPH1117702A - Packet data memory device - Google Patents

Packet data memory device

Info

Publication number
JPH1117702A
JPH1117702A JP18184197A JP18184197A JPH1117702A JP H1117702 A JPH1117702 A JP H1117702A JP 18184197 A JP18184197 A JP 18184197A JP 18184197 A JP18184197 A JP 18184197A JP H1117702 A JPH1117702 A JP H1117702A
Authority
JP
Japan
Prior art keywords
queue
packet data
read
circuit
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP18184197A
Other languages
Japanese (ja)
Inventor
Nobuaki Fukazawa
伸明 深沢
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.)
Iwatsu Electric Co Ltd
Original Assignee
Iwatsu Electric Co 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 Iwatsu Electric Co Ltd filed Critical Iwatsu Electric Co Ltd
Priority to JP18184197A priority Critical patent/JPH1117702A/en
Publication of JPH1117702A publication Critical patent/JPH1117702A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To deal with the congestion of queues by exchanging queue priority by storing the queue read priority, which is different from a packet data memory circuit having plural queues, one by one or as a data base, generating a queue number and selecting a priority number. SOLUTION: N pieces of queue number generating circuits 3 (3-1 to 3-n) respectively store different queue read priority #1...#n. The queue number selecting circuit 3 selected by an enable signal from a selector circuit 4 selects the queue of the highest queue read priority, for which the number of stored packet data in queue information is not '0'. and outputs it to a memory read managing circuit 2 according to the priority. According to a timing signal from the outside, the memory read managing circuit 2 updates the queue information to the selector circuit 4 and the queue number generating circuits 3 and controls the queue read side of a packet data memory circuit 1.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、近年、データ,音
声,画像等,トラフィック特性の異なる情報をパケット
多重化して1つのネットワークで授受されるようになっ
てきたパケットデータ列、特にトラフィックの特性毎に
分類されるトラフィッククラスが複数存在するパケット
データ列を、それぞれトラフィッククラス毎に分類され
たキューに蓄積しておき、外部タイミング信号に同期し
てパケットデータを読み出すパケットデータメモリ装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet data sequence which has recently been multiplexed by packet multiplexing information having different traffic characteristics, such as data, voice, image, etc., and transmitted and received over a single network. The present invention relates to a packet data memory device which stores packet data strings in which a plurality of traffic classes classified for each class are stored in queues classified for each traffic class, and reads out packet data in synchronization with an external timing signal.

【0002】[0002]

【従来の技術】図5には従来のパケットデータメモリ装
置の例が示されている。表1は図5に示される従来のパ
ケットデータメモリ装置が実現するキュー読み出し優先
度の一例である。
2. Description of the Related Art FIG. 5 shows an example of a conventional packet data memory device. Table 1 shows an example of the queue read priority realized by the conventional packet data memory device shown in FIG.

【0003】[0003]

【表1】 [Table 1]

【0004】従来のパケットデータメモリ装置は、パケ
ットデータメモリ回路1とメモリ読み出し管理回路2と
唯一のキュー番号を発生するキュー番号発生回路3とか
ら構成される。キュー番号発生回路3は唯一の読み出し
優先度を記憶している。従来のトラフィックにはトラフ
ィッククラス間に著しい特性の差異がなかったため、唯
一のキュー番号発生回路3を備えることで、唯一の読み
出し優先度だけで要求される性能を十分満足することが
できた。外部からのパケットデータ列にはトラフィック
の特性毎に分類されるトラフィッククラスがm個存在す
る。トラフィックの特性とはパケットデータ列の内容毎
に現れる特性であり、表2の例で言えば、トラフィック
クラス1とトラフィッククラス2のデータはともにVB
R(Variable Bit Rate )であり、瞬間的に大量のデー
タが発生しかつ低廃棄が要求されるクラスであるが、ト
ラフィッククラス1の廃棄率はトラフィッククラス2の
廃棄率に対して低く抑えることが要求される。
The conventional packet data memory device comprises a packet data memory circuit 1, a memory read management circuit 2, and a queue number generation circuit 3 for generating a unique queue number. The queue number generating circuit 3 stores only one read priority. Since there is no remarkable difference in characteristics between traffic classes in the conventional traffic, the provision of only one queue number generation circuit 3 can sufficiently satisfy the performance required only by one read priority. There are m traffic classes classified according to the characteristics of the traffic in the packet data stream from the outside. The traffic characteristics are characteristics that appear for each content of the packet data string. In the example of Table 2, both data of traffic class 1 and traffic class 2 are VB data.
R (Variable Bit Rate) is a class in which a large amount of data is generated instantaneously and low discarding is required. However, the discard rate of traffic class 1 can be suppressed lower than that of traffic class 2. Required.

【0005】[0005]

【表2】 [Table 2]

【0006】パケットデータメモリ回路1はm個のキュ
ーから構成される。これらのキューにはそれぞれ異なっ
た番号が割り当てられており、キューの数mは存在する
トラフィッククラス数mである。すなわち、キューとト
ラフィッククラスは1対1で対応している。外部からの
パケットデータ列はトラフィッククラス毎に分類され、
それぞれパケットデータメモリ回路1の該当するキュー
に蓄積されている。キュー番号発生回路3は唯一の読み
出し優先度を記憶しており、その優先度に従って、キュ
ー情報に含まれるパケットデータ蓄積数が0ではなくか
つキュー読み出し優先度が最高であるキューを選択し、
そのキュー番号をメモリ読み出し管理回路2に対して発
生する。メモリ読み出し管理回路2は、外部からのタイ
ミング信号に従ってキュー番号発生回路3に対してキュ
ー情報を発生し、かつパケットデータメモリ回路1のキ
ューの読み出し側の制御を行う。
[0006] The packet data memory circuit 1 is composed of m queues. Different numbers are assigned to these queues, and the number m of queues is the number m of existing traffic classes. That is, the queue and the traffic class have a one-to-one correspondence. The packet data stream from the outside is classified by traffic class,
Each packet is stored in the corresponding queue of the packet data memory circuit 1. The queue number generating circuit 3 stores only one read priority, and selects a queue in which the number of stored packet data included in the queue information is not 0 and the queue read priority is the highest according to the priority,
The queue number is generated for the memory read management circuit 2. The memory read management circuit 2 generates queue information for the queue number generation circuit 3 according to an external timing signal, and controls the queue read side of the packet data memory circuit 1.

【0007】[0007]

【発明が解決しようとする課題】従来のトラフィックに
はトラフィッククラス間に著しい特性の差異が無かった
ため、唯一の読み出し優先度だけで要求される性能を十
分満足することができた。表2の例で言えば、トラフィ
ッククラス1とトラフィッククラス2のデータはともに
VBRデータであり、瞬間的に大量のデータが発生しか
つ低廃棄が要求されるクラスであるが、トラフィックク
ラス2の廃棄率はトラフィッククラス1の廃棄率に対し
て低く抑えることが要求される。従ってトラフィックク
ラス2のキューのパケットデータはトラフィッククラス
1のキューのパケットデータに対して優先して送出され
るだけで良く、表1の例に示すように唯一の読み出し優
先度だけで要求される性能を十分満足した。
Since there is no significant difference in characteristics between the traffic classes in the conventional traffic, the performance required by only one read priority can be sufficiently satisfied. In the example of Table 2, the data of traffic class 1 and traffic class 2 are both VBR data, a class in which a large amount of data is generated instantaneously and low discarding is required. The rate is required to be kept lower than the traffic class 1 drop rate. Therefore, the packet data of the traffic class 2 queue need only be transmitted in priority to the packet data of the traffic class 1 queue, and as shown in the example of Table 1, the performance required by only one read priority. Satisfied enough.

【0008】しかし、近年のトラフィックにはトラフィ
ッククラス間に著しい特性の差異が見られるようになっ
た。表3の例で言えば、トラフィッククラス1のCBR
(Constant Bit Rate )データは一定の速度でパケット
データが発生しかつ低遅延が要求されるクラスであり、
トラフィッククラス2のVBRデータは瞬間的に大量の
データが発生しかつ低廃棄が要求されるクラスである。
[0008] However, in recent years, a remarkable difference in characteristics between traffic classes has been observed. Taking the example of Table 3, CBR of traffic class 1
(Constant Bit Rate) Data is a class in which packet data is generated at a constant speed and low delay is required.
The traffic class 2 VBR data is a class in which a large amount of data is instantaneously generated and low discarding is required.

【0009】[0009]

【表3】 [Table 3]

【0010】このようなトラフィックに従来の方法を採
用した場合、すなわち表2におけるトラフィッククラス
1を表3のトラフィッククラス1の音声,画像サービス
とし、トラフィッククラス2を表3のトラフィッククラ
ス2のIPパケットサービスとした場合、トラフィック
クラス2のキューに輻輳が発生していない状況では、ト
ラフィッククラス1のキューのパケットデータが、トラ
フィッククラス2のキューのパケットデータに対して優
先して送出され、表3のトラフィッククラス1のCBR
データである音声,画像サービスのパケットデータの遅
延を防いでいる。しかし、トラフィッククラス2のVB
Rのキューに輻輳が発生した場合でも、トラフィックク
ラス1のCBRのキューパケットデータがトラフィック
クラス2のVBRのキューのパケットデータより優先し
て送出される。従って、従来のパケットデータメモリ装
置では表3のトラフィッククラス2のVBRデータであ
るIPパケットサービスのパケットデータの輻輳を回復
する手段が無いだけではなく、トラフィッククラス2の
パケットデータの輻輳状況を更に悪化させることにな
る。すなわち、優先度が1種類固定であるため、トラフ
ィック状況によってキュー読み出し優先度を入れ替えた
いときには対応できないという欠点があった。
When the conventional method is adopted for such traffic, that is, the traffic class 1 in Table 2 is the voice and image service of the traffic class 1 in Table 3, and the traffic class 2 is the IP packet of the traffic class 2 in Table 3. In the case where the service is used, the packet data of the traffic class 1 queue is transmitted in preference to the packet data of the traffic class 2 queue in a situation where the traffic class 2 queue is not congested. Traffic class 1 CBR
This prevents delay of packet data for voice and image services as data. However, VB of traffic class 2
Even when congestion occurs in the queue of R, the queue packet data of the traffic class 1 CBR is transmitted prior to the packet data of the traffic class 2 VBR queue. Therefore, in the conventional packet data memory device, not only is there no means for recovering the congestion of the packet data of the IP packet service which is the VBR data of the traffic class 2 in Table 3, but also the congestion situation of the packet data of the traffic class 2 is further deteriorated. Will be. That is, since one type of priority is fixed, there is a drawback that it is not possible to cope with a case where it is desired to change the queue read priority depending on the traffic situation.

【0011】本発明の目的は、キュー読み出し優先度を
入れ替えてキューの輻輳に対処することが可能なパケッ
トデータメモリ装置を提供することである。
An object of the present invention is to provide a packet data memory device capable of coping with queue congestion by changing the queue read priority.

【0012】[0012]

【課題を解決するための手段】この目的を達成するため
に、本発明のパケットデータメモリ装置は、従来のパケ
ットデータメモリ装置を構成している、キューを複数持
つパケットデータメモリ回路と、外部タイミング信号と
キュー番号発生回路が発生するキュー番号に従ってパケ
ットデータメモリ回路に対してアドレス信号及び読み出
し信号を発生しキューの読み出し側の制御を行いかつキ
ュー番号発生回路に対してキュー情報を発生するメモリ
読み出し管理回路とに加え、それぞれ異なるキュー読み
出し優先度を1つづつ又はデータベースとして記憶しキ
ュー情報の1つであるパケットデータ蓄積数とキュー読
み出し優先度とに従ってキュー番号を発生する複数のキ
ュー番号発生回路と、パケット数がしきい値を越えた場
合にメモリ読み出し管理回路が発生する(キュー情報の
1つである)輻輳表示から選択するべきキュー読み出し
優先度を記憶しているキュー番号発生回路を選択する選
択回路と、を設けた構成を有している。
In order to achieve this object, a packet data memory device according to the present invention comprises: a packet data memory circuit having a plurality of queues, which constitutes a conventional packet data memory device; A memory read for generating an address signal and a read signal to a packet data memory circuit in accordance with a signal and a queue number generated by a queue number generating circuit to control a read side of the queue and generating queue information to the queue number generating circuit In addition to the management circuit, a plurality of queue number generating circuits for storing different queue read priorities one by one or as a database and generating queue numbers in accordance with the packet data accumulation number and queue read priority which are one of the queue information. Memory read when the number of packets exceeds the threshold Management circuit generates has a configuration in which a selection circuit for selecting a queue number generation circuit which stores (one is the queue information) queue read priority to be selected from the congestion indication, the.

【0013】[0013]

【発明の実施の形態】本発明によるパケットデータメモ
リ装置は、キューの輻輳状況に従ってキュー読み出し優
先度を選択することができ、選択されたキュー読み出し
優先度に従ってパケットデータを読み出すことが出来
る。図1,表4の例で言えば、輻輳が無い通常時ではキ
ュー番号発生回路#1がイネーブルされ優先度#1に従
ってキュー番号を選択し、メモリ読み出し管理回路2は
そのキュー番号に従ってデータパケットをパケットデー
タメモリ回路1から読み出し、外部へ送出することによ
って、トラフィッククラス1のキューのパケットデータ
の遅延を防ぐことができる。例えばトラフィッククラス
nのデータパケットが輻輳した場合にはキュー番号発生
回路#nがイネーブルされ優先度#nに従ってキュー番
号を選択し、メモリ読み出し管理回路2はそのキュー番
号に従ってパケットデータをパケットデータメモリ回路
1から読み出し、外部へ送出することによってトラフィ
ッククラスnのキュー輻輳状況の悪化を回避することが
できる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The packet data memory device according to the present invention can select a queue read priority according to the queue congestion status, and can read packet data according to the selected queue read priority. In the example of FIG. 1 and Table 4, at normal time when there is no congestion, the queue number generation circuit # 1 is enabled and selects a queue number according to the priority # 1, and the memory read management circuit 2 selects a data packet according to the queue number. By reading the packet data from the packet data memory circuit 1 and sending it to the outside, it is possible to prevent packet data in the queue of the traffic class 1 from being delayed. For example, when the data packet of the traffic class n is congested, the queue number generation circuit #n is enabled and selects a queue number according to the priority #n, and the memory read management circuit 2 transfers the packet data according to the queue number. By reading the packet from No. 1 and sending it to the outside, it is possible to avoid the deterioration of the queue congestion situation of the traffic class n.

【0014】[0014]

【実施例】図1は、1つのキュー番号発生回路に1つの
キュー読み出し優先度が固定的に割り当てられたキュー
番号発生回路を3−1,…,3−nのように複数個実装
した本発明によるパケットデータメモリ装置の第一の実
施例である。表4は図1のパケットデータメモリ装置が
実現するキュー読み出し優先度の一例である。パケット
データメモリ装置は、パケットデータメモリ回路1とメ
モリ読み出し管理回路2と選択回路4とキュー番号を発
生する複数のキュー番号発生回路(3−1,3−2,
……,3−n)とから構成される。
FIG. 1 is a block diagram showing a case in which a plurality of queue number generating circuits, such as 3-1,..., 3-n, in which one queue reading priority is fixedly assigned to one queue number generating circuit. 1 is a first embodiment of a packet data memory device according to the present invention. Table 4 shows an example of the queue read priority realized by the packet data memory device of FIG. The packet data memory device includes a packet data memory circuit 1, a memory read management circuit 2, a selection circuit 4, and a plurality of queue number generation circuits 3 (3-1, 3-2) for generating queue numbers.
.., 3-n).

【0015】[0015]

【表4】 [Table 4]

【0016】外部からのパケットデータ列には「トラフ
ィッククラスの特性」毎に分類されるトラフィッククラ
スがm個存在する。「トラフィックの特性」とはパケッ
トデータ列の内容毎に現れる特性であり、表3の例で言
えば、CBR(Constant BitRate )データは一定の速
度でパケットデータが発生しかつ低遅延が要求されるク
ラスであり、VBR(Variable Bit Rate )データは瞬
間的に大量のデータが発生しかつ低廃棄が要求されるク
ラスである。キュー読み出し優先度Pは、想定されるr
個の「トラフィック状況」毎に定義されており、トラフ
ィッククラスの個数がm個であるとすると、r≦m m
=m!となる。「トラフィック状況」とは、各トラフィ
ッククラスにおいて定義されるトラフィック状態の組み
合わせである。また、キュー読み出し優先度の個数nは
n=rとすることができるので、n≦m!となる。
There are m traffic classes classified according to "traffic class characteristics" in the packet data stream from the outside. The "traffic characteristics" are characteristics that appear for each content of the packet data sequence. In the example of Table 3, CBR (Constant Bit Rate) data generates packet data at a constant speed and requires low delay. VBR (Variable Bit Rate) data is a class in which a large amount of data is instantaneously generated and low discarding is required. The queue read priority P is assumed to be r
Are defined for each “traffic situation”, and if the number of traffic classes is m, r ≦ m P m
= M! Becomes “Traffic status” is a combination of traffic conditions defined in each traffic class. Also, the number n of the queue read priorities can be n = r, so that n ≦ m! Becomes

【0017】表3の2つのトラフィッククラスを持つパ
ケットデータメモリ装置の本発明の第二の実施例を図2
に、図2において各トラフィック状況におけるキュー番
号選択論理を表5に示す。
FIG. 2 shows a second embodiment of the present invention of a packet data memory device having two traffic classes shown in Table 3.
Table 5 shows the queue number selection logic in each traffic situation in FIG.

【0018】[0018]

【表5】 [Table 5]

【0019】表5では2個のトラフィッククラスにおけ
るトラフィック状態として「輻輳あり」と「輻輳なし」
の2つの状態を採用し、CBRとVBRのトラフィック
状態の組み合わせにより4個のトラフィック状況が定義
されており、各トラフィック状況に対してトラフィック
クラスの読み出し優先度が定義されている。表5の例で
言えば、トラフィック状況が「状況2」の場合に選択さ
れるキュー読み出し優先度が「優先度2」となり、それ
以外のトラフィック状況の場合には「優先度1」が選択
される。表5の例では本発明のパケットデータメモリ装
置のキュー読み出し優先度は2個となる。
In Table 5, "congestion" and "no congestion" are shown as traffic states in the two traffic classes.
Are adopted, four traffic conditions are defined by a combination of the traffic conditions of CBR and VBR, and the read priority of the traffic class is defined for each traffic condition. In the example of Table 5, the queue read priority selected when the traffic status is "status 2" is "priority 2", and when the traffic status is other than that, "priority 1" is selected. You. In the example of Table 5, the packet data memory device of the present invention has two queue read priorities.

【0020】以下、図1,図2に示す本発明の第一,第
二の実施例を構成する回路について説明する。図1の第
一の実施例ではパケットデータメモリ回路1はm個のキ
ューから構成される。これらのキューにはそれぞれ異な
った番号が割り当てられており、(パケットデータメモ
リ回路のキューの個数)=m=(トラフィッククラスの
個数)となる。また、パケットデータメモリ回路1のキ
ューとトラフィッククラスとは1対1で対応している。
外部からのパケットデータ列はトラフィッククラス毎に
分類され、それぞれパケットデータメモリ回路1の該当
するキューに蓄積されている。
The circuits constituting the first and second embodiments of the present invention shown in FIGS. 1 and 2 will be described below. In the first embodiment of FIG. 1, the packet data memory circuit 1 is composed of m queues. Different numbers are assigned to these queues, respectively, and (the number of queues in the packet data memory circuit) = m = (the number of traffic classes). The queue of the packet data memory circuit 1 corresponds to the traffic class on a one-to-one basis.
An external packet data sequence is classified for each traffic class, and is stored in a corresponding queue of the packet data memory circuit 1, respectively.

【0021】図1の第一の実施例では、n個からなるキ
ュー番号発生回路(3−1,…,3−n)はそれぞれ
異なったキュー読み出し優先度#1,#2,……#nを
記憶している。選択回路4からのイネーブル信号によっ
て選択されたキュー番号発生回路は、キュー番号発生
回路に記憶されているキュー読み出し優先度に従い、
キュー情報のパケットデータ蓄積数が0ではなくかつキ
ュー読み出し優先度が最高であるキューを選択し、その
キュー番号をメモリ読み出し管理回路2に対して発生す
る。
In the first embodiment shown in FIG. 1, n queue number generating circuits 3 (3-1,..., 3-n) have different queue read priorities # 1, # 2,. n is stored. The queue number generation circuit 3 selected by the enable signal from the selection circuit 4 according to the queue read priority stored in the queue number generation circuit 3 ,
A queue in which the packet data accumulation number of the queue information is not 0 and the queue read priority is the highest is selected, and the queue number is generated for the memory read management circuit 2.

【0022】図1の第一の実施例では、メモリ読み出し
管理回路2は、外部からのタイミング信号に従って選択
回路4とキュー番号発生回路に対して発生するキュー
情報を更新し、かつパケットデータメモリ回路1の「キ
ューの読み出し側の制御」を行う。キュー情報の一例を
表6に示す。
In the first embodiment shown in FIG. 1, the memory read management circuit 2 updates the queue information generated for the selection circuit 4 and the queue number generation circuit 3 according to an external timing signal, and updates the packet data memory. The circuit 1 performs “control of the queue read side”. Table 6 shows an example of the queue information.

【0023】[0023]

【表6】 [Table 6]

【0024】メモリ読み出し管理回路2による「キュー
の読み出し側の制御」とは、外部タイミング信号に従っ
て、キュー番号をもとに「次パケットデータ読み出しア
ドレス信号」と「読み出し信号」をパケットデータメモ
リ回路1に対して発生することによってキューから1パ
ケットの読み出しを行い、読み出したキュー情報の更新
を行うことである。「キュー情報の更新処理」とは、
「パケットデータ蓄積数」をデクリメントし、「次パケ
ットデータ読み出しアドレス」を次のパケットデータが
格納されているかまたは格納される予定であるメモリエ
リアの先頭のアドレスにすることである。「輻輳表示」
は「パケットデータ蓄積数」が「輻輳判定しきい値」を
越えた場合に「輻輳あり」を表示する。「パケットデー
タ蓄積数」が「輻輳判定しきい値」以下の場合には「輻
輳なし」を表示する。
The "control of the queue read side" by the memory read management circuit 2 means that the "next packet data read address signal" and "read signal" are read based on the queue number in accordance with the external timing signal. , One packet is read from the queue, and the read queue information is updated. "Queue information update processing"
The “number of accumulated packet data” is decremented, and the “next packet data read address” is set to the first address of the memory area where the next packet data is stored or will be stored. "Congestion display"
Displays "congestion present" when the "number of stored packet data" exceeds the "congestion determination threshold value". If the "number of accumulated packet data" is equal to or less than the "congestion determination threshold value", "no congestion" is displayed.

【0025】選択回路4は、図1の第一の実施例ではメ
モリ読み出し管理回路2からのキュー情報のうち「輻輳
表示」をもとに現在のトラフィック状況を判定し、現時
点で選択すべきキュー読み出し優先度#1,……又は#
nを記憶しているキュー番号発生回路(3−1,……,
又は3−n)をイネーブル信号によって選択する。
In the first embodiment shown in FIG. 1, the selection circuit 4 determines the current traffic condition based on the "congestion indication" in the queue information from the memory read management circuit 2, and selects the queue to be selected at the present time. Read priority # 1,... Or #
n storing the queue number generating circuit (3-1,...,.
Or 3-n) is selected by the enable signal.

【0026】図2は、表3の例のようなCBRとVBR
の2種類のトラフィッククラスが存在しかつ表5の例の
ようなトラフィック状況が想定される場合に構成される
パケットデータメモリ回路の第二の実施例(図1のm=
2,n=2の場合)である。
FIG. 2 shows CBR and VBR as shown in Table 3.
A second embodiment of the packet data memory circuit (m = FIG. 1) configured when there are two types of traffic classes and a traffic situation as shown in the example of Table 5 is assumed.
2, n = 2).

【0027】図2に示す第二の実施例において、パケッ
トデータメモリ回路1は、2個のキューから構成され
る。これらのキューにはそれぞれ異なった番号が割り当
てられており、表3の例ではトラフィッククラスがCB
RとVBRの2個存在するため、(パケットデータメモ
リ回路1のキューの個数)=2=(トラフィッククラス
の個数)となる。また、パケットデータメモリ回路1の
キューとトラフィッククラスとは1対1で対応してい
る。外部からのパケットデータ列はCBRとVBRに分
類され、CBRのパケットデータ列はパケットデータメ
モリ回路1のCBRのキューに、またVBRのパケット
データ列はパケットデータメモリ回路1のVBRのキュ
ーに蓄積されている。
In the second embodiment shown in FIG. 2, the packet data memory circuit 1 is composed of two queues. These queues are assigned different numbers, and in the example of Table 3, the traffic class is CB.
Since there are two R and VBR, (the number of queues in the packet data memory circuit 1) = 2 = (the number of traffic classes). The queue of the packet data memory circuit 1 corresponds to the traffic class on a one-to-one basis. The packet data string from the outside is classified into CBR and VBR, and the packet data string of CBR is stored in the CBR queue of the packet data memory circuit 1, and the packet data string of VBR is stored in the VBR queue of the packet data memory circuit 1. ing.

【0028】図2に示す第二の実施例において、キュー
番号発生回路は、2個(5−1,5−2)からなり、
それぞれ異なったキュー読み出し優先度を記憶してい
る。選択回路4からのイネーブル信号によって「優先度
1」を記憶しているキュー番号発生回路5−1が選択さ
れている場合、すなわちトラフィック状況=「状況1」
または「状況3」または「状況4」において、CBRの
キューのパケットデータ蓄積数が0でかつVBRのキュ
ーのパケットデータ蓄積数が0でない状況ではVBRの
キューを読み出しキューとして選択し、それ以外ではC
BRのキューを読み出しキューとして選択し、選択した
キューのキュー番号をメモリ読み出し管理回路2に対し
て発生する。選択回路4からのイネーブル信号によって
「優先度2」を記憶しているキュー番号発生回路3−2
が選択されている場合(トラフィック状況=「状況
2」)には、VBRのキューを読み出しキューとして選
択し、選択したキューのキュー番号をメモリ読み出し管
理回路2に対して発生する。
In the second embodiment shown in FIG. 2, the queue number generating circuit 5 comprises two (5-1, 5-2)
Different queue read priorities are stored. When the queue number generation circuit 5-1 storing “priority 1” is selected by the enable signal from the selection circuit 4, that is, the traffic status = “status 1”
Alternatively, in "Situation 3" or "Situation 4", in the situation where the number of packet data stored in the CBR queue is 0 and the number of packet data stored in the VBR queue is not 0, the VBR queue is selected as the read queue. C
The BR queue is selected as a read queue, and the queue number of the selected queue is generated for the memory read management circuit 2. Queue number generation circuit 3-2 storing "priority 2" in response to an enable signal from selection circuit 4.
Is selected (traffic status = “status 2”), the VBR queue is selected as the read queue, and the queue number of the selected queue is generated for the memory read management circuit 2.

【0029】図2に示す第二の実施例において、メモリ
読み出し管理回路2は、外部からのタイミング信号に従
って選択回路4とキュー番号発生回路に対して発生す
るキュー情報を更新し、かつパケットデータメモリ回路
1のキューの読み出し側の制御を行う。
In the second embodiment shown in FIG. 2, the memory read management circuit 2 updates the queue information generated for the selection circuit 4 and the queue number generation circuit 5 according to an external timing signal, and The reading side of the queue of the memory circuit 1 is controlled.

【0030】図2に示す第二の実施例において、選択回
路4は、キュー情報のうちの輻輳表示をもとに現在のト
ラフィック状況を判定し、現時点で選択すべきキュー読
み出し優先度を記憶しているキュー番号発生回路5−1
又は5−2をイネーブル信号によって選択する。CBR
キューとVBRキューの輻輳表示がともに「輻輳なし」
であればトラフィック状況を「状況1」と判定し、「優
先度1」を記憶しているキュー番号発生回路5−1をイ
ネーブルにする。CBRキューの輻輳表示が「輻輳な
し」でかつVBRキューの輻輳表示が「輻輳あり」であ
ればトラフィック状況を「状況2」と判定し、「優先度
2」を記憶しているキュー番号発生回路5−2をイネー
ブルにする。CBRキューの輻輳表示が「輻輳あり」で
かつVBRのキューの輻輳表示が「輻輳なし」であれば
トラフィック状況を「状況3」と判定し、「優先度1」
を記憶しているキュー番号発生回路3−1をイネーブル
にする。CBRキューの輻輳表示が「輻輳あり」でかつ
VBRキューの輻輳表示が「輻輳あり」であればトラフ
ィック状況を「状況4」と判定し、「優先度1」を記憶
しているキュー番号発生回路5−1をイネーブルにす
る。
In the second embodiment shown in FIG. 2, the selection circuit 4 determines the current traffic situation based on the congestion indication in the queue information, and stores the queue read priority to be selected at the present time. Queue number generating circuit 5-1
Alternatively, 5-2 is selected by the enable signal. CBR
Both congestion display of queue and VBR queue are "no congestion"
If so, the traffic status is determined to be "status 1", and the queue number generating circuit 5-1 storing "priority 1" is enabled. If the congestion indication of the CBR queue is "no congestion" and the congestion indication of the VBR queue is "congestion", the traffic situation is determined to be "situation 2" and the queue number generation circuit storing "priority 2" Enable 5-2. If the congestion indication of the CBR queue is “congested” and the congestion indication of the VBR queue is “no congestion”, the traffic situation is determined as “situation 3” and “priority 1”
Is enabled. If the congestion indication of the CBR queue is "congested" and the congestion indication of the VBR queue is "congested", the traffic situation is determined to be "situation 4" and the queue number generation circuit storing "priority 1" Enable 5-1.

【0031】図3は図1または図2の実施例の動作シー
ケンスである。動作開始後(S1)、メモリ読み出し管
理回路2は外部からのタイミング信号に従って(S
2)、キュー情報を発生する(S3)。図2,表5の例
で言えば、トラフィック状況が状況2(CBR輻輳な
し、VBR輻輳あり)であった場合、選択される読み出
し優先度は優先度2となる。選択回路4は発生したキュ
ー情報の輻輳表示をもとに、キュー番号発生回路又は
をイネーブル信号によって選択する(S4)。選択さ
れたキュー番号発生回路又はは、自回路が記憶して
いる読み出し優先度とパケットデータ蓄積数に従ってキ
ューを選択し、そのキュー番号を発生する(S5)。図
2,表5の例で言えば、選択されたキュー番号発生回路
が回路5−2であった場合、読み出し優先度2とキュ
ー情報のパケットデータ蓄積数にもとづいてキュー番号
2を選択し発生する。メモリ読み出し管理回路2は、キ
ュー番号に従った次パケットデータ読み出しアドレス信
号と読み出し信号を発生し、パケットデータメモリ回路
1からパケットデータを読み出し、外部へ送出する(S
6)。読み出し後、読み出したキューに関するキュー情
報を更新する(S7)。
FIG. 3 shows an operation sequence of the embodiment of FIG. 1 or FIG. After the operation starts (S1), the memory read management circuit 2 responds to the external timing signal (S1).
2) Queue information is generated (S3). In the example of FIG. 2 and Table 5, if the traffic status is status 2 (no CBR congestion, VBR congestion), the selected read priority is priority 2. The selection circuit 4 generates the queue number generation circuit 3 or
5 is selected by the enable signal (S4). The selected queue number generating circuit 3 or 5 selects a queue according to the read priority and the number of stored packet data stored in its own circuit, and generates the queue number (S5). In the example of FIG. 2 and Table 5, the selected cue number generation circuit
If 5 is the circuit 5-2, the queue number 2 is selected and generated based on the read priority 2 and the number of packet data stored in the queue information. The memory read management circuit 2 generates a next packet data read address signal and a read signal according to the queue number, reads the packet data from the packet data memory circuit 1, and sends the packet data to the outside (S
6). After the reading, the queue information related to the read queue is updated (S7).

【0032】図4は、複数のキュー読み出し優先度をデ
ータベース化して記憶した本発明のパケットデータメモ
リ装置の第三の実施例である。図4のパケットデータメ
モリ装置は、パケットデータメモリ回路1とメモリ読み
出し管理回路2と優先度選択回路4aと優先度データベ
ース6とキュー番号発生回路7とから構成されている。
外部からのパケットデータ列にはトラフィッククラスの
特性毎に分類されるトラフィッククラスがm個存在す
る。キュー読み出し優先度は、想定されるr個のトラフ
ィック状況毎に定義されており、トラフィッククラスの
個数がm個であるとすれば、r≦m m =m!となる。
また、キュー読み出し優先度の個数nはn=rとする
ことができるので、n≦m!となる。パケットデータメ
モリ回路1は、m個のキューから構成される。 これら
のキューはそれぞれ異なった番号が割り当てられてお
り、(パケットデータメモリ回路1のキューの個数)=
m=(トラフィッククラスの個数)となる。また、パケ
ットデータメモリ回路1のキューとトラフィッククラス
は1対1で対応している。外部からのパケットデータ列
はトラフィッククラス毎に分類され、それぞれパケット
データメモリ回路1の該当するキューに蓄積されてい
る。
FIG. 4 shows a third embodiment of the packet data memory device of the present invention in which a plurality of queue read priorities are stored in a database and stored. The packet data memory device of FIG. 4 includes a packet data memory circuit 1, a memory read management circuit 2, a priority selection circuit 4a, a priority database 6, and a queue number generation circuit 7.
There are m traffic classes classified according to the characteristics of the traffic class in the packet data stream from the outside. The queue read priority is defined for each of r assumed traffic situations. If the number of traffic classes is m, r ≦ m P m = m! Becomes
Also, the number n of the queue read priorities can be n = r, so that n ≦ m! Becomes The packet data memory circuit 1 includes m queues. These queues are assigned different numbers, respectively (the number of queues in the packet data memory circuit 1) =
m = (the number of traffic classes). Further, the queue of the packet data memory circuit 1 corresponds to the traffic class on a one-to-one basis. An external packet data sequence is classified for each traffic class, and is stored in a corresponding queue of the packet data memory circuit 1, respectively.

【0033】キュー番号発生回路7は、優先度選択回路
4aによって選択されたキュー読み出し優先度に従い、
キュー情報のパケットデータ蓄積数が最高であるキュー
を選択し、そのキュー番号をメモリ読み出し管理回路2
に対して発生する。メモリ読み出し管理回路2は、外部
からのタイミング信号に従って優先度選択回路4aとキ
ュー番号発生回路7に対して発生するキュー情報を更新
し、かつパケットデータメモリ回路1のキューの読み出
し側の管理を第一の実施例と同様に行う。
The queue number generating circuit 7 determines the priority of the queue read by the priority selecting circuit 4a.
The queue having the highest number of packet data stored in the queue information is selected, and the queue number is stored in the memory read management circuit 2
Occurs for The memory read management circuit 2 updates the queue information generated for the priority selection circuit 4a and the queue number generation circuit 7 in accordance with an external timing signal, and manages the read side of the queue of the packet data memory circuit 1. This is performed in the same manner as in one embodiment.

【0034】優先度選択回路4aはキュー情報のうち輻
輳表示をもとに現在のトラフィック状況を判定し、現時
点で選択すべきキュー読み出し優先度を優先度データベ
ース6から選択し、選択したキュー読み出し優先度をキ
ュー番号発生回路7へ通知する。優先度データベース6
は複数のキュー読み出し優先度を記憶しており、優先度
選択回路4aによって1個のキュー読み出し優先度が選
択される。
The priority selection circuit 4a determines the current traffic condition based on the congestion display in the queue information, selects a queue read priority to be selected at the present time from the priority database 6, and selects the selected queue read priority. The degree is notified to the queue number generation circuit 7. Priority database 6
Stores a plurality of queue read priorities, and one of the queue read priorities is selected by the priority selection circuit 4a.

【0035】[0035]

【発明の効果】以上詳細に説明したように、従来のパケ
ットデータメモリ回路では優先度が1種類固定であるた
め、トラフィック状況によってキュー読み出し優先度を
入れ替えたいときには対応できないという欠点があった
が、本発明によれば、トラフィックの状況に従った、現
時点で最も優先度の高いトラフィッククラスのキューに
蓄積されているパケットデータを外部へ送出することが
できる効果がある。例えば、トラフィッククラス2のパ
ケットデータの輻輳時は他のトラフィッククラスのパケ
ットデータよりトラフィッククラス2のパケットデータ
が優先して送出され、トラフィッククラス2のパケット
データの輻輳を回復し輻輳によるパケットデータの廃棄
を防ぐことができ、通常時では従来と同様にトラフィッ
ククラス1のパケットデータが他のトラフィッククラス
のパケットデータより優先して送出され、トラフィック
クラス1のパケットデータの転送遅延を防ぐことができ
る。
As described above in detail, in the conventional packet data memory circuit, since one type of priority is fixed, there is a drawback that it is not possible to cope with the case where it is desired to change the queue read priority depending on the traffic situation. According to the present invention, there is an effect that packet data stored in a queue of a traffic class having the highest priority at the present time can be transmitted to the outside according to a traffic situation. For example, when the packet data of the traffic class 2 is congested, the packet data of the traffic class 2 is transmitted with priority over the packet data of the other traffic classes, the congestion of the packet data of the traffic class 2 is recovered, and the packet data is discarded due to the congestion. In normal times, the packet data of the traffic class 1 is transmitted with higher priority than the packet data of the other traffic classes as in the conventional case, so that the transfer delay of the packet data of the traffic class 1 can be prevented.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】表3のトラフィックを考慮した本発明の一実施
例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of the present invention in which traffic shown in Table 3 is considered.

【図3】本発明によって実現される回路の動作シーケン
スの一例である。
FIG. 3 is an example of an operation sequence of a circuit realized by the present invention.

【図4】表3のトラフィックを考慮し、キュー読み出し
優先度のデータをデータベース化して記憶した本発明の
一実施例を示すブロック図である。
FIG. 4 is a block diagram showing an embodiment of the present invention in which queue read priority data is stored in a database in consideration of the traffic shown in Table 3.

【図5】従来例を示すブロック図である。FIG. 5 is a block diagram showing a conventional example.

【符号の説明】 1 パケットデータメモリ回路 2 メモリ読み出し管理回路 ,3−1,…,3−n,,5−1,5−2,7 キ
ュー番号発生回路 4 選択回路 6 優先度データベース
[Description of Signs] 1 packet data memory circuit 2 memory read management circuit 3 , 3-1,..., 3-n, 5 , 5-1 5-2, 7 queue number generation circuit 4 selection circuit 6 priority database

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 それぞれ異なったキュー番号を有する複
数のキューに分割されて順次パケットデータを格納する
パケットデータメモリ回路から、外部タイミング信号に
同期して該格納されたパケットデータを読み出すための
キューを選択し該パケットデータを読み出すパケットデ
ータメモリ装置であつて、 前記外部タイミング信号と前記キュー番号に従って、前
記パケットメモリ回路に対してアドレス信号及び読み出
し信号を発生し、かつ、前記パケットデータメモリ回路
への前記パケットデータを蓄積することを許容する蓄積
許可数が前記パケットデータの輻輳を判定するために予
め定めた輻輳判定しきい値を越えたことを示す輻輳表示
と前記パケットデータメモリ回路に格納されているパケ
ットデータの蓄積数とを含むようにキュー情報を発生し
て、前記パケットデータメモリ回路における前記キュー
の読み出し側の制御を行うメモリ読み出し管理回路とそ
れぞれ異なった複数のキュー読み出し優先度を1つづつ
記憶し、それぞれのキュー読み出し優先度に対応する前
記キュー番号を対応する前記キューの前記パケットデー
タ蓄積数が零に成るまで発生して前記メモリ読み出し管
理回路に供給するための複数のキュー番号発生回路と、 前記キュー情報の前記輻輳表示に対応するように予め定
められた前記キュー読み出し優先度を記憶している前記
キュー番号発生回路を選択して対応する前記キュー番号
を対応する前記キューの前記パケットデータ蓄積数が零
に成るまで発生させる選択回路と、 を備えたパケットデータメモリ装置。
1. A queue for reading out stored packet data in synchronization with an external timing signal from a packet data memory circuit which is divided into a plurality of queues having different queue numbers and sequentially stores packet data. A packet data memory device for selecting and reading the packet data, wherein the packet data memory device generates an address signal and a read signal to the packet memory circuit according to the external timing signal and the queue number, and outputs the address signal and the read signal to the packet data memory circuit. A congestion indication indicating that the number of allowed storages for accumulating the packet data has exceeded a predetermined congestion determination threshold value for determining congestion of the packet data and stored in the packet data memory circuit. Queue information to include the number of stored packet data A plurality of queue read priorities which are generated and different from the memory read management circuit that controls the read side of the queue in the packet data memory circuit are stored one by one, and the queue read priority corresponding to each queue read priority is stored. A plurality of queue number generation circuits for generating a queue number until the packet data accumulation number of the corresponding queue becomes zero and supplying the packet data to the memory read management circuit; and a queue number corresponding to the congestion display of the queue information. A selection circuit that selects the queue number generation circuit that stores the queue read priority that is predetermined and generates the corresponding queue number until the packet data accumulation number of the corresponding queue becomes zero. A packet data memory device comprising:
【請求項2】 それぞれ異なったキュー番号を有する複
数のキューに分割され順次パケットデータを格納するパ
ケットデータメモリ回路から、外部タイミング信号に同
期して該格納されたパケットデータを読み出すためのキ
ューを選択し該パケットデータを読み出すパケットデー
タメモリ装置であって、 前記外部タイミング信号と前記キュー番号に従って、前
記パケットメモリ回路に対してアドレス信号及び読み出
し信号を発生し、かつ、前記パケットデータメモリ回路
への前記パケットデータを蓄積することを許容する蓄積
許可数が前記パケットデータの輻輳を判定するために予
め定めた輻輳判定しきい値を越えたことを示す輻輳表示
と前記パケットデータメモリ回路に格納されているパケ
ットデータの蓄積数とを含むようにキュー情報を発生し
て、前記パケットデータメモリ回路における前記キュー
の読み出し側の制御を行うメモリ読み出し管理回路と複
数のキュー読み出し優先度を記憶している優先度データ
ベースと、 前記キュー情報のうちの前記優先度データベースから供
給される前記キュー読み出し優先度に対応する前記キュ
ー番号を対応する前記キューの前記パケットデータ蓄積
数が零に成るまで発生して前記メモリ読み出し管理回路
に供給するための複数のキュー番号発生回路と、 前記キュー情報の輻輳表示によって前記優先度データベ
ースから当該輻輳表示に対応するように予め定められた
複数の前記キュー読み出し優先度の一つを選択して対応
する前記キューの前記パケットデータ蓄積数が零に成る
まで出力させる優先度選択回路と、 を備えたパケットデータメモリ装置。
2. A queue for reading out the stored packet data in synchronization with an external timing signal is selected from a packet data memory circuit which is divided into a plurality of queues each having a different queue number and sequentially stores the packet data. A packet data memory device for reading the packet data, generating an address signal and a read signal for the packet memory circuit according to the external timing signal and the queue number, and A congestion indication indicating that the number of permitted storages for accumulating packet data exceeds a predetermined congestion determination threshold value for determining congestion of the packet data, and is stored in the packet data memory circuit. Queue information to include the number of stored packet data A memory read management circuit for controlling the read side of the queue in the packet data memory circuit, a priority database storing a plurality of queue read priorities, and the priority database of the queue information A plurality of queue number generating circuits for generating the queue numbers corresponding to the queue read priorities supplied from the queue until the packet data accumulation number of the corresponding queue becomes zero and supplying the packet data to the memory read management circuit And selecting one of the plurality of queue read priorities predetermined to correspond to the congestion display from the priority database by the congestion display of the queue information and storing the packet data in the queue. And a priority selection circuit for outputting until the output becomes zero. Moly equipment.
JP18184197A 1997-06-24 1997-06-24 Packet data memory device Pending JPH1117702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18184197A JPH1117702A (en) 1997-06-24 1997-06-24 Packet data memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18184197A JPH1117702A (en) 1997-06-24 1997-06-24 Packet data memory device

Publications (1)

Publication Number Publication Date
JPH1117702A true JPH1117702A (en) 1999-01-22

Family

ID=16107757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18184197A Pending JPH1117702A (en) 1997-06-24 1997-06-24 Packet data memory device

Country Status (1)

Country Link
JP (1) JPH1117702A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7164687B2 (en) 2001-03-30 2007-01-16 Fujitsu Limited Queue control method and relay apparatus using the method
US7613114B2 (en) 2000-06-29 2009-11-03 Nec Corporation Packet scheduling apparatus
JP2010239434A (en) * 2009-03-31 2010-10-21 Nec Corp Arbitration circuit, and method and program for controlling overflow

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613114B2 (en) 2000-06-29 2009-11-03 Nec Corporation Packet scheduling apparatus
US7164687B2 (en) 2001-03-30 2007-01-16 Fujitsu Limited Queue control method and relay apparatus using the method
JP2010239434A (en) * 2009-03-31 2010-10-21 Nec Corp Arbitration circuit, and method and program for controlling overflow

Similar Documents

Publication Publication Date Title
US6526060B1 (en) Dynamic rate-based, weighted fair scheduler with explicit rate feedback option
JP3683133B2 (en) Packet scheduling device
JP3733784B2 (en) Packet relay device
JP3438651B2 (en) Packet multiplexer
US5535201A (en) Traffic shaping system using two dimensional timing chains
US7145904B2 (en) Switch queue predictive protocol (SQPP) based packet switching technique
CN100405344C (en) Apparatus and method for distributing buffer status information in a switching fabric
US7856512B2 (en) System and method for offloading a processor tasked with calendar processing
US7672324B2 (en) Packet forwarding apparatus with QoS control
US5629936A (en) Control of consecutive packet loss in a packet buffer
US7697517B2 (en) Packet forwarding apparatus with transmission control function
US7116633B2 (en) Packet switching system and method
US20050259578A1 (en) Shaping apparatus, communication node and flow control method for controlling bandwidth of variable length frames
US7020133B2 (en) Switch queue predictive protocol (SQPP) based packet switching method
JP2017063388A (en) Band control device and band control system
JP4072315B2 (en) Packet switch
US7012889B1 (en) Method and apparatus for controlling input rates within a packet switching system
JPH1117702A (en) Packet data memory device
US7477650B2 (en) Method and apparatus for frame-aware and pipelined hierarchical scheduling
JP2005354738A (en) Atm cell transfer apparatus
EP1517484A1 (en) Method and apparatus for traffic scheduling
EP1111857A2 (en) Method and apparatus for cell buffer protection in the event of congestion
JPH05268250A (en) Call containing system where priority call and nonpriority call coexist
KR100441883B1 (en) Apparatus and method for Ingress control of packet switch system
JPH07297831A (en) Input buffer type atm switch circuit