Information processing method and apparatus, and related devices, storage medium and computer program product

By generating messages associated with satellite time reference source signals and PTP signals, a unified time reference source for base station equipment clocks is ensured, thus solving the problems of time synchronization reliability and accuracy of base station equipment and enabling fault diagnosis and optimization.

WO2025228159A1PCT designated stage Publication Date: 2025-11-06CHINA MOBILE COMM LTD RES INST +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/089925
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-04-30
Filing Date
2025-04-18
Publication Date
2025-11-06

AI Technical Summary

Technical Problem

In existing technologies, base station equipment lacks an effective verification mechanism when using satellite time reference source signals and PTP signals for time synchronization, making it difficult to guarantee the reliability and accuracy of time synchronization.

Method used

By generating messages associated with the satellite time reference source signal and the PTP signal, the system ensures that the two clocks locked by the base station equipment have a unified time reference source, and uses a difference check mechanism to identify network faults and defects, thereby optimizing the time synchronization process.

Benefits of technology

This improves the accuracy and reliability of time synchronization for base station equipment, enabling accurate identification of network faults and defects, and enhancing the efficiency and effectiveness of network operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025089925_06112025_PF_FP_ABST
    Figure CN2025089925_06112025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are an information processing method and apparatus, and a first device, a second device, a storage medium and a computer program product. The method comprises: a first device generating a first message and a second message on the basis of a first clock, and sending the first message and the second message to a second device, wherein the first message is associated with a third clock, and the second message is associated with a fourth clock; alternatively, acquiring a satellite time reference source signal, using the satellite time reference source signal to determine a second clock, generating a third message on the basis of the second clock, and sending the third message to the second device, wherein the third message is associated with the fourth clock, the third clock comes from the satellite time reference source signal, and the fourth clock comes from a precise time protocol (PTP) signal; acquiring first information from the second device, wherein the first information represents the difference between the third clock and the fourth clock; and using the first information to determine second information, wherein the second information represents the accuracy of the difference.
Need to check novelty before this filing date? Find Prior Art

Description

Information processing method and device, related equipment, storage medium and computer program product

[0001] Cross-reference of related applications

[0002] The present application is based on the Chinese patent application No. 202410544408.9, filed on April 30, 2024, and claims the priority of the Chinese patent application, the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0003] The present application relates to the field of network transmission, and in particular to an information processing method and device, related equipment, storage medium and computer program product. BACKGROUND

[0004] In related technologies, a base station device can perform time synchronization (also referred to as space-based synchronization) using a satellite time reference source signal, and the base station device can also perform time synchronization (also referred to as ground-based synchronization) using a precision time protocol (PTP) signal.

[0005] However, how to use the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal to check each other to improve the reliability of time synchronization of the base station device has not yet been effectively solved. SUMMARY

[0006] To solve the problems in related technologies, the present application provides an information processing method and device, related equipment, storage medium and computer program product.

[0007] The technical solution of the present application embodiment is implemented as follows:

[0008] The present application embodiment provides an information processing method applied to a first device, comprising:

[0009] Based on a first clock, a first message and a second message are generated, and the first message and the second message are sent to a second device, the first message is associated with a third clock, and the second message is associated with a fourth clock; or, a satellite time reference source signal is acquired, a second clock is determined using the satellite time reference source signal, a third message is generated based on the second clock, and the third message is sent to the second device, the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal;

[0010] First information is acquired from the second device, the first information representing the difference between the third clock and the fourth clock at the same time point;

[0011] determining second information using the first information, the second information representing accuracy of the difference.

[0012] In the above solution, the first information is obtained from the second device by:

[0013] receiving the first information sent by the second device;

[0014] or,

[0015] obtaining the first information from the second device by using a soft probe technology;

[0016] or,

[0017] obtaining the first information from the second device by invoking a first interface, the first interface being used to manage and / or control the second device.

[0018] In the above solution, the first information is received from the second device by:

[0019] receiving a PTP signaling message sent by the second device, the signaling message containing the first information.

[0020] In the above solution, the first information is carried in a type-length-value (TLV) of the signaling message.

[0021] In the above solution, the second information is determined using the first information by:

[0022] determining the second information using the first information and a first threshold range.

[0023] In the above solution, in a case where the difference belongs to the first threshold range, the second information represents that the difference meets a preset accuracy.

[0024] or,

[0025] In a case where the difference does not belong to the first threshold range, the second information represents that the difference does not meet the preset accuracy.

[0026] In the above solution, the method further includes:

[0027] determining third information, the third information representing a difference between a preset third clock and a fourth clock at a same time point;

[0028] determining the first threshold range using the third information;

[0029] generate the first message and the second message based on the first clock and the third information, wherein a difference between the third clock determined by the second device using the first message and the fourth clock determined by the second device using the second message at the same time point is associated with the preset difference; or generate the third message based on the second clock and the third information, wherein a difference between the third clock determined by the second device using the satellite time reference source signal and the fourth clock determined by the second device using the third message at the same time point is associated with the preset difference.

[0030] The embodiment of the application further provides an information processing method applied to a second device, comprising:

[0031] receive the first message and the second message sent by the first device, determine the first information using the first message and the second message, wherein the first message and the second message are generated based on a first clock, the first message is associated with a third clock, and the second message is associated with a fourth clock; or receive the third message sent by the first device, and obtain a satellite time reference source signal, determine the first information using the third message and the satellite time reference source signal, wherein the third message is generated based on a second clock, the second clock is associated with the satellite time reference source signal, and the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from a PTP signal, and the first information represents a difference between the third clock and the fourth clock at the same time point.

[0032] provide the first information to the first device.

[0033] In the above scheme, the providing of the first information to the first device comprises:

[0034] send a Signaling message of PTP to the first device, wherein the Signaling message contains the first information.

[0035] In the above scheme, the first information is carried in a TLV of the Signaling message.

[0036] In the above scheme, the determining of the first information using the first message and the second message comprises:

[0037] determine the third clock using the first message, and determine the fourth clock using the second message.

[0038] determine the first information using the third clock and the fourth clock.

[0039] In the above scheme, the determining of the first information using the third message and the satellite time reference source signal comprises:

[0040] determining the third clock by using the satellite time reference source signal, and determining the fourth clock by using the third message;

[0041] determining the first information by using the third clock and the fourth clock.

[0042] Embodiments of the present application further provide an information processing apparatus, comprising:

[0043] a message processing unit configured to generate a first message and a second message based on a first clock, and send the first message and the second message to a second device, the first message being associated with a third clock, and the second message being associated with a fourth clock; or, acquire a satellite time reference source signal, determine a second clock by using the satellite time reference source signal, generate a third message based on the second clock, and send the third message to the second device, the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal;

[0044] an acquiring unit configured to acquire first information from the second device, the first information representing a difference between the third clock and the fourth clock at a same time point;

[0045] a first determining unit configured to determine second information by using the first information, the second information representing an accuracy of the difference.

[0046] Embodiments of the present application further provide an information processing apparatus, comprising:

[0047] a second determining unit configured to receive a first message and a second message sent by a first device, and determine first information by using the first message and the second message, the first message and the second message being generated based on a first clock, the first message being associated with a third clock, and the second message being associated with a fourth clock; or, receive a third message sent by the first device, and acquire a satellite time reference source signal, and determine the first information by using the third message and the satellite time reference source signal, the third message being generated based on a second clock, the second clock being associated with the satellite time reference source signal, and the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from a PTP signal, and the first information represents a difference between the third clock and the fourth clock at a same time point;

[0048] a providing unit configured to provide the first information to the first device.

[0049] Embodiments of the present application further provide a first device, comprising a first processor and a first communication interface; wherein

[0050] The first processor is configured to generate the first message and the second message based on a first clock, and send the first message and the second message to the second device through the first communication interface, wherein the first message is associated with a third clock, and the second message is associated with a fourth clock; or configured to acquire a satellite time reference source signal, determine a second clock by using the satellite time reference source signal, generate a third message based on the second clock, and send the third message to the second device through the first communication interface, wherein the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal; acquire first information from the second device, wherein the first information represents a difference between the third clock and the fourth clock at the same time point; and determine second information by using the first information, wherein the second information represents an accuracy of the difference.

[0051] The second device provided by the embodiments of the present application comprises a second processor and a second communication interface.

[0052] The second processor is configured to receive the first message and the second message sent by the first device through the second communication interface, and determine first information by using the first message and the second message, wherein the first message and the second message are generated based on a first clock, the first message is associated with a third clock, and the second message is associated with a fourth clock; or receive the third message sent by the first device through the second communication interface, acquire a satellite time reference source signal, and determine the first information by using the third message and the satellite time reference source signal, wherein the third message is generated based on a second clock, the second clock is associated with the satellite time reference source signal, and the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from a PTP signal, and the first information represents a difference between the third clock and the fourth clock at the same time point; and provide the first information to the first device through the second communication interface.

[0053] The first device provided by the embodiments of the present application comprises a first processor and a first memory for storing a computer program capable of running on the processor.

[0054] The first processor is configured to execute the steps of any method on the first device side when the computer program is run.

[0055] The second device provided by the embodiments of the present application comprises a second processor and a second memory for storing a computer program capable of running on the processor.

[0056] The second processor is configured to execute the steps of any method on the second device side when the computer program is run.

[0057] The embodiment of the present application further provides a storage medium, which has a computer program stored thereon, and the computer program is executed by a processor to implement the steps of any method on the first device side or the steps of any method on the second device side.

[0058] The embodiment of the present application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the steps of any method on the first device side or the steps of any method on the second device side.

[0059] The information processing method, device, first device, second device, storage medium and computer program product provided by the embodiments of the present application, the first device generates a first message and a second message based on a first clock, and sends the first message and the second message to a second device, the first message is associated with a third clock, and the second message is associated with a fourth clock; or, a satellite time reference source signal is obtained, the second clock is determined by using the satellite time reference source signal, a third message is generated based on the second clock, and the third message is sent to the second device, the third message is associated with the fourth clock; wherein, the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal; after receiving the first message and the second message, the second device determines first information by using the first message and the second message; or, the second device receives the third message and obtains a satellite time reference source signal, and determines first information by using the third message and the satellite time reference source signal, the first information represents a difference value of the third clock and the fourth clock at the same time point; the first device obtains the first information from the second device; the first device determines second information by using the first information, and the second information represents the accuracy of the difference value.The scheme provided by the embodiments of the present application is as follows: the first device generates a first message associated with a satellite time reference source signal and a second message associated with a PTP signal based on the same clock (i.e., the first clock described above), and sends the first message and the second message to the second device, so that the second device can lock a third clock by using the first message and lock a fourth clock by using the second message; or, the first device determines a second clock based on the satellite time reference source signal, and generates a third message associated with the PTP signal based on the second clock, and sends the third message to the second device, so that the second device can lock the third clock by using the satellite time reference source signal and lock the fourth clock by using the third message; at this time, when the second device performs time synchronization, the third clock and the fourth clock are associated with the same clock (i.e., the first clock or the clock corresponding to the satellite time reference source signal (also referred to as a satellite clock)), that is, the third clock and the fourth clock have a unified time reference source; then, the first device obtains the difference (which can also be understood as the time difference or deviation or offset of the third clock and the fourth clock) of the third clock and the fourth clock in the second device at the same time point (which can also be understood as the same time), and verifies the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal by using the obtained difference, to obtain a verification result; in this way, after the network maintenance personnel obtains the verification result from the first device, the network maintenance personnel can accurately determine whether the second device has a network fault and / or defect according to the verification result, and when the determination result indicates that there is a network fault and / or defect, the network maintenance personnel analyzes (which can also be understood as positioning) the root cause (which can be expressed in English as Root Cause) of the network fault and / or defect, and adjusts and optimizes the second device, to improve the accuracy and reliability of time synchronization performed by the second device. BRIEF DESCRIPTION OF DRAWINGS

[0060] FIG. 1 is a flow diagram of an information processing method according to an embodiment of the present application;

[0061] FIG. 2 is a flow diagram of another information processing method according to an embodiment of the present application;

[0062] FIG. 3 is a flow diagram of a third information processing method according to an embodiment of the present application;

[0063] FIG. 4a is a flow diagram of an example of a time difference backhaul test method according to an embodiment of the present application;

[0064] FIG. 4b is a flow diagram of another example of a time difference backhaul test method according to an embodiment of the present application;

[0065] FIG. 5 is a structural diagram of an information processing device according to an embodiment of the present application;

[0066] FIG. 6 is a structural diagram of another information processing device according to an embodiment of the present application;

[0067] FIG. 7 is a schematic diagram of a first device structure according to an embodiment of the present application;

[0068] FIG. 8 is a schematic diagram of a second device structure according to an embodiment of the present application;

[0069] FIG. 9 is a schematic diagram of an information processing system structure according to an embodiment of the present application. DETAILED DESCRIPTION

[0070] The present application will be further described below in conjunction with the accompanying drawings and embodiments.

[0071] In the related art, a base station (which can also be referred to as a base station device or a mobile communication base station device) can receive a satellite time reference source signal, and lock a clock from the satellite time reference source signal using the satellite time reference source signal; or the base station can receive a message associated with the satellite time reference source signal sent by another device, and lock a clock from the satellite time reference source signal using the received message; after the base station locks the clock from the satellite time reference source signal, the base station can use the locked clock as the clock of the base station, thereby achieving time synchronization; wherein the specific name of the message associated with the satellite time reference source signal is associated with the specific type of the satellite time reference source, for example, when the satellite time reference source includes a global navigation satellite system (GNSS, Global Navigation Satellite System, such as Beidou, Global Positioning System (GPS, Global Positioning System), etc.), the message associated with the satellite time reference source signal can be referred to as a GNSS message.

[0072] Of course, the base station can also receive a message associated with the PTP signal, lock a clock from the PTP signal using the message associated with the PTP signal (hereinafter referred to as a PTP message), and use the locked clock as the clock of the base station, thereby achieving time synchronization.

[0073] As can be seen from the above description, the base station can lock a clock from the satellite time reference source signal (which can also be understood as determining a time synchronization result based on the satellite time reference source signal) through the GNSS message, synchronize the clock of the base station with the clock corresponding to the satellite time reference source signal or the GNSS message; at the same time, the base station can lock a clock from the PTP signal (which can also be understood as determining a time synchronization result based on the PTP signal) through the PTP message, and synchronize the clock of the base station with the clock corresponding to the PTP message.

[0074] In actual application, when the base station has network failure and / or defect, the clocks locked by the base station (i.e. the clock from the satellite time reference source signal and the clock from the PTP signal) can be inaccurate. At this time, the base station can measure (or calculate) the difference between the two clocks at the same time point, and report the difference to the network operation personnel through the reporting management system or the device (also referred to as an instrument, a measuring instrument, a transmission device, etc.) that sends the PTP message and / or the GNSS message. In this way, the network operation personnel can use the difference to check (or monitor) the accuracy of the synchronization results of the two time synchronization schemes (or mutual monitoring or mutual checking of the space-based synchronization and the ground-based synchronization), and determine whether the base station has network failure and / or defect. When the determination result indicates that there is network failure and / or defect, the network operation personnel can analyze the root cause of the network failure and / or defect, so as to better adjust and optimize the base station, and improve the accuracy and reliability of the time synchronization of the base station.

[0075] However, in the related art, the clocks locked by the base station from the satellite time reference source signal and the PTP signal do not have a unified time reference source (or time reference source), that is, the satellite time reference source signal (or GNSS message) and the PTP message are usually not generated based on a unified clock. In this case, the difference between the two clocks locked by the base station at the same time point can be caused by the inconsistency of the time reference sources (or the difference is inaccurate), and the network operation personnel cannot determine whether the difference is caused by the network failure and / or defect in the base station. Therefore, it is difficult to identify and repair the network failure and / or defect in time, which can result in difficulty in improving the reliability and accuracy of the time synchronization of the base station.

[0076] As can be seen from the above description, in order to monitor the accuracy of the difference between the two clocks locked by the base station at the same time point (i.e. to avoid the influence of the inconsistency of the time reference sources on the difference), it is necessary to ensure that the satellite time reference source signal (or GNSS message) and the PTP message are based on the same time reference source, so as to eliminate the error of the difference between the two clocks at the same time point caused by the inconsistency of the time reference sources, and improve the accuracy of the difference between the two clocks locked by the base station at the same time point.

[0077] Based on this, in various embodiments of the present application, the related device (such as a meter) generates a message associated with a satellite time reference source signal and a message associated with a PTP signal based on the same clock, and sends the two generated messages to the base station, so that the base station can utilize the two received messages to lock one clock when performing time synchronization; or, the related device generates a message associated with a PTP signal by utilizing a clock determined based on a satellite time reference source signal, and sends the generated message to the base station, so that the base station can utilize the satellite time reference source signal and the received message to lock one clock when performing time synchronization; in this way, the two clocks locked by the base station are associated with the same clock, that is, the two clocks have a unified time reference source; then, the related device obtains the difference (which can also be understood as the time difference or deviation or offset of the third clock and the fourth clock) of the two clocks locked by the base station at the same time point (which can also be understood as the same moment), and utilizes the obtained difference to verify the time synchronization result of the base station based on the satellite time reference source signal and the time synchronization result based on the PTP signal, to obtain a verification result; in this way, after the network operation personnel obtains the verification result from the related device, they can accurately determine whether there is a network fault and / or defect in the base station according to the verification result, and when the determination result indicates that there is a network fault and / or defect, analyze (which can also be understood as locate) the root cause of the network fault and / or defect, and adjust and optimize the base station to improve the accuracy and reliability of time synchronization of the base station.

[0078] The embodiment of the present application provides an information processing method, which is applied to a first device, as shown in FIG. 1, and the method comprises the following steps:

[0079] Step 101: based on a first clock, generating a first message and a second message, and sending the first message and the second message to a second device, the first message being associated with a third clock, and the second message being associated with a fourth clock; or, obtaining a satellite time reference source signal, determining a second clock by utilizing the satellite time reference source signal, generating a third message based on the second clock, and sending the third message to the second device, the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal;

[0080] Step 102: obtaining first information from the second device, the first information representing a difference of the third clock and the fourth clock at a same time point;

[0081] Step 103: determining second information by utilizing the first information, the second information representing an accuracy of the difference.

[0082] Here, in actual application, the first device can be referred to as an instrument, a test instrument, a transmission device, etc., and the name of the first device is not limited in the embodiments of the present application as long as the function thereof is realized; the second device can include a node (also can be understood as a network device) in a time synchronization network, such as a base station (also can be referred to as a base station device, a mobile communication base station device, etc., such as gNB, etc.), etc., and the name of the second device is not limited in the embodiments of the present application as long as the function thereof is realized.

[0083] In actual application, the second device can perform time synchronization based on a satellite time reference source signal and / or a PTP signal. Specifically, when performing time synchronization based on a satellite time reference source signal, a clock from the satellite time reference source signal needs to be locked; at the same time, when the second device performs time synchronization based on a PTP signal, a clock from the PTP signal needs to be locked. In the case where the second device locks both the clock from the satellite time reference source signal and the clock from the PTP signal, the difference between the two clocks can be used to verify the time synchronization results of the above two time synchronization modes, and then to judge whether the second device has a network failure and / or defect.

[0084] In actual application, it is necessary to ensure that the time reference sources of the two clocks (i.e., the clock from the satellite time reference source signal and the clock from the PTP signal) locked by the second device are consistent (also can be understood as unified) to avoid the influence of inconsistent time reference sources on the difference between the two clocks, so as to guarantee the accuracy of verification and judgment by using the difference.

[0085] The following discusses the two ways of locking the above two clocks by the second device respectively:

[0086] 1) when the second device locks the clock from the PTP signal by using the PTP message sent by the first device, and locks the clock from the satellite reference source signal by using the message associated with the satellite time reference source signal sent by the first device, the first device needs to ensure that the PTP message and the message associated with the satellite time reference source signal have a unified time reference source. Here, the message associated with the satellite time reference source signal is referred to as a first message, and the name of the first message can be associated with the specific type of satellite time reference source, for example, when the satellite time reference source is referred to as GNSS, the first message can be specifically referred to as a GNSS message; meanwhile, the PTP message is referred to as a second message, and the second message can specifically include a synchronization (Sync) message of PTP (also referred to as a Sync message), a follow-up message (also referred to as a Follow-up message), a delay response (Delay_resp) message (also referred to as a Delay_resp message), and the like, and the information carried by the second message can be understood with reference to the information of these types of PTP messages in related technologies.

[0087] In this case, in step 101, the first device generates the first message and the second message based on the first clock, that is, the time reference source of the first message and the second message is the first clock, which can improve the accuracy of the difference. Wherein, the first clock can include: a clock (also can be understood as an internal clock) local to the first device, or a reference clock (such as a satellite clock locked by acquiring a satellite time reference source signal) that the first device can obtain, and the specific implementation of the first device determining the first clock is not limited in the embodiment of the application.

[0088] Specifically, in the process of generating the first message by the first device, the phase of the GNSS pseudo code, ephemeris and other data can be determined based on the first clock to generate the first message, that is, based on the first clock, the phase of the GNSS pseudo code, ephemeris and other data in the first message are set, so that the time reference source of the first message is the first clock. After generating the first message, the first device can send the first message to the second device through the interface (such as a GNSS signal interface) associated with the satellite time reference source signal.

[0089] Meanwhile, in the process of generating the second message by the first device, the timestamp of the second message can be set based on the first clock, so that the time reference source of the second message is the first clock. After generating the second message, the first device can send the second message to the second device through the PTP interface.

[0090] Correspondingly, after receiving the first message and the second message, the second device can determine (or can be understood as lock) the third clock by using the first message, and determine the fourth clock by using the second message. In this case, since the third clock and the fourth clock locked by the second device are both associated with the first clock, that is, the third clock and the fourth clock are associated with a unified time reference source (i.e., the first clock). Therefore, the difference (which can be understood as the difference between the third clock and the fourth clock, or the difference between the time of the third clock and the time of the fourth clock) between the third clock and the fourth clock at the same time point (which can be understood as the same time) is irrelevant to the time reference source of the two clocks, and the difference can be used to accurately verify the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal (which can be understood as verifying each other by using the two time synchronization results) in the second device, to obtain a verification result, and meanwhile, the network operation personnel can accurately determine whether there is a network fault and / or defect in the second device according to the verification result, and when the determination result indicates that there is a network fault and / or defect, analyze the root cause of the network fault and / or defect, and adjust and optimize the second device to improve the accuracy and reliability of time synchronization of the second device.

[0091] The third clock and the fourth clock are used for time synchronization of the second device. Specifically, the second device can use the third clock and the fourth clock for time synchronization, and can determine which clock to use for time synchronization as needed. For example, the second device can select one of the third clock and the fourth clock as a master clock, and the other as a backup clock, and preferentially use the master clock for synchronization when performing time synchronization.

[0092] 2) When the second device locks the clock from the PTP signal by using the PTP message sent by the first device, and locks the clock from the satellite reference signal by using the satellite time reference source signal, the first device needs to ensure that the PTP message and the satellite time reference source signal have a unified time reference source. Here, the PTP message is referred to as a third message, and the clock associated with the satellite time reference source signal is referred to as a second clock.

[0093] In this case, in step 101, the first device acquires the satellite time reference source signal, and determines the second clock (i.e., locks the clock associated with the satellite time reference source signal) by using the acquired satellite time reference source signal. Then, the first device can set the timestamp of the third message based on the second clock, so that the time reference source of the third message is the second clock. After generating the third message, the first device can send the third message to the second device through the PTP interface.

[0094] After receiving the third message, the second device can determine a fourth clock (i.e., a clock from the PTP signal) by using the third message, and can obtain a satellite time reference source signal and determine a third clock (i.e., a clock from the satellite time reference source signal) by using the obtained satellite time reference source signal, wherein the third clock and the fourth clock can be used by the second device for time synchronization. In this case, since the third clock and the fourth clock locked by the second device are both associated with the second clock, that is, the third clock and the fourth clock are associated with a unified time reference source (i.e., a satellite time reference source), the difference between the third clock and the fourth clock at the same time point is irrelevant to the time reference sources of the two clocks, and the difference can be used to accurately verify the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal in the second device, to obtain a verification result, and meanwhile, network maintenance personnel can accurately determine whether there is a network fault and / or defect in the second device according to the verification result, and when the determination result indicates that there is a network fault and / or defect, analyze the root cause of the network fault and / or defect, and adjust and optimize the second device to improve the accuracy and reliability of time synchronization of the second device.

[0095] As can be seen from the above description, the second device can lock the third clock and the fourth clock with the same time reference source by the first message and the second message, or can lock the third clock and the fourth clock with the same time reference source by the third message and the satellite time reference source signal. In this way, the influence of the inconsistency of the time reference sources on the difference between the third clock and the fourth clock (which can also be understood as the difference between the times of the third clock and the fourth clock) is avoided, and the accuracy of subsequent verification and determination by using the difference is ensured.

[0096] In actual application, after the second device locks the third clock and the fourth clock, the second device can determine the first information by using the difference between the third clock and the fourth clock at the same time point. The first information can also be referred to as clock difference information, and the name of the first information is not limited in the embodiments of the present application.

[0097] In actual application, after the second device determines the first information, in step 102, in an embodiment, the first device can acquire the first information by receiving the first information actively sent by the second device; the first device can also acquire the first information from the second device by using a soft probe technology; the first device can also acquire the first information from the second device by calling a first interface. The first interface can be referred to as a management and control interface, and the name of the first interface is not limited in the embodiment of the application. The first device can at least manage the second device in terms of fault, configuration, accounting, performance and security (FCAPS, Fault, Configuration, Accounting, Performance and Security) and control the connection and transmission of the second device through the first interface, that is, the first device can manage and / or control the second device through the first interface.

[0098] In actual application, the first device can select one of the above-mentioned manners to acquire the first information from the second device according to actual needs. Specifically, in the case that the second device actively sends the first information to the first device, the second device can send the first information to the first device through a Signaling message (which can also be understood as a backhaul message) of PTP.

[0099] Based on this, in an embodiment, the receiving the first information actively sent by the second device comprises:

[0100] receiving a Signaling message of PTP sent by the second device, wherein the Signaling message contains the first information.

[0101] Specifically, in an embodiment, the first information is carried in a TLV of the Signaling message.

[0102] In actual application, as shown in Table 1, a field can be added in the TLV of the Signaling message, and the first information is set in the added field. The added field can be referred to as a time difference (timeDifference) field or a PTP-GNSS offset (offsetFromPTPtoGNSS) field, and the length of the added field can be set according to actual needs (for example, 8 octets). In this way, after the first device receives the Signaling message of PTP sent by the second device, the first information can be acquired by analyzing the TLV of the Signaling message.

[0103] Table 1

[0104] After obtaining the first information, in step 103, the first device can determine the difference value of the third clock and the fourth clock in the second device at the same time point by using the first information, and determine whether the difference value belongs to the preset difference value range, so as to determine whether the difference value meets the preset accuracy, which can also be understood as verifying whether the time synchronization result of the second device based on the satellite time reference source signal and the time synchronization result based on the PTP signal are accurate, so as to determine whether there is a network fault and / or defect in the second device, and in the case that there is a network fault and / or defect, analyze the root cause of the network fault and / or defect, so as to realize the adjustment and optimization of the second device, and improve the accuracy and reliability of the time synchronization of the second device.

[0105] Based on this, in an embodiment, the specific implementation of step 103 can include:

[0106] determining the second information by using the first information and the first threshold range.

[0107] Specifically, in the case that the difference value belongs to the first threshold range, the second information represents that the difference value meets the preset accuracy; accordingly, in the case that the difference value does not belong to the first threshold range, the second information represents that the difference value does not meet the preset accuracy.

[0108] In actual application, the first threshold range can be set based on the preset receiving error of the satellite time reference source signal (which can also be understood as a receiving error range or receiving accuracy, specifically including GNSS receiving accuracy (which can include GNSS receiving accuracy of the first device and / or the second device)), the PTP synchronization error (i.e., the error of time synchronization using the PTP signal, which can also be understood as a PTP synchronization error range or PTP synchronization accuracy), the difference measurement error (i.e., the error in determining the difference value by the second device, which can also be understood as a difference measurement error range or difference measurement accuracy, which can be associated with the performance of the second device), and the like. For example, assuming that the preset receiving error of the satellite time reference source signal is ±100 nanoseconds (ns), the PTP synchronization error is ±20 ns, and the difference measurement error is ±10 ns, the receiving error of the satellite time reference source signal, the PTP synchronization error, and the difference measurement error can be accumulated to determine the first threshold range. That is, the first threshold range can be set to ±130 ns (100 ns + 20 ns + 10 ns = 130 ns), which can also be understood as (-130 ns, +130 ns). When setting the first threshold range, various errors are considered, so that the detection result can conform to the actual situation and ensure the accuracy of the detection.

[0109] In actual application, when the determined second information indicates that the difference value meets the preset accuracy, the first device can consider that the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal in the second device are both accurate, which can also be understood as considering that the accuracy test for the difference value in the second device is passed. Of course, when the determined second information indicates that the difference value does not meet the preset accuracy, the first device can consider that there is an inaccurate result in the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal in the second device, which can also be understood as considering that the accuracy test for the difference value in the second device is failed.

[0110] In actual application, when the second device provides the first information to the first device through the Signaling message of PTP, the first device can also determine the second information by using the field in which the first information is located in the Signaling message in step 103. Specifically, in the case that the difference belongs to the first threshold range and the field in which the first information is located is correct (for example, the first information is located in a specific TLV for carrying the first information, or the format of the specific TLV for carrying the first information conforms to the TLV specification format, etc.), the second information represents that the difference conforms to the preset accuracy; accordingly, in the case that the difference does not belong to the first threshold range and / or the field in which the first information is located is incorrect (for example, the first information is not located in a specific TLV for carrying the first information, or the format of the specific TLV for carrying the first information does not conform to the TLV specification format, etc.), the second information represents that the difference does not conform to the preset accuracy.

[0111] In actual application, when the second device provides the first information to the first device, there can be cheating behaviors. For example, the cheating behaviors of the second device can specifically include that the first information provided by the second device to the first device represents a random value or a fixed value within a certain range (such as ±10ns), which is not associated with the third clock and the fourth clock, that is, the first information obtained by the first device cannot accurately represent the difference between the third clock and the fourth clock at the same time point, further, the second information determined by the first device by using the first information is difficult to be used to verify the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal, which will lead to that the network operation personnel is difficult to accurately determine whether the second device has network failure and / or defect by using the second information, and analyze the root cause of the network failure and / or defect, leading to that it is difficult to improve the reliability of time synchronization of the second device.

[0112] In order to ensure that the first information obtained by the first device from the second device can accurately represent the difference between the third clock and the fourth clock at the same time point, and avoid the cheating behaviors of the second device, the first device can pre-set the difference of the time reference source corresponding to the third clock and the fourth clock (which can also be understood as a fixed deviation), and determine the first threshold range by using the preset difference. At this time, since there is a preset difference of the time reference source corresponding to the third clock and the fourth clock, the difference between the third clock and the fourth clock at the same time point in the second device is associated with the preset difference.

[0113] In this case, if the second device has cheating behavior, the first information provided by the second device to the first device is not associated with the third clock and the fourth clock, that is, the first information is not associated with the preset difference value, and therefore the first information is not within the first threshold range determined based on the preset difference value. Accordingly, after the first device obtains the first information, it can be determined that the difference value represented by the first information is not within the first threshold range, and that the difference value does not meet the preset accuracy (i.e., the second information). Network operation personnel can thus determine that the second device has defects or network faults, and analyze the root causes of the network faults and / or defects, thereby discovering the cheating behavior of the second device and making adjustments and optimizations, thereby avoiding the cheating behavior of the second device.

[0114] Of course, if the second device does not have cheating behavior, the first information provided by the second device to the first device is associated with the third clock and the fourth clock, that is, the first information is associated with the preset difference value. At this time, after the first device obtains the first information, it can determine whether the difference value represented by the first information is within the first threshold range determined based on the preset difference value to determine the second information. Network operation personnel can further determine whether the second device has defects or network faults based on the determined second information, and analyze the root causes of the network faults and / or defects in the case of defects or network faults to make adjustments and optimizations to the second device, thereby improving the reliability of time synchronization of the mobile communication base station.

[0115] Based on this, in an embodiment, the method can further include:

[0116] determining third information representing the preset difference value between the third clock and the fourth clock at the same time point;

[0117] determining the first threshold range using the third information.

[0118] To avoid the influence of the cheating behavior of the second device on the determination of the second information by the first device, the first device generates the first message and the second message based on the first clock and the third information, so that the difference value between the third clock determined by the first message and the fourth clock determined by the second message at the same time point is associated with the preset difference value. Alternatively, the first device generates a third message based on the second clock and the third information, and the difference value between the third clock determined by the satellite time reference source signal and the fourth clock determined by the third message at the same time point is associated with the preset difference value.

[0119] Here, in actual application, the third information can also be understood as a preset deviation of the time reference source corresponding to the third clock and the fourth clock, and the name of the third information is not limited in the embodiments of the application.

[0120] In actual application, the third information can be preset in the first device by a network operator, so that the first device can determine the third information by reading the preset third information. Of course, the first device can also randomly generate the third information based on a preset rule, and the preset rule can be set according to actual needs, and the specific implementation of the first device to determine the third information is not limited in the embodiments of the application.

[0121] After determining the third information, the first device can determine the first threshold range by using the third information, so that the first threshold range is associated with the preset difference. For example, assuming that the preset satellite time reference source signal receiving error is ±100ns, the PTP synchronization error is ±20ns, the difference measurement error is ±10ns, and the preset difference is 150ns, at this time, the first threshold range can be set to (20ns, 280ns), and the first threshold range end value can be determined according to the following two formulas: 20ns=-130ns+150ns; 280ns=130ns+150ns.

[0122] After determining the third information, in step 101, when the first device receives the first message and the second message, the first device can generate the first message and the second message based on the first clock and the third information, that is, the first device can take the first clock as the time reference source corresponding to the first message, and take the first clock offset by the preset difference as the time reference source corresponding to the second message; or the first device can take the first clock offset by the preset difference as the time reference source corresponding to the first message, and take the first clock as the time reference source corresponding to the second message. In this way, the first device can send the generated first message and second message to the second device, and obtain the first information from the second device. The first device can further determine the accuracy of the difference in the second device by using the first information and the first threshold range.

[0123] Exemplarily, based on the above example, assuming that the actual satellite time reference source signal receiving error is 60ns, the actual PTP synchronization error is -10ns, the actual difference measurement error is 5ns, and the preset difference value is 150ns, correspondingly, the first threshold range in the first device is (20ns, 280ns). If the second device does not have cheating behavior, after the second device receives the first message and the second message sent by the first device, the third clock is locked by using the first message, and the fourth clock is locked by using the second message, at this time, the second device can determine that the difference between the third clock and the fourth clock at the same time is 205ns (150ns+60ns-10ns+5ns=205ns), thus, after the first device obtains the first information, the difference value (i.e. 205ns) and the first threshold range can be used to determine that the difference value belongs to the first threshold range, that is, the difference value meets the preset accuracy, and the first device can determine that there is no network failure and / or defect in the second device, and the accuracy of time synchronization of the second device meets the requirements, and the reliability is high. If the second device has cheating behavior, after the second device receives the first message and the second message sent by the first device, the first message and the second message are not used for time synchronization, that is, the first information is not determined by using the third clock and the fourth clock, but a value (such as 5ns) is randomly generated in the range of (-10ns, +10ns), the first information is determined by using the randomly generated value, and the first information is provided to the first device, thus, after the first device obtains the first information, the randomly generated value (i.e. 5ns) and the first threshold range can be used to determine that the randomly generated value does not belong to the first threshold range, that is, the randomly generated value does not meet the preset accuracy, and the first device can determine that there is a network failure and / or defect in the second device, and the network operation and maintenance personnel can analyze the network failure and / or defect in the second device and the root cause of the network failure and / or defect, and then find the cheating behavior in the second device, and adjust and optimize the second device to improve the accuracy and reliability of time synchronization of the second device.

[0124] When the first device generates the third message, the first device can generate the third message based on the second clock and the third information, that is, the first device can use the second clock offset by the preset difference value as the time reference source corresponding to the third message. Thus, the first device can send the generated third message to the second device, and obtain the first information from the second device. The first device can further use the first information and the first threshold range to determine the accuracy of the difference value in the second device.

[0125] Correspondingly, the embodiment of the present application further provides an information processing method, which is applied to a second device, as shown in FIG. 2, the method comprises the following steps:

[0126] Step 201: receiving a first message and a second message sent by a first device, determining first information by using the first message and the second message, the first message and the second message are generated based on a first clock, the first message is associated with a third clock, and the second message is associated with a fourth clock; or receiving a third message sent by the first device and obtaining a satellite time reference source signal, determining the first information by using the third message and the satellite time reference source signal, the third message is generated based on a second clock, the second clock is associated with the satellite time reference source signal, and the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from a PTP signal, and the first information represents a difference between the third clock and the fourth clock at the same time point.

[0127] Step 202: providing the first information to the first device.

[0128] In actual application, in the case that the second device locks the clock from the PTP signal by using the second message sent by the first device and locks the clock from the satellite reference source signal by using the first message sent by the first device, when the first device generates the first message, the phase of the GNSS pseudo code, ephemeris and other data can be determined based on the first clock to generate the first message, that is, based on the first clock, the phase of the GNSS pseudo code, ephemeris and other data in the first message are set, so that the time reference source of the first message is the first clock. After the first message is generated, the first device can send the first message to the second device through the interface (such as a GNSS signal interface) associated with the satellite time reference source signal.

[0129] Meanwhile, in the process of generating the second message by the first device, the timestamp of the second message can be set based on the first clock, so that the time reference source of the second message is the first clock, and after the second message is generated, the first device can send the second message to the second device through the PTP interface.

[0130] Correspondingly, in step 201, after receiving the first message and the second message, the second device can lock a third clock (i.e., a clock from the satellite time reference source signal) by using the first message, and lock a fourth clock (i.e., a clock from the PTP signal) by using the second message. The third clock and the fourth clock can be used by the second device for time synchronization. In this case, since the third clock and the fourth clock locked by the second device are both associated with the first clock, that is, the third clock and the fourth clock are associated with a unified time reference source (i.e., the first clock), the difference between the third clock and the fourth clock at the same time point (which can also be understood as the same time) (which can also be understood as the difference between the third clock and the fourth clock, or the difference between the time of the third clock and the time of the fourth clock) is independent of the time reference sources of the two clocks, and the difference can be used to accurately verify the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal (which can also be understood as verifying each other by using the two time synchronization results) in the second device, to obtain a verification result, and meanwhile, the network operation personnel can accurately determine whether there is a network fault and / or defect in the second device according to the verification result, and when the determination result indicates that there is a network fault and / or defect, analyze the root cause of the network fault and / or defect, and adjust and optimize the second device to improve the accuracy and reliability of time synchronization of the second device.

[0131] Of course, in the case where the second device locks the clock from the PTP signal by using the third message sent by the first device, and locks the clock from the satellite reference source signal by using the satellite time reference source signal, the first device can obtain the satellite time reference source signal, and determine the second clock (i.e., lock the clock associated with the satellite time reference source signal) by using the obtained satellite time reference source signal. Then, the first device can set the timestamp of the third message based on the second clock, so that the time reference source of the third message is the second clock. After generating the third message, the first device can send the third message to the second device through the PTP interface.

[0132] Correspondingly, in step 201, after receiving the third packet, the second device can determine a fourth clock (i.e., a clock from the PTP signal) by using the third packet, and at the same time, the second device can obtain a satellite time reference source signal and lock a third clock (i.e., a clock from the satellite time reference source signal) by using the obtained satellite time reference source signal. The third clock and the fourth clock can be used by the second device for time synchronization. In this case, since the third clock and the fourth clock locked by the second device are both associated with the clock corresponding to the satellite time reference source signal, that is, the third clock and the fourth clock are associated with a unified time reference source (i.e., the satellite time reference source), therefore, the difference between the third clock and the fourth clock at the same time point is irrelevant to the time reference sources of the two clocks, and the difference can be used to accurately verify the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal in the second device, to obtain a verification result, and at the same time, the network operation personnel can accurately determine whether there is a network fault and also a defect in the second device according to the verification result, and when the determination result indicates that there is a network fault and / or a defect, the root cause of the network fault and also the defect can be analyzed, and the second device can be adjusted and optimized to improve the accuracy and reliability of time synchronization of the second device.

[0133] As can be seen from the above description, the second device can lock the third clock and the fourth clock with the same time reference source by using the first packet and the second packet, or can lock the third clock and the fourth clock with the same time reference source by using the third packet and the satellite time reference source signal. In this way, the influence of the inconsistency of the time reference sources on the difference between the third clock and the fourth clock (which can also be understood as the difference between the times of the third clock and the fourth clock) is avoided, and the accuracy of subsequent verification and determination by using the difference can be guaranteed.

[0134] After locking the third clock and the fourth clock, the second device determines the specific implementation of the first information in step 201, which can include that the second device records the time of the third clock as a first time at a certain moment (which can also be understood as a certain time point) and records the time of the fourth clock as a second time at the same moment. In this way, the second device can subtract the first time from the second time to obtain the difference value of the third clock and the fourth clock at the same time point, and then determine the first information by using the difference value. Alternatively, the second device can record a plurality of first times and a plurality of second times according to a preset period (such as 5 minutes), and calculate the average of the plurality of first times and the average of the plurality of second times. The second device can subtract the average of the plurality of first times from the average of the plurality of second times to obtain the difference value of the third clock and the fourth clock at the same time point, and then determine the first information by using the difference value. In this way, the first information can be determined by sampling and averaging, and fluctuations existing when recording the first time and the second time can be eliminated (which can also be understood as being filtered out).

[0135] Exemplarily, it is assumed that the second device records 3 groups of first times and second times, the preset period is 5 minutes, the 3 recorded first times are 12:00:00, 12:05:58 and 12:10:03 respectively, and the 3 recorded second times are 12:03:02, 12:08:07 and 12:12:59 respectively. At this time, if the difference value is determined by only one group of first time and second time, the results obtained are 3 minutes 2 seconds, 2 minutes 9 seconds and 2 minutes 56 seconds respectively. It can be seen that the second result has a large gap (that is, fluctuations exist) from the other two results. At this time, the average difference value (that is, 2 minutes 41 seconds) can be obtained by averaging the three results, and the average difference value is taken as the difference value of the third clock and the fourth clock at the same time point, so that the influence of fluctuations on the difference value can be reduced.

[0136] After determining the first information, the second device can actively send the first information to the first device in step 202. That is, in an embodiment, the specific implementation of step 202 can include:

[0137] actively sending the first information to the first device.

[0138] Here, in actual application, the second device can send the first information to the first device through a PTP signaling message.

[0139] Based on this, in an embodiment, the sending of the first information to the first device includes:

[0140] sending a Signaling message of PTP to the first device, the Signaling message containing the first information.

[0141] The embodiment of the present application further provides an information processing method, as shown in Fig. 3, the method comprises:

[0142] Step 301: a first device generates a first message and a second message based on a first clock, and sends the first message and the second message to a second device, the first message being associated with a third clock, and the second message being associated with a fourth clock; or, the first device acquires a satellite time reference source signal, determines a second clock by using the satellite time reference source signal, generates a third message based on the second clock, and sends the third message to the second device, the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal;

[0143] Step 302: the second device receives the first message and the second message sent by the first device, and determines first information by using the first message and the second message; or, the second device receives the third message sent by the first device, acquires the satellite time reference source signal, and determines the first information by using the third message and the satellite time reference source signal, the first information representing a difference between the third clock and the fourth clock at a same time point;

[0144] Step 303: the second device provides the first information to the first device.

[0145] Step 304: the first device acquires the first information from the second device.

[0146] Step 305: the first device determines second information by using the first information, the second information representing an accuracy of the difference.

[0147] Here, it should be noted that the specific processing procedure of the first device and the second device has been described above, and will not be repeated here.

[0148] The information processing method provided in the embodiments of the present application comprises the following steps: a first device generates a first message and a second message based on a first clock, and sends the first message and the second message to a second device, wherein the first message is associated with a third clock, and the second message is associated with a fourth clock; or, the first device acquires a satellite time reference source signal, determines a second clock by using the satellite time reference source signal, generates a third message based on the second clock, and sends the third message to the second device, wherein the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal; after receiving the first message and the second message, the second device determines first information by using the first message and the second message; or, after receiving the third message, the second device acquires a satellite time reference source signal, and determines the first information by using the third message and the satellite time reference source signal, wherein the first information represents a difference between the third clock and the fourth clock at the same time point; the first device acquires the first information from the second device; and the first device determines second information by using the first information, wherein the second information represents an accuracy of the difference. According to the scheme provided in the embodiments of the present application, the first device generates a first message associated with a satellite time reference source signal and a second message associated with a PTP signal based on the same clock (i.e., the first clock), and sends the first message and the second message to the second device, so that the second device can lock the third clock by using the first message and lock the fourth clock by using the second message; or, the first device determines a second clock based on a satellite time reference source signal, generates a third message associated with a PTP signal based on the second clock, and sends the third message to the second device, so that the second device can lock the third clock by using the satellite time reference source signal and lock the fourth clock by using the third message; at this time, the third clock and the fourth clock associated with the same clock in the time synchronization locking of the second device, that is, the third clock and the fourth clock have a unified time reference source; then, the first device acquires a difference between the third clock and the fourth clock at the same time point (which can also be understood as the same time) in the second device, and verifies a time synchronization result based on the satellite time reference source signal and a time synchronization result based on the PTP signal by using the acquired difference, to obtain a verification result; in this way, a network maintenance personnel can accurately determine whether there is a network fault and / or defect in the second device according to the verification result, and analyze the root cause of the network fault and / or defect and optimize the second device when the determination result indicates that there is a network fault and / or defect, so as to improve the accuracy and reliability of the time synchronization of the second device.

[0149] The present application will be further described in detail in conjunction with application examples.

[0150] The time difference value backhaul test system provided by the application example comprises an instrument (i.e., the first device) and a base station (i.e., the second device).

[0151] Based on the system, the application example provides a time difference value backhaul test method, as shown in FIG. 4a, which comprises the following steps:

[0152] Step 401a: The instrument generates GNSS messages (i.e., the first messages) and PTP messages (i.e., the second messages) according to a unified clock (i.e., the first clock); and then step 402a is performed.

[0153] The unified clock can specifically comprise a clock inside the instrument. The instrument can generate at least GNSS messages and PTP messages.

[0154] In actual application, the instrument generates GNSS messages and PTP messages according to a unified clock, which can also be understood as that the instrument generates GNSS messages and PTP messages based on the same clock, that is, the instrument sets the phase of the GNSS pseudo code, ephemeris data, etc. in the GNSS message and the time stamp of the Sync message, Follow_up message, Delay_resp message, etc. in the PTP message based on the same clock.

[0155] Step 402a: The instrument sends the GNSS messages to the base station through a GNSS signal interface and sends the PTP messages to the base station through a PTP interface (which can also be understood as that the instrument interacts with the same base station according to the PTP messages through the PTP interface).

[0156] In actual application, the instrument can interact with the base station through PTP protocol messages such as Announce messages, Sync messages, Follow_up messages, and Delay_resp messages.

[0157] In actual application, the instrument can send the GNSS messages and the PTP messages to the base station simultaneously or in a sequence, and the sequence can be set according to actual needs.

[0158] Step 403a: The base station receives the GNSS messages and the PTP messages sent by the instrument.

[0159] Step 404a: The base station locks a GNSS clock (i.e., the third clock) through the GNSS messages to obtain GNSS time and locks a PTP clock (i.e., the fourth clock) through the PTP messages to obtain PTP time.

[0160] In actual application, the base station can lock the GNSS clock according to the GNSS time synchronization scheme in the related art, and can lock the PTP clock according to the PTP time synchronization scheme in the related art. After the base station locks the GNSS clock and the PTP clock, the base station can record the time of the GNSS clock at a certain time (which can also be understood as a certain time point) as the GNSS time, and record the time of the PTP clock at the same time as the PTP time.

[0161] Step 405a: The base station subtracts the GNSS time from the PTP time to obtain the difference between the GNSS time and the PTP time (i.e., the first information described above);

[0162] In actual application, the base station can use the GNSS clock and the PTP clock to determine a plurality of GNSS times and PTP times according to a predetermined period (such as 5 minutes), and the base station can further determine the average of the plurality of GNSS times and the average of the PTP times, and then calculate the difference between the average of the GNSS times and the average of the PTP times, and take the calculation result as the difference between the GNSS time and the PTP time.

[0163] Step 406a: The base station provides the GNSS-PTP time difference to the instrument;

[0164] In actual application, the base station can send the GNSS-PTP time difference to the instrument through the PTP message; or the instrument can obtain the difference from the base station device through the soft probe technology; or the instrument can call the management interface to obtain the difference from the base station device.

[0165] Step 407a: The instrument determines whether the difference is within a predetermined threshold range to obtain a test result (i.e., the second information described above).

[0166] The upper limit of the preset error range of each part of the base station can be calculated to determine the predetermined threshold range. The preset error range of each part can be set according to actual needs, and can specifically include: a GNSS receiving error range, a PTP synchronization error range, a GNSS time-PTP time difference measurement error range, etc.

[0167] In actual application, if the instrument determines that the difference is within the predetermined threshold range, it can be considered (or understood) that the test is passed; if the instrument determines that the difference is not within the predetermined threshold range, it can be considered that the test is not passed.

[0168] In actual application, in the case that the base station sends the GNSS and the PTP time difference value to the instrument through the PTP message, the instrument can consider the test as passed in the case that the difference value is within the preset threshold range and the field in the PTP message is correct; meanwhile, the test is considered as failed in the case that the difference value is not within the preset threshold range and / or the field in the PTP message is incorrect.

[0169] In actual application, the instrument can not have the ability to generate the GNSS message, in which case, the instrument can receive the GNSS signal, determine the GNSS clock (also can be understood as performing GNSS timing) by using the GNSS signal, generate the PTP message based on the determined GNSS clock, and send the PTP message to the base station; correspondingly, the base station can receive the GNSS signal and the PTP message sent by the instrument, and perform GNSS time synchronization and PTP time synchronization by using the GNSS signal and the PTP message respectively.

[0170] Based on this, the application example also provides a flow of a time difference value backhaul test method, as shown in FIG. 4b, including the following steps:

[0171] Step 401b: the instrument receives the GNSS signal (i.e. the satellite time reference source signal), locks the GNSS clock (i.e. the second clock), and generates the PTP message (i.e. the third message) according to the GNSS clock; and then step 402b is executed;

[0172] The instrument can at least generate the PTP message.

[0173] In actual application, the instrument generates the PTP message according to the GNSS clock, which can also be understood as that the instrument sets the time stamp of the Sync message, the Follow_up message, the Delay_resp message and other messages of the PTP based on the GNSS clock.

[0174] Step 402b: the instrument sends the PTP message to the base station through the PTP interface;

[0175] Step 403b: the base station receives the PTP message sent by the instrument, and receives the GNSS signal;

[0176] Step 404b: the base station locks the GNSS clock (i.e. the third clock) by using the GNSS signal, obtains the GNSS time, and locks the PTP clock (i.e. the fourth clock) by using the PTP message, obtains the PTP time;

[0177] Step 405b: the base station subtracts the PTP time from the GNSS time, and obtains the difference value of the GNSS time and the PTP time;

[0178] Step 406b: the base station provides the GNSS and PTP time difference value to the instrument;

[0179] Step 407b: the instrument determines whether the difference value is within the preset threshold range, to obtain a test result.

[0180] The specific implementation of steps 405b to 407b can be understood with reference to steps 405a to 407a described above, which will not be repeated here.

[0181] In actual application, the instrument can set a fixed time difference value of the GNSS message and the PTP message (which can also be understood as a fixed difference value or a fixed deviation of the time reference source of the GNSS message and the time reference source of the PTP message), and repeat steps 401a to 407a or steps 401b to 407b described above. In this way, the instrument can determine whether the difference value fed back by the base station is associated with the change of the fixed time difference value (i.e., whether it is associated with the set fixed time difference value) by determining whether the difference value fed back by the base station is within the preset threshold range determined based on the fixed time difference value, thereby being able to prevent the cheating behavior of the base station.

[0182] In the application example, the instrument generates the GNSS message and the PTP message according to a unified clock, and sends the GNSS message and the PTP message to the base station. The base station determines the difference value of the GNSS time and the PTP time according to the received GNSS message and PTP message. Alternatively, the instrument receives a GNSS signal, generates a PTP message according to the clock corresponding to the GNSS signal, and sends the PTP message to the base station. The base station determines the difference value of the GNSS time and the PTP time according to the received PTP message and GNSS signal. The base station sends the difference value of the GNSS time and the PTP time to the instrument, so that the instrument determines the accuracy of the difference value. In this way, by unifying the time reference sources of the GNSS time and the PTP time, the error caused by the inconsistency of the time reference sources is offset, and the accuracy of the time difference value return test can be greatly improved.

[0183] At the same time, the instrument can automatically set a fixed deviation of the time reference source of the GNSS time and the time reference source of the PTP time, and test whether the difference value fed back by the base station conforms to the change of the fixed deviation, so as to automatically perform the test and improve the test efficiency. At the same time, the instrument can prevent the cheating behavior of the device under test (i.e., the base station) by setting the fixed deviation.

[0184] In order to implement the method provided by the first device side of the embodiment of the present application, the embodiment of the present application further provides an information processing apparatus arranged on the first device, as shown in FIG. 5, which comprises:

[0185] The message processing unit 501 is configured to generate a first message and a second message based on a first clock, and send the first message and the second message to a second device, the first message being associated with a third clock, and the second message being associated with a fourth clock; or, acquire a satellite time reference source signal, determine a second clock by using the satellite time reference source signal, generate a third message based on the second clock, and send the third message to the second device, the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal.

[0186] The acquisition unit 502 is configured to acquire first information from the second device, the first information representing a difference between the third clock and the fourth clock at a same time point.

[0187] The first determination unit 503 is configured to determine second information by using the first information, the second information representing an accuracy of the difference.

[0188] In an embodiment, the acquisition unit 502 is configured to:

[0189] receive the first information sent by the second device;

[0190] or,

[0191] acquire the first information from the second device by using a soft probe technology;

[0192] or,

[0193] invoke a first interface to acquire the first information from the second device, the first interface being capable of managing and / or controlling the second device.

[0194] In an embodiment, the acquisition unit 502 is configured to:

[0195] receive a PTP signaling message sent by the second device, the signaling message containing the first information.

[0196] In an embodiment, the first determination unit 503 is configured to:

[0197] determine the second information by using the first information and a first threshold range.

[0198] In an embodiment, the first determination unit 503 is configured to:

[0199] determine third information, the third information representing a preset difference between the third clock and the fourth clock at a same time point.

[0200] determine the first threshold range by using the third information;

[0201] The message processing unit 501 is configured to:

[0202] generate the first message and the second message based on the first clock and the third information, wherein a difference between a third clock determined by the second device based on the first message and a fourth clock determined by the second device based on the second message at a same time point is associated with the preset difference; or generate the third message based on the second clock and the third information, wherein a difference between a third clock determined by the second device based on a satellite time reference source signal and a fourth clock determined by the second device based on the third message at a same time point is associated with the preset difference.

[0203] In actual application, the message processing unit 501 and the obtaining unit 502 can be implemented by a processor in an information processing apparatus in combination with a communication interface, and the first determining unit 503 can be implemented by the processor in the information processing apparatus.

[0204] To implement the method on the second device side in the embodiments of the present application, the embodiments of the present application further provide an information processing apparatus arranged on the second device, as shown in FIG. 6, which comprises:

[0205] The second determining unit 601 is configured to receive the first message and the second message sent by the first device, determine the first information by using the first message and the second message, wherein the first message and the second message are generated based on a first clock, the first message is associated with a third clock, and the second message is associated with a fourth clock; or receive the third message sent by the first device and obtain a satellite time reference source signal, determine the first information by using the third message and the satellite time reference source signal, wherein the third message is generated based on a second clock, the second clock is associated with the satellite time reference source signal, and the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from a PTP signal, and the first information represents a difference between the third clock and the fourth clock at a same time point.

[0206] The providing unit 602 is configured to provide the first information to the first device.

[0207] In an embodiment, the providing unit 602 is configured to:

[0208] send the first information to the first device.

[0209] In an embodiment, the providing unit 602 is configured to:

[0210] sending a Signaling message of PTP to the first device, the Signaling message containing the first information.

[0211] In an embodiment, the second determining unit 601 is configured to:

[0212] determining the third clock by using the first message and determining the fourth clock by using the second message;

[0213] determining the first information by using the third clock and the fourth clock.

[0214] In an embodiment, the second determining unit 601 is configured to:

[0215] determining the third clock by using the satellite time reference source signal and determining the fourth clock by using the third message;

[0216] determining the first information by using the third clock and the fourth clock.

[0217] In actual application, the second determining unit 601 and the providing unit 602 can be realized by a processor in an information processing device in combination with a communication interface.

[0218] It should be noted that the information processing device provided in the above embodiments is only used as an example for illustrating the division of the above program units, and in actual application, the above processing can be completed by different program units according to needs, that is, the internal structure of the device is divided into different program units to complete all or part of the above processing. In addition, the information processing device and the information processing method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.

[0219] Based on the hardware implementation of the above program modules, and in order to realize the method of the first device side in the embodiments of the present application, the embodiments of the present application further provide a first device, as shown in FIG. 7, the first device 700 includes:

[0220] The first communication interface 701 can interact with the second device;

[0221] The first processor 702 is connected with the first communication interface 701 to realize information interaction with the second device, and is configured to execute the computer program to execute the method provided by one or more technical solutions of the first device side;

[0222] The first memory 703 stores the computer program.

[0223] Specifically, the first processor 702 is configured to:

[0224] generate the first message and the second message based on the first clock, and send the first message and the second message to the second device through the first communication interface 701, the first message being associated with a third clock, and the second message being associated with a fourth clock; or, acquire a satellite time reference source signal through the first communication interface 701, determine a second clock by using the satellite time reference source signal, generate a third message based on the second clock, and send the third message to the second device through the first communication interface 701, the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from the PTP signal; acquire first information from the second device, the first information representing a difference between the third clock and the fourth clock at the same time point; and determine second information by using the first information, the second information representing an accuracy of the difference.

[0225] In an embodiment, the first processor 702 is configured to:

[0226] acquire the first information from the second device through the first communication interface 701;

[0227] or,

[0228] acquire the first information from the second device by using a soft probe technology;

[0229] or,

[0230] invoke a first interface to acquire the first information from the second device, the first interface being capable of managing and / or controlling the second device.

[0231] In an embodiment, the first communication interface 701 is configured to:

[0232] receive a PTP signaling message sent by the second device, the signaling message containing the first information.

[0233] In an embodiment, the first processor 702 is configured to:

[0234] determine the second information by using the first information and a first threshold range.

[0235] In an embodiment, the first processor 702 is configured to:

[0236] determine third information, the third information representing a preset difference between the third clock and the fourth clock at the same time point;

[0237] determine the first threshold range by using the third information;

[0238] generate the first message and the second message based on the first clock and the third information, a difference between the third clock determined by the second device using the first message and the fourth clock determined by the second device using the second message at a same time point is associated with the preset difference; or generate the third message based on the second clock and the third information, a difference between the third clock determined by the second device using the satellite time reference source signal and the fourth clock determined by the second device using the third message at a same time point is associated with the preset difference.

[0239] It should be noted that the specific processing procedures of the first processor 702 and the first communication interface 701 can be understood with reference to the above method.

[0240] Of course, in actual application, various components in the first device 700 are coupled together through the bus system 704. It can be understood that the bus system 704 is used to realize the connection and communication between the components. In addition to the data bus, the bus system 704 also includes a power bus, a control bus and a status signal bus. However, for the purpose of clear illustration, various buses are marked as the bus system 704 in FIG. 7.

[0241] The first memory 703 in the embodiment of the present application is used to store various types of data to support the operation of the first device 700. Examples of these data include any computer programs used for operation on the first device 700.

[0242] The method disclosed in the above embodiment of the present application can be applied to the first processor 702 or implemented by the first processor 702. The first processor 702 can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware or the instruction in the form of software in the first processor 702. The first processor 702 described above can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 702 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the hardware decoding processor can be directly embodied to execute the completion, or the combination of hardware and software modules in the decoding processor can be executed to complete. The software module can be located in the storage medium, which is located in the first memory 703, and the first processor 702 reads the information in the first memory 703 and combines the hardware to complete the steps of the above method.

[0243] In an exemplary embodiment, the first device 700 can be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate Arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors (Microprocessors), or other electronic elements for executing the foregoing methods.

[0244] Based on the hardware implementation of the foregoing program modules, and in order to implement the method on the second device side according to the embodiments of the present application, the embodiments of the present application further provide a second device, as shown in FIG. 8, which comprises:

[0245] a second communication interface 801 capable of information interaction with the first device;

[0246] a second processor 802 connected with the second communication interface 801 to realize information interaction with the first device, and configured to execute the method provided by one or more technical solutions on the second device side when running a computer program;

[0247] a second memory 803, wherein the computer program is stored on the second memory 803.

[0248] Specifically, the second processor 802 is configured to:

[0249] receive the first message and the second message sent by the first device through the second communication interface 801, determine the first information by using the first message and the second message, wherein the first message and the second message are generated based on a first clock, the first message is associated with a third clock, and the second message is associated with a fourth clock; or receive the third message sent by the first device through the second communication interface 801 and obtain a satellite time reference source signal, determine the first information by using the third message and the satellite time reference source signal, wherein the third message is generated based on a second clock, the second clock is associated with the satellite time reference source signal, and the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from a PTP signal, the first information represents a difference between the third clock and the fourth clock at the same time point, and provide the first information to the first device through the second communication interface 801.

[0250] In an embodiment, the second communication interface 801 is configured to send the first information to the first device.

[0251] In an embodiment, the second processor 802 is configured to:

[0252] send, by the second communication interface 801, a PTP Signaling message to the first device, the Signaling message containing the first information.

[0253] In an embodiment, the second processor 802 is configured to:

[0254] determine the third clock using the first message and determine the fourth clock using the second message;

[0255] determine the first information using the third clock and the fourth clock.

[0256] In an embodiment, the second processor 802 is configured to:

[0257] determine the third clock using the satellite time reference source signal and determine the fourth clock using the third message;

[0258] determine the first information using the third clock and the fourth clock.

[0259] It should be noted that the specific processing procedures of the second processor 802 and the second communication interface 801 can be understood with reference to the above method.

[0260] Of course, in actual application, various components in the second device 800 are coupled together through the bus system 804. It can be understood that the bus system 804 is used to realize the connection and communication between the components. The bus system 804 includes not only a data bus, but also a power bus, a control bus and a status signal bus. However, in order to clearly illustrate, various buses are marked as the bus system 804 in FIG. 8.

[0261] The second memory 803 in the embodiment of the application is used to store various types of data to support the operation of the second device 800. Examples of these data include any computer programs used to operate on the second device 800.

[0262] The method disclosed by the embodiments of the present application can be applied to the second processor 802 or implemented by the second processor 802. The second processor 802 can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by integrated logic circuits or instructions in the form of software of the hardware in the second processor 802. The second processor 802 can be a general processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 802 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the hardware decoding processor can be directly embodied to execute the steps of the foregoing method, or the hardware and software modules in the decoding processor can be combined to execute the steps of the foregoing method. The software module can be located in a storage medium, and the storage medium is located in the second memory 803. The second processor 802 reads the information in the second memory 803 and combines the hardware to complete the steps of the foregoing method.

[0263] In the exemplary embodiments, the second device 800 can be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general processors, controllers, MCUs, microprocessors, or other electronic elements for executing the foregoing method.

[0264] It can be understood that the memory (the first memory 703 and the second memory 803) of the embodiments of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM). The magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM can be used, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memory described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable types of memory.

[0265] In the example embodiments, the embodiments of the present application further provide a storage medium, i.e., a computer storage medium, specifically a computer readable storage medium, for example, the first memory 703 storing a computer program executable by the first processor 702 of the first device 700 to perform the steps of the aforementioned first device side method, and the second memory 803 storing a computer program executable by the second processor 802 of the second device 800 to perform the steps of the aforementioned second device side method. The computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM, etc.

[0266] In the example embodiments, the embodiments of the present application further provide a computer program product including a computer program executable by the first processor 702 of the first device 700 to perform the steps of the aforementioned first device side method, or executable by the second processor 802 of the second device 800 to perform the steps of the aforementioned second device side method.

[0267] To implement the method provided by the embodiments of the present application, the embodiments of the present application further provide an information processing system, as shown in FIG. 9, which includes a first device 901 and a second device 902.

[0268] Here, it should be noted that the specific processing procedures of the first device 901 and the second device 902 have been described in detail above, and will not be described here.

[0269] It should be noted that "first", "second", etc. are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.

[0270] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0271] The above is only a preferred embodiment of the present application, and is not intended to limit the protection scope of the present application.

Claims

1. An information processing method applied to a first device, comprising: generating, based on a first clock, a first message and a second message, and sending the first message and the second message to a second device, the first message being associated with a third clock, and the second message being associated with a fourth clock; or, obtaining a satellite time reference source signal, determining a second clock by using the satellite time reference source signal, generating, based on the second clock, a third message, and sending the third message to the second device, the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a precision time protocol (PTP) signal; obtaining, from the second device, first information, the first information representing a difference between the third clock and the fourth clock at a same time point; determining, by using the first information, second information, the second information representing an accuracy of the difference.

2. The method of claim 1, wherein, The obtaining, from the second device, the first information comprises: receiving the first information sent by the second device; or, obtaining, from the second device, the first information by using a soft probe technology; or, calling a first interface to obtain, from the second device, the first information, the first interface being capable of managing and / or controlling the second device.

3. The method of claim 2, wherein, The receiving the first information sent by the second device comprises: receiving a PTP signaling message sent by the second device, the signaling message containing the first information.

4. The method of claim 3, wherein, The first information is carried in a type-length-value (TLV) of the signaling message.

5. The method according to any one of claims 1 to 4, wherein, The determining, by using the first information, the second information comprises: determining, by using the first information and a first threshold range, the second information.

6. The method of claim 5, wherein, in a case where the difference belongs to the first threshold range, the second information represents that the difference meets a preset accuracy; or, in a case where the difference does not belong to the first threshold range, the second information represents that the difference does not meet the preset accuracy.

7. The method of claim 5, wherein, The method further comprises: determining third information, the third information representing a preset difference between the third clock and the fourth clock at a same time point; determining, by using the third information, the first threshold range; generating, based on the first clock and the third information, the first message and the second message, a difference between the third clock determined by using the first message and the fourth clock determined by using the second message at a same time point being associated with the preset difference; or, generating, based on the second clock and the third information, the third message, a difference between the third clock determined by using the satellite time reference source signal and the fourth clock determined by using the third message at a same time point being associated with the preset difference.

8. An information processing method applied to a second device, comprising: receive a first message and a second message sent by a first device, determine first information by using the first message and the second message, the first message and the second message are generated based on a first clock, the first message is associated with a third clock, and the second message is associated with a fourth clock; or, receive a third message sent by the first device, and obtain a satellite time reference source signal, determine the first information by using the third message and the satellite time reference source signal, the third message is generated based on a second clock, the second clock is associated with the satellite time reference source signal, and the third message is associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from a PTP signal, and the first information represents a difference between the third clock and the fourth clock at a same time point; provide the first information to the first device.

9. The method of claim 8, wherein, The providing of the first information to the first device comprises: sending a Signaling message of a PTP to the first device, the Signaling message containing the first information.

10. The method of claim 9, wherein, The first information is carried in a TLV of the Signaling message.

11. The method according to any one of claims 8 to 10, wherein, The determining of the first information by using the first message and the second message comprises: determining the third clock by using the first message, and determining the fourth clock by using the second message; determining the first information by using the third clock and the fourth clock.

12. The method according to any one of claims 8 to 10, wherein, The determining of the first information by using the third message and the satellite time reference source signal comprises: determining the third clock by using the satellite time reference source signal, and determining the fourth clock by using the third message; determining the first information by using the third clock and the fourth clock.

13. An information processing apparatus, comprising: a message processing unit configured to generate a first message and a second message based on a first clock, and send the first message and the second message to a second device, the first message being associated with a third clock, and the second message being associated with a fourth clock; or, obtain a satellite time reference source signal, determine a second clock by using the satellite time reference source signal, generate a third message based on the second clock, and send the third message to the second device, the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from a PTP signal; an obtaining unit configured to obtain first information from the second device, the first information representing a difference between the third clock and the fourth clock at a same time point; a first determining unit configured to determine second information by using the first information, the second information representing an accuracy of the difference.

14. An information processing apparatus, comprising: a second determining unit configured to receive a first message and a second message sent by a first device, and determine first information by using the first message and the second message, the first message and the second message being generated based on a first clock, the first message being associated with a third clock, and the second message being associated with a fourth clock; Or, receiving a third message sent by the first device, and obtaining a satellite time reference source signal, determining the first information by using the third message and the satellite time reference source signal, the third message being generated based on a second clock, the second clock being associated with the satellite time reference source signal, the third message being associated with a fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from the PTP signal, and the first information represents a difference between the third clock and the fourth clock at a same time point. The providing unit is configured to provide the first information to the first device.

15. A first device comprising: The first processor and the first communication interface; wherein The first processor is configured to generate a first message and a second message based on a first clock, send the first message and the second message to the second device through the first communication interface, the first message being associated with a third clock, and the second message being associated with a fourth clock; or configured to obtain a satellite time reference source signal, determine a second clock by using the satellite time reference source signal, generate a third message based on the second clock, and send the third message to the second device through the first communication interface, the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, and the fourth clock is from the PTP signal; obtain the first information from the second device, the first information representing a difference between the third clock and the fourth clock at a same time point; and determine second information by using the first information, the second information representing an accuracy of the difference.

16. A second device comprising: The second processor and the second communication interface; wherein The second processor is configured to receive a first message and a second message sent by the first device through the second communication interface, determine the first information by using the first message and the second message, the first message and the second message being generated based on a first clock, the first message being associated with a third clock, and the second message being associated with a fourth clock; or receive a third message sent by the first device through the second communication interface, and obtain a satellite time reference source signal, determine the first information by using the third message and the satellite time reference source signal, the third message being generated based on a second clock, the second clock being associated with the satellite time reference source signal, and the third message being associated with the fourth clock; wherein the third clock is from the satellite time reference source signal, the fourth clock is from the PTP signal, and the first information represents a difference between the third clock and the fourth clock at a same time point; and provide the first information to the first device through the second communication interface.

17. A first device comprising: The first processor and the first memory for storing a computer program capable of running on the processor, The first processor is configured to execute the steps of the method of any one of claims 1 to 7 when running the computer program.

18. A second device comprising: The second processor and the second memory for storing a computer program capable of running on the processor, The second processor is configured to execute the steps of the method of any one of claims 8 to 12 when running the computer program.

19. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any one of claims 1 to 7, or implements the steps of the method of any one of claims 8 to 12.

20. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any one of claims 1 to 7, or implements the steps of the method of any one of claims 8 to 12.

Citation Information

Patent Citations

  • Time verification method and system in mobile communication network, base station and bearer network

    CN112104432A

  • Time difference detection method and device

    CN113099466A

  • Time synchronization performance monitoring method, device, equipment, system and storage medium

    CN117221929A

  • Information processing method and device, related equipment, storage medium and computer program product

    CN118804262A

  • Clock synchronization method and apparatus, system, storage medium, and electronic device

    WO2020043181A1