JP2007019698A - Ring type redundant communication path control method - Google Patents

Ring type redundant communication path control method Download PDF

Info

Publication number
JP2007019698A
JP2007019698A JP2005197250A JP2005197250A JP2007019698A JP 2007019698 A JP2007019698 A JP 2007019698A JP 2005197250 A JP2005197250 A JP 2005197250A JP 2005197250 A JP2005197250 A JP 2005197250A JP 2007019698 A JP2007019698 A JP 2007019698A
Authority
JP
Japan
Prior art keywords
port
control frame
control
failure
transfer
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
JP2005197250A
Other languages
Japanese (ja)
Inventor
Masahiro Maruyoshi
政博 丸吉
Muneyoshi Suzuki
宗良 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005197250A priority Critical patent/JP2007019698A/en
Publication of JP2007019698A publication Critical patent/JP2007019698A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that when a communication path is switched in the case of a trouble, a loop is formed as the result of path switching based upon the erroneous detection of the trouble by making the communication path lengthy by using a ring type lengthy communication path. <P>SOLUTION: A control frame imparted with a device identifier array is transmitted and received inward and outward between transfer devices constituting the ring type lengthy communication path to detect a trouble and specify its occurrence place from the received device identifier array, when the trouble is detected, a transfer device 1 which should open a control port waits for an opening instruction from a transfer device having closed a control port and performs closure processing for the control port. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、通信経路を冗長化し、障害状況に応じて通信回線の切替を行う回線制御技術に関わり、特にリング型冗長通信路によって冗長化を実現する網に好適なリング型冗長通信路制御方法に関するものである。   The present invention relates to a line control technique for making a communication path redundant and switching a communication line according to a failure condition, and in particular, a ring-type redundant communication path control method suitable for a network realizing redundancy by a ring-type redundant communication path It is about.

現在、通信事業者が提供するWAN(Wide Area Network)サービスでは、ユーザの通信の信頼性を向上させるため、通信事業者網内の経路を冗長化し、障害が発生した場合に回線を切替えてユーザの通信を保護する1+1型や1:N型の冗長構成が広く採用されている。しかし、これらの方式で冗長経路を構成するにはリンク本数の増加による網コストの増大が問題となる。そこで、少ないリンク本数で冗長化が可能となるリング型冗長通信路の採用が進んでいる。   Currently, in a WAN (Wide Area Network) service provided by a telecommunications carrier, in order to improve the communication reliability of the user, the route within the telecommunications carrier network is made redundant and the line is switched when a failure occurs. A 1 + 1 type or 1: N type redundant configuration that protects the communication is widely used. However, increasing the network cost due to the increase in the number of links is a problem in configuring a redundant path by these methods. Therefore, the adoption of a ring-type redundant communication path that enables redundancy with a small number of links is progressing.

しかし、リング型冗長通信路では、広域イーサネット(登録商標)のようなマルチポイントトウマルチポイントの通信路を提供する場合、論理的にループを解除し、障害時には経路切替を行うリング制御が必要となる。   However, in a ring-type redundant communication path, when providing a multipoint-to-multipoint communication path such as wide area Ethernet (registered trademark), it is necessary to perform ring control that logically releases the loop and switches the path in the event of a failure. Become.

そこで、従来のリング制御方式である非特許文献1に記載のSTP(Spanning Tree Protocol)や、非特許文献2に記載のRSTP(Rapid Spanning Tree Protocol)では、リング型冗長通信路上の単一のポートをブロッキング状態にすることで論理的にループ構成を解除している。しかし、STPやRSTPでは網構成を決定するための経路コストの計算のため多種なパラメータを扱う。これによって経路を決定する計算コストが増大し、切替に時間ががかるという問題がある。   Therefore, in the STP (Spanning Tree Protocol) described in Non-Patent Document 1 and the RSTP (Rapid Spanning Tree Protocol) described in Non-Patent Document 2, which are conventional ring control methods, a single port on a ring-type redundant communication path is used. The loop configuration is logically released by putting the in a blocking state. However, STP and RSTP handle various parameters for the calculation of the route cost for determining the network configuration. This increases the calculation cost for determining the route, and there is a problem that it takes time to switch.

そこで、従来のリング制御方式である非特許文献3に記載のMMRP2では、リング型冗長通信路を構成する複数の転送装置から主装置と副装置とを決定し、副装置の制御ポートを閉塞しておくことで論理的にループを解除し、主装置と副装置との間で制御フレームを送受信し、副装置が主装置からの制御フレームを受信しなくなった場合に障害を検知し、副装置において閉塞していた制御ポートを開放することで経路の切替を行っていた。また、リングをVLAN(VirtuaI Local Area Network)などのフレーム識別子ごとに論理的に分離することで、複数の論理リングをリング型冗長通信路上に多重化することで、効率的なフレーム転送を実現していた。
IEEE 802.1D−1998 Edition MAC bridges IEEE 802.1D−2004 Edition MAC bridges 安藤雅人,“LAN Switch技術 〜冗長化手法と最新技術〜”,pp.77−pp.80,Internet week 2003 http://www.nic.ad.jp/ja/materials/iw/2003/proceedings/T14−2.pdf
Therefore, in MMRP2 described in Non-Patent Document 3, which is a conventional ring control method, a main device and a sub device are determined from a plurality of transfer devices constituting a ring-type redundant communication path, and the control port of the sub device is blocked. The logical loop is released, the control frame is transmitted / received between the main unit and the sub unit, and when the sub unit no longer receives the control frame from the main unit, the fault is detected, and the sub unit The path was switched by opening the control port that was blocked in In addition, by dividing the ring logically into frame identifiers such as VLAN (VirtualI Local Area Network), multiple logical rings are multiplexed on the ring-type redundant communication path to achieve efficient frame transfer. It was.
IEEE 802.1D-1998 Edition MAC bridges IEEE 802.1D-2004 Edition MAC bridges Masato Ando, “LAN Switch Technology -Redundancy and Latest Technology”, pp. 77-pp. 80, Internet week 2003 http: // www. nic. ad. jp / ja / materials / iw / 2003 / processedings / T14-2. pdf

ここで、従来のリング制御方式では、障害を検知した場合、障害箇所においてループが解除されているものとして、主装置の制御ポートを閉塞せずに、副装置の制御ポートを開放していた。これにより、主装置と副装置との間で送受信している制御フレームを、転送遅延や装置内転送バッファ溢れによって受信しない場合、実際には障害が発生していないにも関わらず障害として誤検知し、副装置の制御ポートを開放することで、ループの原因となっていた。   Here, in the conventional ring control method, when a failure is detected, the control port of the secondary device is opened without closing the control port of the main device, assuming that the loop is released at the failure location. As a result, when a control frame transmitted / received between the main device and the sub device is not received due to transfer delay or overflow of the transfer buffer in the device, it is erroneously detected as a failure even though no failure has actually occurred. However, opening the control port of the secondary device caused a loop.

また、リング型冗長通信路による冗長経路では、正常時にユーザフレームが転送されるリンクは、リング型冗長通信路内の一部のリンク(以下主経路)であり、その他のリンクは、待機リンクとして障害時にのみ使用される。したがって、経路切替が必要なのは、主経路に障害が発生した場合のみであり、待機リンクの障害時には経路切替は必要ではない。また、待機リンクには正常時にユーザフレームが転送される必要はない。   In addition, in a redundant route using a ring-type redundant communication path, a link to which a user frame is transferred during normal operation is a part of the link in the ring-type redundant communication path (hereinafter referred to as a main route), and the other links are standby links. Used only in case of failure. Therefore, the path switching is necessary only when a failure occurs in the main route, and the path switching is not necessary when the standby link fails. Further, the user frame does not need to be transferred to the standby link when it is normal.

しかし、従来用いられてきたリング制御方式では、障害箇所の特定が不可能であったため、障害発生箇所ごとの経路切替制御が不可能であった。これにより、経路切替が不必要な待機リンクでの障害発生時にも経路切替を行うことになり、ユーザの通信が不安定になったり、経路切替の不具合によりループが発生する頻度が増大する原因となっていた。   However, in the conventionally used ring control method, since it is impossible to identify a fault location, it is impossible to perform path switching control for each fault location. As a result, when a failure occurs in a standby link that does not require route switching, route switching is performed, which may cause the user's communication to become unstable or increase the frequency of occurrence of loops due to route switching failures. It was.

さらに、従来のリング制御方式では、制御ポートが主装置と副装置にしか設定できず、主装置と副装置の間の全てのリンクにユーザフレームが転送されていた。このように、転送が不必要な待機リンクにもユーザフレームを転送することで、多重化した他の論理リングの主経路の帯域を圧迫し、リンク使用効率を低下させる原因となっていた。   Further, in the conventional ring control method, the control port can be set only for the main device and the sub device, and the user frame is transferred to all the links between the main device and the sub device. As described above, by transferring the user frame to the standby link that does not need to be transferred, the bandwidth of the multiplexed main path of the other logical ring is compressed, and the link usage efficiency is reduced.

また、従来のリング制御方式では、制御フレームの作成や送受信を行う制御モジュールの障害を検知することが不可能であった。これにより、制御モジュールに障害が発生した場合、ユーザフレームを受信していても制御フレームを受信しないことで障害を検知し、経路切替処理を行うため、ループの原因となっていた。   Further, in the conventional ring control method, it has been impossible to detect a failure of a control module that generates and transmits / receives a control frame. As a result, when a failure occurs in the control module, even if a user frame is received, the failure is detected by not receiving the control frame, and the path switching process is performed, causing a loop.

また、従来のリング制御方式では、障害箇所の特定を行う手段が無いため、単一障害か二重障害かを判断することが不可能であった。これにより、経路切替を行ってもユーザの通信を保護できない二重障害を検知することが不可能であり、管理者が障害の状況を把握することが困難であった。   Further, in the conventional ring control method, since there is no means for specifying the fault location, it is impossible to determine whether the fault is a single fault or a double fault. As a result, it is impossible to detect a double failure that cannot protect the user's communication even if the route is switched, and it is difficult for the administrator to grasp the situation of the failure.

本発明は、このような課題に鑑みてなされたものであり、本発明の目的は、障害の誤検知に伴い経路切替を行った場合にループが発生する課題を解決し、ユーザフレームの転送経路を主経路のみに制限できない課題を解決し、主経路以外のリンクにおいて障害が発生した場合に、不必要な経路切替を行ってしまう課題を解決し、制御機能の障害を検知できない課題を解決し、二重障害が発生した場合に状況の把握ができず、制御ができない課題を解決するリング型冗長通信路制御方法を提供することにある。   The present invention has been made in view of such problems, and an object of the present invention is to solve the problem that a loop occurs when a path is switched due to erroneous detection of a failure, and to transfer a user frame. The problem that cannot be restricted to the main route is solved, the problem that the unnecessary route switching is performed when a failure occurs in a link other than the main route, and the problem that the control function failure cannot be detected is solved. Another object of the present invention is to provide a ring-type redundant communication path control method that solves a problem that the situation cannot be grasped and cannot be controlled when a double failure occurs.

上記の課題を解決するため、本発明は、複数の転送装置によって構成されるリング型冗長通信路において、転送装置が、内回りポートと外回りポートとを備え、内回りポートが他の転送装置の外回りポートと接続され、外回りポートが他の転送装置の内回りポートと接続され、複数の転送装置が、制御ポートとして開放ポートを備える主装置と、制御ポートとして閉塞ポートを備える副装置と、制御ポートを備えない他装置とで区別され、それぞれ装置識別子を保持し、装置識別子を連結した装置識別子列を付与された制御フレームを、互いに内回りポート並びに外回りポートを用いて送受信するリング型冗長通信路の制御方法であって、転送装置が、内回りポートから受信した制御フレームである内回り制御フレームの装置識別子列と外回りポートから受信した制御フレームである外回り制御フレームの装置識別子列を識別子列記憶部に保持するステップと、内回り制御フレームの装置識別子列の先頭に自装置識別子を付加し、最後尾に自装置識別子が存在すれば該自装置識別子を削除し外回りポートへと転送するステップと、外回り制御フレームの装置識別子列の先頭に自装置識別子を付加し、最後尾に自装置識別子が存在すれば該自装置識別子を削除し内回りポートヘと転送するステップと、該識別子列記憶部の内回り制御フレームの装置識別子列と外回り制御フレームの装置識別子列の双方の最後尾に自装置識別子が含まれていれば正常状態を検知し、該識別子列記憶部の内回り制御フレームの装置識別子列と外回り制御フレームの装置識別子列の双方もしくはどちらか一方の最後尾に自装置識別子が含まれていない場合に障害発生として検知し、該障害の発生箇所を特定するステップとを含み、障害を検知した場合に、該転送装置が主装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送するステップと、該転送装置が副装置であるなら、検知した障害箇所が主装置でなければ、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放し、検知した障害箇所が主装置であれば、直ちに制御ポートを開放するステップとを含み、障害が復旧した場合に、該転送装置が副装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送するステップと、該転送装置が主装置
であるなら、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放するステップとを含むことを特徴とする。
In order to solve the above-described problems, the present invention provides a ring-type redundant communication path constituted by a plurality of transfer devices, wherein the transfer device includes an inner port and an outer port, and the inner port is an outer port of another transfer device. A plurality of transfer devices including a main device having an open port as a control port, a sub device having a block port as a control port, and a control port. Control method for ring-type redundant communication path, which is distinguished from other devices that are not connected to each other, and each of which holds a device identifier and is given a device identifier string to which device identifiers are linked is sent and received using an inner port and an outer port The transfer device transmits a device identifier string of the inner loop control frame that is a control frame received from the inner loop port and the outer loop. A step of holding a device identifier string of an outer loop control frame, which is a control frame received from a port, in the identifier string storage unit; an own device identifier is added to the head of the device identifier string of the inner loop control frame; If there is, the step of deleting the own device identifier and transferring it to the outer port, adding the own device identifier to the head of the device identifier string of the outer control frame, and if the own device identifier exists at the end, the own device identifier If the local device identifier is included at the end of both the device identifier string of the inner loop control frame and the device identifier string of the outer loop control frame in the identifier string storage unit, the normal state is set. Detect and detect either the device identifier string of the inner loop control frame and / or the device identifier string of the outer loop control frame in the identifier string storage unit. If the transfer device is the main device when the failure is detected, it is detected that the device identifier is not included at the end of the Including a step of blocking the control port, giving an opening command to the inner control frame and the outer control frame and transferring them, and if the transfer device is a sub device, including a release command if the detected failure location is not the main device The control port is opened after receiving the inner loop control frame or the outer loop control frame, and if the detected failure location is the main device, the control port is immediately opened. Is a secondary device, the control port is blocked, and an opening command is given to the inner control frame and the outer control frame for transfer, and the transfer device is the main device. If there is, it includes a step of releasing the control port after receiving the inner control frame or the outer control frame including the release command.

また、本発明は、複数の転送装置によって構成されるリング型冗長通信路において、転送装置が、内回りポートと外回りポートとを備え、内回りポートが他の転送装置の外回りポートと接続され、外回りポートが他の転送装置の内回りポートと接続され、複数の転送装置が、制御ポートとして開放ポートを備える主装置と、制御ポートとして閉塞ポートを備える副装置と、制御ポートを備えない他装置とで区別され、互いに内回りポート並びに外回りポートを用いて制御フレームを送受信し、それぞれ装置識別子を保持し、外回りポートから一定時間制御フレームを受信しない場合には、制御フレームに障害検知通知と自装置識別子を付与して内回りポートから送信し、内回りポートから一定時間制御フレームを受信しない場合には、制御フレームに障害検知通知と自装置識別子を付与して外回りポートから送信するリング型冗長通信路の制御方法であって、転送装置が、内回りポートもしくは外回りポートから障害検知通知を含んだ制御フレームを受信した場合に、障害発生として検知し、該障害の発生箇所を特定するステップと、内回りポートから受信した制御フレームである内回り制御フレームの装置識別子列と外回りポートから受信した制御フレームである外回り制御フレームの装置識別子列を識別子列記憶部に保持するステップと、内回り制御フレームの装置識別子列の先頭に自装置識別子を付加し、外回りポートへと転送するステップと、外回り制御フレームの装置識別子列の先頭に自装置識別子を付加し、内回りポートへと転送するステップと、障害を検知した場合、該転送装置が主装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送するステップと、該転送装置が副装置であるなら、検知した障害箇所が主装置でなければ、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放し、検知した障害箇所が主装置であれば、直ちに制御ポートを開放するステップと、障害が復旧した場合、該転送装置が副装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送するステップと、該転送装置が主装置であるなら、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放するステップとを含むことを特徴とする。   According to the present invention, in a ring-type redundant communication path constituted by a plurality of transfer devices, the transfer device includes an inner-circulation port and an outer-circulation port, and the inner-circulation port is connected to an outer-circulation port of another transfer device. Is connected to an inner port of another transfer device, and a plurality of transfer devices are distinguished between a main device having an open port as a control port, a sub device having a block port as a control port, and another device not having a control port. If the control frame is sent and received using the inward port and the outward port, each holds a device identifier and does not receive a control frame from the outer port for a certain period of time, a failure detection notification and its own device identifier are given to the control frame. If a control frame is not received from the inner port for a certain period of time, A method for controlling a ring-type redundant communication path in which a failure detection notification and its own device identifier are given to a network and transmitted from an outer port, and the transfer device transmits a control frame including the failure detection notification from the inner port or the outer port. When received, the step of detecting the occurrence of the failure and identifying the location of the failure, the device identifier string of the inner loop control frame that is the control frame received from the inner loop port, and the outer loop control that is the control frame received from the outer loop port A step of holding the device identifier sequence of the frame in the identifier sequence storage unit, a step of adding the own device identifier to the head of the device identifier sequence of the inner loop control frame and transferring it to the outer loop port, and a device identifier sequence of the outer loop control frame When the device identifier is added to the head and transferred to the inner port, and when a failure is detected If the transfer device is a main device, the control port is blocked, a step of transferring by giving an open command to the inner control frame and the outer control frame and transferring, and if the transfer device is a sub device, the detected fault location is If it is not the main device, the control port is released after receiving the inner control frame or the outer control frame including the release command, and if the detected fault is the main device, the step of immediately opening the control port and the failure When recovered, if the transfer device is a secondary device, the control port is closed, and a transfer command is given to the inner control frame and the outer control frame for transfer, and if the transfer device is the main device, the control port is opened. And a step of releasing the control port after receiving the inner control frame or the outer control frame including the command.

また、本発明は、転送装置が、制御モジュールを起動した場合、自装置識別子と初期状態通知を付与して内回り制御フレームと外回り制御フレームの送信を開始するステップと、内回りポートから装置識別子列に自装置識別子を含んだ制御フレームを受信した場合、内回り制御フレームの初期状態通知を削除して外回りポートヘと転送するステップと、外回りポートから装置識別子列に自装置識別子を含んだ制御フレームを受信した場合、外回り制御フレームの初期状態通知を削除して内回りポートへと転送するステップと、初期状態通知を含んだ制御フレームを受信した場合、障害の検知を行わないステップとを含むことが好ましい。   In addition, the present invention provides a step of starting transmission of an inner loop control frame and an outer loop control frame by giving its own apparatus identifier and initial state notification when the transfer apparatus activates the control module, and from the inner loop port to the apparatus identifier string. When receiving a control frame including its own device identifier, the initial state notification of the inner loop control frame is deleted and transferred to the outer port, and a control frame including the own device identifier in the device identifier string is received from the outer port. In this case, it is preferable to include a step of deleting the initial state notification of the outer control frame and transferring it to the inner port, and a step of not detecting a failure when the control frame including the initial state notification is received.

また、リング型冗長通信路の複数のリンクを、ユーザフレームが転送される主経路と、障害が発生した際の冗長用リンクであるその他の経路とに区別し、前記転送装置が障害を検知した場合に、障害発生箇所が主経路であって、障害を検知した転送装置が主装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送し、障害を検知した転送装置が副装置であるなら、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放し、障害発生箇所が主経路でなければ、制御ポートの制御を行わないステップを含むことが好ましい。   Further, the plurality of links of the ring-type redundant communication path are classified into a main path through which a user frame is transferred and another path that is a redundant link when a failure occurs, and the transfer device detects a failure. In this case, if the failure location is the main route and the transfer device that detected the failure is the main device, the control port is blocked, and an open command is given to the inner control frame and the outer control frame for transfer. If the transfer device that detected this is a secondary device, the control port is released after receiving the inner control frame or the outer control frame including the release command, and if the failure is not the main route, the control port is controlled. Preferably no steps are included.

また、転送装置が、内回り制御フレームを一定時間受信しない場合、内回りポートからユーザフレームを受信しているかを検査し、外回り制御フレームを一定時間受信しない場合、外回りポートからユーザフレームを受信しているかを検査し、ユーザフレームを受信していれば制御モジュールの障害として検知するステップを含むことが好ましく、さらに、転送装置が、リング型冗長通信路に接続する全ての転送装置の装置識別子を記憶し、全ての転送装置の装置識別子で、識別子列記憶部の内回り制御フレームの装置識別子列と外回り制御フレームの装置識別子列の双方に含まれない装置識別子が複数存在する場合に二重障害として検知するステップと、二重障害を検知した場合、制御ポートの閉塞を行うステップとを含むことが好ましい。   Also, if the transfer device does not receive the inner loop control frame for a certain period of time, it checks whether a user frame is received from the inner loop port, and if it does not receive the outer loop control frame for a certain period of time, whether it receives a user frame from the outer loop port Preferably, the method includes a step of detecting a failure of the control module if a user frame is received, and the transfer device stores device identifiers of all transfer devices connected to the ring redundant communication path. When there are a plurality of device identifiers that are not included in both the device identifier string of the inner loop control frame and the device identifier string of the outer loop control frame in the identifier string storage unit of the device identifiers of all transfer devices, it is detected as a double failure. Preferably, the method includes a step and a step of closing the control port when a double failure is detected.

本発明によれば、制御フレーム内の装置識別子列によって障害検知と障害発生箇所の特定を行うことで、各転送装置がそれぞれ独立に障害の検知と障害発生箇所の特定を行うことが可能となる。各転送装置が独立に制御すれば、制御ポートを任意の転送装置に設定することが可能となり、ユーザフレームの転送が不必要な待機リンクへの転送を抑制し、多重化した他の論理リングの主経路との使用帯域の独立性を高めることが可能となる。   According to the present invention, it is possible for each transfer device to independently detect a failure and identify a failure occurrence location by performing failure detection and failure occurrence location identification using a device identifier string in a control frame. . If each transfer device controls independently, it becomes possible to set the control port to an arbitrary transfer device, suppress the transfer to the standby link that does not require the transfer of user frames, and other multiplexed logical rings. It becomes possible to increase the independence of the band used with the main route.

また、障害を検出した場合、もしくは障害からの復旧を検知した場合、制御ポートを開放すべき転送装置は、制御ポートを閉塞した転送装置からの開放命令を待って、制御ポートの閉塞処理を行い、制御ポートを閉塞すべき転送装置自体に障害が発生している場合は、制御ポートを開放すべき転送装置は、制御ポートを直ちに開放処理を行うことで、開放していた制御ポートの閉塞を確認してから、閉塞していた制御ポートを開放するという手順を踏むことが可能となり、物理的にループであるリング型冗長通信路において、論理的なループの分離点が必ず存在するように制御可能となり、ループの発生を防ぐことが可能となる。   When a failure is detected or recovery from a failure is detected, the transfer device that should open the control port waits for a release command from the transfer device that closed the control port, and performs the control port blocking process. When a failure occurs in the transfer device itself that should close the control port, the transfer device that should open the control port immediately closes the open control port by performing a release process on the control port. After confirmation, it is possible to take the procedure of opening the blocked control port, and control is performed so that a logical loop separation point always exists in a ring-type redundant communication path that is physically a loop. This makes it possible to prevent the occurrence of loops.

また、障害発生箇所が主経路ではなかった場合、経路切替を実行しないことで、不必要な障害切替を行わず、ユーザの通信を安定に保つことが可能となり、さらに、経路切替の不具合によりループが発生する頻度の抑制が可能となる。   In addition, if the failure location is not the main route, it is possible to keep the user's communication stable without performing unnecessary failure switching by not performing route switching. It is possible to suppress the frequency of occurrence.

また、制御フレームを受信せずユーザフレームを受信する場合を、制御機能障害として検知することで、ユーザフレームの通信断との誤検知を防ぐことが可能とる。   Further, by detecting the case of receiving a user frame without receiving a control frame as a control function failure, it is possible to prevent erroneous detection of a communication interruption of the user frame.

また、二重障害を他の単一障害と区別することで、経路切替を行ってもユーザの通信を保護できない二重障害に対する対処が可能となり、さらに、管理者が障害の状況を把握することが容易となる。   Also, by distinguishing double faults from other single faults, it is possible to deal with double faults that cannot protect user communications even when the path is switched, and the administrator must understand the fault status. Becomes easy.

次に、本発明の実施の形態について図面を参照して説明する。図1は、本発明のリング型冗長通信路制御方法の適用場面を示すリング型通信路のシステム図あり、図中において、転送装置1Aの内回りポート1A−1と転送装置1Dの外回りポート1D−2が主経路2に接続され、転送装置1Bの外回りポート1B−2と転送装置1Cの内回りポート1C−1が副経路3に接続され、転送装置1Aの外回りポート1A−2と転送装置1Bの内回りポート1B−1が渡り経路4Aに接続され、転送装置1Cの外回りポート1C−2と転送装置1Dの内回りポート1D−1が渡り経路4Bに接続されている。ここで、主経路装置を転送装置1Aと転送装置1D、副経路装置を転送装置1Bと転送装置1Cとする。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a system diagram of a ring-type communication path showing an application scene of the ring-type redundant communication path control method of the present invention. In the figure, an inward port 1A-1 of the transfer device 1A and an outer-circulation port 1D- of the transfer device 1D are shown. 2 is connected to the main path 2, the outer port 1B-2 of the transfer device 1B and the inner port 1C-1 of the transfer device 1C are connected to the sub route 3, and the outer port 1A-2 of the transfer device 1A and the transfer device 1B The inner circuit port 1B-1 is connected to the transfer path 4A, and the outer circuit port 1C-2 of the transfer apparatus 1C and the inner circuit port 1D-1 of the transfer apparatus 1D are connected to the transfer path 4B. Here, it is assumed that the main route device is the transfer device 1A and the transfer device 1D, and the sub route device is the transfer device 1B and the transfer device 1C.

図2は、本発明を実施するための転送装置1の内部構成図であり、図中において、転送装置1は、他の転送装置の外回りポートとフレームを送受信するための内回りポート1−1と、他の転送装置の内回りポートとフレームを送受信するための外回りポートト1−2を保持し、さらに、装置状態記憶部11と、制御フレーム操作部12、フレーム送受信部13、リング制御部14を保持する。   FIG. 2 is an internal configuration diagram of the transfer device 1 for carrying out the present invention. In the figure, the transfer device 1 includes an inner port 1-1 for transmitting / receiving a frame to / from an outer port of another transfer device. Holds the outer port 1-2 for sending / receiving frames to / from the inner port of another transfer device, and further holds the device state storage unit 11, the control frame operation unit 12, the frame transmission / reception unit 13, and the ring control unit 14. To do.

装置状態記憶部11は、図3に示す記憶部構成例の装置状態記憶部11のように装置状態として「初期状態」「正常状態」「障害状態」「非主経路障害検知状態」「開放命令待機状態」「二重障害検知状態」「制御機能障害状態」のいづれかを記憶する機能を保持する。   The device state storage unit 11 has an “initial state”, “normal state”, “failure state”, “non-main path failure detection state”, “open command” as the device state, like the device state storage unit 11 of the storage unit configuration example shown in FIG. It retains the function of storing one of “standby state”, “double failure detection state”, and “control function failure state”.

フレーム送受信部13は、内回りポート1−1から受信した制御フレーム(内回り制御フレーム)および外回りポート1−2から受信した制御フレーム(外回り制御フレーム)の受信間隔を計測する制御フレームカウンタ部13−1を保持する。また、フレーム送受信部13は、内回りポ−ト1−1および外回りポート1−2からフレームを受信し、制御フレームとユーザフレームを選別する機能と、内回り制御フレームおよび外回り制御フレームの受信間隔を計測する制御フレームカウンタ部13−1の計測間隔時間が一定以上になった場合、制御フレームを受信しないとして、制御フレーム操作部12に対し、制御フレームロスト通知を内回りか外回りかの情報(周回情報)と共に送信する機能と、制御フレーム操作部12から制御フレームを受信した場合、該制御フレームの周回情報を抽出し、周回情報が内回りである場合は制御フレームを外回りポートへ送信し、周回情報が外回りである場合は制御フレームを内回りポートヘ送信する機能と、ポートヘフレームを送信する際には、制御フレームをユーザフレームよりも優先して送信する機能と、制御フレームを受信しないのにユーザフレームを受信する場合に制御機能障害として検出し、前記装置状態記憶部11に「制御機能障害状態」を記憶する機能とを保持する。   The frame transmission / reception unit 13 measures a reception interval between the control frame (inner control frame) received from the inner port 1-1 and the control frame (outer control frame) received from the outer port 1-2. Hold. The frame transmission / reception unit 13 receives a frame from the inner port 1-1 and the outer port 1-2, and measures a control frame and a user frame, and measures the reception interval of the inner control frame and the outer control frame. When the measurement interval time of the control frame counter unit 13-1 to be set exceeds a certain value, it is determined that no control frame is received, and the control frame operation unit 12 is notified of whether the control frame lost notification is inward or outward (circulation information). When the control frame is received from the control frame operation unit 12, the loop information of the control frame is extracted, and when the loop information is inward, the control frame is transmitted to the outer loop port. If it is, when sending a frame to the port , A function of transmitting a control frame in preference to a user frame, and a control function failure detected when a user frame is received without receiving a control frame, and a “control function failure state” is stored in the device state storage unit 11. And the function of memorizing.

制御フレーム操作部12は、識別子列記憶部12−1と通達情報記憶部12−2とを保持する。識別子列記憶部12−1は、図3の識別子列記憶部12−1に示すように周回情報に対し装置識別子列を対応付け管理する機能を保持する。通達情報記憶部12−2は、図3の通達情報記憶部12−2に示すように周回情報に対し通達情報を対応付け管理する機能を保持する。   The control frame operation unit 12 holds an identifier string storage unit 12-1 and a notification information storage unit 12-2. The identifier string storage unit 12-1 has a function of managing the association of the device identifier string with the circulation information as shown in the identifier string storage unit 12-1 of FIG. The notification information storage unit 12-2 has a function of managing notification information in association with circulation information as shown in the notification information storage unit 12-2 of FIG.

制御フレーム操作部12は、フレーム送受信部13から受信した制御フレームから周回情報と通達情報を抽出し、通達情報記憶部12−2に該周回情報と該通達情報とを対応付けて記憶する機能と、該制御フレームから装置識別子列を抽出し、識別子列記憶部12−1に前記周回情報と該装置識別子列とを対応付けて記憶する機能と、該装置識別子列の先頭に自装置識別子を付与し、末尾に自装置識別子が存在すれば、該自装置識別子を削除することで送信用装置識別子列を作成し、該送信用装置識別子列と前記周回情報と前記通達情報を付与した制御フレームを作成し、フレーム送受信部13へと送信する機能と、フレーム送受信部13から制御フレームロスト通知を受信した場合、該制御フレームロスト通知から周回情報を抽出し、識別子列記憶部12−1から該周回情報に関する装置識別子列を削除し、通達情報記憶部12−2から該周回情報に関する通達情報を削除する機能を保持する。   The control frame operation unit 12 extracts the circulation information and notification information from the control frame received from the frame transmission / reception unit 13, and stores the circulation information and the notification information in association with each other in the notification information storage unit 12-2. , A device identifier string is extracted from the control frame, the loop information and the device identifier string are stored in the identifier string storage unit 12-1 in association with each other, and the own device identifier is assigned to the head of the device identifier string If the device identifier is present at the end, the device identifier sequence for transmission is created by deleting the device identifier, and a control frame to which the device identifier sequence for transmission, the circulation information, and the notification information are added is created. When the control frame lost notification is received from the frame transmitting / receiving unit 13 and the function to create and transmit to the frame transmitting / receiving unit 13, the circulation information is extracted from the control frame lost notification and identified. Remove the device identifier string related peripheral times information from the sequence memory 12-1, retains the ability to remove the notification information regarding the circumferential times information from the notification information storage section 12-2.

リング制御部14は、障害検査部14−1と、リング設定記憶部14−2と、障害切替処理部14−3と、障害復旧処理部14−4と、ポート制御部14−5とを保持する。   The ring control unit 14 includes a failure inspection unit 14-1, a ring setting storage unit 14-2, a failure switching processing unit 14-3, a failure recovery processing unit 14-4, and a port control unit 14-5. To do.

障害検査部14−1は、前記制御フレーム操作部12の識別子列記憶部12−1の情報から図4に示すフロー図に従って障害を検査する機能を保持する。リング設定記憶部14−2は、図3のリング設定記憶部14−2に示すように、リング型冗長通信路に接続されている全ての転送装置の識別子を「装置識別子」として、自装置の種別(主装置/副装置/他装置)を「装置種別」として、主経路装置の装置識別子を「主経路装置」として、副経路装置の装置識別子を「副経路装置」として、自装置が主装置でない場合に主装置の装置識別子を「主装置」として、自装置の制御ポートを「制御ポート」として記憶する機能を保持する。ポート制御部14−5は、制御ポートの閉塞もしくは開放を行う機能を保持する。   The failure checking unit 14-1 has a function of checking a failure from the information in the identifier string storage unit 12-1 of the control frame operation unit 12 according to the flowchart shown in FIG. As shown in the ring setting storage unit 14-2 in FIG. 3, the ring setting storage unit 14-2 uses the identifiers of all transfer devices connected to the ring redundant communication path as “device identifiers”, and The type (main device / sub device / other device) is set as “device type”, the device identifier of the main route device is set as “main route device”, and the device identifier of the sub route device is set as “sub route device”. When the device is not a device, a function of storing the device identifier of the main device as “main device” and the control port of the own device as “control port” is retained. The port control unit 14-5 has a function of closing or opening the control port.

リング制御部14は、前記装置状態記憶部11に記憶している装置状態が正常状態の場合に、前記障害検査部14−1で障害を検知し、かつ障害箇所が主経路装置もしくは主経路であった場合には、後述する障害切替処理部14−3が障害切替処理を行い、前記装置状態記憶部11に記憶している装置状態が障害状態の場合には、前記障害検査部14−1で障害を検知しなかった場合、後述する障害復旧処理部14−4が復旧処理を行う機能と、前記装置状態記憶部11に記憶している装置状態が開放命令待機状態もしくは二重障害検知状態の場合に、前記障害検査部14−1が障害を検知した場合には後述する障害切替処理部14−3が障害切替処理を行い、前記障害検査部14−1が障害を検知しなかった場合には後述する障害復旧処理部14−4が障害復旧処理を行う機能と、前記装置状態記憶部11に記憶している装置状態が初期状態の場合に、前記障害検査部14−1で障害を検知した場合、障害切替処理を行わない機能を保持する。   When the device state stored in the device state storage unit 11 is normal, the ring control unit 14 detects a failure in the failure inspection unit 14-1, and the failure point is a main route device or a main route. If there is a failure state, a failure switching processing unit 14-3 (to be described later) performs failure switching processing. If the device state stored in the device state storage unit 11 is a failure state, the failure inspection unit 14-1 In the case where no failure is detected, the failure recovery processing unit 14-4, which will be described later, performs a recovery process, and the device state stored in the device state storage unit 11 is an open command standby state or a double failure detection state In this case, when the failure inspection unit 14-1 detects a failure, a failure switching processing unit 14-3 described later performs a failure switching process, and the failure inspection unit 14-1 does not detect the failure. The failure recovery process described later 14-4 is a function for performing failure recovery processing, and when the failure is detected by the failure inspection unit 14-1 when the device state stored in the device state storage unit 11 is the initial state, failure switching processing is performed. Retain functions that are not performed.

障害切替処理部14−3は、リング設定記憶部14−2に記憶されている自装置種別が主装置である場合、前記制御フレーム操作部12の通達情報記憶部12−2に開放命令を記憶し、ポート制御部14−5に対し制御ポートの閉塞を指示し、前記装置状態記憶部11に障害状態を記憶し、リング設定記憶部14−2に記憶されている自装置種別が副装置である場合、前記リング設定記憶部14−2に記憶されている主装置識別子が、前記障害検査部14−1で障害として検知された装置識別子であった場合には、ポート制御部14−5に対し制御ポートの開放を指示し、前記装置状態記憶部11に障害状態を記憶し、前記リング設定記憶部14−2に記憶されている主装置識別子が、前記障害検査部14−1で障害として検知された装置識別子ではなかった場合には、前記装置状態記憶部11に開放命令待機状態を記憶する機能を保持する。   The failure switching processing unit 14-3 stores the release command in the notification information storage unit 12-2 of the control frame operation unit 12 when the own device type stored in the ring setting storage unit 14-2 is the main device. The port control unit 14-5 is instructed to close the control port, the failure state is stored in the device state storage unit 11, and the own device type stored in the ring setting storage unit 14-2 is the sub device. In a case where the main device identifier stored in the ring setting storage unit 14-2 is a device identifier detected as a failure by the failure inspection unit 14-1, the port control unit 14-5 The control port is instructed to be opened, the failure state is stored in the device state storage unit 11, and the main device identifier stored in the ring setting storage unit 14-2 is indicated as a failure in the failure inspection unit 14-1. Detected device identification If it was not a child retains the function of storing the open command standby state to the device state storage unit 11.

障害復旧処理部14−4は、リング設定記憶部14−2に記憶されている自装置種別が主装置である場合、前記装置状態記憶部11に開放命令待機状態を記憶し、リング設定記憶部14−2に記憶されている自装置種別が副装置である場合、前記制御フレーム操作部12の通達情報記憶部12−2に開放命令を記憶し、ポート制御部14−5に対し制御ポートの閉塞を指示し、前記装置状態記憶部11に正常状態を記憶する機能を保持する。   When the own device type stored in the ring setting storage unit 14-2 is the main device, the failure recovery processing unit 14-4 stores the release command standby state in the device state storage unit 11, and the ring setting storage unit When the own device type stored in 14-2 is a secondary device, the release command is stored in the notification information storage unit 12-2 of the control frame operation unit 12, and the port control unit 14-5 is informed of the control port. A function of instructing blockage and storing the normal state in the apparatus state storage unit 11 is retained.

次に、本発明の動作について説明する。図5は、本発明のリング型冗長通信路制御方法が適用されるリング型通信路システムの一実施形態を示す図であり、図中において、装置識別子が「A」である転送装置1Aの内回りポート1A−1と装置識別子が「D」である転送装置1Dの外回りポート1D−2が主経路2に接続され、装置識別子が「B」である転送装置1Bの外回りポート1B−2と装置識別子が「C」である転送装置1Cの内回りポート1C−1が副経路3に接続され、転送装置1Aの外回りポート1A−2と転送装置1Bの内回りポート1B−1が渡り経路4Aに接続され、転送装置1Cの外回りポート1C−2と転送装置1Dの内回りポート1D−1が渡り経路4Bに接続されている。   Next, the operation of the present invention will be described. FIG. 5 is a diagram showing an embodiment of a ring communication channel system to which the ring redundant communication channel control method of the present invention is applied. In FIG. 5, the inner circuit of the transfer device 1A whose device identifier is “A” The port 1A-1 and the external port 1D-2 of the transfer device 1D whose device identifier is “D” are connected to the main path 2, and the external port 1B-2 and the device identifier of the transfer device 1B whose device identifier is “B” The inward port 1C-1 of the transfer device 1C with "C" is connected to the sub route 3, the outer route port 1A-2 of the transfer device 1A and the inner port 1B-1 of the transfer device 1B are connected to the crossing route 4A, An outer port 1C-2 of the transfer device 1C and an inner port 1D-1 of the transfer device 1D are connected to the transfer path 4B.

ここで、主装置を転送装置1A(以下、主装置Aという)、副装置を転送装置1B(以下、副装置Bという)とし、内回りポート1A−1と外回りポート1B−2とを制御ポートとする。さらに、主経路装置を転送装置1Aと転送装置1D、副経路装置を転送装置1Bと転送装置1Cとする。   Here, the main device is the transfer device 1A (hereinafter referred to as main device A), the sub device is the transfer device 1B (hereinafter referred to as sub device B), and the inner port 1A-1 and the outer port 1B-2 are control ports. To do. Further, assume that the main path device is the transfer device 1A and the transfer device 1D, and the sub route device is the transfer device 1B and the transfer device 1C.

また、各転送装置の前記制御フレーム操作部12による制御フレームの作成により、各転送装置間で送受信される制御フレームには、図5に示すような装置識別子列が含まれる。なお、図5に記載の制御フレームの装置識別子列は、制御フレームの進行方向が先頭であり、進行方向とは逆側が最後尾として表記している。   Further, the control frame transmitted / received between the transfer devices by the creation of the control frame by the control frame operation unit 12 of each transfer device includes a device identifier string as shown in FIG. In the device identifier string of the control frame shown in FIG. 5, the traveling direction of the control frame is the head, and the opposite side to the traveling direction is the tail.

図6は、主装置Aのリング設定記憶部14−2Aと副装置Bのリング設定記憶部14−2Bの例を示しており、主装置Aのリング設定記憶部14−2Aには、装置識別子として「A,B,C,D」が、装置種別として「主装置」が、主経路装置として「A,D」が、副経路装置として「B,C」が、自装置が主装置であるため主装置として「NULL」が、制御ポートとして「1A−1」が記憶され、副装置Bのリング設定記憶部14−2Bには、装置識別子として「A,B,C,D」が、装置種別として「副装置」が、主経路装置として「A,D」が、副経路装置として「B,C」が、主装置として「A」が、制御ポートとして「1B−2」が記憶されている。   FIG. 6 shows an example of the ring setting storage unit 14-2A of the main device A and the ring setting storage unit 14-2B of the sub device B. The ring setting storage unit 14-2A of the main device A includes a device identifier. “A, B, C, D” as the device type, “main device” as the device type, “A, D” as the main route device, “B, C” as the sub route device, and the own device as the main device. Therefore, “NULL” is stored as the main device, “1A-1” is stored as the control port, and “A, B, C, D” is stored as the device identifier in the ring setting storage unit 14-2B of the secondary device B. “Sub-device” as type, “A, D” as main route device, “B, C” as sub-route device, “A” as main device, and “1B-2” as control port are stored. Yes.

図7は、正常状態における主装置Aと副装置Bの装置状態記憶部11と識別子列記憶部12−1、通達情報記憶部12−2の例を示しており、主装置Aの装置状態記憶部11Aと副装置Bの装置状態記憶部11Bには、「正常状態」が記憶され、主装置Aの識別子列記憶部12−1Aには、周回情報「内回り」に対して装置識別子列「DCBA」が、周回情報「外回り」に対して装置識別子列「BCDA」が記憶され、副装置Bの識別子列記憶部12−1Bには、周回情報「内回り」に対して装置識別子列「ADCB」が、周回情報「外回り」に対して装置識別子列「CDAB」が記憶され、主装置Aの通達情報記憶部12−2Aと副装置Bの通達情報記憶部12−2Bには、周回情報「内回り」「外回り」共に「NULL」が記憶されている。   FIG. 7 shows an example of the device state storage unit 11, the identifier string storage unit 12-1, and the notification information storage unit 12-2 of the main device A and the sub device B in the normal state. “Normal state” is stored in the device state storage unit 11B of the unit 11A and the secondary device B, and the device identifier string “DCBA” is stored in the identifier column storage unit 12-1A of the main device A with respect to the circulation information “inner circuit”. ”Is stored in the device identifier string“ BCDA ”for the circulation information“ outward ”, and the device identifier string“ ADCB ”is stored in the identifier string storage unit 12-1B of the sub-device B for the circulation information“ inner ”. , The device identifier string “CDAB” is stored for the circulation information “outward”, and the circulation information “inner” is stored in the notification information storage unit 12-2A of the main device A and the notification information storage unit 12-2B of the secondary device B. "NULL" is stored for both "outside" .

図8は、主経路2において障害が発生した場合を示した説明図である。主装置Aでは、内回りポート1A−1からフレームを受信しなくなり、前記フレーム送受信部13では、前記制御フレームカウンタ部13−1が内回り制御フレームを一定時間受信しないことを検出し、制御フレーム操作部12に対して、内回り制御フレームロスト通知を行い、外回りポート1A−2から受信した外回り制御フレームを制御フレーム操作部12に転送する。   FIG. 8 is an explanatory diagram showing a case where a failure has occurred in the main route 2. The main apparatus A stops receiving a frame from the inward port 1A-1, and the frame transmission / reception unit 13 detects that the control frame counter unit 13-1 does not receive an inward control frame for a certain period of time. 12, the inward control frame lost notification is performed, and the outer control frame received from the outer control port 1A-2 is transferred to the control frame operation unit 12.

該制御フレームロスト通知を受信した制御フレーム操作部12では、図9の主装置Aの識別子列記憶部12−1Aに示すように周回情報が「内回り」であるエントリの装置識別子列を削除し、「NULL」を記憶する。さらに、外回り制御フレームから装置識別子列「BCD」を抽出し、識別子列記憶部12−1Aの周回情報が「外回り」であるエントリの装置識別子列に「BCD」を記憶する。さらに、内回り制御フレームとして装置識別子列を「A」とし、外回り制御フレームとして装置識別子列を「ABCD」とし、フレーム送受信部13へと転送する。   Upon receiving the control frame lost notification, the control frame operation unit 12 deletes the device identifier sequence of the entry whose circulation information is “inner loop” as shown in the identifier sequence storage unit 12-1A of the main device A in FIG. Store “NULL”. Further, the device identifier string “BCD” is extracted from the outer loop control frame, and “BCD” is stored in the device identifier string of the entry whose circulation information of the identifier string storage unit 12-1A is “outer loop”. Further, the device identifier string is set to “A” as the inner loop control frame, and the device identifier string is set to “ABCD” as the outer loop control frame, and transferred to the frame transmitting / receiving unit 13.

主装置Aのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1A−2へ、外回り制御フレームを内回りポート1A−1へと送信する。   The frame transmission / reception unit 13 of the main apparatus A transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1A-2, and transmits the outer loop control frame to the inner loop port 1A-1.

主装置Aのリング制御部14の障害検査部14−1では、該識別子列記憶部12−1Aのエントリを検査し、図4のフロー図から自装置と転送装置1Dとの間のリンク障害を検知する。   The failure checking unit 14-1 of the ring control unit 14 of the main device A checks the entry in the identifier string storage unit 12-1A, and detects a link failure between the own device and the transfer device 1D from the flowchart of FIG. Detect.

主装置Aのリング制御部14では、障害箇所がリング設定記憶部14−2Aに記憶している主経路装置A、D間であることを判断し、障害切替処理部14−3に障害切替命令を行う。   The ring control unit 14 of the main device A determines that the failure location is between the main route devices A and D stored in the ring setting storage unit 14-2A, and sends a failure switching command to the failure switching processing unit 14-3. I do.

主装置Aの障害切替処理部14−3では、リング設定記憶部14−2Aに記憶している装置種別が「主装置」であるため、ポート制御部14−5に対しリング設定記憶部14−2Aに記憶している制御ポート1A−1の閉塞命令を行う。   In the failure switching processing unit 14-3 of the main device A, since the device type stored in the ring setting storage unit 14-2A is “main device”, the ring setting storage unit 14- The block command for the control port 1A-1 stored in 2A is issued.

該閉塞命令を受信したポート制御部14−5では、制御ポート1A−1の閉塞命令に従い、制御ポート1A−1を閉塞する。   The port control unit 14-5 that has received the block command blocks the control port 1A-1 according to the block command of the control port 1A-1.

主装置Aの障害切替処理部14−3では、図9の主装置Aの通達情報記憶部12−2Aに示すように通達情報に「開放命令」を記憶し、図9の主装置Aの装置状態記憶部11A−1に示すように装置状態記憶部に「障害状態」を記憶する。   The failure switching processing unit 14-3 of the main device A stores an “release command” in the notification information as shown in the notification information storage unit 12-2A of the main device A of FIG. 9, and the device of the main device A of FIG. As shown in the state storage unit 11A-1, the “failure state” is stored in the apparatus state storage unit.

主装置Aの制御フレーム操作部12では、内回り制御フレームとして装置識別子列を「A」、通達情報を「開放命令」とし、外回り制御フレームとして装置識別子列を「ABCD」、通達情報を「開放命令」とし、フレーム送受信部13へと転送する。   In the control frame operation unit 12 of the main device A, the device identifier string is “A” as the inner loop control frame, the notification information is “release command”, the device identifier string is “ABCD” as the outer loop control frame, and the notification information is “release command”. ”And forward to the frame transmitting / receiving unit 13.

主装置Aのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1A−2へ、外回り制御フレームを内回りポート1A−1へと送信する。   The frame transmission / reception unit 13 of the main apparatus A transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1A-2, and transmits the outer loop control frame to the inner loop port 1A-1.

副装置Bでは、フレーム送受信部13が、内回りポート1B−1から受信した内回り制御フレームと、外回りポート1B−2から受信した外回り制御フレームを制御フレーム操作部12に転送する。   In the secondary device B, the frame transmitting / receiving unit 13 transfers the inner loop control frame received from the inner loop port 1B-1 and the outer loop control frame received from the outer loop port 1B-2 to the control frame operation unit 12.

副装置Bの制御フレーム操作部12では、内回り制御フレームから装置識別子「A」を抽出し、外回り制御フレームから装置識別子列「CD」を抽出し、図9の副装置Bの識別子列記憶部12−1Bに示すように周回情報が「内回り」であるエントリの装置識別子列に「A」を、「外回り」であるエントリの装置識別子列に「CD」を記憶する。さらに、内回り制御フレームとして装置識別子列を「BA」とし、外回り制御フレームとして装置識別子列を「BCD」とし、フレーム送受信部13へと転送する。   In the control frame operation unit 12 of the secondary device B, the device identifier “A” is extracted from the inner loop control frame, the device identifier string “CD” is extracted from the outer loop control frame, and the identifier string storage unit 12 of the secondary device B in FIG. As shown in -1B, “A” is stored in the device identifier column of the entry whose circulation information is “inner circuit”, and “CD” is stored in the device identifier column of the entry of “outer circuit”. Further, the device identifier string is set to “BA” as the inner loop control frame, and the device identifier string is set to “BCD” as the outer loop control frame, and transferred to the frame transmitting / receiving unit 13.

副装置Bのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1B−2へ、外回り制御フレームを内回りポート1B−1へと送信する。   The frame transmission / reception unit 13 of the secondary device B transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1B-2, and transmits the outer loop control frame to the inner loop port 1B-1.

副装置Bのリング制御部14の障害検査部14−1では、該識別子列記憶部12−1Bのエントリを検査し、図4のフロー図から転送装置1Aと転送装置1Dとの間のリンク障害を検知する。   The failure check unit 14-1 of the ring control unit 14 of the secondary device B checks the entry in the identifier string storage unit 12-1B, and the link failure between the transfer device 1A and the transfer device 1D from the flowchart of FIG. Is detected.

副装置Bのリング制御部14では、障害箇所がリング設定記憶部14−2Bに記憶している主経路装置A、D間であることを判断し、障害切替処理部14−3に障害切替命令を行う。   The ring control unit 14 of the secondary device B determines that the failure location is between the main route devices A and D stored in the ring setting storage unit 14-2B, and sends a failure switching command to the failure switching processing unit 14-3. I do.

副装置Bの障害切替処理部14−3では、リング設定記憶部14−2Bに記憶している装置種別が「副装置」であるため、リング設定記憶部14−2Bに記憶している主装置「A」は生存していることを確認し、図9の副装置Bの装置状態記憶部11B−1に示すように装置状態に「開放命令待機状態」を記憶する。   In the failure switching processing unit 14-3 of the secondary device B, since the device type stored in the ring setting storage unit 14-2B is “secondary device”, the main device stored in the ring setting storage unit 14-2B It is confirmed that “A” is alive, and “open command waiting state” is stored in the device state as shown in the device state storage unit 11B-1 of the secondary device B in FIG.

副装置Bが、前述のように主装置Aにおいて「開放命令」を付与された制御フレームを受信した場合、副装置Bでは、フレーム送受信部13が、内回りポート1B−1から受信した内回り制御フレームと、外回りポート1B−2から受信した外回り制御フレームを制御フレーム操作部12に転送し、制御フレーム操作部12では、内回り制御フレームから通達情報「開放命令」を抽出し、外回り制御フレームから通達情報「開放命令」を抽出し、図9の副装置Bの通達情報記憶部12−2Bに示すように通達情報に「開放命令」を記憶する。   When the secondary device B receives the control frame to which the “release command” is given in the main device A as described above, in the secondary device B, the frame transmission / reception unit 13 receives the inner loop control frame received from the inner loop port 1B-1. Then, the outer-circumference control frame received from the outer-circulation port 1B-2 is transferred to the control frame operation unit 12, and the control frame operation unit 12 extracts the notification information “release command” from the inner-circumference control frame, and the notification information from the outer-circulation control frame. The “release command” is extracted, and the “release command” is stored in the notification information as shown in the notification information storage unit 12-2B of the secondary device B in FIG.

副装置Bのリング制御部14では、図9の副装置Bの装置状態記憶部11B−1に示すように装置状態に「開放命令待機状態」が記憶されている場合、定期的に通達情報記憶部12−2Bを参照し、図9の副装置Bの通達情報記憶部12−2Bに示すように通達情報に「開放命令」が記憶されていたとき、障害切替処理部14−3に障害切替命令を行い、図9の副装置Bの装置状態記憶部11B−2に示すように装置状態に「障害状態」を記憶する。   In the ring control unit 14 of the secondary device B, when “open command standby state” is stored in the device state as shown in the device state storage unit 11B-1 of the secondary device B in FIG. Referring to the section 12-2B, when “open command” is stored in the notification information as shown in the notification information storage section 12-2B of the secondary device B in FIG. The command is issued, and the “failure state” is stored in the device state as shown in the device state storage unit 11B-2 of the secondary device B in FIG.

該障害切替命令を受信した障害切替処理部14−3では、ポート制御部14−5に対しリング設定記憶部14−2に記憶している制御ポート1B−2の開放命令を行う。   In the failure switching processing unit 14-3 that has received the failure switching command, the port switching unit 14-5 issues a command to open the control port 1B-2 stored in the ring setting storage unit 14-2.

該開放命令を受信したポート制御部14−5では、制御ポート1B−2の開放命令に従い、制御ポート1B−2を開放する。   The port control unit 14-5 that has received the release command opens the control port 1B-2 in accordance with the release command for the control port 1B-2.

以上の動作により、障害切替時に開放ポートを閉塞してから閉塞ポートを開放するため、障害の誤検知時にループの発生を防ぐことが可能となる。また、図4の障害検知フローに従うことで、両方向リンク断、片方向リンク断共に検知することが可能となる。また、転送装置1C、1Dにおいて、副装置Bと同様に副装置として処理を行うことにより、複数の転送装置に制御ポートを設定することが可能となる。   With the above operation, the open port is closed after the failure is switched, and then the closed port is opened. Therefore, it is possible to prevent the occurrence of a loop when a failure is erroneously detected. Further, by following the failure detection flow of FIG. 4, it is possible to detect both bidirectional link breaks and unidirectional link breaks. Further, in the transfer apparatuses 1C and 1D, processing as a sub apparatus is performed in the same manner as the sub apparatus B, so that control ports can be set for a plurality of transfer apparatuses.

次に、前述の主経路2での障害が復旧した場合について説明する。主装置Aもしくは副装置Bでは、障害検査部14−1において定期的に図4のフロー図に従い障害検査を行い、図9の装置状態記憶部11A−1に示すように「障害状態」が記憶されている場合に、前記障害検査部14−1による障害検査で障害を検知しなかった場合、障害復旧処理部14−4に対し障害復旧命令を行う。   Next, a case where the above-described failure in the main route 2 is recovered will be described. In the main device A or the sub device B, the failure inspection unit 14-1 periodically performs a failure inspection according to the flowchart of FIG. 4, and stores the “failure state” as shown in the device state storage unit 11A-1 of FIG. If a failure is not detected by the failure inspection by the failure inspection unit 14-1, a failure recovery command is issued to the failure recovery processing unit 14-4.

主装置Aにおいて、該障害復旧命令を受信した障害復旧処理部14−4は、リング設定記憶部14−2Aに記憶している装置種別が「主装置」であるため、図9の装置状態記憶部11A−2に示すように「開放命令待機状態」を記憶する。   In the main apparatus A, since the apparatus type stored in the ring setting storage section 14-2A is the “main apparatus”, the failure recovery processing section 14-4 that has received the failure recovery instruction is the apparatus status storage in FIG. As shown in the section 11A-2, the “open command waiting state” is stored.

副装置Bにおいて、該障害復旧命令を受信した障害復旧処理部14−4は、リング設定記憶部14−2Bに記憶している装置種別が「副装置」であるため、ポート制御部14−5に対しリング設定記憶部14−2に記憶している制御ポート1B−2の閉塞命令を行う。   In the secondary device B, the failure recovery processing unit 14-4 that has received the failure recovery command has the device type stored in the ring setting storage unit 14-2B as “secondary device”, so the port control unit 14-5. In response to this, the closing command for the control port 1B-2 stored in the ring setting storage unit 14-2 is issued.

該閉塞命令を受信したポート制御部14−5では、制御ポート1B−2の閉塞命令に従い、制御ポート1B−2を閉塞する。   The port control unit 14-5 that has received the block command blocks the control port 1B-2 in accordance with the block command for the control port 1B-2.

副装置Bの障害切替処理部14−3では、図9の通達情報記憶部12−2Bに示すように通達情報に「開放命令」を記憶し、図9の装置状態記憶部11B−3に示すように装置状態に「正常状態」を記憶する。   In the failure switching processing unit 14-3 of the secondary device B, the “release command” is stored in the notification information as shown in the notification information storage unit 12-2B in FIG. 9, and is shown in the device state storage unit 11B-3 in FIG. Thus, the “normal state” is stored in the apparatus state.

副装置Bの制御フレーム操作部12では、内回り制御フレームと外回り制御フレームを、図9の通達情報記憶部12−2の通達情報に記憶している「開放命令」を付与して作成し、フレーム送受信部13へと転送する。   In the control frame operation unit 12 of the sub-device B, an inner loop control frame and an outer loop control frame are created by giving an “release command” stored in the notification information of the notification information storage unit 12-2 in FIG. Transfer to the transceiver 13.

副装置Bのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1B−2へ、外回り制御フレームを内回りポート1B−1へと送信する。   The frame transmission / reception unit 13 of the secondary device B transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1B-2, and transmits the outer loop control frame to the inner loop port 1B-1.

主装置Aでは、フレーム送受信部13が、内回りポート1A−1から受信した内回り制御フレームと、外回りポート1A−2から受信した外回り制御フレームを制御フレーム操作部12に転送する。   In the main apparatus A, the frame transmission / reception unit 13 transfers the inner loop control frame received from the inner loop port 1A-1 and the outer loop control frame received from the outer loop port 1A-2 to the control frame operation unit 12.

主装置Aが、前述のように副装置Bにおいて「開放命令」を付与された制御フレームを受信した場合、主装置Aでは、フレーム送受信部13が、内回りポート1A−1から受信した内回り制御フレームと、外回りポート1A−2から受信した外回り制御フレームを制御フレーム操作部12に転送し、制御フレーム操作部12では、内回り制御フレームから通達情報「開放命令」を抽出し、外回り制御フレームから通達情報「開放命令」を抽出し、図9の通達情報記憶部12−2Aに示すように通達情報に「開放命令」を記憶する。   When the main apparatus A receives the control frame to which the “release command” is given in the sub apparatus B as described above, in the main apparatus A, the frame transmission / reception unit 13 receives the inner loop control frame received from the inner port 1A-1. Then, the outer-circumference control frame received from the outer-circulation port 1A-2 is transferred to the control frame operation unit 12, and the control frame operation unit 12 extracts the notification information “release command” from the inner-circumference control frame, and the notification information from the outer-circulation control frame. “Open command” is extracted, and “open command” is stored in the notification information as shown in the notification information storage unit 12-2A in FIG.

主装置Aのリング制御部14では、装置状態記憶部11A−2に「開放命令待機状態」が記憶されている場合、定期的に通達情報記憶部12−2Aを参照し、図9の通達情報記憶部12−2Aに示すように通達情報に「開放命令」が記憶されていたとき、障害復旧処理部14−4に障害復旧命令を行い、図9の装置状態記憶部11A−3に示すように装置状態に「正常状態」を記憶する。   In the ring control unit 14 of the main device A, when the “open command standby state” is stored in the device state storage unit 11A-2, the notification information storage unit 12-2A is periodically referred to and the notification information of FIG. As shown in the storage unit 12-2A, when the “release command” is stored in the notification information, a failure recovery command is issued to the failure recovery processing unit 14-4, as shown in the apparatus state storage unit 11A-3 of FIG. Stores “normal state” in the device state.

該障害復旧命令を受信した障害復旧処理部14−4では、ポート制御部14−5に対しリング設定記憶部14−2に記憶している制御ポート1A−1の開放命令を行う。   In the failure recovery processing unit 14-4 that has received the failure recovery command, the port control unit 14-5 is instructed to release the control port 1A-1 stored in the ring setting storage unit 14-2.

該開放命令を受信したポート制御部14−5では、制御ポート1A−1の開放命令に従い、制御ポート1A−1を開放する。   The port control unit 14-5 that has received the release command opens the control port 1A-1 in accordance with the release command for the control port 1A-1.

以上の動作により、障害箇所が復旧した場合にも、開放ポートを閉塞してから閉塞ポートを開放するため、ループの発生を防ぐことが可能となる。   With the above operation, even when the fault location is recovered, the closed port is opened after the open port is closed, so that the occurrence of a loop can be prevented.

図10は、主装置Aにおいて障害が発生した場合を示した説明図である。副装置Bでは、内回りポート1B−1からフレームを受信しなくなり、前記フレーム送受信部13では、前記制御フレームカウンタ部13−1が内回り制御フレームを一定時間受信しないことを検出し、制御フレーム操作部12に対して、内回り制御フレームロスト通知を行い、外回りポート1B−2から受信した外回り制御フレームを制御フレーム操作部12に転送する。   FIG. 10 is an explanatory diagram showing a case where a failure has occurred in the main apparatus A. The sub-device B stops receiving frames from the inward port 1B-1, and the frame transmission / reception unit 13 detects that the control frame counter unit 13-1 does not receive the inner control frame for a certain period of time. 12, the inward control frame lost notification is performed, and the outer control frame received from the outer control port 1B-2 is transferred to the control frame operation unit 12.

該制御フレームロスト通知を受信した制御フレーム操作部12では、図11の識別子列記憶部12−1Bに示すように周回情報が「内回り」であるエントリの装置識別子列を削除し、「NULL」を記憶する。さらに、外回り制御フレームから装置識別子列「CD」を抽出し、図11の識別子列記憶部12−1Bに示すように周回情報が「外回り」であるエントリの装置識別子列に「CD」を記憶する。さらに、内回り制御フレームとして装置識別子列を「B」とし、外回り制御フレームとして装置識別子列を「BCD」とし、フレーム送受信部13へと転送する。   Upon receiving the control frame lost notification, the control frame operation unit 12 deletes the device identifier sequence of the entry whose circulation information is “inside” as shown in the identifier sequence storage unit 12-1B of FIG. 11, and sets “NULL”. Remember. Further, the device identifier string “CD” is extracted from the outer loop control frame, and “CD” is stored in the device identifier string of the entry whose circulation information is “outer loop” as shown in the identifier string storage unit 12-1B of FIG. . Further, the device identifier string is set to “B” as the inner loop control frame, the device identifier string is set to “BCD” as the outer loop control frame, and transferred to the frame transmitting / receiving unit 13.

副装置Bのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1B−2へ、外回り制御フレームを内回りポート1B−1へと送信する。   The frame transmission / reception unit 13 of the secondary device B transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1B-2, and transmits the outer loop control frame to the inner loop port 1B-1.

副装置Bのリング制御部14の障害検査部14−1では、該識別子列記憶部のエントリを検査し、図4のフロー図から転送装置1Aの装置障害を検知する。   The failure checking unit 14-1 of the ring control unit 14 of the secondary device B checks the entry in the identifier string storage unit and detects the device failure of the transfer device 1A from the flowchart of FIG.

副装置Bのリング制御部14では、障害箇所として検出した転送装置1Aがリング設定記憶部14−2Bに記憶している主装置Aであることを判断し、障害切替処理部14−3に障害切替命令を行う。   The ring control unit 14 of the secondary device B determines that the transfer device 1A detected as the failure location is the main device A stored in the ring setting storage unit 14-2B, and causes the failure switching processing unit 14-3 to Perform a switching command.

副装置Bの障害切替処理部14−3では、リング設定記憶部14−2Bに記憶している装置種別が「副装置」であり、リング設定記憶部14−2Bに記憶している主装置「A」が障害装置であるため、ポート制御部14−5に対しリング設定記憶部14−2Bに記憶している制御ポート1B−2の開放命令を行い、図11の装置状態記憶部11Bに示すように装置状態に「障害状態」を記憶する。   In the failure switching processing unit 14-3 of the secondary device B, the device type stored in the ring setting storage unit 14-2B is “secondary device”, and the main device “ Since “A” is a faulty device, the port control unit 14-5 is instructed to release the control port 1B-2 stored in the ring setting storage unit 14-2B, and is shown in the device state storage unit 11B of FIG. Thus, the “failure state” is stored in the device state.

該開放命令を受信したポート制御部14−5では、制御ポート1B−2の開放命令に従い、制御ポート1B−2を開放する。   The port control unit 14-5 that has received the release command opens the control port 1B-2 in accordance with the release command for the control port 1B-2.

以上の動作により、障害切替時に主装置に障害が発生した場合は、主装置からの開放命令の受信を待機することなく、閉塞ポートの開放を行うため、主装置障害時にも障害切替を行うことが可能となる。   With the above operation, if a failure occurs in the main unit during failure switching, the blocked port is opened without waiting for the reception of the release command from the main unit, so failure switching is performed even when the main unit fails. Is possible.

図12は、渡り経路4Bにおいて障害が発生した場合を示した説明図である。主装置Aでは、フレーム送受信部13が、内回りポート1A−1から受信した内回り制御フレームと、外回りポート1A−2から受信した外回り制御フレームを制御フレーム操作部12に転送する。   FIG. 12 is an explanatory diagram showing a case where a failure has occurred in the transfer route 4B. In the main apparatus A, the frame transmission / reception unit 13 transfers the inner loop control frame received from the inner loop port 1A-1 and the outer loop control frame received from the outer loop port 1A-2 to the control frame operation unit 12.

主装置Aの制御フレーム操作部12では、内回り制御フレームから装置識別子「D」を抽出し、外回り制御フレームから装置識別子列「BC」を抽出し、図13の装置識別子列記憶部12−1Aに示すように周回情報が「内回り」であるエントリの装置識別子に「D」を、周回情報が「外回り」であるエントリの装置識別子列に「BC」を記憶する。さらに、内回り制御フレームとして装置識別子列を「AD」とし、外回り制御フレームとして装置識別子列を「ABC」とし、フレーム送受信部13へと転送する。   The control frame operation unit 12 of the main device A extracts the device identifier “D” from the inner loop control frame, extracts the device identifier string “BC” from the outer loop control frame, and stores it in the device identifier string storage unit 12-1A of FIG. As shown, “D” is stored in the device identifier of the entry whose circulation information is “inside”, and “BC” is stored in the device identifier column of the entry whose circulation information is “outside”. Further, the device identifier string is set to “AD” as the inner loop control frame, and the device identifier string is set to “ABC” as the outer loop control frame, and transferred to the frame transmitting / receiving unit 13.

主装置Aのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1A−2へ、外回り制御フレームを内回りポート1A−1へと送信する。   The frame transmission / reception unit 13 of the main apparatus A transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1A-2, and transmits the outer loop control frame to the inner loop port 1A-1.

主装置Aのリング制御部14の障害検査部14−1では、該識別子列記憶部のエントリを検査し、図4のフロー図から転送装置1Cと転送装置1Dとの間のリンク障害を検知する。   The failure check unit 14-1 of the ring control unit 14 of the main device A checks the entry in the identifier string storage unit and detects a link failure between the transfer device 1C and the transfer device 1D from the flowchart of FIG. .

主装置Aのリング制御部14では、障害箇所がリング設定記憶部14−2Aに記憶している主経路装置A、D間ではないことを判断し、図13の装置状態記憶部11Aに示すように装置状態に「非主経路障害検知状態」を記憶する。   The ring control unit 14 of the main device A determines that the failure location is not between the main route devices A and D stored in the ring setting storage unit 14-2A, as shown in the device state storage unit 11A of FIG. Stores “non-main-path failure detection state” in the device state.

副装置Bでは、フレーム送受信部13が、内回りポート1B−1から受信した内回り制御フレームと、外回りポート1B−2から受信した外回り制御フレームを制御フレーム操作部12に転送する。   In the secondary device B, the frame transmitting / receiving unit 13 transfers the inner loop control frame received from the inner loop port 1B-1 and the outer loop control frame received from the outer loop port 1B-2 to the control frame operation unit 12.

副装置Bの制御フレーム操作部12では、内回り制御フレームから装置識別子列「AD」を抽出し、外回り制御フレームから装置識別子「C」を抽出し、図13の識別子列記憶部12−1Bに示すように周回情報が「内回り」であるエントリの装置識別子列に「AD」を、「外回り」であるエントリの装置識別子列に「C」を記憶する。さらに内回り制御フレームとして装置識別子列を「BAD」とし、外回り制御フレームとして装置識別子列を「BC」とし、フレーム送受信部13へと転送する。   In the control frame operation unit 12 of the secondary device B, the device identifier string “AD” is extracted from the inner loop control frame, and the device identifier “C” is extracted from the outer loop control frame, which is shown in the identifier string storage unit 12-1B in FIG. Thus, “AD” is stored in the device identifier column of the entry whose circulation information is “inner”, and “C” is stored in the device identifier column of the entry of “outer”. Further, the device identifier string is set to “BAD” as the inner loop control frame, the device identifier string is set to “BC” as the outer loop control frame, and transferred to the frame transmitting / receiving unit 13.

副装置Bのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1B−2へ、外回り制御フレームを内回りポート1B−1へと送信する。   The frame transmission / reception unit 13 of the secondary device B transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1B-2, and transmits the outer loop control frame to the inner loop port 1B-1.

副装置Bのリング制御部14の障害検査部14−1では、障害箇所がリング設定記憶部14−2Bに記憶している主経路装置A、D間ではないことを判断し、図13の装置状態記憶部11Bに示すように装置状態に「非主経路障害検知状態」を記憶する。   The failure inspection unit 14-1 of the ring control unit 14 of the secondary device B determines that the failure location is not between the main route devices A and D stored in the ring setting storage unit 14-2B, and the device of FIG. As shown in the state storage unit 11B, “non-main path failure detection state” is stored in the apparatus state.

以上の動作により、障害が主経路以外で発生した場合に、障害を検知しても障害切替を行わないことが可能となる。   With the above operation, when a failure occurs on a route other than the main route, failure switching is not performed even if a failure is detected.

次に、転送装置の起動時もしくは制御機能の起動時の初期状態の動作について説明する。主装置Aは、図14の装置状態記憶部11Aに示すように装置状態に「初期状態」を記憶している。   Next, the operation in the initial state when the transfer device is activated or when the control function is activated will be described. The main apparatus A stores “initial state” in the apparatus state as shown in the apparatus state storage unit 11A of FIG.

主装置Aの制御フレーム操作部12において、図14の識別子列記憶部12−1A−1に示すように装置識別子列として「NULL」を記憶し、図14の通達情報記憶部12−2A−1に示すように通達情報として「初期状態」を記憶している。   In the control frame operation unit 12 of the main device A, “NULL” is stored as the device identifier string as shown in the identifier string storage unit 12-1A-1 in FIG. 14, and the notification information storage unit 12-2A-1 in FIG. As shown in FIG. 4, “initial state” is stored as notification information.

主装置Aの制御フレーム操作部12では、装置識別子列として「A」を、通達情報として図14の通達情報記憶部12−2A−1に記憶している「初期状態」を付与して内回り制御フレームと外回り制御フレームを作成し、フレーム送受信部13へと転送する。   In the control frame operation unit 12 of the main device A, “A” is assigned as the device identifier string, and “initial state” stored in the notification information storage unit 12-2A-1 in FIG. A frame and an outer loop control frame are created and transferred to the frame transmitting / receiving unit 13.

主装置Aのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1A−2へ、外回り制御フレームを内回りポート1A−1へと送信する。   The frame transmission / reception unit 13 of the main apparatus A transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1A-2, and transmits the outer loop control frame to the inner loop port 1A-1.

副装置Bでは、フレーム送受信部13が、内回りポート1B−1から受信した内回り制御フレームと、外回りポート1B−2から受信した外回り制御フレームを制御フレーム操作部12に転送する。   In the secondary device B, the frame transmitting / receiving unit 13 transfers the inner loop control frame received from the inner loop port 1B-1 and the outer loop control frame received from the outer loop port 1B-2 to the control frame operation unit 12.

副装置Bの制御フレーム操作部12では、内回り制御フレームから装置識別子「A」と、通達情報「初期状態」を抽出し、外回り制御フレームから装置識別子列「CD」を抽出し、図14の識別子列記憶部12−1Bに示すように周回情報が「内回り」であるエントリの装置識別子列に「A」を、「外回り」であるエントリの装置識別子列に「CD」を記憶し、図14の通達情報記憶部12−2Bに示すように周回情報が「内回り」であるエントリの通達情報に「初期状態」を記憶する。さらに内回り制御フレームとして装置識別子列を「BA」とし、外回り制御フレームとして装置識別子列を「BCD」とし、フレーム送受信部13へと転送する。   In the control frame operation unit 12 of the secondary device B, the device identifier “A” and the notification information “initial state” are extracted from the inner loop control frame, the device identifier string “CD” is extracted from the outer loop control frame, and the identifier shown in FIG. As shown in the column storage unit 12-1B, “A” is stored in the device identifier column of the entry whose circulation information is “inner circuit”, and “CD” is stored in the device identifier column of the entry of “outer circuit”. As shown in the notification information storage unit 12-2B, the “initial state” is stored in the notification information of the entry whose circulation information is “inner circle”. Further, the device identifier string is set to “BA” as the inner loop control frame, and the device identifier string is set to “BCD” as the outer loop control frame, and transferred to the frame transmitting / receiving unit 13.

副装置Bのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1B−2へ、外回り制御フレームを内回りポート1B−1へと送信する。   The frame transmission / reception unit 13 of the secondary device B transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1B-2, and transmits the outer loop control frame to the inner loop port 1B-1.

副装置Bのリング制御部14の障害検査部14−1では、前記通達情報記憶部12−2Bに「初期状態」が記憶されているため、障害検知を行わない。   In the failure inspection unit 14-1 of the ring control unit 14 of the secondary device B, the “initial state” is stored in the notification information storage unit 12-2B, and therefore no failure detection is performed.

上記のように転送装置1C、1Dにおいて制御フレームを転送すると、主装置Aが内回り制御フレームの装置識別子列として「DCBA」を、外回り制御フレームの装置識別子列として「BCDA」を受信し、主装置Aの制御フレーム操作部12では、図14の識別子列記憶部12−1A−2に示すように周回情報が「内回り」であるエントリの装置識別子列に「DCBA」を、「外回り」であるエントリの装置識別子列に「BCDA」を記憶し、内回り制御フレームの装置識別子列と外回り制御フレームの装置識別子列の最後尾に、自装置識別子「A」が含まれるため、図14の通達情報記憶部12−2A−2の通達情報に「NULL」を記憶する。   When the control frame is transferred in the transfer apparatuses 1C and 1D as described above, the main apparatus A receives “DCBA” as the apparatus identifier string of the inner loop control frame and “BCDA” as the apparatus identifier string of the outer loop control frame. In the control frame operation unit 12 of A, as shown in the identifier sequence storage unit 12-1A-2 in FIG. 14, “DCBA” is entered in the device identifier sequence of the entry whose circulation information is “inner”, and the entry is “outer”. 14 is stored in the device identifier string of FIG. 14 and the device identifier string “A” is included at the end of the device identifier string of the inner loop control frame and the device identifier string of the outer loop control frame. “NULL” is stored in the notification information of 12-2A-2.

以上の動作により、初期状態に装置識別子列が収束する前に、障害として検知されてしまうことを防ぐことが可能となる。   With the above operation, it is possible to prevent the device identifier string from being detected as a failure before it converges to the initial state.

図15は、主経路2と副経路3において二重障害が発生した場合を示した説明図である。主装置Aでは、内回りポート1A−1からフレームを受信しなくなり、前記フレーム送受信部13では、前記制御フレームカウンタ部13−1が内回り制御フレームを一定時間受信しないことを検出し、制御フレーム操作部12に対して、内回り制御フレームロスト通知を行い、外回りポート1A−2から受信した外回り制御フレームを制御フレーム操作部12に転送する。   FIG. 15 is an explanatory diagram showing a case where a double failure has occurred in the main route 2 and the sub route 3. The main apparatus A stops receiving a frame from the inward port 1A-1, and the frame transmission / reception unit 13 detects that the control frame counter unit 13-1 does not receive an inward control frame for a certain period of time. 12, the inward control frame lost notification is performed, and the outer control frame received from the outer control port 1A-2 is transferred to the control frame operation unit 12.

該制御フレームロスト通知を受信した制御フレーム操作部12では、図16の識別子列記憶部12−1Aに示すように周回情報が「内回り」であるエントリの装置識別子列を削除し、「NULL」を記憶する。さらに、外回り制御フレームから装置識別子列「B」を抽出し、識別子列記憶部12−1Aの周回情報が「外回り」であるエントリの装置識別子列に「B」を記憶する。さらに、内回り制御フレームとして装置識別子列を「A」とし、外回り制御フレームとして装置識別子列を「AB」とし、フレーム送受信部13へと転送する。   Upon receiving the control frame lost notification, the control frame operation unit 12 deletes the device identifier sequence of the entry whose circulation information is “inside” as shown in the identifier sequence storage unit 12-1A of FIG. 16, and sets “NULL”. Remember. Further, the device identifier string “B” is extracted from the outer loop control frame, and “B” is stored in the device identifier string of the entry whose circulation information in the identifier string storage unit 12-1A is “outer loop”. Further, the device identifier string is set to “A” as the inner loop control frame, and the device identifier string is set to “AB” as the outer loop control frame, and transferred to the frame transmitting / receiving unit 13.

主装置Aのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1A−2へ、外回り制御フレームを内回りポート1A−1へと送信する。   The frame transmission / reception unit 13 of the main apparatus A transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1A-2, and transmits the outer loop control frame to the inner loop port 1A-1.

主装置Aのリング制御部14の障害検査部14−1では、該識別子列記憶部12−1Aのエントリを検査し、周回情報が「内回り」であるエントリの装置識別子列および周回情報が「外回り」であるエントリの装置識別子列に複数の装置識別子C、Dを含まないので、図4のフロー図から二重障害を検知し、図16の装置状態記憶部11Aに示すように装置状態に「二重障害検知状態」を記憶する。   In the fault check unit 14-1 of the ring control unit 14 of the main device A, the entry in the identifier string storage unit 12-1A is checked, and the device identifier string and the turn information of the entry whose turn information is “inner turn” are “outer turn”. ”Does not include a plurality of device identifiers C and D. Therefore, a double failure is detected from the flow chart of FIG. 4 and the device status is set to“ “Double failure detection status” is stored.

副装置Bでは、外回りポート1B−2からフレームを受信しなくなり、前記フレーム送受信部13では、前記制御フレームカウンタ部13−1が外回り制御フレームを一定時間受信しないことを検出し、制御フレーム操作部12に対して、外回り制御フレームロスト通知を行い、内回りポート1B−1から受信した内回り制御フレームを制御フレーム操作部12に転送する。   The sub-device B stops receiving the frame from the outer-circulation port 1B-2, and the frame transmission / reception unit 13 detects that the control frame counter unit 13-1 does not receive the outer-circulation control frame for a certain period of time. 12, the outer control frame lost notification is performed, and the inner control frame received from the inner port 1B-1 is transferred to the control frame operation unit 12.

該制御フレームロスト通知を受信した制御フレーム操作部12では、図16の識別子列記憶部12−1Bに示すように周回情報が「外回り」であるエントリの装置識別子列を削除し、「NULL」を記憶する。さらに、内回り制御フレームから装置識別子列「A」を抽出し、識別子列記憶部12−1Bの周回情報が「内回り」であるエントリの装置識別子列に「A」を記憶する。さらに、内回り制御フレームとして装置識別子列を「BA」とし、外回り制御フレームとして装置識別子列を「B」とし、フレーム送受信部13へと転送する。   Upon receiving the control frame lost notification, the control frame operation unit 12 deletes the device identifier string of the entry whose circulation information is “external” as shown in the identifier string storage unit 12-1B of FIG. 16, and sets “NULL”. Remember. Further, the device identifier string “A” is extracted from the inner loop control frame, and “A” is stored in the device identifier string of the entry whose circulation information in the identifier string storage unit 12-1B is “inner loop”. Further, the device identifier string is set to “BA” as the inner loop control frame, and the device identifier string is set to “B” as the outer loop control frame, and transferred to the frame transmitting / receiving unit 13.

副装置Bのフレーム送受信部13では、制御フレーム操作部12から受信した内回り制御フレームを外回りポート1B−2へ、外回り制御フレームを内回りポート1B−1へと送信する。   The frame transmission / reception unit 13 of the secondary device B transmits the inner loop control frame received from the control frame operation unit 12 to the outer loop port 1B-2, and transmits the outer loop control frame to the inner loop port 1B-1.

副装置Bのリング制御部14の障害検査部14−1では、該識別子列記憶部12−1Bのエントリを検査し、図4のフロー図から二重障害を検知し、図16の装置状態記憶部に示すように装置状態に「二重障害検知状態」を記憶する。   The fault checking unit 14-1 of the ring control unit 14 of the secondary device B checks the entry in the identifier string storage unit 12-1B, detects a double fault from the flowchart of FIG. 4, and stores the device status storage of FIG. As shown in the section, “double failure detection state” is stored in the apparatus state.

以上の動作により、二重障害が発生した場合に、障害を二重障害として検知し、障害切替を行わないことが可能となる。   With the above operation, when a double failure occurs, it is possible to detect the failure as a double failure and not switch over the failure.

図17は、主装置Aの制御機能に障害が発生し、副装置Bの内回りポート1B−1や転送装置1Dの外回りポート1D−2が主装置Aからのユーザフレームは受信するが、制御フレームを受信しなくなる場合を示した説明図である。   FIG. 17 shows that the control function of the main device A has failed and the inner port 1B-1 of the sub device B and the outer port 1D-2 of the transfer device 1D receive the user frame from the main device A, but the control frame It is explanatory drawing which showed the case where it stops receiving.

副装置Bでは、内回りポート1B−1から制御フレームを受信しなくなり、前記フレーム送受信部13では、前記制御フレームカウンタ部13−1が内回り制御フレームを一定時間受信しないことから、制御フレームロストを検知し、さらに、制御フレームではないユーザフレームを受信していることから、隣接転送装置の制御機能の障害であることを検知し、図18の装置状態記憶部11Bに示すように装置状態に「制御機能障害状態」を記憶する。   In the secondary device B, the control frame is not received from the inward port 1B-1, and in the frame transmitting / receiving unit 13, the control frame counter unit 13-1 does not receive the inward control frame for a certain period of time. In addition, since a user frame that is not a control frame is received, it is detected that there is a failure in the control function of the adjacent transfer device, and as shown in the device state storage unit 11B in FIG. "Functional failure state" is stored.

以上の動作により、制御機能に障害が発生した場合、他の装置において制御機能の障害として検知し、障害切替を行わずに、ループの発生を防ぐことが可能となる。   As a result of the above operation, when a failure occurs in the control function, it is detected as a failure in the control function in another device, and the occurrence of a loop can be prevented without switching the failure.

なお、本発明の実施の形態では、転送装置の数を4、副装置の数を1としたが、それぞれの数に制限は無い。   In the embodiment of the present invention, the number of transfer devices is four and the number of sub-devices is one, but there is no limitation on the number of each.

また、装置識別子列を常時付与して制御フレームを送受信しているが、隣接転送装置からの制御フレームを受信しないことによる障害検知を行った場合に、制御フレームに障害検知フラグと装置識別子を付与して送信し、該障害検知フラグを付与された制御フレームを受信した転送装置は、装置識別子列を更新し転送する方法でも障害の検知は可能である。   Also, when a control frame is sent and received with a device identifier string always attached, but a failure is detected by not receiving a control frame from an adjacent transfer device, a failure detection flag and device identifier are added to the control frame. Thus, the transfer device that has received the control frame to which the failure detection flag is attached can detect the failure even by updating and transferring the device identifier string.

また、主装置と副装置の間では、正常時には制御フレームを送受信せずに、障害を検知した場合のみ制御フレームを送受信する方法でも障害の検知と経路の切替は可能である。また、VLANなどの識別子でリング型冗長通信路を論理的に多重化することも可能である。   In addition, between the main apparatus and the sub apparatus, it is possible to detect a failure and switch a path by a method of transmitting and receiving a control frame only when a failure is detected without transmitting and receiving a control frame in a normal state. It is also possible to logically multiplex a ring redundant communication path with an identifier such as VLAN.

その他の形式についても、必ずしも前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲において、種種の変更は可能であり、本発明の目的を達し、下記する効果を奏する範囲において、適宜変更して実施可能であることは勿論である。   Other forms are not necessarily limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention, and the object of the present invention can be achieved and the following effects can be achieved. Of course, it can be implemented with appropriate modifications.

本発明の第1の効果は、障害切替時に、ループを発生させること無く切替を行うことが可能となることである。また、障害の誤検知時に、障害切替を行ってもループの発生を防ぐことが可能となることである。その理由は、障害切替時に、開放している制御ポートを閉塞したことを確認してから、閉塞ポートの開放を行うためである。   The first effect of the present invention is that switching can be performed without causing a loop when switching a fault. In addition, it is possible to prevent the occurrence of a loop even if the failure is switched when a failure is erroneously detected. The reason for this is to open the blocked port after confirming that the opened control port is blocked at the time of failure switching.

本発明の第2の効果は、障害箇所に応じた障害切替処理を行い、無用な切替を防ぐことが可能となることである。その理由は、リンク間の制御フレームを用いて、障害箇所や障害の種別(片方向/両方向)の検知を行うためである。   The second effect of the present invention is that it is possible to perform a failure switching process according to a failure location and prevent unnecessary switching. The reason is that the failure location and the failure type (one-way / two-way) are detected using a control frame between links.

本発明の第3の効果は、制御ポートを任意の転送装置の任意のポートに設定でき、リング型冗長通信路上でフレームを転送するリンクを限定することが可能となることである。その理由は、リンク間制御フレームに装置識別子列を含めることで、各転送装置が独立に障害の検知と障害箇所の特定を行い、各転送装置が独立に切替処理を行うためである。   The third effect of the present invention is that the control port can be set to an arbitrary port of an arbitrary transfer device, and a link for transferring a frame on the ring-type redundant communication path can be limited. The reason is that by including a device identifier string in the inter-link control frame, each transfer device independently detects a failure and identifies a failure location, and each transfer device independently performs a switching process.

本発明の第4の効果によれば、制御機能の障害を検知し、ユーザフレームの障害として誤検知することが無いため、障害切替によるループの発生を防ぐことが可能となる。その理由は、制御フレームを受信しない場合に、ユーザフレームを受信していないかを検査するためである。   According to the fourth effect of the present invention, it is possible to prevent the occurrence of a loop due to the failure switching because the failure of the control function is detected and is not erroneously detected as the failure of the user frame. The reason is to check whether a user frame is received when a control frame is not received.

本発明のリング型冗長通信路制御方法の適用場面を示すリング型通信路のシステム図ある。It is a system diagram of a ring type communication path showing an application scene of the ring type redundant communication path control method of the present invention. 本発明を実施するための転送装置の内部構成図である。It is an internal block diagram of the transfer apparatus for implementing this invention. 本発明を実施するための記憶部構成例を示す図である。It is a figure which shows the memory | storage part structural example for implementing this invention. 障害を検出するフロー図である。It is a flowchart which detects a failure. 本発明のリング型冗長通信路制御方法が適用されるリング型通信路システムの一実施形態を示す図である。It is a figure which shows one Embodiment of the ring type channel system to which the ring type redundant channel control method of this invention is applied. リング設定記憶部例を示す図である。It is a figure which shows a ring setting memory | storage part example. 正常時の記憶部例を示す図である。It is a figure which shows the example of a memory | storage part at the time of normal. 主経路において障害が発生した場合を示した説明図である。It is explanatory drawing which showed the case where a failure generate | occur | produced in the main path | route. 主経路障害時・復旧時の記憶部例を示す図である。It is a figure which shows the example of a memory | storage part at the time of the main path | route failure and recovery. 主装置において障害が発生した場合を示した説明図である。It is explanatory drawing which showed the case where a failure generate | occur | produced in the main apparatus. 主装置障害時の記憶部例を示す図である。It is a figure which shows the example of a memory | storage part at the time of the main apparatus failure. 渡り経路において障害が発生した場合を示した説明図であるIt is explanatory drawing which showed the case where a failure generate | occur | produced in the transfer route 渡り経路障害時の記憶部例を示す図である。It is a figure which shows the example of a memory | storage part at the time of a transfer route failure. 初期状態の記憶部例を示す図である。It is a figure which shows the memory | storage part example of an initial state. 二重障害が発生した場合を示した説明図である。It is explanatory drawing which showed the case where a double failure generate | occur | produced. 二重障害時の記憶部例を示す図である。It is a figure which shows the memory | storage part example at the time of a double failure. 制御機能障害が発生した場合の説明図である。It is explanatory drawing when a control function failure generate | occur | produces. 制御機能障害時の記憶部例を示す図である。It is a figure which shows the example of a memory | storage part at the time of a control function failure.

符号の説明Explanation of symbols

1,1A,1B,1C,1D 転送装置
1−1,1A−1,1B−1,1C−1,1D−1 内回りポート
1−2,1A−2,1B−2,1C−2,1D−2 外回りポート
2 主経路
3 副経路
4A,4B 渡り経路
11 装置状態記憶部
12 制御フレーム操作部
12−1 識別子列記憶部
12−2 通達情報記憶部
13 フレーム送受信部
13−1 制御フレームカウンタ部
14 リング制御部
14−1 障害検査部
14−2 リング設定記憶部
14−3 障害切替処理部
14−4 障害復旧処理部
14−5 ポート制御部
1, 1A, 1B, 1C, 1D Transfer device 1-1, 1A-1, 1B-1, 1C-1, 1D-1 Inner port 1-2, 1A-2, 1B-2, 1C-2, 1D- 2 Outer port 2 Main route 3 Sub route 4A, 4B Crossing route 11 Device state storage unit 12 Control frame operation unit 12-1 Identifier string storage unit 12-2 Notification information storage unit 13 Frame transmission / reception unit 13-1 Control frame counter unit 14 Ring control unit 14-1 Fault inspection unit 14-2 Ring setting storage unit 14-3 Fault switching processing unit 14-4 Fault recovery processing unit 14-5 Port control unit

Claims (6)

複数の転送装置によって構成されるリング型冗長通信路において、前記転送装置が、内回りポートと外回りポートとを備え、内回りポートが他の転送装置の外回りポートと接続され、外回りポートが他の転送装置の内回りポートと接続され、複数の転送装置が、制御ポートとして開放ポートを備える主装置と、制御ポートとして閉塞ポートを備える副装置と、制御ポートを備えない他装置とで区別され、それぞれ装置識別子を保持し、装置識別子を連結した装置識別子列を付与された制御フレームを、互いに内回りポート並びに外回りポートを用いて送受信するリング型冗長通信路の制御方法であって、
前記転送装置が、
内回りポートから受信した制御フレームである内回り制御フレームの装置識別子列と外回りポートから受信した制御フレームである外回り制御フレームの装置識別子列を識別子列記憶部に保持するステップと、
内回り制御フレームの装置識別子列の先頭に自装置識別子を付加し、最後尾に自装置識別子が存在すれば該自装置識別子を削除し外回りポートへと転送するステップと、
外回り制御フレームの装置識別子列の先頭に自装置識別子を付加し、最後尾に自装置識別子が存在すれば該自装置識別子を削除し内回りポートヘと転送するステップと、
該識別子列記憶部の内回り制御フレームの装置識別子列と外回り制御フレームの装置識別子列の双方の最後尾に自装置識別子が含まれていれば正常状態を検知し、該識別子列記憶部の内回り制御フレームの装置識別子列と外回り制御フレームの装置識別子列の双方もしくはどちらか一方の最後尾に自装置識別子が含まれていない場合に障害発生として検知し、該障害の発生箇所を特定するステップとを含み、
障害を検知した場合に、
該転送装置が主装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送するステップと、
該転送装置が副装置であるなら、検知した障害箇所が主装置でなければ、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放し、検知した障害箇所が主装置であれば、直ちに制御ポートを開放するステップとを含み、
障害が復旧した場合に、
該転送装置が副装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送するステップと、
該転送装置が主装置であるなら、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放するステップとを含むことを特徴とするリング型冗長通信路制御方法。
In a ring-type redundant communication path constituted by a plurality of transfer devices, the transfer device includes an inner port and an outer port, the inner port is connected to an outer port of another transfer device, and the outer port is another transfer device. A plurality of transfer devices are distinguished from a main device having an open port as a control port, a sub device having a block port as a control port, and another device not having a control port, and a device identifier. And a control method for a ring-type redundant communication path that transmits and receives a control frame to which a device identifier string obtained by concatenating device identifiers is transmitted and received using an inner port and an outer port,
The transfer device is
Holding the device identifier string of the inner loop control frame that is a control frame received from the inner loop port and the device identifier string of the outer loop control frame that is a control frame received from the outer loop port in the identifier string storage unit;
Adding the own device identifier to the head of the device identifier string of the inner loop control frame, deleting the own device identifier if it exists at the end, and transferring it to the outer port;
Adding the own device identifier to the head of the device identifier string of the outer loop control frame and deleting the own device identifier if it exists at the end and transferring it to the inner port;
If the own device identifier is included at the end of both the device identifier string of the inner loop control frame and the device identifier string of the outer loop control frame of the identifier string storage unit, a normal state is detected and the inner loop control of the identifier string storage unit A step of detecting the occurrence of a failure when the own device identifier is not included at the end of either or both of the device identifier sequence of the frame and the device identifier sequence of the outer control frame, and identifying the location where the failure has occurred Including
When a failure is detected,
If the transfer device is a main device, the control port is closed, and a transfer instruction is given to the inner control frame and the outer control frame for transfer, and transferred.
If the transfer device is a secondary device, if the detected failure location is not the main device, the control port is opened after receiving the inner control frame or the outer control frame including the release command, and the detected failure location is the main device. And immediately opening the control port,
When a failure is recovered,
If the transfer device is a secondary device, the control port is closed, and a transfer instruction is given to the inner control frame and the outer control frame for transfer, and transferred.
If the transfer device is a main device, the method includes a step of releasing a control port after receiving an inner loop control frame or an outer loop control frame including a release command.
複数の転送装置によって構成されるリング型冗長通信路において、転送装置が、内回りポートと外回りポートとを備え、内回りポートが他の転送装置の外回りポートと接続され、外回りポートが他の転送装置の内回りポートと接続され、複数の転送装置が、制御ポートとして開放ポートを備える主装置と、制御ポートとして閉塞ポートを備える副装置と、制御ポートを備えない他装置とで区別され、互いに内回りポート並びに外回りポートを用いて制御フレームを送受信し、それぞれ装置識別子を保持し、前記外回りポートから一定時間制御フレームを受信しない場合には、制御フレームに障害検知通知と自装置識別子を付与して内回りポートから送信し、前記内回りポートから一定時間制御フレームを受信しない場合には、制御フレームに障害検知通知と自装置識別子を付与して外回りポートから送信するリング型冗長通信路の制御方法であって、
前記転送装置が、
内回りポートもしくは外回りポートから障害検知通知を含んだ制御フレームを受信した場合に、障害発生として検知し、該障害の発生箇所を特定するステップと、
内回りポートから受信した制御フレームである内回り制御フレームの装置識別子列と外回りポートから受信した制御フレームである外回り制御フレームの装置識別子列を識別子列記憶部に保持するステップと、
内回り制御フレームの装置識別子列の先頭に自装置識別子を付加し、外回りポートへと転送するステップと、
外回り制御フレームの装置識別子列の先頭に自装置識別子を付加し、内回りポートへと転送するステップと、
障害を検知した場合に、
該転送装置が主装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送するステップと、
該転送装置が副装置であるなら、検知した障害箇所が主装置でなければ、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放し、検知した障害箇所が主装置であれば、直ちに制御ポートを開放するステップと、
障害が復旧した場合に、
該転送装置が副装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送するステップと、
該転送装置が主装置であるなら、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放するステップとを含むことを特徴とするリング型冗長通信路制御方法。
In a ring-type redundant communication path constituted by a plurality of transfer devices, the transfer device includes an inner port and an outer port, the inner port is connected to an outer port of another transfer device, and the outer port is connected to the other transfer device. A plurality of transfer devices connected to the inner port are distinguished from a main device having an open port as a control port, a sub device having a blocked port as a control port, and another device not having a control port. When the control frame is transmitted / received using the outer-circulation port, the device identifier is held, and when the control frame is not received from the outer-circulation port for a certain period of time, the failure detection notification and the own device identifier are given to the control frame, If it does not receive a control frame from the inner port for a certain period of time, A method of controlling a ring redundant communication path to be transmitted from the outer loop port to impart harm detection notification and the own device identifier,
The transfer device is
Detecting a fault occurrence when a control frame including a fault detection notification is received from an inner port or an outer port, and identifying the location of the fault;
Holding the device identifier string of the inner loop control frame that is a control frame received from the inner loop port and the device identifier string of the outer loop control frame that is a control frame received from the outer loop port in the identifier string storage unit;
Adding the own device identifier to the head of the device identifier string of the inner loop control frame and transferring it to the outer loop port;
Adding the own device identifier to the head of the device identifier string of the outer loop control frame and transferring it to the inner loop port;
When a failure is detected,
If the transfer device is a main device, the control port is closed, and a transfer instruction is given to the inner control frame and the outer control frame for transfer, and transferred.
If the transfer device is a secondary device, if the detected failure location is not the main device, the control port is opened after receiving the inner control frame or the outer control frame including the release command, and the detected failure location is the main device. If so, immediately open the control port;
When a failure is recovered,
If the transfer device is a secondary device, the control port is closed, and a transfer instruction is given to the inner control frame and the outer control frame for transfer, and transferred.
If the transfer device is a main device, the method includes a step of releasing a control port after receiving an inner loop control frame or an outer loop control frame including a release command.
請求項1に記載のリング型冗長通信路制御方法において、
前記転送装置が、
制御モジュールを起動した場合、自装置識別子と初期状態通知を付与して内回り制御フレームと外回り制御フレームの送信を開始するステップと、
内回りポートから装置識別子列に自装置識別子を含んだ制御フレームを受信した場合、内回り制御フレームの初期状態通知を削除して外回りポートヘと転送するステップと、
外回りポートから装置識別子列に自装置識別子を含んだ制御フレームを受信した場合、外回り制御フレームの初期状態通知を削除して内回りポートへと転送するステップと、
初期状態通知を含んだ制御フレームを受信した場合、障害の検知を行わないステップとを含むことを特徴とするリング型冗長通信路制御方法。
In the ring type redundant channel control method according to claim 1,
The transfer device is
When the control module is activated, a step of giving an own device identifier and an initial state notification and starting transmission of an inner loop control frame and an outer loop control frame;
A step of deleting an initial state notification of the inner control frame and transferring it to the outer port when receiving a control frame including the device identifier in the device identifier string from the inner port;
When receiving a control frame including its own device identifier in the device identifier string from the outer loop port, deleting the initial state notification of the outer loop control frame and transferring it to the inner port;
A ring redundant communication path control method, comprising: a step of not detecting a failure when a control frame including an initial state notification is received.
請求項1〜3のいずれかに記載のリング型冗長通信路制御方法において、
リング型冗長通信路の複数のリンクを、ユーザフレームが転送される主経路と、障害が発生した際の冗長用リンクであるその他の経路とに区別し、
前記転送装置が障害を検知した場合に、障害発生箇所が主経路であって、障害を検知した転送装置が主装置であるなら、制御ポートを閉塞し、内回り制御フレームと外回り制御フレームに開放命令を付与して転送し、障害を検知した転送装置が副装置であるなら、開放命令を含む内回り制御フレームもしくは外回り制御フレームを受信してから制御ポートを開放し、障害発生箇所が主経路でなければ、制御ポートの制御を行わないステップを含むことを特徹とするリング型冗長通信路制御方法。
In the ring-type redundant communication path control method according to any one of claims 1 to 3,
Differentiate the multiple links of the ring-type redundant communication path into a main path through which user frames are transferred and other paths that are redundant links when a failure occurs.
When the transfer device detects a failure, if the failure occurrence location is the main route and the transfer device that detected the failure is the main device, the control port is blocked, and an open command is sent to the inner control frame and the outer control frame. If the transfer device that detected the failure is the secondary device, the control port is opened after receiving the inner control frame or the outer control frame including the release command, and the location of the failure must be on the main route. For example, a ring type redundant communication path control method including a step of not performing control of the control port.
請求項1〜4のいずれかに記載のリング型冗長通信路制御方法において、
前記転送装置が、内回り制御フレームを一定時間受信しない場合、内回りポートからユーザフレームを受信しているかを検査し、外回り制御フレームを一定時間受信しない場合、外回りポートからユーザフレームを受信しているかを検査し、ユーザフレームを受信していれば制御モジュールの障害として検知するステップを含むことを特徴とするリング型冗長通信路制御方法。
In the ring-type redundant communication path control method according to any one of claims 1 to 4,
If the transfer device does not receive an inner loop control frame for a certain period of time, it checks whether a user frame is received from the inner loop port, and if it does not receive an outer loop control frame for a certain period of time, it determines whether a user frame is received from the outer loop port. A ring type redundant communication path control method comprising a step of inspecting and detecting a failure of a control module if a user frame is received.
請求項1〜5のいずれかに記載のリング型冗長通信路制御方法において、
前記転送装置が、
前記リング型冗長通信路に接続する全ての転送装置の装置識別子を記憶し、全ての転送装置の装置識別子で、前記識別子列記憶部の内回り制御フレームの装置識別子列と外回り制御フレームの装置識別子列の双方に含まれない装置識別子が複数存在する場合に二重障害として検知するステップと、
二重障害を検知した場合、制御ポートの閉塞を行うステップとを含むことを特徴とするリング型冗長通信路制御方法。
In the ring-type redundant communication path control method according to any one of claims 1 to 5,
The transfer device is
The device identifiers of all transfer devices connected to the ring-type redundant communication path are stored, and the device identifier sequence of the inner loop control frame and the device identifier sequence of the outer loop control frame of the identifier sequence storage unit are stored as the device identifiers of all transfer devices Detecting a double failure when there are a plurality of device identifiers not included in both, and
A ring-type redundant communication path control method including a step of blocking a control port when a double failure is detected.
JP2005197250A 2005-07-06 2005-07-06 Ring type redundant communication path control method Pending JP2007019698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005197250A JP2007019698A (en) 2005-07-06 2005-07-06 Ring type redundant communication path control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005197250A JP2007019698A (en) 2005-07-06 2005-07-06 Ring type redundant communication path control method

Publications (1)

Publication Number Publication Date
JP2007019698A true JP2007019698A (en) 2007-01-25

Family

ID=37756480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005197250A Pending JP2007019698A (en) 2005-07-06 2005-07-06 Ring type redundant communication path control method

Country Status (1)

Country Link
JP (1) JP2007019698A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010095268A1 (en) * 2009-02-23 2010-08-26 三菱電機株式会社 Ring network control method, master node, slave node, and ring network
JP2013058863A (en) * 2011-09-07 2013-03-28 Nippon Telegr & Teleph Corp <Ntt> Access accommodation node, access accommodation network, and access section duplex path switching method
JP2014003389A (en) * 2012-06-15 2014-01-09 Nippon Telegr & Teleph Corp <Ntt> Logical ring switching method, ring node, and ring network
WO2021245909A1 (en) * 2020-06-05 2021-12-09 日本電信電話株式会社 Device, method, system, and program for distributing traffic
US12088511B2 (en) 2020-02-28 2024-09-10 Nippon Telegraph And Telephone Corporation Communication system, communication method, transmitting side switching device, receiving side switching device, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010095268A1 (en) * 2009-02-23 2010-08-26 三菱電機株式会社 Ring network control method, master node, slave node, and ring network
JP2013058863A (en) * 2011-09-07 2013-03-28 Nippon Telegr & Teleph Corp <Ntt> Access accommodation node, access accommodation network, and access section duplex path switching method
JP2014003389A (en) * 2012-06-15 2014-01-09 Nippon Telegr & Teleph Corp <Ntt> Logical ring switching method, ring node, and ring network
US12088511B2 (en) 2020-02-28 2024-09-10 Nippon Telegraph And Telephone Corporation Communication system, communication method, transmitting side switching device, receiving side switching device, and program
WO2021245909A1 (en) * 2020-06-05 2021-12-09 日本電信電話株式会社 Device, method, system, and program for distributing traffic

Similar Documents

Publication Publication Date Title
JP4628945B2 (en) Layer 2 network
JP4616389B2 (en) Ring type redundant channel control method
JP5061748B2 (en) Packet ring network system and packet transfer method
JP4778712B2 (en) Ethernet automatic protection switching
JP5521663B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
JPWO2004075485A1 (en) Network system, spanning tree configuration method and configuration program, spanning tree configuration node
US8699380B2 (en) Port table flushing in ethernet networks
US20090323518A1 (en) Ring rapid spanning tree protocol
US20120224471A1 (en) Method and system for ring protection switching
JP5126159B2 (en) Network relay device and ring network
JP2005130049A (en) Node
TWI573421B (en) Relay devices and communication systems
US20110063971A1 (en) Data relay apparatus, and ring-type communication system
EP1672847B1 (en) Ring rapid spanning tree protocol
WO2011076024A1 (en) Transmission multi-protocol label switching network system and link protection method
JP2007019698A (en) Ring type redundant communication path control method
CN101883038B (en) Host node in the method for EAPS looped network protection switching and EAPS looped network
JP2003258822A (en) Packet ring network and inter-packet ring network connection method used in the same
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
JP5004758B2 (en) Layer 2 network and network connection device
JP5756043B2 (en) Communication device
JP2011223172A (en) Ring-type network system, communication apparatus and failure detection method
JP4447385B2 (en) RPR node apparatus and forwarding path control method for RPR network
JP2010141731A (en) Layer-2 switch
WO2010095268A1 (en) Ring network control method, master node, slave node, and ring network

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070614

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070614

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070807

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20081017

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091020

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091201

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100216