IP Library › Granted Patent US 11,736,235
Granted Patent B2
US 11,736,235 · App. 17/721,085 · Granted Aug 22, 2023

Data processing method and related apparatus

Inventors: Weiqiang Yang (Shenzhen, CN); Yuejun Wei (Shanghai, CN); Nijun Li (Shanghai, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L1/1809H04L1/0041H04L1/1607
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,736,235
App. No.
17/721,085
Granted
Aug 22, 2023
Kind
B2
Abstract

A data processing method and a related apparatus are disclosed, to improve data recovery effects in various packet loss scenarios. The method includes: determining a packet loss scenario type corresponding to a first data packet when detecting that the first data packet is lost in a data packet transmission process ( 201 ); generating a second data packet based on a data packet adjacent to the first data packet if the packet loss scenario type corresponding to the first data packet meets a data packet compensation condition ( 202 ); and finally adding the second data packet to a corresponding target location at which the first data packet is located before the first data packet is lost, that is, using the second data packet to compensate for the lost first data packet ( 203 ).

Claims (44)

1. A data processing method, comprising:

determining a packet loss scenario type corresponding to a first data packet when detecting that the first data packet is lost;

generating a second data packet based on a data packet adjacent to the first data packet when it is determined that the packet loss scenario type meets a data packet compensation condition; and

adding the second data packet to a corresponding target location at which the first data packet is located before the first data packet is lost.

2. The data processing method according to claim 1 , wherein the packet loss scenario type comprises a first packet loss scenario, the data packet compensation condition comprises a first compensation condition, and the first packet loss scenario meets the first compensation condition; and

the generating a second data packet based on a data packet adjacent to the first data packet comprises:

generating the second data packet based on an adjacent data packet previous to the first data packet.

3. The data processing method according to claim 1 , wherein the packet loss scenario type comprises a second packet loss scenario, the data packet compensation condition comprises a second compensation condition, and the second packet loss scenario meets the second compensation condition; and

the generating a second data packet based on a data packet adjacent to the first data packet comprises:

generating the second data packet based on an adjacent data packet following the first data packet.

4. The data processing method according to claim 1 , wherein the packet loss scenario type comprises a third packet loss scenario, and the third packet loss scenario does not meet the data packet compensation condition; and

the method further comprises:

when it is determined that the packet loss scenario type does not meet the data packet compensation condition, reconstructing a waveform of the first data packet by using a packet loss concealment (PLC) method.

5. The data processing method according to claim 1 , wherein the determining a packet loss scenario type corresponding to a first data packet when detecting that the first data packet is lost comprises:

when detecting that the first data packet is lost, determining, based on an associated data packet corresponding to the first data packet, the packet loss scenario type corresponding to the first data packet, wherein the associated data packet is M adjacent data packets previous to the first data packet, the associated data packet is N adjacent data packets following the first data packet, or the associated data packet is M adjacent data packets previous to the first data packet and N adjacent data packets following the first data packet, wherein M is an integer greater than or equal to 1, and N is an integer greater than or equal to 1.

6. The data processing method according to claim 5 , wherein the method further comprises:

obtaining a coding parameter of the associated data packet; and

determining the packet loss scenario type based on the associated data packet comprises:

inputting the coding parameter of the associated data packet into a packet loss scenario determining model; and

determining, based on an output result of the packet loss scenario determining model, the packet loss scenario type corresponding to the first data packet.

7. A data processing apparatus, comprising:

a determining unit, configured to determine a packet loss scenario type corresponding to a first data packet when detecting that the first data packet is lost;

a generation unit, configured to generate a second data packet based on a data packet adjacent to the first data packet when it is determined that the packet loss scenario type meets a data packet compensation condition; and

an addition unit, configured to add the second data packet to a corresponding target location at which the first data packet is located before the first data packet is lost.

8. The data processing apparatus according to claim 7 , wherein the packet loss scenario type comprises a first packet loss scenario, the data packet compensation condition comprises a first compensation condition, and the first packet loss scenario meets the first compensation condition; and

the generation unit is further configured to generate the second data packet based on an adjacent data packet previous to the first data packet.

9. The data processing apparatus according to claim 7 , wherein the packet loss scenario type comprises a second packet loss scenario, the data packet compensation condition comprises a second compensation condition, and the second packet loss scenario meets the second compensation condition; and

the generation unit is further configured to generate the second data packet based on an adjacent data packet following the first data packet.

10. The data processing apparatus according to claim 7 , wherein the packet loss scenario type comprises a third packet loss scenario, and the third packet loss scenario does not meet the data packet compensation condition; and

the apparatus further comprises a reconstruction unit, configured to: when it is determined that the packet loss scenario type does not meet the data packet compensation condition, reconstruct a waveform of the first data packet by using a packet loss concealment (PLC) method.

11. The data processing apparatus according to claim 7 , wherein the determining unit is further configured to: when detecting that the first data packet is lost, determine, based on an associated data packet corresponding to the first data packet, the packet loss scenario type corresponding to the first data packet, wherein the associated data packet is M adjacent data packets previous to the first data packet, the associated data packet is N adjacent data packets following the first data packet, or the associated data packet is M adjacent data packets previous to the first data packet and N adjacent data packets following the first data packet, wherein M is an integer greater than or equal to 1, and N is an integer greater than or equal to 1.

12. The data processing apparatus according to claim 11 , wherein the apparatus further comprises:

an obtaining unit, configured to obtain a coding parameter of the associated data packet; and

the determining unit is further configured to: input the coding parameter of the associated data packet into a packet loss scenario determining model; and determine, based on an output result of the packet loss scenario determining model, the packet loss scenario type corresponding to the first data packet.

13. A non-transitory computer readable medium, wherein the non-transitory computer readable medium stores instructions that are executable by a computer, and the instructions comprise instructions for:

determining a packet loss scenario type corresponding to a first data packet when detecting that the first data packet is lost;

generating a second data packet based on a data packet adjacent to the first data packet when it is determined that the packet loss scenario type meets a data packet compensation condition; and

adding the second data packet to a corresponding target location at which the first data packet is located before the first data packet is lost.

14. The non-transitory computer readable medium according to claim 13 , wherein the packet loss scenario type comprises a first packet loss scenario, the data packet compensation condition comprises a first compensation condition, and the first packet loss scenario meets the first compensation condition; and

the generating a second data packet based on a data packet adjacent to the first data packet comprises:

generating the second data packet based on an adjacent data packet previous to the first data packet.

15. The non-transitory computer readable medium according to claim 13 , wherein the packet loss scenario type comprises a second packet loss scenario, the data packet compensation condition comprises a second compensation condition, and the second packet loss scenario meets the second compensation condition; and

the generating a second data packet based on a data packet adjacent to the first data packet comprises:

generating the second data packet based on an adjacent data packet following the first data packet.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 7, 2023
From: YANG, WEIQIANG; WEI, YUEJUN; LI, NIJUN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 063885/0901 →
Priority Claims (1)
CN 201910980635.5 · Oct 14, 2019 · national
Continuity (2)
Continuation PCTCN2020120606 · Oct 13, 2020
Related Publication 20220239414A1 · Jul 28, 2022