Data processing method and related device
AssigneeHuawei Technologies Co., Ltd.
InventorsRuiquan Geng, Rui Li
Life of this patent
Estimating the term…
Abstract
Embodiments of this application provide a data processing method and a related device. In the method, a radio link control RLC entity in a network device receives a first data packet corresponding to a first sequence number SN from a terminal device. The RLC entity determines, based on the first SN and a second SN, whether the first SN jumps abnormally, where the second SN is an SN of any data packet received before a current moment. The RLC layer entity may determine whether the SN jumps abnormally, to perform a subsequent operation such as handover, thereby reducing occurrence of a one-way audio event.
Claims18
A data processing method, comprising:
- receiving, by a radio link control (RLC) entity in a network device, a first data packet corresponding to a first sequence number (SN) from a terminal device;
- and
- determining, by the RLC entity based on the first SN and a second SN, whether the first SN jumps abnormally, wherein the second SN is an SN of any data packet received before a current moment,
- wherein the determining whether the first SN jumps abnormally comprises determining, by the RLC entity, that the first SN jumps abnormally, in response to
- a third difference between the first SN and a third SN being less than a third preset threshold, and
- a target variable being greater than 0, wherein
- the third SN is an SN corresponding to any data packet received before the current moment and other than a data packet or data packets in a temporary buffer, and
- the target variable is related to an SN of a data packet received before the current moment,
- the method further comprising:
- updating, by the RLC entity, the target variable to 0, in response to the determining that the first SN jumps abnormally.
A communication device, comprising:
- at least one processor;
- and
- one or more memories including computer instructions executable by the at least one processor to cause the at least one processor to perform operations comprising:
- receiving a first data packet corresponding to a first sequence number (SN) from a terminal device;
- and
- determining, based on the first SN and a second SN, whether the first SN jumps abnormally, wherein the second SN is an SN of any data packet received before a current moment,
- wherein the determining whether the first SN jumps abnormally comprises determining that the first SN jumps abnormally, in response to
- a first difference between the first SN and the second SN being greater than a first preset threshold, and
- a second difference between a first moment and the current moment being less than a second preset threshold, wherein the first moment is a moment at which a data packet corresponding to the second SN is received before the current moment.
A communication device, comprising:
- at least one processor;
- and
- one or more memories including computer instructions executable by the at least one processor to cause the at least one processor to perform operations comprising:
- receiving first abnormality information sent by a radio link control (RLC) entity in a network device, wherein the first abnormality information indicates a sequence number (SN) abnormal jump of an SN;
- and
- determining that a one-way audio event is caused by the SN abnormal jump, in response to
- a fourth difference between a current moment and a corresponding previous moment at which a data packet sent by the RLC entity is received being greater than a fourth preset threshold, and
- a fifth difference between the current moment and a corresponding previous moment at which the SN abnormal jump indicated by the RLC entity is received being less than a fifth preset threshold, wherein the fifth preset threshold is greater than the fourth preset threshold.
Dependencies are inferred from the claim text.