Patent Description:
In a distributed network MIMO scenario, at a transmit end, an independent crystal oscillator source is used for each access point. Because crystal oscillators cannot be guaranteed to be the same, there are varying levels of tiny frequency offsets between the crystal oscillators. For example, for a crystal oscillator of <NUM>, there may be an offset of <NUM> PPM (parts-per-million). When a radio frequency carrier frequency (<NUM>) is generated by using a radio frequency phase locked loop (Radio Frequency Phase Locked Loop, RF PLL), there is a frequency offset of about <NUM> between access points, resulting in phase rotation between the access points. Due to the phase rotation, there is an accumulated phase error in a signal collaboratively transmitted by a plurality of access points. Under effect of a channel, a relative phase of a signal received by a receive end is continuously rotated, and a bit error rate increases, until the receive end is unable to decode the received signal. The foregoing relative phase changes with time. A larger carrier frequency offset means a faster phase difference change and a higher bit error rate. Reasons for a relatively high bit error rate are as follows: As shown in <FIG>, if there are frequency offsets between a plurality of access points at the transmit end, a constellation map at the receive end cannot be mapped to a predetermined location. In addition, a mapping location keeps changing with time. As a result, the bit error rate is higher.

At the transmit end, to reduce the frequency offsets between the access points, as shown in <FIG>, each access point has a GPS clock module to receive an external GPS clock, so that the access points have a same crystal oscillator source, and therefore there is no frequency offset between the access points. In indoor scenarios (for example, train stations and airports), GPS signals are weak or there may be no GPS signal. Therefore, this solution can be applied only in outdoor environments.

In addition, at the transmit end, to reduce the frequency offsets between the access points, as shown in <FIG>, an externally configured clock board is used, and a clock signal of the clock board is led to the access points by using clock lines, as a reference clock. Therefore, reference clocks of all the access points are a same-source clock signal output by the clock board. In this way, a same crystal oscillator source is achieved for the access points, and therefore there is no frequency offset between the access points. This solution requires additional configuration of a clock board and additional deployment of clock lines, causing additional costs and time overheads. <CIT> discloses a distributed coherent transmission system that enables transmissions from separate wireless transmitters with independent frequency or clock references to emulate a system where all the transmitters share a common frequency or clock reference. Differences in frequency and/or phase between transmitters are addressed by suitably precoding signals before modulation at one or more of the transmitters based on a synchronizing transmission from one of the transmitters (e.g., a master transmitter) received at a corresponding receiver sharing the frequency or clock reference with each of the one or more transmitters. Such a distributed coherent transmission system can allow N single-antenna transmitters with independent frequency or clock references to emulate a single N-antenna Multi Input Multi Output (MIMO) transmitter, or implement schemes such as distributed superposition coding or lattice codes that require coherence across separate transmitters.

The present invention is defined by the attached independent claims. Other preferred embodiments may be found in the dependent claims. The present application discloses a synchronization method, comprising:receiving (S102), by a second access point, a monophonic signal transmitted by a first access point, wherein the monophonic signal is a signal with a single frequency;determining (S103), by the second access point, a frequency offset between a first carrier and a second carrier based on the monophonic signal, wherein the first carrier is used by the first access point to transmit the monophonic signal, and the second carrier is used by the second access point to receive the monophonic signal;performing (S104), by the second access point, phase compensation on a target data frame based on the frequency offset, so that a difference between a phase of the second carrier and a phase of the first carrier is less than or equal to a first threshold; and transmitting (S106), by the second access point, a phase-compensated target data frame by using the second carrier. The present application discloses a synchronization method, comprising:generating (S101), by a first access point, a monophonic signal, wherein the monophonic signal is a signal with a single frequency, wherein the monophonic signal is used to determine a frequency offset between a first carrier and a second carrier, the first carrier is used by the first access point to transmit the monophonic signal, and the second carrier is used by a second access point to receive the monophonic signal; and transmitting (S102), by the first access point, the monophonic signal to the second access point. The present application discloses an access point, wherein the access point is a second access point and comprises:a receiving unit (<NUM>), configured to receive a monophonic signal transmitted by a first access point, wherein the monophonic signal is a signal with a single frequency;a processing unit (<NUM>), configured to determine, based on the monophonic signal, a frequency offset between a first carrier and a second carrier, wherein the first carrier is used by the first access point to transmit the monophonic signal, the second carrier is used by the second access point to receive the monophonic signal, and the processing unit (<NUM>) is further configured to perform phase compensation on a target data frame based on the frequency offset, so that a difference between a phase of the second carrier and a phase of the first carrier is less than or equal to a first threshold; and a transmission unit (<NUM>), configured to transmit a phase-compensated target data frame by using the second carrier. The present application discloses an access point, wherein the access point is a first access point and comprises:a processing unit (<NUM>), configured to generate a monophonic signal, wherein the monophonic signal is a signal with a single frequency, wherein the monophonic signal is used to determine a frequency offset between a first carrier and a second carrier, the first carrier is used by the first access point to transmit the monophonic signal, and the second carrier is used by a second access point to receive the monophonic signal; and a transmission unit (<NUM>), configured to transmit the monophonic signal to the second access point.

<FIG> is a schematic diagram of an application scenario of performing synchronization by using a network MIMO technology according to an embodiment of this application.

As shown in <FIG>, this scenario may include n access points (AP) and m mobile stations. The access points may be connected in a wired manner (for example, by using an ethernet or an optical fiber). For example, an access point <NUM> is a primary AP, an access point <NUM> is a standby AP, and other (n-<NUM>) access points are secondary APs. Each of the access points has at least one antenna, and each of the mobile stations has at least one antenna. Every two of the access points may be <NUM> meter, <NUM> meters, several hundreds of meters or several kilometers away from each other, which is not limited herein.

It should be noted that the access points may alternatively be connected in a wireless manner. As shown in <FIG>, this scenario also includes n access points (AP) and m mobile stations, and the access points are connected in a wireless manner. For example, an access point <NUM> is a primary AP, an access point <NUM> is a standby AP, and other (n-<NUM>) access points are secondary APs. Each of the access points has at least one antenna, and each of the mobile stations has at least one antenna. Every two of the access points may be <NUM> meter, <NUM> meters, several hundreds of meters or several kilometers away from each other, which is not limited herein.

As can be seen from the scenario described in <FIG> or <FIG>, an independent crystal oscillator source is used for each access point. Because crystal oscillators cannot be guaranteed to be the same, there are varying levels of tiny frequency offsets between the crystal oscillators. And even a tiny frequency offset may cause phase rotation between the access points. Due to the phase rotation, there is an accumulated phase error in a signal collaboratively transmitted by the n access points. Under effect of a channel, a relative phase of a signal collaboratively transmitted by the access points and received by the mobile stations is continuously rotated, and a bit error rate increases, until the mobile stations are unable to decode the received signal. The foregoing relative phase changes with time. A larger frequency offset means a faster phase difference change and a higher bit error rate.

For a problem of a frequency offset between access points in any one of the foregoing scenarios, in the embodiments of this application, a synchronization method provided in an embodiment of this application is described in detail with reference to <FIG> is an example schematic flowchart of a synchronization method. As shown in <FIG>, the method may include at least the following steps.

A first access point generates a monophonic signal.

In this embodiment of this application, an example in which the first access point is a primary AP and a second access point is a secondary AP is used.

The monophonic signal is a signal with a single frequency, for example, the monophonic signal may be a single-frequency sinusoidal signal.

The monophonic signal may be included in a first data frame, and the first data frame may further include a target data frame. A temporal position of the monophonic signal in the first data frame may be earlier than a temporal position of the target data frame in the first data frame. The target data frame is data that a mobile station expects to receive from an access point. The first data frame may further include some fields (such as L-STF, L-LTF, L-SIG, RL-SIG, HE-SIG-A, and HE-STF). The mobile station can obtain the target data frame through parsing based on the fields. For example, the first data frame may be an <NUM> frame.

The first access point transmits the monophonic signal. Correspondingly, the second access point receives the monophonic signal transmitted by the first access point.

In this embodiment of this application, before the second access point receives the monophonic signal transmitted by the first access point, the second access point may receive indication information transmitted by the first access point, where the indication information may include the following parameters for indicating the monophonic signal: an original frequency of the monophonic signal and a temporal position of the monophonic signal. The monophonic signal may be included in the first data frame, and a position of the monophonic signal in the first data frame may be indicated by a number or a character. It should be noted that the indication information may further include the following parameters: a quantity of phase jump values in the monophonic signal, duration of the monophonic signal, a time interval between the monophonic signal and the target data frame, and the like.

That the second access point receives indication information transmitted by the first access point may include the following two implementations.

In a first implementation, the second access point receives the indication information transmitted by the first access point through application layer interaction.

A specific implementation is shown in <FIG>. The first access point transmits the indication information encapsulated in a TCP/UDP message to the second access point. After receiving the indication information, the second access point transmits acknowledgement information indicating that the indication information has been received to the first access point.

In a second implementation, the second access point receives the indication information transmitted by the first access point through MAC layer interaction.

A specific implementation is shown in <FIG>. The first access point transmits the indication information encapsulated in an <NUM> action frame to the second access point. After the second access point receives the indication information, the second access point may or may not respond to the received indication information. In responding to the received indication information, the second access point may transmit an ACK frame to the first access point; or the second access point may encapsulate, in the <NUM> action frame, acknowledgement information indicating that the indication information has been received, and then the second access point transmits the <NUM> action frame encapsulated with the acknowledgement information to the first access point.

It should be noted that the indication information may alternatively be encapsulated in the first data frame including the monophonic signal, so that the first access point may transmit, to the second access point, the monophonic signal and the indication information for indicating the monophonic signal.

The second access point may determine a frequency offset between a first carrier and a second carrier based on the monophonic signal, where the first carrier is used by the first access point to transmit the monophonic signal, and the second carrier is used by the second access point to receive the monophonic signal.

In this embodiment of this application, the frequency offset may equal a magnitude of phase difference change of the monophonic signal in a unit time minus the original frequency of the monophonic signal. A specific derivation process is as follows.

The following expressions express the first carrier, the second carrier, and the monophonic signal respectively, for example:.

The first carrier may be expressed as: <MAT>.

The second carrier may be expressed as: <MAT>.

The monophonic signal may be expressed as: <MAT>.

The first access point transmits a transmission signal Sa<NUM> modulated with the monophonic signal to the second access point, where Sa<NUM> may be expressed as: <MAT> where <MAT>.

As shown in equation (<NUM>), the transmission signal Sa<NUM> may include the following frequency components: (Wm+Wa) and (Wm -Wa).

Further, the second access point may demodulate the received transmission signal Sa<NUM> by using the second carrier, and a demodulated signal may include the following frequency components: (Wm + Wa + Ws), (Wm - Wa + Ws), (Wm + Wa - Ws) and (Wm -Wa - Ws).

The second access point may filter out the frequency component (Wm + Ws) by using a band-pass filter. Therefore, the demodulated signal includes only the following two frequency components: (Wm + Wa - Ws) and (Wm - Wa - Ws).

Further, after the second access point filters, by using a low-band-pass filter with a center frequency of Wa, the demodulated signal including only (Wm + Wa - Ws) and (Wm - Wa - Ws), there is only the frequency component (Wm + Wa - Ws) in the signal.

Then, by dividing a measured phase change of an output signal of the low-band-pass filter by a corresponding time change (the magnitude of phase difference change of the monophonic signal in the unit time), a value of the frequency component (Wm + Wa - Ws) can be obtained.

Finally, by subtracting Wa from (Wm + Wa - Ws), (Wm - Ws), that is, the frequency offset between the first carrier and the second carrier, can be obtained.

In summary, the frequency offset equals the magnitude of phase difference change of the monophonic signal in the unit time minus the original frequency of the monophonic signal.

The following describes in detail how to determine a phase difference of the monophonic signal at a sampling moment.

As shown in <FIG>, the second access point may perform sampling on an imaginary part and a real part of the monophonic signal separately. The second access point may obtain, based on a real part and an imaginary part of the monophonic signal at a sampling moment, an arctangent result at the sampling moment by using an arctan function. The arctangent result is a phase difference of the monophonic signal at the sampling moment.

It should be noted that, if an arctangent result at a sampling moment is less than <NUM> degrees and greater than -<NUM> degrees, a phase difference of the monophonic signal at the sampling moment complies with the following rules:.

If a real part of the monophonic signal at the sampling moment is less than <NUM>, the arctangent result is increased by <NUM> degrees.

If the arctangent result is less than <NUM>, the arctangent result is increased by <NUM> degrees.

For example, at a sampling moment <NUM>, the second access point may determine, based on a real part and an imaginary part of the monophonic signal at the sampling moment and by using the arctan function, that a phase difference of the monophonic signal at the moment is <NUM> degrees.

The magnitude of phase difference change of the monophonic signal in the unit time is determined by phase differences at a plurality of sampling moments within duration of the monophonic signal. Specifically, determining of the magnitude of phase difference change of the monophonic signal in the unit time in the following three situations may be included.

In a first situation, if the plurality of sampling moments within the duration of the monophonic signal are two sampling moments, the magnitude of phase difference change of the monophonic signal in the unit time is a value obtained by dividing a difference between a phase difference of the monophonic signal at a first sampling moment and a phase difference of the monophonic signal at a second sampling moment by a time interval between the two sampling moments.

In a second situation, if the plurality of sampling moments within the duration of the monophonic signal are at least three sampling moments, the magnitude of phase difference change of the monophonic signal in the unit time is a value obtained by dividing a difference between phase differences of the monophonic signal at any two sampling moments by a time interval between the two sampling moments.

In a third situation, if the plurality of sampling moments within the duration of the monophonic signal are at least three sampling moments, the magnitude of phase difference change of the monophonic signal in the unit time is an average value of magnitudes that are of phase difference change in the unit time and that are determined for the monophonic signal at any two moments.

If the plurality of sampling moments include sampling moments within duration of a plurality of monophonic signals, the frequency offset may be determined in the following two manners, where the plurality of monophonic signals may be located in a same first data frame or may be located in different first data frames.

In a first manner, the frequency offset equals an average value of magnitudes of phase difference change of the plurality of monophonic signals in the unit time minus the original frequency of the monophonic signal.

For example, the plurality of monophonic signals are two monophonic signals, where one monophonic signal is a monophonic signal <NUM> and the other monophonic signal is a monophonic signal <NUM>.

First, a magnitude <NUM> of phase difference change of the monophonic signal <NUM> in the unit time and a magnitude <NUM> of phase difference change of the monophonic signal <NUM> in the unit time can be determined; and then, by averaging the magnitude <NUM> of phase difference change and the magnitude <NUM> of phase difference change, a magnitude <NUM> of phase difference change can be obtained. Finally, the frequency offset equals the magnitude <NUM> of phase difference change minus the original frequency of the monophonic signal.

In this implementation, a measurement error of the magnitude of phase difference change of the monophonic signal in the unit time can be reduced.

In a second manner, the magnitude of phase difference change of the monophonic signal in the unit time equals a magnitude of phase difference change of the monophonic signal within first duration divided by the first duration, where the first duration equals duration of two monophonic signals plus a time interval between the duration of the two monophonic signals.

It is assumed that both the monophonic signal <NUM> and the monophonic signal <NUM> have duration of <NUM> and a frequency of <NUM>, and a time interval between the monophonic signal <NUM> and the monophonic signal <NUM> is <NUM>.

It is assumed that a phase difference of the monophonic signal <NUM> at an initial moment is <NUM> degrees, a phase difference of the monophonic signal <NUM> at an end moment is <NUM> degrees, and there is a phase change of <NUM> degrees within the duration of the monophonic signal <NUM>; and that a phase difference of the monophonic signal <NUM> at an initial moment is <NUM> degrees, a phase difference of the monophonic signal <NUM> at an end moment is <NUM> degrees, and there is a phase change of <NUM> degrees within the duration of the monophonic signal <NUM>.

First, the second access point can determine, based on a magnitude of difference change of phases on two ends of the monophonic signal, that a quantity of <NUM> degrees of phase difference rotation within the time interval <NUM> is approximately <NUM> (that is, <NUM> + (<NUM>-<NUM>) * (<NUM>/<NUM>)/<NUM> = <NUM>) and is <NUM> after rounding. Therefore, the second access point can determine that the quantity of <NUM> degrees of phase difference rotation within the time interval <NUM> is <NUM>.

Further, with reference to a quantity of <NUM> degrees of phase difference rotation within the duration of the monophonic signal <NUM>, a quantity of <NUM> degrees of phase difference rotation within the duration of the monophonic signal <NUM>, the quantity of <NUM> degrees of phase difference rotation within the time interval <NUM>, and a difference between the initial phase difference of the monophonic signal <NUM> and the end phase difference of the monophonic signal <NUM>, phase change S of the monophonic signal in a total delay of <NUM> (that is, <NUM> + <NUM> + <NUM> = <NUM>) can be determined.

Then, the second access point can determine that the magnitude of phase difference change of the monophonic signal in the unit time is <NUM> (deg/µs) (that is, <NUM> deg/<NUM>).

Finally, the frequency offset S1 equals the magnitude of phase difference change of the monophonic signal in the unit time minus the original frequency of the monophonic signal.

Therefore, the magnitude of phase difference change of the monophonic signal in the unit time is <NUM> deg/µs.

It should be noted that the plurality of sampling moments within the duration of the monophonic signal include at least: a start moment of the monophonic signal and an end moment of the monophonic signal. In this implementation, the sampling moment is a preferred sampling moment, and the measurement error of the magnitude of phase difference change of the monophonic signal in the unit time is relatively tiny.

It should be noted that if the temporal position of the monophonic signal in the first data frame is later than the temporal position of the target data frame in the first data frame, the second access point may determine the frequency offset between the first carrier and the second carrier based on a monophonic signal in a second data frame received before the first data frame is received.

The second access point performs phase compensation on the target data frame based on the frequency offset, so that a difference between a phase of the second carrier and a phase of the first carrier is less than or equal to a first threshold.

In this embodiment of this application, the target data frame is an encoded target data frame. The phase of the first carrier is a phase of a first transmission signal, and the phase of the second carrier is a phase of a second transmission signal, where the first transmission signal is a signal generated by modulating the target data frame on the first carrier, and the second transmission signal is a signal generated by modulating a phase-compensated target data frame on the second carrier. The difference is a variable value that varies with time.

That is, that the difference between the phase of the second carrier and the phase of the first carrier is less than or equal to the first threshold means that a difference between a phase of the first transmission signal and a phase of the second transmission signal is less than or equal to the first threshold.

The second access point may perform phase compensation on the target data frame based on the frequency offset at the following three moments.

The second access point performs phase compensation on the target data frame based on the frequency offset at an initial moment of the target data frame; or.

The following is an example in which the second access point performs phase compensation on the target data frame based on the frequency offset at the initial moment of the target data frame.

The second access point may perform phase compensation on the target data frame in the following two manners.

In a first manner, if the magnitude of phase difference change of the monophonic signal in the unit time is relatively small, within duration of the target data frame, the second access point uses a same compensation value to perform phase compensation on sampling points in a single symbol of the target data frame.

For example, as shown in <FIG>, a secondary AP <NUM> determines that a phase difference of the monophonic signal at <NUM> is -<NUM> degrees (that is, the phase of the second carrier is <NUM> degrees ahead of the phase of the first carrier). If the magnitude of phase difference change of the monophonic signal in the unit time is <NUM> degrees/µs (the primary AP exceeds the secondary AP <NUM> by <NUM> degrees every <NUM>), within duration of a transmission signal modulated with a target data frame, the second access point uses a same compensation value to perform phase compensation on sampling points in a single symbol of the target data frame.

In a second manner, if the magnitude of phase difference change of the monophonic signal in the unit time is relatively small, within duration of the target data frame, the second access point uses different compensation values to perform phase compensation on sampling points in a single symbol of the target data frame.

For example, as shown in <FIG>, a secondary AP <NUM> determines that a phase difference of the monophonic signal at <NUM> is <NUM> degrees (that is, the phase of the second carrier lags behind the phase of the first carrier by <NUM> degrees). If the magnitude of phase difference change of the monophonic signal in the unit time is <NUM> degrees/µs (the primary AP exceeds the secondary AP <NUM> by <NUM> degrees every <NUM>), the second access point uses different compensation values to perform phase compensation on sampling points in a single symbol modulated with a target data frame.

In the foregoing phase compensation implementations, different phase compensation solutions are provided for different scenarios, to reduce computational complexity and improve phase compensation accuracy.

It should be noted that, in an actual application scenario, a value of the first threshold is related to a signal-noise ratio (Signal-Noise Ratio, SNR) of a system constituted by access points. For example, when the SNR >= <NUM> dB, the first threshold is <NUM> degrees; or when the SNR = <NUM> dB, the first threshold is <NUM> degrees.

The first access point transmits the target data frame to a terminal.

Specifically, as described in step <NUM>, the target data frame is modulated on the first carrier to generate the first transmission signal. Then, the first access point transmits the target data frame by transmitting the first transmission signal.

The second access point transmits the phase-compensated target data frame to the terminal by using the second carrier.

In this embodiment of this application, as described in step <NUM>, the phase-compensated target data frame is modulated on the second carrier to generate the second transmission signal. Then, the second access point transmits the phase-compensated target data frame by transmitting the second transmission signal.

It should be noted that a moment at which the second access point transmits the phase-compensated target data frame is the same as a moment at which the first access point transmits the target data frame.

The following describes in detail how to determine a temporal position at which the first access point transmits the target data frame and a temporal position at which the second access point transmits the phase-compensated target data frame respectively. Specifically:.

The moment at which the first access point transmits the target data frame is a first moment, where the first moment is a moment that is a first time interval away from a moment at which the first access point transmits a phase jump value, and the phase jump value is included in the monophonic signal.

The moment at which the second access point transmits the phase-compensated target data frame is a second moment, where the second moment is a moment that is the first time interval away from a moment at which the second access point detects a phase jump edge, and the phase jump edge is associated with the phase jump value.

There may be one or more phase jump values in the monophonic signal.

The moment of the target data frame may be an initial moment of the target data frame or a terminal moment of the target data frame; and a moment of a phase-modulated target data frame may be an initial moment of the phase-modulated target data frame or an end moment of the phase-modulated target data frame.

For example, the first moment is the initial moment of the target data frame, the second moment is an initial moment of the phase-compensated target data frame, the first access point is a primary AP, and the second access point is a secondary AP <NUM> or a secondary AP <NUM>. As shown in <FIG>, a moment at which the primary AP transmits a phase jump value is <NUM> away from a moment at which the primary AP transmits a target data frame. The secondary AP <NUM> detects a phase jump edge at <NUM>, and the secondary AP <NUM> considers the phase jump edge is <NUM> away from an initial moment of a to-be-phase-compensated target data frame. Therefore, the secondary AP <NUM> transmits the phase-compensated target data frame at <NUM>. The secondary AP <NUM> detects a phase jump edge at <NUM>, and the secondary AP <NUM> considers the phase jump edge is <NUM> away from an initial moment of a to-be-phase-compensated target data frame. Therefore, the secondary AP <NUM> transmits the phase-compensated target data frame at <NUM>. It is assumed that a sum of a transmission delay and a receiving delay of the secondary AP <NUM> is <NUM>, and a sum of a transmission delay and a receiving delay of the secondary AP <NUM> is <NUM>. If the secondary AP <NUM> considers the sum of the transmission delay and the receiving delay, the AP <NUM> needs to transmit the phase-compensated target data frame at <NUM>; if the secondary AP <NUM> considers the sum of the transmission delay and the receiving delay, the secondary AP <NUM> needs to transmit the phase-compensated target data frame at <NUM>.

As shown in <FIG>, the secondary AP can determine the sum of the transmission delay and the receiving delay in a self-transmission and self-receiving manner.

For example, when the secondary AP transmits a symbol at a moment S1 and receives the symbol at a moment R1, the sum of the transmission delay and the receiving delay of the secondary AP is (S1-R1).

<FIG> are used to only explain the embodiments of this application and should not impose any limitation on this application.

An embodiment of this application provides an access point. <FIG> shows an example of an access point, and the access point <NUM> is the second access point in the method embodiment of <FIG>.

As shown in <FIG>, the access point <NUM> may include: a receiving unit <NUM>, a processing unit <NUM>, and a transmission unit <NUM>.

The receiving unit <NUM> is configured to receive a monophonic signal transmitted by a first access point.

The processing unit <NUM> is configured to determine, based on the monophonic signal, a frequency offset between a first carrier and a second carrier, where the first carrier is used by the first access point to transmit a first data frame, and the second carrier is used by the second access point to receive the first data frame.

The processing unit <NUM> is further configured to perform phase compensation on a target data frame based on the frequency offset, so that a difference between a phase of the second carrier and a phase of the first carrier is less than or equal to a first threshold.

The transmission unit <NUM> is configured to transmit a phase-compensated target data frame by using the second carrier.

The receiving unit <NUM> is further configured to: before receiving the monophonic signal transmitted by the first access point, receive indication information transmitted by the first access point, where the indication information may include the following parameters for indicating the monophonic signal: an original frequency of the monophonic signal and a temporal position of the monophonic signal.

Specifically, the monophonic signal is included in the first data frame. The first data frame may further include the target data frame. A temporal position of the monophonic signal in the first data frame may be earlier than a temporal position of the target data frame in the first data frame.

A magnitude of phase difference change of the monophonic signal in a unit time is determined by phase differences at a plurality of sampling moments within duration of the monophonic signal.

The plurality of sampling moments include sampling moments within duration of a plurality of monophonic signals.

The frequency offset equals an average value of magnitudes of phase difference change of a plurality of monophonic signals in the unit time minus the original frequency of the monophonic signal.

The magnitude of phase difference change of the monophonic signal in the unit time equals a magnitude of phase difference change of the monophonic signal within first duration divided by the first duration, where the first duration equals duration of two monophonic signals plus a time interval between the duration of the two monophonic signals.

The plurality of sampling moments within the duration of the monophonic signal include at least: a start moment of the monophonic signal and an end moment of the monophonic signal.

The processing unit <NUM> is specifically configured to:.

A moment at which the transmission unit transmits the phase-compensated target data frame is the same as a moment at which the first access point transmits the target data frame;.

It should be understood that for specific technical features involved in the access point <NUM>, reference may be made to descriptions in the method embodiment of <FIG>. The access point <NUM> is merely an example provided in the embodiments of this application, and the access point <NUM> may include more or fewer components than those shown, a combination of two or more components, or components configured differently.

An embodiment of this application provides another access point. <FIG> shows an example of an access point, and the access point <NUM> is the first access point in the method embodiment of <FIG>.

As shown in <FIG>, the access point <NUM> may include: a processing unit <NUM> and a transmission unit <NUM>.

The processing unit <NUM> is configured to generate a monophonic signal, where the monophonic signal is used to determine a frequency offset between a first carrier and a second carrier, the first carrier is used by the first access point to transmit the monophonic signal, and the second carrier is used by a second access point to receive the monophonic signal.

The transmission unit <NUM> is configured to transmit the monophonic signal to the second access point.

The transmission unit <NUM> is further configured to: before transmitting the monophonic signal to the second access point, transmit indication information to the second access point, where the indication information is used to indicate the following parameters of the monophonic signal: an original frequency of the monophonic signal and a temporal position of the monophonic signal.

Specifically, the monophonic signal is included in a first data frame. The first data frame further includes a target data frame. A temporal position of the monophonic signal in the first data frame is earlier than a temporal position of the target data frame in the first data frame.

A moment at which the second access point transmits a phase-compensated target data frame is the same as a moment at which the transmission unit <NUM> transmits the target data frame;.

An embodiment of this application provides still another access point. <FIG> shows an example of an access point, and the access point <NUM> is the second access point in the method embodiment of <FIG>.

As shown in <FIG>, the access point <NUM> may include: a processor <NUM>, a memory <NUM>, and a transceiver <NUM>, where the transceiver <NUM>, the memory <NUM>, and the processor <NUM> coupled to the memory <NUM> are connected to each other.

The memory <NUM> may be a permanent memory, such as a flash memory or a hard disk drive. The memory <NUM> is configured to store synchronization code that can be accessed and called by the processor <NUM>.

The transceiver <NUM> is configured to receive a monophonic signal transmitted by a first access point.

The processor <NUM> is configured to access and call the synchronization code stored in the memory <NUM>, to perform the following steps:.

The transceiver <NUM> is further configured to transmit a phase-compensated target data frame by using the second carrier.

An embodiment of this application provides still another access point. <FIG> shows an example of an access point, and the access point <NUM> is the first access point in the method embodiment of <FIG>.

The processor <NUM> is configured to access and call the synchronization code stored in the memory <NUM>, to generate a monophonic signal. The monophonic signal is used to determine a frequency offset between a first carrier and a second carrier, where the first carrier is used by the first access point to transmit the monophonic signal, and the second carrier is used by a second access point to receive the monophonic signal.

The transceiver <NUM> is configured to transmit the monophonic signal to the second access point.

The transceiver <NUM> is further configured to transmit a target data frame.

Optionally, when the synchronization method in the embodiments is all or partially implemented by software, the access point may alternatively include only a processor. A memory configured to store a program is located outside the access point. The processor is connected to the memory by using a circuit/wire and is configured to read and execute the program stored in the memory.

The processor may be a central processing unit (Central Processing unit, CPU), a network processor (Network Processor, NP) or a combination of a CPU and an NP.

The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (Application-specific Integrated Circuit, ASIC), a programmable logic device (Programmable Logic Device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (Complex Programmable Logic Device, CPLD), a field-programmable gate array (Field-programmable Gate Array, FPGA), generic array logic (Generic Array Logic, GAL), or a combination thereof.

The memory may include a volatile memory (volatile memory), such as a random-access memory (Random-Access Memory, RAM). The memory may alternatively include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a hard disk drive (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD). Alternatively, the memory may include a combination of the foregoing types of memories.

The embodiments of this application further provide a readable storage medium that stores a computer program, where the computer program is configured to perform the synchronization method provided in the foregoing embodiments.

The embodiments of this application further provide a computer program product including an instruction, where when the computer program product is run on a computer, the computer is enabled to perform the synchronization method provided in the foregoing embodiments.

In the specification, claims, and accompanying drawings of this application, the terms "first" and "second" are intended to distinguish between similar objects but do not necessarily indicate a specific order or sequence. It should be understood that the data termed in such a way is interchangeable in proper circumstances, so that the embodiments of this application described herein can be implemented in an order other than the order illustrated or described herein. Moreover, the term "include" and any other variants are intended to cover the non-exclusive inclusion, for example, a process, method or device (an access point) that includes a list of steps or units is not necessarily limited to those steps or units that are expressly listed, but may include other steps or units not expressly listed or inherent to such a process, method, or device (an access point).

This application is described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product in the embodiments of this application. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of another programmable data processing device to generate a machine, so that the instructions executed by a computer or a processor of another programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.

These computer program instructions may be stored in a computer readable memory that can instruct a computer or another programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory generate an artifact that includes an instruction apparatus.

Claim 1:
A synchronization method, comprising:
receiving (S102), by a second access point, a monophonic signal transmitted by a first access point, wherein the monophonic signal is a signal with a single frequency;
determining (S103), by the second access point, a frequency offset between a first carrier and a second carrier based on the monophonic signal, wherein the first carrier is used by the first access point to transmit the monophonic signal, and the second carrier is used by the second access point to receive the monophonic signal;
performing (S104), by the second access point, phase compensation on a target data frame based on the frequency offset, so that a difference between a phase of the second carrier and a phase of the first carrier is less than or equal to a first threshold; and
transmitting (S106), by the second access point, a phase-compensated target data frame by using the second carrier.