WO2020089962A1 - 時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法 - Google Patents

時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法 Download PDF

Info

Publication number
WO2020089962A1
WO2020089962A1 PCT/JP2018/040075 JP2018040075W WO2020089962A1 WO 2020089962 A1 WO2020089962 A1 WO 2020089962A1 JP 2018040075 W JP2018040075 W JP 2018040075W WO 2020089962 A1 WO2020089962 A1 WO 2020089962A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
master
priority
highest priority
management
Prior art date
Application number
PCT/JP2018/040075
Other languages
English (en)
French (fr)
Inventor
智久 山口
専 梶野
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2019505264A priority Critical patent/JP6555445B1/ja
Priority to US17/269,255 priority patent/US11271714B2/en
Priority to PCT/JP2018/040075 priority patent/WO2020089962A1/ja
Priority to DE112018007928.7T priority patent/DE112018007928B4/de
Priority to TW108137656A priority patent/TWI728514B/zh
Publication of WO2020089962A1 publication Critical patent/WO2020089962A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • H04L7/10Arrangements for initial synchronisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0641Change of the master or reference, e.g. take-over or failure of the master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0091Transmitter details

Definitions

  • the present invention relates to a time synchronization system that adopts a method of maintaining continuity of time synchronization, a time master and a management master used in this time synchronization system, and a time synchronization method.
  • the present invention has been made to solve the above problems, and provides a time synchronization system in which a time synchronization deviation does not occur even when a time master having a higher priority than a grand master is added. To aim.
  • a time synchronization system manages a plurality of time masters that hold time information and time information, and has the highest priority from the plurality of time masters.
  • a management master for notifying the highest priority to a time master of one station.
  • the management master retains the highest priority and a management master priority request unit that transmits a priority request frame requesting a preset priority to each time master when the time synchronization system starts operating.
  • the management master highest priority processing unit that transmits the highest priority notification frame for changing the priority to the highest priority for the time master.
  • the time master receives a priority request frame from the management master at the start of operation of the time synchronization system, and then sends a priority response frame that responds to the priority stored in the time master to the management master.
  • Time master priority response Section and the time master highest priority processing section that changes the priority to the highest priority when it receives the highest priority notification frame from the management master, and compares the priority of its own station and the priority acquired from other stations.
  • a time master BMCA processing unit that performs a process of selecting a time master having the highest priority as a grand master. The grandmaster keeps the highest priority even after the time synchronization system starts operating, and sends a time notification frame to other time masters that synchronizes the time of other time masters based on the time information held by the grand master. ..
  • the time synchronization system of the present invention by changing the priority of the time master selected as the grand master from the time masters existing at the start of operation of the time synchronization system to the highest priority, the time synchronization system Even if a time master with a higher priority than the grand master's original priority is added after the start of the system operation, the grand master determined when the system starts operating will not be changed. Can be prevented.
  • the time synchronization method of the present invention from among the time masters existing at the start of operation of the time synchronization system, by changing the priority of the time master selected as the grand master to the highest priority, Even if a time master with a higher priority than the original priority of the grand master is added after the synchronization system starts operating, the grand master determined when the system starts operating does not change. It is possible to prevent the deviation.
  • FIG. 1 is a configuration example of a time synchronization system according to the first embodiment of the present invention. It is a block diagram which shows the structure of the time master of Embodiment 1 of this invention. It is a block diagram which shows the structure of the management master of Embodiment 1 of this invention. 3 is a format of various frames communicated between the time master and the management master according to the first embodiment of the present invention. It is a figure which shows the system configuration example at the time of system operation start of Embodiment 1 of this invention, and the priority at the time of system operation start. 3 is a flowchart illustrating an operation of the time synchronization system according to the first embodiment of the present invention.
  • FIG. 1 is a configuration example of a time synchronization system according to the first embodiment of the present invention.
  • the grand master 1 is a clock source of the time synchronization system, and only one station exists in the system.
  • the time master 2 is a device that holds time information, and there are a plurality of stations in the system, and one grand master 1 is selected from the plurality of time masters 2 by a method described later.
  • the management master 3 manages the information of the time master 2 and notifies the time master 2 having the highest priority of the highest priority, and only one station exists in the system.
  • the network 4 connects each device to the network.
  • the priority is information assigned to each time master 2 in the system, and represents a priority order when the grand master 1 is selected from a plurality of time masters 2.
  • the priority can be arbitrarily set by the user.
  • the highest priority is the priority of the time master 2 that becomes the grand master 1.
  • the priorities that can be set for the time master 2 are “2” to “255”, and the priorities that the management master 3 sets for the time master 2 that should become the grand master 1 are “1”. ..
  • the time master 2 having the priority “2” is selected. become. The smaller the number representing the priority, the higher the priority.
  • FIG. 2 is a block diagram showing the configuration of the time master 2.
  • the time master communication unit 21 communicates with other devices via the network 4.
  • the time master priority response unit 22 transmits a priority response frame to the management master 3 in response to a request for priority acquisition from the management master 3.
  • the time master priority holding unit 23 holds the priority of each time master 2.
  • the time master highest priority processing unit 24 changes the priority to the highest priority according to the highest priority change notification from the management master 3.
  • the time master BMCA (Best Master Clock Algorithm) processing unit 25 uses the priority held in the time master priority holding unit 23 to select the grand master 1 specified in IEEE 1588 or IEEE 802.1AS-Rev. I do.
  • the time master BMCA processing unit 25 selects the grand master 1 by repeating the process in which the master 2 compares the priority of its own station with the priority obtained from another station by means not shown. ..
  • the time master time generation unit 26 generates the time used for time synchronization.
  • the time master time correction unit 27 corrects the time of the time master time generation unit 26 to the time of the grand master 1.
  • FIG. 3 is a block diagram showing the configuration of the management master 3.
  • the management master communication unit 31 communicates with other devices via the network 4.
  • the management master priority requesting unit 32 issues a priority acquisition request to the time master 2 in order to investigate the priority of the time master 2.
  • the management master priority storage unit 33 stores the priority acquired from the time master 2.
  • the management master highest priority processing unit 34 notifies the time master 2 having the highest priority among the priorities acquired from the time master 2 to change the priority to the highest priority.
  • the management master 3 is not time-synchronized for simplification of description, but may be used as both a time master and a time slave.
  • FIG. 4 is a diagram showing formats of various frames transmitted by the time master 2 and the management master 3.
  • the network header 101 stores data necessary for transmitting a frame, such as a transmission source and a transmission destination.
  • the frame type storage area 102 stores the frame type. For example, in the priority request frame transmitted when the management master priority requesting unit 32 of the management master 3 requests the time master 2 for priority, The identifier of the priority request frame is stored in the frame type storage area 102.
  • the data storage area 103 stores priorities, for example.
  • FIG. 5 is a diagram showing a system configuration example at the time of starting the system operation according to the first embodiment and a priority at the time of starting the system operation.
  • the grand master 1 is not selected, and each time master 2 assigns the priorities “2” to “255” other than the highest priority “1” to the time master priority holding unit 23. keeping.
  • the grand master 1 is selected from the time master 2-1 having the priority “100”, the time master 2-2 having the priority “110”, and the time master 2-3 having the priority “120”.
  • the operation to be performed will be described.
  • the priority of each time master 2 may be set to any value such as a default value, setting by a switch of the time master, setting by an external tool, or the like.
  • FIG. 6 is a flowchart explaining the operation of the time synchronization system according to the first embodiment.
  • the management master priority request unit 32 of the management master 3 transmits a priority request frame to each time master 2 through the management master communication unit 31 in order to investigate the priority of each time master 2.
  • step S2 the time master communication unit 21 of each time master 2 receives the priority request frame transmitted from the management master 3 and stores it in the time master priority response unit 22.
  • step S3 the time master priority response unit 22 takes out the priority held in the time master priority holding unit 23, and transmits the priority response frame to the management master 3 through the time master communication unit 21.
  • step S4 the management master communication unit 31 of the management master 3 receives the priority response frame from each time master 2 and stores it in the management master priority request unit 32.
  • step S5 the management master priority request unit 32 stores the priority in the management master priority storage unit 33 in association with the time master 2 that has returned the response.
  • the association with the time master 2 may be any IP address, MAC address, or the like as long as the time master communication unit 21 can identify that the time master 2 is addressed to itself.
  • the management master highest priority processing unit 34 of the management master 3 selects the highest priority from the priorities stored in the management master priority storage unit 33, and associates it with the priority.
  • the highest priority notification frame is transmitted to the current time master 2 through the management master communication unit 31.
  • the highest priority notification frame is a frame for notifying the time master 2 having the highest priority among the plurality of time masters 2 in the system that the own priority is the highest. ..
  • the highest priority notification frame stores the identifier of the highest priority notification frame in the frame type storage area 102.
  • the time master having the highest priority is selected here, the time master may be selected under other conditions.
  • step S7 the time master communication unit 21 of the time master 2 receives the highest priority notification frame transmitted from the management master 3 and stores it in the time master highest priority processing unit 24.
  • step S8 the time master highest priority processing unit 24 changes the priority stored in the time master priority holding unit 23 to the highest priority "1". At this time, when the grand master 1 is changed to the time master 2, the original priority is separately held in the time master priority holding unit 23 in order to return the priority to the original priority.
  • step S9 the time master BMCA processing unit 25 of each time master 2 executes BMCA using the priority held in the time master priority holding unit 23, and the time master 2 having the highest priority is the grand master. Elected to 1. In FIG. 7, the time master 2-1 is elected as the grand master 1.
  • step S10 the grand master 1 (time master 2-1) takes out the time of the time master time generation unit 26 and extracts each time master (time master 2-2, time master 2-3, ... Time master 2-).
  • the time notification frame is transmitted to the N) through the time master communication unit 21.
  • the identifier of the time notification frame is stored in the frame type storage area 102, and the time of the grand master 1 is stored in the data storage area 103.
  • step S11 each time master 2 receives the time of the grand master 1 through the time master communication unit 21, the time master time correction unit 27 corrects the time of the time master time generation unit 26 based on this time, and the time synchronization is performed. I do.
  • the time synchronization system performs time synchronization with the time of the grand master 1 by the procedure of steps S1 to S11.
  • the time master 2-4 having the priority “50” higher than the original priority “100” of the grand master 1 is connected to the system, Even if the BMCA is executed, the time master 2-1 which is the grand master 1 has been changed to the highest priority "1", so the grand master 1 is not changed.
  • the priority that can be set for each device is set to “2” to “255”. However, for example, only the time master 2 that provides a high-precision clock source and the low-precision clock source are available. In a system in which the time masters 2 that cannot be provided are mixed, the priorities can be classified so that a time master that reliably provides a highly accurate clock source is selected.
  • the time master 2 that provides a clock source using H / W depends on the processing time of S / W (software) because the H / W holds the time when transmitting and receiving various frames. No time difference occurs. Therefore, a highly accurate clock source can be provided as compared with the time master 2 which provides a clock source with S / W without H / W assistance.
  • the priority of the time master 2 that provides a highly accurate clock source using H / W is set to high priority “2” to “127”, and the clock is set in S / W without H / W assistance. If the priority of the time master 2 that provides the source is set to low priority "128" to "255", the time master 2 that reliably provides the highly accurate clock source is selected by classifying the priorities. Will be.
  • the grand master 1 since the grand master 1 is set to the highest priority, it has a higher priority than the original priority before being selected as the grand master 1. Even if the time master 2 is connected to the system after the system starts operating and the BMCA is executed, the grand master 1 is not changed, so that the time synchronization deviation in the time synchronization system does not occur.
  • FIG. 9 shows a configuration example of the time synchronization system according to the second embodiment of the present invention.
  • the same components as those of the first embodiment are designated by the same reference numerals and the description thereof will be omitted.
  • the simple time master 5 (5-1 to 5-M) is a device that holds time information, is a time master that executes BMCA without responding to various requests transmitted from the management master 3, and There can be multiple stations. Further, the simple time master 5 can also transmit the time notification frame.
  • An example of the simple time master 5 is a time server, which can realize a clock with higher accuracy. Further, the simple time master 5 can be the grand master 1.
  • the priority that can be set for the time master 2 is “11” to “255”, the highest priority that the management master 3 sets for the time master 2 is “10”, and the priority that can be set for the simple time master 5 is The degree is “1” to “9”.
  • FIG. 10 is a block diagram showing the configuration of the simple time master 5.
  • the simple time master priority holding unit 51 holds the priority.
  • the simple time master BMCA processing unit 52 uses the priority held by the simple time master priority holding unit 51 to perform the selection process of the grand master 1 defined by IEEE 1588 or IEEE 802.1AS-Rev.
  • the simple time master time generation unit 53 generates a time used for time synchronization.
  • the simple time master time correction unit 54 corrects the time of the simple time master time generation unit 53 to the time of the grand master 1.
  • FIG. 11 is a diagram showing a system configuration example at the time of starting the system operation according to the second embodiment and priorities at that time.
  • the grand master 1 is not selected, and each time master 2 assigns the priorities “11” to “255” other than the highest priority “10” to the time master priority holding unit 23. keeping. Further, each simple time master 5 holds the priorities “1” to “9” higher than the highest priority “10” in the simple time master priority holding unit 51.
  • the operation of selecting the grand master 1 from the simple time master 5-1 having the priority and the simple time master 5-2 having the priority “9” will be described.
  • the highest priority is set to “10” in the second embodiment, the priority band set in the simple time master 5 can be changed so that it can be adjusted, and the system can be activated. It may be set at the time of raising.
  • the time master 2 and the management master 3 communicate with each other similarly to the procedure from step S1 to step S8 in the first embodiment, and change the priority of the time master 2 having the highest priority to the highest priority “10”. ..
  • the time master BMCA processing unit 25 of each time master 2 uses the priority of the time master priority holding unit 23, and the simple time master BMCA processing unit 52 uses the priority of the simple time master priority holding unit 51.
  • BMCA is executed to select the time master 2 or the simple time master 5 having the highest priority as the grand master 1. In the system configuration of FIG. 12, the simple time master 5-1 is selected as the grand master 1.
  • each time master 2 and each simple time master 5 after the BMCA process are time-synchronized with the time of the grand master 1.
  • the time master 2-4 having the priority "50" higher than the highest priority "100” of the time master 2-1 is added, and the BMCA is executed.
  • the priority of the simple time master 5 is set to a higher priority level than the highest priority “10” of the time master 2, the grand master 1 (simple time master 5-1) is changed. There is no such thing.
  • the priority time zone having a higher priority than the highest priority of the time master 2 is set, and the simple time master 5 that is not compatible with the change of the highest priority.
  • the simple time master 5 can also become the grand master 1.
  • the simple time master 5 is a time server, the simple time master 5 becomes the grand master 1 so that a more accurate clock can be realized.
  • the grand master 1 is set to a higher priority than the highest priority in the plurality of other time masters 2 after the priority of the time master 2 is changed to the highest priority in the time master 2. , As shown in FIG. 13, even if a time master having a higher priority than the original priority of the time master 2 having the highest priority is connected and the BMCA is executed, the grand master 1 is not changed.
  • the advantage is that no time synchronization deviation occurs.
  • Embodiment 3 After the time is synchronized with the time held by the simple time master 5 that realizes a clock with higher accuracy than the time master 2, the priority is given to each of the time masters 2 and 5 in the system. A case where the high time master 2 is newly added will be described.
  • the configuration example of the time synchronization system according to the third embodiment is the same as that of the second embodiment.
  • the priorities that can be set for the time master 2 and the simple time master 5 are “2” to “255”, and the highest priority that the management master 3 sets for the time master 2 is “1”.
  • FIG. 14 is a diagram showing an example of the system configuration at the start of system operation according to the third embodiment and priorities at that time.
  • the grand master 1 is not yet elected, and each time master 2 assigns the priorities “2” to “255” other than the highest priority “1” to the time master priority holding unit 23.
  • Each simple time master 5 holds the priorities “2” to “255” other than the highest priority “1” in the simple time master priority holding unit 51.
  • the operation of selecting the grand master 1 from the simple time master 5-1 having "" and the simple time master 5-2 having the priority "90" will be described.
  • the time master BMCA processing unit 25 of each time master 2 executes BMCA using the priority of the time master priority holding unit 23, and the simple time master BMCA processing unit 52 sets the priority of the simple time master priority holding unit 51.
  • the BMCA is executed by using, and the time master 2 or the simple time master 5 having the highest priority is selected as the grand master 1. In FIG. 15, the simple time master 5-1 is elected as the grand master 1.
  • the management master 3 investigates the priority of each time master 2 and transmits the highest priority notification frame to the time master 2-1 having the highest priority. To do.
  • the time master highest priority processing unit 24 of the time master 2-1 stores in the storage means (not shown) that the time master highest priority notification frame has been received. At this time, the priority of the time master priority holding unit 23 is not changed.
  • the time master 2-4 having the highest priority is connected and the BMCA is started.
  • the time master BMCA processing unit 25 of the time master 2-1 which has received the highest priority notification frame sets the priority of the time master 2-4 added in the BMCA to the current ground. It is detected that the priority is higher than that of the master 1.
  • the time master BMCA processing unit 25 which has detected the connection of the time master 2-4 having the highest priority indicates that the time master 2-4 having the highest priority is connected to the time master highest priority processing unit 24. To notify. Upon receiving the notification, the time master highest priority processing unit 24 changes the priority of the time master priority holding unit 23 to the highest priority "1" at this point, and notifies the time master BMCA processing unit 25 of the change. .. The time master BMCA processing unit 25 that has received the notification executes the BMCA with the highest priority “1”, and the time master 2-1 having the highest priority “1” becomes the grand master 1 as shown in FIG. Although the time master 2 is connected as an example in the third embodiment, the same applies to the simple time master 5.
  • the time synchronization system of the third embodiment when the simple time master 5-1 becomes the grand master 1, the time synchronization system with the grand master 1 (simple time master 5-1) The highest priority notification frame is transmitted to the highest priority from among the time masters 2 and the change to the highest priority of the time master 2 that receives the highest priority notification frame is changed to the time with the highest priority.
  • the newly added time master 2 By performing the operation at the time when the master 2 is added, it is possible to prevent the newly added time master 2 from changing its highest priority to become the grand master 1.
  • the new grand master 1 time master 2-1
  • the new grand master 1 time master 2-1

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)

Abstract

時刻同期システムは、複数のタイムマスタ(2)と、管理マスタ(3)とを備え、管理マスタ(3)は、優先度要求フレームを各タイムマスタ(2)に送信する管理マスタ優先度要求部(32)と、最も高い優先度を保持するタイムマスタ(2)に対して優先度を最高優先度に変更する最高優先度通知フレームを送信する管理マスタ最高優先度処理部(34)とを有し、タイムマスタ(2)は、管理マスタ(3)から優先度要求フレームを受け取った後、優先度応答フレームを管理マスタ(3)に送信するタイムマスタ優先度応答部(22)と、管理マスタ(3)から最高優先度通知フレームを受けた場合に優先度を最高優先度を変更するタイムマスタ最高優先度処理部(24)とを有し、グランドマスタ(1)は、他のタイムマスタ(2)の時刻を同期させる時刻通知フレームを他のタイムマスタ(2)に送信する。

Description

時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法
 本発明は、時刻同期の連続性を保つ方式を採用した時刻同期システム、この時刻同期システムで使用されるタイムマスタおよび管理マスタ並びに時刻同期方法に関する。
 従来、ネットワークに接続された複数の機器が、クロックソースとなるグランドマスタの時刻に同期して動作するようなシステムにおいて、複数のタイムマスタの中から優先順位が最高のタイムマスタをグランドマスタとして選出していた(例えば、特許文献1)。
特開平08-328690号公報
 しかし、特許文献1のようなグランドマスタの選出方法では、例えば、各機器が時刻同期して動作している状況で、グランドマスタより優先度の高いタイムマスタが追加されると、システム中の時刻に同期していない状態で追加された優先度の高いタイムマスタがグランドマスタに選出されてしまうため、システム中の時刻同期にずれが生じるという課題があった。
 本発明は、上述のような問題を解決するためになされたもので、グランドマスタよりも優先度の高いタイムマスタが追加された場合でも、時刻同期ずれが発生しない時刻同期システムを提供することを目的とする。
 上述した課題を解決し、目的を達成するために、本発明に係る時刻同期システムは、時刻情報を保持する複数のタイムマスタと、時刻情報を管理し、複数のタイムマスタから優先度が最も高い一局のタイムマスタに対し、最高優先度の通知を行う管理マスタと、を備える。管理マスタは、時刻同期システムの稼働開始時に、各タイムマスタに予め設定された優先度を要求する優先度要求フレームを各タイムマスタに送信する管理マスタ優先度要求部と、最も高い優先度を保持するタイムマスタに対して優先度を最高優先度に変更する最高優先度通知フレームを送信する管理マスタ最高優先度処理部と、を有する。タイムマスタは、時刻同期システムの稼働開始時に、管理マスタから優先度要求フレームを受け取った後、タイムマスタに格納された優先度を応答する優先度応答フレームを管理マスタに送信するタイムマスタ優先度応答部と、管理マスタから最高優先度通知フレームを受けた場合に優先度を最高優先度に変更するタイムマスタ最高優先度処理部と、自局の優先度と他局から取得した優先度を比較し、最も高い優先度を持つタイムマスタをグランドマスタに選出する処理を行うタイムマスタBMCA処理部と、を有する。グランドマスタは、時刻同期システムの稼働開始後も、最高優先度を保持し、グランドマスタに保持された時刻情報に基づき他のタイムマスタの時刻を同期させる時刻通知フレームを他のタイムマスタに送信する。
 本発明に係る時刻同期システムによれば、時刻同期システムの稼働開始時に存在するタイムマスタの中から、グランドマスタに選出されたタイムマスタの優先度を最高優先度に変更することにより、時刻同期システムの稼働開始後にグランドマスタの本来の優先度より、さらに高い優先度をもつタイムマスタが追加された場合でも、システム稼働開始時に決定されたグランドマスタが変更されることはないため、時刻同期のずれを防止することができる。
 また、本発明に係る時刻同期方法によれば、時刻同期システムの稼働開始時に存在するタイムマスタの中から、グランドマスタに選出されたタイムマスタの優先度を最高優先度に変更することにより、時刻同期システムの稼働開始後にグランドマスタの本来の優先度より、さらに高い優先度をもつタイムマスタが追加された場合でも、システム稼働開始時に決定されたグランドマスタが変更されることはないため、時刻同期のずれを防止することができる。
本発明の実施の形態1に係る時刻同期システムの構成例である。 本発明の実施の形態1のタイムマスタの構成を示すブロック図である。 本発明の実施の形態1の管理マスタの構成を示すブロック図である。 本発明の実施の形態1のタイムマスタおよび管理マスタ間で通信される各種フレームのフォーマットである。 本発明の実施の形態1のシステム稼働開始時のシステム構成例とシステム稼働開始時における優先度を示す図である。 本発明の実施の形態1に係る時刻同期システムの動作を説明するフローチャートである。 本発明の実施の形態1のグランドマスタが選出された時点でのシステム構成例と優先度を示す図である。 本発明の実施の形態1のグランドマスタの元の優先度より高い優先度を持つタイムマスタが追加された場合のシステム構成例とその時の優先度を示す図である。 本発明の実施の形態2に係る時刻同期システムの構成例である。 本発明の実施の形態2のタイムマスタの構成を示すブロック図である。 本発明の実施の形態2のシステム稼働開始時のシステム構成例と、システム稼働開始時の優先度を示す図である。 本発明の実施の形態2のグランドマスタが選出された時のシステム構成例とその時システム稼働開始時点での優先度を示す図である。 本発明の実施の形態2の最高優先度のタイムマスタの元の優先度より高い優先度を持つタイムマスタが追加された時点でのシステム構成例と、その時点の優先度を示す図である。 本発明の実施の形態3のシステム稼働開始時のシステム構成例と、システム稼働開始時の優先度を示す図である。 本発明の実施の形態3のグランドマスタが選出された時のシステム構成例と、グランドマスタが選出された時点の優先度を示す図である。 本発明の実施の形態3の最も高い優先度を持つタイムマスタが追加された時のシステム構成例と、その時の優先度を示す図である。 本発明の実施の形態3の最高優先度のグランドマスタが選出された時のシステム構成例と、最高優先度のグランドマスタが選出された時点の優先度を示す図である。
実施の形態1.
 図1は、本発明の実施の形態1に係る時刻同期システムの構成例である。グランドマスタ1は、時刻同期システムのクロックソースであり、システム内に1局のみ存在する。タイムマスタ2は、時刻情報を保持する装置であり、システム内に複数局存在し、複数のタイムマスタ2の中から1局のグランドマスタ1が後述する方法により選出される。管理マスタ3は、タイムマスタ2の情報管理および最も優先度の高いタイムマスタ2に対し、最高優先度の通知を行い、システム内に1局のみ存在する。ネットワーク4は、各機器をネットワーク接続する。
 ここで、優先度とは、システム内において各タイムマスタ2に割り当てられる情報であり、複数のタイムマスタ2の中からグランドマスタ1を選出する際の優先順位を表す。優先度は、ユーザが任意で設定することができる。最高優先度は、グランドマスタ1になるタイムマスタ2が持つ優先度である。実施の形態1においては、タイムマスタ2に設定できる優先度を「2」~「255」、管理マスタ3がグランドマスタ1になるべきタイムマスタ2に対して設定する優先度を「1」とする。この場合、同じシステム内に優先度「2」のタイムマスタ2と優先度が「10」のタイムマスタ2からグランドマスタ1を選出する場合、優先度「2」のタイムマスタ2が選出されることになる。なお、優先度を表す数字が小さいほど、優先度は高くなる。
 図2は、タイムマスタ2の構成を示すブロック図である。タイムマスタ通信部21は、ネットワーク4を通して他機器との通信を行う。タイムマスタ優先度応答部22は、管理マスタ3からの優先度取得の要求に対し、管理マスタ3に優先度応答フレームを送信する。タイムマスタ優先度保持部23は、各タイムマスタ2の優先度を保持する。タイムマスタ最高優先度処理部24は、管理マスタ3からの最高優先度変更通知により、優先度を最高優先度に変更する。タイムマスタBMCA(Best Master Clock Algorithm)処理部25は、タイムマスタ優先度保持部23に保持されている優先度を用いてIEEE1588またはIEEE802.1AS-Rev等で規定されているグランドマスタ1の選出処理を行う。具体的には、タイムマスタBMCA処理部25は、マスタ2は、自局の優先度と、図示しない手段により他局から取得した優先度を比較する処理を繰り返し、グランドマスタ1を選出している。タイムマスタ時刻生成部26は、時刻同期に使用する時刻を生成する。タイムマスタ時刻補正部27は、タイムマスタ時刻生成部26の時刻を、グランドマスタ1の時刻に補正する。
 図3は、管理マスタ3の構成を示すブロック図である。管理マスタ通信部31は、ネットワーク4を通して他機器との通信を行う。管理マスタ優先度要求部32は、タイムマスタ2の優先度を調査するために、タイムマスタ2に対して優先度の取得要求を行う。管理マスタ優先度格納部33は、タイムマスタ2から取得した優先度を格納しておく。管理マスタ最高優先度処理部34は、タイムマスタ2から取得した優先度の中から最も高い優先度を持つタイムマスタ2に、優先度を最高優先度に変更することを通知する。なお、実施の形態1では説明を簡略化するために管理マスタ3は時刻同期をしていないが、タイムマスタ、タイムスレーブを兼用してもよい。
 図4は、タイムマスタ2および管理マスタ3が送信する各種フレームのフォーマットを示す図である。ネットワークヘッダ101には、例えば、送信元、送信先など、フレームを送信するために必要なデータが格納されている。フレーム種別格納領域102は、フレーム種別を格納しており、例えば、管理マスタ3の管理マスタ優先度要求部32が、タイムマスタ2に対し優先度を要求するときに送信する優先度要求フレームでは、フレーム種別格納領域102には優先度要求フレームの識別子が格納される。データ格納領域103には、例えば、優先度が格納される。
 図5は、実施の形態1のシステム稼働開始時のシステム構成例と、システム稼働開始時の優先度を示す図である。システム稼働開始時では、グランドマスタ1が選出されていない状態であり、各タイムマスタ2は、最高優先度「1」以外の優先度「2」~「255」をタイムマスタ優先度保持部23に保持している。
実施の形態1において、優先度「100」を持つタイムマスタ2-1、優先度「110」を持つタイムマスタ2-2、優先度「120」を持つタイムマスタ2-3からグランドマスタ1を選出する動作を説明する。なお、各タイムマスタ2の優先度は、デフォルト値、タイムマスタが備えるスイッチによる設定、外部ツールによる設定など、どのように設定されてもよい。
 図6は、実施の形態1に係る時刻同期システムの動作を説明するフローチャートである。ステップS1では、管理マスタ3の管理マスタ優先度要求部32は、各タイムマスタ2の優先度を調査するために、管理マスタ通信部31を通して、優先度要求フレームを各タイムマスタ2に送信する。
 ステップS2では、各タイムマスタ2のタイムマスタ通信部21は管理マスタ3から送信された優先度要求フレームを受け取り、タイムマスタ優先度応答部22に格納する。ステップS3では、タイムマスタ優先度応答部22は、タイムマスタ優先度保持部23に保持している優先度を取り出し、タイムマスタ通信部21を通して管理マスタ3に優先度応答フレームを送信する。
 ステップS4では、管理マスタ3の管理マスタ通信部31は、各タイムマスタ2からの優先度応答フレームを受け取り、管理マスタ優先度要求部32に格納する。ステップS5では、管理マスタ優先度要求部32は、管理マスタ優先度格納部33に、応答を返してきたタイムマスタ2と紐付けて、優先度を格納する。タイムマスタ2との紐付けは、例えばIPアドレス、MACアドレスなど、タイムマスタ通信部21において、タイムマスタ2が自身宛の通信であることを識別できるものならどのようなものでもよい。
 ステップS6では、管理マスタ3の管理マスタ最高優先度処理部34は、管理マスタ優先度格納部33に格納されている優先度の中から最も高い優先度を選定し、その優先度に紐付けられているタイムマスタ2に管理マスタ通信部31を通して、最高優先度通知フレームを送信する。ここで、最高優先度通知フレームとは、システム中の複数のタイムマスタ2の中で最も高い優先度をもつタイムマスタ2に対し、自身の優先度が最も高いことを通知するためのフレームをいう。最高優先度通知フレームは、フレーム種別格納領域102に最高優先度通知フレームの識別子が格納される。ここでは、最も高い優先度を持つタイムマスタを選定しているが、他の条件で選定しても良い。
 ステップS7では、タイムマスタ2のタイムマスタ通信部21は、管理マスタ3から送信された最高優先度通知フレームを受け取り、タイムマスタ最高優先度処理部24に格納する。ステップS8では、タイムマスタ最高優先度処理部24は、タイムマスタ優先度保持部23に格納されている優先度を最高優先度「1」に変更する。このとき、グランドマスタ1からタイムマスタ2に変更された場合に、優先度を元の優先度に戻すために、元の優先度を、別途タイムマスタ優先度保持部23に保持しておく。
 ステップS9では、各タイムマスタ2のタイムマスタBMCA処理部25はタイムマスタ優先度保持部23に保持している優先度を用いてBMCAを実行し、最も高い優先度を持つタイムマスタ2がグランドマスタ1に選出される。図7においては、タイムマスタ2-1が、グランドマスタ1に選出される。
 ステップS10では、グランドマスタ1(タイムマスタ2-1)は、タイムマスタ時刻生成部26の時刻を取り出し、各タイムマスタ(タイムマスタ2-2、タイムマスタ2-3、・・・タイムマスタ2-N)にタイムマスタ通信部21を通して時刻通知フレームを送信する。時刻通知フレームは、フレーム種別格納領域102に時刻通知フレームの識別子、データ格納領域103にグランドマスタ1の時刻が格納される。
 ステップS11では、各タイムマスタ2は、タイムマスタ通信部21を通してグランドマスタ1の時刻を受け取り、この時刻を元にタイムマスタ時刻補正部27はタイムマスタ時刻生成部26の時刻を補正し、時刻同期を行う。以上、ステップS1からステップS11の手順により、時刻同期システムは、グランドマスタ1の時刻に時刻同期する。
 ここで、図8のように、システムの稼働開始後に、優先度がグランドマスタ1の元の優先度「100」よりも高い優先度「50」を持つタイムマスタ2-4がシステムに接続され、BMCAが実行されても、グランドマスタ1であるタイムマスタ2-1は、最高優先度「1」に変更されているため、グランドマスタ1は変更されることはない。
 また、本実施の形態1においては、各機器に設定できる優先度を「2」~「255」としたが、例えば、高精度なクロックソースを提供するタイムマスタ2と、低精度なクロックソースしか提供できないタイムマスタ2が混在するシステムにおいては、確実に高精度なクロックソースを提供するタイムマスタが選定されるように、優先度をクラス分けすることもできる。
 例えば、H/W(ハードウェア)を使用してクロックソースを提供するタイムマスタ2は、各種フレームの送受信の時にH/Wが時刻を保持するため、S/W(ソフトウェア)の処理時間に依存せず、時刻ずれが生じにくい。そのため、H/WのアシストなしでS/Wでクロックソースを提供するタイムマスタ2と比較して高精度なクロックソースを提供できる。この場合、H/Wを使用して高精度なクロックソースを提供するタイムマスタ2の優先度を、高優先度「2」~「127」とし、H/WのアシストなしでS/Wでクロックソースを提供するタイムマスタ2の優先度を低優先度「128」~「255」とするように、優先度をクラス分けすれば、確実に高精度なクロックソースを提供するタイムマスタ2が選定されることになる。
 以上より、実施の形態1に係る時刻同期システムによれば、グランドマスタ1は、最高優先度に設定されるため、グランドマスタ1に選出される前の元の優先度よりも高い優先度を持つタイムマスタ2がシステム稼働開始後にシステムに接続され、BMCAが実行されても、グランドマスタ1は変更されることないため、時刻同期システム内での時刻同期ずれが発生しないという効果を奏する。
実施の形態2.
 図9は、本発明の実施の形態2の時刻同期システムの構成例を示す。実施の形態1と共通する構成要素には、同じ符号を付して説明を省略する。
 簡易タイムマスタ5(5-1~5-M)は、時刻情報を保持する装置であり、管理マスタ3から送信される各種の要求に対応せず、BMCAを実行するタイムマスタであり、システム内に複数局存在することができる。さらに、簡易タイムマスタ5は、時刻通知フレームの送信を行うこともできる。簡易タイムマスタ5の例としては、タイムサーバが挙げられ、より高精度なクロックを実現することができる。また、簡易タイムマスタ5はグランドマスタ1になることができる。
 実施の形態2においては、タイムマスタ2に設定できる優先度を「11」~「255」、管理マスタ3がタイムマスタ2に設定する最高優先度を「10」、簡易タイムマスタ5に設定できる優先度を「1」~「9」とする。
 図10は、簡易タイムマスタ5の構成を示すブロック図である。簡易タイムマスタ優先度保持部51は、優先度を保持する。簡易タイムマスタBMCA処理部52は、簡易タイムマスタ優先度保持部51の保持する優先度を用いてIEEE1588またはIEEE802.1AS-Rev等で規定されているグランドマスタ1の選出処理を行う。簡易タイムマスタ時刻生成部53は、時刻同期に使用する時刻を生成する。簡易タイムマスタ時刻補正部54は、簡易タイムマスタ時刻生成部53の時刻をグランドマスタ1の時刻に補正する。
 図11は、実施の形態2のシステム稼働開始時のシステム構成例と、その時の優先度を示す図である。システム稼働開始時では、グランドマスタ1が選出されていない状態であり、各タイムマスタ2は、最高優先度「10」以外の優先度「11」~「255」をタイムマスタ優先度保持部23に保持している。また、各簡易タイムマスタ5は、最高優先度「10」よりも高い優先度の「1」~「9」を簡易タイムマスタ優先度保持部51に保持している。
実施の形態2において、優先度「100」を持つタイムマスタ2-1、優先度「110」を持つタイムマスタ2-2、優先度「120」を持つタイムマスタ2-3、優先度「8」を持つ簡易タイムマスタ5-1、優先度「9」を持つ簡易タイムマスタ5-2からグランドマスタ1を選出する動作を説明する。なお、本実施の形態2において、最高優先度は「10」と設定しているが、簡易タイムマスタ5に設定する優先度帯を加減できるように可変とすることができ、また、システムの立ち上げ時に設定できるようにしてもよい。
 タイムマスタ2と管理マスタ3は、実施の形態1におけるステップS1からステップS8までの手順と同様に通信を行い、優先度が最も高いタイムマスタ2の優先度を最高優先度「10」に変更する。
次に、各タイムマスタ2のタイムマスタBMCA処理部25は、タイムマスタ優先度保持部23の優先度を用い、簡易タイムマスタBMCA処理部52は簡易タイムマスタ優先度保持部51の優先度を用いてBMCAを実行し、最も高い優先度を持つタイムマスタ2または簡易タイムマスタ5がグランドマスタ1に選出される。図12のシステム構成においては、簡易タイムマスタ5-1がグランドマスタ1に選出される。
 実施の形態1のステップS11と同様に、BMCA処理後の各タイムマスタ2および各簡易タイムマスタ5は、グランドマスタ1の時刻に時刻同期する。
 ここで、図13のように、システム稼働開始後に、タイムマスタ2-1の最高優先度「100」より優先度の高い優先度「50」を持つタイムマスタ2-4が追加され、BMCAが実行されても、簡易タイムマスタ5の優先度をタイムマスタ2の最高優先度「10」よりも高い優先度帯を設定しているため、グランドマスタ1(簡易タイムマスタ5-1)が変更されることはない。
 以上より、実施の形態2に係る時刻同期システムによれば、タイムマスタ2の最高優先度より優先度の高い優先度帯を設定し、最高優先度の変更に対応していない簡易タイムマスタ5の優先度をこの優先度帯の優先度にすることにより、簡易タイムマスタ5でもグランドマスタ1になることができるようになる。また、簡易タイムマスタ5がタイムサーバである場合において、該簡易タイムマスタ5がグランドマスタ1になることで、より高精度なクロックが実現できる。
 さらに、グランドマスタ1は、タイムマスタ2の優先度をタイムマスタ2内で最高優先度に変更した後の、複数の他のタイムマスタ2内の最高優先度よりさらに高い優先度に設定されるため、図13に示すように、優先度が最高優先度のタイムマスタ2のもとの優先度より高い優先度を持つタイムマスタが接続され、BMCAが実行されても、グランドマスタ1は変更されないため、時刻同期ずれは発生しないという効果を奏する。
実施の形態3.
 実施の形態3は、タイムマスタ2よりも高精度なクロックを実現する簡易タイムマスタ5の保持する時刻で時刻同期した後に、システム内の各タイムマスタ2および各簡易タイムマスタ5よりも優先度の高いタイムマスタ2が新たに追加された場合について説明する。実施の形態3における時刻同期システムの構成例は、実施の形態2と同様である。実施の形態3ではタイムマスタ2および簡易タイムマスタ5に設定できる優先度を「2」~「255」、管理マスタ3がタイムマスタ2に設定する最高優先度を「1」とする。
 図14は、実施の形態3のシステム稼働開始時のシステム構成例と、その時の優先度を示す図である。システム稼働開始時では、まだグランドマスタ1が選出されていない状態であり、各タイムマスタ2は最高優先度「1」以外の優先度「2」~「255」をタイムマスタ優先度保持部23に保持し、各簡易タイムマスタ5は最高優先度「1」以外の優先度「2」~「255」を簡易タイムマスタ優先度保持部51に保持している。
実施の形態3においては、優先度「100」を持つタイムマスタ2-1、優先度「110」を持つタイムマスタ2-2、優先度「120」を持つタイムマスタ2-3、優先度「80」を持つ簡易タイムマスタ5-1、優先度「90」を持つ簡易タイムマスタ5-2からグランドマスタ1を選出する動作を説明する。
各タイムマスタ2のタイムマスタBMCA処理部25は、タイムマスタ優先度保持部23の優先度を用いてBMCAを実行し、簡易タイムマスタBMCA処理部52は簡易タイムマスタ優先度保持部51の優先度を用いてBMCAを実行し、最も高い優先度を持つタイムマスタ2または簡易タイムマスタ5がグランドマスタ1に選出される。図15においては、簡易タイムマスタ5-1がグランドマスタ1に選出される。
 次に、実施の形態1および実施の形態2と同様に、管理マスタ3が、各タイムマスタ2の優先度を調査し、優先度の最も高いタイムマスタ2-1に最高優先度通知フレームを送信する。最高優先度通知フレームを受けたタイムマスタ2-1のタイムマスタ最高優先度処理部24は、タイムマスタ最高優先度通知フレームを受信したことを、記憶手段(図示しない)に記憶しておく。なお、この時点でタイムマスタ優先度保持部23の優先度の変更は行わない。
 ここで、図16に示すように、システム稼働開始後に、優先度が最も高いタイムマスタ2-4が接続され、BMCAが開始される。この状態でBMCAが開始されると、最高優先度通知フレームを受けたタイムマスタ2-1のタイムマスタBMCA処理部25ではBMCAの中で追加されたタイムマスタ2-4の優先度が現在のグランドマスタ1の優先度より高いことを検出する。
 最も高い優先度を持つタイムマスタ2-4の接続を検出したタイムマスタBMCA処理部25は、タイムマスタ最高優先度処理部24に、最も高い優先度を持つタイムマスタ2-4が接続されたことを通知する。通知を受けたタイムマスタ最高優先度処理部24はこの時点でタイムマスタ優先度保持部23の優先度を最高優先度「1」に変更し、変更したことをタイムマスタBMCA処理部25に通知する。通知を受けたタイムマスタBMCA処理部25は、最高優先度「1」でBMCAを実行し、図17に示すように最高優先度「1」を持つタイムマスタ2-1がグランドマスタ1になる。なお、実施の形態3では例としてタイムマスタ2を接続しているが、簡易タイムマスタ5でも同様である。
 以上より、実施の形態3に係る時刻同期システムによれば、簡易タイムマスタ5-1がグランドマスタ1になった場合に、グランドマスタ1(簡易タイムマスタ5-1)と時刻同期をしたシステム内のタイムマスタ2の中から最も高い優先度に最高優先度通知フレームを送信しておき、最高優先度通知フレームを受信したタイムマスタ2の最高優先度への変更を、最も高い優先度を持つタイムマスタ2が追加された時点で行うことにより、新たに追加されたタイムマスタ2に最高優先度が変更されてグランドマスタ1になってしまうことを防止することができる。また、グランドマスタ1が、簡易タイムマスタ5-1からタイムマスタ2-1へ変更が発生しても、新しいグランドマスタ1(タイムマスタ2-1)は既にシステムに時刻同期しているため、時刻同期ずれが発生しないという効果を奏する。
 1 グランドマスタ、2 タイムマスタ、3 管理マスタ、4 ネットワーク、5 簡易タイムマスタ、21 タイムマスタ通信部、22 タイムマスタ優先度応答部、23 タイムマスタ優先度保持部、24 タイムマスタ最高優先度処理部、25 タイムマスタBMCA処理部、26 タイムマスタ時刻生成部、31 管理マスタ通信部、32 管理マスタ優先度要求部、33 管理マスタ優先度格納部、34 管理マスタ最高優先度処理部、51 簡易タイムマスタ優先度保持部、52 簡易タイムマスタBMCA処理部、53 簡易タイムマスタ時刻生成部、54 簡易タイムマスタ時刻補正部、101 ネットワークヘッダ、102 フレーム種別格納領域、103 データ格納領域

Claims (10)

  1. 時刻情報を保持する複数のタイムマスタと、前記時刻情報を管理し、前記複数のタイムマスタから優先度が最も高い一局のタイムマスタに対し、最高優先度の通知を行う管理マスタと、を備えた時刻同期システムであって、
     前記管理マスタは、前記時刻同期システムの稼働開始時に、各タイムマスタに予め設定された優先度を要求する優先度要求フレームを前記各タイムマスタに送信する管理マスタ優先度要求部と、最も高い優先度を保持するタイムマスタに対して優先度を最高優先度に変更する最高優先度通知フレームを送信する管理マスタ最高優先度処理部と、を有し、
     前記タイムマスタは、前記時刻同期システムの稼働開始時に、前記管理マスタから優先度要求フレームを受け取った後、前記タイムマスタに格納された優先度を応答する優先度応答フレームを前記管理マスタに送信するタイムマスタ優先度応答部と、前記管理マスタから前記最高優先度通知フレームを受けた場合に優先度を最高優先度に変更するタイムマスタ最高優先度処理部と、自局の優先度と他局から取得した優先度を比較し、最も高い優先度を持つ前記タイムマスタをグランドマスタに選出する処理を行うタイムマスタBMCA(Best Master Clock Algorithm)処理部と、を有し、
     前記グランドマスタは、前記時刻同期システムの稼働開始後も、最高優先度を保持し、前記グランドマスタに保持された時刻情報に基づき前記他のタイムマスタの時刻を同期させる時刻通知フレームを前記他のタイムマスタに送信する、
     時刻同期システム。
  2.  時刻情報を保持する複数の簡易タイムマスタを有し、
     前記簡易タイムマスタは、前記簡易タイムマスタの優先度と他局から取得した優先度の比較および時刻通知フレームの送信を行うこと
    を特徴とする請求項1に記載の時刻同期システム。
  3.  前記各簡易タイムマスタに設定される優先度は、前記各タイムマスタに設定される最高優先度よりも高いこと
    を特徴とする請求項2に記載の時刻同期システム。
  4. 時刻情報を保持する複数のタイムマスタと、前記時刻情報を保持し、自局の優先度と他局から取得した優先度の比較および時刻通知フレームの送信行う複数の簡易タイムマスタと、前記時刻情報を管理し、前記複数のタイムマスタから優先度が最も高い一局のタイムマスタに対し、最高優先度の通知を行う管理マスタと、を備えた時刻同期システムであって、
     前記管理マスタは、前記時刻同期システムの稼働開始時に、各タイムマスタに予め設定された優先度を要求する優先度要求フレームを前記各タイムマスタに送信する管理マスタ優先度要求部と、最も高い優先度を保持する前記タイムマスタに対して優先度を最高優先度に変更する最高優先度通知フレームを送信する管理マスタ最高優先度処理部と、を有し、
     前記タイムマスタは、前記時刻同期システムの稼働開始時に、前記管理マスタから優先度要求フレームを受け取った後、前記タイムマスタに格納された優先度を応答する優先度応答フレームを前記管理マスタに送信するタイムマスタ優先度応答部と、前記管理マスタから前記最高優先度通知フレームを受けた場合に優先度を最高優先度のグランドマスタに変更するタイムマスタ最高優先度処理部とを有し、
     前記グランドマスタは、前記時刻同期システムの稼働開始時に、前記グランドマスタに保持された時刻情報に基づき前記他のタイムマスタの時刻を同期させる時刻通知フレームを前記他のタイムマスタに送信し、
     前記タイムマスタおよび前記簡易タイムマスタが、前記グランドマスタの時刻に時刻同期した後、複数の前記タイムマスタのうち、前記管理マスタから最高優先度通知フレームを受けたタイムマスタは、新たに最も高い優先度を持つタイムマスタまたは簡易タイムマスタが接続された時点で、優先度を最高優先度に変更し、グランドマスタになること
     を特徴とする時刻同期システム。
  5. 時刻情報を保持するタイムマスタであって、
    前記タイムマスタに予め設定された優先度を要求する優先度要求フレームを受け取った場合に、優先度を応答する優先度応答フレームを送信するタイムマスタ優先度応答部と、
    最高優先度通知フレームを受け取った場合に優先度を最高優先度に変更するタイムマスタ最高優先度処理部と、
    自局の優先度と他局から取得した優先度を比較し、最も高い優先度を持つ前記タイムマスタをグランドマスタに選出する処理を行うタイムマスタBMCA(Best Master Clock Algorithm)処理部と、を備え、
     時刻同期システムの稼働開始後に、前記時刻同期システムに、前記グランドマスタの元の前記タイムマスタの優先度より高い優先度を持つ前記タイムマスタが追加された場合でも、最高優先度を保持し、前記グランドマスタに保持された時刻情報に基づき前記他のタイムマスタの時刻を同期させる時刻通知フレームを前記他のタイムマスタに送信することを特徴とするタイムマスタ。
  6.  時刻同期システムの稼働開始時に、時刻情報を保持するタイムマスタに予め設定された優先度を要求する優先度要求フレームを前記各タイムマスタに送信する管理マスタ優先度要求部と、
     最も高い優先度を保持する前記タイムマスタに対して優先度を最高優先度に変更する最高優先度通知フレームを送信する管理マスタ最高優先度処理部と、
    を備える管理マスタ。
  7.  時刻情報を保持する複数のタイムマスタと、前記時刻情報を管理し、前記複数のタイムマスタから優先度が最も高い一局のタイムマスタに対し、最高優先度の通知を行う管理マスタと、を備える時刻同期システムにおける時刻同期方法であって、
     時刻同期システムの稼働開始時に、前記管理マスタが、前記各タイムマスタに予め設定された優先度を要求する優先度要求フレームを前記各タイムマスタに送信するステップと、
     前記管理マスタが、最も高い優先度を保持する前記タイムマスタに対して優先度を最高優先度に変更する最高優先度通知フレームを送信するするステップと、
     前記管理マスタから優先度要求フレームを受け取った前記タイムマスタが、前記タイムマスタに格納された優先度を応答する優先度応答フレームを前記管理マスタに送信するステップと、
     前記管理マスタから前記最高優先度通知フレームを受けた前記タイムマスタが、優先度を最高優先度に変更するステップと、
     自局の優先度と他局から取得した優先度を比較し、最も高い優先度を持つ前記タイムマスタをグランドマスタに選出するステップと、
     時刻同期システムの稼働開始後も、最高優先度を保持し、前記グランドマスタに保持された時刻情報に基づき前記他のタイムマスタの時刻を同期させる時刻通知フレームを前記他のタイムマスタに送信するステップと、
     を含む時刻同期方法。
  8.  前記時刻同期システムは、複数の簡易タイムマスタを含み、
     前記簡易タイムマスタは、前記簡易タイムマスタの優先度と他局から取得した優先度の比較および時刻通知フレームを送信すること
     を特徴とする請求項7に記載の時刻同期方法。
  9.  前記各簡易タイムマスタの優先度が前記各タイムマスタの優先度よりも高いこと
     を特徴とする請求項8に記載の時刻同期方法。
  10.  前記各タイムマスタのうち優先度が最も高い前記タイムマスタに前記最高優先度通知フレームを送信するステップと、
     前記時刻同期システムに新たに優先度が最も高いタイムマスタまたは簡易タイムマスタが接続された場合に、前記最高優先度通知フレームを受信した前記タイムマスタは、優先度を最高優先度のグランドマスタに変更するステップと、
     をさらに含むことを特徴とする請求項9に記載の時刻同期方法。
PCT/JP2018/040075 2018-10-29 2018-10-29 時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法 WO2020089962A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2019505264A JP6555445B1 (ja) 2018-10-29 2018-10-29 時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法
US17/269,255 US11271714B2 (en) 2018-10-29 2018-10-29 Time synchronization system, time master, management master, and time synchronization method
PCT/JP2018/040075 WO2020089962A1 (ja) 2018-10-29 2018-10-29 時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法
DE112018007928.7T DE112018007928B4 (de) 2018-10-29 2018-10-29 Zeitsynchronisationssystem, Zeitmaster, Verwaltungsmaster und Zeitsynchronisationsverfahren
TW108137656A TWI728514B (zh) 2018-10-29 2019-10-18 時刻同步系統、時間主局、管理主局及時刻同步方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/040075 WO2020089962A1 (ja) 2018-10-29 2018-10-29 時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法

Publications (1)

Publication Number Publication Date
WO2020089962A1 true WO2020089962A1 (ja) 2020-05-07

Family

ID=67539757

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/040075 WO2020089962A1 (ja) 2018-10-29 2018-10-29 時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法

Country Status (5)

Country Link
US (1) US11271714B2 (ja)
JP (1) JP6555445B1 (ja)
DE (1) DE112018007928B4 (ja)
TW (1) TWI728514B (ja)
WO (1) WO2020089962A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7008894B1 (ja) * 2021-06-10 2022-01-25 三菱電機株式会社 時刻同期従属装置、時刻共有システム、時刻共有方法及びプログラム

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020236164A1 (en) 2019-05-22 2020-11-26 Vit Tall Llc Multi-clock synchronization in power grids
DE102019219475B4 (de) * 2019-12-12 2021-08-05 Continental Automotive Gmbh Verfahren zur Optimierung der Zeitsynchronisation zwischen über ein Kommunikationsnetzwerk verbundenen Netzwerkgeräten

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328690A (ja) * 1995-05-26 1996-12-13 Mitsubishi Electric Corp 時刻管理システム装置
JP2007101183A (ja) * 2005-09-30 2007-04-19 Seiko Epson Corp 通信システム及び時刻同期方法

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3492558B2 (ja) 1999-07-21 2004-02-03 三菱電機株式会社 リング型ネットワークシステム
JP4080366B2 (ja) * 2003-04-01 2008-04-23 シャープ株式会社 ネットワーク端末、ネットワークシステム、ネットワーク端末の制御方法
US8774084B2 (en) 2008-08-22 2014-07-08 Qualcomm Incorporated Base station synchronization
US8958807B2 (en) * 2012-01-09 2015-02-17 Samsung Electronic Co., Ltd. Method and apparatus for providing communication service to mobile station by multiple base stations in cooperation in wireless communication system
KR102121526B1 (ko) * 2012-07-23 2020-06-10 삼성전자주식회사 클라우드 셀 통신 시스템에서 데이터 스케쥴링 장치 및 방법
US9760114B1 (en) 2014-01-03 2017-09-12 Juniper Networks, Inc. Systems and methods for improving clock synchronization between master and slave devices
CN103873224B (zh) 2014-03-11 2017-01-18 中国电子科技集团公司第二十八研究所 一种基于ip网络的高精度时间同步系统的构建方法
US9819541B2 (en) 2015-03-20 2017-11-14 Cisco Technology, Inc. PTP over IP in a network topology with clock redundancy for better PTP accuracy and stability
CN107667491B (zh) * 2015-06-10 2019-07-19 诺基亚通信公司 增强计算机网络中的同步的方法、装置和计算机可读介质
US9930704B2 (en) * 2015-07-24 2018-03-27 Aruba Networks, Inc. Heterogeneous deployment of access point clusters
US9668101B2 (en) 2015-08-10 2017-05-30 Qualcomm Incorporated Partial timing synchronization function (TSF) synchronization in fine timing measurement (FTM) protocol
US11539782B2 (en) * 2018-10-02 2022-12-27 Hyundai Motor Company Controlling can communication in a vehicle using shifting can message reference

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328690A (ja) * 1995-05-26 1996-12-13 Mitsubishi Electric Corp 時刻管理システム装置
JP2007101183A (ja) * 2005-09-30 2007-04-19 Seiko Epson Corp 通信システム及び時刻同期方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7008894B1 (ja) * 2021-06-10 2022-01-25 三菱電機株式会社 時刻同期従属装置、時刻共有システム、時刻共有方法及びプログラム

Also Published As

Publication number Publication date
US20210167941A1 (en) 2021-06-03
DE112018007928T5 (de) 2021-05-27
DE112018007928B4 (de) 2022-08-11
US11271714B2 (en) 2022-03-08
JP6555445B1 (ja) 2019-08-07
JPWO2020089962A1 (ja) 2021-02-15
TW202016676A (zh) 2020-05-01
TWI728514B (zh) 2021-05-21

Similar Documents

Publication Publication Date Title
US9577774B2 (en) Time synchronization method and system
US20120250704A1 (en) Network node, time synchronization method and network system
WO2020089962A1 (ja) 時刻同期システム、タイムマスタ、管理マスタおよび時刻同期方法
WO2015196685A1 (zh) 时钟同步方法及装置
CN102036361A (zh) 时钟源选择的处理方法、装置和系统
CN102035638A (zh) 时钟选源处理方法、装置和系统
WO2010078800A1 (zh) 时钟源确定方法、装置及系统
WO2017080247A1 (zh) 同步方法及装置
US9641268B2 (en) Method, system and device for synchronizing clocks
CN112929119B (zh) 分布式系统链路切换方法、装置、设备及存储介质
US9179429B2 (en) Synchronization method, device, and system
US20080304521A1 (en) Internal signaling method to support clock synchronization of nodes connected via a wireless local area network
JP4223962B2 (ja) 無線ローカル・エリア・ネットワークを介して接続されたノードのクロック同期に対応する内部信号方法
JP2018088644A (ja) 無線接続された複数端末間の時刻同期方法及び時刻同期システム
EP4366212A1 (en) Clock synchronization method and communication apparatus
CN103236894B (zh) 一种无缝冗余网络中时钟同步方法和装置
WO2022127924A1 (zh) 选择时钟源的方法及装置
US9699750B2 (en) Synchronization establishment method
US20230126682A1 (en) Fault tolerance method and apparatus of network device system, computer device, and storage medium
JP2016036060A (ja) 時刻同期方法、時刻同期システム
CN116015526B (zh) 报文处理方法、装置、电子设备及机器可读存储介质
EP4203568A1 (en) Time synchronization failure processing method, device and system
EP4068659A1 (en) Clock port attribute recovery method, device, and system
JP2018046537A (ja) 受動光ネットワークの時刻同期化方法
US20160309435A1 (en) Segment synchronization method for network based display

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2019505264

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18938629

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18938629

Country of ref document: EP

Kind code of ref document: A1