为何要用GT-欣方公司内部整理资料

来源:互联网 发布:linux 复制全部内容 编辑:程序博客网 时间:2024/05/17 01:46

1.1 为何要用GT:

在信令网中每个信令点都有一个编码来唯一表示该信令点的存在,这个编码叫做信令地址,在我国信令地址的长度定义为24位,然而仅用一个这样的24位地址标识一个信令点有时是不方便的,比如交换机经常需要根据被叫号码的前几位来确定信令消息的路由,这就需要将被叫号码作为信令地址的一部分,信令系统中解决这个问题的办法就是引入GT地址,这个地址显然不同于24的信令地址,它需要一套特殊的定义,所有信令点遵守该定义并进行信令消息的交互。

我们知道信令地址有MTP层地址、SCCP层地址,交换机在发送消息时会根据SCCP层的主、被叫地址翻译成MTP层的信令地址,上面说的GT地址就存在于SCCP层。

1.2 SCCP地址概述:

sccp有主叫、被叫两个地址,他们的格式定义相同。

l Address

8

7

6

5

4

3

2

1

Address indicator  (1 byte)

Signalling point code  (3 byte)

Subsystem number  (1 byte)

Global title  (n byte)

l Address indicator

8

7

6

5

4

3

2

1

Reserved for national use

Routing indicator

Global title indicator

SSN indicator

Point code indicator

Pointcodeindicator : A “1” in bit 1 indicates that the address contains a signalling point code.

SSN indicator : A “1” in bit 2 indicates that the address contains a subsystem number.

Global title indicator : 

Bits 6543

0000 No global title included

0001 Global title includes nature of address indicator only

0010 Global title includes translation type only3)

0011 Global title includes translation type, numbering plan and encoding scheme3)

0100 Global title includes translation type, numbering plan, encoding scheme and nature of address indicator

Routing indicator :

A “0” in bit 7 indicates that routing should be based on the global title in the address.

A “1” in bit 7 indicates that routing should be based on the destination point code in the MTP routing label and the subsystem number information in the called party address.

l Global title :

GT地址有4类分别描述如下,其中Address information部分为具体的地址信息,为BCD格式,长度不定,其余部分为附加字节,对某一个网络或某一种交换机该部分码值相同,对交换机而言Address information部分有两种类型:固定类型、可变类型,固定类型指每一个交换机都对应一个固定码值来唯一描述该交换机,可变类型指交换机有多个码值与其对应,此时Address information的前几位对应同一个交换机,后面的地址信息是可变动部分。

Global title indicator = 0001

8

7

6

5

4

3

2

1

O/E

Nature of address indicator

Octet 1

Address information

Octet 2 and further

Global title indicator = 0010

8

7

6

5

4

3

2

1

Translation type

Octet 1

Address information

Octet 2
and further

Global title indicator = 0011

8

7

6

5

4

3

2

1

Translation type

Octet 1

Numbering plan

Encoding scheme

Octet 2

Address information

Octet 3
and further

Global title indicator = 0100

8

7

6

5

4

3

2

1

Translation type

Octet 1

Numbering plan

Encoding scheme

Octet 2

Spare

Nature of address indicator

Octet 3

Address information

Octet 4
and further


原创粉丝点击