JP2535874B2 - Routing control method for packet switching network - Google Patents

Routing control method for packet switching network

Info

Publication number
JP2535874B2
JP2535874B2 JP4066787A JP4066787A JP2535874B2 JP 2535874 B2 JP2535874 B2 JP 2535874B2 JP 4066787 A JP4066787 A JP 4066787A JP 4066787 A JP4066787 A JP 4066787A JP 2535874 B2 JP2535874 B2 JP 2535874B2
Authority
JP
Japan
Prior art keywords
line
packet
destination
exchange
queue length
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.)
Expired - Fee Related
Application number
JP4066787A
Other languages
Japanese (ja)
Other versions
JPS63207242A (en
Inventor
三知男 鈴木
次郎 樫尾
隆 加納
雅彦 田中
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 Ltd
Hitachi Seibu Software Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Seibu Software Co 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 Ltd, Hitachi Seibu Software Co Ltd filed Critical Hitachi Ltd
Priority to JP4066787A priority Critical patent/JP2535874B2/en
Publication of JPS63207242A publication Critical patent/JPS63207242A/en
Application granted granted Critical
Publication of JP2535874B2 publication Critical patent/JP2535874B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パケット交換網のルーティング制御方式に
関し、特に回線のキュー長異常時における迂回制御に好
適なルーティング制御方式に関する。
Description: TECHNICAL FIELD The present invention relates to a routing control system of a packet switching network, and more particularly to a routing control system suitable for detour control when the queue length of a line is abnormal.

〔従来の技術〕[Conventional technology]

端末から送出させた電文は、加入者線を通して交換機
に伝送され、ここでパケットに組立てられた後、交換機
のメモリに蓄積される。メモリに蓄積されたパケット
は、他の端末から送出されたパケットとともにパケット
多重され、高速伝送路に送出される。パケットは、制御
情報に従ってパケット交換網を伝送され、受信端末が収
容されているパケット交換機に送達されるが、その伝送
経路は一定ではなく、パケット交換網の状態により別々
の経路を選択することが可能である。すなわち、その時
刻における網内の輻輳状態を調べ、空いている経路を選
択することができる。これを、ルーティング制御と呼
ぶ。従って、ルーティング制御を行っている場合には、
特定の経路のみが混雑し過ぎて、輻輳することはない。
The telegram sent from the terminal is transmitted to the exchange through the subscriber line, assembled into packets there, and then stored in the memory of the exchange. The packet stored in the memory is packet-multiplexed with the packet sent from another terminal and sent to the high-speed transmission line. The packet is transmitted through the packet switching network according to the control information and is delivered to the packet switching device that accommodates the receiving terminal. However, the transmission route is not constant, and different routes can be selected depending on the state of the packet switching network. It is possible. That is, it is possible to check the congestion state in the network at that time and select an empty route. This is called routing control. Therefore, when performing routing control,
Only a specific route will not be overcrowded and will not be congested.

従来、ルーティング制御を行うための基準としては、
(イ)パケット伝送時間の遅延を最小にする、(ロ)パ
ケット伝送距離を最小にする、等がある。一般には、パ
ケット交換網の各リンクに上記基準に相当した重みを付
け、その重みを最小化するようなルーティング制御を行
う。
Conventionally, as a standard for performing routing control,
(A) Minimize the delay of packet transmission time, (b) Minimize the packet transmission distance, and so on. In general, each link of the packet switching network is given a weight corresponding to the above standard, and routing control is performed to minimize the weight.

パケット交換網のルーティング制御方式として、例え
ば、文献“Tanenbaum著「Computer Networks」に記載さ
れている方式があるが、これによれば、各交換機が自局
の回線の方路状態としてのキュー長状態を監視し、それ
が異常である場合には、他の回線のキューにつなぎ替え
て、迂回させている。
As a routing control method of a packet switching network, for example, there is a method described in "Computer Networks" by Tanenbaum. According to this method, each switch has a queue length state as a route state of its own line. Is monitored, and if it is abnormal, it is rerouted to the queue of another line.

しかし、従来のルーティング制御方式では、ルーティ
ング上の安定性について配慮していないため、単純に迂
回すると、その影響が全宛先交換機に及び、多数の宛先
交換機において着パケットの順序逆転が発生したり、あ
るいは迂回先の回線にトラヒックが集中したりする可能
性があった。
However, in the conventional routing control method, since the stability in routing is not taken into consideration, if the path is simply bypassed, the effect will reach all the destination exchanges, and the inversion of the arrival packet will occur in many destination exchanges, Or, there is a possibility that traffic may concentrate on the detour line.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

このように、従来のルーティング制御方式において
は、ある回線のキュー長異常等により他の回線に迂回す
る場合、その回線が異常状態であれば機械的に他の空き
ないしキュー長の短い回線に迂回していた。すなわち、
このときには、迂回を宛先交換機ごとに段階的に行う等
の配慮は行われておらず、その回線を送出方向とする全
宛先交換機を対象として迂回を行っているため、迂回先
の回線にトラヒックが集中する可能性が大となってい
る。また、ルーティング変更時の安定性が悪く、かつ全
ての宛先交換機において、パケットの到着順序の反転が
起こる確率が増大している。
In this way, in the conventional routing control method, when a line is detoured to another line due to an abnormal queue length, etc., if the line is in an abnormal state, it is mechanically detoured to another line with a short or short queue length. Was. That is,
At this time, no consideration is given to performing step-by-step detours for each destination exchange, and since all the destination exchanges that have that line as the transmission direction are targeted for detour, traffic will not flow to the destination line. The possibility of concentration is great. In addition, the stability at the time of changing the routing is poor, and the probability that the arrival order of packets will be reversed is increased in all destination exchanges.

本発明の目的は、これら従来の問題を改善し、全ての
宛先交換機においてトラヒックの集中やパケットの到着
順序の逆転が発生せず、ルーティング変更時に高い安定
性でパケットを迂回させることができるパケット交換網
のルーティング制御方式を提供することにある。
An object of the present invention is to improve these conventional problems, to avoid packet concentration and inversion of packet arrival order in all destination switches, and to perform packet switching with high stability when diverting packets. It is to provide a routing control method for a network.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するため、本発明によるパケット交換
網のルーティング制御方式は、各々複数の宛先交換機を
通過するパケットを送信する2以上の回線の中の1つの
回線からパケットを送出する場合に、該回線のキュー長
が所定値を越えて異常を生じたとき、上記複数の宛先交
換機の中の特定の宛先交換機のパケットのみを他の回線
に迂回させ、キュー長異常が継続するときには、さらに
他の宛先交換機を選択して、該交換機のパケットも他の
回線に迂回させ、キュー長異常が解消したときには、上
記迂回した宛先交換機のパケットを元に戻すことに特徴
がある。
In order to achieve the above object, the routing control method of a packet switching network according to the present invention is applicable to the case where a packet is transmitted from one line of two or more lines which respectively transmit a packet passing through a plurality of destination exchanges. When the line queue length exceeds a predetermined value and an abnormality occurs, only the packets of a specific destination exchange among the plurality of destination exchanges are diverted to another line, and when the queue length abnormality continues, another It is characterized in that the destination exchange is selected, the packet of the exchange is also diverted to another line, and when the queue length abnormality is resolved, the diverted packet of the destination exchange is restored.

〔作用〕[Action]

本発明においては、送出しようとしている回線で、キ
ュー長異常、つまりキュー長が規定値より大になった場
合に、その回線で送出する宛先交換機を単位として、そ
れごとに段階的に迂回することにより、特定の宛先交換
機へのパケットの集中やパケットの到達順序の逆転を防
止している。
In the present invention, when the queue length is abnormal in the line to be transmitted, that is, when the queue length becomes larger than the specified value, the destination exchanges to be transmitted in the line are used as a unit to detour step by step. This prevents concentration of packets to a specific destination exchange and reversal of the arrival order of packets.

すなわち、本発明のルーティング制御方式では、ある
回線がキュー長異常を発生した場合、ルーティングテー
ブルからその回線を用いてパケットを送出している宛先
交換機のうちキュー長異常を起こした回線と同じ中継ホ
ップ数を持つ交換機、ないしは中継ホップ数が1つだけ
大きい他の回線を持つ宛先交換機を選択し、さらに適当
なアルゴリズムに従って1つの交換機を決定する。そし
て、その宛先交換機が他に同一中継ホップ数を持つとき
には、そちらの交換機にキュー長異常を起こした回線の
トラヒックを迂回し、また中継ホップ数が1だけ大きい
宛先交換機の場合には、その宛先交換機のトラヒックを
2つに分けるようにルーティングテーブルを変更するの
である。また、上記制御によってトラヒックが迂回され
た回線がキュー長異常を起こした場合には、このような
処理が行われていることを前提にして判断することによ
り、逆方向の処理を行って迂回していたトラヒックを元
に戻すか、あるいはさらに迂回の処理を行う。
That is, in the routing control method of the present invention, when a line has an abnormal queue length, the same relay hop as the line having the queue length error in the destination exchanges that are sending packets from the routing table is used. A switch having a certain number or a destination switch having another line whose relay hop number is larger by one is selected, and one switch is determined according to an appropriate algorithm. When the destination exchange has the same number of relay hops, it bypasses the traffic of the line causing the queue length abnormality to that exchange, and in the case of the destination exchange having the number of relay hops increased by 1, The routing table is changed so that the traffic of the exchange is divided into two. In addition, when the line whose traffic is detoured by the above control has an abnormal queue length, it is determined on the assumption that such processing is being performed, and the reverse processing is performed to detour. Restore the existing traffic, or perform detour processing.

このように、本発明の制御によれば、各回線のトラヒ
ック量に応じて適切な迂回処理を段階的に行うことが可
能である。
As described above, according to the control of the present invention, it is possible to perform appropriate detour processing stepwise according to the traffic volume of each line.

〔実施例〕〔Example〕

以下、本発明の一実施例を、図面により詳細に説明す
る。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

第2図は、本発明が適用されるパケット交換網の構成
図であり、第3図は第2図におけるパケット交換機1の
ルーティングテーブルを示す図である。
FIG. 2 is a configuration diagram of a packet switching network to which the present invention is applied, and FIG. 3 is a diagram showing a routing table of the packet switching device 1 in FIG.

第2図のパケット交換網においては、1〜9の番号が
付けられたパケット交換機が、それぞれ回線l1,l2,・
・・により接続されている。ここでは、パケット交換機
1に収容されている回線l1,l2のキュー長異常につい
て、説明する。
In the packet switching network of FIG. 2, the packet switches numbered 1 to 9 are lines l 1 , l 2 ,.
・ Connected by. Here, the queue length abnormality of the lines l 1 and l 2 accommodated in the packet switch 1 will be described.

パケット交換機1は、他のパケット交換機2〜9宛の
パケットを回線l1,l2を介して送信するが、その場合、
第3図に示すルーティングテーブル100の値に従って送
信するものとする。
The packet switch 1 transmits packets addressed to the other packet switches 2 to 9 through the lines l 1 and l 2 , but in that case,
It is assumed that the data is transmitted according to the values in the routing table 100 shown in FIG.

ルーティングテーブル100は、各宛先交換機にパケッ
トを送信する際に回線l1を用いた場合の中継ホップ数10
1と、回線l2を用いた場合の中継ホップ数102と、実際の
送信方路103の各値を格納している。例えば、交換機2
に対して回線l1を介して送信するときの中継ホップ数は
1、回線l2を介して送信するときの中継ホップ数は3で
るため、実際の送信方路はl1であることを示している。
同じようにして、交換機3に対して回線l1を介して送信
するときのホップ数は2、回線l2を介して送信するとき
のホップ数は4であるため、実際の送信方路はl1であ
る。また、宛先交換機5の場合には、回線l1とl2の中継
ホップ数が共に同じ値2であるため、実際の方路として
l1とl2の両方が用いられている。このことは、宛先交換
機8および9に対しても同じであって、回線l1,l2を介
して送信した場合、交換機8へはホップ数3、交換機9
へはホップ数4であって、いずれも同一値である。
The routing table 100 shows the number of relay hops when the line l 1 is used when transmitting a packet to each destination exchange.
It stores 1 and the number of relay hops 102 when the line l 2 is used, and each value of the actual transmission route 103. For example, exchange 2
Since the number of relay hops when transmitting via line l 1 is 1, and the number of relay hops when transmitting via line l 2 is 3, it is shown that the actual transmission route is l 1. ing.
Similarly, since the number of hops when transmitting to the exchange 3 via the line l 1 is 2 and the number of hops when transmitting to the switch l 2 is 4, the actual transmission route is l Is 1 . Further, in the case of the destination exchange 5, since the number of relay hops of the lines l 1 and l 2 is the same value 2, the actual route is
Both l 1 and l 2 are used. This is the same for the destination exchanges 8 and 9, and when transmitted via the lines l 1 and l 2 , the exchange 8 has a hop count of 3 and the exchange 9
The number of hops is four, and all have the same value.

第4図は、第2図におけるパケット交換機1〜9の一
般的なハードウェア構成例を示す図である。ここでは、
パケット交換機1のみが示されているが、他のパケット
交換機もこれとほぼ同じ構成である。
FIG. 4 is a diagram showing a general hardware configuration example of the packet switches 1 to 9 in FIG. here,
Although only the packet switch 1 is shown, the other packet switches have substantially the same configuration.

交換機1内では、交換処理のための命令群および各加
入者や中継回線等の必要なデータを格納するメモリ16
と、上記命令群を実行するプロセッサ17と、加入者回線
または中継回線を上記メモリ16およびプロセッサ17に結
合するための回線インタフェースアダプタ191〜194と
が、バス18を介して互いに接続されている。パケット交
換機1は、通常、複数の加入者回線と複数の中継回線を
収容しており、これらの各回線から受信するパケット
は、回線インタフェースアダプタ191〜194を経由してメ
モリ16上に一旦蓄積された後、プロセッサ17が各パケッ
トごとにその宛先に応じて送出回線を選択し、該当する
回線インタフェースアダプタ191〜194を経由して送出す
る。メモリ16上には、第3図に示すルーティングテーブ
ル100が格納されており、プロセッサ17はこのルーティ
ングテーブル100を参照することにより、送出回線を選
択する。回線インタフェースアダプタ191〜194には、各
々の回線アダプタに生じている送出待ちキューQf,Qg,お
よびQhが設けられ、プロセッサ17はこれらのキューQを
参照して迂回処理を実行する。
In the exchange 1, a memory 16 for storing a group of commands for exchange processing and necessary data for each subscriber, trunk line, etc.
A processor 17 for executing the above instruction group and line interface adapters 191 to 194 for connecting a subscriber line or a trunk line to the memory 16 and the processor 17 are connected to each other via a bus 18. The packet switch 1 normally accommodates a plurality of subscriber lines and a plurality of relay lines, and packets received from these lines are temporarily stored in the memory 16 via the line interface adapters 191 to 194. After that, the processor 17 selects a transmission line for each packet according to its destination, and transmits it via the corresponding line interface adapters 191 to 194. A routing table 100 shown in FIG. 3 is stored on the memory 16, and the processor 17 refers to the routing table 100 to select a transmission line. The line interface adapters 191 to 194 are provided with transmission waiting queues Qf, Qg, and Qh generated in the respective line adapters, and the processor 17 refers to these queues Q to execute the bypass processing.

第1図は、本発明の一実施例を示すルーティング制御
の処理フローチャートである。ここでは、第4図に示す
パケット交換機1内のプロセッサ17により実施される命
令ステップ列が示される。
FIG. 1 is a processing flowchart of routing control showing an embodiment of the present invention. Here, an instruction step sequence executed by the processor 17 in the packet switch 1 shown in FIG. 4 is shown.

先ず、回線l1とl2のキュー長をカウントし(ステップ
201)、もしそれらのキュー長に差がある場合(いま、
回線l1のキュー長が、回線l2のキュー長よりも大である
とする)(ステップ202)、キュー長の大きい回線に対
して、既に迂回処理を行っているか否かを調べる(ステ
ップ204)。前後の第3図に示すルーティングテーブル1
00は、迂回処理を未だ行っていない場合である。以下、
迂回処理を行っていない場合(つまり、ステップ205以
下)について、述べる。
First, the queue lengths of lines l 1 and l 2 are counted (step
201), if there is a difference in their queue lengths (now,
Queue length of the line l 1 is assumed to be larger than the queue length of the line l 2) (step 202), the queue length greater access and examine whether already been bypassed (step 204 ). Routing table 1 shown in Figure 3 before and after
00 is a case where the detour processing has not been performed yet. Less than,
The case where the detour processing is not performed (that is, step 205 and subsequent steps) will be described.

この場合には、先ず同一宛先で、トラヒックを2以上
の方路に分けている(以下、これを負荷分散と呼ぶ)宛
先パケット交換機を、第3図に示すルーティングテーブ
ル100から求める(ステップ205)。第2図および第3図
から明らかなように、負荷分散されている宛先交換機と
しては、交換機5,8および9である。これらのうちか
ら、適当なアルゴリズムに従って1つを選択する(ステ
ップ206)。いま、その選択された交換機を9とする。
負荷分散を止めて、キュー長の小さい回線のみを送信方
路にする(ステップ207)。
In this case, first, a destination packet switch that divides traffic into two or more routes to the same destination (hereinafter referred to as load distribution) is obtained from the routing table 100 shown in FIG. 3 (step 205). . As is clear from FIG. 2 and FIG. 3, the destination exchanges whose loads are distributed are the exchanges 5, 8 and 9. One of these is selected according to an appropriate algorithm (step 206). Now, it is assumed that the selected exchange is 9.
The load distribution is stopped and only the line with a short queue length is used as the transmission route (step 207).

第5図(a)(b)は、交換機9に対するパケットの
経路を示す図である。パケット交換機1から回線l1,l2
を介して宛先交換機9に送信されるパケットは、通常、
第5図(a)に示すように、経路F1つまり回線l1から交
換機2,3,4を経由して交換機9に達し、また経路F2つま
り回線l2から交換機6,7,8を経由して交換機9に達す
る。両経路F1,F2とも、中継ホップ数が4と同じである
ため、パケットを半分ずつ送信することにより、負荷を
分散するのが通常である。しかし、本実施例によるルー
ティング制御では、この宛先交換機9に対する回線l1
回線l2に負荷を振り分ける処理を中止するのである。す
なわち、宛先交換機9に対する送信方路として、回線l1
をルーティングテーブル100の送信方路の登録103から外
すことになる。その結果、第5図(b)の実線で示すよ
うに、経路F2のみとなる。すなわち、第5図(a)で宛
先交換機9に対してF1とF2の2つの経路を介してパケッ
トを送信していたが、1つの経路F2のみとなったので、
その結果として、パケット交換機1の回線l1の負荷が減
少することになる。
5 (a) and 5 (b) are diagrams showing packet paths to the exchange 9. As shown in FIG. Packet switch 1 to lines l 1 and l 2
A packet transmitted to the destination exchange 9 via the
As shown in FIG. 5 (a), the route F 1 or the line l 1 reaches the exchange 9 via the exchanges 2, 3 and 4, and the route F 2 or the line l 2 passes the exchanges 6, 7, and 8. It reaches the exchange 9 via. Since both routes F 1 and F 2 have the same number of relay hops, it is normal to distribute the load by transmitting packets in half. However, in the routing control according to the present embodiment, the processing for distributing the load to the line l 1 and the line l 2 for the destination exchange 9 is stopped. That is, the line l 1 is used as the transmission route to the destination exchange 9.
Will be removed from the registration 103 of the transmission route in the routing table 100. As a result, as shown by the solid line in FIG. 5 (b), only the route F 2 is provided. That is, in FIG. 5 (a), the packet was transmitted to the destination exchange 9 via the two routes F 1 and F 2 , but only one route F 2 was used.
As a result, the load on the line l 1 of the packet switch 1 is reduced.

次に、上述のルーティング制御を行った結果、まだ回
線l1のキュー長が回線l2のキュー長よりも大であれば、
同じ様な制御を宛先交換機8および5に対しても順次行
う必要がある。もし、宛先交換機8および5に対して
も、上述の処理を行って、その結果、トラヒックの分散
をしている交換機がなくなった場合には、回線l2の中継
ホップ数が回線l1より1だけ大きな宛先交換機に対し
て、トラヒックの振り分けを行う(ステップ208,20
9)。
Next, as a result of performing the above routing control, if the queue length of the line l 1 is still larger than the queue length of the line l 2 ,
It is necessary to sequentially perform the same control on the destination exchanges 8 and 5. If the destination exchanges 8 and 5 are also subjected to the above-mentioned processing, and as a result, there is no exchange distributing traffic, the number of relay hops of the line l 2 is 1 than that of the line l 1. The traffic is distributed to a destination exchange that is as large as possible (steps 208, 20).
9).

中継ホップ数が回線l1より1つ大きい宛先交換機に対
して、トラヒックを振り分ける場合、具体的には、るー
ティングテーブル100の中に回線l1より1つ大きい回線l
2を持つ交換機は4のみであるため、宛先交換機4の送
信方路として回線l2を登録する。
When allocating traffic to a destination exchange whose relay hop count is one greater than line l 1 , specifically, one l greater than line l 1 is included in routing table 100.
Since there are only four exchanges with 2 , the line l 2 is registered as the transmission route of the destination exchange 4.

一方、回線l1,l2のキュー長に差がある場合、既にキ
ュー長大の回線l1に迂回しているときには、1つの交換
機に迂回しているならばその交換機の迂回を、また2つ
以上の交換機に迂回しているならばそれらの中から1つ
を選択してその交換機の迂回を、直ちに中止する(ステ
ップ210)。この処理を繰り返し行って、迂回した宛先
交換機のパケットを元に戻す。
On the other hand, when there is a difference in the queue lengths of the lines l 1 and l 2 , when detouring to the line l 1 having a large queue length, if detouring to one exchange, then detouring to that switch, and two If there is a detour to the above exchange, one of them is selected and the detour of the exchange is immediately stopped (step 210). This process is repeated to restore the detoured packet of the destination exchange.

第6図は、本発明の他の実施例を示すルーティングテ
ーブルの内容を示す図である。
FIG. 6 is a diagram showing the contents of a routing table showing another embodiment of the present invention.

前述の実施例では、宛先交換機までの中継ホップ数10
1および102について、その値を変更することはなかった
が、本実施例では、キュー長異常が発生した場合には、
該当方路の全ての宛先交換機までの中継ホップ数を1だ
け増加し、そのときの中継ホップ数から、送出方路を変
更することができる。例えば、最初、第3図のルーティ
ングテーブル100を持っていた交換機1において、回線l
1の送信キューにキュー長異常が生じた場合、第3図の
テーブルの回線l1の中継ホップ数を全宛先交換機につい
て1だけ加算する。その結果を示したものが、第6図で
ある。この加算結果により、テーブル100において送信
方路に変更が生じる宛先交換機は、4,5,8,9の各パケッ
ト交換機である。すなわち、交換機4では両回線の中継
ホップ数が等しくなったため、実際の送信方路は負荷を
振り分ける必要があり、また交換機5,8および9では両
回線の中継ホップ数に差が生じたため、ホップ数の小さ
い回線l2を送信方路にする必要がある。
In the above embodiment, the number of relay hops to the destination exchange is 10
For 1 and 102, the value was not changed, but in the present embodiment, when a queue length error occurs,
It is possible to increase the number of relay hops to all the destination exchanges of the corresponding route by 1, and change the transmission route from the number of relay hops at that time. For example, in the exchange 1 that originally had the routing table 100 shown in FIG.
When a queue length abnormality occurs in the transmission queue of 1 , the relay hop count of the line l 1 in the table of FIG. 3 is incremented by 1 for all destination exchanges. FIG. 6 shows the result. The destination exchanges whose transmission routes are changed in the table 100 according to the addition result are the packet exchanges of 4, 5, 8 and 9. In other words, since the number of relay hops on both lines is the same in the exchange 4, it is necessary to distribute the load to the actual transmission route, and in the exchanges 5, 8 and 9, there is a difference in the number of relay hops on both lines, so the hop It is necessary to use the line l 2 with a small number as the transmission route.

本実施例においては、これらの送信方路の変更を一度
に行わず、適当なアルゴリズムにより上記宛先交換機4,
5,8,9から1つを先ず選択し、送信方路を変更する。こ
の結果、キュー長異常が解消されなければ、さらに残り
の該当宛先交換機から1つを選択する。キュー長異常が
解消されない限り、この処理を繰り返すのである。該当
する宛先交換機の全てについて、送信方路の変更を行っ
ても、キュー長異常が解消されないときには、中継ホッ
プ数にさらに1だけ加算して、その結果から上述と同じ
処理を行って送信方路を変更する。
In the present embodiment, these transmission routes are not changed at once, and the destination exchange 4, by an appropriate algorithm,
First, select one from 5, 8 and 9 and change the transmission route. As a result, if the queue length abnormality is not resolved, one is selected from the remaining applicable destination exchanges. This process is repeated unless the abnormal queue length is resolved. If the queue length error is not resolved even after changing the transmission route for all the applicable destination exchanges, add 1 to the number of relay hops and perform the same process as above from the result, and perform the transmission route. To change.

このように、本発明のパケット交換網のルーティング
制御においては、各交換機が自局の回線のキュー状態を
参照して送出方路を決定する場合に、複数の方路に分散
しているか、あるいは中継ホップ数が1だけ異なる方路
を持つ宛先交換機に限って、1度の処理で1つの宛先交
換機の送出方路のみを変更するため、ルーティング方路
の変更によるトラヒックの偏りの振動する確率を減少さ
せることができるとともに、ルーティング制御を詳細に
実施することができる。
As described above, in the routing control of the packet switching network of the present invention, when each exchange determines the transmission route by referring to the queue status of the line of its own station, it is distributed over a plurality of routes, or Only in the destination exchange having a route whose number of relay hops differs by 1, only the transmission route of one destination exchange is changed in one process. Therefore, the probability of fluctuation of the traffic bias due to the change of the routing route is calculated. It can be reduced and the routing control can be implemented in detail.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、宛先交換機を
単位として、回線のキュー長異常の状態に応じ、宛先交
換機ごとに段階的に迂回を行うので、迂回先にトラヒッ
クが集中したり、または宛先交換機でパケットの到達順
序の逆転が生じたりすることがなく、ルーティング変更
時の安定性を高めることが可能である。
As described above, according to the present invention, the destination exchanges are used as a unit, and detours are performed stepwise for each destination exchange according to the state of the queue length abnormality of the line. Therefore, traffic is concentrated at the detour destination, or It is possible to improve the stability at the time of changing the routing without reversing the arrival order of the packets in the destination exchange.

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

第1図は本発明の一実施例であるパケット交換機のルー
ティング制御の処理フローチャート、第2図は本発明が
適用されるパケット交換網の構成例を示す図、第3図は
第2図の各交換機に備えられるルーティングテーブル例
を示す図、第4図は第2図におけるパケット交換機のハ
ードウェア構成例を示す図、第5図は本発明における通
信経路の変更例を示す図、第6図は本発明の他の実施例
であるルーティングテーブルの図である。 1:パケット交換機、16:メモリ、17:プロセッサ、18:バ
ス、191〜194:回線インタフェースアダプタ、100:ルー
ティングテーブル、101,102:各回線ごとの中継ホップ
数、103:実際の送信方路、Qf,Qg,Qh:回線キュー、F1,F
2:通信経路。
FIG. 1 is a flow chart of a routing control process of a packet switch according to an embodiment of the present invention, FIG. 2 is a diagram showing a configuration example of a packet switch network to which the present invention is applied, and FIG. 3 is each of FIG. FIG. 4 is a diagram showing an example of a routing table provided in the exchange, FIG. 4 is a diagram showing an example of the hardware configuration of the packet switch in FIG. 2, FIG. 5 is a diagram showing an example of changing the communication route in the present invention, and FIG. It is a figure of the routing table which is another Example of this invention. 1: Packet switch, 16: Memory, 17: Processor, 18: Bus, 191-194: Line interface adapter, 100: Routing table, 101, 102: Number of relay hops for each line, 103: Actual transmission route, Qf, Qg, Qh: Line queue, F 1 , F
2 : Communication path.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加納 隆 大阪府大阪市東区北浜4―6 日立西部 ソフトウェア株式会社内 (72)発明者 田中 雅彦 神奈川県秦野市堀山下1番地 株式会社 日立製作所神奈川工場内 (56)参考文献 特開 昭61−189747(JP,A) 特開 昭60−177761(JP,A) 特開 昭57−11559(JP,A) 特開 昭63−110843(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Takashi Kano, Takashi Kano 4-6 Kitahama, Higashi-ku, Osaka, Osaka, Hitachi West Software Co., Ltd. (56) Reference JP 61-189747 (JP, A) JP 60-177761 (JP, A) JP 57-11559 (JP, A) JP 63-110843 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】各宛先交換機までの中継交換機数を記憶し
たルーティングテーブルを備え、該ルーティングテーブ
ルの内容と回線ごとのキュー長状態を参照してパケット
の送出方路を決定するパケット交換網のルーティング制
御方式において、各々複数の宛先交換機を通過するパケ
ットを送信する2以上の回線の中の1つの回線からパケ
ットを送出する場合に、該回線のキュー長が所定値を越
えて異常を生じたとき、上記複数の宛先交換機の中の特
定の宛先交換機のパケットのみを他の回線に迂回させ、
キュー長異常が継続するときには、さらに他の宛先交換
機を選択して、該交換機のパケットも他の回線に迂回さ
せ、キュー長異常が解消したときには、上記迂回した宛
先交換機のパケットを元に戻すことを特徴とするパケッ
ト交換網のルーティング制御方式。
1. A routing of a packet switching network comprising a routing table storing the number of transit exchanges to each destination exchange, and determining a packet transmission route by referring to the contents of the routing table and the queue length state of each line. In the control method, when a packet is transmitted from one line of two or more lines that respectively transmit a packet passing through a plurality of destination exchanges, the queue length of the line exceeds a predetermined value and an abnormality occurs , Divert only packets of a specific destination exchange among the plurality of destination exchanges to another line,
If the queue length error continues, select another destination switch and divert the packet of the switch to another line. When the queue length error is resolved, restore the packet of the bypassed destination switch. A routing control method for packet-switched networks.
【請求項2】上記特定宛先交換機を選択する場合、キュ
ー長異常が生じていないときには、宛先交換機までの中
継交換機数が最小の回線にパケットを送出し、キュー長
異常が生じたときには、該キュー長異常が生じた回線の
各宛先交換機までの中継交換機数を1ずつ増加して、そ
の結果の数値に基づいて迂回する宛先交換機を選択する
ことを特徴とする特許請求の範囲第1項記載のパケット
交換網のルーティング制御方式。
2. When selecting the specific destination exchange, when no queue length abnormality occurs, a packet is sent to a line having the smallest number of relay exchanges up to the destination exchange, and when the queue length abnormality occurs, the queue The number of transit exchanges to each destination exchange of the line in which the long abnormality has occurred is increased by one, and the destination exchange to be detoured is selected based on the resulting numerical value. A routing control method for packet-switched networks.
JP4066787A 1987-02-24 1987-02-24 Routing control method for packet switching network Expired - Fee Related JP2535874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4066787A JP2535874B2 (en) 1987-02-24 1987-02-24 Routing control method for packet switching network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4066787A JP2535874B2 (en) 1987-02-24 1987-02-24 Routing control method for packet switching network

Publications (2)

Publication Number Publication Date
JPS63207242A JPS63207242A (en) 1988-08-26
JP2535874B2 true JP2535874B2 (en) 1996-09-18

Family

ID=12586882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4066787A Expired - Fee Related JP2535874B2 (en) 1987-02-24 1987-02-24 Routing control method for packet switching network

Country Status (1)

Country Link
JP (1) JP2535874B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2680096B2 (en) * 1989-01-19 1997-11-19 富士通株式会社 Preliminary detour method for packet switching network
JPH04262645A (en) * 1991-02-15 1992-09-18 Fuji Xerox Co Ltd Selection type routing system
JP4648082B2 (en) * 2005-05-17 2011-03-09 富士通株式会社 Equipment fault autonomous diagnosis system
JP2010098625A (en) * 2008-10-20 2010-04-30 Hitachi Ltd Packet transfer apparatus and method
JP5361001B2 (en) * 2010-08-30 2013-12-04 日本電信電話株式会社 ROUTING CONTROL DEVICE, ROUTING CONTROL METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JPS63207242A (en) 1988-08-26

Similar Documents

Publication Publication Date Title
US5495426A (en) Inband directed routing for load balancing and load distribution in a data communication network
CA2010393C (en) Communication switching system
US5457679A (en) Channel sharing and memory sharing in a packet switching system
AU654930B2 (en) Methods and apparatus for routing packets in packet transmission networks
EP0724798B1 (en) Selective congestion control mechanism for information networks
US5901140A (en) Selective congestion control mechanism for information networks
EP1388235B1 (en) Apparatus and methods for efficient multicassting of data packets
US7983195B2 (en) Method of routing virtual links in a frame-switching network with guaranteed determinism
US6747972B1 (en) Method and apparatus for reducing the required size of sequence numbers used in resequencing packets
EP0448049B1 (en) Packet transfer regulating apparatus
JPH03198449A (en) Packet abandonment control system for packet switching network
JP6511875B2 (en) INFORMATION PROCESSING SYSTEM, SWITCH DEVICE, AND CONTROL METHOD FOR INFORMATION PROCESSING SYSTEM
Owicki et al. Factors in the Performance of the AN1 Computer Network
JP2535874B2 (en) Routing control method for packet switching network
US20060209683A1 (en) Packet transmission method and station in packet ring telecommunications network
Schwartz et al. Routing and flow control in data networks
JP3504510B2 (en) Packet switch
JP2614904B2 (en) Congestion control device in self-routing channel device
JP2680096B2 (en) Preliminary detour method for packet switching network
JPH01303832A (en) Routing control system
JPH08293886A (en) System for selecting repeater route
JP2827883B2 (en) Network routing method
US9088500B2 (en) Packet communication apparatus and packet transfer method
JPH0376621B2 (en)
JPH02209044A (en) Exchange

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees