是这样的。Gn接口目前采用的协议是GTPV1版本,所用到的所有消息均在TS29.060中的第7章(GTP Messages and Message Formats)中有详细说明。不是各厂家随便定的。是有统一的规范的。
以下列出Gn接口中所有的消息名称。如下所示:
(最常用的包括Create PDP Context Request/Response、Delete PDP Context Request/Response、Modify PDP Context Request/Response、SGSN Context Request/Response消息等等)。
7 GTP Messages and Message Formats 19
7.1 Message Formats 19
7.1.1 Presence requirements of Information Elements 21
7.2 Path Management Messages 21
7.2.1 Echo Request 21
7.2.2 Echo Response 22
7.2.3 Version Not Supported 22
7.2.4 Supported Extension Headers Notification 22
7.3 Tunnel Management Messages 23
7.3.1 Create PDP Context Request 23
7.3.2 Create PDP Context Response 26
7.3.3 Update PDP Context Request 30
7.3.4 Update PDP Context Response 34
7.3.5 Delete PDP Context Request 38
7.3.6 Delete PDP Context Response 39
7.3.7 Error Indication 40
7.3.8 PDU Notification Request 40
7.3.9 PDU Notification Response 41
7.3.10 PDU Notification Reject Request 42
7.3.11 PDU Notification Reject Response 42
7.3.12 Initiate PDP Context Activation Request 43
7.3.13 Initiate PDP Context Activation Response 44
7.4 Location Management Messages 45
7.4.1 Send Routeing Information for GPRS Request 45
7.4.2 Send Routeing Information for GPRS Response 45
7.4.3 Failure Report Request 46
7.4.4 Failure Report Response 46
7.4.5 Note MS GPRS Present Request 47
7.4.6 Note MS GPRS Present Response 47
7.5 Mobility Management Messages 48
7.5.0 General 48
7.5.1 Identification Request 48
7.5.2 Identification Response 49
7.5.3 SGSN Context Request 49
7.5.4 SGSN Context Response 51
7.5.5 SGSN Context Acknowledge 53
7.5.6 Forward Relocation Request 54
7.5.7 Forward Relocation Response 57
7.5.8 Forward Relocation Complete 59
7.5.9 Relocation Cancel Request 59
7.5.10 Relocation Cancel Response 59
7.5.11 Forward Relocation Complete Acknowledge 59
7.5.12 Forward SRNS Context Acknowledge 60
7.5.13 Forward SRNS Context 60
7.5.14 RAN Information Management Messages 61
7.5.14.1 RAN Information Relay 61
7.5A MBMS Messages 61
7.5A.1 UE Specific MBMS Messages 61
7.5A.1.1 MBMS Notification Request 61
7.5A.1.2 MBMS Notification Response 62
7.5A.1.3 MBMS Notification Reject Request 63
7.5A.1.4 MBMS Notification Reject Response 64
7.5A.1.5 Create MBMS Context Request 64
7.5A.1.6 Create MBMS Context Response 66
7.5A.1.7 Update MBMS Context Request 68
7.5A.1.8 Update MBMS Context Response 69
7.5A.1.9 Delete MBMS Context Request 71
7.5A.1.10 Delete MBMS Context Response 72
7.5A.2 Service Specific MBMS Messages 72
7.5A.2.1 MBMS Registration Request 73
7.5A.2.2 MBMS Registration Response 73
7.5A.2.3 MBMS De-registration Request 75
7.5A.2.4 MBMS De-Registration Response 75
7.5A.2.5 MBMS Session Start Request 76
7.5A.2.6 MBMS Session Start Response 77
7.5A.2.7 MBMS Session Stop Request 79
7.5A.2.8 MBMS Session Stop Response 79
7.5A.2.9 MBMS Session Update Request 80
7.5A.2.10 MBMS Session Update Response 81
再以Create PDP Context Response消息为例,消息中的内容也是定义好的。如下:
Table 6: Information Elements in a Create PDP Context Response
Information element | Presence requirement | Reference |
Cause | Mandatory | 7.7.1 |
Reordering required | Conditional | 7.7.6 |
Recovery | Optional | 7.7.11 |
Tunnel Endpoint Identifier Data I | Conditional | 7.7.13 |
Tunnel Endpoint Identifier Control Plane | Conditional | 7.7.14 |
NSAPI | Optional | 7.7.17 |
Charging ID | Conditional | 7.7.26 |
End User Address | Conditional | 7.7.27 |
Protocol Configuration Options | Optional | 7.7.31 |
GGSN Address for Control Plane | Conditional | GSN Address 7.7.32 |
GGSN Address for user traffic | Conditional | GSN Address 7.7.32 |
Alternative GGSN Address for Control Plane | Conditional | GSN Address 7.7.32 |
Alternative GGSN Address for user traffic | Conditional | GSN Address 7.7.32 |
Quality of Service Profile | Conditional | 7.7.34 |
Charging Gateway Address | Optional | 7.7.44 |
Alternative Charging Gateway Address | Optional | 7.7.44 |
Common Flags | Optional | 7.7.48 |
APN Restriction | Optional | 7.7.49 |
MS Info Change Reporting Action | Optional | 7.7.80 |
Bearer Control Mode | Optional | 7.7.83 |
Evolved Allocation/Retention Priority I | Optional | 7.7.91 |
APN-AMBR | Optional | 7.7.98 |
GGSN Back-Off Time | Optional | 7.7.102 |
Private Extension | Optional | 7.7.46 |
了解。
只能说部分是,例如IMSI、IMEI。但这并不是说中兴不合规范。因为信令话单不光是采集GTP层的数据。还有IP层、传输层的数据以及字节数统计等等。有些字段可能经过中兴自己的命名重新定义过了。例如后面有很多uid开头的字段,这些规范里没有直接说明,具体应该找中兴了解这些字段的内容是什么。例如uchapn不是标准规范中定义的名称,但也可能是中兴自己重新命了个名字,就是代表用户请求的APN(只是打个比方哈)。
没有冲突啊。Gn接口是一个逻辑接口,是有自己的协议栈的。GTP只是Gn接口的应用层协议。它仍然需要底层的IP层的承载。具体的协议栈是:
GTP-C:
GTP-C
UDP
IP
Eth
Physical
GTP-U:
用户Payload
GTP-U
UDP
IP
Eth
Physical
所以,采集的不光是最上层GTP协议本身的信息。还有下面的IP层信息等,可用于流量统计。另外,设备收到报文和发送的时间也是可以统计出来的。
欢迎光临 51学通信技术论坛 (http://51xuetongxin.com/bbs/) | Powered by Discuz! X2 |