Method and network device for flexible PTP holdover

The method and network device dynamically adjust holdover time budgets using Enhanced Accuracy Metrics TLVs to optimize holdover duration and reduce service disruptions by accounting for network-specific time errors, enhancing PTP synchronization resilience.

WO2026241899A1PCT designated stage Publication Date: 2026-11-26TELEFONAKTIEBOLAGET LM ERICSSON (PUBL) +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/095942
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-26

Smart Images

  • Figure CN2025095942_26112026_PF_FP_ABST
    Figure CN2025095942_26112026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a method, network device and computer readable storage medium for flexible holdover are provided. In a method, the network device obtains from a Time Synchronization (TS) node a first indication indicating an accumulated time error along a first Precise Time Protocol (PTP) timing chain, or along a second PTP timing chain. The network device further determines a holdover time budget based on the first indication and a time error limit at the network device. The first PTP timing chain and the second PTP timing chain are different PTP timing chains.
Need to check novelty before this filing date? Find Prior Art

Description

METHOD AND NETWORK DEVICE FOR FLEXIBLE PTP HOLDOVERTechnical Field

[0001] Embodiments of the present disclosure generally relate to communication, and, more particularly, to a method and network device for flexible Precise Time Protocol (PTP) holdover.Background

[0002] This section introduces aspects that may facilitate better understanding of the present disclosure. Accordingly, the statements of this section are to be read in this light and are not to be understood as admissions about what is in the prior art or what is not in the prior art.

[0003] Synchronization is currently a hotspot technology, both in mobile backhaul network and packet switched fronthaul network. The distribution of synchronization is also a vital feature for Open Radio Access Network (O-RAN) . The mobile backhaul network won’t be able to work well without a proper synchronization. New mobile communication technologies require synchronized phase and precise Time of Day (ToD) in addition to a synchronized frequency. These technologies are e.g. Long Term Evolution-Time Division Duplex (LTE-TDD) , mobile World Interoperability for Microwave Access (WiMAX)  / TDD, Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) , and femtocell. The general requirement on the air interface is a frequency accuracy of 50 part per billion (ppb) and a phase / time accuracy of the order of 1 μsec (e.g. CDMA200, it is about ±3 μsec; for LTE-TDD large cell, it is about ±5 μsec; for LTE-TDD / new radio (NR) , it is about ±1.5 μsec) .

[0004] The Institute of Electrical and Electronics Engineers (IEEE) 1588 version 2 (v2, also known as PTP) is an industry-standard protocol that enables the precise transfer of frequency and time to synchronize clocks over packet-based Ethernet networks. In order to serve telecom environment to distribute time / phase synchronization, the International Telecommunications Unit –Telecommunication (ITU-T) defined G. 8275.1 / 2 (hereinafter referred to G. 8275) telecom profiles or G. 8275.1 / 2 clocks by using IEEE1588v2 as a baseline, and also defined ITU-T G.8273.2, G. 8273.4 to specify the clock characteristic of G. 8275.1 and G. 8275.2 clock. Further, following ITU-T standards are incorporated herein by reference in their entireties: -ITU-T G. 8275.1: ITU-T G. 8275.1 / Y. 1369.1 (2022) Amd. 2 (08 / 2024) , Precision time  protocol telecom profile for phase / time synchronization with full timing support from the network -ITU-T G. 8275.2 / Y. 1369.2 (2022) Amd. 2 (08 / 2024) , Precision time protocol telecom  profile for phase / time synchronization with partial timing support from the network -ITU-T G. 8273.2 / Y. 1368.2 (2023) Amd. 1 (08 / 2024) Timing characteristics of telecom  boundary clocks and telecom time synchronous clocks for use with full timing support from the network -ITU-T G. 8273.4 / Y. 1368.4 (08 / 2024) Timing characteristics of telecom boundary clocks  and telecom time salve clocks for use with partial timing support from the network

[0005] Holdover is a quite important capability when all the timing sources are not available. A network device or network node in a communication network is said to be in holdover or in the holdover state, as long as it is within its accuracy requirements. The network device utilizes a clock previously synchronized / syntonized to another clock (normally a primary reference or a master clock) but now is free-running based on its own internal oscillator, whose frequency is being adjusted using data acquired while it had been synchronized / syntonized to the other clock. G. 8275 Appendix VIII defined the two modes or states of holdover, Holdover-In-Specification and Holdover-Out-Of-Specification mode or state. G. 8275.1 Table 6 and G. 8275.2 Table 3 define the applicable clockClass for the holdover.Summary

[0006] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

[0007] One of the objects of the present disclosure is to provide an improved solution for flexible PTP holdover. In particular, one of the problems to be solved by the present disclosure is that in the existing solution, holdover time budget is fixed, and the holdover capability could not be utilized in some cases.

[0008] According to a first aspect of the present disclosure, there is provided a method performed by a network device for flexible Precise Time Protocol (PTP) holdover. The method may comprise obtaining from a Time Synchronization (TS) node a first indication indicating an accumulated time error along a first PTPtiming chain, or along a second PTP timing chain. The method may further comprise determining a holdover time budget based on the first indication and a time error limit at the network device. The first PTP timing chain and the second PTP timing chain may be different PTP timing chains.

[0009] In an embodiment of the present disclosure, the first indication may be an Enhanced Accuracy Metrics Type-Length-Value (TLV) .

[0010] In an embodiment of the present disclosure, the first indication may be determined based at least on a second indication determined at the TS node.

[0011] In an embodiment of the present disclosure, the TS node may have an active PTP source which is received from a Global Navigation Satellite System (GNSS) , or which is a reference clock conforming to ITU-T G. 8275.1.

[0012] In an embodiment of the present disclosure, the second indication may be an Enhanced Accuracy Metrics TLV with a fixed value.

[0013] In an embodiment of the present disclosure, the TS node may have an active PTP source which is a reference clock conforming to ITU-T G8275.2.

[0014] In an embodiment of the present disclosure, the second indication may be pre-configured.

[0015] In an embodiment of the present disclosure, the second may be an accumulated time error along the first PTP timing chain, or along the second PTP timing chain, which is received at the TS node.

[0016] In an embodiment of the present disclosure, the first indication may be further determined based on a time error introduced by the TS node.

[0017] In an embodiment of the present disclosure, the time error limit may be defined by ITU-T G. 8271.1 and / or ITU-T G. 8271.2.

[0018] In an embodiment of the present disclosure, the method may further comprise entering a holdover state with the holdover time budget.

[0019] In an embodiment of the present disclosure, the holdover state may be a Holdover-In-Specification state or a Holdover-Out-Of-Specification state.

[0020] In an embodiment of the present disclosure, the TS node may be in a holdover state.

[0021] In an embodiment of the present disclosure, the method may further comprise determining a flexible holdover capability is enabled.

[0022] In an embodiment of the present disclosure, all members tracking a PTP source in the first PTP timing chain or in the second PTP timing chain may support initiating and / or updating the Enhanced Accuracy Metrics TLV.

[0023] In an embodiment of the present disclosure, the network device may be configured to act as a boundary clock, BC.

[0024] According to a second aspect of the present disclosure, a network device for flexible Precise Time Protocol (PTP) holdover is provided. The network device may comprise: processing circuitry; a memory containing instructions executable by the processing circuitry, whereby the network device is operative to perform any of the methods of the first aspect.

[0025] According to a third aspect of the present disclosure, a computer program is provided. The computer program may comprise instructions, when executed by processing circuitry, cause the processing circuitry to carry out any of the methods of the first aspect.

[0026] According to a fourth aspect of the present disclosure, a A computer-readable medium is provided. The computer-readable medium may comprise instructions, when executed by processing circuitry, cause the processing circuitry to carry out any of the methods of the first aspect.

[0027] With the present disclosure, the holdover time budget could be decided based on actual network conditions dynamically, so that the time error budget to prolong the holdover duration may be maximized and the service impact in mobile network in case of synchronization source failure may be minimized.Brief Description of the Drawings

[0028] These and other objects, features and advantages of the disclosure will become apparent from the following detailed description of illustrative embodiments thereof, which are to be read in connection with the accompanying drawings.

[0029] FIG. 1A and FIG. 1B are diagrams illustrating existing scenarios of PTP clock synchronization;

[0030] FIG. 2 is a diagram illustrating another existing scenario of PTP clock synchronization;

[0031] FIG. 3 is a diagram illustrating yet another existing scenario of PTP clock synchronization;

[0032] FIG. 4A and FIG. 4B are diagrams illustrating a TS network comprising a network device according to an embodiment of the present disclosure;

[0033] FIG. 5 is a flowchart of an exemplary method performed by a network device according to an embodiment of the present disclosure;

[0034] FIG. 6 is a block diagram illustrating a network device according to an embodiment of the present disclosure;

[0035] FIG. 7 is a diagram illustrating a computer readable storage medium according to an embodiment of the present disclosure;

[0036] FIG. 8 is a block diagram illustrating a network device according to another embodiment of the present disclosure;

[0037] FIG. 9 is a flowchart of an exemplary method performed by the network device illustrated in FIG. 8 according to an embodiment of the present disclosure.Detailed Description

[0038] Hereinafter, the present disclosure is described with reference to embodiments shown in the attached drawings. However, it is to be understood that those descriptions are just provided for illustrative purpose, rather than limiting the present disclosure. Further, in the following, descriptions of known structures and techniques are omitted so as not to unnecessarily obscure the concept of the present disclosure.

[0039] Those skilled in the art will appreciate that the term “exemplary” is used herein to mean “illustrative” or “serving as an example” and is not intended to imply that a particular embodiment is preferred over another or that a particular feature is essential. Likewise, the terms “first” and “second” and similar terms, are used simply to distinguish one particular instance of an item or feature from another, and do not indicate a particular order or arrangement, unless the context clearly indicates otherwise. Further, the term “step” as used herein, is meant to be synonymous with “operation” or “action” . Any description herein of a sequence of steps does not imply that these operations must be carried out in a particular order, or even that these operations are carried out in any order at all, unless the context or the details of the described operation clearly indicates otherwise.

[0040] Conditional language used herein, such as "can" , "might " , "may" , "e.g. " and the like, unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements and / or states. Thus, such conditional language is not generally intended to imply that features, elements and / or states are in any way required for one or more embodiments or that one or more embodiments necessarily include logic for deciding, with or without author input or prompting, whether these features, elements and / or states are included or are to be performed in any particular embodiment. Also, the term "or" is used in its inclusive sense (and not in its exclusive sense) so that when used, for example, to connect a list of elements, the term "or" means one, some, or all of the elements in the list. Further, the term "each" as used herein, in addition to having its ordinary meaning, can mean any subset of a set of elements to which the term "each" is applied.

[0041] The term “based on” is to be read as “based at least in part on” . The term “one embodiment” and “an embodiment” are to be read as “at least one embodiment” . The term “another embodiment” is to be read as “at least one other embodiment” . Other definitions, explicit and implicit, may be included below. In addition, language such as the phrase "at least one of X, Y and Z" , unless specifically stated otherwise, is to be understood with the context as used in general to convey that an item, term, etc. may be either X, Y, or Z, or a combination thereof.

[0042] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limitation of example embodiments. As used herein, the singular forms “a” , “an” , and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” , “comprising” , “has” , “having” , “includes” and / or “including” , when used herein, specify the presence of stated features, elements, and / or components etc., but do not preclude the presence or addition of one or more other features, elements, components and / or combinations thereof. It will be also understood that the terms “connect (s) ” , “connecting” , “connected” , etc. when used herein, just mean that there is an electrical or communicative connection between two elements and they can be connected either directly or indirectly, unless explicitly stated to the contrary.

[0043] Of course, the present disclosure may be carried out in other specific ways than those set forth herein without departing from the scope and essential characteristics of the disclosure. One or more of the specific processes discussed below may be carried out in any electronic device comprising one or more appropriately configured processing circuits, which may in some embodiments be embodied in one or more Application-Specific Integrated Circuits (ASICs) . In some embodiments, these processing circuits may comprise one or more microprocessors, microcontrollers, and / or digital signal processors programmed with appropriate software and / or firmware to carry out one or more of the operations described above, or variants thereof. In some embodiments, these processing circuits may comprise customized hardware to carry out one or more of the functions described above. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.

[0044] Although multiple embodiments of the present disclosure will be illustrated in the accompanying Drawings and described in the following Detailed Description, it should be understood that the disclosure is not limited to the disclosed embodiments, but instead is also capable of numerous rearrangements, modifications, and substitutions without departing from the present disclosure that as will be set forth and defined within the claims.

[0045] Further, please note that although the following description of some embodiments of the present disclosure is given in the context of 5th Generation New Radio (5G NR) , the present disclosure is not limited thereto. In fact, as long as time synchronization is involved, the inventive concept of the present disclosure may be applicable to any appropriate communication architecture, for example, to Global System for Mobile Communications (GSM)  / General Packet Radio Service (GPRS) , Enhanced Data Rates for GSM Evolution (EDGE) , Code Division Multiple Access (CDMA) , Wideband CDMA (WCDMA) , Time Division -Synchronous CDMA (TD-SCDMA) , CDMA2000, Long Term Evolution (LTE) , Worldwide Interoperability for Microwave Access (WiMAX) , Wireless Fidelity (Wi-Fi) , etc. Therefore, one skilled in the arts could readily understand that the terms used herein may also refer to their equivalents in any other infrastructure. For example, the term “User Equipment” or “UE” used herein may refer to a mobile device, a mobile terminal, a mobile station, a user device, a user terminal, a wireless device, a wireless terminal, or any other equivalents. For another example, the term “eNodeB” or “eNB” used herein may refer to a base station, a base transceiver station, an access point, a hot spot, a NodeB, an Evolved NodeB, a gNB, a network element, or any other equivalents. Further, the term “node” used herein may refer to a UE, a functional entity, a network entity, a network element, a network equipment, a TS node, or any other equivalents.

[0046] Further, although the embodiments described below are given in the context of PTP protocol and ITU-T G. 8275.1 / 2 profile, the present disclosure is not limited thereto. In fact, the embodiments of the present disclosure may be applicable to any protocol and / or profile for time synchronization with appropriate modifications, adjustments, and / or changes which are known to one skilled in the art, if necessary.

[0047] Before the description of the embodiments of the present disclosure is given in details, some definitions of the terms will be explained below to facilitate the understanding of the present disclosure.PTP: Precision Time Protocol is a 2-way time transfer protocol with hardware time stamping to  transport the timing within Ethernet frames or IP packets. It was defined in the IEEE 1588 standard that describes a master-slave architecture for timing distribution.Clock: A node participating in PTP that is capable of providing a measurement of the passage of  time since a defined epoch. Holdover: A clock previously synchronized / syntonized to another clock (normally a primary  reference or a master clock) but now free-running based on its own internal oscillator, whose frequency is being adjusted using data acquired while it had been synchronized / syntonized to the other clock. It is said to be in holdover or in the holdover state, as long as the clock is within its accuracy requirements.

[0048] As defined in ITU-T G. 8275.1 chapter 6.4, ITU-T proposes a configuration (defaultDS. holdoverWithinSpecificationCapability) for supported mode for holdover. · holdoverWithinSpecificationDuration mode It is a parameter used to configure the duration of the holdover-within-specification mode in  minutes. · holdoverWithinSpecificationTimeErrorThreshold It is a parameter used to configure the Time Error threshold of holdover-within-specification mode  in nanoseconds.

[0049] For both modes, when it is configured, the holdover duration is almost fixed. It will have some issues for the existing scenarios of PTP clock synchronization shown in FIG. 1A to FIG 3.

[0050] FIG. 1A and FIG. 1B are diagrams illustrating existing scenarios of PTP clock synchronization. FIG. 1A shows Assistant Partial Timing Service (APTS) on a Cell Site Router (CSR) in backhaul in a TS network or domain 10. The TS network or domain 10 may comprise multiple TS nodes or members, such as, a Global Navigation Satellite System (GNSS) 11, baseband 12, a Router 13 working as an Assistant Telecom Boundary Clock (TB-C-A) , a grand master clock (e.g. T-GM 14) . As shown in FIG. 1A, the baseband 12 may utilize the G8275.1 clock from the Router 13 as an active reference clock. The Router 13 may utilize the GNSS 11 as an active reference clock, while utilize the G8275.2 from the remote T-GM 14 as a backup reference clock. The backhaul may be PTP unaware.

[0051] FIG. 1B shows T-GM or T-GM integrated with Hub Site Router (HSR) in O-RAN Lower Layer Split (LLS) -C3 config in a TS network or domain 100. The TS network or domain 100 may comprise multiple TS nodes or members, such as a GNSS 110 behaving as a Primary Reference Time Clock (PRTC) , a T-GM, a Partial-Support Telecom Boundary Clock (T-BC-P) or an Interworking Function (IWF) 120, an HSR that aggregates Backhaul traffic (HSR-B) 130 working as a T-BC, an HSR 140 working as a T-BC , a network (NW) grand master clock (GM) 160, and multiple O-RUs 141-1, 141-2 and 141-3 working as Telecom Time Slave Clock (T-TSC) . The TS nodes may be synchronized by Full Time Support (FTS) PTP or APTS PTP. The Core NW may be a Partial Timing Support Network.

[0052] In both scenarios in FIG. 1A and FIG. 1B, the Router 13 in FIG 1A or T-GM 120 in FIG. 1B have two clock sources, the GNSS as a primary source, and G. 8275.2 clock from a remote GM as a backup. This is a typical APTS use case.

[0053] Considering the network time error limit defined in G. 8271.1 and G. 8271.2, it is 1100 ns at reference point C. For O-RAN LLS-C3 config, the time error limit at O-RU User Network Interface (UNI) is also 1100 ns. It must consider the worst case of network for determining the holdover time budget (e.g. based on the longest synchronization chain or maximum accumulated time error on the synchronization chain) . In these cases, a G. 8275.2 clock may have a considerable time error on the PTP unaware network, and the holdover time budget should be configured as a small value or even 0 ns.

[0054] However, in case that the G. 8275.2 clock failed first, the TS network is synchronized to the GNSS. Then when the GNSS clock is also down, the Router 13 in FIG. 1A or the T-GM 120 in FIG. 1B will enter a holdover state. With the GNSS clock as the reference, there is negligible time error contribution. In these two scenarios in FIG. 1A and FIG. 1B, no or very small holdover time budget is left for the Router 13 or the T-GM 120 when the GNSS clock goes down since the holdover time budget is set to 0 ns or a small value.

[0055] FIG. 2 shows another existing scenario of PTP clock synchronization in a ring TS network or domain 200. The network 200 may comprise multiple TS nodes or members, such as a GM 210, a router R1 220, a router R6 230 and a router R7 240. Normally, the R1 220 distributes PTP information to the R7 240. The accumulated time error on the R7 240 is the time error from the GM 210 and the R1 220. When the link between the R1 220 and the R7 240 fails, the R7 240 will switch to the R6 230 for synchronization, and further will be synchronized to the GM 210 via many hops. The accumulated time error on the R7 240 will change a lot depends on the size of the ring network. The configuration of the holdover time budget or duration should consider the worst case. Therefore, a same problem arises as that in the scenarios shown in FIG. 1A and FIG. 1B. If the line between the R6 230 and the R7 240 failed first, then the link between the R1 220 and the R7 240 failed, the holdover capability would not be utilized.

[0056] FIG. 3 illustrates yet another existing scenario of PTP clock synchronization. As shown in FIG. 3, take O-RAN LLS-C3 config for example, a TS network or domain 300 may comprise multiple TS nodes, such as multiple O-RUs 311-1 to 311-4 working as T-TSC, multiple CSRs 310-1 and 310-2 working as T-BS, a T-GM 320 working as PRTC, an HSR 330 working as T-BC, multiple HSRs that distribute Fronthaul traffics to O-DUs (HSR-F) 340-1 and 340-2 working as T-BC, multiple O-DUs plus O-RUs 341-1 to 341-4, and an HSR-B 350. When the HSR 330 loses all clock references, it will enter the Holdover-In-Spec sate and send e.g., clock class 135 to downstream TS nodes, such as a CSR 310-1 and a CSR 310-2. If the link between the CSR 310-1 and the HSR 330 failed, as descripted in G. 8275.1 Appendix VII, the CSR 310-1 may have no idea how much time error consumed on the HSR 330. Then the CSR 310-1 may enter the Holdover-Out-Spec state directly. However, there may be still time error budget that could be used for holdover in this case. This will shorter the holdover duration.

[0057] It is an object of the present disclosure to provide a network device and method therein for providing a flexible holdover capability, capable of solving or at least mitigating at least one of the above problems.

[0058] To explain the flexible holdover capability, exemplary embodiments will be described in details with reference to FIG. 4 to FIG. 9.

[0059] ITU-T G. 8271.1 and G. 8271.2 define the network limit at reference A, B, C and D. O-RAN WG4 also defines the frequency and time error budget allocation for different topology configurations for LLS-C1, LLS-C2, LLS-C3 and LLS-C4.

[0060] It is provided an optional feature (Enhanced Accuracy Metrics) for propagating estimates of various inaccuracy components affecting the overall expected PTP instance time accuracy in Chapters 16.12 of IEEE 1588-2019, which is incorporated herein by its entirety. The TLV is defined in Table 1 below. The metrics will be updated and available for utilization at the various points along the PTP timing chain. That is, the metrics will be updated and available from the grandmaster instance, up to a leaf PTP instance in the synchronization tree. Table 1 ENHANCED_ACCURACY_METRICS TLV format

[0061] For a PTP clock, from robustness point of view, there are usually more than one clock sources for protection. Difference clock sources may have different accumulated time errors along its PTP timing chain.

[0062] With this solution, a flexible holdover capability is introduced. It is different from the existing fixed holdover time budget or duration. The holdover time budget or duration could be based on the time error limit on the configuration at the network or network node itself and the received Enhanced Accuracy Metrics TLV of different resources.

[0063] FIG. 4A and FIG. 4B are diagrams illustrating a TS network comprising a network device according to an embodiment of the present disclosure. As shown in FIG. 4A and FIG. 4B, take O-RAN LLS-C3 config for example, a Switch B 460 and a Switch C 450 are connected to an O-RU 470-1 and O-RU 470-2 separately as a remote switch. The Switch B 460 and the Switch C 450 may get PTP information (G. 8275.1) from a Hub Switch A 440. There are 3 clock sources for the Switch A 440: · A local GNSS 410 · An ITU-T G. 8275.1 PTP source 420 · An ITU-T G. 8275.2 PTP source 430 from the remote GM via a PTP non-aware network

[0064] All switches support updating and initializing the Enhanced Accuracy Metrics TLV. According to O-RAN WG4 Control, User and Synchronization (CUS) standard, the time error limit at O-RU UNI is 1100 ns. When the link the between the Switch B 460 and the Switch A 440 or the link between the Switch C 450 and the Switch A 440 fails, if the primary source of the Switch A 440 is the GNSS 410, as the time inaccuracy of GNSS is 100 ns, the Switch A 440 will send a TLV with 100ns to the Switch B 460 or to the Switch C 450. The holdover time budget on the Switch B 460 or the Switch C 450 may be calculated by the following formula (1) : 1100 ns (Time error limit) –100 ns (Received TLV) = 1000 ns   (1)

[0065] If the primary source of the Switch A 440 is ITU-T G. 8275.1, as the time inaccuracy of the ITU-T G. 8275.1 is 500ns, assuming time error introduced by the Switch A 440 15 ns, then the holdover time budget on the Switch B 460 or the Switch C 450 may be calculated by the following formula (2) : 1100 ns (Time error limit) –515 ns (Received TLV) = 585 ns   (2)

[0066] If the primary source of the Switch A 440 is ITU-T G. 8275.2, the Enhanced Accuracy Metrics TLV is not supported for G. 8275.2. Therefore, a command to determine the path time error, for example, a ptpPathTimeError may be provided to the operator to configure the time error consumed on the G. 8275.2 path. Assuming the time error introduced by the Switch A is 440 is 15 ns, the ptpPathTimeError is configured as 1000ns, the holdover time budget on the Switch B 460 or the Switch C may be calculated by the following formula (3) : 1100 ns (Time error limit) –1015 ns (Received TLV) = 85 ns  (3)

[0067] The calculation of the Enhanced Accuracy Metrics TLV is defined by the following formula (4) , which is the formula IV-13 in Appendix IV of ITU-T G. 8271.1 / Y. 1366.1 (11 / 2022) , which is incorporated herein by reference in its entirety.

[0068] Based on the above analysis, the Switch B 460 or the Switch C 450 may get different holdover time budget when the primary source of the Switch A 440 is different. With this solution, it could make full use of time error allocation on the network to reduce service impact. In addition, it could also lengthen the PTP duration in the current PTP scenario in FIG. 3.

[0069] As show in FIG. 4B, when the Switch A 440 loses all clock references and enters a holdover state, if there is no holdover time budget configured on the Switch A 440, the Switch A 440 may still update and send the Enhanced Accuracy Metrics TLV to the Switch B 460 or the Switch C 450 even if it is in the Holdover-Out-Spec state. However, the Switch B 460 or the Switch C 450 may evaluate the network time error limit introduced by itself and the received TLV to decide if it could be kept in the Holdover-In-Spec state to make service still available.

[0070] If there is holdover time budget configured on the Switch A 440, the Switch A 440 is in the Holdover-In-Spec state, and the link between the Switch C 450 and the Switch A 440 failed, the Switch C 450 may have no idea how much time error is consumed on the Switch A 440 with the existing solution. With the present solution, the Switch C 450 may evaluate whether it could enter the Holdover-In-Spec state to make service still available utilizing the network time error limit introduced by itself and the received TLV. Therefore, it will make full use of the time error allocation on the network.

[0071] Please note that although FIG. 4A and FIG. 4B show only certain nodes and certain links between the TS nodes, such as the Switch A 440, Switch B 460 and Switch C 450, the present disclosure is not limited thereto, and there may be additional nodes, less nodes, different nodes, and / or additional links, less links or different links therebetween.

[0072] Please note that the specific values (e.g., 1100 ns, 100ns, 1000ns, 15ns, 515ns, 585ns, 1015ns, 85ns, etc. ) , variables (e.g. ptpPathTimeError, etc. ) are merely examples to explain the principle of the present disclosure, and the present disclosure is not limited thereto. In fact, in some other embodiments, different values, variables or any combinations thereof may be used.

[0073] FIG. 5 is a flow chart of an exemplary method 500 performed by a network device for PTP holdover according to an embodiment of the present disclosure. The method may be performed by a network device (e.g. the Switch B 460 or the Switch C 450 shown in FIG. 4A and FIG. 4B, or the network device 600 shown in FIG. 6) . The method 500 may comprise an operation S540 and operation S560. However, the present disclosure is not limited thereto. In some other embodiments, the method 500 may comprise more operations, less operations, different operations or any combination therefore. Further the operations of the method 500 may be performed in a different order than that described herein. Further, in some embodiments, an operation in the method 500 may be split into multiple sub-operations and performed by different entities, and / or multiple operations in the method 500 may be combined into a single operation.

[0074] At operation S540, the network device may obtain from a TS node a first indication indicating an accumulated time error along a first PTP timing chain, or along a second PTP timing chain. The first PTP timing chain and the second PTP timing chain may be different timing chains.

[0075] In an embodiment of the present disclosure, the first timing chain may be the PTP timing chain comprising a PTP source of GNSS, a G. 8275.1 source, or a G. 8275.2 source. The second timing chain may be the PTP timing chain comprising a different PTP source with that of the first timing chain.

[0076] In another embodiment of the present disclosure, the first timing chain and the second timing chain may be comprised in a ring network. The first timing chain and the second timing chain may comprise different TS nodes.

[0077] In an embodiment of the present disclosure, the first indication may be an Enhanced synchronization accuracy metrics Type-Length-Value (TLV) . For example, the first indication may be the Enhance Accuracy Metrics TLV shown in Table 1.

[0078] In an embodiment of the present disclosure, the first indication may be determined based at least on a second indication determined at the TS node.

[0079] In an embodiment of the present disclosure, the TS node may have an active PTP source which is received from a Global Navigation Satellite System (GNSS) , or which is a reference clock conforming to ITU-T G. 8275.1.

[0080] In an embodiment of the present disclosure, the second indication may be an Enhanced Accuracy Metrics TLV with a fixed value.

[0081] In an embodiment of the present disclosure, the TS node may have an active PTP source which is a reference clock conforming to ITU-T G8275.2.

[0082] In an embodiment of the present disclosure, the second indication may be pre-configured.

[0083] In an embodiment of the present disclosure, the second indication may be an accumulated time error along the first PTP timing chain, or along the second PTP timing chain, which is received at the TS node.

[0084] In an embodiment of the present disclosure, the first indication may be further determined based on a time error introduced by the TS node.

[0085] In an embodiment of the present disclosure, the time error limit may be defined by ITU-T G.8271.1 and / or ITU-T G. 8271.2.

[0086] At operation S560, the network device may determine a holdover time budget based on the first indication and a time error limit at the network device.

[0087] In an embodiment of the present disclosure, before the operation S540, the method may further comprise an operation S520. At operation S520, the network device may determine a flexible holdover capability is enabled.

[0088] In an embodiment of the present disclosure, after the operation S560, the method may further comprise an operation S580. At operation S580, the network device may enter a holdover state with the holdover time budget.

[0089] In an embodiment of the present disclosure, the holdover state may be a Holdover-In-Specification state or a Holdover-Out-Of-Specification state.

[0090] In an embodiment of the present disclosure, the TS node may be in a holdover state.

[0091] In an embodiment of the present disclosure, all members tracking a PTP source in the first PTP timing chain or in the second PTP timing chain may support initiating and / or updating the Enhanced Accuracy Metrics TLV.

[0092] In an embodiment of the present disclosure, the network device may be configured to act as a boundary clock, BC.

[0093] FIG. 6 is a diagram showing an network device 600 in accordance with some embodiments.

[0094] As shown in FIG. 6, an network device 600 may comprise processing circuitry 605 and a memory 610. The memory 610 may contain instructions 615 executable by the processing circuitry 605, whereby the network device 600 may be operative to implement actions or operations according to any of the above-mentioned embodiments described with reference to FIG. 4A to FIG. 5.

[0095] In some embodiments, the network device 600 may operate as a base station, a router, or a switch operative to perform the method 500 and / or any of the described embodiments thereof. In some embodiments, the network device 600 may operate as a communication device operative to perform the method 500 and / or any of the described embodiments thereof.

[0096] The processing circuitry 605 may be any kind of processing component, such as one or more microprocessing circuitry or microcontrollers, as well as other digital hardware, which may include digital signal processing circuitrys (DSPs) , special-purpose digital logic, and the like. The memory 610 may be any kind of storage component, such as read-only memory (ROM) , random-access memory, cache memory, flash memory devices, optical storage devices, etc.

[0097] FIG. 7 is a diagram showing a computer readable storage medium 700 in accordance with some embodiments.

[0098] As shown in FIG. 7, the computer readable storage medium 700 comprising instructions 615 which when executed by processing circuitry of a device, cause the device to perform any above-mentioned embodiments described with reference to FIG. 4A, FIG. 4B and FIG. 5.

[0099] The computer readable storage medium 700 may be configured to include memory such as RAM, ROM, programmable read-only memory (PROM) , erasable programmable read-only memory (EPROM) , electrically erasable programmable read-only memory (EEPROM) , magnetic disks, optical disks, floppy disks, hard disks, removable cartridges, or flash drives.

[0100] In some embodiments, an apparatus capable of performing the actions, e.g., of the procedure described earlier in conjunction with any of FIG. 4A, FIG. 4B and FIG. 5 may comprise means for performing the respective operations. The means may be implemented in any suitable form. For example, the means may be implemented in circuitry or a software module.

[0101] In some embodiments, a computer program product is provided. The computer program product may comprise instructions which when executed by processing circuitry, cause the network device to perform the actions, e.g., of the procedure described earlier in conjunction with any of FIG. 4A, FIG. 4B and FIG. 5.

[0102] As such, it should be appreciated that at least some aspects of the exemplary embodiments of the disclosure may be practiced in various components such as integrated circuit chips and modules. It should thus be appreciated that the exemplary embodiments of this disclosure may be realized in an apparatus that is embodied as an integrated circuit, where the integrated circuit may comprise circuitry (as well as possibly firmware) for embodying at least one or more of a data processor, a digital signal processor, baseband circuitry and radio frequency circuitry that are configurable so as to operate in accordance with the exemplary embodiments of this disclosure.

[0103] It should be appreciated that at least some aspects of the exemplary embodiments of the disclosure may be embodied in computer-executable instructions, such as in one or more program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types when executed by a processor in a computer or other device. The computer executable instructions may be stored on a computer readable medium such as a hard disk, optical disk, removable storage media, solid state memory, RAM, etc. As will be appreciated by one skilled in the art, the function of the program modules may be combined or distributed as desired in various embodiments. In addition, the function may be embodied in whole or in part in firmware or hardware equivalents such as integrated circuits, field programmable gate arrays (FPGA) , and the like.

[0104] FIG. 8 is a block diagram illustrating a network device according to another embodiment of the present disclosure. As shown in FIG. 8, an overall system architecture comprising both hardware and software implementation of a network device is illustrated.

[0105] In FIG. 8, a PTP management module 810, a Holdover budget control module 820, a PTP protocol module 830 and a PTP clock recover module 840 may be implemented by a software, a computer program, or instructions, etc. The PTP management module 810 may provide two PTP inputs, one is a configured fixed holdover time budget or duration which is supported in the existing solution. The other is a flexible configuration introduced by the present disclosure, which is a flexible holdover capability and a network time error limit configuration.

[0106] The holdover time budget control module 820 may use the PTP inputs from the PTP management module 810 to determine the holdover time budget. When the flexible holdover capability is not enabled or the network time error limit is not configured, the network device will use a fixed holdover time budget or duration in the existing solution. While the flexible holdover capability is enabled and network time error limit is configured, the flexible holdover functionality would take effect.

[0107] The Holdover budget control module 820 may update the received Enhanced Accuracy Metrics TLV or configured ptpPathTimeError to calculate the holdover time budget. That means in the case of that an active reference is switched, the TLV or configured ptpPathTimeError of a new primary source may be updated from the PTP Protocol module 830 to the Holdover budget control module 820. At same time, the Holdover budget control module 820 may update the calculated holdover time budget to the PTP clock recover module 840. The PTP Protocol module 830 may send a best time transmitter after performing a Best Time Clock Algorithm (BTCA) and timestamps to the PTP clock recover module 840.

[0108] When all clock sources fail, the PTP clock recover module 840 may use the latest holdover time budget updated by the Holdover budget control module 820 for the holdover functionality.

[0109] As illustrated in FIG. 8, the network device 800 may comprise a forwarding chipset 850 and a Digital Phase-Locked Loop (DPLL) 860. The forwarding chipset 850 may comprise a Timestamp unit 870. The Timestamp unit 870 may stamp PTP packets with timestamps. The DPLL 860 may adjust time / phase and frequency based on the input from the PTP clock recover module 840. The DPLL 860 may also synchronize the recovered PTP clock to the Time stamp unit 870.

[0110] Please be noted the software and hardware implementation illustrated in FIG. 8 is only for the purpose of describing particular embodiments and is not intended to be limitation of example embodiments. The components may be alternatively implemented by hardware, or software, or a combination of both.

[0111] FIG. 9 is a flowchart of an exemplary method performed by the network device illustrated in FIG. 8 according to an embodiment of the present disclosure. At bock 910, the network device powers on. At block 920, the network device may be initialized, and the system and ports are up. For example, the software applications may perform initiation and configuration. At bock 930, it may determine whether the flexible holdover capability is enabled or not. When flexible holdover capability is not enabled or the network time error limit is not configured, the network device may use an existing solution to have a fixed holdover time budget or duration. When the flexible holdover capability is enabled and network time error limit is configured, it may use received Enhanced Accuracy Metrics TLV or the configured ptpPathTimeError to calculate the holdover time budget. At block 940, PTP packets are received. At block 950, a Best TimeTransmitter after BTCA is selected. For example, when the system receives a PTP packet, take the PTP announce packet for example, the grandmaster information may be used by BTCA algorithm to select the best TimeTransimetter clock for synchronization. Take PTP event packet for example, timestamps may be performed and send to a filter for frequency error and time error calculation. At block 960, all clock references fail. At block 970, a holdover time budget is calculated. For example, it may calculate the holdover time budget based on different conditions, utilizing the updated TLV received or configured ptpPathTime error from the Block 950.

[0112] At block 980, the clock may be recovered based on the holdover time budget calculated. The hardware and Digitally Controlled Oscillator (DCO) may be controlled by the recovered clock. When there is an available clock resource, it may calculate the time offset and frequency offset according to the received timestamp. When all references fail, it will enter a holdover state and using flexible holdover time budget for holdover duration.

[0113] The disclosure has been described above with reference to embodiments thereof. It should be understood that various modifications, alternations and additions can be made by those skilled in the art without departing from the spirits and scope of the disclosure. Therefore, the scope of the disclosure is not limited to the above particular embodiments but only defined by the claims as attached.

Claims

1.A method (500) performed by a network device (450, 460) for flexible Precise Time Protocol (PTP) holdover, the method (500) comprising:obtaining (540) from a Time Synchronization (TS) node (440) a first indication indicating an accumulated time error along a first PTP timing chain, or along a second PTP timing chain; anddetermining (560) a holdover time budget based on the first indication and a time error limit at the network device (450, 460) ;wherein the first PTP timing chain and the second PTP timing chain are different PTP timing chains.2.The method (500) of claim 1, wherein the first indication is an Enhanced Accuracy Metrics Type-Length-Value (TLV) .3.The method (500) of claim 1 or 2, wherein the first indication is determined based at least on a second indication determined at the TS node.4.The method (500) of claim 3, wherein the TS node (440) has an active PTP source which is received from a Global Navigation Satellite System (GNSS) (410) , or which is a reference clock conforming to ITU-T G. 8275.1 (420) .5.The method (500) of claim 4, wherein the second indication is an Enhanced synchronization accuracy metrics TLV with a fixed value.6.The method (500) of claim 3, wherein the TS node (440) has an active PTP source which is a reference clock conforming to ITU-T G8275.2 (430) .7.The method (500) of claim 6, wherein the second indication is pre-configured.8.The method (500) of claim 7, wherein the second indication is an accumulated time error along the first PTP timing chain, or along the second PTP timing chain, which is received at the TS node (440) .9.The method (500) of any one of claims 3-8, wherein the first indication is further determined based on a time error introduced by the TS node (440) .10.The method (500) of any of claims 1-9, wherein the time error limit is defined by ITU-T G. 8271.1 and / or ITU-T G. 8271.2.11.The method (500) of any of claims 1-10, further comprising:entering (580) a holdover state with the holdover time budget.12.The method (500) of claim 11, wherein the holdover state is a Holdover-In-Specification state or a Holdover-Out-Of-Specification state.13.The method (500) of any of claims 1 to 12, wherein the TS node (440) is in a holdover state.14.The method (500) of any of claims 1-13, further comprising:determining (520) a flexible holdover capability is enabled.15.The method (500) of any of claims 2-14, wherein all members tracking a PTP source in the first PTP timing chain or in the second PTP timing chain support initiating and / or updating the Enhanced Accuracy Metrics TLV.16.The method (500) of any of claims 1-15, wherein the network device (450, 460) is configured to act as a boundary clock, BC.17.The method (500) of any of claims 1-16, where in the network device (450, 460) is one of the following:a router;a switch; ora base station.18.A network device (600, 450, 460) for flexible Precise Time Protocol (PTP) holdover, comprising:processing circuitry (605) ; anda memory (610) , the memory (610) containing instructions (615) executable by the processing circuitry (605) , whereby the network device (600) is operative to:obtain (540) from a time synchronization (TS) node (440) a first indication indicating an accumulated time error along a first PTP timing chain, or along a second PTP timing chain; anddetermine (560) a holdover time budget based on the first indication and a time error limit at the network device (600, 450, 460) ;wherein the first PTP timing chain and the second PTP timing chain are different PTP timing chains.19.The network device (600, 450, 460) of claim 18, wherein the network device (600, 450, 460) is further operative to implement the method according to any of claims 2-17.20.A computer program, comprising instructions, when executed by processing circuitry, cause the processing circuitry to carry out the method according to any of claims 1-17.21.A computer-readable medium (700) comprising instructions (615) that, when executed by processing circuitry, cause the processing circuitry to carry out the method according to any of claims 1-17.