JPH05227185A - Master station backup system - Google Patents
Master station backup systemInfo
- Publication number
- JPH05227185A JPH05227185A JP4023589A JP2358992A JPH05227185A JP H05227185 A JPH05227185 A JP H05227185A JP 4023589 A JP4023589 A JP 4023589A JP 2358992 A JP2358992 A JP 2358992A JP H05227185 A JPH05227185 A JP H05227185A
- Authority
- JP
- Japan
- Prior art keywords
- cycle
- station
- master station
- master
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005856 abnormality Effects 0.000 claims abstract description 24
- 238000012544 monitoring process Methods 0.000 claims abstract description 21
- 238000001514 detection method Methods 0.000 claims abstract description 7
- 230000005540 biological transmission Effects 0.000 claims description 42
- 230000001360 synchronised effect Effects 0.000 claims description 19
- 238000000034 method Methods 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 19
- 230000007704 transition Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 230000002159 abnormal effect Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 239000012556 adjustment buffer Substances 0.000 description 5
- 230000001419 dependent effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、リング型ネットワーク
におけるマスタ局、サブマスタ局の切り替え方式に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a master station / submaster station switching system in a ring network.
【0002】[0002]
【従来の技術】従来、回線交換によるデータ伝送及びパ
ケット交換によるデータ伝送の双方を行うことができる
ネットワークシステムが提案されており、その一つに米
国規格協会(ANSI)が、ANSI X3T9.5 FDDI HYBRID RING
CONTROLで提案しているFDDI(Fiber Distributed
Data Interface)−2がある。図9は、そのネットワー
クの構成例を示す図であり、光ファイバーからなるリン
グ型伝送路(以下、単に伝送路と称す)1と、この伝送
路1に接続されたモニタステーションMSと、スレーブ
ステーションSSを備えている。モニタステーションM
Sは、サイクルと称されるフレームを伝送路1に送出す
るサイクルマスタとなり得るものであり、一つのネット
ワークに2以上配置される。スレーブステーションSS
はサイクルを中継するものであり、その際にフレームか
ら所望のデータを取り込んだり、伝送するデータを挿入
するものである。なお、以下、モニタステーションMS
とスレーブステーションSSとを総称して局と称す。2. Description of the Related Art Conventionally, a network system capable of performing both data transmission by circuit switching and data transmission by packet switching has been proposed, one of which is the American National Standards Institute (ANSI), ANSI X3T9.5 FDDI. HYBRID RING
FDDI (Fiber Distributed) proposed by CONTROL
Data Interface) -2. FIG. 9 is a diagram showing a configuration example of the network, which is a ring type transmission line (hereinafter, simply referred to as a transmission line) 1 composed of an optical fiber, a monitor station MS connected to the transmission line 1, and a slave station SS. Is equipped with. Monitor station M
S can be a cycle master that sends out a frame called a cycle to the transmission line 1, and two or more S are arranged in one network. Slave station SS
Is a relay of a cycle, in which the desired data is taken in from the frame and the data to be transmitted is inserted. In the following, the monitor station MS
And the slave station SS are collectively referred to as a station.
【0003】そして、各局には他のネットワークや種々
の装置が接続される。例えば、図9においては、モニタ
ステーションMS3 にはISDN(Integrated Service
s Digital Network )端末と、国際電信電話諮問委員会
(CCITT)で標準化されたG4方式に対応したファ
クシミリが接続されており、スレーブステーションSS
2 にはISDN端末と、パケット交換系のネットワーク
であるイーサネットが接続されており、またモニタステ
ーションMS1 ,MS2 には公衆電話回線あるいは専用
回線等からなる外部回線が接続されている。Then, other networks and various devices are connected to each station. For example, in FIG. 9, the monitor station MS 3 has an ISDN (Integrated Service)
s Digital Network) terminal is connected to a facsimile that supports the G4 system standardized by the International Telegraph and Telephone Consultative Committee (CCITT).
An ISDN terminal and an Ethernet which is a packet switching network are connected to 2 , and an external line such as a public telephone line or a dedicated line is connected to the monitor stations MS 1 and MS 2 .
【0004】伝送路1に送出されるサイクルの構造を図
10に示す。サイクルの周期は125μsecであり、125μs
ecの境界を示すプリアンブル(preamble)部PA、制御
情報を含むサイクルヘッダ(cycle header)部CH、及
びCHに続くデータ部を備えている。CHは、スターテ
ィング・デリミタ(starting delimiter)SD、サイク
ル・コントロール・フィールド(cycle control field
)CC、サイクル・シーケンス(cyclr sequence)C
S、プログラミング・テンプレート・フィールド(prog
raming template field )PT及びIMCで構成されて
いる。SDはサイクルの開始位置を示すものであり、2
シンボルで構成される。シンボルはFDDI−2におけ
るデータの最小単位であり、1シンボルは、伝送路1上
では5ビットであるが、局の内部では4ビットで取り扱
われる。CCは、立ち上げ時の処理において、サイクル
マスタ局が、自局をも含めて当該ネットワークを構成す
る全ての局がサイクルを認識し、且つ同期しているかど
うかをチェックするために使用する制御情報であり、C
1 ,C2 の二つのフィールドからなっている。C1 ,C
2 はそれぞれ1シンボルである。CSは、サイクルマス
タがサイクルが正常に中継されているか否かを識別する
ために使用するフィールドであり、2シンボルが割り当
てられている。具体的には、サイクルマスタはサイクル
を伝送路1に送出する度毎にCSに所定の値、具体的に
は64H (H は16進数を示す。以下同じである。)から
255H までを順次書き込む。即ち、サイクルマスタは
最初のサイクルのCSには64H 、次のサイクルには6
5H を書き込んで送出する。なお、255H の次には再
び64H を書き込む。従って、サイクルマスタは受信し
たサイクルのCSの値を認識することによって、サイク
ルが正常に中継されているか否かを検知することができ
る。以上は定常運用状態における動作であるが、立ち上
げ時の処理においては、このフィールドは、複数のモニ
タステーションMSが互いに交渉してサイクルマスタと
なる1局を定める処理のために使用されるモニタランク
(monitor rank)MRとなされる。具体的には次のよう
である。上述したように、サイクルマスタとなり得るモ
ニタステーションMSは複数個配置されているが、実際
にサイクルマスタとなり、サイクルを伝送路1に送出す
るのはその中の1局だけでなければならない。従って立
ち上げ処理においてモニタステーションMSは互いに交
渉してサイクルマスタとなるものを定めるのであるが、
そのために各モニタステーションには優先順位が設定さ
れており、立ち上げ処理時には各モニタステーションは
このMRに自己の優先順位(0H 〜64H )を書き込ん
でサイクルを送出する。そして、モニタステーション
は、受信したサイクルのMRのデータから自己より優先
順位の高いモニタステーションがあることを認識すると
スレーブステーションとして動作することを決定し、自
己より高い優先順位を持つモニタステーションがないこ
とを認識するとサイクルマスタとして動作することを決
定する。FIG. 10 shows the structure of a cycle sent to the transmission line 1. The cycle period is 125 μsec, 125 μs
It includes a preamble part PA indicating the boundary of ec, a cycle header part CH containing control information, and a data part following CH. CH is a starting delimiter SD and cycle control field.
) CC, cyclr sequence C
S, programming template field (prog
Raming template field) PT and IMC. SD indicates the start position of the cycle and is 2
Composed of symbols. A symbol is the minimum unit of data in FDDI-2, and one symbol is 5 bits on the transmission path 1, but is handled by 4 bits inside the station. CC is control information used by the cycle master station to check whether all stations, including its own station, recognize the cycle and are synchronized in the process at startup. And C
It consists of two fields, 1 and C 2 . C 1 , C
Each 2 is a symbol. The CS is a field used by the cycle master to identify whether or not the cycle is normally relayed, and is assigned 2 symbols. Specifically, each time the cycle master sends a cycle to the transmission line 1, a predetermined value is set for CS, specifically, 64 H (H indicates a hexadecimal number, the same applies hereinafter) to 255 H. Write sequentially. That is, the cycle master has 64 H for CS in the first cycle and 6 H for the next cycle.
Write and send 5 H. Note that 64 H is written again after 255 H. Therefore, the cycle master can detect whether or not the cycle is normally relayed by recognizing the CS value of the received cycle. The above is the operation in the steady operation state, but in the process at startup, this field is a monitor rank used for a process in which a plurality of monitor stations MS negotiate with each other to determine one station as a cycle master. (Monitor rank) Made as MR. Specifically, it is as follows. As described above, a plurality of monitor stations MS that can be cycle masters are arranged. However, the cycle masters must actually be the ones and the cycle must be sent to the transmission line 1 by only one of them. Therefore, in the start-up process, the monitor stations MS negotiate with each other to determine what becomes the cycle master.
Its Each monitoring station to which priority is set, the monitoring station at the time of start-up processing sends the cycle by writing own priority of (0 H ~64 H) to the MR. When the monitor station recognizes from the MR data of the received cycle that there is a monitor station with a higher priority than itself, the monitor station determines to operate as a slave station, and there is no monitor station with a higher priority than itself. When it recognizes, it determines to operate as a cycle master.
【0005】PTについては次のようである。CHに続
いてデータが書き込まれるサイクリックグループ(cycl
ic group)CGが96個配置されているが、各CGはそ
れぞれが2シンボルの容量を有する16の領域に分割さ
れており、その各領域には回線交換系のデータまたはパ
ケット交換系のデータが書き込まれる。そこで、各CG
においてどの領域が回線交換系のデータのために使用さ
れ、どの領域がパケット交換系のデータのために使用さ
れるのかを明確に定義する必要がある。そのために設け
られているのがPTであり、それぞれが1シンボルの容
量を有するP0〜P15にはセットSまたはリセットRが
サイクルマスタによって書き込まれる。そして例えばセ
ットSは回線交換系のデータのために使用される領域を
示し、リセットRはパケット交換系のデータのために使
用される領域を示す。従って、いま例えばP0 にセット
Sが書き込まれ、P1 にはリセットRが書き込まれてい
たとすると、このサイクルを受信した局は、各CGにお
いて最初の領域は交換回線系のデータのために割り当て
られ、2番目の領域はパケット交換系のデータのために
割り当てられていることを認識することができる。P2
〜P15についても同様である。The PT is as follows. Cyclic group where data is written following CH (cycl group
ic group) 96 CGs are arranged, but each CG is divided into 16 areas each having a capacity of 2 symbols, and in each area, data of the circuit switching system or packet switching system is stored. Written. Therefore, each CG
It is necessary to clearly define which area is used for circuit switching data and which area is used for packet switching data. A PT is provided for that purpose, and the set S or the reset R is written by the cycle master into P 0 to P 15 each having a capacity of 1 symbol. Then, for example, the set S indicates an area used for data of the circuit switching system, and the reset R indicates an area used for data of the packet switching system. Therefore, if the set S is written in P 0 and the reset R is written in P 1 , for example, the station receiving this cycle allocates the first area in each CG for the data of the switching line system. It is possible to recognize that the second area is allocated for packet switching system data. P 2
The same applies to ~ P 15 .
【0006】IMCには2シンボルの容量が割り当てら
れているが、FDDI−2においては未使用となってい
る。A capacity of 2 symbols is allocated to the IMC, but it is not used in the FDDI-2.
【0007】以上がCHの構成である。データ部はCG
と、デディケイテッド・パケットデータ・グループ(de
dicated packet data group )DPGとからなってい
る。CGは上述した通りであるが、DPGはパケット交
換系のデータのために使用されるものとして固定的に割
り当てられているものであり、8CG毎に全部で12の
DPGが配置されている。一つのDPGの容量は2シン
ボルである。The above is the configuration of CH. Data part is CG
And the Dedicated Packet Data Group (de
dedicated packet data group) DPG. Although the CG is as described above, the DPG is fixedly assigned as being used for data of the packet switching system, and 12 DPGs in total are arranged for every 8CG. The capacity of one DPG is 2 symbols.
【0008】図11は各局の構成を示す機能ブロック図
である。図11において、フィジカル・メディア・デペ
ンダント(physical medium dependent )PMD11
は、光信号から電気信号への変換及びその逆変換を行う
機能を有するものである。FIG. 11 is a functional block diagram showing the configuration of each station. In FIG. 11, a physical medium dependent PMD 11 is shown.
Has a function of converting an optical signal into an electric signal and vice versa.
【0009】フィジカル・レーヤ・プロトコル(physic
al layer protocol )PHY12は、ビットストリーム
からシンボルへの変換、その逆変換、1シンボルのデー
タの4ビット/5ビット変換、クロックの抽出、同期を
とるためのシンボルの検出等の機能を備えている。Physical Layer Protocol (physic
al layer protocol) PHY12 has functions such as conversion from bit stream to symbol, inverse conversion thereof, 4-bit / 5-bit conversion of 1-symbol data, clock extraction, and symbol detection for synchronization. ..
【0010】ハイブリッド・リング・コントロール(hy
brid ring control )HRC13は、図10に示すサイ
クルを認識し、サイクル中の2種類の独立したデータス
トリーム、即ちパケット交換系のデータのストリーム
と、回線交換系のデータのストリームとを多重化した
り、分配したりする機能を備えている。Hybrid ring control (hy
brid ring control) The HRC 13 recognizes the cycle shown in FIG. 10 and multiplexes two kinds of independent data streams in the cycle, that is, a packet-switched data stream and a circuit-switched data stream, It has a distribution function.
【0011】ステーション・マネージメント(station
management)SMT14は、各部を制御し、当該局10
の動作を統括して管理するものである。サーキット・ス
イッチ・マルチプレクサ(circuit switch multiplexe
r)CS−MUX15は、回線交換データの時分割多重
化、及び逆多重化を行うものである。呼制御16は回線
交換における呼接続の制御を行うものである。メディア
・アクセス・コントロール(media access control)M
AC17はパケット交換データのためのメディア・アク
セス制御を行うものである。ロジカル・リンク・コント
ロール(logical link control)LLC18はパケット
交換データに関する処理を行うものである。Station management
management) The SMT 14 controls each unit and controls the station 10 concerned.
It controls the operation of. Circuit switch multiplexe
r) The CS-MUX 15 performs time division multiplexing and demultiplexing of circuit switched data. The call control 16 controls call connection in circuit switching. Media access control M
AC17 is for media access control for packet switched data. The logical link control LLC 18 performs processing relating to packet exchange data.
【0012】次に、図11の構成における局10の動作
の概略について説明する。なお、以下の説明において
は、局10はモニタステーションMSであるとする。電
源が投入されると、SMT14はベーシックモードを設
定し、予め定められている優先順位の情報をHRC13
に通知して立ち上げ処理の実行を指示する。なお、ベー
シックモードとは、電源投入時あるいは異常が発生した
場合等のサイクル同期が確立されていない状態において
設定されるモードであり、このモードではパケット交換
機能のみが動作する。Next, an outline of the operation of the station 10 in the configuration of FIG. 11 will be described. In the following description, station 10 is assumed to be monitor station MS. When the power is turned on, the SMT 14 sets the basic mode, and the information of the predetermined priority order is set in the HRC 13
And instruct execution of the startup process. The basic mode is a mode that is set when cycle synchronization is not established, such as when the power is turned on or when an abnormality occurs. In this mode, only the packet switching function operates.
【0013】これによってHRC13はサイクルのMR
に優先順位を書き込んでサイクルを生成する。このサイ
クルは、PHY12でシンボルの4ビットが5ビットに
変換され、更にPMD11で光信号に変換されて伝送路
1に送出される。This causes the HRC 13 to cycle MR
Write a priority to and generate a cycle. In this cycle, 4 bits of the symbol are converted into 5 bits by the PHY 12, further converted into an optical signal by the PMD 11, and sent out to the transmission line 1.
【0014】他のモニタステーションMSから送出され
たサイクルは、PMD11で受信され、光信号から電気
信号に変換され、更にPHY12で5ビットのビットス
トリームが4ビットに変換されてHRC13に渡され
る。HRC13は、受信したサイクルのMRを認識して
自己の優先順位と比較し、自己の優先順位が低い場合に
はスレーブとなることを決定するが、自己の優先順位が
高い場合には引き続きサイクルを送出する。以上の動作
が繰り返し行われることによって、最終的に最も高い優
先順位を持つモニタステーションがサイクルマスタとな
り、サイクルの送信を開始する。その際、サイクルマス
タはCGの各領域を回線交換データのために使用する
か、パケット交換データのために使用するかを決定し、
P0 〜P15にセットSまたはリセットRを書き込むこと
は当然である。The cycle sent from another monitor station MS is received by the PMD 11, converted from an optical signal into an electric signal, and further converted into a 4-bit 5-bit bit stream by the PHY 12 and passed to the HRC 13. The HRC 13 recognizes the MR of the received cycle and compares it with its own priority order, and decides to become a slave if its own priority order is low, but continues the cycle if its own priority order is high. Send out. By repeating the above operation, the monitor station having the highest priority finally becomes the cycle master and starts the transmission of the cycle. At that time, the cycle master decides whether each area of the CG is used for circuit-switched data or packet-switched data,
It is natural to write the set S or the reset R to P 0 to P 15 .
【0015】以上のようにしてサイクルマスタが決定さ
れると、ベーシックモードから定常状態であるハイブリ
ッドモードに移行する。ハイブリッドモードは回線交換
機能とパケット交換機能が混在して動作するモードであ
る。When the cycle master is determined as described above, the basic mode shifts to the hybrid mode which is a steady state. The hybrid mode is a mode in which the circuit switching function and the packet switching function coexist.
【0016】ハイブリッドモードにおいて、HRC13
はサイクルを受信すると、サイクルのPTを参照して、
回線交換データはCS−MUX15に、パケット交換デ
ータはMAC17にそれぞれ分配する。そして、回線交
換データはCS−MUX15から呼制御16を介して回
線交換系の端末装置、例えばISDN端末装置に転送さ
れる。同様にパケット交換データは、MAC17からL
LC18を介してパケット交換系の端末装置、例えばイ
ーサネット端末装置に転送される。In hybrid mode, HRC13
Receives the cycle, it refers to the cycle PT,
The circuit switched data is distributed to the CS-MUX 15, and the packet switched data is distributed to the MAC 17. Then, the circuit switching data is transferred from the CS-MUX 15 to the terminal device of the circuit switching system, for example, the ISDN terminal device via the call control 16. Similarly, packet exchange data is transmitted from MAC 17 to L
It is transferred to a terminal device of a packet switching system, for example, an Ethernet terminal device via the LC 18.
【0017】また、HRC13は、回線交換系の端末装
置からデータ送信の要求があった場合には、受信したサ
イクルのPTを参照して送信すべきデータをCGの回線
交換データのために割り当てられている領域に書き込
み、同様にパケット交換系の端末装置からデータ送信の
要求があった場合には、送信すべきデータをCGのパケ
ット交換データのために割り当てられている領域に書き
込んでサイクルを送出する。Further, when there is a data transmission request from the terminal device of the circuit switching system, the HRC 13 refers to the PT of the received cycle and allocates the data to be transmitted for the CG circuit switching data. In the same manner, when there is a request for data transmission from the packet switching terminal device, the data to be transmitted is written in the area allocated for the CG packet switching data and the cycle is sent out. To do.
【0018】ハイブリッドモード時において、スレーブ
として動作している他のモニタステーションは、常時、
サイクルを監視しており、従って何等かの原因によりサ
イクルマスタに異常が発生した場合には、それを検知す
ることができ、サイクルマスタの異常を検知すると、当
該局のHRC13はその旨をSMT14に通知する。こ
れによってSMT14はモードをハイブリッドモードか
らベーシックモードに切り替え、再び上述した動作が行
われて次の優先順位を持つモニタステーションがサイク
ルマスタと決定される。In the hybrid mode, the other monitor stations operating as slaves are always
When the cycle master is abnormal due to some cause, it can be detected, and when the cycle master abnormal is detected, the HRC 13 of the station concerned notifies the SMT 14 of that fact. Notice. As a result, the SMT 14 switches the mode from the hybrid mode to the basic mode, the above-described operation is performed again, and the monitor station having the next priority is determined as the cycle master.
【0019】[0019]
【発明が解決しようとする課題】以上のように、FDD
I−2においてはサイクルマスタとなり得るモニタステ
ーションMSを複数個配置することによって、サイクル
マスタに異常が生じた場合のリカバリーを可能とし、以
てネットワークの信頼性を向上させようとしているので
あるが、モニタステーションを複数個配置するが故に、
次のような問題が生じる可能性がある。DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
In I-2, by arranging a plurality of monitor stations MS that can be cycle masters, it is possible to recover when an abnormality occurs in the cycle masters, thereby improving the reliability of the network. Because there are multiple monitor stations,
The following problems may occur.
【0020】まず、サイクルマスタを決定するためには
複数のモニタステーションが互いに交渉しなければなら
ず、そのために制御系が複雑になり、信頼性を向上させ
ようとしてモニタステーションの数を増やせば増やすほ
ど、その意図に反して信頼性の低下を招く可能性がある
という問題がある。即ち、上述した制御は、論理的には
誤りはないのであるが、実際の回路においてはノイズ等
による誤動作も考えられ、従って何等かの障害によって
モニタステーションの優先順位が一致してしまうような
事態が皆無であるとはいえず、モニタステーションを数
多く配置することによって格段に信頼性を向上できるか
どうかは疑問であるのである。First, a plurality of monitor stations must negotiate with each other to determine the cycle master, which complicates the control system and increases the number of monitor stations in order to improve reliability. However, there is a problem that the reliability may be reduced against the intention. That is, although the above-mentioned control is logically correct, there is a possibility that the actual circuit may malfunction due to noise, etc. Therefore, the priority order of the monitor stations may match due to some trouble. However, it is doubtful whether a large number of monitor stations can be installed to significantly improve reliability.
【0021】次に、ネットワークのシステム管理が複雑
になる可能性があるという問題がある。つまり、複数の
モニタステーションを配置する場合には、どの局をモニ
タステーションとするか、それぞれのモニタステーショ
ンにどのような優先順位を持たせるかを定め、更にサイ
クルマスタを決定するための手順を定める必要があり、
システム管理が非常に複雑且つ面倒なものとなるのであ
る。Next, there is a problem that system management of the network may be complicated. In other words, when arranging a plurality of monitor stations, which station is to be the monitor station, what priority order each monitor station should have, and the procedure for determining the cycle master are determined. Must be,
System management becomes very complicated and tedious.
【0022】また、サイクルマスタを決定する処理はモ
ニタステーションの間だけで行われるので、予めスレー
ブステーションに定められている局は、どのモニタステ
ーションがサイクルマスタとして決定されたのかを認識
できないという問題がある。これは回線交換系で特に重
要である。即ち、回線交換系では、チャンネル管理を集
中して行う局を1局定めるのが通常であり、それは図9
の構成の場合にはサイクルマスタであることが望ましい
ものである。しかし、スレーブステーションはどの局が
サイクルマスタであるかを認識できないので、立ち上げ
処理の後、最初に回線交換によりデータを伝送する場合
には、どの局がサイクルマスタであるのか問い合わせを
行う必要があり、処理が複雑になるものである。Further, since the process of determining the cycle master is performed only between the monitor stations, the station previously defined as the slave station cannot recognize which monitor station is determined as the cycle master. is there. This is especially important in circuit switching systems. That is, in the circuit switching system, it is usual to define one station for centralized channel management, which is shown in FIG.
In the case of the above configuration, it is desirable that it is a cycle master. However, since the slave station cannot recognize which station is the cycle master, it is necessary to inquire which station is the cycle master when transmitting data by circuit switching after the start-up process. Yes, the processing becomes complicated.
【0023】更に、FDDI−2はネットワーク内部の
異常に対しては対処できるが、局に接続されている外部
回線の異常、例えば外部回線のクロックに異常が生じた
場合には対処できないという問題がある。例えば、図9
においてモニタステーションMS1 がサイクルマスタで
あるとし、ハイブリッドモード時に外部回線Aのクロッ
クに異常が生じたとする。このとき、モニタステーショ
ンMS2 はスレーブとして動作しているが、モニタステ
ーションMS2 が回部回線Bのクロックに同期している
場合には、サイクルマスタをモニタステーションMS1
からモニタステーションMS2 に変更するのが望ましい
ものである。しかし、FDDI−2においては優先順位
のみでサイクルマスタが決定されるので、このような外
部回線の異常に対応してサイクルマスタの変更は行われ
ず、この場合にはモニタステーションMS1 は依然とし
てサイクルマスタとして動作し続ける。しかもこのとき
にはクロックはモニタステーションMS1 の内部クロッ
クに切り替わるので、モニタステーションMS2 に接続
された外部回線Bのクロックに同期する手段はなくなる
のである。Further, the FDDI-2 can cope with an abnormality inside the network, but cannot cope with an abnormality of an external line connected to the station, for example, when an abnormality occurs in the clock of the external line. is there. For example, in FIG.
In the above, it is assumed that the monitor station MS 1 is a cycle master and an abnormality has occurred in the clock of the external line A in the hybrid mode. At this time, the monitor station MS 2 is operating as a slave, but when the monitor station MS 2 is synchronized with the clock of the circuit line B, the cycle master is set to the monitor station MS 1
It is desirable to change from a monitor station MS 2 to a monitor station MS 2 . However, in the FDDI-2, since the cycle master is determined only by the priority order, the cycle master is not changed in response to such an abnormality in the external line. In this case, the monitor station MS 1 still has the cycle master. Continue to work as. Moreover, at this time, the clock is switched to the internal clock of the monitor station MS 1 , so that there is no means for synchronizing with the clock of the external line B connected to the monitor station MS 2 .
【0024】これに対して、特開平1−288134号
公報には、当該ネットワークにデータフレームを送出で
きるマスタ局となり得る局としてマスタステーションと
サブマスタステーションの2局だけを配置し、且つ外部
回線のクロック異常を検知した場合にはマスタ局をマス
タステーションからサブマスタステーションに切り替え
るようにすることが提案されている。その構成例を図1
2に、データフレームの構造を図13に示す。On the other hand, in Japanese Patent Laid-Open No. 1-288134, only two stations, a master station and a sub-master station, are arranged as stations that can be master stations capable of transmitting data frames to the network, and external stations are used. It has been proposed to switch the master station from the master station to the submaster station when a clock abnormality is detected. An example of the configuration is shown in FIG.
2 shows the structure of the data frame in FIG.
【0025】リング型伝送路1にはマスタステーション
MSと、サブマスタステーションSMSと、複数のスレ
ーブステーションSSが接続されており、マスタステー
ションMSには外部回線Aが、サブマスタステーション
SMSには外部回線Bがそれぞれ接続されている。ま
た、データフレームは、図13に示すように、マスタ機
能サブマスタ機能切り替え制御フレームMSW、外部ク
ロックフレームEXTCLOCK、データフレームDA
TA、及び制御/同期フレームSV・SYNにより構成
される。A master station MS, a sub-master station SMS and a plurality of slave stations SS are connected to the ring type transmission line 1. An external line A is connected to the master station MS and an external line is connected to the sub-master station SMS. B are respectively connected. As shown in FIG. 13, the data frame includes a master function / sub-master function switching control frame MSW, an external clock frame EXTCLOCK, and a data frame DA.
It is composed of TA and control / synchronization frame SV / SYN.
【0026】図12において、電源投入時等の立ち上げ
時にはマスタステーションMSがマスタ局となり、サブ
マスタステーションSMSはスレーブ局となる。定常状
態においては、マスタステーションMSはMSWに”
1”を書き込んでデータフレームを送信し、サブマスタ
ステーションSMSはデータフレームを受信すると、M
SWを”0”に変換して中継する。また、サブマスタス
テーションSMSは外部回線Bと正常に接続されている
場合には、EXTCLOCKに”1”を書き込み、外部
回線Bのクロックに異常が発生している場合にはEXT
CLOCKに”0”を書き込んでデータフレームを中継
する。In FIG. 12, the master station MS becomes the master station and the sub-master station SMS becomes the slave station when the power is turned on or the like when the power is turned on. In the steady state, the master station MS becomes MSW "
1 "is written and a data frame is transmitted, and when the sub master station SMS receives the data frame, M
SW is converted to "0" and relayed. Further, the sub master station SMS writes "1" to EXTCLOCK when it is normally connected to the external line B, and EXT when the clock of the external line B is abnormal.
The data frame is relayed by writing "0" in CLOCK.
【0027】そして、マスタステーションMSは、外部
回線Aのクロックに異常が発生したことを検知すると、
サブマスタステーションSMSがEXTCLOCK=1
を表示している場合には、MSWに”0”を書き込んで
データフレームを送信する。サブマスタステーションS
MSはこれを認識すると、マスタ局としての機能を動作
させる。Then, when the master station MS detects that an abnormality has occurred in the clock of the external line A,
Submaster station SMS has EXTCLOCK = 1
When is displayed, "0" is written in the MSW and the data frame is transmitted. Sub master station S
When the MS recognizes this, it operates the function as a master station.
【0028】以上の動作が行われることによって、マス
タステーションMSに接続されている外部回線のクロッ
クが異常になった場合にもサブマスタステーションSM
Sがマスタ局として機能するので、サブマスタステーシ
ョンSMSに接続されている外部回線のクロックに同期
してネットワークを運用することができる。また、この
構成によれば、マスタ局となり得るのは2局だけである
ので、上述した問題点を解消することができる。As a result of the above operation, the sub master station SM will be operated even when the clock of the external line connected to the master station MS becomes abnormal.
Since S functions as a master station, the network can be operated in synchronization with the clock of the external line connected to the sub master station SMS. Further, according to this configuration, since only two stations can be master stations, the above-mentioned problems can be solved.
【0029】しかしながら、特開平1−288134号
公報に示されるものにおいては、まず最初にマスタステ
ーションMSがマスタ局として動作する必要があるの
で、立ち上げ時にマスタステーションMSに障害が発生
してデータフレームの送出が行えない場合には当該ネッ
トワークシステムを運用することができないという問題
がある。However, in the system disclosed in Japanese Patent Application Laid-Open No. 1-288134, the master station MS first needs to operate as a master station. However, there is a problem in that the network system cannot be operated when the transmission of the data is not possible.
【0030】また、マスタステーションMSに接続され
ている外部回線Aのクロックに異常が発生すると、マス
タ局はマスタステーションMSからサブマスタステーシ
ョンSMSに切り替わるが、その後外部回線Aのクロッ
クが正常に戻り、マスタ局として機能しているサブマス
タステーションSMSに接続されている外部回線Bのク
ロックに異常が発生した場合には、サブマスタステーシ
ョンSMSからマスタステーションMSへの切り替えは
行われないので、再度立ち上げ処理を行わなければなら
ないという問題もあるものである。When an abnormality occurs in the clock of the external line A connected to the master station MS, the master station switches from the master station MS to the sub-master station SMS, but then the clock of the external line A returns to normal, If an abnormality occurs in the clock of the external line B connected to the sub-master station SMS functioning as the master station, the sub-master station SMS is not switched to the master station MS, and the system is restarted. There is also the problem that processing must be performed.
【0031】本発明は、上記の課題を解決するものであ
って、ネットワーク内部で異常が発生した場合にも、外
部回線のクロックに異常が発生した場合にも、マスタス
テーションあるいはサブマスタステーションの何れかが
サイクルマスタとして機能することができるマスタ局バ
ックアップ方式を提供することを目的とするものであ
る。The present invention is intended to solve the above-mentioned problems, and whether an abnormality occurs inside the network or an abnormality occurs in the clock of the external line, either the master station or the sub-master station. It is an object of the present invention to provide a master station backup system that can function as a cycle master.
【0032】[0032]
【課題を解決するための手段及び作用】上記の目的を達
成するために、本発明のマスタ局バックアップ方式は図
1に示す構成を備える。図1Aはネットワークの構成を
示す図であり、マスタ局MS、サブマスタ局SMS及び
従属局SSがリング型ネットワーク20に接続されてい
る。そして、マスタ局MSとサブマスタ局SMSにはそ
れぞれ局線281 ,282 が接続されている。マスタ局
MS及びサブマスタ局SMSはリング型ネットワーク2
0上に所定の構造を有するフレームを送出するマスタと
なり得るものであり、従属局SSはマスタが送出するフ
レームを使用して通信を行うものである。In order to achieve the above object, the master station backup system of the present invention has the configuration shown in FIG. FIG. 1A is a diagram showing the configuration of a network, in which a master station MS, a sub-master station SMS, and a dependent station SS are connected to a ring network 20. Station lines 28 1 and 28 2 are connected to the master station MS and the sub-master station SMS, respectively. The master station MS and the sub-master station SMS are ring networks 2
0 can be a master that sends out a frame having a predetermined structure, and the dependent station SS communicates using the frame sent out by the master.
【0033】図1Bはマスタがリング型ネットワーク2
0上に送出するフレームの構造を示す図であり、フレー
ム21には所定のフィールド22,23が設けられてい
る。フィールド22,23の一方のフィールドには、こ
のフレーム21がマスタ局MSから送出されたものであ
るか、またはサブマスタ局SMSから送出されたもので
あるかを示す第1の情報が書き込まれ、また、他方のフ
ィールドには、マスタ局MSもしくはサブマスタ局SM
Sが局線28からの外部クロックに同期しているか、ま
たは内部クロックに同期しているかを示す第2の情報が
書き込まれる。従って、例えば、マスタ局MSが外部ク
ロックに同期してフレーム21を送出する場合には、フ
ィールド22,23の一方にはこのフレームはマスタ局
MSから送出されたものであることを示す情報が、他方
のフィールドにはマスタ局MSは局線281 からの外部
クロックに同期していることを示す情報が書き込まれ
る。マスタ局MSが内部クロックに同期してフレーム2
1を送出する場合、サブマスタ局SMSが局線282 か
らの外部クロックに同期してフレーム21を送出する場
合、サブマスタ局SMSが内部クロックに同期してフレ
ーム21を送出する場合にも同様である。In FIG. 1B, the master is the ring network 2.
It is a figure which shows the structure of the frame transmitted on 0, and the frame 21 is provided with predetermined fields 22 and 23. First information indicating whether the frame 21 is transmitted from the master station MS or the submaster station SMS is written in one of the fields 22 and 23, and , The other field contains the master station MS or sub-master station SM
Second information is written indicating whether S is synchronized with the external clock from the office line 28 or with the internal clock. Therefore, for example, when the master station MS sends the frame 21 in synchronization with the external clock, one of the fields 22 and 23 contains information indicating that this frame is sent from the master station MS. Information indicating that the master station MS is synchronized with the external clock from the station line 28 1 is written in the other field. The master station MS synchronizes with the internal clock to generate frame 2
The same applies to the case where 1 is transmitted, the sub master station SMS transmits the frame 21 in synchronization with the external clock from the station line 28 2 , and the sub master station SMS transmits the frame 21 in synchronization with the internal clock. ..
【0034】マスタ局MS及びサブマスタ局SMSは、
共に図1Cに示すように、検出手段25、監視手段26
及び制御手段27を備えている。検出手段25はフレー
ムが正常に受信されているか否か、及び外部クロックが
正常であるか否かを検出するものであり、監視手段26
は前記第1の情報及び第2の情報を監視するものであ
る。そして、制御手段27は、検出手段25による検出
結果と、監視手段26による監視結果に基づいて、マス
タとなってフレーム21をリング型ネットワーク20上
に送出するか、または従属局となってフレーム21を中
継するかの判断を行う。The master station MS and the sub-master station SMS are
As shown in FIG. 1C, both are detecting means 25 and monitoring means 26.
And a control means 27. The detection means 25 detects whether the frame is normally received and whether the external clock is normal, and the monitoring means 26.
Is for monitoring the first information and the second information. Then, the control means 27 becomes the master and sends out the frame 21 to the ring network 20 or becomes the dependent station and becomes the frame 21 based on the detection result of the detection means 25 and the monitoring result of the monitoring means 26. To determine whether to relay.
【0035】[0035]
【実施例】以下、図面を参照しつつ実施例を説明する。
ネットワークの構成は図2に示すようであり、図12に
示すと同様に、リング型伝送路30にマスタステーショ
ンMS、サブマスタステーションSMS、及び複数のス
レーブステーションSSが接続されている。そして、マ
スタステーションMSには本発明の局線としての外部回
線Aが接続され、同様にサブマスタステーションSMS
には本発明の局線としての外部回線Bが接続されてい
る。マスタステーションMS及びサブマスタステーショ
ンSMSだけが本発明のフレームに対応するサイクルを
伝送路30上に送出するマスタとなり得る局であり、ス
レーブステーションSSはマスタが送出するサイクルを
使用して通信する機能だけを備えているものである。Embodiments will be described below with reference to the drawings.
The network configuration is as shown in FIG. 2, and similarly to that shown in FIG. 12, a master station MS, a sub-master station SMS, and a plurality of slave stations SS are connected to the ring type transmission line 30. The master station MS is connected to the external line A as a station line of the present invention, and similarly, the sub master station SMS
An external line B as a station line of the present invention is connected to. The master station MS and the sub-master station SMS are the stations that can be the masters that send out the cycle corresponding to the frame of the present invention on the transmission path 30, and the slave station SS has only the function of communicating using the cycle sent by the master. It is equipped with.
【0036】図3はサイクルの構造例を示す図であり、
図10に示すサイクルとは、CSのフィールドがシンク
ロナス・インジケーション・フィールド(synchronous
indication field)SIに変更されている点でのみ異な
っており、その他は同じである。SIは、マスタステー
ションMSとサブマスタステーションSMSが使用する
フィールドであり、クロック・インジケーション(cloc
k indication)CIと、マスタ・インジケーション(ma
ster indication )MIに分割されている。CI及びM
Iは共に1シンボルである。FIG. 3 is a diagram showing an example of the structure of the cycle.
In the cycle shown in FIG. 10, the CS field is a synchronous indication field (synchronous).
The indication field) is different only in that it is changed to SI, and the other is the same. SI is a field used by the master station MS and the sub-master station SMS, and has a clock indication (cloc).
k indication) CI and master indication (ma
ster indication) MI is divided. CI and M
Both I are 1 symbol.
【0037】CIは、マスタステーションMSまたはサ
ブマスタステーションSMSが外部クロックに同期して
いるか、内部クロックに同期しているかを示すものであ
り、ここでは外部クロックに同期している場合にはセッ
トSが書き込まれ、内部クロックに同期している場合に
はリセットRが書き込まれるものとする。The CI indicates whether the master station MS or the sub-master station SMS is synchronized with the external clock or the internal clock. Here, the set S is set when the master station MS or the sub-master station SMS is synchronized with the external clock. Is written, and the reset R is written when synchronized with the internal clock.
【0038】MIは、サイクル同期がマスタステーショ
ンMSによってとられているか、サブマスタステーショ
ンSMSによってとられているかを示すものであり、こ
こではマスタステーションMSによって同期がとられて
いる場合にはセットSが書き込まれ、サブマスタステー
ションSMSによって同期がとられている場合にはリセ
ットRが書き込まれるものとする。従って、SIがSS
であるサイクルは、マスタステーションMSが外部クロ
ックに同期して送信したものであることを示し、SIが
SRであるサイクルは、サブマスタステーションSMS
が外部クロックに同期して送信したものであることを示
し、SIがRSであるサイクルは、マスタステーション
MSが内部クロックに同期して送信したものであること
を示し、SIがRRであるサイクルは、サブマスタステ
ーションSMSが内部クロックに同期して送信したもの
であることを示す。そして、ここでは、SSが優先順位
が最も高く、以下、SR,RS,RRの順であるとす
る。MI indicates whether the cycle synchronization is performed by the master station MS or the sub-master station SMS, and here, the set S is set when synchronization is performed by the master station MS. Is written and reset R is written when synchronized by the sub-master station SMS. Therefore, SI is SS
Indicates that the master station MS has transmitted in synchronization with the external clock, and the cycle in which SI is SR indicates the sub master station SMS.
Is transmitted in synchronization with the external clock, the cycle in which SI is RS indicates that the master station MS transmits in synchronization with the internal clock, and the cycle in which SI is RR is , Indicates that the sub-master station SMS has transmitted in synchronization with the internal clock. Here, it is assumed that SS has the highest priority, and SR, RS, and RR are in the following order.
【0039】次に、マスタステーションMS及びサブマ
スタステーションSMSの構成について説明する。マス
タステーションMSとサブマスタステーションSMSと
は、全く同じ構成を有しており、その全体的な構成は図
11に示すと同様であるが、その動作が異なっている。Next, the configurations of the master station MS and the sub-master station SMS will be described. The master station MS and the sub-master station SMS have exactly the same configuration, and although the overall configuration is similar to that shown in FIG. 11, their operations are different.
【0040】図4はHRCの構成を示す図であり、HR
C31は、サイクル送受信部32、タイミング調整バッ
ファ33、データ多重化部34、サイクル生成部35及
びサイクル制御部36を備えている。FIG. 4 is a diagram showing the structure of the HRC.
The C31 includes a cycle transmission / reception unit 32, a timing adjustment buffer 33, a data multiplexing unit 34, a cycle generation unit 35, and a cycle control unit 36.
【0041】サイクル送受信部32は、サイクルの受信
に際しては、PHY37でビットストリームからシンボ
ルに変換されたサイクルを受けてバイトデータに変換
し、サイクルのデータ部はタイミング調整バッファ33
に、サイクルヘッダ部CHはサイクル制御部36にそれ
ぞれ転送する処理を行う。また、サイクルの送信に際し
ては、サイクル生成部35で生成されたサイクルに載せ
るバイトデータをシンボルに変換してPHY37に転送
する処理を行う。When receiving the cycle, the cycle transmitting / receiving unit 32 receives the cycle converted from the bit stream to the symbol by the PHY 37 and converts it into byte data, and the data portion of the cycle has the timing adjustment buffer 33.
Then, the cycle header part CH performs a process of transferring to the cycle control part 36. Further, at the time of transmitting the cycle, a process of converting the byte data, which is generated by the cycle generation unit 35 and put in the cycle, into a symbol and transferring the symbol to the PHY 37 is performed.
【0042】タイミング調整バッファ33は、サイクル
を送信してから当該サイクルを受信するまでの時間をサ
イクルの1周期である125μsecの整数倍にするためのも
のである。なお、このタイミング調整バッファ33はマ
スタステーションMS、サブマスタステーションSMS
の双方に設けられているが、そのうちのサイクルマスタ
として動作するものだけが使用するものである。The timing adjustment buffer 33 is for making the time from transmitting a cycle to receiving the cycle an integral multiple of 125 μsec, which is one cycle of the cycle. The timing adjustment buffer 33 is used for the master station MS and the sub master station SMS.
However, only the one that operates as a cycle master is used.
【0043】データ多重化部34は、データの受信に関
しては、交換回線データはCS−MUX40に、パケッ
ト交換データはMAC39にそれぞれ転送し、データの
送信に際しては、CS−MUX40から転送されてくる
交換回線データと、MAC39から転送されてくるパケ
ット交換データとを多重化するものである。なお、回線
交換データとパケット交換データの多重化及び逆多重化
に際してはサイクルのPTを参照することはいうまでも
ない。Regarding data reception, the data multiplexer 34 transfers the switched line data to the CS-MUX 40 and the packet switched data to the MAC 39, respectively, and at the time of data transmission, the switch transferred from the CS-MUX 40. The line data and the packet exchange data transferred from the MAC 39 are multiplexed. Needless to say, the PT of the cycle is referred to when multiplexing and demultiplexing the circuit switched data and the packet switched data.
【0044】サイクル生成部35は、データ多重化部3
4で多重化された送信データと、サイクル制御部36か
らの制御信号に基づいてサイクルを生成するものであ
る。なお、サイクル生成部35で生成されるサイクルは
バイトデータの状態にあるものである。The cycle generation unit 35 includes a data multiplexing unit 3
A cycle is generated based on the transmission data multiplexed in 4 and a control signal from the cycle control unit 36. The cycle generated by the cycle generator 35 is in the state of byte data.
【0045】サイクル制御部36は、サイクル送信のタ
イミングの生成、あるいはマスタとして動作するか、ま
たはスレーブとして動作するかを決定する処理等を行う
ものである。なお、サイクル制御部36の詳細な構成及
びその動作については後述する。The cycle control section 36 performs processing such as generation of timing for cycle transmission, or determination of whether to operate as a master or a slave. The detailed configuration and operation of the cycle control unit 36 will be described later.
【0046】以上が、マスタステーションMS及びサブ
マスタステーションSMSのHRCの構成である。な
お、スレーブステーションSSはタイミング調整バッフ
ァ33を除いた構成を備えているものである。The above is the configuration of the HRC of the master station MS and the sub-master station SMS. The slave station SS has a configuration excluding the timing adjustment buffer 33.
【0047】次に、サイクル制御部36の構成及び動作
について説明する。図5はサイクル制御部36のより詳
細な構成及び種々の制御信号の流れを示す図である。Next, the structure and operation of the cycle controller 36 will be described. FIG. 5 is a diagram showing a more detailed configuration of the cycle control unit 36 and the flow of various control signals.
【0048】外部クロック監視部41は、接続されてい
る外部回線のクロックが正常か否かを監視するものであ
り、監視の結果得られた外部クロックの状態を外部クロ
ックステータス信号によりSMT38に通知する。The external clock monitoring unit 41 monitors whether or not the clock of the connected external line is normal, and notifies the SMT 38 of the state of the external clock obtained as a result of the monitoring by the external clock status signal. ..
【0049】受信サイクル監視部42は、サイクルが正
常に受信されているか否かを監視するものであり、監視
の結果得られたサイクル受信状態を受信サイクルステー
タス信号によりSMT38に通知する。The reception cycle monitoring unit 42 monitors whether or not the cycle is normally received, and notifies the SMT 38 of the cycle reception state obtained as a result of the monitoring by the reception cycle status signal.
【0050】内部クロック生成部44は内部クロックを
生成するものである。The internal clock generator 44 generates an internal clock.
【0051】クロックセレクタ45は、外部クロック監
視部41からの外部クロックと、内部クロック生成部4
4からの内部クロックとを入力し、SMT38から通知
されるクロックセレクト信号に基づいて、外部クロッ
ク、内部クロックの何れかに同期したサイクル送信トリ
ガ信号をサイクル生成部35に通知する。サイクル生成
部35は、このサイクル送信トリガ信号のタイミングに
基づいてサイクルを生成するので、サイクル送信トリガ
信号が外部クロックに同期している場合には外部クロッ
クに同期したサイクルが生成され、サイクル送信トリガ
信号が内部クロックに同期している場合には内部クロッ
クに同期したサイクルが生成される。The clock selector 45 includes the external clock from the external clock monitor 41 and the internal clock generator 4.
The internal clock from 4 is input, and based on the clock select signal notified from the SMT 38, the cycle generator 35 is notified of the cycle transmission trigger signal synchronized with either the external clock or the internal clock. The cycle generation unit 35 generates a cycle based on the timing of the cycle transmission trigger signal. Therefore, when the cycle transmission trigger signal is synchronized with the external clock, the cycle synchronized with the external clock is generated and the cycle transmission trigger is generated. If the signal is synchronized with the internal clock, a cycle synchronized with the internal clock is generated.
【0052】SMT38は、外部クロックステータス信
号により外部クロックが正常であることを検知すると、
外部クロックの選択を指示するクロックセレクト信号を
クロックセレクタ45に通知する。また、外部クロック
ステータス信号により外部クロックの状態が変化した場
合、即ち正常な状態から異常な状態に変化したとき及び
異常な状態が回復され正常に戻ったとき、及び受信サイ
クルステータス信号によりサイクルの受信状態が変化し
た場合、即ちサイクルが正常に受信されなくなったとき
及び異常な受信状態が回復され、正常に戻ったときに
は、HRC状態管理部46に対してリセット要求信号を
通知する。When the SMT 38 detects that the external clock is normal by the external clock status signal,
The clock selector 45 is notified of the clock select signal instructing the selection of the external clock. Also, when the external clock status signal changes the state of the external clock, that is, when the normal state changes to the abnormal state and when the abnormal state is recovered and returns to normal, and the reception cycle status signal indicates reception of a cycle. When the state changes, that is, when the cycle is not normally received, and when the abnormal reception state is recovered and returns to normal, the HRC state management unit 46 is notified of the reset request signal.
【0053】SIフィールド制御部43は、立ち上げ処
理時において、SMT38から通知されるステーション
クラス信号、クロックセレクト信号と、受信サイクル監
視部42から通知される受信サイクルのSIフィールド
の値とに基づいて、自己の優先度が相手よりも高いか、
低いかを検知し、それに基づいて、マスタスタンバイス
テータス信号をHRC状態管理部46へ、送出SIステ
ータス信号をサイクル生成部35に通知する。ここで、
ステーションクラス信号は、自己が予めマスタステーシ
ョンMSとして定められているか、サブマスタステーシ
ョンSMSとして定められているか、スレーブステーシ
ョンSSとして定められているかを示す信号であり、マ
スタステーションMSにあってはSが、サブマスタステ
ーションSMSにあってはRがそれぞれ通知される。マ
スタスタンバイステータス信号は、受信したサイクルの
SIフィールドの値が自己より高いか、低いかあるいは
受信したサイクルが自己が先に送出したサイクルである
のかを示す信号である。送出SIステータス信号は、送
出するサイクルのSIフィールドの値を示す信号であ
る。The SI field control unit 43 is based on the station class signal and the clock select signal notified from the SMT 38 and the value of the SI field of the reception cycle notified from the reception cycle monitoring unit 42 during the startup processing. , Whether your own priority is higher than your opponent,
It is detected whether it is low, and based on that, the master standby status signal is notified to the HRC state management unit 46, and the transmission SI status signal is notified to the cycle generation unit 35. here,
The station class signal is a signal indicating whether it is defined as the master station MS, the sub master station SMS, or the slave station SS in advance. In the master station MS, S is , R is notified in the sub master station SMS. The master standby status signal is a signal indicating whether the value of the SI field of the received cycle is higher or lower than that of its own, or whether the received cycle is the cycle which it previously sent. The transmission SI status signal is a signal indicating the value of the SI field of the transmission cycle.
【0054】HRC状態管理部46は、SMT38から
通知されるリセット要求信号、サイクルスタート信号、
ステーションクラス信号、及びSIフィールド制御部4
3から通知されるマスタスタンバイステータス信号、受
信サイクル監視部42から通知される受信CCステータ
ス信号に基づいて、サイクルの送出を行うか行わないか
を指示するサイクルアクション信号をサイクル生成部3
5に通知する。ここで受信CCステータス信号は、自己
も含めて全ての局の同期が確立されたか否かを検知する
ために用いられるものである。The HRC state management unit 46 receives a reset request signal, a cycle start signal,
Station class signal and SI field control unit 4
3 based on the master standby status signal notified from 3 and the reception CC status signal notified from the reception cycle monitoring unit 42, a cycle action signal for instructing whether the cycle is transmitted or not is generated.
Notify 5. Here, the received CC status signal is used to detect whether or not the synchronization of all stations including self is established.
【0055】以上がサイクル制御部36の各部の動作の
概略の説明であるが、次に、立ち上げ処理時においてサ
イクルマスタが決定される動作について、図6に示すH
RC状態管理部46の状態遷移を示す図及び図7、図8
に示すSIフィールド制御部43の状態遷移を示す図を
参照して説明する。The above is a general description of the operation of each part of the cycle control unit 36. Next, regarding the operation for determining the cycle master during the start-up process, H shown in FIG.
FIG. 7 and FIG. 8 showing the state transition of the RC state management unit 46.
The state transition of the SI field control unit 43 shown in FIG.
【0056】電源投入時あるいは当該ネットワークシス
テムに異常が発生した場合にはSMT38はHRC状態
管理部46にリセット要求信号を通知する。これによっ
て、HRC状態管理部46は図6のベーシック状態に遷
移する。この状態はパケット交換機能のみが動作する状
態である。この状態においてSMT38からステーショ
ンクラス信号によって自己が予め定められたクラスが指
示され、サイクルスタート信号によってサイクルの送信
要求(図8のS1)がなされると、HRC状態管理部4
6は、サイクルアクション信号をサイクル生成部35に
通知してサイクルの送信を指示し、図8のCM(サイク
ルマスタ)スタンバイ状態、即ちマスタステーションM
SとサブマスタステーションSMSがサイクルマスタC
Mを決定するために交渉する状態に遷移する。これによ
って、サイクル生成部35は、サイクルアクション信号
により、サイクル送信トリガ信号に同期してサイクルを
生成し、送出する。なお、このとき送出されるサイクル
のSIフィールドの値は、SIフィールド制御部43が
SMT38から通知されるステーションクラス信号とク
ロックセレクト信号に基づいて決定し、送出SIステー
タス信号によりサイクル生成部35に通知する。When power is turned on or when an abnormality occurs in the network system, the SMT 38 notifies the HRC state management unit 46 of a reset request signal. As a result, the HRC state management unit 46 transitions to the basic state shown in FIG. In this state, only the packet switching function operates. In this state, when the SMT 38 designates a predetermined class by the station class signal and the cycle start signal issues a cycle transmission request (S1 in FIG. 8), the HRC state management unit 4
6 notifies the cycle action signal to the cycle generation unit 35 to instruct the transmission of the cycle, and the CM (cycle master) standby state of FIG.
S and sub master station SMS are cycle masters C
Transition to a state to negotiate to determine M. As a result, the cycle generation unit 35 generates and sends a cycle in synchronization with the cycle transmission trigger signal by the cycle action signal. The SI field value of the cycle transmitted at this time is determined by the SI field control unit 43 based on the station class signal and the clock select signal notified from the SMT 38, and notified to the cycle generation unit 35 by the transmission SI status signal. To do.
【0057】次に、SIフィールド制御部43の動作に
ついて説明すると次のようである。マスタステーション
MSとサブマスタステーションSMSのSIフィールド
制御部43は共に、図7、図8に示すようにインアクテ
ィブ(Inactive)、外部アクティブ(Active-Ext)、及
び内部アクティブ(Active-Int)の3つの状態を備えて
いるが、その動作は異なっている。なお、インアクティ
ブはスレーブとして動作する状態であり、初期化時はこ
の状態にある。外部アクティブは外部クロックに同期し
てサイクルを送信する状態であり、内部アクティブは内
部クロックに同期してサイクルを送信する状態である。The operation of the SI field control unit 43 will be described below. The SI field control units 43 of the master station MS and the sub-master station SMS both have three types of inactive (Inactive), external active (Active-Ext), and internal active (Active-Int) as shown in FIGS. It has three states, but behaves differently. Note that inactive is a state in which it operates as a slave, and is in this state at the time of initialization. The external active is a state in which the cycle is transmitted in synchronization with the external clock, and the internal active is a state in which the cycle is transmitted in synchronization with the internal clock.
【0058】さて、マスタステーションMSのSIフィ
ールド制御部43は、インアクティブの状態において、
クロックセレクト信号によって外部クロックが選択され
ていることを検知すると外部アクティブの状態に遷移し
(図7のS10)、内部クロックが選択されていること
を検知すると内部アクティブの状態に遷移する(S1
1)。インアクティブの状態において、送出SIステー
タス信号は、受信SIステータス信号の内容を示し、マ
スタスタンバイステータス信号はSIフィールドの値が
自己より優先度が高いことを示す。Now, the SI field control unit 43 of the master station MS, in the inactive state,
When it is detected that the external clock is selected by the clock select signal, the state transits to the external active state (S10 in FIG. 7), and when it is detected that the internal clock is selected, the state transits to the internal active state (S1).
1). In the inactive state, the sending SI status signal indicates the contents of the receiving SI status signal, and the master standby status signal indicates that the value of the SI field has a higher priority than self.
【0059】また、SIフィールド制御部43は、内部
アクティブの状態において、クロックセレクト信号によ
って外部クロックが選択されていることを検知すると外
部アクティブの状態に遷移するが(S12)、受信SI
ステータス信号によってSIフィールドの値がSRのサ
イクルが受信されていることを検知するとインアクティ
ブの状態に戻る(S13)。即ち、内部アクティブの状
態においてマスタステーションMSのSIフィールドの
値はRSであるのに対して、サブマスタステーションS
MSが外部クロックを選択してサイクルを送信している
場合には、そのサイクルのSIフィールドの値はSRで
あり、上記の優先順位によりマスタステーションMSは
サイクルマスタとなることを中止するのである。なお、
内部アクティブの状態において、送出SIステータス信
号はRSが示され、マスタスタンバイステータス信号
は、受信SIステータス信号がRRの場合にはSIフィ
ールドの値が自己より優先度が低いことを示し、受信S
Iステータス信号がRSの場合にはSIフィールドの値
が自己の優先度と一致したことを示す。When the SI field control unit 43 detects that the external clock is selected by the clock select signal in the internal active state, the SI field control unit 43 transits to the external active state (S12), but the received SI
When the status signal detects that the cycle in which the SI field value is SR is received, the status returns to the inactive state (S13). That is, in the internal active state, the value of the SI field of the master station MS is RS, while the sub master station S
When the MS selects the external clock and is transmitting a cycle, the value of the SI field of the cycle is SR, and the master station MS stops becoming the cycle master due to the above priority. In addition,
In the internal active state, the sending SI status signal indicates RS, and the master standby status signal indicates that when the receiving SI status signal is RR, the value of the SI field has a lower priority than that of the receiving SI status signal.
When the I status signal is RS, it indicates that the value of the SI field matches its own priority.
【0060】また、SIフィールド制御部43は、外部
アクティブの状態において、クロックセレクト信号によ
り内部クロックが選択されていることを検知すると内部
アクティブの状態に遷移する(S14)。なお、外部ア
クティブの状態においては、送出SIステータス信号は
SSが示され、マスタスタンバイステータス信号は、受
信SIステータス信号がRRまたはSRの場合にはSI
フィールドの値が自己より優先度が低いことを示し、受
信ステータス信号がSSの場合にはSIフィールドの値
が自己の優先度と一致したことを示す。Further, when the SI field control unit 43 detects that the internal clock is selected by the clock select signal in the external active state, the SI field control unit 43 transits to the internal active state (S14). In the external active state, SS is indicated as the transmission SI status signal, and the master standby status signal is SI when the reception SI status signal is RR or SR.
The value of the field has a lower priority than that of the self, and when the reception status signal is SS, it means that the value of the SI field matches the priority of the self.
【0061】サブマスタステーションSMSのSIフィ
ールド制御部43は、インアクティブの状態において、
クロックセレクト信号により外部クロックが選択されて
いることを検知すると外部アクティブの状態に遷移し
(図8のS15)、内部クロックが選択されていること
を検知すると内部アクティブの状態に遷移する(S1
7)。なお、インアクティブの状態において、送出SI
ステータス信号は、受信SIステータス信号の内容が示
され、マスタスタンバイステータス信号はSIフィール
ドの値が自己より優先度が高いことを示す。The SI field control unit 43 of the sub master station SMS, in the inactive state,
When it is detected that the external clock is selected by the clock select signal, the state transits to the external active state (S15 in FIG. 8), and when it is detected that the internal clock is selected, the state transits to the internal active state (S1).
7). In addition, in the inactive state, the transmission SI
The status signal indicates the content of the received SI status signal, and the master standby status signal indicates that the SI field value has a higher priority than self.
【0062】また、サブマスタステーションSMSのS
Iフィールド制御部43は、内部アクティブの状態にお
いて、クロックセレクト信号によって外部クロックが選
択されていることを検知すると外部アクティブの状態に
遷移するが(S18)、受信SIステータス信号によっ
てSIフィールドの値がSSまたはRSのサイクルが受
信されていることを検知するとインアクティブの状態に
戻る(S19)。即ち、内部アクティブの状態におい
て、サブマスタステーションSMSのSIフィールドの
値はRRであり、マスタステーションMSが内部、外部
どちらのクロックに同期していても正常に動作していれ
ば、マスタステーションMSの方が優先度が高いため、
サブマスタステーションSMSはサイクルマスタとなる
ことを中止するのである。なお、内部アクティブの状態
において、送出SIステータス信号はRRが示され、マ
スタスタンバイステータス信号は、受信SIステータス
信号がRRの場合にはSIフィールドの値が自己の優先
度と一致したことを示す。The sub master station SMS S
When the I-field control unit 43 detects that the external clock is selected by the clock select signal in the internal active state, the I-field control unit 43 transitions to the external active state (S18), but the SI field value is changed by the received SI status signal. When it is detected that the SS or RS cycle is received, the state returns to the inactive state (S19). That is, in the internal active state, the value of the SI field of the sub master station SMS is RR, and if the master station MS is operating normally regardless of whether it is synchronized with the internal or external clock, The higher priority,
The submaster station SMS ceases to be a cycle master. In the internal active state, the transmission SI status signal indicates RR, and the master standby status signal indicates that the SI field value matches its own priority when the reception SI status signal is RR.
【0063】また、サブマスタステーションSMSのS
Iフィールド制御部43は、外部アクティブの状態にお
いて、受信SIステータス信号によりSIフィールドの
値がSSのサイクルが受信されていることを検知すると
インアクティブの状態に遷移し(S19)、クロックセ
レクト信号によって内部クロックが選択されていること
を検知すると内部アクティブの状態に遷移する(S2
0)。なお、外部アクティブの状態において、送出SI
ステータス信号はSRが示され、マスタスタンバイステ
ータス信号は、受信SIステータス信号がRSの場合に
はSIフィールドの値が自己より優先度が低いことを示
し、受信SIステータス信号がSRの場合にはSIフィ
ールドの値が自己の優先度と一致したことを示す。Also, the S of the sub master station SMS
In the external active state, the I-field control unit 43 transitions to the inactive state (S19) when it detects that the SI field has a value of SS in the cycle received by the received SI status signal (S19). When it detects that the internal clock is selected, it transits to the internal active state (S2
0). In the external active state, the transmission SI
The status signal indicates SR, the master standby status signal indicates that the SI field value has a lower priority than self when the reception SI status signal is RS, and the SI standby signal indicates SI when the reception SI status signal is SR. Indicates that the value of the field matches its own priority.
【0064】マスタステーションMS及びサブマスタス
テーションSMSのSIフィールド制御部43において
以上の動作が行われ、マスタスタンバイステータス信号
及び送出SIステータス信号が生成される。The above operations are performed in the SI field control units 43 of the master station MS and the sub master station SMS to generate a master standby status signal and a transmission SI status signal.
【0065】さて、HRC状態管理部46は、CMスタ
ンバイ状態において、SIフィールド制御部43からの
マスタスタンバイステータス信号によって、受信サイク
ルが自局が送信したサイクルである場合には、CM(サ
イクルマスタ)待機状態に遷移するが(図6のS2)、
受信したSIフィールドの値が自局の優先度よりも高い
場合には、SL(スレーブ)動作状態に遷移して(S
3)、スレーブステーションとして動作する。また、受
信したSIフィールドの値が自局の優先度よりも低い場
合には、CMスタンバイ状態にとどまる。In the CM standby state, the HRC state management section 46 determines the CM (cycle master) when the reception cycle is the cycle transmitted by the local station according to the master standby status signal from the SI field control section 43. Although it transits to the standby state (S2 in FIG. 6),
When the value of the received SI field is higher than the priority of the own station, it transits to the SL (slave) operation state (S
3), it operates as a slave station. If the received SI field value is lower than the priority of the own station, the CM standby state remains.
【0066】そして、CM待機状態になったHRC状態
管理部46は、受信サイクル監視部42から通知される
受信CCステータス信号によって全ての局の同期が確立
されたことを検知すると、CM動作状態に遷移し(S
4)、サイクルマスタとしての動作を開始する。When the HRC state management unit 46 in the CM standby state detects that the synchronization of all stations has been established by the reception CC status signal notified from the reception cycle monitoring unit 42, the HRC state management unit 46 enters the CM operation state. Transition (S
4) The operation as a cycle master is started.
【0067】HRC状態管理部46が、CM動作状態に
あるとき、CM待機状態にあるとき、及びCMスタンバ
イ状態にあるときにSMT38からリセット要求信号が
通知された場合には、それぞれ図6のS5,S6,S7
に示すように、ベーシック状態に戻り、再度上述した動
作が行われて新たにサイクルマスタが決定される。例え
ばいまマスタステーションMSがサイクルマスタとして
定常の運用状態にあるときにマスタステーションMSの
外部クロックに異常が発生したとすると、マスタステー
ションMSのSMT38は外部クロック監視部41から
の外部クロックステータス信号によって外部クロックの
異常を検知し、リセット要求信号をHRC状態管理部4
6に通知する。これにより、HRC状態管理部46はベ
ーシック状態に遷移し、サイクルの送信を停止する。伝
送路上のサイクルが消失すると、サブマスタステーショ
ンSMSを含む各局のSMT38は受信サイクル監視部
42によって受信サイクルの異常を検知し、リセット要
求信号をHRC状態管理部46に通知する。これにより
全ての局のHRC状態管理部46はベーシック状態に遷
移する。When the HRC state management unit 46 is in the CM operating state, in the CM standby state, and in the CM standby state, when the reset request signal is notified from the SMT 38, S5 of FIG. , S6, S7
As shown in, the operation returns to the basic state, the above-mentioned operation is performed again, and a cycle master is newly determined. For example, if an abnormality occurs in the external clock of the master station MS when the master station MS is now in a steady operation state as a cycle master, the SMT 38 of the master station MS will receive an external clock status signal from the external clock monitoring unit 41 to externally A clock abnormality is detected, and a reset request signal is sent to the HRC state management unit 4
Notify 6. As a result, the HRC state management unit 46 transits to the basic state and stops the cycle transmission. When the cycle on the transmission path disappears, the SMT 38 of each station including the sub master station SMS detects an abnormality in the reception cycle by the reception cycle monitoring unit 42 and notifies the HRC state management unit 46 of a reset request signal. As a result, the HRC state management units 46 of all stations transit to the basic state.
【0068】マスタステーションMS及びサブマスタス
テーションSMSのSMT38は、全ての局のHRC状
態管理部46がベーシック状態に遷移するのに必要な時
間が経過した後、サイクルスタート信号をHRC状態管
理部46に通知し、サイクル送信の要求を行う。マスタ
ステーションMS及びサブマスタステーションSMSの
HRC状態管理部46は、再びCMスタンバイ状態に遷
移し(S1)、SIフィールド制御部43からのマスタ
スタンバイステータス信号を監視する。このとき、マス
タステーションMSのSMT38は、既に外部クロック
の異常を検知し、クロックセレクト信号により内部クロ
ックを選択しているため、SIフィールド制御部43の
状態は外部アクティブの状態から内部アクティブの状態
に遷移し(図7のS14)、送出されるサイクルのSI
フィールドの値はRSになる。また、サブマスタステー
ションSMSのSMT38が、クロックセレクト信号に
より外部クロックを選択している場合、SIフィールド
制御部43の状態は図8に示すように外部アクティブで
あり、送出されるサイクルのSIフィールドの値はSR
になる。The SMTs 38 of the master station MS and the sub-master station SMS send a cycle start signal to the HRC state management unit 46 after the time required for the HRC state management units 46 of all stations to transit to the basic state. Notify and request cycle transmission. The HRC state management unit 46 of the master station MS and the sub master station SMS transits to the CM standby state again (S1) and monitors the master standby status signal from the SI field control unit 43. At this time, the SMT 38 of the master station MS has already detected the abnormality of the external clock and has selected the internal clock by the clock select signal. Therefore, the state of the SI field control unit 43 changes from the external active state to the internal active state. The SI of the cycle that transits (S14 in FIG. 7) and is transmitted
The value of the field will be RS. When the SMT 38 of the sub master station SMS selects the external clock by the clock select signal, the state of the SI field control unit 43 is external active as shown in FIG. Value is SR
become.
【0069】従って、マスタステーションMSのSIフ
ィールド制御部43は、SIフィールドの値がSRのサ
イクルを受信すると、インアクティブの状態に遷移し
(S13)、マスタスタンバイステータス信号により受
信SIフィールドの優先度が高いことをHRC状態管理
部46に通知する。それを受けるとHRC状態管理部4
6は、SL動作状態に遷移し(図6のS3)、スレーブ
ステーションとして動作する。一方、サブマスタステー
ションSMSのSIフィールド制御部43は、SIフィ
ールドの値がSRのサイクルを受信すると、マスタスタ
ンバイステータス信号によりSIフィールドの値が自局
の値と一致したことをHRC状態管理部46に通知す
る。その後、サブマスタステーションSMSのHRC状
態管理部46は、CM待機状態に遷移し、全局の同期が
確立されたことを認識するとCM動作状態に遷移し、サ
イクルマスタとしての動作を開始する。Therefore, when the SI field control unit 43 of the master station MS receives the cycle in which the value of the SI field is SR, it transits to the inactive state (S13), and the priority of the received SI field is given by the master standby status signal. Is notified to the HRC state management unit 46. Upon receiving it, the HRC state management unit 4
6 shifts to the SL operation state (S3 in FIG. 6) and operates as a slave station. On the other hand, when the SI field control unit 43 of the sub master station SMS receives the cycle in which the SI field value is SR, the HRC state management unit 46 informs that the SI field value matches the own station value by the master standby status signal. To notify. After that, the HRC state management unit 46 of the sub master station SMS transitions to the CM standby state, transitions to the CM operation state when recognizing that the synchronization of all stations is established, and starts the operation as the cycle master.
【0070】しかし、その後マスタステーションMSの
外部クロックの異常が回復されると、再びマスタステー
ションMSのHRC状態管理部46はリセットされ、上
述した動作が行われて、今度はマスタステーションMS
がサイクルマスタとして決定される。However, when the abnormality of the external clock of the master station MS is recovered thereafter, the HRC state management unit 46 of the master station MS is reset again, the above-described operation is performed, and this time, the master station MS.
Is determined as the cycle master.
【0071】以上、マスタステーションMSがサイクル
マスタとして動作しているときに外部クロックに異常が
発生した場合の動作について説明したが、サブマスタス
テーションSMSがサイクルマスタとして動作している
ときに外部クロック異常が生じた場合も同様な動作が行
われ、マスタステーションMSもしくはサブマスタステ
ーションSMSの何れかより高い優先度を持つものがサ
イクルマスタとして決定されるものである。同様に、サ
イクルが正常に受信できなくなった場合、及び受信サイ
クル異常の状態が回復された場合にもSMT38からリ
セット要求信号が通知されるので、上述した動作により
その都度サイクルマスタが決定されるものである。The operation when the master station MS operates as a cycle master and an abnormality occurs in the external clock has been described above. When the sub master station SMS operates as a cycle master, the external clock abnormality occurs. In the case of occurrence of the above, the same operation is performed, and one having a higher priority than either the master station MS or the sub master station SMS is determined as the cycle master. Similarly, the reset request signal is notified from the SMT 38 even when the cycle cannot be received normally and when the abnormal state of the reception cycle is recovered. Therefore, the cycle master is determined each time by the above-described operation. Is.
【0072】以上がマスタステーションMSとサブマス
タステーションSMSのサイクル制御部36の処理であ
り、以上の処理が実行されることによって外部クロック
あるいは受信サイクルに異常が生じた場合、あるいはそ
れらの異常な状態が回復された場合には、その都度サイ
クルマスタが決定されることは明かであろう。The above is the processing of the cycle control unit 36 of the master station MS and the sub-master station SMS. If the external clock or the reception cycle becomes abnormal due to the execution of the above processing, or the abnormal state thereof. It will be apparent that the cycle master is determined each time the is restored.
【0073】なお、本発明には本質的には係わらない
が、予めスレーブステーションSSとして定められてい
る局の動作については次のようである。スレーブステー
ションSSのHRC状態管理部46は、ベーシック状態
においてサイクルを受信すると直接SL動作状態に遷移
(図6のS8)してスレーブとしての動作を行い、SL
動作状態においてSMT38からリセット要求信号を受
けるとベーシック状態に戻る動作を繰り返し行う。な
お、スレーブとして動作する局は、サイクルマスタが送
出するサイクルのSIフィールドのMIの値によって、
マスタステーションMSがサイクルマスタとなっている
のか、サブマスタステーションSMSがサイクルマスタ
となっているのかを認識することができる。Although not essentially related to the present invention, the operation of a station which is predetermined as the slave station SS is as follows. When the HRC state management unit 46 of the slave station SS receives a cycle in the basic state, the HRC state management unit 46 directly transits to the SL operation state (S8 in FIG. 6) and operates as a slave, and SL
When the reset request signal is received from the SMT 38 in the operating state, the operation of returning to the basic state is repeated. Note that the station operating as a slave may change the value of MI in the SI field of the cycle transmitted by the cycle master.
It is possible to recognize whether the master station MS is the cycle master or the sub master station SMS is the cycle master.
【0074】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定されるものではなく種々
の変形が可能であることは当業者に明かである。Although one embodiment of the present invention has been described above, it is obvious to those skilled in the art that the present invention is not limited to the above embodiment and various modifications can be made.
【0075】[0075]
【発明の効果】以上の説明から明らかなように、本発明
によれば、リング型ネットワークにフレームを送出可能
な局を二つだけとしたので、従来に比較してマスタ局の
バックアップの処理が簡単になり、信頼性を向上させる
ことができる。また、バックアップの処理のためにはリ
ング型ネットワーク上に送出するフレームの所定の位置
に、当該フレームがマスタ局及びサブマスタ局のいずれ
から送出されたものであるかを示す第1の情報と、当該
フレームが局線からの外部クロックもしくは内部クロッ
クのいずれに同期したものであるかを示す第2の情報を
記述するという簡単な動作を行えばよいので、ハードウ
ェア及びソフトウェアの搭載量を大幅に軽減させること
ができる。As is apparent from the above description, according to the present invention, since only two stations can transmit a frame to the ring network, the backup processing of the master station can be performed as compared with the conventional case. It will be easier and more reliable. For backup processing, the first information indicating whether the frame is transmitted from the master station or the sub-master station is provided at a predetermined position of the frame to be transmitted on the ring network. Since a simple operation of describing the second information indicating whether the frame is synchronized with the external clock or the internal clock from the central line is performed, the mounting amount of hardware and software is significantly reduced. Can be made
【0076】更に、局線に異常が発生した場合にも確実
にバックアップすることができ、しかもマスタ局あるい
はサブマスタ局のどちらにおいて障害が発生した場合に
おいても自動的に運用可能な状態に復帰させることがで
きる。また更に、前記第1の情報及び第2の情報を検知
するという簡単な処理によって、全ての局が、現在どの
局がフレームを送出しているのか、外部回線に同期して
いるのかどうかを認識することができるものである。Further, even if an abnormality occurs in the station line, it can be surely backed up, and in the event of a failure in either the master station or the submaster station, it can be automatically returned to the operable state. You can Furthermore, by a simple process of detecting the first information and the second information, all stations recognize which station is currently transmitting a frame and whether they are synchronized with an external line. Is what you can do.
【図1】 本発明の構成を示す図である。FIG. 1 is a diagram showing a configuration of the present invention.
【図2】 本発明の一実施例におけるネットワークの構
成例を示す図である。FIG. 2 is a diagram showing a configuration example of a network according to an embodiment of the present invention.
【図3】 本発明において送出されるサイクルの構造例
を示す図である。FIG. 3 is a diagram showing a structural example of a cycle transmitted in the present invention.
【図4】 本発明の一実施例におけるHRCの構成例を
示す図である。FIG. 4 is a diagram showing a configuration example of an HRC in one embodiment of the present invention.
【図5】 図4に示すサイクル制御部の詳細な構成例を
示す図である。5 is a diagram showing a detailed configuration example of a cycle control unit shown in FIG.
【図6】 図5に示すHRC状態管理部の状態遷移を示
す図である。6 is a diagram showing state transition of the HRC state management unit shown in FIG.
【図7】 図5に示すSIフィールド制御部の状態遷移
を示す図である。7 is a diagram showing state transitions of the SI field control unit shown in FIG.
【図8】 図5に示すSIフィールド制御部の状態遷移
を示す図である。8 is a diagram showing state transitions of the SI field control unit shown in FIG.
【図9】 FDDI−2のネットワークの構成例を示す
図である。FIG. 9 is a diagram illustrating a configuration example of an FDDI-2 network.
【図10】 FDDI−2のサイクルの構造を示す図で
ある。FIG. 10 is a diagram showing a structure of a cycle of FDDI-2.
【図11】 各局の構成を示す機能ブロック図である。FIG. 11 is a functional block diagram showing the configuration of each station.
【図12】 特開平1−288134号公報に示されて
いるネットワークの構成例を示す図である。FIG. 12 is a diagram showing a configuration example of a network disclosed in Japanese Patent Laid-Open No. 1-288134.
【図13】 図12で使用されるデータフレームの構成
を示す図である。FIG. 13 is a diagram showing a structure of a data frame used in FIG.
20…リング型ネットワーク、21…フレーム、22、
23…フィールド、25…検出手段、26…監視手段、
27…制御手段、28…局線、MS…マスタステーショ
ン、SMS…サブマスタステーション、SS…スレーブ
ステーション。20 ... Ring type network, 21 ... Frame, 22,
23 ... Field, 25 ... Detection means, 26 ... Monitoring means,
27 ... Control means, 28 ... Station line, MS ... Master station, SMS ... Sub master station, SS ... Slave station.
Claims (1)
局と、前記マスタ局またはサブマスタ局が送出するフレ
ームを使用して通信を行う従属局とが接続されたリング
型ネットワークにおいて、 前記フレームの所定の位置には、当該フレームがマスタ
局及びサブマスタ局のいずれから送出されたものである
かを示す第1の情報と、当該フレームが局線からの外部
クロックもしくは内部クロックのいずれに同期したもの
であるかを示す第2の情報が書き込まれるフィールドが
設けられてなり、 前記マスタ局及びサブマスタ局は、共に、 受信した前記フレーム及び外部クロックの異常の有無を
検出する検出手段と、 前記第1の情報及び第2の情報を監視する監視手段と、 前記検出結果及び監視結果に基づいて前記フレームの送
出の制御を行う制御手段と、 を備えることを特徴とするマスタ局バックアップ方式。1. A ring-type network in which a master station and a sub-master station to which a station line is connected and a subordinate station that communicates using a frame transmitted by the master station or the sub-master station are connected. At a predetermined position, the first information indicating whether the frame is transmitted from the master station or the submaster station, and whether the frame is synchronized with the external clock or the internal clock from the station line A field in which second information indicating whether or not there is is written is provided, and the master station and the sub-master station both detect the presence or absence of abnormality of the received frame and external clock; Means for monitoring the information and the second information, and controlling the transmission of the frame based on the detection result and the monitoring result Master station backup method, characterized in that it comprises a control means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4023589A JPH05227185A (en) | 1992-02-10 | 1992-02-10 | Master station backup system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4023589A JPH05227185A (en) | 1992-02-10 | 1992-02-10 | Master station backup system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05227185A true JPH05227185A (en) | 1993-09-03 |
Family
ID=12114778
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4023589A Pending JPH05227185A (en) | 1992-02-10 | 1992-02-10 | Master station backup system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05227185A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1996036149A1 (en) * | 1995-05-12 | 1996-11-14 | Kabushiki Kaisha Toshiba | Communication system |
| WO2001015389A1 (en) * | 1999-08-20 | 2001-03-01 | Fujitsu Limited | Clock setting method, communication device using the method, and communication system |
-
1992
- 1992-02-10 JP JP4023589A patent/JPH05227185A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1996036149A1 (en) * | 1995-05-12 | 1996-11-14 | Kabushiki Kaisha Toshiba | Communication system |
| GB2315642A (en) * | 1995-05-12 | 1998-02-04 | Toshiba Kk | Communication system |
| GB2315642B (en) * | 1995-05-12 | 2000-06-28 | Toshiba Kk | Communication system |
| US6226268B1 (en) | 1995-05-12 | 2001-05-01 | Kabushiki Kaisha Toshiba | Communication system |
| WO2001015389A1 (en) * | 1999-08-20 | 2001-03-01 | Fujitsu Limited | Clock setting method, communication device using the method, and communication system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0242117A2 (en) | Distributed timing control for a distributed digital communication system | |
| US6816818B2 (en) | Method, clock generator module and receiver module for synchronizing a receiver module | |
| JP2007096589A (en) | Communication system, master communication device, and slave communication device | |
| JP3791983B2 (en) | Switching device of active reference by synchronization message | |
| EP0453273A2 (en) | Loop back method for loop type LAN transmission line | |
| WO2001028144A1 (en) | Synchronizing device and synchronizing system | |
| JPH09261210A (en) | Synchronous clock distribution method for synchronous transmission system | |
| JP2001358736A (en) | Ring network system | |
| JPH06121364A (en) | Message information termination method | |
| JP3920261B2 (en) | Frame synchronizer and optical transceiver | |
| JP4679090B2 (en) | Transmission end switching method and set spare terminal equipment | |
| JPH0621955A (en) | Clock supply switching system | |
| US20050135232A1 (en) | Transmission apparatus having a function of changing path setting | |
| JPH01231450A (en) | Synchronizing clock supply system for communication system | |
| JPH118643A (en) | Timing source changeover method and system therefor | |
| JPH07107105A (en) | Dependent synchronization control method for duplex loop LAN | |
| JP4128705B2 (en) | Line monitoring system | |
| JP2795200B2 (en) | Monitoring system for satellite communication earth station | |
| JPH10322379A (en) | Clock path changeover method | |
| JPH11122278A (en) | Network synchronization network system and transmitter-receiver used for it | |
| JP4187480B2 (en) | Clock synchronous switching device | |
| JP3492558B2 (en) | Ring network system | |
| JP3199031B2 (en) | Network synchronization device and network synchronization communication system | |
| JP2003008597A (en) | Clock path changeover method | |
| JPH09214502A (en) | Alarm notice system |