要显示的说明的。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.”
我的理解是符合规范的。
参考这篇帖子:“从附着和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楼给出的截图和抓包并做个对比。
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.你说得很有道理。是我理解得不对,谢谢纠正。:)
我在4楼引用的规范来自23060,和你引用的规范描述是一致的。仔细从道理上也想了想,其实RAU就是一个附着的子集,附着肯定要用foreign,那RAU应该也是要用foreign。
总结一下,本帖提到了两个问题:
1)在附着请求和RAU Request消息中,MS应使用foreign tlli来标识自己。
2)如果要让新分配的local tlli生效,SGSN需要显示的通知BSC。即(BSSGP层会携带两个tlli,一个old,一个new)。
hycl5410 发表于 2012-12-5 22:51
comment一下
1)在附着请求和RAU Request消息中,MS应使用foreign tlli来标识自己。
其实关键不是ATTACH和 ...
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.欢迎光临 51学通信技术论坛 (http://51xuetongxin.com/bbs/) | Powered by Discuz! X2 |