JP2006254200A - Frame output apparatus and frame output method - Google Patents

Frame output apparatus and frame output method Download PDF

Info

Publication number
JP2006254200A
JP2006254200A JP2005069459A JP2005069459A JP2006254200A JP 2006254200 A JP2006254200 A JP 2006254200A JP 2005069459 A JP2005069459 A JP 2005069459A JP 2005069459 A JP2005069459 A JP 2005069459A JP 2006254200 A JP2006254200 A JP 2006254200A
Authority
JP
Japan
Prior art keywords
real
time
time frame
frame
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005069459A
Other languages
Japanese (ja)
Inventor
Kenichi Morikawa
健一 森川
Kazuhiko Morimura
和彦 森村
Atsushi Kawashima
淳 川島
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005069459A priority Critical patent/JP2006254200A/en
Publication of JP2006254200A publication Critical patent/JP2006254200A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To suppress fluctuation in a real-time frame by transmitting the real-time frame in a desired timing, without incurring waiting times by a non-real-time frame, when transmitting a frame restricted in time so as to request real-time properties in an apparatus that includes the function of outputting a frame, such as a terminal or a switch. <P>SOLUTION: When a real-time frame, that first arrives at each switch after real-time communication start, is delayed by a non-real-time frame, that real-time frame is discarded. Thus, since proper time can be ensured for the arriving real-time frame, the delivery timing of a real-time frame that arrives next can be calculated accurately, and the non-real-time frame is suppressed, in matching with the calculated timing. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、フレーム出力装置及びフレーム出力方法に関するものである。   The present invention relates to a frame output device and a frame output method.

CSMA/CD方式や全2重方式によるベストエフォート型ネットワークにおいて音声や映像等のリアルタイムデータのストリームを伝送するニーズが高まっている。しかしながらベストエフォート型ネットワークの性質上、リアルタイムな映像や音声のストリーム(情報)を決められた時間内で決められた量、確実に伝送することはそのままでは困難である。この問題はリアルタイム性を必要とするアプリケーションに対するQOS(Quality Of Service)の保証の課題として定義され、これを大きく分類すると遅延保証,遅延分散(揺らぎ)保証,帯域保証,パケット損失率保証、の4つの課題として捉えることが出来る。これらの課題を解決するための技術として以下の4つの技術要素が挙げられる。   There is an increasing need to transmit a stream of real-time data such as voice and video in a best effort network based on the CSMA / CD system or the full duplex system. However, due to the nature of a best-effort network, it is difficult to reliably transmit a real-time video or audio stream (information) in a predetermined amount within a predetermined time. This problem is defined as a QOS (Quality Of Service) guarantee issue for applications that require real-time performance, and can be broadly classified as delay guarantee, delay dispersion (fluctuation) guarantee, bandwidth guarantee, and packet loss rate guarantee. It can be seen as one issue. The following four technical elements can be cited as techniques for solving these problems.

(1)クラス分類(Classifier)
ルータやスイッチにおいて到着したフレームを送信元や送信先,TCP/UDPポート番号,Tosフィールドに基づいてトラフィックの分類を行う。
(1) Class classification
Based on the transmission source, transmission destination, TCP / UDP port number, and Tos field, the traffic that has arrived at the router or switch is classified.

(2)アドミッション制御(Admition control)
セッション毎に資源の予約をコントロールする方法。セッション買い指示にセットアッププロトコルによってパス上の資源を確保し、確保に失敗するとセッションは開始されない。
(2) Admission control
A method for controlling resource reservations per session. If a resource on the path is secured by the setup protocol in the session buying instruction and the securing fails, the session is not started.

(3)フレームスケジューラ(Frame scheduler)
グループ分類されたパケットを送出するスケジュールを調整する方法。キューイング方法やバッファ管理方法によって様々な方法がある。
(3) Frame scheduler
A method for adjusting the schedule for sending out grouped packets. There are various methods depending on the queuing method and the buffer management method.

(4)トラフィックシェーピング(Shaper)
流入するバーストトラフィックを一定レートにならす技術。
(4) Traffic shaping (Shaper)
Technology that smoothes incoming burst traffic at a constant rate.

中でも端末やスイッチなどフレームを出力する機能をもった装置においてCoSやQoSに対応するためには、(3)のフレームスケジューラの技術が重要となってくる。   In particular, in order to cope with CoS and QoS in a device having a function of outputting a frame such as a terminal or a switch, the technique of the frame scheduler (3) becomes important.

通常、フレームスケジューラでは複数の出力キューへフレームを入れた後に、望ましい優先処理を実現するために適切な送信スケジュールを作成する。スケジューリングアルゴリズムにはさまざまな種類があり、各アルゴリズムはそれぞれ異なる動作を提供し、パフォーマンスについてそれぞれ異なる種類の取捨選択を必要とする。広く普及しているものとしては、WFQ(Weighted Fair Queuing)と厳格優先処理が挙げられる。   Normally, the frame scheduler creates an appropriate transmission schedule in order to realize a desired priority process after putting frames into a plurality of output queues. There are various types of scheduling algorithms, each providing different behavior and requires different types of sorting for performance. Examples of widespread use include WFQ (Weighted Fair Queuing) and strict priority processing.

WFQ方式は優先度の高いキューを優遇するにしても、優先度の低いキューを全て除外するほどまで極端なことはしない方法の最も一般的な手法である。この方式では、各キューに“重み”が割り当てられる。WFQ方式は優先度の高いキューを優遇するにしても,優先度の低いキューを全て除外するほどまで極端なことはしない方法の最も一般的な手法である。この方式では、各キューに“重み”が割り当てられる。重みを帯域幅に比例して割り当てたり、フレーム単位で割り当てたりすることで、ある程度のフレームの優先性を保つことができる。一方、厳格優先処理方式では、スケジューラは常に空でないキューのうち最も優先度の高いキューからフレームを取り出す。厳格優先処理方式では、その名前が示すとおり、優先度を文字通りに解釈する。この場合、優先度の高いキューが、常に優先度の低いキューに先立って処理される。   The WFQ method is the most general method in which even if a queue with a high priority is given preferential treatment, it is not so extreme that all the queues with a low priority are excluded. In this scheme, a “weight” is assigned to each queue. The WFQ method is the most general method in which even if priority is given to a queue having a high priority, it is not so extreme that all the queues having a low priority are excluded. In this scheme, a “weight” is assigned to each queue. By assigning weights in proportion to the bandwidth, or by assigning them in units of frames, a certain degree of frame priority can be maintained. On the other hand, in the strict priority processing method, the scheduler always extracts frames from the queue with the highest priority among the non-empty queues. In the strict priority processing method, as the name indicates, the priority is interpreted literally. In this case, the high priority queue is always processed prior to the low priority queue.

特にリアルタイム性を要求される音声や動画のアプリケーションを伝送する場合には、そのフレームを最も優先度の高いフレームとして処理しなければならない。上記に示した厳格優先処理方式では、優先度の高いキュー及び優先度の低いキューの両方にフレームが存在する場合は優先度の高いキューのフレームが送信されるが、優先度の低いキューのフレームをいったん送信開始すると、その後に優先度の高いキューにフレームが到着したとしても、優先度の低いフレームが送信完了するまで送信することはできず、リアルタイム性を損なう可能性がある。   In particular, when transmitting an audio or moving picture application that requires real-time performance, the frame must be processed as a frame with the highest priority. In the strict priority processing method shown above, when a frame exists in both the high priority queue and the low priority queue, the frame of the high priority queue is transmitted. Once transmission is started, even if a frame arrives in a queue with high priority thereafter, it cannot be transmitted until transmission of a frame with low priority is completed, and real-time performance may be impaired.

これを解決する方法として、例えば、下記特許文献1のパケットスケジューリング装置では、前回受信したプレミアムパケットの送出開始時刻から計算して、受信したプレミアムパケットの送出開始時刻を把握しておく。低優先パケットは前記プレミアムパケットの送信開始時刻からプレミアムパケットの送信に遅延及び送信ジッタを発生するかどうかを判断し、遅延及び送信ジッタが発生しない場合にはそのまま低優先パケットを送信し、遅延及び送信ジッタが発生する場合は遅延及び送信ジッタを発生させない低優先パケットの長さを求め、この長さに従って低優先パケットの先頭からデータを分割して、送信開始時刻には必ずプレミアムパケットが送信されるように制御する方法である。
特開2002−016637号公報
As a method for solving this problem, for example, the packet scheduling apparatus disclosed in Patent Document 1 below calculates the transmission start time of the received premium packet by calculating from the transmission start time of the previously received premium packet. The low-priority packet determines whether or not delay and transmission jitter are generated in the transmission of the premium packet from the transmission start time of the premium packet. If no delay and transmission jitter occur, the low-priority packet is transmitted as it is. If transmission jitter occurs, determine the length of the low priority packet that does not cause delay and transmission jitter, divide the data from the beginning of the low priority packet according to this length, and always send a premium packet at the transmission start time. It is a method to control so that.
JP 2002-016637 A

しかし、上記方法では最初に受信したプレミアムパケットはスケジューリングされておらず、前記プレミアムパケットが揺らいでいた場合、前記プレミアムパケットを基準にスケジューリングが行われるため、多段にわたるパケットスケジューリング装置間で誤ったタイミングを検出しプレミアムパケットがエンドツーエンドで揺らぎ続ける可能性があるという問題がある。   However, in the above method, the premium packet received first is not scheduled, and if the premium packet is fluctuating, scheduling is performed based on the premium packet. There is a problem that premium packets may be detected and continue to fluctuate end-to-end.

本発明は、上述の問題点に着目してなされたものであって、端末やスイッチなどフレームを出力する機能を持った装置において、リアルタイム性を要求されるような時間に制約のあるフレームを送信する場合、非リアルタイムフレームによって待ち時間が発生せずに所望のタイミングでリアルタイムフレームを送信することができ、リアルタイムフレームの揺らぎを抑制することのできるフレーム出力装置及びフレーム出力方法の提供を目的とする。   The present invention has been made paying attention to the above-mentioned problems, and transmits a frame having a time constraint that requires real-time characteristics in a device having a function of outputting a frame such as a terminal or a switch. In this case, it is an object to provide a frame output device and a frame output method that can transmit a real-time frame at a desired timing without causing a waiting time due to a non-real-time frame, and can suppress fluctuations in the real-time frame. .

上記目的を達成するため、本出願に係る第一の発明は、
スイッチやルータなどのフレームを中継する機能を持った装置で、リアルタイム性を要求されるような時間に制約のあるリアルタイムフレームを中継する場合において、
受信したリアルタイムフレームを送信する際に、非リアルタイムフレームが送信中であるかを判断する判断手段と、
前記判断手段において、受信したリアルタイムフレームを送信する際に非リアルタイムフレームが送信中でない場合は該リアルタイムフレームを送信し、受信したリアルタイムフレームを送信する際に非リアルタイムフレームが送信中である場合は該リアルタイムフレームを廃棄する手段と、
受信したリアルタイムフレームの送信タイミングから、次に送信するべきリアルタイムフレームの適正な送信時間を算出する手段と、
前記算出した適正な時間を元に、次に送信するべきリアルタイムフレームの送信に影響を及ぼさないように、非リアルタイムフレームを送信する手段とを含むことを特徴とする。
In order to achieve the above object, the first invention according to the present application is:
When relaying a real-time frame with a time limit, such as a switch or router, which has a function to relay frames,
A determination means for determining whether a non-real-time frame is being transmitted when transmitting the received real-time frame;
In the determining means, when the received real-time frame is not transmitted, the real-time frame is transmitted. When the received real-time frame is transmitted, the non-real-time frame is transmitted. Means to discard the real-time frame;
Means for calculating an appropriate transmission time of a real-time frame to be transmitted next from the transmission timing of the received real-time frame;
Means for transmitting a non-real-time frame based on the calculated appropriate time so as not to affect transmission of a real-time frame to be transmitted next.

上記構成において、手段は、リアルタイムフレームが自装置から適正な時間に送信することができない場合は、該リアルタイムフレームを廃棄することで、中継するリアルタイムフレームが揺らいでいないことを保証するという動作をする。   In the above configuration, when the real-time frame cannot be transmitted from the device at an appropriate time, the means operates to guarantee that the real-time frame to be relayed is not shaken by discarding the real-time frame. .

本出願に係る第一の発明によれば、スイッチやルータなどのフレームを中継する機能を持った装置で、リアルタイム性を要求されるような時間に制約のあるリアルタイムフレームを中継する場合において、リアルタイムフレームが自装置から適正な時間に送信することができない場合は、該リアルタイムフレームを廃棄することで、中継するリアルタイムフレームが揺らいでいないことを保証し、後段の装置が受信する全てのリアルタイムフレーム送信タイミングから正確なスケジューリングを行うことができるという効果がある。   According to the first invention of the present application, in a device having a function of relaying a frame such as a switch or a router, in the case of relaying a real-time frame with a time limit that requires real-time property, If the frame cannot be transmitted from the own device at an appropriate time, discarding the real-time frame ensures that the relayed real-time frame is not fluctuated, and transmits all real-time frames received by the subsequent device There is an effect that accurate scheduling can be performed from the timing.

以下に本発明を実施するための最良の形態を、実施例に基づいて図面を参照しながら説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS The best mode for carrying out the present invention will be described below based on an embodiment with reference to the drawings.

(第一の実施例)
図を用いて本発明の詳細を説明する。
(First embodiment)
The details of the present invention will be described with reference to the drawings.

図1に本発明をノード装置に実装した際の内部ブロック図を示す。ノード装置には複数のポートが実装されているが、図1では1つのポートについて説明する。   FIG. 1 shows an internal block diagram when the present invention is implemented in a node device. Although a plurality of ports are mounted on the node device, one port will be described with reference to FIG.

受信部101はフレームを受信しフレーム処理部102へ送信する。フレーム処理部102ではフレーム内の送信元アドレスをアドレステーブル103で検索し、ヒットしなければその送信元アドレスとフレームを受信したポート番号をアドレステーブル103に登録する(学習)。更にフレーム内の宛先アドレスをアドレステーブル103にて検索し、ヒットすればアドレスに対応して登録されているポート番号をスイッチング情報としてフレームに付加し、ヒットしなければフラッディング指示用のスイッチング情報をフレームに付加して、スイッチング部104へ送信する。スイッチング部104ではフレームに付加されたスイッチング情報及びフレームに明示的に示された優先度情報から適正な宛先ポートの適正なキューにフレームを送信する。キューは優先度の高い順にリアルタイムフレームキュー106、非リアルタイムフレームキュー107があり、リアルタイムフレームキュー106にフレームが到着した場合には、タイミング検出部108に到着信号を送信する。また、スイッチング部104においてフレームの宛先アドレスが自ノード装置宛であればスイッチング部104から管理部105に送信する。管理部105ではノード装置への設定などの通信を管理する。特にリアルタイムフレームの周期に関する情報を取得した場合は、リアルタイムフレームスケジューラ109にリアルタイムフレームの受信周期を通知する。リアルタイムフレームスケジューラ109は管理部からのリアルタイムフレーム受信周期情報とタイミング検出部からのリアルタイムフレーム受信タイミング情報から次に到着するリアルタイムフレームの送信タイミングを計算し、送信抑制部110へ通知する。送信抑制部110は次に到着するリアルタイムフレームの送信タイミングに非リアルタイムフレームが送信中にならないように、非リアルタイムフレームの送信を抑制する。非リアルタイムフレーム送信抑制の判断方法は、非リアルタイムフレームキューのフレームの長さ及び送信タイミングから計算する方法などがある。優先度順スケジューラ111は、基本的には空でないキューのうち優先度の高い順にフレームを取り出すが、非リアルタイムフレーム送信中にリアルタイムフレームが到着しないかを監視しておき、非リアルタイムフレーム送信中にリアルタイムフレームが到着した場合、フレーム廃棄部112へ廃棄指示を行う。廃棄指示を受けたフレーム廃棄部はリアルタイムフレームキュー106のリアルタイムフレームを廃棄する。また、優先度順スケジューラ111によって取り出されたフレームは送信部113に送られ、ポートからフレームが送信される。   The receiving unit 101 receives a frame and transmits it to the frame processing unit 102. The frame processing unit 102 searches the address table 103 for the source address in the frame. If there is no hit, the source address and the port number that received the frame are registered in the address table 103 (learning). Further, the destination address in the frame is searched in the address table 103, and if it hits, the port number registered corresponding to the address is added to the frame as switching information, and if there is no hit, switching information for flooding instruction is added to the frame. And transmitted to the switching unit 104. The switching unit 104 transmits the frame to the appropriate queue of the appropriate destination port from the switching information added to the frame and the priority information explicitly indicated in the frame. The queue includes a real-time frame queue 106 and a non-real-time frame queue 107 in descending order of priority. When a frame arrives at the real-time frame queue 106, an arrival signal is transmitted to the timing detection unit 108. Further, if the destination address of the frame is addressed to the own node device in the switching unit 104, the frame is transmitted from the switching unit 104 to the management unit 105. The management unit 105 manages communication such as setting to the node device. In particular, when information regarding the real-time frame period is acquired, the real-time frame scheduler 109 is notified of the real-time frame reception period. The real-time frame scheduler 109 calculates the transmission timing of the next real-time frame from the real-time frame reception cycle information from the management unit and the real-time frame reception timing information from the timing detection unit, and notifies the transmission suppression unit 110 of the transmission timing. The transmission suppressing unit 110 suppresses the transmission of the non-real time frame so that the non-real time frame is not being transmitted at the transmission timing of the next arrival real time frame. A non-real time frame transmission suppression determination method includes a calculation method based on the frame length and transmission timing of the non-real time frame queue. The priority order scheduler 111 basically extracts frames in the order of priority from non-empty queues, but monitors whether a real-time frame arrives during non-real-time frame transmission, When the real-time frame arrives, the frame discard unit 112 is instructed to discard. The frame discard unit that receives the discard instruction discards the real-time frame in the real-time frame queue 106. The frame extracted by the priority order scheduler 111 is sent to the transmission unit 113, and the frame is transmitted from the port.

図2にリアルタイム通信時の制御をフローチャートに示す。リアルタイム通信が開始され(ステップS201)、最初のリアルタイムフレームを図1におけるリアルタイムフレームキュー106に受信すると(ステップS202)、ステップS203でタイミング検出部108においてリアルタイムフレーム送信タイミングを検出する。前記リアルタイムフレームがリアルタイムフレームキュー106に到着して優先度順スケジューラがすぐにリアルタイムフレームを取り出せる状態、つまり非リアルタイムフレームが送信中でなければ(ステップS204:No)、リアルタイムフレームを送信する(ステップS205)。前記リアルタイムフレームがリアルタイムフレームキュー106に到着して優先度順スケジューラがすぐにリアルタイムフレームを取り出せない状態、つまり非リアルタイムフレームが送信中でリアルタイムフレームがすぐに送信できない場合(ステップS204:Yes)は、ステップS206において前記リアルタイムフレームを廃棄し送信しない。その後ステップS207においてリアルタイムフレームキューに次のフレームがあるかを判断する。リアルタイムフレームキューにフレームが到着していれば(ステップS207:Yes)、ステップS208においてリアルタイムフレームを送信する。その後ステップS212にて自ノード装置宛にリアルタイム通信終了フレームが到着したかを確認する。ステップS207にてリアルタイムフレームが到着していなければ(ステップS207:No)、ステップS209において非リアルタイムフレームキューにフレームがあるかを判断する。非リアルタイムフレームキューにフレームがなければ(ステップS209:No)、ステップS212にて自ノード装置宛にリアルタイム通信終了フレームが到着したかを確認する。ステップS209において非リアルタイムフレームキューにフレームがある場合(ステップS209:Yes)はステップS210へ進み、最初に受信したリアルタイムフレームからスケジューリングされた次のリアルタイムフレーム送信タイミングまでに非リアルタイムフレームが送信終了できるかを判断する。非リアルタイムフレームが次のリアルタイムフレーム送信タイミングまでに送信終了できない場合は(ステップS210:No)、非リアルタイムフレームを送信せず、ステップS212にて自ノード装置宛にリアルタイム通信終了フレームが到着したかを確認する。非リアルタイムフレームが次のリアルタイムフレーム送信タイミングまでに送信終了できる場合は(ステップS210:Yes)、ステップS211において非リアルタイムフレームを送信する。その後ステップS212にて自ノード装置宛にリアルタイム通信終了フレームが到着したかを確認する。ステップS212において自ノード装置宛にリアルタイム通信終了フレームが到着していなければ(ステップS212:No)、ステップS207へ再び進み、リアルタイムフレームキューにフレームがあるかを判断する。ステップS212において自ノード装置宛にリアルタイム通信終了フレームが到着していれば(ステップS212:Yes)、ステップS213にてリアルタイム通信を終了させ、通常のキュー制御を行う。   FIG. 2 is a flowchart showing control during real-time communication. When real-time communication is started (step S201) and the first real-time frame is received by the real-time frame queue 106 in FIG. 1 (step S202), the timing detector 108 detects the real-time frame transmission timing in step S203. When the real-time frame arrives at the real-time frame queue 106 and the priority order scheduler can immediately extract the real-time frame, that is, when a non-real-time frame is not being transmitted (step S204: No), the real-time frame is transmitted (step S205). ). When the real-time frame arrives at the real-time frame queue 106 and the priority order scheduler cannot immediately extract the real-time frame, that is, when the non-real-time frame is being transmitted and the real-time frame cannot be transmitted immediately (step S204: Yes), In step S206, the real-time frame is discarded and not transmitted. Thereafter, in step S207, it is determined whether there is a next frame in the real-time frame queue. If the frame has arrived in the real-time frame queue (step S207: Yes), the real-time frame is transmitted in step S208. Thereafter, in step S212, it is confirmed whether or not a real-time communication end frame has arrived at the own node device. If no real-time frame has arrived in step S207 (step S207: No), it is determined in step S209 whether there is a frame in the non-real-time frame queue. If there is no frame in the non-real-time frame queue (step S209: No), it is confirmed in step S212 whether a real-time communication end frame has arrived at the node device. If there is a frame in the non-real-time frame queue in step S209 (step S209: Yes), the process proceeds to step S210, and can the non-real-time frame be transmitted by the next real-time frame transmission timing scheduled from the first received real-time frame? Judging. If the transmission of the non-real-time frame cannot be completed by the next real-time frame transmission timing (step S210: No), the non-real-time frame is not transmitted, and whether the real-time communication end frame has arrived at its own node device in step S212. Check. When transmission of a non-real time frame can be completed by the next real time frame transmission timing (step S210: Yes), the non-real time frame is transmitted in step S211. Thereafter, in step S212, it is confirmed whether or not a real-time communication end frame has arrived at the own node device. If the real-time communication end frame has not arrived at the node device in step S212 (step S212: No), the process proceeds to step S207 again to determine whether there is a frame in the real-time frame queue. If the real-time communication end frame has arrived at the node device in step S212 (step S212: Yes), the real-time communication is ended in step S213, and normal queue control is performed.

図3にシステム構成を示し、リアルタイム性の要求されたアプリケーションとその他のアプリケーションが混在する環境においてのフレーム制御を説明する。ノード装置304のポート2にはノード装置301のポート3が、ノード装置304のポート3にはノード装置302のポート2が、ノード装置304のポート4にはノード装置303のポート2が接続されている。また、ノード装置304のポート1にはシステム全体を管理する管理主体305が接続されている。管理主体305はリアルタイム通信のコネクション管理及びノード装置の設定などを行う。ノード装置301のポート1には端末306が、ポート2には端末307が接続されている。ノード装置302のポート1には端末308が接続されている。ノード装置303のポート1には端末309が、ポート3には端末310が接続されている。   FIG. 3 shows a system configuration, and frame control in an environment in which an application requiring real-time performance and other applications are mixed will be described. Port 2 of the node device 301 is connected to port 2 of the node device 304, port 2 of the node device 302 is connected to port 3 of the node device 304, and port 2 of the node device 303 is connected to port 4 of the node device 304. Yes. A management entity 305 that manages the entire system is connected to port 1 of the node device 304. The management entity 305 performs real-time communication connection management, node device setting, and the like. A terminal 306 is connected to port 1 of the node apparatus 301, and a terminal 307 is connected to port 2. A terminal 308 is connected to port 1 of the node device 302. A terminal 309 is connected to port 1 of the node apparatus 303, and a terminal 310 is connected to port 3.

図3において端末307、端末308及び端末310より端末309に非リアルタイム通信が行われているとする。この状態において端末306から端末309へリアルタイム通信を行う場合、システム全体の手続きを図4に示す。   In FIG. 3, it is assumed that non-real-time communication is performed from the terminal 307, the terminal 308, and the terminal 310 to the terminal 309. When real-time communication is performed from the terminal 306 to the terminal 309 in this state, a procedure of the entire system is shown in FIG.

端末306は管理主体305に対して、リアルタイム周期の情報と宛先端末情報を含むリアルタイム通信リクエストフレームを送信する。優先制御のコネクション管理をしている管理主体305は、ネットワークの状況から端末306からのリクエストを許可することができるかどうかを判断し、許可できない場合は端末306に送信拒否フレームを送信する。受け付けることができる場合は、図4のように端末306から端末309までの経路であるノード装置301のポート3、ノード装置304のポート4、ノード装置303のポート1にリアルタイム周期設定を行う。各ノード装置は設定すべきポートにリアルタイム周期を設定し、設定が完了すると管理主体305に対してACKを返す。管理主体305は全てのノード装置からACKが返された場合にのみ、端末306に対してリアルタイム通信許可フレームを送信し、全てのノード装置からACKを返されなかった場合は端末306に対して送信拒否フレームを送信する。管理主体305からリアルタイム通信許可フレームを受信した端末306はリアルタイム通信リクエストを行ったリアルタイム周期通りに送信する。各ノード装置は受信したリアルタイムフレームを他のフレームよりも優先して送信する。各ノード装置におけるリアルタイムフレーム送信の詳細は図5を用いて後述する。端末306はリアルタイムフレーム送信を完了すると、各ノード装置に設定されたリアルタイム通信設定を解除するために、管理主体305に対してリアルタイム通信解除リクエストフレームを送信する。リアルタイム通信解除リクエストフレームを受信した管理主体305は各ノード装置に対して、リアルタイム通信終了フレームを送信する。設定を解除した各ノード装置は管理主体305に対してACKを返す。全てのノード装置からACKを受信した管理主体305は端末306にリアルタイム通信設定を全て解除できたことを示す解除ACKフレームを送信し、リアルタイム通信の送信手続きを完了する。   The terminal 306 transmits a real-time communication request frame including real-time cycle information and destination terminal information to the management entity 305. The management entity 305 that manages connection for priority control determines whether the request from the terminal 306 can be permitted based on the network status, and transmits a transmission rejection frame to the terminal 306 if the request cannot be permitted. If it can be accepted, as shown in FIG. 4, real-time cycle setting is performed for port 3 of the node device 301, port 4 of the node device 304, and port 1 of the node device 303 that are routes from the terminal 306 to the terminal 309. Each node device sets a real-time cycle for the port to be set, and returns ACK to the management entity 305 when the setting is completed. The management entity 305 transmits a real-time communication permission frame to the terminal 306 only when ACK is returned from all node devices, and transmits to the terminal 306 when ACK is not returned from all node devices. Send reject frame. The terminal 306 that has received the real-time communication permission frame from the management entity 305 transmits it according to the real-time cycle in which the real-time communication request is made. Each node device transmits the received real-time frame with priority over other frames. Details of real-time frame transmission in each node device will be described later with reference to FIG. When the terminal 306 completes the real-time frame transmission, the terminal 306 transmits a real-time communication cancel request frame to the management entity 305 in order to cancel the real-time communication setting set in each node device. The management entity 305 that has received the real-time communication cancel request frame transmits a real-time communication end frame to each node device. Each node device whose setting is canceled returns ACK to the management entity 305. The management entity 305 that has received ACKs from all the node devices transmits a release ACK frame indicating that all of the real-time communication settings have been released to the terminal 306, and completes the real-time communication transmission procedure.

図5を用いて図3における各ノード装置のリアルタイムフレーム送信について、詳細を述べる。ノード装置301のポート1に端末306からリアルタイム通信開始後、最初のリアルタイムフレームA1が到着する。リアルタイムフレームA1がポート3から送信されるタイミングと予めノード装置に設定されたリアルタイム周期を用いて次に到着するであろうリアルタイムフレームA2の送信タイミングを計算する。また、リアルタイムフレームA2が到着するとその時間からリアルタイムフレームA3の到着タイミングを計算する。ここで、図5に示すようにノード装置301のポート1に最初のリアルタイムフレームA1が到着する直前にポート2に端末307が送信してきた非リアルタイムフレームB1が到着している場合について述べる。もし、リアルタイムフレームA1が非リアルタイムフレームB1より早く到着した、もしくは同時に到着したのであればキューの優先制御によりリアルタイムフレームA1が先に送信されるが、非リアルタイムフレームB1が先に到着しているためリアルタイムフレームA1が送信されるべきタイミングに非リアルタイムフレームB1が送信中になってしまい、リアルタイムフレームA1は適正な時間に送信されない。ここでリアルタイムフレームA1を適正な時間でないタイミングで送信してしまうと、後段のノード装置のスケジューリングに影響が起きるので、リアルタイムフレームA1はノード装置301内で廃棄する。その後に、到着するリアルタイムフレームはスケジューリングされ非リアルタイムフレームの影響を受けないため、常に適正な時間に送信できる。例えばリアルタイムフレームA4の送信タイミングに非リアルタイムフレームB2の送信が重なってしまう場合は図のように、非リアルタイムフレームB2の送信を一時抑制し、リアルタイムフレームA4の送信終了後に非リアルタイムフレームB2を送信する。   The real-time frame transmission of each node device in FIG. 3 will be described in detail using FIG. After the real-time communication is started from the terminal 306 at the port 1 of the node device 301, the first real-time frame A1 arrives. The transmission timing of the real-time frame A2 that will arrive next is calculated using the timing at which the real-time frame A1 is transmitted from the port 3 and the real-time cycle set in advance in the node device. When the real time frame A2 arrives, the arrival timing of the real time frame A3 is calculated from the time. Here, a case will be described in which a non-real-time frame B1 transmitted from the terminal 307 arrives at the port 2 immediately before arrival of the first real-time frame A1 at the port 1 of the node device 301 as shown in FIG. If the real-time frame A1 arrives earlier than the non-real-time frame B1, or arrives at the same time, the real-time frame A1 is transmitted first by the priority control of the queue, but the non-real-time frame B1 arrives first. The non-real time frame B1 is being transmitted at the timing at which the real time frame A1 is to be transmitted, and the real time frame A1 is not transmitted at an appropriate time. Here, if the real-time frame A1 is transmitted at a timing that is not appropriate, the scheduling of the node device at the subsequent stage is affected. Therefore, the real-time frame A1 is discarded in the node device 301. Thereafter, the arriving real-time frame is scheduled and is not affected by the non-real-time frame, so that it can always be transmitted at an appropriate time. For example, when the transmission of the non-real time frame B2 overlaps with the transmission timing of the real time frame A4, as shown in the figure, the transmission of the non real time frame B2 is temporarily suppressed and the non real time frame B2 is transmitted after the transmission of the real time frame A4 is completed. .

ノード装置302はポート1に端末308が送信してきた非リアルタイムフレームC1,C2をポート2からノード装置304のポート3に送信する。ノード装置304はリアルタイム通信開始後、ポート2にノード装置301から最初のリアルタイムフレームA2が到着する。この時リアルタイムフレームA2がポート4から送信されるタイミングと予めノード装置304に設定されたリアルタイム周期を用いて次に到着するであろうリアルタイムフレームA3の送信タイミングを計算する。また、リアルタイムフレームA3が到着するとその時間からリアルタイムフレームA4の到着タイミングを計算する。ここでも、最初に到着したリアルタイムフレームA2の送信タイミングにノード装置302から受信した非リアルタイムフレームC1が送信中になっている。従って、ノード装置304はリアルタイムフレームA2を廃棄する。また、リアルタイムフレームA3到着時には、前述したリアルタイムフレームA2からスケジューリングされ非リアルタイムフレームC2の送信を抑制することができる。   The node device 302 transmits the non-real time frames C 1 and C 2 transmitted from the terminal 308 to the port 1 from the port 2 to the port 3 of the node device 304. The node device 304 receives the first real-time frame A2 from the node device 301 at the port 2 after the real-time communication is started. At this time, the transmission timing of the real-time frame A3 that will arrive next is calculated using the timing at which the real-time frame A2 is transmitted from the port 4 and the real-time cycle preset in the node device 304. When the real time frame A3 arrives, the arrival timing of the real time frame A4 is calculated from the time. Also here, the non-real-time frame C1 received from the node device 302 is being transmitted at the transmission timing of the first-arrival real-time frame A2. Accordingly, the node device 304 discards the real time frame A2. Further, when the real-time frame A3 arrives, the transmission of the non-real-time frame C2 scheduled from the real-time frame A2 described above can be suppressed.

ノード装置303はリアルタイム通信開始後、ポート2にノード装置304から最初のリアルタイムフレームA3が到着する。この時リアルタイムフレームA3がポート1から送信されるタイミングと予めノード装置303に設定されたリアルタイム周期を用いて次に到着するであろうリアルタイムフレームA4の送信タイミングを計算する。また、リアルタイムフレームA4が到着するとその時間からリアルタイムフレームA5の到着タイミングを計算する。ここでも、最初に到着したリアルタイムフレームA3の送信タイミングに端末310から受信した非リアルタイムフレームE1が送信中になっている。従って、ノード装置303はリアルタイムフレームA3を廃棄する。また、リアルタイムフレームA4到着時には、前述したリアルタイムフレームA3からスケジューリングされ非リアルタイムフレームE2の送信を抑制することができる。   The node device 303 receives the first real-time frame A3 from the node device 304 at the port 2 after the real-time communication is started. At this time, the transmission timing of the real-time frame A4 that will arrive next is calculated using the timing at which the real-time frame A3 is transmitted from the port 1 and the real-time period set in advance in the node device 303. When the real time frame A4 arrives, the arrival timing of the real time frame A5 is calculated from the time. Again, the non-real-time frame E1 received from the terminal 310 is being transmitted at the transmission timing of the real-time frame A3 that arrives first. Therefore, the node device 303 discards the real time frame A3. Further, when the real-time frame A4 arrives, the transmission of the non-real-time frame E2 scheduled from the above-described real-time frame A3 can be suppressed.

前述したようにリアルタイム通信開始後、各ノード装置に最初に到着したリアルタイムフレームが非リアルタイムフレームによって遅延してしまう場合、該リアルタイムフレームを廃棄する。また、到着したリアルタイムフレームは適正な時間である保証があるので、次に到着するリアルタイムフレームの送信タイミングを正確に算出することができ、それに合わせて非リアルタイムフレームを抑制することができる。   As described above, when the real-time frame that first arrives at each node device after the start of real-time communication is delayed by the non-real-time frame, the real-time frame is discarded. In addition, since there is a guarantee that the arrived real-time frame is an appropriate time, the transmission timing of the next real-time frame can be accurately calculated, and non-real-time frames can be suppressed accordingly.

また、本件ではリアルタイムフレームの周期が一定である場合について述べたが、リアルタイムフレームに次のリアルタイムフレームが到着するまでの時間情報を埋め込むことにより周期が一定でない場合についても対応できる。   In this case, the case where the period of the real-time frame is constant has been described. However, it is possible to cope with the case where the period is not constant by embedding time information until the next real-time frame arrives in the real-time frame.

内部ブロック図Internal block diagram リアルタイム通信時の制御を示すフローチャートFlow chart showing control during real-time communication システム構成例を示す図Diagram showing an example system configuration リアルタイム通信時のシステム全体における手続きを示す図The figure which shows the procedure in the whole system at the time of real-time communication 各ノード装置のリアルタイムフレーム送信詳細を示す図The figure which shows the real-time frame transmission detail of each node apparatus

符号の説明Explanation of symbols

101 受信部
102 フレーム処理部
103 アドレステーブル
104 スイッチング部
105 管理部
106 リアルタイムフレームキュー
107 非リアルタイムフレームキュー
108 タイミング検出部
109 リアルタイムフレームスケジューラ
110 送信抑制部
111 優先度順スケジューラ
112 フレーム廃棄部
113 送信部
101 reception unit 102 frame processing unit 103 address table 104 switching unit 105 management unit 106 real-time frame queue 107 non-real-time frame queue 108 timing detection unit 109 real-time frame scheduler 110 transmission suppression unit 111 priority order scheduler 112 frame discard unit 113 transmission unit

Claims (4)

スイッチやルータなどのフレームを中継する機能を持った装置で、リアルタイム性を要求されるような時間に制約のあるリアルタイムフレームを中継するフレーム出力装置において、
リアルタイムフレームが自装置から適正な時間に送信することができない場合は、該リアルタイムフレームを廃棄することで、中継するリアルタイムフレームが揺らいでいないことを保証することを特徴とするフレーム出力装置。
In a frame output device that relays a real-time frame that has a function to relay a frame such as a switch or a router, and that requires a real-time property and has a time constraint,
A frame output device characterized by ensuring that a real-time frame to be relayed is not fluctuated by discarding the real-time frame when the real-time frame cannot be transmitted from the own device at an appropriate time.
請求項1に記載のフレーム出力装置において、
受信したリアルタイムフレームを中継する際に、非リアルタイムフレームが送信中であるかを判断する判断手段と、
前記判断手段において、受信したリアルタイムフレームを送信する際に非リアルタイムフレームが送信中でない場合は該リアルタイムフレームを送信し、受信したリアルタイムフレームを送信する際に非リアルタイムフレームが送信中である場合は該リアルタイムフレームを廃棄する手段と、
受信したリアルタイムフレームの送信タイミングから、次に送信するべきリアルタイムフレームの適正な送信時間を算出する手段と、
前記算出した適正な時間を元に、次に送信するべきリアルタイムフレームの送信に影響を及ぼさないように、非リアルタイムフレームを送信する手段とを備え、
中継するリアルタイムフレームが揺らいでいないことを保証することを特徴とするフレーム出力装置。
The frame output device according to claim 1, wherein
A determination means for determining whether a non-real-time frame is being transmitted when relaying a received real-time frame;
In the determining means, when the received real-time frame is not transmitted, the real-time frame is transmitted. When the received real-time frame is transmitted, the non-real-time frame is transmitted. Means to discard the real-time frame;
Means for calculating an appropriate transmission time of a real-time frame to be transmitted next from the transmission timing of the received real-time frame;
Means for transmitting a non-real-time frame based on the calculated appropriate time so as not to affect transmission of a real-time frame to be transmitted next;
A frame output device characterized by guaranteeing that a real-time frame to be relayed is not fluctuated.
スイッチやルータなどのフレームを中継する機能を持った装置で、リアルタイム性を要求されるような時間に制約のあるリアルタイムフレームを中継するフレーム出力方法において、
リアルタイムフレームが自装置から適正な時間に送信することができない場合は、該リアルタイムフレームを廃棄することで、中継するリアルタイムフレームが揺らいでいないことを保証することを特徴とするフレーム出力方法。
In a frame output method that relays real-time frames with restrictions on time, such as switches and routers that have a function of relaying frames, where real-time performance is required,
A frame output method characterized by ensuring that a real-time frame to be relayed is not fluctuated by discarding the real-time frame when the real-time frame cannot be transmitted from the device at an appropriate time.
請求項3に記載のフレーム出力方法において、
受信したリアルタイムフレームを中継する際に、非リアルタイムフレームが送信中であるかを判断する判断工程と、
前記判断工程において、受信したリアルタイムフレームを送信する際に非リアルタイムフレームが送信中でない場合は該リアルタイムフレームを送信し、受信したリアルタイムフレームを送信する際に非リアルタイムフレームが送信中である場合は該リアルタイムフレームを廃棄する工程と、
受信したリアルタイムフレームの送信タイミングから、次に送信するべきリアルタイムフレームの適正な送信時間を算出する工程と、
前記算出した適正な時間を元に、次に送信するべきリアルタイムフレームの送信に影響を及ぼさないように、非リアルタイムフレームを送信する手段とを備え、
中継するリアルタイムフレームが揺らいでいないことを保証することを特徴とするフレーム出力方法。
The frame output method according to claim 3, wherein
A determination step of determining whether a non-real-time frame is being transmitted when relaying a received real-time frame;
In the determining step, when the received real-time frame is not transmitted, the real-time frame is transmitted. When the received real-time frame is transmitted, the non-real-time frame is transmitted. A process of discarding the real-time frame;
Calculating an appropriate transmission time of a real-time frame to be transmitted next from the transmission timing of the received real-time frame;
Means for transmitting a non-real-time frame based on the calculated appropriate time so as not to affect transmission of a real-time frame to be transmitted next;
A frame output method characterized by ensuring that a real-time frame to be relayed is not fluctuated.
JP2005069459A 2005-03-11 2005-03-11 Frame output apparatus and frame output method Withdrawn JP2006254200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005069459A JP2006254200A (en) 2005-03-11 2005-03-11 Frame output apparatus and frame output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005069459A JP2006254200A (en) 2005-03-11 2005-03-11 Frame output apparatus and frame output method

Publications (1)

Publication Number Publication Date
JP2006254200A true JP2006254200A (en) 2006-09-21

Family

ID=37094192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005069459A Withdrawn JP2006254200A (en) 2005-03-11 2005-03-11 Frame output apparatus and frame output method

Country Status (1)

Country Link
JP (1) JP2006254200A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008283429A (en) * 2007-05-10 2008-11-20 Nec Corp Quality control system and quality control method in rich media communication
JP2012015895A (en) * 2010-07-02 2012-01-19 Mitsubishi Electric Corp Communication device and packet relay method
KR101839739B1 (en) * 2015-03-25 2018-03-16 미쓰비시덴키 가부시키가이샤 Communication device and communication method
CN109462555A (en) * 2018-12-20 2019-03-12 清华大学 A kind of mix of priorities data transmission scheduling method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008283429A (en) * 2007-05-10 2008-11-20 Nec Corp Quality control system and quality control method in rich media communication
JP2012015895A (en) * 2010-07-02 2012-01-19 Mitsubishi Electric Corp Communication device and packet relay method
KR101839739B1 (en) * 2015-03-25 2018-03-16 미쓰비시덴키 가부시키가이샤 Communication device and communication method
CN109462555A (en) * 2018-12-20 2019-03-12 清华大学 A kind of mix of priorities data transmission scheduling method and device
CN109462555B (en) * 2018-12-20 2021-11-26 清华大学 Mixed priority data transmission scheduling method and device

Similar Documents

Publication Publication Date Title
JP4446356B2 (en) Rate shaper algorithm
EP1578072B1 (en) Priority control apparatus and method for transmitting frames
JP3970138B2 (en) Congestion control device in Ethernet switch
US8125904B2 (en) Method and system for adaptive queue and buffer control based on monitoring and active congestion avoidance in a packet network switch
US6765905B2 (en) Method for reducing packet data delay variation in an internet protocol network
US10432556B1 (en) Enhanced audio video bridging (AVB) methods and apparatus
US20060268692A1 (en) Transmission of electronic packets of information of varying priorities over network transports while accounting for transmission delays
EP2074761B1 (en) Playout based delay scheduler
US20070183332A1 (en) System and method for backward congestion notification in network
US20050281277A1 (en) Establishing traffic priorities in a voice over IP network
EP2036278B1 (en) Method and apparatus of precedence identification for real time services
US20050201373A1 (en) Packet output-controlling device, packet transmission apparatus
CN107852371B (en) Data packet network
CA2732258A1 (en) Dynamic setting of optimal buffer sizes in ip networks
JP2006511140A (en) Real-time data protection in wireless networks
US20080013559A1 (en) Systems and methods for applying back-pressure for sequencing in quality of service
US11128572B2 (en) Preemptive packet transmission
US9350659B1 (en) Congestion avoidance for network traffic
EP3032785B1 (en) Transport method in a communication network
EP2985963A1 (en) Packet scheduling networking device
EP2031806A1 (en) Method and system for managing transmission of fragmented data packets
JP2006254200A (en) Frame output apparatus and frame output method
JP4323987B2 (en) Network switch and packet relay method for relaying packets while maintaining the real-time property of packets
JP2003258881A (en) Adaptive quality control system
JP2005295524A (en) Packet output-controlling device, packet shaper, and packet repeater

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080513