天天看點

5G NAS

前言:

   NAS這種網絡架構在2020年,國内大部分城市都是這種。

目前發現很多地方已經采用了SA 方案。

參考文檔

https://blog.csdn.net/milkbusy/article/details/83011011

https://blog.csdn.net/baidu_41616132/article/details/88909986

https://zhuanlan.zhihu.com/p/245146143  

https://www.cnblogs.com/10y-dreams/p/11674076.html

https://www.bilibili.com/read/cv3181179/

https://www.txrjy.com/thread-1113402-1-1.html

https://blog.csdn.net/travel_life/article/details/110194765

https://www.eda365.com/portal.php?mod=view&aid=156263

目錄

   1: 網絡架構

   2:   組網模式

   3: 注冊流程

   4: 關鍵字

一 網絡架構

5G NAS

    MCG:Master Cell group,主小區組,4G

    SCG:Secondary Cell group,輔小區組, 5G

    PCell:Primary Cell,主小區

    SCell:Secondary Cell,輔小區

    PSCell:Primary Secondary Cell,主輔小區

   CA:  Carrier aggregation , PCell 和SCell通過CA技術聯合在一起。

   sPCell: special Cell,sPCell = PCell + PSCell。

MR-DC:Multi-Radio Dual Connectivity,是把LTE雙連接配接技術擴充到其他RAT,讓UE可以同時接入LTE和NR,其中一個作為MN(Master Node),一個作為SN(Secondary Node),MN提供到核心網的控制面連接配接,SN不提供與核心網的控制面連接配接,隻為UE提供額外的資源。MN和SN之間通過網絡接口連接配接起來,至少MN要與核心網連接配接,SN可以與核心網連接配接,也可以不跟核心網連接配接。

參考連結:https://www.jianshu.com/p/1b4526e889bd

二 組網模式

目前國内主要是3x

MN:Masternode,充當MCG的節點,現有的NSA下就是4G基站,

SN: Secondarynode是充當SCG的節點 ,現有的NSA下就是5G基站。

https://blog.csdn.net/superlmj/article/details/82792950

5G NAS

 三 主要流程:

5G NAS

四  關鍵

其中rohc-ProfilesUL-Only-r15參數表示支援5g。

  step1  camp on 4G 小區

03:52:20	[0xB0C2]	LTE RRC Serving Cell Info Log Pkt
Version = 3
Physical cell ID = 95
DL FREQ = 1226
UL FREQ = 19226
           

 //step2   收到ISIB 消息,代表進入 5G 小區覆寫範圍,UI上面可以同步顯示

 03:52:20    [0xB0C0]    BCCH_DL_SCH / SystemInformation
    
                      upperLayerIndication-r15 true
                  
           

//step3 能力查詢,分為兩次,一次4G,一次5G

-------------》網絡查詢
03:52:20	[0xB0C0]	DL_DCCH / UECapabilityEnquiry

              ue-CapabilityRequest 
              {
                eutra, 4G
                utra, 3G
                geran-cs,2G
              },




<-------------UE 回報
03:52:20	[0xB0C0]	UL_DCCH / UECapabilityInformation


value UL-DCCH-Message ::= 
{
  message c1 : ueCapabilityInformation : 
      {
        rrc-TransactionIdentifier 2,
        criticalExtensions c1 : ueCapabilityInformation-r8 : 
            {
              ue-CapabilityRAT-ContainerList 
              {
                {
                  rat-Type eutra, 4G
                  ueCapabilityRAT-Container 
                },
                {
                  rat-Type geran-cs,2G
                  ueCapabilityRAT-Container '33035758A6601404E2918100121E100000'H
                },
                {
                  rat-Type utra,3G
                  ueCapabilityRAT-Container 
                }
              }

           

step4 RRCConnectionReconfiguration 這裡主要映射measId 1,  measObjectId 1,

                   , reportConfigId 1,比如測量5G的Cell,網絡才會配置設定5Gcell

2021/06/10 03:52:20	[0xB0C0]	DL_DCCH / RRCConnectionReconfiguration
              measConfig 
              {
                measObjectToAddModList 
                {
                  {
                    measObjectId 1,
                    measObject measObjectEUTRA : 
                      {
                        carrierFreq 1226,
                        allowedMeasBandwidth mbw25,
                        presenceAntennaPort1 TRUE,
                        neighCellConfig '00'B
                      }
                  },
                  {
                    measObjectId 2,
                    measObject measObjectEUTRA : 
                      {
                        carrierFreq 6400,
                        allowedMeasBandwidth mbw50,
                        presenceAntennaPort1 TRUE,
                        neighCellConfig '00'B,
                        measCycleSCell-r10 sf320
                      }
                  },
                  {
                    measObjectId 3,
                    measObject measObjectEUTRA : 
                      {
                        carrierFreq 3725,
                        allowedMeasBandwidth mbw50,
                        presenceAntennaPort1 TRUE,
                        neighCellConfig '00'B,
                        measCycleSCell-r10 sf320
                      }
                  },
                  {
                    measObjectId 4,
                    measObject measObjectEUTRA : 
                      {
                        carrierFreq 199,
                        allowedMeasBandwidth mbw50,
                        presenceAntennaPort1 TRUE,
                        neighCellConfig '00'B,
                        measCycleSCell-r10 sf320
                      }
                  },
                  {
                    measObjectId 5,
                    measObject measObjectNR-r15 : 
                      {
                        carrierFreq-r15 634656,
                        rs-ConfigSSB-r15 
                        {
                          measTimingConfig-r15 
                          {
                            periodicityAndOffset-r15 sf20-r15 : 0,
                            ssb-Duration-r15 sf2
                          },
                          subcarrierSpacingSSB-r15 kHz30
                        },
                        quantityConfigSet-r15 1,
                        bandNR-r15 setup : 78
                      }
                  }
                },
                reportConfigToAddModList 
                {
                  {
                    reportConfigId 1,
                    reportConfig reportConfigEUTRA : 
                      {
                        triggerType event : 
                          {
                            eventId eventA3 : 
                              {
                                a3-Offset 8,
                                reportOnLeave FALSE
                              },
                            hysteresis 0,
                            timeToTrigger ms256
                          },
                        triggerQuantity rsrp,
                        reportQuantity both,
                        maxReportCells 8,
                        reportInterval ms640,
                        reportAmount infinity
                      }
                  },
                  {
                    reportConfigId 2,
                    reportConfig reportConfigEUTRA : 
                      {
                        triggerType event : 
                          {
                            eventId eventA5 : 
                              {
                                a5-Threshold1 threshold-RSRP : 24,
                                a5-Threshold2 threshold-RSRP : 26
                              },
                            hysteresis 0,
                            timeToTrigger ms320
                          },
                        triggerQuantity rsrp,
                        reportQuantity both,
                        maxReportCells 8,
                        reportInterval ms640,
                        reportAmount infinity
                      }
                  },
                  {
                    reportConfigId 3,
                    reportConfig reportConfigEUTRA : 
                      {
                        triggerType event : 
                          {
                            eventId eventA2 : 
                              {
                                a2-Threshold threshold-RSRP : 18
                              },
                            hysteresis 0,
                            timeToTrigger ms1024
                          },
                        triggerQuantity rsrp,
                        reportQuantity sameAsTriggerQuantity,
                        maxReportCells 8,
                        reportInterval min60,
                        reportAmount r1
                      }
                  },
                  {
                    reportConfigId 4,
                    reportConfig reportConfigEUTRA : 
                      {
                        triggerType event : 
                          {
                            eventId eventA2 : 
                              {
                                a2-Threshold threshold-RSRP : 24
                              },
                            hysteresis 0,
                            timeToTrigger ms480
                          },
                        triggerQuantity rsrp,
                      
                      }
                  },
                  {
                    reportConfigId 5,
                    reportConfig reportConfigEUTRA : 
                      {
                        triggerType periodical : 
                          {
                            purpose reportStrongestCells
                          },
                        triggerQuantity rsrp,
                        reportQuantity both,
                        maxReportCells 8,
                   
                      }
                  },
                  {
                    reportConfigId 6,
                    reportConfig reportConfigEUTRA : 
                      {
                        triggerType periodical : 
                          {
                            purpose reportStrongestCells
                          },
                        triggerQuantity rsrp,
                        reportQuantity both,
                        maxReportCells 8,
                        reportInterval min60,
                        reportAmount r1
                      }
                  },
                  {
                    reportConfigId 7,
                    reportConfig reportConfigInterRAT : 
                      {
                        triggerType event : 
                          {
                            eventId eventB1-NR-r15 : 
                              {
                                b1-ThresholdNR-r15 nr-RSRP-r15 : 38,
                                reportOnLeave-r15 FALSE
                              },
                            hysteresis 4,
                            timeToTrigger ms256
                          },
                        maxReportCells 8,
                        reportInterval min60,
                        reportAmount r1,
                        reportQuantityCellNR-r15 
                        {
                          ss-rsrp TRUE,
                          ss-rsrq FALSE,
                          ss-sinr FALSE
                        }
                      }
                  }
                },
                measIdToAddModList 
                {
                  {
                    measId 1,
                    measObjectId 1,
                    reportConfigId 1
                  },
                  {
                    measId 2,
                    measObjectId 1,
                    reportConfigId 2
                  },
                  {
                    measId 4,
                    measObjectId 1,
                    reportConfigId 3
                  },
                  {
                    measId 7,
                    measObjectId 1,
                    reportConfigId 4
                  },
                  {
                    measId 9,
                    measObjectId 1,
                    reportConfigId 5
                  },
                  {
                    measId 14,
                    measObjectId 2,
                    reportConfigId 6
                  },
                  {
                    measId 17,
                    measObjectId 5,
                    reportConfigId 7
                  }
                },
            
       
                
  
2021/06/10 03:52:20	[0xB0C0]	UL_DCCH / RRCConnectionReconfigurationComplete
  
           

//step5 測量報告

根據RRC 映射關系 measId 9, measObjectId 1,reportConfigId 5 ,知道UE 要網絡配置的是LTE的信道
reportConfigId 5,
                    reportConfig reportConfigEUTRA : 
                      {
                        triggerType periodical : 
                          {
                            purpose reportStrongestCells
                          },
                        triggerQuantity rsrp,
                        reportQuantity both,
                        maxReportCells 8,
                        reportInterval ms5120,
                        reportAmount r16,
                        includeLocationInfo-r10 true
                      }

2021/06/10 03:52:20	[0xB0C0]	UL_DCCH / MeasurementReport


value UL-DCCH-Message ::= 
{
  message c1 : measurementReport : 
      {
        criticalExtensions c1 : measurementReport-r8 : 
            {
              measResults 
              {
                measId 9,
                measResultPCell 
                {
                  rsrpResult 78,
                  rsrqResult 7
                },
                measResultNeighCells measResultListEUTRA : 
                  {
                    {
                      physCellId 93,
                      measResult 
                      {
                        rsrpResult 78,
                        rsrqResult 6
                      }
                    }
                  }
              }
            }
      }
}

           
2021/06/10 03:53:13	[0xB0C0]	UL_DCCH / MeasurementReport  上報的是5G cell

Interpreted PDU:

value UL-DCCH-Message ::= 
{
  message c1 : measurementReport : 
      {
        criticalExtensions c1 : measurementReport-r8 : 
            {
              measResults 
              {
                measId 17,
                measResultPCell 
                {
                  rsrpResult 79,
                  rsrqResult 15
                },
                measResultNeighCells measResultNeighCellListNR-r15 : 
                  {
                    {
                      pci-r15 180,
                      measResultCell-r15 
                      {
                        rsrpResult-r15 82
                      }
                    },
                    {
                      pci-r15 182,
                      measResultCell-r15 
                      {
                        rsrpResult-r15 68
                      }
                    }
                  }
              }
            }
      }
}
           

//step6 網絡RRCReconfig,提供5G SpCell

2021/06/10 03:53:13      DL_DCCH / RRCConnectionReconfigurationRadio Bearer ID: 1, Freq: 1226, SFN: 7191
                                  nr-SecondaryCellGroupConfig-r15 '48091050A7700018C98E00'H
  
2021/06/10 03:53:13      NR5G RRC OTA Packet      RRC_RECONFIG             1
2021/06/10 03:53:13      NR5G RRC Configuration InfoLength:  121             1
2021/06/10 03:53:13
2021/06/10 03:53:13	[0xB825]	NR5G RRC Configuration Info
Version                        = 10
State                          = CONNECTED
Config Status                  = true
Connectivity Mode              = NSA

Contiguous CC Info
   ------------------------------------------------------
   |   |Band  |                    |                    |
   |#  |Number|DL BW Class         |UL BW Class         |
   ------------------------------------------------------
   |  0|    78|      NR5G_RRC_BWC_A|      NR5G_RRC_BWC_A|

NR5G Serving Cell Info
   --------------------------------------------------------------------------------------------------
   |   |   |      |          |          |          |      |         |          |          |DL  |UL  |
   |   |CC |Cell  |          |          |          |      |         |DL Carrier|UL Carrier|Max |Max |
   |#  |Id |Id    |DL Arfcn  |UL Arfcn  |SSB Arfcn |Band  |Band Type|Bandwidth |Bandwidth |MIMO|MIMO|
   --------------------------------------------------------------------------------------------------
   |  0|  0|   180|    634666|    634666|    634656|    78|     SUB6|  BW_40MHz|  BW_40MHz|   4|   1|

Radio Bearer Info
   --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   |   |   |           |       |          |       |               |               |       |          |       |               |               |UL     |UL PDCP  |UL Data     |
   |   |RB |Termination|DL RB  |          |DL ROHC|               |DL Integrity   |UL RB  |          |UL ROHC|               |UL Integrity   |Primary|Dup      |Split       |
   |#  |ID |Point      |Type   |DL RB Path|Enabled|DL Cipher Algo |Algo           |Type   |UL RB Path|Enabled|UL Cipher Algo |Algo           |Path   |Activated|Threshold   |
   --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   |  0|  4|         NR|    DRB|LTE_AND_NR|  false|    NONE (nea0)|    NONE (nea0)|    DRB|LTE_AND_NR|  false|    NONE (nea0)|    NONE (nea0)|   NONE|    false|           0|
2021/06/10 03:53:13      NR5G RRC OTA Packet      RRC_RECONFIG_COMPLETE    1
2021/06/10 03:53:13      UL_DCCH / RRCConnectionReconfigurationCompleteRadio Bearer ID: 1, Freq: 1226, SFN: 01
           

//step7 Acq

//step8   5G Cell info

03:00:31.332303    [0xB825]    NR5G RRC Configuration Info
Version                        = 10
State                          = IDLE
Config Status                  = true
Connectivity Mode              = NSA
LTE Serving Cell Info
   Num Bands                   = 1
   Band List                   = 3
           

繼續閱讀