A dual-mode timing method and system based on optical fiber

Through the fiber dual-mode timing system, the synchronization of UTC and BDT is achieved, which solves the problem of high timing threshold for Beidou, provides high-precision timing services, reduces hardware costs, and simplifies the user's switching process.

CN115642979BActive Publication Date: 2024-12-06NAT TIME SERVICE CENT CHINESE ACAD OF SCI
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202211282492.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-19
Publication Date
2024-12-06
Estimated Expiration
2042-10-19

AI Technical Summary

Technical Problem

In the prior art, UTC and BDT timing methods are different. If users want to use Beidou timing, they need to purchase Beidou receiver, which increases the threshold and difficulty of Beidou timing.

Method used

Adopt a dual-mode timing system based on fiber, synchronizes the connection between local and remote equipment nodes through fiber time, and uses the time frequency reference source to obtain the timing data packets of UTC and BDT, realizing transparent transmission and directional transmission, supporting dual UTC and BDT Mode timing, and fiber transmission is used in encrypted timing mode.

Benefits of technology

Users can use BDT timing without purchasing a BDT receiving device separately, which improves timing accuracy and avoids increasing hardware costs in dual-mode timing, and simplifies the switching process of BDT and UTC.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115642979B_ABST
    Figure CN115642979B_ABST
Patent Text Reader

Abstract

The present invention discloses a dual-mode timing method and system based on optical fiber, the system comprises: a time frequency reference source, an optical fiber time synchronization local end device and a plurality of optical fiber time synchronization remote end device nodes, the optical fiber time synchronization local end device is used to, in response to a timing request message sent by any of the optical fiber time synchronization remote end device nodes, obtain a first timing data packet or a second timing data packet from the time frequency reference source according to the timing request message to generate a timing data frame of a corresponding timing mode; and send the timing data frame to a main access node. The system can realize UTC timing and BDT timing through an optical fiber link, and users can use BDT timing time without purchasing a BDT receiving device separately. In addition, users who need BDT can obtain higher timing accuracy through the time frequency reference source. Under dual-mode timing, users only need to switch between BDT and UTC without adding additional hardware costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of optical fiber timing and satellite timing, and in particular relates to an optical fiber-based dual-mode timing method and system. Background Art

[0002] Coordinated Universal Time, also known as World Unified Time, World Standard Time, International Coordinated Time, referred to as UTC. At present, UTC timing mainly relies on GPS for time synchronization. However, with the layout of the Beidou satellite system, there are also some scenarios that require Beidou timing, that is, the time base used is Beidou Time (BDT). The Beidou system has established a special time system, namely Beidou Time, abbreviated as BDT in English. BDT belongs to the atomic time system, using the International System of Units (SI) second as the basic unit for continuous accumulation, without leap seconds, starting from January 1, 2006 Coordinated Universal Time (UTC) 00 hours 00 minutes 00 seconds, using weeks and intra-week seconds counting. BDT traces back to the UTC time maintained by the National Time Service Center (NTSC) of the Chinese Academy of Sciences, referred to as UTC (NTSC), and establishes international connections through UTC (NTSC). Generally, the deviation between BDT and international UTC is kept within 50 nanoseconds (modulo 1 second). At present, the leap second information between BDT and UTC is broadcast in the navigation message.

[0003] However, the timing methods and timing receiving devices of UTC and BDT are different. If users want to use Beidou timing, they need to purchase the corresponding Beidou receiver, which increases the threshold and difficulty of Beidou timing. Summary of the invention

[0004] In order to solve the above problems existing in the prior art, the present invention provides a dual-mode timing method and system based on optical fiber. The technical problem to be solved by the present invention is achieved by the following technical solutions:

[0005] An optical fiber-based dual-mode timing system, comprising: a time frequency reference source, an optical fiber time synchronization local end device, and a plurality of optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end device nodes are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end device nodes, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node;

[0006] The optical fiber time synchronization local end device is used for:

[0007] In response to a timing request message sent by any of the optical fiber time synchronization remote end device nodes, according to the timing request message, a first timing data packet or a second timing data packet is obtained from the time frequency reference source to generate a timing data frame of a corresponding timing mode, wherein the first timing data packet includes a second pulse signal, a frequency signal, and UTC timing information, and the second timing data packet includes a second pulse signal, a frequency signal, UTC timing information, and BDT timing information;

[0008] Sending the timing data frame to the primary access node;

[0009] The master access node is used to determine the transmission mode according to the frame header of the timing data frame, and transmit the timing data frame to the corresponding optical fiber time synchronization remote end device node;

[0010] Wherein, when the timing mode is transparent transmission standard timing, the timing data frame includes the main access node address, the vacant bit, and the first timing data packet in sequence;

[0011] When the timing mode is transparent dual-mode timing, the timing data frame includes the main access node address, a vacant bit, and a second timing data packet in sequence;

[0012] When the timing mode is directional standard timing, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence;

[0013] When the timing mode is directional dual-mode timing, the timing data frame includes the main access node address, the response node address, and the second timing data packet in sequence.

[0014] In a specific implementation, the BDT timing information further includes time difference information, and the time difference information is determined by the time difference between UTC and BDT.

[0015] In a specific implementation, the master access node is specifically used to:

[0016] When it is determined that the timing data frame includes an empty position, according to the networking structure, the optical fiber distance is calculated by the devices to obtain the shortest time transmission path, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path;

[0017] When it is determined that the timing data frame includes a response node address, it is determined whether there is an optimal path from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address. If not, all paths from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address are obtained according to the networking structure, and the timing data frame is transmitted to the corresponding optical fiber time synchronization remote end device node according to all the paths, and the optimal path obtained by the corresponding optical fiber time synchronization remote end device node based on the transmission quality judgment of all the paths is received. If so, the timing data frame is transmitted to the optical fiber time synchronization remote end device node corresponding to the response node address according to the optimal path.

[0018] In a specific implementation, the transmission quality is determined based on a time difference between the remote device and a time frequency reference source measured by a time interval counter and a time stability TDEV obtained by calculation.

[0019] In a specific embodiment, the optical fiber time synchronization remote end device node corresponding to the response node address is used to perform timing data correction based on the first received timing data frame, and when a new timing data frame is received, judge the transmission quality of the new data frame and the previous timing data frame, and send the timing data frame transmission path with higher transmission quality as the optimal path to the main access node.

[0020] In a specific implementation, the timing mode further includes encrypted timing; when the timing mode is encrypted timing, the optical fiber time synchronization local end device is further used to:

[0021] The fiber time synchronization remote end device node address that sends the timing request message is used as a symmetric encryption key to encrypt the UTC timing information and / or the BDT timing information to obtain encrypted timing data, wherein the timing data frame includes the main access node address and the encrypted timing data;

[0022] The shortest time transmission path is obtained according to the networking structure, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path.

[0023] The present invention also provides a dual-mode timing method based on optical fiber, which is applied to an optical fiber time synchronization local end device and several optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end devices are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end devices, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node;

[0024] The optical fiber time synchronization local end device comprises the following steps when executing the method:

[0025] In response to a timing request message sent by any of the optical fiber time synchronization remote end device nodes, according to the timing request message, a first timing data packet or a second timing data packet is obtained from the time frequency reference source to generate a timing data frame of a corresponding timing mode, wherein the first timing data packet includes a second pulse signal, a frequency signal, and UTC timing information, and the second timing data packet includes a second pulse signal, a frequency signal, UTC timing information, and BDT timing information;

[0026] Sending the timing data frame to the primary access node;

[0027] Wherein, when the timing mode is transparent transmission standard timing, the timing data frame includes the main access node address, the vacant bit, and the first timing data packet in sequence;

[0028] When the timing mode is transparent dual-mode timing, the timing data frame includes the main access node address, a vacant bit, and a second timing data packet in sequence;

[0029] When the timing mode is directional standard timing, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence;

[0030] When the timing mode is directional dual-mode timing, the timing data frame includes the main access node address, the response node address, and the second timing data packet in sequence.

[0031] In a specific implementation, when the timing mode is encrypted timing, the method further includes:

[0032] The fiber time synchronization remote end device node address that sends the timing request message is used as a symmetric encryption key to encrypt the UTC timing information and / or the BDT timing information to obtain encrypted timing data, wherein the timing data frame includes the main access node address and the encrypted timing data;

[0033] The shortest time transmission path is obtained according to the networking structure, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path.

[0034] The present invention also provides a dual-mode timing method based on optical fiber, which is applied to an optical fiber time synchronization local end device and several optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end devices are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end devices, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node;

[0035] The master access node performs the method comprising the following steps:

[0036] Determine the corresponding timing mode according to the timing data frame;

[0037] Determine the transmission mode according to the frame header of the timing data frame of the corresponding timing mode, and transmit the timing data frame to the corresponding optical fiber time synchronization remote end device node, wherein the timing data frame is generated according to the timing request message sent by any of the optical fiber time synchronization remote end device nodes;

[0038] Wherein, when the timing mode is transparent transmission standard timing, the timing data frame includes the main access node address, the vacant bit, and the first timing data packet in sequence;

[0039] When the timing mode is transparent dual-mode timing, the timing data frame includes the main access node address, a vacant bit, and a second timing data packet in sequence;

[0040] When the timing mode is directional standard timing, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence;

[0041] When the timing mode is directional dual-mode timing, the timing data frame includes the main access node address, the response node address, and the second timing data packet in sequence.

[0042] In a specific implementation, the transmission mode is determined according to the frame header of the timing data frame corresponding to the timing mode, and the timing data frame is transmitted to the corresponding optical fiber time synchronization remote end device node, including:

[0043] When it is determined that the timing data frame includes an empty position, according to the networking structure, the optical fiber distance is calculated by the devices to obtain the shortest time transmission path, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path;

[0044] When it is determined that the timing data frame includes a response node address, it is determined whether there is an optimal path from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address. If not, all paths from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address are obtained according to the networking structure, and the timing data frame is transmitted to the corresponding optical fiber time synchronization remote end device node according to all the paths, and the optimal path obtained by the corresponding optical fiber time synchronization remote end device node based on the transmission quality judgment of all the paths is received. If so, the timing data frame is transmitted to the optical fiber time synchronization remote end device node corresponding to the response node address according to the optimal path.

[0045] In a specific embodiment, the optical fiber time synchronization remote end device node corresponding to the response node address is used to perform timing data correction based on the first received timing data frame, and when a new timing data frame is received, judge the transmission quality of the new data frame and the previous timing data frame, and send the timing data frame transmission path with higher transmission quality as the optimal path to the main access node.

[0046] Beneficial effects of the present invention:

[0047] The optical fiber-based dual-mode timing system of the present invention can realize UTC timing and BDT timing through one optical fiber link. Users do not need to purchase a BDT receiving device separately to use the BDT timing time. In addition, through the time and frequency reference source, users who need BDT can obtain higher timing accuracy. Under the dual-mode timing, users only need to switch between BDT and UTC without increasing additional hardware costs.

[0048] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a module block diagram of a dual-mode timing system based on optical fiber provided by an embodiment of the present invention;

[0050] Figure 2 is a schematic diagram of a specific networking structure provided by an embodiment of the present invention;

[0051] Figure 3 This is a flowchart of executing a local terminal device of an optical fiber time synchronization method of a dual-mode timing method based on optical fiber provided by an embodiment of the present invention;

[0052] Figure 4 The present invention provides a flowchart of a master access node executing a dual-mode timing method based on optical fiber according to an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.

[0054] Embodiment 1

[0055] See also Figure 1 , Figure 1 The present invention provides a dual-mode timing system module block diagram based on optical fiber, including:

[0056] A time frequency reference source, an optical fiber time synchronization local end device, and a plurality of optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end device nodes are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end device nodes, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node;

[0057] The time and frequency reference source is the source of time signal generation, the standard UTC / BDT timing source, which requires the timing device to obtain the time signal through the reference source. The local end device of optical fiber time synchronization is the timing server, which is used to generate the timing data frame after obtaining the time signal according to the reference source. The remote end device nodes of optical fiber time synchronization are receiving devices distributed in different regions. These receiving devices can be connected in sequence through optical fiber to form a ring loop, or they can be directly connected to each other to form a direct link, so that data can be transmitted in the ring loop or the direct link, so that each receiving device can receive the transmitted data.

[0058] See also Figure 2 In this example, A0 is the time and frequency reference source, B0 and B1 are the local end devices of optical fiber time synchronization, C1-C11 are the remote end device nodes of optical fiber time synchronization, C3-C4-C5 can be considered as a direct link, and C7-C8-C11-C10-C7 can be considered as a ring loop.

[0059] When the time and frequency reference source sends data to the local optical fiber time synchronization device, the first node it sends data to is the main access node. In actual scenarios, the signal sent by A0 can generally be transmitted to multiple local optical fiber time synchronization devices in multiple ways. Since there are two local optical fiber time synchronization devices B0 and B1 in this example, both B0 and B1 may serve as the main access node. When one of the devices serves as the main node, the other node can serve as the backup node. The two devices back up each other and perform data analysis and forwarding through the main access node, so that other nodes can receive the corresponding information.

[0060] The optical fiber time synchronization local end device is used for:

[0061] In response to a timing request message sent by any of the optical fiber time synchronization remote end device nodes, according to the timing request message, a first timing data packet or a second timing data packet is obtained from the time frequency reference source to generate a timing data frame of a corresponding timing mode, wherein the first timing data packet includes a second pulse signal, a frequency signal, and UTC timing information, and the second timing data packet includes a second pulse signal, a frequency signal, UTC timing information, and BDT timing information;

[0062] It should be noted that the timing request message is a message sent by the optical fiber time synchronization remote end device node according to the current demand, and is actively sent by the optical fiber time synchronization remote end device node. In the traditional method, the optical fiber time synchronization local end device generally actively sends a timing data frame to the optical fiber time synchronization remote end device node. In this embodiment, since it is necessary to synchronize UTC time and BDT time at the same time, and many users have different needs, the optical fiber time synchronization remote end device node can send a timing request message according to its own needs. The timing request message includes the type of timing that needs to be performed, that is, UTC timing and / or BDT timing.

[0063] Specifically, the pulse per second signal is, for example, a 1PPS signal, the frequency signal is, for example, a 10MHz signal, and the UTC timing information is, for example, time code information, comparison data, etc. It should be noted that, since UTC time and BDT time usually have a fixed time difference within a certain period of time, the BDT timing information may also include time difference information, which is determined by the time difference between UTC and BDT, for example, 50ns.

[0064] After receiving the timing request message, the local end device of the optical fiber time synchronization determines whether the UTC timing information or the BDT timing information has been issued in the current cycle. If not, transparent transmission is performed. That is to say, when a optical fiber time synchronization remote end device node sends a timing request message and determines that all optical fiber time synchronization remote end device nodes have not received the timing information, a timing data frame is sent to each timing node. At this time, the timing data frame includes the main access node address, an empty position, and the first timing data packet in sequence, or includes the main access node address, an empty position, and the second timing data packet.

[0065] The main access node transparently transmits the timing data so that each optical fiber time synchronization remote end device node can receive the timing data frame.

[0066] When the master access node receives a timing data frame and determines that the timing data frame includes an empty bit, the master access node calculates the optical fiber distance between the devices according to the networking structure to obtain the shortest time transmission path, and transparently transmits the timing data frame to each optical fiber time synchronization remote end device node according to the shortest time transmission path;

[0067] Specifically, this embodiment describes the selection of the shortest time transmission path. Figure 2Taking the networking structure as an example, when transparent transmission is performed, for example, when data is transmitted from B1 to C9, there are multiple paths, such as B1-C10-C11-C9, B1-C7-C8-C9, B1-C10-C11-C8-C9, etc. If the transmission path is not pre-set, there will be multiple redundant transmissions in the transparent transmission. Therefore, the optical fiber distance is calculated by the devices, and the shortest optical fiber distance between B1-C9 is selected as the shortest time transmission path. This method can avoid redundant transmission of data and improve the efficiency of transparent transmission.

[0068] In another scenario, after receiving the timing request message, the main access node determines whether the UTC timing information or BDT timing information has been issued in the current cycle. If so, it indicates that the request is a directional request, that is, the authorization data that the optical fiber time synchronization remote end device node needs alone at the current moment. Therefore, in order to send the authorization data frame to the optical fiber time synchronization remote end device node in a directional manner, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence, or includes the main access node address, the response node address, and the second timing data packet. The response node address is the optical fiber time synchronization remote end device node of the directional request.

[0069] In this scenario, when it is determined that the timing data frame includes a response node address, it is determined whether there is an optimal path from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address. If not, all paths from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address are obtained according to the networking structure, and the timing data frame is transmitted to the corresponding optical fiber time synchronization remote end device node according to all the paths, and the optimal path obtained by the corresponding optical fiber time synchronization remote end device node based on the transmission quality judgment of all the paths is received. If so, the timing data frame is transmitted to the optical fiber time synchronization remote end device node corresponding to the response node address according to the optimal path.

[0070] Specifically, this embodiment is based on Figure 2Take the networking structure as an example to illustrate. For example, the optical fiber time synchronization remote end device node of the directed request is C8, and the transmission paths of B1-C8 are B1-C7-C8, B1-C10-C11-C8, B1-C10-C7-C8, B1-C7-C10-C11-C8, B1-C1-C10-C11-C8, B1-C1-C10-C11-C8, B1-C1-C10-C7-C8. Since there are multiple reachable paths, it is necessary to first determine whether there is an optimal path from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address. If so, it is only necessary to transmit according to the optimal path. If not, all paths need to be transmitted once, and the optimal path is selected according to the transmission quality, so that when this path is transmitted later, it can be directly selected.

[0071] The optical fiber-based dual-mode timing system of this embodiment can realize UTC timing and BDT timing through one optical fiber link. Users do not need to purchase BDT receiving equipment separately to use BDT timing. In addition, through the time and frequency reference source, users who need BDT can obtain higher timing accuracy. In dual-mode timing, users only need to switch between BDT and UTC, without adding additional hardware costs.

[0072] Preferably, the transmission quality of this embodiment is determined based on the time difference between the remote end device and the time frequency reference source measured by the time interval counter and the time stability TDEV obtained by calculation. It should be noted that when performing optical fiber time transmission, it is not the case that the shortest transmission path has the best transmission quality. It is usually necessary to comprehensively judge the time stability TDEV and the time difference value of the time interval counter to determine the transmission quality. Figure 2 For example, in the transmission path of B1-C8, even if the path B1-C7-C8 is the shortest, it is possible that its time stability TDEV and the time difference value of the time interval counter are not optimal.

[0073] Under the multiple reachable paths, during transmission, the shortest path generally receives the timing data frame first. At this time, the timing data is corrected according to the first received timing data frame. When the timing data frames transmitted by other paths also arrive, it is necessary to judge the transmission quality of the new data frame and the previous timing data frame, that is, the timing accuracy, and send the timing data frame transmission path with higher transmission quality to the main access node as the optimal path.

[0074] In directional timing, in order to improve the confidentiality of timing data, preferably, the timing mode also includes encrypted timing. When the timing mode is encrypted timing, the optical fiber time synchronization local end device is also used to:

[0075] The fiber time synchronization remote end device node address that sends the timing request message is used as a symmetric encryption key to encrypt the UTC timing information and / or the BDT timing information to obtain encrypted timing data, wherein the timing data frame includes the main access node address and the encrypted timing data;

[0076] The shortest time transmission path is obtained according to the networking structure, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path.

[0077] That is to say, when the encrypted timing data frame is transmitted in the ring loop, each fiber optic time synchronization remote end device node does not know to which node the data is sent. Only when the node with a matching address receives the data can it correctly decrypt and use it. For example, when the receiving node is C1, the data is encrypted with the address of the C1 node as the secret key. Even if C10 receives the data, it cannot decrypt the data based on the address of the C10 node. Only the C1 node can decrypt it.

[0078] See also Figure 3 The present invention also provides a dual-mode timing method based on optical fiber, which is applied to an optical fiber time synchronization local end device and several optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end devices are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end devices, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node;

[0079] The optical fiber time synchronization local end device comprises the following steps when executing the method:

[0080] S31, in response to a timing request message sent by any of the optical fiber time synchronization remote end device nodes, according to the timing request message, obtaining a first timing data packet or a second timing data packet from the time frequency reference source to generate a timing data frame of a corresponding timing mode, wherein the first timing data packet includes a second pulse signal, a frequency signal, and UTC timing information, and the second timing data packet includes a second pulse signal, a frequency signal, UTC timing information, and BDT timing information;

[0081] S32, sending the timing data frame to the primary access node;

[0082] Wherein, when the timing mode is transparent transmission standard timing, the timing data frame includes the main access node address, the vacant bit, and the first timing data packet in sequence;

[0083] When the timing mode is transparent dual-mode timing, the timing data frame includes the main access node address, a vacant bit, and a second timing data packet in sequence;

[0084] When the timing mode is directional standard timing, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence;

[0085] When the timing mode is directional dual-mode timing, the timing data frame includes the main access node address, the response node address, and the second timing data packet in sequence.

[0086] In a specific implementation, when the timing mode is encrypted timing, the method further includes:

[0087] The fiber time synchronization remote end device node address that sends the timing request message is used as a symmetric encryption key to encrypt the UTC timing information and / or the BDT timing information to obtain encrypted timing data, wherein the timing data frame includes the main access node address and the encrypted timing data;

[0088] The shortest time transmission path is obtained according to the networking structure, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path.

[0089] See also Figure 4 The present invention also provides a dual-mode timing method based on optical fiber, which is applied to an optical fiber time synchronization local end device and several optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end devices are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end devices, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node;

[0090] The master access node performs the method comprising the following steps:

[0091] S41, determining a corresponding timing mode according to the timing data frame;

[0092] S42, judging the transmission mode according to the frame header of the timing data frame of the corresponding timing mode, and transmitting the timing data frame to the corresponding optical fiber time synchronization remote end device node, wherein the timing data frame is generated according to the timing request message sent by any of the optical fiber time synchronization remote end device nodes;

[0093] Wherein, when the timing mode is transparent transmission standard timing, the timing data frame includes the main access node address, the vacant bit, and the first timing data packet in sequence;

[0094] When the timing mode is transparent dual-mode timing, the timing data frame includes the main access node address, a vacant bit, and a second timing data packet in sequence;

[0095] When the timing mode is directional standard timing, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence;

[0096] When the timing mode is directional dual-mode timing, the timing data frame includes the main access node address, the response node address, and the second timing data packet in sequence.

[0097] In a specific implementation, the transmission mode is determined according to the frame header of the timing data frame corresponding to the timing mode, and the timing data frame is transmitted to the corresponding optical fiber time synchronization remote end device node, including:

[0098] When it is determined that the timing data frame includes an empty position, according to the networking structure, the optical fiber distance is calculated by the devices to obtain the shortest time transmission path, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path;

[0099] When it is determined that the timing data frame includes a response node address, it is determined whether there is an optimal path from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address. If not, all paths from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address are obtained according to the networking structure, and the timing data frame is transmitted to the corresponding optical fiber time synchronization remote end device node according to all the paths, and the optimal path obtained by the corresponding optical fiber time synchronization remote end device node based on the transmission quality judgment of all the paths is received. If so, the timing data frame is transmitted to the optical fiber time synchronization remote end device node corresponding to the response node address according to the optimal path.

[0100] In a specific embodiment, the optical fiber time synchronization remote end device node corresponding to the response node address is used to perform timing data correction based on the first received timing data frame, and when a new timing data frame is received, judge the transmission quality of the new data frame and the previous timing data frame, and send the timing data frame transmission path with higher transmission quality as the optimal path to the main access node.

[0101] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0102] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.

[0103] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0104] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment), or computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware, which are collectively referred to as "modules" or "systems" herein. Moreover, the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes. The computer program is stored / distributed in a suitable medium, provided together with other hardware or as a part of hardware, or may adopt other distribution forms, such as by Internet or other wired or wireless telecommunication systems.

[0105] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses (devices) and computer program products of the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0108] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A dual-mode timing system based on optical fiber, characterized in that: include: A time frequency reference source, an optical fiber time synchronization local end device, and a plurality of optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end device nodes are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end device nodes, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node; The optical fiber time synchronization local end device is used for: In response to a timing request message sent by any of the optical fiber time synchronization remote end device nodes, according to the timing request message, a first timing data packet or a second timing data packet is obtained from the time frequency reference source to generate a timing data frame of a corresponding timing mode, wherein the first timing data packet includes a second pulse signal, a frequency signal, and UTC timing information, and the second timing data packet includes a second pulse signal, a frequency signal, UTC timing information, and BDT timing information; Sending the timing data frame to the primary access node; The master access node is used to determine the transmission mode according to the frame header of the timing data frame, and transmit the timing data frame to the corresponding optical fiber time synchronization remote end device node; Wherein, when the timing mode is transparent transmission standard timing, the timing data frame includes the main access node address, the vacant bit, and the first timing data packet in sequence; When the timing mode is transparent dual-mode timing, the timing data frame includes the main access node address, a vacant bit, and a second timing data packet in sequence; When the timing mode is directional standard timing, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence; When the timing mode is directional dual-mode timing, the timing data frame includes the main access node address, the response node address, and the second timing data packet in sequence.

2. The optical fiber-based dual-mode timing system according to claim 1, characterized in that: The master access node is specifically used for: When it is determined that the timing data frame includes an empty position, according to the networking structure, the optical fiber distance is calculated by the devices to obtain the shortest time transmission path, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path; When it is determined that the timing data frame includes a response node address, it is determined whether there is an optimal path from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address. If not, all paths from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address are obtained according to the networking structure, and the timing data frame is transmitted to the corresponding optical fiber time synchronization remote end device node according to all the paths, and the optimal path obtained by the corresponding optical fiber time synchronization remote end device node based on the transmission quality judgment of all the paths is received. If so, the timing data frame is transmitted to the optical fiber time synchronization remote end device node corresponding to the response node address according to the optimal path.

3. The optical fiber-based dual-mode timing system according to claim 2, characterized in that: The transmission quality is determined based on the time difference between the remote end device and the time frequency reference source measured by the time interval counter and the time stability TDEV obtained by calculation.

4. The optical fiber-based dual-mode timing system according to claim 2, characterized in that: The optical fiber time synchronization remote end device node corresponding to the response node address is used to perform timing data correction based on the first received timing data frame, and when a new timing data frame is received, determine the transmission quality of the new data frame and the previous timing data frame, and send the timing data frame transmission path with higher transmission quality between the new data frame and the previous timing data frame as the optimal path to the main access node.

5. The optical fiber-based dual-mode timing system according to claim 1, characterized in that: The timing mode also includes encrypted timing; when the timing mode is encrypted timing, the optical fiber time synchronization local end device is also used to: The fiber time synchronization remote end device node address that sends the timing request message is used as a symmetric encryption key to encrypt the UTC timing information and / or the BDT timing information to obtain encrypted timing data, wherein the timing data frame includes the main access node address and the encrypted timing data; The shortest time transmission path is obtained according to the networking structure, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path.

6. A dual-mode timing method based on optical fiber, applied to an optical fiber time synchronization local end device and several optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end devices are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end devices, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node; The optical fiber time synchronization local end device comprises the following steps when executing the method: In response to a timing request message sent by any of the optical fiber time synchronization remote end device nodes, according to the timing request message, a first timing data packet or a second timing data packet is obtained from the time frequency reference source to generate a timing data frame of a corresponding timing mode, wherein the first timing data packet includes a second pulse signal, a frequency signal, and UTC timing information, and the second timing data packet includes a second pulse signal, a frequency signal, UTC timing information, and BDT timing information; Sending the timing data frame to the primary access node; Wherein, when the timing mode is transparent transmission standard timing, the timing data frame includes the main access node address, the vacant bit, and the first timing data packet in sequence; When the timing mode is transparent dual-mode timing, the timing data frame includes the main access node address, a vacant bit, and a second timing data packet in sequence; When the timing mode is directional standard timing, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence; When the timing mode is directional dual-mode timing, the timing data frame includes the main access node address, the response node address, and the second timing data packet in sequence.

7. The optical fiber-based dual-mode timing method according to claim 6, characterized in that: When the timing mode is encrypted timing, the method further includes: The fiber time synchronization remote end device node address that sends the timing request message is used as a symmetric encryption key to encrypt the UTC timing information and / or the BDT timing information to obtain encrypted timing data, wherein the timing data frame includes the main access node address and the encrypted timing data; The shortest time transmission path is obtained according to the networking structure, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path.

8. A dual-mode timing method based on optical fiber, applied to an optical fiber time synchronization local end device and several optical fiber time synchronization remote end device nodes, wherein the optical fiber time synchronization remote end devices are interconnected through optical fibers to form a ring loop or / and a direct link, and the optical fiber time synchronization local end device is connected to one or more optical fiber time synchronization remote end devices, and the optical fiber time synchronization local end device directly connected to the time frequency reference source serves as a main access node; The master access node performs the method comprising the following steps: Determine the corresponding timing mode according to the timing data frame; Determine the transmission mode according to the frame header of the timing data frame of the corresponding timing mode, and transmit the timing data frame to the corresponding optical fiber time synchronization remote end device node, wherein the timing data frame is generated according to the timing request message sent by any of the optical fiber time synchronization remote end device nodes; Wherein, when the timing mode is transparent transmission standard timing, the timing data frame includes the main access node address, the vacant bit, and the first timing data packet in sequence; When the timing mode is transparent dual-mode timing, the timing data frame includes the main access node address, a vacant bit, and a second timing data packet in sequence; When the timing mode is directional standard timing, the timing data frame includes the main access node address, the response node address, and the first timing data packet in sequence; When the timing mode is directional dual-mode timing, the timing data frame includes the main access node address, the response node address, and the second timing data packet in sequence.

9. The optical fiber-based dual-mode timing method according to claim 8, characterized in that: The method comprises: determining a transmission mode according to a frame header of a timing data frame of a corresponding timing mode, and transmitting the timing data frame to a corresponding optical fiber time synchronization remote end device node, including: When it is determined that the timing data frame includes an empty position, according to the networking structure, the optical fiber distance is calculated by the devices to obtain the shortest time transmission path, and the timing data frame is transparently transmitted to each optical fiber time synchronization remote end device node according to the shortest time transmission path; When it is determined that the timing data frame includes a response node address, it is determined whether there is an optimal path from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address. If not, all paths from the main access node to the optical fiber time synchronization remote end device node corresponding to the response node address are obtained according to the networking structure, and the timing data frame is transmitted to the corresponding optical fiber time synchronization remote end device node according to all the paths, and the optimal path obtained by the corresponding optical fiber time synchronization remote end device node based on the transmission quality judgment of all the paths is received. If so, the timing data frame is transmitted to the optical fiber time synchronization remote end device node corresponding to the response node address according to the optimal path.

10. The optical fiber-based dual-mode timing method according to claim 9, characterized in that: The optical fiber time synchronization remote end device node corresponding to the response node address is used to perform timing data correction based on the first received timing data frame, and when a new timing data frame is received, determine the transmission quality of the new data frame and the previous timing data frame, and send the timing data frame transmission path with higher transmission quality between the new data frame and the previous timing data frame as the optimal path to the main access node.

Citation Information

Patent Citations

  • Phototiming network timing system and timing method

    CN103546225A

  • Time-giving system composed of dedicated optical route and method for implementing same

    CN104993896A

  • Dual-mode optical fiber transmission system

    CN108199772A

  • 5G gateway multi-mode composite high-precision time service method and system

    CN113075699A

  • Time determination method and system based on multiple time service signals, and medium

    CN113162718A