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

By generating messages associated with the satellite time reference source signal and the PTP signal, the time synchronization results of the base station equipment are verified, which solves the problem of insufficient time synchronization reliability and accuracy in the existing technology and achieves more efficient time synchronization optimization. .

CN118804262APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410544408.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, when base station equipment uses satellite time reference source signals and Precision Time Protocol (PTP) signals for time synchronization, there is a lack of effective verification methods, making it difficult to improve the reliability and accuracy of time synchronization.

Method used

By generating messages associated with the satellite time reference source signal and messages associated with the PTP signal, they are sent to the second device, and these messages are used to determine the difference between the third clock and the fourth clock, thereby verifying the accuracy of the time synchronization result. degree to ensure that the third clock and the fourth clock have a unified time reference source.

Benefits of technology

It improves the accuracy and reliability of time synchronization of base station equipment, enables accurate judgment of network faults and defects, and optimizes the time synchronization process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804262A_ABST
    Figure CN118804262A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method and device, first equipment, second equipment, a storage medium and a computer program product. The method comprises the steps that a first device generates a first message and a second message based on a first clock, 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 acquiring a satellite time reference source signal, determining a second clock by using 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 a fourth clock; the third clock is from a satellite time reference source signal, and the fourth clock is from a precision time protocol (PTP) signal; acquiring first information from the second equipment, wherein the first information represents a difference value between the third clock and the fourth clock; second information is determined through the first information, and the second information represents the accuracy of the difference value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In the related art, base station equipment can use satellite time reference source signals for time synchronization (also known as space-based synchronization), and can also use precision time protocol (PTP, Precision Time Protocol) signals for time synchronization (also known as ground-based synchronization).

[0003] However, there is currently no effective solution for how to use the time synchronization results based on the satellite time reference source signal and the time synchronization results based on the PTP signal to perform mutual verification to improve the reliability of time synchronization of base station equipment. Summary of the invention

[0004] To solve related technical problems, the embodiments of the present application provide an information processing method, apparatus, related equipment, storage medium and computer program product.

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

[0006] The embodiment of the present application provides an information processing method, which is applied to a first device, including:

[0007] Based on the first clock, a first message and a second message are generated, and the first message and the second message are sent to the second device, wherein 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, and the second clock is determined by using the satellite time reference source signal, and a third message is generated based on the second clock, and the third message is sent to the second device, and the third message is associated with the fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal;

[0008] Acquire first information from the second device, where the first information represents a difference between the third clock and the fourth clock at a same time point;

[0009] Using the first information, second information is determined, where the second information represents the accuracy of the difference.

[0010] In the above solution, the acquiring the first information from the second device includes:

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

[0012] or,

[0013] Acquiring the first information from the second device using a soft probe technology;

[0014] or,

[0015] The first interface is called to obtain the first information from the second device, and the second device can be managed and / or controlled through the first interface.

[0016] In the above solution, the receiving the first information sent by the second device includes:

[0017] Receive a PTP signaling message sent by the second device, where the Signaling message includes the first information.

[0018] In the above solution, the type-length-value (TLV, Type-Length-Value) of the Signaling message carries the first information.

[0019] In the above solution, the step of using the first information to determine the second information includes:

[0020] The second information is determined using the first information and a first threshold range.

[0021] In the above solution, when the difference value belongs to the first threshold range, the second information indicates that the difference value meets the preset accuracy;

[0022] or,

[0023] When the difference does not fall within the first threshold range, the second information indicates that the difference does not meet a preset accuracy.

[0024] In the above scheme, the method further includes:

[0025] Determine third information, where the third information represents a difference between the third clock and a fourth clock at a preset time point;

[0026] Determine the first threshold range using the third information;

[0027] Based on the first clock and the third information, the first message and the second message are generated, and the difference 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; or, based on the second clock and the third information, a third message is generated, and the difference between the third clock determined by the second device using 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.

[0028] The embodiment of the present application further provides an information processing method, which is applied to a second device, including:

[0029] Receive a first message and a second message sent by a first device, and determine 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 a third message sent by the first device, and obtain a satellite time reference source signal, and determine first information using the third message and the satellite time reference source signal, wherein the third message is generated based on the 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 comes from the satellite time reference source signal, the fourth clock comes from the PTP signal, and the first information represents the difference between the third clock and the fourth clock at the same time point;

[0030] The first information is provided to the first device.

[0031] In the above solution, providing the first information to the first device includes:

[0032] A PTP Signaling message is sent to the first device, where the Signaling message includes the first information.

[0033] In the above solution, the TLV of the Signaling message carries the first information.

[0034] In the above solution, the determining the first information by using the first message and the second message includes:

[0035] Determine the third clock using the first message, and determine the fourth clock using the second message;

[0036] The first information is determined using the third clock and the fourth clock.

[0037] In the above solution, the step of using the third message and the satellite time reference source signal to determine the first information includes:

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

[0039] The first information is determined using the third clock and the fourth clock.

[0040] The present application also provides an information processing device, including:

[0041] 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, wherein the first message is associated with a third clock, and the second message is associated with a fourth clock; or, obtain a satellite time reference source signal, determine a second clock 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, wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal;

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

[0043] The first determining unit is configured to determine second information using the first information, where the second information represents the accuracy of the difference.

[0044] The present application also provides an information processing device, including:

[0045] A second determination unit is configured to receive a first message and a second message sent by a first device, and determine 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 a third message sent by the first device, and obtain a satellite time reference source signal, and determine 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 a satellite time reference source signal, and the third message is associated with a fourth clock; wherein the third clock comes from a satellite time reference source signal, the fourth clock comes from a PTP signal, and the first information represents a difference between the third clock and the fourth clock at the same time point;

[0046] A providing unit is used to provide the first information to the first device.

[0047] The embodiment of the present application further provides a first device, comprising: a first processor and a first communication interface; wherein,

[0048] The first processor is used to 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, the first message is associated with a third clock, and the second message is associated with a fourth clock; or, it is used to obtain a satellite time reference source signal, determine the second clock 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, and the third message is associated with the fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal; obtain first information from the second device, the first information representing the difference between the third clock and the fourth clock at the same time point; and determine second information using the first information, and the second information representing the accuracy of the difference.

[0049] The embodiment of the present application further provides a second device, including: a second processor and a second communication interface; wherein,

[0050] The second processor is used to receive a first message and a second message sent by the first device through the second communication interface, and determine first information using the first message and the second message, wherein the first message and the second message are generated based on the first clock, the first message is associated with the third clock, and the second message is associated with the 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, and determine first information using the third message and the satellite time reference source signal, wherein the third message is generated based on the 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 comes from the satellite time reference source signal, the fourth clock comes from the PTP signal, and the first information represents the 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.

[0051] The embodiment of the present application further provides a first device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,

[0052] Wherein, when the first processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the first device side.

[0053] The embodiment of the present application further provides a second device, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,

[0054] Wherein, the second processor is used to execute the steps of any one of the above-mentioned methods on the second device side when running the computer program.

[0055] An embodiment of the present application also provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of any of the methods on the first device side described above, or implements the steps of any of the methods on the second device side described above.

[0056] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods on the first device side, or implements the steps of any of the above-mentioned methods on the second device side.

[0057] The information processing method, apparatus, first device, second device, storage medium and computer program product provided by the embodiments of the present application are as follows: 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 the second device, wherein the first message is associated with a third clock, and the second message is associated with a fourth clock; or, obtains 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 a fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal; after receiving the first message and the second message, the second device determines the first information by using the first message and the second message; or, the second device receives the third message and obtains the 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 the difference between 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 the second information by using the first information, and the second information represents the accuracy of the difference. In the solution provided by the embodiment 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, and sends the first message and the second message to the second device, so that the second device can use the first message to lock the third clock and use the second message to lock the fourth clock; or, the first device determines the 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 use the satellite time reference source signal to lock the third clock and use the third message to lock the fourth clock; in this way, the third clock and the fourth clock that the second device performs time synchronization locking are the same clock (that is, the first clock or the clock corresponding to the satellite time reference source signal (also referred to as That is to say, the third clock and the fourth clock have a unified time reference source, so that the first device can obtain the difference between the third clock and the fourth clock in the second device at the same time point (which can also be understood as the same moment) (which can also be understood as the time difference or deviation or offset between the third clock and the fourth clock), and then use the obtained difference to verify the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal. In this way, the network operation and maintenance personnel can accurately determine whether there are network failures and defects in the second device according to the verification results, and analyze the root causes of the network failures and defects (which can be expressed as RootCause in English), so that the second device can be adjusted and optimized to improve the accuracy and reliability of time synchronization of the second device. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A flowchart of an information processing method according to an embodiment of the present application;

[0059] Figure 2 A flowchart of another information processing method according to an embodiment of the present application;

[0060] Figure 3 This is a flow chart of the third information processing method according to an embodiment of the present application;

[0061] Figure 4a A flowchart of a time difference return test method for an example of the present application;

[0062] Figure 4b A flowchart of another time difference feedback test method for the present application example;

[0063] Figure 5 This is a schematic diagram of the structure of an information processing device according to an embodiment of the present application;

[0064] Figure 6 This is a schematic diagram of the structure of another information processing device according to an embodiment of the present application;

[0065] Figure 7 This is a schematic diagram of the first device structure of the embodiment of the present application;

[0066] Figure 8 This is a schematic diagram of the second device structure of the embodiment of the present application;

[0067] Fig. 9 This is a schematic diagram of the information processing system structure of an embodiment of the present application. DETAILED DESCRIPTION

[0068] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0069] In the related art, a base station (also referred to as a base station device or a mobile communication base station device) can receive a satellite time reference source signal, and use the satellite time reference source signal to lock the clock from the satellite time reference source signal; or, the base station can receive a message associated with a satellite time reference source signal sent by other devices, and use the received message to lock the clock from the satellite time reference source signal. After the base station locks the clock from the satellite time reference source signal, the locked clock can be used as the clock of the base station, thereby achieving time synchronization; wherein, the message associated with the satellite time reference source signal can be specifically referred to as a Global Navigation Satellite System (GNSS, Global Navigation Satellite System, such as Beidou, Global Positioning System (GPS, Global Positioning System) etc.) message.

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

[0071] From the above description, it can be seen that the base station can lock the clock from the satellite time reference source signal through the GNSS message, and synchronize the base station clock with the satellite time reference source signal or the clock corresponding to the GNSS message; at the same time, the base station can lock the clock from the PTP signal through the PTP message, and synchronize the base station clock with the clock corresponding to the PTP message.

[0072] Among them, there may be inaccurate clocks in the locked clock from the satellite time reference source signal (which can also be understood as the time synchronization result based on the satellite time reference source signal) and the clock from the PTP signal (which can also be understood as the time synchronization result based on the PTP signal). At this time, the base station can measure and calculate the difference between the two clocks (i.e., the locked clock from the satellite time reference source signal and the clock from the PTP signal) at the same time point, and report the difference to the control system or transmit the difference back to the device that sends the PTP message and / or GNSS message (which can also be called an instrument, a measuring instrument, a transmission device, etc.). In this way, the network operation and maintenance personnel can obtain the difference through the returned device to verify (also can be understood as monitoring) the accuracy of the synchronization results of the above two time synchronization schemes (which can also be understood as mutual monitoring or mutual verification of space-based synchronization and ground-based synchronization), so as to accurately determine whether there are network failures and defects in the base station, and analyze the root causes of the network failures and defects, so that the base station can be adjusted and optimized to improve the accuracy and reliability of time synchronization of the base station.

[0073] However, in the related art, the clocks locked from the satellite time reference source signal and the clocks from the PTP signal do not have a unified time reference source (also called a time reference source), that is, the satellite time reference source signal or the GNSS message and the PTP message are 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 may be inaccurate, which may affect the accuracy of the network operation and maintenance personnel's judgment on whether there are network failures and defects in the base station, making it difficult to improve the reliability and accuracy of the base station's time synchronization.

[0074] In order to monitor the accuracy of the difference between the two clocks locked by the base station at the same time point, it is necessary to ensure that the satellite time reference source signal or the GNSS message and the PTP message are based on the same time reference source, thereby eliminating the error of the difference between the two clocks at the same time point caused by inconsistent time reference sources, and improving the accuracy of the difference between the two clocks locked by the base station at the same time point.

[0075] Based on this, in various embodiments of the present application, a first device (such as an instrument) 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, and sends the first message and the second message to a second device (specifically including a base station), so that the second device can use the first message to lock a third clock and use the second message to lock a fourth clock; or, the first device determines the 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 use the satellite time reference source signal to lock the third clock and use the third message to lock the fourth clock; in this way, the third clock and the fourth clock that the second device performs time synchronization locking are synchronized with the same clock (that is, the first clock or the satellite time reference source signal). That is, the third clock and the fourth clock have a unified time reference source, so that the first device can obtain the difference between the third clock and the fourth clock in the second device at the same time point (also understood as the same moment) (also understood as the time difference or deviation or offset between the third clock and the fourth clock), and then use the obtained difference to verify the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal. In this way, the network operation and maintenance personnel can accurately determine whether there are network failures and defects in the second device according to the verification results, and analyze the root causes of the network failures and defects (also understood as positioning), so that the second device can be adjusted and optimized to improve the accuracy and reliability of time synchronization of the second device.

[0076] The present application embodiment provides an information processing method, which is applied to a first device, such as Figure 1 As shown, the method includes:

[0077] Step 101: Based on the first clock, generate a first message and a second message, send the first message and the second message to the second device, the first message is associated with a third clock, and the second message is associated with a fourth clock; or, obtain a satellite time reference source signal, use the satellite time reference source signal (the satellite time reference source signal specifically includes the phase of the GNSS pseudo code, ephemeris and other data), determine the second clock, generate a third message based on the second clock, send the third message to the second device, and the third message is associated with the fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal;

[0078] Step 102: Acquire first information from the second device, where the first information represents a difference between the third clock and the fourth clock at the same time point;

[0079] Step 103: Determine second information using the first information, where the second information represents the accuracy of the difference.

[0080] Here, in actual application, the first device can be called an instrument, a test instrument, a transmission device, etc. The embodiment of the present application does not limit the name of the first device, as long as its function is realized; the second device can include a node in a time synchronization network, such as a base station (also called a base station device, a mobile communication base station device, etc., such as gNB).

[0081] The first clock may specifically include a local clock of the first device (which may also be understood as an internal clock), or a reference clock that the first device can know (such as a satellite clock locked by acquiring a satellite time reference source signal). The embodiment of the present application does not limit the specific implementation of how the first device determines the first clock.

[0082] The first message can be called a GNSS message, and the second message can be called a PTP message. The embodiments of the present application do not limit the names of the first message and the second message. The first message is associated with a specific type of a satellite time reference source. For example, when the satellite time reference source is called a GNSS, the first message can be specifically called a GNSS message; the second message can specifically include PTP synchronization (Sync) messages (also called Sync message messages), follow (Follow-up) messages (also called Follow-up message messages), delay response (Delay_resp) messages (also called Delay_resp message messages) and other types. Accordingly, the information carried by the second message can be understood by referring to the information of these types of PTP messages in the relevant technology.

[0083] In actual application, in step 101, when the first device generates the first message and the second message based on the first clock and sends the first message and the second message to the second device, the first device can set the phase, ephemeris and other data of the GNSS pseudo code in the first message based on the first clock in the process of generating the first message, so as to generate the first message (that is, determine the phase, ephemeris and other data of the GNSS pseudo code based on the first clock, and use these data to generate the first message), that is, the generated first message contains the phase, ephemeris and other data of the GNSS pseudo code. After generating the first message, the first device can send the first message to the second device through the interface associated with the satellite time reference source signal (such as the GNSS signal interface); at the same time, the first device can set the timestamp of the second message based on the first clock in the process of generating the second message, and after generating the second message, the first device can send the second message to the second device through the PTP interface. Correspondingly, the second device can receive the first message and the second message, and use the first message to determine the third clock (can also be understood as locking the third clock), and use the second message to determine the fourth clock (can also be understood as locking the fourth clock), and the third clock and the fourth clock can be used for time synchronization. In this way, 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 first device can obtain the difference between the third clock and the fourth clock at the same time point (can also be understood as the same moment) (can also be understood as the difference between the third clock and the fourth clock, or the difference between the third clock and the fourth clock time), and 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 through the difference (can also be understood as using two time synchronization results for mutual verification). In this way, the network operation and maintenance personnel can accurately determine whether there are network failures and defects in the second device according to the verification results, and analyze the root causes of network failures and defects, so that the second device can be adjusted and optimized to improve the accuracy and reliability of time synchronization of the second device.

[0084] The third clock and the fourth clock are used for the second device to perform time synchronization; specifically, the second device can use the third clock and the fourth clock for time synchronization respectively, and can determine which clock to use for time synchronization as needed. Exemplarily, the second device can select one of the third clock and the fourth clock as the main clock and the other clock as the backup clock, and when performing time synchronization, the main clock is used for synchronization first.

[0085] When the first device generates a third message and sends the third message to the second device, the first device can obtain a satellite time reference source signal, and use the obtained satellite time reference source signal to determine the second clock (that is, lock the clock associated with the satellite time reference source signal). The first device can use the second clock to set the timestamp of the third message in the process of generating the third message. After generating the third message, the first device can send the third message to the second device through the PTP interface. Correspondingly, the second device can receive the third message and obtain a satellite time reference source signal. The second device can then use the obtained satellite time reference source signal to determine the third clock (which can also be understood as locking the third clock), and use the third message to determine the fourth clock (which can also be understood as locking the fourth clock). The third clock and the fourth clock can be used for time synchronization. In this way, the third clock and the fourth clock locked by the second device for time synchronization 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 first device can obtain the difference between the third clock and the fourth clock at the same time point, and 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 through the difference. In this way, network operation and maintenance personnel can accurately determine whether there are network failures and defects in the second device based on the verification results, and analyze the root causes of the network failures and defects, so that the second device can be adjusted and optimized to improve the accuracy and reliability of time synchronization of the second device.

[0086] In actual application, in step 102, in one embodiment, the first device can obtain the first information by receiving the first information actively sent by the second device; the first device can also use soft probe technology to obtain the first information from the second device; the first device can also call the first interface to obtain the first information from the second device, and the second device can be managed and / or controlled through the first interface.

[0087] Here, the first interface can be called a management and control interface, and the first device can at least manage the errors, configuration, accounting, performance and security (FCAPS) of the second device through the first interface, and control the connection and transmission services of the second device.

[0088] In actual application, the first device can select one of the above methods to obtain the first information from the second device according to actual needs.

[0089] In actual application, after the second device receives the corresponding message (the first message and the second message, or the third message) sent by the first device, it can determine the first information. The first device can then use the soft probe technology to obtain the first information from the second device; or, the first device can call the first interface to obtain the first information from the second device; or, the second device can actively send the first information to the first device.

[0090] In the case where the second device actively sends the first information to the first device, the second device may send the first information to the first device via a Signaling message (which may also be understood as a return message) of PTP.

[0091] Based on this, in one embodiment, the receiving the first information actively sent by the second device includes:

[0092] Receive a PTP Signaling message sent by the second device, where the Signaling message includes the first information.

[0093] Specifically, in one embodiment, the TLV of the Signaling message carries the first information.

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

[0095]

[0096]

[0097] Table 1

[0098] After obtaining the first information, in step 103, the first device can use the first information to determine the difference between the third clock and the fourth clock in the second device at the same time point, and determine whether the difference is within the preset difference range, so as to determine whether the difference meets the preset accuracy. It can also be understood as verifying whether the time synchronization result of the second device based on the satellite time reference source signal is accurate with the time synchronization result based on the PTP signal, and whether there are network failures and defects in the second device. In this way, network operation and maintenance personnel can accurately determine whether there are network failures and defects in the second device based on the verification results, and analyze the root causes of the network failures and defects, so as to adjust and optimize the second device to improve the accuracy and reliability of time synchronization of the second device.

[0099] Based on this, in one embodiment, the specific implementation of step 103 may include:

[0100] The second information is determined using the first information and a first threshold range.

[0101] Specifically, when the difference falls within the first threshold range, the second information represents that the difference meets the preset accuracy; correspondingly, when the difference does not fall within the first threshold range, the second information represents that the difference does not meet the preset accuracy.

[0102] Among them, in actual application, the first threshold range can be pre-set based on the reception error of the preset satellite time reference source signal (which can also be understood as the reception error range or reception accuracy, specifically including GNSS reception accuracy (which can include the GNSS reception accuracy of the first device and / or the second device)), PTP synchronization error (that is, the error in time synchronization using the PTP signal, which can also be understood as the PTP synchronization error range or PTP synchronization accuracy), difference measurement error (that is, the error that exists when the second device determines the difference, which can also be understood as the difference measurement error range or difference measurement accuracy, which can be specifically associated with the performance of the second device), etc. Exemplarily, assuming that the reception error of the preset satellite time reference source signal is ±100ns, the PTP synchronization error is ±20ns, and the difference measurement error is ±10ns, at this time, the reception error, PTP synchronization error, and difference measurement error of the satellite time reference source signal can be accumulated and calculated to determine the first threshold range, that is, the first threshold range can be set to ±130ns (100ns+20ns+10ns=130ns), which can also be understood as (-130ns, +130ns). When setting the first threshold range, various errors are taken into account, so that the detection result can conform to the actual situation and ensure the accuracy of the detection.

[0103] In actual application, when the determined second information indicates that the difference meets the preset accuracy, the first device may 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 of the difference in the second device has passed; when the determined second information indicates that the difference does not meet the preset accuracy, the first device may consider that there are inaccurate results 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 of the difference in the second device has failed.

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

[0105] In actual application, cheating may occur when the second device provides the first information to the first device. Exemplarily, the cheating behavior of the second device may specifically include: the difference represented by the first information provided by the second device to the first device is a random value or a fixed value within a certain range (such as ±10ns), and 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. Furthermore, the second information determined by the first device using the first information is difficult to use 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 make it difficult for network operation and maintenance personnel to use the second information to accurately determine whether the second device has network failures and defects, and analyze the root causes of network failures and defects, making it difficult to improve the reliability of time synchronization of mobile communication base stations.

[0106] 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 cheating by the second device, the first device can pre-set the difference between the time reference sources corresponding to the third clock and the fourth clock (which can also be understood as a fixed deviation), and use the preset difference to determine the first threshold range; at this time, since there is a preset difference between the time reference sources corresponding to the third clock and the fourth clock, the difference between the third clock and the fourth clock in the second device at the same time point is associated with the preset difference. In this case, if the second device cheats, 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. Therefore, the first information will not fall within the first threshold range determined based on the preset difference. Accordingly, after the first device obtains the first information, it can be determined that the difference represented by the first information does not fall within the first threshold range, and that the difference does not meet the preset accuracy (that is, the second information). The network operation and maintenance personnel can thus determine that the second device has defects or network failures, and analyze the root causes of network failures and defects, thereby discovering the cheating behavior of the second device and making adjustments and optimizations, thereby achieving to avoid cheating by the second device; if the second device does not cheat, 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. At this time, after the first device obtains the first information, it can judge whether the difference represented by the first information belongs to the first threshold range determined based on the preset difference to determine the second information. The network operation and maintenance personnel can further judge whether the second device has defects or network failures based on the determined second information, and if there are defects or network failures, analyze the root causes of the network failures and defects to adjust and optimize the second device, thereby improving the reliability of time synchronization of mobile communication base stations.

[0107] Based on this, in one embodiment, the method may further include:

[0108] Determine third information, where the third information represents a difference between the third clock and a fourth clock at a preset time point;

[0109] The first threshold range is determined using the third information.

[0110] In order to avoid the influence of the cheating behavior of the second device on the second information determined 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 between the third clock determined by the second device using the first message and the fourth clock determined by the second message at the same time point is associated with the preset difference; or, based on the second clock and the third information, a third message is generated, and the difference between the third clock determined by the second device using 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.

[0111] Here, in actual application, the third information may also be understood as a preset deviation of a time reference source corresponding to the third clock and the fourth clock.

[0112] In actual application, the third information can be set in the first device in advance by network operation and maintenance personnel. In this way, the first device can determine the third information by reading the pre-set third information, or the first device can randomly generate the third information based on preset rules, wherein the preset rules can be set according to actual needs. The embodiment of the present application does not limit the specific implementation method of the first device determining the third information.

[0113] After determining the third information, the first device can use the third information to determine the first threshold range so that the first threshold range is associated with the preset difference. Exemplarily, assuming that the reception error of the preset satellite time reference source signal is ±100ns, the PTP synchronization error is ±20ns, the difference measurement error is ±10ns, and the preset difference is 150ns, then the first threshold range can be set to (20ns, 280ns), wherein the end value of the first threshold range can be determined according to the following two formulas: 20ns=-130ns+150ns; 280ns=130ns+150ns.

[0114] After the first device determines 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 use the first clock as the time reference source corresponding to the first message, and use the first clock offset by the preset difference as the time reference source corresponding to the second message; or, the first device can use the first clock offset by the preset difference as the time reference source corresponding to the first message, and use 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 then use the first information and the first threshold range to determine the accuracy of the difference in the second device.

[0115] Exemplarily, based on the above example, assuming that the actual reception error of the satellite time reference source signal is 60ns, the actual PTP synchronization error is -10ns, the actual difference measurement error is 5ns, and the preset difference is 150ns, accordingly, the first threshold range in the first device is (20ns, 280ns). If the second device does not cheat, after receiving the first message and the second message sent by the first device, the second device uses the first message to lock the third clock, and uses the second message to lock the fourth clock. 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). In this way, after the first device obtains the first information, it can use the difference (ie, 205ns) and the first threshold range to determine that the difference belongs to the first threshold range, that is, the difference meets the preset accuracy, and the first device can determine that there is no network failure and defect in the second device, and the accuracy of the time synchronization of the second device meets the requirements and has high reliability. If the second device cheats, after receiving the first message and the second message sent by the first device, the second device does not use the first message and the second message for time synchronization, that is, does not use the third clock and the fourth clock to determine the first information, but randomly generates a value (for example, 5ns) within the range of (-10ns, +10ns), uses the randomly generated value to determine the first information, and provides the first information to the first device. In this way, after the first device obtains the first information, it can use the randomly generated value (that is, 5ns) and the first threshold range 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. The first device can determine that there are network failures and defects in the second device, and the network operation and maintenance personnel can analyze the network failures and defects in the second device and the root causes of the network failures and defects, and then discover the cheating behavior in the second device, and adjust and optimize the second device to improve the accuracy and reliability of the time synchronization of the second device.

[0116] 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 as the time reference source corresponding to the third message. In this way, 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 then use the first information and the first threshold range to determine the accuracy of the difference in the second device.

[0117] Accordingly, the embodiment of the present application also provides an information processing method, which is applied to a second device, such as Figure 2 As shown, the method includes:

[0118] Step 201: Receive a first message and a second message sent by a first device, and determine 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 a third message sent by the first device, and obtain a satellite time reference source signal, and determine 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 a satellite time reference source signal, and the third message is associated with a fourth clock; wherein the third clock comes from a satellite time reference source signal, the fourth clock comes from a PTP signal, and the first information represents a difference between the third clock and the fourth clock at the same time point;

[0119] Step 202: Provide the first information to the first device.

[0120] In actual application, when the first device generates the first message and the second message based on the first clock and sends the first message and the second message to the second device, the first device can 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. The first device can set the phase, ephemeris and other data of the GNSS pseudo code in the first message based on the first clock in the process of generating the first message, thereby generating the first message (that is, determining the phase, ephemeris and other data of the GNSS pseudo code based on the first clock, and using these data to generate the first message), that is, the generated first message contains the phase, ephemeris and other data of the GNSS pseudo code. After generating the first message, the first device can send the first message to the second device through the interface associated with the satellite time reference source signal (such as the GNSS signal interface); at the same time, the first device can set the timestamp of the second message based on the first clock in the process of generating the second message. After generating the second message, the first device can send the second message to the second device through the PTP interface. Correspondingly, in step 201, the second device can receive the first message and the second message, and use the first message to lock the third clock, and use the second message to lock the fourth clock, and the third clock and the fourth clock can be used for time synchronization. In this way, 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 first device can obtain the difference between the third clock and the fourth clock at the same time point (also understood as the same moment) (also understood as the difference between the third clock and the fourth clock, or the difference between the third clock and the fourth clock time), and 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 through the difference (also understood as using two time synchronization results for mutual verification). In this way, the network operation and maintenance personnel can accurately determine whether there are network failures and defects in the second device according to the verification results, and analyze the root causes of network failures and defects, so that the second device can be adjusted and optimized to improve the accuracy and reliability of time synchronization of the second device.

[0121] When the first device generates a third message and sends the third message to the second device, the first device can obtain a satellite time reference source signal, and use the obtained satellite time reference source signal to determine the second clock (that is, lock the clock associated with the satellite time reference source signal). The first device can use the second clock to set the timestamp of the third message in the process of generating the third message. After generating the third message, the first device can send the third message to the second device through the PTP interface. Correspondingly, in step 201, the second device can receive the third message and obtain a satellite time reference source signal. The second device can then use the obtained satellite time reference source signal to lock the third clock and use the third message to lock the fourth clock. The third clock and the fourth clock can be used for time synchronization. In this way, the third clock and the fourth clock locked by the second device for time synchronization 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 first device can obtain the difference between the third clock and the fourth clock at the same time point, and 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 through the difference. In this way, network operation and maintenance personnel can accurately determine whether there are network failures and defects in the second device based on the verification results, and analyze the root causes of the network failures and defects, so that the second device can be adjusted and optimized to improve the accuracy and reliability of time synchronization of the second device.

[0122] In actual application, the specific implementation of the second device determining the first information may include: the second device records the time of the third clock as the first time at a certain moment (which can also be understood as a certain time point), and records the time of the fourth clock at the same moment as the second time. In this way, the second device can subtract the first time from the second time to obtain the difference between the third clock and the fourth clock at the same time point, and then use the difference to determine the first information. Alternatively, the second device can record multiple first times and multiple second times according to a preset period (such as 5 minutes), and calculate the average value of the multiple first times and the average value of the multiple second times. The second device can subtract the average value of the multiple first times from the average value of the multiple second times to obtain the difference between the third clock and the fourth clock at the same time point, and then use the difference to determine the first information. In this way, the first information can be determined by sampling and averaging, and the fluctuation existing when recording the first time and the second time can be eliminated (which can also be understood as filtering).

[0123] Exemplarily, assume that the second device records three groups of first times and second times, the preset period is 5 minutes, the three recorded first times are: 12:00:00, 12:05:58, 12:10:03, and the three recorded second times are: 12:03:02, 12:08:07, 12:12:59. At this time, if the difference is determined only by one group of first time and second time, the results obtained are 3 minutes and 2 seconds, 2 minutes and 9 seconds, and 2 minutes and 56 seconds. It can be seen that there is a large gap between the second result and the other two results (that is, there is fluctuation). At this time, the average difference (that is, 2 minutes and 41 seconds) can be obtained by taking the average of the three results, and the average difference can be used as the difference between the third clock and the fourth clock at the same time point, thereby reducing the impact of fluctuations on the difference.

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

[0125] Actively send the first information to the first device.

[0126] Here, in actual application, the second device may send the first information to the first device via a PTP Signaling message.

[0127] Based on this, in one embodiment, sending the first information to the first device includes:

[0128] A PTP Signaling message is sent to the first device, where the Signaling message includes the first information.

[0129] The present application also provides an information processing method, such as Figure 3 As shown, the method includes:

[0130] Step 301: 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 the 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 obtains a satellite time reference source signal, determines a second clock 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 clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal;

[0131] Step 302: The second device receives the first message and the second message sent by the first device, and determines the first information by using the first message and the second message; or receives the third message sent by the first device, and obtains the 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 the difference between the third clock and the fourth clock at the same time point;

[0132] Step 303: The second device provides the first information to the first device;

[0133] Step 304: The first device obtains first information from the second device;

[0134] Step 305: The first device uses the first information to determine second information, where the second information represents the accuracy of the difference.

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

[0136] In the information processing method provided by the embodiment 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 the second device, wherein the first message is associated with a third clock, and the second message is associated with a fourth clock; or, obtains 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 a fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal; after receiving the first message and the second message, the second device determines the first information by using the first message and the second message; or, the second device receives the third message and obtains the 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 the difference between 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 the second information by using the first information, and the second information represents the accuracy of the difference. In the solution provided by the embodiment 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, and sends the first message and the second message to the second device, so that the second device can use the first message to lock the third clock and use the second message to lock the fourth clock; or, the first device determines the 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 use the satellite time reference source signal to lock the third clock and use the third message to lock the fourth clock; in this way, the third clock and the fourth clock that the second device performs time synchronization locking are the same clock (that is, the first clock or the satellite time reference source signal corresponding to the same clock). That is to say, the third clock and the fourth clock have a unified time reference source, so that the first device can obtain the difference between the third clock and the fourth clock in the second device at the same time point (which can also be understood as the same moment) (which can also be understood as the time difference or deviation or offset between the third clock and the fourth clock), and then use the obtained difference to verify the time synchronization result based on the satellite time reference source signal and the time synchronization result based on the PTP signal. In this way, the network operation and maintenance personnel can accurately determine whether there are network failures and defects in the second device according to the verification results, and analyze the root causes of the network failures and defects, so as to adjust and optimize the second device to improve the accuracy and reliability of time synchronization of the second device.

[0137] The present application is described in further detail below in conjunction with application examples.

[0138] The time difference return test system provided in this application example includes an instrument (ie, the above-mentioned first device) and a base station (ie, the above-mentioned second device).

[0139] Based on the above system, this application example provides a process of a time difference feedback test method, such as Figure 4a As shown, the following steps are included:

[0140] Step 401a: the instrument generates a GNSS message (ie, the first message) and a PTP message (ie, the second message) according to a unified clock (ie, the first clock); then executes step 402a;

[0141] The unified clock may specifically include a clock inside the instrument. The instrument can at least generate a GNSS message and a PTP message.

[0142] In actual application, the instrument generates GNSS messages and PTP messages according to a unified clock, which can also be understood as the instrument generating GNSS messages and PTP messages based on the same clock, that is, the instrument sets the phase, ephemeris and other data of the GNSS pseudocode in the GNSS message, as well as the timestamps of the PTP Sync message, Follow_up message, Delay_resp message and other messages based on the same clock.

[0143] Step 402a, the instrument sends the GNSS message to the base station through the GNSS signal interface, and sends the PTP message to the base station through the PTP interface (it can also be understood as interacting with the same base station according to the PTP message through the PTP interface);

[0144] In actual application, the instrument may interact with the base station through PTP protocol messages such as Announce message, Sync message, Follow_up message, Delay_resp message, etc.

[0145] In actual application, the instrument may send the GNSS message and the PTP message to the base station at the same time, or may send the GNSS message and the PTP message to the base station in a sequence, and the sequence may be set according to actual needs.

[0146] Step 403a: The base station receives the GNSS message and PTP message sent by the instrument;

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

[0148] In actual application, the base station may lock the GNSS clock according to the GNSS time synchronization scheme in the relevant technology, and may lock the PTP clock according to the PTP time synchronization scheme in the relevant technology. After the base station locks the GNSS clock and the PTP clock, the base station may record the time of the GNSS clock at a certain moment (also understood as a certain time point) as the GNSS time, and record the time of the PTP clock at the same moment as the PTP time.

[0149] Step 405a: The base station subtracts the GNSS time from the PTP time to obtain a difference between the GNSS time and the PTP time (ie, the first information above);

[0150] In actual application, the base station can use the GNSS clock and the PTP clock to determine multiple GNSS times and PTP times according to a preset period (for example, 5 minutes). The base station can then determine the average value of multiple GNSS times and the average value of PTP times, and then calculate the difference between the average value of GNSS time and the average value of PTP time, and use the calculation result as the difference between the GNSS time and the PTP time.

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

[0152] In actual application, the base station can send the GNSS and 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 and control interface to obtain the difference from the base station device.

[0153] Step 407a: The meter determines whether the difference is within a preset threshold range and obtains a test result (ie, the second information mentioned above).

[0154] The upper limits of the preset error ranges of each part of the base station can be accumulated and calculated to determine the preset threshold range. The preset error ranges of each part can be set according to actual needs, and specifically include: GNSS reception error range, PTP synchronization error range, GNSS time and PTP time difference measurement error range, etc.

[0155] In actual application, if the instrument determines that the difference is within the preset threshold range, it can be considered (also understood as determined) that the test has passed; if the instrument determines that the difference is not within the preset threshold range, it can be considered that the test has failed.

[0156] In actual application, when the base station sends the GNSS and PTP time difference to the instrument through a PTP message, the instrument can consider the test to have passed if the difference is within a preset threshold range and the field in the PTP message is correct; at the same time, if the difference is not within the preset threshold range and / or the field in the PTP message is incorrect, the instrument considers the test to have failed.

[0157] In actual application, the instrument may not have the ability to generate GNSS messages. In this case, the instrument can receive GNSS signals, use the GNSS signals to determine the GNSS clock (which can also be understood as GNSS timing), generate PTP messages based on the determined GNSS clock, and send the PTP messages to the base station; accordingly, the base station can receive GNSS signals and PTP messages sent by the instrument, and use GNSS signals and PTP messages to perform GNSS time synchronization and PTP time synchronization respectively.

[0158] Based on this, this application example also provides a process for a time difference feedback test method, such as Figure 4b As shown, the following steps are included:

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

[0160] The instrument is at least capable of generating a PTP message.

[0161] In actual application, the instrument generates PTP messages according to the GNSS clock, which can also be understood as the instrument setting the timestamps of PTP Sync message messages, Follow_up message messages, Delay_resp message messages and other messages based on the GNSS clock.

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

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

[0164] Step 404b: The base station locks the GNSS clock (i.e., the third clock) through the GNSS signal to obtain the GNSS time, and locks the PTP clock (i.e., the fourth clock) through the PTP message to obtain the PTP time;

[0165] Step 405b: The base station subtracts the GNSS time from the PTP time to obtain the difference between the GNSS time and the PTP time;

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

[0167] Step 407b: The instrument determines whether the difference is within a preset threshold range and obtains a test result.

[0168] The specific implementation of steps 405b to 407b can be understood by referring to the above steps 405a to 407a, which will not be repeated here.

[0169] In actual application, the instrument can set a fixed time difference between the GNSS message and the PTP message (which can also be understood as a fixed difference or fixed deviation between the time reference source of the GNSS message and the time reference source of the PTP message), and repeat the above steps 401a to 407a or repeat the above steps 401b to 407b. In this way, the instrument can determine whether the difference in feedback from the base station is within a preset threshold range determined based on the fixed time difference, and whether the difference in feedback from the base station is consistent with the change in the fixed time difference (that is, whether it is associated with the set fixed time difference), thereby preventing cheating by the base station.

[0170] In this application example, the instrument generates GNSS messages and PTP messages according to a unified clock, and sends the GNSS messages and PTP messages to the base station. The base station determines the difference between GNSS time and PTP time based on the received GNSS messages and PTP messages; or, the instrument receives GNSS signals, generates PTP messages according to the clock corresponding to the GNSS signals, and sends the PTP messages to the base station. The base station determines the difference between GNSS time and PTP time based on the received PTP messages and GNSS signals; the base station sends the difference between GNSS time and PTP time to the instrument, so that the instrument can judge the accuracy of the difference. In this way, by unifying the time reference source of GNSS time and PTP time, the error caused by the inconsistency of the time reference source is offset, which can greatly improve the accuracy of the time difference return test.

[0171] At the same time, the instrument can automatically set the fixed deviation between the time reference source of GNSS time and the time reference source of PTP time, and test whether the difference in feedback from the base station conforms to the change of the fixed deviation. It can automatically perform tests and improve test efficiency. At the same time, the instrument can prevent cheating by the device under test (i.e., base station) by setting a fixed deviation.

[0172] 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 also provides an information processing device, which is arranged on the first device, such as Figure 5 As shown, the device comprises:

[0173] The message processing unit 501 is used 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, where the first message is associated with a third clock, and the second message is associated with a fourth clock; or, obtain a satellite time reference source signal, use the satellite time reference source signal to determine a second clock, generate a third message based on the second clock, and send the third message to the second device, where the third message is associated with a fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal;

[0174] An acquiring unit 502 is configured to acquire first information from the second device, where the first information represents a difference between the third clock and the fourth clock at the same time point;

[0175] The first determining unit 503 is configured to determine second information using the first information, where the second information represents the accuracy of the difference.

[0176] In one embodiment, the acquisition unit 502 is specifically used to:

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

[0178] or,

[0179] Acquiring the first information from the second device using a soft probe technology;

[0180] or,

[0181] The first interface is called to obtain the first information from the second device, and the second device can be managed and / or controlled through the first interface.

[0182] In one embodiment, the acquisition unit 502 is specifically configured to:

[0183] Receive a PTP Signaling message sent by the second device, where the Signaling message includes the first information.

[0184] In one embodiment, the first determining unit 503 is specifically configured to:

[0185] The second information is determined using the first information and a first threshold range.

[0186] In one embodiment, the first determining unit 503 is further configured to:

[0187] Determine third information, where the third information represents a difference between the third clock and a fourth clock at a preset time point;

[0188] Determine the first threshold range using the third information;

[0189] The message processing unit 501 is specifically used for:

[0190] Based on the first clock and the third information, the first message and the second message are generated, and the difference 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; or, based on the second clock and the third information, a third message is generated, and the difference between the third clock determined by the second device using 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.

[0191] In actual application, the message processing unit 501 and the acquisition unit 502 can be implemented by a processor in an information processing device in combination with a communication interface, and the first determination unit 503 can be implemented by a processor in the information processing device.

[0192] In order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application also provides an information processing device, which is arranged on the second device, such as Figure 6 As shown, the device comprises:

[0193] The second determination unit 601 is used to receive a first message and a second message sent by a first device, and 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 the first clock, the first message is associated with the third clock, and the second message is associated with the fourth clock; or, receive a third message sent by the first device, and obtain 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 the 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 comes from the satellite time reference source signal, the fourth clock comes from the PTP signal, and the first information represents the difference between the third clock and the fourth clock at the same time point;

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

[0195] In one embodiment, the providing unit 602 is specifically used for:

[0196] The first information is sent to the first device.

[0197] In one embodiment, the providing unit 602 is specifically configured to:

[0198] A PTP Signaling message is sent to the first device, where the Signaling message includes the first information.

[0199] In one embodiment, the second determining unit 601 is specifically configured to:

[0200] Determine the third clock using the first message, and determine the fourth clock using the second message;

[0201] The first information is determined using the third clock and the fourth clock.

[0202] In one embodiment, the second determining unit 601 is specifically configured to:

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

[0204] The first information is determined using the third clock and the fourth clock.

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

[0206] It should be noted that: when the information processing device provided in the above embodiment performs information processing, only the division of the above program units is used as an example. In actual applications, the above processing can be assigned to different program units as needed, that is, the internal structure of the device is divided into different program units to complete all or part of the processing described above. In addition, the information processing device provided in the above embodiment and the information processing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0207] Based on the hardware implementation of the above program module, and in order to implement the method on the first device side of the embodiment of the present application, the embodiment of the present application also provides a first device, such as Figure 7 As shown, the first device 700 includes:

[0208] The first communication interface 701 is capable of exchanging information with the second device;

[0209] A first processor 702 is connected to the first communication interface 701 to implement information interaction with the second device, and is used to execute the method provided by one or more technical solutions on the first device side when running a computer program;

[0210] A first memory 703 , on which the computer program is stored.

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

[0212] Based on the first clock, the first message and the second message are generated, and the first message and the second message are sent to the second device through the first communication interface 701, the first message is associated with the third clock, and the second message is associated with the fourth clock; or, a satellite time reference source signal is obtained through the first communication interface 701, and the second clock is determined by using the satellite time reference source signal, and a third message is generated based on the second clock, and the third message is sent to the second device through the first communication interface 701, and the third message is associated with the fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal; first information is obtained from the second device, and the first information represents the difference between the third clock and the fourth clock at the same time point; second information is determined by using the first information, and the second information represents the accuracy of the difference.

[0213] In one embodiment, the first processor 702 is specifically configured to:

[0214] Receiving, through the first communication interface 701, the first information sent by the second device;

[0215] or,

[0216] Acquiring the first information from the second device using a soft probe technology;

[0217] or,

[0218] The first interface is called to obtain the first information from the second device, and the second device can be managed and / or controlled through the first interface.

[0219] In one embodiment, the first communication interface 701 is used to:

[0220] Receive a PTP Signaling message sent by the second device, where the Signaling message includes the first information.

[0221] In one embodiment, the first processor 702 is specifically configured to:

[0222] The second information is determined using the first information and a first threshold range.

[0223] In one embodiment, the first processor 702 is further configured to:

[0224] Determine third information, where the third information represents a difference between the third clock and a fourth clock at a preset time point;

[0225] Determine the first threshold range using the third information;

[0226] Based on the first clock and the third information, the first message and the second message are generated, and the difference 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; or, based on the second clock and the third information, a third message is generated, and the difference between the third clock determined by the second device using 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.

[0227] It should be noted that the specific processing process of the first processor 702 and the first communication interface 701 can be understood by referring to the above method.

[0228] Of course, in actual application, the 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 these 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 sake of clarity, Figure 7 Various buses are labeled as bus system 704 .

[0229] 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 such data include: any computer program used to operate on the first device 700.

[0230] 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 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the first processor 702. The above-mentioned first processor 702 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 702 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 703, and the first processor 702 reads the information in the first memory 703, and completes the steps of the above method in combination with its hardware.

[0231] In an exemplary embodiment, the first device 700 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.

[0232] Based on the hardware implementation of the above program module, and in order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application also provides a second device, such as Figure 8 As shown, the second device 800 includes:

[0233] The second communication interface 801 is capable of exchanging information with the first device;

[0234] The second processor 802 is connected to the second communication interface 801 to implement information interaction with the first device, and is used to execute the method provided by one or more technical solutions on the second device side when running the computer program;

[0235] A second memory 803 , on which the computer program is stored.

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

[0237] A first message and a second message sent by a first device are received through the second communication interface 801, and the first message and the second message are used to determine the first information, wherein the first message and the second message are generated based on the first clock, the first message is associated with the third clock, and the second message is associated with the fourth clock; or, a third message sent by the first device is received through the second communication interface 801, and a satellite time reference source signal is obtained, and the first information is determined by using the third message and the satellite time reference source signal, wherein the third message is generated based on the 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 comes from the satellite time reference source signal, the fourth clock comes from the PTP signal, and the first information represents the difference between the third clock and the fourth clock at the same time point; and the first information is provided to the first device through the second communication interface 801.

[0238] In one embodiment, the second communication interface 801 is used to send the first information to the first device.

[0239] In one embodiment, the second processor 802 is specifically configured to:

[0240] A PTP Signaling message is sent to the first device through the second communication interface 801, where the Signaling message includes the first information.

[0241] In one embodiment, the second processor 802 is specifically configured to:

[0242] Determine the third clock using the first message, and determine the fourth clock using the second message;

[0243] The first information is determined using the third clock and the fourth clock.

[0244] In one embodiment, the second processor 802 is specifically configured to:

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

[0246] The first information is determined using the third clock and the fourth clock.

[0247] It should be noted that the specific processing process of the second processor 802 and the second communication interface 801 can be understood by referring to the above method.

[0248] Of course, in actual application, the 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 these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 804 .

[0249] The second memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the second device 800. Examples of such data include: any computer program used to operate on the second device 800.

[0250] The method disclosed in the above embodiment of the present application can be applied to the second processor 802, or implemented by the second processor 802. The second processor 802 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 802. The above-mentioned second processor 802 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 802 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the second memory 803. The second processor 802 reads the information in the second memory 803 and completes the steps of the above method in combination with its hardware.

[0251] In an exemplary embodiment, the second device 800 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.

[0252] It can be understood that the memory (first memory 703, second memory 803) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, 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 magnetic 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), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, 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 (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0253] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 703 storing a computer program, the computer program can be executed by the first processor 702 of the first device 700 to complete the steps of the first device side method, and for another example, including a second memory 803 storing a computer program, the computer program can be executed by the second processor 802 of the second device 800 to complete the steps of the second device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

[0254] In an exemplary embodiment, the embodiment of the present application also provides a computer program product, including a computer program, which can be executed by the first processor 702 of the first device 700 to complete the steps of the aforementioned first device side method, or the computer program can be executed by the second processor 802 of the second device 800 to complete the steps of the aforementioned second device side method.

[0255] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides an information processing system, such as Fig. 9 As shown, the system includes: a first device 901 and a second device 902.

[0256] Here, it should be noted that: the specific processing process of the first device 901 and the second device 902 has been described in detail above and will not be repeated here.

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

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

[0259] The above description 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, characterized in that: Applied to a first device, comprising: Based on the first clock, generate a first message and a second message, send the first message and the second message to the second device, the first message is associated with a third clock, and the second message is associated with a fourth clock; or, obtain a satellite time reference source signal, use the satellite time reference source signal to determine the second clock, generate a third message based on the second clock, send the third message to the second device, and the third message is associated with the fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the Precision Time Protocol PTP signal; Acquire first information from the second device, where the first information represents a difference between the third clock and the fourth clock at a same time point; Using the first information, second information is determined, where the second information represents the accuracy of the difference.

2. The method according to claim 1, characterized in that The acquiring the first information from the second device includes: receiving the first information sent by the second device; or, Acquiring the first information from the second device using a soft probe technology; or, The first interface is called to obtain the first information from the second device, and the second device can be managed and / or controlled through the first interface.

3. The method according to claim 2, characterized in that The receiving the first information sent by the second device includes: Receive a PTP signaling message sent by the second device, where the Signaling message includes the first information.

4. The method according to claim 3, characterized in that The type-length-value TLV of the Signaling message carries the first information.

5. The method according to any one of claims 1 to 4, characterized in that: The using the first information to determine the second information includes: The second information is determined using the first information and a first threshold range.

6. The method according to claim 5, characterized in that When the difference falls within the first threshold range, the second information indicates that the difference meets a preset accuracy; or, When the difference does not fall within the first threshold range, the second information indicates that the difference does not meet a preset accuracy.

7. The method according to claim 5, characterized in that The method further comprises: Determine third information, where the third information represents a difference between the third clock and a fourth clock at a preset time point; Determine the first threshold range using the third information; Based on the first clock and the third information, the first message and the second message are generated, and the difference 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; or, based on the second clock and the third information, a third message is generated, and the difference between the third clock determined by the second device using 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.

8. An information processing method, characterized in that: Applied to the second device, comprising: Receive a first message and a second message sent by a first device, and determine 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 a third message sent by the first device, and obtain a satellite time reference source signal, and determine first information using the third message and the satellite time reference source signal, wherein the third message is generated based on the 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 comes from the satellite time reference source signal, the fourth clock comes from the PTP signal, and the first information represents the difference between the third clock and the fourth clock at the same time point; The first information is provided to the first device.

9. The method according to claim 8, characterized in that The providing the first information to the first device includes: A PTP Signaling message is sent to the first device, where the Signaling message includes the first information.

10. The method according to claim 9, characterized in that The TLV of the Signaling message carries the first information.

11. The method according to any one of claims 8 to 10, characterized in that: The determining the first information by using the first message and the second message includes: Determine the third clock using the first message, and determine the fourth clock using the second message; The first information is determined using the third clock and the fourth clock.

12. The method according to any one of claims 8 to 10, characterized in that The determining the first information by using the third message and the satellite time reference source signal includes: Determine the third clock using the satellite time reference source signal, and determine the fourth clock using the third message; The first information is determined using the third clock and the fourth clock.

13. An information processing device, characterized in that: include: 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, wherein the first message is associated with a third clock, and the second message is associated with a fourth clock; Alternatively, obtaining a satellite time reference source signal, determining a second clock using the satellite time reference source signal, generating a third message based on the second clock, and sending the third message to the second device, wherein the third message is associated with a fourth clock; wherein the third clock comes from the satellite time reference source signal, and the fourth clock comes from the PTP signal; an acquiring unit, configured to acquire first information from the second device, where the first information represents a difference between the third clock and the fourth clock at a same time point; The first determining unit is configured to determine second information using the first information, where the second information represents the accuracy of the difference.

14. An information processing device, characterized in that: include: A second determining unit, configured to receive a first message and a second message sent by a first device, and determine 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; Alternatively, a third message sent by the first device is received, and a satellite time reference source signal is obtained, and the first information is determined 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 a fourth clock; wherein the third clock comes from the satellite time reference source signal, the fourth clock comes from the PTP signal, and the first information represents the difference between the third clock and the fourth clock at the same time point; A providing unit is used to provide the first information to the first device.

15. A first device, characterized in that: include: A first processor and a first communication interface; wherein, The first processor is used 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 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, is used to obtain a satellite time reference source signal, determine a second clock 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 a fourth clock; wherein the third clock comes from a satellite time reference source signal, and the fourth clock comes from a PTP signal; obtain 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 using the first information, wherein the second information represents an accuracy of the difference.

16. A second device, characterized in that: include: A second processor and a second communication interface; wherein, The second processor is used to receive a first message and a second message sent by the first device through the second communication interface, and determine first information using the first message and the second message, wherein the first message and the second message are generated based on the first clock, the first message is associated with the third clock, and the second message is associated with the 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, and determine first information using the third message and the satellite time reference source signal, wherein the third message is generated based on the 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 comes from the satellite time reference source signal, the fourth clock comes from the PTP signal, and the first information represents the 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.

17. A first device, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 7 are executed.

18. A second device, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 8 to 12 are executed.

19. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 7, or implements the steps of the method according to any one of claims 8 to 12.

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 7, or implements the steps of the method according to any one of claims 8 to 12.

Citation Information

Cited By

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

    WO2025228159A1