[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115642979A - Dual-mode time service method and system based on optical fiber - Google Patents

Dual-mode time service method and system based on optical fiber Download PDF

Info

Publication number
CN115642979A
CN115642979A CN202211282492.9A CN202211282492A CN115642979A CN 115642979 A CN115642979 A CN 115642979A CN 202211282492 A CN202211282492 A CN 202211282492A CN 115642979 A CN115642979 A CN 115642979A
Authority
CN
China
Prior art keywords
time service
time
service data
optical fiber
data frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211282492.9A
Other languages
Chinese (zh)
Inventor
郭新兴
刘涛
张首刚
董瑞芳
刘博�
孔维成
李博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Time Service Center of CAS
Original Assignee
National Time Service Center of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by National Time Service Center of CAS filed Critical National Time Service Center of CAS
Priority to CN202211282492.9A priority Critical patent/CN115642979A/en
Publication of CN115642979A publication Critical patent/CN115642979A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a dual-mode time service method and a system based on optical fibers, wherein the system comprises the following steps: the optical fiber time synchronization local end equipment is used for responding to a time service request message sent by any optical fiber time synchronization remote end equipment node and acquiring a first time service data packet or a second time service data packet from the time frequency reference source according to the time service request message so as to generate a time service data frame corresponding to a time service mode; and sending the time service data frame to a main access node. The system can realize UTC time service and BDT time service through one optical fiber link, a user can use BDT time service without independently purchasing BDT receiving equipment, in addition, the user needing BDT can obtain higher time service precision through the time frequency reference source, under dual-mode time service, the user only needs to switch BDT and UTC, and extra hardware cost is not needed.

Description

Dual-mode time service method and system based on optical fiber
Technical Field
The invention belongs to the field of optical fiber time service and satellite time service, and particularly relates to a dual-mode time service method and system based on optical fibers.
Background
The universal time is also called universal time, international coordinated time, or UTC for short. At present, UTC time service mainly depends on GPS (global positioning system) to carry out time synchronization, however, with the layout of a Beidou satellite system, a part of scenes need Beidou time service at present, namely, the adopted time reference is Beidou time (BDT). The Beidou system establishes a special time system, namely the Beidou system is abbreviated as BDT in English. BDT belongs to an atomic time system, adopts international unit System (SI) second as a basic unit for continuous accumulation, does not leap second, has an initial epoch of 2006, 1 month, 1 day, coordinated Universal Time (UTC) 00 hours, 00 minutes and 00 seconds, and adopts week and week second counting. The BDT is traced to UTC time kept by a National Time Service Center (NTSC) of Chinese academy of sciences, called UTC (NTSC) for short, and establishes contact with the world through UTC (NTSC). Typically, the BDT deviation from international UTC remains within 50 nanoseconds (modulo 1 second). Leap second information between the BDT and the UTC at the present stage is broadcasted in the navigation message.
However, UTC and BDT have different time service modes and time service receiving equipment, and if a user wants to use Beidou time service, the user needs to purchase a corresponding Beidou receiver, so that the Beidou time service threshold and the time service difficulty are improved.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a dual-mode time service method and system based on an optical fiber. The technical problem to be solved by the invention is realized by the following technical scheme:
an optical fiber-based dual-mode time service system, comprising: the system comprises a time frequency reference source, optical fiber time synchronization local end equipment and a plurality of optical fiber time synchronization remote end equipment nodes, wherein the optical fiber time synchronization remote end equipment nodes are connected with each other through optical fibers to form a ring loop or/and a direct connection link, the optical fiber time synchronization local end equipment is connected with one or more optical fiber time synchronization remote end equipment nodes, and the optical fiber time synchronization local end equipment directly connected with the time frequency reference source serves as a main access node;
the optical fiber time synchronization local end equipment is used for,
responding to a time service request message sent by any optical fiber time synchronization remote end equipment node, and acquiring a first time service data packet or a second time service data packet from the time frequency reference source according to the time service request message to generate a time service data frame corresponding to a time service mode, wherein the first time service data packet comprises a pulse per second signal, a frequency signal and UTC time service information, and the second time service data packet comprises a pulse per second signal, a frequency signal, UTC time service information and BDT time service information;
sending the time service data frame to a main access node;
the main access node is used for judging a transmission mode according to a frame header of the time service data frame and transmitting the time service data frame to a corresponding optical fiber time synchronization remote end equipment node;
when the time service mode is the transparent transmission standard time service, the time service data frame sequentially comprises a main access node address, a null bit and a first time service data packet;
when the time service mode is the transparent transmission dual-mode time service mode, the time service data frame sequentially comprises a main access node address, a null bit and a second time service data packet;
when the time service mode is the directional standard time service, the time service data frame sequentially comprises a main access node address, a response node address and a first time service data packet;
when the time service mode is the directional dual-mode time service, the time service data frame sequentially comprises a main access node address, a response node address and a second time service data packet.
In a specific embodiment, the BDT time service information further includes time difference information, and the time difference information is determined by the UTC and the BDT time difference.
In a specific embodiment, the primary access node is specifically configured to:
when the time service data frame comprises a null position, calculating the optical fiber distance through equipment according to the networking structure to obtain a shortest time transmission path, and transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path;
when the time service data frame is judged to comprise a response node address, whether an optimal path exists from a master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address is judged, if not, all paths from the master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address are obtained according to the networking structure, the time service data frame is transmitted to the corresponding optical fiber time synchronization remote end equipment node according to all the paths, the optimal path obtained by judging the transmission quality of all the paths by the corresponding optical fiber time synchronization remote end equipment node is received, and if yes, the time service data frame is transmitted to the optical fiber time synchronization remote end equipment node corresponding to the response node address according to the optimal path.
In one embodiment, the transmission quality is determined according to a time difference value of the remote end device measured by the time interval counter compared with the time frequency reference source and a time stability TDEV obtained through calculation.
In a specific embodiment, the optical fiber time synchronization remote end device node corresponding to the responding node address is configured to perform time service data correction according to the received first time service data frame, determine, when a new time service data frame is received, transmission quality of the new data frame and a previous time service data frame, and send the time service data frame transmission path with higher transmission quality as an optimal path to the master access node.
In a specific embodiment, the time service mode further includes an encryption time service; when the time service mode is encryption time service, the optical fiber time synchronization local end equipment is also used for,
using an optical fiber time synchronization remote end equipment node address for sending a time service request message as a symmetric encryption key, and encrypting the UTC time service information or/and the BDT time service information to obtain encrypted time service data, wherein the time service data frame comprises a master access node address and encrypted time service data;
and obtaining a shortest time transmission path according to the networking structure, and transparently transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path.
The invention also provides a dual-mode time service method based on optical fibers, which is applied to optical fiber time synchronization local end equipment and a plurality of optical fiber time synchronization remote end equipment nodes, wherein the optical fiber time synchronization remote end equipment nodes are connected with each other through optical fibers to form an annular loop or/and a direct connection link, the optical fiber time synchronization local end equipment nodes are connected with one or more optical fiber time synchronization remote end equipment nodes, and the optical fiber time synchronization local end equipment nodes directly connected with a time frequency reference source are used as main access nodes;
the optical fiber time synchronization local end equipment comprises the following steps when executing the method:
responding to a time service request message sent by any optical fiber time synchronization remote end equipment node, and acquiring a first time service data packet or a second time service data packet from the time frequency reference source according to the time service request message to generate a time service data frame corresponding to a time service mode, wherein the first time service data packet comprises a pulse per second signal, a frequency signal and UTC time service information, and the second time service data packet comprises a pulse per second signal, a frequency signal, UTC time service information and BDT time service information;
sending the time service data frame to a main access node;
when the time service mode is transparent transmission standard time service, the time service data frame sequentially comprises a main access node address, a null bit and a first time service data packet;
when the time service mode is the transparent transmission dual-mode time service, the time service data frame sequentially comprises a main access node address, a null bit and a second time service data packet;
when the time service mode is the directional standard time service, the time service data frame sequentially comprises a main access node address, a response node address and a first time service data packet;
when the time service mode is the directional dual-mode time service, the time service data frame sequentially comprises a main access node address, a response node address and a second time service data packet.
In one embodiment, when the time service mode is an encrypted time service, the method further comprises:
using an optical fiber time synchronization remote end equipment node address for sending a time service request message as a symmetric encryption key, and encrypting the UTC time service information or/and the BDT time service information to obtain encrypted time service data, wherein the time service data frame comprises a master access node address and encrypted time service data;
and obtaining a shortest time transmission path according to the networking structure, and transparently transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path.
The invention also provides a dual-mode time service method based on optical fibers, which is applied to optical fiber time synchronization local end equipment and a plurality of optical fiber time synchronization remote end equipment nodes, wherein the optical fiber time synchronization remote end equipment nodes are connected with each other through optical fibers to form an annular loop or/and a direct connection link, the optical fiber time synchronization local end equipment nodes are connected with one or more optical fiber time synchronization remote end equipment nodes, and the optical fiber time synchronization local end equipment nodes directly connected with a time frequency reference source are used as main access nodes;
the main access node comprises the following steps when executing the method:
judging a corresponding time service mode according to the time service data frame;
judging a transmission mode according to a frame header of a time service data frame corresponding to a time service mode, and transmitting the time service data frame to a corresponding optical fiber time synchronization remote end equipment node, wherein the time service data frame is generated according to a time service request message sent by any optical fiber time synchronization remote end equipment node;
when the time service mode is transparent transmission standard time service, the time service data frame sequentially comprises a main access node address, a null bit and a first time service data packet;
when the time service mode is the transparent transmission dual-mode time service, the time service data frame sequentially comprises a main access node address, a null bit and a second time service data packet;
when the time service mode is directional standard time service, the time service data frame sequentially comprises a main access node address, a response node address and a first time service data packet;
when the time service mode is the directional dual-mode time service, the time service data frame sequentially comprises a main access node address, a response node address and a second time service data packet.
In a specific embodiment, determining a transmission mode according to a frame header of a time service data frame corresponding to a time service mode, and transmitting the time service data frame to a corresponding optical fiber time synchronization remote end device node includes:
when the time service data frame comprises a null position, calculating the optical fiber distance through equipment according to the networking structure to obtain a shortest time transmission path, and transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path;
when the time service data frame is judged to comprise a response node address, whether an optimal path exists from a master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address is judged, if not, all paths from the master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address are obtained according to the networking structure, the time service data frame is transmitted to the corresponding optical fiber time synchronization remote end equipment node according to all the paths, the optimal path obtained by judging the transmission quality of all the paths by the corresponding optical fiber time synchronization remote end equipment node is received, and if yes, the time service data frame is transmitted to the optical fiber time synchronization remote end equipment node corresponding to the response node address according to the optimal path.
In a specific embodiment, the optical fiber time synchronization remote end device node corresponding to the responding node address is configured to perform time service data correction according to the received first time service data frame, determine, when a new time service data frame is received, transmission quality of the new data frame and a previous time service data frame, and send the time service data frame transmission path with higher transmission quality as an optimal path to the master access node.
The invention has the beneficial effects that:
the optical fiber based dual-mode time service system can realize UTC time service and BDT time service through one optical fiber link, a user can use BDT time service without independently purchasing BDT receiving equipment, in addition, the user needing BDT can obtain higher time service precision through the time frequency reference source, under dual-mode time service, the user only needs to switch BDT and UTC, and extra hardware cost is not needed.
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Drawings
FIG. 1 is a block diagram of a dual-mode time service system based on optical fiber according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a specific networking architecture provided in the embodiment of the present invention;
fig. 3 is an execution flowchart of an optical fiber time synchronization local device according to a dual-mode time service method based on an optical fiber according to an embodiment of the present invention;
fig. 4 is a flowchart executed by a master access node according to an optical fiber-based dual-mode time service method provided by an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to specific examples, but the embodiments of the present invention are not limited thereto.
Example one
Referring to fig. 1, fig. 1 is a block diagram of a dual-mode time service system based on an optical fiber according to an embodiment of the present invention, including:
the system comprises a time frequency reference source, optical fiber time synchronization local end equipment and a plurality of optical fiber time synchronization remote end equipment nodes, wherein the optical fiber time synchronization remote end equipment nodes are connected with one another through optical fibers to form a loop or/and a direct link, the optical fiber time synchronization local end equipment is connected with one or more optical fiber time synchronization remote end equipment nodes, and the optical fiber time synchronization local end equipment directly connected with the time frequency reference source serves as a main access node;
the time frequency reference source is a source for generating a time signal, the standard UTC/BDT time service source is a device needing time service obtains the time signal through the reference source, the optical fiber time synchronization local-end device is a time service server and is used for generating a time service data frame after obtaining the time signal according to the reference source, the optical fiber time synchronization remote-end device nodes are receiving devices distributed in different regions, the receiving devices can be sequentially connected through optical fibers to form an annular loop and can also be directly connected with each other to form a direct connection link, so that data can be transmitted in the annular loop or the direct connection link, and each receiving device can receive the transmitted data.
Referring to fig. 2, in this example, A0 is a time frequency reference source, B0 and B1 are optical fiber time synchronization local end devices, C1 to C11 are optical fiber time synchronization remote end device nodes, C3 to C4 to C5 can be regarded as direct links, and C7 to C8 to C11 to C10 to C7 can be regarded as a ring loop.
When the time frequency reference source sends data to the optical fiber time synchronization local end device, the first node sent to the time frequency reference source is a main access node, in an actual scene, a signal sent by A0 can be transmitted to a plurality of optical fiber time synchronization local end devices in a multiplexing manner, because two optical fiber time synchronization local end devices of B0 and B1 exist in the example, both B0 and B1 may be used as main access nodes, and after one device is used as a main node, the other nodes can be used as standby nodes which are backup for each other, and data analysis and forwarding are performed through the main access node, so that the other nodes can receive corresponding information.
The optical fiber time synchronization local end equipment is used for,
responding to a time service request message sent by any optical fiber time synchronization remote end equipment node, and acquiring a first time service data packet or a second time service data packet from the time frequency reference source according to the time service request message to generate a time service data frame corresponding to a time service mode, wherein the first time service data packet comprises a pulse per second signal, a frequency signal and UTC time service information, and the second time service data packet comprises a pulse per second signal, a frequency signal, UTC time service information and BDT time service information;
it should be noted that the time service request message is a message that is sent by the optical fiber time synchronization remote end device node according to the current requirement, and is actively sent by the optical fiber time synchronization remote end device node, and in the conventional manner, the time service request message is generally sent by the optical fiber time synchronization local end device node to the optical fiber time synchronization remote end device node actively. In this embodiment, because the UTC time and the BDT time need to be serviced simultaneously, and the demands of a plurality of users are different, the optical fiber time synchronization remote device node may send a time service request message according to its own demand, where the time service request message includes a type of time service to be performed, that is, UTC time service needs to be performed or/and BDT time service needs to be performed.
Specifically, the pulse-per-second signal is, for example, a 1PPS signal, the frequency signal is, for example, a 10MHz signal, and the UTC time information is, for example, time code information, comparison data, and the like. Since the UTC time and the BDT time are generally different from each other by a fixed time difference within a certain time, the BDT time information may include time difference information, and the time difference information may be determined by the UTC time difference and the BDT time difference, for example, 50ns.
After receiving the time service request message, the local optical fiber time synchronization device judges whether time service UTC time service information or time service BDT time service information is sent in the current period, if not, the time service BDT time service information is transmitted in a transparent mode, that is, when one optical fiber time synchronization remote device node sends the time service request message and judges that all the optical fiber time synchronization remote device nodes do not receive the time service information, time service data frames are sent to all the time service nodes, and at the moment, the time service data frames sequentially comprise a main access node address, an idle position and a first time service data packet or comprise the main access node address, the idle position and a second time service data packet.
And the main access node transparently transmits the time service data so that each optical fiber time synchronization remote end equipment node can receive the time service data frame.
When the master access node receives a time service data frame and judges that the time service data frame comprises an idle position, the optical fiber distance is mutually calculated through equipment according to the networking structure to obtain a shortest time transmission path, and the time service data frame is transmitted to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path;
specifically, this embodiment explains the selection of the shortest time transmission path, and takes the networking structure of fig. 2 as an example to explain, when transparent transmission is performed, for example, when data is transmitted from B1 to C9, since there are multiple paths, for example, B1-C10-C11-C9, B1-C7-C8-C9, B1-C10-C11-C8-C9, and the like, if transmission paths are not set in advance, there are multiple redundant transmissions in transparent transmission, the optical fiber distances are calculated by the devices, and the shortest optical fiber distance between B1 to C9 is selected as the shortest time transmission path. The method can improve the transparent transmission efficiency under the condition of avoiding the redundancy of the transmission data.
In another scenario, after receiving the time service request message, the master access node determines whether time service UTC time service information or time service BDT time service information has been issued in the current period, and if so, indicates that the request is an orientation request, that is, authorization data that is individually required by the optical fiber time synchronization remote end device node at the current time. The response node address is the fiber time synchronization remote end equipment node of the directional request.
In the scene, when the time service data frame is judged to comprise a response node address, whether an optimal path exists from a master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address is judged, if not, all paths from the master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address are obtained according to the networking structure, the time service data frame is transmitted to the corresponding optical fiber time synchronization remote end equipment node according to all the paths, the optimal path obtained by judging the transmission quality of all the paths by the corresponding optical fiber time synchronization remote end equipment node is received, and if yes, the time service data frame is transmitted to the optical fiber time synchronization remote end equipment node corresponding to the response node address according to the optimal path.
Specifically, this embodiment is described by taking fig. 2 as an example of a networking structure, for example, the fiber time synchronization remote device node of the direction request is C8, the transmission paths of B1-C8 include B1-C7-C8, B1-C10-C11-C8, B1-C10-C7-C8, B1-C7-C10-C11-C8, B1-C10-C11-C8, and B1-C10-C7-C8, because there are multiple reachable paths, it needs to first determine whether there is an optimal path from the primary access node to the fiber time synchronization remote device node corresponding to the responding node address, if there is an optimal path, it only needs to transmit the optimal path, and if there is no optimal path needs to be transmitted once, and an optimal path is selected according to the transmission quality, so that when the path is transmitted, the optimal path can be directly selected.
The dual-mode time service system based on the optical fiber can realize UTC time service and BDT time service through one optical fiber link, a user can use BDT time service without independently purchasing BDT receiving equipment, in addition, the user needing BDT can obtain higher time service precision through the time frequency reference source, under the dual-mode time service, the user only needs to switch BDT and UTC, and extra hardware cost is not needed.
Preferably, the transmission quality of the embodiment is determined according to the time difference value of the remote end device compared with the time frequency reference source measured by the time interval counter and the time stability TDEV obtained through calculation. It should be noted that, when optical fiber time transfer is performed, it is not the shortest transmission path that has the best transmission quality, and it is generally necessary to comprehensively determine the time difference between the time stability TDEV and the time interval counter, and in the transmission paths B1 to C8, taking fig. 2 as an example, even if the paths B1 to C7 to C8 are the shortest, the time difference between the time stability TDEV and the time interval counter may not be the best.
Under the multiple reachable paths, during transmission, a time service data frame is received firstly by the shortest path, at the moment, time service data correction is carried out according to the received first time service data frame, when time service data frames transmitted by other paths also arrive, the transmission quality of the new data frame and the previous time service data frame, namely time service precision, needs to be judged, and the time service data frame transmission path with higher transmission quality is used as the optimal path to be sent to the main access node.
In the directional time service, in order to improve the confidentiality of the time service data, preferably, the time service mode further includes encrypted time service, and when the time service mode is encrypted time service, the optical fiber time synchronization local end device is further configured to,
using an optical fiber time synchronization remote end equipment node address for sending a time service request message as a symmetric encryption key, and encrypting the UTC time service information or/and the BDT time service information to obtain encrypted time service data, wherein the time service data frame comprises a master access node address and encrypted time service data;
and obtaining a shortest time transmission path according to the networking structure, and transparently transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path.
That is to say, when the encrypted time service data frame is transmitted in the ring loop, each fiber time synchronization remote end device node does not know which node the data is sent to, and can only decrypt and use the data correctly after the node with the matched address receives the data, for example, when the receiving node is C1, the data is encrypted by using the address of the C1 node as a key, and even if the C10 receives the data, the data cannot be decrypted according to the address of the C10 node, and only the C1 node can decrypt the data.
Referring to fig. 3, the present invention also provides a dual-mode time service method based on optical fibers, which is applied to an optical fiber time synchronization local end device and a plurality of optical fiber time synchronization remote end device nodes, where the optical fiber time synchronization remote end devices are connected to each other through optical fibers to form a loop or/and a direct link, 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 a time frequency reference source is used as a main access node;
the optical fiber time synchronization local end equipment comprises the following steps when executing the method:
s31, responding to a time service request message sent by any optical fiber time synchronization remote end equipment node, and acquiring a first time service data packet or a second time service data packet from the time frequency reference source according to the time service request message to generate a time service data frame corresponding to a time service mode, wherein the first time service data packet comprises a pulse per second signal, a frequency signal and UTC time service information, and the second time service data packet comprises a pulse per second signal, a frequency signal, UTC time service information and BDT time service information;
s32, sending the time service data frame to a main access node;
when the time service mode is transparent transmission standard time service, the time service data frame sequentially comprises a main access node address, a null bit and a first time service data packet;
when the time service mode is the transparent transmission dual-mode time service, the time service data frame sequentially comprises a main access node address, a null bit and a second time service data packet;
when the time service mode is the directional standard time service, the time service data frame sequentially comprises a main access node address, a response node address and a first time service data packet;
when the time service mode is the directional dual-mode time service, the time service data frame sequentially comprises a main access node address, a response node address and a second time service data packet.
In one embodiment, when the time service mode is an encrypted time service, the method further comprises:
using an optical fiber time synchronization remote end equipment node address for sending a time service request message as a symmetric encryption key, and encrypting the UTC time service information or/and the BDT time service information to obtain encrypted time service data, wherein the time service data frame comprises a master access node address and encrypted time service data;
and obtaining a shortest time transmission path according to the networking structure, and transparently transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path.
Referring to fig. 4, the present invention also provides a dual-mode time service method based on optical fibers, which is applied to an optical fiber time synchronization local end device and a plurality of optical fiber time synchronization remote end device nodes, where the optical fiber time synchronization remote end devices are connected to each other through optical fibers to form a loop or/and a direct link, 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 a time frequency reference source is used as a main access node;
the main access node comprises the following steps when executing the method:
s41, judging a corresponding time service mode according to the time service data frame;
s42, judging a transmission mode according to a frame header of a time service data frame corresponding to a time service mode, and transmitting the time service data frame to a corresponding optical fiber time synchronization remote end equipment node, wherein the time service data frame is generated according to a time service request message sent by any optical fiber time synchronization remote end equipment node;
when the time service mode is the transparent transmission standard time service, the time service data frame sequentially comprises a main access node address, a null bit and a first time service data packet;
when the time service mode is the transparent transmission dual-mode time service, the time service data frame sequentially comprises a main access node address, a null bit and a second time service data packet;
when the time service mode is the directional standard time service, the time service data frame sequentially comprises a main access node address, a response node address and a first time service data packet;
when the time service mode is the directional dual-mode time service, the time service data frame sequentially comprises a main access node address, a response node address and a second time service data packet.
In a specific embodiment, determining a transmission mode according to a frame header of a time service data frame corresponding to a time service mode, and transmitting the time service data frame to a corresponding optical fiber time synchronization remote end device node includes:
when the time service data frame comprises a null position, calculating the optical fiber distance through equipment according to the networking structure to obtain a shortest time transmission path, and transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path;
when the time service data frame is judged to comprise a response node address, whether an optimal path exists from a master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address is judged, if not, all paths from the master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address are obtained according to the networking structure, the time service data frame is transmitted to the corresponding optical fiber time synchronization remote end equipment node according to all the paths, the optimal path obtained by judging the transmission quality of all the paths by the corresponding optical fiber time synchronization remote end equipment node is received, and if yes, the time service data frame is transmitted to the optical fiber time synchronization remote end equipment node corresponding to the response node address according to the optimal path.
In a specific embodiment, the optical fiber time synchronization remote end device node corresponding to the responding node address is configured to perform time service data correction according to the received first time service data frame, determine, when a new time service data frame is received, transmission quality of the new data frame and a previous time service data frame, and send the time service data frame transmission path with higher transmission quality as an optimal path to the master access node.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples described in this specification can be combined and combined by those skilled in the art.
While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects that may all generally be referred to herein as a "module" or "system. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A dual mode time service system for an optical fiber based optical fiber, comprising: the system comprises a time frequency reference source, optical fiber time synchronization local end equipment and a plurality of optical fiber time synchronization remote end equipment nodes, wherein the optical fiber time synchronization remote end equipment nodes are connected with each other through optical fibers to form a ring loop or/and a direct connection link, the optical fiber time synchronization local end equipment is connected with one or more optical fiber time synchronization remote end equipment nodes, and the optical fiber time synchronization local end equipment directly connected with the time frequency reference source serves as a main access node;
the optical fiber time synchronization local end equipment is used for,
responding to a time service request message sent by any optical fiber time synchronization remote end equipment node, and acquiring a first time service data packet or a second time service data packet from the time frequency reference source according to the time service request message to generate a time service data frame corresponding to a time service mode, wherein the first time service data packet comprises a pulse per second signal, a frequency signal and UTC time service information, and the second time service data packet comprises a pulse per second signal, a frequency signal, UTC time service information and BDT time service information;
sending the time service data frame to a main access node;
the main access node is used for judging a transmission mode according to a frame header of the time service data frame and transmitting the time service data frame to a corresponding optical fiber time synchronization remote end equipment node;
when the time service mode is transparent transmission standard time service, the time service data frame sequentially comprises a main access node address, a null bit and a first time service data packet;
when the time service mode is the transparent transmission dual-mode time service, the time service data frame sequentially comprises a main access node address, a null bit and a second time service data packet;
when the time service mode is the directional standard time service, the time service data frame sequentially comprises a main access node address, a response node address and a first time service data packet;
when the time service mode is the directional dual-mode time service, the time service data frame sequentially comprises a main access node address, a response node address and a second time service data packet.
2. The dual-mode optical-fiber-based time service system according to claim 1, wherein the primary access node is specifically configured to:
when the time service data frame comprises a null position, calculating the optical fiber distance through equipment according to the networking structure to obtain a shortest time transmission path, and transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path;
when the time service data frame is judged to comprise a response node address, whether an optimal path exists from a master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address is judged, if not, all paths from the master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address are obtained according to the networking structure, the time service data frame is transmitted to the corresponding optical fiber time synchronization remote end equipment node according to all the paths, the optimal path obtained by judging the transmission quality of all the paths by the corresponding optical fiber time synchronization remote end equipment node is received, and if yes, the time service data frame is transmitted to the optical fiber time synchronization remote end equipment node corresponding to the response node address according to the optimal path.
3. The dual mode optical fiber-based time service system according to claim 2, wherein the transmission quality is determined according to a time difference value of the remote end device compared with a time frequency reference source measured by a time interval counter and a time stability TDEV obtained through calculation.
4. The dual-mode optical fiber-based time service system according to claim 2, wherein the optical fiber time synchronization remote end device node corresponding to the responding node address is configured to perform time service data correction according to the received first time service data frame, and when a new time service data frame is received, determine transmission quality of the new data frame and the previous time service data frame, and send the transmission path of the time service data frame with higher transmission quality as an optimal path to the master access node.
5. The dual mode optical fiber-based time service system of claim 1, wherein the time service mode further comprises encrypted time service; when the time service mode is encryption time service, the optical fiber time synchronization local end equipment is also used for,
using an optical fiber time synchronization remote end equipment node address for sending a time service request message as a symmetric encryption key, and encrypting the UTC time service information or/and the BDT time service information to obtain encrypted time service data, wherein the time service data frame comprises a master access node address and encrypted time service data;
and obtaining a shortest time transmission path according to the networking structure, and transparently transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path.
6. A dual-mode time service method based on optical fibers is applied to optical fiber time synchronization local end equipment and a plurality of optical fiber time synchronization remote end equipment nodes, the optical fiber time synchronization remote end equipment nodes are connected with each other through optical fibers to form a ring loop or/and a direct connection link, the optical fiber time synchronization local end equipment nodes are connected with one or more optical fiber time synchronization remote end equipment nodes, and the optical fiber time synchronization local end equipment nodes directly connected with a time frequency reference source serve as main access nodes;
the optical fiber time synchronization local end equipment comprises the following steps when executing the method:
responding to a time service request message sent by any optical fiber time synchronization remote end equipment node, and acquiring a first time service data packet or a second time service data packet from the time frequency reference source according to the time service request message to generate a time service data frame corresponding to a time service mode, wherein the first time service data packet comprises a pulse per second signal, a frequency signal and UTC time service information, and the second time service data packet comprises a pulse per second signal, a frequency signal, UTC time service information and BDT time service information;
sending the time service data frame to a main access node;
when the time service mode is transparent transmission standard time service, the time service data frame sequentially comprises a main access node address, a null bit and a first time service data packet;
when the time service mode is the transparent transmission dual-mode time service, the time service data frame sequentially comprises a main access node address, a null bit and a second time service data packet;
when the time service mode is the directional standard time service, the time service data frame sequentially comprises a main access node address, a response node address and a first time service data packet;
when the time service mode is the directional dual-mode time service, the time service data frame sequentially comprises a main access node address, a response node address and a second time service data packet.
7. The dual mode fiber-based time service method of claim 6, wherein when the time service mode is encrypted time service, the method further comprises:
using an optical fiber time synchronization remote end equipment node address for sending a time service request message as a symmetric encryption key, and encrypting the UTC time service information or/and the BDT time service information to obtain encrypted time service data, wherein the time service data frame comprises a master access node address and encrypted time service data;
and obtaining a shortest time transmission path according to the networking structure, and transparently transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path.
8. A dual-mode time service method based on optical fibers is applied to optical fiber time synchronization local end equipment and a plurality of optical fiber time synchronization remote end equipment nodes, the optical fiber time synchronization remote end equipment is connected with each other through optical fibers to form a loop or/and a direct link, the optical fiber time synchronization local end equipment is connected with one or more optical fiber time synchronization remote end equipment, and the optical fiber time synchronization local end equipment directly connected with a time frequency reference source is used as a main access node;
the main access node comprises the following steps when executing the method:
judging a corresponding time service mode according to the time service data frame;
judging a transmission mode according to a frame header of a time service data frame corresponding to a time service mode, and transmitting the time service data frame to a corresponding optical fiber time synchronization remote end equipment node, wherein the time service data frame is generated according to a time service request message sent by any optical fiber time synchronization remote end equipment node;
when the time service mode is transparent transmission standard time service, the time service data frame sequentially comprises a main access node address, a null bit and a first time service data packet;
when the time service mode is the transparent transmission dual-mode time service, the time service data frame sequentially comprises a main access node address, a null bit and a second time service data packet;
when the time service mode is directional standard time service, the time service data frame sequentially comprises a main access node address, a response node address and a first time service data packet;
when the time service mode is the directional dual-mode time service, the time service data frame sequentially comprises a main access node address, a response node address and a second time service data packet.
9. The dual-mode time service method based on the optical fiber according to claim 8, wherein the method for determining a transmission mode according to a frame header of a time service data frame corresponding to a time service mode and transmitting the time service data frame to a corresponding optical fiber time synchronization remote end device node comprises:
when the time service data frame comprises a null position, calculating the optical fiber distance through equipment according to the networking structure to obtain a shortest time transmission path, and transmitting the time service data frame to each optical fiber time synchronization remote end equipment node according to the shortest time transmission path;
when the time service data frame is judged to comprise a response node address, whether an optimal path exists from a master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address is judged, if not, all paths from the master access node to the optical fiber time synchronization remote end equipment node corresponding to the response node address are obtained according to the networking structure, the time service data frame is transmitted to the corresponding optical fiber time synchronization remote end equipment node according to all the paths, the optimal path obtained by judging the transmission quality of all the paths by the corresponding optical fiber time synchronization remote end equipment node is received, and if yes, the time service data frame is transmitted to the optical fiber time synchronization remote end equipment node corresponding to the response node address according to the optimal path.
10. The dual-mode optical fiber-based time service method according to claim 9, wherein the optical fiber time synchronization remote end device node corresponding to the responding node address is configured to perform time service data correction according to the received first time service data frame, and when a new time service data frame is received, determine transmission quality of the new data frame and the previous time service data frame, and send the transmission path of the time service data frame with higher transmission quality as an optimal path to the master access node.
CN202211282492.9A 2022-10-19 2022-10-19 Dual-mode time service method and system based on optical fiber Pending CN115642979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211282492.9A CN115642979A (en) 2022-10-19 2022-10-19 Dual-mode time service method and system based on optical fiber

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211282492.9A CN115642979A (en) 2022-10-19 2022-10-19 Dual-mode time service method and system based on optical fiber

Publications (1)

Publication Number Publication Date
CN115642979A true CN115642979A (en) 2023-01-24

Family

ID=84944179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211282492.9A Pending CN115642979A (en) 2022-10-19 2022-10-19 Dual-mode time service method and system based on optical fiber

Country Status (1)

Country Link
CN (1) CN115642979A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118410527A (en) * 2024-05-23 2024-07-30 南京乾恩软件有限公司 Time tracing encryption time service card

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170104528A1 (en) * 2014-07-04 2017-04-13 Shanghai Jiao Tong University Method and system for high-precision two-way fiber-optic time transfer
WO2018098606A1 (en) * 2016-12-02 2018-06-07 中国科学院地质与地球物理研究所 High-precision synchronous data transmission method and device for vibration monitoring system collaboratively using ethernet and serial port rs-232
CN113075699A (en) * 2021-03-23 2021-07-06 广东工业大学 5G gateway multi-mode composite high-precision time service method and system
CN113162718A (en) * 2021-04-02 2021-07-23 北京卫星导航中心 Time determination method, system and medium based on multiple time service signals
CN113810121A (en) * 2021-09-02 2021-12-17 中国科学院国家授时中心 Optical fiber time synchronization method and system based on encrypted communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170104528A1 (en) * 2014-07-04 2017-04-13 Shanghai Jiao Tong University Method and system for high-precision two-way fiber-optic time transfer
WO2018098606A1 (en) * 2016-12-02 2018-06-07 中国科学院地质与地球物理研究所 High-precision synchronous data transmission method and device for vibration monitoring system collaboratively using ethernet and serial port rs-232
CN113075699A (en) * 2021-03-23 2021-07-06 广东工业大学 5G gateway multi-mode composite high-precision time service method and system
CN113162718A (en) * 2021-04-02 2021-07-23 北京卫星导航中心 Time determination method, system and medium based on multiple time service signals
CN113810121A (en) * 2021-09-02 2021-12-17 中国科学院国家授时中心 Optical fiber time synchronization method and system based on encrypted communication

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XINXING GUO: "A reliable remote monitoring system of optical fiber time transfer", 《2022 20TH INTERNATIONAL CONFERENCE ON OPTICAL COMMUNICATIONS AND NETWORKS (ICOCN)》, 4 October 2022 (2022-10-04) *
钟震林;李恩;蒋攀;丁明吉;孟永辉;: "基于时钟驯服的高精度光纤授时技术研究", 广东通信技术, no. 05, 15 May 2020 (2020-05-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118410527A (en) * 2024-05-23 2024-07-30 南京乾恩软件有限公司 Time tracing encryption time service card

Similar Documents

Publication Publication Date Title
JP4819910B2 (en) Method and apparatus for positioning in a wireless network
US8340682B2 (en) Method for disseminating geolocation information for network infrastructure devices
CN103828449B (en) Be used for the method and apparatus of the time synchronized of wireless network
US7069325B1 (en) Method and apparatus for handling requests in a network
CN110489486B (en) Method, seed node and medium for generating block chain network
EP1442620B1 (en) Communication equipment, transcoder device and method for processing frames associated with a plurality of wireless protocols
EP3016331B1 (en) Route distributing method, system and apparatus
CN109379772B (en) Network channel switching method, device, equipment and storage medium
JP2002525638A5 (en)
KR20140068125A (en) Generic broadcast of location assistance data
US7761084B2 (en) Systems and methods for session records correlation
GB2359209A (en) Apparatus and methods for video distribution via networks
US10505651B1 (en) Precision time synchronization over standardized networking protocols
JP2010536250A (en) Apparatus, system and method for synchronous communication of content to display device and portable device
JP2003298630A (en) Time synchronization method
WO2019128869A1 (en) Flexible ethernet delay measurement method and related device
KR20090012326A (en) Method and apparatus for coordinating timing in a wireless local area network
CN115642979A (en) Dual-mode time service method and system based on optical fiber
EP3989476B1 (en) Communication device, computer-readable medium, and communication system
KR100966363B1 (en) Relay unit, communication terminal and communication method
JP5426695B2 (en) Method for synchronizing clocks by separately transmitting first data and second data by at least one timing distribution protocol, and related systems and modules
CN107959537B (en) State synchronization method and device
US20120188985A1 (en) Mobile communication system, wireless apparatus, and wireless apparatus control apparatus
WO2021166267A1 (en) Communication delay measuring device, communication delay measuring method, and program
US11728917B2 (en) Robust distribution of IP timing signals

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination