JP2006020027A - Method, system, device, and program for communication flow control - Google Patents

Method, system, device, and program for communication flow control Download PDF

Info

Publication number
JP2006020027A
JP2006020027A JP2004195344A JP2004195344A JP2006020027A JP 2006020027 A JP2006020027 A JP 2006020027A JP 2004195344 A JP2004195344 A JP 2004195344A JP 2004195344 A JP2004195344 A JP 2004195344A JP 2006020027 A JP2006020027 A JP 2006020027A
Authority
JP
Japan
Prior art keywords
priority
transmission
frame
group
flow control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004195344A
Other languages
Japanese (ja)
Inventor
Fumio Katayama
文雄 片山
Muneyoshi Suzuki
宗良 鈴木
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2004195344A priority Critical patent/JP2006020027A/en
Publication of JP2006020027A publication Critical patent/JP2006020027A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method, device, and program for communication flow control that perform excellent flow control. <P>SOLUTION: Frames with priority which are received from a device connected to a communication port are accumulated in respective queues corresponding to priority or a priority group and then a transmission stop indication frame indicating the stop of transmission to the priority or the priority group when the amount of frames accumulated in the queue corresponding to the priority or the priority group exceeds its threshold or a transmission restart indication frame indicating the restart of transmission for a priority or priority group when not is sent to the device connected to the communication port. The device connected to the communication port stops transmitting frames corresponding to the priority or the priority group when receiving the transmission stop indication frame for the priority or the priority group and restarts transmitting frames corresponding to the priority or the priority group when receiving the transmission restart indication frame for the priority or the priority group. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本究明は、通信フロー制御方法及び装置に関し、特に、ノードと端末間、もしくは、ノード間をリンクにより接続する転送網において良好なフロー制御を行う技術に関するものである。   The present invention relates to a communication flow control method and apparatus, and more particularly to a technique for performing good flow control in a transfer network in which nodes and terminals or nodes are connected by links.

従来のフロー制御技術の一例として、PAUSE機能がIEEE802.3に規定されている。このPAUSE機能によれば、全二重型イーサネット(登録商標)リンクにおいてフロー制御を行うことが可能である。そのため、予想される安定状態でのネットワークトラフィックと、その負荷が一時的に、ある程度増大した場合の負荷に対応できるように設計されたデバイスにおいて、予想されているレベルを超える負荷が一時的にかかった場合、全二重型リンクの相手側に対してPAUSEフレームを送信することにより、PAUSEフレームを受信した相手側は、データフレームの送信を停止する。従って、スイッチあるいは端末が、一時的な過負荷状態による入力バッファオーバフローのために、不必要にフレームを破棄するのを防ぐことができる。このようなフロー制御技術では、停止(停止する時間情報を含む)・再開といったシンプルな機構により、バッファオーバフローを回避するシステムを構成することができる。また、PAUSEフレームはデータフレームの送信を抑えるが、MAC制御フレーム(例えば、逆方向からのPAUSEフレーム)の送信には影響を与えない(例えば、非特許文献1を参照)。   As an example of a conventional flow control technique, a PAUSE function is defined in IEEE 802.3. According to this PAUSE function, it is possible to perform flow control in a full-duplex Ethernet (registered trademark) link. As a result, devices that are designed to handle the expected steady-state network traffic and the load when the load temporarily increases to some extent are temporarily subjected to loads that exceed expected levels. In this case, by transmitting the PAUSE frame to the other side of the full-duplex link, the other side that has received the PAUSE frame stops transmitting the data frame. Therefore, it is possible to prevent the switch or the terminal from unnecessarily discarding the frame due to an input buffer overflow due to a temporary overload condition. In such a flow control technique, a system that avoids buffer overflow can be configured by a simple mechanism such as stop (including time information to stop) and restart. Further, the PAUSE frame suppresses the transmission of the data frame, but does not affect the transmission of the MAC control frame (for example, the PAUSE frame from the reverse direction) (for example, see Non-Patent Document 1).

また、半二重方式では、PAUSEフレームの代わりに、スイッチに入ってくるフレームを強制的に衝突させるバックプレッシャにより,フレームの送信を停止することで実現される。   Further, the half-duplex method is realized by stopping frame transmission by back pressure that forcibly collides a frame entering the switch instead of the PAUSE frame.

また、従来技術として、ポート単位で優先度を指定したフロー制御が可能なスイッチングハブにおけるフロー制御方式の一例が開示されている。具体的には、複数のポートで受信した端末からのデータをバッファに格納し、このバッファ内のデータ量がある閾値を超えたとき、各ポートに接続されている端末に対して送信停止時間をパラメータに持つ送信停止指示を出すことにより、受信を休止するスイッチングハブにおいて、この送信停止時間を各ポート単位に異なる値とすることができる(例えば、特許文献1を参照。)。   In addition, as a conventional technique, an example of a flow control method in a switching hub capable of performing flow control in which priority is designated in units of ports is disclosed. Specifically, data from terminals received at a plurality of ports is stored in a buffer, and when the amount of data in the buffer exceeds a certain threshold, a transmission stop time is set for the terminals connected to each port. By issuing a transmission stop instruction as a parameter, the transmission stop time can be set to a different value for each port in a switching hub that stops reception (see, for example, Patent Document 1).

さらに、従来技術として、音声や動画等を含む場合における通信制御方法及びネットワークシステムの一例が開示されている。具体的には、ネットワークにおけるスイッチやホストにおいて、優先フロー及びベストエフオートの合計帯域が一定値以上であるとき、プライオリティコントロールにより優先フローを優先させるとともに、フローコントロールによりベストエフォートの帯域を規制することにより、音声や動画などの優先したいデータを乱れなく転送することができる(例えば、特許文献2参照)。   Furthermore, as a conventional technique, an example of a communication control method and a network system in the case of including voice, moving images, and the like is disclosed. Specifically, when the total bandwidth of the priority flow and best-f-auto is equal to or greater than a certain value in a switch or host in the network, the priority flow is prioritized by priority control and the best-effort bandwidth is regulated by flow control. Thus, it is possible to transfer data to be prioritized such as voice and moving images without any disturbance (see, for example, Patent Document 2).

IEEE Std.802.3−2002 Annex31BIEEE Std. 802.3-2002 Annex 31B 特開2000−209250号公報JP 2000-209250 A 特開2003−124956号公報JP 2003-124756 A

しかしながら、前述の非特許文献1の技術では、次のような問題があった。すなわち、IEEE802.3の規定において、PAUSEフレーム100は、図1に示すように、PAUSEのために一意に予約されたマルチキャストアドレス「01−80−C2−00−01」を宛先アドレス、PAUSEフレームを送信する装置のユニキャストアドレスを送信元アドレス、MAC制御を表すタイプフィールド「0x8808」、MAC制御のうちPAUSEを表すMAC制御命令である「0x0001」及びPAUSE時間と呼ばれる一つのパラメータを持つ。このPAUSE時間パラメータは、要求する停止時間の長さを512ビット時間を1単位として2バイトの符号なし整数値で指定し、送信停止時間を指示する。このため、ポート単位でのフロー制御を実現するに留まる。   However, the technique of Non-Patent Document 1 described above has the following problems. That is, in the IEEE 802.3 standard, as shown in FIG. 1, the PAUSE frame 100 has a multicast address “01-80-C2-00-01” uniquely reserved for PAUSE as a destination address and a PAUSE frame as a destination address. It has a unicast address of a transmitting apparatus as a transmission source address, a type field “0x8808” representing MAC control, a MAC control command “0x0001” representing PAUSE in MAC control, and one parameter called PAUSE time. This PAUSE time parameter specifies the length of the requested stop time by a 2-byte unsigned integer value with 512 bit time as one unit, and indicates the transmission stop time. For this reason, the flow control per port is only realized.

また、前述の特許文献1の技術では、送信停止時間がポート単位で異なる値を指定できるにすぎず、接続されたポートにさらに別の装置を介して複数の端末が接続される形態において、送信停止が指示される状況においては、これらの複数の端末からの送信が同時に停止されることになる。
このため、これら複数の端末に対し送信停止指示の差を設けることはできないという問題があった。
Moreover, in the technique of the above-mentioned patent document 1, transmission stop time can only specify a different value for each port, and transmission is performed in a form in which a plurality of terminals are connected to a connected port via another device. In a situation where a stop is instructed, transmissions from these multiple terminals are stopped simultaneously.
For this reason, there has been a problem that a difference in transmission stop instruction cannot be provided for the plurality of terminals.

また、前述の特許文献2の技術では、次のような問題があった。即ち、この技術では、2種類のトラヒックが存在する場合に、何れか一方のトラヒックに対してフローコントロールを行わず、優先的に送信する。このため、優先フローについてはフローコントロールが働かないため、優先フローが過負荷状態となりバッファオーバフローが生じる状態を回避することが不可能である問題があった。   Further, the technique disclosed in Patent Document 2 has the following problems. That is, in this technique, when there are two types of traffic, flow control is not performed on any one of the traffics, but transmission is performed with priority. For this reason, since flow control does not work for the priority flow, there is a problem that it is impossible to avoid a situation in which the priority flow is overloaded and a buffer overflow occurs.

本発明は、これらの従来技術の問題を解決するためになされたものであり、その目的は、良好なフロー制御が可能な通信フロー制御方法、システム、装置及びプログラムを提供することにある。   The present invention has been made to solve these problems of the prior art, and an object of the present invention is to provide a communication flow control method, system, apparatus, and program capable of good flow control.

本発明は、ノードと端末間、もしくはノード間をリンクにより接続する転送網における通信フロー制御方法において、
ノードもしくは端末は、通信ポートに接続された装置から受信した優先度情報が付加されたフレームを、各フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させるステップと、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた否かを判断するステップと、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた場合には、当該優先度もしくは優先度グループに対して送信停止を指示する送信停止指示フレームを通信ポートに接続された装置に送信するステップと、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値に満たない場合、当該優先度もしくは優先度グループに対して送信再開を指示する送信再開指示フレームを通信ポートに接続された装置に送信するステップとを有し、
前記通信ポートに接続された装置は、
前記ノードもしくは端末から優先度毎もしくは優先度グループ毎の送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止するステップと、
前記ノードもしくは端末から優先度毎もしくは優先度グループ毎の送信再開指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を再開するステップとを有することを特徴とする。
The present invention relates to a communication flow control method in a transfer network in which nodes and terminals or nodes are connected by a link.
The node or terminal distributes the frame with the priority information received from the device connected to the communication port according to the priority or priority group of each frame and accumulates them in the respective queues;
Determining whether the amount of frames accumulated in each queue exceeds a respective threshold;
When the amount of frames accumulated in each queue exceeds the respective threshold value, a transmission stop instruction frame that instructs the priority or priority group to stop transmission is transmitted to a device connected to the communication port. Steps,
A step of transmitting a transmission resumption instruction frame instructing transmission resumption to the priority or priority group to a device connected to the communication port when the amount of frames accumulated in each queue is less than the threshold value; Have
The device connected to the communication port is
A step of stopping transmission of a frame corresponding to the priority or priority group when receiving a transmission stop instruction frame for each priority or priority group from the node or terminal;
And a step of resuming transmission of a frame corresponding to the priority or priority group when a transmission resumption instruction frame for each priority or priority group is received from the node or terminal.

本発明の通信フロー制御方法においては、
前記優先度毎もしくは優先度グループ毎に前記送信停止指示フレームを送信するステップにおいて、前記送信停止指示フレームとして送信停止時間をパラメータに持つ送信停止指示フレームを送信し、
前記送信停止および送信再開ステップにおいて、優先度毎もしくは優先度グループ毎の送信停止時間をパラメータに持つ送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止させ、前記送信停止時間が経過した時点もしくは当該優先度もしくは優先度グループに対する送信再開指示フレームの受信時点の何れか早い時点で送信を再開させるようにすることもできる。
In the communication flow control method of the present invention,
In the step of transmitting the transmission stop instruction frame for each priority or priority group, a transmission stop instruction frame having a transmission stop time as a parameter is transmitted as the transmission stop instruction frame,
In the transmission stop and transmission restart steps, when a transmission stop instruction frame having a transmission stop time for each priority or priority group as a parameter is received, transmission of the frame corresponding to the priority or priority group is stopped The transmission can be resumed at the earlier point of time when the transmission stop time elapses or when the transmission resumption instruction frame for the priority or priority group is received.

本発明の通信フロー制御方法を実施する通信フロー制御システムは、
ノードもしくは端末が、通信ポートに接続された装置から受信した優先度情報が付加されたフレームを、各フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた否かを判断する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた場合には、当該優先度もしくは優先度グループに対して送信停止を指示する送信停止指示フレームを通信ポートに接続された装置に送信する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値に満たない場合、当該優先度もしくは優先度グループに対して送信再開を指示する送信再開指示フレームを通信ポートに接続された装置に送信する機能とを有し、
前記通信ポートに接続された装置が、
前記ノードもしくは端末へ送信する優先度情報が付加されたフレームを、各フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
前記ノードもしくは端末から優先度毎もしくは優先度グループ毎の送信停止指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を停止する機能と、
前記ノードもしくは端末から優先度毎もしくは優先度グループ毎の送信再開指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を再開する機能とを有することを特徴とする。
A communication flow control system that implements the communication flow control method of the present invention includes:
A function in which a node or terminal distributes a frame to which priority information received from a device connected to a communication port is added according to the priority or priority group of each frame and stores the frame in each queue;
A function for determining whether or not the amount of frames accumulated in each queue exceeds the respective threshold;
When the amount of frames accumulated in each queue exceeds the respective threshold value, a transmission stop instruction frame that instructs the priority or priority group to stop transmission is transmitted to a device connected to the communication port. Function and
A function of transmitting a transmission resumption instruction frame for instructing resumption of transmission to the priority or priority group to a device connected to the communication port when the amount of frames accumulated in each queue is less than the respective thresholds; Have
A device connected to the communication port is
A function of distributing frames according to the priority or priority group of each frame and storing the frames with priority information to be transmitted to the node or terminal in each queue;
A function to stop transmission of frames corresponding to the priority or priority group stored in the queue when receiving a transmission stop instruction frame for each priority or priority group from the node or terminal;
A function of resuming transmission of frames corresponding to the priority or priority group stored in the queue when receiving a transmission resumption instruction frame for each priority or priority group from the node or terminal; It is characterized by having.

本発明の通信フロー制御システムにおいては、
前記優先度毎もしくは優先度グループ毎に前記送信停止指示フレームを送信する機能が、前記送信停止指示フレームとして送信停止時間をパラメータに持つ送信停止指示フレームを送信し、
前記送信停止および送信再開機能が、優先度毎もしくは優先度グループ毎の送信停止時間をパラメータに持つ送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止させ、前記送信停止時間が経過した時点もしくは当該優先度もしくは優先度グループに対する送信再開指示フレームの受信時点の何れか早い時点で送信を再開させるようにすることもできる。
In the communication flow control system of the present invention,
The function of transmitting the transmission stop instruction frame for each priority or priority group, a transmission stop instruction frame having a transmission stop time as a parameter as the transmission stop instruction frame,
When the transmission stop and transmission restart function receives a transmission stop instruction frame having a transmission stop time for each priority or priority group as a parameter, transmission of the frame corresponding to the priority or the priority group is stopped. The transmission can be resumed at the earlier point of time when the transmission stop time elapses or when the transmission resumption instruction frame for the priority or priority group is received.

本発明のフロー制御システムに使用するノードもしくは端末は通信フロー制御装置を備え、該フロー制御装置は、
通信ポートに接続された装置から受信した優先度情報が付加されたフレームを、フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた否かを判断する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた場合には、当該優先度もしくは優先度グループに対して送信停止を指示する送信停止指示フレームを通信ポートに接続された装置に送信する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値に満たない場合、当該優先度もしくは優先度グループに対して送信再開を指示する送信再開指示フレームを通信ポートに接続された装置に送信する機能とを有することを特徴とする。
A node or terminal used in the flow control system of the present invention includes a communication flow control device, and the flow control device includes:
A function for distributing frames to which priority information received from a device connected to a communication port is added according to the priority or priority group of the frames and storing them in respective queues;
A function for determining whether or not the amount of frames accumulated in each queue exceeds the respective threshold;
When the amount of frames accumulated in each queue exceeds the respective threshold value, a transmission stop instruction frame that instructs the priority or priority group to stop transmission is transmitted to a device connected to the communication port. Function and
A function of transmitting a transmission resumption instruction frame for instructing resumption of transmission to the priority or priority group to a device connected to the communication port when the amount of frames accumulated in each queue is less than the respective thresholds; It is characterized by having.

本発明の通信フロー制御装置装置は、さらに、
前記通信ポートに接続された装置へ送信する優先度情報が付加されたフレームを、フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
前記通信ポートに接続された装置から優先度毎もしくは優先度グループ毎の送信停止指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を停止する機能と、
前記通信ポートに接続された装置から優先度毎もしくは優先度グループ毎の送信再開指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を再開する機能とを有することを特徴とする。
The communication flow control device of the present invention further includes:
A function for distributing frames to which priority information to be transmitted to devices connected to the communication port is added according to the priority or priority group of the frames and storing the frames in respective queues;
When a transmission stop instruction frame for each priority or priority group is received from a device connected to the communication port, transmission of the frame corresponding to the priority or the priority group stored in the queue is stopped. Function to
When a transmission resumption instruction frame for each priority or priority group is received from a device connected to the communication port, transmission of the frame corresponding to the priority or the priority group stored in the queue is resumed. It has the function to perform.

本発明の通信フロー制御装置においては、
前記優先度毎もしくは優先度グループ毎に前記送信停止指示フレームを送信する機能が、前記送信停止指示フレームとして送信停止時間をパラメータに持つ送信停止指示フレームを送信し、
前記送信停止および送信再開機能が、優先度毎もしくは優先度グループ毎の送信停止時間をパラメータに持つ送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止させ、前記送信停止時間が経過した時点もしくは当該優先度もしくは優先度グループに対する送信再開指示フレームの受信時点の何れか早い時点で送信を再開させるようにすることもできる。
In the communication flow control device of the present invention,
The function of transmitting the transmission stop instruction frame for each priority or priority group, a transmission stop instruction frame having a transmission stop time as a parameter as the transmission stop instruction frame,
When the transmission stop and transmission restart function receives a transmission stop instruction frame having a transmission stop time for each priority or priority group as a parameter, transmission of the frame corresponding to the priority or the priority group is stopped. The transmission can be resumed at the earlier point of time when the transmission stop time elapses or when the transmission resumption instruction frame for the priority or priority group is received.

本発明のフロー制御装置を実現するためのコンピュータプログラムは、ノードもしくは端末を構成するコンピュータに、
通信ポートに接続された装置から受信した優先度情報が付加されたフレームを、フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた否かを判断する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた場合には、当該優先度もしくは優先度グループに対して送信停止を指示する送信停止指示フレームを通信ポートに接続された装置に送信する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値に満たない場合、当該優先度もしくは優先度グループに対して送信再開を指示する送信再開指示フレームを通信ポートに接続された装置に送信する機能とを実現させることを特徴とする。
A computer program for realizing the flow control device of the present invention is stored in a computer constituting a node or a terminal.
A function for distributing frames to which priority information received from a device connected to a communication port is added according to the priority or priority group of the frames and storing them in respective queues;
A function for determining whether or not the amount of frames accumulated in each queue exceeds the respective threshold;
When the amount of frames accumulated in each queue exceeds the respective threshold value, a transmission stop instruction frame that instructs the priority or priority group to stop transmission is transmitted to a device connected to the communication port. Function and
A function of transmitting a transmission resumption instruction frame for instructing resumption of transmission to the priority or priority group to a device connected to the communication port when the amount of frames accumulated in each queue is less than the respective thresholds; It is characterized by realizing.

本発明のコンピュータプログラムは、さらに、
前記通信ポートに接続された装置へ送信する優先度情報が付加されたフレームを、フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
前記通信ポートに接続された装置から優先度毎もしくは優先度グループ毎の送信停止指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を停止する機能と、
前記通信ポートに接続された装置から優先度毎もしくは優先度グループ毎の送信再開指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を再開する機能とを実現させることを特徴とする。
The computer program of the present invention further includes
A function for distributing frames to which priority information to be transmitted to devices connected to the communication port is added according to the priority or priority group of the frames and storing the frames in respective queues;
When a transmission stop instruction frame for each priority or priority group is received from a device connected to the communication port, transmission of the frame corresponding to the priority or the priority group stored in the queue is stopped. Function to
When a transmission resumption instruction frame for each priority or priority group is received from a device connected to the communication port, transmission of the frame corresponding to the priority or the priority group stored in the queue is resumed. It realizes the function to perform.

本発明のコンピュータプログラムは、
前記優先度毎もしくは優先度グループ毎に前記送信停止指示フレームを送信する機能において、前記送信停止指示フレームとして送信停止時間をパラメータに持つ送信停止指示フレームを送信させ、
前記送信停止および送信再開機能において、優先度毎もしくは優先度グループ毎の送信停止時間をパラメータに持つ送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止させ、前記送信停止時間が経過した時点もしくは当該優先度もしくは優先度グループに対する送信再開指示フレームの受信時点の何れか早い時点で送信を再開させることもできる。
The computer program of the present invention is:
In the function of transmitting the transmission stop instruction frame for each priority or priority group, the transmission stop instruction frame having a transmission stop time as a parameter is transmitted as the transmission stop instruction frame,
In the transmission stop and transmission restart function, when a transmission stop instruction frame having a transmission stop time for each priority or priority group as a parameter is received, transmission of the frame corresponding to the priority or the priority group is stopped. The transmission can be resumed when the transmission stop time elapses or when the transmission resumption instruction frame for the priority or priority group is received, whichever comes first.

本発明の通信フロー制御方法、システム、装置およびコンピュータプログラムにおいては、
前記通信フロー制御をイーサネット(登録商標)の全二重通信において実行するために、
前記送信停止指示および前記送信再開指示フレームとして、IEEE802.3に規定されたPAUSEフレームに、IEEE802.1Qに規定されたユーザプライオリティ値(もしくはユーザプライオリティ群)、またはRFC2474に規定されたDSCP(Diffserv Code Point)値(もしくはDSCP群)、またはRFC791に規定されたToS(Type of Service)値(もしくはToS群)、もしくはこれらの二つ以上の組み合わせの情報を付加したフレームを送信することによって、対向のノードもしくは端末の送信停止指示、送信再開指示を行うことができる。
In the communication flow control method, system, apparatus and computer program of the present invention,
In order to execute the communication flow control in full-duplex communication of Ethernet (registered trademark),
As the transmission stop instruction and the transmission resumption instruction frames, a PAUSE frame defined in IEEE 802.3, a user priority value (or user priority group) defined in IEEE 802.1Q, or a DSCP (Diffserv Code defined in RFC 2474). Point) value (or DSCP group), ToS (Type of Service) value (or ToS group) defined in RFC791, or a frame with information on a combination of two or more of them is transmitted, A node or terminal transmission stop instruction and transmission restart instruction can be issued.

本発明は、上記の構成を特徴とするものであるから、以下に示す効果を奏する。本発明では、一つのポートに複数の優先度を付したフレームが送受信される場合、一つのポート全てを送信停止とする指示をだすのではなく、特定の優先度をもつフレームのみを送信停止とすることができる。例えば、音声通信フレームの優先度値と、映像ストリーミングを含むフレームの優先度値が異なるような設定をしておけば、映像ストリーミングを含むフレームに対してのみ送信停止指示を行うことが可能であるから、音声通信のフレームは送信停止されない。   Since the present invention is characterized by the above-described configuration, the following effects can be obtained. In the present invention, when a frame with a plurality of priorities is transmitted / received to one port, it is determined not to issue an instruction to stop transmission of all one port but to stop transmission of only a frame having a specific priority. can do. For example, if the priority value of the audio communication frame and the priority value of the frame including video streaming are set to be different, it is possible to issue a transmission stop instruction only to the frame including video streaming. Therefore, transmission of voice communication frames is not stopped.

以下、本発明の実施の形態について図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

本発明の第1の実施例におけるフロー制御システムの構成について説明する。図3は、第1の実施例における通信フロー制御システムの構成を示すブロック図であり、30は端末、31は通信ポート321からリンク322を介して端末30の通信ポート320に接続された、フロー制御機能を有するノードであって、以後フロー制御装置という。   The configuration of the flow control system in the first embodiment of the present invention will be described. FIG. 3 is a block diagram showing the configuration of the communication flow control system in the first embodiment, in which 30 is a terminal, 31 is a flow connected from the communication port 321 to the communication port 320 of the terminal 30 via a link 322. A node having a control function, hereinafter referred to as a flow control device.

端末30における振り分け部352は、キュー301〜304に接続される。キュー301〜304は、夫々、遅延機構391〜394を備え、コレクタ350と振り分け部351に接続される。また、コレクタ350と振り分け部351は通信ポート320に接続される。   The distribution unit 352 in the terminal 30 is connected to the queues 301 to 304. The queues 301 to 304 include delay mechanisms 391 to 394, respectively, and are connected to the collector 350 and the distribution unit 351. Further, the collector 350 and the distribution unit 351 are connected to the communication port 320.

フロー制御装置31においては、キュー311〜314を有し、閾値チェック機構331〜334および341〜344と、閾値判断ロジック381〜384を備える。また、入力したフレームをキュー311〜314に振り分けるための振り分け部361および、キュー311〜314からのフレームを集約して出力するコレクタ362を備える。   The flow control device 31 includes queues 311 to 314 and includes threshold check mechanisms 331 to 334 and 341 to 344 and threshold determination logics 381 to 384. In addition, a distribution unit 361 for distributing input frames to the queues 311 to 314 and a collector 362 for collecting and outputting frames from the queues 311 to 314 are provided.

閾値判断ロジック381は、閾値チェック機構331および341に接続される。同様に、閾値判断ロジック382は、閾値チェック機構332および342に接続され、閾値判断ロジック383は、閾値チェック機構333および343に接続され、閾値判断ロジック384は、閾値チェック機構334および344に接続される。閾値判断ロジック381〜384はコレクタ360と接続され コレクタ360は通信ポート321と接続される。   The threshold determination logic 381 is connected to the threshold check mechanisms 331 and 341. Similarly, threshold determination logic 382 is connected to threshold check mechanisms 332 and 342, threshold determination logic 383 is connected to threshold check mechanisms 333 and 343, and threshold determination logic 384 is connected to threshold check mechanisms 334 and 344. The The threshold determination logics 381 to 384 are connected to the collector 360, and the collector 360 is connected to the communication port 321.

次に、本発明の第1の実施例における通信フロー制御装置の動作(手順)について説明する。
振り分け部352は、スイッチやルータ、アプリケーション等により、優先度情報が付加されたフレームを、フレームの優先度に応じてキュー301〜304に振り分ける。キュー301〜304に振り分けられたフレームは、一旦蓄積され、遅延機構391〜394による送信停止の指示がなければ、コレクタ350によりスケジューリングされ通信ポート320を通じてリンク322に出力される。
Next, the operation (procedure) of the communication flow control apparatus according to the first embodiment of the present invention will be described.
The distribution unit 352 distributes the frame to which the priority information is added to the queues 301 to 304 according to the priority of the frame by a switch, a router, an application, or the like. The frames distributed to the queues 301 to 304 are temporarily stored. If there is no instruction to stop transmission by the delay mechanisms 391 to 394, the frames are scheduled by the collector 350 and output to the link 322 through the communication port 320.

通信ポート321から入力されたフレームは、振り分け部361においてフレームの優先度に応じてキュー311〜314に振り分けられ、コレクタ362によりスケジューリングされる。   The frame input from the communication port 321 is distributed to the queues 311 to 314 according to the priority of the frame by the distribution unit 361 and scheduled by the collector 362.

振り分け部361には、クラシファイア機能が含まれ、さらにメータリング機能、マーキング機能、シェーピング機能、ポリシング機能を含んでも含まなくても良い。
クラシファイア機能において、振り分けるためのキーとするフレーム情報としては、IEEE802.1Qで定義される優先度、IETF RFC2474に規定されたDSCP〈Diffserv Code Point〉やRFC791に規定されたToS(Type of Service)等が挙げられる。また、将来フレーム構成が拡張され、優先度として用いることができる要素が増える場合や、フレーム構成要素が優先度として扱うよう変更された場合についても、その任意の構成要素をキーとして良い。
The sorting unit 361 includes a classifier function, and may or may not include a metering function, a marking function, a shaping function, and a policing function.
In the classifier function, frame information as a key for distribution includes priority defined in IEEE802.1Q, DSCP <Diffserv Code Point> defined in IETF RFC2474, ToS (Type of Service) defined in RFC791, etc. Is mentioned. Further, even when the frame configuration is expanded in the future and there are more elements that can be used as priorities, or when the frame constituent elements are changed to be handled as priorities, those arbitrary constituent elements may be used as keys.

また、優先度の総数がキューの総数と同数かそれ以下である場合は、予め定めたマッピングにより振り分けするが、優先度の総数がキューの総数より多い場合は、予めどの優先度群とキューとの対応を括りつけるテーブルを持つことでキューの選択をするか、優先度のハッシュ関数やカオス関数など一意に定まる関数の出力値から導いてキューの選択をしてもよい。   Also, if the total number of priority is less than or equal to or equal to the total number of queues will be distributed by a predetermined mapping, if the total number of priority is larger than the total number of queues, and the queue advance any priority group The queue may be selected by having a table that ties the correspondences of the queues, or the queue may be selected by deriving from the output value of a uniquely determined function such as a priority hash function or chaos function.

キュー311〜314に振り分けられたフレームは、一旦蓄積され、コレクタ362によりフェッチされる。
キュー311〜314では、Drop Tail、Drop Head、RED、RIO、WRED、Deterministic Discard方式等の各種バッファ管理機構を備えても良い。
The frames distributed to the queues 311 to 314 are temporarily accumulated and fetched by the collector 362.
The queues 311 to 314 may include various buffer management mechanisms such as Drop Tail, Drop Head, RED, RIO, WRED, and Deterministic Discard.

キュー311〜314には,それぞれ閾値判断ロジック381〜384を備え、閾値チェック機構331〜334及び341〜344がチェックするための閾値を設定できるものとする。
キュー311〜314内のフレーム量がそれぞれ閾値331〜334を超えた場合、閾値判断ロジック381〜384がこれをコレクタ360に通知し、コレクタ360は、これに応答して、通信ポート321、リンク322、通信ポート320を経由して,振り分け部351に対し、当該優先度に対するユーザプライオリティ情報を付加した送信停止を指示するPAUSEフレームを1つ乃至複数送信し、受信した振り分け部351は、当該優先度のフレームの流入を防止するために、遅延機構391〜394の内の対応する遅延機構に対し、送信停止を指示する。
It is assumed that the queues 311 to 314 include threshold determination logics 381 to 384, respectively, and threshold values for checking by the threshold check mechanisms 331 to 334 and 341 to 344 can be set.
When the frame amounts in the queues 311 to 314 exceed the threshold values 331 to 334, respectively, the threshold determination logics 381 to 384 notify the collector 360 of this, and the collector 360 responds to the communication port 321 and the link 322. The communication unit 320 transmits one or more PAUSE frames instructing the transmission unit 351 to stop transmission to which the user priority information for the priority is added, and the distribution unit 351 receives the priority. In order to prevent the inflow of frames, the corresponding delay mechanism of the delay mechanisms 391 to 394 is instructed to stop transmission.

ここで、このPAUSEフレームとしては、図2に示すようなIEEE802.3で規定されたフレームの場合には、VLANタグ内のPRIフィールドによりユーザプライオリティ値を明示し、PAUSE時間パラメータとして予め定める送信停止時間または送信停止指示(0XFFFF)を載せることで、優先度毎のフレーム停止を実現する。予め定める送信停止時間は、512ビット時間を1単位として2バイトの符号なし整数値で指定する。
尚、このPAUSEフレームに付加する優先度情報として、上記のユーザプライオリティ値以外に、RFC2474に規定されたDSCP(Diffserv Code Point)値、またはRFC791に規定されたToS(Type of Service)値、もしくはこれらの二つ以上の組み合わせの情報を付加したフレームを送信することによって、対向のノードもしくは端末の送信停止指示を行ってもよい。
Here, in the case of the frame specified by IEEE802.3 as shown in FIG. 2, this PAUSE frame clearly indicates the user priority value by the PRI field in the VLAN tag, and stops transmission in advance as a PAUSE time parameter. Frame stop for each priority is realized by putting time or transmission stop instruction (0XFFFF). The predetermined transmission stop time is designated by a 2-byte unsigned integer value with 512 bit time as a unit.
As priority information added to the PAUSE frame, in addition to the user priority value, a DSCP (Diffserv Code Point) value defined in RFC2474, a ToS (Type of Service) value defined in RFC791, or these The transmission stop instruction of the opposite node or terminal may be performed by transmitting a frame to which information of two or more combinations is added.

一方、キュー311〜314に蓄積されたフレーム量がそれぞれ閾値341〜344に満たない場合、同様に、閾値判断ロジック381〜384がこれをコレクタ360に通知し、コレクタ360は、これに応答して、通信ポート321、リンク322、通信ポート320を経由して、振り分け部351に対し、当該優先度に対するユーザプライオリティ情報を付加した送信再開を指示するPAUSEフレームを1つ乃至複数送信し、受信した振り分け部351は、当該優先度のフレームの流入を再開するために、遅延機構391〜394の内の対応する遅延機構に対し、送信再開を指示する。   On the other hand, if the frame amounts accumulated in the queues 311 to 314 are less than the threshold values 341 to 344, respectively, the threshold determination logics 381 to 384 similarly notify the collector 360, and the collector 360 responds to this. One or more PAUSE frames instructing resumption of transmission to which the user priority information for the priority is added are transmitted to the distribution unit 351 via the communication port 321, the link 322, and the communication port 320, and the distribution is received. The unit 351 instructs the corresponding delay mechanism among the delay mechanisms 391 to 394 to resume transmission in order to restart the inflow of frames of the priority.

この際、振り分け部351は、送信停止指示として送信停止時間をパラメータに持つPAUSEフレームを受信していた場合は、該送信停止時間が経過した時点もしくは当該優先度に対する送信再開を指示するPAUSEフレームの受信時点の何れか早い時点で、送信再開を対応する遅延機構391〜394に指示する。   At this time, if the distribution unit 351 has received a PAUSE frame having a transmission stop time as a parameter as a transmission stop instruction, the distribution unit 351 receives a PAUSE frame for instructing to resume transmission at the time when the transmission stop time has elapsed or the priority. At any earlier time of reception, the corresponding delay mechanism 391-394 is instructed to resume transmission.

また、PAUSEフレームの送信元であるコレクタ360は、送信停止時間をパラメータに持つ送信停止指示を実施して、指定した送信停止時間が経過した際に、バッファ内のフレーム量が閾値を尚超えている場合、再度送信停止時間をパラメータに持つ送信停止指示を実施しても良い。
ここで、このPAUSEフレームとしては、図2に示すようなフレームの場合には、VLANタグ内のPRIフィールドによりユーザプライオリティ値を明示し、PAUSE時間パラメータとして送信再開指示(0X0000)を載せることで、優先度毎のフレーム送信再開を実現する。
尚、このPAUSEフレームに付加する優先度情報として、上記のユーザプライオリティ値以外に、RFC2474に規定されたDSCP(Diffserv Code Point)値、またはRFC791に規定されたToS(Type of Service)値、もしくはこれらの二つ以上の組み合わせの情報を付加したフレームを送信することによって、対向のノードもしくは端末の送信再開指示を行ってもよい。
Further, the collector 360 that is the transmission source of the PAUSE frame performs a transmission stop instruction having the transmission stop time as a parameter, and when the specified transmission stop time elapses, the frame amount in the buffer still exceeds the threshold value. If so, a transmission stop instruction having the transmission stop time as a parameter may be executed again.
Here, as the PAUSE frame, in the case of a frame as shown in FIG. 2, a user priority value is clearly indicated by the PRI field in the VLAN tag, and a transmission resumption instruction (0X0000) is placed as a PAUSE time parameter. Implement frame transmission restart for each priority.
As priority information added to the PAUSE frame, in addition to the user priority value, a DSCP (Diffserv Code Point) value defined in RFC2474, a ToS (Type of Service) value defined in RFC791, or these The transmission resumption instruction of the opposite node or terminal may be performed by transmitting a frame to which information of two or more combinations is added.

また、遅延機構391〜394は、送信停止時間を明示されて送信停止をしている場合は、当該送信停止時間が経過した後に送信を再開できるようにし、コレクタ350の要求があれば遅滞なくキュー内のフレームを転送するものとする。
尚、優先度グループ毎のフロー制御においては、PAUSEフレームに、ユーザプライオリティ群、またはDSCP群、またはToS(Type of Service)群、もしくはこれらの二つ以上の組み合わせの情報を付加したフレームを送信することによって、対向するノードもしくは端末に対して対応する優先度グループのフレームの送信停止指示を行うことができる。
また、優先度グループ毎の簡易なフロー制御においては、優先度グループに対応してユーザプライオリティ群等を記述した場合、例えばユーザプライオリティ値の範囲が0から7である場合において、ユーザプライオリティ値5の送信停止指示PAUSEフレームを送信すると、ユーザプライオリティ値5以上(7まで)のグループを送信停止指示するようにしてもよい。
In addition, when the transmission stop time is clearly specified and the transmission is stopped, the delay mechanisms 391 to 394 allow transmission to be resumed after the transmission stop time has elapsed, and if there is a request from the collector 350, the queue can be queued without delay. It is assumed that the frame within is transferred.
In the flow control for each priority group, a frame in which information of a user priority group, a DSCP group, a ToS (Type of Service) group, or a combination of two or more of these is added to the PAUSE frame is transmitted. Accordingly, it is possible to instruct the opposite node or terminal to stop transmission of the frame of the corresponding priority group.
In simple flow control for each priority group, when a user priority group or the like is described corresponding to the priority group, for example, when the user priority value range is 0 to 7, the user priority value 5 When a transmission stop instruction PAUSE frame is transmitted, a group with a user priority value of 5 or higher (up to 7) may be instructed to stop transmission.

これらの方法によれば、既存のフレーム構成をうまく利用することにより、優先度毎のフレーム停止を実現できる利点を享受できる。しかしながら、優先度を示すフレーム構成が変更となったり、追加されたりした場合には、これに対応した優先度毎の送信停止指示・送信再開指示を実現させても良い。   According to these methods, it is possible to enjoy the advantage that the frame stop for each priority can be realized by making good use of the existing frame configuration. However, when the frame configuration indicating the priority is changed or added, a transmission stop instruction / transmission restart instruction for each priority corresponding to this may be realized.

また、コレクタ350、362には、スケジューラ機構やシェーパ機能のいずれかもしくは両方を含んでも含まなくても良い。
具体的なスケジューラ機構としては、FIFO(First in First Out)、PQ(Priority Queuing)、RR(Round Robin)、WRR(Weighted Round Robin)、WFQ(Weighted Fair Queuing)、CBQ(Class Based Queuing)、GFR(Guaranteed Frame Rate)、FFQ(Fluid Fair Queuing)等やこれらを組み合わせても良い。
Further, the collectors 350 and 362 may or may not include either or both of the scheduler mechanism and the shaper function.
Specific scheduler mechanisms include FIFO (First in First Out), PQ (Priority Queuing), RR (Round Robin), WRR (Weighted Round Robin), WFQ (Weighted Fair Queuing), CBQ (Class Based Queuing), and GFR. (Guaranteed Frame Rate), FFQ (Fluid Fair Queuing), etc., or a combination thereof may be used.

シェーパ機能としては、リーキーバケット(Leaky Bucket)方式や、トークンバケット(Token Bucket)方式が代表的だが、これらの方式にとどまらず任意のシェーパを用いることが可能である。
なお,MAC制御フレーム等の制御フレームについては、本フロー制御の対象外としてよい。
As a shaper function, a leaky bucket method or a token bucket method is typical, but any shaper can be used without being limited to these methods.
Note that control frames such as MAC control frames may be excluded from the target of this flow control.

また、上記実施例1において、端末30、フロー制御装置31は、CPU、RAM等の揮発性の記憶媒体、ROM等の不揮発性の記憶媒体、キーボードやポインティングデバイス等の入力装置、画像やデータを表示するモニタ装置、及び外部の装置と通信をするためのインタフエースを備えたコンピュータ装置によってそれぞれ構成されるようにしてもよい。この場合、上述した端末30やフロー制御装置31が備えた各機能または各手順は、これらの機能または手順を記述したプログラムをCPUに実行させることにより実現される。また、これらのプログラムは、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記憶媒体に格納して頒布することもできる。   In the first embodiment, the terminal 30 and the flow control device 31 store a volatile storage medium such as a CPU and a RAM, a nonvolatile storage medium such as a ROM, an input device such as a keyboard and a pointing device, an image and data. You may make it each be comprised with the monitor apparatus to display, and the computer apparatus provided with the interface for communicating with an external apparatus. In this case, each function or each procedure included in the terminal 30 or the flow control device 31 described above is realized by causing the CPU to execute a program describing these functions or procedures. These programs can also be stored and distributed in a storage medium such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), optical disk (CD-ROM, DVD, etc.), semiconductor memory, or the like.

本発明の第2の実施例におけるフロー制御システムの構成について説明する。図4は、第2の実施例における通信フロー制御システムの構成を示すブロック図であり、40は端末、41は通信ポート421からリンク422を介して端末40の通信ポート420に接続されたフロー制御機能を有するノードであって、以後フロー制御装置という。本例では、端末もフロー制御機能を有し、端末もフロー制御装置を行う。   The configuration of the flow control system in the second embodiment of the present invention will be described. FIG. 4 is a block diagram showing the configuration of the communication flow control system in the second embodiment, in which 40 is a terminal, 41 is a flow control connected from the communication port 421 to the communication port 420 of the terminal 40 via the link 422. A node having a function, hereinafter referred to as a flow control device. In this example, the terminal also has a flow control function, and the terminal also performs a flow control device.

端末40における振り分け部452は、キュー401〜404に接続される。キュー401〜404は、夫々、遅延機構491〜494を備え、コレクタ450と振り分け部551に接続される。また、コレクタ450と振り分け部551は通信ポート420に接続される。   The distribution unit 452 in the terminal 40 is connected to the queues 401 to 404. The queues 401 to 404 include delay mechanisms 491 to 494, respectively, and are connected to the collector 450 and the distribution unit 551. The collector 450 and the distribution unit 551 are connected to the communication port 420.

また、端末40はキュー511〜514を有し、閾値チェック機構531〜534および541〜544と閾値判断ロジック581〜584を備える。また、入力したフレームをキュー511〜514に振り分けるための振り分け部551および、キュー511〜514からのフレームを集約して出力するコレクタ562を備える。   The terminal 40 includes queues 511 to 514 and includes threshold check mechanisms 531 to 534 and 541 to 544 and threshold determination logics 581 to 584. In addition, a distribution unit 551 for distributing input frames to the queues 511 to 514 and a collector 562 for collecting and outputting frames from the queues 511 to 514 are provided.

閾値判断ロジック581は、閾値チェック機構531および541に接続される。同様に、閾値判断ロジック582は、閾値チェック機構532および546に接続され、閾値判断ロジック583は、閾値チェック機構533および543に接続され、閾値判断ロジック584は、閾値チェック機構534および544に接続される。   The threshold determination logic 581 is connected to the threshold check mechanisms 531 and 541. Similarly, threshold determination logic 582 is connected to threshold check mechanisms 532 and 546, threshold determination logic 583 is connected to threshold check mechanisms 533 and 543, and threshold determination logic 584 is connected to threshold check mechanisms 534 and 544. The

フロー制御装置41においては、キュー411〜414を有し、閾値チェック機構431〜434および441〜444と閾値判断ロジック481〜484を備える。また、入力したフレームをキュー411〜414に振り分けるための振り分け部461および、キュー411〜414からのフレームを集約して出力するコレクタ462を備える。   The flow control device 41 includes queues 411 to 414 and includes threshold check mechanisms 431 to 434 and 441 to 444 and threshold determination logics 481 to 484. Also, a distribution unit 461 for distributing input frames to the queues 411 to 414 and a collector 462 for collecting and outputting frames from the queues 411 to 414 are provided.

閾値判断ロジック481は、閾値チェック機構431および441に接続される。同様に、閾値判断ロジック482は、閾値チェック機構432および442に接続され、閾値判断ロジック483は、閾値チェック機構433および443に接続され、閾値判断ロジック484は、閾値チェック機構434および444に接続される。   The threshold determination logic 481 is connected to the threshold check mechanisms 431 and 441. Similarly, threshold determination logic 482 is connected to threshold check mechanisms 432 and 442, threshold determination logic 483 is connected to threshold check mechanisms 433 and 443, and threshold determination logic 484 is connected to threshold check mechanisms 434 and 444. The

また、フロー制御装置41における振り分け部552は、キュー501〜504に接続される。キュー501〜504は、夫々、遅延機構591〜594を備え、コレクタ560と振り分け部461に接続される。また、コレクタ560と振り分け部461は通信ポート420に接続される。   In addition, the distribution unit 552 in the flow control device 41 is connected to the queues 501 to 504. Each of the queues 501 to 504 includes delay mechanisms 591 to 594 and is connected to the collector 560 and the distribution unit 461. The collector 560 and the distribution unit 461 are connected to the communication port 420.

次に、本発明の第2の実施例における通信フロー制御装置の動作について説明する。
振り分け部452は、スイッチやルータ、アプリケーション等により、優先度情報が付加されたフレームをフレームの優先度に応じてキュー401〜404に振り分ける。キュー401〜404に振り分けられたフレームは、一旦蓄積され、遅延機構491〜494による送信停止の指示がなければ、コレクタ450によりスケジューリングされ通信ポート420を通じてリンク422に出力される。
Next, the operation of the communication flow control device in the second embodiment of the present invention will be described.
The distribution unit 452 distributes the frame to which the priority information is added to the queues 401 to 404 according to the priority of the frame by a switch, a router, an application, or the like. The frames distributed to the queues 401 to 404 are temporarily stored. If there is no instruction to stop transmission by the delay mechanisms 491 to 494, the frames are scheduled by the collector 450 and output to the link 422 through the communication port 420.

通信ポート421から入力されたフレームは、振り分け部461において、PAUSE信号の場合は、優先度に応じて遅延機構591〜594のうちの一つないしは複数に対し、送信停止指示、送信停止時間、送信再開指示のいずれかを行い、それ以外のフレームは、フレームの優先度に応じてキュー411〜414に振り分けられ、集約機構462によりスケジューリングされる。   In the case of a PAUSE signal, a frame input from the communication port 421 is transmitted to the one or more of the delay mechanisms 591 to 594 according to priority in the case of a PAUSE signal. Any one of the transmission restart instructions is performed, and the other frames are distributed to the queues 411 to 414 according to the priority of the frames, and are scheduled by the aggregation mechanism 462.

振り分け部461には、クラシファイア機能が含まれ、さらにメータリング機能、マーキング機能、シェーピング機能、ポリシング機能を含んでも含まなくても良い。
クラシファイア機能において、振り分けるためのキーとするフレーム情報としては、IEEE802.1Qで定義される優先度、IETF RFC2474に規定されたDSCP〈Diffserv Code Point〉やRFC791に規定されたToS(Type of Service)等が挙げられる。また、将来フレーム構成が拡張され、優先度として用いることができる要素が増える場合や、フレーム構成要素が優先度として扱うよう変更された場合についても、その任意の構成要素をキーとして良い。
The distribution unit 461 includes a classifier function, and may or may not include a metering function, a marking function, a shaping function, and a policing function.
In the classifier function, frame information as a key for distribution includes priority defined in IEEE802.1Q, DSCP <Diffserv Code Point> defined in IETF RFC2474, ToS (Type of Service) defined in RFC791, etc. Is mentioned. Further, even when the frame configuration is expanded in the future and there are more elements that can be used as priorities, or when the frame constituent elements are changed to be handled as priorities, those arbitrary constituent elements may be used as keys.

また、優先度の総数がキューの総数と同数かそれ以下である場合は、予め定めたマッピングにより振り分けするが、優先度の総数がキューの総数より多い場合は、予めどの優先度群とキューとの対応を括りつけるテーブルを持つことでキューの選択をするか、優先度のハッシュ関数やカオス関数など一意に定まる関数の出力値から導いてキューの選択をしてもよい。   Also, if the total number of priority is less than or equal to or equal to the total number of queues will be distributed by a predetermined mapping, if the total number of priority is larger than the total number of queues, and the queue advance any priority group The queue may be selected by having a table that ties the correspondences of the queues, or the queue may be selected by deriving from the output value of a uniquely determined function such as a priority hash function or chaos function.

キュー411〜414に振り分けられたフレームは、一旦蓄積され、コレクタ462によりフェッチされる。
キュー411〜414では、Drop Tail、Drop Head、RED、RIO、WRED、Deterministic Discard方式等の各種バッファ管理機構を備えても良い。
The frames distributed to the queues 411 to 414 are temporarily accumulated and fetched by the collector 462.
The queues 411 to 414 may include various buffer management mechanisms such as Drop Tail, Drop Head, RED, RIO, WRED, and Deterministic Discard.

キュー411〜414には,それぞれ閾値判断ロジック481〜484を備え、閾値チェック機構431〜434及び441〜444がチェックするための閾値を設定できるものとする。
キュー411〜414内のフレーム量がそれぞれ閾値431〜434を超えた場合、閾値判断ロジック481〜484がこれを判断してコレクタ560に通知し、コレクタ560は、これに応答して、通信ポート421、リンク422、通信ポート420を経由して、振り分け部551に対し、当該優先度に対するユーザプライオリティ情報を付加した送信停止を指示するPAUSEフレームを1つ乃至複数送信し、受信した振り分け部551は、当該優先度のフレームの流入を防止するために、遅延機構491〜494の内の対応する遅延機構に対し、送信停止を指示する。
It is assumed that the queues 411 to 414 have threshold determination logics 481 to 484, respectively, and thresholds for checking by the threshold check mechanisms 431 to 434 and 441 to 444 can be set.
When the frame amounts in the queues 411 to 414 exceed the threshold values 431 to 434, respectively, the threshold determination logics 481 to 484 determine this and notify the collector 560, and the collector 560 responds to the communication port 421. , Via the link 422 and the communication port 420, the distribution unit 551 transmits one or more PAUSE frames instructing transmission stop to which user priority information for the priority is added, and the distribution unit 551 that has received the In order to prevent the inflow of frames of the priority, the corresponding delay mechanism among the delay mechanisms 491 to 494 is instructed to stop transmission.

ここで、このPAUSEフレームとしては、図2に示すようなIEEE802.3で規定されたフレームの場合には、VLANタグ内のPRIフィールドにより明示し、PAUSE時間パラメータとして予め定める送信停止時間または送信停止指示(0XFFFF)を載せることで、優先度毎のフレーム停止を実現する。予め定める送信停止時間は、512ビット時間を1単位として2バイト符号なし整数値で指定する。   Here, in the case of the frame specified by IEEE802.3 as shown in FIG. 2, this PAUSE frame is clearly indicated by the PRI field in the VLAN tag, and the transmission stop time or transmission stop predetermined as the PAUSE time parameter. By placing an instruction (0XFFFF), frame stop for each priority is realized. The predetermined transmission stop time is designated by a 2-byte unsigned integer value with 512 bit time as one unit.

一方、キュー411〜414に蓄積されたフレーム量がそれぞれ閾値441〜444に満たない場合、同様に、閾値判断ロジック481〜484がこれを判断してコレクタ560に通知し、コレクタ560は、これに応答して、通信ポート421、リンク422、通信ポート420を経由して、振り分け部551に対し、当該優先度に対するユーザプライオリティ情報を付加した送信再開を指示するPAUSEフレームを1つ乃至複数送信し、受信した振り分け部551は、当該優先度のフレームの流入を再開するために、遅延機構491〜494の内の対応する遅延機構に対し、送信再開を指示する。   On the other hand, when the frame amounts accumulated in the queues 411 to 414 are less than the threshold values 441 to 444, respectively, the threshold determination logics 481 to 484 determine the same and notify the collector 560. In response, through the communication port 421, the link 422, and the communication port 420, the distribution unit 551 transmits one or more PAUSE frames instructing transmission resumption added with user priority information for the priority, The received distribution unit 551 instructs the corresponding delay mechanism among the delay mechanisms 491 to 494 to resume transmission in order to restart the inflow of frames of the priority.

この際、振り分け部551は、送信停止指示として送信停止時間をパラメータに持つPAUSEフレームを受信していた場合は、該送信停止時間が経過した時点もしくは当該優先度に対する送信再開を指示するPAUSEフレームの受信時点の何れか早い時点で、送信再開を対応する遅延機構491〜494に指示する。   At this time, if the distribution unit 551 has received a PAUSE frame having a transmission stop time as a parameter as a transmission stop instruction, the distribution unit 551 indicates the PAUSE frame that instructs the transmission restart for the priority when the transmission stop time has elapsed. At any earlier time of reception, the corresponding delay mechanism 491 to 494 is instructed to resume transmission.

また、PAUSEフレームの送信元であるコレクタ560は、送信停止時間をパラメータに持つ送信停止指示を実施して、指定した送信停止時間が経過した際に、バッファ内のフレーム量が閾値を尚超えている場合、再度送信停止時間をパラメータに持つ送信停止指示を実施しても良い。
ここで、このPAUSEフレームとしては、図2に示すようなフレームの場合には、VLANタグ内のPRIフィールドによりユーザプライオリティを明示し、PAUSE時間パラメータとして送信再開指示(0X0000)を載せることで、優先度毎のフレーム送信再開を実現する。
Further, the collector 560 that is the transmission source of the PAUSE frame performs a transmission stop instruction having the transmission stop time as a parameter, and when the specified transmission stop time elapses, the frame amount in the buffer still exceeds the threshold value. If so, a transmission stop instruction having the transmission stop time as a parameter may be executed again.
Here, in the case of such a frame as shown in FIG. 2, the user priority is clearly indicated by the PRI field in the VLAN tag, and the transmission resume instruction (0X0000) is placed as the PAUSE time parameter. Realize frame transmission restart every time.

また、遅延機構491〜494は、送信停止時間を明示されて送信停止をしている場合は、当該送信停止時間が経過した後に送信を再開できるようにし、コレクタ350の要求があれば遅滞なくキュー内のフレームを転送するものとする。   In addition, when the transmission stop time is clearly specified and the transmission is stopped, the delay mechanisms 491 to 494 allow the transmission to be resumed after the transmission stop time has elapsed. It is assumed that the frame within is transferred.

これらの方法によれば、既存のフレーム構成をうまく利用することにより、優先度毎のフレーム停止を実現できる利点を享受できる。しかしながら、優先度を示すフレーム構成が変更となったり、追加されたりした場合には、これに対応した優先度毎に送信停止指示・送信再開を実現さても良い。   According to these methods, it is possible to enjoy the advantage that the frame stop for each priority can be realized by making good use of the existing frame configuration. However, when the frame configuration indicating the priority is changed or added, a transmission stop instruction / transmission restart may be realized for each priority corresponding to this.

また、コレクタ450、462には、スケジューラ機構やシェーパ機能のいずれかもしくは両方を含んでも含まなくても良い。
具体的なスケジューラ機構としては、FIFO(First in First Out)、PQ(Priority Queuing)、RR(Round Robin)、WRR(Weighted Round Robin)、WFQ(Weighted Fair Queuing)、CBQ(Class Based Queuing)、GFR(Guaranteed Frame Rate)、FFQ(Fluid Fair Queuing)等やこれらを組み合わせても良い。
Further, the collectors 450 and 462 may or may not include either or both of the scheduler mechanism and the shaper function.
Specific scheduler mechanisms include FIFO (First in First Out), PQ (Priority Queuing), RR (Round Robin), WRR (Weighted Round Robin), WFQ (Weighted Fair Queuing), CBQ (Class Based Queuing), and GFR. (Guaranteed Frame Rate), FFQ (Fluid Fair Queuing), etc., or a combination thereof may be used.

シェーパ機能としては、リーキーバケット(Leaky Bucket)方式や、トークンバケット(Token Bucket)方式が代表的だが、これらの方式にとどまらず任意のシェーパを用いることが可能である。   As a shaper function, a leaky bucket (Leaky Bucket) method and a token bucket (Token Bucket) method are typical, but any shaper can be used without being limited to these methods.

また、上記実施例2においても、端末40、フロー制御装置41は、CPU、RAM等の揮発性の記憶媒体、ROM等の不揮発性の記憶媒体、キーボードやポインティングデバイス等の入力装置、画像やデータを表示するモニタ装置、及び外部の装置と通信をするためのインタフエースを備えたコンピュータ装置によってそれぞれ構成されるようにしてもよい。この場合、上述した端末40やフロー制御装置41が備えた各機能または各手順は、これらの機能または手順を記述したプログラムをCPUに実行させることにより実現される。また、これらのプログラムは、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記憶媒体に格納して頒布することもできる。   Also in the second embodiment, the terminal 40 and the flow control device 41 are a volatile storage medium such as a CPU and RAM, a non-volatile storage medium such as a ROM, an input device such as a keyboard and a pointing device, an image and data. May be constituted by a monitor device for displaying the image and a computer device having an interface for communicating with an external device. In this case, each function or each procedure provided in the terminal 40 or the flow control device 41 described above is realized by causing the CPU to execute a program describing these functions or procedures. These programs can also be stored and distributed in a storage medium such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), optical disk (CD-ROM, DVD, etc.), semiconductor memory, or the like.

以上、実施例1及び実施例2を挙げて本発明を説明したが、上記の説明は、本発明の理解を助けるものであって、本発明の特許請求の範囲を制限するものではない。従って、本発明の要旨を逸脱しない限り、種々変形が可能であり、本発明の目的を達し、効果を奏する範囲において、適宜変更して実装等することが可能である。   Although the present invention has been described with reference to the first embodiment and the second embodiment, the above description is intended to help the understanding of the present invention and does not limit the scope of the claims of the present invention. Therefore, various modifications can be made without departing from the gist of the present invention, and the invention can be appropriately modified and mounted within the scope of achieving the object of the present invention and producing effects.

IEEE802.3におけるフレーム構成例を示す図である。It is a figure which shows the example of a frame structure in IEEE802.3. 本発明のフロー制御方法で用いるフレーム構成例を示す図である。It is a figure which shows the example of a frame structure used with the flow control method of this invention. 実施例1におけるフロー制御装置の構成を示す図である。It is a figure which shows the structure of the flow control apparatus in Example 1. FIG. 実施例2におけるフロー制御装置の構成を示す図である。It is a figure which shows the structure of the flow control apparatus in Example 2. FIG.

符号の説明Explanation of symbols

30 端末
320 ポート
301〜304 キュー
352 振り分け部
350 コレクタ
351 振り分け部
391〜394 遅延機構
31 フロー制御装置
321 ポート
322 リンク
311〜314 キュー
331〜334,341〜344 閾値チェック機構
360 コレクタ
361 振り分け部
362 コレクタ
381〜384 閾値判断ロジック
40 端末
420 ポート
401〜404 キュー
452 振り分け部
450 コレクタ
491〜494 遅延機構
551 振り分け部
511〜514 キュー
531〜534,541〜544 閾値チェック機構
562 コレクタ
581〜584 閾値判断ロジック
41 フロー制御装置
421 ポート
422 リンク
411〜414 キュー
431〜434,441〜444 閾値チェック機構
461 振り分け部
462 コレクタ
481〜484 閾値判断ロジック
501〜504 キュー
552 振り分け部
560 コレクタ
591〜594 遅延機構
100,200 PAUSEフレーム

30 terminal 320 port 301 to 304 queue 352 distribution unit 350 collector 351 distribution unit 391 to 394 delay mechanism 31 flow control device 321 port 322 link 311 to 314, queue 331 to 334, 341 to 344 threshold check mechanism 360 collector 361 distribution unit 362 collector 381-384 Threshold determination logic 40 Terminal 420 Port 401-404 Queue 452 Distribution unit 450 Collector 491-494 Delay mechanism 551 Distribution unit 511-514 Queue 531-534, 541-544 Threshold check mechanism 562 Collector 581-584 Threshold determination logic 41 Flow control device 421 Port 422 Link 411-414 Queue 431-434, 441-444 Threshold check mechanism 461 Distribution unit 462 Collect 481-484 Threshold determination logic 501-504 Queue 552 Sorting unit 560 Collector 591-594 Delay mechanism 100, 200 PAUSE frame

Claims (15)

ノードと端末間、もしくはノード間をリンクにより接続する転送網における通信フロー制御方法において、
ノードもしくは端末は、通信ポートに接続された装置から受信した優先度情報が付加されたフレームを、各フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させるステップと、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた否かを判断するステップと、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた場合には、当該優先度もしくは優先度グループに対して送信停止を指示する送信停止指示フレームを通信ポートに接続された装置に送信するステップと、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値に満たない場合、当該優先度もしくは優先度グループに対して送信再開を指示する送信再開指示フレームを通信ポートに接続された装置に送信するステップとを有し、
前記通信ポートに接続された装置は、
前記ノードもしくは端末から優先度毎もしくは優先度グループ毎の送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止するステップと、
前記ノードもしくは端末から優先度毎もしくは優先度グループ毎の送信再開指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を再開するステップとを有することを特徴とする通信フロー制御方法。
In a communication flow control method in a transfer network that connects nodes and terminals or between nodes by a link,
The node or terminal distributes the frame with the priority information received from the device connected to the communication port according to the priority or priority group of each frame and accumulates them in the respective queues;
Determining whether the amount of frames accumulated in each queue exceeds a respective threshold;
When the amount of frames accumulated in each queue exceeds the respective threshold value, a transmission stop instruction frame that instructs the priority or priority group to stop transmission is transmitted to a device connected to the communication port. Steps,
A step of transmitting a transmission resumption instruction frame instructing transmission resumption to the priority or priority group to a device connected to the communication port when the amount of frames accumulated in each queue is less than the threshold value; Have
The device connected to the communication port is
A step of stopping transmission of a frame corresponding to the priority or priority group when receiving a transmission stop instruction frame for each priority or priority group from the node or terminal;
And a step of resuming transmission of a frame corresponding to the priority or priority group when a transmission restart instruction frame for each priority or priority group is received from the node or terminal. Flow control method.
請求項1記載の通信フロー制御方法において、
前記優先度毎もしくは優先度グループ毎に前記送信停止指示フレームを送信するステップにおいて、前記送信停止指示フレームとして送信停止時間をパラメータに持つ送信停止指示フレームを送信し、
前記送信停止および送信再開ステップにおいて、優先度毎もしくは優先度グループ毎の送信停止時間をパラメータに持つ送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止させ、前記送信停止時間が経過した時点もしくは当該優先度もしくは優先度グループに対する送信再開指示フレームの受信時点の何れか早い時点で送信を再開させることを特徴とする通信フロー制御方法。
The communication flow control method according to claim 1,
In the step of transmitting the transmission stop instruction frame for each priority or priority group, a transmission stop instruction frame having a transmission stop time as a parameter is transmitted as the transmission stop instruction frame,
In the transmission stop and transmission restart steps, when a transmission stop instruction frame having a transmission stop time for each priority or priority group as a parameter is received, transmission of the frame corresponding to the priority or priority group is stopped The communication flow control method is characterized in that transmission is resumed at the earlier of the time when the transmission stop time elapses or the time of reception of a transmission resumption instruction frame for the priority or priority group.
請求項1または2記載の通信フロー制御方法において、
前記通信フロー制御をイーサネット(登録商標)の全二重通信において実行するために、
前記送信停止指示および前記送信再開指示フレームとして、IEEE802.3に規定されたPAUSEフレームに、IEEE802.1Qに規定されたユーザプライオリティ値(もしくはユーザプライオリティ群)、またはRFC2474に規定されたDSCP(Diffserv Code Point)値(もしくはDSCP群)、またはRFC791に規定されたToS(Type of Service)値(もしくはToS群)、もしくはこれらの二つ以上の組み合わせの情報を付加したフレームを送信することによって、対向のノードもしくは端末の送信停止指示、送信再開指示を行うことを特徴とする通信フロー制御方法。
The communication flow control method according to claim 1 or 2,
In order to execute the communication flow control in full-duplex communication of Ethernet (registered trademark),
As the transmission stop instruction and the transmission resumption instruction frames, a PAUSE frame defined in IEEE 802.3, a user priority value (or user priority group) defined in IEEE 802.1Q, or a DSCP (Diffserv Code defined in RFC 2474). Point) value (or DSCP group), ToS (Type of Service) value (or ToS group) defined in RFC791, or a frame with information on a combination of two or more of them is transmitted, A communication flow control method characterized by issuing a transmission stop instruction and a transmission resumption instruction of a node or terminal.
請求項1記載の通信フロー制御方法を実施する通信フロー制御システムにおいて、
ノードもしくは端末が、通信ポートに接続された装置から受信した優先度情報が付加されたフレームを、各フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた否かを判断する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた場合には、当該優先度もしくは優先度グループに対して送信停止を指示する送信停止指示フレームを通信ポートに接続された装置に送信する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値に満たない場合、当該優先度もしくは優先度グループに対して送信再開を指示する送信再開指示フレームを通信ポートに接続された装置に送信する機能とを有し、
前記通信ポートに接続された装置が、
前記ノードもしくは端末へ送信する優先度情報が付加されたフレームを、各フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
前記ノードもしくは端末から優先度毎もしくは優先度グループ毎の送信停止指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を停止する機能と、
前記ノードもしくは端末から優先度毎もしくは優先度グループ毎の送信再開指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を再開する機能とを有することを特徴とする通信フロー制御システム。
In the communication flow control system which implements the communication flow control method according to claim 1,
A function in which a node or terminal distributes a frame to which priority information received from a device connected to a communication port is added according to the priority or priority group of each frame and stores the frame in each queue;
A function for determining whether or not the amount of frames accumulated in each queue exceeds the respective threshold;
When the amount of frames accumulated in each queue exceeds the respective threshold value, a transmission stop instruction frame that instructs the priority or priority group to stop transmission is transmitted to a device connected to the communication port. Function and
A function of transmitting a transmission resumption instruction frame for instructing resumption of transmission to the priority or priority group to a device connected to the communication port when the amount of frames accumulated in each queue is less than the respective thresholds; Have
A device connected to the communication port is
A function of distributing frames according to the priority or priority group of each frame and storing the frames with priority information to be transmitted to the node or terminal in each queue;
A function to stop transmission of frames corresponding to the priority or priority group stored in the queue when receiving a transmission stop instruction frame for each priority or priority group from the node or terminal;
A function of resuming transmission of frames corresponding to the priority or priority group stored in the queue when receiving a transmission resumption instruction frame for each priority or priority group from the node or terminal; A communication flow control system comprising:
請求項4記載の通信フロー制御システムにおいて、
前記優先度毎もしくは優先度グループ毎に前記送信停止指示フレームを送信する機能が、前記送信停止指示フレームとして送信停止時間をパラメータに持つ送信停止指示フレームを送信し、
前記送信停止および送信再開機能が、
優先度毎もしくは優先度グループ毎の送信停止時間をパラメータに持つ送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止させ、前記送信停止時間が経過した時点もしくは当該優先度もしくは優先度グループに対する送信再開指示フレームの受信時点の何れか早い時点で送信を再開させることを特徴とする通信フロー制御システム。
The communication flow control system according to claim 4, wherein
The function of transmitting the transmission stop instruction frame for each priority or priority group, a transmission stop instruction frame having a transmission stop time as a parameter as the transmission stop instruction frame,
The transmission stop and transmission restart functions are
When a transmission stop instruction frame having a transmission stop time for each priority or priority group as a parameter is received, transmission of the frame corresponding to the priority or the priority group is stopped, and the transmission stop time has elapsed. A communication flow control system, wherein transmission is resumed at a point in time which is earlier of a point of time or a point of reception of a transmission resumption instruction frame for the priority or priority group.
請求項4または5記載の通信フロー制御システムにおいて、
前記通信フロー制御をイーサネット(登録商標)の全二重通信において実行するために、
前記送信停止指示および前記送信再開指示フレームとして、IEEE802.3に規定されたPAUSEフレームに、IEEE802.1Qに規定されたユーザプライオリティ値(もしくはユーザプライオリティ群)、またはRFC2474に規定されたDSCP(Diffserv Code Point)値(もしくはDSCP群)、またはRFC791に規定されたToS(Type of Service)値(もしくはToS群)、もしくはこれらの二つ以上の組み合わせの情報を付加したフレームを送信することによって、対向のノードもしくは端末の送信停止指示、送信再開指示を行うことを特徴とする通信フロー制御システム。
The communication flow control system according to claim 4 or 5,
In order to execute the communication flow control in full-duplex communication of Ethernet (registered trademark),
As the transmission stop instruction and the transmission resumption instruction frames, a PAUSE frame defined in IEEE 802.3, a user priority value (or user priority group) defined in IEEE 802.1Q, or a DSCP (Diffserv Code defined in RFC 2474). Point) value (or DSCP group), ToS (Type of Service) value (or ToS group) defined in RFC791, or a frame with information on a combination of two or more of them is transmitted, A communication flow control system which performs a transmission stop instruction and a transmission resumption instruction of a node or a terminal.
請求項4記載のフロー制御システムに使用するノードもしくは端末において、
通信ポートに接続された装置から受信した優先度情報が付加されたフレームを、フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた否かを判断する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた場合には、当該優先度もしくは優先度グループに対して送信停止を指示する送信停止指示フレームを通信ポートに接続された装置に送信する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値に満たない場合、当該優先度もしくは優先度グループに対して送信再開を指示する送信再開指示フレームを通信ポートに接続された装置に送信する機能とを有することを特徴とする通信フロー制御装置。
In the node or terminal used for the flow control system according to claim 4,
A function for distributing frames to which priority information received from a device connected to a communication port is added according to the priority or priority group of the frames and storing them in respective queues;
A function for determining whether or not the amount of frames accumulated in each queue exceeds the respective threshold;
When the amount of frames accumulated in each queue exceeds the respective threshold value, a transmission stop instruction frame that instructs the priority or priority group to stop transmission is transmitted to a device connected to the communication port. Function and
A function of transmitting a transmission resumption instruction frame for instructing resumption of transmission to the priority or priority group to a device connected to the communication port when the amount of frames accumulated in each queue is less than the respective thresholds; A communication flow control apparatus comprising:
請求項7記載の通信フロー制御装置において、さらに、
前記通信ポートに接続された装置へ送信する優先度情報が付加されたフレームを、フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
前記通信ポートに接続された装置から優先度毎もしくは優先度グループ毎の送信停止指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を停止する機能と、
前記通信ポートに接続された装置から優先度毎もしくは優先度グループ毎の送信再開指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を再開する機能とを有することを特徴とする通信フロー制御装置。
The communication flow control device according to claim 7, further comprising:
A function for distributing frames to which priority information to be transmitted to devices connected to the communication port is added according to the priority or priority group of the frames and storing the frames in respective queues;
When a transmission stop instruction frame for each priority or priority group is received from a device connected to the communication port, transmission of the frame corresponding to the priority or the priority group stored in the queue is stopped. Function to
When a transmission resumption instruction frame for each priority or priority group is received from a device connected to the communication port, transmission of the frame corresponding to the priority or the priority group stored in the queue is resumed. And a communication flow control device.
請求項8記載の通信フロー制御装置において、
前記優先度毎もしくは優先度グループ毎に前記送信停止指示フレームを送信する機能が、前記送信停止指示フレームとして送信停止時間をパラメータに持つ送信停止指示フレームを送信し、
前記送信停止および送信再開機能が、優先度毎もしくは優先度グループ毎の送信停止時間をパラメータに持つ送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止させ、前記送信停止時間が経過した時点もしくは当該優先度もしくは優先度グループに対する送信再開指示フレームの受信時点の何れか早い時点で送信を再開させることを特徴とする通信フロー制御装置。
The communication flow control device according to claim 8, wherein
The function of transmitting the transmission stop instruction frame for each priority or priority group, a transmission stop instruction frame having a transmission stop time as a parameter as the transmission stop instruction frame,
When the transmission stop and transmission restart function receives a transmission stop instruction frame having a transmission stop time for each priority or priority group as a parameter, transmission of the frame corresponding to the priority or the priority group is stopped. And a communication flow control device that resumes transmission at the earlier of the time when the transmission stop time elapses or the time of reception of a transmission resumption instruction frame for the priority or priority group.
請求項7〜9の何れかに記載の通信フロー制御装置において、
前記通信フロー制御をイーサネット(登録商標)の全二重通信において実行するために、
前記送信停止指示および前記送信再開指示フレームとして、IEEE802.3に規定されたPAUSEフレームに、IEEE802.1Qに規定されたユーザプライオリティ値(もしくはユーザプライオリティ群)、またはRFC2474に規定されたDSCP(Diffserv Code Point)値(もしくはDSCP群)、またはRFC791に規定されたToS(Type of Service)値(もしくはToS群)、もしくはこれらの二つ以上の組み合わせの情報を付加したフレームを送信することによって、対向のノードもしくは端末の送信停止指示、送信再開指示を行うことを特徴とする通信フロー制御装置。
In the communication flow control device according to any one of claims 7 to 9,
In order to execute the communication flow control in full-duplex communication of Ethernet (registered trademark),
As the transmission stop instruction and the transmission resumption instruction frame, a PAUSE frame defined in IEEE 802.3, a user priority value (or user priority group) defined in IEEE 802.1Q, or a DSCP (Diffserv Code defined in RFC 2474) Point) value (or DSCP group), ToS (Type of Service) value (or ToS group) defined in RFC791, or a frame with information on a combination of two or more of them is transmitted. A communication flow control apparatus characterized by issuing a transmission stop instruction and a transmission resumption instruction of a node or a terminal.
請求項7記載のフロー制御装置を実現するためのコンピュータプログラムであって、ノードもしくは端末を構成するコンピュータに、
通信ポートに接続された装置から受信した優先度情報が付加されたフレームを、フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた否かを判断する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値を超えた場合には、当該優先度もしくは優先度グループに対して送信停止を指示する送信停止指示フレームを通信ポートに接続された装置に送信する機能と、
それぞれのキューに蓄積されたフレーム量がそれぞれの閾値に満たない場合、当該優先度もしくは優先度グループに対して送信再開を指示する送信再開指示フレームを通信ポートに接続された装置に送信する機能とを実現させることを特徴とするコンピュータプログラム。
A computer program for realizing the flow control device according to claim 7, wherein a computer constituting a node or a terminal is
A function for distributing frames to which priority information received from a device connected to a communication port is added according to the priority or priority group of the frames and storing them in respective queues;
A function for determining whether or not the amount of frames accumulated in each queue exceeds the respective threshold;
When the amount of frames accumulated in each queue exceeds the respective threshold value, a transmission stop instruction frame that instructs the priority or priority group to stop transmission is transmitted to a device connected to the communication port. Function and
A function of transmitting a transmission resumption instruction frame for instructing resumption of transmission to the priority or priority group to a device connected to the communication port when the amount of frames accumulated in each queue is less than the respective thresholds; A computer program characterized by realizing the above.
請求項11記載のコンピュータプログラムにおいて、さらに、
前記通信ポートに接続された装置へ送信する優先度情報が付加されたフレームを、フレームの優先度もしくは優先度グループに応じて振り分けてそれぞれのキューに蓄積させる機能と、
前記通信ポートに接続された装置から優先度毎もしくは優先度グループ毎の送信停止指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を停止する機能と、
前記通信ポートに接続された装置から優先度毎もしくは優先度グループ毎の送信再開指示フレームを受信したとき、前記キューに蓄積されている当該優先度もしくは当該優先度グループに対応するフレームの送信を再開する機能とを実現させることを特徴とするコンピュータプログラム。
The computer program according to claim 11, further comprising:
A function for distributing frames to which priority information to be transmitted to devices connected to the communication port is added according to the priority or priority group of the frames and storing the frames in respective queues;
When a transmission stop instruction frame for each priority or priority group is received from a device connected to the communication port, transmission of the frame corresponding to the priority or the priority group stored in the queue is stopped. Function to
When a transmission resumption instruction frame for each priority or priority group is received from a device connected to the communication port, transmission of the frame corresponding to the priority or the priority group stored in the queue is resumed. A computer program characterized by realizing a function to perform.
請求項12記載のコンピュータプログラムにおいて、
前記優先度毎もしくは優先度グループ毎に前記送信停止指示フレームを送信する機能は、前記送信停止指示フレームとして送信停止時間をパラメータに持つ送信停止指示フレームを送信させ、
前記送信停止および送信再開機能は、優先度毎もしくは優先度グループ毎の送信停止時間をパラメータに持つ送信停止指示フレームを受信したとき、当該優先度もしくは当該優先度グループに対応するフレームの送信を停止させ、前記送信停止時間が経過した時点もしくは当該優先度もしくは優先度グループに対する送信再開指示フレームの受信時点の何れか早い時点で送信を再開させることを特徴とするコンピュータプログラム。
The computer program according to claim 12, wherein
The function of transmitting the transmission stop instruction frame for each priority or priority group, a transmission stop instruction frame having a transmission stop time as a parameter as the transmission stop instruction frame,
The transmission stop and transmission resume function stops transmission of a frame corresponding to the priority or priority group when a transmission stop instruction frame having a transmission stop time for each priority or priority group as a parameter is received. And resuming transmission at the earlier of the time when the transmission stop time has elapsed or the time of reception of a transmission resumption instruction frame for the priority or priority group.
請求項11〜13の何れかに記載のコンピュータプログラムにおいて、
前記通信フロー制御をイーサネット(登録商標)の全二重通信において実行するために、
前記送信停止指示および前記送信再開指示はIEEE802.3に規定されたPAUSEフレームによって実行し、
前記送信停止指示および前記送信再開指示フレームとして、IEEE802.3に規定されたPAUSEフレームに、IEEE802.1Qに規定されたユーザプライオリティ値(もしくはユーザプライオリティ群)、またはRFC2474に規定されたDSCP(Diffserv Code Point)値(もしくはDSCP群)、またはRFC791に規定されたToS(Type of Service)値(もしくはToS群)、もしくはこれらの二つ以上の組み合わせの情報を付加したフレームを送信することによって、対向のノードもしくは端末の送信停止指示、送信再開指示を行うことを特徴とするコンピュータプログラム。
In the computer program in any one of Claims 11-13,
In order to execute the communication flow control in full-duplex communication of Ethernet (registered trademark),
The transmission stop instruction and the transmission restart instruction are executed by a PAUSE frame defined in IEEE 802.3,
As the transmission stop instruction and the transmission resumption instruction frames, a PAUSE frame defined in IEEE 802.3, a user priority value (or user priority group) defined in IEEE 802.1Q, or a DSCP (Diffserv Code defined in RFC 2474). Point) value (or DSCP group), ToS (Type of Service) value (or ToS group) defined in RFC791, or a frame with information on a combination of two or more of them is transmitted, A computer program for instructing a node or terminal to stop transmission and to resume transmission.
請求項11〜14の何れかに記載のコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体。

The computer-readable recording medium which recorded the computer program in any one of Claims 11-14.

JP2004195344A 2004-07-01 2004-07-01 Method, system, device, and program for communication flow control Pending JP2006020027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004195344A JP2006020027A (en) 2004-07-01 2004-07-01 Method, system, device, and program for communication flow control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004195344A JP2006020027A (en) 2004-07-01 2004-07-01 Method, system, device, and program for communication flow control

Publications (1)

Publication Number Publication Date
JP2006020027A true JP2006020027A (en) 2006-01-19

Family

ID=35793848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004195344A Pending JP2006020027A (en) 2004-07-01 2004-07-01 Method, system, device, and program for communication flow control

Country Status (1)

Country Link
JP (1) JP2006020027A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007228148A (en) * 2006-02-22 2007-09-06 Furuno Electric Co Ltd Packet communication apparatus
JP2009194488A (en) * 2008-02-13 2009-08-27 Nec Corp Communication device, flow control method used for it, and its program
JP2012209963A (en) * 2012-06-27 2012-10-25 Nec Corp Communication device, and flow control method and program for use in the same
JP2013102392A (en) * 2011-11-09 2013-05-23 Buffalo Inc Repeating device, and method and program for controlling repeating device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007228148A (en) * 2006-02-22 2007-09-06 Furuno Electric Co Ltd Packet communication apparatus
JP4729413B2 (en) * 2006-02-22 2011-07-20 古野電気株式会社 Packet communication device
JP2009194488A (en) * 2008-02-13 2009-08-27 Nec Corp Communication device, flow control method used for it, and its program
JP2013102392A (en) * 2011-11-09 2013-05-23 Buffalo Inc Repeating device, and method and program for controlling repeating device
JP2012209963A (en) * 2012-06-27 2012-10-25 Nec Corp Communication device, and flow control method and program for use in the same

Similar Documents

Publication Publication Date Title
Semeria Supporting differentiated service classes: queue scheduling disciplines
US8767553B2 (en) Dynamic resource partitioning for long-term fairness to non-elastic traffic on a cellular basestation
US20190014053A1 (en) Network Flow Control Method And Network Device
US8467342B2 (en) Flow and congestion control in switch architectures for multi-hop, memory efficient fabrics
JP6289631B2 (en) Method and system for queue management in packet switched networks
EP1650905A1 (en) Method for bandwidth profile management in a Metro Ethernet network
US20080304503A1 (en) Traffic manager and method for performing active queue management of discard-eligible traffic
US9197570B2 (en) Congestion control in packet switches
US8139481B2 (en) Method and equipment for shaping transmission speed of data traffic flow
CN107835133B (en) Stream priority control method based on multi-attribute decision
US10728156B2 (en) Scalable, low latency, deep buffered switch architecture
US7957394B1 (en) Automatic network switch configuration to support quality of service
US7830797B1 (en) Preserving packet order for data flows when applying traffic shapers
JP2020072336A (en) Packet transfer device, method, and program
CN105007235A (en) Congestion control method in wireless multimedia sensor network
US8660001B2 (en) Method and apparatus for providing per-subscriber-aware-flow QoS
JP2006020027A (en) Method, system, device, and program for communication flow control
Patel et al. Comparative analysis of congestion control algorithms using ns-2
JP4087279B2 (en) BAND CONTROL METHOD AND BAND CONTROL DEVICE THEREOF
CN114531399B (en) Memory blocking balancing method and device, electronic equipment and storage medium
Wadekar Enhanced ethernet for data center: Reliable, channelized and robust
US20080159320A1 (en) Layer 3 switch device and its control method
JP2005210606A (en) Communication device for performing priority control of packets, priority control method and program
Subash et al. Performance analysis of scheduling disciplines in optical networks
CN100450078C (en) Method and system of handling queue QoS

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060725

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070614

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080909

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20081006

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090203