KR101674600B1 - Apparatus and method for selecting master device - Google Patents

Apparatus and method for selecting master device Download PDF

Info

Publication number
KR101674600B1
KR101674600B1 KR1020150069702A KR20150069702A KR101674600B1 KR 101674600 B1 KR101674600 B1 KR 101674600B1 KR 1020150069702 A KR1020150069702 A KR 1020150069702A KR 20150069702 A KR20150069702 A KR 20150069702A KR 101674600 B1 KR101674600 B1 KR 101674600B1
Authority
KR
South Korea
Prior art keywords
time synchronization
master
master device
message
time
Prior art date
Application number
KR1020150069702A
Other languages
Korean (ko)
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 KR1020150069702A priority Critical patent/KR101674600B1/en
Application granted granted Critical
Publication of KR101674600B1 publication Critical patent/KR101674600B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • H04L7/0012Synchronisation information channels, e.g. clock distribution lines by comparing receiver clock with transmitter clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0079Receiver details

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Provided are a method and an apparatus for selecting a master device. According to various embodiments of the present invention, a method for allowing a time synchronization device to select a master device for time synchronization comprises the following steps: receiving messages from each of a plurality of master devices included in a network to which the time synchronization device is connected; comparing quality of time information, used for the time synchronization, included in each of the received messages; selecting a first master device for performing the time synchronization among the plurality of master devices on the basis of a result of the comparison; and transmitting a plurality of messages used for the time synchronization to the first master device. The time synchronization device according to various embodiments of the present invention can minimize network traffic by removing an unnecessary message in the process of performing time synchronization.

Description

[0001] APPARATUS AND METHOD FOR SELECTING MASTER DEVICE [0002]

The present invention relates to a method and apparatus for selecting a master device. More particularly, the present invention relates to a method and apparatus for performing time synchronization between a master device and a slave device by effectively selecting a master device when matching between a master device and a slave device existing in a network.

There are NTP (Network Time Protocol) and PTP (Precision Time Protocol) methods for implementing time synchronization through the network. Specifically, in implementing time synchronization through the PTP method, there are the following two methods in which the time synchronization device (e.g., slave device) performs time synchronization.

In the multicast scheme, the master device periodically transmits an announce message and a sync message, which are messages used for time synchronization. After receiving the announce message and the sync message transmitted in the multicast manner, the time synchronization device transmits a Delay_Request message to the master device and then receives a Delay_Response message from the master device Perform time synchronization.

In the unicast method, a signaling for an announcement message, a sync message, and a delay_response message, which are messages used for time synchronization from a time synchronizer to a master device in a unicast manner, are transmitted. The time synchronization device selects a transmission period for the announcement message, the sync message and the delay_response message, and transmits the announcement message, the sync message, and the delay_request / response message according to the transmission period Thereby performing time synchronization.

Multicast-based time synchronization transmits announcement messages via multicast, for example, up to 8 times per second and sink messages up to 128 times per second, which increases traffic inside the network and increases packet delay and loss . In addition, the multicast scheme does not negotiate a message used for time synchronization between the time synchronization apparatus and the master apparatus. Therefore, since the master device transmits a message used for the time synchronization to the fixed setting period, it is impossible to change the setting period according to the needs of the network environment and the time synchronization device.

The time synchronization through the unicast method may be used when the address of the master device operating in the network can not be secured or when the master device acquires time information such as a main synchronization source such as GPS (Global Positioning System), PRS If the time information can not be serviced due to a failure, a power failure, or a facility problem, the master device can not be secured and time synchronization can not be performed.

According to various embodiments of the present invention, a method for a time synchronization device to select a master device for time synchronization includes receiving a message from each of a plurality of master devices included in a network to which the time synchronization device is connected, Comparing the quality of the time information to be used for time synchronization included in each of the plurality of master devices, selecting a first master device for performing time synchronization among the plurality of master devices based on the comparison result, And transmitting a plurality of messages used for time synchronization to the first master device.

According to various embodiments of the present invention, a time synchronization device for selecting a master device for time synchronization includes a communication module for receiving a message from each of a plurality of master devices included in a network to which the time synchronization device is connected, Comparing the quality of the time information used for time synchronization included in each of the plurality of master devices and selecting a first master device for performing time synchronization among the plurality of master devices based on the comparison result, And a controller for controlling the master device to transmit a plurality of messages used for the time synchronization through the communication module.

The time synchronization apparatus according to various embodiments of the present invention can minimize unnecessary traffic by minimizing the traffic in the network during the time synchronization. In addition, the time synchronization device can monitor a plurality of master devices existing in the network, so that the quality of a plurality of master devices can be compared. In addition, the time synchronization device can select one master device among a plurality of master devices based on the comparison result and perform time synchronization with the highest quality.

BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 shows a network comprising a plurality of time synchronization devices and a master device according to various embodiments of the present invention.
2 is a block diagram of a time synchronizer and a master device in accordance with various embodiments of the present invention.
3 is a flowchart of a method of selecting a master device by a time synchronization device according to various embodiments of the present invention.
4 is a flow chart of a method of operation of a master device according to various embodiments of the present invention.
5 is a flowchart of a time synchronization method between a time synchronization device and one master device according to various embodiments of the present invention.
6 is a flowchart of a time synchronization method between a time synchronization device and a plurality of master devices according to various embodiments of the present invention.

Hereinafter, various embodiments of the present document will be described with reference to the accompanying drawings. It should be understood, however, that this invention is not intended to be limited to the particular embodiments described herein but includes various modifications, equivalents, and / or alternatives of the embodiments of this document . In connection with the description of the drawings, like reference numerals may be used for similar components.

In this document, the expressions "having," " having, "" comprising," or &Quot;, and does not exclude the presence of additional features.

In this document, the expressions "A or B," "at least one of A or / and B," or "one or more of A and / or B," etc. may include all possible combinations of the listed items . For example, "A or B," "at least one of A and B," or "at least one of A or B" includes (1) at least one A, (2) Or (3) at least one A and at least one B all together.

As used herein, the terms "first," "second," "first," or "second," and the like may denote various components, regardless of their order and / or importance, But is used to distinguish it from other components and does not limit the components. For example, the first user equipment and the second user equipment may represent different user equipment, regardless of order or importance. For example, without departing from the scope of the rights described in this document, the first component can be named as the second component, and similarly the second component can also be named as the first component.

(Or functionally or communicatively) coupled with / to "another component (eg, a second component), or a component (eg, a second component) Quot; connected to ", it is to be understood that any such element may be directly connected to the other element or may be connected through another element (e.g., a third element). On the other hand, when it is mentioned that a component (e.g., a first component) is "directly connected" or "directly connected" to another component (e.g., a second component) It can be understood that there is no other component (e.g., a third component) between other components.

As used herein, the phrase " configured to " (or set) to be "configured according to circumstances may include, for example, having the capacity to, To be designed to, "" adapted to, "" made to, "or" capable of ". The term " configured to (or set up) "may not necessarily mean" specifically designed to "in hardware. Instead, in some situations, the expression "configured to" may mean that the device can "do " with other devices or components. For example, a processor configured (or configured) to perform the phrases "A, B, and C" may be implemented by executing one or more software programs stored in a memory device or a dedicated processor (e.g., an embedded processor) , And a generic-purpose processor (e.g., a CPU or an application processor) capable of performing the corresponding operations.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the other embodiments. The singular expressions may include plural expressions unless the context clearly dictates otherwise. Terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by one of ordinary skill in the art. The general predefined terms used in this document may be interpreted in the same or similar sense as the contextual meanings of the related art and, unless expressly defined in this document, include ideally or excessively formal meanings . In some cases, even the terms defined in this document can not be construed as excluding the embodiments of this document.

Hereinafter, referring to the accompanying drawings, an apparatus according to various embodiments will be described. In this document, the term user may refer to a person or device using the device (e.g., an artificial intelligence device).

BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 shows a network comprising a plurality of time synchronization devices and a master device according to various embodiments of the present invention.

According to various embodiments of the present invention, the master device may time-synchronize to a device such as a GPS to obtain time information that is inferior to the GPS. The master device can transmit time information based on the GPS to the time synchronization device through a network using a message, a packet, or the like. The network may include a plurality of master devices 110a, 110b, 110c, 110d, and 110n and a plurality of time synchronization devices 120a, 120b, 120c, 120d, and 120n as shown in FIG.

A plurality of time synchronizers 120a, 120b, 120c, 120d, and 120n located near or at a distance from each of the plurality of master devices 110a, 110b, 110c, 110d, 110a, 110b, 110c, 110d, and 110n. The plurality of time synchronization devices 120a, 120b, 120c, 120d and 120n receive time information from one of the plurality of master devices 110a, 110b, 110c, 110d and 110n, Can be performed. For example, the time synchronization apparatus can perform time synchronization using IP addresses of a plurality of master devices 110a, 110b, 110c, 110d, and 110n included in the network.

The master device performing the current time synchronization with the time synchronization devices 120a, 120b, 120c, 120d and 120n among the plurality of master devices 110a, 110b, 110c, 110d and 110n is referred to as a master master device And the remaining master devices other than the main master device may be referred to as a spare master device. The time synchronizers 120a, 120b, 120c, 120d and 120n may compare the quality of the time information used for time synchronization among the plurality of master devices 110a, 110b, 110c, 110d and 110n, The main master device can be selected and the time synchronization with the selected master master device can be performed.

The comparison of the quality of the visual information may be performed based on a predetermined criterion (e.g., a standard related to a message used for time synchronization, etc.). For example, the time synchronization device may compare the values of the time information by comparing values corresponding to fields indicating the quality included in the preset reference.

A message used for comparing the visual information quality of each of the plurality of master devices 110a, 110b, 110c, 110d, and 110n is transmitted to the plurality of master devices 110a, 110b, 110c, 110d, Lt; RTI ID = 0.0 > multicast < / RTI > Accordingly, the time synchronization apparatus can receive a plurality of messages transmitted in the multicast manner, and compare the quality of the time information included in the plurality of messages.

Further, the time synchronization apparatus can perform time synchronization with the selected master master apparatus on the basis of the comparison result through the unicast method. As described above, the time synchronization apparatus according to various embodiments of the present invention receives a message for selecting a master device in a multicast manner and time-synchronizes with the selected master device in a unicast manner, It is possible to solve each problem of the unicast time synchronization method.

For example, by selecting a master master device using a message transmitted in a multicast manner, it is possible to select another master device that can be secured or connected even if a specific master device can not be secured, as a master master device. In addition, by performing time synchronization with the master master device selected by the unicast method, it is possible to reduce unnecessary messages for time synchronization to reduce traffic, reduce packet delay and loss, Accordingly, it is possible to change the transmission period of a message used for time synchronization and the like.

In addition, even if the specific master device is not normally serviced due to unknown address of the master device or other failure, the time synchronization device performs time synchronization with another master device, thereby preventing a situation in which time synchronization through the network is not performed .

2 is a block diagram of a time synchronizer and a master device in accordance with various embodiments of the present invention.

In FIG. 2, one time synchronization device 210 and a plurality of master devices 220, 230, and 240 will be mainly described.

According to various embodiments of the present invention, the time synchronization device 210 may include a communication module 211 and a control unit 212. The communication module 211 may receive a message transmitted from each of the plurality of master devices 220, 230, and 240 in a multicast manner. The message may be a message including time information used for time synchronization, and more specifically, the message may be an announce message used for time synchronization. The communication module may forward the received announcement message to the controller 212. [

By selecting the main master device using the message transmitted in the multicast manner, it is possible to select another master device that can be secured or connected even if the specific master device can not be secured, as the master master device. In addition, even if the specific master device is not normally serviced due to unknown address of the master device or other failure, the time synchronization device performs time synchronization with another master device, thereby preventing a situation in which time synchronization through the network is not performed .

According to various embodiments of the present invention, the controller 212 may compare the quality of the time information used for time synchronization included in each of the received messages. By comparing the quality of the time information, the controller 212 performs the time synchronization of the master device having the highest quality of time information among the plurality of master devices 220, 230, and 240 included in the network Can be selected as the master master device for Accordingly, the controller 212 can perform time synchronization with high quality.

According to various embodiments of the present invention, the controller 212 may compare values corresponding to a plurality of predetermined fields included in the received messages. For example, the controller 212 may compare the quality of the time information contained in each of the received messages based on a preset reference, e.g., a standard related to a message used for time synchronization.

For example, the controller 212 may set fields indicating the quality of the time information on the preset reference. The controller 212 may be configured to select one of the plurality of master devices 220, 230, and 240 as a BMC (Best Master Clock) algorithm for selecting one master device for performing time synchronization, By comparing the values, the quality of the visual information of each of the plurality of master devices 220, 230, and 240 can be relatively compared.

More specifically, the control unit 212 may compare values corresponding to the plurality of fields based on the priority among the plurality of fields set in advance. The priority may be preset according to the user and the preset criteria. The controller 212 compares at least one field among the plurality of fields according to the priority without comparing all of the plurality of fields to compare the fields of the plurality of master devices 220, It is possible to relatively compare the quality of the visual information of the user.

According to various embodiments of the present invention, the plurality of fields include a field (e.g., a priority 1 field and a priority 2 field) indicating a priority that can be set by the user, a field (e.g., a class field) A field indicating the number of hops of the network (eg, the steps Removed field), and a unique number for the device (for example, port (port) Identity field).

For example, the field indicating the priority that can be set by the user may be set to one of values from 0 to 255 according to the setting of the user. The field indicating the equipment operation state may be set to a value indicating non-lock, lock, holdover, or freerun. A field indicating the accuracy of the time information and a field indicating the stability of the time information can be set to values indicating the accuracy and stability of the time information and a field indicating the number of hops of the network and a field indicating a unique number of the device are also respectively And may be set to a value indicating the number of hops and unique number of the network.

However, the above-mentioned fields are only examples for the purpose of explanation. Also, through the other fields indicating the quality of the time information included in the message received from the master devices 220, 230, and 240, It is obvious to a person skilled in the art that the quality of the visual information of each of the light sources 220, 230 and 240 can be relatively compared.

According to various embodiments of the present invention, the control unit 212 may select a first master device as a primary master device for performing time synchronization among the plurality of master devices 220, 230, and 240 based on the comparison result Can be selected. The controller 212 may transmit a plurality of messages used for time synchronization to the first master device in a unicast manner.

In this way, the controller 212 performs time synchronization with the first master device selected as the master master device in a unicast manner, thereby eliminating unnecessary messages in performing the time synchronization. Accordingly, the traffic in the time synchronization process can be reduced and the delay or loss of the packet can be reduced.

According to various embodiments of the present invention, the controller 212 can determine the quality level of the time information of each of the plurality of master devices 220, 230, and 240 based on the comparison result. For example, the control unit 212 may determine the relative superiority of time information quality among the plurality of master devices 220, 230, and 240 based on the comparison result, The quality level of each of the time information items 220, 230, and 240 can be determined.

The controller 212 may select a master master device for performing time synchronization among a plurality of master devices 220, 230, and 240 based on the determined quality class. The controller 212 stores the determined quality level and reselects the master master device for performing time synchronization among a plurality of master devices 220, 230, and 240 in the future, It can also be used.

According to various embodiments of the present invention, each of the plurality of master devices 220, 230, and 240 includes communication modules 221, 231, and 241 and may include controls 222, 232, and 242. Since the configuration and operation method of each of the plurality of master devices 220, 230 and 240 are the same, one master device 220 will be mainly described and description of the remaining master devices 230 and 240 will be omitted .

The communication module 221 can transmit a message used for time synchronization in a multicast manner. In addition, when the master device 220 is selected as the master master device by the square synchronizer 210, it can transmit and receive at least one message used for time synchronization with the time synchronization device 21. The communication module 221 receives at least one message used for the time synchronization to the controller 222 and transmits the at least one message to the controller 222 in a multicast manner or transmits at least one message used for time synchronization from the time synchronization device 210 And transmits the received packet to the control unit 222.

The control unit 222 may perform time synchronization with the time synchronization unit 210 using at least one message used for the time synchronization. A specific method of performing the time synchronization with the time synchronization device 210 by the control unit 222 will be described later.

3 is a flowchart of a method of selecting a master device by a time synchronization device according to various embodiments of the present invention.

In step 310, the time synchronization device may receive a message from each of the plurality of master devices included in the network to which the time synchronization device is connected. The message may be transmitted in a multicast manner from each of the plurality of master devices. In addition, the message may be a message including time information used for time synchronization.

The time synchronization apparatus selects a main master apparatus by using the message transmitted in a multicast manner, thereby selecting another master apparatus that can be secured or connected even if the master apparatus can not be secured.

In step 320, the time synchronization device may compare the quality of the time information used for time synchronization contained in each of the received messages. For example, the time synchronization device may compare the quality of the time information of each of the plurality of messages by comparing values corresponding to a plurality of predetermined fields included in each of the plurality of messages.

In step 330, the time synchronization device may select a first master device for performing time synchronization among the plurality of master devices based on the comparison result. In other words, the time synchronization device can select the first master device as the main master device for performing the time synchronization, and the remaining master devices other than the first master device can operate as the standby master device. The remaining master devices do not perform time synchronization with the time synchronization device, but may continuously transmit a message including the time information in a multicast manner according to a predetermined period.

In addition, the time synchronization device can determine the quality level of the time information of each of the master devices based on the comparison result. For example, the time information device can determine the superiority of the relative time information quality among the plurality of master devices based on the comparison result, and accordingly, the quality rating of the time information of each of the plurality of master devices You can decide. Further, the time synchronization device may select the first master device according to the determined quality level.

In step 340, the time synchronization device may transmit at least one of the messages used for time synchronization with the selected first master device, thereby performing time synchronization with the first master device. The time synchronization device may transmit the at least one message to the first master device in a unicast manner.

In this way, the controller 212 performs time synchronization with the first master device selected as the master master device in a unicast manner, thereby eliminating unnecessary messages in performing the time synchronization. Accordingly, the traffic in the time synchronization process can be reduced and the delay or loss of the packet can be reduced.

4 is a flow chart of a method of operation of a master device according to various embodiments of the present invention.

In operation 410, the master device may transmit a message including time information used for time synchronization in a multicast manner. The message is not transmitted to a specific time synchronization device but can be transmitted to a plurality of time information devices included in the network. Accordingly, even when the time synchronization device does not know the address of the master device for performing the time synchronization, the time synchronization device can secure or connect the master device by receiving the message transmitted in the multicast manner.

In operation 420, the master device may determine whether it has received at least one of the messages used for time synchronization from the time synchronization device. The at least one message used for the time synchronization may be at least one of an announce message, a sync message and a delay_request / response message, and the transmission period of the announce message, the sync message, And may be a message for negotiating the transmission period update time. If the at least one message is not received for a predetermined time, the master device may return to step 410 and continuously transmit the message in a multicast manner according to a predetermined period.

In operation 430, when the master device receives the at least one message from the time synchronization device, it may perform time synchronization with the time synchronization device. A specific method of performing the time synchronization between the master device and the time synchronization device will be described later.

5 is a flowchart of a time synchronization method between a time synchronization device and one master device according to various embodiments of the present invention.

5, it is assumed that there is one master device in the network. As shown in FIG. 5, when there is one master device in the network, time synchronization between the master device and the time synchronization device can be generally performed by a unicast method.

For example, the time synchronization apparatus uses the address of the master device to transmit a negotiation message regarding an announcement message, a sync message and a delay_response message transmission time and the transmission period update time to the master device . The master device responds to the negotiation message, transmits an announce message and a sync message to the time synchronization device according to a transmission period according to the negotiation, and transmits a delay_request message received from the time synchronization device And sends a delay_response message in response.

The time synchronization device calculates a time deviation from the master device through the messages and performs time synchronization with the master device. However, the above-described method may not perform time synchronization when the address of the master device can not be secured. Accordingly, the time synchronization apparatus can perform time synchronization with the master apparatus by simultaneously using the multicast scheme and the unicast scheme as shown in the flowchart of FIG.

Initially, the time synchronization apparatus 500 waits for receipt of an announcement message transmitted in the multicast manner from the master device 501 in a state in which a table including information on the master device 501 does not exist .

In step 510, the master device 501 may transmit the announcement message in a multicast manner at a predetermined period (for example, two seconds).

In step 520, the time synchronization device 500 receives the message and acquires information (e.g., address of the master device) about the master device 501 through the message. The time synchronization device 500 can update the table using the acquired information about the master device 501. [ The time synchronization device 500 transmits an associated message to the master device 501 regarding the transmission period of the announcement message and the transmission period update time based on the information about the master device 501 can do.

In step 521, the master device 501 may transmit a response to the consultation message regarding the transmission period of the announcement message and the transmission period update time to the time synchronization apparatus 500.

In step 530, the time synchronization apparatus 500 may attempt to transmit a message related to the negotiation of the transmission period of the sync message and the transmission period update time to the master device 501. In step 531, the master device 501 may transmit a response to the negotiation message regarding the transmission period of the sink message and the transmission period update time to the time synchronization apparatus 500.

In step 540, the time synchronization apparatus 500 may attempt to transmit a message related to the negotiation of the transmission period of the delay_response message and the transmission period update time to the master device 501. [ In step 541, the master device 501 may transmit a response to the negotiation message to the time synchronization device 500 regarding the transmission period of the delay_response message and the transmission period update time.

In step 550, the master device 501 may transmit an announce message to the time synchronization apparatus 500 through a unicast method at a transmission cycle according to the negotiation. In step 560, the master device 501 may transmit a sync message to the time synchronization apparatus 500 through a unicast method at a transmission period according to the negotiation.

In step 570, the time synchronization apparatus 500 may transmit the delay_request message to the master device 501 by confirming reception of the announcement message and the sink message. In step 580, the master device 501 may transmit a delay_response message, which is a response message to the delay_request message, to the time synchronization apparatus 500 according to the negotiated items. Also, the master device 501 may continuously wait for the acknowledgment message to be received from the time synchronization device 500 even after the time synchronization is performed by transmitting the announcement message in a multicast manner.

As described above, the time synchronization apparatus 500 can acquire information about the master device 501 using a message transmitted from the master device 501 in a multicast manner. Accordingly, even if there is no information required for performing time synchronization such as the address of the master device 501, the time synchronization device 500 can perform time synchronization with the master device 501 by receiving the message have.

In addition, the time synchronization device 500 may perform time synchronization with the master device 501 in a unicast manner, so that unnecessary messages may not be transmitted or received for time synchronization. Accordingly, the load of the network including the master device 501 and the time synchronization device 500 can be reduced.

6 is a flowchart of a time synchronization method between a time synchronization device and a plurality of master devices according to various embodiments of the present invention.

6, it is assumed that a plurality of master devices exist in the network. As shown in FIG. 6, when a plurality of master devices exist in the network and each of the plurality of master devices transmits a message (for example, announce message, sink message, etc.) used for time synchronization in a multicast manner, Traffic may be increased and the load on the network may be increased. In addition, since the time synchronization device receives the messages according to the set period fixed to each of the plurality of master devices, the transmission period of the messages can not be changed according to the request of the network environment and the time synchronization device. Accordingly, the time synchronization device can perform time synchronization with the master device by simultaneously using the multicast method and the unicast method as shown in the flowchart of FIG.

Initially, the time synchronizer 600 is configured to synchronize the master devices 601, 602, and 603 with the master devices 601, 602, and 603 in a state where there is no table including information about each of the master devices 601, It is possible to wait for reception of an announce message to be transmitted in a multicast manner. Hereinafter, it is assumed that the first master device has the highest quality level and the Nth master device has the lowest quality for convenience of explanation.

In step 610, the first master device 601 transmits an announce message in a multicast manner in a predetermined cycle. In step 611, the second master device 602 multicasts an announce message in a predetermined cycle In step 612, the N-th master device 603 may transmit an announce message in a predetermined cycle in a multicast manner. Thus, each of the master devices can transmit messages including their own time information in a multicast manner.

In step 620, the time synchronization device 600 may compare the quality of the time information of each of the plurality of master devices 601, 602, and 603 based on the plurality of received messages. For example, the time synchronization device 600 compares values corresponding to a plurality of predetermined fields included in each of the plurality of messages, thereby to compare the quality of the visual information of each of the plurality of master devices relatively Can be compared. Further, the time synchronization device 600 may determine the relative quality level of each of the plurality of master devices based on the comparison result.

The time synchronization device 600 receives the plurality of messages and transmits information about each of the plurality of master devices 601, 602, and 603 (e.g., address of the master device) Can be obtained. The time synchronization device 600 can update the table using information about each of the plurality of master devices 601, 602, and 603 acquired.

In step 630, the time synchronization device 600 may select the first master device 601 as a primary master device that performs time synchronization with the time synchronization device 600 based on the comparison result. Since the visual information quality of the first master device 601 is relatively better than those of other master devices, the time synchronization device 600 can select the first master device 601 as the master device . The time synchronization device 600 can perform time synchronization with the selected first master device 601 through a negotiation process.

In step 640, the time synchronization apparatus 600 transmits the announcement message transmission period and the transmission period update period to the first master device 601 based on the information about the first master device 601 The negotiation can be attempted by sending a related message.

In step 641, the first master device 601 may transmit a response to the consultation message regarding the transmission period of the announcement message and the transmission period update time to the time synchronization device 600.

In step 650, the time synchronization apparatus 600 may attempt to transmit a message related to the negotiation of the transmission period of the sync message and the transmission period update time to the first master device 601. In step 651, the first master device 601 may transmit a response to the negotiation message regarding the transmission period of the sink message and the transmission period update time to the time synchronization device 600.

In step 660, the time synchronization apparatus 600 may attempt to transmit a message related to the negotiation of the transmission period of the delay_response message and the transmission period update time to the first master device 601. [ In step 661, the first master device 601 may transmit a response to the negotiation message regarding the transmission period of the delay_response message and the transmission period update time to the time synchronization apparatus 600. [

In step 670, the first master device 601 transmits an announce message in a multicast manner according to a preset cycle. In step 671, the second master device 602 multicasts an announce message In step 672, the N-th master device 603 may transmit an announce message in a predetermined cycle in a multicast manner. Thus, the plurality of master devices 601, 602, and 603 can continuously transmit announcement messages in a multicast manner in accordance with a predetermined period irrespective of whether the master master device is selected or not. The master devices 601, 602, and 603 may communicate with the time synchronization device 600 after the time synchronization between the time synchronization device 600 and the first master device 601 is performed. And can wait for a message to be received. 602, and 603, when a change occurs in the quality of the visual information of each of the plurality of master devices 601, 602, and 603, The quality of the visual information can be maintained by switching the main master device with the device.

In step 680, the first master device 601 may transmit an announce message to the time synchronization device 600 through a unicast method at a transmission period according to the negotiation. In step 681, the first master device 601 may transmit a sync message to the time synchronization device 600 through a unicast method at a transmission period according to the negotiation.

In step 682, the time synchronization apparatus 600 may transmit the delay_request message to the first master device 601 by confirming reception of the announcement message and the sink message. In step 683, the first master device 601 may transmit a delay_response message, which is a response message to the delay_request message, to the time synchronization device 600 according to the negotiated items.

In this way, the time synchronization apparatus 600 can acquire information about the master devices 601, 602, and 603 using a message transmitted from the plurality of master devices 601, 602, and 603 in a multicast manner And so on. Accordingly, even if there is no information required for performing time synchronization such as an address of the plurality of master devices 601, 602, and 603, the time synchronization device 600 can receive the message, 601, 602, and 603, respectively. Also, by comparing the quality of the time information of each of the plurality of master devices 601, 602, and 603 through the message, a master device that provides the best visual quality can be selected as the master device. Thus, the time information device 600 can perform time synchronization with high quality.

The time synchronization device 600 performs time synchronization with the first master device 601 in a unicast manner to synchronize time synchronization from the second master device 602 and the N master device 603, It may not send or receive unnecessary messages for the user. Accordingly, the load of the network including the plurality of master devices 601, 602, and 603 and the time synchronization device 600 can be reduced.

Each of the components described in this document may be composed of one or more components, and the name of the component may be changed according to the type of the device. In various embodiments, an apparatus may comprise at least one of the elements described herein, and some elements may be omitted or further include additional elements. In addition, some of the components of the apparatus according to various embodiments may be combined to constitute one entity, so that the functions of the corresponding components before being combined can be performed in the same manner.

As used in this document, the term "module" may refer to a unit comprising, for example, one or a combination of two or more of hardware, software or firmware. A "module" may be interchangeably used with terms such as, for example, unit, logic, logical block, component, or circuit. A "module" may be a minimum unit or a portion of an integrally constructed component. A "module" may be a minimum unit or a portion thereof that performs one or more functions. "Modules" may be implemented either mechanically or electronically. For example, a "module" may be an application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs) or programmable-logic devices And may include at least one.

At least a portion of a device (e.g., modules or functions thereof) or a method (e.g., operations) according to various embodiments may include, for example, computer-readable storage media in the form of program modules, As shown in FIG. When the instruction is executed by a processor (e.g., processor 120), the one or more processors may perform a function corresponding to the instruction. The computer readable storage medium may be, for example, memory 130. [

The computer readable recording medium may be a hard disk, a floppy disk, a magnetic media (e.g., a magnetic tape), an optical media (e.g., a compact disc read only memory (CD-ROM) digital versatile discs, magneto-optical media such as floptical disks, hardware devices such as read only memory (ROM), random access memory (RAM) Etc. The program instructions may also include machine language code such as those produced by a compiler, as well as high-level language code that may be executed by a computer using an interpreter, etc. The above- May be configured to operate as one or more software modules to perform the operations of the embodiment, and vice versa.

Modules or program modules according to various embodiments may include at least one or more of the elements described above, some of which may be omitted, or may further include additional other elements. Operations performed by modules, program modules, or other components in accordance with various embodiments may be performed in a sequential, parallel, iterative, or heuristic manner. Also, some operations may be performed in a different order, omitted, or other operations may be added. And the embodiments disclosed in this document are presented for the purpose of explanation and understanding of the disclosed technology and do not limit the scope of the technology described in this document. Accordingly, the scope of this document should be interpreted to include all modifications based on the technical idea of this document or various other embodiments.

Claims (16)

A method for selecting a master device for time synchronization by a time synchronization device,
Receiving a message from each of a plurality of master devices included in a network to which the time synchronization device is connected;
Comparing the quality of the time information of each of the received messages used for time synchronization by comparing values corresponding to a plurality of predetermined fields included in each of the received messages;
Selecting a first master device for performing time synchronization among the plurality of master devices based on the comparison result; And
Transmitting at least one messages used for time synchronization to the first master device
/ RTI >
Wherein the plurality of fields comprise:
A field indicating the priority that can be set by the user, a field indicating the equipment operation state, a field indicating the accuracy of the time information, a field indicating the stability of the time information, a field indicating the number of hops in the network, A master device selection method.
The method according to claim 1,
Wherein a message received from each of the plurality of master devices is transmitted in a multicast manner by each of the plurality of master devices.
The method according to claim 1,
Wherein the message received from each of the plurality of master devices comprises:
And an announce message used for the time synchronization.
delete The method according to claim 1,
The step of comparing the quality of the time information includes:
And compare values corresponding to the plurality of fields based on a priority among the plurality of fields.
delete The method according to claim 1,
Wherein the step of selecting the first master device comprises:
Determining a quality level of time information of each of the plurality of master devices based on the result of the comparison;
And a master device selection step.
8. The method of claim 7,
Wherein the step of selecting the first master device comprises:
And selects the first master device based on the quality class of each of the determined plurality of master devices.
A time synchronization device for selecting a master device for time synchronization,
A communication module for receiving a message from each of a plurality of master devices included in a network to which the time synchronization device is connected; And
Comparing the quality of the time information of each of the received messages used for time synchronization by comparing values corresponding to a plurality of predetermined fields included in each of the received messages, A control unit for selecting a first master device for performing time synchronization among the plurality of master devices and controlling the first master device to transmit at least one of the messages used for time synchronization through the communication module,
Lt; / RTI >
Wherein the plurality of fields comprise:
A field indicating the priority that can be set by the user, a field indicating the equipment operation state, a field indicating the accuracy of the time information, a field indicating the stability of the time information, a field indicating the number of hops in the network, Time synchronizing device.
10. The method of claim 9,
Wherein a message received from each of the plurality of master devices is transmitted in a multicast manner by each of the plurality of master devices.
10. The method of claim 9,
Wherein the message received from each of the plurality of master devices comprises:
And an announce message used for the time synchronization.
delete 10. The method of claim 9,
Wherein,
And compares values corresponding to the plurality of fields based on a priority among the plurality of fields.
delete 10. The method of claim 9,
Wherein,
And determines a quality level of time information of each of the plurality of master devices based on the comparison result.
16. The method of claim 15,
Wherein,
And selects the first master device based on the quality class of each of the determined plurality of master devices.
KR1020150069702A 2015-05-19 2015-05-19 Apparatus and method for selecting master device KR101674600B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150069702A KR101674600B1 (en) 2015-05-19 2015-05-19 Apparatus and method for selecting master device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150069702A KR101674600B1 (en) 2015-05-19 2015-05-19 Apparatus and method for selecting master device

Publications (1)

Publication Number Publication Date
KR101674600B1 true KR101674600B1 (en) 2016-11-10

Family

ID=57484594

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150069702A KR101674600B1 (en) 2015-05-19 2015-05-19 Apparatus and method for selecting master device

Country Status (1)

Country Link
KR (1) KR101674600B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116209959A (en) * 2020-10-09 2023-06-02 三菱电机株式会社 Time synchronization system, learning device, reasoning device, and time synchronization device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090071923A (en) * 2007-12-28 2009-07-02 주식회사 케이티 Method for synchronization using single timesync frame in bridged local area network and appratus thereof
KR20100048124A (en) * 2008-10-30 2010-05-11 주식회사 케이티 Time synchronization method in bridged local area network
KR20100114350A (en) * 2009-04-15 2010-10-25 엘지에릭슨 주식회사 Apparatus and method for controlling timing and mobile telecommunication system for the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090071923A (en) * 2007-12-28 2009-07-02 주식회사 케이티 Method for synchronization using single timesync frame in bridged local area network and appratus thereof
KR20100048124A (en) * 2008-10-30 2010-05-11 주식회사 케이티 Time synchronization method in bridged local area network
KR20100114350A (en) * 2009-04-15 2010-10-25 엘지에릭슨 주식회사 Apparatus and method for controlling timing and mobile telecommunication system for the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116209959A (en) * 2020-10-09 2023-06-02 三菱电机株式会社 Time synchronization system, learning device, reasoning device, and time synchronization device

Similar Documents

Publication Publication Date Title
US10327215B2 (en) Synchronization control method within wireless network, wireless network and smart home device
KR101596756B1 (en) Method and apparatus for providing in-vehicle network time synchronization using redundant GrandMaster
JP6579597B2 (en) D2D synchronization method, user equipment, and serving cell
US11632343B2 (en) Mesh networking using peer to peer messages for a hospitality entity
JP6555445B1 (en) Time synchronization system, time master, management master, and time synchronization method
JP6488195B2 (en) Communication device for time synchronization
US10270850B2 (en) Group reformation mechanism for reducing disruption time in wireless peer to peer networks
US11394480B2 (en) Systems and methods for synchronizing device clocks
US10264516B2 (en) Network discovery with touchlink option
EP3484208A1 (en) Mesh networking using peer to peer messages
US10567230B1 (en) Topology information for networks
JP2018515850A (en) Data copy method and device
US20220304105A1 (en) Communication apparatus for data transmission in a neighbor aware network (nan), control method, and computer-readable storage medium
CN114448866B (en) Network domain management and control method, network system, device and storage medium
KR101674600B1 (en) Apparatus and method for selecting master device
KR102475744B1 (en) Control apparatis and control system
JP2009224905A (en) Communication apparatus, its control method, and communication system
KR102114076B1 (en) Communication device, method for controlling communication device, and program
US8849937B2 (en) Apparatus and method for time synchronization by automatically controlling sending message count of master
KR101685123B1 (en) Apparatus and method for time synchronization
JP6526836B2 (en) Switching network synchronization method and switching device, access device, storage medium
WO2016090910A1 (en) Clock synchronisation method and device, base station and communication system
US10715390B2 (en) Service optimization method, transport controller, client controller, and system
KR101623076B1 (en) Integrated control Method, apparatus and system for nodes
US10314060B2 (en) Communication apparatus, control method therefor, and non-transitory computer-readable storage medium

Legal Events

Date Code Title Description
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20191024

Year of fee payment: 4