Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.主要内容2.信令流程介绍1.PCC基本概念3.数据配置4.业务调测与故障处理Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.主要内容1、PCC基本概念1.1、PCC基本概念1.2、PCC架构1.3、Gx/Gxc接口及协议栈Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开PCC基本概念•PCC(PolicyControlandCharging)指策略控制与计费,是3GPP定义的网络资源与计费策略控制架构。•PCC架构主要组成部分:PCRF,PCEF,BBERF,AF,SPR,OFCS和OCS。–PCRF:PolicyandChargingRulesFunction–PCEF:PolicyandChargingEnforcementFunction–BBERF:BearerBindingandEventReportingFunction–AF:ApplicationFunction–SPR:SubscriptionProfileRepository–OFCS:OfflineChargingSystem–OCS:OnlineChargingSystemCopyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.主要内容1、PCC基本概念1.1、PCC基本概念1.2、PCC架构1.3、Gx/Gxc接口及协议栈Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开PCC架构GyGzSubscriptionProfileRepository(SPR)RxAFSpGxOfflineChargingSystem(OFCS)GatewayPCEFPolicyandChargingRulesFunction(PCRF)OnlineChargingSystem(OCS)ServiceDataFlowBasedCreditControlGxxBBERFCopyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.主要内容1、PCC基本概念1.1、PCC基本概念1.2、PCC架构1.3、Gx/Gxc接口及协议栈Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开Gx接口及协议栈•Gx接口是GGSN/P-GW与PCRF之间的接口,基于Diameter协议进行通信。此时,GGSN/P-GW充当PCEF,Gx接口消息类型包括:–CCR/CCA:CreditControlRequest/Answer.–RAR/RAA:Re-AuthRequest/AnswerCopyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开Gxc接口及协议栈•Gxc接口是S-GW与PCRF之间的接口,基于Diameter协议进行通信。此时,S-GW充当BBERF,Gxc接口只有在S5/S8采用PMIP协议时才存在。Gxc接口消息类型包括:–CCR/CCA:CreditControlRequest/Answer.–RAR/RAA:Re-AuthRequest/AnswerCopyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开UGW何时与PCRF交互?UGW上基于APN或整机由PCC-Switch命令控制是否使能PCC功能。当满足如下条件时,UGW会与PCRF进行信令交互:1,用户对应的PCC-Switch为enable(基于APN或整机配置),即使能PCC功能2,用户能找到对应的PCRF(基于APN或整机配置,与PCC-Switch对应),且链路状态正常Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.主要内容2.信令流程介绍1.PCC基本概念3.数据配置4.业务调测与故障处理Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.主要内容2、信令流程介绍2.1、动态PCC信令分析2.2、静态PCC信令分析Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.主要内容2.1、动态PCC信令分析2.1.1、IP-CANSessionEstablishment2.1.2、IP-CANSessionTermination2.1.3、IP-CANSessionModificationCopyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.IP-CANSessionEstablishment1.AttachRequestnewMMEOldMME/SGSNServingGWPCRFHSSPDNGW2.AttachRequesteNodeBUE8.InitialContextSetupRequest/AttachAcceptFirstUplinkData10.RRCConnectionReconfigurationComplete9.RRCConnectionReconfiguration11.InitialContextSetupResponse16.ModifyBearerResponse14.ModifyBearerRequestFirstDownlinkData7.CreateSessionResponse3.CreateSessionRequest4.CreateSessionRequest6.CreateSessionResponseFirstDownlinkData(ifnothandover)(C)5.PCEFInitiatedIP-CANSessionEstablishment/Modification15a.ModifyBearerRequest15b.ModifyBearerResponse(D)12.DirectTransfer13.AttachCompleteCopyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开IP-CANSessionEstablishmentstep1-step4:UE触发attach流程。SGW收到MME发送的CreateSessionRequest消息后,向PGW发送CreateSessionRequest。step5:如果PGW判断此用户为动态PCC用户,向PCRF发送CCR-I消息,上报用户信息,申请PCCRule和Qos。PCRF收到CCR-I消息,向PGW发送CCA-I消息,携带缺省承载Qos,PCCRule等信息。PGW根据收到的PCCRule进行策略安装。step6:PGW判断用户Attach成功,向SGW发送CreateSessionResponse,消息中携带PCRF下发的APN-AMBR及缺省承载的bearer-level-qos等信息。tep7-step13:Session创建响应流程。step14-step16:ModifyBearerRequest更新用户数据面信息。Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.IP-CANSessionEstablishment流程用户跟踪如果CCA-I消息携带了Event-TriggerSUCCESSFUL_RESOURCE_ALLOCATION(22),则UGW会在安装策略成功后发送CCR-U消息上报策略安装结果Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开CCR-I消息携带内容Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开CCR-I消息AVP举例1,Session-Id用于唯一标识一个Session2,Called-Station-Id为用户所属APN信息3,AN-GW-Address为用户接入的SGW的地址Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开CCA-I消息携带内容Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开CCA-I消息中的Qos-InformationAVPCCA-I消息中的Qos-InformatonAVP携带PCRF下发的APN-AMBR信息Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开CCA-I消息中的Default-EPS-Bearer-QosAVPCCA-I消息中的Default-EPS-Bearer-QosAVP携带PCRF下发的缺省承载的Qos信息(只包含QCIARP信息,不包含GBR和MBR)Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开CCA-I消息携带的Charging-Rule-InstallAVPCCA-I消息携带Charging-Rule-InstallAVP,提供安装在IP-CANSession上的策略。支持在CCA-I下发的策略包括:动态Rule(Charging-Rule-Defination),预定义Rule(Charging-Rule-Name)和预定义RuleGroup(Charging-Rule-Base-Name).说明:预定义Rule名和RuleGroup名对大小写不敏感,统一按小写处理。Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开CCR-U消息内容CCRUpdate消息携带Charging-Rule-ReportAVP,上报前一个CCA下发的Rule的安装结果。如下情况会上报Rule安装结果(1)失败时会上报,其中PCC-Rule-Status取值为Inactive。(2)安装成功,且PCRF下发了下面的Event-Trigger和AVP时:SUCCESSFUL_RESOURCE_ALLOCATION(22)Resource-Allocation-NotificationAVP设置为ENABLE_NOTIFICATION(0)。Copyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.内部公开CCR-U携带Charging-Rule-ReportAVPCopyright©2011HuaweiTechnologiesCo.,Ltd.Allrightsreserved.主要内容2.1、动态PCC信令分析2.1.1、IP-CANSessionEstablishment2.1.2、IP-CANSessionTermination2.1.3、IP-CANSessionModificationCopyright©2011H