A synchronization method, comprising: determining, by a transmitting device, sampling positions according to a preset sampling method; sampling, by the transmitting device, partial data from a compression buffer according to the determined sampling positions; generating, by the transmitting device, a checksum according to the sampled data; and putting, by the transmitting device, the checksum into an uplink data compression, UDC, compressed data packet and transmitting the UDC compressed data packet; wherein determining, by the transmitting device, the sampling positions according to the preset sampling method comprises: determining, by the transmitting device, the sampling positions according to preset pattern position information; characterized in that the pattern position information comprises a quantity of sampling intervals and a quantity of bytes sampled between two adjacent sampling intervals; determining, by the transmitting device, the sampling positions according to the pattern position information, comprises: determining, by the transmitting device, first X bytes and last X bytes in the compression buffer as the sampling positions, wherein X is the quantity of bytes sampled between two adjacent sampling intervals; and determining, by the transmitting device, among data in the compression buffer except the first X bytes and the last X bytes, the sampling positions according to the quantity of sampling intervals and the quantity of bytes sampled between two adjacent intervals. determining, by a transmitting device, sampling positions according to a preset sampling method; sampling, by the transmitting device, partial data from a compression buffer according to the determined sampling positions; generating, by the transmitting device, a checksum according to the sampled data; and putting, by the transmitting device, the checksum into an uplink data compression, UDC, compressed data packet and transmitting the UDC compressed data packet; wherein determining, by the transmitting device, the sampling positions according to the preset sampling method comprises: determining, by the transmitting device, the sampling positions according to preset pattern position information; characterized in that the pattern position information comprises a quantity of sampling intervals and a quantity of bytes sampled between two adjacent sampling intervals; determining, by the transmitting device, the sampling positions according to the pattern position information, comprises: determining, by the transmitting device, first X bytes and last X bytes in the compression buffer as the sampling positions, wherein X is the quantity of bytes sampled between two adjacent sampling intervals; and determining, by the transmitting device, among data in the compression buffer except the first X bytes and the last X bytes, the sampling positions according to the quantity of sampling intervals and the quantity of bytes sampled between two adjacent intervals. wherein determining, by the transmitting device, the sampling positions according to the preset sampling method comprises: determining, by the transmitting device, the sampling positions according to preset pattern position information; characterized in that the pattern position information comprises a quantity of sampling intervals and a quantity of bytes sampled between two adjacent sampling intervals; determining, by the transmitting device, the sampling positions according to the pattern position information, comprises: determining, by the transmitting device, first X bytes and last X bytes in the compression buffer as the sampling positions, wherein X is the quantity of bytes sampled between two adjacent sampling intervals; and determining, by the transmitting device, among data in the compression buffer except the first X bytes and the last X bytes, the sampling positions according to the quantity of sampling intervals and the quantity of bytes sampled between two adjacent intervals. determining, by the transmitting device, first X bytes and last X bytes in the compression buffer as the sampling positions, wherein X is the quantity of bytes sampled between two adjacent sampling intervals; and determining, by the transmitting device, among data in the compression buffer except the first X bytes and the last X bytes, the sampling positions according to the quantity of sampling intervals and the quantity of bytes sampled between two adjacent intervals.