JPH0969852A - Band reserving system for network - Google Patents

Band reserving system for network

Info

Publication number
JPH0969852A
JPH0969852A JP22510495A JP22510495A JPH0969852A JP H0969852 A JPH0969852 A JP H0969852A JP 22510495 A JP22510495 A JP 22510495A JP 22510495 A JP22510495 A JP 22510495A JP H0969852 A JPH0969852 A JP H0969852A
Authority
JP
Japan
Prior art keywords
queue
frames
frame
processing
network
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
JP22510495A
Other languages
Japanese (ja)
Inventor
Kiyonobu Terada
清伸 寺田
Hidehiro Matsuo
英普 松尾
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP22510495A priority Critical patent/JPH0969852A/en
Publication of JPH0969852A publication Critical patent/JPH0969852A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To transmit all protocol frames at a fixed rate without concentrating processing at a priority frame by allocating bands to queues provided according to protocols in a prescribed ratio and successively repeatedly performing frame processing in a network with which repetition is performed while using plural protocols. SOLUTION: When transmitting the frame received from an 'Ethernet<(> R<)> ' 101 to a leased line 102 at a multiprotocol router having the queue of frames, the router provides the queues as many as the number of networks to be used at a buffer memory 37 and allocates the rate of band usage in the prescribed ratio. Then, the frames received from the 'Ethernet<(> R<)> ' 101 are divided according to protocols and respectively distributed to the queues, the allocated frames are successively transmitted according to the rate of band usage and at the point in time when the transmission procedure completes one cycle, the transmission is returned to the first queue and repeatedly performed. Thus evey protocols can be transmitted at a fixed ratio.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数プロトコルで
ネットワーク間の中継を行うマルチプロトコルルータに
係り、特に、どのプロトコルフレームもそれぞれ一定の
割合で送信できるネットワークの帯域予約方式に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-protocol router for relaying between networks by a plurality of protocols, and more particularly to a network bandwidth reservation system capable of transmitting any protocol frame at a constant rate.

【0002】[0002]

【従来の技術】従来技術を説明する。図3に示されたネ
ットワークシステムは、10Mbit/secのイーサ
ネット101とイーサネット120とを64kbit/
secの高速ディジタル専用線102を介して接続し、
TCP/IPやIPX、SNA等のトラフィックをルー
タ103,123によって中継するネットワークシステ
ムである。
2. Description of the Related Art The prior art will be described. In the network system shown in FIG. 3, the Ethernet 101 and the Ethernet 120 of 10 Mbit / sec are 64 kbit / sec.
Connected via the sec high-speed digital dedicated line 102,
It is a network system that relays traffic such as TCP / IP, IPX, and SNA by routers 103 and 123.

【0003】ルータ103は、図4に示すように、イー
サネットインタフエース回路30、専用線インタフェー
ス回路31、内部バス32、33、34、マイクロプロ
セッサやメモリより構成されるルータ動作制御部36、
送受信フレームを格納するバッファメモリ37、信号線
38、39等により構成される。
As shown in FIG. 4, the router 103 includes an Ethernet interface circuit 30, a dedicated line interface circuit 31, internal buses 32, 33 and 34, and a router operation control section 36 including a microprocessor and a memory.
It is composed of a buffer memory 37 for storing transmission / reception frames, signal lines 38, 39, and the like.

【0004】ここで、イーサネット101を流れるパケ
ットをルータ103が専用線102に中継する場合を考
える。イーサネット101側から受信したフレームを専
用線102側へ中継する場合、専用線102の伝送速度
は64kbit/secはイーサネット101の伝送速
度10Mbit/secより遅いため、イーサネット1
01側に、中継すべきフレームが複数連続して到着した
場合、これらのフレームを一時的にルータ103内のバ
ッファメモリ37に蓄えておく必要がある。ルータ10
3の内部においてこれらのフレームは、キューと呼ばれ
る待ち行列に保持される。この待ち行列は例えば、図5
のようなフレームディスクリプタと呼ばれる一連のメモ
リブロックをポインタによって繋げたリスト構造によっ
て実現される。ルータ103は、内部に格納されている
フレームの先頭を示すポインタを保持しており、このポ
インタが先頭のフレームディスクリプタを指している。
フレームディスクリプタは、次のフレームディスクリプ
タを指すポインタ(次ポインタ)、フレーム長、実際の
送信フレームまたは受信フレームが格納されたメモリア
ドレスを示すポインタ等から成つており、最後のフレー
ムを示すフレームディスクリプタは次ポインタとして、
最後である事が識別できる特殊な値を設定する。ここで
は、0を設定する事によって、最後である事を示してい
る。キューへのフレームの追加は、0が設定されたフレ
ームディスクリプタの次ポインタを、新たに追加しよう
としているフレームを示すディスクリプタのアドレスに
書き換え、このディスクリプタの次ポインタを0に設定
する事によって行う。また、キューからフレームを取り
出す場合は、先頭を示すポインタの値を、先頭のフレー
ムディスクリプタの次ポインタの値に書き換える事によ
って行う。
Consider a case where the router 103 relays a packet flowing through the Ethernet 101 to the leased line 102. When a frame received from the Ethernet 101 side is relayed to the dedicated line 102 side, the transmission rate of the dedicated line 102 is 64 kbit / sec, which is slower than the transmission rate of 10 Mbit / sec of the Ethernet 101.
When a plurality of frames to be relayed arrive on the 01 side in succession, it is necessary to temporarily store these frames in the buffer memory 37 in the router 103. Router 10
Within 3, these frames are held in a queue called a queue. This queue is, for example, FIG.
It is realized by a list structure in which a series of memory blocks called a frame descriptor are connected by a pointer. The router 103 holds a pointer indicating the beginning of the frame stored inside, and this pointer points to the beginning frame descriptor.
The frame descriptor is composed of a pointer (next pointer) that points to the next frame descriptor, a frame length, a pointer that indicates the memory address where the actual transmission frame or the reception frame is stored, and the like. The frame descriptor that indicates the last frame is the next. As a pointer
Set a special value that can identify the end. Here, by setting 0, the end is shown. The frame is added to the queue by rewriting the next pointer of the frame descriptor set to 0 to the address of the descriptor indicating the frame to be newly added, and setting the next pointer of this descriptor to 0. Further, when a frame is taken out from the queue, the value of the pointer indicating the beginning is rewritten to the value of the next pointer of the leading frame descriptor.

【0005】簡単なルータにおいては、TCP/IPや
IPX、SNA等のプロトコルにかかわらず全てのフレ
ームが一つのキューによって管理される。この場合、T
CP/IPやIPXのフレームがキューに既に登録され
ている状態でSNAのような他のプロトコルフレームが
キューに登録されると、このSNAフレームは前に登録
されていた他のプロトコルフレームか全て処理されるの
を待つて処理される。ここで、SNAフレームの前に登
録されていた他プロトコルフレームの数が多い場合、こ
のSNAフレームはなかなか処理されず、中継遅延時間
が大きくなる。このようなフレームが最終的な宛先に到
達するまでに複数のルータによって中継されるとする
と、この中継遅延時間が各ルータで発生するため、最悪
の場合、エンド端末間のコネクションがタイムアウトし
てしまうという問題があった。
In a simple router, all frames are managed by one queue regardless of protocols such as TCP / IP, IPX and SNA. In this case, T
When another protocol frame such as SNA is registered in the queue while the CP / IP or IPX frame is already registered in the queue, this SNA frame is processed by the other protocol frame previously registered or all of them are processed. It is processed by waiting for it to be done. Here, when the number of other protocol frames registered before the SNA frame is large, this SNA frame is not processed easily and the relay delay time becomes long. If such a frame is relayed by multiple routers before reaching the final destination, this relay delay time occurs in each router, and in the worst case, the connection between end terminals times out. There was a problem.

【0006】この問題を解決するために、複数のキュー
を設け、ユーザが各プロトコルに優先度を指定し、優先
度別のキューによってフレームを管理できるルータがあ
る。例えば、プロトコル毎に優先度1、2、3を指定で
きるようにし、3つのキューを用意する。優先度は1が
最も高く、3が最も低いものとし、例えば、SNAに優
先度1、TCP/IPに優先度2、IPXに優先度3を
割り当てる。イーサネットから受信したフレームを専用
線へ中継する場合、優先度に従ってキューを調べ、その
キューに登録されているフレームを全て送信すると、次
のキューを調べる。即ち、まず優先度1のキューを調
べ、登録されているフレームを全て送信し、次に優先度
2のキューを調べ、登録されているフレームを送信す
る。そして、最後に優先度3のキューを調べ、登録され
ているフレームを送信する。
In order to solve this problem, there is a router in which a plurality of queues are provided, the user specifies the priority for each protocol, and the frames can be managed by the queue for each priority. For example, priority levels 1, 2, and 3 can be designated for each protocol, and three queues are prepared. It is assumed that 1 is the highest priority and 3 is the lowest priority. For example, priority 1 is assigned to SNA, priority 2 is assigned to TCP / IP, and priority 3 is assigned to IPX. When relaying the frame received from the Ethernet to the dedicated line, the queue is checked according to the priority, and when all the frames registered in the queue are transmitted, the next queue is checked. That is, first, the queue of priority 1 is checked, all the registered frames are transmitted, then the queue of priority 2 is checked, and the registered frames are transmitted. Finally, the queue of priority 3 is checked and the registered frame is transmitted.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、この様
なルータでは、優先度2のキューの処理をしている時に
優先度1のキューに新たにフレームが登録されるとこの
キューに戻つて処理を行う。このため、優先度1または
優先度2のキューに絶えずフレームが到着すると、優先
度3のキューに登録されたフレームが処理されなくな
る。
However, in such a router, if a new frame is registered in the priority 1 queue while processing a priority 2 queue, the router returns to this queue to perform the processing. To do. For this reason, when a frame constantly arrives at the priority 1 or priority 2 queue, the frame registered in the priority 3 queue is not processed.

【0008】そこで、本発明の目的は、上記課題を解決
し、どのプロトコルフレームもそれぞれ一定の割合で送
信できるネットワークの帯域予約方式を提供することに
ある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to solve the above problems and provide a bandwidth reservation system for a network that can transmit every protocol frame at a constant rate.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明は、複数のプロトコルを使用しネットワーク間
の中継を行うためにフレームの待ち行列であるキューを
有したマルチプロトコルルータにおいて、上記キューを
プロトコル別に設けると共にキュー毎に使用できるネッ
トワークの帯域の割合を割り当て、割り当てられた割合
が多いキューから順にフレームを処理し、そのキューに
フレームが無くなると次のキューに処理を移すようにし
て最後のキューまで処理し、再び、最初のキューから処
理を繰り返すものである。
To achieve the above object, the present invention provides a multi-protocol router having a queue as a queue of frames for relaying between networks using a plurality of protocols. A queue is provided for each protocol, and the ratio of the available network bandwidth is assigned to each queue. Frames are processed in order from the queue with the largest allocated ratio, and when there are no more frames in that queue, the processing moves to the next queue. It processes up to the last queue and repeats the processing from the first queue again.

【0010】所定の単位時間を上記各キューに割り当て
られた使用できる帯域の割合で分割し、このうち上記処
理順が最初となるキューによって占められる時間を基準
時間とし、最初のキューをこの基準時間だけ処理し、次
のキューから最後のキューまで、最初のキューに対する
そのキューの帯域使用率と上記基準時間との積で表され
る時間だけ処理してもよい。
The predetermined unit time is divided by the ratio of the available bandwidth allocated to each of the queues, and the time occupied by the queue having the first processing order is used as the reference time, and the first queue is the reference time. Processing may be performed only from the next queue to the last queue for a time represented by the product of the bandwidth usage rate of the queue with respect to the first queue and the reference time.

【0011】上記最初のキューの処理中にキュー内のフ
レームが空になっても上記基準時間に達しない場合、こ
の最初のキューが空になるまでの時間を上記基準時間に
更新してもよい。
If the reference time is not reached even when the frames in the queue become empty during the processing of the first queue, the time until the first queue becomes empty may be updated to the reference time. .

【0012】上記キュー毎に、既に送信したフレームの
大きさの和からなる変数を持たせ、各キューの処理を始
める前にこの変数を0に設定し、処理中はフレームを送
信する毎にこのフレームの大きさをこの変数に加え、こ
の変数がネットワークの帯域と当該キューに割り当てら
れた割合との積を越えた場合、当該キューの残りのフレ
ームは送信せず、次のキューに処理を移してもよい。
Each queue has a variable consisting of the sum of the sizes of the already transmitted frames, this variable is set to 0 before the processing of each queue is started, and this variable is set every time a frame is transmitted during the processing. The size of the frame is added to this variable, and if this variable exceeds the product of the network bandwidth and the ratio assigned to this queue, the remaining frames in that queue are not transmitted and processing is moved to the next queue. May be.

【0013】[0013]

【発明の実施の形態】本発明においては、ルータ内に複
数のキューを用意し、それぞれのキューに受信したパケ
ット(フレーム)をプロトコル別に分割して格納し、ネ
ットワークの帯域のうち使用できる割合をユーザがプロ
トコル毎に設定し、ネットワークにフレームを送信する
場合、割り当てられた割合の最も多いキューから順に処
理を行い、キューに格納されたパケットが無くなると次
のキューを処理する。最後のキューを処理した後は始め
のキューに戻って同様の処理を繰り返す。この処理はキ
ューによってフレームの送出時間を変えて送信フレーム
数を制御するものである。所定の単位時間、例えば1秒
間を各キューに割り当てられた割合で分割した時、最初
のキューが占める値を基準時間とし、最初に処理される
キューのフレームはこの基準時間だけ送出される。ま
た、基準時間内にキュー内のフレームを全て送信した場
合はそれまでの送信時間を基準時間とする。その他のキ
ューは、最初のキューに対するそのキューの帯域使用率
とこの基準時間の積で表される時間だけキュー内のフレ
ームを送信する。これによってユーザが予約した帯域に
従つてネットワークを使用することが可能となる。ま
た、キューを処理するにあたって既に送信したフレーム
サイズの和を保持し、この値が、ネットワークの帯域と
そのキューに割り当てられた使用できる帯域の割合の積
を越えた場合、残りのフレームがあっても送信せず、次
のキューを処理する。
BEST MODE FOR CARRYING OUT THE INVENTION According to the present invention, a plurality of queues are prepared in a router, and a packet (frame) received in each queue is divided according to a protocol and stored. When the user sets for each protocol and transmits a frame to the network, the process is performed in order from the queue with the largest assigned ratio, and when there are no more packets stored in the queue, the next queue is processed. After processing the last queue, return to the first queue and repeat the same processing. This process controls the number of frames to be transmitted by changing the frame transmission time depending on the queue. When a predetermined unit time, for example, 1 second, is divided at a rate assigned to each queue, the value occupied by the first queue is used as the reference time, and the frame of the queue to be processed first is sent out only for this reference time. Further, when all the frames in the queue are transmitted within the reference time, the transmission time until then is set as the reference time. The other queues transmit the frames in the queue for the time represented by the product of the bandwidth utilization rate of the queue with respect to the first queue and this reference time. This allows the network to be used according to the bandwidth reserved by the user. It also holds the sum of the frame sizes that have already been transmitted when processing a queue, and if this value exceeds the product of the network bandwidth and the available bandwidth allocated to that queue, there are remaining frames. Do not send, but process the next queue.

【0014】本発明の実施形態を図を用いて説明する。An embodiment of the present invention will be described with reference to the drawings.

【0015】本発明の方式の流れ図を図1に示す。ここ
では、n種のプロトコルに対しn個のキューを設けてあ
り、キュー毎に使用できるネットワークの帯域の割合を
割り当ててある。図1の手順は、各プロトコルに割り当
てた割合に従つて、一定の割合で全てのプロトコルを処
理するようにしたものである。
A flow chart of the method of the present invention is shown in FIG. Here, n queues are provided for n types of protocols, and the ratio of usable network bandwidth is assigned to each queue. The procedure of FIG. 1 is such that all protocols are processed at a constant rate according to the rate assigned to each protocol.

【0016】ここでのネットワークシステムは、図3に
示されるように、端末111,112,113を有する
イーサネット101上にはルータ103が設けられ、端
末121,122を有するイーサネット121上にはル
ータ123が設けられ、これらルータ103とルータ1
23とは専用線102で結ばれている。以下、ルータ1
03がイーサネット101側から受信したフレームを専
用線102側に送信する場合を例に説明する。
In the network system here, as shown in FIG. 3, a router 103 is provided on the Ethernet 101 having terminals 111, 112, 113, and a router 123 is provided on the Ethernet 121 having terminals 121, 122. Are provided, and these router 103 and router 1
It is connected to 23 by a dedicated line 102. Below, Router 1
A case where 03 transmits the frame received from the Ethernet 101 side to the dedicated line 102 side will be described as an example.

【0017】ルータ103は、図4に示されるように、
イーサネットインタフエース回路30、専用線インタフ
ェース回路31、内部バス32,33,34、マイクロ
プロセッサやメモリより構成されるルータ動作制御部3
6、送受信フレームを格納するバッファメモリ37、信
号線38,39等により構成される。
The router 103, as shown in FIG.
A router operation control unit 3 including an Ethernet interface circuit 30, a dedicated line interface circuit 31, internal buses 32, 33 and 34, a microprocessor and a memory.
6, a buffer memory 37 for storing transmission / reception frames, signal lines 38, 39, etc.

【0018】本実施形態では、ルータ103はSNA、
TCP/IP、IPXのプロトコルをサポートしている
ものとする。そしてプロトコル毎に帯域使用率を予約す
る。即ち、SNAプロトコルに帯域の50%、TCP/
IPプロトコルに帯域の30%、IPXプロトコルに帯
域の20%を割り当てる。そのためバッファメモリ内に
キューを3つ用意し、SNAプロトコルにはキュー1
を、TCP/IPプロトコルにはキュー2を、IPXプ
ロトコルにはキュー3を使用するものとする。これによ
り、キューをプロトコル別に設けると共にキュー毎に使
用できるネットワークの帯域を5:3:2の割合に割り
当てたことになる。
In this embodiment, the router 103 is an SNA,
It is assumed that TCP / IP and IPX protocols are supported. Then, the bandwidth usage rate is reserved for each protocol. That is, 50% of bandwidth in SNA protocol, TCP /
30% of the bandwidth is allocated to the IP protocol and 20% of the bandwidth is allocated to the IPX protocol. Therefore, prepare three queues in the buffer memory, and use queue 1 for the SNA protocol.
, The queue 2 is used for the TCP / IP protocol, and the queue 3 is used for the IPX protocol. As a result, a queue is provided for each protocol and the network bandwidth that can be used for each queue is allocated at a ratio of 5: 3: 2.

【0019】ルータ103がイーサネット101から受
信したフレームは、プロトコル別に分けられ、それぞれ
上記のキューに分配される。ここでキュー1に割り振ら
れたSNAプロトコルのフレームをそのまま専用線10
2側に送信し、この送信時間を基準時間t1とする。単
位時間、例えば1秒毎に上記で予約した帯域使用率とな
るよう、この場合t1には1秒と50%との積である5
00msが与えられる。時間は上記ルータ動作制御部3
6にある内部クロックによって測定される。基準時間内
にキュー1が空になった場合その時点で送信を停止し、
送信開始から停止までの時間Tをt1に代入する。まだ
キュー1にパケットが存在している場合はt1をそのま
ま保持する。
The frame received by the router 103 from the Ethernet 101 is divided by protocol and is distributed to the above queues. Here, the frame of the SNA protocol assigned to the queue 1 is directly used for the dedicated line 10
The transmission time is set to the reference time t1. In this case, t1 is a product of 1 second and 50% so that the reserved bandwidth usage rate is obtained every unit time, for example, every 1 second.
00 ms is given. The time is the router operation control unit 3
Measured by the internal clock at 6. If queue 1 becomes empty within the reference time, transmission will stop at that point,
The time T from the start of transmission to the stop is substituted for t1. If the packet still exists in the queue 1, t1 is held as it is.

【0020】イーサネットに比べ専用線の回線速度は非
常に低いため、この時点でキュー2、キュー3には送出
待ちのフレームが蓄えられている。次のTCP/IPパ
ケットに関しては、先に得た基準時間t1の5分の3の
時間だけ送信する。この5分の3は、キュー1に対する
キュー2の帯域使用率である。例えばSNAパケットを
100ms間送信した場合、TCP/IPパケットは6
0ms送信する。同様にIPXパケットは基準時間t1
の5分の3の時間送信する。キュー3の処理が終了した
らキュー1に戻つて繰り返し中継を行なう。この方式に
より、キュー1のSNAプロトコルとキュー2のTCP
/IPプロトコル、そしてキュー3のプロトコルIPX
の単位時間あたりに送出されるデータ量の比は5:3:
2となり、使用する伝送路の帯域も5:3:2の比率に
なる。なお、送信中にキュー2、3内のパケットが空に
なった場合は、伝送路を有効に使用するため直ちに次の
キューに移動し送信を続ける。
Since the line speed of the leased line is much lower than that of the Ethernet, the frames waiting to be sent are stored in the queues 2 and 3 at this point. Regarding the next TCP / IP packet, it is transmitted only for 3/5 of the previously obtained reference time t1. This three-fifth is the bandwidth usage rate of queue 2 with respect to queue 1. For example, if an SNA packet is sent for 100 ms, the TCP / IP packet will be 6
Send for 0 ms. Similarly, the IPX packet has a reference time t1.
3/5 time of transmission. When the processing of the queue 3 is completed, the process returns to the queue 1 and repeats relaying. With this method, the SNA protocol of queue 1 and the TCP of queue 2
/ IP protocol and queue 3 protocol IPX
The ratio of the amount of data sent per unit time is 5: 3:
2, and the bandwidth of the transmission path used is also a ratio of 5: 3: 2. If the packets in the queues 2 and 3 become empty during transmission, the transmission path is immediately used and the transmission is immediately moved to the next queue to continue the transmission.

【0021】本発明による他の実施形態を説明する。Another embodiment according to the present invention will be described.

【0022】ここでは流れ図は図2のようになる。ネッ
トワークシステム及びルータは前記実施形態と同じ図
3、図4とし、プロトコル毎の割り当ても同じとする。
ルータ103がイーサネット101側から受信したフレ
ームを専用線102側に送信する場合を例に説明する。
The flow chart here is as shown in FIG. The network system and the router are the same as those in the above-described embodiment shown in FIGS. 3 and 4, and the allocation for each protocol is also the same.
A case where the router 103 transmits a frame received from the Ethernet 101 side to the private line 102 side will be described as an example.

【0023】専用線102の帯域を64kbit/se
cとすると、キュー1において単位時間あたりに送信で
きるデータ量は、
The bandwidth of the private line 102 is set to 64 kbit / se
c, the amount of data that can be transmitted per unit time in queue 1 is

【0024】[0024]

【数1】 [Equation 1]

【0025】となる。同様に、キュー2において単位時
間あたりに送信できるデータ量は、
[0025] Similarly, the amount of data that can be transmitted in the queue 2 per unit time is

【0026】[0026]

【数2】 [Equation 2]

【0027】また、キュー3において単位時間あたりに
送信できるデータ量は、
The amount of data that can be transmitted in the queue 3 per unit time is

【0028】[0028]

【数3】 (Equation 3)

【0029】となる。これを各キューの許容データ量と
呼ぶこととする。ルータは、処理中のキューにおいて送
信済のフレームの大きさの和を変数として保持し、各キ
ューについての処理を始める前にこの変数を0にする。
そしてキュー1から処理を始め、1フレーム送信する毎
に、この変数に送信したフレームの大きさを加え、これ
をそのキューの許容データ量(4kバイト)と比較す
る。変数に格納した送信済データ量の和が、許容データ
量を越えない場合は、引続きキュー1に登録されたデー
タを送信する。変数に格納した送信済データ量の和が、
許容データ量を越えた場合、又は、キューに登録された
送信データか無くなった場合は、キュー1の処理を終
え、キュー2の処理を行う。例えば、キュー1に256
バイトのデータが20個登録されているとすると、16
個のフレームを送信した後、4個の送信データを残した
まま、キュー2の処理に移る。
It becomes This is called the allowable data amount of each queue. The router holds the sum of the sizes of the transmitted frames in the queue being processed as a variable, and sets this variable to 0 before starting the processing for each queue.
Then, the processing is started from the queue 1, and every time one frame is transmitted, the size of the transmitted frame is added to this variable and this is compared with the allowable data amount (4 kbytes) of the queue. When the sum of the transmitted data amounts stored in the variables does not exceed the allowable data amount, the data registered in the queue 1 is continuously transmitted. The sum of the amount of transmitted data stored in the variable is
If the allowable data amount is exceeded, or if there is no transmission data registered in the queue, the processing of queue 1 is ended and the processing of queue 2 is performed. For example, queue 1 to 256
If 20 bytes of data are registered, 16
After transmitting the number of frames, the process moves to the process of the queue 2 while leaving the four transmission data.

【0030】同様にキュー2の処理を始める前に送信済
データ量を0に設定し、キュー1と同様に処理を行う。
キュー2について送信したデータの和がキュー2の許容
データ量(2.4kバイト)を越えるか、キュー2の送
信データが無くなると、キュー3の処理に移る。
Similarly, the amount of transmitted data is set to 0 before the processing of the queue 2 is started, and the same processing as that of the queue 1 is performed.
When the sum of the data transmitted for the queue 2 exceeds the permissible data amount of the queue 2 (2.4 kbytes) or there is no data to be transmitted in the queue 2, the process of the queue 3 starts.

【0031】同様にキュー3の処理を始める前に送信済
データ量を0に設定し、同様に処理を行う。キュー3に
ついて送信したデータの和がキュー3の許容データ量
(2.4kバイト)を越えるか、キュー3の送信データ
が無くなると、再びキュー1の処理に移る。
Similarly, before the processing of the queue 3 is started, the transmitted data amount is set to 0 and the same processing is performed. When the sum of the data transmitted for the queue 3 exceeds the permissible data amount of the queue 3 (2.4 kbytes) or the transmission data of the queue 3 is exhausted, the process of the queue 1 is performed again.

【0032】以上の実施形態によれば、各プロトコルに
割り当てた帯域に従つて、一定の割合で全てのプロトコ
ルを処理することができる。
According to the above embodiment, all the protocols can be processed at a fixed rate according to the bandwidth allocated to each protocol.

【0033】[0033]

【発明の効果】本発明は次の如き優れた効果を発揮す
る。
The present invention exhibits the following excellent effects.

【0034】(1)どのプロトコルフレームもそれぞれ
一定の割合で送信できるようになり、特定のプロトコル
フレームだけが処理されなくなるということがない。
(1) Any protocol frame can be transmitted at a fixed rate, and there is no possibility that only a specific protocol frame will not be processed.

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

【図1】本発明の帯域予約方式の実施形態による流れ図
である。
FIG. 1 is a flowchart according to an embodiment of a bandwidth reservation system of the present invention.

【図2】本発明の帯域予約方式の他の実施形態による流
れ図である。
FIG. 2 is a flowchart according to another embodiment of the bandwidth reservation method of the present invention.

【図3】本発明を適用するネットワークシステムの構成
例を示す構成図である。
FIG. 3 is a configuration diagram showing a configuration example of a network system to which the present invention is applied.

【図4】本発明を適用するルータの構成例を示す構成図
である。
FIG. 4 is a configuration diagram showing a configuration example of a router to which the present invention is applied.

【図5】ルータにおけるキューの実現例を示す構成図で
ある。
FIG. 5 is a configuration diagram showing an implementation example of a queue in a router.

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

101,120 イーサネット 102 専用線 103,123 ルータ 111,112,113,121,122 イーサネッ
ト上の端末 30 イーサネットインタフエース回路 31 専用線インタフェース回路 36 ルータ動作制御部 37 バッファメモリ
101, 120 Ethernet 102 dedicated line 103, 123 router 111, 112, 113, 121, 122 Ethernet terminal 30 Ethernet interface circuit 31 dedicated line interface circuit 36 router operation control unit 37 buffer memory

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 29/06 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code Agency reference number FI Technical display location H04L 29/06

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロトコルを使用しネットワーク
間の中継を行うためにフレームの待ち行列であるキュー
を有したマルチプロトコルルータにおいて、上記キュー
をプロトコル別に設けると共にキュー毎に使用できるネ
ットワークの帯域の割合を割り当て、割り当てられた割
合が多いキューから順にフレームを処理し、そのキュー
にフレームが無くなると次のキューに処理を移すように
して最後のキューまで処理し、再び、最初のキューから
処理を繰り返すことを特徴とするネットワークの帯域予
約方式。
1. In a multi-protocol router having a queue, which is a queue of frames for relaying between networks using a plurality of protocols, the queue is provided for each protocol and the bandwidth of the network that can be used for each queue is set. A percentage is assigned, frames are processed in order from the queue with the highest percentage assigned, and when there are no more frames in that queue, the process is moved to the next queue, processed to the last queue, and again from the first queue. A network bandwidth reservation method characterized by repetition.
【請求項2】 所定の単位時間を上記各キューに割り当
てられた使用できる帯域の割合で分割し、このうち上記
処理順が最初となるキューによって占められる時間を基
準時間とし、最初のキューをこの基準時間だけ処理し、
次のキューから最後のキューまで、最初のキューに対す
るそのキューの帯域使用率と上記基準時間との積で表さ
れる時間だけ処理することを特徴とする請求項1記載の
ネットワークの帯域予約方式。
2. A predetermined unit time is divided by a ratio of available bandwidth allocated to each of the queues, of which the time occupied by the queue having the first processing order is used as a reference time, and the first queue is Process only the reference time,
2. The bandwidth reservation method for a network according to claim 1, wherein processing is performed from the next queue to the last queue for a time represented by a product of a bandwidth usage rate of the queue with respect to the first queue and the reference time.
【請求項3】 上記最初のキューの処理中にキュー内の
フレームが空になっても上記基準時間に達しない場合、
この最初のキューが空になるまでの時間を上記基準時間
に更新することを特徴とする請求項2記載のネットワー
クの帯域予約方式。
3. If during the processing of the first queue the frame in the queue becomes empty but the reference time is not reached,
The network bandwidth reservation method according to claim 2, wherein the time until the first queue becomes empty is updated to the reference time.
【請求項4】 上記キュー毎に、既に送信したフレーム
の大きさの和からなる変数を持たせ、各キューの処理を
始める前にこの変数を0に設定し、処理中はフレームを
送信する毎にこのフレームの大きさをこの変数に加え、
この変数がネットワークの帯域と当該キューに割り当て
られた割合との積を越えた場合、当該キューの残りのフ
レームは送信せず、次のキューに処理を移すことを特徴
とする請求項1記載のネットワークの帯域予約方式。
4. Each of the queues is provided with a variable consisting of the sum of the sizes of already transmitted frames, the variable is set to 0 before the processing of each queue is started, and each frame is transmitted during the processing. And add the size of this frame to this variable,
When the variable exceeds the product of the bandwidth of the network and the ratio assigned to the queue, the remaining frames of the queue are not transmitted and the process is moved to the next queue. Network bandwidth reservation method.
JP22510495A 1995-09-01 1995-09-01 Band reserving system for network Pending JPH0969852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22510495A JPH0969852A (en) 1995-09-01 1995-09-01 Band reserving system for network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22510495A JPH0969852A (en) 1995-09-01 1995-09-01 Band reserving system for network

Publications (1)

Publication Number Publication Date
JPH0969852A true JPH0969852A (en) 1997-03-11

Family

ID=16824051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22510495A Pending JPH0969852A (en) 1995-09-01 1995-09-01 Band reserving system for network

Country Status (1)

Country Link
JP (1) JPH0969852A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003338843A (en) * 2002-05-21 2003-11-28 Genetec Corp Routing apparatus and routing method
JP2010135924A (en) * 2008-12-02 2010-06-17 Mitsubishi Electric Corp Communication quality management device and communication quality management method
JP2013255045A (en) * 2012-06-06 2013-12-19 Nec Corp Microwave communication device, microwave communication control method, and program
US10136427B2 (en) 2016-08-08 2018-11-20 Corning Optical Communications Wireless Ltd Partitioning a time-division-based communications link for communicating multiple types of communications signals in a wireless distribution system (WDS)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003338843A (en) * 2002-05-21 2003-11-28 Genetec Corp Routing apparatus and routing method
JP2010135924A (en) * 2008-12-02 2010-06-17 Mitsubishi Electric Corp Communication quality management device and communication quality management method
JP2013255045A (en) * 2012-06-06 2013-12-19 Nec Corp Microwave communication device, microwave communication control method, and program
US10136427B2 (en) 2016-08-08 2018-11-20 Corning Optical Communications Wireless Ltd Partitioning a time-division-based communications link for communicating multiple types of communications signals in a wireless distribution system (WDS)
US10820319B2 (en) 2016-08-08 2020-10-27 Corning Optical Communications LLC Partitioning a time-division-based communications link for communicating multiple types of communications signals in a wireless distribution system (WDS)

Similar Documents

Publication Publication Date Title
JP4354711B2 (en) Delay minimization system with guaranteed bandwidth delivery for real-time traffic
US7120158B2 (en) Communication device and method for transmitting through the use of accumulation of capacity tokens
EP0691769A1 (en) Voice circuit emulation system in a packet switching network
US20040208123A1 (en) Traffic shaping apparatus and traffic shaping method
EP3817307A1 (en) Message processing method and device
JP2000196628A (en) Method and system for managing congestion
EP1841138A2 (en) System and method for supporting synchronous system communications and operations
US7346065B2 (en) Bridge apparatus and bridge method
JP2000252997A (en) Traffic shaper
US7230918B1 (en) System for using special links in multi-link bundles
JPH0969852A (en) Band reserving system for network
US6621824B1 (en) Data transmission system and method of operation
EP1073251A2 (en) Packet buffer management
US20220209985A1 (en) Data transmission method, segment telegram and automation communication network
US11442432B2 (en) Communication device and method for data transmission within an industrial communication network
JP3865175B2 (en) IP address translation device
JPH06152635A (en) Improvement about frame relay data transmission system
JP2510875B2 (en) Traffic monitoring system
JP2626585B2 (en) Communication resource management type packet switching equipment
JP3313203B2 (en) Free Bandwidth Notification Method in Packet Switching Network
JP2019213043A (en) On-vehicle gateway device, method, and program
CN116418765A (en) Message processing method and network equipment
JPH07307762A (en) Frame relay exchange and router
JP2009239451A (en) Arrival check and relay processing check type network device and system, and frame transfer method
CN114363434A (en) Video frame sending method and network equipment