[go: up one dir, main page]

CN100341277C - Implementation method for improving online charging based on traffic data steam - Google Patents

Implementation method for improving online charging based on traffic data steam Download PDF

Info

Publication number
CN100341277C
CN100341277C CNB200410044430XA CN200410044430A CN100341277C CN 100341277 C CN100341277 C CN 100341277C CN B200410044430X A CNB200410044430X A CN B200410044430XA CN 200410044430 A CN200410044430 A CN 200410044430A CN 100341277 C CN100341277 C CN 100341277C
Authority
CN
China
Prior art keywords
tpf
charging
crf
ocs
credit
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.)
Expired - Fee Related
Application number
CNB200410044430XA
Other languages
Chinese (zh)
Other versions
CN1697389A (en
Inventor
武亚娟
段小琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB200410044430XA priority Critical patent/CN100341277C/en
Publication of CN1697389A publication Critical patent/CN1697389A/en
Application granted granted Critical
Publication of CN100341277C publication Critical patent/CN100341277C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Meter Arrangements (AREA)

Abstract

本发明公开了一种完善基于业务数据流在线计费的实现方法,该方法包含:计费规则功能实体CRF向在线计费系统OCS提供与信用控制相关的输入信息;OCS根据所述与信用控制相关的输入信息,确定信用;OCS向传输面功能实体TPF提供所述信用。根据本发明提出的方法,OCS根据获取的与信用控制相关的输入信息,确定信用,然后向TPF提供针对计费规则的信用,对现有基于FBC机制的在线计费结构改动较小;并且,本发明中提供了多种实现方式,完善了现有FBC计费机制中实时计费的实现方案,并具有灵活的选择性。

Figure 200410044430

The invention discloses a method for realizing online charging based on perfect service data flow. The method includes: the charging rule functional entity CRF provides input information related to credit control to the online charging system OCS; The relevant input information determines the credit; the OCS provides the credit to the transport plane functional entity TPF. According to the method proposed by the present invention, the OCS determines the credit according to the obtained input information related to the credit control, and then provides the credit for the charging rules to the TPF, which makes little changes to the existing online charging structure based on the FBC mechanism; and, The present invention provides multiple implementation modes, perfects the implementation scheme of real-time charging in the existing FBC charging mechanism, and has flexible options.

Figure 200410044430

Description

一种完善基于业务数据流在线计费的实现方法A Realization Method of Improving Online Charging Based on Service Data Flow

技术领域technical field

本发明涉及计费领域,特别是指一种完善基于业务数据流在线计费的实现方法。The invention relates to the charging field, in particular to an implementation method for perfecting online charging based on service data flow.

背景技术Background technique

随着分组数据业务应用的逐渐广泛,如何准确合理地对分组数据业务进行计费,已成为运营商普遍关注的问题。With the gradual widespread application of packet data services, how to charge packet data services accurately and reasonably has become a common concern of operators.

当前的通用分组无线业务(GPRS,General Packet Radio Service)计费系统中,针对用户的业务数据流只能识别到接入点名称(APN)和分组数据协议上下文(PDP Context,Packet Data Protocol Context)这一级别,因此只能根据APN和PDP Context进行计费。然而,在实际应用中,多个并行的业务数据流很可能会通过同一个PDP Context承载,而不同业务则可能需要采用不同的计费方式进行计费,当前的GPRS计费系统无法满足这一需求。例如,用户同时进行流媒体业务和多媒体消息业务,这两个业务同时承载于同一APN和PDP Context中,但这两个业务的计费规则是完全不同的,如流媒体业务需要根据用户的数据流量或该业务进行的时间长度进行计费,多媒体消息业务需要根据事件进行计费,该事件可为发送或接收一条多媒体消息。为了对不同类型的分组数据业务使用相同的计费方案,需要对当前的GPRS计费系统提出一种新的计费方式,采用一种通用的基于数据流的计费机制。In the current general packet radio service (GPRS, General Packet Radio Service) billing system, only the access point name (APN) and the packet data protocol context (PDP Context, Packet Data Protocol Context) can be identified for the service data flow of the user This level, therefore, can only be billed according to APN and PDP Context. However, in practical applications, multiple parallel service data streams are likely to be carried by the same PDP Context, and different services may require different charging methods for charging. The current GPRS charging system cannot meet this requirement. need. For example, if a user performs streaming media service and multimedia messaging service at the same time, these two services are carried in the same APN and PDP Context at the same time, but the charging rules of these two services are completely different. The traffic or the duration of the service is charged. The multimedia message service needs to be charged according to the event. The event can be sending or receiving a multimedia message. In order to use the same charging scheme for different types of packet data services, it is necessary to propose a new charging method for the current GPRS charging system, and adopt a general charging mechanism based on data flow.

针对上述情况,第三代合作伙伴计划(3GPP,The 3rd GenerationPartnership Project)目前正在讨论如何实现基于网际协议(IP)数据流的计费(FBC,Flow Based Charging)。对于一个分组数据业务而言,用户使用该业务时所消耗的数据量称为业务数据流(Service Data Flow),业务数据流是多个IP数据流组成的集合。在一个APN和PDP Context中可承载多个不同的分组数据业务。这样,基于IP数据流的计费粒度要远远小于基于一个PDP Context的计费粒度,基于IP数据流的计费能够更真实地反映某个业务数据流对资源的占用情况,因此,基于IP数据流的计费能够为运营商或业务提供者提供更为丰富的计费手段。In view of the above situation, the 3rd Generation Partnership Project (3GPP, The 3rd Generation Partnership Project) is currently discussing how to implement Internet Protocol (IP) data flow-based charging (FBC, Flow Based Charging). For a packet data service, the amount of data consumed by users when using the service is called Service Data Flow, which is a collection of multiple IP data flows. Multiple different packet data services can be carried in one APN and PDP Context. In this way, the billing granularity based on IP data flow is far smaller than the billing granularity based on a PDP Context, and the billing granularity based on IP data flow can more truly reflect the occupation of resources by a service data flow. Therefore, IP-based The billing of the data flow can provide operators or service providers with richer billing methods.

3GPP中对FBC的系统结构、功能要求以及消息交互流程等方面均进行了描述,支持在线计费的FBC系统结构如图1A所示,基于移动网络增强逻辑的客户化应用(CAMEL,Customised Application for Mobile NetworkEnhanced Logic)的业务控制点(SCP,Service Control Point)101和基于业务数据流计费的信用控制功能实体(CC,Service Data Flow Based CreditControl Function)102组成了在线计费系统(OCS,Online Charging System)106。CC 102通过Ry接口与基于业务数据流计费的计费规则功能实体(CRF,Service Data Flow Based Charging Rule Function)103相连,CRF 103通过Rx接口与应用功能实体(AF,Application Function)104相连,CRF 103通过Gx接口与传输面功能实体(TPF,Traffic Plane Function)105相连,CC 102通过Gy接口与TPF 105相连。3GPP has described the system structure, functional requirements and message interaction process of FBC. The FBC system structure supporting online charging is shown in Figure 1A. The customized application (CAMEL, Customized Application for The service control point (SCP, Service Control Point) 101 of Mobile Network Enhanced Logic and the credit control function entity (CC, Service Data Flow Based Credit Control Function) 102 based on service data flow charging constitute an online charging system (OCS, Online Charging System) 106. The CC 102 is connected to a service data flow based charging rule function entity (CRF, Service Data Flow Based Charging Rule Function) 103 through the Ry interface, and the CRF 103 is connected to the application function entity (AF, Application Function) 104 through the Rx interface, The CRF 103 is connected to the transmission plane functional entity (TPF, Traffic Plane Function) 105 through the Gx interface, and the CC 102 is connected to the TPF 105 through the Gy interface.

支持离线计费的FBC系统结构如图1B所示,CRF 103通过Rx接口与AF 104相连,CRF 103通过Gx接口与TPF 105相连,TPF 105通过Gz接口分别与计费网关功能实体(CGF,Charging Gateway Function)107和计费采集功能实体(CCF,Charging Collection Function)108相连。The structure of the FBC system supporting offline charging is shown in Figure 1B. The CRF 103 is connected to the AF 104 through the Rx interface, the CRF 103 is connected to the TPF 105 through the Gx interface, and the TPF 105 is connected to the charging gateway functional entities (CGF, Charging Gateway Function) 107 is connected to charging collection function entity (CCF, Charging Collection Function) 108.

下面根据目前3GPP对于实现FBC功能实体的划分,对各功能实体实现的功能进行描述。The functions realized by each functional entity are described below according to the current 3GPP's division of FBC functional entities.

TPF 105是承载业务数据流的功能实体,能够对属于不同分组数据业务流程的分组数据包进行区分,用于收集离线计费信息和执行在线信用控制,当业务数据流的承载发生改变时,如承载建立、承载修改、承载删除等过程中,TPF 105通过Gx接口向CRF 103请求计费规则,在请求计费规则的消息中可携带有与用户和终端相关的信息、承载特性以及与网络相关的信息等,其中与用户和终端相关的信息可为移动台综合业务服务网国际号码(MSISDN)、国际移动用户标识(IMSI)等,与承载特性相关的信息可为服务质量(QoS)参数、APN,与网络相关的信息可为移动网络编码(MNC)、移动国家码(MCC)等。TPF 105根据CRF 103返回的计费规则,在相应的业务数据流上执行分组数据过滤和计费信息收集。一个TPF 105可由一个或多个CRF 103提供服务,当有多个CRF 103为同一TPF 105提供服务时,可根据终端标识选择相应的CRF 103与其进行交互。TPF 105支持预先定义的计费规则以及预先定义的业务数据流过滤器。TPF 105 is a functional entity carrying business data streams, which can distinguish packet data packets belonging to different packet data business processes, and is used to collect offline charging information and perform online credit control. When the bearer of business data streams changes, such as During the process of bearer establishment, bearer modification, bearer deletion, etc., TPF 105 requests charging rules from CRF 103 through the Gx interface, and the information related to users and terminals, bearer characteristics and network-related information can be carried in the message requesting charging rules. The information related to the user and the terminal may be the International Mobile Station Integrated Services Network Number (MSISDN), the International Mobile Subscriber Identity (IMSI), etc., and the information related to the bearer characteristics may be the Quality of Service (QoS) parameter, APN, the information related to the network may be Mobile Network Code (MNC), Mobile Country Code (MCC) and so on. TPF 105 performs packet data filtering and charging information collection on the corresponding service data flow according to the charging rules returned by CRF 103. One TPF 105 can be served by one or more CRFs 103, when there are multiple CRFs 103 serving the same TPF 105, the corresponding CRF 103 can be selected to interact with it according to the terminal identification. TPF 105 supports predefined charging rules and predefined service data flow filters.

CRF 103是存储计费规则的功能实体,支持动态和静态的计费规则。动态计费规则是指根据分组数据业务准则实时生成的、应用于业务数据流的计费规则,静态计费规则是指在用户使用分组数据业务过程中一成不变的计费规则,静态计费规则可通过用户使用分组数据业务的过程被动态的激活。CRF 103可根据TPF 105、AF 104或OCS 106提供的信息,选取适当的计费规则,在TPF 105向其请求计费规则或特定事件发生时,CRF 103将选定的计费规则提供给TPF 105。一个CRF 103可对应多个TPF 105。CRF 103 is a functional entity that stores charging rules, and supports dynamic and static charging rules. Dynamic billing rules refer to billing rules that are generated in real time according to packet data service criteria and are applied to service data streams. Static billing rules refer to billing rules that remain unchanged during the process of using packet data services. Static billing rules can be It is dynamically activated by the process of using the packet data service by the user. CRF 103 can select appropriate charging rules according to the information provided by TPF 105, AF 104 or OCS 106, and when TPF 105 requests charging rules from it or when a specific event occurs, CRF 103 will provide the selected charging rules to TPF 105. One CRF 103 can correspond to multiple TPF 105.

AF 104代表所有与应用相关的功能实体,AF 104可为运营商自身的网络实体,也可为第三方业务提供商的网络实体。AF 104向CRF 103提供相应信息,使得CRF 103能够根据该信息选择或配置相应的计费规则,AF 104向CRF 103提供的信息包括:业务数据流的标识信息和用于选择计费规则的信息。业务数据流的标识信息,可通过通配标识多个IP流的聚合;用于选择计费规则的信息,包括应用/业务标识、应用/业务计费规则触发事件、业务数据流的类型、业务数据流的速率等信息。业务数据流的标识信息可通配;业务数据流的类型可为视频、音频等,业务数据流的类型为可选参数,业务数据流的速率也为可选参数。一个AF 104可对应于多个CRF 103,当一个CRF 103对应于同一AF 104时,可根据用户终端标识选择相应的CRF 103与其进行交互。AF 104 represents all application-related functional entities, and AF 104 can be the operator's own network entity or a third-party service provider's network entity. AF 104 provides corresponding information to CRF 103, so that CRF 103 can select or configure corresponding charging rules based on the information. The information provided by AF 104 to CRF 103 includes: identification information of service data flow and information for selecting charging rules . The identification information of the service data flow, which can identify the aggregation of multiple IP flows through wildcards; the information used to select the charging rule, including application/service identification, application/service charging rule trigger event, type of service data flow, service Information such as the rate of data flow. The identification information of the service data flow can be wildly matched; the type of the service data flow can be video, audio, etc., the type of the service data flow is an optional parameter, and the rate of the service data flow is also an optional parameter. One AF 104 can correspond to multiple CRFs 103, and when one CRF 103 corresponds to the same AF 104, the corresponding CRF 103 can be selected to interact with it according to the user terminal identifier.

CC 102是执行信用控制的功能实体,仅应用于在线计费系统,可通过在现有的OCS 106中增加新的功能来实现。OCS 106中的CC 102可通过Ry接口向CRF 103提供用于选择计费规则的相关信息。CC 102 is a functional entity that performs credit control and is only used in the online charging system, which can be realized by adding new functions to the existing OCS 106. The CC 102 in the OCS 106 can provide relevant information for selecting charging rules to the CRF 103 through the Ry interface.

CGF 107/CCF 108是应用于离线计费系统的功能实体,可沿用现有的GPRS计费系统中的实现方式。CGF 107/CCF 108 is a functional entity applied to the offline charging system, which can follow the implementation method in the existing GPRS charging system.

如果承载网络为GPRS网络,则TPF 105位于网关通用分组无线业务支持节点(GGSN,Gateway GPRS Support Node),AF 104为分组数据网络(PDN,Packet Data Network)中的一个业务网关或业务服务器,当IP多媒体子系统(IMS,IP Multimedia Subsystem)承载于GPRS网络之上时,AF 104为代理呼叫会话控制功能实体(P-CSCF,Proxy Call Session ControlFunction),CRF 103为新增的逻辑实体。If the bearer network is a GPRS network, then the TPF 105 is located at the Gateway General Packet Radio Service Support Node (GGSN, Gateway GPRS Support Node), and the AF 104 is a service gateway or a service server in the packet data network (PDN, Packet Data Network). When the IP Multimedia Subsystem (IMS, IP Multimedia Subsystem) is carried on the GPRS network, the AF 104 is a Proxy Call Session Control Function entity (P-CSCF, Proxy Call Session Control Function), and the CRF 103 is a newly added logical entity.

上述计费机制同样可应用于3GPP2的网络架构中。The above charging mechanism can also be applied to the network architecture of 3GPP2.

为实现基于FBC机制的计费,在通信网络中增加CRF 103这个功能实体,CRF 103是存储计费规则的功能实体,支持动态计费规则和静态计费规则的决策与实施。为支持动态计费规则的决策和实施,CRF 103分别与AF104、OCS 106及TPF 105相连,CRF 103通过与AF 104之间的Rx接口,获取与应用/业务相关的输入信息;CRF 103通过与OCS 106之间的Ry接口,获取在线计费过程中与信用控制相关的输入信息;在承载建立、修改和删除时,CRF 103通过与TPF 105之间的Gx接口获取用户标识、承载特性、与通信网络相关的信息等用于选择计费规则的输入信息,CRF 103根据这些输入信息选择适当的计费规则,并通过Gx接口提供给TPF 105。In order to realize charging based on the FBC mechanism, the functional entity CRF 103 is added to the communication network. CRF 103 is a functional entity that stores charging rules and supports decision-making and implementation of dynamic charging rules and static charging rules. In order to support the decision-making and implementation of dynamic charging rules, CRF 103 is connected to AF 104, OCS 106 and TPF 105 respectively, and CRF 103 obtains input information related to applications/services through the Rx interface with AF 104; The Ry interface between OCS 106 obtains the input information related to credit control in the online charging process; when the bearer is established, modified and deleted, the CRF 103 obtains the user identification, bearer characteristics, and The information related to the communication network is used to select the input information of the charging rules, and the CRF 103 selects the appropriate charging rules according to these input information, and provides them to the TPF 105 through the Gx interface.

图2A为承载建立时在线计费流程图,如图2A所示,承载建立时在线计费的实现过程包括以下步骤:Figure 2A is a flow chart of online charging when a bearer is established. As shown in Figure 2A, the implementation process of online charging when a bearer is established includes the following steps:

步骤201A:用户设备(UE)向TPF发送承载建立请求(Establish BearerService Request),在GPRS网络中,则是GGSN收到PDP Context创建请求(Create PDP Context Request)。Step 201A: The user equipment (UE) sends a bearer establishment request (Establish BearerService Request) to the TPF, and in the GPRS network, the GGSN receives a PDP Context creation request (Create PDP Context Request).

步骤202A:TPF收到承载建立请求后,向CRF发送计费规则请求(Request Charging Rules),该计费规则请求中携带有供CRF确定计费规则的输入信息。Step 202A: After receiving the bearer establishment request, the TPF sends a charging rule request (Request Charging Rules) to the CRF, and the charging rule request carries input information for the CRF to determine the charging rules.

步骤203A~步骤204A:CRF收到计费规则请求后,根据该计费规则请求中携带的输入信息,还可根据AF提供的相关输入信息,选择适当的计费规则,然后向TPF返回提供计费规则(Provision Charging Rules),该提供计费规则中可携带有选定的计费规则。Step 203A~Step 204A: After receiving the charging rule request, the CRF selects an appropriate charging rule according to the input information carried in the charging rule request and the relevant input information provided by the AF, and then returns the provisioning charging rule to the TPF. Provision Charging Rules, the provision charging rules may carry the selected charging rules.

步骤205A~步骤206A:TPF收到提供计费规则后,对计费规则进行相应操作,然后向UE返回承载建立响应(Establish Bearer Service Accept),接受UE发起的承载建立请求,并继续后续的承载建立流程。Step 205A~Step 206A: After receiving and providing the charging rules, the TPF performs corresponding operations on the charging rules, and then returns a bearer establishment response (Establish Bearer Service Accept) to the UE, accepts the bearer establishment request initiated by the UE, and continues the subsequent bearer Create a process.

图2B为承载修改时在线计费流程图,如图2B所示,承载修改时在线计费的实现过程包括以下步骤:Figure 2B is a flow chart of online charging during bearer modification. As shown in Figure 2B, the implementation process of online charging during bearer modification includes the following steps:

步骤201B:UE向TPF发送承载修改请求(Modify Bearer ServiceRequest),在GPRS网络中,则是GGSN收到PDP Context更新请求(UpdatePDP Context Request)。Step 201B: The UE sends a bearer modification request (Modify Bearer ServiceRequest) to the TPF, and in the GPRS network, the GGSN receives a PDP Context update request (UpdatePDP Context Request).

步骤202B:TPF收到承载修改请求后,向CRF发送计费规则请求,该计费规则请求中携带有供CRF确定计费规则的输入信息。Step 202B: After receiving the bearer modification request, the TPF sends a charging rule request to the CRF, and the charging rule request carries input information for the CRF to determine the charging rule.

步骤203B~步骤204B:CRF收到计费规则请求后,根据该计费规则请求中携带的输入信息,还可根据AF提供的相关输入信息,选择适当的计费规则,然后向TPF返回提供计费规则,该提供计费规则中可携带有选定的计费规则。Step 203B to Step 204B: After receiving the charging rule request, the CRF selects an appropriate charging rule according to the input information carried in the charging rule request and the relevant input information provided by the AF, and then returns the provisioning charging rule to the TPF. charging rule, the charging rule provided may carry the selected charging rule.

步骤205B~步骤206B:TPF收到提供计费规则后,对CRF计费规则进行相应操作,然后向UE返回承载修改响应(Modify Bearer Service Accept),接受UE发起的承载修改请求,并继续后续的承载修改流程。Step 205B~Step 206B: After receiving and providing the charging rules, the TPF performs corresponding operations on the CRF charging rules, and then returns a bearer modification response (Modify Bearer Service Accept) to the UE, accepts the bearer modification request initiated by the UE, and continues the subsequent Host modification process.

图2C为承载删除时在线计费流程图,如图2C所示,承载删除时在线计费的实现过程包括以下步骤:Figure 2C is a flow chart of online charging when a bearer is deleted. As shown in Figure 2C, the implementation process of online charging when a bearer is deleted includes the following steps:

步骤201C:UE向TPF发送承载删除请求(Remove Bearer ServiceRequest),在GPRS网络中,则是GGSN收到PDP Context删除请求(DeletePDP Context Request)。Step 201C: The UE sends a bearer deletion request (Remove Bearer ServiceRequest) to the TPF, and in the GPRS network, the GGSN receives a PDP Context deletion request (DeletePDP Context Request).

步骤202C:TPF收到承载删除请求后,向CRF发送计费规则请求,该计费规则请求中携带有供CRF确定计费规则的输入信息。Step 202C: After receiving the bearer deletion request, the TPF sends a charging rule request to the CRF, and the charging rule request carries input information for the CRF to determine the charging rule.

步骤203C~步骤204C:CRF收到计费规则请求后,根据该计费规则请求中携带的输入信息,还可根据AF提供的相关输入信息,选择适当的计费规则,然后向TPF返回提供计费规则,该提供计费规则中可携带有选定的计费规则。Step 203C~Step 204C: After receiving the charging rule request, the CRF selects an appropriate charging rule according to the input information carried in the charging rule request and the relevant input information provided by the AF, and then returns the provisioning accounting rule to the TPF. charging rule, the charging rule provided may carry the selected charging rule.

步骤205C~步骤206C:TPF收到提供计费规则后,对计费规则进行相应操作,然后向UE返回承载删除响应(Remove Bearer Service Accept),接受UE发起的承载删除请求,并继续后续的承载删除流程。Step 205C~Step 206C: After receiving and providing the charging rules, the TPF performs corresponding operations on the charging rules, and then returns a bearer delete response (Remove Bearer Service Accept) to the UE, accepts the bearer delete request initiated by the UE, and continues the subsequent bearer Delete process.

图3为CRF主动向TPF下发计费规则流程图,如图3所示,CRF主动向TPF下发计费规则的实现过程包括以下步骤:Figure 3 is a flow chart of CRF actively issuing charging rules to TPF. As shown in Figure 3, the implementation process of CRF actively issuing charging rules to TPF includes the following steps:

步骤301:CRF收到某个内部或外部触发事件(Internal or ExternalTrigger Event)的信息,以及与该事件相关的信息,如AF向CRF发送计费规则选择输入信息的事件。Step 301: The CRF receives information about an internal or external trigger event (Internal or External Trigger Event) and information related to the event, such as the event that the AF sends charging rule selection input information to the CRF.

步骤302:CRF根据获取的输入信息选择适当的计费规则。这些输入信息可为AF提供的与应用/业务相关的输入信息,例如,用户使用AF提供的某一业务,该业务对计费有特殊要求,如计费费率与其他业务的计费费率不同,因此,AF向CRF提供与该业务相关的计费输入信息;也可为TPF提供的计费相关输入信息。Step 302: The CRF selects an appropriate charging rule according to the acquired input information. These input information can be the input information related to the application/service provided by AF, for example, the user uses a certain service provided by AF, and the service has special requirements for charging, such as the charging rate and the charging rate of other services Different, therefore, the AF provides the charging input information related to the service to the CRF; it can also be the charging related input information provided by the TPF.

步骤303~步骤304:如果计费规则发生变化,CRF向TPF发送提供计费规则,该提供计费规则中可携带有选定的计费规则。TPF收到提供计费规则后,对计费规则进行相应操作。Step 303 - Step 304: If the charging rule changes, the CRF sends the provisioning charging rule to the TPF, and the provisioning charging rule may carry the selected charging rule. After receiving and providing the charging rules, the TPF performs corresponding operations on the charging rules.

以上所述的计费规则中包括计费机制、计费类型、计费键、业务数据流过滤器、计费规则优先级等信息。其中,计费机制可为采用在线计费还是离线计费;计费类型可为基于时间长度进行计费还是基于数据流量进行计费;计费键,与计费费率相关的参数;业务数据过滤器用于指示TPF对哪些IP数据流进行过滤,然后TPF根据计费规则对过滤出的IP数据流进行计费。业务数据过滤器可包含IP5元组。The charging rules mentioned above include information such as charging mechanism, charging type, charging key, service data flow filter, and charging rule priority. Among them, the billing mechanism can be online billing or offline billing; the billing type can be billing based on time length or data traffic; billing keys, parameters related to billing rates; business data The filter is used to instruct the TPF which IP data flow to filter, and then the TPF charges the filtered IP data flow according to the charging rule. A traffic data filter may contain an IP5 tuple.

由以上描述可见,由于基于业务数据流的计费中,TPF与CRF之间的信息交互过程非常重要,因此,3GPP规范基于FBC机制的计费实现过程中,着重描述了这部分的实现过程;在线计费的实现过程中,基于FBC机制的计费方案中仅提到CRF可从OCS处获取在线计费时与信用控制相关的输入信息,该输入信息用于CRF选择和配置适当的计费规则,而没有具体描述CRF将选定的计费规则提供给TPF之后,TPF如何将不同的计费费率应用到OCS上,使OCS实现信用控制,进而控制在线计费的实施。It can be seen from the above description that the information exchange process between TPF and CRF is very important in the charging based on the service data flow. Therefore, in the charging implementation process based on the FBC mechanism in the 3GPP specification, the implementation process of this part is emphatically described; During the implementation of online charging, the charging scheme based on the FBC mechanism only mentions that CRF can obtain input information related to credit control during online charging from OCS, which is used for CRF to select and configure appropriate charging After the CRF provides the selected charging rules to the TPF, how the TPF applies different charging rates to the OCS, so that the OCS can implement credit control, and then control the implementation of online charging.

另外,AF收到UE发送的分组数据业务请求后,会向CRF提供与应用/业务相关的输入信息,这些输入信息可能导致计费规则的更改,从而使在线计费中的信用控制发生变化,进而也会对在线计费的实施产生影响,这种情况在基于FBC机制的计费方法中也未给出相应描述。In addition, after the AF receives the packet data service request sent by the UE, it will provide the CRF with input information related to the application/service. These input information may lead to changes in the charging rules, thereby changing the credit control in online charging. Furthermore, it will also affect the implementation of online charging, which is not described in the charging method based on the FBC mechanism.

综上所述,现有基于FBC机制的计费方案并未针对在线计费的实现过程给出完整描述,依据现有基于FBC机制的计费方案根本无法实现基于业务数据流的在线计费。To sum up, the existing charging scheme based on the FBC mechanism does not provide a complete description for the implementation process of online charging, and the online charging based on the service data flow cannot be realized according to the existing charging scheme based on the FBC mechanism.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种完善基于业务数据流在线计费的实现方法,对基于业务数据流在线计费的实现过程进行了完善,使得基于业务数据流的在线计费处理流程能够顺利完成。In view of this, the purpose of the present invention is to provide a method for implementing online charging based on business data flow, which improves the implementation process of online charging based on business data flow, so that the online charging process based on business data flow can be successfully completed.

为了达到上述目的,本发明提供了一种完善基于业务数据流在线计费的实现方法,该方法包含以下步骤:In order to achieve the above object, the present invention provides a method for perfecting online charging based on service data flow, the method includes the following steps:

A1、计费规则功能实体CRF向在线计费系统OCS提供与信用控制相关的输入信息;A1. The charging rule functional entity CRF provides input information related to credit control to the online charging system OCS;

B1、OCS根据所述与信用控制相关的输入信息,确定信用;B1. The OCS determines credit according to the input information related to credit control;

C1、OCS向传输面功能实体TPF提供所述信用。C1. The OCS provides the credit to the transport plane functional entity TPF.

所述步骤C1为:OCS主动向TPF提供所述信用。The step C1 is: the OCS actively provides the credit to the TPF.

所述步骤A1之后进一步包括:Further comprising after the step A1:

TPF向OCS发送信用请求,OCS在收到所述信用请求后,执行所述步骤B1。The TPF sends a credit request to the OCS, and the OCS executes the step B1 after receiving the credit request.

所述信用请求中携带有用户帐户标识信息。The credit request carries user account identification information.

该方法进一步包括:OCS向CRF返回确认接收所述与信用控制相关的输入信息的响应。The method further includes: the OCS returns to the CRF a response confirming receipt of the input information related to credit control.

CRF收到触发事件信息后,执行所述步骤A1。After receiving the trigger event information, the CRF executes the step A1.

该方法进一步包括:CRF根据收到的触发事件信息判定需要向TPF提供计费规则,则CRF向TPF提供计费规则;The method further includes: the CRF determines that it is necessary to provide the charging rule to the TPF according to the received trigger event information, and then the CRF provides the charging rule to the TPF;

或者,在步骤C1所述向TPF提供所述信用之后,CRF向TPF提供计费规则。Alternatively, after the credit is provided to the TPF in step C1, the CRF provides charging rules to the TPF.

所述触发事件信息包括但不限于:TPF向CRF发送计费规则请求,或应用功能实体AF向CRF提供应用/业务输入信息,或CRF内部配置的触发事件信息。The trigger event information includes but not limited to: the TPF sends a charging rule request to the CRF, or the application function entity AF provides application/service input information to the CRF, or the trigger event information configured inside the CRF.

所述步骤C1之后进一步包括:TPF向OCS返回确认接收信用的响应。After the step C1, it further includes: the TPF returns a response confirming the receipt of the credit to the OCS.

所述与信用控制相关的输入信息包括但不限于:业务键、计费键、业务事件标识、用户标识、媒体类型、数据速率、计费规则标识、TPF地址信息。The input information related to credit control includes but not limited to: service key, billing key, service event identifier, user identifier, media type, data rate, billing rule identifier, TPF address information.

该方法进一步包括:预先在OCS中配置触发点信息;所述步骤C1为:所述触发点被触发时,OCS向TPF提供根据触发点信息修正的信用。The method further includes: pre-configuring trigger point information in the OCS; the step C1 is: when the trigger point is triggered, the OCS provides the TPF with credits corrected according to the trigger point information.

该方法进一步包括以下步骤:The method further comprises the steps of:

a2、预先在OCS中配置触发点信息;a2. Configure trigger point information in OCS in advance;

b2、所述触发点被触发时,OCS向CRF提供用于确定计费规则的输入信息。b2. When the trigger point is triggered, the OCS provides input information for determining the charging rule to the CRF.

所述步骤A1为:CRF通过TPF向OCS提供与信用控制相关的输入信息;The step A1 is: CRF provides input information related to credit control to OCS through TPF;

步骤A1所述CRF通过TPF向OCS提供与信用控制相关的输入信息为:The input information related to credit control provided by the CRF in step A1 to the OCS through the TPF is:

A11、CRF向TPF提供在线计费信息,TPF根据所述在线计费信息确定所述与信用控制相关的输入信息;A11. The CRF provides online charging information to the TPF, and the TPF determines the input information related to credit control according to the online charging information;

A12、TPF向OCS提供确定的所述与信用控制相关的输入信息。A12. The TPF provides the determined input information related to credit control to the OCS.

所述在线计费信息包括但不限于:业务键、计费键、业务事件标识、用户标识、媒体类型、数据速率、扣费单位。The online charging information includes, but is not limited to: business key, charging key, business event ID, user ID, media type, data rate, and charging unit.

CRF收到触发事件信息后,执行所述步骤A11。After receiving the trigger event information, the CRF executes the step A11.

所述CRF根据收到的触发事件信息判定需要向TPF提供计费规则时,所述步骤A11进一步包括:CRF在所述向TPF提供在线计费信息的同时,向TPF提供计费规则。When the CRF determines that charging rules need to be provided to the TPF according to the received trigger event information, the step A11 further includes: the CRF provides the charging rules to the TPF while providing the online charging information to the TPF.

所述触发事件信息包括但不限于:TPF向CRF发送计费规则请求,或AF向CRF提供应用/业务输入信息,或CRF内部配置的触发事件信息。The trigger event information includes but not limited to: the TPF sends a charging rule request to the CRF, or the AF provides application/service input information to the CRF, or the trigger event information configured inside the CRF.

步骤A11所述向TPF提供计费规则之后进一步包括:TPF向CRF返回确认接收计费规则的响应。After providing the charging rule to the TPF in step A11, it further includes: the TPF returns a response confirming receipt of the charging rule to the CRF.

所述与信用控制相关的输入信息携带在TPF向OCS发送的信用请求中。The input information related to credit control is carried in the credit request sent by the TPF to the OCS.

所述步骤C1之后进一步包括:TPF向OCS返回确认接收信用的响应。After the step C1, it further includes: the TPF returns a response confirming the receipt of the credit to the OCS.

该方法进一步包括以下步骤:The method further comprises the steps of:

a3、预先在OCS中配置触发点信息;a3. Configure trigger point information in OCS in advance;

b3、所述触发点被触发时,OCS向CRF提供用于确定计费规则的输入信息。b3. When the trigger point is triggered, the OCS provides input information for determining the charging rule to the CRF.

根据本发明提出的方法,在线计费实现过程中,CRF可直接向OCS提供与信用控制相关的输入信息,然后由OCS主动向TPF下发信用,或者由TPF向OCS请求新的信用,从而这些与信用控制相关的输入信息可不需要携带在TPF发送给OCS的消息中,减轻了实体间的消息负荷;CRF也可通过计费规则中携带的信息向TPF提供与在线计费相关的输入信息,并且这些输入信息很可能就是计费规则中包含的一部分内容,然后TPF应用这些输入信息向OCS发起信用请求,上述实现过程对现有基于FBC机制的在线计费结构改动最小。According to the method proposed by the present invention, during the online charging implementation process, the CRF can directly provide the input information related to credit control to the OCS, and then the OCS actively issues credits to the TPF, or the TPF requests new credits from the OCS, so that these The input information related to credit control does not need to be carried in the message sent by the TPF to the OCS, which reduces the message load between entities; the CRF can also provide the TPF with the input information related to online charging through the information carried in the charging rules. And the input information is likely to be part of the billing rules, and then the TPF uses the input information to initiate a credit request to the OCS. The above implementation process has minimal changes to the existing online charging structure based on the FBC mechanism.

本发明中提供了多种实现方式,独立应用其中任何一种实现方式,都能够解决在线计费中信用的请求和下发问题,使得基于业务数据流的在线计费处理流程能够顺利完成,从而完善了现有FBC计费机制中实时计费的实现方案,并具有灵活的选择性。The present invention provides a variety of implementations, and any one of the implementations can be used independently to solve the problem of credit request and issuance in online charging, so that the online charging process based on business data flow can be successfully completed, thereby It improves the real-time billing implementation scheme in the existing FBC billing mechanism, and has flexible options.

附图说明Description of drawings

图1A为在线计费的FBC系统结构示意图;FIG. 1A is a schematic structural diagram of an FBC system for online charging;

图1B为离线计费的FBC系统结构示意图;FIG. 1B is a schematic structural diagram of an FBC system for offline charging;

图2A为承载建立时在线计费流程图;FIG. 2A is a flow chart of online charging when a bearer is established;

图2B为承载修改时在线计费流程图;Figure 2B is a flow chart of online charging when the bearer is modified;

图2C为承载删除时在线计费流程图;Figure 2C is a flow chart of online charging when the bearer is deleted;

图3为CRF主动向TPF下发计费规则流程图;Figure 3 is a flow chart of the CRF actively issuing charging rules to the TPF;

图4为本发明中实施例一示意图;Fig. 4 is a schematic diagram of Embodiment 1 in the present invention;

图5为本发明中实施例二示意图。Fig. 5 is a schematic diagram of Embodiment 2 of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

本发明中,OCS根据获取的与信用控制相关的输入信息,确定信用,然后向TPF提供针对计费规则的信用。In the present invention, the OCS determines the credit according to the obtained input information related to the credit control, and then provides the credit for the charging rule to the TPF.

图4为本发明中实施例一示意图,如图4所示,本实施例中,基于业务数据流的在线计费实现过程包括以下步骤:FIG. 4 is a schematic diagram of Embodiment 1 of the present invention. As shown in FIG. 4, in this embodiment, the implementation process of online charging based on service data flow includes the following steps:

步骤401~步骤403:UE向TPF发送承载建立请求。TPF收到承载建立请求后,向CRF请求计费规则,并向CRF提供确定计费规则的输入信息。CRF收到计费规则请求后,根据该计费规则请求中携带的输入信息,还可根据AF提供的相关输入信息,确定当前分组数据业务的计费方式为在线计费,并选择适当的计费规则,然后向TPF返回选定的计费规则和在线计费指示,在线计费指示用于通知TPF该分组数据业务的当前计费方式为在线计费。Step 401 to Step 403: UE sends a bearer establishment request to TPF. After receiving the bearer establishment request, the TPF requests the charging rule from the CRF, and provides input information for determining the charging rule to the CRF. After the CRF receives the charging rule request, according to the input information carried in the charging rule request and the relevant input information provided by the AF, it can determine that the charging mode of the current packet data service is online charging, and select an appropriate charging rule charging rule, and then return the selected charging rule and online charging indication to the TPF, and the online charging indication is used to notify the TPF that the current charging mode of the packet data service is online charging.

步骤404:TPF收到计费规则后,对计费规则进行相应操作,并根据在线计费指示,TPF确定需要向OCS请求信用后,向OCS发送信用请求,该信用请求中携带有与信用控制相关的输入信息,如计费规则中的计费键。Step 404: After the TPF receives the charging rule, it performs corresponding operations on the charging rule, and according to the online charging instruction, the TPF determines that it needs to request credit from the OCS, and then sends a credit request to the OCS. The credit request carries information related to the credit control Relevant input information, such as the billing key in the billing rule.

步骤405~步骤406:OCS收到信用请求后,根据TPF提供的输入信息确定信用,然后向TPF返回信用响应,如果OCS确定出针对计费规则的信用,则该信用响应中携带有信用,TPF收到携带有信用的信用响应后,可向UE返回承载建立响应,通知用户接受其发起的承载建立请求,继续后续的承载建立流程,后续处理过程中,可继续执行步骤406;如果OCS无法提供信用,则该信用响应中可携带有差错原因值,TPF收到携带有差错原因值的信用响应后,可向UE返回承载建立响应,拒绝用户发起的承载建立请求。Steps 405 to 406: After receiving the credit request, the OCS determines the credit according to the input information provided by the TPF, and then returns a credit response to the TPF. If the OCS determines the credit for the charging rule, the credit response carries the credit, and the TPF After receiving the credit response carrying the credit, it can return the bearer establishment response to the UE, notify the user to accept the bearer establishment request initiated by it, and continue the subsequent bearer establishment process. During the subsequent processing, step 406 can be continued; if the OCS cannot provide credit, the credit response may carry an error cause value, and after receiving the credit response carrying the error cause value, the TPF may return a bearer setup response to the UE and reject the bearer setup request initiated by the user.

步骤407:CRF收到某个内部或外部触发事件的信息,例如,AF根据分组数据业务的应用情况,向CRF发送与应用/业务相关的输入信息,或TPF向CRF发送的承载修改请求,或CRF自身配置的触发点被触发等。Step 407: The CRF receives information about an internal or external trigger event, for example, the AF sends application/service-related input information to the CRF according to the application of the packet data service, or the bearer modification request sent by the TPF to the CRF, or The trigger point configured by the CRF itself is triggered, etc.

步骤408:CRF根据收到的信息确定需要对信用控制进行修改后,向OCS提供与信用控制相关的输入信息,如业务键、计费键、业务事件标识、用户标识、媒体类型、业务数据速率、相关的计费规则标识、相关的TPF地址信息等等。如果CRF确定计费规则发生更改,则选择适当的新的计费规则,然后向TPF提供新的计费规则和在线计费指示,TPF对收到的计费规则进行相应操作;如果CRF确定计费规则未发生更改,则可向TPF发送内容为空的计费规则。Step 408: After the CRF determines that the credit control needs to be modified according to the received information, it provides the input information related to the credit control to the OCS, such as service key, billing key, service event ID, user ID, media type, and service data rate , related charging rule identifiers, related TPF address information, and so on. If the CRF determines that the charging rule has changed, it selects an appropriate new charging rule, and then provides the new charging rule and online charging instruction to the TPF, and the TPF performs corresponding operations on the received charging rule; if the CRF determines that the charging rule If the charging rule has not changed, the charging rule with empty content can be sent to the TPF.

在后续的在线计费处理过程中,既可执行步骤409A~步骤410A,也可执行步骤409B~步骤410B,步骤409A~步骤410A与步骤409B~步骤410B为并行的两种后续处理方式。In the subsequent online charging process, either step 409A-step 410A or step 409B-step 410B can be executed. Step 409A-step 410A and step 409B-step 410B are two parallel subsequent processing modes.

步骤409A~步骤410A:OCS根据CRF提供的输入信息,重新确定针对计费规则的信用,如果OCS确定出针对计费规则的信用,则向TPF提供当前的信用,允许用户使用分组数据业务,TPF收到OCS提供的信用后,向OCS返回响应,通知OCS其发送的信用已被接收;如果OCS无法提供信用,如信用不足以支持当前分组数据业务的实施,则向TPF提供差错原因值,TPF收到OCS提供的差错原因值后,也可向OCS返回响应,对收到的信息进行确认。Step 409A~Step 410A: OCS re-determines the credit for the charging rule according to the input information provided by the CRF. If the OCS determines the credit for the charging rule, it provides the current credit to the TPF and allows the user to use the packet data service. TPF After receiving the credit provided by the OCS, return a response to the OCS, informing the OCS that the credit it sent has been received; if the OCS cannot provide the credit, such as the credit is not enough to support the implementation of the current packet data service, then provide the error cause value to the TPF, TPF After receiving the error cause value provided by the OCS, it can also return a response to the OCS to confirm the received information.

步骤409B~步骤410B:TPF根据在线计费指示,向OCS发送信用请求,由于大量业务信息已在步骤404中由CRF提供给OCS了,因此,该信用请求中携带的与信用控制相关的输入信息可简化一些,仅携带能够标识用户帐户的信息即可,不再需要携带与业务相关的信息。OCS收到信用请求后,根据CRF提供的输入信息,重新确定针对计费规则的信用,如果OCS确定出针对计费规则的信用,则向TPF提供当前的信用,允许用户使用分组数据业务;如果OCS无法提供信用,如信用不足以支持当前分组数据业务的实施,则向TPF提供差错原因值,不允许用户使用分组数据业务。TPF收到OCS提供的相关信息后,可向OCS返回响应,用于对收到的信息进行确认。Step 409B~Step 410B: The TPF sends a credit request to the OCS according to the online charging instruction. Since a large amount of service information has been provided to the OCS by the CRF in step 404, the input information related to credit control carried in the credit request It can be simplified, and it is only necessary to carry information that can identify the user account, and it is no longer necessary to carry information related to the service. After receiving the credit request, OCS re-determines the credit for the charging rule according to the input information provided by the CRF. If the OCS determines the credit for the charging rule, it provides the current credit to the TPF and allows the user to use the packet data service; if OCS cannot provide credit, if the credit is not enough to support the implementation of the current packet data service, it will provide error cause value to TPF, and the user is not allowed to use the packet data service. After receiving the relevant information provided by the OCS, the TPF may return a response to the OCS for confirming the received information.

在步骤408之后,OCS可向CRF返回响应,该响应与步骤409A~步骤410A或步骤409B~步骤410B之间不存在明确的时间顺序,OCS可在收到CRF向其提供的输入信息后,就向CRF返回响应,用于通知CRF已接收其发送的信息;也可在收到TPF向其返回的用于确认接收信息的响应后,向CRF返回响应,此时,如果CRF还没有向TPF提供计费规则,则CRF可在OCS成功将信用提供给TPF之后,向TPF提供新的计费规则,当用户的信用不足以支持当前分组数据业务的实施时,CRF可不向TPF提供计费规则,也可向TPF提供内容为空的计费规则。After step 408, the OCS may return a response to the CRF. There is no clear time sequence between the response and the step 409A~step 410A or step 409B~step 410B. After receiving the input information provided by the CRF, the OCS may Return a response to the CRF to notify the CRF that it has received the information it sent; it can also return a response to the CRF after receiving the response from the TPF to confirm the receipt of the information. At this time, if the CRF has not provided the TPF with Charging rules, then CRF can provide TPF with new charging rules after OCS successfully provides credit to TPF. When the user's credit is not enough to support the implementation of the current packet data service, CRF can not provide TPF with charging rules. A charging rule whose content is empty may also be provided to the TPF.

图5为本发明中实施例二示意图,如图5所示,本实施例中,基于业务数据流的在线计费实现过程包括以下步骤:FIG. 5 is a schematic diagram of Embodiment 2 of the present invention. As shown in FIG. 5, in this embodiment, the implementation process of online charging based on service data flow includes the following steps:

步骤501~步骤507与步骤401~步骤407相同。Steps 501 to 507 are the same as steps 401 to 407.

步骤508:CRF根据收到的信息确定需要对信用控制进行修改后,如果CRF确定计费规则发生更改,则选择适当的新的计费规则,然后向TPF提供新的计费规则、在线计费相关信息,TPF对收到的计费规则进行相应操作;如果CRF确定计费规则未发生更改,则可向TPF发送在线计费相关信息。在线计费相关信息可包括业务键、计费键、业务事件标识、用户标识、媒体类型、数据速率、扣费单位等在线计费相关信息用于TPF向OCS请求信用时使用。Step 508: After the CRF determines that the credit control needs to be modified according to the received information, if the CRF determines that the charging rule has changed, it selects an appropriate new charging rule, and then provides the new charging rule and online charging rule to the TPF. For relevant information, the TPF performs corresponding operations on the received charging rules; if the CRF determines that the charging rules have not changed, it can send online charging related information to the TPF. Online charging-related information may include service key, charging key, business event ID, user ID, media type, data rate, chargeback unit, etc. Online charging-related information is used when TPF requests credit from OCS.

步骤509:TPF收到CRF提供的信息后,如果收到计费规则,则对计费规则进行相应操作,无论TPF收到计费规则与否,都根据在线计费指示,TPF确定需要向OCS请求信用后,向OCS发送信用请求,该信用请求中携带有与信用控制相关的输入信息,包括扣费单位、与费率相关的计费键、与当前分组数据业务相关的业务键、用户标识等信息。Step 509: After the TPF receives the information provided by the CRF, if it receives the charging rules, it will perform corresponding operations on the charging rules. Regardless of whether the TPF receives the charging rules or not, according to the online charging instructions, the TPF determines that it needs to report to the OCS After requesting credit, send a credit request to OCS. The credit request carries input information related to credit control, including the deduction unit, the charging key related to the rate, the service key related to the current packet data service, and the user ID and other information.

步骤510:OCS收到信用请求后,根据CRF提供的输入信息,重新确定针对计费规则的信用,如果OCS确定出针对计费规则的信用,则向TPF提供当前的信用,允许用户使用分组数据业务;如果OCS无法提供信用,如用户的信用不足以支持当前分组数据业务的实施,则向TPF提供差错原因值,不允许用户使用分组数据业务。TPF收到OCS提供的相关信息后,可向OCS返回响应,用于对收到的信息进行确认。Step 510: After receiving the credit request, the OCS re-determines the credit for the charging rule according to the input information provided by the CRF. If the OCS determines the credit for the charging rule, it provides the current credit to the TPF and allows the user to use packet data. business; if the OCS cannot provide credit, such as the user's credit is not enough to support the implementation of the current packet data service, then provide the error cause value to the TPF, and the user is not allowed to use the packet data service. After receiving the relevant information provided by the OCS, the TPF may return a response to the OCS for confirming the received information.

TPF可向CRF返回响应,用于对收到的信息进行确认,该步骤可在TPF收到CRF提供的信息后,立即就向CRF返回响应;也可在收到OCS返回的信用后,才向CRF返回响应;还可在收到CRF提供的信息后与收到OCS返回的信用之前这段时间内的任一时刻,向CRF返回响应。The TPF can return a response to the CRF to confirm the received information. In this step, the TPF can immediately return the response to the CRF after receiving the information provided by the CRF; The CRF returns a response; it can also return a response to the CRF at any time between receiving the information provided by the CRF and before receiving the credit returned by the OCS.

在上述两个实施例的处理过程中,如果OCS中的信用发生变化,可能会对计费规则直接产生影响,如计费规则也需要做相应修改,此时,OCS根据自身存储的配置信息,如触发点信息,则OCS在触发点被触发时,主动向CRF上报与信用控制相关的输入信息,CRF可根据该输入信息,选择适当的新的计费规则,然后提供给TPF,后续过程中可由TPF向OCS请求信用;进一步地,OCS在向CRF上报与信用控制相关的输入信息时,还会向TPF提供信用。OCS中配置的触发点信息可由CRF通过Ry接口配置OCS上。所述触发点信息可为其他功能实体向OCS提供了与信用控制相关的输入信息,如AF向OCS提供了与信用控制相关的输入信息。During the processing of the above two embodiments, if the credit in the OCS changes, it may directly affect the charging rules, such as the charging rules also need to be modified accordingly. At this time, according to the configuration information stored by the OCS, Such as the trigger point information, when the trigger point is triggered, the OCS will actively report the input information related to credit control to the CRF, and the CRF can select an appropriate new charging rule based on the input information, and then provide it to the TPF. The TPF can request credit from the OCS; further, when the OCS reports input information related to credit control to the CRF, it will also provide credit to the TPF. The trigger point information configured in the OCS can be configured on the OCS by the CRF through the Ry interface. The trigger point information may provide other functional entities with input information related to credit control to the OCS, for example, the AF provides input information related to credit control to the OCS.

总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。In a word, 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 (22)

1、一种完善基于业务数据流在线计费的实现方法,其特征在于,该方法包含以下步骤:1. A method for perfecting online billing based on service data flow, characterized in that the method comprises the following steps: A1、计费规则功能实体CRF向在线计费系统OCS提供与信用控制相关的输入信息;A1. The charging rule functional entity CRF provides input information related to credit control to the online charging system OCS; B1、OCS根据所述与信用控制相关的输入信息,确定信用;B1. The OCS determines credit according to the input information related to credit control; C1、OCS向传输面功能实体TPF提供所述信用。C1. The OCS provides the credit to the transport plane functional entity TPF. 2、根据权利要求1所述的方法,其特征在于,所述步骤C1为:OCS主动向TPF提供所述信用。2. The method according to claim 1, wherein the step C1 is: the OCS actively provides the credit to the TPF. 3、根据权利要求1所述的方法,其特征在于,所述步骤A1之后进一步包括:TPF向OCS发送信用请求,OCS在收到所述信用请求后,执行所述步骤B1。3. The method according to claim 1, further comprising: after the step A1, the TPF sends a credit request to the OCS, and the OCS executes the step B1 after receiving the credit request. 4、根据权利要求3所述的方法,其特征在于,所述信用请求中携带有用户帐户标识信息。4. The method according to claim 3, wherein the credit request carries user account identification information. 5、根据权利要求1所述的方法,其特征在于,该方法进一步包括:OCS向CRF返回确认接收所述与信用控制相关的输入信息的响应。5. The method according to claim 1, further comprising: the OCS returns a response to the CRF confirming receipt of the input information related to credit control. 6、根据权利要求1所述的方法,其特征在于,CRF收到触发事件信息后,执行所述步骤A1。6. The method according to claim 1, wherein the CRF executes the step A1 after receiving the trigger event information. 7、根据权利要求6所述的方法,其特征在于,该方法进一步包括:CRF根据收到的触发事件信息判定需要向TPF提供计费规则,则CRF向TPF提供计费规则;7. The method according to claim 6, characterized in that the method further comprises: the CRF determines that it is necessary to provide charging rules to the TPF according to the received trigger event information, and then the CRF provides the charging rules to the TPF; 或者,在步骤C1所述向TPF提供所述信用之后,CRF向TPF提供计费规则。Alternatively, after the credit is provided to the TPF in step C1, the CRF provides charging rules to the TPF. 8、根据权利要求6或7所述的方法,其特征在于,所述触发事件信息包括但不限于:TPF向CRF发送计费规则请求,或应用功能实体AF向CRF提供应用/业务输入信息,或CRF内部配置的触发事件信息。8. The method according to claim 6 or 7, wherein the trigger event information includes but not limited to: TPF sends a charging rule request to CRF, or application function entity AF provides application/service input information to CRF, Or trigger event information configured inside the CRF. 9、根据权利要求1所述的方法,其特征在于,所述步骤C1之后进一步包括:TPF向OCS返回确认接收信用的响应。9. The method according to claim 1, further comprising: after the step C1, the TPF returns a response confirming the receipt of the credit to the OCS. 10、根据权利要求1所述的方法,其特征在于,所述与信用控制相关的输入信息包括但不限于:业务键、计费键、业务事件标识、用户标识、媒体类型、数据速率、计费规则标识、TPF地址信息。10. The method according to claim 1, wherein the input information related to credit control includes but not limited to: business key, billing key, business event ID, user ID, media type, data rate, meter Toll rule identifier, TPF address information. 11、根据权利要求1所述的方法,其特征在于,该方法进一步包括:预先在OCS中配置触发点信息;11. The method according to claim 1, further comprising: configuring trigger point information in OCS in advance; 所述步骤C1为:所述触发点被触发时,OCS向TPF提供根据触发点信息修正的信用。The step C1 is: when the trigger point is triggered, the OCS provides the TPF with the credit corrected according to the trigger point information. 12、根据权利要求1所述的方法,其特征在于,该方法进一步包括以下步骤:12. The method according to claim 1, further comprising the following steps: a2、预先在OCS中配置触发点信息;a2. Configure trigger point information in OCS in advance; b2、所述触发点被触发时,OCS向CRF提供用于确定计费规则的输入信息。b2. When the trigger point is triggered, the OCS provides input information for determining the charging rule to the CRF. 13、根据权利要求1所述的方法,其特征在于,所述步骤A1为:CRF通过TPF向OCS提供与信用控制相关的输入信息。13. The method according to claim 1, wherein said step A1 is: CRF provides input information related to credit control to OCS through TPF. 14、根据权利要求13所述的方法,其特征在于,步骤A1所述CRF通过TPF向OCS提供与信用控制相关的输入信息为:14. The method according to claim 13, characterized in that in step A1, the CRF provides the OCS with the input information related to credit control through the TPF as follows: A11、CRF向TPF提供在线计费信息,TPF根据所述在线计费信息确定所述与信用控制相关的输入信息;A11. The CRF provides online charging information to the TPF, and the TPF determines the input information related to credit control according to the online charging information; A12、TPF向OCS提供确定的所述与信用控制相关的输入信息。A12. The TPF provides the determined input information related to credit control to the OCS. 15、根据权利要求14所述的方法,其特征在于,所述在线计费信息包括但不限于:业务键、计费键、业务事件标识、用户标识、媒体类型、数据速率、扣费单位。15. The method according to claim 14, wherein the online charging information includes but not limited to: business key, billing key, business event ID, user ID, media type, data rate, and charging unit. 16、根据权利要求14所述的方法,其特征在于,CRF收到触发事件信息后,执行所述步骤A11。16. The method according to claim 14, wherein the CRF executes the step A11 after receiving the trigger event information. 17、根据权利要求16所述的方法,其特征在于,所述CRF根据收到的触发事件信息判定需要向TPF提供计费规则时,所述步骤A11进一步包括:CRF在所述向TPF提供在线计费信息的同时,向TPF提供计费规则。17. The method according to claim 16, wherein when the CRF determines that it is necessary to provide charging rules to the TPF according to the received trigger event information, the step A11 further comprises: At the same time as charging information, it provides charging rules to the TPF. 18、根据权利要求16所述的方法,其特征在于,所述触发事件信息包括但不限于:TPF向CRF发送计费规则请求,或AF向CRF提供应用/业务输入信息,或CRF内部配置的触发事件信息。18. The method according to claim 16, wherein the trigger event information includes but is not limited to: TPF sends a charging rule request to CRF, or AF provides application/service input information to CRF, or internal configuration of CRF Trigger event information. 19、根据权利要求17所述的方法,其特征在于,步骤A11所述向TPF提供计费规则之后进一步包括:TPF向CRF返回确认接收计费规则的响应。19. The method according to claim 17, characterized in that after providing the charging rules to the TPF in step A11, the method further comprises: the TPF returns a response confirming receipt of the charging rules to the CRF. 20、根据权利要求13所述的方法,其特征在于,所述与信用控制相关的输入信息携带在TPF向OCS发送的信用请求中。20. The method according to claim 13, wherein the input information related to credit control is carried in the credit request sent by the TPF to the OCS. 21、根据权利要求13所述的方法,其特征在于,所述步骤C1之后进一步包括:TPF向OCS返回确认接收信用的响应。21. The method according to claim 13, further comprising: after the step C1, the TPF returns a response confirming the receipt of the credit to the OCS. 22、根据权利要求13所述的方法,其特征在于,该方法进一步包括以下步骤:22. The method of claim 13, further comprising the steps of: a3、预先在OCS中配置触发点信息;a3. Configure trigger point information in OCS in advance; b3、所述触发点被触发时,OCS向CRF提供用于确定计费规则的输入信息。b3. When the trigger point is triggered, the OCS provides input information for determining the charging rule to the CRF.
CNB200410044430XA 2004-05-12 2004-05-12 Implementation method for improving online charging based on traffic data steam Expired - Fee Related CN100341277C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410044430XA CN100341277C (en) 2004-05-12 2004-05-12 Implementation method for improving online charging based on traffic data steam

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410044430XA CN100341277C (en) 2004-05-12 2004-05-12 Implementation method for improving online charging based on traffic data steam

Publications (2)

Publication Number Publication Date
CN1697389A CN1697389A (en) 2005-11-16
CN100341277C true CN100341277C (en) 2007-10-03

Family

ID=35349928

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410044430XA Expired - Fee Related CN100341277C (en) 2004-05-12 2004-05-12 Implementation method for improving online charging based on traffic data steam

Country Status (1)

Country Link
CN (1) CN100341277C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277204B (en) * 2008-04-23 2011-04-20 中兴通讯股份有限公司 Credit control method based on multi-service conversation
CN102143466B (en) * 2010-06-10 2013-12-04 华为技术有限公司 On-line charging method, access proxy equipment and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1209251A (en) * 1995-12-21 1999-02-24 艾利森公司 Transport mechanism for accounting message within a telecommunication
WO2000072160A1 (en) * 1999-05-25 2000-11-30 Freeflyr Llc Disk dispensing and retrieval system with automated quality control and internet usage feedback
WO2001089924A2 (en) * 2000-05-25 2001-11-29 American Express Travel Related Services Company, Inc. Recurrent billing maintenance system
WO2004036825A1 (en) * 2002-10-15 2004-04-29 Telefonaktiebolaget Lm Ericsson (Publ) System for providing flexible charging in a network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1209251A (en) * 1995-12-21 1999-02-24 艾利森公司 Transport mechanism for accounting message within a telecommunication
WO2000072160A1 (en) * 1999-05-25 2000-11-30 Freeflyr Llc Disk dispensing and retrieval system with automated quality control and internet usage feedback
WO2001089924A2 (en) * 2000-05-25 2001-11-29 American Express Travel Related Services Company, Inc. Recurrent billing maintenance system
WO2004036825A1 (en) * 2002-10-15 2004-04-29 Telefonaktiebolaget Lm Ericsson (Publ) System for providing flexible charging in a network

Also Published As

Publication number Publication date
CN1697389A (en) 2005-11-16

Similar Documents

Publication Publication Date Title
CN1302636C (en) Implementation method for improving online charging based on traffic data steam
CN1303781C (en) Accounting and controlling method for grouped data service
US8238873B2 (en) Method and system for charging control
CN1735017A (en) Dialogue building method based on packet data flow charging
CN1729648A (en) System for providing flexible charging in a network
CN1691821A (en) A method and system for implementing roaming charging
CN1697387A (en) A method for selecting charging rules for users
CN101047988A (en) Strategy and charging control method at user roaming state
CN1260910C (en) Processing method based on packet data stream charging triggered event and re-authorized events
CN1275422C (en) Method for strengthening accounting rules and operating in grouped data service
CN1277371C (en) Processing method based on block data flow charging re-discrimination weight
CN101047874A (en) Decision method for service information in mobile communication network
CN100341277C (en) Implementation method for improving online charging based on traffic data steam
CN1773922A (en) Processing method and system based on group data stream charge
CN1735024A (en) Charging information processing method based on service data flow charge
CN1917544A (en) Method for implementing charge in wireless communication system
CN1773917A (en) Method for processing charged information
CN1753370A (en) Method of implementing user's equipment reorientation in mobile pocket data business
CN1684420A (en) Method for realizing group data service charging and controlling service cut-in
CN1735023A (en) Method for carrying out repetitive authority and processing repetitive authority event and triggering event
CN1315282C (en) Metering method based on universal group radio operation flow back complement
CN100341278C (en) System based on packet datastream charging and processing method thereof
CN1323514C (en) A charging method for mobile packet data service
CN1735021A (en) Dialog number distributing method based on packet data flow charging
CN1697388A (en) Credit control method online charging based on traffic data steam

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071003

Termination date: 20200512

CF01 Termination of patent right due to non-payment of annual fee