SIGTRAN协议详解及MTP2及MTP3详解(6)

2019-03-16 19:13

信令与协议分册

?

第5章 SIGTRAN协议

ASP标识符(ASP Identifier)

当SGP通过预先配置的地址/端口数据,不能标识一个ASP时,需要使用ASP标识符。如一个ASP是由一个主机动态分配地址/端口数据的情况下。

可选的ASP标识符唯一标识支持同一个AS的某一个ASP。如果有必要的话,SGP应该保存ASP标识符在Notify消息中。

?

信息字符串(INFO string)

可选的信息字符串参数可以携带任何有意义的UTF-8 [6]字符串。信息字符串的长度从0到255八位位组。到目前为止,还没有程序使用信息字符串,但字符串可能会在调试中被用到。 (2) ASP Up Ack 如图5-20所示,ASP Up Ack消息包含了可选的信息字符串。ASP Up Ack中的信息字符串格式、描述与ASP Up消息中的信息字符串相同。 0 15 Parameter tag=0x04INFO stringParameter length31 图5-20 ASP Up Ack消息结构 (3) ASP Down 如图5-21所示,ASP Down消息包含了可选的信息字符串。ASP Down中的信息字符串格式、描述与ASP Up消息中的信息字符串相同。 0 15 Parameter tag=0x04INFO stringParameter length31 图5-21 ASP Down消息结构 (4) ASP Down Ack 如图5-22所示,ASP Down Ack消息包含了可选的信息字符串。ASP Down Ack中的信息字符串格式、描述与ASP Up消息中的信息字符串相同。 0 15 Parameter tag=0x04INFO stringParameter length31 图5-22 ASP Down Ack消息结构 5-25 信令与协议分册 第5章 SIGTRAN协议 (5) 心跳消息(Heartbeat) 如图5-23所示,心跳消息包含了可选的心跳数据参数(Heartbeat data)。 0 15 Parameter tag=0x09Parameter lengthHeartbeat data31 图5-23 Heartbeat消息结构 发送端定义心跳数据参数的内容。此参数可以包含一个心跳序列号和(或)时戳,或者其他执行的特殊内容。 心跳数据参数只对于发送方有意义,因此接收端收到心跳消息后,不会处理该参数。接收方通过心跳响应(Heartbeat Ack)消息,返回心跳数据参数的内容给发送方。 (6) 心跳响应消息(Heartbeat Ack) 如图5-24所示,心跳响应消息包含了可选的心跳数据参数(Heartbeat data)。Heartbeat Ack消息中的心跳数据参数的格式、定义与Heartbeat消息的心跳数据参数相同。 0 15 Parameter tag=0x09Parameter lengthHeartbeat data31 图5-24 Heartbeat Ack消息结构 7. ASP业务维护消息 ASP业务维护消息使用了公用消息头和M2UA消息头。 (1) ASP Active(ASP激活) 如图5-25、图5-26所示,根据接口标识符参数的格式分为文本和整数,ASP Active包括如下可选参数:业务模式类型(Traffic mode type)、接口标识符(Interface Identifier)、附加的接口标识符(Additional interface Identifier)和信息串(INFO string)。 5-26 信令与协议分册 0 15 Parameter tag=0x0b第5章 SIGTRAN协议 31Parameter length=8Traffic mode typeParameter tag=0x01(Integer)Parameter lengthInterface IdentifiersParameter tag=0x08(Integer range)Parameter lengthInterface Identifier start1Interface Identifier stop1Interface Identifier start2Interface Identifier stop2Interface Identifier start nInterface Identifier stop nAdditional Interface IdentifierParameter tag=0x04INFO stringParameter length 图5-25 ASP Active消息结构(接口标识符为整数型) 0 15 Parameter tag=0x0bParameter lengthTraffic mode typeParameter tag=0x03(String)Parameter length31Interface IdentifiersAdditional Interface IdentifiersParameter tag=0x04INFO stringParameter length 图5-26 ASP Active消息结构(接口标识符为字符串) ? 业务模式类型(Traffic mode type) 业务模式类型参数标识了在一个AS内ASP的操作业务类型,在一个AS中,只能使用话务模式类型,如表5-15所示,定义了三种业务模式类型。 5-27 信令与协议分册

表5-15 业务模式类型参数的取值、定义及含义

值 0x01 0x02 0x03 定义 Override(逾越) Load-share(负荷分担) Broadcast(广播) 第5章 SIGTRAN协议

含义 该ASP(逾越所有AS中当前激活的ASP)接管AS中的所有话务(即:主备操作) 该ASP与其它当前激活的ASP共享业务。 所有主用ASP接收AS中的所有消息业务。

?

接口标识符(Interface Identifiers)-可选参数

接口标识符包括了一组接口标识整数(类型0x01或类型0x08)或字符串(类型0x03),用于标识发送ASP配置或登记接收的AS业务。如果接口标识符为整数格式,ASP可以发送类型为0x08的接口标识符范围。类型为0x01和0x08的整数型接口标识符可以在同一个消息中共存。文本格式的接口标识符(0x03)不能与整数型的接口标识符(0x01和0x08)同时使用。

如果ASP Active消息中不包含接口标识符,则此消息用于一个或多个提供了ASP的AS内的所有接口标识符。如果一个AS内只提供了接口标识符的子集,则对于该AS提供的所有接口标识符而言,该ASP被标识为激活。

注意:

如果可选接口标识符参数存在,则必须支持整数型格式的接口标识符,文本型格式的接口标识符则未必支持。

?

信息串(INFO string)-可选参数

信息串的格式、描述与ASP Up消息中的信息串相同。 (2) ASP Active Ack(ASP激活响应)

如图5-27、图5-28所示,ASP Active Ack消息包括了如下可选参数:业务模式类型(Traffic mode type)、接口标识符(Interface Identifier)、附加的接口标识符(Additional interface Identifier)和信息串(INFO string)。

5-28

信令与协议分册 0 15 Parameter tag=0x0b第5章 SIGTRAN协议 31Parameter length=8Traffic mode typeParameter tag=0x01(Integer)Parameter lengthInterface IdentifiersParameter tag=0x08(Integer range)Parameter lengthInterface Identifier start1Interface Identifier stop1Interface Identifier start2Interface Identifier stop2Interface Identifier start nInterface Identifier stop nAdditional Interface Identifier of Tag type 0x1 or type 0x8Parameter tag=0x04INFO stringParameter length 图5-27 ASP Active Ack消息结构(接口标识符为整数型) 0 15 Parameter tag=0x0bParameter lengthTraffic mode typeParameter tag=0x03(String)Parameter length31Interface IdentifiersAdditional Interface IdentifiersParameter tag=0x04INFO stringParameter length 图5-28 ASP Active Ack消息结构(接口标识符为字符串型) 可选的信息字符串参数的格式、描述与ASP Up消息的内容相同。 可选接口标识符参数的格式与ASP Active消息的内容相同。 (3) ASP Inactive(ASP去激活) 如图5-29、图5-30所示,ASP Inactive消息包括了如下可选参数:接口标识符(Interface Identifier)和信息串(INFO string)。 5-29


SIGTRAN协议详解及MTP2及MTP3详解(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:人教数学四年级上册周测培优卷11除数是两位数的除法的应用能力检

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: