5G核心网学习平台
PCF 实践篇 #32

PCF支持对pccrule的条件规则管控(refCondData)

《5G核心网原理与实践》实践篇 · PCF 网元功能

PCF支持对pccrule的条件规则管控(refCondData)

爱卫生

2023年08月23日 23:20

1 测试目的

- 验证PCF是否支持向SMF下发基于带条件的PCCrule。

2 测试步骤

1)UE发起PDU会话建立流程,SMF请求PCF提供sm-policy。

2)PCF给SMF的response消息中携带refCondData条件规则,指示规则生效的条件。condId指示生效条

件的标识,"activationTime" 和"deactivationTime"参数指明规则激活和去激活的时间,并且伴随下发一条

pccrule。例如对FTP业务限速到512kbps。

3)SMF收到后仅在条件规则的指定时间内对FTP业务进行限速。

3 主要的检查点:

1)在PDU会话建立流程中,PCF通过N7接口是否向SMF下发refCondData条件规则。

2)SMF是否按照PCF的refCondData条件规则要求,对业务进行Qos管控。

4 log解析

4.1)PCF下发的策略中包含refCondData条件规则以及关联的pccrule。

主要参数包括:

pccRuleId:3003,关联了一个条件规则refCondDataId=37833...。

具体的条件规则在conds:有condId,和pccRuleId里的一致,完成了和pccrule的关联。就可以对这个

pccrule进行管控了。

activationTime:6点23分;

deactivationTime:7点整。也就是对该pccrule(例如ftp业务)的管控只在这37分钟内生效。

5 规范

条件PCC规则的关键参数refCondData在29512中4.2.6.2.7 Conditioned PCC rule节定义。

原文:“

The PCF may control at what time the status of a PCC rule changes. In order to provision a PCC rule

with conditional data, the PCF shall provision a PCC rule as defined in subclause 4.2.6.2.1and include

within its "refCondData" attribute the corresponding ConditionData's "condId" attribute value. The PCF

shall also ensure that the referenced ConditionData instance is included in the "conds" map within the

SmPolicyDecision data structure following the procedures defined in subclause 4.2.6.1.

Within the ConditionData instance, the PCF shall include the activation time within the "activationTime"

attribute and/or deactivation time within the "deactivationTime" attribute.

翻译:

PCF可控制PCC规则的状态何时改变。为了给PCC规则提供条件数据,PCF应按照第4.2.6.2.1小节的定

义提供PCC规则,并在其"refCondData"属性中包含相应的ConditionData的"condId"属性值。PCF还应确

保按照4.2.6.1中定义的程序将引用的ConditionData实例关联到SmPolicyDecision数据结构的"conds"参数

中。

在ConditionData实例中,PCF应在"activationTime"属性中包含激活时间和/或在"deactivationTime"属性中

包含停用时间。

无论是想学习课程、看视频、看案例、看log、看实战,统统都有。

← 返回 PCF 实践篇