Rate adaptation method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsLi Xu, Qiwen Zhong, Rixin Li
Life of this patent
Estimating the term…
Abstract
The technology of this application relates to a rate adaptation method and apparatus. The method includes, when a rate adaptation requirement exists, inserting a rate adaptation code block only between two adjacent code blocks whose code block relationship meets a preset condition, or deleting only a rate adaptation code block between two code blocks whose code block relationship meets a preset condition. In this way, it can be ensured that correctness of parsing a packet by a receive side after the receive side receives the packet is not affected by rate adaptation, and reliability of rate adaptation can be improved.
Claims20
A rate adaptation method, comprising:
- obtaining a first code block stream having a first code block and a second code block adjacent to each other;
- determining whether a code block relationship between the first code block and the adjacent second code block satisfies a preset condition;
- and
- in association with the code block relationship between the first code block and the adjacent second code block satisfying the preset condition and a rate adaptation requirement existing, inserting at least one rate adaptation code block between the first code block and the second code block, wherein
- the preset condition comprises:
- the code block relationship between the first code block and the adjacent second code block excludes any one of the following code block relationships:
- a T code block and a T code block, a T code block and a D code block, a T code block and an E code block, a D code block and an S code block, and an E code block and an S code block, and
- the code block relationship between the first code block and the adjacent second code block includes any of the following code block relationships:
- a T code block and an interpacket gap (IPG) code block, an IPG code block and an S code block, a T code block and an S code block, and an IPG code block and an IPG code block, wherein the IPG code block comprises one or more of an idle (IDLE) code block, an O code block, an E code block, or a D code block.
A rate adaptation method, comprising:
- obtaining a first code block stream having a first code block, at least two rate adaptation code blocks, and a second code block that are adjacent to each other;
- determining whether a code block relationship between the first code block and the second code block satisfies a preset condition;
- and
- in association with the code block relationship between the first code block and the second code block not satisfying the preset condition and a rate adaptation requirement existing, deleting at least one rate adaptation code block in the at least two rate adaptation code blocks, so that at least one rate adaptation code block is included between the first code block and the second code block after deletion, wherein
- the preset condition comprises:
- the code block relationship between the first code block and the adjacent second code block excludes any one of the following code block relationships:
- a T code block and a T code block, a T code block and a D code block, a T code block and an E code block, a D code block and an S code block, and an E code block and an S code block, and
- the code block relationship between the first code block and the second code block includes any one of the following code block relationships:
- a T code block and an interpacket gap (IPG) code block, an IPG code block and an S code block, a T code block and an S code block, and an IPG code block and an IPG code block, wherein the IPG code block comprises one or more of an idle (IDLE) code block, an O code block, an E code block, or a D code block.
A rate adaptation apparatus, comprising:
- a processor;
- and
- a memory configured to store computer readable instructions that, when executed by the processor, cause the processor to:
- obtain a first code block stream having a first code block and a second code block adjacent to each other;
- determine whether a code block relationship between the first code block and the adjacent second code block satisfies a preset condition;
- and
- when the code block relationship between the first code block and the adjacent second code block satisfies the preset condition and a rate adaptation requirement exists, insert at least one rate adaptation code block between the first code block and the second code block, wherein
- the preset condition comprises:
- the code block relationship between the first code block and the adjacent second code block excludes any one of the following code block relationships:
- a T code block and a T code block, a T code block and a D code block, a T code block and an E code block, a D code block and an S code block, and an E code block and an S code block, and
- the code block relationship between the first code block and the adjacent second code block includes any of the following code block relationships:
- a T code block and an interpacket gap (IPG) code block, an IPG code block and an S code block, a T code block and an S code block, and an IPG code block and an IPG code block, wherein the IPG code block comprises one or more of an idle (IDLE) code block, an O code block, an E code block, or a D code block.
Dependencies are inferred from the claim text.