Abstract:
A time synchronization method and system, and a network device, where the method includes receiving, by a second network device, a first packet from a first network device, where the first packet includes a first service frame and a first time stamp (T1), the first service frame carries a system clock of a radio equipment control (REC), obtaining, the system clock of the REC according to the first packet, sending, according to the system clock of the REC, the first service frame extracted from the first packet to a radio equipment (RE), recording a second time stamp (T2) at which the first service frame is sent, and determining, by the second network device, a transmission delay (T) according to T=T2−T1. Hence, a delay between the REC and the RE remains unchanged.
Abstract:
A fiber link detection method is implemented by a first network device of an optical communications network. The fiber link detection method includes obtaining a forward delay value indicating a forward delay of transmitting a first Precision Time Protocol (PTP) packet by a second interface of a second network device to a first interface of the first network device over a fiber link. A reverse delay value indicating a reverse delay of transmitting a second PTP packet by the first interface to the second interface over the fiber link is obtained, and a determination is made, based on the forward delay value, the reverse delay value, and a first threshold, that the fiber link comprises a third network device, where the first network device and the second network device support a PTP, and where the third network device does not support the PTP.
Abstract:
Examples in this application disclose a focusing method and apparatus applied to a terminal device, and the terminal device. One example method includes detecting whether a current frame includes a target object, where the target object is one of preset objects on which focusing needs to be performed. When the current frame includes the target object, a determination is made as to whether the target object is in a motion state. When the target object is in the motion state, tracking focusing is performed by using phase detection PD information with a variable filtering length. When the target object is in a static state, stable focusing is performed by using PD information obtained in an adaptive fixed PD configuration mode.
Abstract:
A clock synchronization method, a receiver, a transmitter, and a clock synchronization system, where the method includes obtaining a common reference clock signal, determining Bt according to the common reference clock signal and Mrd(t−1), where B t = mod [ ∑ n = 0 t - 1 Mr d ( n ) , 2 p ] , determining that Mrd(t−1) is a target Mrd when Ct obtained by means of calculation according to Mrd(t−1) is less than or equal to a threshold, where Ct=Bt−At, At is included in a residual time stamp (RTS) packet received by a receiver last time from the transmitter, and A t = mod [ ∑ n = 0 t M d ( n ) , 2 p ] , performing frequency division on the common reference clock signal using the target Mrd as a frequency dividing coefficient to obtain a first clock signal, and performing frequency multiplication processing on the first clock signal to obtain a service clock signal. Hence, random phase offset may be avoided.
Abstract:
Embodiments of the present invention provide a packet processing method and apparatus. After receiving a packet, a first network device processes the packet, and determines a first latency of the processed packet in a FIFO memory, where: the first latency is equal to a difference obtained by subtracting a second latency from a target latency, the second latency includes a third latency, and the third latency includes a time interval for processing the packet.
Abstract:
Embodiments of the present invention provide a packet processing method and apparatus. After receiving a packet, a first network device processes the packet, and determines a first latency of the processed packet in a FIFO memory, where: the first latency is equal to a difference obtained by subtracting a second latency from a target latency, the second latency includes a third latency, and the third latency includes a time interval for processing the packet.
Abstract:
A time synchronization method and system, and a network device, where the method includes receiving, by a second network device, a first packet from a first network device, where the first packet includes a first service frame and a first time stamp (T1), the first service frame carries a system clock of a radio equipment control (REC), obtaining, the system clock of the REC according to the first packet, sending, according to the system clock of the REC, the first service frame extracted from the first packet to a radio equipment (RE), recording a second time stamp (T2) at which the first service frame is sent, and determining, by the second network device, a transmission delay (T) according to T=T2−T1. Hence, a delay between the REC and the RE remains unchanged.
Abstract:
Embodiments disclose an OTDR implementation apparatus. The apparatus includes M transmitters, configured to transmit M optical waves of different wavelengths, where M is greater than or equal to 2. The apparatus also includes a processor, configured to control an OTDR detection circuit to load an OTDR detection signal onto a first transmitter, where the first transmitter is configured to only load the OTDR detection signal, and the other M−1 transmitters are configured to transmit a downlink optical signal, where the downlink optical signal is a high frequency signal. The apparatus also includes the OTDR detection circuit, configured to generate the OTDR detection signal, where the OTDR detection signal is a low frequency signal; and M receivers, where a first receiver is connected to an egress link of the M transmitters, and the other M−1 receivers are connected after a demultiplexer, and are configured to receive multiple uplink signals.
Abstract:
A method for selecting a clock source includes a first network device that obtains synchronization offset data between the first network device and a second network device through a first port in a clock synchronization failed state. The first network device determines, based on the synchronization offset data, whether to refer to, during clock source selection, clock information received by the first port.
Abstract:
In a power control method in a wireless local area network, a beamformer sends a null data packet (NDP) via a plurality of spatial streams to beamformees. After receiving the NDP, a beamformee determines a first parameter for power control based on RSSIs of a plurality of receive antennas when the beamformee receives the NDP, or based on SNRs of a plurality of spatial streams when the beamformee receives the NDP. The beamformee then generates a beamforming report comprising the first parameter, and sends the beamforming report to the beamformer.