本帖最后由 爱卫生 于 2012-8-21 21:55 编辑
摘自规范TS29.210-Charging rule provisioning over Gx。 这部分的介绍是:“ The Charging-Rule-Install AVP (AVP code 1001) is of type Grouped, and it is used to activate, install or modify charging rules for a bearer as instructed from the CRF to the TPF. For installing a new charging rule or modifying a Charging Rule already installed, Charging-Rule-Name AVP and Charging-Rule-Definition AVP shall be used. For activating a specific charging rule predefined at the TPF, Charging-Rule-Name AVP shall be used as a reference for that charging rule. The Charging-Rule-Base-Name AVP is a reference that may be used for activating a group of charging rules predefined at the TPF. AVP Format: Charging-Rule-Install ::= < AVP Header: 1001 > *[ Charging-Rule-Definition ] *[ Charging-Rule-Name ] *[ Charging-Rule-Base-Name ] *[ AVP ] Charging-Rule-Install AVP是非常重要的AVP,负责PCRF向PCEF下发、激活以及修改对应到某一个PDP上下文或EPS Bearer的Charging Rule,这个Charging Rule可以控制对用户的授权即是否允许PDP激活成功。规范中老版本将PCRF和PCEF对应称之为CRF(Charging Rule Function)和TPF(Traffic Plane Function)。通过接收PCRF下发的策略。PCEF可以完成和PDP上下文的Qos(或者EPC中的Bearer)的绑定。 这个AVP也可以用于激活配置在PCEF上的一个Charging Rule。即PCRF告诉PCEF要用本地配置的哪个Charging Rule。这些Charging Rule事先要在PCEF上本地配置好。 由于Charging Rule是由PCRF主动下发,因此该AVP通常出现在CCA或RAR消息中。而不是CCR。 给出一个该AVP的实例截图: |