一、什么是SDAP SDAP(Service Data Adaptation Protocol-服務(wù)數(shù)據(jù)適配協(xié)議)是5G(NR)網(wǎng)絡(luò)中用戶面位于PDCP層之上,負(fù)責(zé)QoS Flow和無線承載(Bearer)的映射協(xié)議,它為下行(DL)和上行(UL)數(shù)據(jù)包標(biāo)記QoS Flow ID。 圖1.5G用戶面上行和下行SDAP SDAP功能是在下行(DL)和上行(UL)鏈路方向?yàn)镻DCP子層映射進(jìn)(處)DRB的QoS流。根據(jù)3GPP TS 38.323定義在層二(Layer2)數(shù)據(jù)流中,NR允許單個(gè)無線(DRB)承載多個(gè)IP 流。在MAC層PDU格式支持NR時(shí)MAC/PHY并行處理。在NR MAC Principle中,MAC子報(bào)頭(Sub Header)直接放置在相應(yīng)MAC SDU、MAC CE或填充之前。 二、SDAP中QoS映射 5G(NR)在上行(UL)方向QoS與DRB采用一對(duì)一的映射,而下行(DL)方向終端(UE)監(jiān)測(cè)等效的下行映射并將其應(yīng)用于上行。當(dāng)啟用QoS映射時(shí),SDAP層在接入層或非接入層,為下行鏈路數(shù)據(jù)包添加標(biāo)頭信息。
映射QoS允許終端(UE)從下行鏈路映射中推導(dǎo)出上行鏈路映射規(guī)則,即從下行鏈路復(fù)制上行鏈路規(guī)則。 當(dāng)不使用映射QoS時(shí),下行數(shù)據(jù)可不帶包頭發(fā)送。 三、SDAP消息解析 SDAP是5G(NR)網(wǎng)絡(luò)中用戶面無線承載(DRB)與QoS(PDU會(huì)話流)之間的映射協(xié)議,其通過RRC重配置消息在DRB信息單元內(nèi)通知終端(UE)其內(nèi)容; message t = c1 rrcReconfiguration rrc_TransactionIdentifier = 1 u rrcReconfiguration tOptFlags radioBearerConfigPresent = 1 nonCriticalExtensionPresent = 1 radioBearerConfig tOptFlags srb_ToAddModListPresent = 1 srb3_ToReleasePresent = 0 drb_ToAddModListPresent = 1 drb_ToReleaseListPresent = 0 securityConfigPresent = 0 srb_ToAddModList n = 1 elem[0] pdcp_ConfigPresent = 1 srb_Identity = 2 pdcp_Config tOptFlags t_ReorderingPresent = 1 t_Reordering = 31 : PDCP_Config_t_Reordering_Root_ms2000 drb_ToAddModList(DRB新增修改列表) n = 1 elem[0] tOptFlags cnAssociationPresent = 1(核心網(wǎng)相關(guān)內(nèi)容=是) pdcp_ConfigPresent = 1(PDCP層配置=是) cnAssociation(核心網(wǎng)相關(guān)成內(nèi)容) t = sdap_Config(SDAP配置) u sdap_Config(SDAP配置) tOptFlags mappedQoS_FlowsToAddPresent = 1(QOS流映射新增=是) mappedQoS_FlowsToReleasePresent = 0 pdu_Session = 5(PDU會(huì)話=5) sdap_HeaderDL = 1 : SDAP_Config_sdap_HeaderDL_Root_absent (SDAP下行報(bào)頭=1: SDAP下行報(bào)頭配置-缺省(absent) sdap_HeaderUL = 0 : SDAP_Config_sdap_HeaderUL_Root_present (SDAP上行報(bào)頭=0: SDAP上行報(bào)頭配置-呈現(xiàn)(present) defaultDRB = TRUE(缺省DRB=是) mappedQoS_FlowsToAdd(新增QoS流映射) n = 1 elem[0] = 1 drb_Identity = 1(DRB ID=1) pdcp_Config(PDCP層配置) tOptFlags drbPresent = 1(PDCP呈現(xiàn)=1) moreThanOneRLCPresent = 0 t_ReorderingPresent = 1(重組=是) verExt2Present = 0 drb(DRB配置) tOptFlags discardTimerPresent = 1(丟棄計(jì)時(shí)器=是) pdcp_SN_SizeULPresent = 1(PDCP SN上行大小=是) pdcp_SN_SizeDLPresent = 1(PDCP SN下行大小=是) integrityProtectionPresent = 0 statusReportRequiredPresent = 0 outOfOrderDeliveryPresent = 0 discardTimer = 15 : PDCP_Config_drb_discardTimer_Root_infinity (丟棄計(jì)時(shí)器=15,PDCP層丟棄時(shí)長(zhǎng)=無限(infinity) pdcp_SN_SizeUL = 1 : PDCP_Config_drb_pdcp_SN_SizeUL_Root_len18bits(PDCP SN上行 18Bits) pdcp_SN_SizeDL = 1 : PDCP_Config_drb_pdcp_SN_SizeDL_Root_len18bits(PDCP SN下行 18Bits) headerCompression(報(bào)頭壓縮) t = notUsed t_Reordering = 18 : PDCP_Config_t_Reordering_Root_ms180(PDCP重組時(shí)長(zhǎng)=180ms) nonCriticalExtension tOptFlags masterCellGroupPresent = 1 ......... 有關(guān)SDAP內(nèi)容可參考本公眾號(hào): 5G(NR)網(wǎng)絡(luò)層二新增子層---SDPA層介紹;5G中QOS與DRB的翻譯官-SDAP;5G網(wǎng)絡(luò)與協(xié)議功能;5G網(wǎng)絡(luò)的SDAP子層很重要! |
|