51学通信技术论坛

标题: SGSN与MME之间切换,cancel location问题 [打印本页]

作者: hycl5410    时间: 2012-8-2 10:09:57     标题: SGSN与MME之间切换,cancel location问题

请教各位关于SGSN与MME之间RAU/TAU,cancel location问题。

前置条件,非共用节点,不开ISR。

比如从MME切换到SGSN,那么HSS是否会发cancel location给MME?如果不发,可能由什么原因导致?
那么从SGSN切换到MME呢?是否有不同?



作者: 爱卫生    时间: 2012-8-2 22:23:55

H大侠研究得很仔细的好问题啊。暂时还没想到。规范里看了下,确实是不发但没想清楚为什么不发。回头再查查。
作者: hycl5410    时间: 2012-8-3 09:24:50

爱卫生 发表于 2012-8-2 22:23
H大侠研究得很仔细的好问题啊。暂时还没想到。规范里看了下,确实是不发但没想清楚为什么不发。回头再查查。 ...

找了一些资料,看到MME update location的时候是可以有一个指示位指示HSS是否向old SGSN cancel location。但是SGSN update location的时候就没有提有这个指示位。
至于HSS/HLR是否有能力判断是否要cancel location就不知道了。

我知道开启ISR的一个先决条件就是SGSN和MME在HSS/HLR双注册,但是不清楚在不开ISR的情况下,是否一定不会双注册。

作者: hycl5410    时间: 2012-8-3 09:54:14

Information element name        Mapping to Diameter AVP        Cat.        Description
IMSI
        User-Name (See IETF RFC 3588 [4])        M        This information element shall contain the user IMSI, formatted according to 3GPP TS 23.003 [3], clause 2.2.
Supported Features
(See 3GPP TS 29.229 [9])        Supported-Features        O        If present, this information element shall contain the list of features supported by the origin host.
Terminal Information
(See 7.3.3)        Terminal-Information        O        This information element shall contain information about the user’s mobile equipment. Within this Information Element, only the IMEI and the Software-Version AVPs shall be used on the S6a/S6d interface.

ULR Flags
(See 7.3.7)        ULR-Flags        M        This Information Element contains a bit mask. See 7.3.7 for the meaning of the bits.
Visited PLMN Id
(See 7.3.9)        Visited-PLMN-Id        M        This IE shall contain the MCC and the MNC, see 3GPP TS 23.003[3]. It may be used to apply roaming based features.

RAT Type
(See 7.3.13)        RAT-Type        M        This Information Element contains the radio access type the UE is using. See section 7.3.13 for details.
SGSN number
(See 7.3.102)        SGSN-Number        C        This Information Element contains the ISDN number of the SGSN, see 3GPP TS 23.003 [3]. It shall be present when the message is sent on the S6d interface and the SGSN supports LCS or SMS functionalities.

7.3.7        ULR-Flags

0        Single-Registration-Indication        This bit, when set, indicates that the HSS shall send Cancel Location to the SGSN. An SGSN shall not set this bit when sending ULR.

TS 29.272
作者: hycl5410    时间: 2012-8-3 11:48:02

本帖最后由 hycl5410 于 2012-8-3 11:49 编辑

又想了一下,发现其实我纠结的不是要不要/会不会收到cancel location的问题,而是inter RAU/TAU出去之后,old SGSN/MME处理问题。
问题如下:
对于inter-SGSN的切换,old SGSN一定会在UE成功的RAU出去之后(收到cancel location),在内部把动态用户数据删除,更新状态。因为UE已经彻底不归old SGSN管了。

对于2G/3G与LTE切换的情况(gngp SGSN,无ISR,inter切换),如果收到cancel location,那么按理应该跟上述步骤一致;如果没收到cancel location,
1)处理情况应该会如何呢?
2)old SGSN和old MME的处理会不会有区别呢?
3)如果是intra SGSN-MME,情况又会如何?
作者: admin    时间: 2012-8-5 16:30:18

hycl5410 发表于 2012-8-3 11:48
又想了一下,发现其实我纠结的不是要不要/会不会收到cancel location的问题,而是inter RAU/TAU出去之后,o ...

H大侠,我仔细查阅了下文档再说下我的理解。 cancel location实际上可以看成是HLR发起的去附着的一部分,如果old SGSN或old MME没收到该指示,将没有任何操作执行,收到后才会删除用户的MM/PDP上下文或EPS bearer信息。 SGSN与MME之间的切换分成两种情况:

1)带业务的切换,即handover。

2)不带业务的移动,即IDLE模式下,UE从LTE的覆盖移动带了2G/3G的覆盖或者反过来。   

以上两种情况,其实HSS都会给Old SGSN或Old MME发cancel location的。

只不过第1种handover的情况下,是在完成了handover之后,由UE发起RAU或TAU流程完成到新RA或新TA的注册,在RAU或TAU的过程中,HSS给old SGSN或old MME发cancel location。但在Handover的准备和执行阶段HSS不发cancel location,这样做估计是为了提高切换速度吧。

而第2种情况Idle模式下的位置移动,HSS会在该信令流程中直接发cancel location给Old SGSN或Old MME的,可以参考TS23.401的5.3.3.1节,图5.3.3.1-1中就有old SGSN这个网元以及HSS发的cancel location消息。


作者: hycl5410    时间: 2012-8-6 09:33:28

admin 发表于 2012-8-5 16:30
H大侠,我仔细查阅了下文档再说下我的理解。 cancel location实际上可以看成是HLR发起的去附着的一部分,如 ...

我最近也在看,弄了一个erlang_trance来读。还是看出了一些东西。
这里可以贴erlang么。。。
作者: yonka    时间: 2012-8-8 13:09:22

hycl5410 发表于 2012-8-6 09:33
我最近也在看,弄了一个erlang_trance来读。还是看出了一些东西。
这里可以贴erlang么。。。

EPC trial team ?


作者: hycl5410    时间: 2012-8-8 13:51:50

yonka 发表于 2012-8-8 13:09
EPC trial team ?

没猜对。。。
作者: hycl5410    时间: 2012-8-8 14:56:18

{:soso_e113:}还不是。。。
爱老大应该也不是专做EPC的,但是很精通。
作者: yonka    时间: 2012-8-8 17:33:30

hycl5410 发表于 2012-8-8 14:56
还不是。。。
爱老大应该也不是专做EPC的,但是很精通。

算了不猜了~

感觉会看erlang_trace的要么GSC要么PLM或者design吧~
反正我不会~


作者: hycl5410    时间: 2012-8-8 18:54:44

yonka 发表于 2012-8-8 17:33
算了不猜了~

感觉会看erlang_trace的要么GSC要么PLM或者design吧~

你看,或者不看,erlang就在那里。。。

好了不扯了,建议还是看看。谁也不可能每一句都看懂,但是没关系,能看懂多少就看多少。
就像这个case,我在这里发帖,也未必能得到确切的答案,为什么我不花点时间看看erlang呢?

作者: 爱卫生    时间: 2012-8-8 20:41:09

hycl5410 发表于 2012-8-8 14:56
还不是。。。
爱老大应该也不是专做EPC的,但是很精通。

谢谢老兄指点。EPC这块确实是新手,打酱油的。要向大家多学习。
作者: hou3331    时间: 2013-11-22 15:41:22

若HSS不发送cancel location给MME的话,当手机从3G重新回到4G,MME是要先delete session再create session,还是可以有modify session的?
作者: hycl5410    时间: 2013-11-27 15:50:24

hou3331 发表于 2013-11-22 15:41
若HSS不发送cancel location给MME的话,当手机从3G重新回到4G,MME是要先delete session再create session, ...

首先肯定没有modify session的信令。
其次,什么情况下发delete session,在什么时候发delete session,则需要看具体场景(inter还是intra node,在3G上驻留了多久等)。





欢迎光临 51学通信技术论坛 (http://www.51xuetongxin.com/bbs/) Powered by Discuz! X2