Synchronization method, device, time server and downstream time server

Through the time server maintains multiple time references and sends clock difference information, the downstream time server calculates the deviation and selects synchronization reference, solving the problem of insufficient time synchronization accuracy in 5G networks, achieving higher precision time synchronization and expanding service scope.

CN114727377BActive Publication Date: 2024-12-31CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110001503.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-04
Publication Date
2024-12-31
Estimated Expiration
2041-01-04

AI Technical Summary

Technical Problem

In the prior art, satellite time synchronization devices cannot meet the time synchronization accuracy requirements of 5G networks, and there are absolute errors of tens of nanoseconds.

Method used

Through the time server maintains multiple time references and sends clock difference information between these references and the observed satellite to the downstream time server. The downstream time server can calculate the deviation between each time reference and select the synchronization reference through the satellite common view method to increase Diversity of output benchmarks to expand the scope of time business services.

Benefits of technology

It realizes higher precision time synchronization, solves the problem of time synchronization equipment output error caused by the time difference of satellite system, and expands the scope of time service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114727377B_ABST
    Figure CN114727377B_ABST
Patent Text Reader

Abstract

The present invention provides a synchronization method, device, time server and downstream time server, the method comprising: the time server maintains multiple time bases locally; sends clock difference information of each locally maintained time base and the observed satellite to the downstream time server; wherein the clock difference information comprises the clock difference value and the identification of the corresponding time base; the downstream time server can calculate the deviation between each time base according to the clock difference information; and can also freely select a certain time base for synchronization by using the satellite common view method, thereby increasing the diversity of the output base and expanding the scope of time business services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a synchronization method, device, time server and downstream time server. Background Art

[0002] Satellite receivers can receive timing signals from the Global Navigation Satellite System (GNSS) and calculate the time of the satellite system. However, the time of each satellite system is not consistent, usually with a difference of tens of nanoseconds (ns), for example, greater than 20ns, and not fixed. When different time synchronization devices receive different satellite system times, it will cause an absolute error of tens of nanoseconds in the time source, which cannot meet the 30ns accuracy requirement of time synchronization devices in 5G networks.

[0003] The multi-mode satellite receiver can choose to receive one satellite system signal as the primary one and the remaining satellite system signals as the backup one.

[0004] Satellite common view principle: Figure 1 As shown in the figure, (a) A is set as the common view master station and B is set as the slave station. The receivers placed at the two stations observe the same GPS satellite at the same time; (b) the time difference between the receiver at station A and the GNSS system time is measured at station A, and the time difference between the receiver at station B and the GNSS system time is measured at station B; (c) the time difference between station A and station B is obtained by subtracting the two time difference values, thus completing the timing.

[0005] In the prior art, time synchronization devices can only output the acquired satellite system time. When different time synchronization devices receive different satellite system times, time synchronization errors will occur. This error is on the order of tens of nanoseconds and cannot meet the requirements of 5G or higher networks. Summary of the invention

[0006] The purpose of the embodiments of the present invention is to provide a synchronization method, device, time server and downstream time server to solve the problem in the prior art that the satellite time synchronization error cannot meet the requirements of 5G or higher networks.

[0007] In order to solve the above problem, an embodiment of the present invention provides a synchronization method, which is executed by a time server and includes:

[0008] The time server maintains multiple time references locally;

[0009] Send the clock difference information between each locally maintained time reference and the observed satellite to the downstream time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0010] Before the time server maintains multiple time references locally, the method further includes at least one of the following:

[0011] The time server is synchronized with the upstream time server through satellite common view interaction or ground time synchronization to obtain a time reference synchronized with the upstream server;

[0012] The time server is synchronized with the satellite system time according to the received satellite timing signal to obtain the time reference synchronized with each satellite system.

[0013] The embodiment of the present invention further provides a synchronization method, which is performed by a downstream time server and includes:

[0014] The receiving time server sends clock difference information between each time reference maintained locally by the time server and the observed satellite; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0015] The time reference locally maintained by the time server includes at least one of the following:

[0016] Synchronize the time base with the upstream time server;

[0017] Synchronize to the time base of each satellite system.

[0018] After receiving the clock difference information between each time reference locally maintained by the time server and the observed satellite from the time server, the method further includes:

[0019] Receive first configuration information, where the first configuration information is used to configure a time synchronization acquisition benchmark for the downstream time server;

[0020] The time synchronization acquisition reference includes: a satellite timing signal, or satellite common view data; wherein the satellite common view data is any one of the time references included in the clock difference information.

[0021] After receiving the clock difference information between each time reference locally maintained by the time server and the observed satellite from the time server, the method further includes:

[0022] receiving second configuration information, wherein the second configuration information is used to configure an output reference of an output interface of a downstream time server;

[0023] The output reference includes: a satellite timing signal, or satellite common view data; the satellite common view data is any one of the time references included in the clock difference information.

[0024] Wherein, if the output reference of the output interface of the downstream time server is inconsistent with the time synchronization acquisition reference of the downstream time server, the method further includes:

[0025] Determine a deviation value between the output reference and the time synchronization reference according to a first clock difference value corresponding to the output reference and a second clock difference value corresponding to the time synchronization acquisition reference;

[0026] The deviation value is compensated to the output time value of the downstream time server output interface.

[0027] The step of determining the deviation between the output reference and the time synchronization reference according to the first clock difference value corresponding to the type of the output reference and the second clock difference value corresponding to the time synchronization acquisition reference includes:

[0028] Calculating a difference between the first clock difference value and the second clock difference value according to the first clock difference value and the second clock difference value;

[0029] The difference is determined as a deviation value between the output reference and the time synchronization reference.

[0030] Wherein, the method further comprises:

[0031] Outputting time information via the downstream time server output interface; wherein the time information includes: an output time value, and an identifier of the output reference.

[0032] The embodiment of the present invention further provides a synchronization device, which is applied to a time server, comprising:

[0033] A maintenance module, used to maintain multiple time bases locally;

[0034] The sending module is used to send the clock difference information between each locally maintained time reference and the observed satellite to the downstream time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0035] An embodiment of the present invention further provides a time server, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:

[0036] Maintain multiple time bases locally;

[0037] Send the clock difference information between each locally maintained time reference and the observed satellite to the downstream time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0038] The processor is further configured to perform at least one of the following operations:

[0039] Synchronize with the upstream time server through satellite common view interaction or ground time synchronization to obtain a time reference synchronized with the upstream server;

[0040] Based on the received satellite timing signal, the system is synchronized with the satellite system time to obtain a time reference synchronized with each satellite system.

[0041] The embodiment of the present invention further provides a synchronization device, which is applied to a downstream time server, comprising:

[0042] The receiving module is used to receive the clock difference information between each time reference maintained locally by the time server and the observed satellite, which is sent by the time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0043] An embodiment of the present invention further provides a downstream time server, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is used to perform the following operations:

[0044] The receiving time server sends clock difference information between each time reference maintained locally by the time server and the observed satellite; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0045] The time reference locally maintained by the time server includes at least one of the following:

[0046] Synchronize the time base with the upstream time server;

[0047] Synchronize to the time base of each satellite system.

[0048] The processor is further configured to perform the following operations:

[0049] Receive first configuration information, where the first configuration information is used to configure a time synchronization acquisition benchmark for the downstream time server;

[0050] The time synchronization acquisition reference includes: a satellite timing signal, or satellite common view data; wherein the satellite common view data is any one of the time references included in the clock difference information.

[0051] The processor is further configured to perform the following operations:

[0052] receiving second configuration information, wherein the second configuration information is used to configure an output reference of an output interface of a downstream time server;

[0053] The output reference includes: a satellite timing signal, or satellite common view data; the satellite common view data is any one of the time references included in the clock difference information.

[0054] The processor is further configured to perform the following operations:

[0055] If the output reference of the downstream time server output interface is inconsistent with the time synchronization acquisition reference of the downstream time server, determine the deviation value between the output reference and the time synchronization reference according to the first clock difference value corresponding to the output reference and the second clock difference value corresponding to the time synchronization acquisition reference;

[0056] The deviation value is compensated to the output time value of the downstream time server output interface.

[0057] The processor is further configured to perform the following operations:

[0058] Calculating a difference between the first clock difference value and the second clock difference value according to the first clock difference value and the second clock difference value;

[0059] The difference is determined as a deviation value between the output reference and the time synchronization reference.

[0060] The processor is further configured to perform the following operations:

[0061] Outputting time information via the downstream time server output interface; wherein the time information includes: an output time value, and an identifier of the output reference.

[0062] An embodiment of the present invention further provides a communication device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the synchronization method as described above is implemented.

[0063] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the synchronization method described above are implemented.

[0064] The above technical solution of the present invention has at least the following beneficial effects:

[0065] In the synchronization method, device, time server and downstream time server of the embodiment of the present invention, the time server maintains multiple time references and sends the clock difference information of multiple time references and observed satellites to the downstream time server. The downstream time server can calculate the deviation between each time reference based on the clock difference information; it can also freely choose to synchronize with a certain time reference using the satellite common view method, which increases the diversity of the output reference and expands the scope of time business services. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A schematic diagram showing the principle of satellite common view;

[0067] Figure 2One of the flowcharts showing the steps of the synchronization method provided by an embodiment of the present invention;

[0068] Figure 3 A schematic diagram showing the structure of a system for applying the synchronization method provided by an embodiment of the present invention;

[0069] Figure 4 A second flowchart showing the steps of the synchronization method provided by an embodiment of the present invention;

[0070] Figure 5 One of the structural schematic diagrams of the synchronization device provided by the embodiment of the present invention is shown;

[0071] Figure 6 A schematic diagram showing the structure of a time server provided by an embodiment of the present invention;

[0072] Figure 7 A second structural diagram showing a synchronization device provided by an embodiment of the present invention;

[0073] Figure 8 A schematic diagram showing the structure of a downstream time server provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0074] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0075] like Figure 2 As shown, an embodiment of the present invention provides a synchronization method, which is executed by a time server and includes:

[0076] Step 201, the time server maintains multiple time references locally;

[0077] Step 202: Send the clock difference information between each locally maintained time reference and the observed satellite to the downstream time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0078] Optionally, the time server sends the clock difference information to the downstream time server at a certain period, and the period is configurable and is not specifically limited here.

[0079] like Figure 3 As shown, the synchronization method provided by the embodiment of the present invention involves two parts: a time server and a downstream time server (or client). The frequency references of the time server and the downstream time server come from the local atomic clock (group), and multiple time bases can be maintained simultaneously.

[0080] The observed satellites may include different GNSS satellites, such as GPS (Global Positioning System) satellites, BD (BeiDou Navigation) satellites, or GLONASS (GLOBAL NAVIGATIONSATELLITE SYSTEM) satellites.

[0081] As an optional embodiment, before the time server maintains multiple time references locally, the method further includes at least one of the following:

[0082] The time server is synchronized with the upstream time server through satellite common view interaction or ground time synchronization to obtain a time reference synchronized with the upstream server; wherein the frequency of synchronization with the upstream time server and the maximum step length of each synchronization adjustment time are configurable and are not specifically limited here;

[0083] The time server synchronizes with the satellite system time based on the received satellite timing signal to obtain a time base synchronized with each satellite system; wherein the frequency of synchronization with the satellite system time and the maximum step size of each synchronization adjustment time are configurable and are not specifically limited here.

[0084] In the embodiment of the present invention, the time server maintains multiple time references and sends clock difference information of multiple time references and observed satellites to the downstream time server. The downstream time server can calculate the deviation between each time reference based on the clock difference information; it can also freely choose to synchronize with a certain time reference using the satellite common view method, which increases the diversity of the output references and expands the scope of time business services.

[0085] like Figure 4 As shown, the embodiment of the present invention further provides a synchronization method, which is executed by a downstream time server, comprising:

[0086] Step 401, receiving clock difference information between each time reference maintained locally by the time server and the observed satellite from a time server; wherein the clock difference information includes a clock difference value and an identifier of the corresponding time reference. Optionally, the time server sends the clock difference information to a downstream time server at a certain period, and the period is configurable and is not specifically limited here.

[0087] The observed satellites may include different GNSS satellites, such as GPS satellites, BD satellites, or GLONASS satellites.

[0088] As an optional embodiment, the time reference locally maintained by the time server includes at least one of the following:

[0089] Synchronize the time base with the upstream time server;

[0090] Synchronize to the time base of each satellite system.

[0091] As another optional embodiment, after step 401, the method further includes:

[0092] Receive first configuration information, where the first configuration information is used to configure a time synchronization acquisition benchmark for the downstream time server;

[0093] The time synchronization acquisition reference includes: a satellite timing signal (eg, a GPS satellite signal, a BD satellite signal, or a GLONASS satellite signal), or satellite common view data; wherein the satellite common view data is any one of the time references included in the clock error information.

[0094] Furthermore, in at least one optional embodiment of the present invention, the method further includes:

[0095] receiving second configuration information, wherein the second configuration information is used to configure an output reference of an output interface of a downstream time server;

[0096] The output reference includes: a satellite timing signal (eg, a GPS satellite signal, a BD satellite signal, or a GLONASS satellite signal), or satellite common view data; the satellite common view data is any one of the time references included in the clock error information.

[0097] In the embodiment of the present invention, the output reference of the output interface of the downstream time server and the time synchronization acquisition reference of the downstream time server may be the same as or different from each other.

[0098] If the downstream time server does not receive the second configuration information, the output reference of the downstream time server output interface is configured by default to be the same as the time synchronization acquisition reference of the downstream time server. If the downstream time server receives the second configuration information, the output reference of the downstream time server output interface is based on the second configuration information configuration.

[0099] As an optional embodiment, if the output reference of the output interface of the downstream time server is inconsistent with the time synchronization acquisition reference of the downstream time server, the method further includes:

[0100] Determine a deviation value between the output reference and the time synchronization reference according to a first clock difference value corresponding to the output reference and a second clock difference value corresponding to the time synchronization acquisition reference;

[0101] The deviation value is compensated to the output time value of the downstream time server output interface.

[0102] In other words, if the output reference of the downstream time server output interface is inconsistent with the time synchronization acquisition reference of the downstream time server, the downstream time server calculates the deviation value between the output reference and the time synchronization acquisition reference of the downstream time server based on the received clock difference information, and compensates the deviation value to the time value of the output interface.

[0103] The step of determining the deviation between the output reference and the time synchronization reference according to the first clock difference value corresponding to the type of the output reference and the second clock difference value corresponding to the time synchronization acquisition reference includes:

[0104] Calculating a difference between the first clock difference value and the second clock difference value according to the first clock difference value and the second clock difference value;

[0105] The difference is determined as a deviation value between the output reference and the time synchronization reference.

[0106] Specifically, the downstream time server collects the clock error information received within a certain period before the current time, calculates the difference between the first clock error value and the second clock error value according to the clock error information, and uses the difference as the deviation value between the above two time references within the period. The period is configurable and should be greater than the period of sending the clock error information or an integer multiple of the period of sending the clock error information.

[0107] As another optional embodiment, the method further includes:

[0108] Outputting time information via the downstream time server output interface; wherein the time information includes: an output time value, and an identifier of the output reference.

[0109] Example 1

[0110] 1) The time server tracks the UTC-NIM server of the National Institute of Metrology or the UTC-NTSC server of the National Time Service Center through the satellite common view method to obtain a local time reference synchronized with UTC-NIM (identifier: CMCC-LAB1-UTC-NIM-TRACE) or a local time reference synchronized with UTC-NTSC (identifier: CMCC-LAB1-UTC-NTSC-TRACE). The calibration frequency can be configured to 16 minutes / time, and the maximum calibration step can be configured to 1ns / time.

[0111] 2) The time server locks and solves the satellite system time through GPS and Beidou satellite receivers to obtain the local time reference synchronized with the GPS satellite system (identifier: CMCC-LAB1-GPS-TRACE) and the local time reference synchronized with the Beidou navigation satellite system (identifier: CMCC-LAB1-BD-TRACE). The time calibration frequency can be configured to 16 minutes / time, and the maximum time calibration step can be configured to 1ns / time.

[0112] 3) The time server sends the clock difference information of each time reference maintained locally and the observed satellite to the downstream time server in a 1-minute cycle. The clock difference information is carried in a message. The identifier of the time reference contained in the clock difference information is filled in a field in the message.

[0113] 4) The system configures the downstream time server to obtain the time synchronization reference as GNSS-GPS, that is, tracking and synchronizing with the GPS satellite timing signal.

[0114] 5) The system configures the output reference of the downstream time server output interface to be GNSS-Beidou.

[0115] 6) The downstream time server detects that the output reference of the output interface is GNSS-Beidou, which is inconsistent with the time synchronization acquisition reference (GNSS-GPS). First, the deviation value of the GNSS-Beidou and GNSS-GPS references is calculated to be 35.1ns based on the clock difference information received in step 3, and then the deviation value between the output reference and the time synchronization acquisition reference is compensated to the time value output by the output interface.

[0116] 7) The output interface of the downstream time server is a PTP (Precise Time Protocol) interface, and the identifier of the output reference is carried in the timeSource field of the PTP protocol message.

[0117] In summary, in the embodiment of the present invention, the time server maintains multiple time references and sends the clock difference information of multiple time references and the observed satellites to the downstream time server. The downstream time server can calculate the deviation between each time reference based on the clock difference information; it can also freely choose to synchronize with a certain time reference using the satellite common view method, which increases the diversity of output references and can expand the scope of time business services; it can solve the problem of output error of time synchronization equipment caused by the time difference of the satellite system.

[0118] like Figure 5 As shown, an embodiment of the present invention further provides a synchronization device, which is applied to a time server, comprising:

[0119] A maintenance module 501, used for maintaining multiple time references locally;

[0120] The sending module 502 is used to send the clock difference information between each locally maintained time reference and the observed satellite to the downstream time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0121] As an optional embodiment, the device further includes:

[0122] A time reference determination module is used to synchronize with an upstream time server through satellite common view interaction or ground time synchronization to obtain a time reference synchronized with the upstream server;

[0123] And / or, it is used to synchronize with the satellite system time according to the received satellite timing signal to obtain the time reference synchronized with each satellite system.

[0124] In the embodiment of the present invention, the time server maintains multiple time references and sends the clock difference information of the multiple time references and the observed satellites to the downstream time server. The downstream time server can calculate the deviation between the various time references based on the clock difference information; it can also freely choose to synchronize with a certain time reference using the satellite common view method, which increases the diversity of the output references and can expand the scope of time business services; it can solve the problem of output error of time synchronization equipment caused by the time difference of the satellite system.

[0125] It should be noted that the synchronization device provided in the embodiment of the present invention is a device capable of executing the above-mentioned synchronization method, and all embodiments of the above-mentioned synchronization method are applicable to the device and can achieve the same or similar beneficial effects.

[0126] like Figure 6 As shown, an embodiment of the present invention further provides a time server, including a processor 600 and a transceiver 610, wherein the transceiver 610 receives and sends data under the control of the processor 600, and the processor 600 is used to perform the following operations:

[0127] Maintain multiple time bases locally;

[0128] Send the clock difference information between each locally maintained time reference and the observed satellite to the downstream time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0129] As an optional embodiment, the processor 600 is further configured to perform at least one of the following operations:

[0130] Synchronize with the upstream time server through satellite common view interaction or ground time synchronization to obtain a time reference synchronized with the upstream server;

[0131] Based on the received satellite timing signal, the system is synchronized with the satellite system time to obtain a time reference synchronized with each satellite system.

[0132] In the embodiment of the present invention, the time server maintains multiple time references and sends the clock difference information of the multiple time references and the observed satellites to the downstream time server. The downstream time server can calculate the deviation between the various time references based on the clock difference information; it can also freely choose to synchronize with a certain time reference using the satellite common view method, which increases the diversity of the output references and can expand the scope of time business services; it can solve the problem of output error of time synchronization equipment caused by the time difference of the satellite system.

[0133] It should be noted that the embodiment of the present invention provides a time server that is capable of executing the above synchronization method. All embodiments of the above synchronization method are applicable to the time server and can achieve the same or similar beneficial effects.

[0134] like Figure 7 As shown, an embodiment of the present invention further provides a synchronization device, which is applied to a downstream time server, comprising:

[0135] The receiving module 701 is used to receive the clock difference information between each time reference locally maintained by the time server and the observed satellite, which is sent by the time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0136] As an optional embodiment, the time reference locally maintained by the time server includes at least one of the following:

[0137] Synchronize the time base with the upstream time server;

[0138] Synchronize to the time base of each satellite system.

[0139] As an optional embodiment, the device further includes:

[0140] A first configuration receiving module, configured to receive first configuration information, where the first configuration information is used to configure a time synchronization acquisition benchmark for the downstream time server;

[0141] The time synchronization acquisition reference includes: a satellite timing signal, or satellite common view data; wherein the satellite common view data is any one of the time references included in the clock difference information.

[0142] As an optional embodiment, the device further includes:

[0143] A second configuration receiving module, used to receive second configuration information, where the second configuration information is used to configure an output reference of an output interface of a downstream time server;

[0144] The output reference includes: a satellite timing signal, or satellite common view data; the satellite common view data is any one of the time references included in the clock difference information.

[0145] As an optional embodiment, if the output reference of the output interface of the downstream time server is inconsistent with the time synchronization acquisition reference of the downstream time server, the device further includes:

[0146] A deviation determination module, used to determine a deviation value between an output reference and a time synchronization reference according to a first clock difference value corresponding to the output reference and a second clock difference value corresponding to the time synchronization acquisition reference;

[0147] The compensation module is used to compensate the deviation value to the output time value of the output interface of the downstream time server.

[0148] As an optional embodiment, the deviation determination module includes:

[0149] A first calculation submodule, configured to calculate a difference between a first clock difference value and a second clock difference value according to the first clock difference value and the second clock difference value;

[0150] The first determining submodule is used to determine the difference as a deviation value between the output reference and the time synchronization reference.

[0151] As an optional embodiment, the device further includes:

[0152] An output module is used to output time information through the downstream time server output interface; wherein the time information includes: an output time value, and an identifier of the output reference.

[0153] In the embodiment of the present invention, the time server maintains multiple time references and sends the clock difference information of the multiple time references and the observed satellites to the downstream time server. The downstream time server can calculate the deviation between the various time references based on the clock difference information; it can also freely choose to synchronize with a certain time reference using the satellite common view method, which increases the diversity of the output references and can expand the scope of time business services; it can solve the problem of output error of time synchronization equipment caused by the time difference of the satellite system.

[0154] It should be noted that the synchronization device provided in the embodiment of the present invention is a device capable of executing the above-mentioned synchronization method, and all embodiments of the above-mentioned synchronization method are applicable to the device and can achieve the same or similar beneficial effects.

[0155] like Figure 8 As shown, an embodiment of the present invention further provides a downstream time server, including a processor 800 and a transceiver 810, wherein the transceiver 810 receives and sends data under the control of the processor 800, and the processor 800 is used to perform the following operations:

[0156] The receiving time server sends clock difference information between each time reference maintained locally by the time server and the observed satellite; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference.

[0157] As an optional embodiment, the time reference locally maintained by the time server includes at least one of the following:

[0158] Synchronize the time base with the upstream time server;

[0159] Synchronize to the time base of each satellite system.

[0160] As an optional embodiment, the processor 800 is further configured to perform the following operations:

[0161] Receive first configuration information, where the first configuration information is used to configure a time synchronization acquisition benchmark for the downstream time server;

[0162] The time synchronization acquisition reference includes: a satellite timing signal, or satellite common view data; wherein the satellite common view data is any one of the time references included in the clock difference information.

[0163] As an optional embodiment, the processor 800 is further configured to perform the following operations:

[0164] receiving second configuration information, wherein the second configuration information is used to configure an output reference of an output interface of a downstream time server;

[0165] The output reference includes: a satellite timing signal, or satellite common view data; the satellite common view data is any one of the time references included in the clock difference information.

[0166] As an optional embodiment, the processor 800 is further configured to perform the following operations:

[0167] If the output reference of the downstream time server output interface is inconsistent with the time synchronization acquisition reference of the downstream time server, determine the deviation value between the output reference and the time synchronization reference according to the first clock difference value corresponding to the output reference and the second clock difference value corresponding to the time synchronization acquisition reference;

[0168] The deviation value is compensated to the output time value of the downstream time server output interface.

[0169] As an optional embodiment, the processor 800 is further configured to perform the following operations:

[0170] Calculating a difference between the first clock difference value and the second clock difference value according to the first clock difference value and the second clock difference value;

[0171] The difference is determined as a deviation value between the output reference and the time synchronization reference.

[0172] As an optional embodiment, the processor 800 is further configured to perform the following operations:

[0173] Outputting time information via the downstream time server output interface; wherein the time information includes: an output time value, and an identifier of the output reference.

[0174] In the embodiment of the present invention, the time server maintains multiple time references and sends the clock difference information of the multiple time references and the observed satellites to the downstream time server. The downstream time server can calculate the deviation between the various time references based on the clock difference information; it can also freely choose to synchronize with a certain time reference using the satellite common view method, which increases the diversity of the output references and can expand the scope of time business services; it can solve the problem of output error of time synchronization equipment caused by the time difference of the satellite system.

[0175] It should be noted that the downstream time server provided in the embodiment of the present invention is a downstream time server capable of executing the above synchronization method, and all embodiments of the above synchronization method are applicable to the downstream time server and can achieve the same or similar beneficial effects.

[0176] An embodiment of the present invention also provides a communication device, which is a time server or a downstream time server, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the various processes in the synchronization method embodiment as described above are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be described here.

[0177] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, each process in the synchronization method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not described here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0178] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0179] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to 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 device that specifies functions in one or more processes and / or one or more blocks.

[0180] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable storage medium produce a paper product including 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.

[0181] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that the computer or other programmable device executes a series of operating steps to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device 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.

[0182] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A synchronization method, performed by a time server, characterized in that: include: The time server maintains multiple time references locally; Sending clock difference information between each locally maintained time reference and the observed satellite to a downstream time server; wherein the clock difference information includes a clock difference value and an identifier of the corresponding time reference; and the observed satellite includes different GNSS satellites.

2. The method according to claim 1, characterized in that Before the time server maintains multiple time references locally, the method further includes at least one of the following: The time server is synchronized with the upstream time server through satellite common view interaction or ground time synchronization to obtain a time reference synchronized with the upstream server; The time server is synchronized with the satellite system time according to the received satellite timing signal to obtain the time reference synchronized with each satellite system.

3. A synchronization method, performed by a downstream time server, characterized in that: include: The receiving time server sends clock difference information between each time reference maintained locally by the time server and the observed satellite; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference; and the observed satellite includes different GNSS satellites.

4. The method according to claim 3, characterized in that The time reference locally maintained by the time server includes at least one of the following: Synchronize the time base with the upstream time server; Synchronize to the time base of each satellite system.

5. The method according to claim 3, characterized in that: After receiving the clock difference information between each time reference locally maintained by the time server and the observed satellite sent by the time server, the method further includes: Receive first configuration information, where the first configuration information is used to configure a time synchronization acquisition benchmark for the downstream time server; The time synchronization acquisition reference includes: a satellite timing signal, or satellite common view data; wherein the satellite common view data is any one of the time references included in the clock difference information.

6. The method according to claim 5, characterized in that After receiving the clock difference information between each time reference locally maintained by the time server and the observed satellite sent by the time server, the method further includes: receiving second configuration information, wherein the second configuration information is used to configure an output reference of an output interface of a downstream time server; The output reference includes: a satellite timing signal, or satellite common view data; the satellite common view data is any one of the time references included in the clock difference information.

7. The method according to claim 6, characterized in that If the output reference of the downstream time server output interface is inconsistent with the time synchronization acquisition reference of the downstream time server, the method further includes: Determine a deviation value between the output reference and the time synchronization reference according to a first clock difference value corresponding to the output reference and a second clock difference value corresponding to the time synchronization acquisition reference; The deviation value is compensated to the output time value of the downstream time server output interface.

8. The method according to claim 7, characterized in that The determining, according to the first clock difference value corresponding to the type of the output reference and the second clock difference value corresponding to the time synchronization acquisition reference, a deviation value between the output reference and the time synchronization reference, comprises: Calculating a difference between the first clock difference value and the second clock difference value according to the first clock difference value and the second clock difference value; The difference is determined as a deviation value between the output reference and the time synchronization reference.

9. The method according to claim 6 or 8, characterized in that: The method further comprises: Outputting time information via the downstream time server output interface; wherein the time information includes: an output time value, and an identifier of the output reference.

10. A synchronization device, applied to a time server, characterized in that: include: A maintenance module, used to maintain multiple time bases locally; A sending module is used to send clock difference information between each locally maintained time reference and the observed satellite to a downstream time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference; and the observed satellite includes different GNSS satellites.

11. A time server, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Maintain multiple time bases locally; Sending clock difference information between each locally maintained time reference and the observed satellite to a downstream time server; wherein the clock difference information includes a clock difference value and an identifier of the corresponding time reference; and the observed satellite includes different GNSS satellites.

12. The time server according to claim 11, characterized in that: The processor is further configured to perform at least one of the following operations: Synchronize with the upstream time server through satellite common view interaction or ground time synchronization to obtain a time reference synchronized with the upstream server; Based on the received satellite timing signal, the system is synchronized with the satellite system time to obtain a time base synchronized with each satellite system.

13. A synchronization device, applied to a downstream time server, characterized in that: include: A receiving module is used to receive clock difference information between various time references locally maintained by the time server and the observed satellites sent by the time server; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference; and the observed satellites include different GNSS satellites.

14. A downstream time server, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: The receiving time server sends clock difference information between each time reference maintained locally by the time server and the observed satellite; wherein the clock difference information includes the clock difference value and the identifier of the corresponding time reference; and the observed satellite includes different GNSS satellites.

15. The downstream time server according to claim 14, characterized in that The time reference locally maintained by the time server includes at least one of the following: Synchronize the time base with the upstream time server; Synchronize to the time base of each satellite system.

16. The downstream time server according to claim 14, characterized in that The processor is further configured to perform the following operations: Receive first configuration information, where the first configuration information is used to configure a time synchronization acquisition benchmark for the downstream time server; The time synchronization acquisition reference includes: a satellite timing signal, or satellite common view data; wherein the satellite common view data is any one of the time references included in the clock difference information.

17. The downstream time server according to claim 16, characterized in that The processor is further configured to perform the following operations: receiving second configuration information, wherein the second configuration information is used to configure an output reference of an output interface of a downstream time server; The output reference includes: a satellite timing signal, or satellite common view data; the satellite common view data is any one of the time references included in the clock difference information.

18. The downstream time server according to claim 17, characterized in that The processor is further configured to perform the following operations: If the output reference of the downstream time server output interface is inconsistent with the time synchronization acquisition reference of the downstream time server, determine the deviation value between the output reference and the time synchronization reference according to the first clock difference value corresponding to the output reference and the second clock difference value corresponding to the time synchronization acquisition reference; The deviation value is compensated to the output time value of the downstream time server output interface.

19. The downstream time server according to claim 18, characterized in that The processor is further configured to perform the following operations: Calculating a difference between the first clock difference value and the second clock difference value according to the first clock difference value and the second clock difference value; The difference is determined as a deviation value between the output reference and the time synchronization reference.

20. The downstream time server according to claim 17 or 19, characterized in that: The processor is further configured to perform the following operations: Outputting time information via the downstream time server output interface; wherein the time information includes: an output time value, and an identifier of the output reference.

21. A communication device comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the synchronization method as described in claim 1 or 2 is implemented; or, when the processor executes the program, the synchronization method as described in any one of claims 3 to 9 is implemented.

22. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the synchronization method as described in claim 1 or 2 are implemented; or, when the program is executed by a processor, the steps in the synchronization method as described in any one of claims 3 to 9 are implemented.