
。。。
第十章 阶段性服务提供的详细协议 - PDU Session
10.1 服务许可账号与基本约定 - SIM卡与IMSI
一个手机用户为了实现高速移动网络接入,选择了5G网络,首先应该有一个合法的身份。表面上看,似乎有了一个手机的号码就有了这样的资格和权限了,但实际上你这个号码在5G网络侧的用户数据库UDM中是有一个跟这个号码对应的用户的profile。该profile包含重要的用户身份信息和一些极其重要的安全信息等等。
用户得到一张有效的SIM卡就意味着其网络侧的profile的所有信息都是有效的,在这个有效期范围内,用户凭借手机端的SIM卡上的身份标识和对应的安全信息就可以合法的接入5G网络并享用在申请SIM卡时候一道办理的允许的不同类型的5G服务,这些服务policy说白了就是用户申请的所谓的各式各样的套餐,保存在PCC相关的服务器当中。
Chat GPT:
SIM Card (Subscriber Identity Module):
Subscriber Identity: The SIM card stores the subscriber's unique identity information, including the IMSI (International Mobile Subscriber Identity), which is a globally unique identifier for the subscriber.
Authentication Key (Ki): The SIM card contains a secret authentication key (Ki), which is used for secure authentication with the network. It is essential for verifying the SIM card's authenticity during the network registration process.
PIN and PUK Codes: Personal Identification Number (PIN) and Personal Unblocking Key (PUK) codes are stored on the SIM card. These codes are used to lock or unlock the SIM card and protect it from unauthorized access.
User's Phone Number: The SIM card contains the user's phone number (MSISDN - Mobile Subscriber Integrated Services Digital Network Number), allowing the network to associate the phone number with the SIM card.
Network Authentication Data: The SIM card stores authentication data and algorithms required for secure communication with the network, including A3 and A8 algorithms used for authentication and encryption.
SMS Messages: SMS (Short Message Service) messages that have been received and stored on the SIM card may be saved temporarily.
这个过程就相当于快递用户跟快递公司签订了一个框架协议并得到了一个固定的账号,以后每次批量包括需要递送的时候,就快速启动递送协议,并且及时地把包裹动态地发送出去。这个快速启动的递送协议就相当于PDU Session的建立。
10.2 什么时候协商与签订详细服务协议 - PDU Session 建立和激活
10.2.1 首先要确定快递服务递送领域和方向 - DNN(APN)如何起作用
视频链接:APN是什么,在5G的终端接入互联网的过程中起什么作用,为什么Wifi不需要配置APN



手机在上行NAS消息中携带其设置的APN,发送给AMF。比如在PDU Session Establishment Request消息中:
如果手机不带APN的话,那么核心网就视其为默认的APN来处理。
10.2.2 不同的APN如何在gNB中传递和表现
本节内容视频链接:在PDU Session建立过程中APN/DNN/QoS从UE请求的服务到核心网和gNB的映射
Networks:







10.3 详细服务协议到底包含哪些条款 - PDU Session 上下文
10.3.1 顺便聊一聊Slicing-切片
本小节视频链接: PDU Session上下文当中包含了目前不太重要的切片信息,BTW,简单聊聊5G网络当中的切片
<priorityLabel>1</priorityLabel>
<pLMNInfoList>
<mcc>300</mcc>
<mnc>900</mnc>
<sd>000001</sd>
<sst>1</sst>
</pLMNInfoList>
SST indicates Slice Service Type which is a mandatory item.
SD indicates a kind of slice ID within the SST which is an option item. This is used to indicates a specific slices in case where there are one or more slices are supported in the same SST.

From <https://www.sharetechnote.com/html/5G/5G_NetworkSlicing.html>

本节以下内容视频链接:PDU Session上下文,到底包含哪些消息才能确保UE在网络层进行数据收发
10.3.1 DNN

10.3.2 PDU IP 分配

10.3.3 QoS

10.4 PDU Session建立流程
见视频链接:5G PDU Session establishment call flow 分析,用户5G用户面通道建立,什么是 gNB CUPS
10.5 PDU Session建立后网络层的路由关系
本节内容见视频:PDU Session建立之后,如何打通从UE一直到Internet的网络层连接
10.5.1 UE IP allocated during PDU session processing
10.5.2 5G internal network domain
10.5.4 UPF route adding
Route add 10.10.10.0/24 via 10.10.10.9
Route add 10.254.0.0/24 via 10.254.0.1