51学通信技术论坛

 找回密码
 立即注册
搜索
查看: 3689|回复: 0

[一问一答] GTPV2消息中的instance字段是干什么的? [复制链接]

Rank: 9Rank: 9

发表于 2013-7-18 23:54:08 |显示全部楼层
一键分享 一键分享

如题:GTPV2消息中的instance字段是干什么的?

按照规范的解释:”- Instance: This field shall be used to differentiate amongst different parameters in one specific message which use the same information element type (see also subclause 6.1.3 "Information Element Instance").An IE is said to be TLIV (Type, Length, Instance, Value) encoded.“

可以看到,在GTPV2消息,比如常见的create session request/response消息里,都会包含instance这个字段。因为GTPV2的编码格式不是TLV,而是TLIV,多了个instance。用于标识同一种类型消息的多个实例。大部分消息字段的instance ID都为0。有例外的就是在create session response消息里通常会分配多个接口的GTP TEID,类型都是TEID,所以需要用instance来区分,一个是0,一个是1。

51学通信(www.51xuetongxin.com):致力打造最好的通信技术在线学习平台 。
您需要登录后才可以回帖 登录 | 立即注册

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

GMT+8, 2024-3-29 22:49 , Processed in 0.022963 second(s), 14 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部