JPH06177914A - Congestion control method - Google Patents
Congestion control methodInfo
- Publication number
- JPH06177914A JPH06177914A JP32708492A JP32708492A JPH06177914A JP H06177914 A JPH06177914 A JP H06177914A JP 32708492 A JP32708492 A JP 32708492A JP 32708492 A JP32708492 A JP 32708492A JP H06177914 A JPH06177914 A JP H06177914A
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- congestion
- packet
- data
- transmission
- 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.)
- Withdrawn
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
(57)【要約】
【目的】 可変長のデータを蓄積交換処理する交換機に
おける輻輳制御方式に関し、当該交換機の経済性を損な
うこと無く、内蔵するバッファに発生する輻輳を極力早
期に解消し、廃棄されるデータを極力削減することを目
的とする。
【構成】 バッファ(B)の使用状態を監視し、例えば
空きバッファ数により輻輳の有無を判定する輻輳判定手
段(101)と、輻輳判定手段(101)が輻輳と判定
した場合に、バッファ(B)に蓄積中のデータの内、デ
ータ長の長いデータから優先的に廃棄する、或いはデー
タが重要度を示す情報を内蔵している場合に、重要度を
示す情報とデータ長との両方を勘案して優先的に廃棄す
るデータを決定する優先廃棄手段(102)とを設ける
様に構成する。
(57) [Abstract] [Purpose] Congestion control method for a switch that stores and exchanges variable-length data, eliminates congestion that occurs in the built-in buffer as early as possible without discarding the economical efficiency of the switch and discards The purpose is to reduce the amount of data that is lost. [Construction] Congestion judging means (101) for monitoring the usage state of the buffer (B) and judging whether or not there is congestion, for example, based on the number of free buffers, and when the congestion judging means (101) judges congestion, ), The data with the longest data length is discarded first, or when the data contains the information showing the importance, both the information showing the importance and the data length are taken into consideration. And a preferential discarding means (102) for deciding the data to be preferentially discarded.
Description
【0001】[0001]
【産業上の利用分野】本発明は、可変長のデータを蓄積
交換処理する交換機における輻輳制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a congestion control system in an exchange which stores and exchanges variable-length data.
【0002】[0002]
【従来の技術】図5は従来ある交換機の一例を示す図で
あり、図6は図5における送信バッファの一例を示す図
であり、図7は送信パケット列の一例を示す図であり、
図8は図5におけるパケット廃棄状況の一例を示す図で
ある。2. Description of the Related Art FIG. 5 is a diagram showing an example of a conventional exchange, FIG. 6 is a diagram showing an example of a transmission buffer in FIG. 5, and FIG. 7 is a diagram showing an example of a transmission packet sequence.
FIG. 8 is a diagram showing an example of the packet discard situation in FIG.
【0003】図5においては、本発明の対象となる交換
機の一例として、パケット交換機(1)が示されてい
る。パケット交換機(1)は、収容する各受信回線
(2)に対応して、それぞれ受信部(11)および受信
バッファ(12)を具備し、また収容する各送信回線
(3)に対応して、それぞれ送信バッファ(14)およ
び送信部(15)を具備し、更に各受信回線(2)およ
び送信回線(3)に共通に制御部(13)を具備してい
る。In FIG. 5, a packet switch (1) is shown as an example of a switch to which the present invention is applied. The packet switch (1) includes a receiving section (11) and a receiving buffer (12) corresponding to each receiving line (2) to be accommodated, and also corresponding to each transmitting line (3) to be accommodated. Each of them has a transmission buffer (14) and a transmission unit (15), and further has a control unit (13) common to each reception line (2) and transmission line (3).
【0004】各受信部(11)は、それぞれ対応する受
信回線(2)から到着する各可変長のパケットを、対応
する受信バッファ(12)に順次蓄積する。制御部(1
3)は、各受信バッファ(12)に蓄積されているパケ
ットを抽出し、所定の交換処理、例えば転送先の送信回
線(3)の決定等を実行した後、転送先の送信回線
(3)に対応する送信バッファ(14)に蓄積する。Each receiving unit (11) sequentially stores each variable length packet arriving from the corresponding receiving line (2) in the corresponding receiving buffer (12). Control unit (1
3) extracts the packets accumulated in each reception buffer (12), performs a predetermined exchange process, for example, determines the transfer line (3) of the transfer destination, and then transfers the transmission line (3) of the transfer destination. Is stored in the transmission buffer (14) corresponding to.
【0005】送信部(15)は、それぞれ対応する送信
バッファ(14)に蓄積されているパケットを抽出し、
それぞれ対応する送信回線(3)に送出する。なお受信
バッファ(12)と送信バッファ(14)とは類似の構
成を有する為、以後送信バッファ(14)を対象として
説明を行う。The transmitting unit (15) extracts the packets accumulated in the corresponding transmission buffers (14),
The data is sent to the corresponding transmission line (3). Since the reception buffer (12) and the transmission buffer (14) have similar configurations, the transmission buffer (14) will be described below.
【0006】各送信バッファ(14)は、図6に示され
る如く、それぞれ一個のパケットを蓄積可能な記憶容量
を有する五個のバッファ(B)〔個々のバッファを(B
1 )乃至(B5 )と称する、以下同様〕と、制御部(1
3)から次に伝達されるパケットを蓄積するバッファ
(B)を指定する書込ポインタ(PW )と、次に送信部
(15)へ抽出されるパケットを蓄積しているバッファ
(B)を指定する読出ポインタ(PR )とを具備してい
る。As shown in FIG. 6, each transmission buffer (14) has five buffers (B) each having a storage capacity capable of accumulating one packet [an individual buffer (B
1 ) to (B 5 ), the same shall apply hereinafter] and the control unit (1
3) a write pointer (P W ) for designating a buffer (B) for accumulating a packet to be transmitted next, and a buffer (B) for accumulating a packet to be extracted next to the transmitting unit (15). It has a read pointer (P R ) for designating.
【0007】図6に示される如き送信バッファ(14)
に、図7に示される如き一連のパケット(PA )、(P
B )、(PC )、等々が、制御部(13)から順次転送
され、蓄積されるものとする。A transmit buffer (14) as shown in FIG.
, A series of packets (P A ), (P
It is assumed that B ), (P C ), etc. are sequentially transferred from the control unit (13) and accumulated.
【0008】なお、パケット交換機(1)が処理するパ
ケット(P)は、4096バイトの長パケットと、12
8バイトの短パケットの二種類とし、図7においては、
最初に転送されるパケット(PA )が4096バイトで
あり、後続のパケット(PB)、(PC )、等々は何れ
も128バイトとする。The packet (P) processed by the packet switch (1) is a long packet of 4096 bytes and 12 packets.
There are two types of 8-byte short packets, and in FIG.
The first packet (P A ) transferred is 4096 bytes, and the subsequent packets (P B ), (P C ), etc. are all 128 bytes.
【0009】従って各バッファ(B)は、少なくとも4
096バイト以上の蓄積容量を有していることとなる。
図5乃至図8において、当初制御部(13)から四個の
パケット(PA )乃至(PD )が、送信バッファ(1
4)内のバッファ(B1 )乃至(B4 )に順次蓄積さ
れ、バッファ(B5 )のみは空いており、書込ポインタ
(PW )はバッファ(B5 )を指定しており、また読出
ポインタ(PR )はバッファ(B1 )を指定しているも
のとする。Therefore, each buffer (B) has at least 4 buffers.
This means that it has a storage capacity of 096 bytes or more.
5 to 8, four packets (P A ) to (P D ) are initially sent from the control unit (13) to the transmission buffer (1
4) are sequentially accumulated in the buffers (B 1 ) to (B 4 ) in the table, only the buffer (B 5 ) is empty, the write pointer (P W ) points to the buffer (B 5 ), and It is assumed that the read pointer (P R ) points to the buffer (B 1 ).
【0010】かかる状態では、制御部(13)は、次に
送信バッファ(14)に転送するパケット(PE )を、
書込ポインタ(PW )により指定されるバッファ
(B5 )に蓄積し、また送信部(15)は、読出ポイン
タ(PR )により指定されるバッファ(B1 )からパケ
ット(PA )を順次抽出し、対応する送信回線(3)に
送出開始する。In this state, the control unit (13) sends the packet (P E ) to be transferred next to the transmission buffer (14) to
The transmission unit (15) stores the packet (P A ) in the buffer (B 5 ) designated by the write pointer (P W ) and from the buffer (B 1 ) designated by the read pointer (P R ). Sequential extraction is performed and transmission is started to the corresponding transmission line (3).
【0011】なおパケット(PA )は、図7に示される
如く4096バイトである為、送信部(15)は中々パ
ケット(PA )を送信回線(3)に送信し終わらない。
パケット(PA )を送出し終わらなければ、続くパケッ
ト(PB )乃至(PE)も送信開始出来ぬ為、送信バッ
ファ(14)内の総てのバッファ(B1 )乃至(B5 )
が塞がった状態となり、送信バッファ(14)が輻輳状
態となる。Since the packet (P A ) is 4096 bytes as shown in FIG. 7, the transmitter (15) does not finish transmitting the packet (P A ) to the transmission line (3).
If the packet (P A ) is not completely transmitted, the subsequent packets (P B ) to (P E ) cannot be started to be transmitted, so all the buffers (B 1 ) to (B 5 ) in the transmission buffer (14).
Becomes blocked, and the transmission buffer (14) becomes congested.
【0012】その結果制御部(13)は、送信バッファ
(14)に後続のパケット(PF )、(PG )、等々を
順次が転送しても、パケット(PA )が送信完了する迄
は、パケット(PF )、(PG )等々を蓄積可能な空き
バッファ(B)が存在しない為、パケット(PF )、
(PG )、等々は廃棄されることとなる。As a result, the control unit (13) continues to transfer the subsequent packet (P F ), (P G ), etc. to the transmission buffer (14) until the packet (P A ) is completely transmitted. Does not have a free buffer (B) capable of accumulating packets (P F ), (P G ), etc., packet (P F ),
(P G), so that the it can so be discarded.
【0013】以上の状況は、図8(a) 乃至(c) に示され
る。The above situation is shown in FIGS. 8 (a) to 8 (c).
【0014】[0014]
【発明が解決しようとする課題】以上の説明から明らか
な如く、従来あるパケット交換機(1)においては、送
信バッファ(14)に蓄積されている各パケット
(PA )、(PB )、(PC)、等々は、パケット長に
無関係に蓄積順に抽出され、送信回線(3)に送出され
ていた為、パケット(PA )の如きデータ長の長いパケ
ットを送信中は、後続の各パケット(PB )、
(PC )、等々も送信待機状態となり、送信バッファ
(14)内の各バッファ(B1 )乃至(B5 )が中々空
き状態とならず、送信バッファ(14)に輻輳状態が継
続し、その間に生起するパケット(PF )、(PG)、
等々が総て廃棄される問題があった。As is clear from INVENTION Problems to be Solved] The above description, in the conventional certain packet switch (1), each packet stored in the transmission buffer (14) (P A), (P B), ( P C ), etc. are extracted in the order of accumulation regardless of the packet length and are sent to the transmission line (3). Therefore, while a packet with a long data length such as packet (P A ) is being transmitted, each subsequent packet is transmitted. (P B ),
(P C ), etc. are also in a transmission standby state, the buffers (B 1 ) to (B 5 ) in the transmission buffer (14) are not in an empty state, and the congestion state in the transmission buffer (14) continues. Packets (P F ), (P G ), which occur during that time,
There was a problem that all of them were discarded.
【0015】この様なパケットの廃棄を極力防止する為
に、送信バッファ(14)に充分な数のバッファ(B)
を設けることも考慮されるが、各送信バッファ(14)
が具備可能なバッファ数には経済的に限度がある。In order to prevent such packet discard as much as possible, a sufficient number of buffers (B) are provided in the transmission buffer (14).
Although it is considered to provide each transmission buffer (14)
There is an economical limit to the number of buffers that can be equipped.
【0016】本発明は、当該交換機の経済性を損なうこ
と無く、内蔵するバッファに発生する輻輳を極力早期に
解消し、廃棄されるデータを極力削減することを目的と
する。It is an object of the present invention to eliminate congestion occurring in a built-in buffer as early as possible and reduce discarded data as much as possible without impairing the economical efficiency of the exchange.
【0017】[0017]
【課題を解決するための手段】図1は本発明の原理を示
す図である。図1において、100は本発明の対象とな
る交換機、Bは交換機(100)が複数具備し、それぞ
れ可変長のデータを蓄積するバッファである。FIG. 1 is a diagram showing the principle of the present invention. In FIG. 1, reference numeral 100 denotes an exchange which is a target of the present invention, and B denotes a buffer which is provided in a plurality of exchanges (100) and stores variable length data.
【0018】101は、本発明により交換機(100)
に設けられた輻輳判定手段である。102は、本発明に
より交換機(100)に設けられた優先廃棄手段であ
る。101 is an exchange (100) according to the present invention.
It is a congestion determination means provided in the. 102 is a preferential disposal means provided in the exchange (100) according to the present invention.
【0019】[0019]
【作用】輻輳判定手段(101)は、バッファ(B)の
使用状態を監視し、輻輳の有無を判定する。The congestion judging means (101) monitors the usage state of the buffer (B) and judges the presence or absence of congestion.
【0020】優先廃棄手段(102)は、輻輳判定手段
(101)が輻輳と判定した場合に、バッファ(B)に
蓄積中のデータの内、データ長の長いデータから優先的
に廃棄する。When the congestion judging means (101) judges that the congestion occurs, the priority discard means (102) preferentially discards the data having the longest data length among the data accumulated in the buffer (B).
【0021】なお輻輳判定手段(101)は、空き状態
にあるバッファ(B)の数が予め定められた数以下とな
った場合に、バッファ(B)を輻輳と判定することが考
慮される。It is considered that the congestion determination means (101) determines that the buffer (B) is congested when the number of buffers (B) in the empty state is equal to or less than a predetermined number.
【0022】また優先廃棄手段(102)は、データが
該データの重要度を示す情報を内蔵している場合に、該
重要度を示す情報とデータ長との両方を勘案して優先的
に廃棄するデータを決定することが考慮される。Further, the priority discarding means (102) preferentially discards the data in consideration of both the information indicating the importance and the data length when the data contains information indicating the importance of the data. Considering which data to take is considered.
【0023】従って、各バッファの占有時間が短縮され
る結果、バッファに発生する輻輳が早急に解消されるこ
ととなり、その間に廃棄されるデータ数も減少する。Therefore, as a result of the occupied time of each buffer being shortened, the congestion occurring in the buffers can be eliminated immediately, and the number of data discarded during that time is also reduced.
【0024】[0024]
【実施例】以下、本発明の一実施例を図面により説明す
る。図2は本発明の一実施例による交換機を示す図であ
り、図3は図2におけるパケット廃棄処理の一例を示す
図であり、図4は図2におけるパケット廃棄状況の一例
を示す図である。なお、全図を通じて同一符号は同一対
象物を示す。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. 2 is a diagram showing an exchange according to an embodiment of the present invention, FIG. 3 is a diagram showing an example of a packet discarding process in FIG. 2, and FIG. 4 is a diagram showing an example of a packet discarding state in FIG. . The same reference numerals denote the same objects throughout the drawings.
【0025】図2においては、図1における交換機(1
00)として、図5におけると同様のパケット交換機
(1)が示され、また図1におけるバッファ(B)とし
て、図5乃至図8におけると同様に送信バッファ(1
4)を対象とし、また図1における輻輳判定手段(10
1)として輻輳判定部(16)が各送信バッファ(1
4)に対応して設けられ、また図1における優先廃棄手
段(102)として廃棄部(17)が各送信バッファ
(14)に対応して設けられている。In FIG. 2, the exchange (1
00) is the same packet switch (1) as in FIG. 5, and the buffer (B) in FIG. 1 is the same as in FIG. 5 to FIG.
4), and the congestion determination means (10
1), the congestion determination unit (16) uses each transmission buffer (1
4), and a discarding unit (17) is provided as a priority discarding unit (102) in FIG. 1 corresponding to each transmission buffer (14).
【0026】また図2乃至図4においても、各送信バッ
ファ(14)は図6に示すと同様に五個のバッファ(B
1 )乃至(B5 )を具備しているものとし、また制御部
(13)が送信バッファ(14)に転送するパケット
も、図7に示す通りとする。2 to 4, each transmission buffer (14) has five buffers (B) as shown in FIG.
1 ) to (B 5 ), and the packet transferred by the control unit (13) to the transmission buffer (14) is as shown in FIG. 7.
【0027】図2乃至図4において、各輻輳判定部(1
6)は、それぞれ対応する送信バッファ(14)内の各
バッファ(B1 )乃至(B5 )の使用状況を監視し、空
き状態にあるバッファ(B)の数が予め定められた数
(例えば一個)より多い場合には、送信バッファ(1
4)が輻輳では無いと判定し、廃棄部(17)を機能停
止させる。2 to 4, each congestion judgment unit (1
6) monitors the usage status of each of the buffers (B 1 ) to (B 5 ) in the corresponding transmission buffer (14), and determines the number of buffers (B) in the empty state by a predetermined number (for example, If there is more than one), the transmission buffer (1
4) determines that there is no congestion, and stops the discarding unit (17).
【0028】かかる状態では、各送信部(15)は、図
5に示される送信部(15)と同様に、送信バッファ
(14)内の読出ポインタ(PR )により指定されるバ
ッファ(B)に格納されているパケット(P)を抽出
し、対応する送信回線(3)に送信する。[0028] In such a state, the transmitting unit (15), in a manner similar to the transmission unit (15) shown in FIG. 5, a buffer designated by the read pointer in the transmission buffer (14) (P R) (B) The packet (P) stored in is extracted and transmitted to the corresponding transmission line (3).
【0029】一方、送信バッファ(14)内の空き状態
にあるバッファ(B)の数が予め定められた数(例えば
一個)以下となった場合には、輻輳判定部(16)は対
応する送信バッファ(14)が輻輳と判定し、廃棄部
(17)を活性化させる。On the other hand, when the number of empty buffers (B) in the transmission buffer (14) becomes less than or equal to a predetermined number (for example, one), the congestion determination unit (16) sends the corresponding transmission. The buffer (14) determines congestion and activates the discarding unit (17).
【0030】例えば、当初、四個のパケット(PA )乃
至(PD )が、送信バッファ(14)内のバッファ(B
1 )乃至(B4 )に、順次蓄積され、バッファ(B5 )
のみは空いており、書込ポインタ(PW )はバッファ
(B5 )を指定しており、また読出ポインタ(PR )は
バッファ(B1 )を指定しているものとする。For example, initially, four packets (P A ) to (P D ) are stored in the buffer (B) in the transmission buffer (14).
1 ) to (B 4 ) are sequentially accumulated and stored in the buffer (B 5 ).
Is empty, the write pointer (P W ) points to the buffer (B 5 ), and the read pointer (P R ) points to the buffer (B 1 ).
【0031】かかる状態では、輻輳判定部(16)は送
信バッファ(14)を輻輳と判定し、廃棄部(17)を
活性化する。制御部(13)は、次に送信バッファ(1
4)に転送するパケット(PE )を、書込ポインタ(P
W )により指定されるバッファ(B5 )に蓄積する。In this state, the congestion judgment unit (16) judges the transmission buffer (14) as congestion and activates the discarding unit (17). The control unit (13) then sends the transmission buffer (1
4) the packet (P E ) to be transferred to the write pointer (P E )
It is stored in the buffer (B 5 ) designated by W ).
【0032】一方、送信部(15)は、対応する廃棄部
(17)に、送信回線(3)に送出開始すべきパケット
(P)の抽出を要求する。活性化されている廃棄部(1
7)は、送信バッファ(14)内の、読出ポインタ(P
R )により指定されるバッファ(B1 )に蓄積されてい
るパケット(PA)を抽出した後、抽出したパケット
(PA )のパケット長を解析する(図3ステップS
1)。On the other hand, the transmitting unit (15) requests the corresponding discarding unit (17) to extract the packet (P) to be transmitted to the transmission line (3). Activated waste department (1
7) is a read pointer (P) in the transmission buffer (14).
After extracting the packets stored in the buffer (B 1) which is designated (P A) by R), analyzes the packet length of the extracted packets (P A) (FIG. 3 step S
1).
【0033】廃棄部(17)は、パケット(PA )のパ
ケット長が4096バイトであり、長パケットであると
判定すると(ステップS2)、抽出したパケット
(PA )を送信部(15)に伝達すること無く廃棄し
(ステップS3)、パケット(PA )が蓄積されていた
バッファ(B1 )を空き状態とする。When the discard unit (17) determines that the packet (P A ) has a packet length of 4096 bytes and is a long packet (step S2), the extracted packet (P A ) is sent to the transmission unit (15). discarded without transferring (step S3), and packets (P a) is accumulated buffer (B 1) to a free state.
【0034】送信バッファ(14)は、書込ポインタ
(PW )をバッファ(B1 )に設定し、また読出ポイン
タ(PR )をバッファ(B2 )に設定する。かかる状態
では、輻輳判定部(16)は送信バッファ(14)を依
然として輻輳と判定し、廃棄部(17)を継続して活性
化する。The transmission buffer (14) sets the write pointer (P W ) in the buffer (B 1 ) and the read pointer (P R ) in the buffer (B 2 ). In such a state, the congestion judgment unit (16) still judges the transmission buffer (14) as congestion and continuously activates the discarding unit (17).
【0035】制御部(13)は、次に送信バッファ(1
4)に転送するパケット(PF )を、書込ポインタ(P
W )により指定されるバッファ(B1 )に蓄積する。一
方、送信部(15)は、引続き対応する廃棄部(17)
に、送信回線(3)に送出開始すべきパケット(P)の
抽出を要求する。The control unit (13) then sends the transmission buffer (1
4) the packet (P F ) to be transferred to the write pointer (P
Store in the buffer (B 1 ) designated by W ). On the other hand, the transmitting unit (15) continues to correspond to the discarding unit (17).
Requesting the transmission line (3) to extract the packet (P) to be sent out.
【0036】活性化されている廃棄部(17)は、送信
バッファ(14)内の、読出ポインタ(PR )により指
定されるバッファ(B2 )に蓄積されているパケット
(PB)を抽出した後、抽出したパケット(PB )のパ
ケット長を解析する(ステップS1)。The activated discarding unit (17) extracts the packet (P B ) accumulated in the buffer (B 2 ) designated by the read pointer (P R ) in the transmission buffer (14). After that, the packet length of the extracted packet (P B ) is analyzed (step S1).
【0037】廃棄部(17)は、パケット(PA )のパ
ケット長が128バイトであり、短パケットであると判
定すると(ステップS2)、抽出したパケット(PB )
を廃棄すること無く送信部(15)に伝達し(ステップ
S4)、送信回線(3)から送信開始させる。When the discard unit (17) determines that the packet (P A ) has a packet length of 128 bytes and is a short packet (step S2), the extracted packet (P B )
Is transmitted to the transmission unit (15) without being discarded (step S4), and transmission is started from the transmission line (3).
【0038】なおパケット(PB )は、短パケットであ
る為、送信部(15)は短時間で送信回線(3)に送信
し終わり、パケット(PB )が蓄積されていたバッファ
(B 2 )を空き状態とする。Packet (PB) Is a short packet
Therefore, the transmission unit (15) transmits to the transmission line (3) in a short time.
End, packet (PB) Was stored in the buffer
(B 2) Is made empty.
【0039】送信バッファ(14)は、書込ポインタ
(PW )をバッファ(B2 )に設定し、また読出ポイン
タ(PR )をバッファ(B3 )に設定する。かかる状態
では、輻輳判定部(16)は送信バッファ(14)を依
然として輻輳と判定し、廃棄部(17)を継続して活性
化する。The transmission buffer (14) sets the write pointer (P W ) in the buffer (B 2 ) and the read pointer (P R ) in the buffer (B 3 ). In such a state, the congestion judgment unit (16) still judges the transmission buffer (14) as congestion and continuously activates the discarding unit (17).
【0040】制御部(13)は、次に送信バッファ(1
4)に転送するパケット(PG )を、書込ポインタ(P
W )により指定されるバッファ(B2 )に蓄積する。一
方、送信部(15)は、対応する廃棄部(17)に、送
信回線(3)に送出開始すべきパケット(P)の抽出を
要求する。The control unit (13) then sends the transmission buffer (1
Packet to be transferred to 4) (P G), the write pointer (P
Accumulate in the buffer (B 2 ) designated by W ). On the other hand, the transmitting unit (15) requests the corresponding discarding unit (17) to extract the packet (P) to be transmitted to the transmission line (3).
【0041】活性化されている廃棄部(17)は、送信
バッファ(14)内の、読出ポインタ(PR )により指
定されるバッファ(B3 )に蓄積されているパケット
(PC)を抽出した後、抽出したパケット(PC )のパ
ケット長を解析する(ステップS1)。The activated discarding unit (17) extracts the packet (P C ) stored in the buffer (B 3 ) designated by the read pointer (P R ) in the transmission buffer (14). After that, the packet length of the extracted packet (P C ) is analyzed (step S1).
【0042】廃棄部(17)は、パケット(PC )のパ
ケット長が128バイトであり、短パケットであると判
定すると(ステップS2)、抽出したパケット(PC )
を廃棄すること無く送信部(15)に伝達し(ステップ
S4)、送信回線(3)から送信開始させる。When the discarding unit (17) determines that the packet length of the packet (P C ) is 128 bytes and is a short packet (step S2), the extracted packet (P C )
Is transmitted to the transmission unit (15) without being discarded (step S4), and transmission is started from the transmission line (3).
【0043】なおパケット(PC )も、短パケットであ
る為、送信部(15)は短時間で送信回線(3)に送信
し終わり、パケット(PC )が蓄積されていたバッファ
(B 3 )を空き状態とする。Packet (PC) Is also a short packet
Therefore, the transmission unit (15) transmits to the transmission line (3) in a short time.
End, packet (PC) Was stored in the buffer
(B 3) Is made empty.
【0044】送信バッファ(14)は、書込ポインタ
(PW )をバッファ(B3 )に設定し、また読出ポイン
タ(PR )をバッファ(B4 )に設定する。以上の状況
は、図4(a) 乃至(c) に示される。The transmission buffer (14) sets the write pointer (P W ) in the buffer (B 3 ) and the read pointer (P R ) in the buffer (B 4 ). The above situation is shown in FIGS. 4 (a) to 4 (c).
【0045】なお、制御部(13)から次のパケット
(P)が転送されなければ、空きバッファ数は二個以上
となり、輻輳判定部(16)は送信バッファ(14)を
輻輳解消と判定する。If the next packet (P) is not transferred from the control unit (13), the number of free buffers becomes two or more, and the congestion determination unit (16) determines the transmission buffer (14) as congestion elimination. .
【0046】以上の説明から明らかな如く、本実施例に
よれば、輻輳判定部(16)が対応する送信バッファ
(14)内の各バッファ(B)の使用状況を監視し、輻
輳と判定すると、対応する廃棄部(17)を活性化し、
活性化された廃棄部(17)は、送信部(15)から要
求されて送信バッファ(14)から抽出したパケット
(P)のパケット長を解析し、長パケットと判定した場
合には、送信部(15)に伝達すること無く廃棄し、蓄
積されていたバッファ(B)を空き状態とする為、続い
て制御部(13)から送信バッファ(14)に転送され
るパケット(PF )、(PG )、等々が廃棄されること
無く、送信バッファ(14)に蓄積可能となる。As is apparent from the above description, according to the present embodiment, the congestion determination unit (16) monitors the usage status of each buffer (B) in the corresponding transmission buffer (14) and determines that congestion has occurred. , Activate the corresponding disposal unit (17),
The activated discarding unit (17) analyzes the packet length of the packet (P) requested by the transmitting unit (15) and extracted from the transmitting buffer (14). The packet (P F ), (P F ), which is subsequently transferred from the control unit (13) to the transmission buffer (14) in order to discard the buffer (B) that has been accumulated without transmitting it to (15) and make the accumulated buffer (B) empty. P G ), etc., can be stored in the transmission buffer (14) without being discarded.
【0047】なお、図2乃至図4はあく迄本発明の一実
施例に過ぎず、例えば送信バッファ(14)は五個のバ
ッファ(B1 )乃至(B5 )を具備するものに限定され
ることは無く、他に幾多の変形が考慮されるが、何れの
場合にも本発明の効果は変わらない。また輻輳判定部
(16)の輻輳判定条件は例示されるものに限定される
ことは無く、他に幾多の変形が考慮されるが、何れの場
合にも本発明の効果は変わらない。また廃棄部(17)
の長パケット判定基準は例示されるものに限定されるこ
とは無く、他に幾多の変形が考慮されるが、何れの場合
にも本発明の効果は変わらない。また本発明の対象は送
信バッファ(14)に限定されることは無く、受信バッ
ファ(12)等、他に幾多の変形が考慮されるが、何れ
の場合にも本発明の効果は変わらない。また本発明の対
象となる交換機(100)は、図示されるパケット交換
機(1)に限定されることは無く、フレームを交換処理
するフレームリレー交換機等、他に幾多の変形が考慮さ
れるが、何れの場合にも本発明の効果は変わらない。2 to 4 are merely embodiments of the present invention, and the transmission buffer (14) is limited to one having five buffers (B 1 ) to (B 5 ), for example. However, many other modifications can be considered, but in any case, the effect of the present invention does not change. Further, the congestion determination condition of the congestion determination unit (16) is not limited to the exemplified one, and various modifications are considered, but in any case, the effect of the present invention does not change. In addition, the disposal department (17)
The long packet determination criterion is not limited to the exemplified one, and many other modifications can be considered, but in any case, the effect of the present invention does not change. Further, the object of the present invention is not limited to the transmission buffer (14), and many other modifications such as the reception buffer (12) are considered, but in any case, the effect of the present invention does not change. Further, the exchange (100) to which the present invention is applied is not limited to the illustrated packet exchange (1), and many other modifications such as a frame relay exchange that exchanges frames are considered, In any case, the effect of the present invention does not change.
【0048】なおフレームリレー交換機が対象とするフ
レームは、重要度の示す情報(DE)を具備している。
かかる場合には、優先廃棄手段(102)はフレームの
データ長と共に、重要度の示す情報(DE)を勘案し、
優先的に廃棄するフレームを決定する(例えば同一パケ
ット長のフレームの中では、低い重要度の示す情報(D
E)を内蔵するフレームを優先的に廃棄すると決定す
る)ことが考慮されるが、かかる場合にも本発明の効果
は変わらない。The frame targeted by the frame relay exchange has information (DE) indicating the degree of importance.
In such a case, the priority discarding means (102) considers the information (DE) indicating the importance together with the data length of the frame,
A frame to be preferentially discarded is determined (for example, in a frame having the same packet length, information (D
It is considered that the frame containing E) is preferentially discarded, but the effect of the present invention does not change in such a case.
【0049】[0049]
【発明の効果】以上、本発明によれば、前記交換機にお
いて、各バッファの占有時間が短縮される結果、バッフ
ァに発生する輻輳状態が早急に解消されることとなり、
その間に廃棄される可変長データ数も減少する。As described above, according to the present invention, in the exchange, the occupied time of each buffer is shortened, and as a result, the congestion state occurring in the buffer is promptly resolved.
The number of variable length data items discarded during that time also decreases.
【図1】 本発明の原理を示す図FIG. 1 is a diagram showing the principle of the present invention.
【図2】 本発明の一実施例による交換機を示す図FIG. 2 is a diagram showing an exchange according to an embodiment of the present invention.
【図3】 図2におけるパケット廃棄処理の一例を示す
図FIG. 3 is a diagram showing an example of packet discard processing in FIG.
【図4】 図2におけるパケット廃棄状況の一例を示す
図FIG. 4 is a diagram showing an example of a packet discard situation in FIG.
【図5】 従来ある交換機の一例を示す図FIG. 5 is a diagram showing an example of a conventional exchange.
【図6】 図5における送信バッファの一例を示す図6 is a diagram showing an example of a transmission buffer in FIG.
【図7】 送信パケット列の一例を示す図FIG. 7 is a diagram showing an example of a transmission packet sequence.
【図8】 図5におけるパケット廃棄状況の一例を示す
図8 is a diagram showing an example of a packet discard state in FIG.
1 パケット交換機 2 受信回線 3 送信回線 11 受信部 12 受信バッファ 13 制御部 14 送信バッファ 15 送信部 16 輻輳判定部 17 廃棄部 100 交換機 101 輻輳判定手段 102 優先廃棄手段 DESCRIPTION OF SYMBOLS 1 packet switch 2 receiving line 3 transmitting line 11 receiving unit 12 receiving buffer 13 control unit 14 transmitting buffer 15 transmitting unit 16 congestion determining unit 17 discarding unit 100 switching unit 101 congestion determining unit 102 priority discarding unit
Claims (3)
ァ(B)を具備する交換機(100)において、 前記バッファ(B)の使用状態を監視し、輻輳の有無を
判定する輻輳判定手段(101)と、 前記輻輳判定手段(101)が輻輳と判定した場合に、
前記バッファ(B)に蓄積中の前記データの内、データ
長の長いデータから優先的に廃棄する優先廃棄手段(1
02)とを設けることを特徴とする輻輳制御方式。1. In a switching system (100) comprising a plurality of buffers (B) for accumulating variable-length data, a congestion judgment means (101) for monitoring the usage status of the buffer (B) and judging the presence or absence of congestion. ), And when the congestion determination means (101) determines congestion,
Priority discarding means (1) that discards data having a long data length preferentially among the data being accumulated in the buffer (B).
02) and a congestion control method.
態にある前記バッファ(B)の数が予め定められた数以
下となった場合に、前記バッファ(B)を輻輳と判定す
ることを特徴とする請求項1記載の輻輳制御方式。2. The congestion judgment means (101) judges that the buffer (B) is congested when the number of the buffers (B) in an empty state is equal to or less than a predetermined number. The congestion control system according to claim 1, characterized in that
ータが該データの重要度を示す情報を内蔵している場合
に、該重要度を示す情報と前記データ長との両方を勘案
して優先的に廃棄するデータを決定することを特徴とす
る請求項1記載の輻輳制御方式。3. The priority discarding means (102) takes into consideration both the information indicating the importance and the data length when the data contains information indicating the importance of the data. The congestion control method according to claim 1, wherein data to be discarded is preferentially determined.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP32708492A JPH06177914A (en) | 1992-12-08 | 1992-12-08 | Congestion control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP32708492A JPH06177914A (en) | 1992-12-08 | 1992-12-08 | Congestion control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06177914A true JPH06177914A (en) | 1994-06-24 |
Family
ID=18195113
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP32708492A Withdrawn JPH06177914A (en) | 1992-12-08 | 1992-12-08 | Congestion control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06177914A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7016545B1 (en) | 1994-09-21 | 2006-03-21 | Ricoh Co., Ltd. | Reversible embedded wavelet system implementation |
US7068849B2 (en) | 1994-09-21 | 2006-06-27 | Ricoh Co. Ltd. | Method and apparatus for compression using reversible wavelet transforms and an embedded codestream |
US7139434B2 (en) | 1994-09-21 | 2006-11-21 | Ricoh Co., Ltd. | Decoding with storage of less bits for less important data |
US7418142B2 (en) | 1994-09-20 | 2008-08-26 | Ricoh Company, Ltd. | Method for compression using reversible embedded wavelets |
-
1992
- 1992-12-08 JP JP32708492A patent/JPH06177914A/en not_active Withdrawn
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7418142B2 (en) | 1994-09-20 | 2008-08-26 | Ricoh Company, Ltd. | Method for compression using reversible embedded wavelets |
US7016545B1 (en) | 1994-09-21 | 2006-03-21 | Ricoh Co., Ltd. | Reversible embedded wavelet system implementation |
US7068849B2 (en) | 1994-09-21 | 2006-06-27 | Ricoh Co. Ltd. | Method and apparatus for compression using reversible wavelet transforms and an embedded codestream |
US7139434B2 (en) | 1994-09-21 | 2006-11-21 | Ricoh Co., Ltd. | Decoding with storage of less bits for less important data |
US7167589B2 (en) | 1994-09-21 | 2007-01-23 | Ricoh Co., Ltd. | Disk read technique |
US7167592B2 (en) | 1994-09-21 | 2007-01-23 | Ricoh Co., Ltd. | Method and apparatus for compression using reversible wavelet transforms and an embedded codestream |
US7215820B2 (en) | 1994-09-21 | 2007-05-08 | Ricoh Co., Ltd. | Method and apparatus for compression using reversible wavelet transforms and an embedded codestream |
US7227999B2 (en) | 1994-09-21 | 2007-06-05 | Ricoh Co., Ltd. | Printing system application using J2K |
US7289677B2 (en) | 1994-09-21 | 2007-10-30 | Ricoh Co., Ltd. | Reversible embedded wavelet system implementation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5884040A (en) | Per-packet jamming in a multi-port bridge for a local area network | |
US5588117A (en) | Sender-selective send/receive order processing on a per message basis | |
US20050163141A1 (en) | Network switching device and method using shared buffer | |
JPH10505214A (en) | How to drop from the beginning of buffer in feedback network | |
WO2010007339A1 (en) | Switching device | |
JPH11508749A (en) | ATM Throttling | |
KR100863863B1 (en) | Packet transfering nodes | |
JP4409991B2 (en) | Transmission control system using link aggregation | |
WO1999014892A2 (en) | Preventing a source from becoming a destination port in a multi-port bridge | |
JP3784195B2 (en) | Data packet switch | |
JPH06177914A (en) | Congestion control method | |
US7990987B2 (en) | Network processor having bypass capability | |
CN100361480C (en) | Database message chain transmission process and system | |
JP3288312B2 (en) | LAN connection device with buffer capacity control function | |
JPH0448011B2 (en) | ||
JP3587080B2 (en) | Packet buffer management device and packet buffer management method | |
JPH10117213A (en) | Packet communication equipment | |
JP2933904B2 (en) | Common buffer type asynchronous transfer mode switch | |
JPH05191436A (en) | Cell transfer method | |
JPH0897858A (en) | Data transfer system | |
JP2682434B2 (en) | Output buffer type ATM switch | |
JP2000134218A (en) | Packet multiplex processing method | |
JP2003141094A (en) | Data communication device between processors | |
US6151303A (en) | Method of asynchronous transfer mode (ATM) switching and an ATM switching equipment | |
JPH08242256A (en) | Packet switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20000307 |