JP2005286720A - Network time synchronizing method - Google Patents

Network time synchronizing method Download PDF

Info

Publication number
JP2005286720A
JP2005286720A JP2004098206A JP2004098206A JP2005286720A JP 2005286720 A JP2005286720 A JP 2005286720A JP 2004098206 A JP2004098206 A JP 2004098206A JP 2004098206 A JP2004098206 A JP 2004098206A JP 2005286720 A JP2005286720 A JP 2005286720A
Authority
JP
Japan
Prior art keywords
slave
master
route
clock
node
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
JP2004098206A
Other languages
Japanese (ja)
Other versions
JP4046096B2 (en
Inventor
Keita Tabata
慶太 田畑
Yoji Kishi
洋司 岸
Satoshi Konishi
聡 小西
Shinichi Nomoto
真一 野本
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.)
KDDI Research Inc
Original Assignee
KDDI R&D Laboratories Inc
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 KDDI R&D Laboratories Inc filed Critical KDDI R&D Laboratories Inc
Priority to JP2004098206A priority Critical patent/JP4046096B2/en
Publication of JP2005286720A publication Critical patent/JP2005286720A/en
Application granted granted Critical
Publication of JP4046096B2 publication Critical patent/JP4046096B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network time synchronizing method in which a tree form seen from a root is considered to shorten a synchronizing focusing time. <P>SOLUTION: The network time synchronizing method includes a step of synchronizing the clock of a slave with the synchronizing clock of a master in which the function of a communication unit of opposed one node is the master and the function of the communication unit of the other node is as the slave, and a step of synchronizing the clock of the master with the clock of the slave in the node that the master and the slaver are contained. The network time synchronizing method further includes a first step of acquiring the number of subordinate clock synchronizing under the master and the slave by the master and the slave, and a second step of synchronizing the clock of the master with the clock of the slave having the maximum number of the subordinate clock for the node containing the master and the slave. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ノードが分散配置されたネットワークの時刻同期方法に関する。   The present invention relates to a time synchronization method for a network in which nodes are distributed.

メッシュ型通信ネットワークにおける時刻同期方法として、管理ノードを必要とすることなく、ノード間の時刻同期をネットワーク全体で自律分散的に確立する技術がある(例えば特許文献1参照)。メッシュ型通信ネットワークとは、複数のノードNがメッシュ状に分散配置され、各ノードが少なくとも1つの通信装置を含み、対向するノードがそれぞれの通信装置間にリンクを確立しているものをいう。このような技術は、各ノードが対向ノードとの間でのみ同期を確立しつつ、全体として複数のノードを順次にツリー状に構成する。従って、部分的なノード障害があった場合でも、リンクで接続された範囲内でツリーを維持することが可能となる。   As a time synchronization method in a mesh communication network, there is a technique for establishing time synchronization between nodes in an autonomous and distributed manner without requiring a management node (see, for example, Patent Document 1). The mesh communication network is a network in which a plurality of nodes N are distributed and arranged in a mesh shape, each node includes at least one communication device, and opposing nodes establish a link between the communication devices. In such a technique, each node establishes synchronization only with an opposite node, and a plurality of nodes are sequentially configured in a tree shape as a whole. Therefore, even when there is a partial node failure, it is possible to maintain the tree within the range connected by the link.

例えば、特許文献1に基づく技術は、対向する一方のノードの通信装置の機能をマスタとし、他方のノードの通信装置の機能をスレーブとして、マスタの同期用クロックにスレーブのクロックを同期させる。リンクを介して対向するマスタとスレーブとの関係は、両者間のネゴシエーションにより、入れ替わることができる。また、マスタ及びスレーブが収容されているノードは、スレーブのクロックにマスタのクロックを同期させる。   For example, the technology based on Patent Document 1 synchronizes the slave clock with the master synchronization clock, with the function of the communication device of one opposite node as the master and the function of the communication device of the other node as the slave. The relationship between the master and slave facing each other via the link can be switched by negotiation between the two. The node in which the master and the slave are accommodated synchronizes the master clock with the slave clock.

このようにして同期のとれたリンクに繋がる複数のマスタのうち、クロック供給源として機能するマスタをルートと定義して、複数のノードをツリー状に構成する。ルートRは、同期の確立されているツリー内に唯一存在するものとする。   Among the plurality of masters connected to the synchronized link in this way, a master functioning as a clock supply source is defined as a root, and a plurality of nodes are configured in a tree shape. Root R is assumed to exist only in a tree in which synchronization is established.

尚、メッシュ型通信ネットワークについて、全てのノードが同期しているとは限らず、複数の時刻同期ツリーが存在することとなる。また、1つのノードに複数の通信装置が存在していても、必ず全てのクロックが同期しているとは限らない。この場合、1つのノードが異なるツリーに属することとなる。   In the mesh communication network, not all nodes are synchronized, and a plurality of time synchronization trees exist. Even if a plurality of communication devices exist in one node, not all clocks are always synchronized. In this case, one node belongs to a different tree.

特開2003−273849号公報Japanese Patent Laid-Open No. 2003-274349

しかしながら、特許文献1の時刻同期方法によれば、各ノードのクロックに事前に設定されている優先度のみを用いて、いずれのクロックに同期するかが決定されていた。従って、ルートから見たツリーの形を考慮することができないために、偏ったツリーとなる場合があった。このようなツリーは、収束時間が増加し、ルートからの従属同期を実現する上で効率の悪いものである。   However, according to the time synchronization method of Patent Document 1, it is determined which clock to synchronize using only the priority set in advance for the clock of each node. Therefore, the tree shape seen from the root cannot be taken into account, so that there is a case where the tree is biased. Such a tree has an increased convergence time and is inefficient in realizing dependent synchronization from the root.

そこで、本発明は、同期収束時間を短縮するために、ルートから見たツリーの形を考慮した、ネットワークの時刻同期方法を提供することを目的とする。   Accordingly, an object of the present invention is to provide a network time synchronization method that takes into consideration the shape of a tree viewed from the root in order to shorten the synchronization convergence time.

本発明が対象とするネットワークにおける時刻同期方法は、複数のノードが分散配置され、各ノードが少なくとも1つの通信装置を含み、対向するノードがそれぞれの通信装置間にリンクを確立するネットワークにあって、対向する一方のノードの通信装置の機能をマスタとし、他方のノードの通信装置の機能をスレーブとして、マスタの同期用クロックにスレーブのクロックを同期させるステップと、マスタ及びスレーブが収容されているノードは、スレーブのクロックにマスタのクロックを同期させるステップとを有し、同期のとれたリンクに繋がる複数のマスタのうち、クロック供給源として機能するマスタをルートと定義して、複数のノードをツリー状に構成したネットワークにおけるものである。   A time synchronization method in a network targeted by the present invention is a network in which a plurality of nodes are distributed and each node includes at least one communication device, and an opposite node establishes a link between the communication devices. The function of the communication device of one of the opposing nodes is a master, the function of the communication device of the other node is a slave, the step of synchronizing the slave clock to the master synchronization clock, and the master and slave are accommodated The node has a step of synchronizing the master clock to the slave clock, and among the plurality of masters connected to the synchronized link, the master functioning as a clock supply source is defined as a root, and the plurality of nodes are defined. In a network configured in a tree shape.

本発明におけるネットワークの時刻同期方法は、
マスタ及びスレーブが、ルートの配下で同期するルート配下クロック数を取得する第1のステップと、
マスタ及びスレーブが収容されたノードについて、最大ルート配下クロック数を有するスレーブのクロックに、マスタのクロックを同期させる第2のステップと
を有することを特徴とする。
The network time synchronization method according to the present invention includes:
A first step in which the master and the slave acquire the number of clocks under the route synchronized under the route;
The node in which the master and the slave are accommodated includes a second step of synchronizing the master clock to the slave clock having the maximum number of clocks under the root.

また、本発明の時刻同期方法における他の実施形態によれば、第2のステップは、
最大ルート配下クロック数を有するスレーブ以外のスレーブが、当該スレーブに対向するマスタと機能を交換することにより、当該スレーブをマスタに変更し、マスタであったものをスレーブに変更するステップと、
変更されたマスタのクロックを、最大ルート配下クロック数を有するスレーブのクロックに同期させるステップとを更に有することも好ましい。
According to another embodiment of the time synchronization method of the present invention, the second step is:
A slave other than the slave having the maximum number of clocks under the root route exchanges the function with the master facing the slave, thereby changing the slave to the master, and changing the master to the slave; and
Preferably, the method further comprises the step of synchronizing the changed master clock with the slave clock having the maximum number of clocks under the root.

更に、本発明の時刻同期方法における他の実施形態によれば、第1のステップは、ノードにマスタが収容されていない場合、当該ノードに収容されたスレーブをリーフと定義し、
リーフが、配下クロック数を1とするホップ数通知メッセージを、当該リーフのマスタとなる上位ノードへ送信するステップと、
ホップ数通知メッセージを受信したマスタが、該メッセージに含まれる配下クロック数の合計を保持し、合計された配下クロック数を含むホップ数通知メッセージをマスタとなる上位ノードへ送信するステップと
ホップ数通知メッセージを受信したルートが、該メッセージに含まれる配下クロック数の合計を保持し、合計されたルート配下クロック数を含むルートID通知メッセージを下位ノードへ送信するステップと、
ルートID通知メッセージを受信したマスタ及びスレーブが、該メッセージに含まれるルート配下クロック数を保持するステップと
を更に有することも好ましい。
Further, according to another embodiment of the time synchronization method of the present invention, when the master is not accommodated in the node, the first step defines the slave accommodated in the node as a leaf,
The leaf transmits a hop count notification message with a subordinate clock count of 1 to the upper node that is the master of the leaf;
The master that has received the hop count notification message holds the total number of subordinate clocks included in the message, and transmits a hop count notification message including the total subordinate clock counts to the upper node that is the master, and hop count notification The route that received the message holds the total number of subordinate clocks included in the message, and transmits a route ID notification message including the total number of subordinate clocks to the lower node;
It is also preferable that the master and the slave that have received the route ID notification message further include a step of holding the number of clocks under the route included in the message.

更に、本発明の時刻同期方法における他の実施形態によれば、
第1のステップについて、マスタ及びスレーブがそれぞれ、当該ノードからルートまでのルートホップ数を更に取得し、
第2のステップについて、マスタ及びスレーブのルート配下クロック数が同じ場合、最小ルートホップ数を有するスレーブのクロックに、マスタのクロックを同期させることも好ましい。
Furthermore, according to another embodiment of the time synchronization method of the present invention,
For the first step, the master and slave each further acquire the number of route hops from the node to the route,
Regarding the second step, when the number of clocks under the route of the master and slave is the same, it is also preferable to synchronize the master clock with the clock of the slave having the minimum number of route hops.

更に、本発明の時刻同期方法における他の実施形態によれば、
第2のステップについて、最小ルートホップ数を有するスレーブ以外のスレーブであって、最小ルートホップ数よりも2以上多いルートホップ数を有するスレーブについて、当該スレーブに対向するマスタと機能を交換することにより、当該スレーブをマスタに変更し、マスタであったものをスレーブに変更するステップと、
変更されたマスタのクロックを、最小ルートホップ数を有するスレーブのクロックに同期させるステップとを更に有することも好ましい。
Furthermore, according to another embodiment of the time synchronization method of the present invention,
For the second step, for a slave other than the slave having the minimum number of root hops and having a number of root hops greater than or equal to the minimum number of root hops by exchanging functions with a master facing the slave Changing the slave to a master and changing the master to a slave;
Preferably, the method further comprises the step of synchronizing the changed master clock to the slave clock having the minimum number of route hops.

更に、本発明の時刻同期方法における他の実施形態によれば、
ルートが、ルートホップ数を0とするルートID通知メッセージを、当該ルートのスレーブとなる下位ノードへ送信するステップと、
ルートID通知メッセージを受信したスレーブが、該メッセージに含まれるルートホップ数を保持し、1増分したルートホップ数を含むルートID通知メッセージを、スレーブとなる下位ノードへ送信するステップとを更に有することも好ましい。
Furthermore, according to another embodiment of the time synchronization method of the present invention,
A route transmitting a route ID notification message in which the number of route hops is 0 to a lower node that is a slave of the route;
The slave that has received the route ID notification message further has a step of holding the number of route hops included in the message and transmitting a route ID notification message including the number of route hops incremented by one to a lower-level node that is a slave. Is also preferable.

また、本発明におけるネットワークの時刻同期方法は、
マスタ及びスレーブがそれぞれ、当該ノードからルートまでのルートホップ数を取得する第1のステップと、
マスタ及びスレーブが収容されたノードについて、最小ルートホップ数を有するスレーブのクロックに、最小ルートホップ数よりも2以上多いルートホップ数を有するマスタのクロックを同期させる第2のステップと
を有することを特徴とする。
Also, the network time synchronization method in the present invention is:
A first step in which each of the master and the slave obtains the number of route hops from the node to the route;
A second step of synchronizing a master clock having a number of root hops greater than or equal to the minimum number of root hops with a clock of a slave having a minimum number of root hops for a node in which the master and slave are accommodated; Features.

また、本発明の時刻同期方法における他の実施形態によれば、
第2のステップは、
最小ルートホップ数を有するスレーブ以外のスレーブであって、最小ルートホップ数よりも2以上多いルートホップ数を有するスレーブについて、当該スレーブに対向するマスタと機能を交換することにより、スレーブをマスタに変更し、マスタであったものをスレーブに変更するステップと、
変更されたマスタのクロックを、最小ルートホップ数を有するスレーブのクロックに同期させるステップと
を更に有することも好ましい。
According to another embodiment of the time synchronization method of the present invention,
The second step is
For a slave other than the slave having the minimum number of root hops, and having a number of root hops that is two or more greater than the minimum number of root hops, the slave is changed to the master by exchanging the function with the master facing the slave. And changing the master to the slave,
Preferably, the method further comprises the step of synchronizing the changed master clock to the slave clock having the minimum number of route hops.

更に、本発明の時刻同期方法における他の実施形態によれば、
第1のステップは、
ルートが、ルートホップ数を0とするルートID通知メッセージを、当該ルートのスレーブとなる下位ノードへ送信するステップと、
ルートID通知メッセージを受信したスレーブが、該メッセージに含まれるルートホップ数を保持し、1増分したルートホップ数を含むルートID通知メッセージを、スレーブとなる下位ノードへ送信するステップと
を更に有することも好ましい。
Furthermore, according to another embodiment of the time synchronization method of the present invention,
The first step is
A route transmitting a route ID notification message in which the number of route hops is 0 to a lower node that is a slave of the route;
The slave that has received the route ID notification message further has a step of holding the number of route hops included in the message and transmitting a route ID notification message including the number of route hops incremented by one to a lower-level node that is a slave. Is also preferable.

更に、本発明におけるネットワークの時刻同期方法は、
ルートは、当該ルートを収容するノードとリンクを介して同期するスレーブ毎に、ツリーの末端に位置するスレーブであるリーフまでのリーフホップ数を取得する第1のステップと、
ルートが収容されたノードについて、繋がっている複数のスレーブのうち、最小リーフホップ数よりも2以上多いリーフホップ数を有するスレーブが存在する場合、当該ルートが、最小リーフホップ数を有するスレーブと機能を交換することにより、当該ルートをスレーブに変更し、スレーブであったものをルートに変更する第2のステップと、
スレーブのクロックを、ルートのクロックに同期させる第3のステップと
を有することを特徴とする。
Furthermore, the network time synchronization method according to the present invention includes:
A root is obtained for each slave that synchronizes via a link with a node that accommodates the route, a first step of obtaining the number of leaf hops to a leaf that is a slave located at the end of the tree;
When there is a slave having two or more leaf hops more than the minimum number of leaf hops among a plurality of slaves connected to the node in which the route is accommodated, the route functions as a slave having the minimum number of leaf hops. A second step of changing the route to a slave and changing what was a slave to a route by exchanging
And a third step of synchronizing the slave clock with the root clock.

本発明の時刻同期方法における他の実施形態によれば、ルートが収容されたノードに更にマスタが収容されていた場合、機能を交換されたスレーブのクロックに、マスタのクロックを同期させる第4のステップを更に有することも好ましい。   According to another embodiment of the time synchronization method of the present invention, when the master is further accommodated in the node where the route is accommodated, the master clock is synchronized with the clock of the slave whose function is exchanged. It is also preferable to further include a step.

また、本発明の時刻同期方法における他の実施形態によれば、第1のステップは、
リーフが、リーフホップ数を1とするリーフホップ数通知メッセージを、当該リーフのマスタとなる上位ノードへ送信するステップと、
リーフホップ数通知メッセージを受信したマスタが、該メッセージに含まれるリーフホップ数を保持し、1増分したリーフホップ数を含むリーフホップ数通知メッセージをマスタとなる上位ノードへ送信するステップとを更に有することも好ましい。
According to another embodiment of the time synchronization method of the present invention, the first step is:
A leaf transmits a leaf hop count notification message with a leaf hop count of 1 to an upper node serving as a master of the leaf;
The master that has received the leaf hop count notification message further has a step of holding the leaf hop count included in the message and transmitting the leaf hop count notification message including the leaf hop count incremented by 1 to the master upper node. It is also preferable.

本発明におけるネットワークの時刻同期方法によれば、同期収束時間を短縮するために、ルートから見たツリーの形を考慮することができる。配下クロック数が多いツリーのクロックに従属することができ、またルートまでのホップ数が少ないクロックに従属することができるので、ジッタを抑制することができ、正確な同期タイミングを実現することができる。更に、ルートが、ツリーの最適な位置に移動することにより、ツリー全体のホップ数を短縮することもできる。本発明によれば、特定の管理ノードを必要とせず、各ノードが時刻同期のために自律分散的に動作する。   According to the network time synchronization method of the present invention, the shape of the tree seen from the root can be considered in order to shorten the synchronization convergence time. Since it can be subordinate to the clock of the tree with a large number of subordinate clocks, and can be subordinate to the clock with a small number of hops to the root, jitter can be suppressed and accurate synchronization timing can be realized. . Furthermore, the number of hops in the entire tree can be shortened by moving the route to the optimum position in the tree. According to the present invention, no specific management node is required, and each node operates in an autonomous distributed manner for time synchronization.

特に、ネットワークトポロジの変化に柔軟に対応して、同期ネットワークを自律分散的に構成又は維持することができるので、無線局の移動を想定したノーマディック/アドホックネットワークへの用途に有効である。また、本発明におけるツリーの構築技術は、無線に限られず、インターネットのような有線網にも適用できる。例えばNTP(Network Time Protocol)のような時刻同期方式においても、事前に基準ノードやノード間の階層関係を設定することなく、最適なツリーを構成し、同期を維持することが可能となるため、極めて有効である。   In particular, since the synchronous network can be configured or maintained in an autonomous and distributed manner in response to changes in the network topology, it is effective for use in a nomadic / ad hoc network that assumes movement of radio stations. In addition, the tree construction technique in the present invention is not limited to wireless, but can also be applied to a wired network such as the Internet. For example, even in a time synchronization method such as NTP (Network Time Protocol), it is possible to configure an optimal tree and maintain synchronization without setting a hierarchical relationship between reference nodes and nodes in advance. It is extremely effective.

以下では、図面を用いて、本発明の最良の実施形態を詳細に説明する。   Hereinafter, the best embodiment of the present invention will be described in detail with reference to the drawings.

「クロック」とは、リンクを介して終端する通信装置をいい、ルートのクロックRと、マスタのクロックMと、スレーブのクロックSと、リーフのクロックLとがある。
「配下クロック数」Nallとは、自クロックの下位に従属している全クロック数をいう。自クロックに複数のクロックが従属している場合には、従属している各クロックの配下クロック数の和をもって配下クロック数とする。
「ルート配下クロック数」Rallとは、ルートに従属している全クロック数をいう。各クロックが保持し、クロック同期の際の比較対照となる。
「ルートホップ数」Rhopとは、ルートを0としたときのルートから自ノードまでの距離を示すホップ数をいう。
「リーフホップ数」Lhopとは、ツリー末端のスレーブであるリーフを0とした場合、そのリーフから自ノードまでの距離を示すホップ数をいう。自ノードからのリーフが複数存在する場合、その最大ホップ数を自ノードのリーフホップ数とする。
The “clock” refers to a communication device that terminates via a link, and includes a root clock R, a master clock M, a slave clock S, and a leaf clock L.
“Subordinate clock number” Nall means the total number of clocks subordinate to the own clock. When a plurality of clocks are subordinate to the own clock, the subordinate clock number is obtained by adding the subordinate clock numbers of the subordinate clocks.
The “number of clocks under the root” Rall means the total number of clocks subordinate to the root. Each clock holds and serves as a reference for clock synchronization.
The “number of route hops” Rhop is the number of hops indicating the distance from the route to the own node when the route is 0.
The “number of leaf hops” Lhop refers to the number of hops indicating the distance from the leaf to the own node when the leaf that is the slave at the end of the tree is 0. When there are a plurality of leaves from the own node, the maximum number of hops is set as the number of leaf hops of the own node.

新しくツリーを構築する本発明の方法は、各クロックが「ルート配下クロック数」Rall及び「ルートホップ数」Rhopを保持することにより実現する。「ルート配下クロック数」Rallを考慮することにより、ルート配下クロック数が多いクロックに当該ノードが従属することができ、ネットワーク全体での同期確立収束までの時間を短縮することができる。また、「最大ホップ数」Rhopを考慮することにより、リーフまでのホップ数が最小となるツリーに従属することができ、ツリー構造を最適化する、即ち、ツリーの基準ノードから、各ノードへの最大ホップ数を最短にすることができる。   The method of the present invention for constructing a new tree is realized by having each clock hold the “number of clocks under the root” Rall and the “number of root hops” Rhop. By considering the “number of clocks under the route” Rall, the node can be subordinate to a clock with a large number of clocks under the route, and the time until convergence establishment in the entire network can be shortened. Also, by considering the “maximum number of hops” Rhop, it is possible to subordinate to a tree that minimizes the number of hops to the leaf and optimize the tree structure, ie, from the reference node of the tree to each node The maximum number of hops can be minimized.

また、既に構築されたツリーを最適化する本発明の方法は、「ホップ数短縮化方法」と「ルート移動方法」とがある。「ホップ数短縮化方法」とは、自ノード内の複数のクロックの中で、ルートからのホップ数の差が一定以上ある場合、ホップ数の大きなクロックの従属関係を逆転させて従属先を切り替え、自ノードを含めた下位クロックのホップ数を短縮し、ツリーの最大ホップ数を短くするものである。また、「ルート移動方法」とは、一度構築されたツリーにおいて、ツリーの構造は崩さないまま、全体として最適な位置にルートを移動させ、ツリーの最大ホップ数を短くするものである。これは、「ルートスレーブ逆転」及び「ルートマスタ逆転」の2つの動作の連続により、最適な位置までルートを移動させる。   The method of the present invention for optimizing an already constructed tree includes a “hop number shortening method” and a “route moving method”. The "hop count shortening method" is to switch the dependent destination by reversing the dependency relationship of the clock with a large number of hops when the difference in the number of hops from the route is more than a certain value among multiple clocks in the local node. The number of hops of lower clocks including its own node is shortened, and the maximum number of hops in the tree is shortened. The “route moving method” is a method in which, in a tree once constructed, the route is moved to an optimal position as a whole without shortening the tree structure, and the maximum number of hops in the tree is shortened. This moves the route to an optimum position by a series of two operations of “root slave reverse rotation” and “route master reverse rotation”.

これら方法を実現するために、「ルートID通知メッセージ」及び「ホップ数通知メッセージ」が用いられる。   In order to realize these methods, a “route ID notification message” and a “hop number notification message” are used.

「ルートID通知メッセージ」Rmesは、ツリーIDと、ルートホップ数Rhopと、ルート配下クロック数Rallとを含む。このメッセージは、ルートの状態が変化したこと(例えばリンク断等)を下位ノードへ通知するものである。このメッセージを受信したクロックは、これら値(ツリーID、Rhop及びRall)とを保持し、ルートホップ数Rhopを1増分して、下位クロックに対してルートID通知メッセージを送信する。   The “root ID notification message” Rmes includes a tree ID, a root hop count Rhop, and a root subordinate clock count Rall. This message notifies a lower node that the route state has changed (for example, link disconnection or the like). The clock that has received this message holds these values (tree ID, Rhop, and Rall), increments the number of root hops Rhop by 1, and transmits a route ID notification message to the lower clock.

「ホップ数通知メッセージ」Hmesは、リーフホップ数Lhopと、配下クロック数Nallとを含む。このメッセージは、リンク独立や、ツリーIDの変更によりホップ数が変化したことを上位ノードへ通知するものである。このメッセージを受信したクロックは、これら値(Lhop及びNall)を保持し、リーフホップ数Lhopを1増分し、配下クロック数を再加算して、上位クロックに対してホップ数通知メッセージを送信する。   The “hop count notification message” Hmes includes a leaf hop count Lhop and a subordinate clock count Nall. This message notifies the upper node that the number of hops has changed due to link independence or tree ID change. The clock that has received this message retains these values (Lhop and Nall), increments the leaf hop number Lhop by 1, re-adds the subordinate clock number, and transmits a hop number notification message to the upper clock.

図1は、本発明におけるメッセージの送受信を表すツリー構成図である。   FIG. 1 is a tree configuration diagram showing message transmission and reception in the present invention.

図1によれば、ノードN0内で、マスタM0がルートRに同期している。ノードN10のスレーブS1は、上位ノードN0のルートRと同期し、ノードN11のスレーブS1は、上位ノードN0のマスタM0と同期している。また、ノードN10について、3つのマスタM1は、スレーブS1に同期している。マスタM1は、ノードN10の下位ノードN21〜N23のスレーブS2から同期されている。   According to FIG. 1, the master M0 is synchronized with the route R in the node N0. The slave S1 of the node N10 is synchronized with the route R of the upper node N0, and the slave S1 of the node N11 is synchronized with the master M0 of the upper node N0. For the node N10, the three masters M1 are synchronized with the slave S1. The master M1 is synchronized with the slave S2 of the lower nodes N21 to N23 of the node N10.

ノードの各クロック(マスタM、スレーブS、ルートR及びリーフL)は、Rhop「ルートホップ数」と、Lhop「リーフホップ数」と、Nall「配下クロック数」と、Rall「ルート配下クロック数」とを保持する。   Each node clock (master M, slave S, route R, and leaf L) has Rhop “number of root hops”, Lhop “number of leaf hops”, Nall “number of subordinate clocks”, and Rall “number of clocks under subordinate route”. And hold.

ノードN0は、下位ノードN10及びN11へ、ルートID通知メッセージRmes(ID,Rhop,Rall)を送信する。ノードN0が送信するルートID通知メッセージRmesのルートホップ数Rhopは0である。   The node N0 transmits a route ID notification message Rmes (ID, Rhop, Rall) to the lower nodes N10 and N11. The route hop count Rhop of the route ID notification message Rmes transmitted by the node N0 is zero.

ノードN10のスレーブS1は、ルートID通知メッセージRmesに応答して、ACKをノードN0へ送信する。ノードN0のスレーブS1は、ルートID通知メッセージRmesの受信によって、ルートホップ数0に1増分して保持する。更に、スレーブS1に同期している各マスタM1は、同様にルートホップ数Rhop=1を保持し、更に、下位ノードN21〜N23へ、ルートホップ数Rhop=1としたルートID通知メッセージRmesを送信する。これに対し、ノードN10は、下位ノードN21〜N23からACKを受信する。   In response to the route ID notification message Rmes, the slave S1 of the node N10 transmits ACK to the node N0. The slave S1 of the node N0 retains the route hop number 0 incremented by 1 by receiving the route ID notification message Rmes. Further, each master M1 synchronized with the slave S1 similarly holds the route hop count Rhop = 1, and further transmits a route ID notification message Rmes with the root hop count Rhop = 1 to the lower nodes N21 to N23. To do. On the other hand, the node N10 receives ACK from the lower nodes N21 to N23.

このように、ルートRから送信されたルートID通知メッセージRmesは、上位から下位へ中継されながら、リーフまで到達する。これに応答して、リーフは、ホップ数通知メッセージHmes(Lhop,Nall)を上位ノードへ送信する。リーフが送信するホップ数通知メッセージHmesは、リーフホップ数Lhopが0であり、配下クロック数Nallが1である。   Thus, the route ID notification message Rmes transmitted from the route R reaches the leaf while being relayed from the upper level to the lower level. In response to this, the leaf transmits a hop number notification message Hmes (Lhop, Nall) to the upper node. In the hop count notification message Hmes transmitted by the leaf, the leaf hop count Lhop is 0 and the subordinate clock count Nall is 1.

ノードN10のマスタM1が、ノードN21から、ホップ数通知メッセージHmes(Lhop=5,Nall=10)を受信する。このとき、マスタM1は、リーフホップ数5に1増分して保持し、配下クロック数10に1増分して保持する。更に、マスタM1が同期しているスレーブS1は、全てのマスタM1の中で最大リーフホップ数を保持する。ここでは、3つのマスタM1の中で、最大リーフホップ数は7である。また、スレーブS1は、全てのマスタM1について配下クロック数の合計値(11+10+15=36)と、当該ノードN10の中のクロック数(スレーブ1+マスタ3=4)との和となる配下クロック数40を保持する。   The master M1 of the node N10 receives the hop count notification message Hmes (Lhop = 5, Nall = 10) from the node N21. At this time, the master M1 retains the leaf hop number incremented by 1 and retains the subordinate clock count of 10 incremented by one. Furthermore, the slave S1 with which the master M1 is synchronized holds the maximum number of leaf hops among all the masters M1. Here, among the three masters M1, the maximum number of leaf hops is seven. In addition, the slave S1 sets a subordinate clock number 40 that is the sum of the total number of subordinate clocks (11 + 10 + 15 = 36) and the number of clocks in the node N10 (slave 1 + master 3 = 4) for all masters M1. Hold.

ノードN0のマスタM0は、ノードN11からホップ数通知メッセージHmes(Lhop=5,Nall=8)を受信している。これにより、マスタM0は、受信したリーフホップ数5に1増分したリーフホップ数6を保持する。また、マスタM0は、受信した配下クロック数8に、自身のクロック数1との和である配下クロック数9を保持する。   The master M0 of the node N0 has received the hop count notification message Hmes (Lhop = 5, Nall = 8) from the node N11. As a result, the master M0 holds the leaf hop number 6 which is incremented by 1 to the received leaf hop number 5. Further, the master M0 holds the subordinate clock number 9 which is the sum of the received subclock number 8 and its own clock number 1.

最後に、ノードN0のルートRは、ノードN10のスレーブS1からホップ数通知メッセージHmes(Lhop=7,Nall=40)を受信する。これにより、ルートRは、マスタM0との関係から、受信したリーフホップ数の最大値(7>6)に1増分したリーフホップ数8を保持する。また、ルートRは、受信した配下クロック数の合計値(40+9)と、自身のクロック数1との和である配下クロック数50を保持する。   Finally, the route R of the node N0 receives the hop count notification message Hmes (Lhop = 7, Nall = 40) from the slave S1 of the node N10. As a result, the route R retains the leaf hop count 8 incremented by 1 to the maximum value (7> 6) of the received leaf hop count from the relationship with the master M0. In addition, the route R holds a subordinate clock number 50 that is the sum of the total number (40 + 9) of the received subordinate clock numbers and its own clock number 1.

このように、ルートID通知メッセージRmesとホップ数通知メッセージHmesとを送受信することによって、各クロックは、所定の値を取得することができる。   As described above, each clock can acquire a predetermined value by transmitting and receiving the route ID notification message Rmes and the hop number notification message Hmes.

図2は、図1の構成について、リンクダウンが発生した場合のツリー構成図である。   FIG. 2 is a tree configuration diagram when a link down occurs in the configuration of FIG.

ノードN23の従属ツリーにおいてリンクダウンが発生し、N23の配下クロック数Nallが8に減少し、リーフホップ数Lhopが3に減少したとする。このとき、ノードN23は、ホップ数通知メッセージHmes(Lhop=3,Nall=8)を、上位ノードN10へ送信する。   Assume that a link down occurs in the subordinate tree of the node N23, the number of clocks Nall subordinate to N23 decreases to 8, and the number of leaf hops Lhop decreases to 3. At this time, the node N23 transmits a hop count notification message Hmes (Lhop = 3, Nall = 8) to the upper node N10.

ホップ数通知メッセージHmesを受信したノードN10のマスタM1は、リーフホップ数3を1増分して保持し、配下クロック数8を保持する。更に、マスタM1が同期しているスレーブS1において、3つのマスタM1の中で最大リーフホップ数は6となる。従って、スレーブS1は、全てのマスタM1について配下クロック数の合計値(11+10+8=29)と、当該ノードN10の中のクロック数4(スレーブ1+マスタ3=4)との和となる配下クロック数33を保持する。   The master M1 of the node N10 that has received the hop count notification message Hmes holds the leaf hop count 3 incremented by 1, and holds the subordinate clock count 8. Further, in the slave S1 with which the master M1 is synchronized, the maximum number of leaf hops among the three masters M1 is six. Therefore, the slave S1 has a subordinate clock number 33 which is the sum of the total number of subordinate clocks (11 + 10 + 8 = 29) and the clock number 4 (slave 1 + master 3 = 4) in the node N10 for all masters M1. Hold.

ノードN10のスレーブS1は、上位ノードN0のルートRへ、ホップ数通知メッセージHmes(Lhop=6、Nall=33)を送信する。これにより、ルートRは、マスタM0との関係から、受信したリーフホップ数の最大値6に1増分したリーフホップ数7を保持する。また、ルートRは、受信した配下クロック数の合計値(33+9)と、自身のクロック数1との和である配下クロック数43を保持する。   The slave S1 of the node N10 transmits a hop count notification message Hmes (Lhop = 6, Nall = 33) to the route R of the upper node N0. As a result, the route R holds the leaf hop count 7 incremented by 1 to the maximum value 6 of the received leaf hop count from the relationship with the master M0. In addition, the route R holds a subordinate clock number 43 that is the sum of the total value (33 + 9) of the received subordinate clock numbers and its own clock number one.

このように、ツリーに変更が生じた場合であっても、ルートID通知メッセージRmesとホップ数通知メッセージHmesとを送受信することによって、各クロックは、所定の値を取得することができる。   As described above, even when a change occurs in the tree, each clock can acquire a predetermined value by transmitting and receiving the route ID notification message Rmes and the hop number notification message Hmes.

図3は、ノードがルートID通知メッセージRmesを受信した場合のフローチャートである。   FIG. 3 is a flowchart when the node receives the route ID notification message Rmes.

(S301)ルートID通知メッセージRmes(ID,Rhop,Rall)を受信した自ノードの上位クロック(スレーブ)は、ツリーID、ルートホップ数Rhop及びルート配下クロック数Rallを更新する。
(S302)当該上位クロックは、ルートID通知メッセージの送信元ノードに対して、ACKを送信する。
(S303)自ノード内に当該上位クロックに従属する他のリンクのマスタが存在するか否かを判定する。即ち、自ノードがリーフノードであるか否かを判定する。
(S304)自ノードがリーフノードでないならば、当該上位クロックに従属している全てのマスタに対して、S305〜S307の処理を実行する。
(S305)当該下位クロック(マスタ)は、ツリーID、ルートホップ数Rhop及びルート配下クロック数Rallを更新する。
(S306)当該下位クロック(マスタ)に同期している下位ノードに対して、ルートホップ数を1増分したルートID通知メッセージを送信する。
(S307)下位ノードからACKを受信する。
(S308)当該上位クロックに従属している全てのマスタに対して、S305〜S307の処理を繰り返す。その後、処理を終了する。
(S309)自ノードがリーフノードであるならば、このルートID通知メッセージが、ホップ数通知メッセージに対して返答されたものであるか否かを判定する。この判定は、メッセージに含まれるフラグによって判定される。ホップ数通知メッセージに対して返答されたものであるならば、処理を終了する。
(S310)ルートID通知メッセージが、ホップ数通知メッセージに対して返答されたものでないならば、上位ノードに対して、ホップ数通知メッセージHmes(Lhop=0,Nall=1)を送信して、処理を終了する。
(S301) The host clock (slave) of the node receiving the route ID notification message Rmes (ID, Rhop, Rall) updates the tree ID, the number of route hops Rhop, and the number of clocks under the route Rall.
(S302) The upper clock transmits ACK to the transmission source node of the route ID notification message.
(S303) It is determined whether or not there is a master of another link subordinate to the upper clock in the own node. That is, it is determined whether or not the own node is a leaf node.
(S304) If the own node is not a leaf node, the processing of S305 to S307 is executed for all masters subordinate to the higher clock.
(S305) The lower clock (master) updates the tree ID, the number of root hops Rhop, and the number of clocks subordinate to the root Rall.
(S306) A route ID notification message in which the number of route hops is incremented by 1 is transmitted to a lower node synchronized with the lower clock (master).
(S307) ACK is received from the lower node.
(S308) The processes of S305 to S307 are repeated for all masters subordinate to the higher clock. Thereafter, the process ends.
(S309) If the local node is a leaf node, it is determined whether or not this route ID notification message is a response to the hop number notification message. This determination is made based on a flag included in the message. If it is a response to the hop number notification message, the process is terminated.
(S310) If the route ID notification message is not a response to the hop number notification message, the hop number notification message Hmes (Lhop = 0, Nall = 1) is transmitted to the upper node and processed. Exit.

図4は、ノードがホップ数通知メッセージHmesを受信した場合のフローチャートである。   FIG. 4 is a flowchart when the node receives the hop count notification message Hmes.

(S401)ホップ数通知メッセージHmes(Lhop,Nall)を受信した自ノードの下位クロック(マスタ又はルート)は、当該下位クロックの保持するリーフホップ数として、通知されたリーフホップ数Lhopに1増分した値を保持する。また、当該下位クロックの保持する配下クロック数として、通知された配下クロック数Nallを保持する。尚、これらの過去の値についても、現在の値との変化を判定するために、一時的に保持しておく。
(S402)リーフホップ数及び配下クロック数について、過去の値と現在の値とに変化が生じたか否かを判定する。変化がなければ、処理を終了する。
(S403)これら値に変化があったならば、当該自ノードに従属しているクロックが存在するか否かを判定する。即ち、自ノードがルートであるか否かについて判定する。
(S404)自ノードがルートでないならば、自ノードの上位クロック(スレーブ)は、当該上位クロックの保持するリーフホップ数として、現在従属している下位クロックのリーフホップ数の最大値を保持する。また、当該上位クロックの保持する配下クロック数として、現在従属している下位クロックの配下クロック数の合計値と、現在従属しているクロック数との和を保持する。尚、これらの過去の値についても、現在の値との変化を判定するために、一時的に保持しておく。
(S405)当該上位クロックが同期している上位ノードが存在するか否かを判定する。
(S406)S403において自ノードがルートであるか、又は、S405において上位ノードが存在するならば、このホップ数通知メッセージが、ルートID通知メッセージに対して返答されたものであるか否かを判定する。この判定は、メッセージに含まれるフラグによって判定される。ルートID通知メッセージに対して返答されたものであるならば、処理を終了する。
(S407)ホップ数通知メッセージが、ルートID通知メッセージに対して返答されたものでないならば、下位ノードに対して、ルートID通知メッセージRmes(ID,Rhop)を送信して、処理を終了する。
(S408)S405において上位ノードが存在しないならば、リーフホップ数及び配下クロック数について、過去の値と現在の値とに変化が生じたか否かを判定する。変化がなければ、処理を終了する。
(S409)リーフホップ数及び配下クロック数について変化があったならば、当該スレーブのクロックが同期している上位ノードに対して、リーフホップ数を1増分した上で、ホップ数通知メッセージHmes(Lhop,Nall)を送信して、処理を終了する。
(S401) The lower clock (master or route) of the own node that has received the hop count notification message Hmes (Lhop, Nall) is incremented by 1 to the notified leaf hop count Lhop as the number of leaf hops held by the lower clock Holds the value. Further, the notified subordinate clock number Nall is held as the subordinate clock number held by the lower clock. These past values are also temporarily held in order to determine a change from the current value.
(S402) With respect to the number of leaf hops and the number of subordinate clocks, it is determined whether or not a change has occurred between a past value and a current value. If there is no change, the process is terminated.
(S403) If there is a change in these values, it is determined whether there is a clock subordinate to the node. That is, it is determined whether or not the node is the root.
(S404) If the own node is not the root, the upper clock (slave) of the own node holds the maximum value of the number of leaf hops of the currently subordinate clock as the number of leaf hops held by the upper clock. Also, as the number of subordinate clocks held by the upper clock, the sum of the total number of subordinate clocks of the currently subordinate lower clock and the number of subordinate clocks currently subordinate is held. These past values are also temporarily held in order to determine a change from the current value.
(S405) It is determined whether there is an upper node with which the upper clock is synchronized.
(S406) If the own node is a route in S403 or if an upper node exists in S405, it is determined whether or not this hop count notification message is a response to the route ID notification message. To do. This determination is made based on a flag included in the message. If it is a response to the route ID notification message, the process is terminated.
(S407) If the hop count notification message is not a response to the route ID notification message, the route ID notification message Rmes (ID, Rhop) is transmitted to the lower node, and the process is terminated.
(S408) If there is no upper node in S405, it is determined whether or not a change has occurred in the past value and the current value for the number of leaf hops and the number of subordinate clocks. If there is no change, the process is terminated.
(S409) If there is a change in the number of leaf hops and the number of subordinate clocks, the number of leaf hops is incremented by 1 for the upper node with which the slave clock is synchronized, and then the hop number notification message Hmes (Lhop , Nall) is transmitted to finish the process.

図5は、ルートID通知メッセージとホップ数通知メッセージとの関係を示す説明図である。   FIG. 5 is an explanatory diagram showing the relationship between the route ID notification message and the hop number notification message.

図5によれば、ノード内においてマスタとスレーブとの間の従属解消をした場合、マスタは、ルートとして機能する。このとき、スレーブは、上位ノードに対してホップ数通知メッセージを送信し、ルートは、下位ノードに対してルートID通知メッセージを送信する。ルートID通知メッセージを受信したリーフノードは、それに応答して上位ノードへホップ数通知メッセージを送信する。また、ホップ数通知メッセージを受信したルートは、それに応答して下位ノードへルートID通知メッセージを送信する。   According to FIG. 5, when the dependency between the master and the slave is resolved in the node, the master functions as a root. At this time, the slave transmits a hop number notification message to the upper node, and the route transmits a route ID notification message to the lower node. The leaf node that has received the route ID notification message transmits a hop number notification message to the upper node in response thereto. In addition, the route that has received the hop number notification message transmits a route ID notification message to the lower node in response thereto.

ルートID通知メッセージとホップ数通知メッセージとは、常に1対1の関係にある。ルートID通知メッセージを送信した場合にはホップ数通知メッセージが送信され、ホップ数通知メッセージが送信された場合にはルートID通知メッセージが送信される。両メッセージには、現在送信されているメッセージが、ルートID通知メッセージによるものなのか、ホップ数通知メッセージによるものなのかを識別するフラグが含まれている。これにより、メッセージが再現なく送信されるのを防ぐ。   The route ID notification message and the hop number notification message are always in a one-to-one relationship. When a route ID notification message is transmitted, a hop number notification message is transmitted, and when a hop number notification message is transmitted, a route ID notification message is transmitted. Both messages include a flag for identifying whether the currently transmitted message is based on a route ID notification message or a hop number notification message. This prevents the message from being transmitted without reproduction.

図6は、本発明におけるクロック同期処理のフローチャートである。   FIG. 6 is a flowchart of clock synchronization processing in the present invention.

(S601)自ノード内で同期のとれていないクロックが存在するか否かを判定する。全てのクロックで同期がとれていれば、S605へ移行する。
(S602)同期のとれていないクロックが存在するならば、全てのクロックのルート配下クロック数Rallが同一か否かを判定する。
(S603)全てのクロックのルート配下クロック数Rallが同一でないならば、ルート配下クロック数が最も大きいスレーブを基準クロックと定義する。その後、ノード内で同期のとれていないクロックを同期対象とする。
(S604)全てのクロックのルート配下クロック数Rallが同一であるならば、ルートホップ数の最も小さいクロックを基準クロックと定義する。その後、ノード内で同期のとれていないクロックを同期対象とする。
(S605)自ノード内で全てのクロックで同期がとれているならば、自ノード内にルートホップ数Rhopが2ホップ以上離れたクロックが存在するか否かを判定する。2ホップ以上離れたクロックが存在しないならば、処理を終了する。
(S606)2ホップ以上離れたクロックが存在するならば、ルートホップ数が最も小さいスレーブを基準クロックと定義する。その後、基準クロックから2ホップ以上離れたクロックを同期対象とする。
(S607)基準クロック以外の全てのクロックについて、S608〜S611の処理を実行する。
(S608)当該クロックがスレーブか否かを判定する。スレーブでない、即ちマスタであれば、S610へ移行する。
(S609)当該クロックがスレーブならば、スレーブ/マスタ交換処理を行う。この方法は、特許文献1に示されたものと同じであり、スレーブと、当該スレーブにリンクを解して対向するマスタとの機能を交換する。これにより、当該クロックは、マスタとなる。
(S610)基準クロックに、当該マスタを同期させる。
(S611)基準クロックに同期した当該マスタは、下位ノードへルートID通知メッセージを送信する。
(S612)他のクロックの全てについてS608〜S611を繰り返す。
(S613)基準クロックとなるスレーブは、上位ノードへホップ数通知メッセージを送信する。
(S601) It is determined whether or not there is an unsynchronized clock in the own node. If all clocks are synchronized, the process proceeds to S605.
(S602) If there is an unsynchronized clock, it is determined whether or not the number of clocks Rall under the root of all the clocks is the same.
(S603) If the root subordinate clock numbers Rall of all the clocks are not the same, the slave having the largest root subordinate clock number is defined as the reference clock. Thereafter, a clock that is not synchronized in the node is set as a synchronization target.
(S604) If the number of clocks Rall under the root of all clocks is the same, the clock having the smallest number of route hops is defined as the reference clock. Thereafter, a clock that is not synchronized in the node is set as a synchronization target.
(S605) If all clocks are synchronized in the own node, it is determined whether or not there is a clock having a root hop count Rhop of 2 hops or more in the own node. If there is no clock that is more than 2 hops away, the process ends.
(S606) If there is a clock that is two or more hops away, the slave with the smallest number of route hops is defined as the reference clock. Thereafter, a clock that is two hops away from the reference clock is set as a synchronization target.
(S607) The processing of S608 to S611 is executed for all clocks other than the reference clock.
(S608) It is determined whether or not the clock is a slave. If it is not a slave, that is, if it is a master, the process proceeds to S610.
(S609) If the clock is a slave, slave / master exchange processing is performed. This method is the same as that disclosed in Patent Document 1, and exchanges the functions of the slave and the master that faces the slave through a link. Thereby, the clock becomes the master.
(S610) The master is synchronized with the reference clock.
(S611) The master synchronized with the reference clock transmits a route ID notification message to the lower node.
(S612) S608 to S611 are repeated for all other clocks.
(S613) The slave serving as the reference clock transmits a hop count notification message to the upper node.

図7は、2ホップ以上離れた場合にのみホップ数を短縮することの説明図である。   FIG. 7 is an explanatory diagram of shortening the number of hops only when two or more hops are away.

図7(1)のように、新たに従属するクロックとの差分が1ホップの場合には、切り替えたとしても、リーフノードまでのホップ数は結局同じである。図7(2)のように、新たに従属するクロックとの差分が2ホップの場合には、リーフノードまでのホップ数は1つ減少する(L3->L2)。図7(3)のように、新たに従属するクロックとの差分が3ホップの場合には、リーフノードまでのホップ数は2つ減少する(L3->L1)。このように、新たに従属するクロックとの差分が2ホップ以上の場合に、ホップ数短縮の効果がある。尚、ホップ数短縮の動作は、リーフだけでなく、マスタが従属しているスレーブに対しても当然に発生する。   As shown in FIG. 7 (1), when the difference from the newly subordinate clock is 1 hop, the number of hops to the leaf node is the same even after switching. As shown in FIG. 7 (2), when the difference from the newly subordinate clock is 2 hops, the number of hops to the leaf node is reduced by 1 (L3-> L2). As shown in FIG. 7 (3), when the difference from the newly subordinate clock is 3 hops, the number of hops to the leaf node is reduced by 2 (L3-> L1). As described above, when the difference from the newly subordinate clock is 2 hops or more, there is an effect of shortening the number of hops. The operation for shortening the number of hops naturally occurs not only for the leaf but also for the slave to which the master is subordinate.

図8は、ノード内におけるホップ数短縮動作の説明図である。   FIG. 8 is an explanatory diagram of the hop number shortening operation in the node.

(S81)ノードN3のスレーブS1は、ノードN1のルートRに同期し、スレーブS1にマスタM1が同期する。そのマスタM1に同一ツリーを介してスレーブS3が同期する。更に、スレーブS3にマスタM3が同期し、マスタM3はノードN2のリーフL4に同期される。
(S82)このとき、ホップ数の最も小さいスレーブS1が基準クロックとなる。最初に、スレーブS3とマスタM1との従属が解消される。次に、従属を解消されたマスタM1は、基準クロックのスレーブS1に従属する。
(S83)次に、従属を解消されたスレーブS3は、リンクを介して対向するマスタM2と機能を交換する。そして、スレーブから交換されたマスタM1は、基準クロックのスレーブS1に従属する。
(S81) The slave S1 of the node N3 is synchronized with the route R of the node N1, and the master M1 is synchronized with the slave S1. The slave S3 synchronizes with the master M1 through the same tree. Further, the master M3 is synchronized with the slave S3, and the master M3 is synchronized with the leaf L4 of the node N2.
(S82) At this time, the slave S1 having the smallest number of hops becomes the reference clock. First, the dependency between the slave S3 and the master M1 is eliminated. Next, the master M1 from which the subordinate has been removed subordinates to the slave S1 of the reference clock.
(S83) Next, the slave S3 whose dependency has been resolved exchanges the function with the master M2 that is opposed through the link. The master M1 exchanged from the slave is subordinate to the slave S1 of the reference clock.

図9は、本発明におけるルート移動のフローチャートである。   FIG. 9 is a flowchart of route movement in the present invention.

(S901)自ノードが、ルートを収容しているか否かを判定する。ルートを収容していなければ、処理を終了する。
(S902)ルートが2つ以上のリンクとツリーを構成しているか否かを判定する。
(S903)ルートに1つのリンクしか存在しない場合、そのルートのリーフホップ数が2以上であるか否かを判定する。2以上でなければ、処理を終了する。
(S904)ルートのリーフホップ数が2以上であれば、当該ルートのリンク先を、ルートの移動対象とする。
(S905)ルートに2以上のリンクが存在する場合、リンク毎のリーフホップ数について、リーフホップ数が大きい上位2つのリーフホップ数の差が2以上であるか否かを判定する。2以上でなければ、処理を終了する。
(S906)リーフホップ数の差が2以上であるならば、最大リーフホップ数となるリンク先を、ルートの移動対象とする。
(S907)移動対象となるリンク先のノードに、マスタが収容されているか否かを判定する。マスタが収容されていなければ、処理を終了する。
(S908)リンク先のノードにマスタが収容されているならば、ルートとマスタとの逆転処理を行う。
(S901) It is determined whether the own node accommodates the route. If the route is not accommodated, the process ends.
(S902) It is determined whether or not the route forms a tree with two or more links.
(S903) When there is only one link in the route, it is determined whether or not the number of leaf hops of the route is 2 or more. If it is not 2 or more, the process is terminated.
(S904) If the number of leaf hops of the route is two or more, the link destination of the route is set as a route movement target.
(S905) When there are two or more links in the route, it is determined whether or not the difference between the number of the top two leaf hops with the largest number of leaf hops is 2 or more with respect to the number of leaf hops for each link. If it is not 2 or more, the process is terminated.
(S906) If the difference in the number of leaf hops is 2 or more, the link destination having the maximum number of leaf hops is set as a route movement target.
(S907) It is determined whether the master is accommodated in the link destination node to be moved. If the master is not accommodated, the process ends.
(S908) If the master is accommodated in the link destination node, the route and the master are reversed.

図10は、ルート移動の説明図である。   FIG. 10 is an explanatory diagram of route movement.

図10に示すように、ルートがツリーの端部分に近寄ることにより、ツリー全体としてのホップ数は大きくならざるを得ない。そこで、ルート/スレーブ逆転と、ルート/マスタ逆転とを繰り返すことにより、ルートをツリーの中央部分に移動させることにより、ルートから見たホップ数を平均化することができる。   As shown in FIG. 10, the number of hops in the entire tree must be increased as the route approaches the end of the tree. Therefore, by repeating the route / slave reversal and the route / master reversal, the number of hops seen from the route can be averaged by moving the route to the center of the tree.

ルートが存在するノードについて、各リンク先からの最大ホップ数に2以上の差分があったときに、ルート移動が行われる。図10について、状態(1)では、ルートは、右に4ホップ、左に0ホップであるため、移動を実行する。状態(2)では、ルート/スレーブの逆転がなされる。状態(3)でも、ルートは右に3ホップ、左に1ホップであるために、2以上の差分があるので更に移動する。状態(4)では、右に2ホップ、左に2ホップであり、ホップに差分がないため、ルート移動を行わない。   For a node having a route, route movement is performed when there is a difference of 2 or more in the maximum number of hops from each link destination. With respect to FIG. 10, in state (1), the route is 4 hops to the right and 0 hops to the left, so movement is performed. In state (2), the root / slave is reversed. Even in state (3), since the route is 3 hops to the right and 1 hop to the left, there is a difference of 2 or more, so the route moves further. In state (4), there are 2 hops to the right and 2 hops to the left, and there is no difference in hops, so no route movement is performed.

ルート移動の動作は、一度の動作でルートが最適な位置に移動するのではなく、1度の動作で移動するのは隣接のノードまでである。隣接ノードに移動後、改めてルート移動の動作が発生し、ホップ数計算の結果移動の必要があると判断すれば、再びルートの移動を行う。   In the route movement operation, the route does not move to an optimal position in one operation, but moves up to an adjacent node in one operation. After moving to an adjacent node, a route movement operation occurs again. If it is determined that movement is necessary as a result of the hop count calculation, the route is moved again.

図11は、ルート/マスタ逆転の説明図である。   FIG. 11 is an explanatory diagram of route / master reverse rotation.

ノードN1にルートとマスタとが収容されているとする。このとき、マスタを一旦ルートとし、右側の同期ツリーを独立させる。その後、左側のルートを、マスタとする。このような動作は、瞬間的に完了するため、独立/従属解消動作を伴わずに実行が可能となる。ノードN1内の2つのルートの同期タイミングはほぼ一致していると考えられるため、この動作はクロック同期処理に比べ短期間で完了できる。   It is assumed that a route and a master are accommodated in the node N1. At this time, the master is temporarily set as a root, and the synchronization tree on the right side is made independent. Then, the left route is set as the master. Since such an operation is completed instantaneously, it can be executed without an independent / subordinate resolution operation. Since the synchronization timings of the two routes in the node N1 are considered to be substantially the same, this operation can be completed in a shorter period of time than the clock synchronization process.

図12は、本発明のホップ数短縮とルート移動との効果の説明図である。   FIG. 12 is an explanatory diagram of the effects of hop count reduction and route movement according to the present invention.

図12(A)は、ホップ数を改善可能なツリー構成図である。これによれば、最長ホップ数は3となる。図12(B)は、図12(A)からホップ数短縮した場合のツリー構成図である。これによれば最長ホップ数は2となる。また、図12(C)は、図12(A)からルート移動した場合のツリー構成図である。これによっても最長ホップ数は2となる。図12(D)のように、ホップ数の差が1だった場合、ホップ数短縮とルート移動とのいずれを行っても効果に違いがない。   FIG. 12A is a tree configuration diagram that can improve the number of hops. According to this, the maximum number of hops is 3. FIG. 12B is a tree configuration diagram when the number of hops is shortened from FIG. According to this, the maximum number of hops is 2. FIG. 12C is a tree configuration diagram when the route is moved from FIG. This also sets the longest hop count to two. If the difference in the number of hops is 1 as shown in FIG. 12D, there is no difference in effect regardless of whether the hop number is shortened or the route is moved.

前述した本発明におけるネットワークの時刻同期方法の種々の実施形態によれば、本発明の技術思想及び見地の範囲の種々の変更、修正及び省略を、当業者は容易に行うことができる。前述の説明はあくまで例であって、何ら制約しようとするものではない。本発明は、特許請求の範囲及びその均等物として限定するものにのみ制約される。   According to the above-described various embodiments of the network time synchronization method of the present invention, those skilled in the art can easily make various changes, modifications, and omissions in the technical idea and scope of the present invention. The above description is merely an example, and is not intended to be restrictive. The invention is limited only as defined in the following claims and the equivalents thereto.

本発明におけるメッセージの送受信を表すツリー構成図である。It is a tree block diagram showing transmission / reception of the message in this invention. 図1の構成について、リンクダウンが発生した場合のツリー構成図である。FIG. 2 is a tree configuration diagram when a link down occurs in the configuration of FIG. 1. ノードがルートID通知メッセージRmesを受信した場合のフローチャートである。It is a flowchart in case a node receives route ID notification message Rmes. ノードがホップ数通知メッセージHmesを受信した場合のフローチャートである。It is a flowchart in case a node receives the hop number notification message Hmes. ルートID通知メッセージとホップ数通知メッセージとの関係を示す説明図である。It is explanatory drawing which shows the relationship between a route ID notification message and a hop number notification message. 本発明におけるクロック同期処理のフローチャートである。5 is a flowchart of clock synchronization processing in the present invention. 2ホップ以上離れた場合にのみホップ数を短縮することの説明図である。It is explanatory drawing of shortening the number of hops only when it leaves | separates 2 hops or more. ノード内におけるホップ数短縮動作の説明図である。It is explanatory drawing of the hop number shortening operation | movement within a node. 本発明におけるルート移動のフローチャートである。It is a flowchart of route movement in the present invention. ルート移動の説明図である。It is explanatory drawing of route movement. ルート/マスタ逆転の説明図である。It is explanatory drawing of route / master reverse rotation. 本発明のホップ数短縮とルート移動との効果の説明図である。It is explanatory drawing of the effect of the hop number shortening and route movement of this invention.

Claims (12)

複数のノードが分散配置され、各ノードが少なくとも1つの通信装置を含み、対向するノードがそれぞれの通信装置間にリンクを確立するネットワークにあって、
対向する一方のノードの通信装置の機能をマスタとし、他方のノードの通信装置の機能をスレーブとして、前記マスタの同期用クロックに前記スレーブのクロックを同期させるステップと、
前記マスタ及び前記スレーブが収容されているノードは、前記スレーブのクロックに前記マスタのクロックを同期させるステップと
を有し、前記同期のとれたリンクに繋がる複数のマスタのうち、クロック供給源として機能するマスタをルートと定義して、前記複数のノードをツリー状に構成したネットワークにおける時刻同期方法において、
前記マスタ及びスレーブが、前記ルートの配下で同期するルート配下クロック数を取得する第1のステップと、
前記マスタ及び前記スレーブが収容されたノードについて、最大ルート配下クロック数を有するスレーブのクロックに、前記マスタのクロックを同期させる第2のステップと
を有することを特徴とするネットワークの時刻同期方法。
In a network in which a plurality of nodes are distributed, each node includes at least one communication device, and opposing nodes establish a link between the respective communication devices,
The function of the communication device of one opposite node as a master, the function of the communication device of the other node as a slave, the step of synchronizing the clock of the slave with the synchronization clock of the master,
The node in which the master and the slave are accommodated has a step of synchronizing the clock of the master with the clock of the slave, and functions as a clock supply source among a plurality of masters connected to the synchronized link In the time synchronization method in the network in which the master to be defined as a root and the plurality of nodes are configured in a tree shape,
A first step in which the master and the slave acquire the number of clocks under the route synchronized under the route;
A network time synchronization method comprising: a second step of synchronizing a clock of the master with a clock of a slave having a maximum number of clocks under the root of the node in which the master and the slave are accommodated.
前記第2のステップは、
前記最大ルート配下クロック数を有するスレーブ以外のスレーブが、当該スレーブに対向するマスタと機能を交換することにより、当該スレーブをマスタに変更し、マスタであったものをスレーブに変更するステップと、
変更された前記マスタのクロックを、前記最大ルート配下クロック数を有する前記スレーブのクロックに同期させるステップと
を更に有することを特徴とする請求項1に記載のネットワークの時刻同期方法。
The second step includes
A slave other than the slave having the maximum number of clocks under the root route exchanges the function with the master facing the slave, thereby changing the slave to a master, and changing the master to a slave; and
The network time synchronization method according to claim 1, further comprising the step of synchronizing the changed master clock with the slave clock having the maximum number of clocks under the maximum route.
前記第1のステップは、
前記ノードに前記マスタが収容されていない場合、当該ノードに収容された前記スレーブをリーフと定義し、
前記リーフが、配下クロック数を1とするホップ数通知メッセージを、当該リーフのマスタとなる上位ノードへ送信するステップと、
前記ホップ数通知メッセージを受信した前記マスタが、該メッセージに含まれる配下クロック数の合計を保持し、合計された配下クロック数を含むホップ数通知メッセージをマスタとなる上位ノードへ送信するステップと、
前記ホップ数通知メッセージを受信した前記ルートが、該メッセージに含まれる配下クロック数の合計を保持し、合計されたルート配下クロック数を含むルートID通知メッセージを下位ノードへ送信するステップと、
前記ルートID通知メッセージを受信した前記マスタ及びスレーブが、該メッセージに含まれるルート配下クロック数を保持するステップと
を更に有することを特徴とする請求項1又は2に記載のネットワークの時刻同期方法。
The first step includes
When the master is not accommodated in the node, the slave accommodated in the node is defined as a leaf,
The leaf sends a hop count notification message with the subordinate clock count to 1 to the upper node that is the master of the leaf;
The master that has received the hop number notification message holds the total number of subordinate clocks included in the message, and transmits a hop number notification message that includes the total subordinate clock number to the upper node serving as a master;
The route that has received the hop number notification message holds the total number of subordinate clocks included in the message, and transmits a route ID notification message including the total number of subordinate clocks to the lower node.
The network time synchronization method according to claim 1, further comprising: a step in which the master and the slave that have received the route ID notification message hold the number of clocks under the route included in the message.
前記第1のステップについて、前記マスタ及び前記スレーブがそれぞれ、当該ノードから前記ルートまでのルートホップ数を更に取得し、
前記第2のステップについて、前記マスタ及び前記スレーブの前記ルート配下クロック数が同じ場合、最小ルートホップ数を有するスレーブのクロックに、前記マスタのクロックを同期させる
ことを特徴とする請求項1から3のいずれか1項の記載のネットワークの時刻同期方法。
For the first step, the master and the slave each further acquire the number of route hops from the node to the route,
In the second step, when the number of clocks under the route of the master and the slave is the same, the clock of the master is synchronized with the clock of the slave having the minimum number of route hops. The time synchronization method for a network according to any one of the above.
前記第2のステップについて、前記最小ルートホップ数を有するスレーブ以外のスレーブであって、前記最小ルートホップ数よりも2以上多いルートホップ数を有するスレーブについて、当該スレーブに対向するマスタと機能を交換することにより、当該スレーブをマスタに変更し、マスタであったものをスレーブに変更するステップと、
変更された前記マスタのクロックを、前記最小ルートホップ数を有する前記スレーブのクロックに同期させるステップと
を更に有することを特徴とする請求項4に記載のネットワークの時刻同期方法。
For the second step, for a slave other than the slave having the minimum number of root hops and having a number of root hops greater than or equal to the minimum number of root hops, the function is exchanged with the master facing the slave. To change the slave to the master, change the master to the slave, and
5. The network time synchronization method according to claim 4, further comprising the step of synchronizing the changed master clock with the slave clock having the minimum number of route hops.
前記ルートが、ルートホップ数を0とするルートID通知メッセージを、当該ルートのスレーブとなる下位ノードへ送信するステップと、
前記ルートID通知メッセージを受信した前記スレーブが、該メッセージに含まれるルートホップ数を保持し、1増分したルートホップ数を含むルートID通知メッセージを、スレーブとなる下位ノードへ送信するステップと
を更に有することを特徴とする請求項4又は5に記載のネットワークの時刻同期方法。
Sending a route ID notification message in which the route has a route hop count of 0 to a subordinate node serving as a slave of the route;
The slave that has received the route ID notification message holds the number of route hops included in the message, and further transmits a route ID notification message including the number of route hops incremented by 1 to a lower-level node that is a slave. The network time synchronization method according to claim 4, wherein the network time synchronization method is provided.
複数のノードが分散配置され、各ノードが少なくとも1つの通信装置を含み、対向するノードがそれぞれの通信装置間にリンクを確立するネットワークにあって、
対向する一方のノードの通信装置の機能をマスタとし、他方のノードの通信装置の機能をスレーブとして、前記マスタの同期用クロックに、前記スレーブのクロックを同期させるステップと、
前記マスタ及び前記スレーブが収容されているノードは、前記スレーブのクロックに前記マスタのクロックを同期させるステップと
を有し、前記同期のとれたリンクに繋がる複数のマスタのうち、クロック供給源として機能するマスタをルートと定義して、前記複数のノードをツリー状に構成したネットワークにおける時刻同期方法において、
前記マスタ及び前記スレーブがそれぞれ、当該ノードから前記ルートまでのルートホップ数を取得する第1のステップと、
前記マスタ及び前記スレーブが収容されたノードについて、最小ルートホップ数を有するスレーブのクロックに、前記最小ルートホップ数よりも2以上多いルートホップ数を有するマスタのクロックを同期させる第2のステップと
を有することを特徴とするネットワークの時刻同期方法。
In a network in which a plurality of nodes are distributed, each node includes at least one communication device, and opposing nodes establish a link between the respective communication devices,
The function of the communication device of one opposite node as a master, the function of the communication device of the other node as a slave, the step of synchronizing the clock of the slave to the synchronization clock of the master,
The node in which the master and the slave are accommodated has a step of synchronizing the clock of the master with the clock of the slave, and functions as a clock supply source among a plurality of masters connected to the synchronized link In the time synchronization method in the network in which the master to be defined as a root and the plurality of nodes are configured in a tree shape,
A first step in which each of the master and the slave obtains the number of route hops from the node to the route;
A second step of synchronizing a clock of a master having a number of root hops greater than or equal to the minimum number of root hops by a clock of a slave having a minimum number of root hops with respect to a node accommodating the master and the slave; A time synchronization method for a network, comprising:
前記第2のステップは、
前記最小ルートホップ数を有するスレーブ以外のスレーブであって、前記最小ルートホップ数よりも2以上多いルートホップ数を有するスレーブについて、当該スレーブに対向するマスタと機能を交換することにより、前記スレーブをマスタに変更し、マスタであったものをスレーブに変更するステップと、
変更された前記マスタのクロックを、前記最小ルートホップ数を有する前記スレーブのクロックに同期させるステップと
を更に有することを特徴とする請求項7に記載のネットワークの時刻同期方法。
The second step includes
For a slave other than the slave having the minimum number of root hops, the slave having a number of root hops that is two or more larger than the minimum number of root hops, by exchanging functions with the master facing the slave, Changing to master and changing master to slave,
8. The network time synchronization method according to claim 7, further comprising the step of synchronizing the changed master clock with the slave clock having the minimum number of route hops.
前記第1のステップは、
前記ルートが、ルートホップ数を0とするルートID通知メッセージを、当該ルートのスレーブとなる下位ノードへ送信するステップと、
前記ルートID通知メッセージを受信した前記スレーブが、該メッセージに含まれるルートホップ数を保持し、1増分したルートホップ数を含むルートID通知メッセージを、スレーブとなる下位ノードへ送信するステップと
を更に有することを特徴とする請求項8又は9に記載のネットワークの時刻同期方法。
The first step includes
Sending a route ID notification message in which the route has a route hop count of 0 to a subordinate node serving as a slave of the route;
The slave that has received the route ID notification message holds the number of route hops included in the message, and further transmits a route ID notification message including the number of route hops incremented by 1 to a lower-level node that is a slave. The network time synchronization method according to claim 8, wherein the network time synchronization method is provided.
複数のノードが分散配置され、各ノードが少なくとも1つの通信装置を含み、対向するノードがそれぞれの通信装置間にリンクを確立するネットワークにあって、
対向する一方のノードの通信装置の機能をマスタとし、他方のノードの通信装置の機能をスレーブとして、前記マスタの同期用クロックに、前記スレーブのクロックを同期させるステップと、
前記マスタ及び前記スレーブが収容されているノードは、前記スレーブのクロックに前記マスタのクロックを同期させるステップと
を有し、前記同期のとれたリンクに繋がる複数のマスタのうち、クロック供給源として機能するマスタをルートと定義して、前記複数のノードをツリー状に構成したネットワークにおける時刻同期方法において、
前記ルートは、当該ルートを収容するノードとリンクを介して同期するスレーブ毎に、ツリーの末端に位置するスレーブであるリーフまでのリーフホップ数を取得する第1のステップと、
前記ルートが収容されたノードについて、繋がっている複数のスレーブのうち、最小リーフホップ数よりも2以上多いリーフホップ数を有するスレーブが存在する場合、当該ルートが、前記最小リーフホップ数を有するスレーブと機能を交換することにより、当該ルートをスレーブに変更し、スレーブであったものをルートに変更する第2のステップと、
前記スレーブのクロックを、前記ルートのクロックに同期させる第3のステップと
を有することを特徴とするネットワークの時刻同期方法。
In a network in which a plurality of nodes are distributed, each node includes at least one communication device, and opposing nodes establish a link between the respective communication devices,
The function of the communication device of one opposite node as a master, the function of the communication device of the other node as a slave, the step of synchronizing the clock of the slave to the synchronization clock of the master,
The node in which the master and the slave are accommodated has a step of synchronizing the clock of the master with the clock of the slave, and functions as a clock supply source among a plurality of masters connected to the synchronized link In the time synchronization method in the network in which the master to be defined as a root and the plurality of nodes are configured in a tree shape,
A first step of obtaining, for each slave synchronized via a link with a node accommodating the route, a leaf hop count to a leaf that is a slave located at the end of the tree;
When there is a slave having a number of leaf hops more than the minimum number of leaf hops among the plurality of slaves connected to the node in which the route is accommodated, the slave having the minimum number of leaf hops By exchanging functions with the second step of changing the route to a slave and changing the slave to a route;
And a third step of synchronizing a clock of the slave with a clock of the route.
前記ルートが収容されたノードに更にマスタが収容されていた場合、前記機能を交換された前記スレーブのクロックに、前記マスタのクロックを同期させる第4のステップを更に有することを特徴とする請求項10に記載のネットワークの時刻同期方法。   The method further comprises a fourth step of synchronizing the clock of the master with the clock of the slave whose function has been exchanged when a master is further accommodated in the node in which the route is accommodated. The network time synchronization method according to claim 10. 前記第1のステップは、
前記リーフが、リーフホップ数を1とするリーフホップ数通知メッセージを、当該リーフのマスタとなる上位ノードへ送信するステップと、
前記リーフホップ数通知メッセージを受信した前記マスタが、該メッセージに含まれるリーフホップ数を保持し、1増分したリーフホップ数を含むリーフホップ数通知メッセージをマスタとなる上位ノードへ送信するステップと
を更に有することを特徴とする請求項10又は11に記載のネットワークの時刻同期方法。
The first step includes
The leaf sends a leaf hop count notification message with a leaf hop count of 1 to an upper node that is the master of the leaf;
The master that has received the leaf hop count notification message holds the leaf hop count included in the message and transmits a leaf hop count notification message including the leaf hop count incremented by 1 to the master upper node. The network time synchronization method according to claim 10 or 11, further comprising:
JP2004098206A 2004-03-30 2004-03-30 Network time synchronization method Expired - Fee Related JP4046096B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004098206A JP4046096B2 (en) 2004-03-30 2004-03-30 Network time synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004098206A JP4046096B2 (en) 2004-03-30 2004-03-30 Network time synchronization method

Publications (2)

Publication Number Publication Date
JP2005286720A true JP2005286720A (en) 2005-10-13
JP4046096B2 JP4046096B2 (en) 2008-02-13

Family

ID=35184639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004098206A Expired - Fee Related JP4046096B2 (en) 2004-03-30 2004-03-30 Network time synchronization method

Country Status (1)

Country Link
JP (1) JP4046096B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007040038A1 (en) 2005-09-30 2007-04-12 Nec Corporation Optical information recording medium, bca information recorder, and bca information recording method
JP2007331872A (en) * 2006-06-14 2007-12-27 Mitsubishi Electric Corp Elevator signal transmission device
JP2010246083A (en) * 2009-04-06 2010-10-28 Avaya Inc Network synchronization over ip networks
US7924806B2 (en) 2007-03-26 2011-04-12 Yokogawa Electric Corporation Time synchronization system
US9312974B2 (en) 2011-02-25 2016-04-12 Mitsubishi Electric Corporation Master apparatus and slave apparatus and time-synchronization method
EP2378718B1 (en) * 2008-12-15 2022-04-27 China Mobile Communications Corporation Method, node and system for controlling version in distributed system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007040038A1 (en) 2005-09-30 2007-04-12 Nec Corporation Optical information recording medium, bca information recorder, and bca information recording method
JP2007331872A (en) * 2006-06-14 2007-12-27 Mitsubishi Electric Corp Elevator signal transmission device
US7924806B2 (en) 2007-03-26 2011-04-12 Yokogawa Electric Corporation Time synchronization system
EP2378718B1 (en) * 2008-12-15 2022-04-27 China Mobile Communications Corporation Method, node and system for controlling version in distributed system
JP2010246083A (en) * 2009-04-06 2010-10-28 Avaya Inc Network synchronization over ip networks
US9312974B2 (en) 2011-02-25 2016-04-12 Mitsubishi Electric Corporation Master apparatus and slave apparatus and time-synchronization method

Also Published As

Publication number Publication date
JP4046096B2 (en) 2008-02-13

Similar Documents

Publication Publication Date Title
JP4732972B2 (en) Ad hoc network, node, route control method, and route control program
US9577774B2 (en) Time synchronization method and system
TWI575917B (en) Establishing reliable routes without expensive mesh peering
JP6157726B2 (en) Method for synchronizing a node with a data sink and a node for forming a wireless network
WO2012133353A1 (en) Time synchronization method and device for ad-hoc network
PL1815650T3 (en) Synchronization and data transmission method
EP2725751B1 (en) Routing table updating
EP3484209A1 (en) Mesh networking using peer to peer messages for a hospitality entity
CN103841025A (en) Communication system and network relay device
JP2011223419A (en) Multihop wireless ad hoc network, communication system, information collection and setting device, information terminal, and route search method
WO2006080414A1 (en) Communication method and wireless communication apparatus
EP3484208A1 (en) Mesh networking using peer to peer messages
CN112020134B (en) Synchronization method suitable for mobile ad hoc network
CN101321027A (en) Synchronization process of wireless mesh network
CN103595494A (en) Centerless TDMA (Time Division Multiple Access) synchronization method suitable for Ad hoc Network
JP4046096B2 (en) Network time synchronization method
JP5421906B2 (en) Synchronization protocol
FI95977B (en) A network arrangement
JP3865223B2 (en) Wireless network time synchronization method
JP2012520591A (en) Method for synchronizing clocks by separately transmitting first data and second data by at least one timing distribution protocol, and related systems and modules
FI92126B (en) A network arrangement
CN107888315B (en) A kind of method for synchronizing time
KR102174377B1 (en) Apparatus and method for controlling time-synch of node
KR102180041B1 (en) Apparatus and method for controlling time synchronization of node
KR20120051632A (en) Method for clock synchronization in distributed system having ring topology and apparatus for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050831

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070918

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070928

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071030

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071112

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131130

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees