與4G(LTE)網(wǎng)絡(luò)中UE開機(jī)(或定期)需要在核心網(wǎng)附著(ATTACH)相似,在5G(NR)網(wǎng)絡(luò)中終端開機(jī)后首先在核心網(wǎng)(5GC)的AMF中進(jìn)行注冊(cè)(Registration Request)請(qǐng)求;獲得授權(quán)后接受服務(wù)并在5GS建立用戶上下文。UE注冊(cè)后才能進(jìn)行連接管理和會(huì)話管理。
移動(dòng)更新注冊(cè):UE移動(dòng)到新TAC小區(qū),新TAC不屬于UE已注冊(cè)區(qū)域,終端發(fā)出更新注冊(cè)請(qǐng)求。
終端初始開機(jī)注冊(cè)為四大步:無(wú)線接入(PART1),鑒權(quán)加密(PART2),注冊(cè)請(qǐng)求(PART3)和注冊(cè)完成(PART4);
在UE初始發(fā)起時(shí) UE與gNB建立RRC連接,并發(fā)起類型為InitialRegistration的Register Request,攜帶SUPI、NSSAI、安全參數(shù)等信息。
gNB收到UE的注冊(cè)請(qǐng)求后,根據(jù)UE提供的NSSAI或者根據(jù)配置選擇相應(yīng)的AMF,將UE的NAS信息傳遞給AMF,同時(shí)攜帶gNB自身的位置信息、Cell ID等N2接口參數(shù)。
3.初始注冊(cè)報(bào)文
NrnasOtaMsgInterface-MSG
1> 08 00001000 ..enNrnasOtaMsgId:nRMM-OTA-MSG-REGISTRATION-REQUEST (2048)
2> 00 00000000 ..ucUpDown:0x0 (0)
3> 04 00000100 ..ucVersion:0x4 (4)
7> 00 00000000 ..ulLengthASN:0x23 (35)
..struMsgChoice
....struNRNAS-MM-MSG-STRU
11> 00 00000000 ......ulNasMsgSize:0x17 (23)
12> 7E 01111110 ......extended-protocol-discriminator:0x7e (126)
13> 00 ----0000 ......sec-header-type:security-header-type-plain (0)
0000---- ......sPare-half-octet:0x0 (0)
......msg-body
14> 41 01000001 T ........registrationRequest
..........nAS-key-set-identifier
15> 79 0------- ............tSC:native-security-context (0)
-111---- ............nAS-key-set-identifier-value:key-set-identifier-value-nO-KEY (7)
..........registration-type
----1--- ............follow-on-request:0x1 (1)
-----001 ............registration-type-value:initial-registration (1)
17> 0D 00001101 L ..........nR-mobile-identity
18> 01 -----001 ............type-of-identity:suci (1)
----0--- ............odd-or-even-indic:even-number (0)
............suci-body
-000---- ..............supi-format:sUPI-Format-IMSI (0)
0------- ..............spare:0x0 (0)
..............supi-format-imsi
21> 70 01110000 ................mcc-mnc:0x64f070 (6615152)
................routing-indicator
24> 00 ----0000 ................protection-Scheme-ID:protection-Null-Scheme (0)
0000---- ................sPare-half-octet:0x0 (0)
25> 00 00000000 ................home-Network-Pub-Key-ID:0x0 (0)
30> 00 00000000 ................scheme-Output:00 00 00 00 00
整理:kangguoying20200922 本文參考:[url]https://blog.csdn.net/u011272715/article/details/104249738[/url]
"移動(dòng)手機(jī)為啥要讀聯(lián)通WCDMA信號(hào)--LTE案例”已在微信公眾號(hào)"跟著老康學(xué)5G"中推出,敬請(qǐng)關(guān)注!