JP6797050B2 - Packet switching device - Google Patents
Packet switching device Download PDFInfo
- Publication number
- JP6797050B2 JP6797050B2 JP2017044515A JP2017044515A JP6797050B2 JP 6797050 B2 JP6797050 B2 JP 6797050B2 JP 2017044515 A JP2017044515 A JP 2017044515A JP 2017044515 A JP2017044515 A JP 2017044515A JP 6797050 B2 JP6797050 B2 JP 6797050B2
- Authority
- JP
- Japan
- Prior art keywords
- node address
- packet
- switching device
- packet switching
- duplication
- 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.)
- Active
Links
Images
Description
この発明は、ネットワークシステムでリング状に接続されるパケット交換装置に関するものである。 The present invention relates to a packet switching device connected in a ring shape in a network system.
複数のパケット交換装置をリング状に接続したネットワークシステムでは、各パケット交換装置に一意のノードアドレスを与えることで、リング内のパケット交換装置の並び順の認識や通信の制御を行っている。ノードアドレスを与える手段としては、スイッチによる設定や不揮発性メモリにあらかじめ登録するなどがある。ノードアドレスを適用した方式の一例として、RPR(Resilient Packet Ring:IEEE802.17)が挙げられる。
このようなノードアドレスを必要とするネットワークシステムでは、ネットワーク内のパケット交換装置のノードアドレスが重複すると、パケット交換装置の並び順が認識できず、正常に通信ができなくなる問題が発生する。
In a network system in which a plurality of packet switching devices are connected in a ring shape, a unique node address is given to each packet switching device to recognize the order of the packet switching devices in the ring and control communication. As a means for giving a node address, there are a setting by a switch and registration in a non-volatile memory in advance. An example of a method to which a node address is applied is RPR (Resilient Packet Ring: IEEE802.17).
In a network system that requires such a node address, if the node addresses of the packet switching devices in the network are duplicated, the order of the packet switching devices cannot be recognized, and there is a problem that normal communication cannot be performed.
この問題を解決するために、従来のノードアドレスを用いたパケット交換装置では、ネットワークへの新規参入時に、仮アドレスを生成してリング内にパケットを送信する。他のパケット交換装置とノードアドレスが重複しなければ自パケット交換装置にリングを一周してパケットが戻ってくる。このような仕組みでノードアドレスの重複の有無の検知とノードアドレスの設定を行っている(例えば、特許文献1参照)。 In order to solve this problem, a conventional packet switching device using a node address generates a temporary address and transmits a packet in the ring when a new user enters the network. If the node address does not overlap with other packet switching devices, the packet goes around the ring to the own packet switching device and returns. With such a mechanism, the presence or absence of duplication of node addresses is detected and the node addresses are set (see, for example, Patent Document 1).
しかしながら、従来の方式は、増設等でパケット交換装置をネットワークに新規に参入させる場合を想定したものである。従って、通常のネットワーク運用中に、上記スイッチや不揮発性メモリの故障によりノードアドレスの値が化けた場合、パケット交換装置の電源OFF/ON操作や停電/復電などによりパケット交換装置が再起動されると、誤ったノードアドレスが該当パケット交換装置に設定される。この状況では、ノードアドレスの重複を検知及び回避できず、ネットワーク内の通信が不安定になるという問題があった。この発明は上記のような課題を解決するためになされたものであり、パケット交換装置の増設に限らず、設定時のノードアドレスの重複を回避し、安定したネットワークの提供をすることを目的とする。 However, the conventional method assumes a case where a packet switching device is newly entered into the network due to expansion or the like. Therefore, if the value of the node address is garbled due to a failure of the above switch or non-volatile memory during normal network operation, the packet switching device is restarted due to power OFF / ON operation of the packet switching device or power failure / recovery. Then, the wrong node address is set in the corresponding packet switching device. In this situation, duplication of node addresses cannot be detected and avoided, and there is a problem that communication in the network becomes unstable. The present invention has been made to solve the above problems, and an object thereof is not limited to the addition of packet switching devices, but also to avoid duplication of node addresses at the time of setting and to provide a stable network. To do.
この発明に係るパケット交換装置は、自ノードアドレスを供給するノードアドレス供給部、この自ノードアドレスをパケットに設定してリングネットワーク上に送信するとともにリングネットワーク上のパケットの受信を行うパケット送受信制御部、受信したパケットから送信元アドレスとホップ数またはTTLの値を抽出し、リングネットワーク上のノードの並び順を認識するリング構成認識部、送信した自ノードアドレスのパケットを受信した際のホップ数またはTTLの値に基づいてノードアドレスの重複を検出するノードアドレス重複検出部を備える。 The packet exchange device according to the present invention is a node address supply unit that supplies a local node address, and a packet transmission / reception control unit that sets the local node address in a packet and transmits the packet on the ring network and receives a packet on the ring network. , The ring configuration recognizer that extracts the source address and the number of hops or the TTL value from the received packet and recognizes the order of the nodes on the ring network, the number of hops when the transmitted packet of the own node address is received, or A node address duplication detection unit that detects node address duplication based on the TTL value is provided.
この発明のパケット交換装置によれば、ネットワーク運用中にノードアドレスの重複を検出でき、ネットワークの安定化を図ることが可能となる。 According to the packet switching device of the present invention, duplication of node addresses can be detected during network operation, and the network can be stabilized.
実施の形態1.
図1はこの発明の実施の形態1におけるネットワークシステムの構成を示す概念図。図2は、図1に示したパケット交換装置の機能構成図、図3はノードアドレス供給部の機能構成図である。
Embodiment 1.
FIG. 1 is a conceptual diagram showing a configuration of a network system according to the first embodiment of the present invention. FIG. 2 is a functional configuration diagram of the packet switching device shown in FIG. 1, and FIG. 3 is a functional configuration diagram of the node address supply unit.
図1において、リングネットワーク2は、パケットの交換を行う複数のパケット交換装置1aから1eが接続されている。そして、パケット交換装置1aから1eには、回線8aから8eを介して、端末9aから9eがそれぞれ接続されている。尚、図においては、説明の便宜上、1つのパケット交換装置に対して、1つの端末が接続されている例を示した。しかし、これに限られることはなく、複数の端末が1つのパケット交換装置を介して接続されている場合が一般的である。
図2において、例えばパケット交換装置1aは、リングネットワーク2を介して、隣り合う他のパケット交換装置1b、1eとそれぞれ接続するLANインタフェース部(ポートと同義)3と、回線8aを介して端末9aと接続する端末インタフェース部7と、このLANインタフェース部3、及び端末インタフェース部7と接続されるパケット送受信制御部6と、LANインタフェース部3と接続されるリング構成認識部5と、このリング構成認識部5と接続されるノードアドレス重複検出部10と、このノードアドレス重複検出部10と接続される装置停止制御部11と、リング構成認識部5、パケット送受信制御部6、及びノードアドレス重複検出部10に接続するノードアドレス供給部4とを備えている。図3において、ノードアドレス供給部4は、初期ノードアドレス保持部41を備えている。
In FIG. 1, a plurality of
In FIG. 2, for example, the
次に動作について説明する。初期ノードアドレス保持部41は、パケット交換装置1aに対し一意の自ノードアドレスの値を設定する。初期ノードアドレス保持部41での設定は、スイッチによる設定や不揮発性メモリによる登録等で実現される。その他のパケット交換装置1bから1eについても同様に、それぞれのノードアドレス供給部の初期ノードアドレス保持部により一意のノードアドレスの値が設定される。
Next, the operation will be described. The initial node
パケット送受信制御部6は、初期ノードアドレス保持部41で設定した自ノードアドレスの情報を受けて、リング構成を認識するための制御パケットのSA(送信元アドレス)に自ノードアドレスを設定し、LANインタフェース部3を介して、リングネットワーク2内の他のパケット交換装置1bから1eに対して送信する。また、パケット送受信制御部6は、リングネットワーク2内の自身を含めたパケット交換装置1aから1eの制御パケットを受信する。この制御パケットの情報は、LANインタフェース部3を介して、リング構成認識部5に送られる。リング構成認識部5では、受信した制御パケットから送信元アドレスとホップ数を抽出し、リングネットワーク2内で、一意にノードアドレスを与えられたパケット交換装置1aから1eの並び順(トポロジマップ)を認識する。その後、トポロジマップの情報をパケット送受信制御部6に送る。パケット送受信制御部6は、そのトポロジマップの情報を基に、端末9aから受信した通常パケットをリングネットワーク2側に中継する。
The packet transmission /
一方、初期ノードアドレス保持部41で、スイッチや不揮発性メモリの部品故障により、自ノードアドレスの値が化けて、リングネットワーク2内の他のパケット交換装置1bから1eのうちのいずれかのノードアドレスの値と重複した場合を考える。この場合、ノードアドレス重複検出部10は、リング構成認識部5から送られた送信元アドレスとホップ数の情報から、自ノードアドレスが、他のパケット交換装置1bから1eのいずれかのノードアドレスと重複していることを検知する。検知する仕組みは以下の通りである。正常時は、自ノードアドレスのホップ数が必ず最大(TTL(Time to Live)を利用している場合は一番小さい値)となるが、ノードアドレスの重複が発生した場合は、自ノードアドレスのホップ数が最大とならない(TTLを利用している場合は一番小さい値とならない)ことから、検出が可能である。
On the other hand, in the initial node
例えば、図1のネットワークシステムで、
パケット交換装置1aのノードアドレス=1
パケット交換装置1bのノードアドレス=2
パケット交換装置1cのノードアドレス=3
パケット交換装置1dのノードアドレス=4
パケット交換装置1eのノードアドレス=5
とした例を図4に示す。この場合、パケット交換装置1aからみると、右回りの場合、
ノードアドレス=1のパケットのホップ数は4
ノードアドレス=2のパケットのホップ数は3
ノードアドレス=3のパケットのホップ数は2
ノードアドレス=4のパケットのホップ数は1
ノードアドレス=5のパケットのホップ数は0
となり、パケット交換装置1aの自ノードアドレス=1のパケットのホップ数が最大となる。左回りでも同様となる(ただし、アドレスに対するホップ数は逆になる)。この場合、前提として、自ノードが出したパケットを自ノードで受信すると、隣のノードには中継せず廃棄する(パケットの送信元のノードアドレスが自ノードのアドレスと一致すれば自ノードが出したパケットと判断し廃棄する)。
For example, in the network system of FIG.
Node address of
Node address of
Node address of
Node address of
Node address of
An example of this is shown in FIG. In this case, when viewed from the
The number of hops in a packet with node address = 1 is 4
The number of hops for a packet with node address = 2 is 3
The number of hops in a packet with node address = 3 is 2.
The number of hops in a packet with node address = 4 is 1.
The number of hops in a packet with node address = 5 is 0
Therefore, the number of hops of the packet of the own node address = 1 of the
次に、図5のように、パケット交換装置1aとパケット交換装置1dのアドレスとが重複した場合(どちらのノードアドレスも1の場合)、パケット交換装置1aが出したパケットは、右回りではパケット交換装置1b、1c、1dと中継され、パケット交換装置1dは受信したパケットの送信元のノードアドレスが自分のアドレスと一致するため、自分が出したパケットと誤認識してパケットを廃棄する。左回りも同様となる。よって、パケット交換装置1aが出したパケットはパケット交換装置1aには戻らないことになる。次にパケット交換装置1dが出したパケットは右回りでは、パケット交換装置1e、1aと中継され、パケット交換装置1aが受信したパケットの送信元のノードアドレスが自分のアドレスと一致するため、自分が出したパケットと誤認識して廃棄する。このときホップ数は1となる。従ってパケット交換装置1aからみると、右回りでは、
ノードアドレス=1のパケットのホップ数は1(実際はパケット交換装置1dのパケットを誤認識)
ノードアドレス=2のパケットのホップ数は3
ノードアドレス=3のパケットのホップ数は2
ノードアドレス=5のパケットのホップ数は0
となり、自ノードアドレスのパケットのホップ数は最大にならない。これは左回りでも同様となる。このようなシステムにおいて、ホップ数の増減がアドレスの重複以外で発生しないよう、ホップ数のデータが通信途中でデータ化けを起こした場合の対処として、パケットにチェックサム等のデータ化けの有無を検知する部分を設け、データ化けが発生した場合にパケットが廃棄されるようにしてもよい。
Next, as shown in FIG. 5, when the addresses of the
The number of hops of a packet with node address = 1 is 1 (actually, the packet of
The number of hops for a packet with node address = 2 is 3
The number of hops in a packet with node address = 3 is 2.
The number of hops in a packet with node address = 5 is 0
Therefore, the number of hops of the packet of the own node address is not maximized. This also applies to counterclockwise rotation. In such a system, the presence or absence of data garbled such as checksum is detected in the packet as a countermeasure when the hop number data is garbled during communication so that the increase or decrease in the number of hops does not occur except for the duplication of addresses. It is also possible to provide a portion to be used so that the packet is discarded when data garbled occurs.
次に、図4において、TTLを用いた場合について説明する。TTLの値はリングネットワーク内に最大接続できるノード数を装置として規定しており、それよりも大きい値をTTLの初期値として設定する。例えばTTLの初期値を255と設定した場合、パケット交換装置1aからみると、TTLの初期値とノード数から、
ノードアドレス=1のパケットのTTL値は251
ノードアドレス=2のパケットのTTL値は252
ノードアドレス=3のパケットのTTL値は253
ノードアドレス=4のパケットのTTL値は254
ノードアドレス=5のパケットのTTL値は255
となり、パケット交換装置1aの自ノードアドレス=1のパケットのTTL値が最小となる。左回りも同様となる。
Next, in FIG. 4, a case where TTL is used will be described. The TTL value defines the maximum number of nodes that can be connected in the ring network as a device, and a value larger than that is set as the initial value of the TTL. For example, when the initial value of TTL is set to 255, when viewed from the
The TTL value of the packet with node address = 1 is 251
The TTL value of the packet with node address = 2 is 252.
The TTL value of the packet with node address = 3 is 253
The TTL value of the packet with node address = 4 is 254.
The TTL value of the packet with node address = 5 is 255
Therefore, the TTL value of the packet with the own node address = 1 of the
次に図5において、パケット交換装置1aとパケット交換装置1dのアドレスとが重複した場合(どちらのノードアドレスも1の場合)、ホップ数の際に説明したのと同様、パケット交換装置1aからみると、
ノードアドレス=1のパケットのTTL値は254(実際はパケット交換装置1dのパケットを誤認識)
ノードアドレス=2のパケットのTTL値は252
ノードアドレス=3のパケットのTTL値は253
ノードアドレス=5のパケットのTTL値は255
となり、自ノードアドレスのパケットのTTL値は最小とならない。これは左回りでも同様となる。このようなシステムにおいて、TTL値の増減がアドレスの重複以外で発生しないよう、TTL値のデータが通信途中でデータ化けを起こしたことを検知し、パケットが廃棄されるように処置してもよい。
Next, in FIG. 5, when the addresses of the
The TTL value of the packet with node address = 1 is 254 (actually, the packet of
The TTL value of the packet with node address = 2 is 252.
The TTL value of the packet with node address = 3 is 253
The TTL value of the packet with node address = 5 is 255
Therefore, the TTL value of the packet of the own node address is not the minimum. This also applies to counterclockwise rotation. In such a system, it may be possible to detect that the TTL value data has been garbled during communication and take measures so that the packet is discarded so that the increase or decrease of the TTL value does not occur except for the duplication of addresses. ..
ノードアドレス重複検出部10は、ノードアドレスの重複を検出すると、装置停止制御部11に対し通知し、装置停止制御部11はパケット交換装置1の動作を停止させる。このように、ノードアドレスが異常とみなせるパケット交換装置1aを停止することで、リングネットワーク2内の他のパケット交換装置1bから1eは、正常なトポロジマップの情報を認識することができ、ネットワークの安定化を図ることが可能となる。
When the node address
実施の形態2.
図6は本発明の実施の形態2のパケット交換装置の機能構成図、図7は本発明の実施の形態2のノードアドレス供給部の機能構成図、図8は本発明の実施の形態2のパケット交換装置による動作フローチャートである。実施の形態1と比較して、図6に示すように、ノードアドレス供給部4とリング構成認識部5とを接続するとともに、ノードアドレス供
給部4とノードアドレス重複検出部10とを接続し、装置停止制御部11をなくしたものである。また、図7に示すように、ノードアドレス供給部4に、ノードアドレス設定部42を設けた。
FIG. 6 is a functional configuration diagram of the packet switching device according to the second embodiment of the present invention, FIG. 7 is a functional configuration diagram of the node address supply unit of the second embodiment of the present invention, and FIG. 8 is a functional configuration diagram of the second embodiment of the present invention. It is an operation flowchart by a packet switching device. Compared with the first embodiment, as shown in FIG. 6, the node
次に実施の形態2の動作について説明する。ノードアドレス設定部42は、装置起動後(図8中、ステップ100)は初期ノードアドレス保持部41により、自ノードアドレスとして初期ノードアドレスの値が設定されて(ステップ101)、リング構成認識部5、パケット送受信制御部6、及びノードアドレス重複検出部10に初期ノードアドレスを通知する。ノードアドレス重複検出部10でのノードアドレス重複の情報検出の有無を判断し(ステップ102)、重複が検出されるまでは、設定された初期ノードアドレスの値を維持する(ステップ102のNo)。
一方、ノードアドレス重複の情報が検出されると(ステップ102のYes)、リング構成認識部5から送られたパケット交換装置1bから1eの送信元アドレスの情報を基に、ノードアドレス設定部42は、使用されていない空きアドレスの中からランダムに選んだ新しいノードアドレスを再設定する(ステップ103)。その後、リング構成認識部5、パケット送受信制御部6及びノードアドレス重複検出部10に対し、再設定した新しいノードアドレスを通知する。以降、この新アドレスを自ノードアドレスとして動作する。この新アドレスで再度、ノードアドレス重複検出部10でのノードアドレス重複の情報検出の有無を判断する(ステップ104)。アドレス重複の情報を受けなければ(ステップ104のNo)、新ノードアドレスの設定によりアドレス重複が解消されたとみなせ、また、ノードアドレス重複の情報を受ければ(ステップ104のYes)、再度、使用されていない空きアドレスの中からランダムに選んでノードアドレスを再設定する(ステップ103)。アドレス重複検出が解消されるまでこれを繰り返す。
Next, the operation of the second embodiment will be described. After the device is started (step 100 in FIG. 8), the node
On the other hand, when the node address duplication information is detected (Yes in step 102), the node
実施の形態1では、アドレス重複を検出した場合は、パケット交換装置1aを停止させていたため、停止したパケット交換装置1aに接続される端末9aとリングネットワーク2の他のパケット交換装置1bから1eの間で通信ができなかったが、実施の形態2では、アドレス重複を検出したパケット交換装置1aに新たなノードアドレスを再設定することで、アドレス重複を解消させるようにしたので、パケット交換装置1aの停止を伴わず、通信が継続できるため、ネットワークの可用性を高めることができる。
In the first embodiment, when the address duplication is detected, the
実施の形態3.
図9は本発明の実施の形態3のパケット交換装置の機能構成図、図10は本発明の実施の形態3のノードアドレス供給部の機能構成図、図11は本発明の実施の形態3のパケット交換装置による動作フローチャートである。実施の形態3では、実施の形態2と比較して、図9に示すように、ノードアドレス供給部4と接続された装置停止制御部11を設けた。また、図10に示すように、ノードアドレス供給部4に設定カウンタ部43を設けたものである。
9 is a functional configuration diagram of the packet switching device according to the third embodiment of the present invention, FIG. 10 is a functional configuration diagram of the node address supply unit according to the third embodiment of the present invention, and FIG. 11 is a functional configuration diagram of the third embodiment of the present invention. It is an operation flowchart by a packet switching device. In the third embodiment, as shown in FIG. 9, the device
次に、実施の形態3の動作について説明する。ノードアドレス設定部42は、装置起動後(図11中、ステップ100)は初期ノードアドレス保持部41により、自ノードアドレスとして初期ノードアドレスの値が設定されて(ステップ101)、リング構成認識部5、パケット送受信制御部6、及びノードアドレス重複検出部10に初期ノードアドレスを通知する。ノードアドレス重複検出部10でのノードアドレス重複の情報検出の有無を判断し(ステップ102)、重複が検出されるまでは、設定された初期ノードアドレスの値を維持する(ステップ102のNo)。
一方、ノードアドレス重複の情報が検出されると(ステップ102のYes)、リング構成認識部5から送られたパケット交換装置1bから1eの送信元アドレスの情報を基に、ノードアドレス設定部42は、使用されていない空きアドレスの中からランダムに選んだ新しいノードアドレスを再設定する(ステップ103)。その後、リング構成認識部5、
パケット送受信制御部6及びノードアドレス重複検出部10に対し、再設定した新しいノードアドレスを通知する。また、ノードアドレスを再設定した数をカウントする設定カウンタ部43に対し、再設定カウントを1加算する指示を出す(ステップ105)。以降、この新アドレスを自ノードアドレスとして動作する。この新アドレスで再度、ノードアドレス重複検出部10でのノードアドレス重複の情報検出の有無を判断する(ステップ104)。ノードアドレス重複の情報を受けなければ(ステップ104のNo)、新ノードアドレスの設定によりアドレス重複が解消されたとみなせ、また、ノードアドレス重複の情報を受ければ(ステップ104のYes)、設定カウンタ部43にて、あらかじめ与えられた設定カウントの上限値と再設定カウント数を比較する(ステップ106)。上限を超えていなければ(ステップ106のNo)、再度、使用されていない空きアドレスの中からランダムに選んでノードアドレスを再設定し(ステップ103)、上限を超えていれば(ステップ106のYes)、装置起動停止通知を装置停止制御部11に送る(ステップ107)。
Next, the operation of the third embodiment will be described. After the device is started (step 100 in FIG. 11), the node
On the other hand, when the node address duplication information is detected (Yes in step 102), the node
Notify the packet transmission /
実施の形態2では、アドレス重複検出と新ノードアドレスの再設定が延々と繰り返され、リングネットワークがいつまで経っても安定しない状態に陥ることが有り得るが、実施の形態3では、設定カウンタ部43を設けたことで、アドレス重複検出と新ノードアドレスの再設定の繰り返し回数に上限を設けたため、リングネットワークの早期安定化を図ることが可能となる。
In the second embodiment, the address duplication detection and the resetting of the new node address are repeated endlessly, and the ring network may be in an unstable state forever. However, in the third embodiment, the setting
実施の形態4.
図12は、本発明の実施の形態4のノードアドレス供給部の機能構成図、図13は、実施の形態4の動作のフローチャートを示したものである。実施の形態3と比較して、図12に示すように、ノードアドレス供給部4に、前回起動時ノードアドレス保持部44を設けた。
FIG. 12 shows a functional configuration diagram of the node address supply unit of the fourth embodiment of the present invention, and FIG. 13 shows a flowchart of the operation of the fourth embodiment. As shown in FIG. 12, the node
次に実施の形態4の動作について説明する。ノードアドレス設定部42は、装置起動後(図13中、ステップ100)は初期ノードアドレス保持部41により、自ノードアドレスとして初期ノードアドレスの値が設定されて(ステップ101)、リング構成認識部5、パケット送受信制御部6、及びノードアドレス重複検出部10に初期ノードアドレスを通知する。ノードアドレス重複検出部10でのノードアドレス重複情報の検出の有無を判断し(ステップ102)、重複が検出されるまでは、設定された初期ノードアドレスの値を維持する(ステップ102のNo)。
一方、ノードアドレス重複の情報が検出されると(ステップ102のYes)、前回起動時ノードアドレス保持部44から、前回、パケット交換装置1が起動したときの初期ノードアドレスの値を読み出し、現在の初期ノードアドレス値と比較する(ステップ108)。比較した結果、値が一致すれば(ステップ108のYes)、初期ノードアドレスを与える部品の故障ではないと判断し、処理を終了する(ステップ111)。この場合、初期ノードアドレスの値の設定はそのままで動作する。
Next, the operation of the fourth embodiment will be described. After the device is started (step 100 in FIG. 13), the node
On the other hand, when the node address duplication information is detected (Yes in step 102), the value of the initial node address when the packet switching device 1 was started last time is read from the node
一方、比較した結果、値が一致しなければ(ステップ108のNo)、初期ノードアドレスを与える部品故障の疑いがあると判断し、前回起動時の初期ノードアドレスと同じ値を設定する(ステップ109)。以降、この再設定された前回起動時の初期ノードアドレスの値を自ノードアドレスとして動作する。ノードアドレス重複検出部10でのノードアドレス重複情報の検出の有無を判断し(ステップ110)、重複が検出されるまでは、再設定された前回起動時の初期ノードアドレスの値を維持する(ステップ110のNo)。また、再度、ノードアドレス重複の情報を受ければ(ステップ110のYes)、リング構成認識部5から送られたパケット交換装置1bから1eの送信元アドレスの情報を基に、ノードアドレス設定部42は、使用されていない空アドレスの中からランダムに選んだ新しいノードアドレスを再設定する(ステップ103)。以降の動作は、実施例3の動作と同じである。
On the other hand, as a result of comparison, if the values do not match (No in step 108), it is determined that there is a suspicion of a component failure that gives the initial node address, and the same value as the initial node address at the previous startup is set (step 109). ). After that, the value of the initial node address at the time of the previous startup that has been reset is used as the own node address. The node address
実施の形態3では、部品故障によりアドレス重複が発生したときに、部品が故障したパケット交換装置1a以外に、アドレスが重複した故障していないパケット交換装置でも、空きアドレスから新たなノードアドレスの再設定が行われてしまう可能性があるが、実施の形態4では、前回起動時ノードアドレス保持部44を設けたことで、部品故障の発生によりアドレス重複が発生した場合にのみ、新しいノードアドレスの再設定動作が行われるので、よりリングネットワークの早期安定化を図ることが可能となる。
In the third embodiment, when an address duplication occurs due to a component failure, in addition to the
実施の形態5.
図14は本発明の実施の形態5のパケット交換装置の機能構成図、図15は実施の形態5の動作のフローチャートを示している。実施の形態5では、実施の形態4と比較して、図14に示すように、装置停止制御部11の代わりに、バイパス処理部12p、12qを設け、ノードアドレス供給部4に接続したものである。バイパス処理部12p、12qは、通常時は、LANインタフェース部3p、3qとパケット送受信制御部6の間でパケットを中継し、バイパスの指示を受けると、例えば、LANインタフェース部3pからバイパス処理部12pに送られたパケットをパケット送受信制御部6には中継せず、バイパス処理部12qに中継し、バイパス処理部12qからLANインタフェース部3qに中継する動作をとる。
FIG. 14 shows a functional configuration diagram of the packet switching device according to the fifth embodiment of the present invention, and FIG. 15 shows a flowchart of the operation of the fifth embodiment. In the fifth embodiment, as compared with the fourth embodiment, as shown in FIG. 14,
図15は、実施の形態5の動作のフローチャートで、実施の形態4の動作と異なるのは、ノードアドレス供給部4内の設定カウンタ部43にて、あらかじめ与えられた設定カウントの上限値と再設定カウント数を比較するが(ステップ106)、上限を超えていれば(ステップ106のYes)、バイパス設定通知をノードアドレス供給部4がバイパス処理部12p、12qに送る点である(ステップ112)。
FIG. 15 is a flowchart of the operation of the fifth embodiment, and the difference from the operation of the fourth embodiment is that the setting
実施の形態4では、アドレス再設定の設定カウンタの上限値を超えた場合、パケット交換装置1aの動作を停止していた。このため、リングネットワーク2の中で、パケット交換装置1aを介したパケットの中継ができず、ネットワークがオープンリングになった状態となっていた。本実施の形態5により、パケット交換装置1aをバイパスすることで、パケット交換装置1aを介したパケット中継が可能となり、クローズドリングを保つことで、ネットワークの冗長性を高めることが可能となる。なお、実施の形態1及び3に装置停止制御部11の代わりに、本実施の形態のバイパス処理部12p、12qを備え、バイパス処理を行うことで、実施の形態4と同様のオープンリングの問題を解決することができる。
In the fourth embodiment, when the upper limit value of the address reset setting counter is exceeded, the operation of the
上述した各実施の形態のパケット交換装置1aのうち、一部、又は全部の構成を、図16に示すように、プロセッサ(MPU)とメモリに格納されたコンピュータプログラムの組合せによって実現してもよいし、ASIC等の専用のハードウエアによって実現してもよいし、FPGAのような再構成可能なゲートアレイによって実現してもよいし、これらの組合せによって実現してもよい。
As shown in FIG. 16, a part or all of the configuration of the
なお、この発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。また図中、同一符号は、同一又は相当する構成、機能を有する部分を示す。 In the present invention, each embodiment can be freely combined, and each embodiment can be appropriately modified or omitted within the scope of the invention. Further, in the figure, the same reference numerals indicate parts having the same or corresponding configurations and functions.
1a、1b、1c、1d、1e パケット交換装置、2 リングネットワーク、
3、3p、3q LANインタフェース部、4 ノードアドレス供給部、
5 リング構成認識部、6 パケット送受信制御部、7 端末インタフェース部、
8a、8b、8c、8d、8e 回線、9a、9b、9c、9d、9e 端末、
10 ノードアドレス重複検出部、11 装置停止制御部、
12p、12q バイパス処理部、41 初期ノードアドレス保持部、
42 ノードアドレス設定部、43 設定カウンタ部、
44 前回起動時ノードアドレス保持部
1a, 1b, 1c, 1d, 1e packet switching device, 2 ring network,
3,3p, 3q LAN interface section, 4 node address supply section,
5 ring configuration recognition unit, 6 packet transmission / reception control unit, 7 terminal interface unit,
8a, 8b, 8c, 8d, 8e lines, 9a, 9b, 9c, 9d, 9e terminals,
10 node address duplication detection unit, 11 device stop control unit,
12p, 12q bypass processing unit, 41 initial node address holding unit,
42 node address setting unit, 43 setting counter unit,
44 Node address holder at last startup
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017044515A JP6797050B2 (en) | 2017-03-09 | 2017-03-09 | Packet switching device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017044515A JP6797050B2 (en) | 2017-03-09 | 2017-03-09 | Packet switching device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018148506A JP2018148506A (en) | 2018-09-20 |
JP6797050B2 true JP6797050B2 (en) | 2020-12-09 |
Family
ID=63591781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017044515A Active JP6797050B2 (en) | 2017-03-09 | 2017-03-09 | Packet switching device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6797050B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7226166B2 (en) | 2019-07-22 | 2023-02-21 | 株式会社デンソー | Repeater and in-vehicle communication network |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0628358B2 (en) * | 1983-07-21 | 1994-04-13 | 株式会社日立製作所 | Transmission system address check method |
JP2821221B2 (en) * | 1989-02-15 | 1998-11-05 | 株式会社日立製作所 | How to test network systems and duplicate addresses |
JP3584877B2 (en) * | 2000-12-05 | 2004-11-04 | 日本電気株式会社 | Packet transfer control device, packet transfer control method, and packet transfer control system |
WO2004051946A1 (en) * | 2002-12-02 | 2004-06-17 | Fujitsu Limited | Source address spoofing packet detecting apparatus, source address spoofing packet detecting method, and source address spoofing packet detecting program |
JP2004363913A (en) * | 2003-06-04 | 2004-12-24 | Nippon Telegr & Teleph Corp <Ntt> | Communication path analysis apparatus and method |
US8787346B2 (en) * | 2006-08-04 | 2014-07-22 | Panasonic Corporation | Wireless communication apparatus and wireless communication method |
JP4948320B2 (en) * | 2007-08-09 | 2012-06-06 | 三菱電機株式会社 | Multi-ring RPR node device |
JP5618946B2 (en) * | 2011-08-22 | 2014-11-05 | 三菱電機株式会社 | Communication apparatus and communication system |
-
2017
- 2017-03-09 JP JP2017044515A patent/JP6797050B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018148506A (en) | 2018-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107846342B (en) | Method, device and system for forwarding VXLAN message | |
JP4747118B2 (en) | Router, communication guarantee method and communication guarantee program | |
JP4790591B2 (en) | Ring node device | |
US8411690B2 (en) | Preventing data traffic connectivity between endpoints of a network segment | |
US8184650B2 (en) | Filtering of redundant frames in a network node | |
JP6308534B2 (en) | Network protection method, network protection device, off-ring node, and system | |
CN107171840B (en) | Protection switching method and device based on ERPS protocol | |
JP4946803B2 (en) | Packet relay method and apparatus | |
US9553760B2 (en) | Method, device, and system for dual-uplink tangent ring convergence | |
JP5678678B2 (en) | Provider network and provider edge device | |
JP2003258822A (en) | Packet ring network and inter-packet ring network connection method used in the same | |
JP6797050B2 (en) | Packet switching device | |
JP7021543B2 (en) | Communication equipment and communication systems | |
JP3292238B2 (en) | Network system with redundant connection equipment and connection failure avoidance method | |
JP4299658B2 (en) | Network control system and control method | |
US8295164B2 (en) | Network-connection redundant system for devices with cascade networking capability and method applied on the system | |
CN114531319A (en) | Message sending method, equipment and system | |
JP5422585B2 (en) | Ring network system | |
KR101103742B1 (en) | A vrrp based gateway system preventing automatic fail-back and its method | |
JP4839334B2 (en) | Redundant protocol coexistence system and transfer device | |
TWI396408B (en) | Network-connection redundant system for devices with cascade networking capability and method applied on the system | |
JP2015065610A (en) | Transmission system, transmission apparatus and transmission method | |
JP6356047B2 (en) | Relay system and switch device | |
WO2021205522A1 (en) | Path switching method, transfer device, and communication system | |
JP6653250B2 (en) | Computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191220 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20191220 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201005 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20201020 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201117 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6797050 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |