51学通信技术论坛

 找回密码
 立即注册
搜索
楼主: 爱卫生

PDP上下文详解     [复制链接]

Rank: 2Rank: 2

发表于 2013-1-24 12:47:33 |显示全部楼层
wenliu 发表于 2013-1-24 10:51
”有一个证据就是从3G切换到LTE时,PGW会选定一个default bearer并下发到SGW/MME“

PGW怎么选择并不清楚。在29.274(GTPv2)中:

Table 7.2.8-1:Information Elements in a Modify Bearer Response

  

Information elements

  

P

Condition / Comment

IE Type

Ins.

  

Cause

  

M

Cause

0

  

MSISDN

  

C

This IE shall be included on S5/S8 interfaces  by the PGW if it is stored in its UE context and if this message is triggered  due to TAU/RAU/HO with SGW relocation.

MSISDN

0

  

Linked EPS  Bearer ID

  

C

This IE shall be  sent on S5/S8 when the UE moves from a Gn/Gp SGSN to the S4 SGSN or MME to  identify the default bearer the PGW selects for the PDN Connection.

  

This IE shall also be sent by SGW on S11, S4  during Gn/Gp SGSN to S4-SGSN/MME HO procedures to identify the default bearer  the PGW selects for the PDN Connection.

EBI

0


这个LBI就是PGW选定的default bearer ID。

使用道具 举报

Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7

版主 特殊贡献奖

发表于 2013-1-24 14:16:50 |显示全部楼层
本帖最后由 wenliu 于 2013-1-24 15:59 编辑

翻了一下29060 和 23401 ,这个default Beaer ID 认定分情况。不过感觉的确 GPRS这边 Primay 和2nd 这两者是的确同等对待。而LTE 中default 和dedicated 区别的更明显。、

对于GTPV1 和GTPV2 , SGSN -> MME Forward Relocation Req消息来讲:

使用S3 Interface的时候, Forward Relocation Request 消息中已经标出 Link EPS Bearer ID的 header ,所以随后Modify Bearer Resp中这个header是可以不带的。(但是GPRS 使用SGSN-SGW-PGW 的时候,不晓得这种情况下面的primay 和2nd 和使用SGSN-GGSN 下NSAPI 的Primary,secondary有没有区别)。

但是使用Gn interface, GTPV1的Forward Relocation Req消息中: 没有能直接给出有关NSAPI ,Linked NSAPI 和EBI 之间的绑定关系。
可能会根据Signallig Priority Indication with NSAPI来影响后面PGW的决定(MME 这时候不应该参与吧,毕竟用户面的是事情,MME作为接受方,这时候应该尽量维持住,由PGW根据和PCRF之间的Policy来决定,并根据优先级来选定default Bearer)。

不过这样看来,GPRS这边的Primary 和 secondary 地位的确一致。并且29060 在描述delete PDP context 的时候,也需要用Teardown Ind来决定是否能够全部释放去同一个PDN 的链接,而不是通过NSAPI来区分。
这样的话,如果不带Teardown Ind,而只带NSAPI,那么Primary删除,应该不会影响到secondary。

使用道具 举报

Rank: 2Rank: 2

发表于 2013-1-24 14:43:24 |显示全部楼层
29.060中Secondary PDP Context Activation Procedure:
Linked NSAPI indicates the NSAPI assigned to any one of the already activated PDP contexts for this PDP address or two IP addresses and APN.

点评

wenliu  这个在SGSN Gn/GP handover MME 时候,在Forward Location 消息中,并没有用LINKED NASPI header去标示。  发表于 2013-1-24 16:00:36

使用道具 举报

Rank: 2Rank: 2

发表于 2013-1-24 16:53:19 |显示全部楼层
Gn/Gp SGSN handover MME时,GTPv1的Forward Relocation Request消息中若干个PDP Context之间并没有Linked关系,应该只是通过PDP Address来识别是否同一个PDN吧?

使用道具 举报

Rank: 2Rank: 2

发表于 2013-1-24 16:57:26 |显示全部楼层
本帖最后由 ithinc 于 2013-1-24 19:04 编辑
wenliu 发表于 2013-1-24 14:16
翻了一下29060 和 23401 ,这个default Beaer ID 认定分情况。不过感觉的确 GPRS这边 Primay 和2nd 这两者是 ...
对于GTPV1 和GTPV2 , SGSN -> MME Forward Relocation Req消息来讲:

使用S3 Interface的时候, Forward Relocation Request 消息中已经标出 Link EPS Bearer ID的 header ,所以随后Modify Bearer Resp中这个header是可以不带的。(但是GPRS 使用SGSN-SGW-PGW 的时候,不晓得这种情况下面的primay 和2nd 和使用SGSN-GGSN 下NSAPI 的Primary,secondary有没有区别)。

但是使用Gn interface, GTPV1的Forward Relocation Req消息中: 没有能直接给出有关NSAPI ,Linked NSAPI 和EBI 之间的绑定关系。
可能会根据Signallig Priority Indication with NSAPI来影响后面PGW的决定(MME 这时候不应该参与吧,毕竟用户面的是事情,MME作为接受方,这时候应该尽量维持住,由PGW根据和PCRF之间的Policy来决定,并根据优先级来选定default Bearer)。

S3 Interface应该是S4-SGSN才用,S4-SGSN是有default bearer概念的。
Gn Interface的GTPv1 Forward Relocation Req消息中每个PDP Context都带有PDP Address和APN,每一对PDP Address和APN是可以唯一标记一条PDN Connection的。

使用道具 举报

Rank: 2Rank: 2

发表于 2013-1-24 19:06:27 |显示全部楼层
答案在23.060 13.2节:

> For  each active PDN connection with S‑GW (using S4):

Default bearer

Identifies the NSAPI of the default bearer,  corresponding to the PDP context which was first established within the given  PDN connection.

X

X


点评

wenliu  这个学习到了  发表于 2013-1-25 13:11:07
hycl5410  看到这样精彩的讨论真高兴  发表于 2013-1-24 22:39:05

使用道具 举报

Rank: 3Rank: 3Rank: 3

发表于 2013-7-27 21:50:40 |显示全部楼层
对于Multiple Primary PDP Contexts 这种情况,总觉得一个手机同一时刻有多个IP地址不大好理解。在安卓系统上通过软件查看手机的IP地址,只有一个呀,要是有抓包文件对应看一下就好了。

点评

admin  还有一些行业用户。安卓这种是大众用户。比如一些黑莓的用户,需要同时访问internet和黑莓的邮件,这就是两个APN。只是打个比方啦~  发表于 2013-7-29 20:40:39

使用道具 举报

Rank: 3Rank: 3Rank: 3

发表于 2013-8-1 20:18:54 |显示全部楼层
zzz 发表于 2013-7-27 21:50
对于Multiple Primary PDP Contexts 这种情况,总觉得一个手机同一时刻有多个IP地址不大好理解。在安卓系统 ...

是,现网中应用场景是众多呀,多谢点评!

使用道具 举报

Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

发表于 2014-6-4 08:43:30 |显示全部楼层
这里面很多问题,都期待答案...歇息

使用道具 举报

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

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

GMT+8, 2024-3-29 12:55 , Processed in 0.027482 second(s), 10 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部