NR的RLC层介绍

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

RLC层
说道 RCL 层,第一印象必定是有 3 种传输模式,分别是 TM(Transparent Mode), UM(Unacknowledge Mode) 和 AM(Acknowledge mode),重要的特性以下:
●TM : 没有 RCL 头,仅仅 Tx 在缓存中,没有分割和重组,也不需要反馈
(ACK、NACK)
●UM : 有 RLC 头,缓存器中 Tx 和Rx 都有,也有分割和重组,但是不需要反
馈。

●AM : 有 RLC 头,缓存器中 Tx 和Rx 都有,也有分割和重组,也需要反馈(如:
ACK/NACK)。

每种模式都能够发送和接受数据。

在 TM 和 UM 中,单独的实体用于发送和接受,但在 AM 中,单个 RLC 实体执行发送和接受。

●BCCH, PCCH, CCCH 只能用 RLC TM 。

●DCCH 只能用 RLC AM。

●DTCH 能够用 RLC UM 或 AM. (具体使用哪种模式,由 RRC 消息批示).
TM模式
TM 模式意味着“几乎不解决 RLC 数据”。

它所做的唯一一件事就是在发送端缓冲数据。

这一层没有 RLC 报头,没有重新排序,没有分割,没有重组。

由于 TM 模式的这种“无数据解决”性质。

需要记住的一件重要事情是,注意 MAC/PHY 资源分派。

即使 MAC/PHY 资源的分派不大于 RLC 包,RLC 也不会在乎。

它会把它所拥有的一切转发给 MAC/PHY。

因此,
那些不不大于 MAC/PHY 资源的 RLC 数据可能被切断或丢弃。

另一种需要注意的是,信道 BCCH/PCCH/CCCH 数据由该 RLC 模式解决。

UM模式
'Unacknowledged Mode' 意味着‘不需要其它部分进行接受响应’。

对比 LTE 的UM 模式,NR 中没有拼接(Concatenation)功效了,由于该功效已经下放到 MAC 层去了。

接受端:重要功效是:
1.缓冲
2.重新排序(有时从发送器发送的数据块可能延迟达成接受器。

在这种状况下,
必须将传入的块重新排序为对的的次序,方便重新组装)。

3.移除 RLC 报头(发送器将报头放在每个块上。

因此,在重新组装数据之前,
必须删除此项)。

4.重新组装
LTE 和NR UM 模式对比
AM模式
如果用 IP 传输来比方,AM 模式相称于 TCP 合同,UM 模式相称于 UDP 合同。

每次传输都需要 ACK/NACK 吗?如果是这样,是不是开销太大了?好问题。

对。

开销太大了。

这就是为什么我们有 RLC 窗口概念(如 IP 流量中的 TCP 窗口)和轮询位概念以及多个 ACK/NACK 调度机制。

现在看看规范中的图表。

如果您浏览左栏和右栏,您将看到在 UM 模式中看到的相似过程。

因此我不想再说那部分了。

与 UM 模式不同的是中间列,即“重传缓冲区”和“RLC控制”过程。

什么会进入重传缓冲区?重传缓冲区的输入是什么?
在RLC 发送器进行分段/级联解决后,添加 RLC 报头,然后创立两个相似的副本,并将数据的一种副本发送到较低层(MAC)并将另一种副本发送到重传缓冲器。

如果 RLC 获取 NACK 或在一定时间内未从另一方获得任何响应,则重传缓冲器中的 RLC 分组(称之为 RLC PDU)再次被发送。

如果 RLC 得到 ACK,则重传缓冲区中的那些将被丢弃。

LTE 和NR 进行对比
构造
TMD PDU consists only of a Data field and does not consist of any RLC headers
Oct 1 Oct N
Figure 6.2.2.2-1: TMD PDU
UMD PDU consists of a Data field and an UMD PDU header. The UMD PDU header is byte aligned
Oct 1 Oct 2 Oct N
Figure 6.2.2.3-1: UMD PDU containing a complete RLC SDU
Oct 1 Oct 2
Oct N
Figure 6.2.2.3-2: UMD PDU with 6 bit SN (No SO)
Figure 6.2.2.3-3: UMD PDU with 12 bit SN (No SO)
Oct 1 Oct 2 Oct 3 Oct N
Oct 1 Oct 2 Oct 3 Oct 4 Oct N
Figure 6.2.2.3-4: UMD PDU with 6 bit SN and with SO
Oct 1 Oct 2 Oct 3 Oct 4 Oct 5 Oct N
Figure 6.2.2.3-5: UMD PDU with 12 bit SN and with SO
AMD PDU consists of a Data field and an AMD PDU header. The AMD PDU header is byte aligned
Oct 1 Oct 2 Oct 3 Oct N
Figure 6.2.2.4-1: AMD PDU with 12 bit SN (No SO)
Figure 6.2.2.4-2: AMD PDU with 18 bit SN (No SO)
Oct 1 Oct 2 Oct 3 Oct 4 Oct N
Oct 1 Oct 2 Oct 3 Oct 4 Oct 5 Oct N
Figure 6.2.2.4-3: AMD PDU with 12 bit SN with SO
Oct 1 Oct 2 Oct 3 Oct 4 Oct 5 Oct 6 Oct N
Figure 6.2.2.4-4: AMD PDU with 18 bit SN with SO
SO : SO 表达段(Segment )偏移. It indicates the position of the RLC SDU segment in bytes within the original RLC SDU 。

D/C : RLC PDU
P : P 是填充(Polling )bit 位. 批示与否需要 RCL 从其它部分中反馈 ACK/NACK 。

PDU 状态
Oct 1 Oct 2 Oct 3 Oct 4 Oct 5 Oct 6 Oct 7 Oct 8 Oct 9 Oct 10 Oct 11 Oct 12 Oct 13 Oct 14
Figure 6.2.2.5-1: STATUS PDU with 12 bit SN
Oct 1
Oct 2 Oct 3 Oct 4 Oct 5 Oct 6 Oct 7 Oct 8 Oct 9 Oct 10 Oct 11 Oct 12 Oct 13 Oct 14 Oct 15 Oct 16 Oct 17 Oct 18
Figure 6.2.2.5-2: STATUS PDU with 18 bit SN
E1 field interpretation
E2 field interpretation
E3 field interpretation
a) t-PollRetransmit
This timer is used by the transmitting side of an AM RLC entity in order to retransmit a poll. b) t-Reassembly
This timer is used by the receiving side of an AM RLC entity and receiving UM RLC entity in order to detect loss of RLC PDUs at lower layer. If t-Reassembly is running, t-Reassembly shall not be started additionally, i.e. only one t-Reassembly per RLC entity is running at a given time. c) t-StatusProhibit
This timer is used by the receiving side of an AM RLC entity in order to prohibit transmission of a STATUS PDU.
有关参数
a)maxRetxThreshold
This parameter is used by the transmitting side of each AM RLC entity to limit the number of retransmissions corresponding to an RLC SDU, including its segments.
b)pollPDU
This parameter is used by the transmitting side of each AM RLC entity to trigger a poll for every pollPDU PDUs .
c)pollByte
This parameter is used by the transmitting side of each AM RLC entity to trigger a poll for every pollByte bytes。

相关文档
最新文档