JP4906910B2 - Communication node and communication system ring establishment confirmation method - Google Patents
Communication node and communication system ring establishment confirmation method Download PDFInfo
- Publication number
- JP4906910B2 JP4906910B2 JP2009275827A JP2009275827A JP4906910B2 JP 4906910 B2 JP4906910 B2 JP 4906910B2 JP 2009275827 A JP2009275827 A JP 2009275827A JP 2009275827 A JP2009275827 A JP 2009275827A JP 4906910 B2 JP4906910 B2 JP 4906910B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- ring
- establishment confirmation
- station
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Description
この発明は、イーサネット(登録商標)をリング状に接続して通信を行うイーサネット(登録商標)ベースのリング状通信システムで使用される通信ノードと、その通信システムでマスタレスなトークンリング通信を行うための通信システムのリング構成方法とリング確立方法に関するものである。 The present invention relates to a communication node used in an Ethernet (registered trademark) -based ring communication system that performs communication by connecting Ethernet (registered trademark) in a ring shape, and to perform masterless token ring communication in the communication system. The present invention relates to a ring configuration method and a ring establishment method of the communication system.
従来、FDDI(Fiber-Distributed Data Interface)で通信端末(以下、通信ノードという)間を接続してネットワークを構築する形態が知られている(たとえば、非特許文献1参照)。このFDDIでは、一般的に通信ノードをリング状に接続するようにネットワークが構築される。FDDIを利用したネットワークでは、正常時にデータの送信が行われる第1のループと、第1のループを構成するケーブルの切断や通信ノードの故障などの異常が生じた場合に、その異常箇所をネットワークから切り離すようにループバックを行って正常な部分で通信可能なように構成するための第2のループと、からなる2重ループ構造がとられる。 2. Description of the Related Art Conventionally, a form in which a network is constructed by connecting communication terminals (hereinafter referred to as communication nodes) using FDDI (Fiber-Distributed Data Interface) is known (see, for example, Non-Patent Document 1). In this FDDI, a network is generally constructed to connect communication nodes in a ring shape. In a network using FDDI, when an abnormality such as a disconnection of a cable constituting the first loop or a failure of a communication node occurs in the first loop in which data is transmitted in a normal state, the abnormal portion is networked. A double loop structure comprising a second loop configured to perform communication in a normal part by performing loop back so as to be separated from the loop is adopted.
また、FDDIでは、トークンと呼ばれる送信権データを用いて、ネットワークに接続される通信ノード間で送信されるデータの衝突が発生しないように制御するトークンパッシング方式が採用されている。このトークンパッシング方式は、トークンが第1のループ上に流されており、データを送信したい通信ノードは、このトークンを捉えて取り込み、代わりに自分が送信したいデータを流し、送信が終わると再びトークンをネットワークに解放することで、常に一度に一台の端末がケーブルを利用するようにしたものである。 Further, FDDI employs a token passing system for controlling transmission of data transmitted between communication nodes connected to a network by using transmission right data called a token. In this token passing method, the token is flowed on the first loop, and the communication node that wants to transmit data captures and captures this token, and instead flows the data that it wants to transmit. Is released to the network, so that one terminal always uses a cable at a time.
ところで、現在では、イーサネット(登録商標)で通信ノード間を接続してネットワークを構築する形態が普及している。このイーサネット(登録商標)は、イーサネット(登録商標)に接続される通信ノードがデータを送信する際に、衝突を回避しながら通信権を確保し、全ての接続通信ノードへデータを伝搬するCSMA/CD(Carrier Sense Multiple Access/Collision Detection)方式を採用している。この方式を機能させるために、イーサネット(登録商標)における通信ノードの接続形態には、幹線となる1本のケーブルを中心として、そこから適当な間隔をあけてブランチケーブルを延ばし、複数の通信ノードを配置することによって構成されるバストポロジと、一つの制御装置(ハブ)を中心として放射線状に複数の通信ノードを配置することによって構成されるスタートポロジの2つのトポロジがある。 By the way, at present, a configuration in which communication nodes are connected by Ethernet (registered trademark) to construct a network is widespread. This Ethernet (registered trademark) secures a communication right while avoiding a collision when a communication node connected to the Ethernet (registered trademark) transmits data, and propagates data to all connected communication nodes. CD (Carrier Sense Multiple Access / Collision Detection) method is adopted. In order to make this system function, the connection form of communication nodes in Ethernet (registered trademark) includes a single cable serving as a trunk line, a branch cable extending from the cable at an appropriate interval, and a plurality of communication nodes. There are two topologies: a bus topology configured by arranging a plurality of communication nodes and a star topology configured by radiating a plurality of communication nodes around a single control device (hub).
しかしながら、イーサネット(登録商標)では、ネットワークに接続されている端末機器がイーサネット(登録商標)フレームの終端(廃棄)を行う方式であるために、上述したバストポロジとスタートポロジは存在したが、リングトポロジは存在しないという問題点があった。また、スタートポロジでは、中継器(ハブ)に障害が発生すると、中継器に接続される全通信ノードが通信不能になってしまったり、中継器に通信伝文が集中してしまい中継器が通信性能のボトルネックとなってしまったりするという問題点があった。さらに、従来のイーサネット(登録商標)のトポロジでは、コリジョンや輻輳が発生し、定時性を保障することが困難であるという問題点があった。 However, in Ethernet (registered trademark), since the terminal device connected to the network performs termination (discard) of the Ethernet (registered trademark) frame, the bus topology and the star topology described above exist, but the ring topology There was a problem that the topology did not exist. In the star topology, when a failure occurs in the repeater (hub), all communication nodes connected to the repeater become unable to communicate, or communication messages concentrate on the repeater and the repeater communicates. There was a problem of becoming a performance bottleneck. Furthermore, in the conventional Ethernet (registered trademark) topology, there is a problem that collision and congestion occur, and it is difficult to ensure punctuality.
また、ネットワークが確立すると、各通信ノードがネットワークの構成を認識できるように、ネットワーク上に存在する自通信ノード以外の通信ノードに局情報を渡す必要がある。このとき、局情報の送信元が他の通信ノードからの応答を受信することによって、ネットワーク上の全ての通信ノードに局情報が行き渡ったかを確認する必要があるが、その処理が煩雑であるという問題点もあった。 When the network is established, it is necessary to pass station information to communication nodes other than the own communication node existing on the network so that each communication node can recognize the network configuration. At this time, it is necessary for the station information transmission source to receive a response from another communication node to check whether the station information has been distributed to all communication nodes on the network, but the processing is complicated. There was also a problem.
さらに、リングトポロジとしては、上述したFDDIが存在するが、現在、FDDIを用いたネットワークはイーサネット(登録商標)を用いたネットワークほど普及していないという問題点もあった。また、イーサネット(登録商標)を用いたネットワークをリングトポロジで構成したとしても、FDDIの規格をそのままイーサネット(登録商標)に適用することができないという問題点もあった。 Further, although the FDDI described above exists as a ring topology, there is a problem that a network using the FDDI is not as widespread as a network using the Ethernet (registered trademark) at present. In addition, even if a network using Ethernet (registered trademark) is configured in a ring topology, there is a problem that the FDDI standard cannot be applied to Ethernet (registered trademark) as it is.
この発明は上記に鑑みてなされたもので、中継器を使用しないで通信ノード間をイーサネット(登録商標)で接続したイーサネット(登録商標)ベースのリング状通信システムで使用される通信ノードを得ることを目的とする。また、イーサネット(登録商標)で構築したリングトポロジのネットワークで障害を発見した場合に障害を排除したリングを容易に構成することができる通信ノードと、通信システムのリング構成方法を得ることも目的とする。 The present invention has been made in view of the above, and to obtain a communication node used in an Ethernet (registered trademark) -based ring communication system in which communication nodes are connected by Ethernet (registered trademark) without using a repeater. With the goal. Another object of the present invention is to provide a communication node capable of easily configuring a ring that eliminates a failure when a failure is found in a ring topology network constructed with Ethernet (registered trademark), and a ring configuration method for a communication system. To do.
さらに、イーサネット(登録商標)ベースのリング状通信システムにおいて、通信ノード間で通信を行うために必要な手順を規定するリング状通信システムでの経路確立方法を得ることも目的とする。具体的には、イーサネット(登録商標)ベースのリング状通信システムにおいて、正常な通信ノードによって構成された経路がリング状に構成されているかを確認することができる通信ノードと、通信システムのリング確立確認方法を得ることも目的とする。 It is another object of the present invention to provide a route establishment method in a ring communication system that defines a procedure necessary for performing communication between communication nodes in an Ethernet (registered trademark) -based ring communication system. Specifically, in an Ethernet (registered trademark) -based ring communication system, a communication node capable of confirming whether a path constituted by normal communication nodes is configured in a ring shape, and a ring establishment of the communication system The purpose is to obtain a confirmation method.
また、イーサネット(登録商標)ベースのリング状通信システムにおいて、リングが確立した後に、ネットワーク上の全ての通信ノードに局情報が行き渡ったかを容易に確認することができる通信ノードと、通信システムのリング確立確認方法を得ることも目的とする。 Further, in an Ethernet (registered trademark) -based ring communication system, a communication node capable of easily confirming whether station information has been distributed to all communication nodes on the network after the ring is established, and a ring of the communication system It is also aimed to obtain an establishment confirmation method.
上記目的を達成するため、この発明にかかる通信ノードは、イーサネット(登録商標)によって接続された複数の通信ノードがリング状に接続された通信システムを構成する通信ノードであって、フレームを入力する入力部とフレームを出力する出力部を有する第1および第2のポートと、第1および第2のポートが正常な場合、前記第1のポートの入力部から入力されるフレームの受信処理を行って、前記第2のポートの出力部から当該フレームを送信し、隣接通信ノードとの間で通信異常が生じた場合、前記隣接通信ノードと接続されるポートと異なる側のポートの入力部から入力されるフレームの受信処理を行って、当該フレームが入力された入力部と同一のポートの出力部から当該フレームを送信するループバック処理を行い、他通信ノードが前記ループバック処理を行う場合、前記第2のポートの入力部から入力されるフレームの受信処理を行わずに、前記第1のポートの出力部から当該フレームを送信する通信処理手段と、を備え、前記通信処理手段は、電源投入時または自通信ノードがループバック処理を行って新たなリングを構成した場合に、発行時刻を埋め込んだリング確立確認フレームを発行し、前記リングを巡回してきた前記リング確立確認フレームを受信すると、それ以降のリング確立確認フレームの発行を停止するリング確立確認フレーム発行手段と、前記リング確立確認フレーム発行手段によって発行され、前記リングを巡回してきた前記リング確立確認フレームを受信した時刻から、前記リング確立確認フレーム内の発行時刻を差し引いたフレーム巡回時間を算出するフレーム巡回時間算出手段と、前記リング確立確認フレームの発行停止後、前記フレーム巡回時間以上の間、前記リング内を流れるリング確立確認フレームを検出しないかを判定するリング確立判定手段と、を備えることを特徴とする。 In order to achieve the above object, a communication node according to the present invention is a communication node constituting a communication system in which a plurality of communication nodes connected by Ethernet (registered trademark) are connected in a ring shape, and inputs a frame. When the first and second ports having an input unit and an output unit for outputting a frame and the first and second ports are normal, reception processing of a frame input from the input unit of the first port is performed. Then, when the frame is transmitted from the output unit of the second port and communication abnormality occurs with the adjacent communication node, the frame is input from the input unit of the port different from the port connected to the adjacent communication node. The received frame is received, loopback processing is performed to transmit the frame from the output unit of the same port as the input unit to which the frame is input, and other communication When the node performs the loopback processing, communication processing means for transmitting the frame from the output unit of the first port without performing reception processing of the frame input from the input unit of the second port; The communication processing means issues a ring establishment confirmation frame in which an issue time is embedded when power is turned on or when a self-communication node performs a loopback process to configure a new ring, and circulates the ring. When the ring establishment confirmation frame is received, a ring establishment confirmation frame issuing unit that stops issuing subsequent ring establishment confirmation frames, and the ring establishment that has been circulated around the ring, issued by the ring establishment confirmation frame issuing unit A frame cycle obtained by subtracting the issue time in the ring establishment confirmation frame from the time when the confirmation frame is received. Frame cyclic time calculating means for calculating time, and ring establishment determining means for determining whether or not to detect a ring establishment confirmation frame flowing in the ring for a period equal to or longer than the frame cyclic time after issuance of the ring establishment confirmation frame is stopped. It is characterized by providing.
この発明によれば、リング状に通信ノードを接続することによって、スタートポロジやバストポロジの接続形態に必要な中継器を用いる必要がないので、中継器の障害の発生による全通信ノードの通信不能な状態を解消することができ、中継器に通信伝文が集中する事態を避けることができる。さらに、中継器を削減できるので、システム構築時のコストを低減することができるという効果も有する。 According to the present invention, by connecting communication nodes in a ring shape, it is not necessary to use a repeater necessary for a star topology or a bus topology connection form, so that all communication nodes cannot communicate due to a failure of the repeater. It is possible to eliminate such a situation, and it is possible to avoid a situation where communication messages concentrate on the repeater. Furthermore, since the number of repeaters can be reduced, there is an effect that the cost for system construction can be reduced.
以下に添付図面を参照して、この発明にかかる通信ノードおよび通信システムのリング確立確認方法の好適な実施の形態を詳細に説明する。なお、これらの実施の形態によりこの発明が限定されるものではない。以下では、各実施の形態に共通するこの発明の構成の概略について説明し、その後に、各実施の形態についての説明を行う。 Exemplary embodiments of a communication node and a communication system ring establishment confirmation method according to the present invention will be explained below in detail with reference to the accompanying drawings. Note that the present invention is not limited to these embodiments. In the following, the outline of the configuration of the present invention common to the respective embodiments will be described, and thereafter, the respective embodiments will be described.
図1は、この発明にかかるイーサネット(登録商標)ベースのリング状通信システムの概略構成を模式的に示す図である。このリング状通信システムは、イーサネット(登録商標)によって1対1で接続された複数の通信ノード(通信機器、図中、ノードと表記)10−1〜10−4がリング状に接続される構成を有する。ここで、通信ノード10−1〜10−4間を接続するイーサネット(登録商標)ケーブルは、実線で示される図中のリング状通信システム内で右回りにフレームを運ぶ正規系リング1と、点線で示される同じく左回りにフレームを運ぶ待機系リング2との、物理的に2本のリングによって二重化されている。正規系リング1は、リング状通信システムを構成する通信ノード10−1〜10−4とケーブルが正常状態のときに使用されるリングである。また、待機系リング2は、リング状通信システムを構成する通信ノード10−1〜10−4とケーブルのうちいずれかに異常が発生した場合に、後述するようにその異常箇所をループバック処理によってシステムから分離するために使用されるリングである。
FIG. 1 is a diagram schematically showing a schematic configuration of an Ethernet (registered trademark) -based ring communication system according to the present invention. This ring communication system has a configuration in which a plurality of communication nodes (communication devices, denoted as nodes in the figure) 10-1 to 10-4 connected one-to-one by Ethernet (registered trademark) are connected in a ring shape. Have Here, the Ethernet (registered trademark) cable connecting the communication nodes 10-1 to 10-4 is connected to the
図2は、図1のリング状通信システムを構成する通信ノードの構成を模式的に示すブロック図である。この通信ノード10は、隣接する通信ノードとの間でイーサネット(登録商標)ケーブルを接続するための2つのポート11,14と、ポート11,14から受信したフレームの処理や他の通信ノード間での経路確立を行うための処理を行う通信処理部17と、を備える。
FIG. 2 is a block diagram schematically showing a configuration of a communication node constituting the ring communication system of FIG. The
ポートは、Aポート(図中、PortAと表記。)11とBポート(図中、PortBと表記。)14の2つのポートから構成される。Aポート11は、正規系リング1からのフレームを受信する正規系入力部12と、待機系リング2へフレームを送信する待機系出力部13と、を備える。また、Bポート14は、正規系リング1へフレームを送信する正規系出力部16と、待機系リング2からのフレームを受信する待機系入力部15と、を備える。なお、Aポート11は、特許請求の範囲の第1のポートに対応し、Bポート14は、同じく第2のポートに対応している。
The port is composed of two ports, an A port (indicated as Port A in the figure) 11 and a B port (indicated as Port B in the figure) 14. The
通信処理部17は、Aポート11の正規系入力部で受信した正規系リング1からのフレームを一端読み込み、必要がある場合には所定の処理を行ってからBポート14の正規系出力部から正規系リング1に送信する一方、Bポート14の待機系入力部で受信した待機系リング2からのフレームは読み込まずにそのままAポート11の待機系出力部へと送信する。より具体的には、正常時においてBポート14から出力するフレームに対してのみ、必要がある場合には所定の処理を行い、通信ノード内でBポート14からAポート11に流れるフレームについては何の処理も行われない。
The
このようなイーサネット(登録商標)ベースのリング状通信システムにおける通常状態での通信は、正規系リング1に各通信ノード10−1〜10−4が通信権を取得するためのトークンフレームを用いて行われる。通信を行いたい通信ノード10は、正規系リング1中に流れているトークンフレームを、Aポート11の正規系入力部12で受信することによって、通信権を取得する。通信権を取得した通信ノード10は、トークンフレームに代えて、送信したいデータフレームをBポート14の正規系出力部16から正規系リング1に送出する。データフレームの送出が終了すると、トークンフレームをBポート14の正規系出力部16から正規系リング1に戻し、他の通信ノード10が通信を行える状態へと戻す。
Communication in a normal state in such an Ethernet (registered trademark) -based ring communication system uses a token frame for each communication node 10-1 to 10-4 to acquire a communication right in the
以上が、以下に説明する各実施の形態に共通するイーサネット(登録商標)ベースのリング状通信システムの概要である。以下、この内容に基づいて、各実施の形態の説明を行う。なお、以下の説明では、通信ノード10−1,10−2,10−3,10−4をそれぞれ1局、2局、3局、4局と表記する。 The above is the outline of the Ethernet (registered trademark) -based ring communication system common to the embodiments described below. Hereinafter, each embodiment will be described based on this content. In the following description, the communication nodes 10-1, 10-2, 10-3, and 10-4 are represented as 1 station, 2 stations, 3 stations, and 4 stations, respectively.
また、この明細書では、説明の簡略化のため、リング状通信システムが4台の通信ノード10−1〜10−4によって構成される場合を例に挙げて説明するが、複数台の通信ノード10がイーサネット(登録商標)でリング状に接続される構成のものであれば、以下の実施の形態を適用することができる。 Also, in this specification, for the sake of simplicity of explanation, a case where the ring communication system is configured by four communication nodes 10-1 to 10-4 will be described as an example. As long as 10 is configured to be connected in a ring shape with Ethernet (registered trademark), the following embodiment can be applied.
実施の形態1.
この実施の形態1では、図1に示されるイーサネット(登録商標)ベースのリング状通信システムの一部に故障やケーブルの誤接続が発生した場合のループバック処理について説明する。
In the first embodiment, a loopback process will be described in the case where a failure or an erroneous cable connection occurs in a part of the Ethernet (registered trademark) -based ring communication system shown in FIG.
<故障が発生した場合>
図3は、リング状通信システムで故障が発生した状態を模式的に示す図である。図1に示すように、1局〜4局の通信ノード10−1〜10−4がリング状に接続されたネットワークで、正規系リング1を用いた通常の通信が行われている際に、図3に示されるように3局10−3と4局10−4との間でケーブル断が発生したとする。この場合、4局10−4の通信処理部17は、4局10−4のAポート11−4で3局10−3からの信号を受信しない状態が所定の時間以上続くことによって、3局10−3との間のケーブルに故障が発生したと判定し、Bポート14−4の待機系入力部と正規系出力部とを接続するループバックを行う。ここで、リング状通信システムを構成する各通信ノード(局)10−1〜10−4は、フレームを受信しない時間によって故障が発生したと判定する基準値が全て同じであるため、3局10−3と4局10−4との間のケーブル断が発生した後、最初に異常を検出するのは、正規系リング1の故障箇所に最も近い4局10−4である。その結果、4局10−4がループバック処理を行うことになる。そして、3局10−3と4局10−4との間でケーブル断が発生したことを示す異常通知信号を送信する。3局10−3の通信処理部17は、異常通知信号を受信すると、3局10−3と4局10−4との間のケーブル断が発生したことを知り、Bポート14−3側にフレームを出力しないように、Aポート11−3の正規系入力部と待機系出力部とを接続するループバックを行う。
<If a failure occurs>
FIG. 3 is a diagram schematically showing a state in which a failure has occurred in the ring communication system. As shown in FIG. 1, when normal communication using the
以上の処理によって、3局10−3と4局10−4が伝送路をループバックし、待機系リング2を使用して、故障箇所の3局10−3と4局10−4との間のケーブルを切り離した新たなリングが再構成され、その後、各局の通信が再開される。なお、以後の処理において、3局10−3の通信処理部17−3は、Aポート11−3の正規系入力部で受信した正規系リング1からのフレームを一端読み込んで、所定の処理を行った後に同じAポート11−3の待機系出力部から待機系リング2へ出力し、4局10−4の通信処理部17−4は、Bポート14−4の待機系入力部で受信した待機系リング2からのフレームを一端読み込み、所定の処理を行ってから同じBポート14の正規系出力部へと送信する処理を行うことになる。
Through the above processing, the third station 10-3 and the fourth station 10-4 loop back the transmission line, and the
なお、図3は、3局10−3と4局10−4との間のケーブル断を例に挙げてループバックの説明を行ったが、他の箇所でケーブル断が発生したり、通信ノード(局)10−1〜10−4が故障したりした場合にも、同様の手順でリングの再構成が行われる。 Note that FIG. 3 illustrates the loopback by taking the cable break between the third station 10-3 and the fourth station 10-4 as an example. Even when the (station) 10-1 to 10-4 fails, the ring is reconfigured in the same procedure.
<イーサネット(登録商標)ケーブルが誤接続された場合>
図4は、リング状通信システムのリング構成時にケーブルが誤接続された状態を模式的に示す図である。まず、通信ノード10−1〜10−4間をケーブルで接続する作業中に図4に示されるように3局10−3でのポートとケーブルとの接続を間違えたものとする。すなわち、2局10−2のBポート14−2と3局10−3のBポート14−3とが接続され、4局10−4のAポート11−4と3局10−3のAポート11−3とがケーブルで接続されてしまったものとする。
<If the Ethernet (registered trademark) cable is connected incorrectly>
FIG. 4 is a diagram schematically showing a state where cables are erroneously connected in the ring configuration of the ring communication system. First, it is assumed that the connection between the port and the cable at the third station 10-3 is mistaken as shown in FIG. 4 during the operation of connecting the communication nodes 10-1 to 10-4 with the cable. That is, the B port 14-2 of the second station 10-2 and the B port 14-3 of the third station 10-3 are connected, and the A port 11-4 of the fourth station 10-4 and the A port of the third station 10-3. It is assumed that 11-3 is connected with a cable.
ケーブルの接続完了後、各通信ノード10−1〜10−4の通信処理部17−1〜17−4は、自通信ノードの接続ポートと隣接する通信ノードの接続ポートとが正常に接続されているか、具体的には、自通信ノードのAポート11と隣接する通信ノードのポートB14とが接続され、自通信ノードのBポート14と隣接する通信ノードのAポート11とが接続されているかを、所定の規則に則って行われるネゴシエーションによって確認する。このとき、2局10−2の通信処理部17−2は、自局のBポート14−2が3局10−3のBポート14−3と接続されていることをネゴシエーションで知り、3局10−3との接続ポートが間違っていることを認識する。同様に、4局10−4の通信処理部17−4も、自局のAポート11−4が3局10−3のAポート11−3と接続されていることをネゴシエーションで知り、3局10−3との接続ポートが間違っていることを認識する。
After the cable connection is completed, the communication processing units 17-1 to 17-4 of the communication nodes 10-1 to 10-4 are normally connected to the connection port of the own communication node and the connection port of the adjacent communication node. Specifically, it is determined whether A
接続ポートの誤接続を認識した通信ノードの通信処理部17は、誤接続されたポートでないポートのループバック処理を行う。つまり、2局10−2の通信処理部17−2は、Aポート11−2でループバックを行い、4局10−4の通信処理部17−4は、Bポート14−4でループバックを行う。
The
以上により、誤接続の原因となる3局10−3を切り離したリングが構成される。その後は、このリングによって通常の通信が実施される。 As described above, a ring is formed by disconnecting the three stations 10-3 that cause an erroneous connection. Thereafter, normal communication is performed by this ring.
この実施の形態1によれば、リング状通信システムを構成する通信ノード10やケーブルが故障した場合でも、ループバックを行って故障箇所を切り離すことができるので、耐故障性のある信頼性の高いリング状通信システムを実現することができるという効果を有する。また、リング状に通信ノード10を接続することによって、スタートポロジやバストポロジの接続形態に必要な中継器を用いる必要がないので、中継器の障害の発生による全通信ノード10の通信不能な状態を解消することができ、中継器に通信伝文が集中する事態を避けることができる。さらに、中継器を削減できるので、システム構築時のコストを低減することができるという効果も有する。また、ネットワーク構築時の誤接続を発見し、誤接続のある部分を切り離すことができるので、システム構築を容易にすることができるという効果も有する。
According to the first embodiment, even when the
実施の形態2.
この実施の形態2では、各通信ノードのポート間をイーサネット(登録商標)ケーブルで正確に接続した状態の後に行われるリングの接続状態を確認する方法について説明する。たとえば、図1に示されるように1局10−1〜4局10−4が正常に接続された後に、リングの構成を行うために、各通信ノードの電源が入れられる。このとき、全ての通信ノード10−1〜10−4が同時に電源ONの状態になればよいが、そうでない場合も生じ得る。たとえば、3局10−3が電源系統の故障によって、電源ONとしたにもかかわらず立ち上がらない場合もある。このような場合には、2局10−2のAポート11−2と4局10−4のBポート14−4でループバックを行わなければならない。このように、各通信ノード10−1〜10−4の電源投入直後にリング状通信システム内の通信ノード10−1〜10−4によってリング状の経路が構成されたか否かを確認するリング確立確認処理の手順を以下に説明する。
In the second embodiment, a method for confirming a ring connection state performed after a state in which ports of communication nodes are accurately connected with an Ethernet (registered trademark) cable will be described. For example, as shown in FIG. 1, after the first station 10-1 to the fourth station 10-4 are normally connected, the power of each communication node is turned on in order to configure the ring. At this time, all the communication nodes 10-1 to 10-4 need only be turned on at the same time. For example, there is a case where the third station 10-3 does not start up due to a failure of the power supply system even though the power is turned on. In such a case, loopback must be performed at the A port 11-2 of the second station 10-2 and the B port 14-4 of the fourth station 10-4. In this way, the ring establishment for confirming whether or not a ring-shaped route is configured by the communication nodes 10-1 to 10-4 in the ring communication system immediately after the communication nodes 10-1 to 10-4 are powered on. The confirmation processing procedure will be described below.
図5は、この実施の形態2による通信ノードの機能構成を模式的に示すブロック図である。この実施の形態2の通信ノード10の通信処理部17は、リング確立確認フレーム発行部21、フレーム巡回時間算出部22、フレーム巡回時間記憶部23およびリング確立判定部24を含む。なお、上述した説明と同一の構成要素には同一の符号を付して、その説明を省略している。
FIG. 5 is a block diagram schematically showing a functional configuration of the communication node according to the second embodiment. The
リング確立確認フレーム発行部21は、電源投入後にリング状通信システムにおいてリング状の経路(以下、単にリングという)が確立されているかを確認するリング確立確認フレームを、所定の時間ごとに発行する。リング確立確認フレームには、このリング確立確認フレームを発行した時刻が埋め込まれる。また、リング確立確認フレーム発行部21は、自身が送信したリング確立確認フレームを受信すると、それ以降のリング確立確認フレームの発行を停止するとともに、受信したリング確立確認フレームを廃棄する。
The ring establishment confirmation
フレーム巡回時間算出部22は、自通信ノードが発行したリング確立確認フレームがAポート11から戻ってきた際に、リング確立確認フレームを受信した時刻と、そのリング確立確認フレームに埋め込まれた発行時刻との差を算出し、リング確立確認フレームがリングを巡回した時間であるフレーム巡回時間を求め、フレーム巡回時間記憶部23に記憶する。
When the ring establishment confirmation frame issued by the communication node returns from the
リング確立判定部24は、最後に自通信ノードまたは他の通信ノードが発行したリング確立確認フレームを受信してから、フレーム巡回時間以上の時間、ネットワーク上にリング確立確認フレームが検出されない状態が続いたか否かを判定し、その状態がフレーム巡回時間以上続いた場合には、リングの接続を全通信ノード10が認識したと判定する。
Since the ring
図6−1〜図6−6は、リング状通信システムにおけるリング確立確認処理の手順の一例を模式的に示す図である。まず、1局10−1の通信処理部17−1のリング確立確認フレーム発行部21は、発行時刻を埋め込んだリング確立確認フレームをBポート14−1から正規系リング1に送出する(図6−1)。ここでは、1局10−1は、時刻T1に第1のリング確立確認フレーム201−1を送出し、時刻T1から所定の時間が経過した時刻T2に第2のリング確立確認フレーム201−2を正規系リング1に送出したものとする。
FIGS. 6-1 to 6-6 are diagrams schematically illustrating an example of the procedure of the ring establishment confirmation process in the ring communication system. First, the ring establishment confirmation
その後、1局10−1は、自身が送出したリング確立確認フレームを受信していないので、時刻T3,T4にそれぞれ第3と第4のリング確立確認フレーム201−3,201−4をさらに正規系リング1に送出する。その後、1局10−1が最初に発行した第1のリング確立確認フレーム201−1が何らかの原因により、4局10−4と1局10−1との間で消失したものとする(図6−2)。なお、1局10−1以外の通信ノード10−2〜10−3は、1局10−1からのリング確立確認フレーム201−1〜201−4をそのまま通過させる。
Thereafter, since the first station 10-1 has not received the ring establishment confirmation frame transmitted by itself, the third station and the fourth ring establishment confirmation frames 201-3 and 201-4 are further normalized at times T3 and T4, respectively. Send to
ついで、1局10−1は、Aポート11−1で自身が発行した第2のリング確立確認フレーム201−2を受信し、その受信時刻T6を記憶する。1局10−1の通信処理部17−1のフレーム巡回時間算出部22は、第2のリング確立確認フレーム201−2の受信時刻T6から、そのフレームに埋め込まれた発行時刻T2を差し引いたフレーム巡回時間T(=T6−T2)を算出する(図6−3)。算出したフレーム巡回時間は、フレーム巡回時間記憶部23に記憶される。また、1局10−1の通信処理部17−1のリング確立確認フレーム発行部21は、戻ってきた第2のリング確立確認フレーム201−2をネットワーク上から廃棄する。さらに、1局10−1の通信処理部17−1のリング確立確認フレーム発行部21は、自身が発行したリング確立確認フレームを最初に受信したので、それ以降はリング確立確認フレームの発行を停止する(図6−4)。なお、この時点までに、1局10−1は、第5のリング確立確認フレーム201−5まで発行している。
Then, the first station 10-1 receives the second ring establishment confirmation frame 201-2 issued by itself at the A port 11-1, and stores the reception time T6. The frame cyclic
その後、1局10−1は、順に自局が発行したリング確立確認フレームを受信して廃棄する処理を行い、最後に発行した第5のリング確立確認フレーム201−5を受信し、廃棄することで、ネットワーク(リング)上から1局10−1が発行したリング確立確認フレーム201−1〜201−5はなくなる(図6−5)。以上の図6−1〜図6−5までの処理は、他の2局10−2〜4局10−4でも同時に行われる。 Thereafter, the first station 10-1 sequentially receives and discards the ring establishment confirmation frame issued by itself, and receives and discards the last issued fifth ring establishment confirmation frame 201-5. Thus, the ring establishment confirmation frames 201-1 to 201-5 issued by the first station 10-1 from the network (ring) disappear (FIG. 6-5). The processes from FIG. 6-1 to FIG. 6-5 are performed simultaneously in the other two stations 10-2 to 4-4.
1局10−1の通信処理部17−1のリング確立判定部24は、図6−5でネットワーク上から1局10−1が発行した全てのリング確立確認フレーム201−1〜201−5が廃棄されると、図6−3で求めたフレーム巡回時間以上、ネットワーク上に全くリング確立確認フレームが流れないかの計測を開始する。つまり、タイマにフレーム巡回時間をセットし、タイムアウトとなるまでに他の通信ノード10−2〜10−4が送出したリング確立確認フレームを検出したか否かを判定する。なお、この判定中に、他の通信ノード10−2〜10−4が送出したリング確立確認フレームを受信するたびに、タイマをセットし直す。これは、自局のリングの確立を確認するだけでなく、他局も同様にリングの確立を確認したという事実を得るためである。そして、リング確立判定部24によって、リング確立確認フレームを最後に観測した時間から、フレーム巡回時間T以上の間、ネットワーク(リング)にリング確立確認フレームが観測されない状態が続いた場合に、ネットワーク上の他の全ての通信ノード10−1〜10−4も同様にネットワークの接続の構成(リングの確立)を認識できたと判定する(図6−6)。
The ring
なお、上述した説明では、各局は、自局が発行したリング確立確認フレームのうち最初に戻ってきたリング確立確認フレームを用いてフレーム巡回時間の算出を行う場合を示したが、戻ってきたすべてのリング確立確認フレームについて巡回時間を算出し、それらの平均値や最大値などをタイマにセットするフレーム巡回時間としてもよい。 In the above description, each station has shown the case where the frame establishment time is calculated using the ring establishment confirmation frame returned first among the ring establishment confirmation frames issued by the own station. The cyclic time may be calculated for the ring establishment confirmation frame, and the average value or the maximum value may be set as the frame cyclic time in the timer.
この実施の形態2によれば、リング状に通信ノードを接続した場合に、リング確立確認フレームの受信時間とその発行時間を用いてフレーム巡回時間を算出し、ネットワーク上を最後に流れたリング確立確認フレームからフレーム巡回時間以上の間、リング確立確認フレームが流れなかった場合に、フレームを巡回したネットワーク上の全ての通信ノード10がリング接続の構成を認識することができたと判断するようにしたので、リング状に接続された通信ノード10の台数に応じてフレーム巡回時間を設定することができるという効果を有する。これは、たとえば、一台の通信ノード当たりのフレームの通過時間を予め設定し、これにリング状通信システムを構成する通信ノード10の台数と誤差を排除するための安全率を掛けた値をタイマ設定値とした場合に比して、各通信ノード10がネットワークの接続の構成の認識を判定する時間を短くすることができるという効果を有する。
According to the second embodiment, when communication nodes are connected in a ring shape, the frame establishment time is calculated by using the reception time of the ring establishment confirmation frame and the issuing time thereof, and the ring establishment last flowing on the network When no ring establishment confirmation frame has flowed for more than the frame circulation time from the confirmation frame, it is determined that all
実施の形態3.
実施の形態2では、リング確立確認フレームを発行した通信ノードが、自分のリング確立確認フレームを受信すると、廃棄する(終端する)ようにしていた。この実施の形態2のリング確立確認処理の最中に、いずれかの通信ノードに故障が発生しネットワークからその通信ノードが落ちて(解列して)しまうと、その通信ノードを排除するようにループバックが行われ新たなリングが構成される。このとき、新たなリング中に解列した通信ノードが発行したリング確立確認フレームが残ってしまう可能性がある。この実施の形態3では、このような場合の処理の方法について説明する。
In the second embodiment, when a communication node that has issued a ring establishment confirmation frame receives its own ring establishment confirmation frame, it is discarded (terminated). If a failure occurs in one of the communication nodes during the ring establishment confirmation process of the second embodiment and the communication node drops (disconnects) from the network, the communication node is excluded. Loopback is performed to form a new ring. At this time, there is a possibility that the ring establishment confirmation frame issued by the communication node disconnected in the new ring remains. In the third embodiment, a processing method in such a case will be described.
図7は、この実施の形態3による通信ノードの機能構成を模式的に示すブロック図である。この実施の形態3の通信ノードの通信処理部17は、実施の形態2の図5において、受信フレーム情報管理部31と受信フレーム情報記憶部32をさらに備える構成を有する。
FIG. 7 is a block diagram schematically showing a functional configuration of the communication node according to the third embodiment. The
受信フレーム情報管理部31は、Aポート11から受信した他の通信ノード10が発行したリング確立確認フレームをリピートするごとに、そのリング確立確認フレームについて、その送信元通信ノード、フレームを識別するシリアル番号などのフレーム識別情報、およびフレームの発行時刻(またはフレームの受信時刻)を含む受信フレーム情報を取得し、受信フレーム情報記憶部32に記憶されている受信フレーム情報と照合する。そして、受信したリング確立確認フレームが、過去に受信したものと同一のものでない場合(つまり、新たに発行されたものである場合)には、その送信元通信ノードの受信フレーム情報として受信フレーム情報記憶部32に上書きして記憶する。一方、受信したリング確立確認フレームが、過去に受信したものである場合には、そのリング確立確認フレームを廃棄する。
Each time the reception frame
受信フレーム情報記憶部32は、ネットワークに接続されるそれぞれの通信ノード10についての受信フレーム情報を記憶する。たとえば、実施の形態2で説明したように、ある通信ノード10が所定の時間ごとに発行するリング確立確認フレームを受信する場合には、それぞれシリアル番号が異なる(1つずつ番号が増加していく)ので、新たなリング確立確認フレームの受信フレーム情報が上書きされていく。
The reception frame
また、リング確立確認フレーム発行部21は、リング確立確認フレーム中に、フレームを識別するシリアル番号などのフレーム識別情報も埋め込む機能を有する。フレーム識別情報がシリアル番号である場合には、たとえば所定の時間ごとに発行するリング確立確認フレームに1ずつ増加させたシリアル番号を埋め込むなどの処理を行う。なお、上述した説明と同一の構成要素には同一の符号を付して、その説明を省略している。
The ring establishment confirmation
図8−1〜図8−4は、リングの接続状態の確認処理中に故障の発生によってネットワークから解列した通信ノードが発行したリング確立確認フレームを廃棄する処理手順の一例を模式的に示す図である。3局10−3の通信処理部17−3のリング確立確認フレーム発行部21は、時刻T1,T2に、シリアル番号がそれぞれ「No.1」と「No.2」の第1と第2のリング確立確認フレーム202−1,202−2を発行し、それらのフレームがリング上を巡回している(図8−1)。
8A to 8D schematically illustrate an example of a processing procedure for discarding a ring establishment confirmation frame issued by a communication node disconnected from the network due to the occurrence of a failure during the ring connection state confirmation process. FIG. The ring establishment confirmation
図9−1は、図8−1の状態で4局が保持する受信フレーム情報の一例を示す図であり、図9−2は、図8−1の状態で1局が保持する受信フレーム情報の一例を示す図である。受信フレーム情報として、リング確立確認フレームの送信元である通信ノード名と、フレーム識別情報としてリング確立確認フレームに埋め込まれたシリアル番号と、そのリング確立確認フレームの発行時刻とが記憶される例が示されている。なお、ノード名として、世界でユニークなMAC(Media Access Control)アドレスを用いることも可能である。図9−1に示されるように、4局10−4では、第1と第2のリング確立確認フレーム202−1,202−2を順に受信しているが、第2のリング確立確認フレーム202−2が最も新しいものであるので、第2のリング確立確認フレーム202−1についての受信フレーム情報が記憶されている。一方、図9−2に示されるように、1局10−1では、第1のリング確立確認フレーム202−1だけを受信しているので、その受信フレーム情報が記憶されている。ここでは、4局10−4と1局10−1のみを説明したが、他局も同様にBポート14から送出するリング確立確認フレームについての受信フレーム情報を取得して記憶する。
9-1 is a diagram illustrating an example of received frame information held by four stations in the state of FIG. 8-1, and FIG. 9-2 is received frame information held by one station in the state of FIG. It is a figure which shows an example. An example of storing the communication node name that is the transmission source of the ring establishment confirmation frame as the received frame information, the serial number embedded in the ring establishment confirmation frame as the frame identification information, and the issue time of the ring establishment confirmation frame is stored. It is shown. It is also possible to use a MAC (Media Access Control) address unique in the world as the node name. As shown in FIG. 9A, the 4th station 10-4 receives the first and second ring establishment confirmation frames 202-1 and 202-2 in order, but the second ring establishment confirmation frame 202 is received. -2 is the newest, the received frame information for the second ring establishment confirmation frame 202-1 is stored. On the other hand, as shown in FIG. 9B, since the first station 10-1 receives only the first ring establishment confirmation frame 202-1, the received frame information is stored. Here, only the 4th station 10-4 and the 1st station 10-1 have been described, but the other stations also acquire and store received frame information regarding the ring establishment confirmation frame transmitted from the
その後、3局10−3に故障が発生したものとする。これにより、2局10−2のBポート14−2と4局10−4のAポート11−4は、ケーブルが光ファイバである場合には3局10−3から光が来ないこと、またケーブルが電線である場合には3局10−3から電気信号が来ないことを検出して、3局10−3に故障が発生したことを検出する。そして、実施の形態1で説明したように、2局10−2はAポート11−2でループバックを行い、4局10−4はBポート14−4でループバックを行う(図8−2)。これにより、3局10−3が発行したリング確立確認フレームは、ループバックによって確立された新たなリング内に取り残された状態となる。そして、図8−2に示されるように、第1のリング確立確認フレームは、待機系リング2を流れることになる。
Thereafter, it is assumed that a failure has occurred in the third station 10-3. As a result, the B port 14-2 of the second station 10-2 and the A port 11-4 of the fourth station 10-4 do not receive light from the third station 10-3 when the cable is an optical fiber. When the cable is an electric wire, it is detected that an electrical signal does not come from the third station 10-3, and a failure has occurred in the third station 10-3. As described in the first embodiment, the second station 10-2 performs a loopback at the A port 11-2, and the fourth station 10-4 performs a loopback at the B port 14-4 (FIG. 8-2). ). As a result, the ring establishment confirmation frame issued by the third station 10-3 is left in the new ring established by the loopback. Then, as shown in FIG. 8B, the first ring establishment confirmation frame flows through the
ついで、4局10−4のBポート14−4で第1のリング確立確認フレーム202−1を受信し、ループバック状態にあるのでBポート14から第1のリング確立確認フレーム202−1の送信を行う状態となる。この送信の前に、4局10−4の通信処理部17−4の受信フレーム情報管理部31は、第1のリング確立確認フレーム202−1を受信すると、上述したようにその受信フレーム情報を取得し、その受信フレーム情報を、受信フレーム情報記憶部32に記憶されている対応する3局10−3の受信フレーム情報と照合する。このとき、受信した第1のリング確立確認フレーム202−1のシリアル番号は「No.1」であるが、図9−1に示されるように、記憶されている受信フレーム情報のシリアル番号は「No.2」であるので、受信フレーム情報管理部31は、受信した第1のリング確立確認フレーム202−1は過去にリピートしたリング確立確認フレームと認識して、そのフレームの廃棄を行う(図8−3)。
Next, the first ring establishment confirmation frame 202-1 is received by the B port 14-4 of the four station 10-4, and since it is in a loopback state, the first ring establishment confirmation frame 202-1 is transmitted from the
同様に、4局10−4の通信処理部17の受信フレーム情報管理部31は、受信した第2のリング確立確認フレーム202−2についても、そのシリアル番号は「No.2」であるが、図9−1に示されるように、記憶されている受信フレーム情報のシリアル番号は「No.2」であるので、受信フレーム情報管理部31は、受信した第2のリング確立確認フレーム202−2は過去にリピートしたリング確立確認フレームと認識して、そのフレームの廃棄を行う(図8−4)。以上により、3局10−3が解列したことによって、新たなリングに取り残された3局10−3の発行したリング確立確認フレームの除去処理が行われる。
Similarly, the received frame
なお、図8−3で、待機系リング2を流れる第1と第2のリング確立確認フレーム202−1,202−2を受信した1局10−1が廃棄処理を行わないのは、最初に説明したように、Bポート14−1から送出するフレームに対してのみをフィルタをかける処理を行い、通信ノード内でBポート14−1からAポート11−1へ流れるデータフレームを読み込まずに流すだけであるという仮定によるものである。
In FIG. 8C, the first station 10-1 that has received the first and second ring establishment confirmation frames 202-1 and 202-2 flowing through the
また、これは一例であり、Aポート11から送出されるデータフレームとBポート14から送出されるデータフレームの両方に対して、廃棄処理を行うようにしてもよい。この場合には、それぞれのポートから送信されるリング確立確認フレームについての受信フレーム情報が記憶されることになる。このような構造を有する通信ノードであれば、図8−3で1局10−1が第1と第2のリング確立確認フレーム202−1,202−2の廃棄処理を実行することが可能となる。ただし、Aポート11とBポート14の両方のポートから送信されるデータフレームについて廃棄を行うか否かの処理を行うと、ケーブルの伝送速度が大きい場合に、この処理に時間がかかり、ケーブルの伝送速度に比べて処理速度が遅くなってしまい、全体としての通信速度も遅くなってしまう可能性がある。
This is only an example, and discard processing may be performed on both the data frame transmitted from the
さらに、フレーム識別情報が上述した例のように、1ずつ増加していくシリアル番号の場合には、シリアル番号を用いてリング確立確認フレームの新旧を判断することが可能であるので、受信フレーム情報には時間(発行時刻など)は必要ない。しかし、フレーム識別情報が他の記号やランダムな値によって形成される場合には、受信フレーム情報に、時間(発行時刻など)を含めて記憶する必要がある。時間情報が加わることで、受信したリング確立確認フレームの新旧判断を行うことが可能となるからである。 Furthermore, when the frame identification information is a serial number that is incremented by one as in the above-described example, it is possible to determine whether the ring establishment confirmation frame is new or old by using the serial number. Does not require time (issue time, etc.). However, when the frame identification information is formed by other symbols or random values, it is necessary to store the received frame information including time (issue time, etc.). This is because the addition of time information makes it possible to determine whether the received ring establishment confirmation frame is new or old.
この実施の形態3によれば、リング確立確認処理の最中に、いずれかの通信ノード10に故障が発生しネットワークからその通信ノード10が解列して、新たなリングが構成された後に、そのリング中に残った解列した通信ノード10が発行したリング確立確認フレームを廃棄するようにしたので、解列した通信ノード10の不要なフレームがリング上に滞留することを防ぐことができるという効果を有する。
According to the third embodiment, during a ring establishment confirmation process, after any
実施の形態4.
実施の形態2では、最後にリング確立確認フレームを検出してから、フレーム巡回時間以上の時間の間にリング確立確認フレームが検出されなかった場合に、リングの接続状態の確認が行われるようになっていた。ところで、実施の形態2のリング確立確認処理の途中で、いずれかの通信ノードに故障が発生しネットワークからその通信ノードが解列してしまうと、その通信ノードを排除するようにループバックが行われる。実施の形態3では、ループバックが行われた新たなリングから、排除された通信ノードによって発行されたリング確立確認フレームを排除する方法について説明した。しかし、上述した実施の形態2,3では、ループバックがされた後のリング確立確認処理については述べられていない。そこで、この実施の形態4では、ループバックがされた後のリング確立確認処理を行う方法について説明する。
In the second embodiment, when a ring establishment confirmation frame is not detected within a time equal to or longer than the frame circulation time after the last detection of the ring establishment confirmation frame, the connection state of the ring is confirmed. It was. By the way, when a failure occurs in one of the communication nodes and the communication node is disconnected from the network during the ring establishment confirmation process of the second embodiment, a loopback is performed so as to exclude the communication node. Is called. In the third embodiment, the method of excluding the ring establishment confirmation frame issued by the excluded communication node from the new ring that has been looped back has been described. However, in the second and third embodiments described above, the ring establishment confirmation process after the loopback is not described. Therefore, in the fourth embodiment, a method for performing the ring establishment confirmation process after the loopback is performed will be described.
この実施の形態4の通信ノードは、実施の形態3の図7と同じ構成を有する。ただし、リング確立確認フレーム発行部21は、リング確立確認フレームに、発行時刻とフレームを識別する識別番号のほかに、リング確立確認フレームの発行時に、自通信ノード10が通常のAポート11とBポート14で送受信可能な状態(以下、スルー状態という)にあるのか、ループバック状態にあるのかを示す経路状態情報を埋め込んで送信する機能をさらに有する。なお、ループバック状態の場合には、Aポート11とBポート14のどちらでループバックを行っているのかを示す情報も含まれる。また、リング確立確認フレーム発行部21は、自通信ノード10が発行したリング確立確認フレームを受信すると、フレーム中の経路状態情報が現在の経路状態と同じである場合には、リング確立確認フレームの発行を停止するが、フレーム中の経路状態情報が現在の経路状態と異なるものである場合には、リング確立確認フレームの発行を引き続き行うとともに、その場合にはフレーム巡回時間算出部によるフレーム巡回時間の算出処理を行わせない機能も有する。
The communication node according to the fourth embodiment has the same configuration as that of the third embodiment shown in FIG. However, the ring establishment confirmation
図10−1〜図10−5は、ループバックが発生した後に形成された新たなリングの接続状態の確認処理の手順の一例を模式的に示す図である。これらの図10−1〜図10−5では4局10−4がリングの確立を確認する場合に焦点を当てた状態を示している。まず、1局10−1〜4局10−4とも全て故障が発生していない正常状態にあり、どの通信ノード10−1〜10−4もスルー状態にある。4局10−4の通信処理部17−4のリング確立確認フレーム発行部21は、時刻T1,T2に、シリアル番号がそれぞれ「No.1」と「No.2」で、経路状態情報がそれぞれ「スルー」と「スルー」である情報を埋め込んだ第1と第2のリング確立確認フレーム203−1,203−2を発行したものとする(図10−1)。
FIGS. 10-1 to 10-5 are diagrams schematically illustrating an example of a procedure for confirming a connection state of a new ring formed after a loopback has occurred. FIGS. 10-1 to 10-5 show a focused state when the four stations 10-4 confirm the establishment of the ring. First, all of the first station 10-1 to the fourth station 10-4 are in a normal state where no failure has occurred, and all the communication nodes 10-1 to 10-4 are in a through state. The ring establishment confirmation
その後、3局10−3に故障が発生したものとする。これにより、2局10−2のBポート14−2と4局10−4のAポート11−4は、3局10−3に故障が発生したことを検出して、実施の形態1で説明したように、2局10−2はAポート11−2でループバックを行い、4局10−4はBポート14−4でループバックを行う。これにより、2局10−2の経路状態は、Aポート11−2でループバックを行う「Loop−A」となり、4局10−4の経路状態は、Bポート14−4でループバックを行う「Loop−B」となる。第2のリング確立確認フレーム203−2の発行後所定の時間が経過した時刻T3になると、4局10−4のリング確立確認フレーム発行部21は、シリアル番号が「No.3」で経路状態情報が「Loop−B」である情報を埋め込んだ第3のリング確立確認フレーム203−3を発行する(図10−2)。なお、3局10−3が発行したリング確立確認フレームが、ループバックによって新たに構成されたリング内に取り残された場合には、上述した実施の形態3の手順によって廃棄される。
Thereafter, it is assumed that a failure has occurred in the third station 10-3. As a result, the B port 14-2 of the second station 10-2 and the A port 11-4 of the fourth station 10-4 detect that a failure has occurred in the third station 10-3, and are described in the first embodiment. As described above, the second station 10-2 performs a loopback at the A port 11-2, and the fourth station 10-4 performs a loopback at the B port 14-4. As a result, the route state of the second station 10-2 becomes “Loop-A” which is looped back at the A port 11-2, and the route state of the fourth station 10-4 is looped back at the B port 14-4. “Loop-B”. At time T3 when a predetermined time has elapsed after the second ring establishment confirmation frame 203-2 is issued, the ring establishment confirmation
その後、4局10−4の通信処理部17−4のリング確立確認フレーム発行部21は、自局が発行した経路状態情報が「スルー」である第1のリング確立確認フレーム203−1を受信するが、現在の自局の経路状態はBポート14のループバック状態である「Loop−B」であり、両者が一致しないので、引き続いて、所定の時間ごとにリング確立確認フレームの発行を行う(図10−3)。また、受信した第1のリング確立確認フレーム203−1を廃棄する。その後、第2のリング確立確認フレーム203−2を受信した場合も同様である。
Thereafter, the ring establishment confirmation
さらに時間が経過して、4局10−4の通信処理部17のリング確立確認フレーム発行部21は、自局が発行した経路状態情報が「Loop−B」である第3のリング確立確認フレーム203−3を受信すると、現在の自局の経路状態である「Loop−B」と一致するので、リング確立確認フレームの発行を停止する(図10−4)。この第3のリング確立確認フレーム203−3を用いて、フレーム巡回時間算出部22は、実施の形態2で説明した手順でフレーム巡回時間を算出する。その後、受信した第3のリング確立確認フレーム203−3を廃棄する。
As time further elapses, the ring establishment confirmation
その後、4局10−4は、自局が発行したシリアル番号が「No.4」であり経路状態情報が「Loop−B」である第4のリング確立確認フレーム203−4と、シリアル番号が「No.5」であり経路状態情報が「Loop−B」である第4のリング確立確認フレーム203−5を順に受信した後に、それぞれを廃棄する(図10−5)。その後は、実施の形態2の図6−5〜図6−6で説明したように、リング確立確認フレームを最後に観測してからフレーム巡回時間以上の時間が経過することを確認することによって、ループバックがされた後のリングの接続状態の確認処理が終了する。 Thereafter, the fourth station 10-4 has a fourth ring establishment confirmation frame 203-4 in which the serial number issued by the own station is “No. 4” and the path state information is “Loop-B”, and the serial number is After sequentially receiving the fourth ring establishment confirmation frame 203-5, which is “No. 5” and whose path state information is “Loop-B”, each frame is discarded (FIG. 10-5). Thereafter, as described in FIGS. 6-5 to 6-6 of the second embodiment, by confirming that the time equal to or longer than the frame circulation time has elapsed since the last observation of the ring establishment confirmation frame, The process for confirming the connection state of the ring after the loopback is completed.
この実施の形態4によれば、リングの接続状態の確認処理中に故障が発生して解列した通信ノード10が発生して、リング構成が変更してしまった場合でも、新たなリングの接続状態に対応して、必ずネットワークに参加している通信ノード10の少なくとも1台が、最終的なネットワークの伝送路を経由して自通信ノード10の発行したリング確立確認フレーム203を受信できるので、リング構成中にさらに複数台の通信ノード10の参入離脱が行われてもリング構成が可能となるという効果を有する。
According to the fourth embodiment, even when a
実施の形態5.
図11−1〜図11−3は、リング確立の確認処理中に起き得る問題となる状態を示す図である。まず、1局10−1〜4局10−4が正常な状態で接続された状態にあるものとする。そして、3局10−3の通信処理部17−3のリング確立確認フレーム発行部21は、時刻T1,T2に、それぞれ「No.1」と「No.2」のシリアル番号が埋め込まれた第1と第2のリング確立確認フレーム204−1,204−2を発行したものとする(図11−1)。
Embodiment 5 FIG.
FIG. 11A to FIG. 11C are diagrams illustrating a problem that may occur during the ring establishment confirmation process. First, it is assumed that the first station 10-1 to the fourth station 10-4 are connected in a normal state. Then, the ring establishment confirmation
その後、3局10−3に故障が発生したものとする。これにより、2局10−2のBポート14−2と4局10−4のAポート11−4は、3局10−3に故障が発生したことを検出して、実施の形態1で説明したように、2局10−2はAポート11でループバックを行い、4局10−4はBポート14−4でループバックを行う。これにより、3局10−3が発行した第1と第2のリング確立確認フレーム204−1,204−2は、ループバックによって構成された新たなリング内に取り残された状態となる(図11−2)。
Thereafter, it is assumed that a failure has occurred in the third station 10-3. As a result, the B port 14-2 of the second station 10-2 and the A port 11-4 of the fourth station 10-4 detect that a failure has occurred in the third station 10-3, and are described in the first embodiment. As described above, the # 2 station 10-2 performs a loopback at the
さらにその後、3局10−3が発行した第1と第2のリング確立確認フレーム204−1,204−2が廃棄される前に、解列した3局10−3に代わり、5局10−5がネットワークに参入してきたとする。この場合、再び新たにリングの構成が行われ、2局10−2はAポート11−2でループバックした状態からスルーモードに移り、4局10−4はBポート14−4でループバックした状態からスルーモードに移る(図11−3)。その結果、待機系リング2内に3局10−3が発行した第1と第2のリング確立確認フレーム204−1,204−2が巡回することになる。これらの第1と第2のリング確立確認フレーム204−1,204−2は、通常使われない待機系リング2中を流れ、しかも各通信ノード10内でBポート14からAポート11へと流れ、フィルタがかからないので、廃棄されずに永遠に流れ続けてしまうことになる。
Further, before the first and second ring establishment confirmation frames 204-1 and 204-2 issued by the third station 10-3 are discarded, the fifth station 10- Suppose 5 has entered the network. In this case, a new ring configuration is performed again, and the second station 10-2 shifts from the loopback state at the A port 11-2 to the through mode, and the fourth station 10-4 loops back at the B port 14-4. The state is changed to the through mode (FIG. 11-3). As a result, the first and second ring establishment confirmation frames 204-1 and 204-2 issued by the third station 10-3 circulate in the
そこで、この実施の形態5では、このような問題点を解決するリング確立確認処理の方法について説明する。図12は、この実施の形態5による通信ノードの機能構成を模式的に示すブロック図である。この実施の形態5の通信ノードの通信処理部17は、実施の形態3の図7において、ループバック状態制御部51をさらに備える構成を有する。なお、上述した説明と同一の構成要素には同一の符号を付してその説明を省略している。
Therefore, in the fifth embodiment, a ring establishment confirmation processing method for solving such a problem will be described. FIG. 12 is a block diagram schematically showing a functional configuration of the communication node according to the fifth embodiment. The
ループバック状態制御部51は、自通信ノードの経路状態の遷移を示す経路状態遷移情報を記憶しておくとともに、隣接する通信ノードが解列して、新たなリングが構成され、そのリング確立確認処理が終了する前に、解列した通信ノードに代わって別の通信ノードが参入してきた場合に、解列した通信ノードが発行したリング確立確認フレームが廃棄され、最後にすべてのリング確立確認フレームがフレーム巡回時間以上の時間、検出されない状態となるまで(つまり、リング確立確認処理が終了するまで)、ループバック状態を解除させないようにポートを制御する機能を有する。
The loopback
つぎに、動作について図11−1と図13−1〜図13−2を参照して説明する。図13−1〜図13−2は、解列した通信ノードに代わって新たな通信ノードが参入した場合のリング確立確認処理の手順の一例を模式的に示す図である。まず、図11−1に示されるように、1局10−1〜4局10−4が正常な状態で接続された状態にあり、3局10−3の通信処理部17−3のリング確立確認フレーム発行部21が、時刻T1,T2に、それぞれ「No.1」と「No.2」のシリアル番号が埋め込まれた第1と第2のリング確立確認フレームを発行する。
Next, the operation will be described with reference to FIG. 11-1 and FIGS. 13-1 to 13-2. FIG. 13A to FIG. 13B are diagrams schematically illustrating an example of a procedure of the ring establishment confirmation process when a new communication node enters in place of the disconnected communication node. First, as shown in FIG. 11A, the first station 10-1 to the fourth station 10-4 are connected in a normal state, and the ring establishment of the communication processing unit 17-3 of the third station 10-3 is established. The confirmation
その後、3局10−3に故障が発生したものとする。これにより、2局10−2のBポート14−2と4局10−4のAポート11−4は、3局10−3に故障が発生したことを検出して、実施の形態1で説明したように、2局10−2はAポート11−2でループバックを行い、4局10−4はBポート14−4でループバックを行う。このとき、2局10−2と4局10−4の通信処理部17−2,17−4のループバック状態制御部51は、経路状態がスルー状態からループバック状態へと遷移したことを示す経路状態遷移情報を記憶する(図13−1)。
Thereafter, it is assumed that a failure has occurred in the third station 10-3. As a result, the B port 14-2 of the second station 10-2 and the A port 11-4 of the fourth station 10-4 detect that a failure has occurred in the third station 10-3, and are described in the first embodiment. As described above, the second station 10-2 performs a loopback at the A port 11-2, and the fourth station 10-4 performs a loopback at the B port 14-4. At this time, the loopback
さらに、3局10−3が発行した第1と第2のリング確立確認フレーム205−1,205−2が廃棄される前に、解列した3局10−3に代わり、5局10−5がネットワークに参入してきたとする。このとき、3局10−3は5局10−5がネットワークに参入してきたことを検出するが、経路状態遷移情報で、スルー状態からループバック状態へと遷移した状態にあることから、5局10−5とのリングの構成を行わない(図13−2)。つまり、図11−3で説明した待機系リング2での3局10−3が発行したリング確立確認フレームの巡回を防ぐために、2局10−2の通信処理部17−2のループバック状態制御部51は、Aポート11−2でループバックさせた状態のままに維持させて、Bポート14−2を使用不可能な状態とするように、4局10−4の通信処理部17−4のループバック状態制御部51は、Bポート14−4でループバックさせた状態のままに維持させて、ポートA11−4を使用不可能な状態とするように制御する。この状態は、図13−2でのループバックによる新たなリング確立の確認処理が終了するまで維持される。
Further, before the first and second ring establishment confirmation frames 205-1 and 205-2 issued by the third station 10-3 are discarded, the fifth station 10-5 is replaced with the third station 10-3 which has been disconnected. Suppose that has entered the network. At this time, the 3rd station 10-3 detects that the 5th station 10-5 has entered the network, but the 5th station 10-5 is in a state where it has transitioned from the through state to the loopback state in the path state transition information. The ring configuration with 10-5 is not performed (FIG. 13-2). That is, in order to prevent the circulation of the ring establishment confirmation frame issued by the third station 10-3 in the
その後、実施の形態2で説明したように、リング上にリング確立確認フレーム205−1,205−2が全て廃棄された状態となった後に、2局10−2と4局10−4の通信処理部17のループバック状態制御部51は、経路状態をループバック状態からスルー状態へと制御し、経路状態遷移情報もスルー状態に書き換える。これによって、2局10−2と4局10−4のリング確立確認フレーム発行部21は、新たに参入してきた5局10−5を交えたネットワークでの新たなリング確立確認処理を実行する。なお、2局10−2と4局10−4は、3局10−3が解列した際のリングのリング確立の確認処理の終了を知ることができる通信ノードであり、5局10−5が新たに参入してきた通信ノードであることを知っている通信ノードであるために、これらの2局10−2と4局10−4から、新たなリング確立の確認処理が行われる。
Thereafter, as described in the second embodiment, after the ring establishment confirmation frames 205-1 and 205-2 are all discarded on the ring, the communication between the second station 10-2 and the fourth station 10-4 is performed. The loopback
この実施の形態5によれば、隣接する通信ノードが解列して、その通信ノード10が発行したリング確立確認フレームが待機系に存在しかつ廃棄される前に、解列した通信ノードに代わって別の通信ノードが参入してきた場合に、新たな別の通信ノードの参入によって構成されるリング上に解列した通信ノードが発行したリング確立確認フレームが廃棄されずに流れ続けることを防止することができるという効果を有する。
According to the fifth embodiment, before the adjacent communication node is disconnected and the ring establishment confirmation frame issued by the
実施の形態6.
この実施の形態6では、実施の形態5と同様に待機系リングにリング確立確認フレームが滞留してしまうことを防ぐ通信ノードの構成と、その処理方法について説明する。この実施の形態6で使用される通信ノードの構成は、実施の形態3の図7に示した構造と同一である。ただし、この実施の形態6の通信ノードの受信フレーム情報管理部31は、待機系リング2を巡回し、Bポート14からAポート11へと通過するフレームのうち、自通信ノードで発行したリング確立確認フレームについてのみ、そのフレーム識別情報を含む受信フレーム情報を取得し、受信フレーム情報記憶部32に記憶されている受信フレーム情報と照合し、過去に受信したものと同一でない場合には、そのリング確立確認フレームについての受信フレーム情報を受信フレーム情報記憶部32に記憶し、過去に受信したものと同一である場合には、そのリング確立確認フレームを廃棄する機能をさらに有する。また、受信フレーム情報記憶部32は、受信フレーム情報管理部31によって取得された、待機系リング2を巡回するフレームのうち自通信ノードが発行したリング確立確認フレームの受信フレーム情報も格納する。なお、上述した説明と同一の構成要素には同一の符号を付してその説明を省略している。
Embodiment 6 FIG.
In this sixth embodiment, a configuration of a communication node that prevents a ring establishment confirmation frame from staying in the standby ring as in the fifth embodiment, and a processing method thereof will be described. The configuration of the communication node used in the sixth embodiment is the same as that shown in FIG. 7 of the third embodiment. However, the received frame
つぎに、動作について、図14−1〜図14−6を参照して説明する。図14−1〜図14−6は、待機系リングを流れるリング確立確認フレームの廃棄処理の手順の一例を模式的に示す図である。まず、1局10−1〜4局10−4が正常に接続された状態から、1局10−1と2局10−2との間の正規系リング1が断線し、さらに1局10−1の電源が落ちてOFFになったとすると、2局10−2のAポート11−2は正規系リング1が断線したことを検出して、実施の形態1で説明したように、Bポート14−2でループバックを行う。また、4局10−4のBポート14−4は、1局10―1と通信できなくなったことを検出して、実施の形態1で説明したように、Aポート11−4でループバックを行う(図14−1)。
Next, the operation will be described with reference to FIGS. 14-1 to 14-6. FIGS. 14-1 to 14-6 are schematic diagrams illustrating an example of a procedure for discarding a ring establishment confirmation frame that flows through the standby ring. First, the
その後、1局10−1の電源が入ってON状態となったとすると、4局10−4のBポート14−4は1局10−1の復帰を検出して、ループバック状態から通常のスルー状態へと遷移する。また、電源が入った1局10−1のBポート14−1は、1局10−1と2局10−2との間の正規系リング1が断線していることを検出し、実施の形態1で説明したように、Aポート11−1でループバックを行う。そして、A局10−1の受信処理部17−1のリング確立確認フレーム発行部21は、シリアル番号が「No.1」のリング確立確認フレーム220を、Aポート11−1から待機系リング2に発行する(図14−2)。
Then, assuming that the power of
さらにその後、1局10−1と2局10−2との間の正規系リング1の断線が修復すると、1局のBポート14−1と2局のAポート11−2は、それぞれの間の正規系リング1の修復を検出して、ループバック状態から通常のスルー状態へと遷移する(図14−3)。これにより、1局10−1〜4局10−4は、正規系リング1で接続され、ループバックのない状態で通信を行うことができる。そのため、待機系リング2に1局が発行したリング確立確認フレーム220が取り残されてしまうことになる。
After that, when the disconnection of the
その後、時間が経過してリング確立確認フレーム220が待機系リング2内を流れ、2局10−2と1局10−1の間に来たものとする(図14−4)。このとき、待機系リング2を流れるフレームを受信する2局10−2〜4局10−4の通信処理部17−2〜17−4の受信フレーム情報管理部31は、それぞれBポート14−2から1局が発行したリング確立確認フレーム220を受信するが、自通信ノードが発行したものではないので、そのままAポート11−2〜11−4から待機系リング2へと流し、リング確立確認フレーム220を転送する。
Thereafter, it is assumed that the ring
1局10−1は、Bポート14−1から自局の発行したリング確立確認フレーム220を受信すると、その通信処理部17−1の受信フレーム情報管理部31は、受信フレーム情報記憶部32の受信フレーム情報を参照して、過去に受信したリング確立確認フレーム220であるか否かを判定する。この場合、過去に受信したものではないので、そのリング確立確認フレーム220のシリアル番号「No.1」を取得して、受信フレーム情報として受信フレーム情報記憶部32に記憶したのち、Aポート11−1から送出する(図14−5)。
When the first station 10-1 receives the ring
さらにその後、リング確立確認フレーム220が待機系リング2中を巡回するが、2局10−2〜4局10−4では、自局が発行したリング確立確認フレーム220ではないので、そのまま転送する。そして、1局10−1のBポート14−1でリング確立確認フレーム220を受信すると、その通信処理部17−1の受信フレーム情報管理部31は、受信フレーム情報記憶部32を参照し、その中にシリアル番号「No.1」に対応する受信フレーム情報が存在するので、過去に受信したものであると判断し、そのリング確立確認フレーム220を廃棄する(図14−6)。なお、上述した説明では、正常状態になった後に、待機系リング2を流れるリング確立確認フレーム220を廃棄する処理に主眼を置いて説明したが、図14−3に示される通常に戻った正規系リング1では、上述した実施の形態で説明したリング確立確認処理が並行して行われる。
Thereafter, the ring
この実施の形態6によれば、待機系リング2を流れる自通信ノードが発行したリング確立確認フレーム220について受信フレーム情報を取得し、その受信フレーム情報に基づいて2回目に受信したリング確立確認フレーム220を廃棄する機能を通信処理部17の受信フレーム情報管理部31に持たせるようにしたので、何かの原因で待機系リング2に残ってしまったリング確立確認フレーム220を、待機系リング2に滞留させることなく廃棄することができるという効果を有する。また、自通信ノードで発行したリング確立確認フレーム220のみ受信し、転送した記録を残しておき、他ノードで発行したリング確立確認フレーム220については転送するのみであるので、待機系リング2を流れるフレームの処理にかかる負荷を抑えることができるという効果も有する。
According to the sixth embodiment, the received frame information is acquired for the ring
実施の形態7.
この実施の形態7では、リング確立確認処理が終了し、トークンフレームが正規系リング1に流された通常の通信伝文を伝送可能な状態で、ネットワークを構成する通信ノードに故障が発生し、その通信ノードがネットワークから解列した場合のリング確立確認処理について説明する。
Embodiment 7 FIG.
In the seventh embodiment, the ring establishment confirmation process is completed, and a failure occurs in a communication node constituting the network in a state where a normal communication message in which the token frame is flowed to the
図15は、この実施の形態7による通信ノードの機能構成を模式的に示すブロック図である。この実施の形態7の通信ノードの通信処理部17は、実施の形態5の図12において、フレーム廃棄処理部61をさらに備える構成を有する。なお、上述した説明と同一の構成要素には同一の符号を付してその説明を省略している。
FIG. 15 is a block diagram schematically showing a functional configuration of the communication node according to the seventh embodiment. The
フレーム廃棄処理部61は、リング確立確認処理の状態にあるときに、リング確立確認フレーム以外のフレームを廃棄する処理を行う。たとえば、トークンフレームをリング中に流した通常の送信状態から、ネットワークを構成するいずれかの通信ノードに故障が発生し解列してしまった場合に、リング確立の確認処理の状態に移るが、そのときに新たに再構成されたリング中に流れるトークンフレームやデータフレームなどのリング確立確認処理とは関係のないフレームを廃棄する。
The frame discard
図16−1〜図16−5は、通常の通信状態からリング確立確認処理の状態へ移行する場合のリング確立確認処理に関係のないフレームを削除する手順の一例を模式的に示す図である。まず、ネットワークは通常の通信状態にあるものとする。ここでは、3局10−3は、2局10−2からトークンフレーム208を受信し、送信権を獲得したものとする。その後、3局10−3は、トークンフレーム208の送信元である2局10−2に対して自局(3局10−3)がトークンフレーム208を獲得したことを示すトークン受信完了通知フレーム206を送信するとともに、データを送りたい相手の通信ノードに対してデータフレーム207を送信した後、トークンフレーム208を解放する(図16−1)。
FIGS. 16-1 to 16-5 are diagrams schematically illustrating an example of a procedure for deleting a frame that is not related to the ring establishment confirmation process in the case of shifting from the normal communication state to the ring establishment confirmation process. . First, it is assumed that the network is in a normal communication state. Here, it is assumed that the third station 10-3 receives the
その後、3局10−3に故障が発生したものとする(図16−2)。これにより、2局10−2のBポート14−2と4局10−4のAポート11−4は、3局10−3に故障が発生したことを検出して、実施の形態1で説明したように、2局10−2はAポート11−2でループバックを行い、4局10−4はBポート14−4でループバックを行う。これにより、3局10−3が発行したトークン受信完了通知フレーム206とデータフレーム207は、ループバックによって構成された新たなリング内に取り残された状態となる。また、3局10−3に故障が発生したことを検出した2局10−2と4局10−4は、通常の通信状態からリング確立確認処理の状態へと遷移する。そのため、2局10−2と4局10−4の通信処理部17−2,17−4のリング確立確認フレーム発行部21は、それぞれリング確立確認フレームの発行を開始する(図16−3)。このとき、1局10−1は、まだ通常の通信状態にある。そのため、Aポート11−1からトークン受信完了通知フレーム206を受信すると、自局宛でないのでそのままBポート14−1に送出する。
Thereafter, it is assumed that a failure has occurred in the third station 10-3 (FIG. 16-2). As a result, the B port 14-2 of the second station 10-2 and the A port 11-4 of the fourth station 10-4 detect that a failure has occurred in the third station 10-3, and are described in the first embodiment. As described above, the second station 10-2 performs a loopback at the A port 11-2, and the fourth station 10-4 performs a loopback at the B port 14-4. As a result, the token reception
また、2局10−2は、リング確立確認フレームを所定の時間おきに発行している状態にあるので、自局が送信したリング確立確認フレームが戻ってくることを待つ受信待ちの状態にある。このとき、通信処理部17−2のフレーム廃棄処理部61は、Aポート11−2から受信するフレームのうち、リング確立確認処理の状態とは関係のないフレームを検出すると廃棄する(図16−4)。ここでは、受信したトークン受信完了通知フレーム206を廃棄する。
In addition, since the second station 10-2 is in a state of issuing a ring establishment confirmation frame every predetermined time, the second station 10-2 is in a reception waiting state waiting for the ring establishment confirmation frame transmitted by itself to return. . At this time, the frame discard processing
このとき、1局10−1は、Aポート11−1から4局10−4からの第1のリング確立確認フレーム210−1を受信して、Bポート14−1に送出する処理を行っている。これにより、1局10−1の通信処理部17−1のリング確立確認フレーム発行部21は、リング確立確認状態に遷移したことを知り、自局のリング確立確認フレームの発行を開始することになる。なお、4局10−4からのリング確立確認フレーム210−1よりも3局10−3が発行したデータフレーム207の方を先に受信しており、データフレーム207の受信時にはリング確立確認状態にないので、この時点で、1局10−1では、データフレームの廃棄を行わない。
At this time, the first station 10-1 receives the first ring establishment confirmation frame 210-1 from the A port 11-1 from the fourth station 10-4, and performs processing to send it to the B port 14-1. Yes. As a result, the ring establishment confirmation
その後、2局10−2の通信処理部17−2のフレーム廃棄処理部61は、Aポート11−2から受信した3局10−3が発行したデータフレーム207を廃棄する処理を行う(図16−5)。以上により、通常の通信状態からリング確立の確認処理状態へ遷移した後に、新たなリング中に取り残された通常の通信状態のときに発行されたフレームを廃棄する処理が終了する。この後は、実施の形態2〜5で説明した手順でリング確立確認処理が行われる。
Thereafter, the frame discard processing
この実施の形態7によれば、通常の通信状態からリング確立確認処理の状態へ遷移した際に、通信状態のときに発行されたフレームが新たなリング中に滞留してしまう事態を避けることができるという効果を有する。 According to the seventh embodiment, when a transition from the normal communication state to the ring establishment confirmation processing state is made, it is possible to avoid a situation where a frame issued in the communication state stays in a new ring. It has the effect of being able to.
実施の形態8.
この実施の形態8では、上述した実施の形態2〜6でリング確立がなされた後に、ネットワーク上のすべての通信ノードに、それぞれの通信ノードに関する局情報を行き渡らせる局情報通知処理について説明する。
In this
図17は、この実施の形態8による通信ノードの機能構成を模式的に示す図である。この通信ノードの通信処理部17は、リング確立確認処理部20、局情報管理部71、フレーム巡回時間算出部72、フレーム巡回時間記憶部73、局情報通知完了判定部74およびネットワーク構成情報記憶部75を備える。なお、リング確立確認処理部20は、各実施の形態2〜6で説明したリング確立の確認処理を実行する通信処理部17内の各処理部をまとめたものである。なお、上述した実施の形態で用いた図と同一の構成要素には、同一の符号を付して、その説明を省略している。
FIG. 17 is a diagram schematically showing a functional configuration of a communication node according to the eighth embodiment. The
局情報管理部71は、上述した実施の形態2〜6でリング確立がなされた後に、リングが確立されたネットワーク内のすべての通信ノードに対して、そのネットワークの構成情報を作成するために必要な自通信ノードの局情報を含む局情報通知フレームを、所定の時間ごとに発行する。この局情報通知フレームには、この局情報通知フレームを発行した時刻が埋め込まれる。また、局情報管理部71は、自身が送信した局情報通知フレームを最初に受信した時点以降の局情報通知フレームの発行を停止するとともに、受信した局情報通知フレームを廃棄する。ここで、局情報とは、自通信ノードのMACアドレス、自通信ノードを識別する局番などの自通信ノード識別情報、自通信ノードがループバック状態にある場合にどのポートがループバック状態にあるのかを示すループバック状態情報、上下流に位置する通信ノードのMACアドレス、を含む。さらに、局情報管理部71は、他の通信ノードが送信した局情報通知フレームを受信すると、その局情報をネットワーク構成情報記憶部75に記憶する。
The station
フレーム巡回時間算出部72は、自通信ノードが発行した局情報通知フレームがAポート11から戻ってきた際に、局情報通知フレームを受信した時刻と、その局情報通知フレームに埋め込まれた発行時刻との差を算出し、局情報通知フレームがリングを巡回した時間であるフレーム巡回時間を求める。また、フレーム巡回時間記憶部73は、フレーム巡回時間算出部72によって算出されたフレーム巡回時間を記憶する。
When the station information notification frame issued by the communication node returns from the
局情報通知完了判定部74は、局情報通知フレームの発行を停止した後に、最後に自通信ノードまたは他の通信ノードが発行した局情報通知フレームを受信してから、フレーム巡回時間以上の時間、ネットワーク上に局情報通知フレームが検出されない状態が続いたか否かを判定し、その状態がフレーム巡回時間以上続いた場合には、ネットワーク上の全通信ノードが、相互に局情報を獲得したと判定する。
The station information notification
ネットワーク構成情報記憶部75は、リングが確立されたネットワークを構成する通信ノードに対応付けられた局情報であるネットワーク構成情報を記憶する。つまり、ネットワーク構成情報は、他の通信ノードから受信した局情報をその通信ノードに対応付けて管理される情報である。このネットワーク構成情報によって、各通信ノードは、リングが確立されたネットワークの接続状態などを知ることができる。
The network configuration
図18−1〜図18−6は、リング状通信システムにおける局情報通知処理の手順の一例を模式的に示す図である。まず、1局10−1の通信処理部17−1の局情報管理部71は、発行時刻を埋め込んだ局情報通知フレームをBポート14−1から正規系リング1に送出する(図18−1)。ここでは、1局10−1は、時刻T1に第1の局情報通知フレーム211−1を送出し、時刻T1から所定の時間が経過した時刻T2に第2の局情報通知フレーム211−2を正規系リング1に送出したものとする。
FIGS. 18-1 to 18-6 are diagrams schematically illustrating an example of a procedure of station information notification processing in the ring communication system. First, the station
その後、1局10−1は、自身が送出した局情報通知フレームを受信していないので、時刻T3,T4にそれぞれ第3と第4の局情報通知フレーム211−3,211−4をさらに正規系リング1に送出する。その後、1局10−1が最初に発行した第1の局情報通知フレーム211−1が何らかの原因により、4局10−4と1局10−1との間で消失したものとする(図18−2)。なお、1局10−1以外の通信ノード10−2〜10−4は、1局10−1からの局情報通知フレームを受信すると、その通信処理部17−2〜17−4の局情報管理部71は、局情報をコピーして、ネットワーク構成情報記憶部75−1〜75−4に1局10−1に対応付けて記憶する。
After that, since the first station 10-1 has not received the station information notification frame transmitted by itself, the third and fourth station information notification frames 211-3 and 211-4 are further normalized at times T3 and T4, respectively. Send to
ついで、1局10−1は、Aポート11−1で自身が発行した第2の局情報通知フレーム211−2を受信する。1局10−1にとっては、第1の局情報通知フレーム211−1がネットワーク上で消失してしまっているので、この第2の局情報通知フレーム211−2が最初に受信した局情報通知フレームとなるので、その受信時刻T6を記憶する。1局10−1の通信処理部17−1のフレーム巡回時間算出部72は、第2の局情報通知フレーム211−2の受信時刻T6から、そのフレームに埋め込まれた発行時間T2を差し引いたフレーム巡回時間T(=T6−T2)を算出する(図18−3)。算出したフレーム巡回時間は、フレーム巡回時間記憶部73に記憶される。また、1局10−1の通信処理部17−1の局情報管理部71は、戻ってきた第2の局情報通知フレーム211−2をネットワーク上から廃棄する。さらに、1局10−1の通信処理部17−1の局情報管理部71は、自身が発行した局情報通知フレームを最初に受信したので、それ以降は局情報通知フレームの発行を停止する(図18−4)。なお、この時点までに、1局10−1は、第5の局情報通知フレーム211−5まで発行している。
Next, the first station 10-1 receives the second station information notification frame 211-2 issued by itself at the A port 11-1. For the first station 10-1, since the first station information notification frame 211-1 has disappeared on the network, the second station information notification frame 211-2 first received by the station information notification frame 211-2. Therefore, the reception time T6 is stored. The frame cycle
その後、1局10−1は、順に自局が発行したリング確立確認フレームを受信して廃棄する処理を行い、最後に発行した第5の局情報通知フレーム211−5を受信し、廃棄することで、ネットワーク上から1局10−1が発行したリング確立確認フレームはなくなる(図18−5)。以上の図18−1〜図18−5までの処理は、ネットワークを構成する他の2局10−2〜4局10−4でも同時に行われる。 Thereafter, the first station 10-1 sequentially receives and discards the ring establishment confirmation frame issued by itself, and receives and discards the last-issued fifth station information notification frame 211-5. Thus, there is no ring establishment confirmation frame issued by the first station 10-1 from the network (FIG. 18-5). The processes from FIG. 18-1 to FIG. 18-5 are also performed at the same time in the other two stations 10-2 to 4-4 constituting the network.
1局10−1の通信処理部17−1の局情報通知完了判定部74は、図18−5でネットワーク上から1局10−1が発行した全ての局情報通知フレーム211−1〜211−5が廃棄されると、図18−3で求めたフレーム巡回時間以上、ネットワーク上にまったく局情報通知フレームが流れないかの計測を開始する。つまり、タイマにフレーム巡回時間をセットし、タイムアウトとなるまでに他の通信ノード10−2〜10−4が送出した局情報通知フレームを検出したか否かを判定する。なお、この判定中に、他の通信ノード10−2〜10−4が送出した局情報通知フレームをAポート11−1から受信すると、そのたびにタイマをセットし直す。これは、自局の局情報がすべての通信ノード10−1〜10−4に行き渡ったことを確認するだけでなく、他局の局情報も同様にすべての通信ノード10−1〜10−4に行き渡ったことを確認するためである。そして、局情報通知完了判定部74は、局情報通知フレームの発行停止後、フレーム巡回時間T以上の間、ネットワークに局情報通知フレームが観測されない状態が続いた場合に、つまり、タイマがタイムアウトした場合に、ネットワーク上の他の全ての通信ノードも同様にすべての通信ノードに局情報を行き渡らせることができたと判定する(図18−6)。
The station information notification
この実施の形態8によれば、リング確立がなされた後、自通信ノードの局情報を含む局情報通知フレームを巡回させるようにしたので、その局情報通知フレームが再び自局に戻ってきたことによって、他局が局情報通知フレームを受信したことを確認することができる。これにより、従来のイーサネット(登録商標)などで構築した場合のように、局情報を各通信ノードに対して通知した後に、各通信ノードからの受信応答メッセージを必要としないために、必要なフレーム数を削減することができるとともに、すべての通信ノードの局情報を共有したことを容易に確認することができるという効果を有する。 According to the eighth embodiment, since the station information notification frame including the station information of the own communication node is circulated after the ring is established, the station information notification frame is returned to the own station again. Thus, it can be confirmed that the other station has received the station information notification frame. As a result, as in the case of building with the conventional Ethernet (registered trademark) or the like, the necessary frame is not required since the reception response message from each communication node is not required after the station information is notified to each communication node. It is possible to reduce the number and to easily confirm that the station information of all the communication nodes is shared.
また、通信ノードは、局情報通知フレームを発行し続け、自身で発行した局情報通知フレームが最初に戻ってきた時点で局情報通知フレームの発行を停止するようにしたので、局情報通知フレームの経路上での消失による局情報の通知の滞りを防ぐとともに、局情報通知フレームが消失した際の対応時間の短縮が可能となるという効果も有する。 In addition, since the communication node continuously issues the station information notification frame and stops issuing the station information notification frame when the station information notification frame issued by itself is first returned, In addition to preventing delays in notification of station information due to loss on the route, it is possible to shorten the response time when the station information notification frame is lost.
さらに、局情報通知フレームが巡回するフレーム巡回時間を計測し、このフレーム巡回時間を用いて、ネットワーク上のすべての通信ノードが互いに局情報を行き渡らせたかを判定するようにしたので、リング構成(通信ノードの数)に合わせてすべての通信ノードが互いに局情報を行き渡らせたかを判定するための時間(タイムアウト値)を設定することができるという効果を有する。これにより、通信ノードの数が少ないリング構成と通信ノードの数が多いリング構成でタイムアウト値が異なるので、通信ノードの数が少ない場合にはより速く局情報の交換の設定が完了することになる。 Furthermore, the frame cycle time for which the station information notification frame circulates is measured, and this frame cycle time is used to determine whether all communication nodes on the network have distributed the station information to each other. In accordance with the number of communication nodes), it is possible to set a time (time-out value) for determining whether all communication nodes have distributed station information to each other. As a result, the time-out value differs between a ring configuration with a small number of communication nodes and a ring configuration with a large number of communication nodes. Therefore, when the number of communication nodes is small, the setting of station information exchange is completed more quickly. .
以上のように、この発明にかかるイーサネット(登録商標)ベースのリング状通信システムは、複数の通信ノードから構成されるネットワークに有用である。 As described above, the Ethernet (registered trademark) -based ring communication system according to the present invention is useful for a network including a plurality of communication nodes.
1 正規系リング
2 待機系リング
10,10−1〜10−5 通信ノード
11,11−1〜11−5 Aポート
14,14−1〜14−5 Bポート
17,17−1〜17−5 通信処理部
20 リング確立確認処理部
21 リング確立確認フレーム発行部
22,72 フレーム巡回時間算出部
23,73 フレーム巡回時間記憶部
24 リング確立判定部
31 受信フレーム情報管理部
32 受信フレーム情報記憶部
51 ループバック状態制御部
61 フレーム廃棄処理部
71 局情報管理部
74 局情報通知完了判定部
75 ネットワーク構成情報記憶部
DESCRIPTION OF
Claims (17)
フレームを入力する入力部とフレームを出力する出力部を有する第1および第2のポートと、
第1および第2のポートが正常な場合、前記第1のポートの入力部から入力されるフレームの受信処理を行って、前記第2のポートの出力部から当該フレームを送信し、隣接通信ノードとの間で通信異常が生じた場合、前記隣接通信ノードと接続されるポートと異なる側のポートの入力部から入力されるフレームの受信処理を行って、当該フレームが入力された入力部と同一のポートの出力部から当該フレームを送信するループバック処理を行い、他通信ノードが前記ループバック処理を行う場合、前記第2のポートの入力部から入力されるフレームの受信処理を行わずに、前記第1のポートの出力部から当該フレームを送信する通信処理手段と、
を備え、
前記通信処理手段は、
電源投入時または自通信ノードがループバック処理を行って新たなリングを構成した場合に、発行時刻を埋め込んだリング確立確認フレームを発行し、前記リングを巡回してきた前記リング確立確認フレームを受信すると、それ以降のリング確立確認フレームの発行を停止するリング確立確認フレーム発行手段と、
前記リング確立確認フレーム発行手段によって発行され、前記リングを巡回してきた前記リング確立確認フレームを受信した時刻から、前記リング確立確認フレーム内の発行時刻を差し引いたフレーム巡回時間を算出するフレーム巡回時間算出手段と、
前記リング確立確認フレームの発行停止後、前記フレーム巡回時間以上の間、前記リング内を流れるリング確立確認フレームを検出しないかを判定するリング確立判定手段と、
を備えることを特徴とする通信ノード。 A communication node constituting a communication system in which a plurality of communication nodes connected by Ethernet (registered trademark) are connected in a ring shape,
First and second ports having an input section for inputting a frame and an output section for outputting the frame;
When the first and second ports are normal, the reception process of the frame input from the input unit of the first port is performed, the frame is transmitted from the output unit of the second port, and the adjacent communication node When a communication error occurs between the port and the adjacent communication node, the reception process of the frame input from the input unit of the port on the side different from the port connected to the adjacent communication node is performed, and the input unit to which the frame is input is the same When the loopback process for transmitting the frame is performed from the output unit of the other port and the other communication node performs the loopback process, the reception process of the frame input from the input unit of the second port is not performed. Communication processing means for transmitting the frame from the output unit of the first port;
With
The communication processing means includes
When power is turned on or when a self-communication node performs a loopback process to form a new ring, it issues a ring establishment confirmation frame in which the issue time is embedded, and receives the ring establishment confirmation frame that circulates the ring , Ring establishment confirmation frame issuing means for stopping issuing subsequent ring establishment confirmation frames;
Frame cycle time calculation for calculating a frame cycle time obtained by subtracting the issue time in the ring establishment confirmation frame from the time when the ring establishment confirmation frame issued by the ring establishment confirmation frame issuing unit and circulated around the ring is received. Means,
Ring establishment determination means for determining whether or not to detect a ring establishment confirmation frame flowing in the ring for a time equal to or longer than the frame circulation time after the issuance of the ring establishment confirmation frame is stopped;
A communication node comprising:
前記通信処理手段は、
前記通信システム内の他の通信ノードから受信したリング確立確認フレームの送信元通信ノードと前記固有情報とを含む受信フレーム情報を記憶する受信フレーム情報記憶手段と、
前記他の通信ノードからのリング確立確認フレームから取得した前記受信フレーム情報を、前記受信フレーム情報記憶手段中の前記他の通信ノードに対応する受信フレーム情報と比較し、受信した前記リング確立確認フレームが過去に受信したフレームである場合には、そのフレームを廃棄する受信フレーム情報管理手段と、
をさらに備えることを特徴とする請求項1に記載の通信ノード。 The ring establishment confirmation frame issuing means of the communication processing means has a function of embedding unique information for uniquely identifying the frame in the ring establishment confirmation frame;
The communication processing means includes
Received frame information storage means for storing received frame information including a source communication node of a ring establishment confirmation frame received from another communication node in the communication system and the specific information;
The received frame establishment confirmation frame received by comparing the received frame information acquired from the ring establishment confirmation frame from the other communication node with the received frame information corresponding to the other communication node in the received frame information storage means. Is a frame received in the past, received frame information management means for discarding the frame,
The communication node according to claim 1, further comprising:
前記リング確立確認フレーム発行手段による、当該通信ノードに隣接する第1の隣接通信ノードがリングから解列し、ループバック処理を行って新たなリングが形成された後で、このリングでのリング確立確認処理が終了する前に、前記第1の隣接通信ノードの位置に第2の隣接通信ノードが参入してきた場合に、前記第2の隣接通信ノードに隣接する通信ノードは、前記ループバックされた状態を前記リングでのリング確立確認処理が終了するまでの間維持するように制御するループバック状態制御手段をさらに備えることを特徴とする請求項1に記載の通信ノード。 The communication processing means includes
After the first adjacent communication node adjacent to the communication node is disconnected from the ring by the ring establishment confirmation frame issuing means and a new ring is formed by performing loopback processing, the ring establishment in this ring is established. When the second adjacent communication node has entered the position of the first adjacent communication node before the confirmation process is completed, the communication node adjacent to the second adjacent communication node is looped back. The communication node according to claim 1, further comprising a loopback state control means for controlling the state until the ring establishment confirmation process in the ring is completed.
前記受信フレーム情報記憶手段に同じ受信フレーム情報がない場合に、取得した前記受信フレーム情報を前記受信フレーム情報記憶手段に記憶し、
同じ受信フレーム情報がある場合に前記リング確立確認フレームを廃棄する機能をさらに有することを特徴とする請求項2に記載の通信ノード。 When the normal communication node or another communication node makes a normal transition from the state in which the loopback process is being performed, the received frame information management means includes the ring establishment confirmation frame input from the input unit of the second port. Obtain the received frame information including the unique information of the ring establishment confirmation frame issued by the own communication node,
When the received frame information storage means does not have the same received frame information, the acquired received frame information is stored in the received frame information storage means,
The communication node according to claim 2, further comprising a function of discarding the ring establishment confirmation frame when there is the same received frame information.
トークンフレームを前記リング中に流してトークンパッシング方式で通信を行っている状態から、リング確立の確認処理状態へと遷移した場合に、受信したフレームのうちリング確立確認フレーム以外のフレームを廃棄するフレーム廃棄処理手段をさらに備えることを特徴とする請求項1に記載の通信ノード。 The communication processing means includes
A frame that discards frames other than the ring establishment confirmation frame among the received frames when the token frame is passed through the ring and communication is performed using the token passing method to change to the ring establishment confirmation processing state. The communication node according to claim 1, further comprising a discard processing unit.
リング確立の確認処理が終了すると、ネットワーク構成情報を作成するために必要な自通信ノードに関する局情報を含む局情報通知フレームを発行し、前記リングを巡回してきた前記局情報通知フレームを受信する局情報管理手段を備えることを特徴とする請求項1に記載の通信ノード。 The communication processing means includes
When the ring establishment confirmation process is completed, a station that issues a station information notification frame including station information related to its own communication node necessary for creating network configuration information and receives the station information notification frame that has circulated around the ring The communication node according to claim 1, further comprising information management means.
前記通信処理手段は、
前記局情報管理手段によって発行され、前記リングを巡回してきた前記局情報通知フレームを受信した時刻から、前記局情報通知フレーム内の発行時刻を差し引いたフレーム巡回時間を算出するフレーム巡回時間算出手段と、
前記局情報通知フレームの発行停止後、前記フレーム巡回時間以上の間、前記リング内を流れる局情報通知フレームを検出しないかを判定する局情報通知完了判定手段と、
をさらに備えることを特徴とする請求項8に記載の通信ノード。 When the station information management unit of the communication processing unit embeds the issuance time of the frame in the station information notification frame and receives the station information notification frame that has circulated in the ring shape, the station information notification frame is issued thereafter. Further has the function of stopping
The communication processing means includes
Frame cycle time calculation means for calculating a frame cycle time obtained by subtracting the issue time in the station information notification frame from the time at which the station information notification frame issued by the station information management unit and circulated around the ring is received. ,
Station information notification completion determination means for determining whether or not to detect a station information notification frame flowing in the ring for a time equal to or longer than the frame cycle time after the issuance of the station information notification frame;
The communication node according to claim 8, further comprising:
前記通信ノードが、電源投入時または自通信ノードがループバック処理を行って新たなリングを構成した場合にリング確立確認フレームを該フレームの発行時刻を埋め込んで発行するとともに、リング確立確認フレームを受信するとそれ以降のリング確立確認フレームの発行を停止するリング確立確認フレーム発行工程と、
通信ノードが、リング確立確認フレーム発行工程で発行されたリング確立確認フレームを受信することにより、リングが確立されたことを確認するリング確立確認工程と、
を含み、
前記リング確立確認工程は、
前記リング確立確認フレームを受信した時刻から、前記リング確立確認フレーム内の発行時刻を差し引いたフレーム巡回時間を算出するフレーム巡回時間算出工程と、
前記リング確立確認フレームの発行を停止した後、前記リング上に前記リング確立確認フレームが前記フレーム巡回時間以上流れなかった場合に、前記リングが確立されたことを確認するリング確立判定工程と、
を含むことを特徴とする通信システムのリング確立確認方法。 A ring establishment confirmation method for a communication system in which a plurality of communication nodes connected by Ethernet (registered trademark) are connected in a ring shape,
The communication node issues a ring establishment confirmation frame with the issue time of the frame embedded and receives the ring establishment confirmation frame when the power is turned on or when the own communication node performs a loopback process to form a new ring. Then, a ring establishment confirmation frame issuance process for stopping issuing subsequent ring establishment confirmation frames,
A ring establishment confirmation step in which the communication node receives the ring establishment confirmation frame issued in the ring establishment confirmation frame issue step to confirm that the ring has been established;
Including
The ring establishment confirmation step includes
A frame cycle time calculating step for calculating a frame cycle time by subtracting the issue time in the ring establishment confirmation frame from the time at which the ring establishment confirmation frame is received;
A ring establishment determination step of confirming that the ring has been established when the ring establishment confirmation frame has not flowed on the ring for more than the frame cycle time after stopping issuing the ring establishment confirmation frame;
A ring establishment confirmation method for a communication system, comprising:
前記通信システム内の他の通信ノードから受信したリング確立確認フレームの送信元通信ノードと前記固有情報とを含む受信フレーム情報を記憶する受信フレーム情報記憶工程と、
前記他の通信ノードから受信したリング確立確認フレームから取得した前記受信フレーム情報を、既に記憶されている前記他の通信ノードに対応する受信フレーム情報と比較し、受信したそのフレームが過去に受信したフレームである場合には、そのフレームを廃棄する受信フレーム情報管理工程と、
を含むことを特徴とする請求項10に記載の通信システムのリング確立確認方法。 In the ring establishment confirmation frame issuance step, unique information for uniquely identifying the frame is embedded in the ring establishment confirmation frame,
A received frame information storage step of storing received frame information including a source communication node of a ring establishment confirmation frame received from another communication node in the communication system and the unique information;
The received frame information obtained from the ring establishment confirmation frame received from the other communication node is compared with the received frame information corresponding to the other communication node already stored, and the received frame has been received in the past. If it is a frame, a received frame information management step for discarding the frame;
The ring establishment confirmation method for a communication system according to claim 10, comprising:
前記第2の通信ノードに隣接する通信ノードは、ループバック処理の状態を前記新たなリングでのリング確立確認処理が終了するまでの間維持するループバック制御工程をさらに含むことを特徴とする請求項10に記載の通信システムのリング確立確認方法。 After the first communication node disconnects from the ring and performs a loopback process to form a new ring, before the ring establishment confirmation process for the new ring is completed, the first communication node When a second communication node enters the node position,
The communication node adjacent to the second communication node further includes a loopback control step of maintaining the state of the loopback processing until the ring establishment confirmation processing in the new ring is completed. Item 11. A method for confirming ring establishment of a communication system according to Item 10.
取得したフレームについて記憶された受信フレーム情報がない場合に、取得した前記受信フレーム情報を記憶し、
取得したフレームについて受信フレーム情報がある場合に、前記リング確立確認フレームを廃棄する処理をさらに行うことを特徴とする請求項11に記載の通信システムのリング確立確認方法。 In the received frame information management step, when the own communication node or other communication node has successfully transitioned from the state in which the loopback process is being performed, the received frame information management step includes the ring establishment confirmation frame input from the input unit of the second port , Receive the received frame information including the unique information of the ring establishment confirmation frame issued by the own communication node,
If there is no received frame information stored for the acquired frame, store the received frame information acquired,
12. The ring establishment confirmation method for a communication system according to claim 11, further comprising a process of discarding the ring establishment confirmation frame when there is received frame information for the acquired frame.
受信したフレームのうちリング確立確認フレーム以外のフレームを廃棄するフレーム廃棄処理工程をさらに含むことを特徴とする請求項10に記載の通信システムのリング確立確認方法。 When the token frame is passed through the ring and communication is performed using the token passing method, the process proceeds to the ring establishment confirmation step for confirming ring establishment.
The ring establishment confirmation method for a communication system according to claim 10, further comprising a frame discard processing step of discarding frames other than the ring establishment confirmation frame among the received frames.
前記リングを巡回してきた前記局情報管理工程で発行された前記局情報通知フレームを受信した時刻から、前記局情報通知フレーム内の発行時刻を差し引いたフレーム巡回時間を算出するフレーム巡回時間算出工程と、
前記局情報通知フレームの発行を停止した後、前記リング上に前記局情報通知フレームが前記フレーム巡回時間以上流れなかった場合に、前記ネットワーク上の通信ノード間で局情報の交換が行われたと判定する局情報通知完了判定工程と、
をさらに含むことを特徴とする請求項16に記載の通信システムのリング確立確認方法。 In the station information management step, the issuance time of the frame is embedded in the station information notification frame, and when the issued station information notification frame is received, issuance of subsequent station information notification frames is stopped,
A frame cycle time calculating step for calculating a frame cycle time obtained by subtracting the issue time in the station information notification frame from the time at which the station information notification frame issued in the station information management step that has circulated the ring is received; ,
After the issuance of the station information notification frame is stopped, it is determined that the station information has been exchanged between communication nodes on the network when the station information notification frame does not flow on the ring for more than the frame cycle time. A station information notification completion determination step,
The ring establishment confirmation method for a communication system according to claim 16, further comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009275827A JP4906910B2 (en) | 2009-12-03 | 2009-12-03 | Communication node and communication system ring establishment confirmation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009275827A JP4906910B2 (en) | 2009-12-03 | 2009-12-03 | Communication node and communication system ring establishment confirmation method |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008522271A Division JP4778056B2 (en) | 2006-06-30 | 2006-06-30 | Communication node and communication system ring establishment confirmation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010051038A JP2010051038A (en) | 2010-03-04 |
| JP4906910B2 true JP4906910B2 (en) | 2012-03-28 |
Family
ID=42067659
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009275827A Expired - Fee Related JP4906910B2 (en) | 2009-12-03 | 2009-12-03 | Communication node and communication system ring establishment confirmation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4906910B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5483198B2 (en) * | 2010-08-09 | 2014-05-07 | 日立金属株式会社 | Network relay device and ring network |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60229550A (en) * | 1984-04-27 | 1985-11-14 | Shinko Electric Co Ltd | Automatic measuring circuit for time of one round of circuit |
| JPH01132244A (en) * | 1987-11-18 | 1989-05-24 | Hitachi Ltd | Frame communication system |
| JPH0276343A (en) * | 1988-09-12 | 1990-03-15 | Toshiba Corp | Loop control system for loop network |
| KR101053358B1 (en) * | 2006-06-30 | 2011-08-01 | 미쓰비시덴키 가부시키가이샤 | Communication node, communication system ring configuration method, and ring establishing method |
-
2009
- 2009-12-03 JP JP2009275827A patent/JP4906910B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010051038A (en) | 2010-03-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4778056B2 (en) | Communication node and communication system ring establishment confirmation method | |
| US8842521B2 (en) | Communication management apparatus, communication node, and data communication method | |
| JP4503678B2 (en) | Token ring communication method for communication node and ring communication system | |
| TWI483586B (en) | Communication management device, communication node and data communication method | |
| JPWO2008114364A1 (en) | Relay device, continuity confirmation method thereof, and continuity confirmation circuit | |
| JP2010187244A (en) | System for detecting/recovering token abnormality between terminal apparatuses | |
| JP4906910B2 (en) | Communication node and communication system ring establishment confirmation method | |
| JP5141169B2 (en) | Acoustic signal processing apparatus and network system | |
| CN102594592B (en) | Communication management device, communication nodes, communication system and data communication method | |
| CN101741675B (en) | Communication node and ring forming method and ring establishing method for communication system | |
| CN101820374B (en) | The method for issuing token of communication node and annular communication system, token-ring communication method | |
| JP6138282B2 (en) | Communication apparatus, train network system, and network setting method | |
| CN102325071B (en) | Communication node and token ring communication method | |
| JP4995294B2 (en) | Communication node and token ring communication method | |
| JP2010161795A (en) | Communication node and token ring communication method | |
| JP4966761B2 (en) | Transmission path system, node and node information duplication judgment method | |
| JP2010098475A (en) | Network system and audio signal processor | |
| JP2010232785A (en) | Node and network control method | |
| JP2009010459A (en) | Transmission path system, ring map generation method, and node | |
| CN101820375A (en) | Communication node and token issuing method of ring communication system, token ring communication method | |
| JPH11234296A (en) | Automatic switching of received signal of transmission equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091203 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111214 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120104 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120110 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150120 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |