Data processing methods and apparatus

By acquiring N round-trip delay and air interface deviation measurements, calculating the synchronization deviation between base stations and performing static error compensation, the interference problem caused by clock out-of-sync in the 5G TDD system is solved, and the measurement accuracy and real-time performance are improved.

CN114258126BActive Publication Date: 2025-11-14SHANGHAI HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011027435.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-25
Publication Date
2025-11-14
Estimated Expiration
2040-09-25

AI Technical Summary

Technical Problem

In 5G TDD systems, clock synchronization issues can lead to interference between base stations, especially when external clock source failures cause delay jitter, resulting in large errors in measurement results and affecting synchronization status judgment.

Method used

By acquiring N first round-trip delays in the first cycle, determining the minimum first round-trip delay reference value, calculating the inter-station synchronization deviation value, and combining it with the air interface deviation measurement value for static error compensation, the measurement error caused by delay jitter is reduced.

Benefits of technology

This improves the accuracy and real-time performance of synchronization deviation measurement between base stations, reduces the impact of time delay jitter on measurement results, and ensures the stability of the synchronization state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114258126B_ABST
    Figure CN114258126B_ABST
Patent Text Reader

Abstract

This application discloses a data processing method. The method includes: a first network device acquiring N first round-trip times (RTCs) in a first period, where the RTC is the time consumed by the first network device and the second network device to transmit a message once each through the Xn / X2 interface, and N is a positive integer greater than 1; the first network device determining a minimum RTC reference value based on the N RTCs, where the minimum RTC reference value is the minimum of the N RTCs; and the first network device determining an inter-station synchronization deviation value for the first period based on the minimum RTC reference value, where the inter-station synchronization deviation value for the first period is the inter-station synchronization deviation value of the first network device and the second network device transmitting messages through the Xn / X2 interface. In this application embodiment, determining the inter-station synchronization deviation value using the minimum RTC reference value reduces the risk of large measurement errors due to excessively high latency caused by sudden or congested latency jitter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, specifically to a data processing method and apparatus. Background Technology

[0002] In the 5G era, the mainstream spectrum is time division duplex (TDD) mode. TDD system is a strictly clock-synchronized system. If the clock of a base station is out of sync, the downlink of the out-of-sync base station may interfere with the uplink of other synchronized base stations, and the downlink of synchronized base stations may also interfere with the uplink of out-of-sync base stations, resulting in a serious deterioration of the service experience.

[0003] For internal clock system failures, base stations can detect them and report alarms to alert users. Furthermore, with product improvements, the probability of internal clock system failures is decreasing. For external clock source failures, especially initial and slow clock offsets, the main approach is to perform inter-site comparisons across the entire network / region.

[0004] Inter-station comparison is performed by measuring inter-station synchronization deviation. The inter-station deviation measurement technology based on the Xn / X2 interface relies on the transmission network. When there are sudden / congestion delay jitter in the transmission network, it will cause a large error in the deviation measurement results and affect the judgment of inter-station synchronization status. Summary of the Invention

[0005] This application provides a data processing method that obtains N first round-trip delays in the first cycle, determines a minimum first round-trip delay reference value based on the N first round-trip delays, and then determines the inter-station synchronization deviation value based on the minimum first round-trip delay reference value. This reduces the risk of large errors in deviation measurement results caused by excessive delay due to sudden or congestion delay jitter.

[0006] The first aspect of this application provides a data processing method.

[0007] The first network device acquires N first round-trip delays in the first period. The first round-trip delay is the time consumed by the first network device and the second network device to transmit a message once through the Xn / X2 interface. N is a positive integer greater than 1. The first network device determines a minimum first round-trip delay reference value based on the N first round-trip delays. The minimum first round-trip delay reference value is the minimum value among the N first round-trip delays. The first network device determines the inter-station synchronization deviation value of the first period based on the minimum first round-trip delay reference value. The inter-station synchronization deviation value of the first period is the inter-station synchronization deviation value of the first network device and the second network device transmitting messages through the Xn / X2 interface.

[0008] In this embodiment of the application, by acquiring N first round-trip delays in the first cycle, determining the minimum first round-trip delay reference value based on the N first round-trip delays, and then determining the inter-station synchronization deviation value based on the minimum first round-trip delay reference value, the risk of large error in deviation measurement results caused by excessive delay due to sudden or congestion delay jitter is reduced.

[0009] Based on the data processing method of the first aspect, in one possible implementation, the first network device acquiring N first round-trip times in the first period includes: Step 1: The first network device sends a first detection message to the second network device. The first detection message carries a first transmission time, which is the time when the first network device sends the first detection message to the second network device. Step 2: The first network device receives a second detection message sent by the second network device. The second detection message carries a first reception time and a second transmission time. The first reception time is the time when the second network device receives the first detection message, and the second transmission time is the time when the second network device sends the second detection message. Step 3: The first network device determines a second reception time, which is the time when the first network device receives the second detection message. Step 4: The first network device determines the first round-trip time based on the first transmission time, the first reception time, the second transmission time, and the second reception time. The first network device executes the above steps 1 to 4 N times in the first period to acquire N first round-trip times.

[0010] In this embodiment of the application, N first round-trip times are obtained by transmitting messages through the first network device and the second network device, which improves the feasibility of the solution.

[0011] Based on the data processing method of the first aspect, in one possible implementation, the first network device determines the first round-trip time delay according to the first transmission time, the first reception time, the second transmission time, and the second reception time, including:

[0012] RTT = t2 - t1 + t4 - t3;

[0013] RTT represents the first round-trip time, t2 represents the first reception time, t1 represents the first transmission time, t4 represents the second reception time, and t3 represents the second transmission time.

[0014] In this embodiment of the application, the first round-trip time delay is calculated using a specific formula, which improves the feasibility of the solution.

[0015] Based on the data processing method of the first aspect, in one possible implementation, the first network device determines the inter-station synchronization deviation value for the first period according to the minimum first round-trip time reference, including:

[0016] Offset = t 2min -t1min -RTT min / 2;

[0017] offset represents the inter-station synchronization deviation value for the first period, t 2min t represents the first reception time corresponding to the minimum first round-trip delay reference. 1min RTT represents the first transmission time corresponding to the minimum first round-trip time (RTT) reference. min This represents the minimum first round-trip time reference.

[0018] In this embodiment of the application, the first round-trip time delay is calculated using a specific formula, which improves the feasibility of the solution.

[0019] Based on the data processing method of the first aspect, in one possible implementation, the first network device acquires M first round-trip delays in the second period, where M is less than N and the second period is less than the first period. The first network device determines the minimum real-time value of the first round-trip delay based on the M first round-trip delays. The minimum real-time value of the first round-trip delay is the minimum value among the M first round-trip delays. If the difference between the minimum real-time value of the first round-trip delay and the minimum reference value of the first round-trip delay is less than a preset threshold, the first network device determines the inter-station synchronization deviation value of the second period based on the minimum real-time value of the first round-trip delay.

[0020] In this embodiment of the application, by obtaining M first round-trip delays, the inter-station synchronization deviation value of the second period is determined by the minimum real-time value of the first round-trip delay, thereby improving the real-time performance of the scheme execution.

[0021] Based on the data processing method of the first aspect, in one possible implementation, the first network device acquires an air interface deviation measurement value, which is the synchronization deviation value of the first network device and the second network device transmitting messages through the air interface. The first network device determines a static error value based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first period. The static error value is a fixed value of the delay deviation when the first network device and the second network device transmit messages. The first network device saves the static error value.

[0022] In this embodiment, the static error value is calculated by measuring the air interface deviation, which improves the feasibility of the solution.

[0023] Based on the data processing method of the first aspect, in one possible implementation, after the first network device determines the static error value based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first period, the first network device compensates for the inter-station synchronization deviation value of the first period based on the static error value to obtain the target inter-station synchronization deviation value.

[0024] In this embodiment, the accuracy of the inter-station synchronization deviation value is improved by compensating for the inter-station synchronization deviation value in the first cycle using a static error value.

[0025] A second aspect of this application provides a network device.

[0026] A network device, comprising:

[0027] The acquisition unit is used to acquire N first round-trip delays in the first period. The first round-trip delay is the time consumed by the first network device and the second network device to transmit a message once through the Xn / X2 interface, and N is a positive integer greater than 1.

[0028] The determining unit is used to determine the minimum first round-trip delay reference value based on N first round-trip delays, wherein the minimum first round-trip delay reference value is the minimum value among the N first round-trip delays;

[0029] The determining unit is also used to determine the inter-station synchronization deviation value of the first period based on the minimum first round-trip delay reference value. The inter-station synchronization deviation value of the first period is the inter-station synchronization deviation value of the first network device and the second network device transmitting messages through the Xn / X2 interface.

[0030] Optionally, network equipment may also include:

[0031] The sending unit is used to send a first detection message to the second network device in step one. The first detection message carries a first sending time, which is the time when the first network device sends the first detection message to the second network device.

[0032] The receiving unit is used to receive a second detection message sent by the second network device in step two. The second detection message carries a first receiving time and a second sending time. The first receiving time is the time when the second network device receives the first detection message, and the second sending time is the time when the second network device sends the second detection message.

[0033] Step 3: The determining unit is also used to determine the second receiving time, which is the time when the first network device receives the second detection message;

[0034] Step 4: The determining unit is also used to determine the first round-trip time delay based on the first transmission time, the first reception time, the second transmission time, and the second reception time;

[0035] The network device executes steps one through four above N times within the first cycle to obtain N first round-trip times.

[0036] Optionally, network equipment may also include:

[0037] A calculation unit is used to perform calculations in the following ways:

[0038] RTT = t2 - t1 + t4 - t3;

[0039] RTT represents the first round-trip time, t2 represents the first reception time, t1 represents the first transmission time, t4 represents the second reception time, and t3 represents the second transmission time.

[0040] Optionally, the computing unit is also used to perform calculations in the following ways:

[0041] Offset = t 2min -t 1min -RTT min / 2;

[0042] Offset represents the inter-station synchronization deviation value for the first cycle, t 2min t represents the first reception time corresponding to the minimum first round-trip delay reference. 1min RTT represents the first transmission time corresponding to the minimum first round-trip time (RTT) reference. min This represents the minimum first round-trip time reference.

[0043] Optionally, the acquisition unit is also used to acquire M first round-trip delays in the second cycle, where M is less than N and the second cycle is less than the first cycle;

[0044] The determining unit is also used to determine the minimum real-time value of the first round-trip delay based on the M first round-trip delays, wherein the minimum real-time value of the first round-trip delay is the minimum value among the M first round-trip delays;

[0045] If the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value is less than a preset threshold, the determining unit is also used to determine the inter-station synchronization deviation value of the second cycle based on the minimum first round-trip delay real-time value.

[0046] Optionally, the acquisition unit is also used to acquire the air interface deviation measurement value, which is the synchronization deviation value of the first network device and the second network device transmitting packets through the air interface;

[0047] The determining unit is also used to determine the static error value based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first cycle. The static error value is a fixed value of the delay deviation when the first network device and the second network device transmit messages.

[0048] Network equipment also includes:

[0049] A storage unit is used to store static error values.

[0050] Optionally, network equipment may also include:

[0051] The compensation unit is used to compensate for the inter-station synchronization deviation value of the first cycle based on the static error value, so as to obtain the target inter-station synchronization deviation value.

[0052] The methods performed by each unit in the network device provided in the second aspect of this application are similar to the methods in the first aspect of the implementation, and will not be described in detail here.

[0053] A third aspect of this application provides a network device including a processor and a memory, wherein the processor stores program code and executes the program code to implement the method of the first aspect of the application and its various implementations.

[0054] The fourth aspect of this application provides a computer storage medium storing instructions that, when executed on a computer, cause the computer to perform the method as described in the first aspect of this application.

[0055] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:

[0056] In this application, the first network device acquires N first round-trip times in the first cycle, determines the minimum first round-trip time reference value based on the N first round-trip times, and then determines the inter-station synchronization deviation value based on the minimum first round-trip time reference value, thereby reducing the risk of large error in deviation measurement results caused by excessive delay due to sudden or congestion delay jitter. Attached Figure Description

[0057] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.

[0058] Figure 1 An architecture diagram of a communication system provided in an embodiment of this application;

[0059] Figure 2 An architecture diagram of a communication system provided in an embodiment of this application;

[0060] Figure 3 A flowchart illustrating the data processing method provided in this application embodiment;

[0061] Figure 4 Another schematic diagram of the data processing method provided in the embodiments of this application;

[0062] Figure 5 Another schematic diagram of the data processing method provided in the embodiments of this application;

[0063] Figure 6 This is an application scenario diagram of the data processing method provided in the embodiments of this application;

[0064] Figure 7 Another schematic diagram of the data processing method provided in the embodiments of this application;

[0065] Figure 8Another schematic diagram of the data processing method provided in the embodiments of this application;

[0066] Figure 9 A schematic diagram of the architecture of a network device provided in an embodiment of this application;

[0067] Figure 10 This is another schematic diagram of the architecture of the network device provided in the embodiments of this application;

[0068] Figure 11 This is another schematic diagram of the architecture of the network device provided in the embodiments of this application. Detailed Implementation

[0069] To better understand the data processing method disclosed in the embodiments of this application, the communication system to which the embodiments of this application are applicable is described below.

[0070] Please see Figure 1 , Figure 1 This application provides a schematic diagram of the architecture of a communication system. The communication system includes a first network device 101 and a second network device 102. Figure 1 The number and configuration of network devices shown are for illustrative purposes only and do not constitute a limitation on the embodiments of this application. In actual applications, more than two network devices may be included, and no specific limitation is made here. The communication system provided in the embodiments of this application may further include a server 103, which is connected to the first network device 101 and the second network device 102 for transmitting data with the first network device 101 and the second network device 102.

[0071] The technical solutions of this application embodiment can be applied to various communication systems. For example, 5G mobile communication systems, 5G NR systems, or other future new mobile communication systems. The communication system can also be a communication system that simultaneously supports multiple wireless technologies, such as a communication system that simultaneously supports LTE and NR; or, the communication system can be a communication system that supports short-range communication, such as a communication system that supports sidelink (SL) technology, a communication system that supports wireless fidelity (WiFi) technology, and so on.

[0072] The first network device 101 and the second network device 102 in the embodiments of this application are entities on the network side used for transmitting or receiving signals. For example, network device 101 can be an evolved NodeB (eNB), a transmission reception point (TRP), a next-generation NodeB (gNB) in an NR system, a transmission reception point (TRP), a relay node (RN), an access point (AP), a base station in other future mobile communication systems, or an access node in a WiFi system, etc. The embodiments of this application do not limit the specific technology or specific device form used by the network devices.

[0073] It should be noted that, in this embodiment of the application, the first network device 101 can transmit data through the Xn / X2 interface and the second network device 102 to perform inter-station deviation measurement, and can also transmit data through air interface transmission technology to perform inter-station deviation measurement.

[0074] It should be noted that server 103 can be deployed on the first network device 101 or the second network device 102, or it can be connected to the first network device 101 and the second network device 102 as a standalone server, or it can be deployed in an intermediate transmission network, or it can be deployed on other network devices. The specifics are not limited here.

[0075] It should be noted that, in this embodiment, the inter-station deviation measurement can be performed on the first network device 101 or the second network device 102, or on the server 103; the specific implementation is not limited here. When the inter-station deviation measurement is performed on the first network device 101 or the second network device 102, the server 103 is not required. When the inter-station deviation measurement is performed on the server 103, the first network device 101 and the second network device 102 send relevant data information to the server 103. It is understood that the inter-station deviation measurement can also be performed on intermediate transmission networks or other network devices; the specific implementation is not limited here.

[0076] It should be noted that the data processing method provided in this application embodiment can also be used for time delay deviation measurement between terminal devices. For example... Figure 2As shown, data transmission occurs between terminal devices to measure latency deviation. Latency deviation measurement can be performed between terminal devices or on a server; this is not limited here. When latency deviation measurement is performed on a terminal device, a server is not required. When latency deviation measurement is performed on a server, the terminal device sends the relevant data information to the server. It is understood that latency deviation measurement can also be performed on an intermediate transmission network or other devices; this is not limited here either.

[0077] The terminal device in this application embodiment is a user-side entity used to receive or transmit signals, such as a mobile phone. The terminal device can also be called a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a car with communication capabilities, a smart car, a mobile phone, a wearable device, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. The embodiments of this application do not limit the specific technology or device form used in the terminal device.

[0078] The following is in conjunction with the above. Figure 1 and Figure 2 The communication system described in detail provides the data processing method and apparatus provided in the embodiments of this application.

[0079] Please see Figure 3 This is a flowchart illustrating a data processing method provided in an embodiment of this application.

[0080] In this embodiment, the first network device is used as the first base station and the second network device is used as the second base station for explanation. In this embodiment, the inter-station deviation measurement is performed at both the first and second base stations as an example.

[0081] In step 301, the first base station sends a first detection message to the second base station.

[0082] When the first base station needs to perform inter-station deviation measurement, the first base station sends a first detection message to the second base station.

[0083] Specifically, when the first base station sends the first detection message to the second base station, the first base station records the time information of sending the first detection message, that is, the first sending time. The first base station carries the first sending time in the first detection message and sends the first detection message to the second base station.

[0084] In one possible implementation, the first detection message is a service message, and the base station carries the first transmission time in the service message and sends it to the second base station. Specifically, the first transmission time can be carried in the header of the service message or in the payload of the service message; no specific limitation is made here.

[0085] In one possible implementation, the first detection message is a specially constructed detection message, meaning that it does not carry other service information, only the first transmission time. Specifically, the first transmission time can be carried in the header of the first detection message or in the payload of the first detection message; no specific limitation is made here.

[0086] In one possible implementation, the first base station adjusts the timestamp accuracy of the first detection message to the highest level. For example, the timestamp accuracy can be set to within 10µs, or, in a preferred embodiment, the timestamp accuracy is set to 1µs.

[0087] It should be noted that the interaction period of the detection messages between the first base station and the second base station can be on the order of hundreds of milliseconds or seconds, and this embodiment does not impose any limitation.

[0088] In step 302, the second base station sends a second detection message to the first base station.

[0089] After receiving the first detection message sent by the first base station, the second base station sends a second detection message to the first base station.

[0090] Specifically, after receiving the first detection message from the first base station, the second base station records the time information of receiving the first detection message, i.e., the first reception time. When the second base station sends the second detection message, it records the time information of sending the second detection message, i.e., the second transmission time. The first base station then includes the second transmission time and the first reception time in the second detection message and sends the second detection message to the second base station.

[0091] In one possible implementation, the second detection message is a service message, and the second base station carries the second transmission time and the first reception time in the service message and sends it to the first base station. Specifically, the second transmission time and the first reception time can be carried in the header of the service message or in the payload of the service message; no specific limitation is made here.

[0092] In one possible implementation, the second detection message is a specially constructed detection message, meaning that it does not carry other service information, but only the second sending time and the first receiving time. Specifically, the first sending time and the first receiving time can be carried in the header of the second detection message or in the payload of the second detection message; no specific limitation is made here.

[0093] In one possible implementation, the second base station adjusts the timestamp accuracy of the second detection message to the highest level. For example, the timestamp accuracy can be set to within 10µs, or, in a preferred embodiment, the timestamp accuracy is set to 1µs.

[0094] In step 303, the first base station determines the first round-trip time delay based on the first transmission time, the first reception time, the second transmission time, and the second reception time.

[0095] After receiving the second detection message sent by the second base station, the first base station records the time of receiving the second detection message, i.e. the second reception time. The first base station determines the first round-trip delay based on the first sending time, the first reception time, the second sending time, and the second reception time.

[0096] Specifically, after receiving the second detection message, the first base station obtains the second sending time and the first receiving time in the second detection message, and records the second receiving time of receiving the second detection message. Then, it calculates and determines the first round-trip delay based on the first sending time, the first receiving time, the second sending time, and the second receiving time. The first round-trip delay represents the time consumed by the first base station and the second base station to transmit the first detection message and the second inspection message through the Xn / X2 interface, that is, the time consumed by the first base station and the second base station to transmit the message once each through the Xn / X2 interface.

[0097] In one possible implementation, the first base station calculates the first round-trip time according to the following formula:

[0098] RTT = t2 - t1 + t4 - t3.

[0099] Where RTT represents the first round-trip time, t2 represents the first reception time (the time when the second base station receives the first detection message), t1 represents the first transmission time (the time when the first base station sends the first detection message), t4 represents the second reception time (the time when the first base station receives the second detection message), and t3 represents the second transmission time (the time when the second base station sends the second detection message). t2-t1 represents the time delay from when the first base station sends the first detection message to when the second base station receives it, and t4-t3 represents the time delay from when the second base station sends the second detection message to when the first base station receives it.

[0100] In practical applications, the time required to calculate the first round-trip delay is very short. In this embodiment, the impact of delay jitter caused by the first base station and the second base station through the Xn / X2 interface is reduced by calculating the first round-trip delay multiple times within one cycle. Therefore, the first base station will repeat the above steps of calculating the first round-trip delay N times within the first cycle to obtain N first round-trip delays, where N is greater than 1.

[0101] It should be noted that this first period can be set in hours or days; the specific setting is not limited here. In a preferred embodiment, the first period is set to 1 day or 1 hour. For example, within this first period, the first base station will acquire tens of thousands of first round-trip delays. The first base station can start a timer to count the first period. When the timer starts, the first period begins; when the timer ends, the first period ends.

[0102] In step 304, the first base station determines the minimum first round-trip delay reference value based on N first round-trip delays.

[0103] After calculating N first round-trip delays, the first base station determines a minimum first round-trip delay reference value based on the N first round-trip delays. This minimum first round-trip delay reference value represents the minimum value among the N first round-trip delays.

[0104] During the interaction of detection messages between the first base station and the second base station, if the message interaction frequency is fixed, the longer the first cycle time is, the greater the first round-trip delay is obtained. Therefore, the minimum round-trip delay reference value is closer to the inherent delay of the transmission network.

[0105] For example, within the first period there are N first round-trip times (RTTs): RTT1, RTT2, RTT3, RTT4, ..., RTT. N Thus, the minimum RTT among N first round-trip times. min =min(RTT1,RTT2,RTT3,RTT4,…,RTTN ), where RTT min The corresponding time information of the first and second detection messages exchanged between the first and second base stations is RTT. min (t1, t2, t3, t4).

[0106] In step 305, the first base station determines the inter-station synchronization deviation value for the first period based on the minimum first round-trip delay reference value.

[0107] After obtaining the minimum first round-trip delay reference value, the first base station determines the inter-station synchronization deviation value for the first period based on the minimum first round-trip delay reference value. The inter-station synchronization deviation value for the first period is the inter-station synchronization deviation value of the first base station and the second base station transmitting messages through the Xn / X2 interface.

[0108] In one possible implementation, the first base station calculates the inter-station synchronization deviation value for the first period by using the time information of the first detection message and the second detection message that correspond to the minimum first round-trip delay reference value.

[0109] For example, the minimum first round-trip time (RTT) reference value. min The corresponding time information of the first and second detection messages exchanged between the first and second base stations is RTT. min (t 1min , t 2min , t 3min , t 4min If ), then it can be calculated using the following formula.

[0110] Offset = t 2min -t 1min -(t 2min -t 1min +t 4min -t 3min ) / 2;

[0111] Offset = t 2min -t 1min -RTT min / 2;

[0112] Where offset represents the inter-station synchronization deviation value in the first cycle, t 2min t represents the first reception time corresponding to the minimum first round-trip delay reference. 1min RTT represents the first transmission time corresponding to the minimum first round-trip time (RTT) reference. min This represents the minimum first round-trip time reference, and " / " indicates division.

[0113] In this embodiment of the application, the first base station acquires N first round-trip delays in the first period, and determines the minimum first round-trip delay reference value through the N first round-trip delays. Then, it determines the inter-station synchronization deviation value in the first period through the minimum first round-trip delay reference value. Since multiple first round-trip delays are acquired in the first period, and the minimum value among them is used as the parameter for calculating the inter-station synchronization deviation value, the first round-trip delay is close to the inherent duration of the transmission network, and therefore has less impact on the calculation of the inter-station synchronization deviation value.

[0114] In step 306, the first base station acquires M first round-trip delays in the second period.

[0115] In practical applications, to ensure a greater amount of first round-trip time delay is obtained, the first cycle is typically set to one hour or more than one day. Therefore, this affects the real-time performance of calculating the inter-station synchronization deviation. Thus, in this embodiment, a second cycle with a shorter time interval can be initiated within the first cycle to calculate the inter-station synchronization deviation in real time.

[0116] The first base station starts a second-cycle timer and acquires M first round-trip delays within the second cycle, where M is a positive integer less than N, and the second cycle is also shorter than the first cycle.

[0117] Specifically, in one possible implementation, N is an integer multiple of M, and the first period is also an integer multiple of the second period. The granularity of the second period's time setting can be at the minute or 10-minute level. The start time of the second period's timer can be the same as the start time of the first period's timer, or it can start after the first period's timer has ended; there are no specific limitations here.

[0118] When the start time of the timer in the second cycle is the same as the start time of the timer in the first cycle, the first base station can obtain M first round-trip delays in the second cycle based on the detection messages exchanged between the first base station and the second base station.

[0119] In step 307, the first base station determines the minimum real-time value of the first round-trip delay based on M first round-trip delays.

[0120] After the first base station acquires M first round-trip delays in the second period, the first base station determines the minimum real-time value of the first round-trip delay based on the M first round-trip delays. The minimum real-time value of the first round-trip delay is the minimum value among the M first round-trip delays.

[0121] In this embodiment of the application, the method steps for obtaining the first round-trip delay in the second cycle are similar to those for obtaining the first round-trip delay in the first cycle, and will not be described in detail here.

[0122] In step 308, if the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value is less than a preset threshold, the inter-station synchronization deviation value of the second cycle is determined based on the minimum first round-trip delay real-time value.

[0123] After the first base station determines the minimum first round-trip delay real-time value based on M first round-trip delays, if the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value is less than a preset threshold, the first base station determines the inter-station synchronization deviation value for the second period based on the minimum first round-trip delay real-time value. If the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value is greater than the preset threshold, it indicates that the second period may be in a period of transmission network delay fluctuation. Therefore, the minimum first round-trip delay real-time value cannot be used to calculate the inter-station synchronization deviation value for the second period.

[0124] Specifically, when the start time of the second cycle timer is the same as the start time of the first cycle timer, the first base station has not yet obtained the first round-trip delay reference value at the end time of the second cycle timer, and cannot calculate the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value. Therefore, the minimum first round-trip delay real-time value is not used to calculate the inter-station synchronization deviation value of the second cycle, and the first base station saves the minimum first round-trip delay real-time value in local storage.

[0125] In practical applications, the first cycle may be an integer multiple of the second cycle. Therefore, at the end of the first cycle, the first base station will acquire and save multiple minimum first round-trip delay real-time values. In one possible implementation, at the end of the first cycle, the first base station can calculate multiple differences based on the saved multiple minimum first round-trip delay real-time values ​​and the minimum first round-trip delay reference value, and determine whether to calculate the corresponding inter-station synchronization deviation value for the second cycle based on the magnitude of these multiple differences.

[0126] In one possible implementation, the first base station does not calculate the inter-station synchronization deviation value for multiple second cycles within the first cycle at the end of the first cycle.

[0127] In one possible implementation, such as Figure 4As shown, after the first second cycle ends, the minimum first round-trip time (RTD) real-time value is calculated for the first time, and the second first cycle and the second second cycle are started simultaneously. After the first first cycle ends, the minimum RTD reference value is calculated for the first time, and the Qth second cycle is started. At the end of the Qth second cycle, since the first cycle is an integer multiple of the second cycle, the end time of the Qth second cycle is also the end time of the second first cycle. Therefore, it can be determined whether the minimum RTD real-time value of the Qth second cycle is less than the minimum RTD reference value of the first first cycle. If it is less, the minimum RTD reference value is updated. Preferably, after the Qth second cycle ends and the Qth minimum RTD real-time value is calculated, the first minimum RTD real-time value stored in the first base station is deleted. This process is repeated, and after the minimum RTD real-time value of each subsequent second cycle is calculated, the earliest minimum RTD real-time value stored in the first base station is deleted.

[0128] In this embodiment, by starting a second cycle and calculating the inter-station synchronization deviation measurement value of the second cycle based on the minimum first round-trip delay real-time value of the second cycle, the inter-station synchronization deviation measurement value can be calculated in a shorter time period compared to the first cycle with a longer time granularity, thus improving the timeliness of the solution.

[0129] It should be noted that when the Xn / X2 propagation path of the first base station and the second base station changes, the real-time value of the first round-trip delay and the reference value of the first round-trip delay in the first base station need to be cleared, and the real-time value of the first round-trip delay and the reference value of the first round-trip delay need to be recalculated.

[0130] In step 309, the first base station acquires the air interface deviation measurement value.

[0131] When calculating the inter-station deviation between the first and second base stations via the Xn / X2 interface, millisecond-level measurement errors may be introduced due to asymmetry in the transmission paths between the first and second base stations, or symmetry issues in the transmitting and receiving optical fibers. This measurement error is fixed and therefore belongs to static error. In this embodiment, this static error can also be minimized by using air interface measurement.

[0132] The first and second base stations acquire air interface deviation measurement values ​​through air interface transmission.

[0133] In one possible implementation, such as Figure 5As shown, the first base station can obtain the air interface deviation measurement value by transmitting detection signals between the first and second base stations. Specifically, the first base station sends a first inter-station detection signal to the second base station. This first inter-station detection signal can be a standard signal such as a synchronization signal block (SSB) or CSI-RS, or a special signal defined on idle symbols in the time domain resources (such as GP symbols). The specifics are not limited here. The first base station carries the first time information of sending the first inter-station detection signal in the first inter-station detection signal. After receiving the first inter-station detection signal, the second base station records the second time information of receiving the first inter-station detection signal and sends a second inter-station detection signal to the first base station, carrying the third time information of sending the second inter-station detection signal and the second time information of receiving the first inter-station detection signal. After receiving the second detection signal, the first base station records the fourth time information of receiving the second detection signal and calculates the first time delay ΔT1 based on the first and second time information, and calculates the second time delay ΔT2 based on the third and fourth time information. The air interface propagation delay between the first and second base stations is then calculated as follows:

[0134] Air propagation delay = (△T1 + △T2) / 2.

[0135] Where △T1 represents the first time delay, △T2 represents the second time delay, and " / " represents division.

[0136] The air interface deviation measurements of the first and second base stations are calculated as follows:

[0137] The measured value of the air outlet deviation is (△T1-△T2) / 2.

[0138] Where △T1 represents the first time delay, △T2 represents the second time delay, and " / " represents division.

[0139] In one possible implementation, such as Figure 6 As shown, the first base station and the second base station can perform inter-site air interface deviation measurement using either the handover terminal equipment (UE) between the first base station and the second base station or the UE at the cell edge between the first base station and the second base station. The UE performing handover between the first base station and the second base station can assist the first base station and the second base station in collecting time difference information by sending detection signals during handover services. The UE at the cell edge between the first base station and the second base station can assist the first base station and the second base station in collecting time difference information by sending detection signals during random access.

[0140] For example, the UE sends detection signals, such as random access signals, to the first base station and the second base station respectively. The first base station and the second base station detect simultaneously. The first base station receives the detection signal at time T1, and the second base station receives the detection signal at time T2. The propagation delay of the UE sending the detection signal to the first base station is Tp1, and the propagation delay of the UE to the second base station is Tp2. Then, the air interface deviation measurement value = ((T1-T2)-(Tp1-Tp2)) / 2.

[0141] In step 310, the first base station determines the static error value based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first cycle.

[0142] After acquiring the air interface deviation measurement value, the first base station determines the static error of the inter-station synchronization deviation value for the first period based on the air interface deviation measurement value and the inter-station synchronization deviation value for the first period.

[0143] Specifically, in practical applications, the inter-station synchronization deviation value of the first cycle = actual synchronization deviation value + static error value + first dynamic error. The air interface deviation measurement value = actual synchronization deviation value + second dynamic error. The first dynamic error value of the inter-station synchronization deviation value of the first cycle is filtered below a preset threshold by obtaining the minimum first round-trip delay in the above steps, and therefore can be ignored here. The second dynamic error value is also negligible due to its small value. Therefore, the static error = inter-station synchronization deviation value of the first cycle - air interface deviation measurement value. For a fixed Xn / X2 propagation path, the static error is fixed; therefore, the static error does not need to be calculated in real time. It only needs to be recalculated when the Xn / X2 propagation path changes. After calculating the static error value, the first base station saves this static error value.

[0144] In step 311, the first base station compensates for the inter-station synchronization deviation value of the first period based on the static error value to obtain the target inter-station synchronization deviation value.

[0145] After obtaining the static error value, the first base station compensates for the inter-station synchronization deviation value of the first period based on the static error value to obtain the target inter-station synchronization deviation value.

[0146] Specifically, the synchronization deviation value between target stations can be calculated in the following way.

[0147] Target inter-station synchronization deviation value = Inter-station synchronization deviation value of the first cycle - Static error.

[0148] It should be noted that the first base station can adjust the clock synchronization state by the target station synchronization deviation value, the air interface deviation measurement value, or the average value of the target station synchronization deviation value and the air interface deviation measurement value. The specific adjustment is not limited here.

[0149] In practical applications, due to limitations in air interface transmission conditions, the first and second base stations may be unable to perform air interface deviation measurements at certain times, such as when the air interface signal-to-noise ratio is high, or when there is a UE without handover or an edge-free UE. In such cases, if the first base station has previously stored static error values, it can compensate for the inter-station synchronization deviation value of the first period based on these stored values ​​to obtain the target inter-station synchronization deviation value, and then adjust the clock synchronization state accordingly. If the first base station has not previously stored static error values, it cannot compensate for the inter-station synchronization deviation value of the first period. It is understandable that when the transmission paths of the first and second base stations remain unchanged, if the first base station obtains a new static error, it will average this new static error with the static error stored in the first base station's memory, and update the first base station's memory with this averaged static error.

[0150] When it is impossible to compensate for the inter-station synchronization deviation value in the first cycle, the change in the deviation measurement value can be calculated by the difference between the inter-station synchronization deviation value in the first cycle and the inter-station synchronization deviation value in the previous first cycle. This change in deviation measurement value can then be used to determine whether a large clock deviation has occurred. For example, if the clock in the previous first cycle was normal, but the clock in this first cycle has a deviation, the change in the deviation measurement value will exceed a preset threshold, thus confirming a large clock deviation.

[0151] It should be noted that in the embodiments of this application, the first base station and the second base station can also be replaced by transmission nodes (such as microwave equipment) or time servers that simultaneously support air interface transmission and terrestrial transmission and meet time synchronization requirements. No specific limitation is made here.

[0152] In this embodiment of the application, steps 306 to 311 are optional steps. When steps 306 to 311 are not executed, the first base station adjusts the clock synchronization state according to the inter-station synchronization deviation value of the first cycle.

[0153] In this embodiment of the application, the first base station obtains N first round-trip delays in the first period, determines the minimum first round-trip delay reference value based on the N first round-trip delays, and then determines the inter-station synchronization deviation value based on the minimum first round-trip delay reference value, thereby reducing the risk of large error in deviation measurement results caused by excessive delay due to sudden or congestion delay jitter.

[0154] Please see Figure 7 This is another flowchart illustrating the data processing method provided in the embodiments of this application.

[0155] In step 701, the first base station sends a first detection message to the second base station.

[0156] In step 702, the first base station receives the second detection message sent by the second base station.

[0157] In step 703, the first base station determines the first round-trip time delay based on the first transmission time, the first reception time, the second transmission time, and the second reception time.

[0158] In step 704, the first base station determines the minimum first round-trip delay reference value based on N first round-trip delays.

[0159] In step 705, the first base station determines the inter-station synchronization deviation value for the first period based on the minimum first round-trip time reference value.

[0160] In step 706, the first base station acquires M first round-trip delays in the second period.

[0161] In step 707, the first base station determines the minimum real-time value of the first round-trip delay based on M first round-trip delays.

[0162] In step 708, if the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value is less than a preset threshold, the inter-station synchronization deviation value of the second cycle is determined based on the minimum first round-trip delay real-time value.

[0163] In this embodiment, steps 701 to 708 are the same as those described above. Figure 3 The methods performed in steps 301 to 308 in the illustrated embodiment are similar, and will not be described in detail here.

[0164] In step 709, the first base station sends the inter-station synchronization deviation value and air interface propagation delay of the first period to the server.

[0165] When calculating the inter-station deviation between the first and second base stations via the Xn / X2 interface, millisecond-level measurement errors may be introduced due to asymmetry in the transmission paths between the first and second base stations, or symmetry issues in the transmitting and receiving optical fibers. This measurement error is fixed and therefore belongs to static error. In this embodiment, this static error can also be minimized by using air interface measurement.

[0166] The first and second base stations obtain the air interface propagation delay through air interface transmission.

[0167] In one possible implementation, such as Figure 5As shown, the first base station can obtain the air interface propagation delay by transmitting detection signals between the first and second base stations. Specifically, the first base station sends a first inter-base station detection signal to the second base station. This first inter-base station detection signal can be a standard signal such as a synchronization signal block (SSB) or CSI-RS, or a special signal defined on idle symbols in the time domain resources (such as GP symbols). The specifics are not limited here. The first base station carries the first time information of sending the first inter-base station detection signal in the first inter-base station detection signal. After receiving the first inter-base station detection signal, the second base station records the second time information of receiving the first inter-base station detection signal and sends a second inter-base station detection signal to the first base station, carrying the third time information of sending the second inter-base station detection signal and the second time information of receiving the first inter-base station detection signal. After receiving the second detection signal, the first base station records the fourth time information of receiving the second detection signal and calculates the first time delay ΔT1 based on the first and second time information, and calculates the second time delay ΔT2 based on the third and fourth time information. The air interface propagation delay between the first and second base stations is then calculated as follows:

[0168] Air propagation delay = (△T1 + △T2) / 2.

[0169] Where △T1 represents the first time delay, △T2 represents the second time delay, and " / " represents division.

[0170] In one possible implementation, such as Figure 6 As shown, the first base station and the second base station can obtain the air interface propagation delay by using the handover terminal equipment (UE) between the first base station and the second base station, or by the UE at the cell edge between the first base station and the second base station. The UE performing handover between the first base station and the second base station can assist the first base station and the second base station in collecting time difference information by sending detection signals during handover services. The UE at the cell edge between the first base station and the second base station can assist the first base station and the second base station in collecting time difference information by sending detection signals during random access.

[0171] For example, the UE sends detection signals, such as random access signals, to the first base station and the second base station respectively. The first base station and the second base station detect simultaneously. The first base station receives the detection signal at time T1, and the second base station receives the detection signal at time T2. The propagation delay of the UE sending the detection signal to the first base station is Tp1, and the propagation delay of the UE to the second base station is Tp2. Then, the air interface propagation delay = (Tp1 + Tp2) / 2.

[0172] After obtaining the air interface propagation delay, the first base station sends the air interface propagation delay and the inter-station synchronization deviation value for the first period to the server.

[0173] In step 710, the server determines the air interface deviation measurement value.

[0174] After receiving the air interface propagation delay and the inter-station synchronization deviation value for the first period from the first base station, the server further determines the air interface deviation measurement value based on these values. The calculation method for this air interface deviation measurement value is the same as described above. Figure 3 The calculation method for step 309 is similar, and will not be repeated here.

[0175] In step 711, the static error value is determined based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first cycle.

[0176] In step 712, the inter-station synchronization deviation value of the first cycle is compensated based on the static error value to obtain the target inter-station synchronization deviation value.

[0177] In this embodiment, steps 711 to 712 are the same as those described above. Figure 3 The methods performed in steps 310 to 311 in the illustrated embodiment are similar, and will not be described in detail here.

[0178] In this embodiment of the application, the target station deviation value is calculated by a server. Therefore, the server can serve multiple base stations and adjust the clock synchronization status through unified management.

[0179] Please see Figure 8 This is another flowchart illustrating the data processing method provided in the embodiments of this application.

[0180] In this embodiment, the centralized control node can be deployed on a server, on any base station, or on a transmission network; no specific limitations are made here.

[0181] The centralized control node centrally controls the inter-site deviation measurement across the entire network through the network-wide detection centralized control module, ensuring the consistency and effectiveness of network-wide detection. This network-wide detection centralized control includes: the centralized control node centrally controlling the designated air interface detection sequence transmission frequency, the air interface detection order, the period for air interface deviation measurement and Xn / X2 joint detection, and the start time, etc.

[0182] The centralized control node sends commands to local or all network base stations through the ltf1 interface, and local or all network base stations send data to the centralized control node through the ltf2 interface.

[0183] In this embodiment, the various deviation detection technologies executed by the local / whole network base stations and the centralized control node are a deviation measurement method based on the Xn / X2 interface and an air interface deviation measurement method based on the air interface transmission mode. The Xn / X2 interface deviation measurement method and the air interface deviation measurement method based on the air interface transmission mode are similar to those described above. Figure 3 or Figure 7 The deviation measurement method of the Xn / X2 interface executed by the first base station or server is similar to the air interface deviation measurement method based on the air interface transmission mode, and will not be elaborated here.

[0184] The centralized control node performs centralized intelligent analysis of the inter-station deviation data of the entire network (for example, some clustering algorithms can be used). Based on the principle that the clocks of most stations are normal, the majority of normal stations are identified. Using normal stations as a benchmark, the few stations with large clock deviations can be further identified (for example, the synchronization deviation measurement value between the few stations with large clock deviations and the benchmark station is greater than a preset threshold).

[0185] After identifying the clock status of all base stations in the network, the centralized control node can perform comprehensive analysis with the 1588 topology to quickly pinpoint fault points under the 1588 clock source. The clock server transmits the clock signal to the base station via the transmission network. This 1588 topology information includes: the clock server and information about the previous hop 1588 device connected to the base station. Alternatively, it could include information about each hop transmission device from the clock server to the base station; the specific details are not limited here.

[0186] For example, if all base stations lose synchronization under the same 1588 clock source, the 1588 clock source is determined to be faulty, that is, the clock server is faulty.

[0187] For example, if all base stations under the same 1588 transmission equipment lose synchronization, then the transmission equipment is determined to be faulty.

[0188] For example, if some base stations lose synchronization while others do not under the same 1588 transmission equipment, it may be due to a fault in some ports of the transmission equipment or a fault in some base stations.

[0189] For standard 1588 time synchronization, each hop-by-hop device must support the 1588 protocol and perform path asymmetry error compensation; otherwise, path asymmetry error will cause a large 1588 time synchronization error.

[0190] For the proposed 1588 time synchronization scheme (e.g., 1588ATR, or relaxed 1588 time synchronization for FDD handover where time synchronization accuracy requirements are low), intermediate transmission equipment does not need to support the 1588 protocol, but the bidirectional propagation path from the base station to the 1588 clock server must be symmetrical.

[0191] The current method of path asymmetry compensation can only be achieved by manually setting up meters at each station and performing compensation, which is costly in terms of manpower and time.

[0192] In this embodiment, by identifying the clock status of all base stations in the network and performing comprehensive analysis with the 1588 topology, clock fault sites and reference sites can be identified. Then, based on the inter-site synchronization deviation value measured by the Xn / X2 interface or air interface, the asymmetry error of the 1588 time synchronization path is automatically compensated, thereby reducing the deployment requirements and costs of 1588 time synchronization and improving the accuracy of 1588 relaxed time synchronization.

[0193] Specifically, during the 1588 deployment phase, by identifying the clock status of all base stations in the network and performing a comprehensive analysis with the 1588 topology, sites with large 1588 clock deviations are identified. Using the reference neighboring site as a benchmark, the path asymmetry error of the site with large 1588 clock deviation can be calculated. Furthermore, the path asymmetry error of the site with large 1588 clock deviation can be compensated to ensure the time synchronization accuracy of 1588v2.

[0194] During normal operation of 1588, if the transmission path changes, causing path asymmetry, it can be detected in time and automatically recompensated through whole-network / local clock quality detection.

[0195] Specifically, in one possible implementation, the following actions can be taken for faulty sites (e.g., 1588) within each cycle:

[0196] If, within a certain period, 1588 faulty stations and d (d>0) fault-free benchmark neighboring stations all measure the inter-station synchronization deviation Offset, namely Offset1, Offset2, ..., Offset... d The path asymmetry error compensation for the 1588 faulty site in this cycle can be calculated as follows:

[0197] △T Asy =1 / d*(Offset1+Offset2,+…+Offset d ),

[0198] Among them, △T Asy This represents the amount of path asymmetry error compensation for this cycle.

[0199] After identifying the clock status of all base stations in the network and performing a comprehensive analysis with the 1588 topology, if the problem is determined to be a base station issue, or if it is uncertain whether the problem lies with the base station or the transmission equipment, the path asymmetry error compensation for this cycle is preferably performed on the base station side. If the problem is with the transmission equipment, the path asymmetry error compensation for this cycle can be performed on either the base station side or the transmission equipment side.

[0200] If we identify the clock status of all base stations in the network and perform a comprehensive analysis with the 1588 topology, we can determine that K (K>0) base stations under the transmission equipment have measured path asymmetry errors of ΔT. Asy1 , △T Asy2 , ..., △T Asyk The path asymmetry error compensation amount on the transmission equipment can be calculated in the following way:

[0201] △T Asy =1 / K*(△T) Asy1 +△T Asy2 +…+△T Asyk ).

[0202] Among them, △T Asy This represents the amount of path asymmetry error compensation on the transmission equipment.

[0203] It is understandable that the path asymmetry error compensation amount on the transmission equipment can also be calculated in other ways, but specific methods are not limited here.

[0204] In one possible implementation, if no synchronization deviation is measured between the faulty station and all fault-free reference stations within a certain period, and the path asymmetry error of the faulty station cannot be calculated, then the following judgment is further performed:

[0205] After identifying the clock status of all base stations in the network and performing a comprehensive analysis with the 1588 topology, if the problem is determined to be a base station issue, an uncertain base station issue, or a transmission equipment issue, the clock of the faulty site in this cycle will enter a hold state. If the problem is determined to be a transmission equipment issue, it is recommended to compensate at the transmission equipment. As long as any base station under that transmission equipment can measure the path asymmetry error, compensation can be performed at the transmission equipment. Unless all base stations under that transmission equipment cannot measure the path asymmetry error, all 1588 time synchronization base stations under that transmission equipment will enter a hold state.

[0206] The data processing method in the embodiments of this application has been described above. The network device in the embodiments of this application is described below. Please refer to [link / reference]. Figure 9 This is a schematic diagram of the structure of an embodiment of the network device provided in this application.

[0207] A network device, comprising:

[0208] The acquisition unit 901 is used to acquire N first round-trip delays in the first period. The first round-trip delay is the time consumed by the first network device and the second network device to transmit a message once through the Xn / X2 interface, and N is a positive integer greater than 1.

[0209] The determining unit 902 is used to determine the minimum first round-trip delay reference value based on N first round-trip delays, wherein the minimum first round-trip delay reference value is the minimum value among the N first round-trip delays;

[0210] The determining unit 902 is further configured to determine the inter-station synchronization deviation value of the first period based on the minimum first round-trip delay reference value. The inter-station synchronization deviation value of the first period is the inter-station synchronization deviation value of the first network device and the second network device transmitting messages through the Xn / X2 interface.

[0211] In this embodiment, the operations performed by each unit of the network device are the same as those described above. Figure 3 or Figure 7 The method performed by the first base station in the illustrated embodiment is similarly described and will not be repeated here.

[0212] Please see Figure 10 This is a schematic diagram of another embodiment of the network device provided in this application.

[0213] A network device, comprising:

[0214] The acquisition unit 1001 is used to acquire N first round-trip delays in the first period. The first round-trip delay is the time consumed by the first network device and the second network device to transmit a message once through the Xn / X2 interface, and N is a positive integer greater than 1.

[0215] The determining unit 1002 is used to determine the minimum first round-trip delay reference value based on N first round-trip delays, wherein the minimum first round-trip delay reference value is the minimum value among the N first round-trip delays;

[0216] The determining unit 1002 is further configured to determine the inter-station synchronization deviation value of the first period based on the minimum first round-trip delay reference value. The inter-station synchronization deviation value of the first period is the inter-station synchronization deviation value of the first network device and the second network device transmitting messages through the Xn / X2 interface.

[0217] Optionally, network equipment may also include:

[0218] Sending unit 1003 is used to send a first detection message to the second network device in step one. The first detection message carries a first sending time, which is the time when the first network device sends the first detection message to the second network device.

[0219] The receiving unit 1004 is used to receive a second detection message sent by the second network device in step two. The second detection message carries a first receiving time and a second sending time. The first receiving time is the time when the second network device receives the first detection message, and the second sending time is the time when the second network device sends the second detection message.

[0220] Step 3: The determining unit 1002 is also used to determine the second receiving time, which is the time when the first network device receives the second detection message;

[0221] Step 4: The determining unit 1002 is also used to determine the first round-trip time delay based on the first transmission time, the first reception time, the second transmission time, and the second reception time;

[0222] The network device executes steps one through four above N times within the first cycle to obtain N first round-trip times.

[0223] Optionally, network equipment may also include:

[0224] Calculation unit 1005 is used to perform calculations in the following manner:

[0225] RTT = t2 - t1 + t4 - t3;

[0226] RTT represents the first round-trip time, t2 represents the first reception time, t1 represents the first transmission time, t4 represents the second reception time, and t3 represents the second transmission time.

[0227] Optionally, the calculation unit 1005 is also used to perform calculations in the following ways:

[0228] Offset = t 2min -t 1min -RTT min / 2;

[0229] Offset represents the inter-station synchronization deviation value for the first cycle, t 2min t represents the first reception time corresponding to the minimum first round-trip delay reference. 1min RTT represents the first transmission time corresponding to the minimum first round-trip time (RTT) reference. min This represents the minimum first round-trip time reference.

[0230] Optionally, the acquisition unit 1001 is also used to acquire M first round-trip delays in the second cycle, where M is less than N and the second cycle is less than the first cycle;

[0231] The determining unit 1002 is further configured to determine the minimum first round-trip delay real-time value based on the M first round-trip delays, wherein the minimum first round-trip delay real-time value is the minimum value among the M first round-trip delays;

[0232] If the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value is less than a preset threshold, the determining unit 1002 is further used to determine the inter-station synchronization deviation value of the second cycle based on the minimum first round-trip delay real-time value.

[0233] Optionally, the acquisition unit 1002 is also used to acquire the air interface deviation measurement value, which is the synchronization deviation value of the first network device and the second network device transmitting messages through the air interface.

[0234] The determining unit 1002 is also used to determine the static error value based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first cycle. The static error value is a fixed value of the delay deviation when the first network device and the second network device transmit messages.

[0235] Network equipment also includes:

[0236] Storage unit 1006 is used to store static error values.

[0237] Optionally, network equipment may also include:

[0238] The compensation unit 1007 is used to compensate the inter-station synchronization deviation value of the first cycle based on the static error value to obtain the target inter-station synchronization deviation value.

[0239] In this embodiment, the operations performed by each unit of the network device are the same as those described above. Figure 3 or Figure 7 The method performed by the first base station in the illustrated embodiment is similarly described and will not be repeated here.

[0240] Please see Figure 11 This is a schematic diagram of another embodiment of the network device provided in this application.

[0241] The network device includes a processor 1101, a memory 1102, a bus 1105, and an interface 1104. The processor 1101 is connected to the memory 1102 and the interface 1104. The bus 1105 connects the processor 1101, the memory 1102, and the interface 1104. The interface 1104 is used to receive or send data. The processor 1101 is a single-core or multi-core central processing unit, a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention. The memory 1102 can be random access memory (RAM) or non-volatile memory, such as at least one hard disk drive. The memory 1102 is used to store computer-executable instructions. Specifically, the computer-executable instructions may include a program 1103.

[0242] In this embodiment, the processor 1101 can execute the aforementioned... Figure 3 or Figure 7 The specific operations performed by the network device in the illustrated embodiment will not be described in detail here.

[0243] It should be understood that the processor mentioned in the above embodiments of this application, or the processor provided in the above embodiments of this application, may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0244] It should also be understood that the number of processors in the above embodiments of this application can be one or more, and can be adjusted according to the actual application scenario. This is merely an illustrative example and is not intended to limit the number of processors. Similarly, the number of memories in the embodiments of this application can be one or more, and can be adjusted according to the actual application scenario. This is merely an illustrative example and is not intended to limit the number of memories.

[0245] It should be noted that when network equipment, terminal equipment, or base station includes a processor (or processing unit) and a storage unit, the processor in this application may be integrated with the storage unit, or the processor and the storage unit may be connected through an interface. This can be adjusted according to the actual application scenario and is not limited.

[0246] The processor in this application embodiment may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing receiving and transmitting functions may be separate or integrated together. The aforementioned transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or it may be used for transmitting or transmitting signals.

[0247] This application also provides a computer program or a computer program product including a computer program, which, when executed on a computer, will cause the computer to implement the method flow of any of the above method embodiments with terminal devices / network devices / base stations.

[0248] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the method flow related to network devices, terminal devices, or base stations in any of the above method embodiments.

[0249] In the above Figures 2-8 In each embodiment, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.

[0250] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).

[0251] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.

[0252] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0253] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0254] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0255] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms "a," "the," and "the" used in the embodiments of this application are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that in the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship; for example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural.

[0256] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be covered within the protection scope of the embodiments of this application.

Claims

1. A data processing method, characterized in that, include: The first network device acquires N first round-trip delays in the first cycle. The first round-trip delay is the time consumed by the first network device and the second network device to transmit a message once through the Xn / X2 interface, where N is a positive integer greater than 1. The first network device determines a minimum first round-trip delay reference value based on the N first round-trip delays, wherein the minimum first round-trip delay reference value is the minimum value among the N first round-trip delays; The first network device determines the inter-station synchronization deviation value of the first period based on the minimum first round-trip delay reference value. The inter-station synchronization deviation value of the first period is the inter-station synchronization deviation value of the first network device and the second network device transmitting messages through the Xn / X2 interface. The first network device acquires an air interface deviation measurement value, wherein the air interface deviation measurement value is a synchronization deviation value between the first network device and the second network device when transmitting packets through the air interface; The first network device determines a static error value based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first period. The static error value is a fixed value of the delay deviation when the first network device and the second network device transmit packets. The first network device stores the static error value; After the first network device determines the static error value based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first period, the method further includes: The first network device compensates for the inter-station synchronization deviation value of the first period based on the static error value to obtain the target inter-station synchronization deviation value.

2. The method according to claim 1, characterized in that, The first network device acquires N first round-trip times in the first period, including: Step 1: The first network device sends a first detection message to the second network device. The first detection message carries a first sending time, which is the time when the first network device sends the first detection message to the second network device. Step 2: The first network device receives the second detection message sent by the second network device. The second detection message carries a first reception time and a second transmission time. The first reception time is the time when the second network device receives the first detection message, and the second transmission time is the time when the second network device sends the second detection message. Step 3: The first network device determines the second reception time, which is the time when the first network device receives the second detection message; Step 4: The first network device determines the first round-trip time based on the first transmission time, the first reception time, the second transmission time, and the second reception time; The first network device executes steps one to four above N times within the first cycle to obtain N first round-trip delays.

3. The method according to claim 2, characterized in that, The first network device determines the first round-trip time based on the first transmission time, the first reception time, the second transmission time, and the second reception time, including: RTT = t2 - t1 + t4 - t3; RTT represents the first round-trip time, t2 represents the first receiving time, t1 represents the first sending time, t4 represents the second receiving time, and t3 represents the second sending time.

4. The method according to claim 2 or 3, characterized in that, The first network device determines the inter-station synchronization deviation value for the first period based on the minimum first round-trip time reference, including: Offset=t 2min -t 1min -RTT min / 2; The Offset represents the inter-station synchronization deviation value of the first period, and t 2min The first reception time corresponding to the minimum first round-trip delay reference is t. 1min The RTT represents the first transmission time corresponding to the minimum first round-trip time reference. min This represents the minimum first round-trip time reference.

5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: The first network device acquires M first round-trip delays in the second period, where M is less than N, and the second period is less than the first period. The first network device determines a minimum first round-trip delay real-time value based on the M first round-trip delays, wherein the minimum first round-trip delay real-time value is the minimum value among the M first round-trip delays; If the difference between the minimum first round-trip time real-time value and the minimum first round-trip time reference value is less than a preset threshold, the first network device determines the inter-station synchronization deviation value of the second period based on the minimum first round-trip time real-time value.

6. A network device, characterized in that, include: The acquisition unit is used to acquire N first round-trip delays in the first period, wherein the first round-trip delay is the time consumed by the first network device and the second network device to transmit a message once through the Xn / X2 interface, and N is a positive integer greater than 1; A determining unit is configured to determine a minimum first round-trip delay reference value based on the N first round-trip delays, wherein the minimum first round-trip delay reference value is the minimum value among the N first round-trip delays; The determining unit is further configured to determine the inter-station synchronization deviation value of the first period based on the minimum first round-trip delay reference value, wherein the inter-station synchronization deviation value of the first period is the inter-station synchronization deviation value of the first network device and the second network device transmitting messages through the Xn / X2 interface; The acquisition unit is further configured to acquire an air interface deviation measurement value, wherein the air interface deviation measurement value is a synchronization deviation value between the first network device and the second network device when transmitting packets through the air interface; The determining unit is further configured to determine a static error value based on the air interface deviation measurement value and the inter-station synchronization deviation value of the first period, wherein the static error value is a fixed value of the delay deviation when the first network device and the second network device transmit messages; A storage unit is used to store the static error value; The compensation unit is used to compensate the inter-station synchronization deviation value of the first period according to the static error value to obtain the target inter-station synchronization deviation value.

7. The network device according to claim 6, characterized in that, The network device is the first network device, and the network device further includes: The sending unit is used to send a first detection message to the second network device in step one. The first detection message carries a first sending time, which is the time when the first network device sends the first detection message to the second network device. The receiving unit is configured to receive a second detection message sent by the second network device in step two. The second detection message carries a first receiving time and a second sending time. The first receiving time is the time when the second network device receives the first detection message, and the second sending time is the time when the second network device sends the second detection message. Step 3: The determining unit is further configured to determine a second receiving time, which is the time when the first network device receives the second detection message; Step 4: The determining unit is further configured to determine the first round-trip time delay based on the first sending time, the first receiving time, the second sending time, and the second receiving time; The network device executes steps one through four above N times within the first cycle to obtain N first round-trip delays.

8. The network device according to claim 7, characterized in that, The network device also includes: A calculation unit is used to perform calculations in the following ways: RTT = t2 - t1 + t4 - t3; RTT represents the first round-trip time, t2 represents the first receiving time, t1 represents the first sending time, t4 represents the second receiving time, and t3 represents the second sending time.

9. The network device according to claim 8, characterized in that, The computing unit is also used to perform calculations in the following ways: Offset=t 2min -t 1min -RTT min / 2; The Offset represents the inter-station synchronization deviation value of the first period, and t 2min The first reception time corresponding to the minimum first round-trip delay reference is t. 1min The RTT represents the first transmission time corresponding to the minimum first round-trip time reference. min This represents the minimum first round-trip time reference.

10. The network device according to any one of claims 6 to 8, characterized in that, The acquisition unit is further configured to acquire M first round-trip delays in the second period, wherein M is less than N, and the second period is less than the first period; The determining unit is further configured to determine a minimum first round-trip delay real-time value based on the M first round-trip delays, wherein the minimum first round-trip delay real-time value is the minimum value among the M first round-trip delays; If the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value is less than a preset threshold, the determining unit is further configured to determine the inter-station synchronization deviation value of the second period based on the minimum first round-trip delay real-time value.

11. A readable storage medium for storing instructions that, when executed, cause the method of any one of claims 1-5 to be implemented.

12. A computer program product comprising a computer program that, when executed on a computer, causes the computer to perform the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Clock synchronization method, clock synchronization device and computer readable storage medium

    CN110266420A

  • Method and system of locking clock

    WO2006122499A1