7. Qos的相关规范和文档
24.008 Core network protocols
23.107 QoS Concept and Architecture
8. Qos的作用
在3G系统中,通过Qos保证机制的支持(也即服务质量的支持)可以实现业务的分级服务及用户的分类服务功能,即实现:
1) 不同的业务可分配不同的资源以保证其所属业务级别的业务质量,同时使网络具有合理的资源利用率;
2) 不同的用户可签约不同的服务级别,从而获得其所属类型的质量要求。
3G 网络服务质量(QOS)的实现机制如下:
1) HLR中对每个用户所能够获得的业务类型应设置相应的QoS参数;
2) 终端采用3GPP 规定的标准QoS 协商流程, 发起业务时需携带QoS 参数; 3) 网络侧需要能够根据HLR 中签约数据和业务的Qos 需求来分配资源,保证业务质量。
用户分类服务的目的主要是满足不同级别用户,不同的业务质量的需求。其基本机制包括数据业务用户的分类服务机制和话音业务用户的分类服务机制:
数据业务用户分类服务机制:数据业务实现用户分类服务,主要功能要求如下:
1) 能够给予不同类别用户在使用相同业务时,使用不同的业务速率;
2) 在资源紧张时,用户能降速接入网络,高类别用户在接入时能够抢占低类别用户资源接入网络;
3) 在资源紧张时,处于连接状态的用户能够降低正在使用的业务速率以保证网络稳定性。在降速的顺序上,要优先考虑用户类别,再考虑业务的重要程度,最后考虑业务承载类型;
4) 对于用户使用非实时业务,要求为高优先级用户的非实时业务设置较高的最低保障速率,在资源紧张时,做降速率处理时用户速率不低于最低保障速率。 话音业务用户分类服务机制:
对于3G话音业务,要求有给予不同类别的用户在业务建立阶段分配不同的话音编码速率的功能。且能够根据网络资源紧张情况灵活打开/关闭该功能。
业务级别 会话级别 conversational 流级别 streaming 交互级别 interactive 特点 对时延和时延抖动要求严格、对丢包/误码率有较强容忍度 对时延抖动要求严格、对时延、丢包/误码率有较强容忍度 对时延性要求较高,对时延抖动没有要求,对丢包/误码率要求高 应用示例 VoIP、分组域的可视电话 流媒体 位置服务、WAP浏览 后台级别 background 对时延要求不高,对时延抖动没有要求,对丢包/误码率要求高 手机邮箱 9. HLR中qos的设置
HLR中要么给用户设置R97/98的qos,要么给用户设置R99的qos。SGSN将根据规范进行qos的自动映射。
9.1 R97/98 qos和R99 qos的互相转化
R97/R98=>R99:
Table 6: Rules for determining R99 attributes from R97/98 attributes
Resulting R99 Attribute Name Traffic class Value Interactive Background Traffic handling priority 1 2 3 SDU error ratio 10 10 10 Residual bit error ratio 10 4*10 Delivery of erroneous SDUs 'no' 'yes' Maximum bitrate [kbps] 8 16 32 64 128 256 512 1024 2048 Allocation/Retention priority 1 2 3 Delivery order yes' 'no' Maximum SDU size 1 500 octets -3-5-3-4-6Derived from R97/98 Attribute Value 1, 2, 3 4 1 2 3 1, 2 3 4, 5 1, 2, 3, 4 5 1, 2, 3, 4 5 1 2 3 4 5 6 7 8 9 1 2 3 yes' 'no' (Fixed value) Reordering Required (Information in the SGSN and the GGSN PDP Contexts) Precedence class Peak throughput class Reliability class Reliability class Reliability class Delay class Delay class Name
R99=>R97/R98:
Table 7: Rules for determining R97/98 attributes from R99 attributes
Resulting R97/98 Attribute Name Delay class 1 1 1 Value Derived from R99 Attribute Value conversational streaming Interactive 1 2 Interactive 2 3 Interactive 3 4 Reliability class 2 3 4 Background <= 10 10 < x <= 5*10 > 5*10 <= 2*10 5 > 5*10 > 2*10 Peak throughput class 1 2 3 4 5 6 7 8 9 Precedence class 1 2 3 Mean throughput class Reordering Required (Information in the SGSN and the GGSN PDP Contexts) Always set to 31 yes' 'no' < 16 16 <= x < 32 32 <= x < 64 64 <= x < 128 128 <= x < 25 256 <= x < 512 512 <= x < 1024 1024 <= x < 2048 >= 2048 1 2 3 - yes' 'no' Delivery order Allocation/retention priority -4-4-4-4-5-4-5Name Traffic class Traffic class Traffic class Traffic handling priority Traffic class Traffic handling priority Traffic class Traffic handling priority Traffic class SDU error ratio SDU error ratio SDU error ratio Residual bit error ratio SDU error ratio Residual bit error ratio Maximum bitrate [kbps] 9.2 西门子HLR的qos设置
西门子关于QOS的定义如下:
PRECED PRECEDENCE CLASS
This parameter specifies the precedence class of the service.
This parameter only accepts a single value entry. HIGH HIGH PRECEDENCE
NORMAL NORMAL PRECEDENCE LOW LOW PRECEDENCE DELAY DELAY
This parameter specifies the delay class of the service. This parameter only accepts a single value entry. LOW LOW DELAY
NORMAL NORMAL DELAY HIGH HIGH DELAY BESTEFRT BEST EFFORT RELIAB RELIABILITY CLASS
This parameter specifies the reliability class of the service. This parameter only accepts a single value entry. RCL1 RELIABILITY CLASS 1
Non real-time traffic, error sensitive application that cannot cope with data loss RCL2 RELIABILITY CLASS 2
Non real-time traffic, error sensitive application that can cope with infrequent data loss RCL3 RELIABILITY CLASS 3
Non real-time traffic, error sensitive application that can cope with data loss RCL4 RELIABILITY CLASS 4
Real-time traffic, error sensitive application that can cope with data loss RCL5 RELIABILITY CLASS 5
Real-time traffic, error non-sensitive application that can cope with data loss
PTHRPUT PEAK THROUGHPUT CLASS
This parameter specifies the peak throughput class of the service. This parameter only accepts a single value entry. P8K 8 kbit/s P16K 16 kbit/s P32K 32 kbit/s P64K 64 kbit/s P128K 128 kbit/s P256K 256 kbit/s P512K 512 kbit/s P1024K 1024 kbit/s P2048K 2048 kbit/s
MTHRPUT MEAN THROUGHPUT CLASS
This parameter specifies the mean throughput class of the service. This parameter only accepts a single value entry. BESTEFRT BEST EFFORT M02 0.22 bit/s M04 0.44 bit/s M1 1.11 bit/s M2 2.2 bit/s M4 4.4 bit/s M11 11 bit/s M22 22 bit/s M44 44 bit/s M111 111 bit/s M222 222 bit/s M444 444 bit/s
M1K 1 kbit/s M2K 2 kbit/s M4K 4 kbit/s M11K 11 kbit/s M22K 22 kbit/s M44K 44 kbit/s M111K 111 kbit/s
460010508984458的Delay class为NORMAL,关于您提到的Traffic class我感觉好像应该为西门子定义的RELIABILITY CLASS,如果是的话西门子定义为RCL1,
9.3 华为HLR的qos设置
参数ID 参数名称 参数含义 可靠性级别。可靠性级别指明一个应用需要的传输特性。可靠性级别定义了SDUs丢失、重复、错序或发生不可检测的错误的可能性。可靠性级别分为5个级别。 ACKALLPRODT:Acknowledged GTP, LLC, and RLC; Protected data,即公认的GTP(GPRS隧道协议)、LLC和RLC,受保护的数据。 ACKLLCRLCPRODT :Unacknowledged GTP; Acknowledged LLC and RLC, Protected data,即非公认的GTP,公认的LLC和RLC,受保护的数据。 RELCLS 可靠性级别 ACKRLCPRODT :Unacknowledged GTP and ACKALLPRODT LLC; Acknowledged RLC, Protected data,即非公认的GTP和 LLC,公认的RLC,受保护的数据。 UACKALLPRODT :Unacknowledged GTP, LLC, and RLC, Protected data,即非公认的GTP(GPRS隧道协议)、LLC和RLC,受保护的数据。 UACKALLUPRODT-:Unacknowledged GTP, LLC, and RLC, Unprotected data,即非公认的GTP(GPRS隧道协议)、LLC和RLC,不受保护的数据。 建议设置为ACKRLCPRODT。 Delay Class,延迟级别。表明在GPRS网络中传输SDUs时的端到端的时延的级别。 延迟级别分为四级,级别越高,延迟时间越长。 DELAY1 :延迟级别1 DELAYCLS 延迟级别 DELAY2 :延迟级别2 DELAY3 :延迟级别3 DELAY4 :延迟级别4 建议设置为DELAY4。 DELAY4 目前配置