51学通信技术论坛

 找回密码
 立即注册
搜索
楼主: 爱卫生
打印 上一主题 下一主题

看包详解带3GDT的PDP上下文激活流程     [复制链接]

Rank: 8

义 超级之星 勤 论坛核心会员

19#
发表于 2012-9-24 22:34:54 |只看该作者
In case of a pre-release 7 GGSN, error indications from the RNC are treated as if they came from the SGSN, and the GGSN deletes the PDP context without informing the SGSN. This results in a hanging PDP context in the SGSN and User Equipment (UE), which is resolved at the next connection establishment.

With a release 7 GGSN, the PDP context is not deleted but the SGSN is informed and the Radio Access Bearer (RAB) can be reestablished.

Therefore during an ISRAU, the SGSN checks if the GGSN supports 3GDT based on 3GPP release 7, using the optional Private Extension Information Element (IE) in the Forward Relocation Request and SGSN Context Response messages. If there is no optional Private Extension IE, it means the GGSN does not support 3GDT based on 3GPP release 7 or the old SGSN does not support the optional Private Extension IE, therefore 3GDT is not used.


在R7之前的GGSN中,来自RNC的错误指示error indication会被认为来自SGSN,于是GGSN会删除PDP上下文并且不会通知SGSN。这样会导致SGSN和MS中会吊死(该)PDP上下文。这个问题会在下一次连接建立时解决。

    对于R7 GGSN,该PDP上下文不会被删除,不过会通知SGSN,RAB可以重新建立。

    因此在ISRAU中,SGSN可以检查GGSN是否支持R7的3GDT,方式是在Forward Relocation Request和SGSN Context Response消息中使用可选的私有扩展IE。    如果没有可选的私有扩展IE的话,就意味着GGSN不支持R7的3GDT或者老的SGSN不支持该可选私有扩展IE,于是就不会使用3GDT。


爱总你看这段怎么理解?
虽然翻译出来了,但还是有些不理解。

R7之前GGSN收到错误指示会删除PDP上下文?
“对于R7 GGSN,该PDP上下文不会被删除,不过会通知SGSN,RAB可以重新建立。”怎么理解?

使用道具 举报

Rank: 9Rank: 9

20#
发表于 2012-9-25 20:39:09 |只看该作者
yonka 发表于 2012-9-24 22:34
In case of a pre-release 7 GGSN, error indications from the RNC are treated as if they came from the ...


这段话是这么理解的:

预置条件:

1)基于3GDT的PDP上下文已经激活。

2)UE开始发送和接收数据,RNC和GGSN之间传送用户数据。

3)GGSN发送下行数据给RNC,但RNC发现没有对应的RAB对应。RNC丢弃该GTP-U PDU并通过GTP-U的Error Indication通知GGSN。

- 这时,如果该GGSN是3GPP R7版本之前的,那么它是不支持3GDT的(3GDT是在3GPP R7才有的)。因此,RNC送过来的用户面error indication,GGSN仍将认为是SGSN送过来的(因为R7之前的GGSN认为控制和用户面都是和SGSN通信,而没有RNC),因此既然认为是SGSN送过来的,那自然不会再通知SGSN了。这样就可能导致该PDP上下文已经在GGSN侧被释放,而SGSN侧由于没有得到任何通知,所以还认为这是一个有效的PDP上下文。这就叫hanging的PDP上下文。SGSN和GGSN上的状态不同步了。

- 如果该GGSN是3GPP R7之后的,那是支持3GDT的,所以能够分别出该错误指示是RNC发过来的。因此,GGSN将通知SGSN做相应的处理,PDP上下文不会释放。但SGSN收到通知后会将RAB释放掉。

点评

yonka  噢,明白了。还是对GTP的信令不太了解所致。 这么说在不使用3GDT时,当SGSN在GTP-U面向GGSN发错误指示的话GGSN会删除该PDP而不通知SGSN对吗?SGSN呢?发出指示后自己怎么处理? 谢谢  发表于 2012-9-25 20:45:09
51学通信(www.51xuetongxin.com):致力打造最好的通信技术在线学习平台 。

使用道具 举报

Rank: 9Rank: 9

21#
发表于 2012-9-25 21:08:14 |只看该作者
admin 发表于 2012-9-25 20:39
这段话是这么理解的: 预置条件: 1)基于3GDT的PDP上下文已经激活。 2)UE开始发送和接收数据,RNC和GGS ...

不好意思,上面的说法有点不正确。文字已经更正。

查了下规范23007,这种场景下RNC发送error indication,并不是RNC的用户面出现了什么问题。而是RNC收到了下行方向GGSN侧的用户数据,但某种原因RNC侧的RAB已经释放了,RNC采取的操作时丢弃该下行数据并发送error indication给GGSN。通过该指示,还可以通知GGSN fallback到非3GDT的环境下。原文如下:“

When the RNC/BSC receives a GTP U PDU for which no RAB context exists, the RNC/BSC shall discard the GTP U PDU and return a GTP error indication to the originating node that may be SGSN or GGSN if Direct Tunnel is established.”

如果是SGSN的话,SGSN也应丢弃该下行PDU并发送error indication通知GGSN。“When the SGSN receives a GTP U PDU from the GGSN for which no PDP context exists, it shall discard the GTP U PDU and send a GTP error indication to the originating GGSN.”

GGSN也是一样的。“When the GGSN receives a GTP U PDU for which no PDP context exists, it shall discard the GTP U PDU and return a a GTP error indication to the originating node (the SGSN or, if Direct Tunnel is established, the RNC).”

如果是UE正在发送上行数据的情况下出现了这种事,那GGSN将通知SGSN错误指示,SGSN将因此去激活PDP上下文,MS也要去激活PDP上下文。原文:“When the GGSN receives a tunnel PDU for which no PDP context exists it discards the tunnel PDU and sends an Error indication message to the originating SGSN. The SGSN deactivates the PDP context and sends an Error indication to the MS. The MS may then re-activate the PDP context.”

51学通信(www.51xuetongxin.com):致力打造最好的通信技术在线学习平台 。

使用道具 举报

Rank: 2Rank: 2

22#
发表于 2012-12-28 14:07:48 |只看该作者
非常感谢,搞明白了

使用道具 举报

Rank: 1

23#
发表于 2013-3-30 23:11:53 |只看该作者
学习下!

使用道具 举报

Rank: 3Rank: 3Rank: 3

24#
发表于 2013-8-17 10:11:29 |只看该作者
版主,我想学习一下,没权下载附件啊,帮帮忙啊

使用道具 举报

Rank: 3Rank: 3Rank: 3

25#
发表于 2013-9-5 15:17:07 |只看该作者
请问爱总,3GDT现网用的多吗?谢谢~

点评

爱卫生  悄悄的告诉你。联通用的比较多。呵呵~一般人我不告诉他。:)  发表于 2013-9-5 18:12:56

使用道具 举报

Rank: 1

26#
发表于 2014-5-7 16:10:05 |只看该作者
版主解释的很专业  功力深厚 虽然刚接触GPRS核心网不久,但是看版主的文章,图文并茂,还有抓包可供参考,感觉很容易就理解了

使用道具 举报

Rank: 2Rank: 2

27#
发表于 2014-5-8 13:50:31 |只看该作者
非常详细,很适合新手理解。

使用道具 举报

Rank: 3Rank: 3Rank: 3

28#
发表于 2014-8-20 12:55:47 |只看该作者
爱总,怎么样才能获得权限

使用道具 举报

Rank: 2Rank: 2

29#
发表于 2015-1-9 15:10:48 |只看该作者
赞一个

使用道具 举报

Rank: 2Rank: 2

30#
发表于 2015-9-22 10:18:55 |只看该作者
版主总结的很好!赞

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

站长邮箱|Archiver|51学通信 ( 粤ICP备11025688 )

GMT+8, 2024-4-27 16:31 , Processed in 0.024240 second(s), 10 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部