1.Attach Type
The Attach Type indicates the purpose of the attach and as in most of other procedure, the attach type is also determined by a kind of mutual agreement between UE and Network. It means that UE indicates the attatch type I want to get and Network finaly determines available attach type and informs it to UE as in following procedure.
There are three different types of attach as listed below.
连接type 代表了连接目的。Attach type 由UE和网络之间的相互协议确定。
有三种不同的Attach Type.
(在modem log 中的attach request 和attach accept 中可以看到)
一. EPS attach(indicate the attach for EPS services only)
二:Combined EPS/IMSI attch(indicate the attach for both EPS and non-EPS services)
什么是Combined Attach?
Combined Attach 是怎么触发的呢?
三:EPS emergency attch(indicate the attach for emergency bearer services)
2.apn 的简单理解
apn是一种网关,UE连接到该网关以访问大多数数据服务的核心网络。
问题1:apn 是怎么分配的?
根据UE的请求由网络配置的,因此apn是UE setting 和Network Configuration的组合。
跟IP throughput (吞吐量 ) 、Browsing 、IMS等相关。
问题2:协议层次怎么看apn?
apn assignment的典型步骤有两步:
i) UE -> NW : PDN Connectivity Request // Usually UE request PDN with a specific APN (or no specified APN)
ii) UE <- NW : Activate Default EPS Bearer Context Request // Network always specifies a specific APN
问题3: default apn 和additional apn之间的区别是什么?
首先是default apn
i) RRC : RRC Connection Setup Complete + NAS : Attach Request + ESM : PDN Connectivity Request
ii) RRC : RRC Connection Reconfiguration + NAS : Attach Accept + NAS : Activate Default EPS Bearer Context Req
然后是additional apn
i) RRC : ulinformationTransfer + ESM : PDN Connectivity Request
ii) RRC : RRC Connection Reconfiguration + NAS : Activate Default EPS Bearer Context Req
思考:在modem log 中,经常能见到RRC Connection Reconfiguation ,是不是都是建立其他的apn连接呢?
3.RRC的几种状态
LTE 中是有两种状态:RRC_IDLE 和RRC_CONNECTED
NR 中是有三种状态:RRC_IDLE 、RRC_CONNECTED 和RRC_INACTIVE