LTE Initial Attach 的过程以及相关消息的具体解析 (二)

来源:互联网 发布:许子东 知乎 编辑:程序博客网 时间:2024/06/02 01:35

接续上一次的话题,到MME 像 HSS 请求用户数据, 使用Diameter ULR/ULA过程。

ULR 没什么大的描述。着重对ULA 解析下。规范参照3gpp 29272, 23401


对于ULA的AVPs来讲,最关心的用户数据都在Subscription-Data中,


from 23401.5.3.2.1 step 11:

The Subscription Data contain one or more PDN subscription contexts. Each PDN subscription context contains an 'EPS subscribed QoS profile' and the subscribed APN-AMBR (see clause 4.7.3). 


如下图: 在APN-Configuration-Profile下有个Context-ID AVP, 给出了 value=2, 那意思就是在随后的几个APN-Configuraions group中选定了 Context 为2 的APN 作为default APN 进行附着。



随后点开Context-Identifier 为2 的APN-Configuraion 的AVP 看下:



Service-Selection AVP: 

This IE shall contain the APN for the selected and dynamically allocated PDN GW. It shall be present if the selected PDN-GW is present and is particular for one specific APN and not common to all the APNs. 这个也呼应了HSS对于default Bearer提供的APN 不能是Wild type APN。

并且这个value是APN的Network Identifier, 于随后的Operation Identifier构成完成的APN,用来做NAPTR/AAA查询去获得PGW地址。


对于随后的QOS-Profile理解不好。 QCI 还好理解,但是对Allocation-Retention-Priority 还未理解发生场景。

The VPLMN Dynamic Address Allowed AVP is of type Enumerated. It shall indicate whether for this APN, the UE is allowed to use the PDN GW in the domain of the HPLMN only, or additionally, the PDN GW in the domain of the VPLMN.. If this AVP is not present, this means that the UE is not allowed to use PDN GWs in the domain of the VPLMN.

这段对于后面的PGW选择有关联么? 还是VPLMN 的PGW 会去连接 HPLMN的 PGW?


(另外从现场的pcpa来看,如果手机在附着时候请求的APN不是HSS的签约数据中的default APN 地址,那MME 会遵循UE 的APN 去建立 default Bearer ,而不使用HSS中的签约数据)

可见规范写规范的。。。实际用实际的。。)


那么正常情况下,MME还是应该使用default APN-Configuraion-Profile为UE建立 default Bearer 链接。MME 通过用DNS query 针对PGW selection 完成后,就开始建立tunnel的过程。

阅读全文
0 0
原创粉丝点击