JPH0621955A - Clock supply switching system - Google Patents

Clock supply switching system

Info

Publication number
JPH0621955A
JPH0621955A JP4177004A JP17700492A JPH0621955A JP H0621955 A JPH0621955 A JP H0621955A JP 4177004 A JP4177004 A JP 4177004A JP 17700492 A JP17700492 A JP 17700492A JP H0621955 A JPH0621955 A JP H0621955A
Authority
JP
Japan
Prior art keywords
clock
priority
node
transmission line
frame
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.)
Granted
Application number
JP4177004A
Other languages
Japanese (ja)
Other versions
JP3241104B2 (en
Inventor
Kenichi Ishikawa
健一 石川
Takeshi Murata
雄志 村田
Masashi Hirome
正志 廣目
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17700492A priority Critical patent/JP3241104B2/en
Publication of JPH0621955A publication Critical patent/JPH0621955A/en
Application granted granted Critical
Publication of JP3241104B2 publication Critical patent/JP3241104B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To turn all the nodes into a master station by setting priority to the nodes as clock priority, transmitting a frame while writing the priority, and defining the reception node of the higher priority as the master station by comparing the priority of the node itself. CONSTITUTION:The priority is set to a register 10 of a CSEL part 5 at each node as the clock priority, and the frame written the priority is transmitted through an IF part 2 of a '0' system transmission line or an IF part 3 of a '1' system transmission line. Concerning the reception nodes, the node having the higher priority is defined as the master station and the node having the lower priority is defined as a slave station by comparing the priority of the node themselves. Therefore, all the nodes can become the master stations, the synchronism of a network can be always established, the synchronism of the network can be established for the unit of each loop even when over two fault network loops exit and even the multiple amounts of faults can be flexibly deal with.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、マスタ局とスレーブ局
からなる複数のノードを第1と第2の2系統の伝送路で
ループ状に接続したループ型LAN(ローカルエリアネ
ットワーク)に関し、特に、ループ型LANの各ノード
に供給されるクロックを切り替えるクロック供給切替え
方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a loop type LAN (local area network) in which a plurality of nodes consisting of a master station and a slave station are connected in a loop by two transmission paths of a first system and a second system. , A clock supply switching method for switching a clock supplied to each node of a loop LAN.

【0002】[0002]

【従来の技術】上述したようなループ型LANにおいて
は、マスタ局とスレーブ局からなる複数のノードを右回
りと左回りの2系統の伝送路でループ状に接続し、マス
タ局のノードから2系統の伝送路にそれぞれクロックを
送出し、スレーブ局のノードでは2系統の伝送路から得
られた2つのクロックから1つを選択し、そのクロック
に従って通信データのフレームを伝送路に周回させ、そ
れにより各ノードでフレームの送受信を行うようにして
いる。
2. Description of the Related Art In a loop type LAN as described above, a plurality of nodes consisting of a master station and a slave station are connected in a loop by two clockwise and counterclockwise transmission lines, and two nodes are connected from the node of the master station. A clock is sent to each transmission line of the system, and at the node of the slave station, one of the two clocks obtained from the transmission lines of the two systems is selected, and a frame of communication data is circulated in the transmission line according to the clock, Thus, each node transmits / receives a frame.

【0003】すなわち、ネットワーク内のクロックマス
タとしての一台のノード(マスタ局)からその他のノー
ド(スレーブ局)にクロック源を供給して、従属同期に
よりネットワーク内同期を行うようにしている。また、
マスタ局のノードに外部のネットワークからクロックを
供給し、その外部クロックにネットワーク全体を同期さ
せることにより外部ネットワークとの従属同期を可能と
するものもある。
That is, a clock source is supplied from one node (master station) as a clock master in the network to another node (slave station) to perform intra-network synchronization by subordinate synchronization. Also,
In some systems, a clock is supplied to the node of the master station from an external network and the entire network is synchronized with the external clock to enable slave synchronization with the external network.

【0004】従来のこのようなループ型LANでは、伝
送路クロック系の障害や、クロックマスタあるいは外部
クロック供給断の障害に対しては、伝送路のクロック系
を運用系と予備系の2系統とした二重化伝送路を用い、
また、クロックマスタをマスタ局とサブマスタ局の二重
構成とすることで対処していた。
In such a conventional loop type LAN, the clock system of the transmission line is divided into two systems, an operating system and a standby system, for a failure of the transmission path clock system and a failure of the clock master or external clock supply interruption. Using the duplicated transmission line
Further, the clock master has been dealt with by adopting a dual configuration of a master station and a sub-master station.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
このようなループ型LANにおいては、伝送路クロック
系の障害については運用系から予備系へ、また、クロッ
クマスタの障害についてはマスタ局からサブマスタ局
へ、それぞれ切り替えるというように、一重の障害にし
か対処できなかったため、多重障害に対応できるような
ループ型LANが望まれていた。
However, in the conventional loop type LAN as described above, the failure of the transmission line clock system is changed from the active system to the standby system, and the failure of the clock master is changed from the master station to the sub-master station. Since only a single failure can be dealt with such as switching to each, a loop type LAN capable of dealing with multiple failures has been desired.

【0006】本発明は、このような事情を考慮してなさ
れたもので、全てのノードにマスタ局となるための優先
順位をあらかじめ定義しておき、優先順位の高いノード
から順次マスタ局としてゆくとともに、マスタ局になれ
なかったノードについては、2系統から受信したクロッ
クの内のいずれか1つを選択することにより、マスタ局
の障害や伝送路クロック系の障害などの多重障害時で
も、ネットワーク内の同期を常に確立できるようにし
た、クロック供給切替え方式を提供するものである。
The present invention has been made in consideration of such a situation. Priorities for becoming master stations are defined in advance for all nodes, and nodes having higher priorities are sequentially designated as master stations. At the same time, for the node that could not become the master station, by selecting one of the clocks received from the two systems, even if there is a multiple failure such as failure of the master station or failure of the transmission line clock system, It is intended to provide a clock supply switching system capable of always establishing internal synchronization.

【0007】[0007]

【課題を解決するための手段】この発明は、マスタ局と
スレーブ局からなる複数のノードを第1と第2の伝送路
でループ状に接続することによりネットワークを構成
し、マスタ局のノードから第1と第2の伝送路にクロッ
クを送出し、スレーブ局のノードでは第1と第2の伝送
路から得られた2つのクロックから1つを選択し、その
クロックに従って通信データのフレームを伝送路に周回
させ、それにより各ノードでフレームの送受信を行うル
ープ型LANにおいて、全てのノードにマスタ局となる
ための優先順位をクロック優先度としてあらかじめ設定
しておき、そのクロック優先度をフレームに書き込んで
伝送路に送出し、各ノードが伝送路からフレームを受信
したときには、フレームに書き込まれているクロック優
先度と自ノードのクロック優先度とを比較して、フレー
ムに書き込まれているクロック優先度を最も高いクロッ
ク優先度に順次更新してゆき、各ノードでは、伝送路か
らフレームを受信したときには、フレームに書き込まれ
ているクロック優先度を自ノードのクロック優先度と比
較することにより、第1の伝送路から得られたクロック
と第2の伝送路から得られたクロックと自ノードのクロ
ックから1つのクロックを選択し、選択したクロックに
従ってネットワークの同期を確立する、ことからなるク
ロック供給切替え方式である。
SUMMARY OF THE INVENTION According to the present invention, a network is constructed by connecting a plurality of nodes consisting of a master station and a slave station in a loop with first and second transmission lines. A clock is sent to the first and second transmission lines, and at the slave station node, one of the two clocks obtained from the first and second transmission lines is selected, and the frame of communication data is transmitted according to the clock. In a loop-type LAN in which a node circulates around a path, whereby each node transmits and receives frames, the priority order for becoming a master station is set in advance as clock priority for all nodes, and the clock priority is set for the frame. When each node receives a frame from the transmission line after writing and sending it to the transmission line, the clock priority written in the frame and the clock of its own node are written. Clock priority, the clock priority written in the frame is sequentially updated to the highest clock priority. At each node, when the frame is received from the transmission line, it is written in the frame. By comparing the existing clock priority with the clock priority of the own node, one clock is selected from the clock obtained from the first transmission line, the clock obtained from the second transmission line, and the clock of the own node. The clock supply switching method consists of establishing network synchronization according to the selected clock.

【0008】なお、上記方式において、特定のノードに
外部網から外部クロックが供給される場合には、外部ク
ロックが供給されるノードでは、伝送路からフレームを
受信したときには、フレームに書き込まれているクロッ
ク優先度を自ノードのクロック優先度と比較することに
より、第1の伝送路から得られたクロックと第2の伝送
路から得られたクロックと外部クロックから1つのクロ
ックを選択し、選択したクロックに従ってネットワーク
の同期を確立する。
In the above method, when an external clock is supplied to a specific node from an external network, the node to which the external clock is supplied writes the frame to the frame when the frame is received from the transmission line. By comparing the clock priority with the clock priority of its own node, one clock is selected and selected from the clock obtained from the first transmission line, the clock obtained from the second transmission line, and the external clock. Establish network synchronization according to the clock.

【0009】[0009]

【作用】本発明によれば、全てのノードにはマスタ局と
なるための優先順位がクロック優先度として設定されて
おり、そのクロック優先度がフレームに書き込まれて伝
送路に送出され、最も高いクロック優先度に順次更新さ
れてゆく。そして、それを受信したノードは、自ノード
の優先順位のほうが高ければマスタ局となって自ノード
のクロックを選択し、自ノードの優先順位のほうが低け
ればスレーブ局となって第1と第2の伝送路から得られ
たクロックのいずれか一方のクロックを選択し、その選
択したクロックに従ってネットワークの同期を確立す
る。
According to the present invention, the priority order for becoming the master station is set as the clock priority in all the nodes, and the clock priority is written in the frame and sent out to the transmission line, which is the highest. The clock priority is updated in sequence. Then, the node that receives it becomes the master station to select the clock of its own node if the priority of its own node is higher, and becomes the slave station if the priority of its own node is lower. One of the clocks obtained from the transmission line is selected, and network synchronization is established according to the selected clock.

【0010】したがって、マスタ局のノードに障害が発
生したとしても、優先度の高い順に全てのノードがマス
タ局になり得るので、ネットワークの同期を常に確立す
ることができる。また、伝送路クロック系に障害が発生
したとしても、スレーブ局の各ノードは、第1と第2の
伝送路から得られたクロックのいずれか一方のクロック
を選択できるので、常にマスタ局とリンクした系への切
り替えが可能となる。
Therefore, even if a failure occurs in the node of the master station, all the nodes can become master stations in the order of high priority, so that network synchronization can always be established. Further, even if a failure occurs in the transmission line clock system, each node of the slave station can select either one of the clocks obtained from the first and second transmission lines, so that it always links with the master station. It is possible to switch to a new system.

【0011】さらに、障害の事象によりネットワークル
ープが2つ以上存在するようになった場合でも、各ルー
プで最も優先順位の高いノードがそれぞれマスタ局とな
るため、各ループ単位でネットワークの同期を確立する
ことができ、これにより多重障害においても柔軟に対応
することができる。
Further, even when two or more network loops are present due to a failure event, the node having the highest priority in each loop becomes the master station, so that network synchronization is established for each loop. This makes it possible to flexibly cope with multiple failures.

【0012】また、マスタ局のノードに外部網から外部
クロックが供給される場合には、外部網との従属同期も
可能となる。
When an external clock is supplied to the node of the master station from the external network, subordinate synchronization with the external network becomes possible.

【0013】[0013]

【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。なお、これによってこの発明が限定される
ものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. The present invention is not limited to this.

【0014】図1は本発明のクロック供給切替え方式に
適用されるループ型LANの通信ノードの構成を示すブ
ロック図である。この図において、1は通信ノードであ
る。本実施例のループ型LANは、この通信ノード1
を、0系(図中、♯0で示す)と1系(図中、♯1で示
す)の逆回りの2系統の伝送路で複数個接続したもので
あり、通信ノード1間のデータはオーバーヘッドを有す
るフレームで伝送するようになっている。
FIG. 1 is a block diagram showing the structure of a loop type LAN communication node applied to the clock supply switching system of the present invention. In this figure, 1 is a communication node. The loop type LAN of this embodiment is the communication node 1
Are connected by two transmission paths in the reverse direction of the 0-system (shown as # 0 in the figure) and the 1-system (shown as # 1 in the figure). It is designed to be transmitted in a frame having an overhead.

【0015】通信ノード1は、0系の伝送路IF部2、
1系の伝送路IF部3、CLK部4、及びCSEL部5
から構成されている。
The communication node 1 includes a 0-system transmission line IF unit 2,
1-system transmission line IF unit 3, CLK unit 4, and CSEL unit 5
It consists of

【0016】0系の伝送路IF部2は、伝送路♯0から
フレームの入力を受けて、REC検出、伝送路クロック
抽出、及び受信オーバーヘッドの分離を行うとともに、
送信オーバーヘッドを多重化して、再び伝送路♯0に出
力する。
The 0-system transmission path IF unit 2 receives a frame from the transmission path # 0, performs REC detection, transmission path clock extraction, and reception overhead separation, and
The transmission overhead is multiplexed and output again to the transmission path # 0.

【0017】1系の伝送路IF部3は、伝送路♯1から
フレームの入力を受けて、REC検出、伝送路クロック
抽出、及び受信オーバーヘッドの分離を行うとともに、
送信オーバーヘッドを多重化して、再び伝送路♯1に出
力する。
The 1-system transmission path IF unit 3 receives a frame input from the transmission path # 1, performs REC detection, transmission path clock extraction, and reception overhead separation.
The transmission overhead is multiplexed and output again to the transmission line # 1.

【0018】CLK部4は、外部クロックの入力を受
け、0系のクロックと1系のクロックと外部クロックの
内から1つのクロックを選択するセレクタ6と、選択し
たクロックの分周回路7と、システムクロックを発振器
するPLO8と、外部クロックを検出するディテクタ回
路9から構成されている。
The CLK section 4 receives an input of an external clock and selects one clock from 0-system clock, 1-system clock and external clock, a frequency dividing circuit 7 for the selected clock, It is composed of a PLO 8 which oscillates a system clock and a detector circuit 9 which detects an external clock.

【0019】CSEL部5は、通信ノード1がクロック
マスタとなるための優先順位をクロック優先度データと
してあらかじめ記憶したレジスタ10と、フリーラン
(自走)クロック、外部クロック、0系クロック、1系
クロックの内からいずれか1つのクロックを選択する調
停回路11から構成されている。
The CSEL unit 5 includes a register 10 in which the priority order for the communication node 1 to become a clock master is stored in advance as clock priority data, a free-run (self-running) clock, an external clock, a 0-system clock, and a 1-system clock. It is composed of an arbitration circuit 11 which selects any one of the clocks.

【0020】通信ノード1間に送信されるフレームのオ
ーバヘッドは、図2に示すように、CP−ID(Clk
Priolity ID)で示されるクロック優先度
情報21と、EXT−EN(Ext Clk Enab
le)で示される外部クロック監視情報22と、SEQ
(Sequence No.)で示されるシーケンス情
報23から構成されている。外部クロック監視情報22
とシーケンス情報23はマスタ局で生成される。また、
このオーバーヘッドフレームは、CSEL部5で生成
し、各通信ノード1を中継する形で0系と1系の伝送路
を周回させる。
The overhead of the frame transmitted between the communication nodes 1 is, as shown in FIG. 2, CP-ID (Clk
Clock priority information 21 indicated by Priority ID, and EXT-EN (Ext Clk Enab)
le), the external clock monitoring information 22 and SEQ
It is composed of the sequence information 23 indicated by (Sequence No.). External clock monitoring information 22
The sequence information 23 is generated by the master station. Also,
This overhead frame is generated by the CSEL unit 5 and circulates the transmission lines of the 0-system and the 1-system in a form of relaying each communication node 1.

【0021】オーバーヘッドフレームに含まれる各情報
の内、クロック優先度情報23は、各通信ノード1にお
いてフレームを受信した際、0系と1系の受信クロック
優先度情報♯0/♯1と、CSEL部5内のレジスタ1
0に設定されたクロック優先度データを比較し、優先度
が高い方の値を書き込んで中継する。
Of the information included in the overhead frame, the clock priority information 23 is the reception clock priority information # 0 / # 1 of the 0-system and 1-system, and CSEL when the frame is received by each communication node 1. Register 1 in part 5
The clock priority data set to 0 are compared, and the higher priority value is written and relayed.

【0022】外部クロック監視情報22は、マスタ局に
おいて、外部クロックイネーブル信号の状態(イネーブ
ル:‘1’,ディセーブル:‘0’)を書き込んで送信
し、各スレーブ局の通信ノード1では監視のみで中継す
る。
As the external clock monitoring information 22, the master station writes and transmits the state (enable: '1', disable: '0') of the external clock enable signal, and the communication node 1 of each slave station only monitors. To relay.

【0023】シーケンス情報23は、マスタ局の通信ノ
ード1において、周回してきたフレームを再び送信する
毎に更新するようなシーケンス番号を書き込んで送信
し、各スレーブ局の通信ノード1では監視のみで中継す
る。なお、オーバーヘッドフレームは、各通信ノード1
で受信する際には一定の保護を取り、また、受信イネー
ブルがイネーブル状態で有効とする。
The sequence information 23 is transmitted by writing a sequence number in the communication node 1 of the master station, which is updated every time the circulating frame is transmitted again, and the communication node 1 of each slave station relays it only by monitoring. To do. The overhead frame is used for each communication node 1.
When receiving with, a certain protection is taken, and reception enable is valid in the enabled state.

【0024】CSEL部5では、0系の伝送路IF部2
と1系の伝送路IF部3でそれぞれ抽出した0系と1系
の受信イネーブル信号♯0/♯1と、受信した0系と1
系のフレームのオーバーヘッド♯0/♯1から得られた
情報と、CLK部4で抽出した外部クロックイネーブル
信号と、CSEL部5内のレジスタ10に設定されたク
ロック優先度データに基づいて、0系クロック、1系ク
ロック、外部網から供給される外部クロック、及び、C
SEL部5に搭載するPLOのフリーランクロックの中
から1つを選択し、CLK部4で生成するシステムクロ
ックの供給源とする。
In the CSEL unit 5, the 0-system transmission line IF unit 2
Reception enable signals # 0 / # 1 of the 0 system and 1 system extracted by the transmission path IF unit 3 of the 1 and system 1 and the received 0 system and 1 of the 1 system, respectively.
The system 0 based on the information obtained from the overhead # 0 / # 1 of the system frame, the external clock enable signal extracted by the CLK unit 4, and the clock priority data set in the register 10 in the CSEL unit 5. Clock, 1-system clock, external clock supplied from external network, and C
One of the PLO free-run clocks mounted on the SEL unit 5 is selected and used as the supply source of the system clock generated by the CLK unit 4.

【0025】このように、通信ノード1のシステムクロ
ック供給源選択肢は、図3に示すように、フリーランク
ロック、0系クロック、1系クロック、及び外部クロッ
クの4つの状態遷移として切り替え、図4及び図5に示
すように、 CP−IDM(クロック優先度データ) CP−ID0(0系受信クロック優先度情報) CP−ID1(1系受信クロック優先度情報) CP−EN0(0系受信オーバーヘッドイネーブル) (受信イネーブル,シーケンス情報) CP−EN1(1系受信オーバーヘッドイネーブル) (受信イネーブル,シーケンス情報) EXT−EN(外部クロックイネーブル) EXT−EN0(0系外部クロック同期イネーブル) EXT−EN1(1系外部クロック同期イネーブル) 前状態の9つのパラメータを与えることで調停を行う。
4つの状態の内、フリーランクロック、外部クロックの
状態は、その通信ノード1がマスタ局として動作し、0
系クロック、1系クロックの状態は、その通信ノード1
がスレーブ局として動作することになる。
As described above, the system clock supply source options of the communication node 1 are switched as four state transitions of a free-run clock, a 0-system clock, a 1-system clock, and an external clock as shown in FIG. And, as shown in FIG. 5, CP-IDM (clock priority data) CP-ID0 (0 system reception clock priority information) CP-ID1 (1 system reception clock priority information) CP-EN0 (0 system reception overhead enable) ) (Reception enable, sequence information) CP-EN1 (1 system reception overhead enable) (Reception enable, sequence information) EXT-EN (external clock enable) EXT-EN0 (0 system external clock synchronization enable) EXT-EN1 (1 system External clock synchronization enable) Give 9 parameters of previous state Arbitrate by.
Of the four states, the free-run clock and the external clock are 0 when the communication node 1 operates as a master station.
The state of the system clock and the system clock is the communication node 1
Will operate as a slave station.

【0026】以下、このような実施例の動作を、通信ノ
ードA〜Fを6台接続した構成において、クロック優先
度を上位順にA→F→B→E→C→Dと定義した場合に
ついて、図6から図10に示す5つの事例で説明する。
The operation of this embodiment will be described below in the case where six communication nodes A to F are connected and the clock priority is defined as A → F → B → E → C → D in descending order. This will be described with reference to five cases shown in FIGS. 6 to 10.

【0027】図6は通信ノードA〜Fの順で電源を投入
し、全ての通信ノードA〜Fが正常に立ち上がった場合
を示す例である。通信ノードAは、ループ内のクロック
優先度で自局が最上位となるためフリーランの状態とな
り、マスタ局として動作する。通信ノードB〜Fは、伝
送路クロック系の0系の方から受信イネーブルがイネー
ブル状態となり、また、通信ノードAに比較して全てク
ロック優先度が低いため、0系クロックの状態となり、
通信ノードAのスレーブ局として動作する。
FIG. 6 shows an example in which the communication nodes A to F are turned on in this order and all the communication nodes A to F have normally started up. The communication node A is in the free-run state because its own station is the highest in the clock priority in the loop, and operates as a master station. In the communication nodes B to F, the reception enable is enabled from the 0-system of the transmission path clock system, and since the clock priority is lower than that of the communication node A, the 0-system clock state is obtained.
It operates as a slave station of the communication node A.

【0028】図7は通信ノードAと通信ノードBの間で
伝送路クロック系の0系に障害が生じた場合であり、伝
送路に片系障害が生じた場合を示す例である。通信ノー
ドBは、0系の受信イネーブルがディセーブル状態とな
ることで1系クロックの状態へ切り替わる。通信ノード
C〜Fは、0系のシーケンス同期が外れることで1系ク
ロックの状態へ切り替わる。
FIG. 7 shows a case where a failure occurs in the 0-system of the transmission path clock system between the communication node A and the communication node B, and an example showing a case where a single-system failure occurs in the transmission path. The communication node B switches to the 1-system clock state when the 0-system reception enable is disabled. The communication nodes C to F are switched to the 1-system clock state when the 0-system sequence synchronization is lost.

【0029】図8は通信ノードBと通信ノードCの間で
伝送路クロックの0系に障害が生じ、さらに、通信ノー
ドEと通信ノードFの間で伝送路クロックの1系に障害
が生じた場合であり、伝送路に両系障害が生じた場合を
示す例である。通信ノードFは、0系のクロック優先度
が1系より低くなるため1系クロックの状態へ切り替わ
る。通信ノードC〜Eは、孤立したループとなり、通信
ノードEは、孤立ループ内のクロック優先度で自局が最
上位となるためフリーランの状態へ切り替わり、マスタ
局として動作する。通信ノードCは、0系の受信イネー
ブルがディセーブル状態となることで1系クロックの状
態へ切り替わる。通信ノードDは、0系のシーケンス同
期がはずれることで1系クロックの状態へ切り替わる。
In FIG. 8, the 0 line of the transmission line clock between the communication node B and the communication node C has a fault, and the 1 line system of the transmission line clock between the communication node E and the communication node F has a fault. This is a case, and is an example showing a case where both system failures occur in the transmission path. The communication node F switches to the 1-system clock state because the 0-system clock priority is lower than that of the 1-system clock. The communication nodes C to E form an isolated loop, and the communication node E switches to the free-run state and operates as a master station because its own station is the highest in the priority of the clock in the isolated loop. The communication node C switches to the 1-system clock state when the 0-system reception enable is disabled. The communication node D switches to the 1-system clock state when the 0-system sequence synchronization is lost.

【0030】図9はマスタ局である通信ノードAが、障
害により伝送路から離脱した場合を示す例である。通信
ノードFは、通信ノードAに次いでクロック優先度が高
いためフリーラン状態へ切り替わり、マスタ局として動
作する。通信ノードB〜Eは、0系のシーケンス同期が
はずれることで1系クロックの状態へ切り替わる。
FIG. 9 shows an example in which the communication node A, which is the master station, leaves the transmission line due to a failure. Since the communication node F has the second highest clock priority after the communication node A, the communication node F switches to the free-run state and operates as a master station. The communication nodes B to E are switched to the 1-system clock state when the 0-system sequence synchronization is lost.

【0031】図10はマスタ局である通信ノードAに供
給される外部クロックに障害が生じた場合を示す例であ
る。通信ノードAは、外部クロックイネーブルがディセ
ーブル状態となるため、外部クロック監視情報をディセ
ーブル状態で送信するのであるが、それにも係わらず、
1系から先に外部クロック監視情報をイネーブル状態で
受信するので、1系クロックの状態へ切り替わり、スレ
ーブ局として動作する。通信ノードFは、両系からの外
部クロック監視情報がディセーブル状態となり、外部ク
ロックイネーブルがイネーブル状態であるため外部クロ
ックの状態となり、マスタ局として動作する。通信ノー
ドB〜Eは、マスタ局が切り替わる時点で一度、シーケ
ンス同期はずれとなり、通信ノードFからのクロック優
先情報を早く受信した系へ切り替わる。
FIG. 10 shows an example in which a failure occurs in the external clock supplied to the communication node A which is the master station. The communication node A transmits the external clock monitoring information in the disabled state because the external clock enable is disabled, but nevertheless,
Since the external clock monitoring information is received in the enabled state from the first system, it switches to the first system clock state and operates as a slave station. Since the external clock monitoring information from both systems is disabled and the external clock enable is enabled, the communication node F enters the external clock state and operates as a master station. The communication nodes B to E are out of sequence synchronization once at the time when the master station is switched, and are switched to the system which has received the clock priority information from the communication node F earlier.

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
全てのノードにマスタ局となるための優先順位をクロッ
ク優先度としてあらかじめ設定するので、各種の障害事
象によってネットワークが完全なループ状でなくなった
場合でも、2台以上のノードが存在すれば、マスタ局と
スレーブ局のノードを設定することができる。また、例
え正常なノードが1台となったとしても、自らがマスタ
局として動作するため、そのノードの範囲内にあるパス
回線においてはデータの疎通が可能となる。したがっ
て、どのような多重障害が発生したとしても常にネット
ワークの同期を確立することができ、ネットワークの信
頼性の向上、及びメンテナンスの容易化に寄与するとこ
ろが大きい。
As described above, according to the present invention,
Since the priority order to become the master station is preset in all nodes as the clock priority, even if the network is not completely looped due to various failure events, if there are two or more nodes, the master You can configure nodes for stations and slave stations. Further, even if there is only one normal node, since it operates as a master station itself, data communication is possible on the path line within the range of that node. Therefore, no matter what kind of multiple failures occur, network synchronization can always be established, which greatly contributes to improving the reliability of the network and facilitating maintenance.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に適用されるループ型LANの通信ノー
ドの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a communication node of a loop type LAN applied to the present invention.

【図2】オーバーヘッドフレームの構成図である。FIG. 2 is a configuration diagram of an overhead frame.

【図3】システムクロック供給源切替え状態遷移図であ
る。
FIG. 3 is a system clock supply source switching state transition diagram.

【図4】システムクロック供給源切替え調停説明図であ
る。
FIG. 4 is an explanatory diagram of system clock supply source switching arbitration.

【図5】図4に続くシステムクロック供給源切替え調停
説明図である。
5 is an explanatory diagram of system clock supply source switching arbitration subsequent to FIG. 4. FIG.

【図6】全ての通信ノードが正常に立ち上がった場合を
示す説明図である。
FIG. 6 is an explanatory diagram showing a case where all communication nodes have normally started up.

【図7】伝送路に片系障害が生じた場合を示す説明図で
ある。
FIG. 7 is an explanatory diagram showing a case where a one-sided failure occurs in a transmission path.

【図8】伝送路に両系障害が生じた場合を示す説明図で
ある。
FIG. 8 is an explanatory diagram showing a case where a failure of both systems occurs in a transmission path.

【図9】通信ノードAが障害により伝送路から離脱した
場合を示す説明図である。
FIG. 9 is an explanatory diagram showing a case where a communication node A leaves the transmission line due to a failure.

【図10】通信ノードAに供給される外部クロックに障
害が生じた場合を示す説明図である。
10 is an explanatory diagram showing a case where a failure occurs in the external clock supplied to the communication node A. FIG.

【符号の説明】[Explanation of symbols]

1 通信ノード 2 0系の伝送路IF部 3 1系の伝送路IF部 4 CLK部 5 CSEL部 6 セレクタ 7 分周回路 8 PLO 9 ディテクタ回路 10 レジスタ 11 調停回路 21 クロック優先度情報 22 外部クロック監視情報 23 シーケンス情報 1 Communication Node 2 0 System Transmission Line IF Unit 3 1 System Transmission Line IF Unit 4 CLK Unit 5 CSEL Unit 6 Selector 7 Dividing Circuit 8 PLO 9 Detector Circuit 10 Register 11 Arbitration Circuit 21 Clock Priority Information 22 External Clock Monitoring Information 23 Sequence information

───────────────────────────────────────────────────── フロントページの続き (72)発明者 廣目 正志 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Masashi Hirome 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Fujitsu Limited

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 マスタ局とスレーブ局からなる複数のノ
ードを第1と第2の伝送路でループ状に接続することに
よりネットワークを構成し、マスタ局のノードから第1
と第2の伝送路にクロックを送出し、スレーブ局のノー
ドでは第1と第2の伝送路から得られた2つのクロック
から1つを選択し、そのクロックに従って通信データの
フレームを伝送路に周回させ、それにより各ノードでフ
レームの送受信を行うループ型LANにおいて、 全てのノードにマスタ局となるための優先順位をクロッ
ク優先度としてあらかじめ設定しておき、 そのクロック優先度をフレームに書き込んで伝送路に送
出し、 各ノードが伝送路からフレームを受信したときには、フ
レームに書き込まれているクロック優先度と自ノードの
クロック優先度とを比較して、フレームに書き込まれて
いるクロック優先度を最も高いクロック優先度に順次更
新してゆき、 各ノードでは、伝送路からフレームを受信したときに
は、フレームに書き込まれているクロック優先度を自ノ
ードのクロック優先度と比較することにより、第1の伝
送路から得られたクロックと第2の伝送路から得られた
クロックと自ノードのクロックから1つのクロックを選
択し、 選択したクロックに従ってネットワークの同期を確立す
る、ことからなるクロック供給切替え方式。
1. A network is constructed by connecting a plurality of nodes consisting of a master station and a slave station in a loop with first and second transmission lines, and the nodes from the master station to the first station
And a clock to the second transmission line, the slave station node selects one from the two clocks obtained from the first and second transmission lines, and sends a frame of communication data to the transmission line according to the clock. In a loop-type LAN in which the nodes are circulated and thereby transmit and receive frames at each node, the priority order to become the master station is set in advance as clock priority for all nodes, and the clock priority is written in the frame. When sending out to the transmission line and each node receiving the frame from the transmission line, the clock priority written in the frame is compared with the clock priority of the own node to determine the clock priority written in the frame. It updates sequentially to the highest clock priority, and each node writes the frame when it receives it from the transmission line. By comparing the built-in clock priority with the clock priority of the own node, one clock is obtained from the clock obtained from the first transmission line, the clock obtained from the second transmission line, and the clock of the own node. A clock supply switching method consisting of selecting a clock and establishing network synchronization according to the selected clock.
【請求項2】 特定のノードに外部網から外部クロック
を供給し、 外部クロックが供給されるノードでは、伝送路からフレ
ームを受信したときには、フレームに書き込まれている
クロック優先度を自ノードのクロック優先度と比較する
ことにより、第1の伝送路から得られたクロックと第2
の伝送路から得られたクロックと外部クロックから1つ
のクロックを選択し、 選択したクロックに従ってネットワークの同期を確立す
る、ことからなる請求項1記載のクロック供給切替え方
式。
2. An external clock is supplied to a specific node from an external network, and a node to which the external clock is supplied, when receiving a frame from a transmission line, sets the clock priority written in the frame to the clock of its own node. By comparing with the priority, the clock obtained from the first transmission line and the second
2. The clock supply switching system according to claim 1, further comprising: selecting one clock from the clock obtained from the transmission line and the external clock, and establishing network synchronization according to the selected clock.
JP17700492A 1992-07-03 1992-07-03 Clock supply switching method Expired - Fee Related JP3241104B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17700492A JP3241104B2 (en) 1992-07-03 1992-07-03 Clock supply switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17700492A JP3241104B2 (en) 1992-07-03 1992-07-03 Clock supply switching method

Publications (2)

Publication Number Publication Date
JPH0621955A true JPH0621955A (en) 1994-01-28
JP3241104B2 JP3241104B2 (en) 2001-12-25

Family

ID=16023494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17700492A Expired - Fee Related JP3241104B2 (en) 1992-07-03 1992-07-03 Clock supply switching method

Country Status (1)

Country Link
JP (1) JP3241104B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6680903B1 (en) 1998-07-10 2004-01-20 Matsushita Electric Industrial Co., Ltd. Network system, network terminal, and method for specifying location of failure in network system
JP2013514688A (en) * 2009-12-17 2013-04-25 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Synchronization network configuration with synchronization trail for time synchronization and frequency synchronization
JP2015126331A (en) * 2013-12-26 2015-07-06 Necプラットフォームズ株式会社 Communication device, communication system, communication method and program
US11381333B2 (en) 2018-09-21 2022-07-05 Mitsubishi Electric Corporation Communication apparatus, communication system, communication method, and computer readable medium
US11689347B2 (en) 2018-09-21 2023-06-27 Mitsubishi Electric Corporation Communication apparatus, communication system, communication method, and computer readable medium
US11757608B2 (en) 2018-09-21 2023-09-12 Mitsubishi Electric Corporation Communication apparatus, communication system, communication method, and computer readable medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6680903B1 (en) 1998-07-10 2004-01-20 Matsushita Electric Industrial Co., Ltd. Network system, network terminal, and method for specifying location of failure in network system
JP2013514688A (en) * 2009-12-17 2013-04-25 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Synchronization network configuration with synchronization trail for time synchronization and frequency synchronization
JP2015126331A (en) * 2013-12-26 2015-07-06 Necプラットフォームズ株式会社 Communication device, communication system, communication method and program
US11381333B2 (en) 2018-09-21 2022-07-05 Mitsubishi Electric Corporation Communication apparatus, communication system, communication method, and computer readable medium
US11689347B2 (en) 2018-09-21 2023-06-27 Mitsubishi Electric Corporation Communication apparatus, communication system, communication method, and computer readable medium
US11757608B2 (en) 2018-09-21 2023-09-12 Mitsubishi Electric Corporation Communication apparatus, communication system, communication method, and computer readable medium

Also Published As

Publication number Publication date
JP3241104B2 (en) 2001-12-25

Similar Documents

Publication Publication Date Title
US5870441A (en) Distributed clocking system
US4709365A (en) Data transmission system and method
US7372804B2 (en) Multiplex communication system and method
EP0321907B1 (en) Duplex system of transmission lines in a loop network
JPH0621955A (en) Clock supply switching system
JP2001186159A (en) Ring transmission system and its squelch method
US7660237B2 (en) Synchronous clock supply system and synchronous clock supply method
JP2001358736A (en) Ring network system
JPH01208047A (en) Clock supplying system
JPH0697945A (en) Transmitting signal non-instantaneous disconnection communicating equipment
JPH07107105A (en) Subordinate synchronization control method for duplex loop lan
JPH10322379A (en) Clock path changeover method
JPH06125354A (en) Network synchronization setting system in loop lan
JP2609834B2 (en) Clock switching method in ring network
JP2636936B2 (en) Clock path configuration method in duplex ring network
KR0152229B1 (en) Low price duplication node
JPH0818590A (en) Loop communication system
JP4187480B2 (en) Clock synchronous switching device
JP3450222B2 (en) Clock switching method in ring network
JPS6276839A (en) Data transfer control system
JP3229993B2 (en) Frame pulse switching circuit
JP2003008597A (en) Clock path changeover method
JPS60160245A (en) Loop control system
JP2000049841A (en) Communication system
CN117081980A (en) Self-loop detection method, device, equipment and medium for MLAG environment

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010925

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071019

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees