本帖最后由 蓉城喜鹊 于 2014-4-22 10:07 编辑
在3GPP 29.303规范中,已经提出了MME通过UE上报TAI来决定具体所要使用的SGW,具体摘抄如下:
For LTE initial attach cases, the S11 interface is initially unknown by an MME. The S5/S8 interface and the SGW hostname will be selected by procedures in subclause 5. The MME will obtain SGW S11 interfaces from the SGW canonical node name. The S-NAPTR procedure shall use "Service Parameter" of
"x-3gpp-sgw:x-11"
as defined in subclause 19.4.3 of 3GPP TS 23.003 [4], and the Application-Unique String set to the canonical node name of the specific SGW node to find the available S11 interfaces.
The MME selects the S11 interface of the SGW from the SGW's canonical node record (see subclause 4.3.3) if it is not obtained from the TAI records.
从上面可以理解,初始附着过程中,SGW的S11接口IP并不被MME所知晓,MME将通过SGW的权威节点名来获取S11的接口IP;而SGW的权威节点名的获取,则是MME通过使用UE上报的TA,构建FQDN域名,来向DNS解析所得。
MME由TAI决定SGW的过程如下:
如果由TAI无法查询出SGW的S11接口IP,那么MME将用SGW的权威节点名来查询该SGW所有可用的服务,从而选择S11的业务IP:
MME由APN决定PGW的整个DNS查询过程与上面的SGW的查询一样,可参考上述流程。
具体的业务流程由于涉及到保密,在此不提供了。大家可以在调测中自行抓包验证。
对于讲解不对的地方,请大家多多改正,并补充和交流。谢谢!
|