WO2015131350A1 - 时钟同步方法、设备及通信*** - Google Patents

时钟同步方法、设备及通信*** Download PDF

Info

Publication number
WO2015131350A1
WO2015131350A1 PCT/CN2014/072912 CN2014072912W WO2015131350A1 WO 2015131350 A1 WO2015131350 A1 WO 2015131350A1 CN 2014072912 W CN2014072912 W CN 2014072912W WO 2015131350 A1 WO2015131350 A1 WO 2015131350A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
node
node device
data set
domain
Prior art date
Application number
PCT/CN2014/072912
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 EP14884805.4A priority Critical patent/EP3104556B1/en
Priority to PCT/CN2014/072912 priority patent/WO2015131350A1/zh
Priority to CN201480076842.3A priority patent/CN106105103B/zh
Publication of WO2015131350A1 publication Critical patent/WO2015131350A1/zh
Priority to US15/256,538 priority patent/US10178636B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/0015Synchronization between nodes one node acting as a reference for the others
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/24Radio transmission systems, i.e. using radiation field for communication between two or more posts
    • H04B7/26Radio transmission systems, i.e. using radiation field for communication between two or more posts at least one of which is mobile
    • H04B7/2662Arrangements for Wireless System Synchronisation
    • H04B7/2671Arrangements for Wireless Time-Division Multiple Access [TDMA] System Synchronisation
    • H04B7/2678Time synchronisation
    • H04B7/2687Inter base stations synchronisation
    • H04B7/269Master/slave synchronisation
    • 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
    • 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/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a clock synchronization method, device, and communication system. Background technique
  • the wireless cellular communication system has two types: frequency division duplex (FDD) and time division duplex (TDD).
  • FDD frequency division duplex
  • TDD time division duplex
  • uplink and downlink communication in the TDD system The same frequency band needs to be used, and the whole network cell also needs strict time synchronization to avoid uplink and downlink transmission interference.
  • the FDD system uses different frequency bands to distinguish between uplink and downlink. Although it is not necessary to distinguish between uplink and downlink in time, in order to support features such as cell handover and multicast broadcasting, strict time synchronization between cells is also required. Because when the user switches between base stations, if there is no time synchronization between the base stations, the channel may not be established, which affects the handover success rate.
  • the prior art provides a network-wide clock synchronization method based on the Institute of Electrical and Electronics Engineers (IEEE) 1588 time transfer protocol, which deploys a time source at a gateway (Gate-Way, GW) or The location of the Building Base Band Unit-center (BBU-center) is injected through various methods such as Global Positioning System (GPS), Beidou or atomic clock.
  • GPS Global Positioning System
  • the bearer switching device transmits the time through the IEEE1588 protocol.
  • the main clock maintained by the source, but the wireless access network synchronous transmission scheme based on the method is subject to factors such as crystal stability, time stamp accuracy, line and device asymmetry, TC frequency offset, filtering algorithm, and length of the clock path. The effect is that the time synchronization accuracy is not high. Summary of the invention
  • the embodiment of the invention provides a clock synchronization method, device and communication system, which further improves the accuracy of clock synchronization of the radio access network by layering multiple clock domain clock synchronization methods.
  • a first aspect of the present invention provides a clock synchronization method, including:
  • the first node device in the network determines the first master clock according to the first clock data set of the first clock data set of the network and the first clock data set of the other node devices in the network, and synchronizes with the first master clock, where
  • the first clock data set includes a first clock domain selection parameter of the node device;
  • the second clock data synchronization includes the second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • the first node device in the network before determining the first master clock according to the first clock data set of the first clock data set and the other clock data set of the other node devices in the network, further includes:
  • the first node device further includes, according to the second clock data set of the second node data set and the second clock data set of the other node device that belongs to the first node clock domain in the first node clock domain, :
  • the first node device sends the first node device to another node device in the first node clock domain.
  • the second clock data set it also includes:
  • the first node device receives a first notification message sent by the communication controller, where the first notification message is used to notify the first node device to perform a second clock domain with other node devices in the first node clock domain. Synchronization.
  • the method further includes:
  • the first node device Receiving, by the first node device, a second notification message sent by the communications controller, where the second The notification message is used to notify the first node device to perform synchronization of the second clock domain with other node devices in the second node clock domain, and carry the second master clock of the second node clock domain;
  • the first node device is synchronized with a second master clock of the second node clock domain.
  • the method further includes: The first node device receives the second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform synchronization of the second clock domain with the node device in the second node clock domain. And carrying an indication of marking the second clock data set of the first node device, where the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm;
  • the first node device marks the second clock data set of itself
  • the method further includes:
  • the first node device receives a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform the second clock domain with other node devices in the second node clock domain. Synchronize;
  • the first node device determines a second master clock by using a BMC algorithm according to a second clock data set of all node devices in the second node clock domain, and synchronizes with the second master clock.
  • the first node further includes: The first node device synchronizes with the first master clock if it determines that the time path of the node device to which the second master clock belongs is greater than the time path to the node device to which the first master clock belongs.
  • the first aspect, the first possible implementation manner, the second possible implementation manner, the third possible implementation manner, the fourth possible implementation manner, and the fifth further includes:
  • the first node device determines a first master clock according to its first clock data set and the received first clock data set of other node devices in the network, and synchronizes with the first master clock.
  • the first node device after the receiving, by the first node device, the third notification message sent by the communications controller, the first node device further includes:
  • a second aspect of the present invention provides a node device, where the node device is a first node device in a network, and the node device includes:
  • a first processing unit configured to determine, according to the first clock data set of the first clock data set and the first clock data set of the other node device in the network, and synchronize with the first master clock, where
  • the first clock data set includes a first clock domain selection parameter of the node device;
  • a second processing unit configured to determine, according to the second clock data set of the second clock data set and the second clock data set that belongs to the other node device in the first node clock domain of the first node device, and the second master clock, and The second clock data is synchronized, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is a second clock domain.
  • the node device further includes: a first sending unit, configured to send, to other node devices in the network, a first clock data set of the first node device;
  • a first receiving unit configured to receive a first clock sent by another node device in the network Data set
  • a second sending unit configured to send, to other node devices in the first node clock domain, a second clock data set of the first node device
  • a second receiving unit configured to receive a second clock data set sent by another node device in the first node clock domain.
  • the second receiving unit is further configured to receive a first notification message sent by the communications controller, where the first notification message is And configured to notify the first node device to perform synchronization of the second clock domain with other node devices in the first node clock domain.
  • the second processing unit is further configured to synchronize with a second master clock of the second node clock domain.
  • the second receiving unit is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform a node with a node device in a second node clock domain. Synchronizing the two clock domains, and carrying an indication of marking the second clock data set of the first node device, where the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm;
  • the second processing unit is further configured to mark the second clock data set of itself; the first sending unit is further configured to send the marked identifier to other node devices in the second node clock domain. Second clock data set;
  • the first receiving unit is further configured to receive a second clock data set sent by another node device in the second node clock domain;
  • the second processing unit is further configured to use the BMC algorithm according to the second clock data set that is not marked according to the second clock data set sent by the other node device in the second node clock domain.
  • the second master clock is determined and synchronized with the second master clock.
  • the second receiving unit is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform with the other node device in the second node clock domain. Synchronization of two clock domains;
  • the first receiving unit is further configured to receive a second clock data set sent by another node device in the second node clock domain;
  • the second processing unit is further configured to determine, according to the second clock data set of all the node devices in the second node clock domain, the second master clock by using a BMC algorithm, and the sixth clock is the same as the second master clock.
  • the node device further includes:
  • a comparing unit configured to determine, after the second processing unit determines the second master clock, that the time path to the node device to which the second master clock belongs is greater than the time path to the node device to which the first master clock belongs, And causing the first processing unit to determine synchronization with the first master clock.
  • the second receiving unit is further configured to receive a third notification message that is sent by the communications controller, where the third notification message is used to notify that the first node device is no longer synchronized with the second master clock;
  • the processing unit is further configured to determine, according to the first clock data set of the first clock data set and the received first clock data set of the other node devices in the network, and synchronize with the first master clock.
  • the node device further includes:
  • a third aspect of the present invention provides a node device, where the node device is a first node device in a network, and the node device includes:
  • a processor configured to determine, according to a first clock data set of the first clock data set of the network and a first clock data set of other node devices in the network, and synchronize with the first master clock, where the a clock data set includes a first clock domain selection parameter of the node device;
  • the processor is further configured to determine a second master clock according to the second clock data set of the second clock data set and the second clock data set of the other node device in the first node clock domain of the first node device, and Synchronizing with the second master clock, where the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is a second clock domain.
  • the node device further includes: a transmitter, configured to send, to other node devices in the network, the first clock data set of the first node device;
  • a receiver configured to receive a first clock data set sent by another node device in the network, where the transmitter is further configured to send the first node device to other node devices in the first node clock domain Second clock data set; ;
  • the receiver is further configured to receive a second clock data set sent by another node device in the first node clock domain.
  • the receiver is further configured to receive a first notification message sent by the communications controller, where the first notification message is used. Notifying the first node device to perform synchronization of the second clock domain with other node devices in the first node clock domain.
  • the receiver is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform second with other node devices in the second node clock domain. Synchronizing the clock domain, and carrying the second master clock of the second node clock domain;
  • the processor is further configured to synchronize with a second master clock of the second node clock domain.
  • the receiver is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform a second clock with a node device in a second node clock domain. Synchronizing the domain, and carrying an indication of marking the second clock data set of the first node device, where the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm;
  • the processor is further configured to mark the second clock data set of itself;
  • the transmitter is further configured to send the marked second clock data set to other node devices in the second node clock domain;
  • the receiver is further configured to receive a second clock data set sent by another node device in the second node clock domain;
  • the processor is further configured to determine, according to the second clock data set that is not marked in the second clock data set sent by the other node device in the second node clock domain, to determine the second master clock by using a BMC algorithm, and The second master clock is synchronized.
  • the receiver is further configured to receive a second notification message that is sent by the communications controller, where the second notification message is used to notify the first node device to perform a second clock with other node devices in the second node clock domain. Synchronization of the domain; receiving a second clock data set sent by another node device in the second node clock domain;
  • the processor is further configured to determine a second master clock by using a BMC algorithm according to a second clock data set of all node devices in the second node clock domain, and synchronize with the second master clock.
  • the processor is further configured to: after determining the second master clock, if it is determined that the time path of the node device to which the second master clock belongs is greater than the time path to the node device to which the first master clock belongs, The first master clock is synchronized.
  • the node device further include: The receiver is further configured to receive a third notification message that is sent by the communications controller, where the third notification message is used to notify that the first node device is no longer synchronized with the second master clock;
  • the processor is further configured to determine a first master clock according to the first clock data set of the first clock data set and the received first clock data set of the other node device in the network, and synchronize with the first master clock.
  • the processor is further configured to: after the receiver receives the third notification message, if it is determined that the second clock data set of itself is marked, deleting the flag, where the flag is used to indicate the The second clock data set does not participate in the calculation of the BMC algorithm.
  • a communication system including:
  • system further includes:
  • the second notification message is used to notify the first node device to perform synchronization of the second clock domain with other node devices in the second node clock domain, and carry The second primary clock of the second node clock domain; or the second notification message is used to notify the first node device to perform synchronization of the second clock domain with the node device in the second node clock domain, and carry There is an indication that the second clock data set of the first node device is marked, the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm; or the second notification message is used for Notifying the first node device to perform synchronization of the second clock domain with other node devices of the second node clock domain;
  • a communication system including: At least two node devices of any of the above third aspects and their implementations.
  • system further includes:
  • the second notification message is used to notify the first node device to perform synchronization of the second clock domain with other node devices in the second node clock domain, and carry The second primary clock of the second node clock domain; or the second notification message is used to notify the first node device to perform synchronization of the second clock domain with the node device in the second node clock domain, and carry There is an indication that the second clock data set of the first node device is marked, the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm; or the second notification message is used for Notifying the first node device to perform synchronization of the second clock domain with other node devices of the second node clock domain;
  • the first node device in the network determines the first master clock according to the first clock data set of the first clock data set of the network and the first clock data set of the other node devices in the network, Synchronizing with the first master clock, wherein the first clock data set includes a first clock domain selection parameter of the node device; the first node device belongs to the first node clock according to the second clock data set of the first node device and the first node device
  • the second clock data set of the other node device in the domain determines the second master clock and is synchronized with the second master clock, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is Two clock domains.
  • the first node in different clock domains can be calculated and synchronized with the master clock of the clock domain, thereby avoiding the problem of error accumulation caused by excessive length of the master clock transmission path, and
  • the first node device is in the first clock domain, high-precision synchronization is achieved, and when the first node device is in the second clock domain, higher-precision synchronization can be achieved, which not only satisfies the further requirement of the second clock domain for higher precision, but also Avoid the deployment cost caused by increasing the accuracy of the whole network at the same time Too high a problem.
  • FIG. 1 is a flowchart of an embodiment of a clock synchronization method according to the present invention
  • FIG. 2 is a flowchart of another embodiment of a clock synchronization method according to the present invention.
  • FIG. 3 is a flowchart of still another embodiment of a clock synchronization method according to the present invention.
  • FIG. 4 is a flowchart of still another embodiment of a clock synchronization method according to the present invention.
  • FIG. 5 is a flowchart of still another embodiment of a clock synchronization method according to the present invention.
  • FIG. 6 is a flowchart of still another embodiment of a clock synchronization method according to the present invention.
  • FIG. 7 is a flowchart of still another embodiment of a clock synchronization method according to the present invention.
  • FIG. 8 is a flowchart of still another embodiment of a clock synchronization method according to the present invention.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a node device according to the present invention.
  • FIG. 10 is a schematic structural diagram of another embodiment of a first node device according to the present invention.
  • FIG. 11 is a schematic structural diagram of still another embodiment of a first node device according to the present invention.
  • FIG. 12 is a schematic structural diagram of another node device according to the present invention.
  • FIG. 13 is a schematic structural diagram of another embodiment of a first node device according to the present invention.
  • FIG. 14 is a schematic structural diagram of an embodiment of a communication system according to the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • the network carrying the mobile device, the access node device, the control node device, and the like In the network, based on the business needs and other issues, it is necessary to provide a synchronous reference source to each node. Moreover, with the introduction of new wireless modulation and transmission technologies that increase system capacity, such as orthogonal multiplex modulation
  • the node device in the network for example, the first node device is used as the foregoing control node and the access node, and the network may be an existing network architecture such as a cellular network.
  • FIG. 1 is a flowchart of an embodiment of a clock synchronization method according to the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • the first node device determines, according to the first clock data set of the first clock data set and the first clock data set of the other node device in the network, the first master clock, and is synchronized with the first master clock, where the first clock data set includes The first clock domain selection parameter of the node device.
  • each slave clock is generally time synchronized with a master clock deployed at a GW or BBU-center location, but the clock synchronization method is deployed at a node device that is located farther from the time path.
  • the accuracy of slave clock synchronization is lower.
  • a protocol such as 1588
  • each node device that passes through is input when the local end receives the protocol packet.
  • Timestamp when sending the protocol packet, then output the output timestamp, so that when the slave clock is synchronized with the master clock, the dwell time of each node device is considered, that is, the difference between the output timestamp and the input timestamp.
  • the effect on synchronization accuracy, ie the transmission delay is the sum of the final input timestamp minus the initial output timestamp minus the dwell time.
  • the best master clock (BMC) can be used to calculate and synchronize with the best master clock on each first node device, thereby reducing errors caused during transmission and improving time synchronization. Precision.
  • the first node device determines, according to the first clock data set of the self-stated first clock data set and the first clock data set of the other node devices in the received network, and synchronizes with the first clock, wherein the first clock
  • the data set includes a first clock domain selection parameter of the node device, and the first clock domain is selected.
  • the selection parameter may be a clock domain selection parameter for marking the node device belonging to the first clock domain.
  • the first clock data set is maintained locally at each of the first node devices as a basic input to the optimal master clock algorithm or the like.
  • the first clock dataset parameter attributes include static, dynamic, and configurable.
  • the static parameters reflect the physical or operational characteristics inherent in the clock or protocol; the dynamic parameters are variable when the protocol operation or environment changes; the configurable parameters can be passed through the management message. Or implement the relevant configuration mode to configure.
  • the first clock domain selection parameters include: priority, quality level, accuracy, stability, clock domain, clock identification, protocol using single-step/two-step synchronization attributes, path attributes, and many other attribute parameters. Among them, priority and time domain are configurable parameters; quality level, precision and stability are dynamic parameters.
  • the first clock domain may be the entire network, such as a cellular network, and the clock domain of each first node device may indicate that the first node device is in the first clock domain.
  • the first node device determines a first master clock by using the BMC algorithm according to the true value of the parameter.
  • the first node device can determine the first node device to which the first master clock belongs.
  • the first node device to which the first primary clock belongs may be a GW, a BBU center, or a switch connecting the GW and the BBU center.
  • the switching node device in the network can use the switch with the IEEE1588 synchronization function. There are no special requirements for crystal oscillators, etc., which can reduce the cost of the network.
  • the first node device determines, according to its second clock data set and a second clock data set that belongs to other node devices in the first node clock domain, and the first node device, and the second master. Clock synchronization, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • the second clock data set includes a second clock domain selection parameter of the node device
  • the second clock domain selection parameter may be a clock domain selection parameter obtained after performing precision improvement processing on the first clock domain selection parameter.
  • the second clock domain selection parameter may also be a clock domain selection parameter for marking the node device belonging to the second clock domain.
  • the second clock data set of each node device is in each first node device.
  • the local maintenance includes a second clock domain selection parameter, and the second clock domain selection parameter is a clock domain selection parameter obtained by performing precision improvement processing on the first clock domain selection parameter, including: priority, quality level, accuracy, and stability. Degrees, clock domains, clock identifiers, protocols use single-step/two-step synchronization properties, path properties, and many other property parameters.
  • the second clock domain selection parameter is a parameter with higher precision formed by adjusting on the basis of the real parameter, and may be formed after adjusting for one or more real parameters.
  • one or more parameters in the first clock domain selection parameter are simultaneously subtracted from a constant, and the priority is changed from 1 to 0, or from 2 to 1, because the preset BMC algorithm can be prioritized.
  • the smaller the level value the higher the clock precision. Therefore, the priority of the master clock with priority 0 is higher than the master clock with priority 1.
  • the clock priority with the accuracy of nanosecond can be set to 0, and the accuracy will be The clock priority for milliseconds is set to 1. This parameter is only used as an example of the priority parameter. It is not limited to this. Any BMC algorithm that obtains different precision master clocks according to the first clock domain selection parameter and the second clock domain selection parameter is within the protection range.
  • the node clock domain may be a CoMP cell. Due to the architecture of the CoMP cell, if there is no precise synchronization between the first node devices participating in the cooperation, different first node device signals arrive at the user at different times, which may cause precoding. The mismatch of the matrix makes the CoMP cell transmission unable to achieve the expected gain and greatly reduces the system performance. All the first node devices in a node clock domain of the present invention belong to a second clock domain. According to the above parameter adjustment and algorithm, the precision can be adjusted to the nanosecond level to meet the accuracy requirement of the architecture of the CoMP cell.
  • the CoMP cell is dynamically generated, that is, the node clock domain, such as the first node clock domain, is dynamically generated
  • the first node clock domain may be notified.
  • Each first node device obtains a clock in the second clock domain as a second master clock by using the second clock data set, and synchronizes to the second master clock to obtain accurate time synchronization; when the first node clock domain set is disbanded
  • the first node device may also be notified to recalculate the first master clock and synchronize to the first master clock.
  • only the first node clock domain is used as a CoMP cell, but the method is not limited thereto.
  • the CoMP cell may not be used. merge.
  • the first node device in the network determines the first master clock according to the first clock data set of the first clock data set and the other node devices in the network, and the first master clock Clock synchronization, where the first clock data set includes the first time of the node device a clock selection parameter; the first node device determines the second master clock according to its second clock data set and the second clock data set belonging to the other node device in the first node clock domain of the first node device, and The second master clock is synchronized, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • the first node in different clock domains can be calculated and synchronized with the master clock of the clock domain, thereby avoiding the problem of error accumulation caused by the excessive length of the master clock transmission path, and
  • the first node device is in the first clock domain, high-precision synchronization is achieved, and when the first node device is in the second clock domain, higher-precision synchronization can be achieved, which not only satisfies the further requirement of the second clock domain for higher precision, but also It avoids the problem of excessive deployment cost caused by increasing the accuracy of the whole network at the same time.
  • 2 is a flowchart of another embodiment of a clock synchronization method according to the present invention. As shown in FIG. 2, the method in this embodiment may include the following steps:
  • steps S201, S202, and S203 may not be performed.
  • the first node device is first in the network, and then the first node is added.
  • the node clock domain is described. There is a sequential relationship between the following steps S201, S202 and S203.
  • the first node device sends a first clock data set of the first node device to other node devices in the network, and receives a first clock data set sent by other node devices in the network.
  • the first node device determines, according to the first clock data set of the first clock data set and the first clock data set of the other node device in the network, the first master clock, and is synchronized with the first master clock.
  • the first clock data set includes a first clock domain selection parameter of the node device.
  • the first node device may adopt a BMC algorithm to determine the first primary clock by using the first clock domain selection parameter, where the first clock domain selection parameter includes at least one of the following parameters: priority, quality level, accuracy, and stability.
  • the clock domain is a first clock domain
  • the first clock domain selection parameter is a clock domain selection parameter used to mark the node device belonging to the first clock domain.
  • the first node device receives a first notification message sent by the communications controller, where the first notification message is used to notify the first node device to perform synchronization of the second clock domain with other node devices in the first node clock domain. For example, when the first node device forms a first node clock domain with several other node devices in the vicinity thereof, the first node device may determine that the user has joined by receiving the first notification message sent by the communication controller. The first node clock domain, in turn, adjusts the first clock data set sent to other node devices in the first node clock domain to a second clock data set.
  • the first node device sends a second clock data set of the first node device to other node devices in the first node clock domain, and receives a second clock data set sent by another node device in the first node clock domain.
  • each node device in the second clock domain receives the second clock data set sent by the other node devices in the second clock domain, and in addition, each node device receives the second clock domain from the non-this second clock domain.
  • the first clock data set sent by the other node device and the first clock data set sent by the node device of the other second clock domain not in the second clock domain.
  • the first node device determines, according to the second clock data set of the second clock data set and the second clock data set of the other node device that belongs to the first node clock domain of the first node device, the second master clock, and the second master. Clock synchronization.
  • the second clock data set includes a second clock domain selection parameter of the node device, and the second clock domain selection parameter is a clock domain selection parameter obtained by performing precision improvement processing on the first clock domain selection parameter.
  • each node device in the second clock domain can select the second master clock through the BMC algorithm, and the master clock node device can send its own node identifier to the communications controller, so that the communications controller learns the first node.
  • the second master clock in the clock domain belongs to which node device.
  • FIG. 3 is a flowchart of still another embodiment of the clock synchronization method of the present invention.
  • step S205 if the first node device joins another node clock domain and is recorded as the second node clock domain, step S206 is performed. It should be noted that S206 may also be executed after S202, which is not limited by the embodiment. S206.
  • the first node device receives a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to synchronize with the other node device in the second node clock domain, and carry the second clock domain.
  • the second master clock of the second node clock domain is a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to synchronize with the other node device in the second node clock domain, and carry the second clock domain.
  • the first node device synchronizes with a second master clock of the second node clock domain.
  • FIG. 4 is a flowchart of still another embodiment of the clock synchronization method of the present invention. As shown in FIG. 4, after step S205, step S208 may also be performed. It should be noted that S208 may also be executed after S202, which is not limited by the embodiment.
  • the first node device receives a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to synchronize with the node device in the second node clock domain, and carry the pair.
  • the second clock data set of the first node device is marked with an indication that the second clock data set does not participate in the calculation of the BMC algorithm.
  • the first node device marks the second clock data set of itself.
  • each node device in the second node clock domain keeps the original second master clock unchanged.
  • the communication controller indicates, to the first node device, the second master clock in the second node clock domain, and may directly carry the second master clock of the second node clock domain by using the notification in the foregoing embodiment, or may implement the method For example, the first node device is notified to join the second node clock domain and may instruct the first node device to recalculate the first master clock of the second node clock domain.
  • a problem that may arise at this time is that a better second master clock may be calculated according to the second clock domain selection parameter of the first node device, but this will make all other node devices in the second node clock domain all optimal.
  • the second master clock is synchronized, and the second master clock reselection and resynchronization affect the cooperative communication performance.
  • the second clock domain selection parameter of the newly added first node device is marked, so that the marked second clock domain selection parameter is ignored during the calculation of the second master clock by the BMC algorithm. 5210.
  • the first node device sends the marked second clock data set to other node devices in the second node clock domain, and receives the second clock data set sent by other node devices in the second node clock domain.
  • the first node device determines the second master clock by using the BMC algorithm according to the untagged second clock data set in the second clock data set sent by the other node device in the second node clock domain, and synchronizes with the second master clock.
  • the first node device may determine, according to the clock domain in the second clock domain selection parameter, that the second clock domain selection parameter belongs to the second node clock domain.
  • the first node device can receive the first clock data set of many other node clock domains because the node device sends the first clock data set in the form of broadcast and sends the second clock data set in the form of multicast. Therefore, the first node device needs to calculate the second master clock of the second clock domain according to the clock domain parameter.
  • the communication controller instructs to merge the plurality of second clock domains into one second clock domain. For example, a first node clock domain and a second node clock domain are combined into a third node clock domain.
  • the first node clock domain and the second node clock domain already have respective second master clocks, and each node device has obtained and synchronized with the respective second master clocks.
  • the communication control The device may select one of the two master clocks as the second master clock of the merged second clock domain according to the network topology, and the selected reference may be that the node device to which the second master clock belongs is away from the first node clock domain and the second The second master clock of all the node devices in the node clock domain is the shortest. If the second master clock of the first node clock domain is selected, the second master clock is carried in the notification sent to each node device in the second node clock domain, so that The node devices in the second node clock domain are synchronized with the second master clock of the first node clock domain, or the second clock data of the node device is carried in the notification sent to each node device in the second node clock domain.
  • FIG. 5 is a flowchart of still another embodiment of the clock synchronization method according to the present invention. As shown in FIG. 5, after step S205, step S212 may also be performed.
  • the first node device receives a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform the second clock domain with other node devices in the second node clock domain. Synchronization.
  • the first node device receives a second clock data set sent by another node device in the second node clock domain.
  • FIG. 6 is a flowchart of still another embodiment of the clock synchronization method of the present invention. As shown in FIG. 6, after step S211, step S215 may be further included. It should be noted that the S215 may be in any first node device.
  • the first node device determines, according to the second clock data set in the second clock data set sent by the other node device in the second node clock domain, the second master clock by using a BMC algorithm.
  • the first node device synchronizes with the first master clock if it determines that the time path of the node device to which the second master clock belongs is greater than the time path to the node device to which the first master clock belongs.
  • the first node device synchronizes to the second master clock of the first node clock domain, and then switches to the second node clock domain, the second master clock of the first node device to the second node clock domain is caused.
  • the time path of the node device is greater than the time path to the node device to which the first primary clock belongs. In this case, the first node device should be resynchronized back to the first primary clock.
  • each node can be determined according to the network topology. The time path of the device to the other node device, so each node device can easily obtain the time path from the node device of the first master clock and the node device to which the second master clock belongs in the network.
  • the accuracy of the second master clock is determined based on the short time path of each node device in the node clock domain, if the time path of the first node device from the node device to which the second master clock belongs is greater than the first master clock belongs to The time path of the node device loses the advantage of the short path, and the first node device synchronizes with the high-precision second master clock. It is no longer accurate, so it can be resynchronized to the first master clock with a shorter time path.
  • the first node device in the network determines the first master clock according to the first clock data set of the first clock data set of the network and the first clock data set of the other node devices in the network, and the first master clock Clock synchronization, wherein the first clock data set includes a first clock domain selection parameter of the node device; the first node device according to its second clock data set and other nodes belonging to the first node clock domain with the first node device
  • the second clock data set of the device determines the second master clock and is synchronized with the second master clock, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • FIG. 7 is a flowchart of still another embodiment of a clock synchronization method according to the present invention. As shown in FIG.
  • the method in this embodiment is implemented after steps S201 to S207 of the foregoing embodiment, but this embodiment is only illustrated by way of example.
  • This step S216 can be performed after any synchronization with the second master clock, and is not limited to the case listed in the embodiment.
  • the embodiment further includes:
  • the first node device receives a third notification message sent by the communications controller, where the third notification message is used to notify the first node that the device is no longer synchronized with the second master clock.
  • the first node device determines, according to the first clock data set of the first clock data set and the first clock data set of the other node devices in the received network, the first master clock, and is synchronized with the first master clock.
  • the first clock domain selection parameter is used to calculate the first master according to the currently received first clock data set. Clock, and synchronize with it.
  • the third node clock domain is split into two or more node clock domains, for example, split into a first node clock domain and a second node clock domain, where the first node device is attributed to the first node In the dot clock domain, the second node device is assigned to the second node clock domain, and the second master clock of the original third node clock domain belongs to the first node device, and the first node clock domain is used as the node clock of the first node device.
  • the domain does not need to recalculate the second master clock, and the second node clock domain does not have the first node device, and the node device in the second node clock domain needs to recalculate the second master according to the second clock data set in the second node clock domain. clock.
  • the flag is deleted, and the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm.
  • At least one node device leaves the third node clock domain, wherein the node device such as the first node device deletes the flag if it determines that its second clock data set has been marked.
  • Each node device that leaves the third node clock domain reuses the first clock data set to calculate and synchronize with the first clock data set.
  • FIG. 8 is a schematic structural diagram of an embodiment of a node device according to the present invention.
  • the node device 30 is a first node device, and includes: a first processing unit 301 and a second processing unit 302.
  • the first processing unit 301 is configured to determine, according to the first clock data set of the first clock data set and the other clock data sets of the other node devices in the network, and the first master clock, where the first clock data is synchronized with the first master clock.
  • the concentration includes a first clock domain selection parameter of the node device.
  • the second processing unit 302 is configured to determine, according to the second clock data set of the second clock data set and the second clock data set belonging to the other node device in the first node clock domain, the first master clock, and the first The second clock data is synchronized, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • the first processing unit 301 can be configured to determine a first master clock by using a BMC algorithm; and the second processing unit 302 can be configured to determine a second master clock by using a BMC algorithm.
  • FIG. 9 is a schematic structural diagram of another embodiment of a first node device according to the present invention. As shown in FIG. 9, the node device 30 of the present embodiment may further include: A transmitting unit 303, a first receiving unit 304, a second transmitting unit 305, and a second receiving unit 306.
  • the first sending unit 303 is configured to send the first clock data set of the first node device to other node devices in the network.
  • the first receiving unit 304 is configured to receive a first clock data set sent by another node device in the network.
  • the second sending unit 305 is configured to send the second clock data set of the first node device to other node devices in the first node clock domain.
  • the second receiving unit 306 is configured to receive a second clock data set sent by another node device in the first node clock domain.
  • the second receiving unit 306 is further configured to receive a first notification message sent by the communications controller, where the first notification message is used to notify the first node device to perform the second clock domain with other node devices in the first node clock domain. Synchronization.
  • the second receiving unit 306 is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform the second clock domain with other node devices in the second node clock domain. Synchronization, and carrying a second primary clock of the second node clock domain.
  • the second processing unit 302 is further configured to synchronize with the second master clock of the second node clock domain.
  • the second receiving unit 306 is further configured to receive a second notification message that is sent by the communications controller, where the second notification message is used to notify the first node device to synchronize the second clock domain with the node device in the second node clock domain. And carrying an indication that the second clock data set of the first node device is marked, the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm; and the second processing unit 302 is further configured to use the second clock data of the second clock data.
  • the first sending unit 303 is further configured to send the marked second clock data set to other node devices in the second node clock domain; the first receiving unit 304 is further configured to receive the second node clock domain.
  • the second processing unit 302 is further configured to determine, according to the second clock data set in the second clock data set sent by the other node device in the second node clock domain, the second master clock by using the BMC algorithm, and The second master clock is synchronized.
  • the second receiving unit 306 is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to perform the second clock domain with other node devices in the second node clock domain.
  • the first receiving unit 304 is further configured to receive a second clock data set sent by another node device in the second node clock domain; the second processing unit 302 is further configured to use, according to the second node clock domain, all the node devices.
  • the second clock data set uses the BMC algorithm to determine the second master clock and is synchronized with the second master clock.
  • FIG. 10 is a schematic structural diagram of still another embodiment of a first node device according to the present invention. As shown in FIG. 10, the node device 30 of the present embodiment may further include: Unit 307 and delete unit 308.
  • the comparing unit 307 is configured to: after determining, by the second processing unit 302, the second master clock, if it is determined that the time path of the node device to which the second master clock belongs is greater than the time path to the node device to which the first master clock belongs, Processing unit 301 determines synchronization with the first master clock.
  • the second receiving unit 306 is further configured to receive a third notification message sent by the communications controller, where the third notification message is used to notify the first node device that the second master clock is no longer synchronized.
  • the first processing unit 301 is further configured to determine, according to the first clock data set of the first clock data set and the first clock data set of the other node devices in the received network, the first master clock, and synchronize with the first master clock.
  • the deleting unit 308 is configured to: after the second receiving unit 306 receives the third notification message, if it is determined that the second clock data set of its own is marked, the flag is deleted, and the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm.
  • the node device provided by the embodiment of the present invention, the first node device in the network determines the first master clock according to the first clock data set of the first clock data set and the other node devices in the network, and the first master clock Synchronization, wherein the first clock data set includes a first clock domain selection parameter of the node device; the first node device according to its second clock data set and other node devices in the first node clock domain that belong to the first node device a second clock data set, determining a second master clock, And being synchronized with the second master clock, where the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • FIG. 11 is a schematic structural diagram of another node device according to the present invention.
  • the node device 40 is a first node device, and includes: a processor 401.
  • the processor 401 is configured to determine, according to the first clock data set of the first clock data set and the first clock data set of the other node devices in the network, the first master clock, and the first master clock, wherein the first clock data set includes The first clock domain selection parameter of the node device.
  • the processor 401 is further configured to determine, according to the second clock data set of the second clock data set and the second clock data set belonging to the other node device in the first node clock domain of the first node device, the second master clock, and the second The master clock is synchronized, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • processor 401 is specifically configured to determine the first primary clock or the second primary clock by using an optimal primary clock BMC algorithm.
  • FIG. 12 is a schematic structural diagram of another embodiment of a first node device according to the present invention. As shown in FIG. 12, the node device 40 of the present embodiment may further include: sending The device 402 and the receiver 403.
  • the transmitter 402 is configured to send the first clock data set of the first node device to other node devices in the network.
  • the receiver 403 is configured to receive a first clock data set sent by another node device in the network.
  • the transmitter 402 is further configured to send the second clock data set of the first node device to other node devices in the first node clock domain.
  • the receiver 403 is further configured to receive a second clock data set sent by another node device in the first node clock domain.
  • the receiver 403 is further configured to receive a first notification message sent by the communications controller, where the first notification message is used to notify the first node device to perform synchronization of the second clock domain with other node devices in the first node clock domain.
  • the receiver 403 is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to synchronize with the other node device in the second node clock domain to perform the second clock domain. And carrying a second primary clock of the second node clock domain.
  • the processor 401 is further configured to synchronize with a second master clock of the second node clock domain.
  • the receiver 403 is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to synchronize with the node device in the second node clock domain to perform the second clock domain, and carry An indication of marking a second clock data set of the first node device, the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm; the processor 401 is further configured to mark the second clock data set of the second node; The device is further configured to send the marked second clock data set to other node devices in the second node clock domain, and the receiver 403 is further configured to receive the second clock data sent by other node devices in the second node clock domain. The processor 401 is further configured to determine, according to the untagged second clock data set in the second clock data set sent by the other node device in the second node clock domain, the BMC algorithm to determine the second master clock, and the second master Clock synchronization.
  • the receiver 403 is further configured to receive a second notification message sent by the communications controller, where the second notification message is used to notify the first node device to synchronize with the other node device in the second node clock domain to perform the second clock domain; a second clock data set sent by the other node device in the second node clock domain; the processor 401 is further configured to determine the second main clock by using the BMC algorithm according to the second clock data set of all the node devices in the second node clock domain And synchronized with the second master clock.
  • the processor 401 is further configured to: after determining the second master clock, if it is determined that the time path of the node device to which the second master clock belongs is greater than the time path to the node device to which the first master clock belongs, Clock synchronization. Further, the receiver 403 is further configured to receive a third notification message sent by the communications controller, where the third notification message is used to notify the first node device that the second master clock is no longer synchronized.
  • the processor 401 is further configured to determine the first master clock according to the first clock data set of the first clock data set of the first clock data set and the other node devices in the received network, and synchronize with the first master clock.
  • the processor 401 is further configured to: after the receiver 403 receives the third notification message, if it is determined that its second clock data set is marked, the flag is deleted, and the flag is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm.
  • the node device provided by the embodiment of the present invention, the first node device in the network determines the first master clock according to the first clock data set of the first clock data set and the other node devices in the network, and the first master clock Synchronization, wherein the first clock data set includes a first clock domain selection parameter of the node device; the first node device according to its second clock data set and other node devices in the first node clock domain that belong to the first node device
  • the second clock data set determines the second master clock and is synchronized with the second master clock, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • the system 1 includes:
  • FIG. 14 is a schematic structural diagram of another embodiment of a communication system according to the present invention. As shown in FIG. 14, the system 1 of this embodiment is based on the apparatus structure shown in FIG. 13, and further includes: Controller 50.
  • Communication controller 50 for: Sending, to the first node device of the at least two node devices, a first notification message, where the first notification message is used to notify the first node device to synchronize with the other node device in the first node clock domain for the second clock domain;
  • the second master clock is used to notify the first node device to synchronize the second clock domain with the node device in the second node clock domain, and carry the second clock data of the first node device.
  • the indication of marking is performed, and the marking is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm; or the second notification message is used to notify the first node device to perform the second clock domain with other node devices of the second node clock domain.
  • the communication system includes:
  • At least one node device 40 At least one node device 40.
  • the node device 40 can adopt the structure shown in the node device 40 of Fig. 10 or Fig. 11. Further, the system further includes a communication controller.
  • the second master clock is used to notify the first node device to synchronize the second clock domain with the node device in the second node clock domain, and carry the second clock data of the first node device.
  • the indication of marking is performed, and the marking is used to indicate that the second clock data set does not participate in the calculation of the BMC algorithm; or the second notification message is used to notify the first node device to perform the second clock domain with other node devices of the second node clock domain. Synchronize; Sending a third notification message to the first node device, where the third notification message is used to notify the first node device that the second master clock is no longer synchronized.
  • the communication system of the present embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 1 to FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the first node device in the network determines the first master clock and the first master clock according to the first clock data set of the first clock data set of the network and the first clock data set of the other node devices in the network. Synchronization, wherein the first clock data set includes a first clock domain selection parameter of the node device; the first node device according to its second clock data set and other node devices in the first node clock domain that belong to the first node device.
  • the second clock data set determines the second master clock and is synchronized with the second master clock, wherein the second clock data set includes a second clock domain selection parameter of the node device, and the node clock domain is the second clock domain.
  • the first node in different clock domains can be calculated and synchronized with the master clock of the clock domain, thereby avoiding the problem of error accumulation caused by excessive length of the master clock transmission path, and
  • the first node device is in the first clock domain, high-precision synchronization is achieved, and when the first node device is in the second clock domain, higher-precision synchronization can be achieved, which not only satisfies the further requirement of the second clock domain for higher precision, but also It avoids the problem of excessive deployment cost caused by increasing the accuracy of the whole network at the same time.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

本发明实施例提供一种时钟同步方法、设备及通信***。本方法包括:网络中的第一节点设备根据自身的第一时钟数据集和所述网络中的其它节点设备的第一时钟数据集,确定第一主时钟,并与所述第一主时钟同步,其中,所述第一时钟数据集中包括节点设备的第一时钟域选择参数;所述第一节点设备根据自身的第二时钟数据集和与所述第一节点设备同属于第一节点时钟域中的其它节点设备的第二时钟数据集,确定第二主时钟,并与所述第二主时钟同步,其中,所述第二时钟数据集中包括节点设备的第二时钟域选择参数,所述节点时钟域为第二时钟域。本发明实施例能够进一步提升无线接入网时钟同步的精度。

Description

时钟同步方法、 设备及通信*** 技术领域
本发明实施例涉及通信技术领域, 尤其涉及时钟同步方法、 设备及通信 ***。 背景技术
在移动承载网络中, 除了时分复用 (Time division multiplexing, TDM) 业务本身的需求, 还需要给无线基站提供同步参考源。 无线蜂窝通信***有 步员分双工 ( Frequency division duplex, FDD )禾口时分双工 ( Time division duplex, TDD)两种, 各小区之间除了要保持频率同步以外, TDD***中由于上下行 通信需要使用相同的频段, 全网小区也需要严格的时间同步, 以避免上下行 传输干扰。 FDD***上下行使用不同的频段区分, 虽然不需要在时间上区分 上下行, 但为支持小区切换, 多播广播等特性, 同样要求小区之间有严格的 时间同步。 因为当用户在基站之间切换时, 如果基站之间没有时间同步, 可 能导致信道不能建立起来, 影响切换成功率。
现有技术提供了一种基于电气和电子工程师协会 (Institute of Electrical and Electronics Engineers , IEEE)1588时间传送协议的全网时钟同步方法,该 方法将时间源部署在网关 (Gate-Way , GW ) 或室内基带处理单元 -中心 (Building Base band Unit-center, BBU-center)位置,通过全球定位***(Global Positioning System, GPS ) 、 北斗或原子钟等多种方式注入, 承载交换设备通 过 IEEE1588协议传送该时间源维护的主时钟,但是基于该方法实现的无线接 入网同步传送方案会受到晶振稳定度, 时间戳精准度, 线路和器件不对称性, TC频偏, 滤波算法, 时钟路径长短等因素的影响, 导致时间同步精度不高。 发明内容
本发明实施例提供一种时钟同步方法、 设备及通信***, 通过分层多时 钟域的时钟同步方法, 进一步提升无线接入网时钟同步的精度。 本发明的第一方面, 提供一种时钟同步方法, 包括:
网络中的第一节点设备根据自身的第一时钟数据集和所述网络中的其它 节点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同步, 其中, 所述第一时钟数据集中包括节点设备的第一时钟域选择参数;
所述第一节点设备根据自身的第二时钟数据集和与所述第一节点设备同 属于第一节点时钟域中的其它节点设备的第二时钟数据集,确定第二主时钟, 并与所述第二主时钟同步, 其中, 所述第二时钟数据集中包括节点设备的第 二时钟域选择参数, 所述节点时钟域为第二时钟域。
在第一种可能的实现方式中, 根据第一方面,
所述网络中的第一节点设备根据自身的第一时钟数据集和所述网络中的 其它节点设备的第一时钟数据集, 确定第一主时钟之前, 还包括:
所述第一节点设备向所述网络中的其它节点设备发送所述第一节点设备 的第一时钟数据集, 并接收所述网络中的其它节点设备发送的第一时钟数据 集;
所述第一节点设备根据自身的第二时钟数据集和与所述第一节点设备同 属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时钟 之前, 还包括:
所述第一节点设备向所述第一节点时钟域中的其它节点设备发送所述第 一节点设备的第二时钟数据集, 并接收所述第一节点时钟域中的其它节点设 备发送的第二时钟数据集。
在第二种可能的实现方式中, 结合第一方面和第一种可能的实现方式, 所述第一节点设备向所述第一节点时钟域中的其它节点设备发送所述第一节 点设备的第二时钟数据集之前, 还包括:
所述第一节点设备接收通信控制器发送的第一通知消息, 所述第一通知 消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节点设备进 行第二时钟域的同步。
在第三种可能的实现方式中, 结合第一方面、 第一种可能的实现方式和 第二种可能的实现方式, 所述并与所述第一主时钟同步之后, 还包括:
所述第一节点设备接收所述通信控制器发送的第二通知消息, 所述第二 通知消息用于通知所述第一节点设备与第二节点时钟域中的其它节点设备进 行第二时钟域的同步, 且携带有所述第二节点时钟域的第二主时钟;
所述第一节点设备与所述第二节点时钟域的第二主时钟同步。
在第四种可能的实现方式中, 结合第一方面、 第一种可能的实现方式、 和第二种可能的实现方式, 所述并与所述第一主时钟同步之后, 还包括: 所述第一节点设备接收所述通信控制器发送的第二通知消息, 所述第二 通知消息用于通知所述第一节点设备与第二节点时钟域中的节点设备进行第 二时钟域的同步, 且携带有对所述第一节点设备的第二时钟数据集进行标记 的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC算法的计 算;
所述第一节点设备对自身的所述第二时钟数据集进行标记;
所述第一节点设备向所述第二节点时钟域中的其它节点设备发送已标记 的第二时钟数据集, 并接收所述第二节点时钟域中的其它节点设备发送的第 二时钟数据集;
所述第一节点设备根据所述第二节点时钟域中的其它节点设备发送的第 二时钟数据集中未标记的所述第二时钟数据集, 采用 BMC算法确定第二主 时钟, 并与所述第二主时钟同步。
在第五种可能的实现方式中, 结合第三种可能的实现方式和第四种可能 的实现方式, 所述并与所述第二主时钟同步之后, 还包括:
所述第一节点设备接收所述通信控制器发送的第二通知消息, 所述第二 通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点设备进行 第二时钟域的同步;
所述第一节点设备接收所述第二节点时钟域中的其它节点设备发送的第 二时钟数据集;
所述第一节点设备根据所述第二节点时钟域中所有节点设备的第二时钟 数据集, 采用 BMC算法确定第二主时钟, 并与所述第二主时钟同步。
在第六种可能的实现方式中, 结合第一方面、 第一种可能的实现方式、 第 二种可能的实现方式、 第三种可能的实现方式、 第四种可能的实现方式和第 五种可能的实现方式, 所述第一节点确定所述第二主时钟之后, 还包括: 所述第一节点设备若确定到所述第二主时钟所属的节点设备的时间路径 大于到所述第一主时钟所属节点设备的时间路径,则与所述第一主时钟同步。
在第七种可能的实现方式中, 结合第一方面、 第一种可能的实现方式、 第二种可能的实现方式、 第三种可能的实现方式、 第四种可能的实现方式、 第五种可能的实现方式和第六种可能的实现方式, 所述并与所述第二主时钟 同步之后, 还包括:
所述第一节点设备接收所述通信控制器发送的第三通知消息, 所述第三 通知消息用于通知所述第一节点设备不再与所述第二主时钟同步;
所述第一节点设备根据自身的第一时钟数据集和接收的所述网络中的其 它节点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同步。
在第八种可能的实现方式中, 根据第七种可能实现的方式, 所述第一节 点设备接收所述通信控制器发送的第三通知消息之后, 还包括:
所述第一节点设备若确定自身的所述第二时钟数据集已标记, 则删除所 述标记, 所述标记用于表示所述第二时钟数据集不参加所述 BMC算法的计 算。 本发明的第二方面, 提供了一种节点设备, 所述节点设备为网络中的第 一节点设备, 所述节点设备包括:
第一处理单元, 用于根据自身的第一时钟数据集和所述网络中的其它节 点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同步, 其 中, 所述第一时钟数据集中包括节点设备的第一时钟域选择参数;
第二处理单元, 用于根据自身的第二时钟数据集和与所述第一节点设备 同属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时 钟, 并与所述第二主时钟同步, 其中, 所述第二时钟数据集中包括节点设备 的第二时钟域选择参数, 所述节点时钟域为第二时钟域。
在第一种可能的实现方式中, 根据第二方面, 节点设备还包括: 第一发送单元, 用于向所述网络中的其它节点设备发送所述第一节点设 备的第一时钟数据集;
第一接收单元, 用于接收所述网络中的其它节点设备发送的第一时钟数 据集;
第二发送单元, 用于向所述第一节点时钟域中的其它节点设备发送所述 第一节点设备的第二时钟数据集;
第二接收单元, 用于接收所述第一节点时钟域中的其它节点设备发送的 第二时钟数据集。
在第二种可能的实现方式中, 结合第二方面和第一种可能实现的方式, 所述第二接收单元, 还用于接收通信控制器发送的第一通知消息, 所述 第一通知消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节 点设备进行第二时钟域的同步。
在第三种可能的实现方式中, 结合第二方面、 第一种可能实现的方式和 第二种可能实现的方式,
还用于接收所述通信控制器发送的第二通知消息, 所述第二通知消息用 于通知所述第一节点设备与第二节点时钟域中的其它节点设备进行第二时钟 域的同步, 且携带有所述第二节点时钟域的第二主时钟;
所述第二处理单元, 还用于与所述第二节点时钟域的第二主时钟同步。 在第四种可能的实现方式中, 结合第二方面、 第一种可能实现的方式和 第二种可能实现的方式,
所述第二接收单元, 还用于接收所述通信控制器发送的第二通知消息, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域中的节点设 备进行第二时钟域的同步, 且携带有对所述第一节点设备的第二时钟数据集 进行标记的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC 算法的计算;
所述第二处理单元, 还用于对自身的所述第二时钟数据集进行标记; 所述第一发送单元, 还用于向所述第二节点时钟域中的其它节点设备发 送已标记的第二时钟数据集;
所述第一接收单元, 还用于接收所述第二节点时钟域中的其它节点设备 发送的第二时钟数据集;
所述第二处理单元, 还用于根据所述第二节点时钟域中的其它节点设备 发送的第二时钟数据集中未标记的所述第二时钟数据集, 采用 BMC 算法确 定第二主时钟, 并与所述第二主时钟同步。
在第五种可能的实现方式中, 结合第二方面、 第一种可能实现的方式和 第二种可能实现的方式,
所述第二接收单元, 还用于接收所述通信控制器发送的第二通知消息, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点 设备进行第二时钟域的同步;
所述第一接收单元, 还用于接收所述第二节点时钟域中的其它节点设备 发送的第二时钟数据集;
所述第二处理单元, 还用于根据所述第二节点时钟域中所有节点设备的 第二时钟数据集, 采用 BMC算法确定第二主时钟, 并与所述第二主时钟同 在第六种可能的实现方式中, 结合第二种可能实现的方式、 第三种可能 实现的方式、 第四种可能实现的方式和第五种可能实现的方式, 节点设备还 包括:
比较单元, 用于在所述第二处理单元确定第二主时钟后, 若确定到所述 第二主时钟所属的节点设备的时间路径大于到所述第一主时钟所属节点设备 的时间路径, 则使得所述第一处理单元确定与所述第一主时钟同步。
在第七种可能的实现方式中, 结合第二方面、 第二种可能实现的方式、 第三种可能实现的方式、 第四种可能实现的方式和第五种可能实现的方式, 所述第二接收单元, 还用于接收所述通信控制器发送的第三通知消息, 所述第三通知消息用于通知所述第一节点设备不再与所述第二主时钟同步; 所述第一处理单元, 还用于根据自身的第一时钟数据集和接收的所述网 络中的其它节点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主 时钟同步。
在第八种可能的实现方式中, 根据第七种可能实现的方式, 节点设备还 包括:
删除单元, 用于在所述第二接收单元接收所述第三通知消息后, 若确定 自身的所述第二时钟数据集已标记, 则删除所述标记, 所述标记用于表示所 述第二时钟数据集不参加所述 BMC算法的计算。 本发明的第三方面, 提供了一种节点设备, 所述节点设备为网络中的第 一节点设备, 所述节点设备包括:
处理器, 用于根据自身的第一时钟数据集和所述网络中的其它节点设备 的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同步, 其中, 所 述第一时钟数据集中包括节点设备的第一时钟域选择参数;
所述处理器, 还用于根据自身的第二时钟数据集和与所述第一节点设备 同属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时 钟, 并与所述第二主时钟同步, 其中, 所述第二时钟数据集中包括节点设备 的第二时钟域选择参数, 所述节点时钟域为第二时钟域。
在第一种可能的实现方式中, 根据第三方面, 节点设备还包括: 发送器, 用于向所述网络中的其它节点设备发送所述第一节点设备的第 一时钟数据集;
接收器, 用于接收所述网络中的其它节点设备发送的第一时钟数据集; 所述发送器, 还用于向所述第一节点时钟域中的其它节点设备发送所述 第一节点设备的第二时钟数据集; ;
所述接收器, 还用于接收所述第一节点时钟域中的其它节点设备发送的 第二时钟数据集。
在第二种可能的实现方式中, 结合第三方面和第一种可能实现的方式, 所述接收器, 还用于接收通信控制器发送的第一通知消息, 所述第一通 知消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节点设备 进行第二时钟域的同步。
在第三种可能的实现方式中, 结合第二方面、 第一种可能实现的方式和 第二种可能实现的方式,
所述接收器, 还用于接收所述通信控制器发送的第二通知消息, 所述第 二通知消息用于通知所述第一节点设备与第二节点时钟域中的其它节点设备 进行第二时钟域的同步, 且携带有所述第二节点时钟域的第二主时钟;
所述处理器, 还用于与所述第二节点时钟域的第二主时钟同步。
在第四种可能的实现方式中, 结合第三方面、 第一种可能实现的方式和 第二种可能实现的方式, 所述接收器, 还用于接收所述通信控制器发送的第二通知消息, 所述第 二通知消息用于通知所述第一节点设备与第二节点时钟域中的节点设备进行 第二时钟域的同步, 且携带有对所述第一节点设备的第二时钟数据集进行标 记的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC 算法的 计算;
所述处理器, 还用于对自身的所述第二时钟数据集进行标记;
所述发送器, 还用于向所述第二节点时钟域中的其它节点设备发送已标 记的第二时钟数据集;
所述接收器, 还用于接收所述第二节点时钟域中的其它节点设备发送的 第二时钟数据集;
所述处理器, 还用于根据所述第二节点时钟域中的其它节点设备发送的 第二时钟数据集中未标记的所述第二时钟数据集, 采用 BMC 算法确定第二 主时钟, 并与所述第二主时钟同步。
在第五种可能的实现方式中, 结合第三方面、 第一种可能实现的方式和 第二种可能实现的方式,
所述接收器, 还用于接收所述通信控制器发送的第二通知消息, 所述第 二通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点设备进 行第二时钟域的同步; 接收所述第二节点时钟域中的其它节点设备发送的第 二时钟数据集;
所述处理器, 还用于根据所述第二节点时钟域中所有节点设备的第二时 钟数据集, 采用 BMC算法确定第二主时钟, 并与所述第二主时钟同步。
在第六种可能的实现方式中, 结合第二种可能实现的方式、 第三种可能 实现的方式、 第四种可能实现的方式和第五种可能实现的方式,
所述处理器, 还用于在确定第二主时钟后, 若确定到所述第二主时钟所 属的节点设备的时间路径大于到所述第一主时钟所属节点设备的时间路径, 则与所述第一主时钟同步。
在第七种可能的实现方式中, 结合第三方面、 第二种可能实现的方式、 第三种可能实现的方式、 第四种可能实现的方式、 第五种可能实现的方式, 节点设备还包括: 所述接收器, 还用于接收所述通信控制器发送的第三通知消息, 所述第 三通知消息用于通知所述第一节点设备不再与所述第二主时钟同步;
所述处理器, 还用于根据自身的第一时钟数据集和接收的所述网络中的 其它节点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同 步。
在第八种可能的实现方式中, 根据第七种可能的实现方式,
所述处理器, 还用于在所述接收器接收所述第三通知消息后, 若确定自 身的所述第二时钟数据集已标记, 则删除所述标记, 所述标记用于表示所述 第二时钟数据集不参加所述 BMC算法的计算。 第四方面, 提供了一种通信***, 包括:
至少两个上述第二方面及其各实现方式中任一的节点设备。
在第一种可能的实现方式中, 根据第四方面, ***还包括:
通信控制器, 用于:
向所述至少两个节点设备中的第一节点设备发送第一通知消息, 所述第 一通知消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节点 设备进行第二时钟域的同步;
向所述第一节点设备发送第二通知消息, 所述第二通知消息用于通知所 述第一节点设备与第二节点时钟域中的其它节点设备进行第二时钟域的同 步, 且携带有所述第二节点时钟域的第二主时钟; 或者, 所述第二通知消息 用于通知所述第一节点设备与第二节点时钟域中的节点设备进行第二时钟域 的同步, 且携带有对所述第一节点设备的第二时钟数据集进行标记的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC算法的计算; 或者, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点 设备进行第二时钟域的同步;
向所述第一节点设备发送第三通知消息, 所述第三通知消息用于通知所 述第一节点设备不再与所述第二主时钟同步。 第五方面, 提供了一种通信***, 包括: 至少两个上述第三方面及其各实现方式中任一的节点设备。
在第一种可能的实现方式中, 根据第五方面, ***还包括:
通信控制器, 用于:
向所述至少两个节点设备中的第一节点设备发送第一通知消息, 所述第 一通知消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节点 设备进行第二时钟域的同步;
向所述第一节点设备发送第二通知消息, 所述第二通知消息用于通知所 述第一节点设备与第二节点时钟域中的其它节点设备进行第二时钟域的同 步, 且携带有所述第二节点时钟域的第二主时钟; 或者, 所述第二通知消息 用于通知所述第一节点设备与第二节点时钟域中的节点设备进行第二时钟域 的同步, 且携带有对所述第一节点设备的第二时钟数据集进行标记的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC算法的计算; 或者, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点 设备进行第二时钟域的同步;
向所述第一节点设备发送第三通知消息, 所述第三通知消息用于通知所 述第一节点设备不再与所述第二主时钟同步。 本发明实施例提供的时钟同步方法、 设备及通信***, 网络中的第一节 点设备根据自身的第一时钟数据集和网络中的其它节点设备的第一时钟数据 集, 确定第一主时钟, 并与第一主时钟同步, 其中, 第一时钟数据集中包括 节点设备的第一时钟域选择参数; 第一节点设备根据自身的第二时钟数据集 和与第一节点设备同属于第一节点时钟域中的其它节点设备的第二时钟数据 集, 确定第二主时钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括 节点设备的第二时钟域选择参数, 节点时钟域为第二时钟域。 这样通过分层 多时钟域的时钟同步方法, 可以使得不同时钟域内的第一节点计算并与该时 钟域的主时钟同步, 避免了主时钟传输路径过长导致的误差累积的问题, 而 且, 由于第一节点设备处于第一时钟域时实现高精度的同步, 第一节点设备 处于第二时钟域时可以实现更高精度的同步, 不仅可以满足第二时钟域对更 高精度的进一步需求, 也避免了同时将全网精度提升过高而导致的部署成本 过高的问题。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明时钟同步方法实施例的流程图;
图 2为本发明时钟同步方法另一实施例的流程图;
图 3为本发明时钟同步方法再一实施例的流程图;
图 4为本发明时钟同步方法又一实施例的流程图;
图 5为本发明时钟同步方法又一实施例的流程图;
图 6为本发明时钟同步方法又一实施例的流程图;
图 7为本发明时钟同步方法又一实施例的流程图;
图 8为本发明时钟同步方法又一实施例的流程图;
图 9为本发明节点设备的再一实施例的结构示意图;
图 10为本发明第一节点设备的另一实施例的结构示意图;
图 11为本发明第一节点设备的再一实施例的结构示意图;
图 12为本发明另一节点设备实施例的结构示意图;
图 13为本发明第一节点设备的另一实施例的结构示意图;
图 14为本发明通信***实施例的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
需要说明的是, 在承载移动设备、 接入节点设备、 控制节点设备等的网 络中, 基于业务需求等问题需要向各节点提供同步参考源。 而且, 随着一些 新的提高***容量的无线调制、 收发技术的引入, 如正交平分复用调制
( Orthogonal frequency division multiplexing, OFDM ) 、 多点协作传输 (Coordinated multi-point , CoMP) 技术等的应用, 对各节点设备时间和频 率同步精度要求进一步提高。
本发明实施例以网络中的节点设备,如第一节点设备为上述各控制节点, 接入节点进行说明, 网络可以是蜂窝网等现有网络架构。
图 1为本发明时钟同步方法实施例的流程图, 如图 1所示, 本实施例的 方法可以包括:
S101、 第一节点设备根据自身的第一时钟数据集和网络中的其它节点设 备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步, 其中, 第一 时钟数据集中包括节点设备的第一时钟域选择参数。
需要说明的是, 在现有技术中, 各从时钟一般会和部署在 GW 或 BBU-center位置的主时钟实现时间同步, 但是这种时钟同步方法对于部署在 时间路径越远的节点设备处的从时钟同步的精确度越低。如, 在使用 1588等 协议进行同步的场景中, 协议数据包在主时钟节点设备和较远的从时钟节点 设备传输时, 经过的每个节点设备都会在本端接收该协议数据包时打上输入 时间戳, 发送该协议数据包时, 再打上输出时间戳, 这样在从时钟与主时钟 同步时, 会考虑到在每个节点设备的驻留时间, 即输出时间戳与输入时间戳 的差值对同步精度的影响, 即传输延时为最终的输入时间戳减去最初的输出 时间戳再减去驻留时间的和。 但是, 每个节点设备维护的时间都存在误差, 所以当时间源到节点设备的时钟路径很长, 即跳数很多时, 会导致时间戳误 差累积, 累计的误差较大。
本发明实施例可以利用最佳主时钟 (Best master clock, BMC)在各第一 节点设备上计算出最佳主时钟, 并与之同步, 从而减少了在传输过程中造成 的误差, 提高时间同步的精度。
举例来说, 第一节点设备根据自身统计的第一时钟数据集和接收到的网 络中的其它节点设备的第一时钟数据集, 确定第一主时钟, 并与之同步, 其 中, 第一时钟数据集中包括节点设备的第一时钟域选择参数, 第一时钟域选 择参数可以是用于标记节点设备属于第一时钟域的时钟域选择参数。
第一时钟数据集在每个第一节点设备本地维护, 作为最佳主时钟算法等 的基本输入。 第一时钟数据集中参数属性包括静态、 动态和可配置三种, 其 中静态参数反应时钟或协议固有的物理或操作特性; 动态参数在协议操作或 环境变化时可变; 可配置参数可以通过管理消息或实现相关的配置方式进行 配置。 第一时钟域选择参数包括: 优先级, 质量等级、 精度、 稳定度、 时钟 域、 时钟标识、 协议使用单步 /两步同步属性、 路径属性等很多属性参数。 其 中, 优先级和时间域属于可配置参数; 质量等级、 精度及稳定度属于动态参 数。
进一步地, 第一时钟域可以是上述整个网络, 如蜂窝网, 每个第一节点 设备的时钟域均可以表示该第一节点设备处于第一时钟域中。 当第一节点设 备的时钟域只表示该第一节点设备处于第一时钟域时, 第一节点设备根据上 述参数的真实值采用 BMC 算法确定一个第一主时钟。 同时, 该第一节点设 备可以确定该第一主时钟所属的第一节点设备。 一般来说, 该第一主时钟所 属的第一节点设备可以为 GW, BBU center或连接该 GW, BBU center的交换 机。
基于上述的方法, 对于没有机会参与协作的第一节点设备, 由于各第一 节点设备之间仅需满足微秒级的同步, 因此网络中的交换节点设备可以使用 普通具有 IEEE1588同步功能的交换机,对晶振等没有特殊要求,可以降低布 网成本。
S102、 第一节点设备根据自身的第二时钟数据集和与第一节点设备同属 于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括节点设备的第二时钟域 选择参数, 节点时钟域为第二时钟域。
举例来说, 第二时钟数据集中包括节点设备的第二时钟域选择参数, 第 二时钟域选择参数可以是对第一时钟域选择参数进行精度提高处理之后得到 的时钟域选择参数。 或者, 第二时钟域选择参数也可以是用于标记节点设备 属于第二时钟域的时钟域选择参数。
需要说明的是, 每个节点设备的第二时钟数据集都在每个第一节点设备 本地维护, 包含有第二时钟域选择参数, 第二时钟域选择参数是对第一时钟 域选择参数进行精度提高处理之后得到的时钟域选择参数, 如包括: 优先级, 质量等级、 精度、 稳定度、 时钟域、 时钟标识、 协议使用单步 /两步同步属性、 路径属性等很多属性参数。 其中, 第二时钟域选择参数是在真实参数的基础 上进行调整后形成的精度更高的参数, 可以是针对一个或多个真实参数调整 后形成的。 如, 将第一时钟域选择参数中的一个或多个参数, 如优先级等同 时减去一个常量, 优先级从 1变为 0, 或者由 2变为 1, 由于预设 BMC算法 可以针对优先级数值越小时钟精度越高, 因此, 优先级为 0的主时钟精度高 于优先级为 1时的主时钟精度, 如可以将精度为纳秒级的时钟优先级设置为 0, 而将精度为毫秒级的时钟优先级设置为 1。 此处仅以优先级这个参数举例 说明, 并不以此为限定, 任何根据调整第一时钟域选择参数、 第二时钟域选 择参数得到不同精度主时钟的 BMC算法均在保护范围之内。
进一步地, 节点时钟域可以是一个 CoMP小区, 由于 CoMP小区的架构 下, 如果参与协作的第一节点设备之间没有精确同步, 则不同第一节点设备 信号到达用户的时间不同, 可能引起预编码矩阵的不匹配, 使 CoMP小区传 输不能达到预期的增益, 大大降低***性能。 本发明的一个节点时钟域中的 所有第一节点设备同属于一个第二时钟域, 根据上述参数调整及算法, 可以 将精度调整到纳秒的级别, 以满足 CoMP小区的架构对精度的需求。
再进一步地, 由于 CoMP小区是动态生成的, 即节点时钟域, 如第一节 点时钟域是动态生成的, 因此当根据信道状态动态生成第一节点时钟域时, 可以通知该第一节点时钟域内的各第一节点设备以第二时钟数据集得到该第 二时钟域内的一个时钟为第二主时钟, 并同步到第二主时钟以获得精确的时 间同步; 当第一节点时钟域集解散时, 也可以通知各第一节点设备重新计算 第一主时钟并同步到第一主时钟上。 需要说明的是, 本实施例仅以第一节点 时钟域为 CoMP小区为例进行说明, 但不以此做任何限定, 当第一节点时钟 域与第二节点时钟域合并时, CoMP小区可以不合并。
本发明实施例提供的时钟同步方法, 网络中的第一节点设备根据自身的 第一时钟数据集和网络中的其它节点设备的第一时钟数据集, 确定第一主时 钟, 并与第一主时钟同步, 其中, 第一时钟数据集中包括节点设备的第一时 钟域选择参数; 第一节点设备根据自身的第二时钟数据集和与第一节点设备 同属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时 钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括节点设备的第二时 钟域选择参数, 节点时钟域为第二时钟域。 这样通过分层多时钟域的时钟同 步方法,可以使得不同时钟域内的第一节点计算并与该时钟域的主时钟同步, 避免了主时钟传输路径过长导致的误差累积的问题, 而且, 由于第一节点设 备处于第一时钟域时实现高精度的同步, 第一节点设备处于第二时钟域时可 以实现更高精度的同步,不仅可以满足第二时钟域对更高精度的进一步需求, 也避免了同时将全网精度提升过高而导致的部署成本过高的问题。 图 2为本发明时钟同步方法另一实施例的流程图, 如图 2所示, 本实施 例的方法可以包括如下步骤:
需要说明的是, 当第一节点设备已经属于第一节点时钟域时, 可以不再 执行步骤 S201、 S202和步骤 S203 , 但是本实施例以第一节点设备先处于网 络中, 后加入了第一节点时钟域进行说明, 下述步骤 S201、 S202与 S203之 间存在顺序关系。
5201、 第一节点设备向网络中的其它节点设备发送第一节点设备的第一 时钟数据集, 并接收网络中的其它节点设备发送的第一时钟数据集。
5202、 第一节点设备根据自身的第一时钟数据集和网络中的其它节点设 备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步。
其中, 第一时钟数据集中包括节点设备的第一时钟域选择参数。
进一步地, 第一节点设备可以采用 BMC 算法, 利用第一时钟域选择参 数确定第一主时钟, 第一时钟域选择参数包括下述参数中的至少一种: 优先 级、 质量等级和精度、 稳定度、 时钟域、 时钟标识、 同步属性以及路径属性, 其中时钟域为第一时钟域, 其中, 第一时钟域选择参数为用于标记节点设备 属于第一时钟域的时钟域选择参数。
5203、 第一节点设备接收通信控制器发送的第一通知消息, 第一通知消 息用于通知第一节点设备与第一节点时钟域中的其它节点设备进行第二时钟 域的同步。 举例来说, 当第一节点设备与其附近的几个其它节点设备形成第一节点 时钟域的时候, 第一节点设备可以通过接收到的由通信控制器发送的第一通 知消息确定自身已经加入了该第一节点时钟域, 继而将向第一节点时钟域内 的其它节点设备发送的第一时钟数据集调整为第二时钟数据集。
S204、 第一节点设备向第一节点时钟域中的其它节点设备发送第一节点 设备的第二时钟数据集, 并接收第一节点时钟域中的其它节点设备发送的第 二时钟数据集。
进一步地, 第二时钟域内的各节点设备均接收来自本第二时钟域内的其 它节点设备发送的第二时钟数据集, 除此之外, 各节点设备还会接收到来自 非本第二时钟域内的其它节点设备发送的第一时钟数据集和非本第二时钟域 内的其它第二时钟域的节点设备发送的第一时钟数据集。
S205、 第一节点设备根据自身的第二时钟数据集和与第一节点设备同属 于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时钟, 并与第二主时钟同步。
其中, 第二时钟数据集中包括节点设备的第二时钟域选择参数, 第二时 钟域选择参数是对第一时钟域选择参数进行精度提高处理之后得到的时钟域 选择参数。 第二时钟域选择参数的精度提高处理方法参见上述实施例, 在此 不再赘述。
进一步地, 第二时钟域内的各节点设备均可以通过 BMC 算法选择第二 主时钟, 同时主时钟节点设备可以将自身的节点标识发送给通信控制器, 以 使得该通信控制器获知本第一节点时钟域中的第二主时钟是属于哪一个节点 设备的。
再进一步地, 在计算得到第二主时钟之后, 每个节点设备均可以依照 IEEE1588协议与算得的第二主时钟精确同步。 进一步地,图 3为本发明时钟同步方法再一实施例的流程图,在步骤 S205 之后, 如果该第一节点设备加入另一个节点时钟域, 记作第二节点时钟域, 则执行步骤 S206。 需要说明的是, S206也可以在 S202之后执行, 不以此实 施例举例为限定。 5206、 第一节点设备接收通信控制器发送的第二通知消息, 第二通知消 息用于通知第一节点设备与第二节点时钟域中的其它节点设备进行第二时钟 域的同步, 且携带有第二节点时钟域的第二主时钟。
5207、 第一节点设备与第二节点时钟域的第二主时钟同步。
进一步地, 由于第二通知消息已经携带了第二节点时钟域的第二主时钟, 则第一节点设备不需要再计算第二主时钟。 该第二主时钟可以是第二节点时 钟域中原节点设备计算得到后发送给通信控制器的。 或者, 图 4为本发明时钟同步方法又一实施例的流程图, 如图 4所示, 在步骤 S205之后,还可以执行步骤 S208。需要说明的是, S208也可以在 S202 之后执行, 不以此实施例举例为限定。
5208、 第一节点设备接收通信控制器发送的第二通知消息, 第二通知消 息用于通知第一节点设备与第二节点时钟域中的节点设备进行第二时钟域的 同步, 且携带有对第一节点设备的第二时钟数据集进行标记的指示, 标记用 于表示第二时钟数据集不参加 BMC算法的计算。
5209、 第一节点设备对自身的所述第二时钟数据集进行标记。
举例来说, 当有节点设备加入节点时钟域, 如上述的第一节点设备加入 第二节点时钟域时, 为避免第二节点时钟域中各节点设备对第二主时钟重选 和重同步影响协作通信性能, 该第二节点时钟域中的各节点设备均保持原第 二主时钟不变。 通信控制器向该第一节点设备指示该第二节点时钟域内的第 二主时钟, 可以通过上述实施例的通知直接携带该第二节点时钟域的第二主 时钟的方式, 也可以以该实施例的方式, 通知该第一节点设备加入该第二节 点时钟域并可以指示第一节点设备重新计算第二节点时钟域的第一主时钟。
这时可能出现的问题是, 根据第一节点设备的第二时钟域选择参数可能 会计算出一个更优的第二主时钟, 但是这会使得第二节点时钟域的其它节点 设备全部与这个最优的第二主时钟同步, 对第二主时钟重选和重同步影响协 作通信性能。 综上, 对新加入的第一节点设备的第二时钟域选择参数进行标 记, 使得通过 BMC 算法得到第二主时钟的计算过程中, 忽略该已标记的第 二时钟域选择参数。 5210、 第一节点设备向第二节点时钟域中的其它节点设备发送已标记的 第二时钟数据集, 并接收第二节点时钟域中的其它节点设备发送的第二时钟 数据集。
5211、 第一节点设备根据第二节点时钟域中的其它节点设备发送的第二 时钟数据集中未标记的第二时钟数据集, 采用 BMC算法确定第二主时钟, 并与第二主时钟同步。
进一步地, 第一节点设备可以根据第二时钟域选择参数中的时钟域确定 这些第二时钟域选择参数是属于第二节点时钟域的。 由于各节点设备采用广 播的形式向外发送第一时钟数据集, 采用多播的形式向外发送第二时钟数据 集, 所以第一节点设备可以接收到许多其它节点时钟域的第一时钟数据集, 因此, 第一节点设备需要根据时钟域参数计算第二时钟域的第二主时钟。
再进一步地, 当一个或多个节点设备同时由第一节点时钟域加入第二节 点时钟域时, 通信控制器指示将多个第二时钟域合并成一个第二时钟域。 如 一个第一节点时钟域与一个第二节点时钟域合并成一个第三节点时钟域。 在 这种场景中, 第一节点时钟域与一个第二节点时钟域已有各自第二主时钟, 且其各节点设备都已获得和各自第二主时钟并与之同步, 此时, 通信控制器 可以根据网络拓扑从两个主时钟中选择一个作为合并后的第二时钟域的第二 主时钟, 选择的基准可以是该第二主时钟所属的节点设备距离第一节点时钟 域与第二节点时钟域中所有节点设备时间路径最短的, 如选择了第一节点时 钟域的第二主时钟, 则在向第二节点时钟域中的各节点设备发送的通知中携 带第二主时钟, 使得第二节点时钟域内的各节点设备和第一节点时钟域的第 二主时钟同步, 或者, 在向第二节点时钟域中的各节点设备发送的通知中携 带对该节点设备的第二时钟数据集进行标记的指示, 标记用于表示第二时钟 数据集不参加 BMC算法的计算。 再进一步地, 图 5为本发明时钟同步方法又一实施例的流程图, 如图 5 所示, 在步骤 S205之后, 还可以执行步骤 S212。
5212、 第一节点设备接收通信控制器发送的第二通知消息, 第二通知消 息用于通知第一节点设备与第二节点时钟域的其它节点设备进行第二时钟域 的同步。
5213、 第一节点设备接收第二节点时钟域中的其它节点设备发送的第二 时钟数据集。
5214、 第一节点设备根据第二节点时钟域中所有节点设备的第二时钟数 据集, 采用 BMC算法确定第二主时钟, 并与第二主时钟同步。 进一步地, 图 6为本发明时钟同步方法又一实施例的流程图, 如图 6所 示, 在步骤 S211之后, 还可以包括步骤 S215 , 需要说明的是, 该 S215可以 在任何第一节点设备确定了第二主时钟后执行, 或者, 在任何第一节点设备 与第二主时钟同步后, 若切换到了其他的节点时钟域并确定其它节点时钟域 的第二主时钟后执行, 本实施例仅以在 S211后执行举例说明, 但不以此做任 何限定。 S215在 S208或 S214之后执行, 均在保护范围之内, 且, 本实施例 的 S211与上述 S211不完全相同。
S211、 第一节点设备根据第二节点时钟域中的其它节点设备发送的第二 时钟数据集中未标记的第二时钟数据集, 采用 BMC算法确定第二主时钟。
5215、 第一节点设备若确定到第二主时钟所属的节点设备的时间路径大 于到第一主时钟所属节点设备的时间路径, 则与第一主时钟同步。
即, 如果第一节点设备先同步到第一节点时钟域的第二主时钟, 后由于切 换至第二节点时钟域,则会引起第一节点设备到第二节点时钟域的第二主时钟 所属的节点设备的时间路径大于到第一主时钟所属节点设备的时间路径, 这 种情况下, 第一节点设备应该重同步回第一主时钟。
进一步地, 由于通信控制器知道每个选定的第二主时钟和第一主时钟所 属的节点设备, 且第二时钟域选择参数中包含有路径属性, 已经可以根据网 络拓扑结构确定每个节点设备到另一节点设备的时间路径, 所以每个节点设 备都易于获取到距离所在网络中第一主时钟的所属节点设备和第二主时钟所 属的节点设备的时间路径。 而且, 由于第二主时钟的精度提高是基于节点时 钟域内各节点设备的时间路径较短确定的, 如果第一节点设备距离第二主时 钟所属的节点设备的时间路径大于到第一主时钟所属节点设备的时间路径, 则失去了路径较短的优势, 那么第一节点设备与高精度的第二主时钟同步也 不再精准, 所以可以重新同步到时间路径较短的第一主时钟上。
本发明实施例提供的时钟同步方法, 网络中的第一节点设备根据自身的 第一时钟数据集和网络中的其它节点设备的第一时钟数据集, 确定第一主时 钟, 并与第一主时钟同步, 其中, 第一时钟数据集中包括节点设备的第一时 钟域选择参数; 第一节点设备根据自身的第二时钟数据集和与第一节点设备 同属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时 钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括节点设备的第二时 钟域选择参数, 节点时钟域为第二时钟域。 这样通过分层多时钟域的时钟同 步方法,可以使得不同时钟域内的第一节点计算并与该时钟域的主时钟同步, 避免了主时钟传输路径过长导致的误差累积的问题, 而且, 由于第一节点设 备处于第一时钟域时实现高精度的同步, 第一节点设备处于第二时钟域时可 以实现更高精度的同步,不仅可以满足第二时钟域对更高精度的进一步需求, 也避免了同时将全网精度提升过高而导致的部署成本过高的问题。 图 7为本发明时钟同步方法又一实施例的流程图, 如图 7所示, 本实施 例的方法基于上述实施例的步骤 S201至 S207之后实施的, 但是本实施例仅 以此举例说明, 该步骤 S216可以在任何与第二主时钟同步后执行, 不以本实 施例列举的情况为限定。 在步骤 S207之后, 本实施例还包括:
5216、 第一节点设备接收通信控制器发送的第三通知消息, 第三通知消 息用于通知第一节点设备不再与第二主时钟同步。
5217、 第一节点设备根据自身的第一时钟数据集和接收的网络中的其它 节点设备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步。
举例来说, 当有节点设备退出第二节点时钟域, 且该节点设备不是第二 主时钟所在的节点设备时, 其它未退出第二节点时钟域的节点设备也不需要 因此重新计算第二主时钟。 作为退出第二节点时钟域的节点设备, 如第一节 点设备, 由于不再属于第二节点时钟域, 则根据当前收到的第一时钟数据集 重新利用第一时钟域选择参数计算第一主时钟, 并与之同步。
进一步地, 如果第三节点时钟域拆分成两个或多个节点时钟域, 如拆分 成第一节点时钟域和第二节点时钟域, 其中, 第一节点设备被归属于第一节 点时钟域, 第二节点设备被归属于第二节点时钟域, 且原第三节点时钟域的 第二主时钟属于第一节点设备, 则第一节点时钟域作为拥有第一节点设备的 节点时钟域, 无需再重新计算第二主时钟, 第二节点时钟域没有第一节点设 备, 则需要第二节点时钟域内各节点设备重新根据该第二节点时钟域内的第 二时钟数据集计算第二主时钟。
S218、第一节点设备若确定自身的第二时钟数据集已标记, 则删除标记, 标记用于表示第二时钟数据集不参加 BMC算法的计算。
举例来说, 当一个或多个节点设备同时离开第三节点时钟域时, 有两种 场景如下所述:
至少一个节点设备离开了第三节点时钟域, 其中, 第一节点设备等节点 设备若确定自身的第二时钟数据集已标记, 则删除标记。 离开了第三节点时 钟域的各节点设备重新利用第一时钟数据集计算第一主时钟并与之同步。 第 二, 如果第三节点时钟域拆分成第一节点时钟域和第二节点时钟域, 其中, 第一节点设备被归属于第一节点时钟域, 第二节点设备被归属于第二节点时 钟域, 且原第三节点时钟域的第二主时钟属于第二节点设备, 则第二节点时 钟域作为拥有第二节点设备的节点时钟域, 无需再重新计算第二主时钟。 第 一节点时钟域没有第二节点设备, 且如果第一节点时钟域内的节点设备的第 二时钟数据集已标记, 则各节点设备删除该标记, 并利用第一节点时钟域内 所有节点设备的第二时钟数据集计算第二主时钟。 图 8为本发明节点设备实施例的结构示意图, 如图 8所示, 其中, 节点 设备 30为第一节点设备, 包括: 第一处理单元 301和第二处理单元 302。
第一处理单元 301, 用于根据自身的第一时钟数据集和网络中的其它节 点设备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步, 其中, 第一时钟数据集中包括节点设备的第一时钟域选择参数。
第二处理单元 302, 用于根据自身的第二时钟数据集和与第一节点设备 同属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时 钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括节点设备的第二时 钟域选择参数, 节点时钟域为第二时钟域。 进一步地, 第一处理单元 301可以用于采用 BMC算法, 确定第一主时 钟; 第二处理单元 302可以用于采用 BMC算法, 确定第二主时钟。 图 9为本发明第一节点设备的另一实施例的结构示意图, 如图 9所示, 本实施例的节点设备 30在图 8所示装置结构的基础上, 进一步地, 还可以包 括: 第一发送单元 303、 第一接收单元 304、 第二发送单元 305和第二接收单 元 306。
第一发送单元 303, 用于向网络中的其它节点设备发送第一节点设备的 第一时钟数据集。
第一接收单元 304, 用于接收网络中的其它节点设备发送的第一时钟数 据集。
第二发送单元 305, 用于向第一节点时钟域中的其它节点设备发送第一 节点设备的第二时钟数据集。
第二接收单元 306, 用于接收第一节点时钟域中的其它节点设备发送的 第二时钟数据集。
进一步地, 第二接收单元 306, 还用于接收通信控制器发送的第一通知 消息, 第一通知消息用于通知第一节点设备与第一节点时钟域中的其它节点 设备进行第二时钟域的同步。
进一步地, 第二接收单元 306, 还用于接收通信控制器发送的第二通知 消息, 第二通知消息用于通知第一节点设备与第二节点时钟域中的其它节点 设备进行第二时钟域的同步, 且携带有第二节点时钟域的第二主时钟。 第二 处理单元 302, 还用于与第二节点时钟域的第二主时钟同步。
或者, 第二接收单元 306, 还用于接收通信控制器发送的第二通知消息, 第二通知消息用于通知第一节点设备与第二节点时钟域中的节点设备进行第 二时钟域的同步, 且携带有对第一节点设备的第二时钟数据集进行标记的指 示, 标记用于表示第二时钟数据集不参加 BMC 算法的计算; 第二处理单元 302还用于对自身的第二时钟数据集进行标记; 第一发送单元 303, 还用于向 第二节点时钟域中的其它节点设备发送已标记的第二时钟数据集; 第一接收 单元 304, 还用于接收第二节点时钟域中的其它节点设备发送的第二时钟数 据集; 第二处理单元 302, 还用于根据第二节点时钟域中的其它节点设备发 送的第二时钟数据集中未标记的第二时钟数据集, 采用 BMC 算法确定第二 主时钟, 并与第二主时钟同步。
再或者, 第二接收单元 306, 还用于接收通信控制器发送的第二通知消 息, 第二通知消息用于通知第一节点设备与第二节点时钟域的其它节点设备 进行第二时钟域的同步; 第一接收单元 304, 还用于接收第二节点时钟域中 的其它节点设备发送的第二时钟数据集; 第二处理单元 302, 还用于根据第 二节点时钟域中所有节点设备的第二时钟数据集, 采用 BMC 算法确定第二 主时钟, 并与第二主时钟同步。 图 10为本发明第一节点设备的再一实施例的结构示意图,如图 10所示, 本实施例的节点设备 30在图 9所示装置结构的基础上, 进一步地, 还可以包 括: 比较单元 307和删除单元 308。
比较单元 307, 用于在第二处理单元 302确定第二主时钟后, 若确定到 第二主时钟所属的节点设备的时间路径大于到第一主时钟所属节点设备的时 间路径, 则使得第一处理单元 301确定与第一主时钟同步。
进一步地, 第二接收单元 306还用于接收通信控制器发送的第三通知消 息, 第三通知消息用于通知第一节点设备不再与第二主时钟同步。
第一处理单元 301, 还用于根据自身的第一时钟数据集和接收的网络中 的其它节点设备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步。
删除单元 308, 用于在第二接收单元 306接收第三通知消息后, 若确定 自身的第二时钟数据集已标记, 则删除标记, 标记用于表示第二时钟数据集 不参加 BMC算法的计算。 本发明实施例提供的节点设备, 网络中的第一节点设备根据自身的第一 时钟数据集和网络中的其它节点设备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步, 其中, 第一时钟数据集中包括节点设备的第一时钟域 选择参数; 第一节点设备根据自身的第二时钟数据集和与第一节点设备同属 于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括节点设备的第二时钟域 选择参数, 节点时钟域为第二时钟域。 这样通过分层多时钟域的时钟同步方 法, 可以使得不同时钟域内的第一节点计算并与该时钟域的主时钟同步, 避 免了主时钟传输路径过长导致的误差累积的问题, 而且, 由于第一节点设备 处于第一时钟域时实现高精度的同步, 第一节点设备处于第二时钟域时可以 实现更高精度的同步, 不仅可以满足第二时钟域对更高精度的进一步需求, 也避免了同时将全网精度提升过高而导致的部署成本过高的问题。 图 11为本发明另一节点设备实施例的结构示意图, 如图 11所示, 节点 设备 40为第一节点设备, 包括: 处理器 401。
处理器 401, 用于根据自身的第一时钟数据集和网络中的其它节点设备 的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步, 其中, 第一时 钟数据集中包括节点设备的第一时钟域选择参数。
处理器 401, 还用于根据自身的第二时钟数据集和与第一节点设备同属 于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括节点设备的第二时钟域 选择参数, 节点时钟域为第二时钟域。
进一步地, 处理器 401, 具体用于采用最佳主时钟 BMC算法, 确定第一 主时钟或第二主时钟。
再进一步地, 处理器 401, 还用于在确定第二主时钟后, 若确定到第二 主时钟所属的节点设备的时间路径大于到第一主时钟所属节点设备的时间路 径, 则与第一主时钟同步。 图 12为本发明第一节点设备的另一实施例的结构示意图,如图 12所示, 本实施例的节点设备 40在图 11所示装置结构的基础上, 进一步地, 还可以 包括: 发送器 402和接收器 403。
发送器 402, 用于向网络中的其它节点设备发送第一节点设备的第一时 钟数据集。
接收器 403, 用于接收网络中的其它节点设备发送的第一时钟数据集。 发送器 402, 还用于向第一节点时钟域中的其它节点设备发送第一节点 设备的第二时钟数据集。
接收器 403, 还用于接收第一节点时钟域中的其它节点设备发送的第二 时钟数据集。
进一步地, 接收器 403还用于接收通信控制器发送的第一通知消息, 第 一通知消息用于通知第一节点设备与第一节点时钟域中的其它节点设备进行 第二时钟域的同步。
进一步地, 接收器 403, 还用于接收通信控制器发送的第二通知消息, 第二通知消息用于通知第一节点设备与第二节点时钟域中的其它节点设备进 行第二时钟域的同步, 且携带有第二节点时钟域的第二主时钟。
处理器 401, 还用于与第二节点时钟域的第二主时钟同步。
或者,
接收器 403, 还用于接收通信控制器发送的第二通知消息, 第二通知消 息用于通知第一节点设备与第二节点时钟域中的节点设备进行第二时钟域的 同步, 且携带有对第一节点设备的第二时钟数据集进行标记的指示, 标记用 于表示第二时钟数据集不参加 BMC算法的计算; 处理器 401, 还用于对自身 的第二时钟数据集进行标记; 发送器, 还用于向第二节点时钟域中的其它节 点设备发送已标记的第二时钟数据集; 接收器 403, 还用于接收第二节点时 钟域中的其它节点设备发送的第二时钟数据集; 处理器 401, 还用于根据第 二节点时钟域中的其它节点设备发送的第二时钟数据集中未标记的第二时钟 数据集, 采用 BMC算法确定第二主时钟, 并与第二主时钟同步。
或者, 接收器 403, 还用于接收通信控制器发送的第二通知消息, 第二 通知消息用于通知第一节点设备与第二节点时钟域的其它节点设备进行第二 时钟域的同步; 接收第二节点时钟域中的其它节点设备发送的第二时钟数据 集; 处理器 401, 还用于根据第二节点时钟域中所有节点设备的第二时钟数 据集, 采用 BMC算法确定第二主时钟, 并与第二主时钟同步。
进一步地, 处理器 401, 还用于在确定第二主时钟后, 若确定到第二主 时钟所属的节点设备的时间路径大于到第一主时钟所属节点设备的时间路 径, 则与第一主时钟同步。 再进一步地, 接收器 403, 还用于接收通信控制器发送的第三通知消息, 第三通知消息用于通知第一节点设备不再与第二主时钟同步。
处理器 401, 还用于根据自身的第一时钟数据集和接收的网络中的其它 节点设备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步。
处理器 401, 还用于在接收器 403接收第三通知消息后, 若确定自身的 第二时钟数据集已标记, 则删除标记, 标记用于表示第二时钟数据集不参加 BMC算法的计算。
本发明实施例提供的节点设备, 网络中的第一节点设备根据自身的第一 时钟数据集和网络中的其它节点设备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步, 其中, 第一时钟数据集中包括节点设备的第一时钟域 选择参数; 第一节点设备根据自身的第二时钟数据集和与第一节点设备同属 于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括节点设备的第二时钟域 选择参数, 节点时钟域为第二时钟域。 这样通过分层多时钟域的时钟同步方 法, 可以使得不同时钟域内的第一节点计算并与该时钟域的主时钟同步, 避 免了主时钟传输路径过长导致的误差累积的问题, 而且, 由于第一节点设备 处于第一时钟域时实现高精度的同步, 第一节点设备处于第二时钟域时可以 实现更高精度的同步, 不仅可以满足第二时钟域对更高精度的进一步需求, 也避免了同时将全网精度提升过高而导致的部署成本过高的问题。 图 13为本发明通信***实施例的结构示意图, 该*** 1包括:
至少两个节点设备 30。
在***中,节点设备 30可以采用图 8至图 10任一节点设备 30所示结构。 进一步地, 图 14 为本发明通信***的另一实施例的结构示意图, 如图 14所示, 本实施例的*** 1在图 13所示装置结构的基础上, 进一步地, 还 可以包括: 通信控制器 50。
通信控制器 50, 用于: 向至少两个节点设备中的第一节点设备发送第一通知消息, 第一通知消 息用于通知第一节点设备与第一节点时钟域中的其它节点设备进行第二时钟 域的同步;
向第一节点设备发送第二通知消息, 第二通知消息用于通知第一节点设 备与第二节点时钟域中的节点设备进行第二时钟域的同步, 且携带有所述第 二节点时钟域的第二主时钟; 或者, 第二通知消息用于通知第一节点设备与 第二节点时钟域中的节点设备进行第二时钟域的同步, 且携带有对第一节点 设备的第二时钟数据集进行标记的指示, 标记用于表示第二时钟数据集不参 加 BMC 算法的计算; 或者, 第二通知消息用于通知第一节点设备与第二节 点时钟域的其它节点设备进行第二时钟域的同步;
向第一节点设备发送第三通知消息, 第三通知消息用于通知第一节点设 备不再与第二主时钟同步。 或者, 该通信***包括:
至少一个节点设备 40。
节点设备 40可以采用图 10或图 11节点设备 40所示结构。 进一步地, 该***还包括通信控制器。
通信控制器, 用于:
向至少两个节点设备中的第一节点设备发送第一通知消息, 第一通知消 息用于通知第一节点设备与第一节点时钟域中的其它节点设备进行第二时钟 域的同步;
向第一节点设备发送第二通知消息, 第二通知消息用于通知第一节点设 备与第二节点时钟域中的节点设备进行第二时钟域的同步, 且携带有所述第 二节点时钟域的第二主时钟; 或者, 第二通知消息用于通知第一节点设备与 第二节点时钟域中的节点设备进行第二时钟域的同步, 且携带有对第一节点 设备的第二时钟数据集进行标记的指示, 标记用于表示第二时钟数据集不参 加 BMC 算法的计算; 或者, 第二通知消息用于通知第一节点设备与第二节 点时钟域的其它节点设备进行第二时钟域的同步; 向第一节点设备发送第三通知消息, 第三通知消息用于通知第一节点设 备不再与第二主时钟同步。
本实施例的通信***, 均可以用于执行图 1至图 7所示方法实施例的技 术方案, 其实现原理和技术效果类似, 此处不再赘述。
本发明实施例提供的通信***, 网络中的第一节点设备根据自身的第一 时钟数据集和网络中的其它节点设备的第一时钟数据集, 确定第一主时钟, 并与第一主时钟同步, 其中, 第一时钟数据集中包括节点设备的第一时钟域 选择参数; 第一节点设备根据自身的第二时钟数据集和与第一节点设备同属 于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时钟, 并与第二主时钟同步, 其中, 第二时钟数据集中包括节点设备的第二时钟域 选择参数, 节点时钟域为第二时钟域。 这样通过分层多时钟域的时钟同步方 法, 可以使得不同时钟域内的第一节点计算并与该时钟域的主时钟同步, 避 免了主时钟传输路径过长导致的误差累积的问题, 而且, 由于第一节点设备 处于第一时钟域时实现高精度的同步, 第一节点设备处于第二时钟域时可以 实现更高精度的同步, 不仅可以满足第二时钟域对更高精度的进一步需求, 也避免了同时将全网精度提升过高而导致的部署成本过高的问题。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而 前述的存储介质包括: ROM、 RAM,磁碟或者光盘等各种可以存储程序代码 的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求 书
1、 一种时钟同步方法, 其特征在于, 包括:
网络中的第一节点设备根据自身的第一时钟数据集和所述网络中的其它 节点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同步, 其中, 所述第一时钟数据集中包括节点设备的第一时钟域选择参数;
所述第一节点设备根据自身的第二时钟数据集和与所述第一节点设备同 属于第一节点时钟域中的其它节点设备的第二时钟数据集,确定第二主时钟, 并与所述第二主时钟同步, 其中, 所述第二时钟数据集中包括节点设备的第 二时钟域选择参数, 所述节点时钟域为第二时钟域。
2、 根据权利要求 1所述的方法, 其特征在于, 所述网络中的第一节点设 备根据自身的第一时钟数据集和所述网络中的其它节点设备的第一时钟数据 集, 确定第一主时钟之前, 还包括:
所述第一节点设备向所述网络中的其它节点设备发送所述第一节点设备 的第一时钟数据集, 并接收所述网络中的其它节点设备发送的第一时钟数据 集;
所述第一节点设备根据自身的第二时钟数据集和与所述第一节点设备同 属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时钟 之前, 还包括:
所述第一节点设备向所述第一节点时钟域中的其它节点设备发送所述第 一节点设备的第二时钟数据集, 并接收所述第一节点时钟域中的其它节点设 备发送的第二时钟数据集。
3、 根据权利要求 2所述的方法, 其特征在于, 所述第一节点设备向所述 第一节点时钟域中的其它节点设备发送所述第一节点设备的第二时钟数据集 之前, 还包括:
所述第一节点设备接收通信控制器发送的第一通知消息, 所述第一通知 消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节点设备进 行第二时钟域的同步。
4、 根据权利要求 1~3中任一项所述的方法, 其特征在于, 所述确定第一 主时钟, 或者所述确定第二主时钟, 包括: 采用最佳主时钟 BMC算法, 确定第一主时钟, 或者确定第二主时钟。
5、 根据权利要求 1~4中任一项所述的方法, 其特征在于, 所述时钟域选 择参数, 包括下述参数中的至少一种:
优先级、 质量等级和精度、 稳定度、 时钟域、 时钟标识、 同步属性以及 路径属性;
其中, 所述第一时钟域选择参数为用于标记所述节点设备属于第一时钟 域的时钟域选择参数, 所述第二时钟域选择参数为用于标记所述节点设备属 于第二时钟域的时钟域选择参数;
或者, 所述第二时钟域选择参数是对所述第一时钟域选择参数进行精度 提高处理得到的时钟域选择参数。
6、 根据权利要求 1~5中任一项所述的方法, 其特征在于, 所述并与所述 第一主时钟同步之后, 还包括:
所述第一节点设备接收所述通信控制器发送的第二通知消息, 所述第二 通知消息用于通知所述第一节点设备与第二节点时钟域中的其它节点设备进 行第二时钟域的同步, 且携带有所述第二节点时钟域的第二主时钟;
所述第一节点设备与所述第二节点时钟域的第二主时钟同步。
7、 根据权利要求 1~5中任一项所述的方法, 其特征在于, 所述并与所述 第一主时钟同步之后, 还包括:
所述第一节点设备接收所述通信控制器发送的第二通知消息, 所述第二 通知消息用于通知所述第一节点设备与第二节点时钟域中的节点设备进行第 二时钟域的同步, 且携带有对所述第一节点设备的第二时钟数据集进行标记 的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC算法的计 所述第一节点设备对自身的所述第二时钟数据集进行标记;
所述第一节点设备向所述第二节点时钟域中的其它节点设备发送已标记 的第二时钟数据集, 并接收所述第二节点时钟域中的其它节点设备发送的第 二时钟数据集;
所述第一节点设备根据所述第二节点时钟域中的其它节点设备发送的第 二时钟数据集中未标记的所述第二时钟数据集, 采用 BMC算法确定第二主 时钟, 并与所述第二主时钟同步。
8、 根据权利要求 1~5中任一项所述的方法, 其特征在于, 所述并与所述 第二主时钟同步之后, 还包括:
所述第一节点设备接收所述通信控制器发送的第二通知消息, 所述第二 通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点设备进行 第二时钟域的同步;
所述第一节点设备接收所述第二节点时钟域中的其它节点设备发送的第 二时钟数据集;
所述第一节点设备根据所述第二节点时钟域中所有节点设备的第二时钟 数据集, 采用 BMC算法确定第二主时钟, 并与所述第二主时钟同步。
9、 根据权利要求 1~8中任一项所述的方法, 其特征在于, 所述第一节点 确定所述第二主时钟之后, 还包括:
所述第一节点设备若确定到所述第二主时钟所属的节点设备的时间路径 大于到所述第一主时钟所属节点设备的时间路径,则与所述第一主时钟同步。
10、 根据权利要求 1~9中任一项所述的方法, 其特征在于, 所述并与所 述第二主时钟同步之后, 还包括:
所述第一节点设备接收所述通信控制器发送的第三通知消息, 所述第三 通知消息用于通知所述第一节点设备不再与所述第二主时钟同步;
所述第一节点设备根据自身的第一时钟数据集和接收的所述网络中的其 它节点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同步。
11、 根据权利要求 10所述的方法, 其特征在于, 所述第一节点设备接收 所述通信控制器发送的第三通知消息之后, 还包括:
所述第一节点设备若确定自身的所述第二时钟数据集已标记, 则删除所 述标记, 所述标记用于表示所述第二时钟数据集不参加所述 BMC算法的计 算。
12、 一种节点设备, 其特征在于, 所述节点设备为网络中的第一节点设 备, 所述节点设备包括:
第一处理单元, 用于根据自身的第一时钟数据集和所述网络中的其它节 点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同步, 其 中, 所述第一时钟数据集中包括节点设备的第一时钟域选择参数; 第二处理单元, 用于根据自身的第二时钟数据集和与所述第一节点设备 同属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时 钟, 并与所述第二主时钟同步, 其中, 所述第二时钟数据集中包括节点设备 的第二时钟域选择参数, 所述节点时钟域为第二时钟域。
13、 根据权利要求 12所述的节点设备, 其特征在于, 还包括:
第一发送单元, 用于向所述网络中的其它节点设备发送所述第一节点设 备的第一时钟数据集;
第一接收单元, 用于接收所述网络中的其它节点设备发送的第一时钟数 据集;
第二发送单元, 用于向所述第一节点时钟域中的其它节点设备发送所述 第一节点设备的第二时钟数据集;
第二接收单元, 用于接收所述第一节点时钟域中的其它节点设备发送的 第二时钟数据集。
14、 根据权利要求 13所述的节点设备, 其特征在于,
所述第二接收单元, 还用于接收通信控制器发送的第一通知消息, 所述 第一通知消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节 点设备进行第二时钟域的同步。
15、 根据权利要求 12~14中任一项所述的节点设备, 其特征在于, 所述第一处理单元, 具体用于采用最佳主时钟 BMC 算法, 确定第一主 时钟;
所述第二处理单元, 具体用于采用所述 BMC算法, 确定第二主时钟。
16、 根据权利要求 12~15中任一项所述的节点设备, 其特征在于, 所述第二接收单元, 还用于接收所述通信控制器发送的第二通知消息, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域中的其它节 点设备进行第二时钟域的同步,且携带有所述第二节点时钟域的第二主时钟; 所述第二处理单元, 还用于与所述第二节点时钟域的第二主时钟同步。
17、 根据权利要求 12~15中任一项所述的节点设备, 其特征在于, 所述第二接收单元, 还用于接收所述通信控制器发送的第二通知消息, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域中的节点设 备进行第二时钟域的同步, 且携带有对所述第一节点设备的第二时钟数据集 进行标记的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC 算法的计算;
所述第二处理单元, 还用于对自身的所述第二时钟数据集进行标记; 所述第一发送单元, 还用于向所述第二节点时钟域中的其它节点设备发 送已标记的第二时钟数据集;
所述第一接收单元, 还用于接收所述第二节点时钟域中的其它节点设备 发送的第二时钟数据集;
所述第二处理单元, 还用于根据所述第二节点时钟域中的其它节点设备 发送的第二时钟数据集中未标记的所述第二时钟数据集, 采用 BMC 算法确 定第二主时钟, 并与所述第二主时钟同步。
18、 根据权利要求 12~15中任一项所述的节点设备, 其特征在于, 所述第二接收单元, 还用于接收所述通信控制器发送的第二通知消息, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点 设备进行第二时钟域的同步;
所述第一接收单元, 还用于接收所述第二节点时钟域中的其它节点设备 发送的第二时钟数据集;
所述第二处理单元, 还用于根据所述第二节点时钟域中所有节点设备的 第二时钟数据集, 采用 BMC算法确定第二主时钟, 并与所述第二主时钟同
19、 根据权利要求 12~18中任一项所述的节点设备, 其特征在于, 还包 括:
比较单元, 用于在所述第二处理单元确定第二主时钟后, 若确定到所述 第二主时钟所属的节点设备的时间路径大于到所述第一主时钟所属节点设备 的时间路径, 则使得所述第一处理单元确定与所述第一主时钟同步。
20、 根据权利要求 12~19中任一项所述的节点设备, 其特征在于, 所述第二接收单元, 还用于接收所述通信控制器发送的第三通知消息, 所述第三通知消息用于通知所述第一节点设备不再与所述第二主时钟同步; 所述第一处理单元, 还用于根据自身的第一时钟数据集和接收的所述网 络中的其它节点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主 时钟同步。
21、 根据权利要求 20所述的节点设备, 其特征在于, 还包括: 删除单元, 用于在所述第二接收单元接收所述第三通知消息后, 若确定 自身的所述第二时钟数据集已标记, 则删除所述标记, 所述标记用于表示所 述第二时钟数据集不参加所述 BMC算法的计算。
22、 一种节点设备, 其特征在于, 所述节点设备为网络中的第一节点设 备, 所述节点设备包括:
处理器, 用于根据自身的第一时钟数据集和所述网络中的其它节点设备 的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同步, 其中, 所 述第一时钟数据集中包括节点设备的第一时钟域选择参数;
所述处理器, 还用于根据自身的第二时钟数据集和与所述第一节点设备 同属于第一节点时钟域中的其它节点设备的第二时钟数据集, 确定第二主时 钟, 并与所述第二主时钟同步, 其中, 所述第二时钟数据集中包括节点设备 的第二时钟域选择参数, 所述节点时钟域为第二时钟域。
23、 根据权利要求 22所述的节点设备, 其特征在于, 还包括: 发送器, 用于向所述网络中的其它节点设备发送所述第一节点设备的第 一时钟数据集;
接收器, 用于接收所述网络中的其它节点设备发送的第一时钟数据集; 所述发送器, 还用于向所述第一节点时钟域中的其它节点设备发送所述 第一节点设备的第二时钟数据集;
所述接收器, 还用于接收所述第一节点时钟域中的其它节点设备发送的 第二时钟数据集。
24、 根据权利要求 23所述的节点设备, 其特征在于,
所述接收器, 还用于接收通信控制器发送的第一通知消息, 所述第一通 知消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节点设备 进行第二时钟域的同步。
25、 根据权利要求 22~24中任一项所述的节点设备, 其特征在于, 所述处理器, 具体用于采用最佳主时钟 BMC 算法, 确定第一主时钟或 第二主时钟。
26、 根据权利要求 22~25中任一项所述的节点设备, 其特征在于, 所述接收器, 还用于接收所述通信控制器发送的第二通知消息, 所述第 二通知消息用于通知所述第一节点设备与第二节点时钟域中的其它节点设备 进行第二时钟域的同步, 且携带有所述第二节点时钟域的第二主时钟;
所述处理器, 还用于与所述第二节点时钟域的第二主时钟同步。
27、 根据权利要求 22~25中任一项所述的节点设备, 其特征在于, 所述接收器, 还用于接收所述通信控制器发送的第二通知消息, 所述第 二通知消息用于通知所述第一节点设备与第二节点时钟域中的节点设备进行 第二时钟域的同步, 且携带有对所述第一节点设备的第二时钟数据集进行标 记的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC 算法的 所述处理器, 还用于对自身的所述第二时钟数据集进行标记;
所述发送器, 还用于向所述第二节点时钟域中的其它节点设备发送已标 记的第二时钟数据集;
所述接收器, 还用于接收所述第二节点时钟域中的其它节点设备发送的 第二时钟数据集;
所述处理器, 还用于根据所述第二节点时钟域中的其它节点设备发送的 第二时钟数据集中未标记的所述第二时钟数据集, 采用 BMC 算法确定第二 主时钟, 并与所述第二主时钟同步。
28、 根据权利要求 22~25中任一项所述的节点设备, 其特征在于, 所述接收器, 还用于接收所述通信控制器发送的第二通知消息, 所述第 二通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点设备进 行第二时钟域的同步; 接收所述第二节点时钟域中的其它节点设备发送的第 二时钟数据集;
所述处理器, 还用于根据所述第二节点时钟域中所有节点设备的第二时 钟数据集, 采用 BMC算法确定第二主时钟, 并与所述第二主时钟同步。
29、 根据权利要求 22~28中任一项所述的节点设备, 其特征在于, 所述处理器, 还用于在确定第二主时钟后, 若确定到所述第二主时钟所 属的节点设备的时间路径大于到所述第一主时钟所属节点设备的时间路径, 则与所述第一主时钟同步。
30、 根据权利要求 22~29中任一项所述的节点设备, 其特征在于, 所述接收器, 还用于接收所述通信控制器发送的第三通知消息, 所述第 三通知消息用于通知所述第一节点设备不再与所述第二主时钟同步;
所述处理器, 还用于根据自身的第一时钟数据集和接收的所述网络中的 其它节点设备的第一时钟数据集, 确定第一主时钟, 并与所述第一主时钟同
31、 根据权利要求 30所述的节点设备, 其特征在于,
所述处理器, 还用于在所述接收器接收所述第三通知消息后, 若确定自 身的所述第二时钟数据集已标记, 则删除所述标记, 所述标记用于表示所述 第二时钟数据集不参加所述 BMC算法的计算。
32、 一种通信***, 其特征在于, 包括:
至少两个权利要求 12~21中任一项所述的节点设备。
33、 根据权利要求 32所述的***, 其特征在于, 还包括:
通信控制器, 用于:
向所述至少两个节点设备中的第一节点设备发送第一通知消息, 所述第 一通知消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节点 设备进行第二时钟域的同步;
向所述第一节点设备发送第二通知消息, 所述第二通知消息用于通知所 述第一节点设备与第二节点时钟域中的其它节点设备进行第二时钟域的同 步, 且携带有所述第二节点时钟域的第二主时钟; 或者, 所述第二通知消息 用于通知所述第一节点设备与第二节点时钟域中的节点设备进行第二时钟域 的同步, 且携带有对所述第一节点设备的第二时钟数据集进行标记的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC算法的计算; 或者, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点 设备进行第二时钟域的同步; 向所述第一节点设备发送第三通知消息, 所述第三通知消息用于通知所 述第一节点设备不再与所述第二主时钟同步。
34、 一种通信***, 其特征在于, 包括:
至少两个权利要求 22~31中任一项所述的节点设备。
35、 根据权利要求 34所述的***, 其特征在于, 还包括:
通信控制器, 用于:
向所述至少两个节点设备中的第一节点设备发送第一通知消息, 所述第 一通知消息用于通知所述第一节点设备与所述第一节点时钟域中的其它节点 设备进行第二时钟域的同步;
向所述第一节点设备发送第二通知消息, 所述第二通知消息用于通知所 述第一节点设备与第二节点时钟域中的其它节点设备进行第二时钟域的同 步, 且携带有所述第二节点时钟域的第二主时钟; 或者, 所述第二通知消息 用于通知所述第一节点设备与第二节点时钟域中的节点设备进行第二时钟域 的同步, 且携带有对所述第一节点设备的第二时钟数据集进行标记的指示, 所述标记用于表示所述第二时钟数据集不参加所述 BMC算法的计算; 或者, 所述第二通知消息用于通知所述第一节点设备与第二节点时钟域的其它节点 设备进行第二时钟域的同步;
向所述第一节点设备发送第三通知消息, 所述第三通知消息用于通知所 述第一节点设备不再与所述第二主时钟同步。
PCT/CN2014/072912 2014-03-05 2014-03-05 时钟同步方法、设备及通信*** WO2015131350A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP14884805.4A EP3104556B1 (en) 2014-03-05 2014-03-05 Clock synchronization method and device, and communication system
PCT/CN2014/072912 WO2015131350A1 (zh) 2014-03-05 2014-03-05 时钟同步方法、设备及通信***
CN201480076842.3A CN106105103B (zh) 2014-03-05 2014-03-05 时钟同步方法、设备及通信***
US15/256,538 US10178636B2 (en) 2014-03-05 2016-09-03 Clock synchronization method and device and communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/072912 WO2015131350A1 (zh) 2014-03-05 2014-03-05 时钟同步方法、设备及通信***

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/256,538 Continuation US10178636B2 (en) 2014-03-05 2016-09-03 Clock synchronization method and device and communications system

Publications (1)

Publication Number Publication Date
WO2015131350A1 true WO2015131350A1 (zh) 2015-09-11

Family

ID=54054361

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/072912 WO2015131350A1 (zh) 2014-03-05 2014-03-05 时钟同步方法、设备及通信***

Country Status (4)

Country Link
US (1) US10178636B2 (zh)
EP (1) EP3104556B1 (zh)
CN (1) CN106105103B (zh)
WO (1) WO2015131350A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634714A (zh) * 2014-10-28 2016-06-01 中兴通讯股份有限公司 一种跨域时钟同步方法、装置和***
US10728130B2 (en) * 2016-04-21 2020-07-28 Cisco Technology, Inc. Distributed stateless inference of hop-wise delays and round-trip time for internet protocol traffic
CN109218007B (zh) * 2017-07-03 2022-11-01 中兴通讯股份有限公司 路径选择方法、设备及存储介质
US10922302B2 (en) * 2017-08-07 2021-02-16 Vital Connect, Inc. Data time stamps
JP7116706B2 (ja) * 2019-05-09 2022-08-10 株式会社日立製作所 通信制御装置および通信制御方法
US11223437B1 (en) * 2020-08-24 2022-01-11 Ciena Corporation Differential clock recovery using a global reference time
CN115967461A (zh) * 2021-10-12 2023-04-14 华为技术有限公司 时钟同步方法、设备及***

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1706142A (zh) * 2002-10-25 2005-12-07 皇家飞利浦电子股份有限公司 在两个时钟域间交换数据信号的装置
CN101227689A (zh) * 2007-12-27 2008-07-23 华为技术有限公司 信息上报方法及装置

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2695777B1 (fr) * 1992-09-15 1994-10-14 Alcatel Radiotelephone Procédé de transmission d'une information d'avance temporelle à un mobile évoluant dans des cellules d'un réseau GSM à BTS asynchrones.
US6714563B1 (en) * 1999-04-26 2004-03-30 Cisco Technology, Inc. Network clock synchronization scheme
US6847630B2 (en) * 2001-11-09 2005-01-25 Qualcomm, Incorporated Communications in an asynchronous cellular wireless network
US20050182856A1 (en) * 2003-12-22 2005-08-18 Mcknett Charles L. Systems and methods for creating time aware networks using independent absolute time values in network devices
US8527803B2 (en) 2011-02-03 2013-09-03 Dell Products L.P. System and method for multiple backplane time synchronization
JP2013017104A (ja) * 2011-07-06 2013-01-24 Fujitsu Ltd 通信システム
CN102263630B (zh) 2011-07-21 2017-06-16 中兴通讯股份有限公司 一种时钟源的选择方法
CN102664700B (zh) 2012-04-13 2015-08-19 烽火通信科技股份有限公司 网状网中的节点时钟同步规划方法
US8681772B2 (en) * 2012-05-11 2014-03-25 Vitesse Semiconductor Corporation Timing synchronization for networks with radio links
CN102684808A (zh) 2012-06-06 2012-09-19 哈尔滨工业大学 一种自适应时钟同步***
EP2862299B1 (en) * 2012-06-18 2016-11-16 Telefonaktiebolaget LM Ericsson (publ) Time domains in a pon
EP2865115A1 (en) * 2012-06-20 2015-04-29 Nokia Solutions and Networks Oy Synchronization in computer network
EP2693654A1 (en) * 2012-08-03 2014-02-05 Alcatel Lucent Coordinated multipoint transmission modes
CN103634091B (zh) * 2012-08-20 2019-05-24 中兴通讯股份有限公司 一种多同步域的时间同步***、方法及跨域设备
CN102904662B (zh) 2012-09-29 2015-06-24 北京东土科技股份有限公司 一种基于ptp协议的跨域时钟同步方法及***
US20150103818A1 (en) * 2013-10-11 2015-04-16 Qualcomm Incorporated Transport and error compensation of a globally synchronized time-base

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1706142A (zh) * 2002-10-25 2005-12-07 皇家飞利浦电子股份有限公司 在两个时钟域间交换数据信号的装置
CN101227689A (zh) * 2007-12-27 2008-07-23 华为技术有限公司 信息上报方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3104556A4 *

Also Published As

Publication number Publication date
US10178636B2 (en) 2019-01-08
EP3104556A1 (en) 2016-12-14
CN106105103B (zh) 2020-09-18
US20160374041A1 (en) 2016-12-22
CN106105103A (zh) 2016-11-09
EP3104556A4 (en) 2017-03-15
EP3104556B1 (en) 2023-07-05

Similar Documents

Publication Publication Date Title
US10178636B2 (en) Clock synchronization method and device and communications system
US11974238B2 (en) Time-synchronized radio bearer for supporting precision timing protocol (PTP) based time sensitive network (TSN) applications
US10349335B2 (en) Methods and apparatus for use in selecting a connection path for low-latency, deterministic multi-hop D2D communications
CN110352617B (zh) 用于多链路d2d和蜂窝通信的时间同步的方法及设备
WO2018177406A1 (zh) 信号传输方法和设备
WO2020067977A1 (en) Inter-working between a time-sensitive network and a cellular communication network
WO2013135210A1 (zh) 小区配置方法和同步方法,用户设备和基站
EP3180876B1 (en) Method and apparatus for synchronising a plurality of distributed devices with a network
US9661595B2 (en) Communication network nodes and methods performed therein
US20220030533A1 (en) Devices and Methods for Handling Precise Timing Protocol Signaling from a Time Sensitive Network
JP5455138B2 (ja) 高精度時間プロトコルメッセージを処理するための方法およびクロックデバイス
CN111436113A (zh) 支持时钟同步的方法及通信设备
WO2017028049A1 (zh) 一种站间同步方法、基站及控制网元
WO2013178148A1 (zh) 通信网络时钟同步方法和装置
Manolakis et al. Time synchronization for multi-link D2D/V2X communication
AU2020332948B2 (en) Timing synchronization method and apparatus
US20240064671A1 (en) Informing in groups of iab mt-du resource misalignment
CN115119153B (zh) 以太网帧的帧头压缩方法、通信节点、存储介质
WO2020171802A1 (en) Synchronization for 5gs time sensitive communications (tsc) using machine learning
WO2015180104A1 (zh) 一种网络节点间链路的处理装置及方法
EP2707976B1 (en) Time synchronisation in a communication network
WO2024027221A1 (zh) 一种卫星网络中的同步方法及装置
CN115707080A (zh) 定时同步方法、装置及存储介质
WO2015100643A1 (zh) 一种站间同步的方法、设备及***
Kwak et al. Dynamic maintenance method of timing synchronization for soft handover

Legal Events

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

Ref document number: 14884805

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014884805

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014884805

Country of ref document: EP