JP5586760B2 - Network system, network system control method, transmission station, transmission station program - Google Patents

Network system, network system control method, transmission station, transmission station program Download PDF

Info

Publication number
JP5586760B2
JP5586760B2 JP2013184105A JP2013184105A JP5586760B2 JP 5586760 B2 JP5586760 B2 JP 5586760B2 JP 2013184105 A JP2013184105 A JP 2013184105A JP 2013184105 A JP2013184105 A JP 2013184105A JP 5586760 B2 JP5586760 B2 JP 5586760B2
Authority
JP
Japan
Prior art keywords
station
transmission
frame
route
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.)
Active
Application number
JP2013184105A
Other languages
Japanese (ja)
Other versions
JP2013240122A (en
Inventor
慎哉 河野
康壽 塩原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba IT and Control Systems Corp
Original Assignee
Toshiba Corp
Toshiba IT and Control Systems 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 Toshiba Corp, Toshiba IT and Control Systems Corp filed Critical Toshiba Corp
Priority to JP2013184105A priority Critical patent/JP5586760B2/en
Publication of JP2013240122A publication Critical patent/JP2013240122A/en
Application granted granted Critical
Publication of JP5586760B2 publication Critical patent/JP5586760B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数の伝送局が双方向に通信が可能な通信路でリング状に相互に接続された二重リング・ネットワークで、各伝送局が通常はリングの両方向に同時に伝送フレームを送出し、伝送フレームは各々の伝送局により受信され中継されることで、リング内の全ての伝送局との相互交信を行うネットワークに関する。   The present invention is a dual ring network in which a plurality of transmission stations are connected to each other in a ring shape through a communication path capable of bidirectional communication, and each transmission station normally sends a transmission frame simultaneously in both directions of the ring. The transmission frame is related to a network in which each transmission station receives and relays the transmission frame to perform mutual communication with all the transmission stations in the ring.

特に、送出された伝送フレームがリング内を循環し続けないように、隣り合う二つの伝送局が終端局として、伝送フレームの双方向への中継を禁止し、リング状ではあるがバス型と等価な二重リング・ネットワークを構成する制御方式に関する。   In particular, in order to prevent the transmitted transmission frames from continuing to circulate in the ring, the two adjacent transmission stations serve as termination stations and prohibit transmission of the transmission frames in both directions. The present invention relates to a control method for configuring a simple dual ring network.

また、二重リング・ネットワークで一箇所故障が発生した場合に、健全機能を維持する伝送局から、新たな位置にある二つの伝送局を終端局に変化させ、全面停止を避けるようにした冗長化の制御方式に関する。   In addition, when a single-point failure occurs in a dual-ring network, the redundancy that changes the two transmission stations at the new location from the transmission station that maintains the sound function to the terminal station and avoids a full stop. The present invention relates to a control method for computerization.

さらに、伝送局間で交信される、これらの制御方式に関わる伝送フレームやアプリケーションで使用されるデータフレームとインタフェースがISO/IEC8802−3イーサネット(登録商標)規格に準拠し、更にOSI(ISO/IEC7498−1)物理層として、上位層のデータリンク層、特に、伝送フレーム同士の共通伝送路上での衝突を回避するための共通伝送路のアクセス制御を行うメディア・アクセス制御方式(MAC)を限定しない物理層としての二重リング・ネットワークの構成制御に関する。   Further, transmission frames related to these control methods communicated between transmission stations and data frames and interfaces used in applications comply with the ISO / IEC8802-3 Ethernet (registered trademark) standard, and further, OSI (ISO / IEC7498). -1) As a physical layer, there is no limitation on a media access control method (MAC) for performing access control of a data link layer of an upper layer, in particular, a common transmission path for avoiding a collision between transmission frames on the common transmission path. The present invention relates to configuration control of a double ring network as a physical layer.

一般に複数の伝送局の相互間を双方向通信が可能な通信路で、リング状に順々に接続して構成したネットワークシステムは、各伝送局が両方向に伝送フレームを送出する。   In general, in a network system configured by sequentially connecting a plurality of transmission stations in a ring shape with a communication path capable of bidirectional communication, each transmission station transmits a transmission frame in both directions.

これらの各伝送局は、予め定められた伝送局の一つが制御局となり、各々の伝送局から送出された伝送フレームがリング内を循環し続けないようにしている。   In each of these transmission stations, one of the predetermined transmission stations serves as a control station so that transmission frames transmitted from the respective transmission stations do not continue to circulate in the ring.

この伝送局にて伝送フレーム流を遮断する方式の従来例として、特許第3461954号公報(特許文献1)がある。   Japanese Patent No. 3461554 (Patent Document 1) is known as a conventional example of a method of blocking the transmission frame flow at this transmission station.

この特許文献1は稼動中に、いずれか一箇所で故障が発生した場合には、この伝送局が中央制御局として、ネットワーク内の伝送局と、特に故障を検出した伝送局と主に交信する事で故障部分を切り離す。   In this Patent Document 1, when a failure occurs at any one place during operation, this transmission station mainly communicates with a transmission station in the network, particularly with a transmission station that detects the failure, as a central control station. The failure part is separated by the thing.

また、定常的に交信する伝送フレームが途切れたことで故障を判断し、故障部分を切り離すとともに、制御局として今まで遮断していた伝送フレームの双方向中継を実施することで、一箇所故障によるネットワークシステムの全面ダウンを回避する方式が行われている。   In addition, the failure of the transmission frame that is regularly communicated is judged, the failure part is separated, and the two-way relaying of the transmission frame that has been blocked as a control station has been performed so There is a method for avoiding the entire down of the network system.

同様な方式には、IEEE802.5トークンリング方式ネットワークもある。   A similar scheme is an IEEE 802.5 token ring network.

一方、各伝送局は、常時は、リング上の一方向に伝送フレームを送出し、各伝送局は他の伝送局が送出した伝送フレームを中継し、またリングを巡って戻ってきた伝送フレームは、その伝送フレームを送出した伝送局にて廃棄することで、リング内を伝送フレームが循環し続けないようにしたリング状ネットワークとしてANSIX3T9.5FDDIがある。   On the other hand, each transmission station always sends a transmission frame in one direction on the ring, each transmission station relays a transmission frame sent by another transmission station, and a transmission frame returned around the ring is There is ANSIX3T9.5FDDI as a ring network that prevents the transmission frame from circulating in the ring by discarding it at the transmission station that sent the transmission frame.

このタイプのネットワークでは、相互間で双方向通信が可能な通信路のうち、常時は一方向の通信路を用い、他方向の通信路は待機状態としている。   In this type of network, among communication paths capable of bidirectional communication between each other, a communication path in one direction is always used, and a communication path in the other direction is in a standby state.

稼動中に、いずれか一箇所で故障が発生した場合には、伝送フレームの遮断が生じることとなり、予め指定された中央伝送局と故障箇所に隣接した伝送装置とが主に交信することで、故障部分を挟んだ両隣の二つの伝送装置において通信路を折り返し、今まで待機状態にあった逆方向の通信路を生かすことで、通信路としては2倍長となるが新たなリング・ネットワークを構成する。これによって、一箇所故障によるネットワークの全面ダウンを回避する。   If a failure occurs at any one location during operation, the transmission frame will be cut off, and the communication between the central transmission station designated in advance and the transmission device adjacent to the failure location mainly communicates. By turning back the communication path between the two transmission devices on both sides of the faulty part and utilizing the communication path in the opposite direction that has been in the standby state until now, the communication path is doubled, but a new ring network Configure. This avoids the entire network going down due to a one-point failure.

つまり、従来例においては、通常は、リング状ネットワークの固定された一箇所にて伝送流を遮断する。   That is, in the conventional example, normally, the transmission flow is interrupted at one fixed point of the ring network.

遮断する箇所は、予め固定的に定められた中央の制御局か、共通伝送路に伝送フレームを送出できる伝送権を一時的に与えられた伝送局であり、伝送権を保持している間は伝送路を制御する制御局となる。   The part to be blocked is a central control station fixed in advance or a transmission station temporarily given a transmission right to send a transmission frame to a common transmission line, and while holding the transmission right The control station controls the transmission path.

特許第3461954号公報Japanese Patent No. 3461954

しかしながら、これらのネットワークシステムでは、一箇所故障が発生すると、それらのネットワークに固有の伝送路制御方式の手順に従って、制御局と故障箇所に隣接する伝送局との間でタイミングをとって交信しあい、又は同期をとって、前者の場合は切断していた制御局内で、また後者の場合は、故障箇所を挟むようにした2箇所にて折り返すことで、全面停止をさけ、伝送フレームが循環し続けることを避ける。   However, in these network systems, when a single failure occurs, communication is performed between the control station and the transmission station adjacent to the failure point in accordance with the procedure of the transmission path control method unique to those networks, Or, by synchronizing, in the former case, the transmission frame keeps circulating by avoiding the entire stop by turning back in the control station that has been disconnected, and in the latter case by turning back at two places so as to sandwich the failure point. Avoid that.

いづれの方式も伝送路制御方式に依存したものであり、汎用性に制限があることや、応用するとしても故障から復帰のための制御に時間を要するという課題があった。   Both methods depend on the transmission path control method, and there are problems that there is a limitation in versatility, and that even if applied, it takes time to control for recovery from a failure.

従って、伝送制御方式とは独立した形でバス型の伝送路を提供する、一箇所故障からの汎用的な方式とするのは難しいという課題があった。   Therefore, there is a problem that it is difficult to provide a general-purpose system from a one-point failure that provides a bus-type transmission path independent of the transmission control system.

本発明は上記課題を鑑みてなされたものであり、2箇所にて切断を行うことを基本として、ネットワークの初期化時点で、隣り合う二つの終端局を構成し、一箇所故障からの復帰に際しては、各伝送局が個別に分散して並列に動作し、新たな位置に終端局を構成することを目的とする。   The present invention has been made in view of the above problems, and based on the fact that disconnection is performed at two locations, at the time of network initialization, two adjacent terminal stations are configured to recover from a single location failure. The purpose of this is to configure the terminal stations at new positions by distributing each of the transmission stations individually and operating in parallel.

これによって、復帰までの時間を非常に短時間に行えること、更に、初期化やその後の運用や一箇所故障からの復帰に際しても、上位層となる伝送路制御方式に依存しないで汎用的な応用が可能となり、市場で流通する用品や実績のある技術を利用し活用でき比較して安価に製品化が可能となる、更に、リング状であるがバス型と等価の物理層メディアとして二重リング・ネットワークを提供できることになる。   As a result, the time to recovery can be shortened to a very short time. In addition, for initialization, subsequent operation, and recovery from a single location failure, general-purpose applications can be used without depending on the upper layer transmission path control method. It can be used by using products distributed in the market and proven technology, and can be commercialized at a lower cost. Furthermore, it is a ring-shaped but double ring as a physical layer medium equivalent to the bus type. -A network can be provided.

本発明のネットワークシステムは、双方向に通信が可能な第1の通信ポート及び第2の通信ポートを備えた伝送局を伝送路を介してリング状に接続し、これらの伝送局の内で基点局がフレーム信号を右回りの経路及び左周りの経路で送信し、右回りの経路の終端局及び左回りの経路の終端局のそれぞれが前記基点局からのフレーム信号を返信するネットワークシステムにおいて、
前記伝送局及び終端局並びに基点局は、
前記右回りの経路で通信可能とする第1の通信ポート及び前記左回りの経路で通信可能とする第2の通信ポートから前記フレーム信号が受信されたかどうかを判定する手段と、
前記受信されないときは、前記第1及び第2の通信ポートから経路確認のための経路確認フレーム信号を隣接の伝送局に送信する手段と、
前記隣接の伝送局からの前記経路確認フレーム信号の受信がないときは、自局を前記終端局として設定する手段と、
を備えたことを要旨とする。
In the network system of the present invention, a transmission station having a first communication port and a second communication port capable of bidirectional communication is connected in a ring shape via a transmission line, and a base point is established among these transmission stations. In a network system in which a station transmits a frame signal in a clockwise route and a counterclockwise route, and each of a terminal station in a clockwise route and a terminal station in a counterclockwise route returns a frame signal from the base station,
The transmission station, terminal station and base station are:
Means for determining whether or not the frame signal has been received from a first communication port capable of communicating via the clockwise route and a second communication port capable of communicating via the counterclockwise route;
Means for transmitting a route confirmation frame signal for route confirmation from the first and second communication ports to an adjacent transmission station when not received;
When there is no reception of the path confirmation frame signal from the adjacent transmission station , means for setting the own station as the terminal station;
The main point is that

また、自局が前記終端局となっているとき、前記フレーム信号が右回りの経路又は左回りの経路で入力しないときは、終端局としての設定を解除する手段と
を備えていることを要旨とする。
Further, when the own station is a said terminal station, said frame signal when no input path of right-handed route or the left-handed, that is a means for releasing the setting of the terminating station The gist.

また、本発明のネットワークシステムの制御方法は、双方向に通信が可能な第1の通信ポート及び第2の通信ポートを備えた伝送局を、伝送路を介して接続し、これらの伝送局の内で基点局がフレーム信号を右回りの経路及び左周りの経路で送信して右回りの経路の終端局及び左回りの経路の終端局のそれぞれが前記基点局からのフレーム信号を返信し、いずれかの伝送路で異常が発生したときは、新たに終端局を設定するネットワークシステムの制御方法であって、
前記伝送局及び終端局並びに基点局は、
前記右回りの経路で通信可能とする第1の通信ポート及び前記左回りの経路で通信可能とする第2の通信ポートから前記フレーム信号が受信されたかどうかを判定する工程と、
前記受信されないときは、前記第1及び第2の通信ポートから経路確認のための経路確認フレーム信号を隣接の伝送局に送信する工程と、
前記隣接局からの前記経路確認フレーム信号の受信がないときは、自局を前記終端局として設定する工程と、
自局が右回りの経路で終端局となったときは、前記基点局からの右回りからのフレーム信号を後段の隣接する右の伝送局に伝送しない又は自局が左回りの経路で終端局となったときは後段の隣接する左の伝送局に伝送しない工程と、
を行うことを要旨とする。
Further, the network system control method of the present invention connects a transmission station having a first communication port and a second communication port capable of bidirectional communication via a transmission path, and The base station transmits the frame signal in the clockwise route and the counterclockwise route, and each of the terminal station in the clockwise route and the terminal station in the counterclockwise route returns the frame signal from the base station, When an abnormality occurs in any of the transmission paths, it is a network system control method for newly setting a terminal station,
The transmission station, terminal station and base station are:
Determining whether the frame signal has been received from a first communication port capable of communication via the clockwise route and a second communication port capable of communication via the counterclockwise route;
When not received, a step of transmitting a route confirmation frame signal for route confirmation from the first and second communication ports to an adjacent transmission station;
When there is no reception of the route confirmation frame signal from the adjacent station , setting the own station as the terminal station;
When the local station becomes the terminal station on the clockwise route, the frame signal from the clockwise point from the base station is not transmitted to the adjacent right transmission station in the subsequent stage, or the local station is the terminal station on the counterclockwise route. When it becomes, the process of not transmitting to the adjacent left transmission station in the latter stage,
The gist is to do.

また、自局が前記終端局となっているとき、前記フレーム信号が右回りの経路又は左回りの経路で入力しないときは、終端局としての設定を解除する工程と
を行うことを要旨とする。
In addition, when the local station is the terminal station, a step of canceling the setting as the terminal station is performed when the frame signal is not input through a clockwise route or a counterclockwise route. .

また、本発明の伝送局は、二重リング・ネットワークシステムの伝送路間に配置され、右回りで通信が可能な第1の通信ポート及び左回りで通信が可能な第2の通信ポートを備えた伝送局において、
前記右回りの経路で通信可能とする第1の通信ポート及び前記左回りの経路で通信可能とする第2の通信ポートからフレーム信号が受信されたかどうかを判定する手段と、
前記受信されないときは、前記第1及び第2の通信ポートから経路確認のための経路確認フレーム信号を隣接の伝送局に送信する手段と、
前記隣接局からの前記経路確認フレーム信号の受信がないときは、自局を終端局として設定する手段と、
自局が右回りの経路で終端局となったときは、基点局からの右回りからのフレーム信号を後段の隣接する右の伝送局に伝送しない又は自局が左回りの経路で終端局となったときは後段の隣接する左の伝送局に伝送しない手段と
を備えたことを要旨とする。
The transmission station of the present invention includes a first communication port that is arranged between transmission lines of a dual ring network system, and that can communicate clockwise and a second communication port that can communicate counterclockwise. In the transmission station
Means for determining whether or not a frame signal has been received from the first communication port enabling communication on the clockwise route and the second communication port enabling communication on the counterclockwise route;
Means for transmitting a route confirmation frame signal for route confirmation from the first and second communication ports to an adjacent transmission station when not received;
When the route confirmation frame signal is not received from the adjacent station , means for setting the own station as a terminal station;
When the local station becomes the terminal station on the clockwise route, it does not transmit the clockwise frame signal from the base station to the adjacent right transmission station in the subsequent stage, or the local station and the terminal station on the counterclockwise route And a means for not transmitting to the adjacent left transmission station at the rear stage.

また、自局が前記終端局となっているとき、前記フレーム信号が右回りの経路又は左回りの経路で入力しないときは、終端局としての設定を解除する手段と
を備えたことを要旨とする。
In addition, when the local station is the terminal station, a means for canceling the setting as the terminal station is provided when the frame signal is not input through a clockwise route or a counterclockwise route. To do.

また、本発明の伝送局のプログラムは、二重リング・ネットワークシステムの伝送路間に配置され、右回りで通信が可能な第1の通信ポート及び左回りで通信が可能な第2の通信ポートを用いて制御する伝送局のプログラムであって、
コンピュータに、
前記右回りの経路で通信可能とする第1の通信ポート及び前記左回りの経路で通信可能とする第2の通信ポートからフレーム信号が受信されたかどうかを判定する手段、
前記受信されないときは、前記第1及び第2の通信ポートから経路確認のための経路確認フレーム信号を隣接の伝送局に送信する手段、
前記隣接局からの前記経路確認フレーム信号の受信がないときは、自局を終端局として設定する手段、
自局が右回りの経路で終端局となったときは、基点局からの右回りからのフレーム信号を後段の隣接する右の伝送局に伝送しない又は自局が左回りの経路で終端局となったときは後段の隣接する左の伝送局に伝送しない手段としての機能を実行させることを要旨とする。
Further, the transmission station program of the present invention is arranged between transmission lines of a dual ring network system, and a first communication port capable of communicating clockwise and a second communication port capable of communicating counterclockwise. A transmission station program controlled using
On the computer,
Means for determining whether or not a frame signal has been received from the first communication port enabling communication through the clockwise route and the second communication port enabling communication through the counterclockwise route;
Means for transmitting a path confirmation frame signal for path confirmation from the first and second communication ports to an adjacent transmission station when not received;
Means for setting the own station as a terminal station when the route confirmation frame signal is not received from the adjacent station ;
When the local station becomes the terminal station on the clockwise route, it does not transmit the clockwise frame signal from the base station to the adjacent right transmission station in the subsequent stage, or the local station and the terminal station on the counterclockwise route In this case, the gist is to execute a function as a means not to transmit to the adjacent left transmission station in the subsequent stage.

また、前記コンピュータに、
自局が前記終端局となっているとき、前記フレーム信号が右回りの経路又は左回りの経路で入力しないときは、終端局としての設定を解除する手段
としての機能を実行させることを要旨とする。
In addition, the computer
When the local station is the terminal station and the frame signal is not input through a clockwise route or a counterclockwise route, the gist is to execute a function as means for canceling the setting as the terminal station. To do.

以上のように本発明によれば、2箇所にて切断を行うことを基本として、ネットワークの初期化時点で、隣り合う二つの終端局を構成し、一箇所故障からの復帰に際しては、各伝送局が個別に分散して並列に動作し、新たな位置に終端局を構成した。   As described above, according to the present invention, on the basis of disconnecting at two locations, two adjacent terminal stations are configured at the time of network initialization, and each transmission is performed when returning from a single location failure. The stations were distributed individually and operated in parallel, and a terminal station was constructed at a new location.

従って、復帰までの時間を非常に短時間に行えること、更に、初期化やその後の運用や一箇所故障からの復帰に際しても、上位層となる伝送路制御方式に依存しないで汎用的な応用が可能となる。この結果、市場で流通する用品や実績のある技術を利用し活用でき比較して安価に製品化である。   Therefore, it is possible to make the time to recovery in a very short time, and also to perform general-purpose applications without depending on the upper-layer transmission path control method for initialization, subsequent operation, and recovery from a single-point failure. It becomes possible. As a result, it is possible to use and distribute the products distributed in the market and the proven technology, and the product can be commercialized at a lower cost.

初期化後の二重リング・ネットワークシステムでのマスタ局と両終端局の位置関係の説明図である。It is explanatory drawing of the positional relationship of the master station and both terminal stations in the double ring network system after initialization. 二重リング・ネットワークシステムでの各伝送局は双方向伝送路により相互に接続されていることを説明する説明図である。It is explanatory drawing explaining that each transmission station in a double ring network system is mutually connected by the bidirectional | two-way transmission line. 二重リング・ネットワークシステムの伝送局構成の一実施例(その1)となるハードウェア構成図である。It is a hardware block diagram which becomes one Example (the 1) of the transmission station structure of a double ring network system. 二重リング・ネットワークシステムの伝送局構成の一実施例(その2)となるハードウェア構成図である。It is a hardware block diagram which becomes one Example (the 2) of the transmission station structure of a double ring network system. 初期化後の両終端局でのスイッチ状態を説明する説明図である。It is explanatory drawing explaining the switch state in both terminal stations after initialization. 初期化開始時の各局スイッチ状態と各モードを示す。Each station switch state and each mode at the start of initialization are shown. 初期化後の両終端局およびノーマル局での動作状態を説明する説明図である。It is explanatory drawing explaining the operation state in both terminal stations after initialization, and a normal station. 初期化開始からの各局モード遷移を説明する説明図である。It is explanatory drawing explaining each station mode transition from the initialization start. 初期化時の伝送局間でのINZフレーム交信の一実施例(その1)のシーケンス図である。It is a sequence diagram of one Example (the 1) of INZ frame communication between transmission stations at the time of initialization. #STj伝送局での初期化処理(その1)を説明するフローチャートである。It is a flowchart explaining the initialization process (the 1) in #STj transmission station. #STj伝送局での初期化処理(その1)を説明するフローチャートである。It is a flowchart explaining the initialization process (the 1) in #STj transmission station. 初期化時の伝送局間の交信例(その1)のシーケンス図(伝送局ST1,ST2,ST8の場合)である。It is a sequence diagram (in the case of transmission stations ST1, ST2, ST8) of a communication example (part 1) between transmission stations at the time of initialization. 初期化時の伝送局間の交信例(その1)のシーケンス図(伝送局ST1,ST2,ST8の場合)である。It is a sequence diagram (in the case of transmission stations ST1, ST2, ST8) of a communication example (part 1) between transmission stations at the time of initialization. 初期化時の伝送局間でのINZフレーム交信の一実施例(その2)のシーケンス図である。It is a sequence diagram of one Example (the 2) of INZ frame communication between the transmission stations at the time of initialization. #STj伝送局での初期化処理(その2)のシーケンス図である。FIG. 11 is a sequence diagram of initialization processing (part 2) in the #STj transmission station. #STj伝送局での初期化処理(その2)のシーケンス図である。FIG. 11 is a sequence diagram of initialization processing (part 2) in the #STj transmission station. 初期化時の伝送局間の交信例(その2)のシーケンス図(伝送局−ST1,ST2,ST8の場合)である。It is a sequence diagram (in the case of transmission station-ST1, ST2, ST8) of the communication example (the 2) between the transmission stations at the time of initialization. 初期化時の伝送局間の交信例(その2)のシーケンス図(伝送局−ST1,ST2,ST8の場合)である。It is a sequence diagram (in the case of transmission station-ST1, ST2, ST8) of the communication example (the 2) between the transmission stations at the time of initialization. #ST10と#ST9間で伝送異常が発生した例を説明する説明図である。It is explanatory drawing explaining the example which transmission abnormality generate | occur | produced between # ST10 and # ST9. #ST10と#ST9間で伝送異常が発生後、受信異常検出、SYN無検出による各局のスイッチ状態を説明する説明図である。It is explanatory drawing explaining the switch state of each station by reception abnormality detection and SYN non-detection after transmission abnormality generate | occur | produces between # ST10 and # ST9. 二重リング・ネットワークシステムの一箇所故障からの再構成の一実施例(その1)を説明するシーケンス図である。It is a sequence diagram explaining one Example (the 1) of the reconfiguration | reconstruction from a single location failure of a double ring network system. 二重リング・ネットワークの一箇所故障からの再構成の一実施例(その2)を説明するシーケンス図であるIt is a sequence diagram explaining one Example (the 2) of the reconfiguration | reconstruction from a single point failure of a double ring network ISO/IEC 8802−3 イーサネット(登録商標)伝送フレーム構成を説明する説明図である。It is explanatory drawing explaining an ISO / IEC 8802-3 Ethernet (trademark) transmission frame structure. 本実施の形態の二重リング・ネットワークシステムの自動終端局機能の概略を説明するフローチャートである。It is a flowchart explaining the outline of the automatic termination station function of the double ring network system of this Embodiment. 初期における終端局の設定を説明する説明図である。It is explanatory drawing explaining the setting of the terminal station in the initial stage. 終端局の切り替わりを説明する説明図である。It is explanatory drawing explaining switching of a terminal station. 伝送局の概略構成図である。It is a schematic block diagram of a transmission station.

図2は本発明が適用される二重リング・ネットワークシステム(単に二重リング・ネットワークという場合ある)の概略構成図である。   FIG. 2 is a schematic configuration diagram of a double ring network system (sometimes simply referred to as a double ring network) to which the present invention is applied.

図2は8台の各伝送局(伝送局1〜8)は、図2に示されるように双方向伝送路により相互に接続されてリング状のネットワークを構成している。図2においては、伝送局1を#ST1、伝送局2を#ST2、伝送局3を#ST3、伝送局4を#ST4、伝送局5を#ST5、伝送局6を#ST6、伝送局7を#ST7、伝送局8を#ST8と記載し、それぞれの各局のネットワーク上のアドレスを示す。   In FIG. 2, the eight transmission stations (transmission stations 1 to 8) are connected to each other via a bidirectional transmission path as shown in FIG. 2 to form a ring network. In FIG. 2, transmission station 1 is # ST1, transmission station 2 is # ST2, transmission station 3 is # ST3, transmission station 4 is # ST4, transmission station 5 is # ST5, transmission station 6 is # ST6, transmission station 7 Is denoted as # ST7, and the transmission station 8 is denoted as # ST8, indicating the address of each station on the network.

請求項1に対しては、図1が、本発明でいう二重リング・ネットワークシステムの一例となる。図1においては伝送局1(#ST1)がマスタ局(MS)になり、伝送局5(#ST5)及び伝送局6(#ST6)終端局となった一例である。前述のマスタ局は例えば最初に起動したものがなる。   For claim 1, FIG. 1 is an example of a dual ring network system according to the present invention. FIG. 1 shows an example in which the transmission station 1 (# ST1) becomes the master station (MS) and becomes the transmission station 5 (# ST5) and the transmission station 6 (# ST6) termination station. The aforementioned master station is, for example, the first started up.

図1では、総計8台の伝送局が図2の二重リング・ネットワークシステムと同じように相互接続されてはいるが、本発明の二重リング・ネットワークシステムでは、図2のリング状ネットワークシステムにない、前記した自局自動終端局機能を各伝送局が有している。   In FIG. 1, a total of eight transmission stations are interconnected in the same manner as the dual ring network system of FIG. 2, but in the dual ring network system of the present invention, the ring network system of FIG. Each transmission station has the above-described automatic terminal station function which is not described above.

この自局自動終端局機能は、一方の伝送局の通信ポートから送出され、伝送路を介してつながる他方の伝送局の通信ポートから受信される伝送フレームを伝送局にて検出し、伝送フレームに含まれる情報に応じて応答はするが、受信した通信ポートから他方の通信ポートへは中継しない。   This local station automatic termination station function detects a transmission frame transmitted from the communication port of one transmission station and received from the communication port of the other transmission station connected via the transmission path, and converts it into a transmission frame. It responds according to the information contained, but does not relay from the received communication port to the other communication port.

従って、他方の通信ポートからはその伝送フレームを送出しない機能を有する伝送局が、図1に示すように伝送局5(#ST5)が終端局ST−T−Lとなり、伝送局6(#ST6)が終端局ST−T−Rとしてなり、この二つで一組となる構成で含まれるようになる。   Accordingly, the transmission station having the function of not transmitting the transmission frame from the other communication port, as shown in FIG. 1, the transmission station 5 (# ST5) becomes the terminal station ST-TL, and the transmission station 6 (# ST6 ) Is the terminal station ST-T-R, and these two are included in a set.

このため、伝送局から送出される伝送フレームがリング状に構成したネットワークシステム内を循環しないようにできる。   For this reason, it is possible to prevent the transmission frame transmitted from the transmission station from circulating in the network system configured in a ring shape.

尚、図1では、終端局ST−T−L及び終端局ST−T−Rが各々#ST5と#ST6と図示されているが、図1のネットワーク構成で限定されるものではない。   In FIG. 1, the terminal station ST-TL and the terminal station ST-TR are illustrated as # ST5 and # ST6, respectively, but are not limited to the network configuration of FIG.

すなわち、図1は、双方向に通信が可能な二つの通信ポートを備えた二つ以上の伝送局で、各々の二つの通信ポートにより伝送路を介して相互をリング状に接続し、伝送局相互間で交信を行えるように構成した二重リング・ネットワークシステムとする。   That is, FIG. 1 shows two or more transmission stations having two communication ports capable of bidirectional communication, each of which is connected to each other in a ring shape via a transmission line. A dual ring network system configured to allow mutual communication.

伝送局は、情報を含む伝送フレームを一度に二つの通信ポートから同時に隣接する伝送局にそれぞれ送出するようにする。   The transmission station sends out transmission frames including information from two communication ports at the same time to adjacent transmission stations.

そして、二つの通信ポートの一方から受信する他の伝送局から送出された伝送フレームは検出し、他方の通信ポートへ中継し、他方の通信ポートからその伝送フレームを送出する。   Then, a transmission frame transmitted from another transmission station received from one of the two communication ports is detected, relayed to the other communication port, and the transmission frame is transmitted from the other communication port.

リング状に相互に接続された二つ以上の伝送局のうち、隣り合う二つの伝送局の各々では、一方の伝送局の通信ポートから送出され、伝送路を介してつながる他方の伝送局の通信ポートから受信される伝送フレームを伝送局にて検出し、伝送フレームに含まれる情報に応じて応答はするが、受信した通信ポートから他方の通信ポートへは中継しない。   Of two or more transmission stations connected to each other in a ring shape, in each of the two adjacent transmission stations, communication is transmitted from the communication port of one transmission station and connected via the transmission path to the other transmission station. A transmission frame received from the port is detected by the transmission station and responds according to information contained in the transmission frame, but is not relayed from the received communication port to the other communication port.

従って、他方の通信ポートからはその伝送フレームを送出しないようにすることで、その中継方向にある、リング状につながる更に先の伝送局へは送達しないようにして、伝送局から送出される伝送フレームがリング状に構成したネットワーク内を循環しないようにできる。   Therefore, by transmitting the transmission frame from the other communication port so that the transmission frame is not transmitted to the further transmission station connected in a ring shape in the relay direction. Frames can be prevented from circulating in a ring-shaped network.

請求項2に対しては、図1で示す#ST1がマスタ局として、#ST1を基点に、伝送局数(この例では8台)と、各々の伝送局間の伝送路長とに応じて、#ST5と#ST6が一意的に終端局に決定される。   For claim 2, # ST1 shown in FIG. 1 is a master station, and based on # ST1, the number of transmission stations (8 in this example) and the transmission path length between the respective transmission stations , # ST5 and # ST6 are uniquely determined as terminal stations.

具体的な決定までの手順は、請求項4及び請求項5およびその実施の形態によるが、マスタ局として選択した伝送局から見て、リング内の対向側で、マスタ局から数えて伝送局総数の半分のカウント数に位置する隣り合う伝送局の各々が終端局の位置となる。   The procedure until the specific determination depends on claims 4 and 5 and the embodiment thereof, but the total number of transmission stations counted from the master station on the opposite side in the ring as seen from the transmission station selected as the master station. Each of the adjacent transmission stations located at half the number of counts becomes the position of the terminal station.

つまり、マスタ局からみて位置が決定される終端局を構成することで、伝送局から送出される伝送フレームがリング状に構成したネットワーク内を循環しないようにできる。   That is, by configuring the terminal station whose position is determined when viewed from the master station, it is possible to prevent the transmission frame transmitted from the transmission station from circulating in the network configured in a ring shape.

すなわち、図1と同じく二つの通信ポートを備えた複数の伝送局を相互にリング状に接続して二重リング・ネットワークを構成する。また伝送局は同じく伝送フレームを一度に二つの通信ポートから同時に送出し、一方の通信ポートから受信する他の伝送局からの伝送フレームは受信を検出し、他方の通信ポートへ中継し他方の通信ポートから送出するようにする。   That is, as in FIG. 1, a plurality of transmission stations having two communication ports are connected to each other in a ring shape to form a double ring network. The transmission station also sends transmission frames from two communication ports at the same time, detects transmission frames from other transmission stations received from one communication port, relays to the other communication port, and relays to the other communication port. Send from port.

そして、一つの伝送局を基点に、リング状に接続された二つ以上の伝送局のうち、リング状のネットワークを構成する伝送局の総数と伝送局の相互間を接続する伝送路の総長に応じて決まる位置に隣り合う二つの伝送局の各々では、一方の伝送局の通信ポートから送出され、伝送路を介してつながる他方の伝送局の通信ポートから受信された伝送フレームを、その伝送局で受信検出し、更に伝送フレームに含まれる情報に応じて応答するが、受信した通信ポートから他方の通信ポートへの中継はしない。   Based on one transmission station, the total number of transmission stations constituting the ring network and the total length of the transmission path connecting the transmission stations among the two or more transmission stations connected in a ring shape. In each of the two transmission stations adjacent to each other, the transmission frame transmitted from the communication port of one transmission station and received from the communication port of the other transmission station connected via the transmission path is transmitted to the transmission station. , And further responds according to the information contained in the transmission frame, but does not relay from the received communication port to the other communication port.

従って、他方の通信ポートからはその伝送フレームを送出しないことで、受信した伝送フレームを、その中継方向にある、リング状につながり更に先の伝送局へは送達しないことで、伝送局から送出される伝送フレームがリング状に構成したネットワーク内を循環しないようにできる。   Therefore, by not transmitting the transmission frame from the other communication port, the received transmission frame is transmitted from the transmission station by being connected in a ring shape in the relay direction and not delivered to the further transmission station. It is possible to prevent the transmission frame from being circulated in the ring-shaped network.

請求項3にては、性能向上と価格低下が著しい送信器や受信器IC、データ送受信LSIや回路部品などのネットワーク部品、アクセサリ用品、メディア変換装置やインタフェース装置、テスト試験装置などの利活や組み込み、イーサネット(登録商標)上に展開される通信プロトコル拡張手順、プロトコル処理ファームウェアやミドルウェア、汎用ITアプリケーションソフト、テスト試験手順など整合性と実利面で優位とできる。   In claim 3, network components such as transmitters and receiver ICs, data transmission / reception LSIs and circuit components whose performance improvement and price decrease are remarkable, accessory products, media conversion devices, interface devices, test test devices, etc. Built-in communication protocol expansion procedure deployed on Ethernet (registered trademark), protocol processing firmware and middleware, general-purpose IT application software, test test procedure, etc.

請求項4からの実施の形態、手順を具体的に説明する前に、本発明の二重リング・ネットワークシステムの伝送局の装置構成の実施例を説明する。   Before specifically describing the embodiment and procedure from claim 4, an example of the apparatus configuration of the transmission station of the dual ring network system of the present invention will be described.

図3及び図4は、本発明の二重リング・ネットワークシステムの伝送局構成の一実施例(その1)及び(その2)となるハードウェア構成を示す。   FIG. 3 and FIG. 4 show a hardware configuration as an embodiment (part 1) and (part 2) of the transmission station configuration of the dual ring network system of the present invention.

図3及び図4のハードウェア構成の違いは、特に、図4は、図3のハードウェア構成から、RRR−DET−A,−B回路、RRR−RCV−ADRS回路が省かれた構成であり、図3と区別するためのフレーム検出部45と称する。   The difference between the hardware configurations of FIGS. 3 and 4 is that, in particular, FIG. 4 is a configuration in which the RRR-DET-A and -B circuits and the RRR-RCV-ADRS circuit are omitted from the hardware configuration of FIG. This is referred to as a frame detection unit 45 for distinguishing from FIG.

一方の通信ポート部10であるポートAは、隣局との双方向通信が行えるように受信器(RVR−A)、送信器(TVR−A)から構成されている。また、他方の通信ポート部11であるポートBは、隣局との双方向通信が行えるように受信器(RVR−B)、送信器(TVR−B)から構成されている。   Port A, which is one communication port unit 10, includes a receiver (RVR-A) and a transmitter (TVR-A) so that bidirectional communication with the adjacent station can be performed. The other communication port unit 11, port B, includes a receiver (RVR-B) and a transmitter (TVR-B) so that bidirectional communication with a neighboring station can be performed.

ポートAからの受信では、RVR−Aの出力となるポートAからの受信信号(SIG−RV−A)は、12であるリピータA(FW−A)、受信許可スイッチ18(SW−RVC−A)、フレーム検知判定部31内の受信異常検出回路32(RCV−ERR−A)、SYNフレーム検出回路34(SYN−DET−A)、RRRフレーム受信検出回路37(RRR−DET−A)、RRRフレーム受信先アドレス保持回路38(RRR−RCV−ADRS)、INZフレーム受信検出回路40(INZ−DET−A)、INZフレーム送信元アドレス保持回路41(INZ−TX−ADRS−A)に導かれる。   In the reception from the port A, the reception signal (SIG-RV-A) from the port A, which is the output of the RVR-A, is a repeater A (FW-A) 12 and a reception permission switch 18 (SW-RVC-A). ), Reception abnormality detection circuit 32 (RCV-ERR-A), SYN frame detection circuit 34 (SYN-DET-A), RRR frame reception detection circuit 37 (RRR-DET-A), RRR in the frame detection determination unit 31. The frame reception destination address holding circuit 38 (RRR-RCV-ADRS), the INZ frame reception detection circuit 40 (INZ-DET-A), and the INZ frame transmission source address holding circuit 41 (INZ-TX-ADRS-A) are guided.

同様に、他方の通信ポート部11であるポートBからの受信では、RVR−Bの出力となるポートBからの受信信号(SIG−RV−B)は、15であるリピータB(FW−B)、受信許可スイッチ19(SW−RCV−B)、受信異常検出回路33(RCV−ERR−B)、SYNフレーム検出回路36(SYN−DET−B)、RRRフレーム受信検出回路39(RRR−DET−B)、RRRフレーム受信先アドレス保持回路38(RRR−RCV−ADRS)、INZフレーム受信検出回路42(INZ−DET−B)、INZフレーム送信元アドレス保持回路43(INZ−TX−ADRS−B)に導かれる。   Similarly, in reception from port B which is the other communication port unit 11, a reception signal (SIG-RV-B) from port B which is an output of RVR-B is 15, repeater B (FW-B). , Reception permission switch 19 (SW-RCV-B), reception abnormality detection circuit 33 (RCV-ERR-B), SYN frame detection circuit 36 (SYN-DET-B), RRR frame reception detection circuit 39 (RRR-DET-) B), RRR frame reception address holding circuit 38 (RRR-RCV-ADRS), INZ frame reception detection circuit 42 (INZ-DET-B), INZ frame transmission source address holding circuit 43 (INZ-TX-ADRS-B) Led to.

イーサネット(登録商標)手順による伝送フレームの送信と受信を制御する送受信制御回回路21(MAC/DLC)からの送信出力は、送信許可スイッチ16(SW−TX−A)、送信許可スイッチ17(SW−TX−B)に導かれる。送信許可スイッチ16(SW−TX−A)がONの許可状態の時には、送受信制御回路21(MAC/DLC)の送信出力信号は、一方の通信ポート部10であるポートAのTVR−Aに、また送信許可スイッチ17(SW−TX−B)がONの時には、他方の通信ポート部11のTVR−Bに導かれ送出される。   The transmission output from the transmission / reception control circuit 21 (MAC / DLC) that controls transmission and reception of transmission frames according to the Ethernet (registered trademark) procedure is a transmission permission switch 16 (SW-TX-A), a transmission permission switch 17 (SW -TX-B). When the transmission permission switch 16 (SW-TX-A) is in the ON permission state, the transmission output signal of the transmission / reception control circuit 21 (MAC / DLC) is sent to the TVR-A of the port A which is one communication port unit 10. Further, when the transmission permission switch 17 (SW-TX-B) is ON, it is guided to the TVR-B of the other communication port unit 11 and transmitted.

スイッチ状態がOFFの時は、MAC/DLCの送信出力信号はスイッチにてカットされ、結果として対応する通信ポートからは伝送フレームが送出されない。   When the switch state is OFF, the MAC / DLC transmission output signal is cut by the switch, and as a result, the transmission frame is not transmitted from the corresponding communication port.

ポートAから受信した伝送フレームはFW−Aの出力、中継許可スイッチ13(SW−FW−A)を経由し、ポートBのTVR−Bに導かれる。中継許可スイッチ14(SW−FW−A)がONの場合は、ポートAから受信した伝送フレームは、結果として、中継されてポートBから送出される。   The transmission frame received from port A is guided to TVR-B of port B via the output of FW-A and relay permission switch 13 (SW-FW-A). When the relay permission switch 14 (SW-FW-A) is ON, the transmission frame received from the port A is relayed and sent out from the port B as a result.

また、OFFの場合は、SW−FW−Aによりカットされて中継送出されない。同様に、ポートBから受信した伝送フレームはリピータ15(FW−B)の出力、中継許可スイッチ14(SW−FW−B)を経由し、ポートAのTVR−Aに導かれる。   When it is OFF, it is cut by SW-FW-A and not relayed. Similarly, the transmission frame received from the port B is guided to the TVR-A of the port A via the output of the repeater 15 (FW-B) and the relay permission switch 14 (SW-FW-B).

SW−FW−BがONの場合は、ポートBから受信した伝送フレームは、結果として、中継されてポートAから送出される。OFFの場合は、SW−FW−Bによりカットされて中継送出されない。   When SW-FW-B is ON, the transmission frame received from port B is relayed and sent out from port A as a result. When it is OFF, it is cut by SW-FW-B and not relayed.

ポートAから受信した伝送フレームは、SW−RCV−Aを経由して先着受信選択回路20(RCV−SEL)へ導かれる。同様に、ポートBから受信した伝送フレームは、19であるSW−RCV−Bを経由してRCV−SELへ導かれる。   The transmission frame received from the port A is guided to the first arrival reception selection circuit 20 (RCV-SEL) via the SW-RCV-A. Similarly, the transmission frame received from the port B is guided to the RCV-SEL via 19 SW-RCV-B.

RCV−SELでは、ポートAおよびポートBからの受信信号を判断して、重なりがある場合には、先に到着したポート側から受信する伝送フレームを優先して受信完了まで切り替える。   In RCV-SEL, the reception signals from port A and port B are determined, and if there is an overlap, the transmission frame received from the port that has arrived first is preferentially switched until reception is completed.

このRCV−SEL出力は、MAC/DLCへ導かれ、受信処理される。本発明の二重リング・ネットワークシステムでは、健全状態にて稼動している間は、リング状とはいえバス型ネットワークと等価となるため、終端局を除く伝送局においては、伝送フレームを送出する伝送局と自局との位置関係により、一時にはどちらか一方のポートから伝送フレームを受信する。   This RCV-SEL output is guided to the MAC / DLC and processed for reception. In the dual ring network system of the present invention, while operating in a healthy state, it is equivalent to a bus-type network even though it is in a ring shape. Depending on the positional relationship between the transmission station and the local station, a transmission frame is received from one of the ports at a time.

そして、終端局では、リング状の接続状態の為、両方のポートから伝送フレームを受信することとなるが、通常は、ブロック状態にあるポート側の受信許可スイッチをOFFとして、非ブロック状態のポート側からの受信入力とする。   In the terminal station, the transmission frame is received from both ports because of the ring-like connection state. Normally, the port side reception permission switch in the blocked state is turned OFF, and the port in the non-blocked state Receive input from the side.

本発明では、これらの受信許可スイッチ、送信許可スイッチ、中継許可スイッチのON、OFF状態を切り替え制御する。   In the present invention, the ON / OFF state of these reception permission switch, transmission permission switch, and relay permission switch is controlled to be switched.

MPU24は、プログラムメモリ(PROMとワーキングRAMメモリ、RAMを用い、PROM)に格納されたプログラム手順により、また必要な設定値を読み出して、更にRAM内に必要なデータを書き込み、一時的に保持しまたは読み出して、本発明の伝送局でのシーケンス手順やイーサネット(登録商標)伝送手順を処理する中核となるマイクロプロセッサである。   The MPU 24 reads the necessary setting values according to the program procedure stored in the program memory (PROM, working RAM memory, RAM, PROM), and further writes the necessary data in the RAM to temporarily hold it. Alternatively, it is a core microprocessor that reads and processes the sequence procedure and the Ethernet (registered trademark) transmission procedure in the transmission station of the present invention.

IOC22は、MPU24からの書き込みデータを受けて、必要な回路へ制御信号を出力する、もしくは、各回路部から状態入力を受けて、MPU24が読み出すための入出力制御回路である。   The IOC 22 is an input / output control circuit that receives write data from the MPU 24 and outputs a control signal to a necessary circuit, or receives a status input from each circuit unit and is read by the MPU 24.

DP−RAM26であるデュアルポート・メモリ回路は、MAC/DLCから送受信する伝送フレームのデータの格納、更に、伝送局に接続する外部ホスト装置29とのホスト接続インタフェース回路28(HOST−IFを介した送受信データや制御コマンド・状態ステータスの交換のためのメモリ回路)となる。DP−RAM26は、MPU24、HOST−IF28、MAC/DLC21からアクセスされることからDPRAMコントローラはDPRC27により読み出し、書き込みのタイミングが制御される。   The dual port memory circuit, which is the DP-RAM 26, stores data of transmission frames transmitted / received from the MAC / DLC, and further, a host connection interface circuit 28 (via a HOST-IF) with an external host device 29 connected to the transmission station. A memory circuit for exchanging transmission / reception data and control commands / status. Since the DP-RAM 26 is accessed from the MPU 24, the HOST-IF 28, and the MAC / DLC 21, the DPRAM controller is read by the DPRC 27 and the write timing is controlled.

受信異常検出回路32(RCV−ERR−A)、受信異常検出回路33(RCV−ERR−B)は、ポートA,−Bに対応した受信異常を検出する回路である。   The reception abnormality detection circuit 32 (RCV-ERR-A) and the reception abnormality detection circuit 33 (RCV-ERR-B) are circuits that detect reception abnormality corresponding to the ports A and -B.

受信異常は、到来するフレームのキャリア信号が割れる、規定以上のイーサネット(登録商標)特有の受信クロック同期用信号であるプリアンブルパターンを受信する。   In the reception abnormality, a preamble pattern, which is a reception clock synchronization signal peculiar to Ethernet (registered trademark) exceeding a specified value, which is broken by a carrier signal of an incoming frame, is received.

逆に必須のプリアンブルパターンを検出できない、イーサネット(登録商標)伝送フレームに備わる伝送フレームの誤り検出コード(FCS)のチェックにより規定以上の誤りを連続して検出するなどの、受信誤りが連続して規定回数以上に検知されることで受信異常発生と判断するが、検知回路ではDLC/MACに備わるFCSチェック手段とその結果のMPU24による統計処理することを除いた範囲となる。   On the other hand, if the required preamble pattern cannot be detected, or if errors exceeding the specified value are detected continuously by checking the error detection code (FCS) of the transmission frame included in the Ethernet (registered trademark) transmission frame, the reception error continues. The detection circuit determines that a reception abnormality has occurred when it is detected more than the specified number of times, but the detection circuit has a range that excludes the FCS check means provided in the DLC / MAC and the resulting statistical processing by the MPU 24.

SYNフレーム検出回路34(SYN−DET−A)、SYNフレーム検出回路36(SYN−DET−B)は、ポートA,−Bに対応したSYNフレームの到来を検出する回路である。   The SYN frame detection circuit 34 (SYN-DET-A) and the SYN frame detection circuit 36 (SYN-DET-B) are circuits that detect the arrival of SYN frames corresponding to ports A and -B.

一方、SYN断検出路35(NO−SYN−DET−A/−B)は、SYN無しのロングサイレンス状態の発生を検出する回路である。   On the other hand, the SYN break detection path 35 (NO-SYN-DET-A / -B) is a circuit that detects the occurrence of a long silence state without SYN.

RRRフレーム受信検出回路37(RRR−DET−A)、RRRフレーム受信検出回路39(RRR−DET−B)は、ポートA,−Bに対応したRRRフレーム受信を検出する回路である。   The RRR frame reception detection circuit 37 (RRR-DET-A) and the RRR frame reception detection circuit 39 (RRR-DET-B) are circuits for detecting RRR frame reception corresponding to the ports A and -B.

RRRフレーム受信先アドレス保持回路38(RRR−RCV−ADRS)は、受信したRRRフレーム中の受信先アドレス(DA)部分を取り込んで保持する回路である。RRR−RCV−ADRSは、両側の受信信号を取り込んでタイミングを取って受信先アドレス部分を取り込むことが可能な回路構成となる。   The RRR frame reception address holding circuit 38 (RRR-RCV-ADRS) is a circuit that captures and holds the reception address (DA) portion in the received RRR frame. The RRR-RCV-ADRS has a circuit configuration capable of taking in the reception signals on both sides and taking in the reception destination address portion with timing.

INZフレーム受信検出回路37(INZ−DET−A)、INZフレーム受信検出回路38(INZ−DET−B)は、ポートA,−Bに対応したINZフレーム受信を検出する回路である。   The INZ frame reception detection circuit 37 (INZ-DET-A) and the INZ frame reception detection circuit 38 (INZ-DET-B) are circuits that detect INZ frame reception corresponding to ports A and -B.

INZフレーム送信元アドレス保持回路41(INZ−TX−ADRS−A)、INZフレーム送信元アドレス保持回路41(INZ−TX−ADRS−B)は、ポートA,−Bに対応して、受信したINZフレーム中の送信元アドレス(SA)部分を保持する回路である。   The INZ frame transmission source address holding circuit 41 (INZ-TX-ADRS-A) and the INZ frame transmission source address holding circuit 41 (INZ-TX-ADRS-B) correspond to the received INZ corresponding to the ports A and -B. This circuit holds the source address (SA) portion in the frame.

割り込み信号検出回路23(IRP)は、伝送局回路で検出した事象発生をMPU24へ割り込み信号として伝える割り込み信号の検出回路である。   The interrupt signal detection circuit 23 (IRP) is an interrupt signal detection circuit that transmits an event occurrence detected by the transmission station circuit to the MPU 24 as an interrupt signal.

割り込み信号には、受信異常発生検出(IRP−RE−A,−B)、SYN断検出(IRP−NO−SYN)、SYNフレーム受信検出(IRP−SYN−A,−B)、RRRフレーム受信検出(IRP−RRR−A,−B)、INZフレーム受信検出(IRP−INZ−A,−B)、MAC/DLC送受信完了検出(IRP−DLC)、MPUへの処理要求(IRP−HOST)とMPUからホスト装置への処理要求(IRP−STN)等がある。   The interrupt signal includes reception error occurrence detection (IRP-RE-A, -B), SYN disconnection detection (IRP-NO-SYN), SYN frame reception detection (IRP-SYN-A, -B), and RRR frame reception detection. (IRP-RRR-A, -B), INZ frame reception detection (IRP-INZ-A, -B), MAC / DLC transmission / reception completion detection (IRP-DLC), MPU processing request (IRP-HOST) and MPU Processing request (IRP-STN) to the host device.

C−BUSは、MPU24につながる共通データバスとなり、C−BUSを介して、MPU24は、特にNO−SYN−DET−A/Bの検出状態や、RRR−RCV−ADRSに保持されているRRRフレーム受信先アドレス情報や、INZ−TX−ADRS−A,−Bに保持されているINZフレーム送信元アドレス情報を読み出すことができる。   The C-BUS becomes a common data bus connected to the MPU 24, and the MPU 24 particularly detects the NO-SYN-DET-A / B detection state and the RRR frame held in the RRR-RCV-ADRS via the C-BUS. The destination address information and INZ frame transmission source address information held in INZ-TX-ADRS-A, -B can be read.

本発明では、請求項11として、ISO/IEC8802−3イーサネット(登録商標)規格にあう伝送フレームの使用を前提とする。   In the present invention, as claim 11, it is assumed that a transmission frame conforming to the ISO / IEC 8802-3 Ethernet (registered trademark) standard is used.

なお、図23には、ISO/IEC8802−3イーサネット(登録商標)規格の伝送フレームフォーマットを示している。   FIG. 23 shows a transmission frame format of the ISO / IEC 8802-3 Ethernet (registered trademark) standard.

図23において、PREは、受信信号同期用のプリアンブルパターンで7バイト長、SFDはフレーム開始パターンで1バイト長、DAは受信先アドレス、SAは送信元アドレス、LEN/TYPEは伝送フレームのプロトコルタイプを示すタイプコード番号、Infは伝送フレームの情報フィールドとなる。     In FIG. 23, PRE is a 7-byte preamble pattern for synchronizing received signals, SFD is a 1-byte frame start pattern, DA is a destination address, SA is a source address, and LEN / TYPE is a transmission frame protocol type. A type code number indicating Inf is an information field of a transmission frame.

RRR−RCV−ADRSはDA部分を、また、INZ−TX−ADRS−A,−Bの各々はSA部分を専用に取り込み保持する回路となる。   RRR-RCV-ADRS is a circuit that takes in and holds the DA part, and each of INZ-TX-ADRS-A and -B takes in and holds the SA part.

請求項11に対応する実施例では、本制御方式で使用するSYN、RRR、INZ、INZ−COMPの伝送フレームとしては、特別に限定したイーサネット(登録商標)・フレームフォーマットに限定しない。   In the embodiment corresponding to claim 11, the transmission frame of SYN, RRR, INZ, and INZ-COMP used in this control method is not limited to the Ethernet (registered trademark) frame format that is specifically limited.

これらの制御フレームが識別できるフォーマットとしての実施例であれば良い。実際的には、LEN/TYPE番号を取る方法があるが、これはEthernet(登録商標)のプロトコルType番号を管理する登録局の許可が必要となる。   Any format may be used as long as these control frames can be identified. In practice, there is a method of taking the LEN / TYPE number, but this requires the permission of the registration authority that manages the protocol type number of Ethernet (registered trademark).

また、既に取得しているプロトコルType番号で規定される情報フィールドに識別情報を埋め込む方法がある。Ethernet(登録商標)で一般的なTCP/IPプロトコルで規定されるTCPヘッダ拡張部やTCP情報部のデータフィールドの確定した位置に識別情報を埋め込む方法や、UDPプロトコルで専用のフォーマットを実施することが出来る。   There is also a method of embedding identification information in an information field defined by a protocol type number that has already been acquired. A method of embedding identification information in a fixed position of a data field of a TCP header extension part or a TCP information part defined by a general TCP / IP protocol in Ethernet (registered trademark), or a dedicated format using a UDP protocol I can do it.

請求項4から請求項10に対しては、前記した伝送局の装置構成で、SW−FW−A,−B、SW−TX−A,−B、SW−REC−A,−Bの各スイッチの状態制御が実施する手順に合わせたポイントの一つとなる。   According to the fourth to tenth aspects of the present invention, each switch of SW-FW-A, -B, SW-TX-A, -B, SW-REC-A, -B has the above-described transmission station apparatus configuration. This is one of the points according to the procedure that state control is implemented.

本発明の二重リング・ネットワークとその制御方式を活用するネットワーク・システムでは、第1層メディア部分としての本発明でいう二重リング・ネットワークの初期状態を前提とする。   In the network system utilizing the dual ring network of the present invention and its control method, the initial state of the dual ring network referred to in the present invention as the first layer media portion is assumed.

図6は、請求項4、請求項5、請求項6および請求項7に関して、初期化開始時の各局スイッチ状態と局モードを示す。伝送局の電源が投入された状態と基本的に同じ状態となる。MSポートは、二つある通信ポートA、−Bのうち、最初にINZフレームを受信検出したポートを示す。   FIG. 6 shows, for each of claims 4, 5, 6, and 7, each station switch state and station mode at the start of initialization. This is basically the same state as when the transmission station is powered on. The MS port indicates the port that first received and detected the INZ frame among the two communication ports A and -B.

尚、本発明の伝送局の構成では、送信系および受信系で対称のハードウェア構造となることから通信ポートA、−Bを一意的にどちらかの通信ポートに限定する必要性は無い。即ち、請求項に記載の手順を実施するうえで、どちらのポートがAまたはBとなっても問題は生じない。   In the configuration of the transmission station of the present invention, since the hardware structure is symmetric between the transmission system and the reception system, there is no need to uniquely limit the communication ports A and -B to one of the communication ports. That is, no problem arises when either port is A or B in performing the procedure described in the claims.

しかし、以降の具体的な実施の形態を説明する上で、複雑さを軽減し理解と説明を容易にする理由から、便宜上、各伝送局では、図3および図4で示したハードウェア構成例に従って、向かって左側の通信ポートをポートAとし、また、向かって右側の通信ポートをポートBとして、以降、統一して記載する。   However, for the sake of convenience, the hardware configuration examples shown in FIG. 3 and FIG. 4 are used in each transmission station for the purpose of reducing the complexity and facilitating understanding and explanation in describing the following specific embodiments. The communication port on the left side is port A, and the communication port on the right side is port B.

局モードは、各請求項に対応して後述するが、図8に示すように、電源投入と同一の状態となる“不定“状態(スタート)から、”Not終端局“の中間モードを経て、終端局”ST−T−L“、中継局”Normal“と終端局”ST−T−R“の状態を遷移する。   The station mode will be described later in correspondence with each claim. As shown in FIG. 8, the station mode is changed from the “undefined” state (start) in which the power is turned on to the “Not terminal station” through the intermediate mode. The state of the terminal station “ST-TL”, the relay station “Normal”, and the terminal station “ST-TR” is changed.

尚、前記したように、便宜上で限定したポートAとポートBの伝送局ハードウェア構成での対応に応じて、ポートB側がブロック状態にある伝送局を終端局ST−T−Lとし、また、ポートA側がブロック状態にある伝送局を終端局ST−T−Rとして、以降、記載する。   As described above, according to the correspondence in the transmission station hardware configuration of port A and port B limited for convenience, the transmission station in which the port B side is in the block state is set as the termination station ST-TL, Hereinafter, a transmission station in which the port A side is in a block state will be described as a terminal station ST-TR.

請求項4に対しては、図9が各伝送局間で交信されるINZフレームのシーケンスを示す。   For claim 4, FIG. 9 shows a sequence of INZ frames communicated between the transmission stations.

図9のシーケンス図においては、マスタ局MSがINZフレームを伝送局#ST1、・・伝送局#ST4及び伝送局#ST8・・・伝送局#ST5に送信する。INZフレームを受信した伝送局#ST1、・・伝送局#ST4及び伝送局#ST8・・・伝送局#ST5は、アドレスが若い隣接する伝送局にINZフレームを返す。   In the sequence diagram of FIG. 9, the master station MS transmits an INZ frame to the transmission station # ST1,... Transmission station # ST4, transmission station # ST8... Transmission station # ST5. Transmission station # ST1,..., Transmission station # ST4, transmission station # ST8,..., Transmission station # ST5, which has received the INZ frame, returns the INZ frame to an adjacent transmission station having a young address.

そして、このような初期化が終わると、INZフレームを伝送局に送信しても、その伝送局から返ってこない場合は、その伝送局との間は異常(断線)として、INZ−COMPフレームをマスタ局MSに送信する。図9においては、伝送局#ST5がINZフレームを伝送局#ST6に返信していない。   When such initialization is completed, even if an INZ frame is transmitted to the transmission station but is not returned from the transmission station, an abnormality (disconnection) is established with the transmission station, and the INZ-COMP frame is transmitted. Transmit to the master station MS. In FIG. 9, the transmission station # ST5 does not send an INZ frame back to the transmission station # ST6.

なお、図9の上記説明ではアドレスが若い隣接する伝送局にINZフレームを返すとしたが、INZフレームを受信した伝送局はINZフレームを返さないようにしてもよい。   In the above description of FIG. 9, it is assumed that the INZ frame is returned to the adjacent transmission station with a young address, but the transmission station that has received the INZ frame may not return the INZ frame.

また図10及び図11が、マスタ(MS)局を除く、各伝送局での初期化処理を示す。   10 and 11 show the initialization process in each transmission station excluding the master (MS) station.

図12及び図13は、MS局ST1の初期化処理を含む。また、特に、MS局の隣局となる伝送局ST2、ST8での交信処理の動作を、図10及び図11に示した各伝送局での初期化処理手順に基づき示している。   12 and 13 include the initialization process of the MS station ST1. In particular, the operation of the communication process in the transmission stations ST2 and ST8 that are adjacent to the MS station is shown based on the initialization process procedure in each transmission station shown in FIGS.

尚、図9に示す二重リング・ネットワークの構成例は、図1の例に合わせてあり、伝送局の総数や伝送局識別の#ST1から#ST9の番号付けに対しての限定はない。更に、請求項4に対しては、図3および図4で示したハードウェアの一実施例の構成が適応する。   The configuration example of the double ring network shown in FIG. 9 is in accordance with the example of FIG. 1, and there is no limitation on the total number of transmission stations and the numbering of transmission stations from # ST1 to # ST9. Furthermore, the configuration of one embodiment of the hardware shown in FIGS. 3 and 4 is applicable to claim 4.

基点となる一つの伝送局として、#ST1がMS局となると、MS局からは、図9に示すように、また、図12、図13のステップS0で示すように、MPU24によるソフトウェア制御されたSTタイマーをスタートする。   When # ST1 becomes the MS station as one base station, the MS station performs software control by the MPU 24 as shown in FIG. 9 and as shown in step S0 of FIGS. Start the ST timer.

更には,S1ステップにより隣局、この場合はST2およびST8が対応する隣局の終端局チェックを行う。次に、STタイマーアップのタイミング毎に、初期化完了となるS3ステップが終了するまで、周期的に初期化を指定するINZフレームをMPUがソフトウェア制御にて生成する。そして、MAC/DLCを起動して、SE−TX−A、−BをON状態に保持して、ポートA、−Bの両方向から送出する。   Further, the terminal station check of the neighboring station corresponding to ST2 and ST8 in this case is performed in step S1. Next, every time the ST timer is up, the MPU generates an INZ frame that designates initialization periodically by software control until step S3, which is initialization completion, is completed. Then, the MAC / DLC is activated, SE-TX-A and -B are held in the ON state, and are transmitted from both the ports A and -B.

伝送局の初期時点の各スイッチ状態は、図6に示したように、両ポート共にブロック状態、受信禁止状態となることから、図12、図13で示す各処理ステップでは、INZ−DET−Aまたは−BによりINZフレームの到来を検出する。   As shown in FIG. 6, each switch state at the initial point of the transmission station is in a blocked state and a reception-inhibited state at both ports. Therefore, in each processing step shown in FIGS. 12 and 13, INZ-DET-A Alternatively, the arrival of the INZ frame is detected by -B.

そして、IRP−INZ−Aまたは−Bの割り込み信号によりMPU24のソフトウェア処理でINZフレームの受信を確認し、どちらのポートから受信したかとなる受信ポートを確認する。   Then, the reception of the INZ frame is confirmed by software processing of the MPU 24 by the interrupt signal of IRP-INZ-A or -B, and the receiving port from which port is received is confirmed.

つまり、初期化の最初のINZフレームの受信ポートが、MSポートに設定される。   That is, the reception port of the first INZ frame for initialization is set as the MS port.

次に、マスタ局MSからのINZフレームを、図12、図13のステップS01またはS02により受信すると、その受信ポートから他方の通信ポートへのブロック状態を、受信ポートに対応するSW−FW−Aまたは−BをONとすることで非ブロック状態とする。   Next, when the INZ frame from the master station MS is received in step S01 or S02 of FIGS. 12 and 13, the block state from the reception port to the other communication port is changed to SW-FW-A corresponding to the reception port. Alternatively, the non-blocking state is set by turning -B ON.

同様に受信ポートに対応するSW−RCV−Aまたは−BをONとすることで、その受信ポートからの伝送フレームの受信取り込みを以降は許可する。   Similarly, by setting SW-RCV-A or -B corresponding to the reception port to ON, reception of the transmission frame from the reception port is permitted thereafter.

更に、受信ポートに対応するSW−TX−Aまたは−Bのみを一時的にONにして、受信ポート側から応答確認INZフレームを送出し、局モードをnot終端局とする。その後、S11にてマスタ局からの次のINZフレームを受信検知すると、STタイマーを起動し、S2ステップのイベントを待つ。   Further, only SW-TX-A or -B corresponding to the reception port is temporarily turned ON, a response confirmation INZ frame is transmitted from the reception port side, and the station mode is set to the not terminal station. Thereafter, when reception of the next INZ frame from the master station is detected in S11, an ST timer is started and an event in step S2 is awaited.

次に、S01またはS02にてINZフレームを送出した後、S11にて次のINZフレームの到来を検知している状態で、MSポート側とは反対側の隣接局が送出する応答確認INZフレームを、S21もしくはS23ステップで受信確認すると、この受信ポートから他方の通信ポートへのブロック状態を非ブロック状態に、また、到来する伝送フレームの受信取り込みを許可とする。この結果、この伝送局では、双方向側の通信ポートから受信する伝送フレームの受信取り込みと他方側への中継が可能となる中継局として、局モードをNormalとする。図9では、ST2、ST3、ST4およびST8、ST7がNormalモードとなる例を示している。   Next, after sending the INZ frame in S01 or S02, in the state where the arrival of the next INZ frame is detected in S11, the response confirmation INZ frame sent by the adjacent station on the side opposite to the MS port side is sent. When the reception is confirmed in step S21 or S23, the blocked state from this receiving port to the other communication port is set to the non-blocking state, and reception of incoming transmission frames is permitted. As a result, in this transmission station, the station mode is set to Normal as a relay station that can receive and receive transmission frames received from the bidirectional communication port and relay to the other side. FIG. 9 shows an example in which ST2, ST3, ST4 and ST8, ST7 are in the normal mode.

一方、マスタMS局では、図12、図13のS11およびS12ステップにて、隣局となるST2、ST8からの応答確認INZフレームを受信すると、Normalモードとなる。INZ−DET−A、−Bは、同時に両方向から到来する応答確認INZを確実に検出する手段となる。   On the other hand, when the master MS station receives response confirmation INZ frames from ST2 and ST8 which are adjacent stations in steps S11 and S12 of FIGS. 12 and 13, the master MS station enters the normal mode. INZ-DET-A and -B simultaneously serve as means for reliably detecting response confirmation INZ coming from both directions.

前記したように本方式では、MS局から両側の方向に一つずつNormal 局を増やしていくことになるため、リング状のネットワークを構成する伝送局の総数と、伝送局の相互間を接続する伝送路の総長に応じて決まる、MS局が送出したINZフレームを両側の通信ポートから時間差もしくは同時に受信する伝送局が出てくる。   As described above, in this method, the normal stations are increased from the MS station one by one in both directions, so that the total number of transmission stations constituting the ring network and the transmission stations are connected to each other. A transmission station that receives an INZ frame transmitted by the MS station, which is determined according to the total length of the transmission path, from the communication ports on both sides of the time difference or simultaneously appears.

図10のS03もしくはS04ステップによりMSポートが確定している状況で、ブロック状態のポートからINZフレームを受信することで、その受信ポートに応じて、終端局ST−T−LおよびST−T−Rが決定される。   In a situation where the MS port is determined in step S03 or S04 in FIG. 10, by receiving the INZ frame from the blocked port, the terminal stations ST-T-L and ST-T- R is determined.

S03もしくはS04ステップにて、応答確認INZフレームを受信ポート側から送出しないことで、終端局の他方となる伝送局では、S03に対応してS24、S04に対応してS22ステップにて、STタイマーアップの規定時間以内に、既に確定してたもう一方の終端局からの応答確認INZフレームを受信できない場合に、対向する終端局の局モードとしてST−T−RおよびST−T−Lとなる。   In step S03 or S04, the response confirmation INZ frame is not transmitted from the reception port side, so that the transmission station which is the other of the terminal stations, in step S24 corresponding to step S03 and step ST22 corresponding to step S04, If the response confirmation INZ frame from the other terminal station that has already been determined cannot be received within the specified time of up, ST-T-R and ST-T-L are the station modes of the opposite terminal station. .

更にまた、図9ではST5およびST6が前記した正常な手順結果として終端局となる場合を示しているが、図11のステップS22もしくはS24にて、期待する受信ポート側の隣局から応答確認INZフレームを受けない場合には、その時点で、期待する受信ポートに応じて、終端局ST−T−LまたはST−T−Rとなる。   Furthermore, FIG. 9 shows a case where ST5 and ST6 are terminal stations as a result of the normal procedure described above. In step S22 or S24 of FIG. If the frame is not received, the terminal station ST-T-L or ST-T-R is selected at that time depending on the expected reception port.

MS局でも同様に、隣局にいたる伝送路、更に隣局通信機能と隣局からの自局にいたる伝送路を含んだ通信機能に異常がある場合には、図12のステップS13およびS14にて、終端局ST−T−LもしくはST−T−Rと局モードが決定される。   Similarly, in the case of the MS station, if there is an abnormality in the transmission path to the adjacent station, and the communication function including the adjacent station communication function and the transmission path from the adjacent station to the own station, steps S13 and S14 in FIG. Thus, the terminal station ST-T-L or ST-T-R and the station mode are determined.

尚、図12、図13の#ST2および#ST8の手順ステップ番号は、図10、図11のステップ番号と符合する。   Note that the procedure step numbers of # ST2 and # ST8 in FIGS. 12 and 13 coincide with the step numbers in FIGS.

上記により、二重リング・ネットワークシステムを構成する各々の伝送局から送出される伝送フレームが、リング状に構成したネットワーク内を循環しないように初期化構成できる。   As described above, it is possible to initialize the transmission frame transmitted from each transmission station constituting the dual ring network system so as not to circulate in the ring-shaped network.

尚、図5は、初期化により終端局となったST−T−LおよびST−T−Rのスイッチ状態を示す。また、図7は、加えてNormal局でのスイッチ状態を示す。   FIG. 5 shows the switch states of ST-T-L and ST-T-R that have become terminal stations due to initialization. FIG. 7 additionally shows the switch state at the normal station.

請求項5に対しては、図14に各伝送局間で交信されるINZフレームのシーケンスを示して説明する。また図15、図16が、マスタ(MS)局を除く各伝送局での初期化処理を示す。   Claim 5 will be described with reference to FIG. 14 showing a sequence of INZ frames communicated between the transmission stations. 15 and 16 show the initialization process in each transmission station excluding the master (MS) station.

図17、図18は、MS局ST1の初期化処理を含む。また、特に、MS局の隣局となる伝送局ST2、ST8での交信処理の動作を、図14に示した各伝送局での初期化処理手順に基づき示している。   17 and 18 include the initialization process of the MS station ST1. In particular, the operation of the communication process at the transmission stations ST2 and ST8 that are adjacent to the MS station is shown based on the initialization process procedure at each transmission station shown in FIG.

尚、図14に示す二重リング・ネットワークシステムの構成例は、図1の例に合わせてあり、伝送局の総数や伝送局識別の#ST1から#ST9の番号付けに対しての限定はない。   The configuration example of the dual ring network system shown in FIG. 14 is in accordance with the example of FIG. 1, and there is no limitation on the total number of transmission stations and the numbering of # ST1 to # ST9 of transmission station identification. .

更に、請求項5に対しては、図3および図4で示したハードウェアの一実施例の構成が適応する。   Further, the configuration of one embodiment of the hardware shown in FIGS. 3 and 4 is applied to claim 5.

基点となる一つの伝送局として、#ST1がMS局となると、MS局からは、図14に示すように、また図17及び図18のステップS0で示すように、初期化を指定するINZフレームを両方向に送出するとともに、STタイマーをスタートしてステップS1にて隣局、この例では#ST2および#ST8からの応答確認INZフレームの応答を待つ。   When # ST1 becomes the MS station as one base station, the MS station sends an INZ frame for specifying initialization as shown in FIG. 14 and step S0 in FIGS. Are sent in both directions, and the ST timer is started, and in step S1, the response confirmation INZ frames from the adjacent stations, in this example, # ST2 and # ST8, are waited for.

各伝送局の初期時点の各スイッチ状態は、図6に示したように、両ポート共にブロック状態、受信禁止状態となることから、図15及び図16で示す各処理ステップでは、INZ−DET−Aまたは−BによりINZフレームの到来を検出する。   As shown in FIG. 6, each switch state at the initial point of each transmission station is in a blocked state and a reception-inhibited state at both ports. Therefore, in each processing step shown in FIGS. 15 and 16, INZ-DET- The arrival of the INZ frame is detected by A or -B.

そして、IRP−INZ−Aまたは−Bの割り込み信号によりMPU24のソフトウェア処理でINZフレームの受信を確認、どちらのポートから受信したかとなる受信ポートを確認する。初期化の最初のINZフレームの受信ポートが、MSポートに設定される。   Then, the reception of the INZ frame is confirmed by the software processing of the MPU 24 by the interrupt signal of IRP-INZ-A or -B, and the receiving port from which port is received is confirmed. The receiving port of the first INZ frame for initialization is set as the MS port.

マスタMS局からのINZフレームを、図15、図16のステップS01またはS03により受信すると、その受信ポート(MSポート)から他方の通信ポートへのブロック状態を、MSポートに対応するSW−FW−Aまたは−BをONとすることで非ブロック状態とする。   When the INZ frame from the master MS station is received in step S01 or S03 in FIGS. 15 and 16, the block state from the reception port (MS port) to the other communication port is changed to SW-FW- corresponding to the MS port. By setting A or -B to ON, a non-blocking state is set.

同様にMSポートに対応するSW−RCV−Aまたは−BをONとすることで、その受信ポートからの伝送フレームの受信取り込みを以降は許可する。   Similarly, by setting SW-RCV-A or -B corresponding to the MS port to ON, reception of the transmission frame from the reception port is permitted thereafter.

また、受信検知したINZフレーム中の送信元アドレス情報を、受信ポートに対応するINZ−TX−ADRS−Aまたは−Bより読み出してMSポート側隣局アドレスとして保持する。更に、局モードをnot終端局とする。   Also, the transmission source address information in the detected INZ frame is read from INZ-TX-ADRS-A or -B corresponding to the reception port and held as the MS port side neighbor station address. Further, the station mode is set to the not terminal station.

更にまた、MSポートに対応して、ステップS11もしくはS12にて、応答確認INZフレームを受信先として、先に保持した隣局アドレスを設定して、両ポートより送出し、MSポートと反対側のポートからの伝送フレームの受信取り込みを許可すると共に、STタイマーを起動して、S2ステップのイベントを待つ。   Furthermore, in response to the MS port, in step S11 or S12, the response confirmation INZ frame is set as the receiving destination, the adjacent station address previously held is set, transmitted from both ports, and sent on the opposite side of the MS port. The reception of the transmission frame from the port is permitted, and the ST timer is activated to wait for the event of step S2.

S11またはS12にて受信先としてMSポート側隣接局アドレスを設定したINZフレームを送出した後に、MSポート側とは反対側の隣接局が送出する自局を指定した応答確認INZフレームを、S21もしくはS22ステップにて受信確認すると、この受信ポートから他方の通信ポートへのブロック状態を非ブロック状態に、また、到来する伝送フレームの受信取り込みを許可とする。   After sending the INZ frame in which the MS port side adjacent station address is set as the reception destination in S11 or S12, the response confirmation INZ frame designating the own station sent by the adjacent station on the opposite side to the MS port side is sent to S21 or When the reception is confirmed in step S22, the blocked state from this receiving port to the other communication port is set to the non-blocking state, and reception of the incoming transmission frame is permitted.

この結果、この伝送局では、双方向側の通信ポートから受信する伝送フレームの受信取り込みと他方側への中継が可能となる中継局として、局モードをNormalとする。   As a result, in this transmission station, the station mode is set to Normal as a relay station that can receive and receive transmission frames received from the bidirectional communication port and relay to the other side.

図14では、ST2、ST3、ST4およびST8、ST7がNormalモードとなる例を示している。   FIG. 14 shows an example in which ST2, ST3, ST4 and ST8, ST7 are in the normal mode.

一方、MS局では、図12、図13のS11およびS12ステップにて、隣局となるST2、ST8からの自局を指定した応答確認INZフレームを受信すると、Normalモードとなる。INZ−DET−A、−Bは、同時に両方向から到来する応答確認INZを確実に検出する手段となる。   On the other hand, when the MS station receives a response confirmation INZ frame designating its own station from ST2 and ST8 which are neighboring stations in steps S11 and S12 of FIGS. INZ-DET-A and -B simultaneously serve as means for reliably detecting response confirmation INZ coming from both directions.

前記したように本方式では、マスタMS局から両側の方向に一つずつNormal 局を増やしていくことになるため、リング状のネットワークシステムを構成する伝送局の総数と、伝送局の相互間を接続する伝送路の総長に応じて決まる、MS局が送出したINZフレームを両側の通信ポートから時間差もしくは同時に受信する伝送局が出てくる。   As described above, in this method, the number of normal stations is increased one by one in both directions from the master MS station. Therefore, the total number of transmission stations constituting the ring network system and the mutual relationship between the transmission stations are increased. A transmission station that receives an INZ frame transmitted by the MS station, which is determined according to the total length of the transmission path to be connected, from the communication ports on both sides, or at the same time, appears.

図15、図16のステップS02、S04において、既にMSポートが確定している状態で、反対側のポートよりINZフレームを受信した場合に、終端局ST−T−LまたはST−T−RがMSポートに応じて決定する。   In steps S02 and S04 of FIGS. 15 and 16, when the INZ frame is received from the opposite port while the MS port has already been determined, the terminal station ST-T-L or ST-T-R Determine according to the MS port.

更に、終端局となった後に、ステップS11またはS12により、MSポート側隣接局を指定した応答確認INZフレームを送出する。一方、ST−T−LまたはST−T−Rが決定された伝送局Aに対向し、もう片側の終端局となる伝送局Bでは、既に伝送局Bが送出したINZフレームに対して、伝送局Aが送出すると期待する自局を指定した応答確認INZフレームの受信を待機している中で、STタイマーがアップする前に、自局が受信先に指定されていないINZフレームを受信検知することとなる。   Further, after becoming the terminal station, in step S11 or S12, a response confirmation INZ frame designating the MS port side adjacent station is transmitted. On the other hand, the transmission station B, which is opposite to the transmission station A for which ST-T-L or ST-T-R has been determined and is the other terminal station, transmits the INZ frame already transmitted by the transmission station B. While waiting for the reception of the response confirmation INZ frame designating the local station expected to be transmitted by the station A, the local station detects the reception of the INZ frame not designated as the reception destination before the ST timer is up. It will be.

MSポートとは反対側となる受信ポートから、自局を受信先に指定されていないINZフレームを受信検知した場合には、ステップS23またはS24により伝送局Aに対向する終端局ST−T−RまたはST−T−Lとなる。   When receiving an INZ frame that is not designated as the receiving destination from the receiving port on the opposite side of the MS port, the terminal station ST-TR facing the transmitting station A in step S23 or S24. Or it becomes ST-TL.

更にまた、図14では、ST5およびST6が前記した正常な手順結果として終端局となる場合を示しているが、図15、図16のステップS25およびS26により、期待する受信ポート側の隣局から自局を受信先に指定した応答確認INZフレームを受けない場合には、その時点で、期待する受信ポートに応じて、終端局ST−T−LまたはST−T−Rとなる。   Furthermore, FIG. 14 shows a case where ST5 and ST6 are terminal stations as a result of the normal procedure described above. However, from steps S25 and S26 of FIGS. When the response confirmation INZ frame in which the local station is designated as the reception destination is not received, the terminal station becomes the terminal station ST-TL or ST-TR according to the expected reception port at that time.

MS局でも同様に、隣局にいたる伝送路、更に隣局通信機能と隣局からの自局にいたる伝送路を含んだ通信機能に異常がある場合には、ステップS13またはS14にて終端局ST−T−LまたはAT−T−Rが決定される。   Similarly, in the case of the MS station, if there is an abnormality in the transmission path to the adjacent station, and the communication function including the adjacent station communication function and the transmission path from the adjacent station to the own station, the terminal station is terminated in step S13 or S14. ST-TL or AT-TR is determined.

尚、図17、図18の#ST2および#ST8の手順ステップ番号は、図15、図16のステップ番号と符合する。上記により、二重リング・ネットワークシステムを構成する各々の伝送局から送出される伝送フレームが、リング状に構成したネットワーク内を循環しないように初期化構成できる。   Note that the procedure step numbers of # ST2 and # ST8 in FIGS. 17 and 18 coincide with the step numbers of FIGS. As described above, it is possible to initialize the transmission frame transmitted from each transmission station constituting the dual ring network system so as not to circulate in the ring-shaped network.

また、図5は、前記したように初期化により終端局となったST−T−LおよびST−T−Rのスイッチ状態を、また、図7は、加えてNormal局でのスイッチ状態を示す。   FIG. 5 shows the switch states of ST-TL and ST-T-R that have become terminal stations as a result of initialization as described above, and FIG. 7 additionally shows the switch states at the normal station. .

請求項6に対しては、図14のINZフレームの交信シーケンス、図15、図16がMS局を除く伝送局、また図17、図18がMS局の初期化処理となる。また、図3および図4が伝送局の構成例となる。   For claim 6, the INZ frame communication sequence of FIG. 14, FIGS. 15 and 16 are the transmission stations excluding the MS station, and FIGS. 17 and 18 are the initialization processes of the MS station. 3 and 4 are configuration examples of the transmission station.

伝送フレームには、受信先を示す受信先アドレス、送信元を示す送信元アドレスが含まれる。図23に示すISO/IEC8802−3のイーサネット(登録商標)伝送フレームでは、伝送フレーム中の規定された位置にあるフィールド情報として、それぞれDA、SAが相当する。   The transmission frame includes a reception address indicating a reception destination and a transmission source address indicating a transmission source. In the Ethernet (registered trademark) transmission frame of ISO / IEC8802-3 shown in FIG. 23, DA and SA correspond to field information at a specified position in the transmission frame, respectively.

前記した請求項5に対応する実施例で、MS局を除く伝送局は、初期化期間内で始めてINZフレームを受信すると、受信ポートをMSポートとし、受信したINZフレーム中の送信元アドレス(DA)を取り出して、MSポート側に隣り合う伝送局のアドレスとして保持する。   In the embodiment corresponding to claim 5 described above, when the transmitting station other than the MS station receives the INZ frame for the first time within the initialization period, the receiving port is set as the MS port, and the source address (DA in the received INZ frame). ) And is stored as the address of the adjacent transmission station on the MS port side.

更に、続けて保持したMSポート側の隣接局アドレスを受信先に指定した応答確認INZフレームを両方向に送出する。MSポート側の隣接局では、自局を受信先に指定したINZフレームをMSポートの反対側のポートより受信することになるが、その送信元アドレスは、マスタMS局から自局の一つ先にある、即ちMSポートの反対側ポートに隣接する伝送局のアドレスとなる。   Further, a response confirmation INZ frame in which the adjacent address on the MS port side that has been held is designated as the receiving destination is sent out in both directions. The adjacent station on the MS port side receives an INZ frame designating its own station as the receiving destination from the port on the opposite side of the MS port, but the source address is one ahead of the own station from the master MS station. That is, the address of the transmission station adjacent to the port opposite to the MS port.

図17のマスタ局MSにおけるステップS11およびS12により、また、図15、図16のマスタ局MS以外の伝送局では、ステップS01またはS03およびS11またはS12および図18のS21またはS22の一連の手順によるNormalモードへの遷移過程で、また、ステップS02またはS04およびS11またはS12およびS23またはS24の手順によるST−T−LまたはST−T−Rモードへの遷移過程で、MSポート側および反対側ポートに隣接する伝送局のアドレス情報を取得して保持することが出来る。   According to steps S11 and S12 in the master station MS in FIG. 17, and in a transmission station other than the master station MS in FIGS. 15 and 16, according to a series of procedures in steps S01 or S03 and S11 or S12 and S21 or S22 in FIG. In the process of transition to the normal mode, and in the process of transition to the ST-T-L or ST-T-R mode according to the steps S02 or S04 and S11 or S12 and S23 or S24, the MS port side and the opposite side port It is possible to acquire and hold the address information of the transmission station adjacent to.

また、この初期化方法では、マスタ局MSから一つずつ伝送局をリング・ネットワークシステムに組み入れていく過程で、各伝送局では、MSポート側の受信系統の健全性と、MSポートの反対側ポートに隣接する伝送局への伝送路と、隣接局の受信と送信機能、隣接局から自局にもどる伝送路と自局受信系統とに異常が無ければ、必ず隣接局からの応答確認INZフレームを受信検知することで、隣接局が一体となって隣接局間での双方向通信路の健全性を確認しつつ、MSポート側および反対側ポートに隣接する伝送局のアドレスを取得し保持することができる。   In addition, in this initialization method, in the process of incorporating the transmission stations one by one from the master station MS into the ring network system, in each transmission station, the soundness of the receiving system on the MS port side and the opposite side of the MS port If there is no abnormality in the transmission path to the transmission station adjacent to the port, the reception and transmission function of the adjacent station, and the transmission path returning from the adjacent station to the local station and the local station reception system, the response confirmation INZ frame from the adjacent station is sure. By detecting and receiving, the adjacent stations acquire and hold the addresses of the transmission stations adjacent to the MS port side and the opposite port while confirming the soundness of the bidirectional communication path between the adjacent stations. be able to.

請求項7に対しては、請求項4、請求項5で前記した初期化の実施例において、MS局を基点として、リング状のネットワークシステムを構成する伝送局の総数と、伝送局の相互間を接続する伝送路の総長に応じて決まる位置に隣り合った二つの終端局ST−T−LおよびST−T−Rが構成された時点で、または、初期化の途中で、自局の隣局からの応答確認INZフレームの受信がないことにより終端局となることを判断した時点で、即ち、請求項4の初期化方法においては、図10、図11のステップS03、またはS04またはS22またはS24により、また請求項5の初期化方法においては、図15、図16のステップS02またはS04またはS23またはS24またはS25またはS26によりST−T−L、ST−T−Rが決定された後に、各々の終端局では、終端局アドレスおよび終端局モードを含む初期化終了の表示となるINZ−COMPフレームを送出することで、MS局、伝送局に対して、二重リング・ネットワークの初期化が完了したことを通知することができる。   With respect to claim 7, in the embodiment of the initialization described in claims 4 and 5, the total number of transmission stations constituting the ring network system with the MS station as a base point, and between the transmission stations When two adjacent terminal stations ST-T-L and ST-T-R are configured at positions determined according to the total length of the transmission lines connecting the two or more, or in the middle of initialization, At the time when it is determined that the terminal station becomes the terminal station by not receiving the response confirmation INZ frame from the station, that is, in the initialization method of claim 4, steps S03, S04 or S22 in FIG. According to S24, and in the initialization method according to claim 5, ST-T-L, ST-T-R according to steps S02 or S04 or S23 or S24 or S25 or S26 of FIG. After the determination, each terminal station sends an INZ-COMP frame indicating the end of initialization including the terminal station address and the terminal station mode, so that a double ring It is possible to notify that network initialization is completed.

初期化が完了した各伝送局では、両側ポートからの伝送フレームの送出および受信取り込みが可能となっており、MPUのソフトウェア制御によりINZ−COMPフレームを生成しMAC/DLCにより送信制御して両側ポートより送出でき、また到来受信したINZ−COMPフレームをMAC/DLCにより受信制御して取り込み、MPUのソフトウェア制御により検出、判断、処理することができる。   Each transmission station that has completed initialization can transmit and receive transmission frames from both-side ports, generate INZ-COMP frames by MPU software control, and control transmission by MAC / DLC to both-side ports. The incoming INZ-COMP frame can be received and controlled by MAC / DLC, and can be detected, determined, and processed by MPU software control.

しかし、初期化が完了していることから機能的にバス型ネットワークとなっていることで、各伝送局では、両終端局がほぼ同時にINZ−COMPフレームを送出すると受信が重なる機会が発生する。   However, since the initialization has been completed and the network is functionally a bus-type network, each transmission station has an opportunity to overlap reception when both end stations transmit INZ-COMP frames almost simultaneously.

その場合は、RCV−SELにより、先着した一方のINZ−COMPフレームはMAC/DLCにて受信制御し、取り込むことが出来る。   In that case, the first incoming INZ-COMP frame can be received and controlled by the MAC / DLC by RCV-SEL.

そこで、請求項4に対応する初期化の方法では、図10、図11のステップS3およびS4として、MS局を指定したINZ−COMPフレームの交信手順を、実施例の一例として示す。   Therefore, in the initialization method corresponding to claim 4, the communication procedure of the INZ-COMP frame specifying the MS station is shown as an example of the steps as steps S3 and S4 of FIGS.

即ち、MS局との応答確認シーケンスにより確実にINZ−COMPフレームがMS局で受信できるようにする。マスタ局MSから、自局を受信先に指定した受信確認INZ−COMPフレームを受信するまで再送処理を続けるが、再送のための待ち時間をST−T−L及びST−T−Rの局モードに応じてST1及びST2と違えることでMS局でのINZ−COMPフレームの続けての重なりを回避する実施例となる。   That is, the INZ-COMP frame can be reliably received by the MS station by the response confirmation sequence with the MS station. The retransmission process is continued until a reception confirmation INZ-COMP frame in which the own station is specified as the reception destination is received from the master station MS, but the waiting time for the retransmission is set to ST-T-L and ST-T-R station modes. Accordingly, the difference between ST1 and ST2 is an embodiment in which the overlap of the INZ-COMP frames at the MS station is avoided.

図12、図13のステップS3にて、MS局側では初期化完了を検出し、周期的なINZフレームの送出を停止することが出来る。   In step S3 of FIG. 12 and FIG. 13, the MS station side can detect completion of initialization, and can stop transmission of periodic INZ frames.

また請求項5に対応する初期化の方法では、図15、図16のステップS3およびS4として、受信先として同報アドレスを指定したINZ−COMPフレームの交信手順を、実施例の一例として示す。   In addition, in the initialization method corresponding to claim 5, the communication procedure of the INZ-COMP frame in which the broadcast address is designated as the receiving destination is shown as an example of the steps as steps S3 and S4 in FIGS.

マスタ局MSは、同報アドレスが指定されたINZ−COMPフレームを受信すると、その送信元アドレス先に対して応答確認のINZ−COMPフレームを送出することで、マスタMSとの応答確認シーケンスにより確実にINZ−COMPフレームがマスタ局MSで受信できるようにする。   When the master station MS receives the INZ-COMP frame in which the broadcast address is specified, the master station MS sends an INZ-COMP frame for confirming the response to the transmission source address destination, thereby ensuring a response confirmation sequence with the master MS. The INZ-COMP frame can be received by the master station MS.

マスタ局MSからの終端局を受信先に指定した受信確認INZ−COMPフレームを受信するまで再送処理を続けるが、再送のための待ち時間をST−T−L及びST−T−Rの局モードに応じてST1及びST2と違えることでマスタ局MSでのINZ−COMPフレームの続けての重なりを回避する実施例となる。   The retransmission processing is continued until the reception confirmation INZ-COMP frame in which the terminal station from the master station MS is specified as the reception destination is received, but the waiting time for the retransmission is set to ST-T-L and ST-T-R station modes. Accordingly, the difference between ST1 and ST2 is an embodiment in which the overlapping of INZ-COMP frames at the master station MS is avoided.

図17、図18のステップS3にて、MS局側では初期化完了を検出することが出来る。尚、終端局から送出するINZ−COMPの受信先が同報アドレスとすることで全ての伝送局にて初期化の完了を検出することができる。   In step S3 of FIGS. 17 and 18, the MS station side can detect the completion of initialization. It should be noted that the completion of initialization can be detected in all transmission stations by setting the receiving address of the INZ-COMP transmitted from the terminal station as the broadcast address.

請求項8に対しては、図3及び図4が伝送局の構成例となる。図19は、#ST5及び#ST6が対向する終端局として構成された二重リング・ネットワークシステムで、正常に稼動中に#ST10と#ST9を接続する通信路に伝送異常が発生した状況を例示している。   For claim 8, FIG. 3 and FIG. 4 are configuration examples of the transmission station. FIG. 19 illustrates a situation in which a transmission abnormality occurs in a communication path connecting # ST10 and # ST9 during normal operation in a dual ring network system configured as terminal stations facing # ST5 and # ST6. doing.

尚、発生箇所や伝送局数、同期局や終端局の位置との関係は限定されるものではない。   The relationship between the location of occurrence, the number of transmission stations, the position of the synchronization station and the terminal station is not limited.

また、図20は、#ST10と#ST9を接続する通信路に伝送異常が発生した後の各伝送局での各スイッチの状態を示す。   FIG. 20 shows the state of each switch in each transmission station after a transmission abnormality has occurred in the communication path connecting # ST10 and # ST9.

前記した初期化が完了している状態で、二重リング・ネットワークシステム上には、伝送局の一つ以上が一つ以上の伝送フレームを送出している一般的な状況の中で、予め設定された条件にあう特定情報を含み、それをもって到来を判別するSYNフレームが、いずれかの伝送局(同期局)から周期的に送出されている状況にて、SYNフレームの到来は、SYN−DET−A,−Bにより判別され検出されてIRP−SYN−A,−Bとして出力される。   In the state where the above initialization is completed, in the general situation in which one or more of the transmission stations send out one or more transmission frames on the dual ring network system, it is set in advance. In a situation in which a SYN frame that includes specific information that meets the specified conditions and is used to determine arrival is periodically transmitted from any transmission station (synchronous station), the arrival of the SYN frame is SYN-DET. Discriminated and detected by -A, -B and output as IRP-SYN-A, -B.

また、SYNフレームの受信が予め設定した期間にわたり無いことを、IRP−SYN−A,−Bの出力が周期的に継続しないことで通信ポートごとに判定検出するNO−SYN−DET−A/Bにて行われる。   In addition, NO-SYN-DET-A / B which detects and detects for each communication port that the output of IRP-SYN-A, -B does not continue periodically that the reception of the SYN frame is not performed for a preset period. It is done at.

従って、NO−SYN−DET−A/Bでは、IRP−SYN−A,−B信号から、一方の通信ポートを介しては周期的なSYNフレームの到来が連続継続する状態下で、他方の通信ポートを介しては周期的な到来が連続して予め指定した期間にわたりないことも検出でき、どちらの通信ポートからSYNフレームの周期的に継続する到来受信がないかを、SYN断状態の検出出力信号IRP−NO−SYNの状態変化割り込み時点で、C−BUSを経由してMPUは読み出すことが出来る。また、前記した受信信号状態を監視して異常と判断する条件により、RCV−ERR−A,−Bにより通信ポートA,−Bを介して受信する伝送フレームの受信信号状態の異常を検出する。   Therefore, in NO-SYN-DET-A / B, the other communication is performed under the condition that the arrival of the periodic SYN frame continues continuously from one signal through the one communication port from the IRP-SYN-A, -B signal. It is also possible to detect that periodic arrivals do not continue over a predetermined period through the port, and from which communication port there is no periodic arrival reception of the SYN frame, the detection output of the SYN disconnection state The MPU can read out via the C-BUS at the time of the state change interrupt of the signal IRP-NO-SYN. Further, an abnormality in the reception signal state of the transmission frame received via the communication ports A and -B by the RCV-ERR-A and -B is detected based on the condition for monitoring the reception signal state and determining that it is abnormal.

NO−SYN−DET−A/BとIRP−NO−SYN割り込み信号に応答してMPUのソフトウェア制御により、SYN断状態のポート−Aまたは−Bに対しては、各々の通信ポートを介して受信される伝送フレームとして前記したINZフレームや図3の伝送局構成に対応した後述するRRRフレームは検出判別して応答するが、SYN断検出した通信ポートから他方の通信ポートへの中継を通して他方の通信ポートからの伝送フレームの送出はないように、SYN断検出した通信ポートに対応する中継許可スイッチSW−FW−A,−BをONからOFF状態に変更し、ポート間の中継禁止となるブロック状態にする。   In response to the NO-SYN-DET-A / B and IRP-NO-SYN interrupt signals, MPU software controls the port-A or -B in the SYN disconnected state via each communication port. As the transmission frame to be transmitted, the above-described INZ frame and the RRR frame described later corresponding to the transmission station configuration of FIG. 3 are detected and responded, but the other communication is relayed from the communication port in which SYN disconnection is detected to the other communication port. Block state in which relay permission switch SW-FW-A, -B corresponding to the communication port in which SYN disconnection is detected is changed from ON to OFF so that relay between ports is prohibited so that no transmission frame is transmitted from the port To.

更に、SYN断を検出したポートからの伝送フレームの受信と取り込みを、対応するSW−REC−A,−Bの状態をONからOFF状態に変更して受信禁止状態とする。REC−ERR−A,−Bにて受信異常を検出した通信ポートでは、同様に対応するSW−FW−A,−Bを制御してブロック状態に、また、SW−REC−A,−Bを制御して受信禁止状態とする。MPU24からの各スイッチに対する制御信号は、IOCを経由して出力される。   Further, the reception and capture of the transmission frame from the port where the SYN disconnection is detected is changed from the ON to OFF state to the corresponding SW-REC-A, -B state to make the reception prohibited state. In the communication port in which the reception abnormality is detected in REC-ERR-A, -B, the corresponding SW-FW-A, -B is controlled to be in the block state, and SW-REC-A, -B is set in the block state. Control to disable reception. A control signal for each switch from the MPU 24 is output via the IOC.

上記により、故障発生の検出から、回復手順によるネットワーク機能回復に至る間、複数の伝送局の通信ポートを非ブロック状態に維持して、終端局の機能を複数伝送局で果たすようにできる。   As described above, the communication port of the plurality of transmission stations can be maintained in the non-blocked state during the period from the detection of the occurrence of the failure to the recovery of the network function by the recovery procedure, so that the function of the terminal station can be performed by the plurality of transmission stations.

請求項9に対しては、図3が伝送局の構成例となる。図21が対応する故障発生の検出からの回復手順を示す。図19は、#ST5及び#ST6が対向する終端局として構成された二重リング・ネットワークで、正常に稼動中に、#ST10と#ST9を接続する通信路に伝送異常が発生した状況を例示している。尚、発生箇所や伝送局数、同期局や終端局の位置との関係は限定されるものではない。図20は、#ST10と#ST9を接続する通信路に伝送異常が発生した後の各伝送局での各スイッチの状態を示す。   For claim 9, FIG. 3 shows an example of the configuration of the transmission station. FIG. 21 shows a recovery procedure from detection of the corresponding failure occurrence. FIG. 19 illustrates a situation in which a transmission error occurs in a communication path connecting # ST10 and # ST9 during normal operation in a dual ring network configured as an end station facing # ST5 and # ST6. doing. The relationship between the location of occurrence, the number of transmission stations, the position of the synchronization station and the terminal station is not limited. FIG. 20 shows the state of each switch in each transmission station after a transmission abnormality has occurred in the communication path connecting # ST10 and # ST9.

図3の実施例の伝送局構成により、RRRフレームの到来は、RRR−DET−A,−Bにて判別され検出されて、IRP−RRR−A,−Bとして出力される。RRRフレームを受信した場合に、RRRフレーム中の受信先アドレス情報は、RRR−RCV−ADRSに保持されることで、IRP−RRR−A,−Bの状態変化割り込み時点で、C−BUSを経由してMPUは読み出すことができ、どちらの通信ポートからの受信かを含めて判断し処理することができる。   With the configuration of the transmission station in the embodiment of FIG. 3, the arrival of the RRR frame is discriminated and detected by RRR-DET-A, -B, and output as IRP-RRR-A, -B. When the RRR frame is received, the destination address information in the RRR frame is held in the RRR-RCV-ADRS, so that it passes through the C-BUS at the time of the IRP-RRR-A, -B state change interrupt. Then, the MPU can read out, and can determine and process from which communication port it is received.

自局の識別情報となる自局アドレス情報は、PROM内に予め設定する、もしくはスイッチによる設定等で、更にポート−A,−B側に隣接する伝送局のアドレス情報は、前記した請求項6の初期化手順や、本方式による故障からの回復手順の開始前に、隣接局アドレス情報としてRAM内に設定し保持することで、更に、これらをMPUは読み出して、受信したRRRフレーム中の受信先アドレス情報と自局アドレス情報とを比較し、その一致や不一致を、MPUのソフトウェア制御により判断し処理することができる。   The local station address information serving as the local station identification information is set in advance in the PROM or set by a switch, and the address information of the transmission station adjacent to the ports -A and -B is further described above. Before starting the initialization procedure and the recovery procedure from the failure according to this method, the MPU reads and receives these information as adjacent station address information in the RAM, and receives them in the received RRR frame. The destination address information and the local station address information are compared, and a match or mismatch can be determined and processed by MPU software control.

即ち、アドレス一致を判断し、RRRフレームの受信ポートを非ブロック状態に変更する、または、アドレスの不一致を判断して、RRR受信ポートに対応した隣接局アドレス情報を読み出して、受信先として指定したRRRフレームを生成し、RRR受信ポートを介して、RRRフレームの受信完了のタイミングで直ちに送出する。   That is, the address match is determined and the RRR frame receiving port is changed to a non-blocking state, or the address mismatch is determined and the adjacent station address information corresponding to the RRR receiving port is read and designated as the receiving destination. An RRR frame is generated and transmitted immediately at the timing of completion of reception of the RRR frame via the RRR reception port.

更に、RRRフレームを送出後、前記したソフトウェア制御により構成するSTタイマーを起動して、予め指定した時間以内に、自局を受信先に指定したRRRフレームの受信を監視し検出するなどの処理は、MPUのソフトウェア制御により判断し処理することができる。   Furthermore, after sending the RRR frame, the process of starting the ST timer configured by the above-described software control and monitoring and detecting the reception of the RRR frame in which the local station is designated as the reception destination within the predetermined time is performed. It can be determined and processed by software control of the MPU.

二重リング・ネットワークシステム上には、同期局からのSYNフレームに加え、各伝送局からは、周期的に送出される伝送フレームや単発的に送出される伝送フレームが、本発明に対しては特に規定する必要がないOSI上位層となる二重リング・ネットワークシステム上での伝送フレーム同士の衝突を回避する伝送路制御方式に従って送出されている状態で、図19に例示した、#ST10と#ST9を接続する通信路に伝送異常が発生した場合は、請求項8に対して前記したように#ST10及び同期局となる#ST1から終端局#ST5の経路上の各局#ST2、#ST3、#ST4と#ST5では、同期局からの周期的で継続したSYNフレームの到来と受信を依然として検知できることから、SYN断検出はされない。   On the dual ring network system, in addition to the SYN frame from the synchronization station, a transmission frame periodically transmitted or a transmission frame transmitted once from each transmission station is not included in the present invention. # ST10 and #ST illustrated in FIG. 19 are transmitted in accordance with a transmission path control method for avoiding a collision between transmission frames on a dual ring network system that is an OSI upper layer that does not need to be specified. When a transmission error occurs in the communication path connecting ST9, as described above with respect to claim 8, # ST10 and each station # ST2, # ST3 on the path from # ST1 serving as a synchronous station to terminal station # ST5, In # ST4 and # ST5, since the periodic arrival and reception of the SYN frame from the synchronous station can still be detected, the SYN disconnection is not detected.

一方、#ST9から終端局#ST6の経路上の#ST9、#ST8、#ST7と#ST6では、SYN断検出と、状況により受信異常検出がされる。また、#ST10では、SYNフレームの周期的な到来受信を検出しているが、結果として前記した条件により受信異常検出される。   On the other hand, in # ST9, # ST8, # ST7 and # ST6 on the path from # ST9 to terminal station # ST6, SYN disconnection is detected and reception abnormality is detected depending on the situation. Further, in # ST10, periodic arrival reception of the SYN frame is detected. As a result, reception abnormality is detected according to the above-described conditions.

図19の例で、#ST10と#ST9を接続する通信路に伝送異常が発生した状況では、各伝送局での各スイッチの状態は図20となる。#ST9、#ST8、#ST7と#ST6では、従って、SW−FW−BをOFFすることで、また、SW−REC−BをOFFすることで、ポートB側はブロック状態、受信禁止状態となる。#ST10では、SW−FW−A及びSW−REC−AをOFFすることでポートA側がブロック状態、受信禁止の終端局ST−T−Rとなる。   In the example of FIG. 19, in a situation where a transmission abnormality occurs in the communication path connecting # ST10 and # ST9, the state of each switch in each transmission station is as shown in FIG. In # ST9, # ST8, # ST7, and # ST6, therefore, turning off SW-FW-B and turning off SW-REC-B causes the port B side to be in a blocked state and a reception prohibited state. Become. In # ST10, the SW-FW-A and the SW-REC-A are turned OFF, so that the port A side is in a blocked state and the reception-prohibited terminal station ST-TR.

二つの終端局のうち、同期局#ST1から異常個所に向かう経路上の先に位置する#ST6終端局では、図21に示すステップS−R0にて、図7で示されるST−T−Rのスイッチ状態:T−R−M0モードで、元々ブロック状態、受信禁止状態にあったポートA側に加え、今回はポートBも同一の状態となる図20で示す終端局#ST6のスイッチ状態(T−R−M1)に変化する。   Of the two terminal stations, in the # ST6 terminal station located on the path from the synchronous station # ST1 to the abnormal part, in step S-R0 shown in FIG. 21, the ST-TR shown in FIG. Switch state: In the TR-M0 mode, in addition to the port A side that was originally in the blocked state and the reception prohibited state, this time the port B is also in the same state, the switch state of the terminal station # ST6 shown in FIG. T-R-M1).

更に、#ST6では、NO−SYN−DET−A/B、IRP−SYN−A,−Bにより、ポートB側、即ち、同期局に向かう経路上で異常が発生したと判断し、SYN断検出終端局として、ステップS−R1により、直ちに、対向する終端局ST−T−Lとなる#ST5のアドレス情報を保持しているRAM内から読み出し、受信先に指定したRRRフレームを、ポート−A、−Bを介して両方向に送出し、また予め指定されたタイマー時間を設定したSTタイマーを起動して、同期局に向かうポートB側の隣接局、この場合は#ST7からの応答確認RRRフレームの到来受信を待機する。   Further, in # ST6, it is determined that an abnormality has occurred on the port B side, that is, on the path toward the synchronous station, by NO-SYN-DET-A / B, IRP-SYN-A, -B, and a SYN disconnection is detected. As a terminal station, immediately after step S-R1, the RRR frame designated as the receiving destination is read out from the RAM holding the address information of # ST5 that becomes the opposite terminal station ST-TL, and the port-A , -B is sent in both directions, and the ST timer with a pre-designated timer time is started, and the response confirmation RRR frame from the adjacent station on the port B side toward the synchronous station, in this case, # ST7 Waits for incoming arrival.

RRR伝送フレームの受信先に指定された対向する終端局ST−T−Lの#ST5では、#ST6から送出された自局が指定されたRRRフレームを受信すると、ステップS−L1により、終端局としてブロック状態にあつたポートB側SW−FW−BをON及びSW−REC−BをONとすることでポートBを非ブロック状態、受信許可状態にして、終端局状態から中継局Normalモードとなる。   In # ST5 of the opposite terminal station ST-TL designated as the reception destination of the RRR transmission frame, when the local station transmitted from # ST6 receives the designated RRR frame, in step S-L1, the terminal station When the port B side SW-FW-B in the blocked state is turned on and the SW-REC-B is turned on, the port B is set in the non-blocking state and the reception permitted state, and the relay station normal mode is changed from the terminal station state to the relay station normal mode. Become.

SYN断検出終端局#ST6から異常発生箇所に至る正常に機能する伝送局の各々、#ST7、#ST8、#ST9では、この方向の中継機能が維持されていることから、ステップS1により、SYN断検出終端局#ST6からのRRRフレームを各々が伝送系路上の遅れはあるものの、ほぼ一時に受信する。   In each of the normally functioning transmission stations from the ST disconnection termination station # ST6 to the location where the abnormality occurred, # ST7, # ST8, and # ST9 maintain the relay function in this direction. The RRR frames from the disconnection detecting terminal station # ST6 are received almost at once, although there is a delay on the transmission path.

各々の伝送局では、ステップS1により、RRR−DET−AによりRRRフレームの到来受信を検出し、自局が受信先でないことを判断すると、SYN断検出終端局に向かう隣接局のアドレスを、保持しているRAM内から読み出して受信先に指定したRRRフレームを生成し、SW−TX−Bを一時的にOFFすることで、RRR受信ポートとなるポートAを介して、MAC/DLCの送受信制御によりRRRフレームの受信完了後に、直ちに送出する。   In each transmission station, when the arrival reception of the RRR frame is detected by RRR-DET-A in step S1, and it is determined that the local station is not the reception destination, the address of the adjacent station toward the SYN loss detection termination station is held. MAC / DLC transmission / reception control via port A, which is an RRR reception port, by generating an RRR frame that is read from the RAM that is designated and specified as the reception destination and temporarily turning off SW-TX-B To transmit immediately after the reception of the RRR frame.

SYN断検出終端局#ST6では、ST−T−L終端局を受信先に指定したRRRフレームを送出後、同期局に向かう隣接局#ST7より、自局が指定されたRRRフレームを、ステップS−R2によりSTタイマーアップまでの時間内に受信検出すると、STタイマーアップまで待った後に、異常検出時点からブロック状態にしていた同期局に向かう側のポートBおよび元々ブロック状態にあったST−T−Lと対向するポートAを非ブロック状態に、また両ポートを受信許可状態にして終端局状態から中継局Normalモードとする。   In the SYN loss detection terminal station # ST6, after sending the RRR frame designating the ST-T-L terminal station as the reception destination, the adjacent station # ST7 heading to the synchronous station sends the RRR frame designated by the local station to the step S -If reception is detected within the time until ST timer up by R2, after waiting for ST timer up, port B on the side toward the synchronous station that has been in the blocked state from the point of time of abnormality detection and ST-T- that was originally in the blocked state The port A facing L is set to the non-blocking state, and both ports are set to the reception-permitted state, and the relay station normal mode is set from the terminal station state.

SYN断検出終端局#ST6から異常発生箇所に至る正常に機能する各々、#ST7、#ST8、#ST9では、ステップS1によりRRR受信ポート側の隣接局を受信先に指定したRRRフレームをRRR受信ポート側から送出後、送出時に起動したSTタイマのアップ前に、同期局に向かう隣接局より自局が指定されたRRRフレームの受信をステップS21で確認すると、STタイマーがアップするまで待った後に、異常検出時点からブロック状態にしていたポートBを非ブロック状態にして中継局Normal モードに復帰する。   In each of # ST7, # ST8, and # ST9 functioning normally from the SYN loss detection terminal station # ST6 to the location where the error occurred, RRR reception is performed in step S1 with the RRR reception port side adjacent station designated as the reception destination. After sending from the port side, before the ST timer started at the time of sending is up, when the reception of the RRR frame in which the local station is designated from the adjacent station heading to the synchronous station is confirmed in step S21, after waiting until the ST timer is up, The port B, which has been in the blocked state from the time of the abnormality detection, is brought into the non-blocked state and returned to the relay station normal mode.

一方、SYN断検出終端局#ST6に向かう異常個所に隣接する伝送局#S9では、ステップS22によりSTタイマーアップしても#ST10からの自局を指定したRRRフレームを受信できないことで、ポートBのブロック状態を維持する。   On the other hand, the transmission station # S9 adjacent to the abnormal part heading toward the SYN loss detection terminal station # ST6 cannot receive the RRR frame designating its own station from # ST10 even if the ST timer is increased in step S22. The block state is maintained.

従って、新たな終端局ST−T−Lとなる。同様に、SYN断検出終端局に隣接する箇所にて異常が発生した場合には、予め指定した時間を経過したSTタイマアップしても自局を指定したRRRフレームの受信がないことで、ステップS−R2により、異常検出時点でブロック状態にしていたポートのブロック状態を維持する。   Therefore, it becomes a new terminal station ST-TL. Similarly, if an abnormality occurs at a location adjacent to the SYN loss detection terminal station, the RRR frame designating the local station is not received even if the ST timer has expired after the predesignated time has elapsed. The blocked state of the port that was in the blocked state at the time of detecting the abnormality is maintained by S-R2.

また、終端局として元々ブロック状態にあった他方の通信ポートは非ブロック状態とし、終端局St−T−RからST−T−Lとなる。   Further, the other communication port that was originally in the blocked state as the terminal station is set to the non-blocked state, and changes from the terminal station St-T-R to ST-T-L.

上記により、二重リング・ネットワークシステム上で1箇所故障による伝送異常状態が発生した場合に、終端局の位置を、異常発生箇所から同期局に向かう隣接局と、異常発生箇所から反対側に向かう隣接局に変化させることでネットワークの全面停止を回避することができる。   As described above, when a transmission abnormal state occurs due to a failure at one location on the dual ring network system, the position of the terminal station is directed to the adjacent station from the location where the error occurred to the synchronization station, and from the location where the error occurred to the opposite side. By changing to an adjacent station, it is possible to avoid the entire network outage.

また、終端局を変化させる際に、隣接局との双方向通信の健全性を確認しつつ、また、新たな終端局となる伝送局にいたる経路上の複数の伝送局間で、ほぼ同時に一時に完了させることでき、異常状態から復帰にいたる回復時間を非常に短時間にすることができる。   In addition, when changing the terminal station, while confirming the soundness of the bidirectional communication with the adjacent station, it is also possible to establish a simultaneous transmission between a plurality of transmission stations on the path to the transmission station that becomes the new terminal station. It can sometimes be completed, and the recovery time from the abnormal state to return can be made very short.

更には、特別な中央局とのやり取りを個々の伝送局が行うことなく、隣接局同士で分散して回復までの処理を行えることで複雑な交信手順を省くことが出来る。   Furthermore, complicated communication procedures can be omitted by performing processing up to recovery by distributing between adjacent stations without the individual transmission stations exchanging with a special central station.

請求項10に対しては、図4が伝送局の構成例となる。図22が対応する故障発生の検出からの回復手順を示す。図19は、#ST5及び#ST6が対向する終端局として構成された二重リング・ネットワークで、正常に稼動中に、#ST10と#ST9を接続する通信路に伝送異常が発生した状況を例示している。   For claim 10, FIG. 4 is an example of the configuration of a transmission station. FIG. 22 shows a recovery procedure from detection of the corresponding failure occurrence. FIG. 19 illustrates a situation in which a transmission error occurs in a communication path connecting # ST10 and # ST9 during normal operation in a dual ring network configured as an end station facing # ST5 and # ST6. doing.

尚、発生箇所や伝送局数、同期局や終端局の位置との関係は限定されるものではない。図20は、#ST10と#ST9を接続する通信路に伝送異常が発生した後の各伝送局での各スイッチの状態を示す。   The relationship between the location of occurrence, the number of transmission stations, the position of the synchronization station and the terminal station is not limited. FIG. 20 shows the state of each switch in each transmission station after a transmission abnormality has occurred in the communication path connecting # ST10 and # ST9.

前記した請求項9で記述したRRR−DET−A,−Bとその検出出力信号IRP−RRR−A,−B及びRRR−RCV−ADRSを除いて、伝送局を構成する各回路の機能と作用は、自局アドレス情報や隣接局アドレス情報の設定保持など機能、作用において同じとなる。   Except for RRR-DET-A, -B and its detection output signals IRP-RRR-A, -B and RRR-RCV-ADRS described in claim 9, functions and operations of each circuit constituting the transmission station Are the same in function and operation such as setting and holding of own station address information and adjacent station address information.

また、請求項9で記述したように、二重リング・ネットワークシステム上には、同期局からのSYNフレームに加え、各伝送局からは、周期的に送出される伝送フレームや単発的に送出される伝送フレームが、本発明に対しては特に規定する必要がないOSI上位層となる二重リング・ネットワークシステム上での伝送フレーム同士の衝突を回避する伝送路制御方式に従って送出されている状態で、図19に例示した、#ST10と#ST9を接続する通信路に伝送異常が発生した場合は、請求項8に対して前記したように#ST10及び同期局となる#ST1から終端局#ST5の経路上の各局#ST2、#ST3、#ST4と#ST5では、同期局からの周期的で継続したSYNフレームの到来と受信を依然として検知できることから、SYN断検出はされない。     Further, as described in claim 9, on the dual ring network system, in addition to the SYN frame from the synchronous station, each transmission station transmits a transmission frame periodically transmitted or a single frame. The transmission frame is transmitted in accordance with a transmission path control method for avoiding collision between the transmission frames on the dual ring network system which is an OSI upper layer that does not need to be specified for the present invention. When a transmission error occurs in the communication path connecting # ST10 and # ST9 illustrated in FIG. 19, as described above with respect to claim 8, # ST10 and # ST1 serving as a synchronization station to terminal station # ST5 In each station # ST2, # ST3, # ST4 and # ST5 on the path of, it is still possible to detect the arrival and reception of a periodic and continuous SYN frame from the synchronous station, YN-off detection is not.

一方、#ST9から終端局#ST6の経路上の#ST9、#ST8、#ST7と#ST6では、SYN断検出と、状況により受信異常検出がされる。また、#ST10では、SYNフレームの周期的な到来受信を検出しているが、結果として前記した条件により受信異常検出される。   On the other hand, in # ST9, # ST8, # ST7 and # ST6 on the path from # ST9 to terminal station # ST6, SYN disconnection is detected and reception abnormality is detected depending on the situation. Further, in # ST10, periodic arrival reception of the SYN frame is detected. As a result, reception abnormality is detected according to the above-described conditions.

図19の例で、#ST10と#ST9を接続する通信路に伝送異常が発生した状況では、各伝送局での各スイッチの状態は図20となる。即ち、#ST9、#ST8、#ST7では、図22のステップS0により、また#ST6では、ステップS−R0により、SW−FW−BをOFFに、また、SW−REC−BをOFFにした、それぞれ図20で示したO−L−M1状態及びT−R−M1状態になる。   In the example of FIG. 19, in a situation where a transmission abnormality occurs in the communication path connecting # ST10 and # ST9, the state of each switch in each transmission station is as shown in FIG. That is, in # ST9, # ST8, and # ST7, SW-FW-B is turned off and SW-REC-B is turned off in step S0 of FIG. 22 and in step ST-R0 in # ST6. The OL-M1 state and the TR-M1 state shown in FIG. 20, respectively.

また、#ST10では、ステップS−O1によりSW−FW−A及びSW−REC−AをOFFとし、新たな終端局ST−T−Rとなる。一方、終端局#ST5では、同期局側ポートとなるポートAからは周期的に連続してSYNフレームの到来検出が出来るが、他方の終端局#ST6に対向するポートBからはSYNフレームの到来検出が出来ないことで、伝送路上の信号遅れはあるものの終端局#ST6とほぼ同時に、伝送異常が発生したことを検知することが出来る。   In # ST10, SW-FW-A and SW-REC-A are turned OFF in step S-O1, and the terminal station becomes a new terminal station ST-TR. On the other hand, the terminal station # ST5 can periodically detect the arrival of the SYN frame from the port A serving as the synchronization station side port, but the port B facing the other terminal station # ST6 can receive the SYN frame. Since the detection is not possible, it is possible to detect that a transmission abnormality has occurred almost simultaneously with the terminal station # ST6 although there is a signal delay on the transmission path.

ステップS−L1により、同期局側ポートと反対側のポートBで、SW−REC−BをONとして受信取り込みを許可とし、プログラム制御によるSTタイマを起動する。ステップS−L1で設定するSTタイマ値は、二重リングネットワーク上での伝送フレーム同士の衝突を回避する特に規定しない伝送路制御方式に従い#ST6が伝送フレームの送出を許可されるまでの最大待ち時間より大きな値を設定する。   In step S-L1, SW-REC-B is turned on to permit reception and reception at port B opposite to the synchronous station side port, and an ST timer by program control is started. The ST timer value set in step S-L1 is the maximum waiting time until # ST6 is permitted to send a transmission frame in accordance with a transmission path control method that does not specifically define a collision between transmission frames on a dual ring network. Set a value larger than the time.

二つの終端局のうち、同期局#ST1から異常個所に向かう経路上の先に位置する終端局#ST6では、ステップS−R1により、他方の終端局に対向する側のポートAに対応するSW−REC−AをOFFからONにして、ポートAからの伝送フレームの受信取り込みを可能とする。   Of the two terminal stations, in the terminal station # ST6 located on the path from the synchronous station # ST1 to the abnormal part, the SW corresponding to the port A on the side facing the other terminal station is obtained in step S-R1. -Set REC-A from OFF to ON to enable reception of the transmission frame from port A.

この状態で、他方の終端局#ST5から送出される伝送フレーム列をMAC/DLCで受信取り込み、MPUのプログラム制御により判断して、二重リングネットワーク上での伝送フレーム同士の衝突を回避する伝送路制御方式に従い、自局に割り当てられた伝送フレームの送出タイミングを待機する。ステップS−R2にて、送出タイミングTmacがtrue状態となると、SW−REC−AをONからOFFにして、ポートAを再び受信禁止状態にした上で、SW−REC−BはOFFからONとすることでポートBを受信許可状態として、受信先を#ST5に指定したRRRフレームを両ポートから送出するとともにSTタイマを起動して、同期局に向かう隣接局#ST7からの自局を受信先に指定したRRRフレームの受信を待機する。   In this state, the transmission frame sequence transmitted from the other terminal station # ST5 is received by MAC / DLC, and judged by MPU program control to avoid collision between transmission frames on the dual ring network. According to the route control method, the transmission frame assigned to the own station is waited for. In step S-R2, when the transmission timing Tmac is in the true state, the SW-REC-A is turned from ON to OFF, the port A is again set in the reception prohibited state, and the SW-REC-B is turned from OFF to ON. As a result, the port B is set in the reception-permitted state, the RRR frame with the destination specified as # ST5 is transmitted from both ports, the ST timer is started, and the own station from the adjacent station # ST7 heading for the synchronous station is received as the destination. It waits for reception of the RRR frame specified in.

SYN正常終端局となる#ST5では、伝送異常を検出して以降、ステップS−L21にて、対向するSYN断検出終端局#ST6からのRRRフレームを受信すると、受信したRRRフレームの受信先が自局と判断して、終端局としてブロック状態にあったRRRフレームの受信ポートBで、SW−FW−BをONにすることで非ブロック状態にして、終端局状態から中継局Normalモードとなる。一方、先に起動していたSTタイマアップまでに受信がない場合は、SW−REC−BをOFFに戻し、終端局ST−T−Lを維持する。   In # ST5, which is a SYN normal terminal station, after detecting a transmission error, in step S-L21, when an RRR frame is received from the opposing SYN loss detection terminal station # ST6, the reception destination of the received RRR frame is At the reception port B of the RRR frame that is in the blocked state as the terminal station, the SW-FW-B is turned on to change to the non-blocking state, and the relay station normal mode is changed from the terminal station state to the relay station normal mode. . On the other hand, if there is no reception before the ST timer that has been activated earlier, SW-REC-B is returned to OFF and the terminal station ST-TL is maintained.

SYN断検出終端局#ST6から異常発生箇所に至る正常に機能する伝送局の各々、#ST7、#ST8、#ST9では、この方向の中継機能が維持されていることから、ステップS1にて、#ST6が送出したRRRフレームを伝送路遅れはあるものの一斉に受信すると、受信先が自局でないことから、RRRフレームの受信ポートとなるポートA側の隣接局アドレスを受信先に指定したRRRフレームを、SW−TX−Bを一時的にOFFにすることで、RRRフレーム受信のポートAから、RRRフレームの受信完了後に、直ちに送出し、STタイマを起動する。   In each of the normally functioning transmission stations from the SYN disconnection detecting terminal station # ST6 to the abnormal point, # ST7, # ST8, # ST9, the relay function in this direction is maintained, so in step S1, When the RRR frame sent by # ST6 is received all at once with a transmission line delay, the receiving destination is not its own station. Therefore, the RRR frame in which the adjacent station address on the port A side that becomes the receiving port of the RRR frame is designated as the receiving destination Is temporarily turned off from the port A for receiving the RRR frame, after the reception of the RRR frame is completed, and the ST timer is started.

#ST6では、ステップS−R31にて、同期局に向かうポートB側の隣接局#ST7より自局が指定されたRRRフレームをSTタイマアップ前に受信検出すると、STタイマアップまで待った後に、異常検出時点からブロック状態にしていた同期局に向かう側のポートBおよび元々ブロック状態にあったST−T−Lと対向するポートAを非ブロック状態に、また両ポートを受信許可状態にして終端局状態から中継局Normalモードとする。   In # ST6, if the RRR frame designated by the local station from the adjacent station # ST7 on the port B side toward the synchronous station is received and detected before the ST timer is up in step S-R31, an error occurs after waiting until the ST timer is up. The terminal B that faces the synchronous station that has been in the blocked state from the time of detection and the port A that faces the ST-TL that was originally in the blocked state are set to the non-blocked state, and both ports are set to the reception-permitted state, and the terminating station From the state, the relay station is set to the normal mode.

SYN断検出終端局#ST6から異常発生箇所に至る正常に機能する各々、#ST7、#ST8、#ST9では、ステップS1によりRRR受信ポート側の隣接局を受信先に指定したRRRフレームをRRR受信ポート側から送出後、送出時に起動したSTタイマのアップ前に、同期局に向かう隣接局より自局が指定されたRRRフレームの受信をステップS21で確認すると、STタイマーがアップするまで待った後に、異常検出時点からブロック状態にしていたポートBを非ブロック状態にして中継局Normal モードに復帰する。   In each of # ST7, # ST8, and # ST9 functioning normally from the SYN loss detection terminal station # ST6 to the location where the error occurred, RRR reception is performed in step S1 with the RRR reception port side adjacent station designated as the reception destination. After sending from the port side, before the ST timer started at the time of sending is up, when the reception of the RRR frame in which the local station is designated from the adjacent station heading to the synchronous station is confirmed in step S21, after waiting until the ST timer is up, The port B, which has been in the blocked state from the time of the abnormality detection, is brought into the non-blocked state and returned to the relay station normal mode.

一方、SYN断検出終端局#ST6に向かう異常個所に隣接する伝送局#S9では、ステップS22によりSTタイマーアップしても#ST10からの自局を指定したRRRフレームを受信できないことで、ポートBのブロック状態を維持し、従って、新たな終端局ST−T−Lとなる。同様に、SYN断検出終端局に隣接する箇所にて異常が発生した場合には、予め指定した時間を経過したSTタイマアップしても自局を指定したRRRフレームの受信がないことで、ステップS−R2により、異常検出時点でブロック状態にしていたポートのブロック状態を維持し、また終端局として元々ブロック状態にあった他方の通信ポートは非ブロック状態とし、終端局St−T−RからST−T−Lとなる。   On the other hand, the transmission station # S9 adjacent to the abnormal part heading toward the SYN loss detection terminal station # ST6 cannot receive the RRR frame designating its own station from # ST10 even if the ST timer is increased in step S22. Therefore, it becomes a new terminal station ST-TL. Similarly, if an abnormality occurs at a location adjacent to the SYN loss detection terminal station, the RRR frame designating the local station is not received even if the ST timer has expired after the predesignated time has elapsed. By S-R2, the blocked state of the port that was in the blocked state at the time of abnormality detection is maintained, and the other communication port that was originally in the blocked state as the terminal station is set to the non-blocked state, and from the terminal station St-TR ST-T-L.

上記により、請求項9で前記したと同様に、二重リング・ネットワーク上で1箇所故障による伝送異常状態が発生した場合に、終端局の位置を、異常発生箇所から同期局に向かう隣接局と、異常発生箇所から反対側に向かう隣接局に変化させることでネットワークの全面停止を回避することができる。また、終端局を変化させる際に、隣接局との双方向通信の健全性を確認しつつ、また、新たな終端局となる伝送局にいたる経路上の複数の伝送局間で、ほぼ同時に一時に完了させることでき、異常状態から復帰にいたる回復時間を非常に短時間にすることができる。   As described above, in the same manner as described above in claim 9, when a transmission abnormal state due to a single point failure occurs on the double ring network, the position of the terminal station is changed to the adjacent station from the abnormal point to the synchronous station. The entire network stoppage can be avoided by changing the station from the location where the abnormality has occurred to the adjacent station facing the opposite side. In addition, when changing the terminal station, while confirming the soundness of the bidirectional communication with the adjacent station, it is also possible to establish a simultaneous transmission between a plurality of transmission stations on the path to the transmission station that becomes the new terminal station. It can sometimes be completed, and the recovery time from the abnormal state to return can be made very short.

更には、特別な中央局とのやり取りを個々の伝送局が行うことなく、隣接局同士で分散して回復までの処理を行えることで複雑な交信手順を省くことが出来る。   Furthermore, complicated communication procedures can be omitted by performing processing up to recovery by distributing between adjacent stations without the individual transmission stations exchanging with a special central station.

従って、本実施の形態の初期化の方式によれば、二つの終端局により各々が受信する伝送フレームを中継しなしようにしたので、リング状に構成したネットワーク内を、伝送局から送出される伝送フレームが循環しないように、論理的にバス型のネットワークを構成することができる。   Therefore, according to the initialization method of the present embodiment, the transmission frames received by the two terminal stations are not relayed, so that the transmission station transmits the ring-shaped network. A logical bus type network can be configured so that transmission frames do not circulate.

また、ネットワークの初期化時点で、初期化のための特に二重リング・ネットワーク上で位置を限定しないマスタ局からみて、終端局の位置がネットワークの構成に従い一意に決定できる。   In addition, at the time of network initialization, the position of the terminal station can be uniquely determined according to the network configuration, as viewed from the master station for initialization, especially on the dual ring network.

また、制御方式で使用する伝送フレームは、イーサネット(登録商標)規格を前提としているが、本方式で定義したSYNフレーム、RRRフレーム、INZフレームやINZ−COMPは、各々を特定できる伝送フレームであれば良く特別なフレームフォーマットを限定しない。   The transmission frame used in the control method is premised on the Ethernet (registered trademark) standard, but the SYN frame, the RRR frame, the INZ frame, and the INZ-COMP defined in this method are transmission frames that can identify each. It doesn't limit the special frame format.

更に、本方式による初期化方式では、隣局にいたる伝送路、更に隣局通信機能と隣局からの自局にいたる伝送路を含んた通信機能に、両方向の各々で異常があるかを確認でき、異常のない通信路で二重リングネットワークを初期構成することが出来る。   Furthermore, in the initialization method using this method, it is confirmed whether there is an abnormality in each direction in the transmission path to the adjacent station, and the communication function including the communication function from the adjacent station and the transmission path from the adjacent station to the local station. It is possible to configure a double ring network initially with a communication path without any abnormality.

これは、MS局から一つずつ伝送局を二重リング・ネットワークに組み入れていく過程で、各伝送局では、MSポート側の受信系統の健全性と、MSポートの反対側ポートに隣接する伝送局への伝送路、隣接局受信と送信機能、隣接局から自局にもどる伝送路と自局受信系統に異常が無ければ、必ず隣接局からの応答確認INZフレームを受信検知するので、隣接局が一体となって隣接局間での双方向通信路の健全性を確認できる。   This is a process of incorporating transmission stations one by one from the MS station into the dual ring network. At each transmission station, the soundness of the receiving system on the MS port side and the transmission adjacent to the opposite port of the MS port are performed. If there is no abnormality in the transmission path to the station, the adjacent station reception and transmission function, the transmission path returning from the adjacent station to the local station and the local station reception system, the reception confirmation INZ frame from the adjacent station is always received and detected. Can integrally check the soundness of the bidirectional communication path between adjacent stations.

また、組み入れていく過程で、自局の隣局のアドレス情報を取得することでき、応用により、ネットワークを構成する伝送局の接続状態を初期化時点で把握することが容易に行えるようになる。   In addition, the address information of the neighboring station of the own station can be acquired in the process of incorporation, and it becomes easy to grasp the connection state of the transmission stations constituting the network at the time of initialization by application.

二重リング・ネットワーク上で1箇所故障による伝送異常状態が発生した場合に、終端局の位置を、異常発生箇所から同期局に向かう隣接局と、異常発生箇所から反対側に向かう隣接局に変化させることでネットワークの全面停止を回避することができる。   When a transmission error occurs due to a single failure on a dual ring network, the position of the terminal station is changed from the location where the failure occurred to the synchronous station to the adjacent station going from the location where the failure occurred to the opposite side. By doing so, it is possible to avoid the entire network outage.

また、終端局を変化させる際に、隣接局との双方向通信の健全性を確認しつつ、また、新たな終端局となる伝送局にいたる経路上の複数の伝送局間で、ほぼ同時に一時に完了させることでき、異常状態から復帰にいたる回復時間を非常に短時間にすることができる。   In addition, when changing the terminal station, while confirming the soundness of the bidirectional communication with the adjacent station, it is also possible to establish a simultaneous transmission between a plurality of transmission stations on the path to the transmission station that becomes the new terminal station. It can sometimes be completed, and the recovery time from the abnormal state to return can be made very short.

更には、特別な中央局とのやり取りを個々の伝送局が行うことなく、隣接局同士で分散して回復までの処理を行えることで複雑な交信手順を省くことが出来る。   Furthermore, complicated communication procedures can be omitted by performing processing up to recovery by distributing between adjacent stations without the individual transmission stations exchanging with a special central station.

(自動終端局機能の補充説明)
上記の構成を有する二重リング・ネットワークシステムは以下に説明する処理を行っていることになる。
(Replenishment explanation of automatic terminal station function)
The dual ring network system having the above configuration performs the processing described below.

図24は本実施の形態の二重リング・ネットワークシステムの自動終端局機能の概略を説明するフローチャートである。   FIG. 24 is a flowchart for explaining the outline of the automatic termination station function of the dual ring network system of this embodiment.

図25は初期における終端局の設定を説明する説明図である。図26は終端局の切り替わりを説明する説明図である。本実施の形態では図25に示すように、9つの伝送局#ST1、・・・伝送局#ST9で構成された二重リング・ネットワークシステムとし、#ST1がマスタ局MSとなり、前述のINZフレーム及びINZ−COMPフレーム等によって、#ST5及び#ST6が終端局として初期設定されている場合について説明する。   FIG. 25 is an explanatory diagram for explaining the setting of the terminal station in the initial stage. FIG. 26 is an explanatory diagram for explaining switching of a terminal station. In this embodiment, as shown in FIG. 25, a dual ring network system including nine transmission stations # ST1,..., Transmission station # ST9 is used, and # ST1 is the master station MS, and the above-described INZ frame A case will be described in which # ST5 and # ST6 are initially set as terminal stations by the INZ-COMP frame and the like.

図24に示すように終端局#ST5(以下終端局LTという)及び#ST6(以下終端局RTという)は、仮想的に終端局RTと回線断の状態にしている(S241、S243)。つまり、終端局LTは左側の伝送局#ST4からのフレームは受信するが#ST6にはこれを送信しない。また、終端局RTは右側の伝送局#ST7からのフレームは受信するが#ST5にはこれを送信しない。   As shown in FIG. 24, the terminal stations # ST5 (hereinafter referred to as terminal station LT) and # ST6 (hereinafter referred to as terminal station RT) are virtually disconnected from the terminal station RT (S241, S243). That is, the terminal station LT receives the frame from the left transmission station # ST4, but does not transmit it to # ST6. The terminal station RT receives the frame from the right transmission station # ST7 but does not transmit it to # ST5.

また、終端局LTは、左側の#ST4からSYNフレームを受信したかどうかを判定している(S245)。また、終端局RTは右側の#ST7からSYNフレームを受信したかどうかを判定している(S247)。   Also, the terminal station LT determines whether or not a SYN frame has been received from the left # ST4 (S245). The terminal station RT determines whether a SYN frame has been received from # ST7 on the right side (S247).

そして、終端局RT、LTは、SYNフレームを一定時間内に受信しないときは、終端局から外れる(S249、S251)。つまり、#ST5と#ST6は終端局から外れて#ST5は#ST6にフレームを送信するようになり、#ST6は#ST5にフレームを送信するようになる。   Then, when the terminal stations RT and LT do not receive the SYN frame within a predetermined time, they are disconnected from the terminal stations (S249 and S251). That is, # ST5 and # ST6 deviate from the terminal station, # ST5 transmits a frame to # ST6, and # ST6 transmits a frame to # ST5.

一方、基点となったマスタ局MS(同期局ともいう)は、SYNフレームを各伝送局に双方向(右回り、左回りで送信)に送信する(S253)。このSYNフレームは、各伝送局の一方の通信ポートA、他方の通信ポートに入力して受付される(S255)。   On the other hand, the master station MS (also referred to as a synchronization station) serving as a base point transmits a SYN frame to each transmission station in both directions (clockwise and counterclockwise transmission) (S253). This SYN frame is input and accepted at one communication port A and the other communication port of each transmission station (S255).

そして、他の各伝送局は、双方向からSYNフレームを受信したかどうかを判定する(S257)。   Each of the other transmission stations determines whether a SYN frame has been received from both directions (S257).

例えば、図3に示すように、各伝送局に設けているSYNフレーム検出回路34(SYN―DET−A)及びSYNフレーム検出回路36(SYN―DET−B)によってSYNフレームの受信が判別されて検出され、右側からの受信であることを示すIRP−SYN−A信号、左からの受信であることを示すIRP−SYN−B信号として出力される。   For example, as shown in FIG. 3, the reception of the SYN frame is determined by the SYN frame detection circuit 34 (SYN-DET-A) and the SYN frame detection circuit 36 (SYN-DET-B) provided in each transmission station. Detected and output as an IRP-SYN-A signal indicating reception from the right side and an IRP-SYN-B signal indicating reception from the left side.

また、SYN断検出路35(NO−SYN−DET−A/−B)は、IRP−SYN−A/Bが連続して入力しないときは、IPR−NO−SYNを出力する。   The SYN disconnection detection path 35 (NO-SYN-DET-A / -B) outputs IPR-NO-SYN when IRP-SYN-A / B is not continuously input.

従って、MPU24は、IRP−SYN−Aが連続して出力されたときは、一方の通信ポートを介してSYNフレームが連続して入力したことが分かる。また、IRP−SYN−Bが出力された後に、IPR−NO−SYNが出力されると他方の通信ポートを介しては周期的な到来が連続して予め指定した期間にわたり入力しないことが分かる。   Therefore, when the IRP-SYN-A is continuously output, the MPU 24 knows that the SYN frames are continuously input via one communication port. In addition, when IPR-NO-SYN is output after IRP-SYN-B is output, it is understood that periodic arrivals are not continuously input over a predetermined period via the other communication port.

また、MPU24は前記した受信信号状態を監視して異常と判断する条件により、RCV−ERR−A,−Bにより通信ポートA,−Bを介して受信する伝送フレームの受信信号状態の異常を検出する。   In addition, the MPU 24 detects an abnormality in the reception signal state of the transmission frame received via the communication ports A and -B by the RCV-ERR-A and -B based on the condition for monitoring the reception signal state and determining the abnormality. To do.

すなわち、ステップS257では双方向からSYNフレームを受信しなかったと判定する。双方向からSYNフレームを受信しなかった場合は、他の各伝送局は、双方向にRRRフレームを送出する(S259)。   That is, in step S257, it is determined that the SYN frame has not been received from both directions. When the SYN frame is not received from both directions, the other transmission stations transmit the RRR frame in both directions (S259).

本実施の形態では、#ST8が#ST9からSYNフレームを受信できず、#ST9は#ST8からSYNフレームを受信できなかったとする。   In this embodiment, it is assumed that # ST8 cannot receive a SYN frame from # ST9, and # ST9 cannot receive a SYN frame from # ST8.

#ST8は#ST9及び#ST7の双方にRRRフレームを送信すると共に、#ST9は#ST8及び#ST1の双方にRRRフレームを送信する。   # ST8 transmits an RRR frame to both # ST9 and # ST7, and # ST9 transmits an RRR frame to both # ST8 and # ST1.

#ST8に隣接の伝送局(#ST9及び#ST7)並びに#ST9に隣接する伝送局(#ST8及び#ST1)は、RRRフレームを受信した場合は、RRRフレームを双方向に送出し、RRRフレームを受信しなかった場合は、RRRフレームの送出は行わない(S261)。   When transmission stations adjacent to # ST8 (# ST9 and # ST7) and transmission stations adjacent to # ST9 (# ST8 and # ST1) receive the RRR frame, they transmit the RRR frame in both directions, and the RRR frame Is not received, the RRR frame is not transmitted (S261).

一方、伝送局#ST8及び伝送局#ST9はRRRフレームを送信した後に隣接の伝送局からRRRフレームを受信したかどうかを監視している(S263)。   On the other hand, the transmission station # ST8 and the transmission station # ST9 monitor whether or not the RRR frame is received from the adjacent transmission station after transmitting the RRR frame (S263).

ステップS263において、RRRフレームを送信した隣接の伝送局からRRRフレームの受信がないと#ST8及び#ST9が判断したときは、その隣接の伝送局#ST8及び#ST9の間が異常と判断する(S265)。この判断によって図26に示すように#ST8及び#ST9は、終端局となる(S276)。   In step S263, when # ST8 and # ST9 determine that no RRR frame is received from the adjacent transmission station that has transmitted the RRR frame, it is determined that there is an abnormality between the adjacent transmission stations # ST8 and # ST9 ( S265). By this determination, as shown in FIG. 26, # ST8 and # ST9 become terminal stations (S276).

つまり、RRRフレームを送信しても返信がない隣接の伝送局に対しては、基点からのフレームを送信しない機能を備える。   That is, it has a function of not transmitting a frame from the base point to an adjacent transmission station that does not send a reply even if an RRR frame is transmitted.

従って、本実施の形態の二重リング・ネットワークシステムの各伝送局は、図27に示す自動終端局設定手段50を備えていることになる。本実施の形態では#ST3及び#ST6を代表にして図示している。   Therefore, each transmission station of the dual ring network system according to the present embodiment includes the automatic termination station setting means 50 shown in FIG. In the present embodiment, # ST3 and # ST6 are representatively illustrated.

自動終端局設定手段50は、自局終端設定手段52と、終端局解除手段54と、フレーム送信手段58等を備えている。   The automatic terminal station setting unit 50 includes a local station terminal setting unit 52, a terminal station canceling unit 54, a frame transmitting unit 58, and the like.

自局終端設定手段52は、隣接の伝送局からSYCフレームが継続して入力しているかどうかを判定し、継続して入力しない場合は、メモリ56に隣接の伝送局との間が異常とするフラグを設定する。フレーム送信手段58は、隣接する伝送局の間が異常とするフラグがメモリ56に設定されると、RRRフレームを隣接する伝送局、双方に送信すると共に、RRRフレームの送信を自局終端設定手段52に知らせる。   The local station termination setting means 52 determines whether or not the SYC frame is continuously input from the adjacent transmission station. If the SYC frame is not input continuously, the memory 56 determines that there is an abnormality with the adjacent transmission station. Set the flag. When a flag indicating an abnormality between adjacent transmission stations is set in the memory 56, the frame transmission means 58 transmits the RRR frame to both the adjacent transmission stations and transmits the RRR frame to the local station termination setting means. Tell 52.

自局終端設定手段52は、RRRフレームの受信があるかどうかを判定し、RRRフレームの受信がないときは、自局が終端局となったことを示すフラグメモリ56に設定する。   The local station termination setting means 52 determines whether or not an RRR frame has been received, and when no RRR frame has been received, sets it in the flag memory 56 indicating that the local station has become a terminal station.

フレーム送信手段58は、自局が終端局となっている場合は、基点からのSYNフレームを受信しても後段の伝送局には送信しない。   When the local station is the terminal station, the frame transmission unit 58 does not transmit the SYN frame from the base point to the subsequent transmission station even if it receives the SYN frame from the base point.

また、終端局解除手段54は、SYNフレームが連続して隣接の伝送局、双方から入力したときは、RRRフレームをフレーム送信手段58から隣接の伝送局に送信させ、RRRフレームが返信されたときに、メモリ56の自局が終端となったことを示すフラグを消去する。   Further, when the SYN frame is continuously input from both adjacent transmission stations, both end station cancellation means 54 causes the RRR frame to be transmitted from the frame transmission means 58 to the adjacent transmission station, and when the RRR frame is returned. In addition, the flag indicating that the own station in the memory 56 is terminated is deleted.

1 伝送局(#ST1)
2 伝送局(#ST2)
3 伝送局(#ST3)
4 伝送局(#ST4)
5 伝送局(#ST5)
6 伝送局(#ST6)
7 伝送局(#ST7)
8 伝送局(#ST8)
10 通信ポート部
11 通信ポート部
12 リピータA(FW−A)
18 受信許可スイッチ(SW−RVC−A)
31 フレーム検知判定部
32 受信異常検出回路(RCV−ERR−A)
34 SYNフレーム検出回路(SYN−DET−A)
37 RRRフレーム受信検出回路(RRR−DET−A)
38 RRRフレーム受信先アドレス保持回路(RRR−RCV−ADRS)
1 Transmission station (# ST1)
2 Transmission station (# ST2)
3 Transmission station (# ST3)
4 Transmission station (# ST4)
5 Transmission station (# ST5)
6 Transmission station (# ST6)
7 Transmission station (# ST7)
8 Transmission station (# ST8)
10 Communication Port Unit 11 Communication Port Unit 12 Repeater A (FW-A)
18 Reception permission switch (SW-RVC-A)
31 frame detection determination unit 32 reception abnormality detection circuit (RCV-ERR-A)
34 SYN frame detection circuit (SYN-DET-A)
37 RRR frame reception detection circuit (RRR-DET-A)
38 RRR Frame Recipient Address Holding Circuit (RRR-RCV-ADRS)

Claims (8)

双方向に通信が可能な第1の通信ポート及び第2の通信ポートを備えた伝送局を伝送路を介してリング状に接続し、これらの伝送局の内で基点局がフレーム信号を右回りの経路及び左周りの経路で送信し、右回りの経路の終端局及び左回りの経路の終端局のそれぞれが前記基点局からのフレーム信号を返信するネットワークシステムにおいて、
前記伝送局及び終端局並びに基点局は、
前記右回りの経路で通信可能とする第1の通信ポート及び前記左回りの経路で通信可能とする第2の通信ポートから前記フレーム信号が受信されたかどうかを判定する手段と、
前記受信されないときは、前記第1及び第2の通信ポートから経路確認のための経路確認フレーム信号を隣接の伝送局に送信する手段と、
前記隣接局からの前記経路確認フレーム信号の受信がないときは、自局を前記終端局として設定する手段と、
を備えてなることを特徴とするネットワークシステム。
A transmission station having a first communication port and a second communication port capable of bidirectional communication is connected in a ring shape via a transmission line, and the base station turns the frame signal clockwise in these transmission stations. In the network system in which each of the terminal station of the clockwise route and the terminal station of the counterclockwise route returns the frame signal from the base station,
The transmission station, terminal station and base station are:
Means for determining whether or not the frame signal has been received from a first communication port capable of communicating via the clockwise route and a second communication port capable of communicating via the counterclockwise route;
Means for transmitting a route confirmation frame signal for route confirmation from the first and second communication ports to an adjacent transmission station when not received;
When there is no reception of the route confirmation frame signal from the adjacent station , means for setting the own station as the terminal station;
A network system comprising:
自局が前記終端局となっているとき、前記フレーム信号が右回りの経路又は左回りの経路で入力しないときは、終端局としての設定を解除する手段と
を有することを特徴とする請求項1に記載のネットワークシステム。
When the own station is a said terminal station, when the pre-notated frame signal does not enter the path of the clockwise route or counter-clockwise, and having a means for releasing the setting of the terminating station The network system according to claim 1.
双方向に通信が可能な第1の通信ポート及び第2の通信ポートを備えた伝送局を、伝送路を介して接続し、これらの伝送局の内で基点局がフレーム信号を右回りの経路及び左周りの経路で送信して右回りの経路の終端局及び左回りの経路の終端局のそれぞれが前記基点局からのフレーム信号を返信し、いずれかの伝送路で異常が発生したときは、新たに終端局を設定するネットワークシステムの制御方法であって、
前記伝送局及び終端局並びに基点局は、
前記右回りの経路で通信可能とする第1の通信ポート及び前記左回りの経路で通信可能とする第2の通信ポートから前記フレーム信号が受信されたかどうかを判定する工程と、
前記受信されないときは、前記第1及び第2の通信ポートから経路確認のための経路確認フレーム信号を隣接の伝送局に送信する工程と、
前記隣接局からの前記経路確認フレーム信号の受信がないときは、自局を前記終端局として設定する工程と、
自局が右回りの経路で終端局となったときは、前記基点局からの右回りからのフレーム信号を後段の隣接する右の伝送局に伝送しない又は自局が左回りの経路で終端局となったときは後段の隣接する左の伝送局に伝送しない工程と、
を行うことを特徴とするネットワークシステムの制御方法。
A transmission station having a first communication port and a second communication port capable of bidirectional communication is connected via a transmission path, and the base station of these transmission stations sends a frame signal clockwise. When the terminal station of the clockwise route and the terminal station of the counterclockwise route respectively send back the frame signal from the base station and an abnormality occurs in any of the transmission paths. A network system control method for newly setting a terminal station,
The transmission station, terminal station and base station are:
Determining whether the frame signal has been received from a first communication port capable of communication via the clockwise route and a second communication port capable of communication via the counterclockwise route;
When not received, a step of transmitting a route confirmation frame signal for route confirmation from the first and second communication ports to an adjacent transmission station;
When there is no reception of the route confirmation frame signal from the adjacent station , setting the own station as the terminal station;
When the local station becomes the terminal station on the clockwise route, the frame signal from the clockwise point from the base station is not transmitted to the adjacent right transmission station in the subsequent stage, or the local station is the terminal station on the counterclockwise route. When it becomes, the process of not transmitting to the adjacent left transmission station in the latter stage,
A method for controlling a network system, characterized in that:
自局が前記終端局となっているとき、前記フレーム信号が右回りの経路又は左回りの経路で入力しないときは、終端局としての設定を解除する工程と
を行うことを特徴とする請求項3に記載のネットワークシステムの制御方法。
The step of canceling the setting as a terminal station is performed when the frame signal is not input through a clockwise route or a counterclockwise route when the local station is the terminal station. 4. A method for controlling a network system according to 3.
二重リング・ネットワークシステムの伝送路間に配置され、右回りで通信が可能な第1の通信ポート及び左回りで通信が可能な第2の通信ポートを備えた伝送局において、
前記右回りの経路で通信可能とする第1の通信ポート及び前記左回りの経路で通信可能とする第2の通信ポートからフレーム信号が受信されたかどうかを判定する手段と、
前記受信されないときは、前記第1及び第2の通信ポートから経路確認のための経路確認フレーム信号を隣接の伝送局に送信する手段と、
前記隣接局からの前記経路確認フレーム信号の受信がないときは、自局を終端局として設定する手段と、
自局が右回りの経路で終端局となったときは、基点局からの右回りからのフレーム信号を後段の隣接する右の伝送局に伝送しない又は自局が左回りの経路で終端局となったときは後段の隣接する左の伝送局に伝送しない手段と
を有することを特徴とする伝送局。
In a transmission station having a first communication port arranged between transmission lines of a dual ring network system and capable of communicating clockwise and a second communication port capable of communicating counterclockwise,
Means for determining whether or not a frame signal has been received from the first communication port enabling communication on the clockwise route and the second communication port enabling communication on the counterclockwise route;
Means for transmitting a route confirmation frame signal for route confirmation from the first and second communication ports to an adjacent transmission station when not received;
When the route confirmation frame signal is not received from the adjacent station , means for setting the own station as a terminal station;
When the local station becomes the terminal station on the clockwise route, it does not transmit the clockwise frame signal from the base station to the adjacent right transmission station in the subsequent stage, or the local station and the terminal station on the counterclockwise route A transmission station having means for not transmitting to the adjacent left transmission station in the subsequent stage.
自局が前記終端局となっているとき、前記フレーム信号が右回りの経路又は左回りの経路で入力しないときは、終端局としての設定を解除する手段と
を有することを特徴とする請求項5に記載の伝送局。
And a means for canceling the setting as a terminal station when the frame signal is not input through a clockwise path or a counterclockwise path when the local station is the terminal station. 5. The transmission station according to 5.
二重リング・ネットワークシステムの伝送路間に配置され、右回りで通信が可能な第1の通信ポート及び左回りで通信が可能な第2の通信ポートを用いて制御する伝送局のプログラムであって、
コンピュータに、
前記右回りの経路で通信可能とする第1の通信ポート及び前記左回りの経路で通信可能とする第2の通信ポートからフレーム信号が受信されたかどうかを判定する手段、
前記受信されないときは、前記第1及び第2の通信ポートから経路確認のための経路確認フレーム信号を隣接の伝送局に送信する手段、
前記隣接局からの前記経路確認フレーム信号の受信がないときは、自局を終端局として設定する手段、
自局が右回りの経路で終端局となったときは、基点局からの右回りからのフレーム信号を後段の隣接する右の伝送局に伝送しない又は自局が左回りの経路で終端局となったときは後段の隣接する左の伝送局に伝送しない手段としての機能を実行させるための伝送局のプログラム。
A transmission station program that is arranged between transmission lines of a dual ring network system and that uses a first communication port capable of clockwise communication and a second communication port capable of counterclockwise communication. And
On the computer,
Means for determining whether or not a frame signal has been received from the first communication port enabling communication through the clockwise route and the second communication port enabling communication through the counterclockwise route;
Means for transmitting a path confirmation frame signal for path confirmation from the first and second communication ports to an adjacent transmission station when not received;
Means for setting the own station as a terminal station when the route confirmation frame signal is not received from the adjacent station ;
When the local station becomes the terminal station on the clockwise route, it does not transmit the clockwise frame signal from the base station to the adjacent right transmission station in the subsequent stage, or the local station and the terminal station on the counterclockwise route A program of a transmission station for executing a function as a means not to transmit to the adjacent left transmission station in the subsequent stage.
前記コンピュータに、
自局が前記終端局となっているとき、前記フレーム信号が右回りの経路又は左回りの経路で入力しないときは、終端局としての設定を解除する手段
としての機能を実行させるための請求項7記載の伝送局のプログラム。
In the computer,
A claim for executing a function as means for canceling the setting as a terminal station when the local station is the terminal station and the frame signal is not input through a clockwise route or a counterclockwise route. 7. The transmission station program according to 7.
JP2013184105A 2013-09-05 2013-09-05 Network system, network system control method, transmission station, transmission station program Active JP5586760B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013184105A JP5586760B2 (en) 2013-09-05 2013-09-05 Network system, network system control method, transmission station, transmission station program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013184105A JP5586760B2 (en) 2013-09-05 2013-09-05 Network system, network system control method, transmission station, transmission station program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011270508A Division JP5433671B2 (en) 2011-12-09 2011-12-09 Duplex ring network transmission station and method of rebuilding when anomalies occur in the duplex ring network

Publications (2)

Publication Number Publication Date
JP2013240122A JP2013240122A (en) 2013-11-28
JP5586760B2 true JP5586760B2 (en) 2014-09-10

Family

ID=49764705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013184105A Active JP5586760B2 (en) 2013-09-05 2013-09-05 Network system, network system control method, transmission station, transmission station program

Country Status (1)

Country Link
JP (1) JP5586760B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6457915B2 (en) * 2015-10-16 2019-01-23 日本電信電話株式会社 Optical transmission apparatus, optical concentrating network system, optical transmission method and program
WO2023100623A1 (en) * 2021-12-01 2023-06-08 住友重機械工業株式会社 Termination setting device, termination setting method, and termination setting program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3461954B2 (en) * 1995-03-13 2003-10-27 株式会社東芝 Data transmission equipment
JP3931088B2 (en) * 2002-01-22 2007-06-13 三菱電機株式会社 Network system and network configuration method

Also Published As

Publication number Publication date
JP2013240122A (en) 2013-11-28

Similar Documents

Publication Publication Date Title
JP4991254B2 (en) Dual ring network communication control method and dual ring network transmission station
US8244838B2 (en) Industrial controller employing the network ring topology
US7885181B2 (en) Ring node apparatus
EP2290878B1 (en) Fault-tolerant ethernet network
CN104378291A (en) Method for the redundant transmission of messages in an industrial communication network and communication device
CA2682425A1 (en) Method for reconfiguring a communications network
US10182001B2 (en) Method for cross-trafficking between two slaves of an annular data network
JP5586760B2 (en) Network system, network system control method, transmission station, transmission station program
JP5433671B2 (en) Duplex ring network transmission station and method of rebuilding when anomalies occur in the duplex ring network
US20230231736A1 (en) Automation system having a master-subscriber structure, distributor and method for telegram transmission
CN107124322B (en) Redundant communication method
JP2012075181A5 (en) Dual ring network transmission station, duplex ring network reconstruction method, network system, network system control method, transmission station, transmission station program
JP2011188414A (en) Ring type switch, ring type ethernet system, method of controlling ring type switch, and method of controlling ring type ethernet system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140401

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: 20140624

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140722

R150 Certificate of patent or registration of utility model

Ref document number: 5586760

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350