CN102137367B - Method and system, PCC system that the strategy strengthened and charging control - Google Patents
Method and system, PCC system that the strategy strengthened and charging control Download PDFInfo
- Publication number
- CN102137367B CN102137367B CN201010101323.1A CN201010101323A CN102137367B CN 102137367 B CN102137367 B CN 102137367B CN 201010101323 A CN201010101323 A CN 201010101323A CN 102137367 B CN102137367 B CN 102137367B
- Authority
- CN
- China
- Prior art keywords
- charging
- pcrf
- tdef
- service
- rule
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
- H04L12/1403—Architecture for metering, charging or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
- H04L43/028—Capturing of monitoring data by filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/66—Policy and charging system
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Meter Arrangements (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种增强的策略和计费控制的方法,在PCC系统中设置TDEF,所述TDEF连接于PCRF与计费系统之间;所述方法包括:所述PCRF制定PCC规则时,确定是否对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制;所述PCRF向策略和控制执行功能实体PCEF发送PCC规则时,指示是否对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制;并在指示为是时将对所述业务数据流进行四层以上策略和计费控制的规则发送给所述TDEF;所述TDEF对业务进行四层以上的计费,并向计费系统提供相应的计费信息。本发明公开了一种增强的策略和计费控制的系统及PCC系统。本发明实现了对业务数据进行多层次、多纬度的计费控制。
The invention discloses a method for enhanced policy and charging control. TDEF is set in the PCC system, and the TDEF is connected between the PCRF and the charging system; the method includes: when the PCRF formulates PCC rules, determine Whether to control the business data flow matching the PCC rule for more than four layers of policy and charging; when the PCRF sends the PCC rule to the policy and control enforcement function entity PCEF, it indicates whether to control the business data flow matching the PCC rule The data flow is controlled by more than four layers of policy and charging; and when the indication is yes, the rules for controlling the business data flow of more than four layers of policy and charging are sent to the TDEF; the TDEF performs four layers of business data flow The billing above the layer, and provide the corresponding billing information to the billing system. The invention discloses an enhanced policy and charging control system and a PCC system. The invention realizes multi-level and multi-latitude charging control on service data.
Description
技术领域 technical field
本发明涉及增强的策略和计费控制(PCC,PolicyandChargingControl)的技术,尤其涉及一种增强的策略和计费控制的方法及系统,以及PCC系统。The present invention relates to enhanced policy and charging control (PCC, Policy and Charging Control) technology, in particular to an enhanced policy and charging control method and system, and a PCC system.
背景技术 Background technique
第三代合作伙伴计划(3GPP,3rdGenerationPartnershipProject)的PCC系统是一个能够应用于多种接入技术的功能框架,例如,其可以应用于通用移动通信系统(UMTS,UniversalMobileTelecommunicationsSystem)的陆上无线接入网(UTRAN,UMTSTerrestrialRadioAccessNetwork)、全球移动通信系统(GSM,GlobalsystemforMobileCommunication)/GSM数据增强演进(EDGE,EnhancedDataratesforGlobalEvolution)无线接入网、互通无线局域网(I-WLAN)以及演进的分组系统(EPS,EvolvedPacketSystem)等。The PCC system of the 3rd Generation Partnership Project (3GPP, 3rdGeneration Partnership Project) is a functional framework that can be applied to multiple access technologies, for example, it can be applied to the terrestrial wireless access network of the Universal Mobile Telecommunications System (UMTS, UniversalMobileTelecommunicationsSystem) (UTRAN, UMTSTerrestrialRadioAccessNetwork), Global System for Mobile Communications (GSM, GlobalsystemforMobileCommunication)/GSM Data Enhanced Evolution (EDGE, EnhancedDataratesforGlobalEvolution) wireless access network, interoperable wireless local area network (I-WLAN), and evolved packet system (EPS, EvolvedPacketSystem), etc.
图1为相关技术的Rel-8PCC非漫游架构示意图,如图1所示,PCC系统中包括用户签约数据库(SPR,SubscriptionProfileRepository)、应用功能实体(AF,ApplicationFunction)、策略与计费规则功能实体(PCRF,PolicyandChargingRuleFunction)、承载绑定和事件报告功能实体(BBERF,BearerBindingandEventReportingFunction)、策略和控制执行功能实体(PCEF,PolicyandControlEnforcementFunction)和计费系统,其中,SPR通过Sp接口与PCRF连接,AF通过Rx接口与PCRF连接,BBERF通过Gxx接口与PCRF连接,PCEF通过Gx接口与PCRF连接;计费系统包括线计费系统(OCS,OnlineChargingSystem)和离线计费系统(OFCS,OfflineChargingSystem),PCEF通过Gy接口连接于OCS,PCEF通过Gz接口连接于OFCS。以下参照图1对PCC系统中的各个逻辑功能实体及其接口功能进行描述:Figure 1 is a schematic diagram of the Rel-8 PCC non-roaming architecture of the related art. As shown in Figure 1, the PCC system includes a user subscription database (SPR, SubscriptionProfileRepository), an application function entity (AF, ApplicationFunction), and a policy and charging rule function entity ( PCRF, PolicyandChargingRuleFunction), bearer binding and event reporting function entity (BBERF, BearerBindingandEventReportingFunction), policy and control enforcement function entity (PCEF, PolicyandControlEnforcementFunction) and charging system, wherein, SPR is connected to PCRF through Sp interface, and AF is connected to PCRF through Rx interface PCRF connection, BBERF is connected to PCRF through Gxx interface, PCEF is connected to PCRF through Gx interface; charging system includes online charging system (OCS, OnlineChargingSystem) and offline charging system (OFCS, OfflineChargingSystem), PCEF is connected to OCS through Gy interface , PCEF is connected to OFCS through Gz interface. The following describes each logical functional entity and its interface function in the PCC system with reference to Figure 1:
AF用于提供业务应用的接入点,这些业务应用所使用的网络资源需要进行动态的策略和计费控制。在业务面进行参数协商时,AF将相关业务信息传递给PCRF。如果这些业务信息与PCRF的策略相一致,则PCRF接受该协商;否则,PCRF拒绝该协商,并在反馈中同时给出PCRF可接受的业务参数。随后,AF可将这些参数返回给用户设备(UE,UserEquipment)。其中,AF和PCRF之间的接口是Rx接口。AF is used to provide access points for service applications, and the network resources used by these service applications require dynamic policy and charging control. When negotiating parameters on the service plane, the AF transmits relevant service information to the PCRF. If the service information is consistent with the PCRF policy, the PCRF accepts the negotiation; otherwise, the PCRF rejects the negotiation, and gives the PCRF acceptable service parameters in the feedback. Then, the AF can return these parameters to the user equipment (UE, UserEquipment). Wherein, the interface between the AF and the PCRF is the Rx interface.
PCRF是PCC的核心,负责策略决策和计费规则的制定。PCRF提供了基于业务数据流的网络控制规则,这些网络控制包括业务数据流的检测、门控(GatingControl)、服务质量(QoS,QualityofService)控制以及基于数据流的计费规则等。PCRF将其制定的策略和计费规则发送给PCEF执行,同时,PCRF还需要保证这些规则和用户的签约信息一致。PCRF制定策略和计费规则的依据包括:从AF获取与业务相关的信息;从SPR获取与用户策略计费控制签约信息;从PCEF获取与承载相关网络的信息。The PCRF is the core of the PCC and is responsible for making policy decisions and charging rules. PCRF provides network control rules based on service data flow, and these network controls include service data flow detection, gating control (Gating Control), service quality (QoS, Quality of Service) control, and data flow-based charging rules. The PCRF sends the policies and charging rules formulated by it to the PCEF for execution. At the same time, the PCRF also needs to ensure that these rules are consistent with the user's subscription information. The basis for the PCRF to formulate policy and charging rules includes: obtaining service-related information from the AF; obtaining subscription information related to user policy and charging control from the SPR; obtaining information related to the bearer network from the PCEF.
PCEF通常位于网关(GW,Gate-Way)内,在承载面执行PCRF所制定的策略和计费规则。PCEF按照PCPF所发送的规则中的业务数据流过滤器对业务数据流进行检测,进而对这些业务数据流执行PCPF所制定的策略和计费规则。在承载建立时,PCEF按照PCRF发送的规则进行QoS授权,并根据AF的执行进行门控控制。根据PCRF发送的计费规则,PCEF执行相应的业务数据流计费操作,计费既可以是在线计费,也可以是离线计费。如果是在线计费,则PCEF需要和OCS一起进行信用管理。离线计费时,PCEF和OFCS之间交换相关计费信息。PCEF与PCPF之间的接口是Gx接口,与OCS之间的接口是Gy接口,与OFCS之间的接口是Gz接口。PCEF一般都位于网络的网关上,如GPRS中的GPRS网关支持节点(GGSN,GatewayGPRSSupportNode)以及I-WLAN中的分组数据网关(PDG,PacketDataGateway)。The PCEF is usually located in a gateway (GW, Gate-Way), and executes policies and charging rules formulated by the PCRF on the bearer plane. The PCEF detects the service data flow according to the service data flow filter in the rules sent by the PCPF, and then executes the policies and charging rules formulated by the PCPF for these service data flows. When the bearer is established, the PCEF performs QoS authorization according to the rules sent by the PCRF, and performs gate control according to the execution of the AF. According to the charging rule sent by the PCRF, the PCEF executes the corresponding service data flow charging operation, and the charging can be either online charging or offline charging. If online charging is used, PCEF needs to perform credit management together with OCS. During offline charging, related charging information is exchanged between PCEF and OFCS. The interface between PCEF and PCPF is Gx interface, the interface between PCEF and OCS is Gy interface, and the interface between PCEF and OFCS is Gz interface. PCEF is generally located on the gateway of the network, such as the GPRS gateway support node (GGSN, GatewayGPRSSupportNode) in GPRS and the packet data gateway (PDG, PacketDataGateway) in I-WLAN.
BBERF用于承载绑定、上行承载绑定的验证、以及事件报告。当UE通过E-UTRAN接入,并且S-GW与P-GW之间采用移动性管理协议为支持双栈的移动IPv6(DSMIPv6,MoblieIPv6supportfordualstackHostsandRouters)协议时,BBERF就位于S-GW,当UE通过可信任非3GPP接入系统接入时,BBERF位于可信任非3GPP接入网关,当UE通过不可信任非3GPP接入系统接入时、BBERF位于演进的分组数据网关(ePDG,EvolvedPacketDataGateway。此时,PCEF不再执行承载绑定功能。BBERF is used for bearer binding, verification of uplink bearer binding, and event reporting. When the UE accesses through the E-UTRAN, and the mobility management protocol between the S-GW and the P-GW is a dual-stack mobile IPv6 (DSMIPv6, MoblieIPv6supportfordualstackHostsandRouters) protocol, the BBERF is located in the S-GW. When the trusted non-3GPP access system is connected, the BBERF is located at the trusted non-3GPP access gateway. When the UE accesses through the untrusted non-3GPP access system, the BBERF is located at the evolved packet data gateway (ePDG, EvolvedPacketDataGateway. At this time, PCEF The bearer binding function is no longer performed.
SPR存储了和策略和计费控制与计费相关的用户策略计费控制签约信息。SPR和PCRF之间的接口是Sp接口。The SPR stores user policy and charging control subscription information related to policy and charging control and charging. The interface between SPR and PCRF is the Sp interface.
OCS和PCEF一起进行在线计费方式下用户信用的控制和管理。OFCS与PCEF一起完成离线计费方式下的计费操作。OCS and PCEF work together to control and manage user credit in the online charging mode. The OFCS and the PCEF complete the charging operation in the offline charging mode.
PCC系统通过以上各功能实体实现了对UE为访问一个分组数据网络(PDN,PacketDataNetwork)所建立的IP-CAN会话的策略计费控制。PCC系统使得对用户的多层次、多纬度的计费成为可能。对于在线计费,当UE通过接入网接入时,由PCEF与OCS交互,进行信用控制。PCEF向计费系统提供承载层计费信息,用接入网计费标识(Access-Network-Charging-Identifier,也称为承载层计费标识)进行标识。同时应用服务器也向计费系统提供应用层计费信息,利用应用功能计费标识(AF-Charging-Identifier)进行标识,该计费标识由AF产生并发送给相关的应用服务器。AF自身也可向计费系统提供应用层计费信息,同样用AF-Charging-Identifier进行标识。AF或应用服务器产生的计费信息均为应用层计费信息。接入网计费标识通过PCRF上报给AF以及其他应用服务器,应用层的计费信息包含承载层的计费标识。而通过PCEF产生的承载层计费系统中包含应用功能计费标识。这样,计费系统就可以通过这两个计费标识将用户两个层次的计费信息进行关联,从而实现对用户访问业务多层次、多维度的计费了。The PCC system realizes the policy charging control of the IP-CAN session established by the UE for accessing a packet data network (PDN, PacketDataNetwork) through the above functional entities. The PCC system makes possible multi-level and multi-latitude billing for users. For online charging, when the UE accesses through the access network, the PCEF interacts with the OCS to perform credit control. The PCEF provides bearer layer charging information to the charging system, and is identified by an access network charging identifier (Access-Network-Charging-Identifier, also called bearer layer charging identifier). At the same time, the application server also provides application layer charging information to the charging system, which is identified by an application function charging identifier (AF-Charging-Identifier), which is generated by the AF and sent to the relevant application server. AF itself can also provide application layer charging information to the charging system, which is also identified by AF-Charging-Identifier. The charging information generated by the AF or the application server is the application layer charging information. The charging ID of the access network is reported to the AF and other application servers through the PCRF, and the charging information of the application layer includes the charging ID of the bearer layer. The charging system of the bearer layer generated through the PCEF includes the application function charging identifier. In this way, the billing system can associate the billing information of the user at two levels through the two billing identifiers, thereby realizing multi-level and multi-dimensional billing for user access services.
然而,现有的网络应用中,很多场景下是没有AF的。IP多媒体子系统(IMS,IMSIPMultimediaSubsystem)等基于会话类的业务可以采用初始会话协议(SIP,SIPSessionInitiationProtocol,是一个应用层的信令控制协议)信令进行会话的业务层协商(如编解码方式、媒体类型、所需的带宽等),P-CSCF(即PCC系统中的AF)将协商好的业务信息通知PCRF,并由PCRF进行QoS授权。而现网中大量非会话类的业务,如当前应用基于IP网络的语音(VoIP,VoiceOverInternetProtocol)、互联网协议电视(IPTV,IPTVInternetProtocolTelevision)、视频点播(VoD,VODVideo-On-Demand)、网络游戏等业务等不会进行应用层的媒体协商以及将业务信息发送给PCRF的过程。However, in existing network applications, there is no AF in many scenarios. Session-based services such as IP Multimedia Subsystem (IMS, IMSIPMultimediaSubsystem) can use Initial Session Protocol (SIP, SIPSessionInitiationProtocol, which is an application-layer signaling control protocol) signaling for session service layer negotiation (such as codec mode, media type, required bandwidth, etc.), P-CSCF (that is, AF in the PCC system) notifies the PCRF of the negotiated service information, and the PCRF performs QoS authorization. However, there are a large number of non-conversational services in the existing network, such as the current application of IP-based voice (VoIP, VoiceOverInternetProtocol), Internet Protocol Television (IPTV, IPTVInternetProtocolTelevision), video-on-demand (VoD, VODVideo-On-Demand), online games and other services The media negotiation at the application layer and the process of sending service information to the PCRF will not be performed.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种增强的策略和计费控制的方法及系统,以及PCC系统,能实现对非会话类业务的策略和计费控制,特别能对业务进行四层以上的计费操作。In view of this, the main purpose of the present invention is to provide an enhanced policy and charging control method and system, as well as a PCC system, which can implement policy and charging control for non-conversational services, and can especially perform four-layer above billing operations.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
一种增强的策略和计费控制的方法,在策略和计费控制PCC系统中设置业务检测执行功能实体TDEF;所述方法包括:A method for enhanced policy and charging control, in which a business detection executive function entity TDEF is set in a policy and charging control PCC system; the method includes:
所述TDEF根据策略和计费规则功能实体PCRF制定的业务执行规则执行计费控制。The TDEF implements charging control according to the service execution rules formulated by the policy and charging rule functional entity PCRF.
优选地,所述方法还包括:Preferably, the method also includes:
所述PCRF制定PCC规则时,确定对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制后,制定所述业务执行规则并发送给所述TDEF;When the PCRF formulates the PCC rules, after determining that the business data flow matching the PCC rules is controlled by more than four layers of policy and charging, it formulates the business execution rules and sends them to the TDEF;
所述PCRF向策略和控制执行功能实体PCEF发送PCC规则时,指示对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制;When the PCRF sends the PCC rule to the policy and control executive function entity PCEF, it instructs to control the business data flow matching the PCC rule to control the policy and charging above four layers;
所述TDEF对业务数据流进行四层以上的计费控制,并向计费系统提供相应的计费信息。The TDEF controls the charging of the service data flow above four layers, and provides corresponding charging information to the charging system.
优选地,所述方法还包括:Preferably, the method also includes:
所述TDEF根据业务检测规则在业务数据流中检测到之前未向所述PCRF报告过的业务时,向所述PCRF上报所述未向所述PCRF报告过的业务;When the TDEF detects a service that has not been reported to the PCRF before in the service data flow according to a service detection rule, report the service that has not been reported to the PCRF to the PCRF;
所述PCRF为所述未向所述PCRF报告过的业务制定PCC规则,同时确定对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制后,制定业务执行规则并发送给所述TDEF;The PCRF formulates PCC rules for the services that have not been reported to the PCRF, and at the same time determines that the business data flows that match the PCC rules are controlled by layer 4 or above policies and charging, and then formulates business execution rules and sends to said TDEF;
所述TDEF向在线计费系统请求新的信用和/或返回剩余的信用,为所述TDEF检测到业务进行四层以上的在线计费。The TDEF requests new credits from the online charging system and/or returns the remaining credits, and performs online charging above four layers for the services detected by the TDEF.
优选地,所述方法还包括:Preferably, the method also includes:
所述TDEF根据所述业务检测规则在业务数据流中检测到之前未向所述PCRF报告过的业务时,为所述之前未向所述PCRF报告过的业务分配应用计费标识,并发送给所述PCRF。When the TDEF detects a service that has not been reported to the PCRF before in the service data flow according to the service detection rule, assign an application charging identifier to the service that has not been reported to the PCRF before, and send it to The PCRF.
优选地,所述方法还包括:Preferably, the method also includes:
所述PCRF接收到所述TDEF上报的之前未向所述PCRF报告过的业务时,为所述之前未向所述PCRF报告过的业务分配应用计费标识,并发送给所述TDEF。When receiving the service reported by the TDEF that has not been reported to the PCRF before, the PCRF assigns an application charging identifier to the service that has not been reported to the PCRF before, and sends it to the TDEF.
优选地,所述方法还包括:Preferably, the method also includes:
所述PCRF将所述PCC规则对应的所述应用计费标识发送给所述PCEF;The PCRF sends the application charging identifier corresponding to the PCC rule to the PCEF;
所述PCEF向离线计费系统上报接入网计费标识、所述应用计费标识和承载计费信息;The PCEF reports the access network charging identifier, the application charging identifier and bearer charging information to the offline charging system;
所述离线计费系统保存所述接入网计费标识、所述应用计费标识和承载计费信息,实现业务的离线计费。The offline charging system saves the access network charging identifier, the application charging identifier and bearer charging information to realize offline charging of services.
优选地,所述方法还包括:Preferably, the method also includes:
所述PCRF将所述业务执行规则对应的所述接入网计费标识发送给所述TDEF;The PCRF sends the access network charging identifier corresponding to the service execution rule to the TDEF;
所述TDEF向离线计费系统上报接入网计费标识、所述应用计费标识和应用计费信息;The TDEF reports the access network charging identifier, the application charging identifier and application charging information to the offline charging system;
所述离线计费系统保存所述接入网计费标识、所述应用计费标识和所述应用计费信息,实现业务的离线计费。The offline charging system saves the access network charging identifier, the application charging identifier and the application charging information, so as to realize offline charging of services.
优选地,所述离线计费系统根据所述接入网计费标识、所述应用计费标识将所述承载计费信息和所述应用计费信息进行关联。Preferably, the offline charging system associates the bearer charging information with the application charging information according to the access network charging identifier and the application charging identifier.
优选地,所述计费系统包括在线计费系统OCS和离线计费系统OFCS,所述TDEF与所述OCS之间通过Gy接口连接,所述TDEF与所述OFCS之间通过Gz接口连接。Preferably, the charging system includes an online charging system OCS and an offline charging system OFCS, the TDEF is connected to the OCS through a Gy interface, and the TDEF is connected to the OFCS through a Gz interface.
一种PCC系统,包括用户签约数据库SPR、AF、PCRF、BBERF、PCEF和计费系统,所述SPR、所述AF、所述BBERF和所述PCEF分别与所述PCRF连接,所述PCEF连接于所述计费系统;所述PCC系统还包括TDEF,分别与所述PCRF、所述计费系统连接;所述TDEF根据策略和计费规则功能实体PCRF制定的业务执行规则执行计费控制。A PCC system, including a user subscription database SPR, AF, PCRF, BBERF, PCEF and a charging system, the SPR, the AF, the BBERF and the PCEF are respectively connected to the PCRF, and the PCEF is connected to The charging system; the PCC system also includes a TDEF, connected to the PCRF and the charging system respectively; the TDEF executes charging control according to the service execution rules formulated by the policy and charging rule functional entity PCRF.
优选地,所述TDEF与所述PCRF之间通过Sx接口连接。Preferably, the TDEF is connected to the PCRF through an Sx interface.
优选地,所述计费系统包括在线计费系统OCS和离线计费系统OFCS,所述TDEF与所述OCS之间通过Gy接口连接,所述TDEF与所述OFCS之间通过Gz接口连接。Preferably, the charging system includes an online charging system OCS and an offline charging system OFCS, the TDEF is connected to the OCS through a Gy interface, and the TDEF is connected to the OFCS through a Gz interface.
一种增强的策略和计费控制的系统,包括设置单元、制定单元和执行单元;其中:An enhanced policy and charging control system, including a setting unit, a formulation unit and an execution unit; wherein:
设置单元,用于在PCC系统中设置TDEF;A setting unit for setting TDEF in the PCC system;
制定单元,用于制定PCC规则、业务检测规则和业务执行规则;A formulating unit, used to formulate PCC rules, business detection rules and business execution rules;
执行单元,用于根据PCRF制定的业务执行规则执行计费控制。The execution unit is configured to execute charging control according to the service execution rules formulated by the PCRF.
优选地,所述系统还包括确定单元、第一发送单元、第二发送单元和计费及提供单元,其中:Preferably, the system further includes a determining unit, a first sending unit, a second sending unit, and a charging and providing unit, wherein:
确定单元,用于在所述制定单元制定PCC规则时,确定对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制后,触发所述制定单元进一步制定业务执行规则;The determination unit is configured to trigger the formulation unit to further formulate service execution rules after determining that the business data flow matching the PCC rule is controlled by layer 4 or above policy and charging when the formulation unit formulates the PCC rule;
第一发送单元,用于将所述业务检测规则或/和业务执行规则发送给所述TDEF;a first sending unit, configured to send the service detection rule or/and service execution rule to the TDEF;
第二发送单元,用于向PCEF发送PCC规则,并指示对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制;The second sending unit is configured to send the PCC rule to the PCEF, and instruct to control the policy and charging above layer 4 on the service data flow matching the PCC rule;
计费及提供单元,用于对业务数据流进行四层以上的计费控制,并向计费系统提供相应的计费信息。The billing and providing unit is used to control the billing of the service data flow above layer 4, and provide corresponding billing information to the billing system.
优选地,所述系统还包括检测单元和上报单元,其中:Preferably, the system further includes a detection unit and a reporting unit, wherein:
检测单元,用于根据所述业务检测规则对业务数据流进行检测,检测到之前未向所述PCRF报告过的业务时,触发上报单元;The detection unit is configured to detect the service data flow according to the service detection rule, and trigger the reporting unit when detecting a service that has not been reported to the PCRF before;
上报单元,用于向所述PCRF上报所述未向所述PCRF报告过的业务;a reporting unit, configured to report to the PCRF the services that have not been reported to the PCRF;
所述制定单元为所述未向所述PCRF报告过的业务制定PCC规则,所述确定单元进一步确定对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制时,所述制定单元制定业务执行规则,并由所述第一发送单元发送给所述TDEF。The formulating unit formulates PCC rules for the services that have not been reported to the PCRF, and the determining unit further determines that when the business data flow that matches the PCC rules is controlled by layer 4 or above policies and charging, the The formulating unit formulates service execution rules, and sends them to the TDEF by the first sending unit.
优选地,所述系统还包括:Preferably, the system also includes:
第一分配单元,用于向所述检测单元检测到之前未向所述PCRF报告过的业务分配应用计费标识;所述上报单元进一步将所述应用计费标识上报给所述PCRF。The first allocating unit is configured to assign an application charging identifier to a service that has not been reported to the PCRF before detected by the detection unit; the reporting unit further reports the application charging identifier to the PCRF.
优选地,所述系统还包括:Preferably, the system also includes:
第二分配单元,用于为所述TDEF上报的之前未向所述PCRF报告过的业务分配应用计费标识,并由所述第一发送单元发送给所述TDEF。The second allocating unit is configured to allocate an application charging identifier to the service reported by the TDEF that has not been reported to the PCRF before, and send it to the TDEF by the first sending unit.
优选地,所述第二发送单元将所述PCC规则对应的所述应用计费标识发送给所述PCEF;Preferably, the second sending unit sends the application charging identifier corresponding to the PCC rule to the PCEF;
所述PCEF向离线计费系统提供接入网计费标识、所述应用计费标识和承载计费信息;所述离线计费系统保存所述接入网计费标识、所述应用计费标识和承载计费信息,实现业务的离线计费。The PCEF provides the access network charging identifier, the application charging identifier and bearer charging information to the offline charging system; the offline charging system saves the access network charging identifier, the application charging identifier and carry charging information to realize offline charging of services.
优选地,所述系统还包括:Preferably, the system also includes:
所述第一发送单元将业务执行规则对应的所述应用计费标识发送给所述TDEF;The first sending unit sends the application charging identifier corresponding to the service execution rule to the TDEF;
所述TDEF向离线计费系统上报接入网计费标识、所述应用计费标识和应用计费信息;所述离线计费系统保存所述接入网计费标识、所述应用计费标识和所述应用计费信息,实现业务的离线计费。The TDEF reports the access network charging identifier, the application charging identifier and application charging information to the offline charging system; the offline charging system stores the access network charging identifier, the application charging identifier and the application charging information to realize offline charging of services.
优选地,所述离线计费系统根据所述接入网计费标识、所述应用计费标识将所述承载计费信息和应用计费信息进行关联。Preferably, the offline charging system associates the bearer charging information with the application charging information according to the access network charging identifier and the application charging identifier.
本发明中,在当前的PCC系统中增设业务探测功能(TDF,TrafficDetectionFunction),实现对业务数据流四层以上的信息进行检测,这样向PCRF提供业务信息将更丰富,有利于PCRF进行策略决策,能实现对业务四层以上的计费操作,从而实现了对业务数据进行多层次、多纬度的计费控制。In the present invention, a traffic detection function (TDF, TrafficDetectionFunction) is added in the current PCC system to detect the information of more than four layers of traffic data flow, so that the business information provided to the PCRF will be more abundant, which is beneficial for the PCRF to carry out policy decisions. It can realize the charging operation of the business above four layers, so as to realize the multi-level and multi-latitude charging control of the business data.
附图说明 Description of drawings
图1为相关技术的Rel-8PCC非漫游架构示意图;FIG. 1 is a schematic diagram of a Rel-8PCC non-roaming architecture of related technologies;
图2为本发明PCC系统组成结构示意图;Fig. 2 is the composition structure schematic diagram of PCC system of the present invention;
图3是本发明增强的策略和计费控制的方法实施例一的流程图;FIG. 3 is a flow chart of Embodiment 1 of the enhanced policy and charging control method of the present invention;
图4是本发明增强的策略和计费控制的方法实施例二的流程图;FIG. 4 is a flow chart of Embodiment 2 of the enhanced policy and charging control method of the present invention;
图5是本发明增强的策略和计费控制的方法实施例三的流程图;FIG. 5 is a flow chart of Embodiment 3 of the enhanced policy and charging control method of the present invention;
图6为本发明增强的策略和计费控制的系统的一种组成结构示意图;FIG. 6 is a schematic diagram of the composition and structure of the enhanced policy and charging control system of the present invention;
图7为本发明增强的策略和计费控制的系统的另一种组成结构示意图;FIG. 7 is a schematic diagram of another composition structure of the enhanced policy and charging control system of the present invention;
图8为本发明增强的策略和计费控制的系统的第二种组成结构示意图。FIG. 8 is a schematic diagram of the second composition structure of the enhanced policy and charging control system of the present invention.
具体实施方式 detailed description
本发明的基本思想是:在当前的PCC系统中增设业务探测功能(TDF,TrafficDetectionFunction),实现对业务数据流四层以上的信息进行检测,这样向PCRF提供业务信息将更丰富,有利于PCRF进行策略决策,能实现对业务四层以上的计费操作,从而实现了对业务数据进行多层次、多纬度的计费控制。The basic idea of the present invention is: in the current PCC system, add traffic detection function (TDF, TrafficDetectionFunction), realize the information of the business data flow above four layers is detected, will be more abundant to provide business information to PCRF like this, be conducive to PCRF to carry out Policy decision-making can realize the charging operation on the business layer above four, so as to realize the multi-level and multi-latitude charging control on the business data.
为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例并参照附图,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail by citing the following embodiments and referring to the accompanying drawings.
图2为本发明PCC系统组成结构示意图,如图2所示,本发明PCC系统是在图1所示的PCC系统上增设TDEF而成的,具体的,TDEF设置于计费系统与PCRF之间,TDEF通过Sx接口连接于PCRF,与OCS之间通过Gy接口连接,与OFCS之间通过Gz接口连接。TDEF的主要功能包括:Figure 2 is a schematic diagram of the composition structure of the PCC system of the present invention, as shown in Figure 2, the PCC system of the present invention is formed by adding TDEF to the PCC system shown in Figure 1, specifically, TDEF is set between the billing system and the PCRF , the TDEF is connected to the PCRF through the Sx interface, connected to the OCS through the Gy interface, and connected to the OFCS through the Gz interface. The main functions of TDEF include:
1、根据PCRF下发的报文检测规则(四层以上的策略和计费控制的规则)执行业务数据报文检测,对数据包进行四层以上的分析检测;1. Execute service data message detection according to the message detection rules issued by PCRF (rules of policies and charging control above layer 4), and analyze and detect data packets above layer 4;
2、向PCRF上报检测的业务信息;2. Report the detected business information to PCRF;
3、基于四层以上过滤器进行门控、QoS策略执行;3. Gate control and QoS policy execution based on more than four layers of filters;
4、向计费系统(OCS/OFCS)上报计费信息4. Report billing information to the billing system (OCS/OFCS)
5、向PCRF上报需要进行承载层资源修改的请求;5. Report to the PCRF the request for modification of bearer layer resources;
6、上报PCRF订阅的事件。6. Report the events subscribed by PCRF.
以下基于图2所示的PCC系统,进一步详细阐明本发明增强的策略和计费控制的方法的具体实现方式。Based on the PCC system shown in FIG. 2 , the specific implementation manner of the enhanced policy and charging control method of the present invention will be further explained in detail below.
实施例一Embodiment one
图3是本发明增强的策略和计费控制的方法实施例一的流程图,如图3所示,本实施例描述的是IP-CAN会话建立流程,具体步骤如下:Fig. 3 is the flow chart of the method embodiment one of the strategy of the present invention enhancement and billing control, and as shown in Fig. 3, what this embodiment describes is IP-CAN session establishment process, and specific steps are as follows:
步骤S301,BBERF驻留的网关收到建立IP-CAN会话请求消息,消息中携带用户标识、PDN标识等信息。In step S301, the gateway where the BBERF resides receives an IP-CAN session establishment request message, which carries information such as user ID and PDN ID.
步骤S302,BBERF向PCRF发送网关控制会话建立请求消息,消息中携带用户标识、PDN标识等信息。该消息用于请求建立网关控制会话。In step S302, the BBERF sends a gateway control session establishment request message to the PCRF, and the message carries user identification, PDN identification and other information. This message is used to request the establishment of a gateway control session.
步骤S303,若PCRF没有用户相关的签约信息,PCRF向SPR发送签约文档请求消息,消息中携带用户标识和PDN标识等。若PCRF中存储有用户相关的签约信息,则直接执行步骤S305,根据签约信息制定相应的策略。Step S303, if the PCRF has no subscription information related to the user, the PCRF sends a subscription document request message to the SPR, and the message carries the user ID and PDN ID, etc. If there is user-related subscription information stored in the PCRF, step S305 is directly executed to formulate a corresponding strategy according to the subscription information.
步骤S304,SPR根据用户标识和PDN标识返回用户的签约信息,其中包含是否需要进行业务检测,以及需要检测的业务。In step S304, the SPR returns the subscription information of the user according to the user ID and the PDN ID, including whether service detection is required and the service to be detected.
步骤S305,PCRF根据SPR返回的签约信息,制定默认策略,包括PCC规则、对应的QoS规则。若需要进行业务检测,则PCRF根据需要检测的业务制定业务检测规则。业务检测规则通常包括四层以上的过滤器。若下发的PCC规则还需要进一步执行四层以上的策略和计费控制,则PCRF还会定制对应的对业务数据流进行四层以上策略和计费控制的规则(在本发明中,该规则称为业务执行规则)。可选的,PCRF还会制定事件触发器。In step S305, the PCRF formulates a default policy according to the subscription information returned by the SPR, including PCC rules and corresponding QoS rules. If service detection is required, the PCRF formulates service detection rules according to the services that need to be detected. Business detection rules usually include more than four layers of filters. If the issued PCC rule also needs to further implement more than four layers of policy and charging control, then PCRF will also customize the corresponding rules for carrying out four or more layers of policy and charging control on business data flows (in the present invention, the rule called business execution rules). Optionally, the PCRF may also formulate event triggers.
步骤S306,PCRF向BBERF返回网关控制会话建立确认消息,消息中携带QoS规则、事件触发器等。BBERF安装QoS规则和事件触发器。In step S306, the PCRF returns a gateway control session establishment confirmation message to the BBERF, and the message carries QoS rules, event triggers, and the like. BBERF installs QoS rules and event triggers.
步骤S307,BBERF驻留的网关向PCEF驻留的网关发送建立IP-CAN会话请求消息,消息中携带用户标识和PDN标识等信息。In step S307, the gateway where the BBERF resides sends an IP-CAN session establishment request message to the gateway where the PCEF resides, and the message carries information such as user identification and PDN identification.
本发明中,步骤S307可与步骤S302同时执行。In the present invention, step S307 can be executed simultaneously with step S302.
步骤S308,PCEF驻留的网关为UE请求建立的IP-CAN会话分配IP地址以及接入网计费标识。PCEF向PCRF发送IP-CAN会话建立指示消息,消息中携带用户标识、PDN标识、IPAddress和接入网计费标识等信息。该消息用于请求建立Gx会话。In step S308, the gateway where the PCEF resides allocates an IP address and an access network charging identifier for the IP-CAN session requested by the UE to be established. The PCEF sends an IP-CAN session establishment instruction message to the PCRF, and the message carries information such as user ID, PDN ID, IPAddress, and access network charging ID. This message is used to request the establishment of a Gx session.
步骤S309,PCRF根据用户标识和PDN标识将步骤S302请求建立网关控制会话和步骤S308请求建立的Gx会话进行关联。PCRF将步骤S304制定的PCC规则、事件触发器以及为该IP-CAN会话选择的TDEF的地址返回给PCEF。对于每一个PCC规则,PCRF同时会向PCEF发送是否需要进行四层以上过滤的策略和计费控制指示,若需要,则PCEF将把与该PCC规则匹配的业务数据流转发给TDEF。In step S309, the PCRF associates the request to establish the gateway control session in step S302 with the Gx session requested in step S308 according to the user identifier and the PDN identifier. The PCRF returns the PCC rule formulated in step S304, the event trigger and the address of the TDEF selected for the IP-CAN session to the PCEF. For each PCC rule, PCRF will also send policy and charging control instructions to PCEF whether filtering above layer 4 is required. If necessary, PCEF will forward the service data flow matching the PCC rule to TDEF.
步骤S310,如果需要执行在线计费控制,并且至少一个PCC规则是激活的,则PCEF激活在线计费会话,并提供相关的输入信息供OCS决策,输入信息包括用户标识等信息。该在线计费会话用于承载层(四层以下)的在线计费。Step S310, if online charging control needs to be performed and at least one PCC rule is activated, the PCEF activates the online charging session and provides relevant input information for OCS to make a decision. The input information includes user ID and other information. The online charging session is used for online charging at the bearer layer (below layer 4).
步骤S311,OCS提供可能的信用信息给PCEF。OCS还会为每一个信用提供重授权触发。In step S311, the OCS provides possible credit information to the PCEF. OCS also provides a re-authorization trigger for each credit.
步骤S312,如果至少一个PCC规则被成功激活并且在线计费被应用且信用没有被OCS拒绝,PCEF驻留的网关向BBERF驻留的网关返回建立IP-CAN会话应答消息,携带有IP-CAN会话的IPAddress。Step S312, if at least one PCC rule is successfully activated and online charging is applied and the credit is not rejected by OCS, the gateway where PCEF resides returns an IP-CAN session establishment response message to the gateway where BBERF resides, carrying the IP-CAN session IPAddress.
步骤S313,BBERF驻留的网关返回建立IP-CAN会话应答消息,携带有IP-CAN会话的IP地址。Step S313, the gateway where the BBERF resides returns an IP-CAN session establishment response message, carrying the IP address of the IP-CAN session.
步骤S314,PCRF向所选择的TDEF发送业务检测会话建立请求消息,消息中携带用户标识、PDN标识、IP-CAN会话的IPAddress和接入网计费标识。PCRF还会向TDEF提供业务检测规则和/或业务执行规则、。该请求消息用于建立业务检测会话。In step S314, the PCRF sends a service detection session establishment request message to the selected TDEF, and the message carries the user ID, PDN ID, IPAddress of the IP-CAN session and the access network charging ID. The PCRF will also provide the TDEF with service detection rules and/or service execution rules. The request message is used to establish a service detection session.
步骤S315,PCEF安装业务检测规则和业务检测和执行规则后向PCRF返回确认消息。In step S315, the PCEF returns a confirmation message to the PCRF after installing the service detection rule and the service detection and execution rule.
步骤S316,如果需要执行在线计费控制,并且至少一个业务检测和执行规则被激活,则TDEF激活在线计费会话,并提供相关的输入信息供OCS决策,输入信息包括用户标识等信息。该在线计费会话用于应用层(7层)的在线计费。Step S316, if online charging control needs to be performed, and at least one service detection and execution rule is activated, TDEF activates the online charging session and provides relevant input information for OCS to make a decision. The input information includes user ID and other information. The online charging session is used for online charging at the application layer (layer 7).
步骤S317,OCS提供可能的信用信息给TDEF。OCS还会为每一个信用提供重授权触发。OCS根据用户标识将把步骤S310建立信用控制会话和步骤S316建立的信用控制会话进行关联。Step S317, OCS provides possible credit information to TDEF. OCS also provides a re-authorization trigger for each credit. The OCS associates the credit control session established in step S310 with the credit control session established in step S316 according to the user identifier.
本发明中,上述步骤S314在步骤S305后便可执行。步骤S316可在步骤S314后即可执行。In the present invention, the above step S314 can be executed after step S305. Step S316 can be executed immediately after step S314.
通过以上流程,UE建立IP-CAN会话,并且PCRF将实现对该IP-CAN会话进行策略和计费控制的网关控制会话、Gx会话和业务检测会话进行关联。PCEF和TDEF分别与OCS之间建立的信用控制会话,并在OCS实现的会话关联,这样对于那些非会话类的业务,OCS都能进行承载层与应用层的计费关联分析。Through the above procedure, the UE establishes an IP-CAN session, and the PCRF associates the gateway control session, the Gx session, and the service detection session for policy and charging control of the IP-CAN session. The credit control session established between PCEF and TDEF and OCS respectively, and the session association implemented in OCS, so that for those non-session services, OCS can carry out the charging association analysis between the bearer layer and the application layer.
实施例二Embodiment two
图4是本发明增强的策略和计费控制的方法实施例二的流程图,如图4所示,本实施例描述了由TDEF根据业务检测规则检测到新的业务后,发起的IP-CAN会话修改流程,在该流程中,BBERF驻留的网关与PCEF驻留的网关之间采用PMIPv6协议进行通信。具体步骤如下:Fig. 4 is the flow chart of embodiment two of the method embodiment of the enhanced policy and billing control of the present invention, as shown in Fig. 4, this embodiment describes the IP-CAN initiated by TDEF after detecting new services according to the service detection rules Session modification process, in this process, the gateway where the BBERF resides and the gateway where the PCEF resides communicate using the PMIPv6 protocol. Specific steps are as follows:
步骤S401,TDEF根据PCRF下发的业务检测规则对流经的业务数据流进行检测,并检测到了一种之前没有向PCRF报告过的业务。In step S401, the TDEF detects the passing service data flow according to the service detection rules delivered by the PCRF, and detects a service that has not been reported to the PCRF before.
步骤S402,TDEF向PCRF上报检测到的业务。TDEF可以通过上报对应的业务检测规则的标识或PCRF和TDEF之间预配置的该业务的标识向PCRF报告。同时TDEF也会为该业务分配一个计费标识用于标识四层以上的计费信息(在本发明中该计费标识称为应用计费标识,四层以上的计费信息称为应用计费信息),并发送给PCRF。In step S402, the TDEF reports the detected service to the PCRF. The TDEF may report to the PCRF by reporting the identifier of the corresponding service detection rule or the identifier of the service preconfigured between the PCRF and the TDEF. At the same time, TDEF will also distribute a charging identifier for the service to identify the charging information above four layers (in the present invention, the charging identifier is called application charging identifier, and the charging information above four layers is called application charging information) and send to PCRF.
步骤S403,PCRF保存TDEF上报的信息后,向TDEF返回确认消息。In step S403, the PCRF returns a confirmation message to the TDEF after storing the information reported by the TDEF.
步骤S404,PCRF根据签约信息、接入信息、网络策略以及TDEF上报的业务信息进行策略决策。PCRF策略包括PCC规则以及对应的QoS规则。PCC规则包括四层的过滤器,PCEF根据四层过滤器对业务数据流进行检测,进行策略和计费控制。若下发的PCC规则还需要进一步执行四层以上的策略和计费控制,则PCRF还会定制对应的业务执行规则。业务执行规则包括四层以上的过滤器,这样TDEF就可以根据四层以上过滤器对业务数据流进行检测,并进行策略和计费控制。PCRF还可以制定事件触发器,用于向BBERF、PCEF或TDEF进行事件订阅。In step S404, the PCRF makes a policy decision according to the subscription information, access information, network policy, and service information reported by the TDEF. PCRF policies include PCC rules and corresponding QoS rules. PCC rules include four-layer filters, and PCEF detects service data flows according to the four-layer filters, and performs policy and charging control. If the issued PCC rules need to further implement policies and charging controls above four layers, the PCRF will also customize corresponding business execution rules. The business execution rules include more than four layers of filters, so that TDEF can detect the business data flow according to the four or more layers of filters, and carry out policy and charging control. PCRF can also formulate an event trigger for event subscription to BBERF, PCEF or TDEF.
步骤S405,PCRF向BBERF发送网关控制和QoS规则提供消息,携带QoS规则,以及事件触发器。In step S405, the PCRF sends a gateway control and QoS rule provision message to the BBERF, carrying QoS rules and event triggers.
步骤S406,BBERF安装QoS规则和事件触发器。BBERF所在网关根据QoS规则执行QoS控制,进行承载的建立、修改或终结。Step S406, BBERF installs QoS rules and event triggers. The gateway where BBERF is located performs QoS control according to QoS rules, and establishes, modifies or terminates the bearer.
步骤S407、BBERF向PCRF返回确认消息。Step S407, the BBERF returns a confirmation message to the PCRF.
步骤S408,PCRF向PCEF发送策略和计费规则提供消息,携带有PCC规则和事件触发器。对于每一个PCC规则,PCRF同时会向PCEF发送是否需要进行四层以上过滤的策略和计费控制指示,若需要,则PCEF将把与该PCC规则匹配的业务数据流转发给TDEF。PCRF会将TDEF上报的应用计费标识发送给PCEF。In step S408, the PCRF sends a policy and charging rule provision message to the PCEF, carrying PCC rules and event triggers. For each PCC rule, PCRF will also send policy and charging control instructions to PCEF whether filtering above layer 4 is required, and if necessary, PCEF will forward the service data flow matching the PCC rule to TDEF. The PCRF will send the application charging identifier reported by the TDEF to the PCEF.
步骤S409,PCEF安装PCC规则和事件触发器。PCEF将根据四层以上过滤的策略和计费控制指示把该PCC规则检测到的业务数据流转发给在IP-CAN会话建立过程中PCRF为该IP-CAN会话选择的TDEF。Step S409, PCEF installs PCC rules and event triggers. The PCEF will forward the service data flow detected by the PCC rule to the TDEF selected by the PCRF for the IP-CAN session during the establishment of the IP-CAN session according to the policies and charging control instructions filtered by layers above four.
步骤S410,如果执行在线计费,则PCEF可能向OCS为新的计费键(ChargingKeys)请求新的信用和/或返回不再激活的ChargingKey剩余的信用。Step S410, if online charging is performed, the PCEF may request new credits from the OCS for new charging keys (ChargingKeys) and/or return the remaining credits of the no longer activated ChargingKeys.
步骤S411,OCS向PCEF提供信用和/或确认信用报告。Step S411, OCS provides credit and/or confirms credit report to PCEF.
步骤S412,PCEF向PCRF返回确认消息。In step S412, the PCEF returns an acknowledgment message to the PCRF.
步骤S413,PCRF向TDEF发送业务执行规则提供消息,提供业务执行规则和事件触发器。In step S413, the PCRF sends a service execution rule providing message to the TDEF to provide the service execution rule and event trigger.
步骤S414,TDEF安装业务执行规则和事件触发器。Step S414, TDEF installs business execution rules and event triggers.
步骤S415,如果执行在线计费,则TDEF向OCS为新的计费键(ChargingKeys)请求新的信用和/或返回不再激活的ChargingKeys剩余的信用;Step S415, if online charging is performed, TDEF requests new credits from the OCS for new charging keys (ChargingKeys) and/or returns the remaining credits of ChargingKeys that are no longer activated;
步骤S416,OCS向TDEF提供信用和/或确认信用报告;Step S416, OCS provides credit and/or confirms credit report to TDEF;
步骤S417,TDEF向PCRF返回确认消息。In step S417, the TDEF returns an acknowledgment message to the PCRF.
通过以上流程,PCEF和TDEF分别通过与OCS之间建立的信用控制会话为TDEF检测到那些非会话类业务进行承载层(四层以下)和应用层(四层以上)的在线计费。并且TDEF把应用计费标识通过PCRF发送给PCEF,实现对业务的计费。Through the above process, PCEF and TDEF perform online charging at bearer layer (below layer 4) and application layer (above layer 4) for those non-session services detected by TDEF through the credit control session established with OCS. And the TDEF sends the application charging identifier to the PCEF through the PCRF, so as to realize the charging of the service.
在实施例二中,TDEF为每一个新检测到业务分配一个应用计费标识。而在其他实施例中,也可以通过其他方法实现:In the second embodiment, the TDEF allocates an application charging identifier for each newly detected service. In other embodiments, it can also be implemented by other methods:
PCRF接收到TDEF上报的检测到的新业务的报告后,为该业务分配应用计费标识,并发送给TDEF。同时,PCRF也将该应用计费标识发送给PCEF。After receiving the report of the detected new service reported by the TDEF, the PCRF allocates an application charging identifier for the service and sends it to the TDEF. At the same time, the PCRF also sends the application charging identifier to the PCEF.
实施例三Embodiment Three
图5是本发明增强的策略和计费控制的方法实施例三的流程图,如图5所示,本实施例描述了基于实施例一和实施例二,PCEF和TDEF实现多层次离线计费的流程,具体步骤如下:Fig. 5 is a flow chart of the third embodiment of the enhanced policy and charging control method of the present invention. As shown in Fig. 5, this embodiment describes the realization of multi-level offline charging based on the first and second embodiments of PCEF and TDEF process, the specific steps are as follows:
步骤S501,PCEF所驻留的网关收到触发需要向OFCS上报计费信息。In step S501, the gateway where the PCEF resides needs to report charging information to the OFCS upon receiving the trigger.
步骤S502,PCEF所驻留的网关向OFCS上报信息,携带接入网计费标识、应用计费标识和承载计费信息。In step S502, the gateway where the PCEF resides reports information to the OFCS, carrying the access network charging identifier, application charging identifier and bearer charging information.
步骤S503,OFCS保存计费信息。In step S503, the OFCS saves the charging information.
步骤S504,OFCS返回确认消息。In step S504, the OFCS returns a confirmation message.
步骤S505,TDEF所驻留的网关收到触发需要向OFCS上报计费信息。Step S505, the gateway where the TDEF resides needs to report charging information to the OFCS upon receiving the trigger.
步骤S506,TDEF所驻留的网关向OFCS上报信息,携带接入网计费标识、应用计费标识和应用计费信息。In step S506, the gateway where the TDEF resides reports information to the OFCS, carrying the access network charging identifier, application charging identifier and application charging information.
步骤S507,OFCS保存计费信息。In step S507, the OFCS saves the charging information.
步骤S508,OFCS返回确认消息。In step S508, the OFCS returns a confirmation message.
步骤S509,OFCS根据接入网计费标识和应用计费标识将步骤S507和步骤S508保存的计费信息进行关联,实现对非会话类业务进行承载层(四层以下)和应用层(四层以上)的离线计费。In step S509, the OFCS associates the charging information saved in steps S507 and S508 according to the access network charging identifier and the application charging identifier, so as to implement the bearer layer (below four layers) and application layer (four layers) for non-session services. above) for offline billing.
图6为本发明增强的策略和计费控制的系统的一种组成结构示意图,如图6所示,本发明增强的策略和计费控制的系统包括设置单元601、制定单元602、执行单元603、确定单元604、第一发送单元605、第二发送单元606和计费及提供单元607,其中:Fig. 6 is a schematic diagram of the structure of the enhanced policy and charging control system of the present invention. As shown in Fig. 6, the enhanced policy and charging control system of the present invention includes a setting unit 601, a formulation unit 602, and an execution unit 603 , a determining unit 604, a first sending unit 605, a second sending unit 606, and a charging and providing unit 607, wherein:
设置单元601,用于在PCC系统中设置TDEF;A setting unit 601, configured to set TDEF in the PCC system;
制定单元602,用于制定PCC规则、业务检测规则和业务执行规则;A formulation unit 602, configured to formulate PCC rules, service detection rules and service execution rules;
执行单元603,用于根据PCRF制定的业务执行规则执行计费控制。The execution unit 603 is configured to execute charging control according to the service execution rules formulated by the PCRF.
如图6所示,本发明增强的策略和计费控制的系统还包括确定单元604、第一发送单元605、第二发送单元606和计费及提供单元607,其中:As shown in Figure 6, the enhanced policy and charging control system of the present invention further includes a determining unit 604, a first sending unit 605, a second sending unit 606, and a charging and providing unit 607, wherein:
确定单元604,用于在制定单元602制定PCC规则时,确定对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制后,触发制定单元602进一步制定业务执行规则;The determining unit 604 is configured to trigger the formulating unit 602 to further formulate service execution rules after determining that the business data flow matching the PCC rule is controlled by four or more layers of policy and charging when the formulating unit 602 formulates the PCC rule;
第一发送单元605,用于将所述业务检测规则或/和业务执行规则发送给所述TDEF;The first sending unit 605 is configured to send the service detection rule or/and service execution rule to the TDEF;
第二发送单元606,用于向PCEF发送PCC规则,并指示对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制;The second sending unit 606 is configured to send the PCC rule to the PCEF, and instruct to control the policy and charging above four layers on the service data flow matching the PCC rule;
计费及提供单元607,用于对业务数据流进行四层以上的计费控制,并向计费系统提供相应的计费信息。The billing and providing unit 607 is used to control the billing of the service data flow above layer 4, and provide corresponding billing information to the billing system.
本领域技术人员应当理解,确定单元604、第一发送单元605、第二发送单元606和计费及提供单元607是为优化本发明增强的策略和计费控制的系统的技术方案而设置的。Those skilled in the art should understand that the determining unit 604, the first sending unit 605, the second sending unit 606, and the charging and providing unit 607 are configured to optimize the technical solution of the enhanced policy and charging control system of the present invention.
图7为本发明增强的策略和计费控制的系统的第二种组成结构示意图,如图7所示,在图6所示的增强的策略和计费控制的系统的基础上,本发明增强的策略和计费控制的系统还包括检测单元608和上报单元609,其中,Fig. 7 is a schematic diagram of the second structure of the enhanced policy and billing control system of the present invention. As shown in Fig. 7, on the basis of the enhanced policy and billing control system shown in Fig. 6, the present invention enhances The policy and charging control system further includes a detection unit 608 and a reporting unit 609, wherein,
检测单元608,用于根据所述业务检测规则对业务数据流进行检测,检测到之前未向所述PCRF报告过的业务时,触发上报单元609;The detection unit 608 is configured to detect the service data flow according to the service detection rule, and trigger the reporting unit 609 when detecting a service that has not been reported to the PCRF before;
上报单元609,用于向所述PCRF上报所述未向所述PCRF报告过的业务;A reporting unit 609, configured to report to the PCRF the services that have not been reported to the PCRF;
制定单元602为所述未向所述PCRF报告过的业务制定PCC规则,确定单元604进一步确定对与所述PCC规则匹配的业务数据流进行四层以上策略和计费的控制时,制定单元602制定业务执行规则,并由第一发送单元605发送给所述TDEF。The formulating unit 602 formulates a PCC rule for the service that has not been reported to the PCRF, and the determining unit 604 further determines that when the service data flow that matches the PCC rule is to be controlled over four layers of policy and charging, the formulating unit 602 A service execution rule is formulated and sent to the TDEF by the first sending unit 605 .
本领域技术人员应当理解,检测单元608和上报单元609是为优化本发明增强的策略和计费控制的系统的技术方案而设置的。Those skilled in the art should understand that the detection unit 608 and the reporting unit 609 are configured to optimize the technical solution of the enhanced policy and charging control system of the present invention.
图8为本发明增强的策略和计费控制的系统的第二种组成结构示意图,如图8所示,在图7所示的增强的策略和计费控制的系统的基础上,本发明增强的策略和计费控制的系统还包括:Fig. 8 is a schematic diagram of the second structure of the enhanced policy and billing control system of the present invention. As shown in Fig. 8, on the basis of the enhanced policy and billing control system shown in Fig. 7, the present invention enhances The system of policy and billing controls also includes:
第一分配单元610,用于向所述检测单元检测到之前未向所述PCRF报告过的业务分配应用计费标识;上报单元609进一步将所述应用计费标识上报给所述PCRF。The first allocating unit 610 is configured to allocate an application charging identifier to a service detected by the detection unit that has not been reported to the PCRF before; the reporting unit 609 further reports the application charging identifier to the PCRF.
为进一步优化本发明增强的策略和计费控制的系统的技术方案,所述系统还包括:In order to further optimize the technical solution of the enhanced policy and charging control system of the present invention, the system further includes:
第二分配单元611,用于为所述TDEF上报的之前未向所述PCRF报告过的业务分配应用计费标识,并由第一发送单元605发送给所述TDEF。The second allocating unit 611 is configured to allocate an application charging identifier to the service reported by the TDEF that has not been reported to the PCRF before, and send it to the TDEF by the first sending unit 605 .
优选地,第二发送单元606将所述PCC规则对应的所述应用计费标识发送给所述PCEF;Preferably, the second sending unit 606 sends the application charging identifier corresponding to the PCC rule to the PCEF;
所述PCEF向离线计费系统提供接入网计费标识、所述应用计费标识和承载计费信息;所述离线计费系统保存所述接入网计费标识、所述应用计费标识和承载计费信息,实现业务的离线计费。The PCEF provides the access network charging identifier, the application charging identifier and bearer charging information to the offline charging system; the offline charging system saves the access network charging identifier, the application charging identifier and carry charging information to realize offline charging of services.
第一发送单元605进一步将业务执行规则对应的所述应用计费标识发送给所述TDEF;所述TDEF向离线计费系统上报接入网计费标识、所述应用计费标识和应用计费信息;所述离线计费系统保存所述接入网计费标识、所述应用计费标识和所述应用计费信息,实现业务的离线计费。The first sending unit 605 further sends the application charging identifier corresponding to the service execution rule to the TDEF; the TDEF reports the access network charging identifier, the application charging identifier and the application charging to the offline charging system information; the offline charging system saves the access network charging identifier, the application charging identifier and the application charging information, so as to realize offline charging of services.
所述离线计费系统根据所述接入网计费标识、所述应用计费标识将所述承载计费信息和应用计费信息进行关联。The offline charging system associates the bearer charging information with the application charging information according to the access network charging identifier and the application charging identifier.
本领域技术人员应当理解,图6、图7及图8所示的增强的策略和计费控制的系统是为实现前述的增强的策略和计费控制的方法而设计的,图6、图7及图8所示的增强的策略和计费控制的系统中各处理单元的功能可参照图3至图5所示方法的描述而理解,各处理单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the enhanced policy and charging control system shown in Figure 6, Figure 7 and Figure 8 is designed to implement the aforementioned enhanced policy and charging control method, Figure 6, Figure 7 The functions of each processing unit in the enhanced policy and charging control system shown in FIG. 8 can be understood with reference to the description of the methods shown in FIGS. And realize, also can realize through concrete logic circuit.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (18)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010101323.1A CN102137367B (en) | 2010-01-26 | 2010-01-26 | Method and system, PCC system that the strategy strengthened and charging control |
| PCT/CN2010/079119 WO2011091683A1 (en) | 2010-01-26 | 2010-11-25 | Enhanced method and system for policy and charging control, and policy and charging control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010101323.1A CN102137367B (en) | 2010-01-26 | 2010-01-26 | Method and system, PCC system that the strategy strengthened and charging control |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102137367A CN102137367A (en) | 2011-07-27 |
| CN102137367B true CN102137367B (en) | 2016-03-30 |
Family
ID=44297002
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010101323.1A Active CN102137367B (en) | 2010-01-26 | 2010-01-26 | Method and system, PCC system that the strategy strengthened and charging control |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102137367B (en) |
| WO (1) | WO2011091683A1 (en) |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103220158B (en) * | 2012-01-21 | 2016-12-14 | 阿尔卡特朗讯 | A kind of method and apparatus that sponsorship data application is carried out charging control |
| CN103220651A (en) | 2012-01-21 | 2013-07-24 | 阿尔卡特朗讯 | Method and equipment for carrying out charging control on application layer data |
| CN102612097A (en) * | 2012-03-30 | 2012-07-25 | 中兴通讯股份有限公司 | Method, system and PCRF (Policy and Charging Rules Function) for adjusting QoS (Quality of Service) strategy of user |
| WO2014000812A1 (en) * | 2012-06-29 | 2014-01-03 | Nokia Siemens Networks Oy | Management and control of application based charging |
| CN103686660B (en) * | 2012-09-21 | 2016-12-21 | 阿尔卡特朗讯 | A kind of method and apparatus being used for carrying out charging in PCC framework |
| CN104221418B (en) * | 2013-01-15 | 2018-07-31 | 华为技术有限公司 | The method and apparatus of charging |
| CN103945359B (en) * | 2013-01-18 | 2018-12-25 | 中兴通讯股份有限公司 | A kind of processing method of business datum, device and system |
| CN104769978B (en) * | 2013-09-18 | 2019-02-19 | 华为技术有限公司 | Billing method and equipment |
| CN104639340B (en) * | 2013-11-08 | 2018-04-27 | 华为技术有限公司 | The methods, devices and systems of billing data |
| CN105207786B (en) * | 2014-05-30 | 2018-10-02 | 中国电信股份有限公司 | The method and system and route agent's node of Rx sessions and Gx binding sessions |
| CN105307219A (en) * | 2014-06-20 | 2016-02-03 | 中国电信股份有限公司 | Method and system for controlling service quality of communication service |
| CN106789117A (en) | 2015-11-19 | 2017-05-31 | 中兴通讯股份有限公司 | The processing method and processing device of PCC rules |
| WO2017084603A1 (en) * | 2015-11-19 | 2017-05-26 | 中兴通讯股份有限公司 | Method and device for processing pcc rule |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101159923A (en) * | 2007-11-09 | 2008-04-09 | 华为技术有限公司 | Service processing method and system, SIP application access gateway module |
| CN101188504A (en) * | 2006-11-20 | 2008-05-28 | 华为技术有限公司 | System and processing method of a network convergence policy charging control framework |
| CN101374260A (en) * | 2007-08-22 | 2009-02-25 | 华为技术有限公司 | Method, device and system for implementing PCC rule and bearer association |
| CN101552682A (en) * | 2008-04-03 | 2009-10-07 | 华为技术有限公司 | Method and system for controlling policy and charging control information |
-
2010
- 2010-01-26 CN CN201010101323.1A patent/CN102137367B/en active Active
- 2010-11-25 WO PCT/CN2010/079119 patent/WO2011091683A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101188504A (en) * | 2006-11-20 | 2008-05-28 | 华为技术有限公司 | System and processing method of a network convergence policy charging control framework |
| CN101374260A (en) * | 2007-08-22 | 2009-02-25 | 华为技术有限公司 | Method, device and system for implementing PCC rule and bearer association |
| CN101159923A (en) * | 2007-11-09 | 2008-04-09 | 华为技术有限公司 | Service processing method and system, SIP application access gateway module |
| CN101552682A (en) * | 2008-04-03 | 2009-10-07 | 华为技术有限公司 | Method and system for controlling policy and charging control information |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2011091683A1 (en) | 2011-08-04 |
| CN102137367A (en) | 2011-07-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102137367B (en) | Method and system, PCC system that the strategy strengthened and charging control | |
| US9503483B2 (en) | Method and apparatuses for identifying and reporting quality of service rules applicable to a communication session | |
| CN102075900B (en) | Method and system for realizing quantity monitoring and controlling | |
| US9191960B2 (en) | Methods and apparatus for mitigating service interruption | |
| CN102083035B (en) | Method and system for implementing usage monitoring control | |
| CN102625272B (en) | A kind of consumption monitoring method and system for supporting current detection functionality | |
| CN102611586B (en) | Support that the method and system of application detection and control are realized in the IP CAN sessions of double stacks | |
| CN102075894B (en) | Selection method and system for policy and charging rules function entity | |
| US20100180319A1 (en) | Method and System for Session Modification | |
| CN101448283A (en) | Method for triggering session termination and realizing method and system thereof | |
| CN102223240B (en) | Method for providing services, service agency device and policy and charging rules function device | |
| CN102137368B (en) | Enhanced policy and charge control method and system and PCC (Policy Charge Control) system | |
| WO2012075875A1 (en) | Method and system for signing and enforcing spending limit service | |
| CN102014517A (en) | Method and system for transmitting bearer control mode under roaming scene | |
| WO2011085621A1 (en) | Method and system for service processing | |
| CN102014360B (en) | Method and system for online charging of local breakout roaming scene | |
| CN104955013A (en) | Usage monitoring method, apparatus and system | |
| CN102123035A (en) | Policy and charging rules function (PCRF) entity selection method, device and system | |
| CN101420361A (en) | Method, terminal, server and customer terminal for terminating session | |
| EP3389218B1 (en) | Data service charging method, device and system | |
| WO2012071956A1 (en) | Method, system and apparatus for supporting sponsored data connectivity in roaming scenarios | |
| CN101378328A (en) | Method, apparatus and system for applying control strategy | |
| CN101990254B (en) | Policy and charging control method as well as policy control and charging rule functional entities | |
| CN101945367A (en) | Charging method and device for evolved packet system | |
| CN101998323B (en) | Policy and charging control-based redirection method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |