WO2017124288A1 - 传输时钟报文的方法和装置 - Google Patents

传输时钟报文的方法和装置 Download PDF

Info

Publication number
WO2017124288A1
WO2017124288A1 PCT/CN2016/071315 CN2016071315W WO2017124288A1 WO 2017124288 A1 WO2017124288 A1 WO 2017124288A1 CN 2016071315 W CN2016071315 W CN 2016071315W WO 2017124288 A1 WO2017124288 A1 WO 2017124288A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
network element
source identifier
packet
clock information
Prior art date
Application number
PCT/CN2016/071315
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 EP16885561.7A priority Critical patent/EP3396877B1/en
Priority to PCT/CN2016/071315 priority patent/WO2017124288A1/zh
Priority to CN201680000742.1A priority patent/CN107251457B/zh
Publication of WO2017124288A1 publication Critical patent/WO2017124288A1/zh
Priority to US16/038,508 priority patent/US10594422B2/en

Links

Images

Classifications

    • 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
    • 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
    • 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/0644External master-clock
    • 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/0679Clock or time synchronisation in a network by determining clock distribution path in a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/422Synchronisation for ring networks
    • 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/0664Clock or time synchronisation among packet nodes using timestamps unidirectional timestamps

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for transmitting a clock message.
  • clock synchronization is needed to ensure that the clock error of different devices is within an acceptable range.
  • Clock synchronization applications in the ring network have a certain probability of clock ringing, resulting in network communication. The performance is declining.
  • the path tracking method in the ring network can prevent the clock from being ringed.
  • the clock identifier of the boundary clock device is added to the clock packet of the boundary clock (BC) device.
  • the clock identifier of the boundary clock device is an identifier of a clock source used by the boundary clock device. If a clock packet passes through the first BC device and the second BC device, the clock identifier of the first BC device and the clock identifier of the second BC device are carried in the clock packet. If the third BC device receives the certain clock message, the third BC device parses the certain clock message.
  • the number of devices in the ring network is large, the length of packets transmitted by this method is long. The analysis of packets requires a large amount of resources, which affects the communication performance of the network.
  • the embodiment of the present invention provides a method and an apparatus for transmitting a clock packet, which helps to save resources for parsing a message and improve communication performance of the network.
  • a method for transmitting a clock message comprising:
  • the first network element generates a first clock message, where the first clock message includes a first source identifier and first clock information, where the first source identifier is used to indicate a device that provides the first clock information;
  • the first network element sends the first clock packet to the second network element, where the second network element is a device that forms a ring network with the first network element;
  • the second clock information is not tracked.
  • the method for transmitting a clock packet according to the embodiment of the present invention is applicable to a ring network including the first network element and the second network element, where the first network element can directly track clock information of the root primary clock device.
  • the first clock packet and the second clock packet need not carry the identifier of the clock source tracked by each network element that passes through, for example, the first clock packet.
  • the first source identifier is used to indicate the device that provides the first clock information, where the first clock information is clock information used by the first network element.
  • the second clock message carries a second source identifier, where the second source identifier is used to indicate a device that provides second clock information, and the second clock information is clock information used by the second network element.
  • the clock source of the second network element is the same as the clock source of the first network element, and the first network element does not need to track the second source
  • the clock source of the NE can prevent the clock from being looped without increasing the length of the clock packet or increasing the length of the clock packet. This helps save the resources used to parse the packet and improves the communication performance of the network.
  • the device that provides the first clock information is a root master clock device, and the first network element generates the first clock packet, where the first network element is obtained from the root master clock device.
  • the clock information is used as the first clock information; the first network element uses the identifier of the root primary clock device as the first source identifier; the first network element according to the first clock information and the The first source identifier generates the first clock message.
  • the device that provides the first clock information is the first network element, and the first network element generates a first clock message, where the first network element is to be used from the first network element.
  • the clock information obtained by the local clock source of the element is used as the first clock information; the first network element uses the identifier of the first network element as the first source identifier; Generating the first clock message with a clock information and the first source identifier.
  • the method further includes: after the first network element determines that the second source identifier is different from the first source identifier, the second clock information is used as clock information to be tracked.
  • the first network element may determine that clock information tracked by the first network element is different from clock information tracked by the second network element, and if the second clock information is from a root primary clock device, The first network element may use the second clock information as clock information to be tracked.
  • the packet header of the first clock packet includes a reserved field, where the reserved field is used to carry the first source identifier.
  • the extension of the reserved field included in the packet header of the first clock packet may not increase the length of the first clock packet, which helps to save resources for parsing the packet.
  • the first clock message further includes a Type-length-value (TLV) field, where the TLV field may carry the first source identifier.
  • TLV Type-length-value
  • the length of the first clock packet can be increased in a small amount, which helps save resources for parsing the packet.
  • the first clock message may include an Announce message.
  • an apparatus for transmitting a clock message comprising:
  • a generating module configured to generate a first clock message, where the first clock message includes a first source identifier and first clock information, where the first source identifier is used to indicate a device that provides the first clock information;
  • a sending module configured to send, to the second network element, the first clock packet generated by the generating module, where the second network element is a device that forms a ring network with the first network element;
  • a receiving module configured to receive a second clock packet sent by the second network element, where the second clock packet includes a second source identifier and second clock information, where the second source identifier is used to indicate that the a device for the second clock information;
  • the first processing module is configured to: after determining that the second source identifier is the same as the first source identifier, not tracking the second clock information.
  • the apparatus for transmitting a clock message provided by the embodiment of the present invention may be a first network element.
  • the first clock packet and the second clock packet do not need to carry the identifier of the clock source that is tracked by each network element that passes through, for example, the first clock packet carries a first source identifier, and the first source identifier is used by the first source identifier. And indicating the device that provides the first clock information, where the first clock information is clock information used by the first network element.
  • the second clock message carries a second source identifier, where the second source identifier is used to indicate a device that provides second clock information, and the second clock information is clock information used by the second network element.
  • the clock source of the second network element is the same as the clock source of the device for transmitting a clock message, and the clock source is used for transmitting a clock packet.
  • the device does not need to track the clock source of the second network element, thereby preventing the clock from being looped without increasing the length of the clock packet or increasing the length of the clock packet, which helps save resources for parsing the packet. Improve the communication performance of the network.
  • the device that provides the first clock information is a root master clock device, and the generating module is specifically configured to: use clock information obtained from the root master clock device as the first clock information;
  • the identifier of the root clock device is used as the first source identifier, and the first clock packet is generated according to the first clock information and the first source identifier.
  • the device that provides the first clock information is the first network element, and the generating The module is specifically configured to: use the clock information obtained from the local clock source of the first network element as the first clock information; and use the identifier of the first network element as the first source identifier; Generating the first clock message with a clock information and the first source identifier.
  • the device further includes:
  • the second processing module is configured to determine the second clock identifier as a clock signal to be tracked after the second source identifier is different from the first source identifier.
  • the packet header of the first clock packet includes a reserved field, where the reserved field is used to carry the first source identifier.
  • the extension of the reserved field included in the packet header of the first clock packet may not increase the length of the first clock packet, which helps to save resources for parsing the packet.
  • the first clock message further includes a type TLV field, where the TLV field may carry the first source identifier.
  • the TLV field may carry the first source identifier.
  • the first clock message may include an Announce message.
  • an apparatus for transmitting a clock message comprising: a processor, a memory, a communication bus, and a transceiver. Wherein the processor, the memory and the transceiver are connected by the communication bus.
  • the transceiver can be a communication interface.
  • This memory is used to store instructions.
  • the processor can control the transceiver to receive signals or send signals.
  • the processor reads the instructions stored by the memory to perform the method provided by the first aspect or any of the possible implementations of the first aspect.
  • the first clock packet and the second clock packet need not carry the identifier of the clock source tracked by each network element that passes through, such as:
  • the first clock packet carries a first source identifier, where the first source identifier is used to indicate a device that provides the first clock information, and the first clock information is clock information used by the first network element.
  • the second clock message carries a second source identifier, where the second source identifier is used to indicate a device that provides second clock information, and the second clock information is clock information used by the second network element.
  • the clock source of the second network element is the same as the clock source of the device for transmitting a clock message, and the clock source is used for transmitting a clock packet.
  • the device does not need to track the clock source of the second network element, thereby preventing the clock from being looped without increasing the length of the clock packet or increasing the length of the clock packet, which helps save resources for parsing the packet. Improve the communication performance of the network.
  • FIG. 1 is a schematic diagram of a network scenario.
  • FIG. 2 is a flowchart of a method for transmitting a clock message according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an apparatus for transmitting a clock message according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an apparatus for transmitting a clock message according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a network scenario.
  • the network shown in Figure 1 includes: 6 network equipment (NE) and 1 root master clock device.
  • the number of NEs and the number of root primary clock devices are not limited to the number shown in FIG. 1.
  • the network may include at least two root primary clock devices and at least two NEs, and the at least two NEs may form one ring network.
  • the port of the NE can be set to any of the three modes.
  • the 3-mode includes: a master port mode, a slave port mode, and a passive port mode.
  • the port set to the master port mode can be used to send clock messages.
  • Ports that are set to slave port mode can be used to receive clock messages.
  • a port that is set to passive port mode can be used to receive clock messages.
  • Only one port of any NE is set to slave port mode.
  • Any NE can have N ports set to passive port mode, and M ports can be set to master port mode.
  • N is an integer greater than or equal to 0; M is an integer greater than or equal to zero.
  • the NE is configured with a local clock source, and the NE can periodically send clock messages.
  • the clock message includes clock information and an identifier of a clock source, and the identifier of the clock source is used to indicate a clock source for providing the clock information to the NE.
  • NE1 if the root primary clock device is in a connected state with NE1, NE1 is synchronized with the root primary clock device.
  • the clock message sent by NE1 includes the grandmaster identity of the root clock device.
  • grandmaster Identity can The root primary clock source identifier field of the clock packet sent by the NE1. If the root primary clock device is not connected to NE1 or the root primary clock device is disconnected from NE1, NE1 cannot synchronize with the root primary clock device.
  • NE1 uses the local clock source of NE1 as the synchronous clock source.
  • the clock packet sent by NE1 includes the clock identifier of the local clock source.
  • the clock identity can be carried in the root primary clock source identification field of the clock packet.
  • the clock packets sent by NE1 can be forwarded from NE1-NE3-NE5-NE6 and NE1-NE2-NE4-NE6. If the passive port of NE6 receives the clock packet from NE1 before the slave port of NE6, in other words, the passive port of NE6 receives the identifier of the clock source included in the clock packet before the slave port of NE6, NE6 The passive port becomes the primary port of the NE6. The NE6 sends the identifier of the clock source to the NE5, and the identifier of the clock source is forwarded along the direction of the NE6-NE5-NE3-NE1.
  • the slave port of the NE6 receives the clock packet sent by the NE1 from the passive port of the NE6, in other words, the slave port of the NE6 receives the identifier of the clock source included in the clock packet before the passive port of the NE6. Then, the slave port of NE6 becomes the master port of NE6, and the passive port of NE6 becomes the slave port of NE6. The NE6 sends the identifier of the clock source to the NE4, and the identifier of the clock source is forwarded along the direction of the NE6-NE4-NE2-NE1.
  • NE1 After NE1 is disconnected from the root primary clock device, there is no root primary clock source available in the ring network. The last clock packet sent by the NE1 is disconnected from the root clock device. The NE in the ring network uses the clock source corresponding to the identifier of the root clock device as the available root clock. Source, and forwards the identity of the root primary clock device, resulting in a clock loop.
  • the embodiment of the invention provides a method and a device for transmitting a clock packet, which prevents the clock from being looped without increasing the length of the clock packet or increasing the length of the clock packet, which helps to save the cost of parsing the packet. Resources to improve the communication performance of the network.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • Wideband Code Division Multiple Access Wireless Wideband Code Division Multiple Access Wireless
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability (Worldwide Interoperability) For Microwave Access, WiMAX) communication systems such as communication systems.
  • the technical solution of the embodiment of the present invention can also be applied to a system for clock synchronization based on a message, for example, IEEE (Institute of Electrical and Electronics Engineers, Institute of Electrical and Electronics Engineers) The 1588V2 standard performs clock synchronization.
  • FIG. 2 shows a schematic flowchart of a method 200 of transmitting a clock message, which may be performed by a first network element, in accordance with an embodiment of the present invention.
  • the first network element is a device that can directly receive the root primary clock information sent by the root primary clock device.
  • the method 200 includes:
  • the first network element generates a first clock message, where the first clock message includes a first source identifier and first clock information, where the first source identifier is used to indicate a device that provides the first clock information;
  • the first network element sends the first clock packet to the second network element, where the second network element is a device that forms a ring network with the first network element.
  • the first network element receives the second clock message sent by the second network element, where the second clock message includes a second source identifier and second clock information, where the second source identifier is used to indicate that the second Clock information device;
  • the first network element determines that the second source identifier is the same as the first source identifier, and does not track the second clock information.
  • the first network element adds a first source identifier to the generated first clock packet, for example, the first bit can be added to the reserved bit of the packet header of the clock packet.
  • the source identifier is configured to indicate that the clock information in the first clock packet is provided by the first network element, and the field that carries the first source identifier in the first clock packet can only carry the information added by the first network element, and other networks The element cannot use the field to carry the information, and the generated first clock packet is sent to the second network element connected to the primary port of the first network element.
  • the first network element After the first network element receives the second network packet sent by the other network element in the ring network, for example, the second network element, it is checked whether the second source identifier in the second clock packet is the same as the first source identifier. If the second source identifier is the same as the first source identifier, the second clock information in the second clock packet is from the first network element. The second clock information in the second clock packet has a large error after being forwarded by a number of hops, and cannot be used as the synchronization clock information of the ring network. The first network element can discard the second clock packet. . If the second source identifier is different from the first source identifier, the second clock information in the second clock packet is not from the first network element.
  • the second clock information may be from other network elements connected to the root primary clock device, and the first network element may not discard the second clock message.
  • the first network element may use the second clock information in the second clock packet as clock information to be tracked.
  • the first network element may determine, according to a Best Master Clock (BMC) algorithm, whether the second clock information is the best master clock information, and further determine whether to discard the second clock message.
  • BMC Best Master Clock
  • the embodiment of the present invention is only used as an example of a ring network that uses the IEEE 1588 V2 standard for clock synchronization.
  • the present invention is not limited thereto, and the method for transmitting a clock message according to an embodiment of the present invention may also be applied to other rings. Net or system.
  • the device that provides the first clock information may be the root clock device, and the first network element generates the first clock message, where the first network element uses the clock information obtained from the root clock device as The first clock information: the first network element uses the identifier of the root primary clock device as the first source identifier; the first network element according to the first clock information and the first source identifier The first clock message is generated.
  • the root clock information sent by the root primary clock device received by the first network element is optimal.
  • the clock information is added to the first clock message.
  • the device that provides the first clock information is the first network element, and the first network element generates the first clock message, where the first network element is to be from the first network element.
  • the clock information obtained by the local clock source is used as the first clock information; the first network element uses the identifier of the first network element as the first source identifier; and the first network element is according to the first The clock information and the first source identifier generate the first clock message.
  • the first network element when the first network element is disconnected from the root clock device, or the first network element is not directly connected to the root clock device, the first network element There are no other available clock sources to add the clock information obtained from the local clock source to the first clock message.
  • the method provided by the embodiment of the present invention further includes: after the first network element determines that the second source identifier is different from the first source identifier, using the second clock information as a to-be-tracked Clock information.
  • the first source identifier may be carried in a reserved location of a packet header of the first clock packet.
  • the packet header of the clock packet can carry the first source identifier by using any one of the three reserved bits in the packet header. For example, 1 bit, for example "1", may be used as the first source identifier in reserved bit 1.
  • the first source identifier is used to indicate that clock information in the first clock packet is provided by the first network element. Two bits may also be used to indicate that the clock information in the first clock message was obtained from the root master clock device or from a local clock source. For example, "10” can be used to indicate that the clock information in the first clock message is obtained from the root master clock device. The "11” can be used to indicate that the clock information in the first clock message is obtained from the local clock source of the first network element.
  • the local clock source identifier or the root primary clock source identifier of the first network element may also be added to the reserved bit as the first source identifier.
  • the embodiment of the present invention is only described by taking an external master clock device as an example, and the present invention is not limited thereto.
  • the method for transmitting a clock packet according to the embodiment of the present invention may also be applied to multiple roots. Ring network or other system of the master clock device.
  • NE1 when NE1 is connected to a root clock device and NE2 is connected to another root clock device, the one root clock device is different from the other root clock device.
  • the source ID of the root clock device of the root is "10"
  • the source ID of the other root clock device obtained by NE2 is "01". If the information carried in the source identifier field of the clock packet received by NE1 is 10, NE1 can discard the received clock packet.
  • NE1 may not discard the received clock packet.
  • NE2 may not discard the received clock.
  • NE2 can discard the received clock packet.
  • the first clock message further includes a TLV field, where the TLV field may carry the first source identifier.
  • the TLV field may carry the first source identifier.
  • the sender port identifier of the first network element may be added to the first clock message in the form of a suffix after being encoded in a TLV format.
  • the first clock message includes an Announce message. It should be understood that the present invention is only described by using the notification packet as an example, but the present invention is not limited thereto, and the first clock packet may also be another report for simultaneously transmitting the bearer source identifier field and the bearer root clock source identifier field. Text.
  • the first clock packet and the second clock packet need not carry the identifier of the clock source tracked by each network element that passes through, for example, the first clock packet.
  • the first source identifier is used to indicate the device that provides the first clock information, where the first clock information is clock information used by the first network element.
  • the second clock message carries a second source identifier, where the second source identifier is used to indicate a device that provides second clock information, and the second clock information is clock information used by the second network element.
  • the clock source of the second network element is the same as the clock source of the first network element, and the first network element does not need to track the second source
  • the clock source of the NE can prevent the clock from being looped without increasing the length of the clock packet or increasing the length of the clock packet. This helps save the resources used to parse the packet and improves the communication performance of the network.
  • the second clock packet sent by the second network element may be different from the first clock packet sent by the first network element.
  • the second network element may generate the second clock message in the following two manners.
  • the device that provides the second clock information may be the root clock device, and the second network element generates the second clock message, where the second network element uses the clock information obtained from the root clock device as The second clock information: the second network element uses the identifier of the root primary clock device as the second source identifier; and the second network element is configured according to the second clock information and the second source identifier And generating the second clock message.
  • the device that provides the second clock information is the second network element, and the second network element generates the second clock message, where the second network element is to be used by the second network element
  • the clock information obtained by the local clock source is used as the second clock information; the second network The second network element generates the second clock message according to the second clock information and the second source identifier.
  • the second clock packet sent by the second network element may be the first clock packet generated by the first network element.
  • a method for transmitting a clock message according to an embodiment of the present invention is described in detail above with reference to FIG. 2, and an apparatus for transmitting a clock message according to an embodiment of the present invention will be described in detail below with reference to FIG.
  • the apparatus 300 for transmitting a clock message includes:
  • the generating module 310 is configured to generate a first clock message, where the first clock message includes a first source identifier and first clock information, where the first source identifier is used to indicate a device that provides the first clock information.
  • the sending module 320 is configured to send the first clock packet generated by the generating module to the second network element, where the second network element is a device that forms a ring network with the first network element.
  • the receiving module 330 is configured to receive the second clock packet sent by the second network element, where the second clock packet includes a second source identifier and second clock information, where the second source identifier is used to indicate that the The device of the second clock information.
  • the first processing module 340 is configured to not track the second clock information after determining that the second source identifier is the same as the first source identifier.
  • the apparatus for transmitting a clock message provided by the embodiment of the present invention may be a first network element.
  • the first clock packet and the second clock packet do not need to carry the identifier of the clock source that is tracked by each network element that passes through, for example, the first clock packet carries a first source identifier, and the first source identifier is used by the first source identifier. And indicating the device that provides the first clock information, where the first clock information is clock information used by the first network element.
  • the second clock message carries a second source identifier, where the second source identifier is used to indicate a device that provides second clock information, and the second clock information is clock information used by the second network element.
  • the clock source of the second network element is the same as the clock source of the device for transmitting a clock message, and the clock source is used for transmitting a clock packet.
  • the device does not need to track the clock source of the second network element, thereby preventing the clock from being looped without increasing the length of the clock packet or increasing the length of the clock packet, which helps save resources for parsing the packet. Improve the communication performance of the network.
  • the device that provides the first clock information is a root master clock device, and the generating module 310 is specifically configured to: use clock information obtained from the root master clock device as the first clock information; The identifier of the clock device is used as the first source identifier; according to the first clock information and the location The first source identifier is generated, and the first clock message is generated.
  • the device that provides the first clock information is the first network element, and the generating module 310 is specifically configured to: use the clock information obtained from the local clock source of the first network element as the first clock information;
  • the identifier of the first network element is used as the first source identifier, and the first clock packet is generated according to the first clock information and the first source identifier.
  • the device 300 further includes:
  • the second processing module 350 is configured to determine, after the second source identifier is different from the first source identifier, the second clock information as clock information to be tracked.
  • the header of the first clock packet generated by the generating module 310 includes a reserved field, where the reserved field is used to carry the first source identifier.
  • the first source identifier generated by the generating module 310 may be an identifier carried in the TLV.
  • the first clock message may include a TLV field, and the TLV field may carry the first source identifier.
  • the first clock message generated by the generating module 310 includes an Announce message.
  • apparatus 300 for transmitting clock messages in accordance with embodiments of the present invention may correspond to apparatus in method 200 of transmitting clock messages in embodiments of the present invention, and the above and other operations of various modules in apparatus 300 and/or The functions are respectively used to implement the corresponding processes of the various steps of the method 200.
  • apparatus 300 for transmitting clock messages in accordance with embodiments of the present invention may correspond to apparatus in method 200 of transmitting clock messages in embodiments of the present invention, and the above and other operations of various modules in apparatus 300 and/or The functions are respectively used to implement the corresponding processes of the various steps of the method 200.
  • no further details are provided herein.
  • an embodiment of the present invention further provides an apparatus 400 for transmitting a clock message.
  • the apparatus 400 includes a processor 410, a memory 420, a communication bus 430, and a transceiver 440.
  • the processor 410, the memory 420 and the transceiver 440 are connected by a communication bus 430 for storing instructions for executing instructions stored in the memory 420 to control the transceiver 440 to receive signals or send signals. .
  • the processor 410 is configured to generate a first clock message, where the first clock message includes a first source identifier and first clock information, where the first source identifier is used to indicate a device that provides the first clock information, where
  • the transceiver 440 is configured to send the first clock message generated by the processor 410 to the second network element, and receive the second clock message sent by the second network element, where the second clock message includes the second source identifier and the second
  • the second clock identifier is used to indicate the device that provides the second clock information
  • the processor 410 is further configured to: after determining that the second source identifier is the same as the first source identifier, not tracking the second clock information, where
  • the second network element is a device that forms a ring network with the device 400.
  • the device 400 for transmitting a clock message in the embodiment of the present invention passes the generated clock report. Adding a first source identifier indicating the source of the clock source information, and determining whether to discard the received clock packet according to whether the source identifier in the received clock packet is the same as the first source identifier, so that the clock packet is not added.
  • the clock packet is prevented from being looped and the communication performance of the network is improved.
  • the processor 410 may be a CPU, and the processor 410 may also be other general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays. (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 420 can include read only memory and random access memory and provides instructions and data to the processor 410. A portion of the memory 420 may also include a non-volatile random access memory. For example, the memory 420 can also store information of the device type.
  • the communication bus 430 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as communication bus 430 in the figure.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 410 or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 420, and the processor 410 reads the information in the memory 420 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the device that provides the first clock information is a root master clock device, and the processor 410 is specifically configured to: use clock information obtained from the root master clock device as the first clock information; The identifier of the clock device is used as the first source identifier. The first clock packet is generated according to the first clock information and the first source identifier.
  • the device that provides the first clock information is a local clock source of the device 400, and the processor 410 is specifically configured to: use clock information obtained from the local clock source as the first clock information;
  • the identifier of the device 400 is used as the first source identifier.
  • the first clock packet is generated according to the first clock information and the first source identifier.
  • the processor 410 is specifically configured to: determine the second source identifier and the first After a source identifier is different, the second clock information is used as clock information to be tracked.
  • the device that transmits the clock packet in the embodiment of the present invention determines whether the received clock packet is discarded by checking whether the source identifier in the received clock packet is the same as the first source identifier, so that the clock is not added.
  • the length of the packet is increased or the length of the clock packet is increased, the clock is prevented from being looped and the communication performance of the network is improved.
  • the packet header of the first clock packet generated by the processor 410 includes a reserved field, where the reserved field is used to carry the first source identifier.
  • the apparatus 400 for transmitting a clock message may correspond to the apparatus in the method 200 of transmitting a clock message in the embodiment of the present invention, and the above and other operations of the respective modules in the apparatus 400 and/or The functions are respectively used to implement the corresponding processes of the various steps of the method 200.
  • the apparatus 400 for transmitting a clock message may correspond to the apparatus in the method 200 of transmitting a clock message in the embodiment of the present invention, and the above and other operations of the respective modules in the apparatus 400 and/or The functions are respectively used to implement the corresponding processes of the various steps of the method 200.
  • no further details are provided herein.
  • the device for transmitting a clock packet may be the first network element.
  • the first clock packet and the second clock packet do not need to carry the identifier of the clock source that is tracked by each network element that passes through, for example, the first clock packet carries a first source identifier, and the first source identifier is used by the first source identifier. And indicating the device that provides the first clock information, where the first clock information is clock information used by the first network element.
  • the second clock message carries a second source identifier, where the second source identifier is used to indicate a device that provides second clock information, and the second clock information is clock information used by the second network element.
  • the clock source of the second network element is the same as the clock source of the device for transmitting a clock message, and the clock source is used for transmitting a clock packet.
  • the device does not need to track the clock source of the second network element, thereby preventing the clock from being looped without increasing the length of the clock packet or increasing the length of the clock packet, which helps save resources for parsing the packet. Improve the communication performance of the network.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

本发明实施例公开了一种传输时钟报文的方法和装置,有助于节省解析报文所耗费的资源,提高网络的通信性能。该方法包括:第一网元生成第一时钟报文,该第一时钟报文包括第一源标识和第一时钟信息,该第一源标识用于指示提供该第一时钟信息的设备;该第一网元向第二网元发送该第一时钟报文,该第二网元是与该第一网元形成环网的设备;该第一网元接收该第二网元发送的第二时钟报文,该第二时钟报文包括第二源标识和第二时钟信息,该第二源标识用于指示提供该第二时钟信息的设备;该第一网元确定该第二源标识与该第一源标识相同后,不跟踪该第二时钟信息。

Description

传输时钟报文的方法和装置 技术领域
本发明涉及通信领域,尤其涉及一种传输时钟报文的方法和装置。
背景技术
为了满足设备间传输数据的需求,需要通过时钟同步来确保不同设备的时钟的误差在一个可接受的范围内,时钟同步应用在环网中会有一定的概率出现时钟成环,从而导致网络通信性能的下降。
目前,环网中通过路径追踪的方法可以防止时钟成环,例如:经过边界时钟(boundary clock,BC)设备的时钟报文中都会加入该边界时钟设备的时钟标识。该边界时钟设备的时钟标识为该边界时钟设备所采用的时钟源的标识。如果某个时钟报文经过第一BC设备和第二BC设备,则该某个时钟报文中会携带第一BC设备的时钟标识和第二BC设备的时钟标识。如果第三BC设备接收到该某个时钟报文,则第三BC设备会对该某个时钟报文进行解析。当环网中设备的数量较多时,使用该方法传输的报文长度较长,解析报文需要耗费大量的资源,从而影响了网络的通信性能。
发明内容
有鉴于此,本发明实施例提供了一种传输时钟报文的方法和装置,有助于节省解析报文所耗费的资源,提高网络的通信性能。
第一方面,提供了一种传输时钟报文的方法,该方法包括:
第一网元生成第一时钟报文,所述第一时钟报文包括第一源标识和第一时钟信息,所述第一源标识用于指示提供所述第一时钟信息的设备;
所述第一网元向第二网元发送所述第一时钟报文,所述第二网元是与所述第一网元形成环网的设备;
所述第一网元接收所述第二网元发送的第二时钟报文,所述第二时钟报文包括第二源标识和第二时钟信息,所述第二源标识用于指示提供所述第二时钟信息的设备;
所述第一网元确定所述第二源标识与所述第一源标识相同后,不跟踪所述第二时钟信息。
本发明实施例提供的传输时钟报文的方法可应用于包括所述第一网元和所述第二网元的环网,所述第一网元可直接跟踪根主时钟设备的时钟信息。
本发明实施例提供的传输时钟报文的方法中,第一时钟报文和第二时钟报文无需携带所经过的每个网元所跟踪的时钟源的标识,比如:所述第一时钟报文携带第一源标识,所述第一源标识用于指示提供第一时钟信息的设备,所述第一时钟信息是所述第一网元所采用的时钟信息。所述第二时钟报文携带第二源标识,所述第二源标识用于指示提供第二时钟信息的设备,所述第二时钟信息是所述第二网元所采用的时钟信息。如果所述第二源标识与所述第一源标识相同,则所述第二网元的时钟源和所述第一网元的时钟源相同,所述第一网元无需跟踪所述第二网元的时钟源,从而实现了不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,有助于节省解析报文所耗费的资源,提高网络的通信性能。
可选地,所述提供所述第一时钟信息的设备为根主时钟设备,所述第一网元生成第一时钟报文包括:所述第一网元将从所述根主时钟设备获得的时钟信息作为所述第一时钟信息;所述第一网元将所述根主时钟设备的标识作为所述第一源标识;所述第一网元根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
可选地,所述提供所述第一时钟信息的设备为所述第一网元,所述第一网元生成第一时钟报文包括:所述第一网元将从所述第一网元的本地时钟源获得的时钟信息作为所述第一时钟信息;所述第一网元将所述第一网元的标识作为所述第一源标识;所述第一网元根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
可选地,所述方法还包括:所述第一网元确定所述第二源标识与所述第一源标识不同后,将所述第二时钟信息作为待跟踪的时钟信息。这样,所述第一网元可以确定所述第一网元跟踪的时钟信息和所述第二网元跟踪的时钟信息不同,如果所述第二时钟信息来自于根主时钟设备,则所述第一网元可将所述第二时钟信息作为待跟踪的时钟信息。
可选地,所述第一时钟报文的报文头包括预留字段,所述预留字段用于携带第一源标识。通过对所述第一时钟报文的报文头包括的预留字段的扩展,可以不增加所述第一时钟报文长度,有助于节省解析报文所耗费的资源。
可选地,所述第一时钟报文还包括的类型长度值(Type-length-value,TLV)字段,所述TLV字段可携带所述第一源标识。通过对所述第一时钟报文进行扩展,比如TLV字段的扩展,可以少量增加所述第一时钟报文长度,有助于节省解析报文所耗费的资源。
可选地,所述第一时钟报文可包括通知(Announce)报文。
第二方面,提供了一种用于传输时钟报文的装置,该装置包括:
生成模块,用于生成第一时钟报文,所述第一时钟报文包括第一源标识和第一时钟信息,所述第一源标识用于指示提供所述第一时钟信息的设备;
发送模块,用于向第二网元发送所述生成模块生成的所述第一时钟报文,所述第二网元是与所述第一网元形成环网的设备;
接收模块,用于接收所述第二网元发送的第二时钟报文,所述第二时钟报文包括第二源标识和第二时钟信息,所述第二源标识用于指示提供所述第二时钟信息的设备;
第一处理模块,用于确定所述第二源标识与所述第一源标识相同后,不跟踪所述第二时钟信息。
本发明实施例提供的用于传输时钟报文的装置可以为第一网元。第一时钟报文和第二时钟报文无需携带所经过的每个网元所跟踪的时钟源的标识,比如:所述第一时钟报文携带第一源标识,所述第一源标识用于指示提供第一时钟信息的设备,所述第一时钟信息是所述第一网元所采用的时钟信息。所述第二时钟报文携带第二源标识,所述第二源标识用于指示提供第二时钟信息的设备,所述第二时钟信息是所述第二网元所采用的时钟信息。如果所述第二源标识与所述第一源标识相同,则所述第二网元的时钟源和所述用于传输时钟报文的装置的时钟源相同,所述用于传输时钟报文的装置无需跟踪所述第二网元的时钟源,从而实现了不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,有助于节省解析报文所耗费的资源,提高网络的通信性能。
可选地,所述提供所述第一时钟信息的设备为根主时钟设备,所述生成模块具体用于:将从所述根主时钟设备获得的时钟信息作为所述第一时钟信息;将所述根主时钟设备的标识作为所述第一源标识;根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
可选地,所述提供所述第一时钟信息的设备为所述第一网元,所述生成 模块具体用于:将从所述第一网元的本地时钟源获得的时钟信息作为所述第一时钟信息;将所述第一网元的标识作为所述第一源标识;根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
可选地,所述装置还包括:
第二处理模块,用于确定所述第二源标识与所述第一源标识不同后,将所述第二时钟信息作为待跟踪的时钟信号。
可选地,所述第一时钟报文的报文头包括预留字段,所述预留字段用于携带第一源标识。通过对所述第一时钟报文的报文头包括的预留字段的扩展,可以不增加所述第一时钟报文长度,有助于节省解析报文所耗费的资源。
可选地,所述第一时钟报文还包括的类型TLV字段,所述TLV字段可携带所述第一源标识。通过对所述第一时钟报文进行扩展,比如TLV字段的扩展,可以少量增加所述第一时钟报文长度,有助于节省解析报文所耗费的资源。
可选地,所述第一时钟报文可包括Announce报文。
第三方面,提供了一种用于传输时钟报文的设备,该设备包括:处理器、存储器、通信总线和收发器。其中,该处理器、该存储器和该收发器通过该通信总线相连。收发器可以是通信接口。该存储器用于存储指令。该处理器可控制该收发器接收信号或发送信号。该处理器读取该存储器存储的指令,以执行上述第一方面或第一方面的任意可能的实现方式所提供的方法。
本发明实施例提供的传输时钟报文的方法、装置和设备中,第一时钟报文和第二时钟报文无需携带所经过的每个网元所跟踪的时钟源的标识,比如:所述第一时钟报文携带第一源标识,所述第一源标识用于指示提供第一时钟信息的设备,所述第一时钟信息是所述第一网元所采用的时钟信息。所述第二时钟报文携带第二源标识,所述第二源标识用于指示提供第二时钟信息的设备,所述第二时钟信息是所述第二网元所采用的时钟信息。如果所述第二源标识与所述第一源标识相同,则所述第二网元的时钟源和所述用于传输时钟报文的装置的时钟源相同,所述用于传输时钟报文的装置无需跟踪所述第二网元的时钟源,从而实现了不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,有助于节省解析报文所耗费的资源,提高网络的通信性能。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。
图1是一种网络场景的示意图。
图2是本发明实施例提供的传输时钟报文的方法的流程图。
图3是本发明实施例提供的用于传输时钟报文的装置的示意图。
图4是本发明实施例提供的用于传输时钟报文的设备的示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。
图1是一种网络场景的示意图。图1所示的网络包括:6台网元设备(network equipment,NE)和1台根主时钟(grandmaster clock)设备。NE的数量和根主时钟设备的数量并不局限于图1所示的数量,比如网络可包括至少两台根主时钟设备和至少两台NE,所述至少两台NE可以形成一个环网。
NE的端口可被设置为3种模式中的任意一种模式。所述3中模式包括:主(master)端口模式、从(slave)端口模式和被动(passive)端口模式。其中,被设置为主端口模式的端口可用于发送时钟报文。被设置为从端口模式的端口可用于接收时钟报文。被设置为被动端口模式的端口可用于接收时钟报文。任意一台NE只有一个端口被设置为从端口模式。任意一个NE可以有N个端口被设置为被动端口模式,可以有M个端口被设置为主端口模式。N为大于或等于0的整数;M为大于或等于0的整数。
NE设置有本地时钟源,并且所述NE可周期性的发送时钟报文。所述时钟报文包括时钟信息和时钟源的标识,时钟源的标识用于指示为所述NE提供所述时钟信息的时钟源。如图1所示,若根主时钟设备与NE1处于连接状态,则NE1同步于所述根主时钟设备。NE1发送的时钟报文包括所述根主时钟设备的标识(grandmaster Identity)。比如:grandmaster Identity可 携带于NE1发送的所述时钟报文的根主时钟源标识字段。若根主时钟设备未与NE1连接或根主时钟设备与NE1处于断开状态,则NE1无法同步于所述根主时钟设备。NE1将NE1的本地时钟源作为同步的时钟源。NE1发送的时钟报文包括所述本地时钟源的时钟标识(clock Identity)。比如:clock Identity可携带在所述时钟报文的根主时钟源标识字段。
NE1发送的时钟报文可以从NE1-NE3-NE5-NE6和NE1-NE2-NE4-NE6两个方向进行转发。如果NE6的被动端口比NE6的从端口先接收到NE1发出的时钟报文,换句话说,NE6的被动端口比NE6的从端口先接收到所述时钟报文包括的时钟源的标识,则NE6的被动端口变为NE6的主端口。NE6向NE5发送所述时钟源的标识,所述时钟源的标识沿着NE6-NE5-NE3-NE1的方向转发。如果NE6的从端口比NE6的被动端口先接收到NE1发出的所述时钟报文,换句话说,NE6的从端口比NE6的被动端口先接收到所述时钟报文包括的时钟源的标识,则NE6的从端口变为NE6的主端口,NE6的被动端口变为NE6的从端口。NE6向NE4发送所述时钟源的标识,所述时钟源的标识沿着NE6-NE4-NE2-NE1的方向转发。
NE1与根主时钟设备断开后,环网中没有可用的根主时钟源。而NE1与根主时钟设备断开前最后一次发送的时钟报文包括根主时钟设备的标识,环网中的NE都会将所述根主时钟设备的标识对应的时钟源作为可用的根主时钟源,并转发所述根主时钟设备的标识,从而导致形成时钟环路。
本发明实施例提供了一种传输时钟报文的方法和装置,实现了不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,有助于节省解析报文所耗费的资源,提高网络的通信性能。本发明实施例的技术方案可以应用于全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access Wireless,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperability for Microwave Access,WiMAX)通信系统等通信系统。本发明实施例的技术方案还可以应用于基于报文进行时钟同步的系统,例如采用IEEE(Institute of Electrical and Electronics Engineers,电气和电子工程师协会) 1588V2标准进行时钟同步的系统。
图2示出了根据本发明实施例的传输时钟报文的方法200的示意性流程图,该方法200可以由第一网元执行。第一网元是能够直接接收根主时钟设备发送的根主时钟信息的设备。如图2所示,该方法200包括:
S210,第一网元生成第一时钟报文,该第一时钟报文包括第一源标识和第一时钟信息,该第一源标识用于指示提供该第一时钟信息的设备;
S220,该第一网元向第二网元发送该第一时钟报文,该第二网元是与该第一网元形成环网的设备;
S230,该第一网元接收该第二网元发送的第二时钟报文,该第二时钟报文包括第二源标识和第二时钟信息,该第二源标识用于指示提供该第二时钟信息的设备;
S240,该第一网元确定该第二源标识与该第一源标识相同后,不跟踪该第二时钟信息。
例如在采用IEEE 1588V2标准进行时钟同步的环网中,第一网元在生成的第一时钟报文中加入第一源标识,例如可以在时钟报文的报文头的预留位添加第一源标识,以便于指示第一时钟报文中的时钟信息是第一网元提供的,第一时钟报文中承载该第一源标识的字段仅可以承载第一网元添加的信息,其它网元不能利用该字段承载信息,将生成的第一时钟报文发送给与第一网元的主端口相连的第二网元。
当第一网元接收到环网中其它网元,比如第二网元,发送的第二时钟报文后,检查第二时钟报文中的第二源标识与第一源标识是否相同。如果所述第二源标识与所述第一源标识相同,所述第二时钟报文中的第二时钟信息来自所述第一网元。所述第二时钟报文中的第二时钟信息经过若干跳的转发后已经有了较大的误差,不能再作为环网的同步时钟信息,所述第一网元可丢弃第二时钟报文。如果所述第二源标识与所述第一源标识不同,所述第二时钟报文中的第二时钟信息不是来自所述第一网元。所述第二时钟信息可能是来自其它与根主时钟设备相连的网元,所述第一网元可不丢弃第二时钟报文。所述第一网元可将所述第二时钟报文中的第二时钟信息作为待跟踪的时钟信息。可选地,所述第一网元可根据最佳主时钟(Best Master Clock,BMC)算法确定所述第二时钟信息是否为最佳主时钟信息,进而确定是否丢弃第二时钟报文。
应理解,本发明实施例仅以采用IEEE 1588V2标准进行时钟同步的环网为例进行说明,但本发明并不限于此,根据本发明实施例的传输时钟报文的方法还可以应用于其他环网或系统。
举例说明,所述提供第一时钟信息的设备可以为根主时钟设备,第一网元生成第一时钟报文包括:所述第一网元将从所述根主时钟设备获得的时钟信息作为所述第一时钟信息;所述第一网元将所述根主时钟设备的标识作为所述第一源标识;所述第一网元根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
在本发明实施例中,当所述第一网元与所述根主时钟设备处于连接状态时,所述第一网元接收到的所述根主时钟设备发送的根主时钟信息为最佳时钟信息,将所述根主时钟信息添加到所述第一时钟报文中。
举例说明,所述提供所述第一时钟信息的设备为所述第一网元,所述第一网元生成第一时钟报文包括:所述第一网元将从所述第一网元的本地时钟源获得的时钟信息作为所述第一时钟信息;所述第一网元将所述第一网元的标识作为所述第一源标识;所述第一网元根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
在本发明实施例中,当所述第一网元与所述根主时钟设备处于断开状态,或者所述第一网元未直接连接所述根主时钟设备时,所述第一网元没有其它可用的时钟源,将从本地时钟源获得的时钟信息添加到第一时钟报文中。
可选地,S230之后,本发明实施例提供的方法还包括:所述第一网元确定所述第二源标识与所述第一源标识不同后,将所述第二时钟信息作为待跟踪的时钟信息。
可选地,所述第一源标识可以携带于所述第一时钟报文的报文头的预留位置。
表1通用消息报头
Figure PCTCN2016071315-appb-000001
Figure PCTCN2016071315-appb-000002
时钟报文的报文头如表1所示,可以利用报文头中的三个预留位中的任一个来携带第一源标识。例如,可以在预留位1用1个比特,例如“1”,作为第一源标识。所述第一源标识用于指示第一时钟报文中的时钟信息是第一网元提供的。也可以用两个比特来指示第一时钟报文中的时钟信息是从根主时钟设备获得的或从本地时钟源获得的。例如,可以用“10”来指示第一时钟报文中的时钟信息是从根主时钟设备获得的。可以用“11”来指示第一时钟报文中的时钟信息是从该第一网元的本地时钟源获得的。
应理解,上述实施例仅是举例说明,本发明并不限于此,任何可以用于指示第一时钟报文中的时钟信息来自第一网元的指示方法都属于本发明保护的范围,例如,还可以将第一网元的本地时钟源标识或根主时钟源标识作为第一源标识添加到预留位中。
还应理解,本发明实施例仅以环网外接一个根主时钟设备为例进行说明,本发明并不限于此,根据本发明实施例的传输时钟报文的方法还可以应用于外接多个根主时钟设备的环网或其它系统。例如,当NE1外接一台根主时钟设备,NE2外接另一台根主时钟设备时,所述一台根主时钟设备不同于所述另一台根主时钟设备,NE1获取得到的所述一台根主时钟设备的源标识为“10”,NE2获取得到的所述另一台根主时钟设备的源标识为“01”。如果NE1收到的时钟报文中源标识字段承载的信息为“10”,则NE1可以丢弃接收到的时钟报文。如果NE1收到的时钟报文中源标识字段承载的信息为“01”,则NE1可以不丢弃接收到的时钟报文。同理,如果NE2收到的时钟报文中源标识字段承载的信息为“10”,则NE2可以不丢弃接收到的时钟 报文。如果NE2收到的时钟报文中源标识字段承载的信息为“01”,则NE2可以丢弃接收到的时钟报文。
可选地,所述第一时钟报文还包括的TLV字段,所述TLV字段可携带所述第一源标识。通过对所述第一时钟报文进行扩展,比如TLV字段的扩展,可以少量增加所述第一时钟报文长度,有助于节省解析报文所耗费的资源。
应理解,上述实施例仅是举例说明,本发明并不限于此,例如,还可以将第一网元的发送端端口标识用TLV格式编码后以后缀的形式添加到第一时钟报文中。
可选地,所述第一时钟报文包括通知(Announce)报文。应理解,本发明实施仅以通知报文为例进行说明,但本发明不限于此,第一时钟报文还可以是用于同时传递承载源标识字段和承载根主时钟源标识字段的其它报文。
本发明实施例提供的传输时钟报文的方法中,第一时钟报文和第二时钟报文无需携带所经过的每个网元所跟踪的时钟源的标识,比如:所述第一时钟报文携带第一源标识,所述第一源标识用于指示提供第一时钟信息的设备,所述第一时钟信息是所述第一网元所采用的时钟信息。所述第二时钟报文携带第二源标识,所述第二源标识用于指示提供第二时钟信息的设备,所述第二时钟信息是所述第二网元所采用的时钟信息。如果所述第二源标识与所述第一源标识相同,则所述第二网元的时钟源和所述第一网元的时钟源相同,所述第一网元无需跟踪所述第二网元的时钟源,从而实现了不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,有助于节省解析报文所耗费的资源,提高网络的通信性能。
可选地,所述第二网元发送的所述第二时钟报文可以与所述第一网元发送的所述第一时钟报文不同。所述第二网元可采用下述两种方式生成第二时钟报文。举例说明,所述提供第二时钟信息的设备可以为根主时钟设备,第二网元生成第二时钟报文包括:所述第二网元将从所述根主时钟设备获得的时钟信息作为所述第二时钟信息;所述第二网元将所述根主时钟设备的标识作为所述第二源标识;所述第二网元根据所述第二时钟信息和所述第二源标识,生成所述第二时钟报文。或者,所述提供所述第二时钟信息的设备为所述第二网元,所述第二网元生成第二时钟报文包括:所述第二网元将从所述第二网元的本地时钟源获得的时钟信息作为所述第二时钟信息;所述第二网 元将所述第二网元的标识作为所述第二源标识;所述第二网元根据所述第二时钟信息和所述第二源标识,生成所述第二时钟报文。
可选地,所述第二网元发送的第二时钟报文可以是所述第一网元生成的第一时钟报文。
上文中结合图2,详细描述了根据本发明实施例的传输时钟报文的方法,下面将结合图3,详细描述本发明实施例提供的用于传输时钟报文的装置。
如图3所示,根据本发明实施例的传输时钟报文的装置300包括:
生成模块310用于生成第一时钟报文,所述第一时钟报文包括第一源标识和第一时钟信息,所述第一源标识用于指示提供所述第一时钟信息的设备。
发送模块320用于向第二网元发送所述生成模块生成的所述第一时钟报文,所述第二网元是与所述第一网元形成环网的设备。
接收模块330用于接收所述第二网元发送的第二时钟报文,所述第二时钟报文包括第二源标识和第二时钟信息,所述第二源标识用于指示提供所述第二时钟信息的设备。
第一处理模块340用于确定所述第二源标识与所述第一源标识相同后,不跟踪所述第二时钟信息。
本发明实施例提供的用于传输时钟报文的装置可以为第一网元。第一时钟报文和第二时钟报文无需携带所经过的每个网元所跟踪的时钟源的标识,比如:所述第一时钟报文携带第一源标识,所述第一源标识用于指示提供第一时钟信息的设备,所述第一时钟信息是所述第一网元所采用的时钟信息。所述第二时钟报文携带第二源标识,所述第二源标识用于指示提供第二时钟信息的设备,所述第二时钟信息是所述第二网元所采用的时钟信息。如果所述第二源标识与所述第一源标识相同,则所述第二网元的时钟源和所述用于传输时钟报文的装置的时钟源相同,所述用于传输时钟报文的装置无需跟踪所述第二网元的时钟源,从而实现了不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,有助于节省解析报文所耗费的资源,提高网络的通信性能。
可选地,提供第一时钟信息的设备为根主时钟设备,该生成模块310具体用于:将从所述根主时钟设备获得的时钟信息作为所述第一时钟信息;将所述根主时钟设备的标识作为所述第一源标识;根据所述第一时钟信息和所 述第一源标识,生成所述第一时钟报文。
可选地,提供第一时钟信息的设备为第一网元,该生成模块310具体用于:将从所述第一网元的本地时钟源获得的时钟信息作为所述第一时钟信息;将所述第一网元的标识作为所述第一源标识;根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
可选地,该装置300还包括:
第二处理模块350用于确定所述第二源标识与所述第一源标识不同后,将所述第二时钟信息作为待跟踪的时钟信息。
可选地,生成模块310生成的第一时钟报文的报文头包括预留字段,该预留字段用于携带第一源标识。
可选地,生成模块310生成的第一源标识可为携带在TLV中的标识。例如,所述第一时钟报文可包括TLV字段,所述TLV字段可携带所述第一源标识。
可选地,生成模块310生成的第一时钟报文包括通知(Announce)报文。
应理解,根据本发明实施例的传输时钟报文的装置300可对应于本发明实施例中传输时钟报文的方法200中的装置,并且装置300中的各个模块的上述和其它操作和/或功能分别用于实现方法200的各个步骤的相应流程,为了简洁,在此不再赘述。
如图4所示,本发明实施例还提供了一种传输时钟报文的设备400,该设备400包括:处理器410、存储器420、通信总线430和收发器440。其中,处理器410、存储器420和收发器440通过通信总线430相连,该存储器420用于存储指令,该处理器410用于执行该存储器420存储的指令,以控制收发器440接收信号或发送信号。
其中,该处理器410用于生成第一时钟报文,该第一时钟报文包括第一源标识和第一时钟信息,该第一源标识用于指示提供该第一时钟信息的设备,该收发器440用于向第二网元发送处理器410生成的第一时钟报文,以及接收该第二网元发送的第二时钟报文,该第二时钟报文包括第二源标识和第二时钟信息,该第二源标识用于指示提供该第二时钟信息的设备,该处理器410还用于确定第二源标识与第一源标识相同后,不跟踪第二时钟信息,其中,该第二网元是与该设备400形成环网的设备。
因此,本发明实施例的传输时钟报文的设备400,通过在生成的时钟报 文中添加指示时钟源信息的来源的第一源标识,并根据接收到的时钟报文中的源标识与该第一源标识是否相同,确定是否丢弃接收到的时钟报文,从而可以在不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,提高网络的通信性能。
应理解,在本发明实施例中,该处理器410可以是CPU,该处理器410还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器420可以包括只读存储器和随机存取存储器,并向处理器410提供指令和数据。存储器420的一部分还可以包括非易失性随机存取存储器。例如,存储器420还可以存储设备类型的信息。
该通信总线430除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为通信总线430。
在实现过程中,上述方法的各步骤可以通过处理器410中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器420,处理器410读取存储器420中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
可选地,作为一个实施例,提供第一时钟信息的设备为根主时钟设备,该处理器410具体用于:将从根主时钟设备获得的时钟信息作为第一时钟信息;将该根主时钟设备的标识作为第一源标识;根据该第一时钟信息和该第一源标识,生成第一时钟报文。
可选地,作为一个实施例,提供第一时钟信息的设备为该设备400的本地时钟源,该处理器410具体用于:将从该本地时钟源获得的时钟信息作为第一时钟信息;将该设备400的标识作为第一源标识;根据该第一时钟信息和该第一源标识,生成第一时钟报文。
可选地,作为一个实施例,处理器410具体用于:确定第二源标识与第 一源标识不同后,将所述第二时钟信息作为待跟踪的时钟信息。
因此,本发明实施例的传输时钟报文的设备,通过检查接收到的时钟报文中的源标识与第一源标识是否相同,确定是否丢弃接收到的时钟报文,从而可以在不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,提高网络的通信性能。
可选地,作为一个实施例,处理器410生成的第一时钟报文的报文头包括预留字段,该预留字段用于携带第一源标识。
应理解,根据本发明实施例的传输时钟报文的设备400可对应于本发明实施例中传输时钟报文的方法200中的设备,并且,设备400中的各个模块的上述和其他操作和/或功能,分别用于实现方法200各个步骤的相应流程,为了简洁,在此不再赘述。
本发明实施例提供的用于传输时钟报文的设备可以为第一网元。第一时钟报文和第二时钟报文无需携带所经过的每个网元所跟踪的时钟源的标识,比如:所述第一时钟报文携带第一源标识,所述第一源标识用于指示提供第一时钟信息的设备,所述第一时钟信息是所述第一网元所采用的时钟信息。所述第二时钟报文携带第二源标识,所述第二源标识用于指示提供第二时钟信息的设备,所述第二时钟信息是所述第二网元所采用的时钟信息。如果所述第二源标识与所述第一源标识相同,则所述第二网元的时钟源和所述用于传输时钟报文的装置的时钟源相同,所述用于传输时钟报文的装置无需跟踪所述第二网元的时钟源,从而实现了不增加时钟报文长度或少量增加时钟报文长度的情况下防止时钟成环,有助于节省解析报文所耗费的资源,提高网络的通信性能。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对 应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (10)

  1. 一种传输时钟报文的方法,其特征在于,所述方法包括:
    第一网元生成第一时钟报文,所述第一时钟报文包括第一源标识和第一时钟信息,所述第一源标识用于指示提供所述第一时钟信息的设备;
    所述第一网元向第二网元发送所述第一时钟报文,所述第二网元是与所述第一网元形成环网的设备;
    所述第一网元接收所述第二网元发送的第二时钟报文,所述第二时钟报文包括第二源标识和第二时钟信息,所述第二源标识用于指示提供所述第二时钟信息的设备;
    所述第一网元确定所述第二源标识与所述第一源标识相同后,不跟踪所述第二时钟信息。
  2. 根据权利要求1所述的方法,其特征在于,所述提供所述第一时钟信息的设备为根主时钟设备,所述第一网元生成第一时钟报文包括:
    所述第一网元将从所述根主时钟设备获得的时钟信息作为所述第一时钟信息;
    所述第一网元将所述根主时钟设备的标识作为所述第一源标识;
    所述第一网元根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
  3. 根据权利要求1所述的方法,其特征在于,所述提供所述第一时钟信息的设备为所述第一网元,所述第一网元生成第一时钟报文包括:
    所述第一网元将从所述第一网元的本地时钟源获得的时钟信息作为所述第一时钟信息;
    所述第一网元将所述第一网元的标识作为所述第一源标识;
    所述第一网元根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网元确定所述第二源标识与所述第一源标识不同后,将所述第二时钟信息作为待跟踪的时钟信息。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述第一时钟报文的报文头包括预留字段,所述预留字段用于携带所述第一源标识。
  6. 一种用于传输时钟报文的装置,其特征在于,所述装置为第一网元,所述装置包括:
    生成模块,用于生成第一时钟报文,所述第一时钟报文包括第一源标识和第一时钟信息,所述第一源标识用于指示提供所述第一时钟信息的设备;
    发送模块,用于向第二网元发送所述生成模块生成的所述第一时钟报文,所述第二网元是与所述第一网元形成环网的设备;
    接收模块,用于接收所述第二网元发送的第二时钟报文,所述第二时钟报文包括第二源标识和第二时钟信息,所述第二源标识用于指示提供所述第二时钟信息的设备;
    第一处理模块,用于确定所述第二源标识与所述第一源标识相同后,不跟踪所述第二时钟信息。
  7. 根据权利要求6所述的装置,其特征在于,所述提供所述第一时钟信息的设备为根主时钟设备,所述生成模块具体用于:
    将从所述根主时钟设备获得的时钟信息作为所述第一时钟信息;
    将所述根主时钟设备的标识作为所述第一源标识;
    根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
  8. 根据权利要求6所述的装置,其特征在于,所述提供所述第一时钟信息的设备为所述第一网元,所述生成模块具体用于:
    将从所述第一网元的本地时钟源获得的时钟信息作为所述第一时钟信息;
    将所述第一网元的标识作为所述第一源标识;
    根据所述第一时钟信息和所述第一源标识,生成所述第一时钟报文。
  9. 根据权利要求6至8任一项所述的装置,其特征在于,所述装置还包括:
    第二处理模块,用于确定所述第二源标识与所述第一源标识不同后,将所述第二时钟信息作为待跟踪的时钟信息。
  10. 根据权利要求6至9中任一项所述的装置,其特征在于,所述第一时钟报文的报文头包括预留字段,所述预留字段用于携带所述第一源标识。
PCT/CN2016/071315 2016-01-19 2016-01-19 传输时钟报文的方法和装置 WO2017124288A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP16885561.7A EP3396877B1 (en) 2016-01-19 2016-01-19 Clock packet transmission method and device
PCT/CN2016/071315 WO2017124288A1 (zh) 2016-01-19 2016-01-19 传输时钟报文的方法和装置
CN201680000742.1A CN107251457B (zh) 2016-01-19 2016-01-19 传输时钟报文的方法和装置
US16/038,508 US10594422B2 (en) 2016-01-19 2018-07-18 Method and apparatus for transmitting clock packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/071315 WO2017124288A1 (zh) 2016-01-19 2016-01-19 传输时钟报文的方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/038,508 Continuation US10594422B2 (en) 2016-01-19 2018-07-18 Method and apparatus for transmitting clock packet

Publications (1)

Publication Number Publication Date
WO2017124288A1 true WO2017124288A1 (zh) 2017-07-27

Family

ID=59361105

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071315 WO2017124288A1 (zh) 2016-01-19 2016-01-19 传输时钟报文的方法和装置

Country Status (4)

Country Link
US (1) US10594422B2 (zh)
EP (1) EP3396877B1 (zh)
CN (1) CN107251457B (zh)
WO (1) WO2017124288A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109586833B (zh) * 2018-12-18 2020-11-06 中国移动通信有限公司研究院 确定端口状态的方法和网络节点
CN111385051B (zh) * 2018-12-29 2022-11-08 华为技术有限公司 时钟同步方法、装置和存储介质
US11294417B2 (en) * 2020-03-10 2022-04-05 Cisco Technology, Inc. Distribution of trusted physical layer timing information using attestation
US11196500B1 (en) * 2020-07-23 2021-12-07 Cisco Technology, Inc. Continuance in quality level of an input timing signal
KR20220042915A (ko) * 2020-09-28 2022-04-05 삼성전자주식회사 통신 시스템에서 제1 통신 네트워크의 동기 정보를 제2 통신 네트워크로 제공하기 위한 장치 및 방법

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7447931B1 (en) * 2005-12-09 2008-11-04 Rockwell Automation Technologies, Inc. Step time change compensation in an industrial automation network
CN101895384A (zh) * 2010-07-07 2010-11-24 中兴通讯股份有限公司 一种实现边界时钟的方法和装置
CN102208958A (zh) * 2011-07-04 2011-10-05 瑞斯康达科技发展股份有限公司 同步以太网的时钟同步及同步信息收发方法、装置和设备

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2301991B (en) 1995-06-06 1999-06-30 Plessey Telecomm SDH Network
JP2001244918A (ja) * 2000-02-28 2001-09-07 Fujitsu Ltd ネットワーク装置
US6920540B2 (en) * 2001-10-22 2005-07-19 Rambus Inc. Timing calibration apparatus and method for a memory device signaling system
US7499423B1 (en) * 2004-06-10 2009-03-03 Cisco Technology, Inc. (Us) System and method for clock distribution and synchronization and radio location
US7539200B2 (en) * 2005-04-27 2009-05-26 Agere Systems Inc. Line-timing in packet-based networks
US20090271750A1 (en) * 2005-11-30 2009-10-29 Nxp B.V. Timing constraint merging in hierarchical soc designs
US20070147435A1 (en) * 2005-12-23 2007-06-28 Bruce Hamilton Removing delay fluctuation in network time synchronization
CN101159533A (zh) * 2007-11-06 2008-04-09 中兴通讯股份有限公司 一种分组传送网中时钟链路自动保护的方法
CN101494613B (zh) * 2009-02-24 2012-04-04 华为技术有限公司 时钟报文隧道传输的方法、网络节点和通信系统
US8427963B2 (en) * 2009-11-20 2013-04-23 Symmetricom, Inc. Method and system for analyzing and qualifying routes in packet networks
US8340010B2 (en) * 2009-12-16 2012-12-25 Broadcom Corporation Method and system for energy efficient synchronization in packet based networks
US9515756B2 (en) * 2010-11-29 2016-12-06 Spidercloud Wireless, Inc. Adaptive precision timing control in a communication system
US20120207178A1 (en) * 2011-02-11 2012-08-16 Webb Iii Charles A Systems and methods utilizing large packet sizes to reduce unpredictable network delay variations for timing packets
JP5358813B2 (ja) * 2011-03-30 2013-12-04 株式会社日立製作所 ネットワークノード、時刻同期方法及びネットワークシステム
WO2012166569A1 (en) * 2011-05-27 2012-12-06 Cisco Technology, Inc. Precision timing in a data over cable service interface specification (docsis) system
CN102263630B (zh) 2011-07-21 2017-06-16 中兴通讯股份有限公司 一种时钟源的选择方法
US20130227008A1 (en) * 2012-02-27 2013-08-29 Cisco Technology, Inc. Clock synchronization based on predefined grandmaster
CN103428086B (zh) 2012-05-25 2016-08-03 北京东土科技股份有限公司 基于ptp协议的透明时钟被动端口选举方法及装置
GB2502349B (en) * 2012-05-25 2019-03-06 Nidec Control Techniques Ltd Method and system for communicating between devices
KR20150030737A (ko) * 2012-06-20 2015-03-20 노키아 솔루션스 앤드 네트웍스 오와이 컴퓨터 네트워크에서의 동기화
CN102843205B (zh) 2012-09-03 2015-08-12 杭州华三通信技术有限公司 一种基于精确时间协议的时间同步收敛的方法和装置
CN102868516A (zh) * 2012-10-09 2013-01-09 盛科网络(苏州)有限公司 同步以太网中时钟信息分发的方法和装置
CN104426645A (zh) * 2013-09-02 2015-03-18 华为技术有限公司 确定以太时钟源的方法和装置
US9112628B2 (en) * 2013-10-02 2015-08-18 Khalifa University of Science, Technology, and Research Method and devices for compensating for path asymmetry
US9760114B1 (en) * 2014-01-03 2017-09-12 Juniper Networks, Inc. Systems and methods for improving clock synchronization between master and slave devices
US9270395B2 (en) * 2014-05-05 2016-02-23 Telefonaktiebolaget L M Ericsson (Publ) Method for robust PTP synchronization with default 1588V2 profile
US10349367B2 (en) * 2015-03-03 2019-07-09 Qualcomm Incorporated Methods and systems for synchronizing devices
RO131470A2 (ro) * 2015-04-10 2016-10-28 Ixia, A California Corporation Metode, sisteme şi suport citibil pe calculator pentru măsurarea întârzierii unei linii de comunicaţii unidirecţionale
CN107667491B (zh) * 2015-06-10 2019-07-19 诺基亚通信公司 增强计算机网络中的同步的方法、装置和计算机可读介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7447931B1 (en) * 2005-12-09 2008-11-04 Rockwell Automation Technologies, Inc. Step time change compensation in an industrial automation network
CN101895384A (zh) * 2010-07-07 2010-11-24 中兴通讯股份有限公司 一种实现边界时钟的方法和装置
CN102208958A (zh) * 2011-07-04 2011-10-05 瑞斯康达科技发展股份有限公司 同步以太网的时钟同步及同步信息收发方法、装置和设备

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN107251457B (zh) 2019-08-27
EP3396877A1 (en) 2018-10-31
US20180323890A1 (en) 2018-11-08
CN107251457A (zh) 2017-10-13
EP3396877A4 (en) 2019-01-02
EP3396877B1 (en) 2024-07-31
US10594422B2 (en) 2020-03-17

Similar Documents

Publication Publication Date Title
US10820288B2 (en) Synchronization method, user equipment, and base station
WO2017124288A1 (zh) 传输时钟报文的方法和装置
ES2879435T3 (es) Procedimiento, nodo y sistema para detectar una ruta de sincronización de reloj
US20160182214A1 (en) Method and apparatus for determining ethernet clock source
WO2017133478A1 (zh) 用于时间同步的方法和时钟
US11153927B2 (en) Transition method, network device, and terminal device
WO2019029509A1 (zh) Mpdu的传输方法、用户侧设备和网络侧设备
US11160127B2 (en) Locating method in multi-connectivity network, terminal device and location management function entity
EP3836639B1 (en) Synchronization cycle determination methods and devices
US20210392612A1 (en) Method, device and terminal for location message transmission processing
WO2016197689A1 (zh) 处理报文的方法、装置和系统
BR112019012810A2 (pt) Método e aparelho para transmitir informações de sistema
WO2022027666A1 (zh) 一种时间同步方法及装置
US11411666B2 (en) Clock fault detection and correction between synchronized network devices
WO2019136717A1 (zh) 用于功率控制的方法、终端设备和网络设备
CN109586833B (zh) 确定端口状态的方法和网络节点
CN102571464B (zh) 链路的跟踪处理方法及系统
EP4220998A1 (en) Transporting client timing information across a network
WO2021097769A1 (zh) 一种时钟同步方法及装置
CN114650600A (zh) 资源配置方法、装置、网络节点和存储介质
CN104038386A (zh) 用于业务环网检测的方法、节点和网管
WO2016019529A1 (zh) 同步通信的方法和通信节点
US20230269174A1 (en) Route Advertisement Method, Route Loop Check Method, and Device
WO2019024103A1 (zh) 处理寻呼失败的方法、接入网设备和核心网设备
CN118827532A (zh) 一种路径选择的方法、装置、设备、存储介质及程序产品

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: 16885561

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016885561

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016885561

Country of ref document: EP

Effective date: 20180725