Phase difference measurement method of asynchronous network, electronic equipment and storage medium
By determining the data transmission benchmark duration of each network element in the OTN network and performing vector operations, the phase difference calculation problem across multi-hop asynchronous networks is solved, and the accuracy of frequency offset estimation and clock recovery is achieved.
Patent Information
- Application Number
- CN202410291320.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2025-09-19
AI Technical Summary
In the fgOTN low-speed bearer channel of the OTN network, traditional CDR clock recovery cannot be stable due to delay jitter. Existing methods cannot directly calculate the phase difference across multi-hop asynchronous networks, and cannot achieve frequency offset estimation and clock recovery.
By determining the data transmission benchmark duration of the first network element, the data transmission benchmark duration of each network element is calculated in turn, and vector operations are used to obtain the phase difference of each network element relative to the measurement benchmark duration of the entire network, thereby realizing phase difference calculation across multi-hop asynchronous networks.
It achieves the phase difference calculation accuracy across multi-hop asynchronous networks, supports frequency offset estimation and clock recovery, and ensures that the last network element can directly obtain the frequency offset estimation and clock recovery of the first network element.
Smart Images

Figure CN120675627A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of optical transport networks, and in particular to a phase difference measurement method, electronic equipment, and storage medium for an asynchronous network. Background Art
[0002] For the fgOTN (fine-grain optical transport network) low-speed bearer channel of the OTN (Optical Transport Network) network, due to the delay jitter generated during the processing of the intermediate transmission channel, if the traditional CDR (clock recovery circuit) is used directly for clock recovery at the end network element, the delay jitter is too large to restore a stable clock signal. Therefore, the fgOTN standard proposes clock recovery based on the PD (phase difference) value, but the standard does not provide a clear implementation method for PD detection. Summary of the Invention
[0003] Embodiments of the present disclosure provide a method for measuring a phase difference in an asynchronous network, an electronic device, and a storage medium.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for measuring a phase difference in an asynchronous network. The method may include:
[0005] Determine a data transmission benchmark duration for the first network element in the preset data transmission path to transmit the preset data, as the benchmark duration for measurement of the entire network;
[0006] Based on the data transmission benchmark duration of the first network element, determine the data transmission benchmark duration of the (i+1)th network element according to the data transmission benchmark duration of the i-th network element in the data transmission path; i is a positive integer, i is less than or equal to the total number of network elements in the data transmission path;
[0007] Obtaining a phase difference of the (i+1)th network element relative to the whole network measurement reference duration according to the data transmission reference duration of the (i+1)th network element and the actual transmission duration of the (i+1)th network element transmitting the preset data;
[0008] The phase difference of the data transmission path is determined according to the phase difference corresponding to each network element.
[0009] In a second aspect, an embodiment of the present disclosure provides an electronic device, the electronic device comprising:
[0010] An electronic device, characterized in that the electronic device comprises:
[0011] one or more processors;
[0012] a memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the phase difference measurement method for an asynchronous network;
[0013] One or more input / output (I / O) interfaces are connected between the processor and the memory and configured to implement information interaction between the processor and the memory.
[0014] In a third aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for measuring the phase difference of an asynchronous network is implemented.
[0015] In the disclosed embodiment, based on determining the data transmission benchmark duration for the first network element to transmit preset data, the data transmission benchmark duration for the i+1th network element is determined sequentially based on the data transmission benchmark duration for the i-th network element in the data transmission path. The data transmission benchmark duration corresponding to each network element in the data transmission path can be sequentially obtained, thereby providing a basis for calculating the phase difference for each network element. Therefore, the phase difference of the i+1th network element relative to the network-wide measured benchmark duration can be obtained based on the data transmission benchmark duration of the i+1th network element and the actual transmission duration of the preset data transmitted by the i+1th network element. The total phase difference of the data transmission path can be determined based on the phase difference corresponding to each network element. By basing the phase difference calculation for all network elements in the network on a unified benchmark duration, the phase difference between any network elements in the network can be easily obtained through vector operations. Therefore, through the above-described embodiment, the phase difference between the first and last network elements can be directly obtained through simple processing, thereby implementing phase difference calculation across multi-hop asynchronous networks while ensuring phase difference calculation accuracy. This provides a technical foundation for frequency offset estimation and clock recovery across multi-hop asynchronous networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In the accompanying drawings of the embodiments of the present disclosure:
[0017] Figure 1 A flow chart of a method for measuring phase difference in an asynchronous network provided by an embodiment of the present disclosure;
[0018] Figure 2 Schematic diagram of GMP mapping of CBR services to fgODU in related technologies;
[0019] Figure 3 A flowchart of a method for determining a reference duration for data transmission of an i+1th network element according to the reference durations for data transmission of the i-th network element other than the first network element in a data transmission path provided by an embodiment of the present disclosure;
[0020] Figure 4A schematic diagram of the reference duration of data transmission for the four network elements NE0, NE1, NE2, and NE3 provided in an embodiment of the present disclosure;
[0021] Figure 5 A block diagram of the electronic device provided in an embodiment of the present disclosure;
[0022] Figure 6 A block diagram of the computer-readable storage medium provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the communication perception data processing method and computer-readable storage medium provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0024] The present disclosure will be described more fully hereinafter with reference to the accompanying drawings, but the illustrated embodiments may be embodied in different forms, and the present disclosure should not be construed as limited to the embodiments set forth below. Rather, these embodiments are provided so that the present disclosure will be thorough and complete and will fully understand the scope of the present disclosure to those skilled in the art.
[0025] The accompanying drawings of the embodiments of the present disclosure are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the detailed embodiments, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing the detailed embodiments with reference to the accompanying drawings.
[0026] The present disclosure may be described with reference to plan views and / or cross-sectional views by way of ideal schematic views of the present disclosure. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and / or tolerances.
[0027] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0028] The terms used in this disclosure are only used to describe specific embodiments and are not intended to limit the disclosure. As used in this disclosure, the term "and / or" includes any and all combinations of one or more related enumerated items. As used in this disclosure, the singular forms "a" and "the" are also intended to include plural forms, unless the context clearly indicates otherwise. As used in this disclosure, the terms "comprising" and "made of" specify the presence of the features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof.
[0029] Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meanings as those commonly understood by those skilled in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined in this disclosure.
[0030] For the fgOTN (fine-grain optical transport network) low-speed bearer channel of the OTN (Optical Transport Network) network, due to the delay jitter generated during the processing of the intermediate transmission channel, if the traditional CDR (clock recovery circuit) is used directly for clock recovery at the end network element, the delay jitter is too large to restore a stable clock signal. Therefore, the fgOTN standard proposes clock recovery based on the PD (phase difference) value, but the standard does not provide a clear implementation method for PD detection.
[0031] Some existing asynchronous network PD detection methods are as follows: in a series of continuous network elements, set the data transmission reference duration of the second network element, such as 10,000 preset time units (the time unit is the second network element system clock as the timing clock), based on the data transmission reference duration of the second network element, compare the actual transmission duration of the first network element with the data transmission reference duration of the second network element, and determine the phase difference between the second network element and the first network element. If the actual transmission duration of the first network element is 9999 time units (the time unit is the first network element system clock as the timing clock), the phase difference between the first network element and the second network element is: -1 / 10000UI (Unit Interval, unit time interval); similarly, when comparing the phase difference between the second network element and the third network element, set the data transmission reference duration of the third network element, such as 10,000 preset time units (other values can also be set, and the time unit uses the third network element system clock as the timing clock). Based on the data transmission reference duration of the third network element, compare the actual transmission duration of the second network element with the data transmission reference duration of the third network element to determine the phase difference between the third network element and the second network element. If the actual transmission duration of the second network element is 9999 time units (the time unit uses the second network element clock as the timing clock), the phase difference between the second network element and the third network element is: -1 / 1 0000UI; Using the same method, the phase difference of subsequent network elements can be calculated in sequence. This method uses the local clock to generate the reference detection period, so the calculated phase difference is the relative phase difference between the Nth network element and the N+1th network element. Since the network itself is an asynchronous network and the clocks are not synchronized, there is no fixed phase relationship between the system clocks of all network elements. The phase difference calculated by the above scheme only knows that the phase difference of the first network element relative to the second network element is: -1 / 10000UI, and the phase difference of the second network element relative to the third network element is: -1 / 10000UI. Assuming there is a fourth network element, similarly, assuming that the phase difference of the third network element relative to the fourth network element is: -1 / 10000UI. The above pairwise relative phase differences cannot be directly obtained through vector operations to obtain the phase difference of non-adjacent network elements. For example, the phase difference between the Nth network element and the N+1th network element is X, and the phase difference between the N+1th network element and the N+2th network element is Y. Since the reference clocks are different during the calculation of X and Y, X and Y cannot be directly added together, that is, the phase difference between the Nth network element and the N+2th network element cannot be directly and easily obtained.
[0032] Therefore, the PD detection result can reflect the PD difference between the detected and detecting adjacent network elements. For asynchronous networks spanning multiple hops, it is impossible to directly perform vector calculations to obtain the PD difference between the first and last network elements, and it is impossible to perform corresponding frequency offset estimation, clock recovery, and other actions.
[0033] Based on the above problems, the embodiment of the present disclosure proposes a PD detection method that can support cross-multi-hop asynchronous networks: the embodiment of the present disclosure determines the data transmission reference duration of the first network element to transmit preset data, and then determines the data transmission reference duration of the i+1th network element according to the data transmission reference duration of the i-th network element in the data transmission path; the data transmission reference duration corresponding to each network element in the data transmission path can be obtained in turn, thereby providing a calculation basis for the phase difference calculation of each network element, and therefore the phase difference of the i+1th network element relative to the entire network measurement reference duration can be obtained according to the data transmission reference duration of the i+1th network element and the actual transmission duration of the i+1th network element to transmit preset data; the total phase difference of the data transmission path is determined according to the phase difference corresponding to each network element. Through the above-mentioned embodiment scheme, the PD difference between the first and last network elements can be directly obtained through simple processing, thereby realizing the phase difference calculation across the multi-hop asynchronous network and ensuring the calculation accuracy of the phase difference. Moreover, the embodiment scheme disclosed in the present invention provides a technical basis for frequency deviation estimation and clock recovery across the multi-hop asynchronous network, so that the last network element can directly obtain the frequency deviation estimation relative to the first network element after crossing the multi-hop asynchronous network, and the last network element can directly realize the system clock recovery relative to the first network element after crossing the multi-hop asynchronous network.
[0034] The phase difference measurement method for an asynchronous network according to the embodiments of the present disclosure can be executed by any electronic device, such as a terminal device or server, that has an asynchronous network and requires clock synchronization. The terminal device may include, but is not limited to, an in-vehicle device, a user equipment (UE), a mobile device, a computing device, a wearable device, and the like, including, but not limited to, a cellular phone, a cordless phone, a personal digital assistant (PDA), a portable computer, and the like. The phase difference measurement method for an asynchronous network can be implemented by a processor invoking computer-readable program instructions stored in a memory, or by a server.
[0035] The following is a detailed introduction to the embodiments of the present disclosure.
[0036] The embodiment of the present disclosure provides a method for measuring phase difference in an asynchronous network. Figure 1 As shown, the method may include steps S11-S14:
[0037] S11 . Determine a data transmission benchmark duration for the first network element in a preset data transmission path to transmit preset data, and use it as a network-wide measurement benchmark duration.
[0038] S12. Based on the data transmission benchmark duration of the first network element, determine the data transmission benchmark duration of the (i+1)th network element according to the data transmission benchmark duration of the i-th network element in the data transmission path; i is a positive integer, i is less than or equal to the total number of network elements in the data transmission path;
[0039] S13, obtaining a phase difference of the i+1th network element relative to the whole network measurement reference duration based on the data transmission reference duration of the i+1th network element and the actual transmission duration of the preset data transmitted by the i+1th network element;
[0040] S14. Determine the phase difference of the data transmission path according to the phase difference corresponding to each network element.
[0041] Phase difference (PD) detection technology uses clock A (typically the local system clock) to detect clock B within a certain period T. The phase difference between clocks B and A during this detection period is the PD. This PD can reflect the phase difference between quasi-isochronous clocks or the frequency difference between non-isochronous clocks.
[0042] In the embodiment of the present disclosure, the data transmission path may include but is not limited to multiple fgODU (Fine Grain Optical Data Unit) bearer pipes; the bearer pipes are carried by N (N is a positive integer) OTN network elements.
[0043] In the embodiments of the present disclosure, the solutions of the embodiments of the present disclosure may be described based on an asynchronous network such as a multi-hop OTN (Optical Transport Network).
[0044] In the embodiment of the present disclosure, Figure 2 As shown, the CBR (Constant Bit Rate) service GMP (Generic Mapping Procedure) is mapped to fgODU and then transmitted from NE0 to NE3. NE3 needs to restore the CBR service rate, which depends on the recovery of the fgODU rate (synchronized with the NE0 system clock). The rate recovery of the fgODU service depends on the statistical phase difference of the system clock of NE3 relative to NE0. The embodiment of the present disclosure can solve the end-to-end phase difference statistics of the asynchronous network from NE0 to NE3.
[0045] In the embodiment of the present disclosure, Figure 2As shown in the figure, it includes four network elements (NE0, NE1, NE2, and NE3). NE0 can be used as the first network element, NE1 and NE2 are intermediate network elements, and NE3 is the last network element. In NE0, CBR services are asynchronously mapped (such as GMP) to fgODUs, which are then mapped to ODUs via fgODUs. In NE1, ODUs are demapped to fgODUs, which are then scheduled via fgOTN services and mapped to ODUs via fgODUs. In NE2, ODUs are demapped to fgODUs, which are then scheduled via fgOTN services and mapped to ODUs via fgODUs. In NE3, ODUs are demapped to fgODUs, which are then mapped to CBR services via fgODUs for output.
[0046] In the disclosed embodiment, for the first network element: service processing uses the local system clock, and supports asynchronous mapping of external customer CBR services (such as GMP) to fgODU and other pipeline carriers; the mapping overhead can carry interface service clock related information (refer to the Cm and Cnd overheads in the G.709 standard), and fgODU and other carrier pipelines are synchronized with the local system clock.
[0047] In the disclosed embodiment, for the intermediate network element: service processing uses the local system clock, supports link ODU (Optical Data Unit) pipeline clock recovery, and supports PD detection of the recovered clock relative to the local system clock.
[0048] In the embodiment of the present disclosure, for the end network element: service processing uses the local system clock, supports link ODU pipe clock recovery, and supports PD detection of the recovered clock relative to the local system clock.
[0049] In an embodiment of the present disclosure, determining a reference data transmission duration of a first network element in a preset data transmission path includes:
[0050] Get the preset detection cycle;
[0051] The benchmark duration of data transmission of the first network element is defined as the detection period.
[0052] In the embodiment of the present disclosure, the phase difference corresponding to the first network element is 0.
[0053] In the embodiment of the present disclosure, obtaining a preset detection period may include:
[0054] Get the test unit set in the standard;
[0055] The positive integer multiples of the detection unit are taken as the detection period.
[0056] In the embodiments of the present disclosure, the detection period and the PD detection unit recorded in the overhead can be clarified in advance. For example, the fgOTN standard can be referred to. The detection period and detection unit will be clearly defined in the standard to facilitate docking of devices from different manufacturers. For example, the detection period can be defined according to the overhead sending period (as the detection unit).
[0057] In the embodiment of the present disclosure, a synchronization strategy for the detection period and the PD overhead sending period can be set: the detection period and the PD overhead sending period can be configured to be the same; assuming that the detection period is defined the same as the PD overhead sending period (i.e., 1 / 4*fgODU frame period), assuming it is 10,000 156.25Mhz, the detection period timing clock is the first network element clock, that is, the data transmission reference duration of the first network element (as the reference duration for measurement of the entire network), and the intermediate network elements and the last network element correct the actual data transmission duration of the previous network element according to the PD of the previous network element to obtain the data transmission reference duration of the intermediate network elements and the last network element, so that the data transmission reference duration of all network elements is the same, that is, the data transmission reference duration of the last network element is the same as the data transmission reference duration of the first network element; similarly, the detection period and the PD overhead sending period can also be configured to have an integer multiple relationship, and the actual PD value corresponding to each PD overhead sending period is obtained by conversion, so that the PD values detected continuously can be sent continuously without omission.
[0058] In the embodiment of the present disclosure, for ease of description, the detection period may be set to 10,000 156.25 MHz (megahertz) clock periods or 64 us (microseconds); the detection unit is 1 156.25 MHz clock period.
[0059] In the embodiment of the present disclosure, the detection unit and the detection period may be different based on different standards. Therefore, corresponding detection units and detection periods can be set according to different standards. The detailed values of the detection units and detection periods are not limited here.
[0060] In the embodiment of the present disclosure, Figure 3 As shown, determining the data transmission reference duration of the (i+1)th network element in the data transmission path according to the data transmission reference durations of the i-th network element except the first network element in the data transmission path includes steps S21-S22:
[0061] S21. Determine the phase difference between the i-th network element and the whole network measurement reference duration.
[0062] In the embodiment of the present disclosure, determining the phase difference between the i-th network element and the whole network measurement reference duration includes:
[0063] The phase difference between the i-th network element and the whole network measurement reference duration is calculated according to the data transmission reference duration of the i-th network element and the actual transmission duration of the i-th network element for transmitting preset data.
[0064] S22 : Define the data transmission reference duration of the (i+1)th network element as the vector sum of the phase differences between the actual transmission duration of the i-th network element and the network-wide measurement reference duration.
[0065] In the disclosed embodiment, a vector operation is performed on the actual data transmission duration of each network element and the phase difference between the network element and the network-wide measurement reference duration to obtain the data transmission reference duration corresponding to the next-hop network element of each network element. Given the known data transmission reference duration of any network element, the phase difference corresponding to the arbitrary network element can be calculated based on the actual data transmission duration of the arbitrary network element and the data transmission reference duration. The actual data transmission duration of any network element can be obtained based on the statistics of the local system clock of the arbitrary network element. Since the data transmission reference duration of the arbitrary network element is substantially the same as the absolute duration of the data transmission reference duration of the previous network element, the phase difference obtained for the arbitrary network element is actually the phase difference between the arbitrary network element and the network-wide measurement reference duration.
[0066] In the embodiment of the present disclosure, the above solution can make the phase differences between any adjacent network elements correlated, thereby providing a technical basis for calculating the phase difference between the first network element and the last network element.
[0067] In the embodiments of the present disclosure, the above-mentioned embodiments are described below with detailed examples.
[0068] In the embodiment of the present disclosure, the first network element (NE0): CBR service GMP is mapped to the fgODU bearer pipe, and the bearer pipe clock (i.e., fgODU clock) is synchronized with the NEO local system clock. The local clock period of NEO can be expressed as T_ne0, as shown in FIG. Figure 4 If the phase difference between the NE0 local system clock (as shown in the figure) and the NE0 local system clock (used to count the actual transmission duration of NE0) is 0, the phase difference (PD) overhead corresponding to the first network element (NE0) is written as 0.
[0069] In the embodiment of the present disclosure, the intermediate network element 1 (NE1): restores the ODU bearer pipe clock sent by the first network element (NE0), reads the PD overhead (based on the above description, it can be known that the PD overhead (i.e., phase difference) corresponding to the first network element (NE0) is 0), and on the basis that the data transmission reference duration of the first network element (NE0) is a preset detection period (10,000 156.25Mhz, where 156.25Mhz in 10,000 156.25Mhz refers to the clock period T_ne0 of the local system clock of the first network element NE0), and the corresponding phase difference is 0, then the "data transmission reference duration of the first network element (NE0) + the phase difference corresponding to the first network element (NE0)" can be used as the data transmission reference duration of the intermediate network element 1 (NE1), that is, Figure 4 As shown, the data transmission reference duration of the intermediate network element 1 (NE1) is: (10000+0) 156.25Mhz clock cycles (at this time, the clock uses the NE0 clock recovered by NE1, and each 156.25Mhz clock cycle in 10000+0 156.25Mhz can be marked as T_ne0). The data transmission benchmark duration for intermediate network element 1 (NE1) refers to the unified detection period transmitted by network element (NE0). For example, using the example of two people comparing watches, if person A's watch runs for 60 minutes, and person B's watch runs for 61 minutes, the time difference between person B and person A is 1 minute. Person B's 61 minutes (equivalent to NE1's data transmission benchmark duration) is equivalent to person A's 60 minutes (equivalent to NE0's data transmission benchmark duration). Similarly, using NE0's data transmission benchmark duration to represent NE1's data transmission benchmark duration is (10000 + 0) NE0's 156.25 MHz clock cycles. Note that this refers to (10000 + 0) clock cycles, not (10000 + 0) NE0s. Similar descriptions in subsequent solutions have a similar meaning and are not repeated here.
[0070] In the embodiment of the present disclosure, for the intermediate network element 1 (NE1), the clock of the recovered fgODU bearer pipe (ODU clock of NE0) is used as the timing clock for the data transmission reference duration of NE1 (assuming that the clock division frequency of the recovered fgODU bearer pipe is 156.25Mhz, it is 10,000 clock cycles, that is, 64us is counted by this clock. If the clock division frequency of the recovered fgODU bearer pipe is 312.5Mhz, it is 20,000 clock cycles). During this reference duration, PD detection is performed on the local (NE1) system clock, and the PD deviation (NE1 relative to NE0) is recorded in the overhead unit. Figure 4 As shown, assuming that within the reference duration period, the intermediate network element 1 (NE1) uses the local system clock to count and obtains (10000+1) local 156.25M clock cycles (at this time, the clock uses the local clock of NE1, and each 156.25Mhz clock cycle in the 10000+1 156.25Mhz can be marked as T_ne1, that is, the clock cycle T_ne1 of the local system clock of the intermediate network element NE1), then the PD deviation overhead (NE1 relative to NE0) is recorded as: +1, written overhead), then the total phase difference (PD) overhead corresponding to the intermediate network element 1 (NE1) is 1.
[0071] In the embodiment of the present disclosure, the intermediate network element 2 (NE2): recovers the ODU bearer pipe clock sent by the intermediate network element 1 (NE1), reads the PD overhead (based on the above description, the PD overhead (i.e., phase difference) corresponding to the intermediate network element 1 (NE1) is: 1), and on the basis of knowing that the actual data transmission duration of the intermediate network element 1 (NE1) is 10,000 156.25Mhz and the corresponding phase difference is 1, the "actual data transmission duration of the intermediate network element 1 (NE1) + the phase difference corresponding to the intermediate network element 1 (NE1)" can be used as the data transmission reference duration of the intermediate network element 2 (NE2), that is, Figure 4 As shown, the data transmission reference duration for intermediate network element 2 (NE2) is (10000 + 1) 156.25 MHz clock cycles (T_ne1) of NE1. The data transmission reference duration for intermediate network element 2 (NE2) means that, based on the deviation in data transmission frequencies between different network elements, the data transmission reference duration of intermediate network element 1 (NE1) (which also represents the data transmission reference duration of primary network element 0 (NE0)) is mapped to the duration corresponding to intermediate network element 2 (NE2) and beyond. Therefore, when NE1's data transmission reference duration is used to represent NE2's data transmission reference duration, it is (10000 + 1) 156.25 MHz clock cycles (T_ne1) of NE1.
[0072] In the embodiment of the present disclosure, for the intermediate network element 2 (NE2), the clock of the recovered fgODU bearer pipe (NE1's ODU clock) is used as the timing clock for the data transmission reference duration of NE2, and the local (NE2) system clock is tested for PD, and the PD deviation is recorded in the overhead unit. Figure 4As shown in the figure, it is assumed that in 10001 NE1 clock cycles, the intermediate network element 2 (NE2) uses the local system clock to count and obtains (10000+2) local 156.25Mhz clock cycles (the clock uses the local clock of NE2 at this time, and each 156.25Mhz clock cycle in the 10000+2 156.25Mhz can be marked as T_ne2, that is, the clock cycle T_ne2 of the local system clock of the intermediate network element NE2). Since the data transmission reference time length of NE2 is (10000+1) NE1 156.25Mhz clock cycles (T_ne1), the (10000+1) 156.25Mhz clock cycles are actually the number of NE0 counted by NE1 using NE1's local system clock. The phase difference is expressed based on the transmission reference duration. Therefore, (10000 + 1) 156.25 MHz clock cycles is the duration of NE1's benchmark detection period relative to the preset standard (NE0's data transmission reference duration). The phase difference calculated by NE2 based on this data transmission reference duration is the phase difference of NE2 relative to the network-wide measurement reference duration. The phase difference of (10000 + 2) local 156.25 MHz clock cycles (T_ne2) obtained by NE2 using the local system clock (clock period is T_ne2) relative to the network-wide measurement reference duration is two 156.25 MHz clock cycles (T_ne2). Therefore, the PD deviation overhead (NE2 relative to the network-wide measurement reference duration) is recorded as +2, which is the write overhead.
[0073] In the embodiment of the present disclosure, the last network element 3 (NE3) recovers the ODU bearer pipe clock sent by the intermediate network element 2 (NE2), reads the PD overhead (based on the above description, the PD overhead (i.e., phase difference) corresponding to the intermediate network element 2 (NE2) is: 2), and on the basis of knowing that the actual data transmission duration of the intermediate network element 2 (NE2) is 10,000 NE0s of 156.25Mhz (T_ne0) and the corresponding phase difference is 2, the "actual data transmission duration of the intermediate network element 2 (NE2) + the phase difference corresponding to the intermediate network element 2 (NE2)" can be used as the data transmission reference duration of the last network element 3 (NE3), that is, Figure 4 As shown, the data transmission reference duration for the last network element 3 (NE3) is (10000 + 2) 156.25 MHz clock cycles (T_ne2) of NE2. The data transmission reference duration for the last network element 3 (NE3) means that based on the deviation in data transmission frequency between different network elements, the data transmission reference duration of the middle network element 2 (NE2) (which also represents the data transmission reference duration of the first network element 0 (NE0)) is mapped to the duration corresponding to the last network element 3 (NE3) and beyond. Therefore, when the data transmission reference duration of NE2 is used to represent the data transmission reference duration of NE3, it is (10000 + 2) 156.25 MHz clock cycles (T_ne2) of NE2.
[0074] In the embodiment of the present disclosure, for the last network element 3 (NE3), the clock of the recovered fgODU bearer pipe (NE2's ODU clock) is used as the timing clock for NE3's data transmission reference duration, and PD detection is performed on the local (NE3) system clock. Since NE3's data transmission reference duration is (10000+2) NE2's 156.25Mhz clock cycles (T_ne2), the (10000+2) 156.25Mhz clock cycles (T_ne2) are actually obtained by NE2 using NE2's local system clock to represent NE1's data transmission reference duration. Therefore, the (10000+2) NE2's 156.25Mhz clock cycles are The clock cycle is the duration of the detection cycle that NE2 benchmarks against the preset standard (the data transmission benchmark duration of NE0 is 10,000 156.25Mhz clock cycles). The phase difference calculated by NE3 based on the data transmission benchmark duration is the phase difference of NE3 relative to the benchmark duration of the entire network. Assume that NE3 uses the local system clock to count (10,000+3) local 156.25M clock cycles (at this time, the clock uses the local clock of NE3, and each 156.25Mhz clock cycle in 10,000+3 156.25Mhz can be marked as T_ne3, that is, the clock cycle T_ne3 of the local system clock of the last network element NE3). The PD deviation (NE3 relative to the benchmark duration of the entire network) is recorded in the overhead unit. Figure 4 As shown, assuming that in the data transmission reference duration, the last network element 3 (NE3) uses the local system clock to count and obtains (10000+3) local 156.25M clock cycles (T_ne3), then the PD deviation overhead is 3.
[0075] In the embodiment of the present disclosure, the phase difference detection of the network elements must be continuous. For example, the network element NE1 continuously detects with 10,000 NE0's 156.25Mhz clock cycles (T_ne0), the network element NE2 continuously detects with 10,001 NE1's 156.25Mhz clock cycles (T_ne1) (assuming that the phase difference overhead of NE1 is always 1), and the network element NE3 continuously detects with 10,002 NE2's 156.25Mhz clock cycles (T_ne2) (assuming that the phase difference overhead of NE2 is always 2). NE1, NE2, and NE3 need to be detected continuously without any interval in between, so there is no phase difference accumulation problem.
[0076] In the embodiment of the present disclosure, determining the phase difference of the data transmission path according to the phase difference corresponding to each network element includes:
[0077] The vector sum of the phase difference corresponding to the first network element and the phase difference corresponding to the last network element is calculated as the phase difference of the data transmission path.
[0078] In the embodiment of the present disclosure, by transmitting a unified "network-wide measurement reference duration", the phase difference of each network element relative to the reference duration can be obtained, thereby obtaining the phase difference of the last network element relative to the first network element.
[0079] In the embodiments of the present disclosure, for example, the absolute durations of the data transmission reference durations based on NE0, NE1, NE2, and NE3 in the aforementioned embodiments are all consistent, and the phase difference of NE0 relative to the network-wide measurement reference duration is 0. When the phase difference of NE1 relative to the network-wide measurement reference duration is +1 156.25Mhz (T_ne1), the phase difference of NE2 relative to the network-wide measurement reference duration is +2 156.25Mhz (T_ne2), and the phase difference of NE3 relative to the network-wide measurement reference duration is +3 156.25Mhz (T_ne3), it can be obtained that the phase difference of NE3 relative to NE0 is +3 156.25Mhz (T_ne3).
[0080] In the embodiment of the present disclosure, after determining the phase difference of the data transmission path according to the phase difference corresponding to each network element, the method may further include:
[0081] Determine the frequency difference based on the phase difference; and / or,
[0082] Clock recovery is performed based on the phase difference.
[0083] In the embodiments disclosed herein, through the embodiments of the present application, after obtaining the phase difference of each network element relative to the previous network element, the phase difference between any two network elements can be derived. Based on the phase difference between any two network elements, the frequency difference between any two network elements can be determined. The system clock of the first network element can also be restored at the last network element based on the phase difference between the first and last network elements.
[0084] In the embodiments disclosed herein, at least the following advantages are included: it can support PD detection across multi-hop asynchronous OTNs, and through simple processing, the PD difference between the first and last network elements can be directly obtained. The last network element can directly obtain the frequency deviation estimation of the first network element after the multi-hop asynchronous network, and the last network element can directly realize the system clock recovery of the first network element after the multi-hop asynchronous network.
[0085] The present disclosure also provides an electronic device 100, such as Figure 5 As shown, the electronic device 100 includes:
[0086] One or more processors 101;
[0087] a memory 102 storing one or more programs, wherein when the one or more programs are executed by the one or more processors 101, the one or more processors 101 implement the phase difference measurement method for an asynchronous network;
[0088] One or more input / output I / O interfaces 103 are connected between the processor 101 and the memory 102 and configured to implement information exchange between the processor 101 and the memory 102 .
[0089] Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read-write interface) 103 is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus), etc.
[0090] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.
[0091] The present disclosure also provides a computer-readable storage medium 200, such as Figure 6 As shown, a computer program is stored on the computer-readable storage medium 200, and when the computer program is executed by the processor, the phase difference measurement method of the asynchronous network is implemented.
[0092] Those skilled in the art will appreciate that all or some of the functional modules / units disclosed above may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0093] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation.
[0094] Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit (CPU), a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage; compact disc (CD-ROM), digital versatile disc (DVD) or other optical disc storage; magnetic cassettes, tapes, disk storage or other magnetic storage; any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0095] The present disclosure has disclosed example embodiments, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly indicated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.
Claims
1. A method for measuring phase difference in an asynchronous network, characterized in that: The method comprises: Determine a data transmission benchmark duration for the first network element in the preset data transmission path to transmit the preset data, as the benchmark duration for measurement of the entire network; Based on the data transmission benchmark duration of the first network element, determine the data transmission benchmark duration of the (i+1)th network element according to the data transmission benchmark duration of the i-th network element in the data transmission path; i is a positive integer, i is less than or equal to the total number of network elements in the data transmission path; Obtaining a phase difference of the (i+1)th network element relative to the whole network measurement reference duration according to the data transmission reference duration of the (i+1)th network element and the actual transmission duration of the (i+1)th network element transmitting the preset data; The phase difference of the data transmission path is determined according to the phase difference corresponding to each network element.
2. The method for measuring phase difference in an asynchronous network according to claim 1, wherein: The step of determining a data transmission reference duration of a first network element in a preset data transmission path as a network-wide measurement reference duration includes: Get the preset detection cycle; The detection period of the first network element is used as the whole network measurement benchmark duration.
3. The method for measuring phase difference in an asynchronous network according to claim 2, wherein: The obtaining of the preset detection cycle includes: Get the test unit set in the standard; A positive integer multiple of the detection unit is used as the detection period.
4. The method for measuring phase difference in an asynchronous network according to claim 1, wherein: The determining the data transmission reference duration of the (i+1)th network element according to the data transmission reference durations of the i-th network element other than the first network element in the data transmission path in sequence includes: Determining a phase difference between the i-th network element and the whole network measurement reference duration; The data transmission reference duration of the (i+1)th network element is defined as the vector sum of the phase differences between the actual transmission duration of the (i)th network element and the whole network measurement reference duration.
5. The method for measuring phase difference in an asynchronous network according to claim 4, wherein: The determining of the phase difference between the i-th network element and the entire network measurement reference duration includes: The phase difference between the i-th network element and the whole network measurement reference duration is calculated according to the data transmission reference duration of the i-th network element and the actual transmission duration of the i-th network element transmitting the preset data.
6. The method for measuring phase difference in an asynchronous network according to claim 1, wherein: The determining the phase difference of the data transmission path according to the phase difference corresponding to each network element includes: A vector sum of the phase difference corresponding to the first network element and the phase difference corresponding to the last network element is calculated as the phase difference of the data transmission path.
7. The method for measuring phase difference in an asynchronous network according to claim 1, wherein: After determining the phase difference of the data transmission path according to the phase difference corresponding to each network element, the method further includes: Determine a frequency difference based on the phase difference; and / or, Clock recovery is performed according to the phase difference.
8. The method for measuring phase difference in an asynchronous network according to any one of claims 1 to 7, wherein: The data transmission path includes a fine-grained optical data unit (fgODU) bearer pipe; the fgODU bearer pipe is carried by multiple optical transport network (OTN) network elements.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the phase difference measurement method for an asynchronous network according to any one of claims 1 to 8; One or more input / output (I / O) interfaces are connected between the processor and the memory and configured to implement information interaction between the processor and the memory.
10. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for measuring phase difference in an asynchronous network according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Time synchronization method and device of optical transport network asynchronous network
CN103684727A
Method and device for controlling phase synchronisation, and system
CN105766035A
Clock transmission method and related equipment
CN108242965A
Clock transmission method and related equipment
CN110445568A
Clock supply device and transmission device
US20100189109A1