JP2001339433A - Device and method for exchanging packet - Google Patents

Device and method for exchanging packet

Info

Publication number
JP2001339433A
JP2001339433A JP2000157990A JP2000157990A JP2001339433A JP 2001339433 A JP2001339433 A JP 2001339433A JP 2000157990 A JP2000157990 A JP 2000157990A JP 2000157990 A JP2000157990 A JP 2000157990A JP 2001339433 A JP2001339433 A JP 2001339433A
Authority
JP
Japan
Prior art keywords
packet
congestion
unit
threshold
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000157990A
Other languages
Japanese (ja)
Other versions
JP3508697B2 (en
Inventor
Daisuke Kogasaki
大輔 戸ヶ崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2000157990A priority Critical patent/JP3508697B2/en
Publication of JP2001339433A publication Critical patent/JP2001339433A/en
Application granted granted Critical
Publication of JP3508697B2 publication Critical patent/JP3508697B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To process the information of high priority while maintaining conditions such as cost performance or miniaturization of a device in a packet exchange system itself by controlling only a line part to really become the cause of congestion. SOLUTION: In Figure 1, a congestion detecting part 106 monitors a packet inputted from a line to a switching interface transmitting part 107 and detects whether the present line causes the congestion in a switch part at present. Thus, a congestion state detected in the switch part is reported to the congestion detecting part 106 with a congestion notice signal, and on the basis of this congestion notice signal, each of congestion detecting parts 106 judges whether the detecting part itself constitutes the cause of congestion occurrence. When it is judged that the detecting part itself constitutes the cause of congestion occurrence, the transmission of packet to the switch part is controlled according to a prescribed algorithm.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、端末間でパケット
通信を行う際のパケット交換装置及びパケット交換方法
に関し、特に、輻輳状態においてパケットの廃棄を行う
パケット交換装置及びパケット交換方法に関する。
The present invention relates to a packet switching device and a packet switching method for performing packet communication between terminals, and more particularly to a packet switching device and a packet switching method for discarding packets in a congested state.

【0002】[0002]

【従来の技術】近年、インターネットの利用が急速に普
及し、これに伴い、データ通信トラフィックが指数関数
的に増加している。これは、例えば北米で2000年中
に、また、日本国内でも2002年頃までに、データ通
信トラフィックが音声通信トラフィックを越えることが
ほぼ確実視されていることからも明らかである。
2. Description of the Related Art In recent years, the use of the Internet has rapidly spread, and accordingly, data communication traffic has increased exponentially. This is evident from the fact that it is almost certain that data communication traffic will exceed voice communication traffic in North America by around 2000 and in Japan by around 2002.

【0003】このような状況の中で、通信ネットワーク
の役割は、増え続けるデータ通信トラヒックをいかに効
率良く転送するかというものに変化しつつある。
In such a situation, the role of a communication network is changing to how to efficiently transfer an ever-increasing amount of data communication traffic.

【0004】例えば、ルータなどのスイッチ機能を有す
るいわゆるパケット交換システムでは、短時間に大量の
パケットの交換を受け付けた際に、いわゆる輻輳と呼ば
れる状態に陥り、処理しきれなくなったパケットなどの
情報が廃棄されることがある。
For example, in a so-called packet switching system having a switch function such as a router, when a large amount of packets are exchanged in a short time, a state called so-called congestion falls, and information such as packets that cannot be processed is lost. May be discarded.

【0005】図4に、従来技術によるパケット交換シス
テムの構成例として、一般的な高速ルータのブロック図
を示す。図4を参照すると、このパケット交換システム
は、複数の回線401それぞれを終端する各回線部40
2と、この各回線部402から送信されたパケットをス
イッチングするスイッチ部403と、スイッチ部403
を制御するプロセッサ404と、を有して構成されてい
る。
FIG. 4 shows a block diagram of a general high-speed router as a configuration example of a packet switching system according to the prior art. Referring to FIG. 4, the packet switching system includes a line unit 40 for terminating each of a plurality of lines 401.
2, a switch unit 403 for switching a packet transmitted from each line unit 402, and a switch unit 403.
And a processor 404 for controlling

【0006】このようなパケット交換システム内での輻
輳の発生を防ぐためには、通常、パケット交換システム
内に設けられたスイッチ部403にバッファを配置して
一時的にパケットを保持し、輻輳状態が解除されたのち
に再度パケットの交換を行うといった方法がとられてい
る。
In order to prevent the occurrence of congestion in such a packet switching system, usually, a buffer is arranged in a switch unit 403 provided in the packet switching system to temporarily hold the packet, and the congestion state is reduced. After the packet is released, a method of exchanging packets again is adopted.

【0007】但し、パケット交換システム内における輻
輳状態の発生には、スイッチ部403そのもののスイッ
チング速度およびバッファの記憶容量、またパケット交
換システム内のバッファの容量、及び処理速度といった
性能が関係してくる。
However, the occurrence of the congestion state in the packet switching system depends on the switching speed of the switch unit 403 itself and the storage capacity of the buffer, and the performance of the buffer capacity and the processing speed in the packet switching system. .

【0008】しかしながら、輻輳を抑制するために、ス
イッチ部に大量のバッファを設けると、スイッチ部の処
理速度の低下や、パケット交換システム自体の装置の大
型化、更には、生産に要するコストの増加といった原因
となってしまう。
However, if a large number of buffers are provided in the switch unit in order to suppress congestion, the processing speed of the switch unit decreases, the size of the packet switching system itself increases, and the cost required for production increases. It becomes the cause.

【0009】そこで、従来技術では、パケット交換シス
テムにおける各回線部にパケット入力用のバッファを設
けることにより、一時的に大量のパケットを受信した際
にはそのバッファを用いてスイッチ部の輻輳を防いでい
た。また、スイッチ部403において輻輳状態が検出さ
れた場合、すべての各回線部402からの入力を遮断
し、スイッチの輻輳が解消されるまでデータの入力を止
めると行った方式が採用されていた。
In the prior art, a packet input buffer is provided in each line unit in the packet switching system, so that when a large amount of packets is temporarily received, the buffer is used to prevent congestion in the switch unit. Was out. Further, when a congestion state is detected in the switch unit 403, a method is adopted in which the input from all the line units 402 is cut off and the data input is stopped until the switch congestion is eliminated.

【0010】従来技術では、このように構成すること
で、スイッチ部403に要求される大量かつ高速なバッ
ファの使用を抑え、スイッチ部の小型化、経済性を高め
ていた。
In the prior art, with such a configuration, the use of a large amount and high-speed buffer required for the switch unit 403 is suppressed, and the size and economy of the switch unit are increased.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、このよ
うな方式ではある各回線部402に設けられたバッファ
の記憶容量を超えたパケットが受信された場合には、す
べての回線部からスイッチ部403への入力が遮断され
るよう構成されているため、実際に輻輳を引き起こして
いる回線のみならず、通常に運用されている回線にまで
が影響されてしまう。
However, in such a system, when a packet exceeding the storage capacity of the buffer provided in each line unit 402 is received, all the line units are sent to the switch unit 403. Is blocked so that not only the line that is actually causing congestion but also the line that is operating normally is affected.

【0012】この結果、通常に運用されている各回線部
402のパケットまで廃棄されてしまうこととなる。更
に、上記のような従来技術による方法では、輻輳を引き
起こす原因となった回線中における優先度の高いパケッ
トも廃棄されてしまうことになる。
As a result, packets of each line section 402 which are normally operated are discarded. Further, according to the above-described method according to the related art, a high-priority packet in a line that causes congestion is also discarded.

【0013】また、回線に生じた輻輳を解消することを
目的とする従来技術として、特許公報第2616431
号公報が開示するところのパケット通信システムがあ
る。
[0013] Further, as a conventional technique for resolving congestion generated in a line, Japanese Patent Publication No. 2616431 is disclosed.
There is a packet communication system disclosed in the publication.

【0014】この従来技術は、通信装置内部からの送信
パケットを、複数の回線に振り分けるパケット送信部
と、複数の回線から受信したパケットを多重した後に通
信装置内部に送信するパケット受信部と、を有して構成
されたパケット通信システムにおいて、パケット受信部
が、受信パケットを格納するためのバッファ内に格納さ
れているパケットの数とバッファのメモリ容量とを比較
することで、自局が輻輳状態であるか否かを判断し、こ
の判断において、自局が輻輳状態であると判断された場
合、パケットに自局に対する送信を一時制限するための
情報を付加することで、自局が処理すべきパケット量を
減少させ、輻輳状態を解消せんとするよう構成されたも
のである。
According to this prior art, a packet transmitting unit for distributing a transmission packet from the inside of a communication device to a plurality of lines, and a packet receiving unit for multiplexing packets received from the plurality of lines and then transmitting the packet to the inside of the communication device. In a packet communication system configured to have a packet congestion state, the packet receiving unit compares the number of packets stored in a buffer for storing received packets with the memory capacity of the buffer. And if it is determined that the own station is in a congested state, the information is added to the packet to temporarily limit transmission to the own station, so that the own station can process the packet. It is configured to reduce the amount of packets to be transmitted and to eliminate the congestion state.

【0015】しかしながら、上記従来技術は、自局外部
に対する制限を通知するための手段であり、現在生じて
いる自局での輻輳状態を解消するものでない。更に、上
記従来技術では、輻輳状態が生じた場合、隣接する全て
のノードを対象としてランダムにパケットの送信を制限
しているため、優先的に処理すべきパケットの送受信も
制限されてしまうという問題点が存在する。
However, the above-mentioned prior art is a means for notifying the restriction to the outside of the own station, and does not eliminate the currently occurring congestion state in the own station. Furthermore, in the above-described conventional technique, when a congestion state occurs, transmission of packets to all adjacent nodes is restricted at random, so that transmission and reception of packets to be processed with priority are also restricted. There is a point.

【0016】従って、本発明は、上記問題に鑑みなされ
たものであり、実際に輻輳を引き起こす原因となる回線
部のみを制御することにより、パケット交換システム自
体の装置の経済性、小型化といった条件を維持しつつ優
先度の高い情報を処理可能にするパケット交換装置及び
パケット交換方法を提供することを目的とする。
Accordingly, the present invention has been made in view of the above-described problems, and controls only a line unit that actually causes congestion, thereby reducing the cost and size of the packet switching system itself. It is an object of the present invention to provide a packet switching device and a packet switching method that can process information with a high priority while maintaining the above.

【0017】[0017]

【課題を解決するための手段】係る目的を達成するため
に、請求項1記載の発明は、パケットをスイッチングす
るパケット交換装置であって、生じた輻輳のレベルに応
じて、スイッチングするパケットを制限し、パケットを
廃棄することを特徴とする。
According to one aspect of the present invention, there is provided a packet switching apparatus for switching packets, wherein the number of packets to be switched is restricted according to the level of congestion that has occurred. And discarding the packet.

【0018】また、請求項2記載の発明は、回線より受
信したデータの中からパケットを抽出する回線受信手段
と、回線受信手段により受信されたパケットを割り当て
られた優先度毎に振り分けるパケット振分手段と、パケ
ットに割り当てられた優先度の種類数設けられ、パケッ
ト振分手段により振り分けられたパケットを、優先度毎
に一時格納する複数のバッファリング手段と、バッファ
リング手段より格納されたパケットを読み出すパケット
読出手段と、パケット読出手段により所定の期間内に読
み出したパケットの有効バイト数を計測する輻輳検知手
段と、パケット読出手段により読み出したパケットをス
イッチングするスイッチング手段と、スイッチング手段
において輻輳が生じていた場合、輻輳通知信号を出力す
る輻輳通知手段と、を有し、輻輳検知手段は、予め所定
の閾値が設定され、輻輳通知手段により輻輳通知信号が
通知された場合、輻輳検知手段において計測している有
効バイト数と所定の閾値とを比較し、比較の結果に基づ
いて、パケット読出手段を制御することを特徴とする。
According to a second aspect of the present invention, there is provided a line receiving unit for extracting a packet from data received from a line, and a packet distribution unit for distributing the packet received by the line receiving unit for each assigned priority. Means, a plurality of types of priorities assigned to the packets, a plurality of buffering means for temporarily storing the packets distributed by the packet distribution means for each priority, and packets stored by the buffering means. Packet reading means for reading, congestion detecting means for measuring the number of effective bytes of the packet read within a predetermined period by the packet reading means, switching means for switching the packet read by the packet reading means, and congestion in the switching means Congestion notification means for outputting a congestion notification signal Congestion detection means, a predetermined threshold is set in advance, and when a congestion notification signal is notified by the congestion notification means, compares the number of valid bytes measured by the congestion detection means with a predetermined threshold, It is characterized in that the packet reading means is controlled based on the result of the comparison.

【0019】また、請求項3記載の発明によれば、請求
項2記載のパケット交換装置において、輻輳検知手段
は、所定の閾値として、最も値の低い第1の閾値と、第
1の閾値よりも値の大きい第2の閾値と、第2の閾値よ
りも値の大きい第3の閾値と、が設定されており、比較
の結果、有効バイト数が第1の閾値を超えている場合、
パケット読出手段に対して、最も優先度の高いパケット
が格納されているバッファリング手段からのパケット読
み出しのみを許可するよう制御し、比較の結果、第2の
閾値を超えている場合、パケット読出手段に対して、全
てのバッファリング手段からのパケットの読み出しを禁
止するよう制御し、比較の結果、第3の閾値を超えてい
る場合、パケット読出手段に対して、最も優先度の低い
パケットが格納されているバッファリング手段に格納さ
れているパケットを廃棄するよう制御することを特徴と
する。
According to a third aspect of the present invention, in the packet switching device according to the second aspect, the congestion detecting means includes, as the predetermined threshold, the first threshold having the lowest value and the first threshold being smaller than the first threshold. When a second threshold having a larger value and a third threshold having a larger value than the second threshold are set, and as a result of the comparison, when the number of valid bytes exceeds the first threshold,
The packet reading means is controlled so as to permit only reading of packets from the buffering means in which the highest-priority packet is stored, and if the result of the comparison exceeds the second threshold, the packet reading means is controlled. Is controlled to prohibit the reading of packets from all buffering means, and if the result of comparison exceeds the third threshold, the packet with the lowest priority is stored in the packet reading means. It is characterized by controlling to discard the packet stored in the buffering means.

【0020】また、請求項4記載の発明によれば、請求
項2または3記載のパケット交換装置において、輻輳通
知信号は、専用の制御線を介して輻輳検知手段に入力さ
れることを特徴とする。
According to a fourth aspect of the present invention, in the packet switching device according to the second or third aspect, the congestion notification signal is input to the congestion detecting means via a dedicated control line. I do.

【0021】また、請求項5記載の発明は、請求項2ま
たは3記載のパケット交換装置において、パケットと輻
輳通知信号とを多重化する多重化手段と、多重化手段に
より多重化されたパケットと輻輳通知信号とを分離する
分離手段と、をさらに有し、輻輳通知信号は、パケット
共通の伝送路を介して輻輳検知手段へ入力されることを
特徴とする。
According to a fifth aspect of the present invention, there is provided the packet switching apparatus according to the second or third aspect, wherein the multiplexing means multiplexes the packet and the congestion notification signal, and the packet multiplexed by the multiplexing means. Separating means for separating the congestion notification signal from the congestion notification signal, wherein the congestion notification signal is input to the congestion detection means via a transmission path common to the packets.

【0022】また、請求項6記載の発明によれば、請求
項2から5のいずれか1項に記載のパケット交換装置に
おいて、複数のバッファリング手段は、優先度が高いパ
ケットを格納するバッファリング手段ほど、記憶容量を
大きく構成することを特徴とする。
According to a sixth aspect of the present invention, in the packet switching device according to any one of the second to fifth aspects, the plurality of buffering means includes a buffering unit for storing a packet having a high priority. It is characterized in that the means is configured to have a larger storage capacity.

【0023】また、請求項7記載の発明は、パケットを
スイッチングするパケット交換方法であって、生じた輻
輳のレベルに応じて、スイッチングするパケットを制限
し、パケットを廃棄することを特徴とする。
According to a seventh aspect of the present invention, there is provided a packet switching method for switching a packet, wherein the switching of the packet is restricted according to the level of congestion that has occurred, and the packet is discarded.

【0024】また、請求項8記載の発明は、回線より受
信したデータの中からパケットを抽出する回線受信工程
と、回線受信工程において受信したパケットを割り当て
られた優先度毎に振り分けるパケット振分工程と、パケ
ットに割り当てられた優先度の種類数設けられたバッフ
ァに、パケット振分手段により振り分けられたパケット
を、優先度毎に一時格納するバッファリング工程と、バ
ッファリング工程において格納されたパケットを読み出
すパケット読出工程と、パケット読出工程において所定
の期間内に読み出されたパケットの有効バイト数を計測
する輻輳検知工程と、パケット読出工程において読み出
されたパケットをスイッチングするスイッチング工程
と、スイッチング工程において輻輳が生じた場合、輻輳
通知信号を出力する輻輳通知工程と、を有し、輻輳検知
工程は、輻輳通知工程において輻輳通知信号が通知され
た場合、計測している有効バイト数と予め設定されてい
る所定の閾値とを比較し、比較の結果に基づいて、パケ
ット読出工程を制御することを特徴とする。
[0024] The invention according to claim 8 is a line receiving step for extracting a packet from data received from the line, and a packet distributing step for distributing the packets received in the line receiving step for each assigned priority. A buffering step of temporarily storing the packets allocated by the packet distribution means in a buffer provided with the number of types of priorities assigned to the packets, and a packet stored in the buffering step. A packet reading step for reading, a congestion detecting step for measuring the number of effective bytes of the packet read within a predetermined period in the packet reading step, a switching step for switching the packet read in the packet reading step, and a switching step Outputs a congestion notification signal when congestion occurs in A congestion notification step, and the congestion detection step, when the congestion notification signal is notified in the congestion notification step, compares the measured number of effective bytes and a predetermined threshold that is set in advance, The packet reading step is controlled based on the result.

【0025】また、請求項9記載の発明によれば、請求
項8記載のパケット交換方法において、輻輳検知工程
は、所定の閾値として、最も値の低い第1の閾値と、第
1の閾値よりも値の大きい第2の閾値と、第2の閾値よ
りも値の大きい第3の閾値と、が設定されており、比較
の結果、有効バイト数が第1の閾値を超えている場合、
パケット読出工程において、最も優先度の高いパケット
が格納されているバッファからのパケット読み出しのみ
を許可するよう制御し、比較の結果、第2の閾値を超え
ている場合、パケット読出工程において、全てのバッフ
ァからのパケットの読み出しを禁止するよう制御し、比
較の結果、第3の閾値を超えている場合、パケット読出
工程において、最も優先度の低いパケットが格納されて
いるバッファに格納されているパケットを廃棄するよう
制御することを特徴とする。
According to a ninth aspect of the present invention, in the packet switching method according to the eighth aspect, the congestion detecting step includes, as the predetermined threshold, the first threshold having the lowest value and the first threshold. When a second threshold having a larger value and a third threshold having a larger value than the second threshold are set, and as a result of the comparison, when the number of valid bytes exceeds the first threshold,
In the packet reading step, control is performed such that only reading of the packet from the buffer storing the highest-priority packet is permitted, and as a result of the comparison, if the value exceeds the second threshold, all the packets are read in the packet reading step. Controlling to prohibit the reading of packets from the buffer. If the comparison result indicates that the value exceeds the third threshold, in the packet reading step, the packets stored in the buffer storing the packets with the lowest priority are stored. Is controlled to be discarded.

【0026】また、請求項10記載の発明によれば、請
求項8または9記載のパケット交換方法において、輻輳
通知信号は、専用の制御線を介して伝送されることを特
徴とする。
According to a tenth aspect of the present invention, in the packet switching method of the eighth or ninth aspect, the congestion notification signal is transmitted via a dedicated control line.

【0027】また、請求項11記載の発明は、請求項8
または9記載のパケット交換方法において、パケットと
輻輳通知信号とを多重化する多重化工程と、多重化工程
において多重化されたパケットと輻輳通知信号とを分離
する分離工程と、をさらに有し、輻輳通知信号は、パケ
ット共通の伝送路を介して伝送されることを特徴とす
る。
[0027] The invention according to claim 11 is the invention according to claim 8.
Or the packet switching method according to 9, further comprising a multiplexing step of multiplexing the packet and the congestion notification signal, and a separation step of separating the multiplexed packet and the congestion notification signal in the multiplexing step, The congestion notification signal is transmitted via a transmission path common to packets.

【0028】また、請求項12記載の発明によれば、請
求項8から11のいずれか1項に記載のパケット交換方
法において、バッファは、優先度が高いパケットを格納
するバッファほど、記憶容量を大きく構成されることを
特徴とする。
According to a twelfth aspect of the present invention, in the packet switching method according to any one of the eighth to eleventh aspects, the buffer has a smaller storage capacity as a buffer stores a packet having a higher priority. It is characterized by a large configuration.

【0029】[0029]

【発明の実施の形態】本発明の特徴は、パケットを交換
するパケット交換装置及びパケット交換方法において、
回線より受信したパケットを一時蓄積するためのバッフ
ァ及び回線に輻輳が発生していることを検知する輻輳検
知手段と上記のバッファ内に蓄積されたパケットを廃棄
するパケット廃棄手段とを有するよう構成したことを特
徴としている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A feature of the present invention is a packet switching apparatus and a packet switching method for switching packets,
A buffer for temporarily storing packets received from the line, a congestion detecting unit for detecting that congestion has occurred on the line, and a packet discarding unit for discarding the packets stored in the buffer. It is characterized by:

【0030】このことを踏まえて、以下、図面を用い
て、本発明のパケット交換装置及びパケット交換方法を
詳細に説明する。
Based on this, the packet switching apparatus and the packet switching method of the present invention will be described below in detail with reference to the drawings.

【0031】〔第1の実施形態〕 {第1の実施形態の構成}先ず、本発明を好適に実施し
た第1の実施形態について、図面を用いて詳細に説明す
る。図1は、第1の実施形態によるパケット交換装置の
構成を示すブロック図である。
First Embodiment {Configuration of First Embodiment} First, a first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the packet switching device according to the first embodiment.

【0032】図1を参照すると、本実施形態によるパケ
ット交換装置は、各回線部101における回線よりパケ
ットを受信する構成として、接続された回線のデータを
受信し、この受信したデータの中からパケットを抽出す
る回線受信部102と、この抽出したパケットを優先度
や宛先のアドレス等の内容に従って振り分け、対応する
バッファ104−1〜nへ書き込みの制御を行うパケッ
ト振分部103と、パケット振分部103からの制御に
より書き込まれたパケットを一時的に保持するバッファ
104−1〜nと、バッファ104−1〜nそれぞれか
らのパケットの読み出しを制御するパケット読出部10
5と、各回線部101の出力段に接続されたスイッチ部
にどの程度パケットを送信したがを監視することで各回
線部101の輻輳の状態を検知する輻輳検知部105
と、パケット読出部105により読み出されたパケット
を輻輳検知部106を介して受信し、上述したスイッチ
部へ転送するスイッチングインタフェース送信部107
と、を有して構成される。
Referring to FIG. 1, the packet switching apparatus according to the present embodiment is configured to receive a packet from a line in each line unit 101, receive data of a connected line, and select a packet from the received data. A packet receiving unit 102 that sorts the extracted packets according to the contents such as the priority and the address of the destination, and controls writing to the corresponding buffers 104-1 to 104-n; Buffers 104-1 to 104-n for temporarily holding packets written under the control of the unit 103, and a packet reading unit 10 for controlling reading of packets from the buffers 104-1 to 104-n.
5 and a congestion detection unit 105 that detects the degree of congestion of each line unit 101 by monitoring how much packets have been transmitted to the switch unit connected to the output stage of each line unit 101.
And a switching interface transmitting unit 107 that receives the packet read by the packet reading unit 105 via the congestion detecting unit 106 and transfers the packet to the above-described switch unit.
And is configured.

【0033】また、これに対して、スイッチ部から入力
されたパケットを回線へ送信する構成として、スイッチ
部から各回線部101に対して送信されたデータを受信
するスイッチングインタフェース受信部110と、スイ
ッチングインタフェース受信部110により受信された
送信用のパケットを一時的に保持する送信用バッファ1
09と、送信用バッファ109に保持されたパケットを
読み出し、回線に送信する回線送信部108と、を有し
て構成される。
On the other hand, as a configuration for transmitting a packet input from the switch unit to the line, a switching interface receiving unit 110 for receiving data transmitted from the switch unit to each line unit 101, Transmission buffer 1 for temporarily storing transmission packets received by interface receiving section 110
09, and a line transmission unit 108 that reads out the packet held in the transmission buffer 109 and transmits the packet to the line.

【0034】従って、上記の構成において、輻輳検知部
106は、各回線部101に接続された回線から受信し
たパケットにおいて、スイッチングインタフェース送信
部107に入力されるパケットを監視する。この監視の
方法としては、例えば、単位時間当たりに、パケット読
出部105により読み出され、スイッチングインタフェ
ース送信部107より後段のスイッチ部へ送信されたパ
ケットの有効バイト数等を計測し、この計測された有効
バイト数の単位時間当たりの合計から、自回線が現在、
スイッチ部における輻輳を引き起こしているか否かを検
知するよう動作する。
Therefore, in the above configuration, the congestion detecting unit 106 monitors the packet input to the switching interface transmitting unit 107 among the packets received from the lines connected to each line unit 101. As a method of this monitoring, for example, the number of valid bytes of a packet read by the packet reading unit 105 and transmitted from the switching interface transmitting unit 107 to the subsequent switch unit per unit time is measured, and this measurement is performed. From the total number of valid bytes per unit time,
It operates to detect whether or not congestion is occurring in the switch unit.

【0035】但し、この輻輳を判断するタイミングは、
スイッチ部において生じた輻輳状態を通知する輻輳通知
信号が輻輳検知部106に入力された時点で判断するよ
う構成し、この判断において、上記のように計測してい
るスイッチ部へ送信したパケットの有効バイト数を用い
て、自回線が輻輳状態を引き起こす原因となっているか
を判断するよう構成する。従って、スイッチ部において
検知された輻輳状態は、輻輳通知信号により輻輳検知部
106へ通知され、この輻輳通知信号を基に、各輻輳検
知部106は自身が輻輳発生の基になっているか否かを
判断し、自身が輻輳発生の原因になっていると判断され
た場合には、所定のアルゴリズムに従ってスイッチ部へ
のパケットの送信が制御される。これにより、スイッチ
部に生じる輻輳の状態が悪化せず、改善されるように制
御される。
However, the timing for determining this congestion is
The congestion notification signal for notifying the congestion state generated in the switch unit is configured to be determined at the time of being input to the congestion detection unit 106. In this determination, the validity of the packet transmitted to the switch unit measured as described above is determined. The number of bytes is used to determine whether the own line is causing a congestion state. Therefore, the congestion state detected in the switch unit is notified to the congestion detection unit 106 by a congestion notification signal, and based on this congestion notification signal, each congestion detection unit 106 determines whether or not itself is a source of congestion occurrence. Is determined, and when it is determined that the packet causes the occurrence of congestion, transmission of the packet to the switch unit is controlled according to a predetermined algorithm. As a result, control is performed so that the state of congestion occurring in the switch unit is not deteriorated but is improved.

【0036】この際に、各回線部101からスイッチ部
へのパケットの送信を停止しないように構成すること
で、各回線部101におけるバッファ104−1〜n
が、記憶容量の最大値までパケットを受信するように構
成することが可能である。これは、優先度の高いパケッ
トに対しての受信が不可能となることを防止するための
構成であり、これにより、優先度の高いパケットを廃棄
せずに転送することが可能となる。
At this time, the transmission of the packet from each line unit 101 to the switch unit is not stopped, so that the buffers 104-1 to 104-n in each line unit 101 can be used.
Can be configured to receive packets up to the maximum storage capacity. This is a configuration for preventing reception of a high-priority packet from becoming impossible, thereby enabling a high-priority packet to be transferred without being discarded.

【0037】また、優先度に従ってバッファ104−1
〜nへ振り分けられたパケットの内、優先度が低いパケ
ット(これを必要度が低いパケットと置き換えることも
可能である)から廃棄するよう構成することにより、輻
輳状態においても優先度の高いパケットが廃棄されるこ
とを防止することが可能となる。
Further, the buffer 104-1 is selected according to the priority.
By discarding low-priority packets (which can be replaced with low-necessity packets) from among the packets distributed to nn, packets with high priority can be discarded even in a congested state. It is possible to prevent discarding.

【0038】以上のことを踏まえて、本発明の第1の実
施形態の構成を、図1を用いて、より詳細に説明する。
Based on the above, the configuration of the first embodiment of the present invention will be described in more detail with reference to FIG.

【0039】図1に示された構成において、各回線部1
01に設けられた回線受信部102は、各回線部101
から入力される回線を終端し、光信号、若しくは電気信
号といった形態で入力されたパケットを抽出する動作を
行う。但し、この回線受信部102の構成としては、本
発明の趣旨を逸脱しない限り種々変形して実施すること
が可能であるため、本発明では特に限定しない。
In the configuration shown in FIG.
01 is provided in each line unit 101.
Terminates the line input from, and extracts the packet input in the form of an optical signal or an electric signal. However, since the configuration of the line receiving unit 102 can be variously modified and implemented without departing from the gist of the present invention, the present invention is not particularly limited.

【0040】更に、このようにパケットを抽出した回線
受信部102は、この受信したパケットにエラー(誤
り)が含まれるか否かを検知して、エラーが含まれると
検知された場合、このことを示す信号をパケットに付加
して、後段のパケット振分部103に送信するよう動作
する。
Further, the line receiving unit 102 that has extracted the packet as described above detects whether or not the received packet contains an error (error). Is added to the packet and transmitted to the packet distribution unit 103 in the subsequent stage.

【0041】このように回線受信部102において抽出
されたパケットは、パケット振分部103においてパケ
ットの内容毎に振り分けられる。この内容については、
以下で図5を用いて詳細に説明する。更に、パケット振
分部103におけるパケットを振り分けるために必要な
情報は、本発明によるパケット交換装置が使用される条
件(又は状況)に従って設定が可能なものである。
The packets extracted by the line receiving unit 102 are sorted by the packet sorting unit 103 for each packet content. About this content,
This will be described in detail below with reference to FIG. Further, the information required for distributing the packets in the packet distribution unit 103 can be set according to the conditions (or circumstances) in which the packet switching device according to the present invention is used.

【0042】次に、パケット振分部103により内容に
従って振り分けられたパケットは、その後、振分先毎に
設けられたバッファ104−1〜nそれぞれに一時的に
格納される。
Next, the packets distributed according to the contents by the packet distribution unit 103 are thereafter temporarily stored in buffers 104-1 to 104-n provided for each distribution destination.

【0043】ここで、パケット振分部103は、パケッ
トの書き込み先となるバッファ(バッファ104−1〜
nのいずれか)の状態を監視し、パケットの書き込みが
可能であるか否かを判断する。従って、バッファ104
−1〜nへのパケットの書き込みは、バッファ104−
1〜nにおける該当するバッファが書き込み可能である
場合に実行される。
Here, the packet distribution unit 103 stores a buffer (buffer 104-1 to buffer 104-1) to which the packet is to be written.
n) is monitored to determine whether packet writing is possible. Therefore, the buffer 104
-1 to n are written in the buffer 104-.
Executed when the corresponding buffer in 1 to n is writable.

【0044】また、バッファ104−1〜nそれぞれの
記憶容量としては、本発明で取り扱われる最大のパケッ
トを複数個十分に収容可能なように構成するものとし、
更に、このバッファは、パケット振分部103が振り分
ける種類数(1〜nのn個)設けられる。但し、このバ
ッファ104−1〜nの構成の方法としては、単一のバ
ッファをアドレズ毎に分割して使用するものとする。
The storage capacity of each of the buffers 104-1 to 104-n is configured to be able to sufficiently accommodate a plurality of maximum packets handled by the present invention.
Further, this buffer is provided with the number of types (n of 1 to n) to be distributed by the packet distribution unit 103. However, as a method of configuring the buffers 104-1 to 104-n, it is assumed that a single buffer is divided for each address and used.

【0045】その後、バッファ104−1〜nに書き込
まれたパケットは、エラーを示す信号が含まれないもの
を対象に、パケット読出部105においてバッファ10
4−1〜nより読み出される。このパケット読出部10
5による読み出しの動作は、輻輳検知部106により制
御される。
After that, the packets written in the buffers 104-1 to 104-n are output to the buffer 10
4-1 to n. This packet reading unit 10
5 is controlled by the congestion detection unit 106.

【0046】また、輻輳検知部106は、自回線がスイ
ッチ部に対して送信したパケットのデータ量を監視す
る。従って、輻輳検知部106は、ある一定時間(単位
時間)内にスイッチ部に送信したパケットのデータ量を
基に、所定のアルゴリズムに従ってパケットの読み出し
を行う。
The congestion detecting unit 106 monitors the data amount of the packet transmitted from the own line to the switch unit. Therefore, the congestion detection unit 106 reads out a packet according to a predetermined algorithm based on the data amount of the packet transmitted to the switch unit within a certain fixed time (unit time).

【0047】この動作としては、例えば、輻輳検知部1
06がスイッチ部へ送信したデータ量に対して複数の閾
値を設定し、この閾値に対する単位時間当たりの送信し
たデータ量を基に、最も優先度の高いパケットが格納さ
れているバッファ(104−1〜nのいずれか)からパ
ケットの読み出しを行い、これに対して、最も優先度の
低いパケットが格納されているバッファ(104−1〜
nのいずれか)に格納されたパケットを廃棄するという
ものである。
As the operation, for example, the congestion detecting unit 1
06 sets a plurality of thresholds for the amount of data transmitted to the switch unit, and based on the amount of data transmitted per unit time with respect to this threshold, a buffer (104-1) in which the highest priority packet is stored. To n), and a buffer (104-1 to 104-1) in which the packet with the lowest priority is stored.
n is discarded.

【0048】また、パケット読出部105によってバッ
ファ104−1〜nから読み出されたパケットは、スイ
ッチングインタフェース送信部107によりスイッチ部
(図示せず)へ送信される。
The packets read from the buffers 104-1 to 104-n by the packet reading unit 105 are transmitted to a switch unit (not shown) by the switching interface transmitting unit 107.

【0049】このスイッチ部とスイッチングインタフェ
ース送信部107とは、それぞれ種々変形して実施され
るものであるため、ここでは、特に限定しない。
The switch section and the switching interface transmitting section 107 are each implemented by being modified in various ways, and are not particularly limited here.

【0050】また、スイッチ部では、スイッチ部内に設
けられたバッファに格納されたパケットのデータ量等か
らスイッチ部における輻輳の状態を監視し、このデータ
量が予め設定している閾値を超えた場合に、専用の信号
線により各回線部101に対して輻輳通知信号が送信さ
れるよう構成する。
The switch unit monitors the state of congestion in the switch unit based on the data amount of packets stored in a buffer provided in the switch unit, and when the data amount exceeds a preset threshold. Then, a congestion notification signal is transmitted to each line unit 101 through a dedicated signal line.

【0051】この輻輳通知信号により、輻輳検知部10
6は、自回線がスイッチ部において生じた輻輳の原因と
なっているか否かを判定する動作を開始する。この判定
する動作は、上述のように、単位時間当たりにスイッチ
ングインタフェース送信部107を介してスイッチ部へ
送信したパケットの有効ビット数を基に判断する。
This congestion notification signal causes the congestion detection unit 10
6 starts an operation of determining whether or not the own line is causing congestion generated in the switch unit. As described above, this determination operation is performed based on the number of effective bits of a packet transmitted to the switch unit via the switching interface transmission unit 107 per unit time.

【0052】{第1の実施形態による動作}以上説明し
た第1の実施形態による動作について、以下に図面を用
いて詳細に説明する。
{Operation According to First Embodiment} The operation according to the first embodiment described above will be described below in detail with reference to the drawings.

【0053】第1の実施形態による全体的な動作につい
ては、図1を参照しつつ行う。図1を参照すると、本図
において、回線に入力された信号は、回線受信部102
によりパケットという形で抽出される。この抽出された
パケットは、通常伝送路上を正しく伝達したか否かをC
RC(Cyclic Redundancy Check )等により確認され
る。
The overall operation according to the first embodiment is performed with reference to FIG. Referring to FIG. 1, in FIG. 1, a signal input to a line
Is extracted in the form of a packet. The extracted packet indicates whether or not the packet has been correctly transmitted on the normal transmission path.
Confirmed by RC (Cyclic Redundancy Check) or the like.

【0054】ここで、正しく伝達されなかったパケット
には、回線受信部102においてエラーの情報(上記に
おけるエラーを示す信号)が付加され、パケット振分部
103へ送信される。
Here, error information (signal indicating the error described above) is added to the packet that has not been correctly transmitted by the line receiving unit 102, and the packet is transmitted to the packet distribution unit 103.

【0055】上記のようにパケットにエラーの情報が付
加される要因としては、上述したCRCによるエラーの
確認以外にも、回線受信部102内に設けられたバッフ
ァ(図示せず)が書き込み不可能となることや、何らか
の原因によりパケットを正しく受信できなかったことな
どが考えられる。
As a cause of adding error information to a packet as described above, a buffer (not shown) provided in the line receiving unit 102 is not writable besides the above-mentioned error confirmation by the CRC. Or the packet could not be received correctly for some reason.

【0056】また、パケット振分部103は、回線受信
部102から送信されたパケットを、パケットのヘッダ
部に格納された優先度に従い、予め設定されたバッファ
104−1〜nのいずれか対応するものに送信する。
The packet distribution unit 103 converts the packet transmitted from the line receiving unit 102 into one of the preset buffers 104-1 to n according to the priority stored in the header of the packet. Send to things.

【0057】このパケットのヘッダ部に格納された優先
度とは、例えば、RFC(RequestFor Comments)79
1により規定されているIP(Internet Protocol )パ
ケット内のTOS(Type of Service )フィールドや、
RFC2474及びRFC2475等により規定されて
いるDS(DiffServ)コードポイント、また、宛先IP
アドレスといったパケット内の情報に従って決定される
ものである。
The priority stored in the header of the packet is, for example, RFC (Request For Comments) 79
1, a TOS (Type of Service) field in an IP (Internet Protocol) packet,
DS (DiffServ) code point specified by RFC2474 and RFC2475, and destination IP
It is determined according to information in the packet such as the address.

【0058】これは、一般的にパケット交換装置及びパ
ケット交換方法の使用される環境や状況に従って設定可
能なものである。尚、RFCとは、インターネットの研
究開発機関IETF(Internet Engineering Task Forc
e )がインターネット上のサーバにおいて公開している
TCI/IPの使用やサービスなどに関する規格書であ
り、内容毎に番号が付加されているものである。
This can be generally set according to the environment or situation in which the packet switching device and the packet switching method are used. RFC stands for Internet Engineering Task Forcie (IETF), an Internet research and development institution.
e) is a standard document concerning use of TCI / IP and services published on a server on the Internet, and a number is added to each content.

【0059】本実施形態では、このRFCを引用し、R
FC791、2474、及び2475等を適用する。ま
た、図5に、上記したパケットの構成として、IPデー
タグラムのフォーマットを示す。
In this embodiment, this RFC is cited, and R
FC791, 2474, and 2475 are applied. FIG. 5 shows the format of an IP datagram as the structure of the packet.

【0060】図5を参照すると、本実施形態で用いるパ
ケットの構成は、ヘッダ部に、IPヘッダのバージョン
番号(バージョン)、IPヘッダ自体の長さ(ヘッダ
長)、IPのサービス品質(サービスタイプ)、IPヘ
ッダとIPデータを加えたパケット全体の長さ(パケッ
ト長)、上位置が分割されたデータを再構築するための
識別子、パケットの分割に関する制御ビットを書き込む
ためのフラグ、フラグメント(分割された1つのパケッ
ト)に対するシーケンス番号(フラグメントオフセッ
ト)、本パケットがネットワーク上に存在しえる時間
(生存時間)、上位置のプロトコル、IPヘッダのため
のチェックサム、本パケットを送信したノードのIPア
ドレス(送信元IPアドレス)、本パケットの宛先とな
るIPアドレス(宛先IPアドレス)、テストやデバッ
ク時に使用するためのオプション、オプションとの合計
を32ビットの整数倍に調整するためのパディング、を
有して構成されている。ここで、本発明に使用するパケ
ットの優先度は、上記のサービスタイプに格納されるも
のを使用する。
Referring to FIG. 5, the configuration of the packet used in the present embodiment is such that the header part has a version number (version) of the IP header, the length of the IP header itself (header length), the quality of service of the IP (service type ), The total length of the packet including the IP header and IP data (packet length), an identifier for reconstructing the data whose upper position has been divided, a flag for writing control bits related to packet division, and a fragment (division Sequence number (fragment offset) for a given packet, the time that this packet can exist on the network (lifetime), the protocol at the top, the checksum for the IP header, and the IP of the node that sent this packet. Address (source IP address), IP address (destination I Address) is configured to have options for use during testing or debugging, padding, to adjust to an integral multiple sum of 32 bits of the option. Here, the priority of the packet used in the present invention is the one stored in the above service type.

【0061】また、パケット振分部103は、パケット
を書き込むべきバッファ104−1〜nがパケットを書
き込むことが可能であるか否かを監視し、回線受信部1
02よりパケットが受信された時点でバッファ104−
1〜nにおける対応するバッファへの書き込みが可能な
状態であれば、この受信したパケットの書き込みを実行
する。
The packet distribution unit 103 monitors whether or not the buffers 104-1 to 104-n to which the packet is to be written can write the packet.
02 when the packet is received from the buffer 104-
If writing to the corresponding buffer in 1 to n is possible, the received packet is written.

【0062】このとき書き込まれるパケットは、上述の
ようにエラーが含まれた場合、このエラーを示す信号が
付加されている。
If the packet written at this time contains an error as described above, a signal indicating this error is added.

【0063】また、書き込み先となるバッファ104−
1〜nのいずれかへの書き込みが不可能である場合、パ
ケット振分部103は、パケットの書き込みを中断し、
バッファ104にパケットを書き込むことが可能となる
まで、回線受信部102からのパケットの受信を中断す
る。
The buffer 104-
If writing to any of 1 to n is impossible, the packet distribution unit 103 suspends the writing of the packet,
The reception of the packet from the line receiving unit 102 is suspended until the packet can be written in the buffer 104.

【0064】その後、バッファ104−1〜nでは、パ
ケット振分部103より書き込まれたパケットに上述の
ようにエラーを示す信号が付加されていた場合、バッフ
ァ104−1〜nのいずれかにパケットが格納されてい
ることをパケット読出部105に対して通知せずに、こ
の書き込まれたパケットを廃棄する。
Thereafter, in the buffers 104-1 to 104-n, if a signal indicating an error is added to the packet written by the packet distribution unit 103 as described above, the packet is stored in any of the buffers 104-1 to 104-n. The stored packet is discarded without notifying the packet reading unit 105 that the packet is stored.

【0065】これに対して、バッファ104−1〜nの
いずれかに書き込まれたパケットがエラーを示す信号が
付加されていないパケットであって場合、バッファ10
4−1〜nのいずれかは、自身にパケットが格納されて
いることをパケット読出部105に対して通知する。
On the other hand, if the packet written in any of the buffers 104-1 to 104-n is a packet to which a signal indicating an error is not added,
Any of 4-1 to n notifies the packet reading unit 105 that the packet is stored therein.

【0066】また、バッファ104−1〜nは、パケッ
ト読出部105及び輻輳検知部106からの通知によ
り、格納しているパケットを廃棄する動作を行う。
The buffers 104-1 to 104-n perform an operation of discarding the stored packet in response to the notification from the packet reading unit 105 and the congestion detecting unit 106.

【0067】パケット読出部105は、輻輳検知部10
6によって制御され、バッファからの読み出しが可能な
状態においてのみ、所定の条件に合うバッファ104−
1〜nからのパケットの読み出しを行う。
The packet reading unit 105 is connected to the congestion detecting unit 10
6 and a buffer 104- which satisfies a predetermined condition only in a state where reading from the buffer is possible.
The packets are read from 1 to n.

【0068】また、パケット読出部105は、輻輳検知
部106からの制御に従い、任意のバッファ104−1
〜nに対して、格納しているパケットを廃棄する動作を
実行させる。
Further, the packet reading unit 105 controls an arbitrary buffer 104-1 according to the control from the congestion detecting unit 106.
To n, the operation of discarding the stored packet is executed.

【0069】輻輳検知部106は、自回線がスイッチン
グインタフェース送信部107に対して送信したパケッ
トのデータ量を常時監視し、この監視結果とスイッチ部
からの輻輳通知信号とを基に、バッファ104−1〜n
のいずれかからのパケットの読み出しを制御する。
The congestion detecting unit 106 constantly monitors the data amount of the packet transmitted by the own line to the switching interface transmitting unit 107, and based on the monitoring result and the congestion notification signal from the switch unit, the buffer 104- 1 to n
Of the packet from any one of the above.

【0070】ここで、スイッチ部が輻輳状態にない場
合、即ち、スイッチ部から輻輳通知信号が入力されてい
ない場合、輻輳検知部106は、パケット読出部105
に対してバッファ104−1〜nのいずれかからのパケ
ットの読み出しの許可を与える。従って、パケット読出
部105は、この輻輳検知部106からパケットの読み
出しの許可が入力された場合に、バッファ104−1〜
nのいずれか対応するバッファからパケットを読み出す
よう動作する。
Here, when the switch unit is not in the congestion state, that is, when the congestion notification signal is not input from the switch unit, the congestion detection unit 106
For reading packets from any of the buffers 104-1 to 104-n. Therefore, when a packet read permission is input from the congestion detection unit 106, the packet read unit 105
n to read a packet from any of the buffers.

【0071】このとき、パケット読出部105による対
応するバッファ104−1〜nのいずれかからのパケッ
トの読み出しの動作は、予め設定された所定のアルゴリ
ズムに従う。
At this time, the operation of reading packets from any of the corresponding buffers 104-1 to 104-n by the packet reading unit 105 follows a predetermined algorithm set in advance.

【0072】また、輻輳通知信号によりスイッチ部から
輻輳検知部106へ、スイッチ部が輻輳状態であること
が通知された場合、輻輳検知部106は、パケット読出
部105に対して上記とは異なるアルゴリズムに従って
バッファ104−1〜nのいずれかよりパケットを読み
出すようパケット読出部105を制御する。
When the switch unit notifies the congestion detection unit 106 of the switch unit being in a congestion state by a congestion notification signal, the congestion detection unit 106 sends a different algorithm to the packet reading unit 105 to the above. The packet reading unit 105 is controlled so as to read a packet from any of the buffers 104-1 to 104-n according to the following.

【0073】〈輻輳検知部106の動作〉このスイッチ
部が輻輳状態となったときの対応するバッファ104−
1〜nからのパケットの読み出しの制御方法について、
以下に説明する。
<Operation of Congestion Detecting Unit 106> When the switch unit is in the congestion state, the corresponding buffer 104-
Regarding a control method of reading packets from 1 to n,
This will be described below.

【0074】この動作においては、スイッチ部から輻輳
検知部106へ輻輳通知信号が入力されると、先ず、輻
輳検知部106がスイッチングインタフェース部107
を介して単位時間当たりにスイッチ部へ送信したパケッ
トのデータ量を基に、自回線がスイッチ部における輻輳
の原因となっているか否かを判断する。
In this operation, when a congestion notification signal is input from the switch unit to the congestion detection unit 106, the congestion detection unit 106 first switches to the switching interface unit 107.
It is determined whether or not its own line is causing congestion in the switch unit based on the data amount of the packet transmitted to the switch unit per unit time via the switch.

【0075】この判断における基準は、予め設定された
データ量の閾値と、単位時間当たりに自回線がスイッチ
部に対して送信したパケットの有効バイト数と、を基に
判断される。但し、本実施形態において、上記の予め設
定されたデータ量の閾値は、複数レベル設けられるもの
とする。これは、例えば、閾値(高レベルの閾値)、
閾値(中レベルの閾値)、及び閾値(低レベルの閾
値)の3段階に分けて閾値を設定した場合、閾値を超
えた場合には、最も優先度の高いパケットが格納される
よう構成されたバッファ104(104−1〜n)から
のパケットの読み出しをパケット読出部105に対して
許可し、また、閾値を超えた場合には、全てのバッフ
ァ104−1〜nからのパケットの読み出しをパケット
読出部105に対して禁止し、更に、閾値を超えた場
合には、最も優先度の低いパケットが格納されるよう構
成されたバッファ104(104−1〜n)内に格納さ
れているパケットを破棄するといった制御を所定のアル
ゴリズムに従って実行するよう動作する。
The criterion for this determination is determined based on a preset data amount threshold and the number of valid bytes of a packet transmitted from the own line to the switch unit per unit time. However, in the present embodiment, it is assumed that a plurality of levels of the preset data amount threshold are provided. This includes, for example, thresholds (high-level thresholds),
When the threshold value is set in three steps of the threshold value (medium level threshold value) and the threshold value (low level threshold value), when the threshold value is exceeded, the highest priority packet is stored. Reading of packets from the buffers 104 (104-1 to 104-n) is permitted to the packet reading unit 105, and when the threshold is exceeded, reading of packets from all buffers 104-1 to 104-n is performed. If the packet exceeds the threshold value, the packet stored in the buffer 104 (104-1 to 104-n) configured to store the packet with the lowest priority is prohibited. It operates to execute control such as discarding according to a predetermined algorithm.

【0076】また、スイッチ部における輻輳状態が長時
間維持しないように構成するために、本実施形態では、
輻輳検知部106内に図2に示すようにタイマを設け、
輻輳通知信号が入力され続けている時間を計測すること
により、この計測した時間が予め設定した時間を超えた
場合に、バッファ104−1〜nに格納されているパケ
ットにおいて最も優先度の低いパケットから順に破棄す
るよう構成する。
In order to prevent the congestion state in the switch unit from being maintained for a long time,
A timer is provided in the congestion detection unit 106 as shown in FIG.
By measuring the time during which the congestion notification signal continues to be input, if the measured time exceeds a preset time, the lowest priority packet among the packets stored in the buffers 104-1 to 104-n It is configured to discard in order from.

【0077】ここで、図2を用いて、輻輳検知部106
の動作について、より詳細に説明する。
Here, referring to FIG.
Will be described in more detail.

【0078】輻輳検知部106は、図2に示すように、
送信パケット量監視部201と読出制御回路202とタ
イマ203と有して構成される。
As shown in FIG. 2, the congestion detecting unit 106
It comprises a transmission packet amount monitoring unit 201, a read control circuit 202, and a timer 203.

【0079】ここで、送信パケット量監視部201は、
前述の通り、自回線がスイッチ部に対して送信したパケ
ットの有効バイト数(以下、送信パケット量という)等
を監視し、その監視結果を読出制御回路202へ通知す
るよう動作する。
Here, the transmission packet amount monitoring unit 201
As described above, the operation is performed so as to monitor the number of valid bytes (hereinafter, referred to as a transmission packet amount) of a packet transmitted from the own line to the switch unit, and to notify the readout control circuit 202 of the monitoring result.

【0080】これに対して、読出制御回路202は、送
信パケット量監視部201から通知された送信パケット
量とスイッチ部からの輻輳通知信号とを基に、予め設定
された上記に示したような所定のアルゴリズムに従いパ
ケット読出部105の制御を行う。
On the other hand, based on the transmission packet amount notified from the transmission packet amount monitoring unit 201 and the congestion notification signal from the switch unit, the read control circuit 202 sets a predetermined The control of the packet reading unit 105 is performed according to a predetermined algorithm.

【0081】{第1の実施形態による効果}以上説明し
たように、本発明の第1の実施形態によれば、パケット
交換装置及びパケット交換方法の大型化や高価格化の原
因となるスイッチ部に設けられるバッファの記憶容量を
増加させずに、バースト的なトラフィックを受信した際
にもパケットの廃棄率を低く抑えることが可能となる。
{Effects of First Embodiment} As described above, according to the first embodiment of the present invention, the switch unit which causes the size and cost of the packet switching device and the packet switching method to increase. It is possible to reduce the packet discard rate even when burst traffic is received, without increasing the storage capacity of the buffer provided in.

【0082】また、各回線毎に輻輳状態を検出するよう
構成されているため、実際の輻輳の原因となっている各
回線部101のみに対してパケットの制限を課すことが
可能となる。これは、他の回線には通常に動作させるこ
とが可能であるということである。
Further, since the configuration is such that the congestion state is detected for each line, it is possible to impose a packet restriction only on each line unit 101 causing actual congestion. This means that other lines can be operated normally.

【0083】更に、各回線部101において輻輳が検出
された際に、優先度の低いパケットから破棄するよう構
成されているため、優先度が高いパケットが廃棄される
確率を低減することが可能となり、従って、要求の高い
情報を保護することが可能となる。
Further, when congestion is detected in each line unit 101, packets with lower priorities are discarded, so that the probability of discarding packets with higher priority can be reduced. Therefore, it is possible to protect highly requested information.

【0084】また、輻輳の状態を複数の段階別に判断す
るように構成しているため、専用線を用いた制御と比較
してより輻輳の状態にあった制御が可能となる。
Further, since the state of congestion is determined for each of a plurality of stages, it is possible to perform control in a more congested state as compared with control using a dedicated line.

【0085】〔第2の実施形態〕次に、本発明の第2の
実施形態について、図面を用いて詳細に説明する。本実
施形態における基本的な構成は、上述の第1の実施形態
と同様である。これに対し、第2の実施形態では、以下
のように構成を変化させる。
[Second Embodiment] Next, a second embodiment of the present invention will be described in detail with reference to the drawings. The basic configuration in the present embodiment is the same as in the above-described first embodiment. On the other hand, in the second embodiment, the configuration is changed as follows.

【0086】即ち、第2の実施形態では、各回線部10
1において受信されたパケットを一時的に格納するバッ
ファ104−1〜nの構成を変更することにより、優先
度の高いパケットの保護をより高いレベルで実現するも
のである。
That is, in the second embodiment, each line unit 10
By changing the configuration of the buffers 104-1 to 104-n for temporarily storing the packets received in 1, protection of packets with high priority is realized at a higher level.

【0087】これは、図1におけるバッファ104−1
〜nにおいて、優先度の高いパケットが格納されるバッ
ファを比較的大きな記憶容量とし、これに対して、優先
度の低いパケットが格納されるバッファを比較的小さい
記憶容量とすることにより、実現される。
This corresponds to the buffer 104-1 in FIG.
To n, the buffer storing the high-priority packets has a relatively large storage capacity, while the buffer storing the low-priority packets has a relatively small storage capacity. You.

【0088】このように構成することにより、第2の実
施形態では、スイッチ部において輻輳が生じた際に、優
先度の低いパケットを優先度の高いパケットよりも先に
積極的に廃棄するよう構成され、これにより、第1の実
施形態よりも、優先度の高いパケットを保護することが
可能となる。
With this configuration, in the second embodiment, when congestion occurs in the switch unit, a low-priority packet is actively discarded before a high-priority packet. As a result, it is possible to protect packets having a higher priority than in the first embodiment.

【0089】これは、システムの設計の際に、実装上の
問題やコストの問題といった面から全ての優先度に対す
るバッファを十分に実装できない場合や、また、優先度
の高いパケットを破棄することを通常の場合と比較して
より避けなければならない場合等にも有効である。
This is because when designing the system, it is difficult to implement buffers for all priorities due to mounting problems and cost problems, and to discard high-priority packets. It is also effective in cases where it is necessary to avoid more than in the normal case.

【0090】〔第3の実施形態〕また、上記した第1の
実施形態で示すパケット交換装置及びパケット交換方法
の基本的な構成では、スイッチ部から各回線部に対する
輻輳の通知を専用線を用いて行っているが、第3の実施
形態では、この構成を各回線部におけるスイッチングイ
ンタフェース受信部を使用するよう構成するものであ
る。
[Third Embodiment] In the basic configuration of the packet switching apparatus and the packet switching method described in the first embodiment, the switch unit notifies the congestion to each line unit using a dedicated line. However, in the third embodiment, this configuration is configured to use the switching interface receiving unit in each line unit.

【0091】図3に、第3の実施形態によるパケット交
換装置及びパケット交換方法の構成を示す。図3を参照
すると、本実施形態では、各回線部301とスイッチ部
321との間に、スイッチ部321から出力される輻輳
通知情報を固定長のデータに変換する輻輳通知部322
と、この固定長のデータに変換された輻輳通知情報をス
イッチングインタフェース受信部310に入力されるデ
ータとして多重化する多重部320と、を有して構成さ
れている。
FIG. 3 shows the configuration of a packet switching device and a packet switching method according to the third embodiment. Referring to FIG. 3, in the present embodiment, a congestion notification unit 322 that converts congestion notification information output from the switch unit 321 into fixed-length data between each line unit 301 and the switch unit 321.
And a multiplexing unit 320 that multiplexes the congestion notification information converted into the fixed-length data as data to be input to the switching interface receiving unit 310.

【0092】この構成において、パケットと多重化され
て各回線部301に入力された輻輳通知情報は、スイッ
チングインタフェース受信部310により受信され、そ
の後、分離部311に入力される。
In this configuration, the congestion notification information multiplexed with the packet and input to each line unit 301 is received by the switching interface receiving unit 310 and then input to the demultiplexing unit 311.

【0093】従って、分離部311は、入力されたデー
タを終端し、このデータをパケットと固定長データとに
分離する。ここで、分離されたパケットは、送信用バッ
ファ309へ送信され、固定長データは、輻輳検知部3
06へ入力される。
Therefore, the separating unit 311 terminates the input data and separates the data into packets and fixed-length data. Here, the separated packet is transmitted to the transmission buffer 309, and the fixed-length data is transmitted to the congestion detection unit 3.
06.

【0094】このようにして分離された固定長データ
は、輻輳検知部306において、自回線宛の輻輳通知情
報であるか否かが判別され、自回線宛の輻輳通知情報で
ある場合、第1の実施形態で示すような所定のアルゴリ
ズムに従い、パケットを格納するバッファ304−1〜
nからのパケットの読み出しが制御される。
The fixed-length data separated in this manner is judged by the congestion detecting unit 306 as to whether or not the congestion notification information is directed to the own line. According to a predetermined algorithm as shown in the embodiment,
The reading of packets from n is controlled.

【0095】この制御の方法は、第1の実施形態と同様
なものであり、複数段階設けられた閾値を基に、スイッ
チ部において発生した輻輳状態のレベルに従い、最も優
先度の高いパケットの読み出しを許可し、最も優先度の
低いパケットの破棄を実行するといった制御である。
This control method is the same as that of the first embodiment, and reads out a packet having the highest priority according to the level of the congestion state that has occurred in the switch section based on the threshold values provided in a plurality of stages. , And discarding the lowest priority packet.

【0096】上記の第1の実施形態のように、輻輳通知
用に設けられた専用の制御線を用いた場合では、スイッ
チ部が輻輳状態にあるか否かの2通りのみの判定のみし
か行えなかったのに対して、第3の実施形態のように、
スイッチ部の輻輳状態を固定長のデータにより通知し、
さらに輻輳検知部306が自回線のスイッチ部への送信
パケット量を監視することにより、第1の実施形態と比
較して、より詳細な輻輳状態の通知が可能となる。
When a dedicated control line provided for congestion notification is used as in the first embodiment, only two types of judgments as to whether the switch unit is in a congestion state can be performed. However, as in the third embodiment,
Notify the congestion state of the switch unit by fixed length data,
Further, the congestion detection unit 306 monitors the amount of packets transmitted to the switch unit of its own line, so that a more detailed notification of the congestion state can be made as compared with the first embodiment.

【0097】但し、第3の実施形態において、スイッチ
ングインタフェース受信部310から入力される固定長
データは、各回線部301において終端されるため、回
線に接続された他の機器に対して影響を与えないもので
ある。
However, in the third embodiment, the fixed-length data input from the switching interface receiving unit 310 is terminated at each line unit 301, so that it affects other devices connected to the line. Not something.

【0098】[0098]

【発明の効果】以上、説明したように、本発明のパケッ
ト交換装置及びパケット交換方法によれば、以下に揚げ
るような効果を得ることが可能である。
As described above, according to the packet switching apparatus and the packet switching method of the present invention, the following effects can be obtained.

【0099】{第1の実施形態による効果}先ず、本発
明の第1の実施形態によれば、パケット交換装置及びパ
ケット交換方法の大型化や高価格化の原因となるスイッ
チ部に設けられるバッファの記憶容量を増加させずに、
バースト的なトラフィックを受信した際にもパケットの
廃棄率を低く抑えることが可能となる。
{Effects of First Embodiment} First, according to the first embodiment of the present invention, the buffer provided in the switch unit which causes the size and cost of the packet switching device and the packet switching method to increase. Without increasing the storage capacity of
Even when bursty traffic is received, the packet discard rate can be kept low.

【0100】また、各回線毎に輻輳状態を検出するよう
構成されているため、実際の輻輳の原因となっている各
回線部101のみに対してパケットの制限を課すことが
可能となる。これは、他の回線には通常に動作させるこ
とが可能であるということである。
Further, since it is configured to detect the congestion state for each line, it is possible to impose a packet restriction only on each line unit 101 causing the actual congestion. This means that other lines can be operated normally.

【0101】更に、各回線部101において輻輳が検出
された際に、優先度の低いパケットから破棄するよう構
成されているため、優先度が高いパケットが廃棄される
確率を低減することが可能となり、従って、要求の高い
情報を保護することが可能となる。
Further, when congestion is detected in each line unit 101, packets are discarded from low priority packets, so that the probability of discarding high priority packets can be reduced. Therefore, it is possible to protect highly requested information.

【0102】また、輻輳の状態を複数の段階別に判断す
るように構成しているため、専用線を用いた制御と比較
してより輻輳の状態にあった制御が可能となる。
Further, since the state of congestion is determined for each of a plurality of stages, it is possible to perform control in a more congested state as compared with control using a dedicated line.

【0103】{第2の実施形態による効果}また、本発
明の第2の実施形態によれば、第1の実施形態による効
果において、優先度の高いパケットに対する保護を、よ
り高いレベルで実現することが可能となる。
{Effects of the Second Embodiment} According to the second embodiment of the present invention, in the effects of the first embodiment, protection of a high-priority packet is realized at a higher level. It becomes possible.

【0104】{第3の実施形態による効果}更に、本発
明の第3の実施形態によれば、第1の実施形態の動作
を、より発生している輻輳状態のレベルに合わせて実現
することが可能となる。
{Effects of Third Embodiment} Further, according to the third embodiment of the present invention, the operation of the first embodiment is realized in accordance with the level of the congestion state that is occurring more. Becomes possible.

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

【図1】本発明の第1の実施形態におけるシステム構成
を示すブロック図である。
FIG. 1 is a block diagram illustrating a system configuration according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態における輻輳検知部1
06の構成を示すブロック図である。
FIG. 2 is a diagram illustrating a congestion detection unit 1 according to the first embodiment of the present invention.
It is a block diagram which shows the structure of 06.

【図3】本発明の第3の実施形態におけるシステム構成
を示すブロック図である。
FIG. 3 is a block diagram illustrating a system configuration according to a third embodiment of the present invention.

【図4】一般的な高速ルータの構成例を示すブロック図
である。
FIG. 4 is a block diagram illustrating a configuration example of a general high-speed router.

【図5】一般的なIPデータグラムの構成例を示すブロ
ック図である。
FIG. 5 is a block diagram showing a configuration example of a general IP datagram.

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

101、301 各回線部 102、302 回線受信部 103、303 パケット振分部 104−1〜n、304−1〜n バッファ 105、305 パケット読出部 106、306 輻輳検知部 107、307 スイッチングインタフェース送信部 108、308 回線送信部 109、309 送信用バッファ 110、310 スイッチングインタフェース受信部 201 送信パケット量監視部 202 読出制御回路 203 タイマ 311 分離部 320 多重部 321 スイッチ部 322 輻輳通知部 101, 301 each line unit 102, 302 line receiving unit 103, 303 packet distribution unit 104-1 to n, 304-1 to n buffer 105, 305 packet reading unit 106, 306 congestion detecting unit 107, 307 switching interface transmitting unit 108, 308 Line transmission unit 109, 309 Transmission buffer 110, 310 Switching interface reception unit 201 Transmission packet amount monitoring unit 202 Read control circuit 203 Timer 311 Separation unit 320 Multiplexing unit 321 Switch unit 322 Congestion notification unit

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 パケットをスイッチングするパケット交
換装置であって、 生じた輻輳のレベルに応じて、スイッチングするパケッ
トを制限し、パケットを廃棄することを特徴とするパケ
ット交換装置。
1. A packet switching device for switching a packet, wherein the switching device restricts a packet to be switched according to a level of the congestion and discards the packet.
【請求項2】 回線より受信したデータの中からパケッ
トを抽出する回線受信手段と、 該回線受信手段により受信された前記パケットを割り当
てられた優先度毎に振り分けるパケット振分手段と、 前記パケットに割り当てられた優先度の種類数設けら
れ、前記パケット振分手段により振り分けられたパケッ
トを、前記優先度毎に一時格納する複数のバッファリン
グ手段と、 該バッファリング手段より前記格納されたパケットを読
み出すパケット読出手段と、 該パケット読出手段により所定の期間内に読み出した前
記パケットの有効バイト数を計測する輻輳検知手段と、 前記パケット読出手段により読み出した前記パケットを
スイッチングするスイッチング手段と、 該スイッチング手段において輻輳が生じていた場合、輻
輳通知信号を出力する輻輳通知手段と、 を有し、 前記輻輳検知手段は、予め所定の閾値が設定され、前記
輻輳通知手段により前記輻輳通知信号が通知された場
合、前記輻輳検知手段において計測している前記有効バ
イト数と前記所定の閾値とを比較し、該比較の結果に基
づいて、前記パケット読出手段を制御することを特徴と
するパケット交換装置。
2. A line receiving unit for extracting a packet from data received from a line, a packet distribution unit for distributing the packet received by the line receiving unit for each assigned priority, A plurality of buffering means for providing the number of types of assigned priorities and for temporarily storing the packets distributed by the packet distribution means for each priority, and reading the stored packets from the buffering means Packet reading means; congestion detecting means for measuring the number of valid bytes of the packet read within a predetermined period by the packet reading means; switching means for switching the packet read by the packet reading means; Output a congestion notification signal if congestion has occurred in A congestion notifying unit, wherein the congestion detecting unit is configured to set a predetermined threshold value in advance, and when the congestion notifying signal is notified by the congestion notifying unit, the congestion detecting unit measures the validity measured by the congestion detecting unit. A packet switching apparatus comprising: comparing the number of bytes with the predetermined threshold; and controlling the packet reading unit based on a result of the comparison.
【請求項3】 前記輻輳検知手段は、前記所定の閾値と
して、最も値の低い第1の閾値と、該第1の閾値よりも
値の大きい第2の閾値と、該第2の閾値よりも値の大き
い第3の閾値と、が設定されており、前記比較の結果、
前記有効バイト数が前記第1の閾値を超えている場合、
前記パケット読出手段に対して、最も優先度の高いパケ
ットが格納されている前記バッファリング手段からの前
記パケット読み出しのみを許可するよう制御し、前記比
較の結果、前記第2の閾値を超えている場合、前記パケ
ット読出手段に対して、全ての前記バッファリング手段
からの前記パケットの読み出しを禁止するよう制御し、
前記比較の結果、前記第3の閾値を超えている場合、前
記パケット読出手段に対して、最も優先度の低いパケッ
トが格納されている前記バッファリング手段に格納され
ている前記パケットを廃棄するよう制御することを特徴
とする請求項2記載のパケット交換装置。
3. The congestion detecting means includes a first threshold having a lowest value, a second threshold having a value larger than the first threshold, and a second threshold having a value higher than the second threshold as the predetermined threshold. And a third threshold having a large value are set. As a result of the comparison,
If the number of valid bytes exceeds the first threshold,
Controlling the packet reading means to permit only reading of the packet from the buffering means in which the highest-priority packet is stored, and as a result of the comparison, exceeding the second threshold value In the case, the packet reading unit controls to prohibit reading of the packet from all the buffering units,
As a result of the comparison, when the value exceeds the third threshold value, the packet reading unit is configured to discard the packet stored in the buffering unit in which the lowest priority packet is stored. 3. The packet switching device according to claim 2, wherein the packet switching device performs control.
【請求項4】 前記輻輳通知信号は、専用の制御線を介
して前記輻輳検知手段に入力されることを特徴とする請
求項2または3記載のパケット交換装置。
4. The packet switching device according to claim 2, wherein the congestion notification signal is input to the congestion detecting means via a dedicated control line.
【請求項5】 前記パケットと前記輻輳通知信号とを多
重化する多重化手段と、 該多重化手段により多重化された前記パケットと前記輻
輳通知信号とを分離する分離手段と、 をさらに有し、 前記輻輳通知信号は、前記パケット共通の伝送路を介し
て前記輻輳検知手段へ入力されることを特徴とする請求
項2または3記載のパケット交換装置。
5. A multiplexing unit for multiplexing the packet and the congestion notification signal, and a separating unit for separating the packet and the congestion notification signal multiplexed by the multiplexing unit. 4. The packet switching device according to claim 2, wherein the congestion notification signal is input to the congestion detection unit via a transmission path common to the packets.
【請求項6】 前記複数のバッファリング手段は、前記
優先度が高いパケットを格納する前記バッファリング手
段ほど、記憶容量を大きく構成することを特徴とする請
求項2から5のいずれか1項に記載のパケット交換装
置。
6. The apparatus according to claim 2, wherein the plurality of buffering units have a larger storage capacity as the buffering unit that stores the packets with the higher priority. The packet switching device according to the above.
【請求項7】 パケットをスイッチングするパケット交
換方法であって、 生じた輻輳のレベルに応じて、スイッチングするパケッ
トを制限し、パケットを廃棄することを特徴とするパケ
ット交換方法。
7. A packet switching method for switching packets, the method comprising limiting packets to be switched according to the level of congestion and discarding the packets.
【請求項8】 回線より受信したデータの中からパケッ
トを抽出する回線受信工程と、 該回線受信工程において受信した前記パケットを割り当
てられた優先度毎に振り分けるパケット振分工程と、 前記パケットに割り当てられた優先度の種類数設けられ
たバッファに、前記パケット振分手段により振り分けら
れたパケットを、前記優先度毎に一時格納するバッファ
リング工程と、 該バッファリング工程において前記格納されたパケット
を読み出すパケット読出工程と、 該パケット読出工程において所定の期間内に読み出され
た前記パケットの有効バイト数を計測する輻輳検知工程
と、 前記パケット読出工程において読み出された前記パケッ
トをスイッチングするスイッチング工程と、 該スイッチング工程において輻輳が生じた場合、輻輳通
知信号を出力する輻輳通知工程と、 を有し、 前記輻輳検知工程は、前記輻輳通知工程において前記輻
輳通知信号が通知された場合、計測している前記有効バ
イト数と予め設定されている所定の閾値とを比較し、該
比較の結果に基づいて、前記パケット読出工程を制御す
ることを特徴とするパケット交換方法。
8. A line receiving step of extracting a packet from data received from a line, a packet distributing step of distributing the packet received in the line receiving step for each assigned priority, and allocating the packet. A buffering step of temporarily storing the packets distributed by the packet distribution means in a buffer provided with the number of types of priorities assigned, for each of the priorities; and reading the stored packets in the buffering step A packet reading step; a congestion detecting step of measuring the number of valid bytes of the packet read within a predetermined period in the packet reading step; and a switching step of switching the packet read in the packet reading step. If congestion occurs in the switching step, A congestion notification step of outputting a notification signal, and wherein the congestion detection step, when the congestion notification signal is notified in the congestion notification step, the number of valid bytes being measured and a predetermined number set in advance A packet switching method, wherein the packet reading step is controlled based on a result of the comparison.
【請求項9】 前記輻輳検知工程は、前記所定の閾値と
して、最も値の低い第1の閾値と、該第1の閾値よりも
値の大きい第2の閾値と、該第2の閾値よりも値の大き
い第3の閾値と、が設定されており、前記比較の結果、
前記有効バイト数が前記第1の閾値を超えている場合、
前記パケット読出工程において、最も優先度の高いパケ
ットが格納されている前記バッファからの前記パケット
読み出しのみを許可するよう制御し、前記比較の結果、
前記第2の閾値を超えている場合、前記パケット読出工
程において、全ての前記バッファからの前記パケットの
読み出しを禁止するよう制御し、前記比較の結果、前記
第3の閾値を超えている場合、前記パケット読出工程に
おいて、最も優先度の低いパケットが格納されている前
記バッファに格納されている前記パケットを廃棄するよ
う制御することを特徴とする請求項8記載のパケット交
換方法。
9. The congestion detecting step may include, as the predetermined threshold, a first threshold having a lowest value, a second threshold having a value larger than the first threshold, and a second threshold being larger than the second threshold. And a third threshold having a large value are set. As a result of the comparison,
If the number of valid bytes exceeds the first threshold,
In the packet reading step, control is performed to permit only reading of the packet from the buffer in which the highest priority packet is stored, and as a result of the comparison,
If the value exceeds the second threshold, in the packet reading step, control is performed to prohibit reading of the packet from all the buffers. As a result of the comparison, when the value exceeds the third threshold, 9. The packet switching method according to claim 8, wherein in the packet reading step, control is performed to discard the packet stored in the buffer in which the lowest priority packet is stored.
【請求項10】 前記輻輳通知信号は、専用の制御線を
介して伝送されることを特徴とする請求項8または9記
載のパケット交換方法。
10. The packet switching method according to claim 8, wherein the congestion notification signal is transmitted via a dedicated control line.
【請求項11】 前記パケットと前記輻輳通知信号とを
多重化する多重化工程と、 該多重化工程において多重化された前記パケットと前記
輻輳通知信号とを分離する分離工程と、 をさらに有し、 前記輻輳通知信号は、前記パケット共通の伝送路を介し
て伝送されることを特徴とする請求項8または9記載の
パケット交換方法。
11. A multiplexing step of multiplexing the packet and the congestion notification signal, and a separating step of separating the packet and the congestion notification signal multiplexed in the multiplexing step. 10. The packet switching method according to claim 8, wherein the congestion notification signal is transmitted via a transmission path common to the packets.
【請求項12】 前記バッファは、前記優先度が高いパ
ケットを格納する前記バッファほど、記憶容量を大きく
構成されることを特徴とする請求項8から11のいずれ
か1項に記載のパケット交換方法。
12. The packet switching method according to claim 8, wherein the buffer configured to store the higher priority packet has a larger storage capacity. .
JP2000157990A 2000-05-24 2000-05-24 Packet switching device and packet switching method Expired - Fee Related JP3508697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000157990A JP3508697B2 (en) 2000-05-24 2000-05-24 Packet switching device and packet switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000157990A JP3508697B2 (en) 2000-05-24 2000-05-24 Packet switching device and packet switching method

Publications (2)

Publication Number Publication Date
JP2001339433A true JP2001339433A (en) 2001-12-07
JP3508697B2 JP3508697B2 (en) 2004-03-22

Family

ID=18662530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000157990A Expired - Fee Related JP3508697B2 (en) 2000-05-24 2000-05-24 Packet switching device and packet switching method

Country Status (1)

Country Link
JP (1) JP3508697B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009272906A (en) * 2008-05-08 2009-11-19 Mitsubishi Electric Corp Message relaying apparatus
JPWO2016163015A1 (en) * 2015-04-09 2017-11-30 三菱電機株式会社 Communication relay device and air conditioning cooling / heating system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009272906A (en) * 2008-05-08 2009-11-19 Mitsubishi Electric Corp Message relaying apparatus
JP4629126B2 (en) * 2008-05-08 2011-02-09 三菱電機株式会社 Message relay device
JPWO2016163015A1 (en) * 2015-04-09 2017-11-30 三菱電機株式会社 Communication relay device and air conditioning cooling / heating system

Also Published As

Publication number Publication date
JP3508697B2 (en) 2004-03-22

Similar Documents

Publication Publication Date Title
KR100949245B1 (en) Congestion notification in 3g radio access
US7477601B1 (en) Methods and apparatus for managing a flow of packets using change and reply signals
JP4260631B2 (en) Method and apparatus for network congestion control
US7359321B1 (en) Systems and methods for selectively performing explicit congestion notification
US6847646B1 (en) Network coupling device with small cell memory
KR100875739B1 (en) Apparatus and method for packet buffer management in IP network system
JP5044653B2 (en) Control of congestion detection in HSDPA system
US20010012272A1 (en) Flow control technique for traffic in a high speed paket switching network
US7706277B2 (en) Selective flow control
US7236458B2 (en) Method for monitoring traffic in packet switched network
US7602809B2 (en) Reducing transmission time for data packets controlled by a link layer protocol comprising a fragmenting/defragmenting capability
CN113206800B (en) Message caching method and device and network equipment
CN111052689B (en) Hybrid packet memory for buffering packets in a network device
KR101017532B1 (en) Method for flow control in a communication system
JP2757779B2 (en) Buffer priority control method
JP2009027400A (en) Excessive flow detecting apparatus, excessive flow detecting circuit, terminal apparatus, and network node
US6418118B1 (en) Network device including selective discard of packets
WO2000057606A1 (en) Discarding traffic in ip networks to optimize the quality of speech signals
JP3508697B2 (en) Packet switching device and packet switching method
WO2000011841A1 (en) Method and system for prioritised congestion control in a switching hub
US6418119B1 (en) Data transmission apparatus and method thereof
JP4531660B2 (en) Packet relay device
RU2313915C2 (en) Method and device for notifying about overload in packet transmission networks with indication of several different causes of overload
JP6281338B2 (en) Transmission apparatus and transmission method
EP0932321A2 (en) Method and apparatus for selectively discarding ATM cells

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031215

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

Free format text: PAYMENT UNTIL: 20080109

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees