IP Library Granted Patent US 11,212,045
Granted Patent B2
US 11,212,045 · App. 16/764,656 · Granted Dec 28, 2021

Synchronization method and apparatus

Inventors: Jiamin Liu (Beijing, CN); Haiyang Quan (Beijing, CN)
Assignee: DATANG MOBILE COMMUNICATIONS EQUIPMENT CO., LTD.
H04L1/24H04L49/90H04W56/001
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,212,045
App. No.
16/764,656
Granted
Dec 28, 2021
Kind
B2
Abstract

A synchronization method and apparatus, for verifying whether data cached by a base station and data cached by a terminal are synchronized. In embodiments of the present invention, a transmitting device and a receiving device generate cache check values on the basis of a predetermined acquisition mode; the receiving device compares the cache check values, and according to the comparison result, determines whether a decompression cache area and a compression cache area are synchronized. According to the present invention, a transmitting device and a receiving device sample some data from a data cache area by means of the same acquisition mode to generate cache check values, and the receiving device compares the cache check values, and according to the comparison result, determines whether the decompression cache area and the compression cache area are synchronized.

Claims (65)

1. 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 so that a receiving device determines if the compression buffer and a decompression buffer are in sync according to the checksum;

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.

2. The method according to claim 1 , wherein the pattern position information comprises part or all of:

a quantity of bytes in a sampling period;

a quantity of sampled bytes in the sampling period;

sampling positions in the sampling period;

a quantity of bytes in a sampling interval;

a quantity of sampling intervals;

a quantity of bytes sampled between two adjacent sampling intervals; and

a sampling direction.

3. The method according to claim 2 , wherein the pattern position information comprises the quantity of sampling intervals and the quantity of bytes sampled between two adjacent sampling intervals; and

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.

4. A synchronization method, comprising:

determining, by a receiving device, sampling positions according to a preset sampling method;

sampling, by the receiving device according to the determined sampling positions, partial data from a decompression buffer to generate a checksum after receiving an uplink data compression, UDC, compressed data packet;

comparing, by the receiving device, a checksum in the UDC compressed data packet and the generated checksum; and

determining, by the receiving device, if a compression buffer and the decompression buffer are in sync according to a result of the comparison;

wherein determining, by the receiving device, the sampling positions according to the preset sampling method comprises:

determining, by the receiving device, the sampling positions according to preset pattern position information.

5. The method according to claim 4 , wherein the pattern position information comprises part or all of:

a quantity of bytes in a sampling period;

a quantity of sampled bytes in the sampling period;

sampling positions in the sampling period;

a quantity of bytes in a sampling interval;

a quantity of sampling intervals;

a quantity of bytes sampled between two adjacent sampling intervals; and

a sampling direction.

6. The method according to claim 5 , wherein the pattern position information comprises the quantity of sampling intervals and the quantity of bytes sampled between two adjacent sampling intervals; and

determining, by the receiving device, the sampling positions according to the pattern position information, comprises:

determining, by the receiving device, first X bytes and last X bytes in the decompression buffer as the sampling positions, wherein X is the quantity of bytes sampled between two adjacent sampling intervals; and

determining, by the receiving device, among data in the decompression 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.

7. A receiving device for synchronization, comprising a processor, a memory and a transceiver;

wherein the processor is responsible for managing bus architecture and general processing; the memory stores data used by the processor when performing operations; the transceiver is configured to receive and transmit data under control of the processor; and the processor is configured to read a program in the memory to perform the method according to claim 4 .

8. The receiving device according to claim 7 , wherein the pattern position information comprises part or all of:

a quantity of bytes in a sampling period;

a quantity of sampled bytes in the sampling period;

sampling positions in the sampling period;

a quantity of bytes in a sampling interval;

a quantity of sampling intervals;

a quantity of bytes sampled between two adjacent sampling intervals; and

a sampling direction.

9. The receiving device according to claim 8 , wherein the pattern position information comprises the quantity of sampling intervals and the quantity of bytes sampled between two adjacent sampling intervals; and the processor is further configured to read the program in the memory to:

when determining the sampling positions according to the pattern position information, determine first X bytes and last X bytes in the decompression buffer as the sampling positions, wherein X is the quantity of bytes sampled between two adjacent sampling intervals; and determine, 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.

10. A transmitting device for synchronization, comprising a processor, a memory and a transceiver;

wherein the processor is responsible for managing bus architecture and general processing, the memory stores data used by the processor when performing operations; the transceiver is configured to receive and transmit data under control of the processor; and the processor is configured to read a program in the memory to:

determine sampling positions according to a preset sampling method; sample partial data from a compression buffer according to the determined sampling positions; generate a checksum according to the sampled data; and put the checksum into an uplink data compression, UDC, compressed data packet and transmit the UDC compressed data packet via the transceiver so that a receiving device determines if the compression buffer and a decompression buffer are in sync according to the checksum;

wherein the processor is further configured to read the program to:

determine the sampling positions according to preset pattern position information.

11. The transmitting device according to claim 10 , wherein the pattern position information comprises part or all of:

a quantity of bytes in a sampling period;

a quantity of sampled bytes in the sampling period;

sampling positions in the sampling period;

a quantity of bytes in a sampling interval;

a quantity of sampling intervals;

a quantity of bytes sampled between two adjacent sampling intervals; and

a sampling direction.

12. The transmitting device according to claim 11 , wherein the pattern position information comprises the quantity of sampling intervals and the quantity of bytes sampled between two adjacent sampling intervals; and the processor is further configured to read the program to:

when determining the sampling positions according to the pattern position information, determine 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 determine, 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.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 16, 2021
From: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY
To: DATANG MOBILE COMMUNICATIONS EQUIPMENT CO.,LTD.
Reel/Frame 057452/0169 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 14, 2020
From: LIU, JIAMIN; QUAN, HAIYANG
To: CHINA ACADEMY OF TELECOMMUCATIONS TECHNOLOGY
Reel/Frame 053495/0335 →
Priority Claims (1)
CN 201711132015.3 · Nov 15, 2017 · national
Continuity (1)
Related Publication 20200389266A1 · Dec 10, 2020