51学通信技术论坛

 找回密码
 立即注册
搜索
查看: 7264|回复: 13
打印 上一主题 下一主题

Gb接口TLLI变化问题   [复制链接]

Rank: 2Rank: 2

跳转到指定楼层
楼主
发表于 2012-12-3 18:12:39 |只看该作者 |倒序浏览
一键分享 一键分享
请问,Gb接口,TLLI的改变是否都要在消息中显示的说明。
比如,TLLI改变,要在BSSGP层放两个TLLI,以标识TLLI改变。
还是说在P-TMSI重新分配成功后,可以不显示的指示TLLI,而直接使用新的TLLI呢??

Rank: 9Rank: 9

懒

沙发
发表于 2012-12-3 19:14:28 |只看该作者

要显示的说明的。SGSN是BSC的老板,员工要听老板的。规范是这么说的:“

An SGSN provides the BSSGP with a current TLLI, identifying the MS. If an SGSN provides a second TLLI, indicating that an MS has recently changed its TLLI, this shall be considered as the "old" TLLI. A BSS uses the "old" TLLI to locate an MS's existing context. Subsequent uplink data transfers for this MS shall reference the current TLLI, and not the old TLLI.”

www.gprshome.com: GPRS及移动通信技术学习交流分享平台。

使用道具 举报

Rank: 2Rank: 2

板凳
发表于 2012-12-3 22:40:43 |只看该作者
爱卫生 发表于 2012-12-3 19:14
要显示的说明的。SGSN是BSC的老板,员工要听老板的。规范是这么说的:“ An SGSN provides the BSSGP with  ...

谢谢爱总
那MS在进行路由更新的时候,TLLI是不是要将Local TLLI转换为foreign TLLI,然后直接在BSSGP层使用呢。
按照我的理解,进行周期路由更新,使用Local TLLI,实际发生了路由区更新,使用foreign TLLI。
但是我看现网数据包,好像进行路由区更新的时候,也是使用的Local TLLI。
下图,周期路由更新,使用的local TLLI


下图,路由区更新,也是使用的local TLLI,这个是不是违反规范的???

附件: 你需要登录才可以下载或查看附件。没有帐号?立即注册

使用道具 举报

Rank: 9Rank: 9

懒

地板
发表于 2012-12-3 23:12:38 |只看该作者
lijiebin 发表于 2012-12-3 22:40
谢谢爱总
那MS在进行路由更新的时候,TLLI是不是要将Local TLLI转换为foreign TLLI,然后直接在BSSGP层使 ...

我的理解是符合规范的。

参考这篇帖子:“从附着和PDP激活流程看Local和Foreigh TLLI的变化”http://www.gprshome.com/forum.php?mod=viewthread&tid=603

引用一段规范:“If the MS has a valid P TMSI associated with the RA where the MS is currently located, the MS shall use a Local TLLI derived from its P TMSI, unless the MS performs a GPRS attach.
  If the MS does not have a valid P TMSI associated with the current RA, or if the MS performs a GPRS attach, it shall derive a Foreign TLLI from its P TMSI, or allocate a Random TLLI if no valid P TMSI is available”

上述说的是MS发起GPRS附着的时候或者在当前RA没有得到一个有效的P-TMSI的时候,应该使用Foreign TLLI。其他时刻应该使用Local TLLI。

另外,还有一个Local TLLI何时生效的问题,实际上是SGSN会给BSC一个指示,同时提供两个TLLI,一个current,一个old TLLI。然后BSC和MS会有无线侧(TBF)的信令交互,指示MS更新TLLI。更新完成后,MS后续的消息应该都是使用Local TLLI来标识自己的。

An SGSN provides the BSSGP with a current TLLI, identifying the MS. If an SGSN provides a second TLLI, indicating that an MS has recently changed its TLLI, this shall be considered as the "old" TLLI. A BSS uses the "old" TLLI to locate an MS's existing context. Subsequent uplink data transfers for this MS shall reference the current TLLI, and not the old TLLI.”

可以看一下上面链接贴子中,楼主以及10楼给出的截图和抓包并做个对比。

www.gprshome.com: GPRS及移动通信技术学习交流分享平台。

使用道具 举报

Rank: 2Rank: 2

5#
发表于 2012-12-4 15:10:52 |只看该作者
谁有RAU过程TLLI变化的包,求一个!谢啦
开始是使用local TLLI正常传输 然后用 foreign TLLI 进行RAU,然后TLLI变化

使用道具 举报

Rank: 9Rank: 9

懒

6#
发表于 2012-12-4 20:43:32 |只看该作者
4楼给出的链接中的10楼和楼主都有抓包。但RAU用foreign tlli的真的没见过。因为4楼提到的规范说明是说附着才用foreign tlli。如果有有效的P-TMSI,那就应该根据该P-TMSI生成一个local tlli来标识自己。RAU流程,MS肯定已经有一个有效的P-TMSI,所以应该是用local tlli。

使用道具 举报

Rank: 2Rank: 2

7#
发表于 2012-12-4 23:44:37 |只看该作者
爱卫生 发表于 2012-12-4 20:43
4楼给出的链接中的10楼和楼主都有抓包。但RAU用foreign tlli的真的没见过。因为4楼提到的规范说明是说附着才 ...

爱总您好,
RAU流程,MS是有一个有效的P-TMSI,但那是在旧路由区有效的,因为P-TMSI好像只在路由区内唯一
但是进入到一个新的路由区时,是要重新分配P-TMSI。规范上好像是要求使用foreign TLLI的。
附件是我找的一个使用foreign TLLI进行路由更新的包。
3GPP TS 24.008 4.7.1.4.1

If the MS has stored a valid P-TMSI, the MS shallderive a foreign TLLI from that P-TMSI and shall use it for transmission ofthe:

-     ATTACHREQUEST message of any GPRS combined/non-combined attach procedure; other GMMmessages sent during this procedure shall be transmitted using the same foreignTLLI until the ATTACH ACCEPT message or the ATTACH REJECT message is received;and

-     ROUTINGAREA UPDATE REQUEST message of a combined/non-combined RAU procedure if the MShas entered a new routing area, or if the GPRS update status is not equal toGU1 UPDATED. Other GMM messages sent during this procedure shall be transmittedusing the same foreign TLLI, until the ROUTING AREA UPDATE ACCEPT message orthe ROUTING AREA UPDATE REJECT message is received.

         After a successful GPRS attach orrouting area update procedure, independent whether a new P-TMSI is assigned, ifthe MS has stored a valid P-TMSI then the MS shall derive a local TLLI from thestored P-TMSI and shall use it for addressing at lower layers.



附件: 你需要登录才可以下载或查看附件。没有帐号?立即注册

使用道具 举报

Rank: 9Rank: 9

懒

8#
发表于 2012-12-5 15:32:58 |只看该作者
lijiebin 发表于 2012-12-4 23:44
爱总您好,
RAU流程,MS是有一个有效的P-TMSI,但那是在旧路由区有效的,因为P-TMSI好像只在路由区内唯一 ...

你说得很有道理。是我理解得不对,谢谢纠正。:)

我在4楼引用的规范来自23060,和你引用的规范描述是一致的。仔细从道理上也想了想,其实RAU就是一个附着的子集,附着肯定要用foreign,那RAU应该也是要用foreign。

总结一下,本帖提到了两个问题:

1)在附着请求和RAU Request消息中,MS应使用foreign tlli来标识自己。

2)如果要让新分配的local tlli生效,SGSN需要显示的通知BSC。即(BSSGP层会携带两个tlli,一个old,一个new)。

www.gprshome.com: GPRS及移动通信技术学习交流分享平台。

使用道具 举报

Rank: 8

VIP 论坛核心会员 特殊贡献奖

9#
发表于 2012-12-5 22:51:04 |只看该作者
comment一下
1)在附着请求和RAU Request消息中,MS应使用foreign tlli来标识自己。
其实关键不是ATTACH和RAU,而是RA变化。两个反例:
SGSN发起的DETACH并且要求RE-ATTACH(假设RA没有变),或者原地关机开机等
periodic RAU

觉得合理的情况是,UE判断当前广播的RA和自己上次驻留的RA是否发生变化,是则用foreign tlli

更极端的一个例子,UE使用local tlli向SGSN发数据,SGSN检查后发现没有UE有效数据,发detach req(原因为implicit detached),UE回detach accp都用上了foreign tlli

所以扩展的理解是 local tlli是“被确认的自己人”,否则就不能用。

使用道具 举报

Rank: 2Rank: 2

10#
发表于 2012-12-5 23:00:48 |只看该作者
hycl5410 发表于 2012-12-5 22:51
comment一下
1)在附着请求和RAU Request消息中,MS应使用foreign tlli来标识自己。
其实关键不是ATTACH和 ...

谢谢!
在RAU之前,MS使用local TLLI,那么在RAU的时候,有可能使用foreign TLLI。
那么这个 TLLI的变化,MS是不进行通知,而是直接使用的??
MS可以使Local TLLI变为Foreign TLLI而不对SGSN通知吗?

使用道具 举报

Rank: 8

VIP 论坛核心会员 特殊贡献奖

11#
发表于 2012-12-5 23:17:45 |只看该作者
本帖最后由 hycl5410 于 2012-12-5 23:23 编辑

咱们把问题拆开了说,由简入深:
假设这个RAU是跨了SGSN的:
MS在新SGSN用foreign tlli发RAU(假设有有效P-TMSI),由于P-TMSI不是新SGSN分的,那么foreign tlli完全不会对新SGSN造成困扰。对于新SGSN来说,对于这个MS压根就不存在local tlli这回事(RAU complete之前)。

然后来看SGSN内的RAU,按照协议精神,P-TMSI是RA内有效(尽管有些厂家是SGSN内有效)。想象一下,如果RAU使用了local tlli会有什么风险?
串号(风险而已,很多办法可以规避),或者导致其他什么异常情况。

当然,这一切分析都是建立在大家都遵照协议规定的前提下。手机厂商不一定完全遵守,而网络厂商也一定会在软件上增加了很多规避措施。

其实我都很少去关注TLLI,转来转去的怪麻烦的,有效的东西都在P-TMSI里

使用道具 举报

Rank: 4Rank: 4Rank: 4Rank: 4

12#
发表于 2012-12-7 17:29:47 |只看该作者
hycl5410 发表于 2012-12-5 23:17
咱们把问题拆开了说,由简入深:
假设这个RAU是跨了SGSN的:
MS在新SGSN用foreign tlli发RAU(假设有有效 ...

个人对TLLI的理解跟[size=11.818181991577148px]hycl5410大侠就一点有出入,就是在attach的时候,如果MS存有有效的P-TMSI,不管MS发现自己所处的RA是否发生了变化,MS都是使用foreign TLLI,依据的是1)If the MS has a valid P TMSI associated with the RA where the MS is currently located, the MS shall use a Local TLLI derived from its P TMSI, unless the MS performs a GPRS attach.”
2)  ATTACH REQUEST message of any GPRS combined/non-combined attach procedure; other GMM messages sent during this procedure shall be transmitted using the same foreignTLLI until the ATTACH ACCEPT message or the ATTACH REJECT message is received;
至于RAU,和您说的情况一样,要依据是否RA发生了变化,

ROUTING AREA UPDATE REQUEST message of a combined/non-combined RAU procedure if the MS has entered a new routing area, or if the GPRS update status is not equal to GU1 UPDATED. Other GMM messages sent during this procedure shall be transmitted using the same foreign TLLI, until the ROUTING AREA UPDATE ACCEPT message orthe ROUTING AREA UPDATE REJECT message is received.


生活是一段一段的~

使用道具 举报

Rank: 8

VIP 论坛核心会员 特殊贡献奖

13#
发表于 2012-12-7 17:39:03 |只看该作者
Mr_Muscle 发表于 2012-12-7 17:29
个人对TLLI的理解跟hycl5410大侠就一点有出入,就是在attach的时候,如果MS存有有效的P-TMSI ...

还真是这样,多谢提醒~以前都没注意看。

借用楼上的TS statement

3GPP TS 24.008 4.7.1.4.1

If the MS has stored a valid P-TMSI, the MS shallderive a foreign TLLI from that P-TMSI and shall use it for transmission ofthe:

-     ATTACHREQUEST message of any GPRS combined/non-combined attach procedure; other GMMmessages sent during this procedure shall be transmitted using the same foreignTLLI until the ATTACH ACCEPT message or the ATTACH REJECT message is received;and

-     ROUTINGAREA UPDATE REQUEST message of a combined/non-combined RAU procedure if the MShas entered a new routing area, or if the GPRS update status is not equal toGU1 UPDATED. Other GMM messages sent during this procedure shall be transmittedusing the same foreign TLLI, until the ROUTING AREA UPDATE ACCEPT message orthe ROUTING AREA UPDATE REJECT message is received.

         After a successful GPRS attach orrouting area update procedure, independent whether a new P-TMSI is assigned, ifthe MS has stored a valid P-TMSI then the MS shall derive a local TLLI from thestored P-TMSI and shall use it for addressing at lower layers.

使用道具 举报

Rank: 3Rank: 3Rank: 3

14#
发表于 2013-8-17 10:16:55 |只看该作者
精辟,学习了

使用道具 举报

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

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

GMT+8, 2024-5-20 01:28 , Processed in 0.184953 second(s), 13 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部