WO2022063078A1 - 数据处理方法及其装置 - Google Patents
数据处理方法及其装置 Download PDFInfo
- Publication number
- WO2022063078A1 WO2022063078A1 PCT/CN2021/119307 CN2021119307W WO2022063078A1 WO 2022063078 A1 WO2022063078 A1 WO 2022063078A1 CN 2021119307 W CN2021119307 W CN 2021119307W WO 2022063078 A1 WO2022063078 A1 WO 2022063078A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network device
- round
- time
- value
- minimum
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
- H04W56/0015—Synchronization between nodes one node acting as a reference for the others
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0682—Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
- H04L43/0864—Round trip delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/004—Synchronisation arrangements compensating for timing error of reception due to propagation delay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/0055—Synchronisation arrangements determining timing error of reception due to propagation delay
- H04W56/0065—Synchronisation arrangements determining timing error of reception due to propagation delay using measurement of signal travel time
Definitions
- the embodiments of the present application relate to the field of communication technologies, and in particular, to a data processing method and device thereof.
- the mainstream spectrum in the 5G era is in the time division duplexing (TDD) mode.
- TDD time division duplexing
- the TDD system is a system with strict clock synchronization. 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 synchronous base stations. The downlink of the synchronous base station may also interfere with the uplink of the out-of-sync base station, and the service experience is seriously deteriorated.
- the base station can detect it and report an alarm to remind the user, and with the improvement of the product, the probability of the failure of the internal clock system has a downward trend.
- the main method is to compare the sites on the entire network/region.
- inter-station comparison is through inter-station synchronization deviation measurement.
- the inter-station deviation measurement technology based on the Xn/X2 interface depends on the transmission network. When the transmission network has burst/congestion delay jitter, the deviation measurement results will be compared. A large error affects the judgment of the synchronization state between stations.
- An embodiment of the present application provides a data processing method, by obtaining N first round-trip delays in a first cycle, determining a minimum first round-trip delay reference value according to the N first round-trip delays, and then according to the minimum first round-trip delay
- the round-trip delay reference value determines the synchronization deviation value between stations, which reduces the risk of large errors in the deviation measurement results caused by excessive delay caused by burst or congestion delay jitter.
- a first aspect of the present application provides a data processing method.
- the first network device obtains N first round-trip delays in the first cycle, and the first round-trip delay is the time consumed by the first network device and the second network device each transmitting a packet through the Xn/X2 interface, and N is greater than A positive integer of 1, the first network device determines the minimum first round-trip delay reference value according to 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 The network device determines the inter-station synchronization deviation value of the first cycle according to the minimum first round-trip delay reference value, and the inter-station synchronization deviation value of the first cycle is the difference between the first network device and the second network device transmitting packets through the Xn/X2 interface. Inter-station synchronization deviation value.
- N first round-trip delays are obtained in the first cycle, and the minimum first round-trip delay reference value is determined according to the N first round-trip delays, and then the minimum first round-trip delay reference value is determined according to the minimum first round-trip delay reference value.
- the inter-station synchronization deviation value reduces the risk of large deviation measurement results caused by excessive delay caused by burst or congestion delay jitter.
- acquiring N first round-trip delays by the first network device in the first cycle includes: Step 1: The first network device sends the first round-trip delay to the second network device. A detection packet, the first detection packet carries the first sending time, and the first sending time is the time when the first network device sends the first detection packet to the second network device, step 2: the first network device receives the second network device The second detection packet sent by the device, the second detection packet carries the first reception time and the second transmission time, the first reception time is the time when the second network device receives the first detection packet, and the second transmission time is the first detection packet. 2.
- step 3 the first network device determines the second reception time
- the second reception time is the time when the first network device receives the second detection packet
- step 4 the first network device The device determines the first round-trip delay according to the first sending time, the first receiving time, the second sending time and the second receiving time, and the first network device performs the above steps 1 to 4 N times in the first cycle to obtain N The first round-trip delay.
- the N first round-trip delays are acquired by means of the first network device and the second network device transmitting packets, which improves the implementability of the solution.
- the first network device determining the first round-trip delay according to the first sending time, the first receiving time, the second sending time and the second receiving time includes:
- RTT represents the first round-trip delay
- t 2 represents the first reception time
- t 1 represents the first transmission time
- t 4 represents the second reception time
- t 3 represents the second transmission time.
- the first round-trip delay is obtained by calculating a specific formula, which improves the achievability of the solution.
- the first network device determining the inter-station synchronization deviation value of the first period according to the minimum first round-trip delay reference includes:
- Offset t 2min -t 1min -RTTmin / 2;
- offset represents the inter-station synchronization offset value of the first cycle
- t 2min represents the first receiving time corresponding to the minimum first round-trip delay reference
- t 1min represents the first sending time corresponding to the minimum first round-trip delay reference
- RTT min represents the minimum The first round-trip delay benchmark.
- the first round-trip delay is obtained by calculating a specific formula, which improves the achievability of the solution.
- the first network device acquires M first round-trip delays in the second period, where M is less than N, the second period is less than the first period, and the first network The device determines the minimum first round-trip delay real-time value according to the M first round-trip delays, and 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 reference values is smaller than the preset threshold, the first network device determines the inter-station synchronization deviation value of the second period according to the real-time value of the minimum first round-trip delay.
- the real-time performance of the solution is improved.
- the first network device obtains an air interface deviation measurement value, and the air interface deviation measurement value is a synchronization deviation between the first network device and the second network device transmitting packets through the air interface value, the first network device determines the static error value according to the air interface deviation measurement value and the inter-station synchronization deviation value of the first period, and 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 saves the static error value.
- the static error value is calculated by using the air interface deviation measurement value, which improves the implementability of the solution.
- the first network device determines the static error value according to the air interface deviation measurement value and the inter-station synchronization deviation value of the first period. determines the static error value according to the static error value. value to compensate the inter-station synchronization deviation value in the first cycle to obtain the target inter-station synchronization deviation value.
- the static error value is used to compensate the inter-station synchronization deviation value in the first period, which improves the accuracy of the inter-station synchronization deviation value.
- a second aspect of the embodiments of the present application provides a network device.
- a network device comprising:
- the obtaining unit is used to obtain N first round-trip delays in the first cycle, where the first round-trip delay is the time consumed by the first network device and the second network device each transmitting a packet through the Xn/X2 interface, and N is a positive integer greater than 1;
- a determining unit configured to determine the minimum first round-trip delay reference value according to the N first round-trip delays, and 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 cycle according to the minimum first round-trip delay reference value, and the inter-station synchronization deviation value of the first cycle is transmitted by the first network device and the second network device through the Xn/X2 interface The inter-station synchronization deviation value of the message.
- the network device further includes:
- a sending unit configured to send a first detection packet to the second network device in step 1, where the first detection packet carries a first sending time, and the first sending time is when the first network device sends the first detection to the second network device the time of the message;
- the receiving unit is configured to receive the second detection packet sent by the second network device in step 2, where the second detection packet carries the first reception time and the second transmission time, and the first reception time is when the second network device receives the first detection packet.
- the time for detecting the packet, and the second sending time is the time when the second network device sends the second detection packet;
- Step 3 the determining unit is further configured to determine a second receiving time, where the second receiving time is the time when the first network device receives the second detection packet;
- Step 4 the determining unit is further configured to determine the first round-trip delay according to the first sending time, the first receiving time, the second sending time and the second receiving time;
- the network device performs the above steps 1 to 4 N times in the first cycle to obtain N first round-trip delays.
- the network device further includes:
- Computational unit used to perform computations in the following ways:
- RTT represents the first round-trip delay
- t 2 represents the first reception time
- t 1 represents the first transmission time
- t 4 represents the second reception time
- t 3 represents the second transmission time.
- the computing unit is also used for computing in the following ways:
- Offset t 2min -t 1min - RTTmin /2;
- Offset represents the inter-station synchronization deviation value of the first cycle
- t 2min represents the first receiving time corresponding to the minimum first round-trip delay reference
- t 1min represents the first sending time corresponding to the minimum first round-trip delay reference
- RTT min represents the minimum The first round-trip delay benchmark.
- the obtaining unit is further configured to obtain 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;
- the determining unit is further configured to determine the minimum first round-trip delay real-time value according to the M first round-trip delays, and the minimum first round-trip delay real-time value is the minimum value among the M first round-trip delays;
- the determining unit is further configured to determine the inter-station synchronization deviation of the second period according to the minimum first round-trip delay real-time value value.
- the obtaining unit is further configured to obtain the air interface deviation measurement value, and the air interface deviation measurement value is the synchronization deviation value of the packets transmitted by the first network device and the second network device through the air interface;
- the determining unit is further configured to determine a static error value according to the air interface deviation measurement value and the inter-station synchronization deviation value of the first period, and the static error value is a fixed value of the delay deviation when the first network device and the second network device transmit packets;
- Network equipment also includes:
- Storage unit for saving static error values.
- the network device further includes:
- the compensation unit is used for compensating the inter-station synchronization deviation value of the first cycle according to the static error value to obtain the target inter-station synchronization deviation value.
- each unit in the network device provided in the second aspect of the present application is similar to the method in the implementation manner of the foregoing first aspect, and details are not described herein again.
- a third aspect of the present application provides a network device including a processor and a memory, the processor stores program codes, and the processor executes the program codes to implement the methods in the first aspect of the application and its various implementations.
- a fourth aspect of the present application provides a computer storage medium, where instructions are stored in the computer storage medium, and when the instructions are executed on a computer, the instructions cause the computer to execute the method according to the embodiment of the first aspect of the present application.
- the embodiments of the present application have the following advantages:
- the first network device obtains N first round-trip delays in the first cycle, determines the minimum first round-trip delay reference value according to the N first round-trip delays, and then determines the minimum first round-trip delay reference value according to the minimum first round-trip delay reference.
- the value determines the synchronization deviation value between stations, which reduces the risk of large error in the deviation measurement result caused by excessive delay caused by burst or congestion delay jitter.
- FIG. 1 is an architectural diagram of a communication system provided by an embodiment of the present application
- FIG. 2 is an architectural diagram of a communication system provided by an embodiment of the present application.
- FIG. 3 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
- FIG. 4 is another schematic flowchart of the data processing method provided by the embodiment of the present application.
- FIG. 5 is another schematic flowchart of a data processing method provided by an embodiment of the present application.
- FIG. 6 is an application scenario diagram of the data processing method provided by the embodiment of the present application.
- FIG. 7 is another schematic flowchart of a data processing method provided by an embodiment of the present application.
- FIG. 8 is another schematic flowchart of a data processing method provided by an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a network device provided by an embodiment of the present application.
- FIG. 10 is another schematic structural diagram of a network device provided by an embodiment of the present application.
- FIG. 11 is another schematic structural diagram of a network device provided by an embodiment of the present application.
- FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application.
- the communication system includes a first network device 101 and a second network device 102.
- the number and shape of the network devices shown in FIG. 1 are only used as examples and do not constitute limitations to the embodiments of the present application. In practical applications, more than two networks may be included. equipment, which is not specifically limited here.
- the communication system provided in this embodiment of the present application may further include a server 103, where the server 103 is connected to the first network device 101 and the second network device 102, and is configured to transmit data with the first network device 101 and the second network device 102.
- the technical solutions of the embodiments of the present application can be applied to various communication systems.
- 5G 5th generation
- the communication system may also be a communication system that supports multiple wireless technologies at the same time, such as a communication system that supports LTE and NR at the same time; or, the communication system may also be a communication system that supports short-range communication, such as a side link ( sidelink, SL) technology communication system, wireless fidelity (wireless fidelity, WiFi) technology communication system and so on.
- the first network device 101 and the second network device 102 in the embodiments of the present application are entities on the network side for transmitting or receiving signals.
- the network device 101 may be an evolved base station (evolved NodeB, eNB), a transmission point (transmission reception point, TRP), a next generation base station (next generation NodeB, gNB) in an NR system, a transmission reception point (transmission reception point, TRP), relay node (relay node, RN), access point (access point, AP), base stations in other future mobile communication systems or access nodes in WiFi systems, etc.
- the embodiments of the present application do not limit the specific technology and specific device form adopted by the network device.
- the first network device 101 may transmit data through the Xn/X2 interface and the second network device 102 to measure the deviation between stations, and may also transmit data through an air interface transmission technology to perform station-to-station offset measurement. measurement of deviation.
- the server 103 can be deployed on the first network device 101 or the second network device 102 , can also be connected to the first network device 101 and the second network device 102 as a separate server, and can also be deployed on an intermediate transmission network , it can also be deployed on other network devices, which is not limited here.
- the inter-station deviation measurement may be performed on the first network device 101 or the second network device 102, and may also be performed on the server 103, which is not specifically limited here.
- the server 103 is not required.
- 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 .
- the inter-station offset measurement may also be performed on an intermediate transmission network or other network equipment, which is not specifically limited here.
- the data processing method provided in the embodiment of the present application may also be used for time delay deviation measurement between terminal devices.
- data transmission is performed between terminal devices to measure delay deviation.
- the time delay deviation measurement may be performed between terminal devices, or may be performed on a server, which is not specifically limited here.
- a server is not required.
- the terminal device sends the relevant data information to the server.
- the time delay deviation measurement may also be performed on an intermediate transmission network or other devices, which is not specifically limited here.
- the terminal device in this embodiment of the present application is an entity on the user side that is used to receive or transmit signals, such as a mobile phone.
- a terminal device may also be referred to as a terminal (terminal), a user equipment (UE), a mobile station (mobile station, MS), a mobile terminal (mobile terminal, MT), and the like.
- the terminal device can be a car with a communication function, a smart car, a mobile phone (mobile phone), a wearable device, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal device, augmented reality (augmented reality, AR) terminal equipment, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, smart grid wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and so on.
- the embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.
- FIG. 3 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
- the first network device is the first base station and the second network device is the second base station as an example for description.
- the inter-station offset measurement is performed in the first base station and the second base station as an example for description.
- step 301 the first base station sends a first detection packet to the second base station.
- the first base station When the first base station needs to measure the inter-station offset, the first base station sends a first detection packet to the second base station.
- the first base station when the first base station sends the first detection packet to the second base station, the first base station records the time information for sending the first detection packet, that is, the first transmission time, and the first base station carries the first transmission time in the In the first detection packet, the first detection packet is sent to the second base station.
- the first detection packet is a service packet
- the base station carries the first sending time in the service packet, and sends it to the second base station.
- the first sending time may be carried in the header of the service packet, or may be carried in the payload of the service packet, which is not specifically limited here.
- the first detection packet is a specially constructed detection packet, that is, the first detection packet does not carry other service information, but only carries the first sending time.
- the first sending time may be carried in the header of the first detection packet, or may be carried in the payload of the first detection packet, which is not specifically limited here.
- the accuracy of timestamping the first detection packet by the first base station is adjusted to be the highest.
- the accuracy of the timestamping can be set within 10us, or, in a preferred manner , the precision of the time stamp is set to 1us.
- interaction period of the detection packets of the first base station and the second base station may be in the order of hundreds of milliseconds or in seconds, which is not limited in this embodiment of the present application.
- step 302 the second base station sends a second detection packet to the first base station.
- the second base station After the second base station receives the first detection packet sent by the first base station, the second base station sends a second detection packet to the first base station.
- the second base station After the second base station receives the first detection packet sent by the first base station, the second base station records time information of receiving the first detection packet, that is, the first reception time.
- the second base station sends the second detection packet to the second base station, the second base station records the time information for sending the second detection packet, that is, the second transmission time, and the first base station records the second transmission time and the first reception time It is carried in the second detection packet, and the second detection packet is sent to the second base station.
- the second detection packet is a service packet
- the second base station carries the second sending time and the first receiving time in the service packet, and sends it to the first base station.
- the second sending time and the first receiving time may be carried in the header of the service packet, or may be carried in the payload of the service packet, which is not specifically limited here.
- the second detection packet is a specially constructed detection packet, that is, the second detection packet does not carry other service information, but only carries the second sending time and the first receiving time.
- the first sending time and the first receiving time may be carried in the header of the second detection packet, or may be carried in the payload of the second detection packet, which is not specifically limited here.
- the accuracy of timestamping the second detection packet by the second base station is adjusted to be the highest.
- the accuracy of the timestamping can be set to be within 10us, or, in a preferred manner , the precision of the time stamp is set to 1us.
- the first base station determines the first round-trip delay according to the first sending time, the first receiving time, the second sending time and the second receiving time.
- the first base station After receiving the second detection packet sent by the second base station, the first base station records the time of receiving the second detection packet, that is, the second reception time. The second sending time and the second receiving time determine the first round-trip delay.
- the first base station after receiving the second detection packet, the first base station obtains the second transmission time and the first reception time in the second detection packet, and records the second reception time when the second detection packet is received, Then, according to the first sending time, the first receiving time, the second sending time and the second receiving time, the first round-trip delay is determined, and the first round-trip delay indicates that the first base station and the second base station pass through the Xn/X2 interface
- the time consumed for transmitting the first detection packet and the second inspection packet represents the time consumed by the first base station and the second base station each transmitting the packets through the Xn/X2 interface.
- the first base station calculates the first round-trip delay according to the following formula:
- RTT t 2 -t 1 +t 4 -t 3 .
- RTT represents the first round-trip delay
- t 2 represents the first receiving time, that is, the time when the second base station receives the first detection packet
- t 1 represents the first sending time, that is, the first base station sends the first detection packet
- time t4 represents the second reception time, that is, the time when the first base station receives the second detection packet
- t3 represents the second sending time, that is, the time when the second base station sends the second detection packet.
- t 2 -t 1 represents the time delay from the first base station sending the first detection packet to the second base station receiving the first detection packet
- t 4 -t 3 representing the second base station sending the second detection packet to the first base station receiving the first detection packet. 2. Detect the delay of the packet.
- the time required to obtain the first round-trip delay is very short.
- the first round-trip delay is calculated and obtained multiple times in one cycle to reduce the transmission time between the first base station and the second base station.
- the first period may be set in units of hours, or may be set in units of days, which is not specifically limited here.
- the first period is set to a time of 1 day or 1 hour.
- the first base station will acquire the first round-trip delay thousands of times.
- the first base station can count the first cycle by starting a timer. When the timer is started, the first cycle starts to count, and when the timer expires, the first cycle ends.
- step 304 the first base station determines a minimum first round-trip delay reference value according to the N first round-trip delays.
- the first base station After the first base station calculates the N first round-trip delays, the first base station determines the minimum first round-trip delay reference value according to the N first round-trip delays, and the minimum first round-trip delay reference value represents the N first round-trip delays. Minimum value in round-trip delay.
- the delay reference value is closer to the inherent delay of the transmission network.
- RTT Red-Trip Time
- RTT 1 , RTT 2 , RTT 3 , RTT 4 , ..., RTT N the minimum value of the first round-trip delays
- RTT min min (RTT 1 , RTT 2 , RTT 3 , RTT 4 , ..., RTT N )
- RTT min corresponds to the first detection packet and the second communication between the first base station and the second base station.
- the time information of the second detection packet is RTT min (t 1 , t 2 , t 3 , t 4 ).
- the first base station determines the inter-station synchronization deviation value of the first period according to the minimum first round-trip delay reference value.
- the first base station After the first base station obtains the minimum first round-trip delay reference value, the first base station determines the inter-station synchronization deviation value of the first period according to the minimum first round-trip delay reference value, and the inter-station synchronization deviation value of the first period is The inter-station synchronization deviation value of the packets transmitted by the first base station and the second base station through the Xn/X2 interface.
- the first base station calculates the time information of the first detection packet and the second detection packet exchanged between the first base station and the second base station at the time corresponding to the minimum first round-trip delay reference value. , to obtain the inter-station synchronization deviation value of the first cycle.
- the time information of the first detection packet and the second detection packet exchanged between the first base station and the second base station corresponding to the minimum first round-trip delay reference value RTT min is RTT min (t 1min , t 2min , t 3min , t 4min ), can be calculated by the following formula.
- Offset t 2min -t 1min -(t 2min -t 1min +t 4min -t 3min )/2;
- Offset t 2min -t 1min - RTTmin /2;
- offset represents the inter-station synchronization deviation value of the first period
- t 2min represents the first receiving time corresponding to the minimum first round-trip delay reference
- t 1min represents the first sending time corresponding to the minimum first round-trip delay reference
- RTT min Indicates the minimum first round-trip delay reference
- "/" indicates division.
- the first base station obtains N first round-trip delays in the first cycle, and determines the minimum first round-trip delay reference value according to the N first round-trip delays, and then uses the minimum first round-trip delay
- the reference value determines the inter-station synchronization deviation value in the first cycle, because multiple first round-trip delays are obtained in the first cycle, and the minimum value among them is obtained as a parameter for calculating the inter-station synchronization deviation value, so that the first round-trip delay It is close to the inherent duration of the transmission network, so it has less influence on the calculation of the inter-station synchronization deviation value.
- step 306 the first base station acquires M first round-trip delays in the second period.
- the inter-station synchronization deviation value may also be calculated in real time by starting a second cycle with a shorter time interval in the first cycle.
- the first base station starts a second period timer, and acquires M first round-trip delays in the second period, where M is a positive integer smaller than N, and the second period is also smaller than the first period.
- N is an integer multiple of M
- the first period is also an integer multiple of the second period
- the granularity of the setting time of the second period may be minute level or 10 minute level.
- the start time of the timer of the second cycle may be the same as the start time of the timer of the first cycle, or the second cycle may be started after the timer of the first cycle ends, which is not specifically limited here.
- the first base station can obtain M first round-trip times in the second period according to the detection packets exchanged with the second base station extension.
- the first base station determines the real-time value of the minimum first round-trip delay according to the M first round-trip delays.
- the first base station After the first base station acquires the M first round-trip delays in the second cycle, the first base station determines the real-time value of the minimum first round-trip delay according to the M first round-trip delays, and the real-time value of the minimum first round-trip delay is the minimum value among the M first round-trip delays.
- the steps of the method for obtaining the first round-trip delay in the second cycle are similar to the steps of the method for obtaining the first round-trip delay in the first cycle, and details are not repeated here.
- 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 smaller than the preset threshold, then determine the inter-station synchronization deviation of the second period according to the minimum first round-trip delay real-time value value.
- the first base station determines the real-time value of the minimum first round-trip delay according to the M first round-trip delays, if the difference between the real-time value of the minimum first round-trip delay and the reference value of the minimum first round-trip delay is less than the preset threshold, then The first base station determines the inter-station synchronization deviation value of the second period according to the real-time value of the minimum first round-trip delay. If the difference between the real-time value of the minimum first round-trip delay and the reference value of the minimum first round-trip delay is greater than the preset threshold, it means The second period may be in a period of transmission network delay fluctuation, so the real-time value of the minimum first round-trip delay cannot be used to calculate the inter-station synchronization deviation value of the second period.
- the first base station when the start time of the timer of the second cycle is the same as the start time of the timer of the first cycle, the first base station has not yet acquired the first round trip when the timer of the second cycle ends.
- the delay reference value the difference between the minimum first round-trip delay real-time value and the minimum first round-trip delay reference value cannot be calculated, so it is temporarily not applicable to the minimum first round-trip delay real-time value to calculate the inter-station synchronization of the second cycle deviation value, the first base station saves the real-time value of the minimum first round-trip delay in the local storage.
- the first period may be an integer multiple of the second period, so at the end of the first period, the first base station will acquire and save multiple real-time values of the minimum first round-trip delay.
- the first base station may calculate a plurality of differences according to the stored real-time values of the minimum first round-trip delay and the reference value of the minimum first round-trip delay, respectively, And according to the magnitude of the multiple difference values, it is determined whether to calculate the corresponding inter-station synchronization deviation value of the second cycle.
- the first base station does not calculate the inter-station synchronization deviation values of multiple second periods in the first period at the time when the first period ends.
- the real-time value of the minimum first round-trip delay is calculated for the first time, and the second first cycle and the first cycle continue to be started simultaneously.
- Two second cycles after the end of the first first cycle, calculate the minimum first round-trip delay reference value for the first time, and start the Qth second cycle, at the end of the Qth second cycle, because The first cycle is an integer multiple of the second cycle, so the end time of the Qth second cycle is also the end time of the second first cycle, so the real-time value of the minimum first round-trip delay of the Qth second cycle can be judged Whether it is less than the minimum first round-trip delay reference value of the first first cycle, if it is less than, update the minimum first round-trip delay reference value.
- the Qth second period ends and the Qth minimum first round-trip delay real-time value is calculated, delete the first minimum first round-trip delay real-time value stored in the first base station, and use the
- the minimum first round-trip delay real-time value of the cycle is calculated at the end time of each subsequent second period, the minimum first round-trip delay real-time value stored in the first base station with the earliest time is deleted.
- the measured value of synchronization deviation between stations can be calculated in a shorter time period, which improves the timeliness of the scheme.
- step 309 the first base station obtains the air interface deviation measurement value.
- the transmission path of the first base station and the second base station is asymmetric, or the optical fiber symmetry problem of sending and receiving will introduce millisecond-level delays.
- Measurement error this part of the measurement error value is fixed, so the measurement error is a static error.
- the static error can also be reduced as much as possible by means of air interface measurement.
- the first base station and the second base station acquire the air interface deviation measurement value by means of air interface transmission.
- the first base station may acquire the air interface deviation measurement value by transmitting a detection signal with the second base station.
- the first base station sends a first inter-station detection signal to the second base station, and the first inter-station detection signal may be a standard signal such as a synchronization signal block (SSB), CSI-RS, etc., or may be a time domain signal A special signal defined on an idle symbol (such as a GP symbol, etc.) on a resource, which is not specifically limited here.
- SSB synchronization signal block
- CSI-RS CSI-RS
- a special signal defined on an idle symbol such as a GP symbol, etc.
- the first base station carries the first time information for sending the first inter-station detection signal in the first inter-station detection signal, and after receiving the first inter-station detection signal, the second base station records the time when the first inter-station detection signal is received.
- second time information and send the second inter-station detection signal to the first base station, and carry the third time information for sending the second inter-station detection signal and the second time information for receiving the first inter-station detection signal, the first base station After receiving the second detection signal, record the fourth time information of the received second detection signal, calculate the first time delay ⁇ T1 according to the first time information and the second time information, and calculate the first time delay ⁇ T1 according to the third time information and the second time information.
- Four time information calculates the second time delay ⁇ T2. Then calculate the air interface propagation delay of the first base station and the second base station in the following way:
- Air interface propagation delay ( ⁇ T1+ ⁇ T2)/2.
- ⁇ T1 represents the first time delay
- ⁇ T2 represents the second time delay
- “/” represents division
- Air interface deviation measurement value ( ⁇ T1- ⁇ T2)/2.
- ⁇ T1 represents the first time delay
- ⁇ T2 represents the second time delay
- “/” represents division
- the first base station and the second base station may use the handover between the first base station and the second base station for terminal equipment UE or the cell edge between the first base station and the second base station
- the UE performs the inter-station air interface deviation measurement.
- the terminal equipment UE performing handover between the first base station and the second base station can assist the first base station and the second base station to collect time difference information by sending a detection signal when the handover service is performed.
- the UE at the cell edge between the first base station and the second base station sends a detection signal by performing random access to assist the first base station and the second base station in collecting time difference information.
- 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 at the same time, the time when the first base station receives the detection signal is T1, the time when the second base station receives the detection signal is T2, the propagation delay of the UE sending the detection signal to the first base station is Tp1, and the UE sends the detection signal to the first base station.
- the first base station determines a static error value according to the air interface deviation measurement value and the inter-station synchronization deviation value of the first period.
- the first base station After the first base station obtains the air interface deviation measurement value, the first base station determines the static error of the inter-station synchronization deviation value in the first period according to the air interface deviation measurement value and the inter-station synchronization deviation value in the first period.
- the inter-station synchronization deviation value of the first cycle actual synchronization deviation value+static error value+first dynamic error.
- 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 period is filtered to be below the preset threshold by obtaining the minimum first round-trip delay in the above steps, so it can be ignored here.
- the static error the inter-station synchronization deviation value of the first cycle - the air interface deviation measurement value.
- step 311 the first base station compensates the inter-station synchronization deviation value of the first cycle according to the static error value, and obtains the target inter-station synchronization deviation value.
- the first base station After acquiring the static error value, the first base station first compensates the inter-station synchronization deviation value of the first cycle according to the static error value, and obtains the target inter-station synchronization deviation value.
- the synchronization deviation value between target stations can be obtained by calculation in the following manner.
- Synchronization deviation value between target stations synchronization deviation value between stations in the first cycle-static error.
- the first base station can adjust the synchronization state of the clock according to the synchronization deviation value between the target stations, and can also adjust the synchronization state of the clock according to the air interface deviation measurement value, or according to the synchronization deviation value between the target stations and the average of the air interface deviation measurement value.
- the value adjusts the synchronization state of the clock, which is not limited here.
- the air interface deviation measurement may not be performed at certain times, for example, the air interface signal-to-noise ratio is large, or UEs without handover or edgeless UEs.
- the first base station can compensate the inter-station synchronization deviation value of the first cycle according to the stored static error value to obtain the target inter-station synchronization deviation value, and then according to The synchronization deviation value between target stations adjusts the synchronization state of the clock. If the static error value is not previously stored in the first base station, the inter-station synchronization deviation value of the first cycle cannot be compensated.
- the first base station obtains a new static error, averages the new static error and the static error stored by the first base station, and calculates The average static error is updated into the storage of the first base station.
- the variation of the deviation measurement value can also be obtained by the difference between the inter-station synchronization deviation value of the first cycle and the inter-station synchronization deviation value of the previous first cycle. Further, it is judged whether the clock has a large deviation according to the variation of the deviation measurement value. For example, if the clock corresponding to the last first cycle is normal, and the clock corresponding to the first cycle is deviated this time, the variation of the deviation measurement value will be greater than the preset threshold, and it is determined that the clock has a large deviation.
- the first base station and the second base station may also be replaced by a transmission node (such as a microwave device) or a time server that supports both air interface transmission and ground transmission and satisfies time synchronization, specifically here Not limited.
- a transmission node such as a microwave device
- a time server that supports both air interface transmission and ground transmission and satisfies time synchronization
- steps 306 to 311 are optional steps.
- the first base station adjusts the synchronization state of the clock according to the inter-station synchronization deviation value of the first cycle.
- the first base station obtains N first round-trip delays in the first cycle, determines the minimum first round-trip delay reference value according to the N first round-trip delays, and then determines the minimum first round-trip delay reference value according to the minimum first round-trip delay
- the reference value determines the synchronization deviation value between stations, which reduces the risk of large deviation measurement results caused by excessive delay caused by burst or congestion delay jitter.
- FIG. 7 is another schematic flowchart of the data processing method provided by the embodiment of the present application.
- step 701 the first base station sends a first detection packet to the second base station.
- step 702 the first base station receives the second detection packet sent by the second base station.
- the first base station determines the first round-trip delay according to the first sending time, the first receiving time, the second sending time and the second receiving time.
- step 704 the first base station determines a minimum first round-trip delay reference value according to the N first round-trip delays.
- step 705 the first base station determines the inter-station synchronization deviation value of the first period according to the minimum first round-trip delay reference value.
- step 706 the first base station acquires M first round-trip delays in the second period.
- the first base station determines a real-time value of the minimum first round-trip delay according to the M first round-trip delays.
- 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 smaller than the preset threshold, then determine the inter-station synchronization deviation of the second period according to the minimum first round-trip delay real-time value value.
- steps 701 to 708 are similar to the methods performed in steps 301 to 308 in the aforementioned embodiment shown in FIG. 3 , and details are not described herein again.
- step 709 the first base station sends the inter-station synchronization deviation value and the air interface propagation delay of the first period to the server.
- the transmission path of the first base station and the second base station is asymmetric, or the optical fiber symmetry problem of sending and receiving will introduce millisecond-level delays.
- Measurement error this part of the measurement error value is fixed, so the measurement error is a static error.
- the static error can also be reduced as much as possible by means of air interface measurement.
- the first base station and the second base station obtain the air interface propagation delay by means of air interface transmission.
- the first base station may acquire the air interface propagation delay by transmitting a detection signal between the first base station and the second base station.
- the first base station sends a first inter-station detection signal to the second base station, and the first inter-station detection signal may be a standard signal such as a synchronization signal block (SSB), CSI-RS, etc., or may be a time domain signal A special signal defined on an idle symbol (such as a GP symbol, etc.) on a resource, which is not specifically limited here.
- SSB synchronization signal block
- CSI-RS CSI-RS
- a special signal defined on an idle symbol such as a GP symbol, etc.
- the first base station carries the first time information for sending the first inter-station detection signal in the first inter-station detection signal, and after receiving the first inter-station detection signal, the second base station records the time when the first inter-station detection signal is received.
- second time information and send the second inter-station detection signal to the first base station, and carry the third time information for sending the second inter-station detection signal and the second time information for receiving the first inter-station detection signal, the first base station After receiving the second detection signal, record the fourth time information of the received second detection signal, calculate the first time delay ⁇ T1 according to the first time information and the second time information, and calculate the first time delay ⁇ T1 according to the third time information and the second time information.
- Four time information calculates the second time delay ⁇ T2. Then calculate the air interface propagation delay of the first base station and the second base station in the following way:
- Air interface propagation delay ( ⁇ T1+ ⁇ T2)/2.
- ⁇ T1 represents the first time delay
- ⁇ T2 represents the second time delay
- “/” represents division
- the first base station and the second base station may use the handover between the first base station and the second base station for terminal equipment UE or the cell edge between the first base station and the second base station
- the UE obtains the air interface propagation delay.
- the terminal equipment UE performing handover between the first base station and the second base station can assist the first base station and the second base station to collect time difference information by sending a detection signal when the handover service is performed.
- the UE at the cell edge between the first base station and the second base station sends a detection signal by performing random access to assist the first base station and the second base station in collecting time difference information.
- 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 at the same time, the time when the first base station receives the detection signal is T1, the time when the second base station receives the detection signal is T2, the propagation delay of the UE sending the detection signal to the first base station is Tp1, and the UE sends the detection signal to the first base station.
- the first base station After the first base station acquires the air interface propagation delay, the first base station sends the air interface propagation delay and the inter-station synchronization deviation value of the first period to the server.
- step 710 the server determines an air interface deviation measure.
- the server After receiving the air interface propagation delay and the inter-station synchronization deviation value of the first cycle sent by the first base station, the server further determines the air interface deviation measurement value according to the air interface propagation delay and the inter-station synchronization deviation value of the first cycle.
- the calculation method of the air interface deviation measurement value is similar to the calculation method of the aforementioned step 309 in FIG. 3 , and details are not repeated here.
- a static error value is determined according to the air interface deviation measurement value and the inter-station synchronization deviation value of the first period.
- step 712 the inter-station synchronization deviation value of the first cycle is compensated according to the static error value to obtain the target inter-station synchronization deviation value.
- steps 711 to 712 are similar to the methods performed in steps 310 to 311 in the aforementioned embodiment shown in FIG. 3 , and details are not described herein again.
- the deviation value between target stations is calculated by the server, so the server can serve multiple base stations, and adjust the synchronization state of the clock through unified management.
- FIG. 8 is another schematic flowchart of the data processing method provided by the embodiment of the present application.
- the centralized control node may be deployed on a server, may also be deployed on any base station, or may be deployed on a transmission network, which is not specifically limited here.
- the centralized control node centrally controls the deviation measurement between the whole sites through the whole network detection centralized control module to ensure the consistency and effectiveness of the whole network detection.
- the centralized control of the whole network detection includes: centralized control node centralized control of the designated air interface detection sequence sending frequency, air interface detection sequence, air interface deviation measurement and Xn/X2 joint detection period, start time and so on.
- the centralized control node sends commands to the local or network-wide base stations through the ltf1 interface, and the local or network-wide base stations send data to the centralized control node through the ltf2 interface.
- the multiple deviation joint detection technologies performed by the local/full network base station and the centralized control node are the deviation measurement method based on the Xn/X2 interface and the air interface deviation measurement method based on the air interface transmission mode, wherein the deviation of the Xn/X2 interface
- the measurement method and the air interface deviation measurement method based on the air interface transmission mode are similar to the deviation measurement method of the Xn/X2 interface performed by the first base station or the server in the aforementioned FIG. 3 or FIG. 7 and the air interface deviation measurement method based on the air interface transmission mode. It is not repeated here.
- the centralized control node analyzes the deviation data between stations in the whole network centrally and intelligently (for example, some clustering algorithms can be used), and according to the principle that the clocks of most stations are normal, most of the normal stations are identified, and the normal stations can be used as the benchmark to further identify A few stations with large clock deviations are selected (for example, a few stations with large clock deviations have a measured value of synchronization deviation with the reference station that is greater than a preset threshold).
- the centralized control node After the centralized control node identifies the clock status of the base stations in the entire network, it can conduct a comprehensive analysis with the 1588 topology to further quickly determine the fault point under the 1588 clock source.
- the clock server transmits the clock signal to the base station through the transmission network, and the 1588 topology information includes: the clock server and the information of the last hop 1588 device connected to the base station. Alternatively, it may also be information of each hop transmission device passed from the clock server to the base station, which is not specifically limited here.
- the 1588 clock source is faulty, that is, the clock server is faulty.
- the hop-by-hop device For standard 1588 time synchronization, the hop-by-hop device is required to support the 1588 protocol and perform path asymmetry error compensation. Otherwise, the path asymmetry error will cause a large 1588 time synchronization error.
- the current path asymmetry compensation method can only be measured and compensated manually by downloading the station-by-station hanging meter, which is costly in manpower and time.
- the clock failure site and the reference site can be identified, and then the synchronization deviation between stations measured by the Xn/X2 interface or the air interface can be identified.
- the value automatically compensates for the asymmetry error of the 1588 time synchronization path, thereby reducing the deployment requirements and costs of the 1588 time synchronization, and improving the accuracy of the 1588 loose time synchronization.
- the sites with large clock deviations in 1588 are identified, and the sites with large clock deviations can be calculated based on the benchmark neighboring sites. Furthermore, the path asymmetry error of the site with large clock deviation of the 1588 can be compensated to ensure the 1588v2 time synchronization accuracy.
- the 1588 faulty sites and d(d>0) non-faulty reference neighboring sites both measure the out-station synchronization offset Offset, which are Offset 1 , Offset 2 , ..., Offset d respectively, then the 1588 faulty sites
- the path asymmetry error compensation amount in this cycle can be calculated as follows:
- ⁇ T Asy represents the path asymmetry error compensation amount in this cycle.
- the path asymmetry error compensation amount in this cycle is preferably compensated at the base station side. If it is a problem with the transmission equipment, the compensation amount of the path asymmetry error in this period can be compensated on the base station side or on the transmission equipment.
- the path asymmetry error compensation amount on the transmission equipment can be calculated in the following way:
- ⁇ T Asy 1/K*( ⁇ T Asy1 + ⁇ T Asy2 +...+ ⁇ T Asyk ).
- ⁇ T Asy represents the path asymmetry error compensation amount on the transmission equipment.
- the path asymmetry error compensation amount on the transmission device can also be calculated in other ways, which is not specifically limited here.
- the clock of the faulty site in this cycle enters the hold state; If there is a problem with the equipment, it is recommended to perform compensation in the transmission equipment. As long as any base station under the transmission equipment can measure the path asymmetry error, it can be compensated in the transmission equipment, unless all base stations under the transmission equipment cannot measure the path asymmetry. error, all 1588 time synchronization base stations under the transmission equipment enter the hold state.
- FIG. 9 is a schematic structural diagram of an embodiment of the network device provided by the present application.
- a network device comprising:
- the obtaining unit 901 is configured to obtain N first round-trip delays in the first cycle, where the first round-trip delay is the time consumed by the first network device and the second network device each transmitting a packet through the Xn/X2 interface, N is a positive integer greater than 1;
- a determining unit 902 configured to determine a minimum first round-trip delay reference value according to the N first round-trip delays, and the minimum first round-trip delay reference value is the minimum value among the N first round-trip delays;
- the determining unit 902 is further configured to determine the inter-station synchronization deviation value of the first period according to the minimum first round-trip delay reference value, and the inter-station synchronization deviation value of the first period is the first network device and the second network device through the Xn/X2 interface Inter-station synchronization offset value of the transmitted message.
- each unit of the network device is similar to those described in the foregoing method performed by the first base station in the embodiment shown in FIG. 3 or FIG. 7 , and details are not repeated here.
- FIG. 10 is a schematic structural diagram of another embodiment of a network device provided by the present application.
- a network device comprising:
- the obtaining unit 1001 is configured to obtain N first round-trip delays in the first cycle, where the first round-trip delay is the time consumed by the first network device and the second network device each transmitting a packet through the Xn/X2 interface, N is a positive integer greater than 1;
- a determining unit 1002 configured to determine a minimum first round-trip delay reference value according to the N first round-trip delays, and the minimum first round-trip delay reference value is the minimum value among the N first round-trip delays;
- the determining unit 1002 is further configured to determine the inter-station synchronization deviation value of the first cycle according to the minimum first round-trip delay reference value, and the inter-station synchronization deviation value of the first cycle is the first network device and the second network device through the Xn/X2 interface Inter-station synchronization offset value of the transmitted message.
- the network device further includes:
- the sending unit 1003 is configured to send a first detection packet to the second network device in step 1, where the first detection packet carries a first sending time, and the first sending time is when the first network device sends the first detection packet to the second network device. The time to detect the message;
- the receiving unit 1004 is configured to receive a second detection packet sent by the second network device in step 2, where the second detection packet carries the first reception time and the second transmission time, and the first reception time is received by the second network device The time of the first detection packet, and the second sending time is the time at which the second network device sends the second detection packet;
- Step 3 the determining unit 1002 is further configured to determine the second receiving time, where the second receiving time is the time when the first network device receives the second detection packet;
- Step 4 the determining unit 1002 is further configured to determine the first round-trip delay according to the first sending time, the first receiving time, the second sending time and the second receiving time;
- the network device performs the above steps 1 to 4 N times in the first cycle to obtain N first round-trip delays.
- the network device further includes:
- the calculation unit 1005 is used for calculation in the following manner:
- RTT represents the first round-trip delay
- t 2 represents the first reception time
- t 1 represents the first transmission time
- t 4 represents the second reception time
- t 3 represents the second transmission time.
- calculation unit 1005 is further configured to perform calculation in the following manner:
- Offset t 2min -t 1min - RTTmin /2;
- Offset represents the inter-station synchronization deviation value of the first cycle
- t 2min represents the first receiving time corresponding to the minimum first round-trip delay reference
- t 1min represents the first sending time corresponding to the minimum first round-trip delay reference
- RTT min represents the minimum The first round-trip delay benchmark.
- the obtaining unit 1001 is further configured to obtain 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;
- the determining unit 1002 is further configured to determine the minimum first round-trip delay real-time value according to the M first round-trip delays, and the minimum first round-trip delay real-time value is the minimum value among the M first round-trip delays;
- the determining unit 1002 is further configured to determine the inter-station synchronization of the second period according to the real-time value of the minimum first round-trip delay Deviation.
- the obtaining unit 1002 is further configured to obtain an air interface deviation measurement value, where the air interface deviation measurement value is a synchronization deviation value of the packets transmitted by the first network device and the second network device through the air interface;
- the determining unit 1002 is further configured to determine a static error value according to the air interface deviation measurement value and the inter-station synchronization deviation value of the first period, where the static error value is a fixed value of the delay deviation when the first network device and the second network device transmit packets ;
- Network equipment also includes:
- the saving unit 1006 is used for saving the static error value.
- the network device further includes:
- the compensation unit 1007 is configured to compensate the inter-station synchronization deviation value of the first cycle according to the static error value to obtain the target inter-station synchronization deviation value.
- each unit of the network device is similar to those described in the foregoing method performed by the first base station in the embodiment shown in FIG. 3 or FIG. 7 , and details are not repeated here.
- FIG. 11 is a schematic structural diagram of another embodiment of a network device provided by the present application.
- the network device includes a processor 1101, a memory 1102, a bus 1105, an interface and other devices 1104.
- the processor 1101 is connected to the memory 1102 and the interface 1104.
- the bus 1105 is respectively connected to the processor 1101, the memory 1102 and the interface 1104.
- the processor 1101 is a single-core or multi-core central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
- the memory 1102 may be a random access memory (Random Access Memory, RAM) or a non-volatile memory (non-volatile memory), such as at least one hard disk memory.
- Memory 1102 is used to store computer-executable instructions.
- the program 1103 may be included in the computer-executed instructions.
- the processor 1101 may perform the operations performed by the network device in the foregoing embodiment shown in FIG. 3 or FIG. 7 , and details are not repeated here.
- processors mentioned in the above embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processing digital signal processor (DSP), application-specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- DSP digital signal processing digital signal processor
- ASIC application-specific integrated circuit
- FPGA off-the-shelf programmable gate array
- a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- processors in the above embodiments of the present application may be one or multiple, and may be adjusted according to actual application scenarios, which is merely illustrative and not limiting.
- the number of memories in this embodiment of the present application may be one or multiple, and may be adjusted according to actual application scenarios, which is merely illustrative and not limiting.
- a network device, terminal device or base station includes a processor (or a processing unit) and a storage unit
- the processor in this application may be integrated with the storage unit, or may be a processor and a storage unit Connected through the interface, it can be adjusted according to the actual application scenario, and is not limited.
- the processor in this embodiment of the present application may include a transceiver for implementing the functions of receiving and transmitting.
- the transceiver may be a transceiver circuit, or an interface, or an interface circuit.
- Transceiver circuits, interfaces or interface circuits used to implement receiving and transmitting functions may be separate or integrated.
- the above-mentioned transceiver circuit, interface or interface circuit can be used for reading and writing code/data, or the above-mentioned transceiver circuit, interface or interface circuit can be used for signal transmission or transmission.
- the embodiments of the present application also provide a computer program or a computer program product including a computer program, when the computer program is executed on a computer, the computer will enable the computer to implement the connection between any of the above method embodiments and the terminal device.
- Embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, implements a method flow related to a network device, terminal device, or base station in any of the above method embodiments.
- FIGS. 2 to 8 it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- software it can be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions.
- the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
- the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
- wire eg, coaxial cable, fiber optic, digital subscriber line (DSL)
- wireless eg, infrared, wireless, microwave, etc.
- the computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated.
- the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
Claims (17)
- 一种数据处理方法,其特征在于,包括:第一网络设备在第一周期获取N个第一往返时延,所述第一往返时延为所述第一网络设备和第二网络设备通过Xn/X2接口各传输一次报文所消耗的时间,所述N为大于1的正整数;所述第一网络设备根据所述N个第一往返时延确定最小第一往返时延基准值,所述最小第一往返时延基准值为所述N个第一往返时延中的最小值;所述第一网络设备根据所述最小第一往返时延基准值确定所述第一周期的站间同步偏差值,所述第一周期的站间同步偏差值为所述第一网络设备和所述第二网络设备通过Xn/X2接口传输报文的站间同步偏差值。
- 根据权利要求1所述的方法,其特征在于,所述第一网络设备在第一周期获取N个第一往返时延包括:步骤一:所述第一网络设备向第二网络设备发送第一检测报文,所述第一检测报文携带第一发送时间,所述第一发送时间为所述第一网络设备向第二网络设备发送第一检测报文的时间;步骤二:所述第一网络设备接收所述第二网络设备发送的第二检测报文,所述第二检测报文携带第一接收时间和第二发送时间,所述第一接收时间为所述第二网络设备接收到第一检测报文的时间,所述第二发送时间为所述第二网络设备发送所述第二检测报文的时间;步骤三:所述第一网络设备确定第二接收时间,所述第二接收时间为所述第一网络设备接收到第二检测报文的时间;步骤四:所述第一网络设备根据所述第一发送时间、所述第一接收时间、所述第二发送时间和所述第二接收时间确定第一往返时延;所述第一网络设备在第一周期内执行N次上述步骤一至步骤四,以获取N个第一往返时延。
- 根据权利要求2所述的方法,其特征在于,所述第一网络设备根据所述第一发送时间、所述第一接收时间、所述第二发送时间和所述第二接收时间确定第一往返时延包括:RTT=t 2-t 1+t 4-t 3;所述RTT表示所述第一往返时延,所述t 2表示所述第一接收时间,所述t 1表示所述第一发送时间,所述t 4表示所述第二接收时间,所述t 3表示所述第二发送时间。
- 根据权利要求2或3中任一项所述的方法,其特征在于,所述第一网络设备根据最小第一往返时延基准确定所述第一周期的站间同步偏差值包括:Offset=t 2min-t 1min-RTT min/2;所述offset表示所述第一周期的站间同步偏差值,所述t 2min表示所述最小第一往返时延基准对应的第一接收时间,所述t 1min表示所述最小第一往返时延基准对应的第一发送时间,所述RTT min表示所述最小第一往返时延基准。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:所述第一网络设备在第二周期获取M个第一往返时延,所述M小于所述N,所述第二周期小于所述第一周期;所述第一网络设备根据所述M个第一往返时延确定最小第一往返时延实时值,所述最小第一往返时延实时值为所述M个第一往返时延中的最小值;若所述最小第一往返时延实时值和所述最小第一往返时延基准值的差值小于预设阈值,则所述第一网络设备根据所述最小第一往返时延实时值确定所述第二周期的站间同步偏差值。
- 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:所述第一网络设备获取空口偏差测量值,所述空口偏差测量值为所述第一网络设备和所述第二网络设备通过空口传输报文的同步偏差值;所述第一网络设备根据所述空口偏差测量值和所述第一周期的站间同步偏差值确定静态误差值,所述静态误差值为所述第一网络设备和所述第二网络设备传输报文时的时延偏差的固定值;所述第一网络设备保存所述静态误差值。
- 根据权利要求6所述的方法,其特征在于,所述第一网络设备根据所述空口偏差测量值和所述第一周期的站间同步偏差值确定静态误差值之后,所述方法还包括:所述第一网络设备根据所述静态误差值对所述第一周期的站间同步偏差值进行补偿,得到目标站间同步偏差值。
- 一种网络设备,其特征在于,包括:获取单元,用于在第一周期获取N个第一往返时延,所述第一往返时延为所述第一网络设备和第二网络设备通过Xn/X2接口各传输一次报文所消耗的时间,所述N为大于1的正整数;确定单元,用于根据所述N个第一往返时延确定最小第一往返时延基准值,所述最小第一往返时延基准值为所述N个第一往返时延中的最小值;所述确定单元还用于根据所述最小第一往返时延基准值确定所述第一周期的站间同步偏差值,所述第一周期的站间同步偏差值为所述第一网络设备和所述第二网络设备通过Xn/X2接口传输报文的站间同步偏差值。
- 根据权利要求8所述的网络设备,其特征在于,所述网络设备还包括:发送单元,用于在步骤一中向第二网络设备发送第一检测报文,所述第一检测报文携带第一发送时间,所述第一发送时间为所述第一网络设备向第二网络设备发送第一检测报文的时间;接收单元,用于在步骤二中接收所述第二网络设备发送的第二检测报文,所述第二检测报文携带第一接收时间和第二发送时间,所述第一接收时间为所述第二网络设备接收到第一检测报文的时间,所述第二发送时间为所述第二网络设备发送所述第二检测报文的时间;步骤三:所述确定单元还用于确定第二接收时间,所述第二接收时间为所述第一网络设备接收到第二检测报文的时间;步骤四:所述确定单元还用于根据所述第一发送时间、所述第一接收时间、所述第二发送时间和所述第二接收时间确定第一往返时延;所述网络设备在第一周期内执行N次上述步骤一至步骤四,以获取N个第一往返时延。
- 根据权利要求9所述的网络设备,其特征在于,所述网络设备还包括:计算单元,用于通过以下方式进行计算:RTT=t 2-t 1+t 4-t 3;所述RTT表示所述第一往返时延,所述t 2表示所述第一接收时间,所述t 1表示所述第一发送时间,所述t 4表示所述第二接收时间,所述t 3表示所述第二发送时间。
- 根据权利要求9或10中任一项所述的网络设备,其特征在于,所述计算单元还用于通过以下方式进行计算:Offset=t 2min-t 1min-RTT min/2;所述offset表示所述第一周期的站间同步偏差值,所述t 2min表示所述最小第一往返时延基准对应的第一接收时间,所述t 1min表示所述最小第一往返时延基准对应的第一发送时间,所述RTT min表示所述最小第一往返时延基准。
- 根据权利要求8至11中任一项所述的网络设备,其特征在于,所述获取单元还用于在第二周期获取M个第一往返时延,所述M小于所述N,所述第二周期小于所述第一周期;所述确定单元还用于根据所述M个第一往返时延确定最小第一往返时延实时值,所述最小第一往返时延实时值为所述M个第一往返时延中的最小值;若所述最小第一往返时延实时值和所述最小第一往返时延基准值的差值小于预设阈值,则所述确定单元还用于根据所述最小第一往返时延实时值确定所述第二周期的站间同步偏差值。
- 根据权利要求8至12中任一项所述的网络设备,其特征在于,所述获取单元还用于获取空口偏差测量值,所述空口偏差测量值为所述第一网络设备和所述第二网络设备通过空口传输报文的同步偏差值;所述确定单元还用于根据所述空口偏差测量值和所述第一周期的站间同步偏差值确定静态误差值,所述静态误差值为所述第一网络设备和所述第二网络设备传输报文时的时延偏差的固定值;所述网络设备还包括:保存单元,用于保存所述静态误差值。
- 根据权利要求13所述的网络设备,其特征在于,所述网络设备还包括:补偿单元,用于根据所述静态误差值对所述第一周期的站间同步偏差值进行补偿,得到目标站间同步偏差值。
- 一种可读存储介质,用于存储有指令,当所述指令被执行时,使如权利要求1-7中任一项所述的方法被实现。
- 一种计算机程序产品,所述计算机程序产品包括指令,当所述指令被运行时,使得如权利要求1至7任一项所述的方法被执行。
- 一种通信装置,其特征在于,包括至少一个处理器和与所述至少一个处理器耦合的存储器,所述至少一个处理器用于执行权利要求1至7任一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP21871448.3A EP4210403A4 (en) | 2020-09-25 | 2021-09-18 | DATA PROCESSING METHOD AND DEVICE |
| US18/189,983 US12414059B2 (en) | 2020-09-25 | 2023-03-24 | Data processing method and apparatus therefor |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011027435.7A CN114258126B (zh) | 2020-09-25 | 2020-09-25 | 数据处理方法及其装置 |
| CN202011027435.7 | 2020-09-25 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/189,983 Continuation US12414059B2 (en) | 2020-09-25 | 2023-03-24 | Data processing method and apparatus therefor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022063078A1 true WO2022063078A1 (zh) | 2022-03-31 |
Family
ID=80789415
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/119307 Ceased WO2022063078A1 (zh) | 2020-09-25 | 2021-09-18 | 数据处理方法及其装置 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12414059B2 (zh) |
| EP (1) | EP4210403A4 (zh) |
| CN (1) | CN114258126B (zh) |
| WO (1) | WO2022063078A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115174478A (zh) * | 2022-07-27 | 2022-10-11 | 深圳星云智联科技有限公司 | 一种网络拥塞控制方法及相关装置 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115499342B (zh) * | 2022-08-10 | 2025-06-03 | 新华三技术有限公司 | 一种时延计算方法及装置 |
| CN117834511B (zh) * | 2022-09-27 | 2025-11-18 | 中兴通讯股份有限公司 | 确定相位差的方法、装置、存储介质及电子装置 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103889044A (zh) * | 2012-12-19 | 2014-06-25 | 中国移动通信集团广东有限公司 | 一种空口同步的方法和装置 |
| US20180152281A1 (en) * | 2016-11-28 | 2018-05-31 | Rad Data Communications Ltd. | One-way packet delay measurement |
| CN108616977A (zh) * | 2018-06-21 | 2018-10-02 | 同济大学 | 一种基于最小二乘平差的uwb多点时延校正方法 |
| CN109309937A (zh) * | 2017-07-26 | 2019-02-05 | 华为技术有限公司 | 切换接入点的方法、控制器、网络设备和存储介质 |
| CN110266420A (zh) * | 2019-04-29 | 2019-09-20 | 北京达佳互联信息技术有限公司 | 时钟同步方法、时钟同步装置和计算机可读存储介质 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1866814B (zh) * | 2005-05-17 | 2011-02-02 | 上海华为技术有限公司 | 锁定时钟的方法及其系统 |
| CN103814338A (zh) * | 2011-07-20 | 2014-05-21 | 航空网络公司 | 网络同步的系统和方法 |
| US8792380B2 (en) * | 2012-08-24 | 2014-07-29 | Accedian Networks Inc. | System for establishing and maintaining a clock reference indicating one-way latency in a data network |
| US10075929B2 (en) * | 2013-09-16 | 2018-09-11 | Lg Electronics Inc. | Method and apparatus for network synchronization |
| CN107567689B (zh) * | 2015-05-14 | 2019-12-13 | 瑞典爱立信有限公司 | 用于在无线网络中同步节点的方法和系统 |
| CN111416751B (zh) | 2019-01-07 | 2023-01-03 | 中国移动通信有限公司研究院 | 计算端口转发时延的方法及装置 |
-
2020
- 2020-09-25 CN CN202011027435.7A patent/CN114258126B/zh active Active
-
2021
- 2021-09-18 WO PCT/CN2021/119307 patent/WO2022063078A1/zh not_active Ceased
- 2021-09-18 EP EP21871448.3A patent/EP4210403A4/en active Pending
-
2023
- 2023-03-24 US US18/189,983 patent/US12414059B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103889044A (zh) * | 2012-12-19 | 2014-06-25 | 中国移动通信集团广东有限公司 | 一种空口同步的方法和装置 |
| US20180152281A1 (en) * | 2016-11-28 | 2018-05-31 | Rad Data Communications Ltd. | One-way packet delay measurement |
| CN109309937A (zh) * | 2017-07-26 | 2019-02-05 | 华为技术有限公司 | 切换接入点的方法、控制器、网络设备和存储介质 |
| CN108616977A (zh) * | 2018-06-21 | 2018-10-02 | 同济大学 | 一种基于最小二乘平差的uwb多点时延校正方法 |
| CN110266420A (zh) * | 2019-04-29 | 2019-09-20 | 北京达佳互联信息技术有限公司 | 时钟同步方法、时钟同步装置和计算机可读存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4210403A4 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115174478A (zh) * | 2022-07-27 | 2022-10-11 | 深圳星云智联科技有限公司 | 一种网络拥塞控制方法及相关装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4210403A1 (en) | 2023-07-12 |
| EP4210403A4 (en) | 2024-03-27 |
| CN114258126B (zh) | 2025-11-14 |
| CN114258126A (zh) | 2022-03-29 |
| US12414059B2 (en) | 2025-09-09 |
| US20230232347A1 (en) | 2023-07-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12414059B2 (en) | Data processing method and apparatus therefor | |
| EP4114099B1 (en) | Apparatus and method for synchronization using wireless communication network in wireless communication system | |
| US8923346B2 (en) | Time synchronization method, device and system | |
| US9813175B2 (en) | Method for detecting timing references affected by a change in path delay asymmetry between nodes in a communication network | |
| CN110784275B (zh) | 时间同步偏差调整方法、装置、终端以及接入层设备 | |
| US10355800B2 (en) | Multi-path time synchronization | |
| WO2017101528A1 (zh) | 一种时钟链路切换方法、装置及基站 | |
| EP1931084B1 (en) | A method for getting the link estimating parameters | |
| US9955447B2 (en) | Clock synchronization method, mobile network system, network controller and network switch | |
| US20250202790A1 (en) | Delay measurement method and apparatus, storage medium and program product | |
| CN108650050A (zh) | 一种分布式网络时钟同步方法 | |
| CN104918319A (zh) | 一种应用于无线传感器网络的时钟同步精简信息交互方法 | |
| JP7700842B2 (ja) | 方法、端末装置及びネットワーク装置 | |
| US12388549B2 (en) | Method and time synchronization (TS) node for enabling extended holdover time | |
| US10334539B2 (en) | Metered interface | |
| KR20090071923A (ko) | 동기식 이더넷에서 단일 타임 싱크 프레임을 이용한 통신단말 및 브리지 장치의 시간 동기화 방법 및 그 장치 | |
| US20190007969A1 (en) | Wireless communication system, wireless communication device, and communication method | |
| CN116366194A (zh) | 一种基于一主多从网络拓扑环境提升时间同步精度的算法 | |
| JP2019016872A (ja) | 同期システム、通信装置、通信方法およびプログラム | |
| JP2020202498A (ja) | 時刻同期装置、時刻同期システム、時刻同期方法及びプログラム | |
| CN100455092C (zh) | 一种监测无线网络控制器和基站间时钟稳定性的方法 | |
| CN111884751A (zh) | 一种基于ptp的智能电网时间同步方法和装置 | |
| CN112867132B (zh) | 一种基于ptp的多链路时延抖动优化方法及装置 | |
| CN102790703B (zh) | 时间故障监测方法及系统 | |
| Lin et al. | A 5G Synchronous Optical Networking Management System |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21871448 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202337018917 Country of ref document: IN |
|
| ENP | Entry into the national phase |
Ref document number: 2021871448 Country of ref document: EP Effective date: 20230403 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWG | Wipo information: grant in national office |
Ref document number: 202337018917 Country of ref document: IN |