WO2006060964A1 - A system and processing method for charging based on the packet data flow - Google Patents

A system and processing method for charging based on the packet data flow Download PDF

Info

Publication number
WO2006060964A1
WO2006060964A1 PCT/CN2005/002139 CN2005002139W WO2006060964A1 WO 2006060964 A1 WO2006060964 A1 WO 2006060964A1 CN 2005002139 W CN2005002139 W CN 2005002139W WO 2006060964 A1 WO2006060964 A1 WO 2006060964A1
Authority
WO
WIPO (PCT)
Prior art keywords
ocs
crf
charging
tpf
credit
Prior art date
Application number
PCT/CN2005/002139
Other languages
French (fr)
Chinese (zh)
Inventor
Xiaoqin Duan
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.
Publication of WO2006060964A1 publication Critical patent/WO2006060964A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications

Definitions

  • the present invention relates to the field of packet data charging, and more particularly to a system and processing method based on packet data flow charging. Background of the invention
  • FIG 1 shows the packet data protocol context (PDP Context, Packet Data Protocol Context) activation, data transmission, deactivation flow diagram, as shown in Figure 1, in the General Packet Radio Service (GPRS, General Packet Radio Service), activated
  • GPRS General Packet Radio Service
  • PDN Packet Data Network
  • deactivation flow diagram as shown in Figure 1, in the General Packet Radio Service (GPRS, General Packet Radio Service), activated
  • GPRS General Packet Radio Service
  • PDN Packet Data Network
  • Step 101 The mobile terminal (MS) sends a PDP Context Request (Active PDP Context Request) to the Serving GPRS Support Node (SGSN), where the Activate PDP Context Request carries the mesh layer service access point.
  • NSAPI Network Layer Service Access Point Identifier
  • PDP type Access Point Name (APN, Access Point Name), required Quality of Service (QoS) parameters, Transaction Identifier (TI), etc.
  • GGSN Gateway GPRS Support Node
  • TID Tunnel Identifier
  • the PDP type includes the end-to-end protocol (PPP, Peer).
  • Step 102 After receiving the Activate PDP Context Request, the SGSN performs security check and encryption with the MS. This step is an optional step.
  • Step 103 The SGSN parses the address information of the GGSN according to the APN. If the SGSN can parse the address information of the GGSN according to the APN, the TEID is created for the PDP Context, and the TEID can be an International Mobile Subscriber Identity (IMSI). The combination of the NSAPI, and then the SGSN sends a PDP Context Request to the GGSN, where the PDP Context creation request carries a PDP type, a PDP address, an APN, a QoS parameter, a TEID, a selection mode, etc., where the PDP address can be The IP address of the MS is an optional parameter. The PDP Context creation request may not carry the PDP address.
  • IMSI International Mobile Subscriber Identity
  • the GGSN may assign an IP address to the MS in the subsequent processing, or may be the MS that finally establishes a connection with the MS.
  • the IP address is assigned; the selection mode refers to the selection mode of the APN, that is, whether the APN is selected by the MS or selected by the SGSN. If the SGSN cannot resolve the address information of the GGSN according to the APN, the SGSN rejects the PDP Context activation request initiated by the MS.
  • Step 104 After receiving the PDP Context creation request, the GGSN determines an external PDN according to the APN, then allocates a Charging ID, initiates charging, and negotiates QoS. If the GGSN can meet the quality of service requirements of the QoS parameter, the SGSN sends the SGSN to the SGSN.
  • the PDP Context Response response is generated by the PDP Context Response.
  • the PDP Context creation response carries information such as the TEID, the PDP address, the Backbone Bearer protocol, the agreed QoS parameters, and the Charging ID.
  • the GGSN rejects the SGSN-initiated PDP Context creation request, and then the SGSN rejects the MS-initiated PDP Context activation request.
  • Step 105 After receiving the PDP Context creation response, the SGSN inserts NSAPI and GGSN address information for identifying the PDP Context in the PDP Context, and selects a radio priority according to the agreed QoS parameter, and then returns a PDP Context activation response to the MS (Activate PDP Context Accept ), the PDP Context activation response carries the PDP type, PDP address, TI, negotiated Information such as QoS parameters, wireless priority, PDP configuration options, etc. And, the SGSN starts charging.
  • the MS After receiving the PDP Context activation response, the MS has established a direct route between the MS and the GGSN, and can perform packet data transmission.
  • Step 106 The MS performs packet data interaction through the SGSN, the GGSN, and the PDN.
  • Step 107 After ending the packet data interaction, the MS sends a PDP Context Deactivation Request (Deactivate PDP Context Request) to the SGSN, where the PDP Context Deactivation Request carries
  • Step 108 After receiving the PDP Context deactivation request, the SGSN performs security check and encryption with the MS. This step is an optional step.
  • Steps 109 to 111 The SGSN sends a PDP Context Request to the GGSN, and the PDP Context Delete Request carries the TEID.
  • the GGSN ends the charging of the MS, deletes the PDP Context corresponding to the TEID, and then sends a PDP Context Response (PDP Context Response) to the SGSN.
  • PDP Context deletion response carries the TEID.
  • the SGSN ends the charging of the MS, deletes the PDP Context corresponding to the TEID, and then sends a PDP Context Deactivation Response (Deactivate PDP Context Response) to the MS.
  • the PDP Context deactivation response carries the TI. .
  • the MS deletes the PDP Context corresponding to TI.
  • the termination point of charging is set when the PDP Context is deleted, and therefore can only be transmitted according to the PDP Context.
  • Data traffic is billed, or billed based on the length of time the PDP Context is active.
  • the MS can perform multiple services based on an activated PDP Context, that is, if the PDN can provide multiple services, such as email (Email), Based on the wireless application protocol (WAP, Wireless Application Protocol) browsing service, file transfer protocol (FTP) file transfer, etc., the MS establishes a transmission with the PDN.
  • email email
  • WAP Wireless Application Protocol
  • FTP file transfer protocol
  • an active PDP Context can be used to carry various services that the PDN can provide.
  • the charging mode of the operator for various services is likely to adopt different charging methods. For example, for email sending and receiving services, it can be based on Email.
  • the trigger for receiving and sending events is billed on a per-time basis.
  • the WAP browsing service can be based on the flow rate. For the file transmission service, the rate of the WAP browsing service and the rate of the file transmission service are different. In this way, according to the existing GPRS charging system, it is impossible to separately distinguish and charge different services carried by the same PDP Context.
  • IP Flow IP data streams
  • IP Flow IP data streams
  • Service Data Flow IP data streams
  • the set of flows is composed, so the charging based on the IP data stream can truly reflect the occupation of resources by a certain service data flow.
  • IP data flow-based charging can be considered as filtering out IP data streams of different services carried in the same PDP Context through filters of similar filters, and then separately charging IP data streams filtered by different filters. In order to achieve separate billing for different business data streams.
  • the charging granularity based on a PDP Context is a PDP Context, which is a sieve hole.
  • the IP data flow-based charging granularity is that an IP service data stream is a mesh hole, that is, a plurality of mesh holes are included in one PDP Context, and therefore, IP data flow based charging and charging based on one PDP Context.
  • IP stream-based billing provides operators or service providers with a richer set of billing methods.
  • the 3GPP describes the system structure, functional requirements, and message interaction procedures of the FBC.
  • the FBC system structure supporting online charging is shown in Figure 2A.
  • the customer application based on the mobile network enhanced logic (CAMEL, Customised Application for Mobile) Network Enhanced Logic (SCP) Service Control Point (SCP) and Service Data Flow Based Credit Control Function (CCF) 202 constitutes an Online Charging System (OCS) 206.
  • the CCF 202 communicates with the Service Data Flow Based Charging Rule Function (CRF) 203 through the Ry interface, and the CRF 203 communicates with the Application Function Entity (AF) through the Rx interface.
  • the CRF 203 communicates with the Traffic Plane Function (TPF) 205 through the Gx interface, and the CCF 202 communicates with the TPF 205 through the Gy interface.
  • CCF Service Data Flow Based Charging Rule Function
  • AF Application Function Entity
  • TPF Traffic Plane Function
  • the structure of the FBC system supporting offline charging is as shown in FIG. 2B.
  • the CRF 203 communicates with the AF 204 through the Rx interface, the CRF 203 communicates with the TPF 205 through the Gx interface, and the TPF 205 communicates with the charging gateway function entity through the Gz interface (CGF, Charging).
  • the Gateway Function 207 and the Charging Data Function (CDF) 208 are interworking.
  • the TPF 205 carries the IP data stream.
  • the TPF 205 sends a charging rule request to the CRF 203 through the Gx interface, where the charging rule request carries information related to the user and the MS, bearer characteristics, and Network related information, etc., wherein the information related to the user and the MS may be a mobile station international number (MSISDN), an international mobile subscriber identity (IMSI), etc., and the network related information may be a mobile network coding (MNC), a mobile country code. (MCC) and so on.
  • MSISDN mobile station international number
  • IMSI international mobile subscriber identity
  • MNC mobile network coding
  • MCC mobile country code.
  • the TPF 205 may re-send the charging rule request to the CRF 203 to request a new charging rule when the bearer is modified; the CRF 203 selects an appropriate charging rule according to the above input information provided by the TPF 205, and returns to the TPF 205.
  • the selected charging rule includes the charging mechanism, the charging type, the charging key, the service data stream filter, and the charging rule priority.
  • the charging mechanism may be online charging or offline charging; the charging type may be charging based on the length of time or based on data traffic; the charging key is a parameter related to the rate, and the CRF 203 may not
  • the rate is directly provided to the TPF 205, and only the rate-related parameters are provided to the TPF 205; the service data filter is used to indicate which IP data streams the TPF 205 filters, and then the TPF 205 filters the filtered IP data according to the charging rules.
  • the flow is billed.
  • the IP quintuple includes the source/destination IP address, the source/destination port number (Port Number), the protocol identifier (Protocol ID), and the like.
  • the CRF 203 indicates that the TPF 205 has a source address of 10.0. 0.1.
  • the IP address of the destination address is 10.0.0.2, the source/destination port number is 20, the protocol type is Transmission Control Protocol (TCP), and the filtered IP data stream is charged according to the charging rule.
  • TCP
  • the CRF 203 may provide a trigger event (Event Trigger) to the TPF 205 to request the TPF 205 to request a new charging rule from the CRF 205 when a specific event occurs, such as the CRF 203 requesting the TPF 205 to perform an event modification on some bearer.
  • Event Trigger a trigger event
  • Trigger events can be thought of as events related to billing rules.
  • the 3GPP specification describes the charging mode of the CRF through the triggering event reporting mechanism and the control of the TPF. That is, the TPF 205 detects that the triggering event occurs after the triggering event occurs, and the triggering event reported by the CRF 203 on the CRF 203 through the TPF 205 is known to change the bearer.
  • Trigger events defined in the 3GPP specifications may include: public land mobile communication network (PLMN) change events, QoS parameter change events, radio access technology (RAT) type change events, transport stream templates (TFT) Change events.
  • PLMN public land mobile communication network
  • RAT radio access technology
  • TFT transport stream templates
  • the CRF 203 may also select an appropriate charging rule based on the input information of the AF 204 or the OCS 206, such as the AF 204 notifying the CRF 203 of the service currently used by the user. Type, CRF 203 selects the corresponding charging rule according to the type of service.
  • the OCS 206 is composed of two functional entities, SCP 201 and CCF 202, wherein the CCF 202 is a functional entity that performs credit control, and is applied only to an online charging system, which can be added to the existing OCS 206. New features are implemented.
  • the CCF 202 manages and controls the user credit.
  • the CCF 202 authorizes the credit in the user credit pool, and delivers the credit that the user can use to the TPF 205 through the Gy interface. .
  • the OCS 206 may request the TPF 205 to report to the user when the re-authorisation triggers occur, and then the OCS 206 pairs the user according to the corresponding re-authorization event reported by the TPF 205. Reauthorize and possibly recalculate the user's credit. For example, after the user credit provided by the OCS 206 to the TPF 205 is used, the TPF 205 needs to report the allowed user credit usage expiration event to the OCS 206 according to the allowed credit expiration event in the re-authorization event, and the OCS 206 according to the remaining user account information. , Recalculate the credits that the user is allowed to use.
  • the OCS 206 determines the rate according to the current location of the user, and calculates the credit of the user according to the rate; when the user moves to another location, if the PLMN changes, the TPF 205 needs to be re-authorized according to the re-authorization.
  • the PLMN change event in the event reports the occurrence of the PLMN change event to the OCS 206, and the OCS 206 re-determines the rate based on the current location of the user after updating, and recalculates the user's credit.
  • the OCS 206 determines the rate according to the current QoS parameter of the service used by the user
  • the TPF 205 needs to report the occurrence of the bearer modification event to the OCS 206 according to the bearer modification event in the re-authorization event
  • OCS. 206 determines the rate based on the modified QoS parameters of the user, and recalculates the credit of the user.
  • the 3GPP specification also describes the use of the re-authorization event by the OCS 206 to control the credit usage of the TPF 205, that is, the TPF 205 reports the re-authorization event to the OCS 206, and the OCS 206 reports it through the TPF 205.
  • the re-authorization event, the credit usage of the user and the change of the bearer are obtained, and the credit of the user is recalculated and sent to the TPF 205.
  • the re-authorization events defined in the 3GPP specifications may include: a credit authorization lifetime expiry event, a user idle state timeout (idle timeout event), a charging rule is changed event, a PLMN change event, a QoS parameter. Change event, RAT type change event.
  • the TPF 205 is a GGSN
  • the AF is a service gateway or a service server in the PDN
  • the CRF 203 is a new logical entity.
  • TPF 205 is the enforcement point of the charging rule
  • CRF 203 is the control point of the charging rule.
  • 3GPP defines the processing procedure for requesting charging rules and user credits in the case of online charging when the bearer is established, as shown in Figure 3A:
  • Step 301 A The user equipment (UE) sends a bearer setup request to the TPF (established Bearer) Service Request), In the GPRS network, the GGSN receives the Create PDP Context Request:.
  • TPF established Bearer Service Request
  • Step 302A After receiving the bearer setup request, the TPF sends a Request Charging Rule to the CRF, where the charging rule request carries the input information for determining the charging rule by the CRF.
  • Step 303A to step 304A After receiving the charging rule request, the CR may, according to the input information carried in the charging rule request, select an appropriate charging rule according to the relevant input information provided by the AF, and then return the provisioning to the TPF. Provision Charging Rules, which can be carried with the selected charging rules and trigger event information.
  • Step 305A After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, the charging rule is established.
  • Step 306A to step 307A The TPF sends a credit request (Credit Request) to the OCS according to the online charging indication in the charging rule to request the credit of the user. After receiving the credit authorization request, the OCS determines the credit of the user, and then returns a credit response (Credit Response) to the TPF. If the OCS determines the credit of the user, the credit response carries the credit of the user, if the OCS does not determine the user's credit. Credit, the credit response may carry an error reason value.
  • Step 308A After receiving the credit response, the TPF returns an bearer setup response (Establish Bearer Service Accept) to the UE. If the credit response carries the user's credit, the TPF accepts the bearer setup request initiated by the Ufe, and continues the subsequent bearer setup process. If the credit response does not carry the user's credit, the UE initiated bearer setup request is rejected. '
  • Step 301B The UE sends a Modify Bearer Service Request to the TPF.
  • the GGSN receives the PDP Context Request (Update PDP Context Request).
  • Step 302B After receiving the bearer modification request, the TPF sends a charging rule request to the CRF, where the charging rule request carries the input information for determining the charging rule by the CRF.
  • the fee rule, the provided charging rule may carry the selected charging rule and trigger event information.
  • Step 305B After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, establishes, modifies, and deletes the charging rule.
  • Step 306B to step 307B The TPF sends a credit authorization request to the OCS according to the online charging indication in the charging rule, requesting the credit of the user. After receiving the credit authorization request, the OCS determines the credit of the user, and then returns a credit response to the TPF. If the OCS determines the credit of the user, the credit response carries the credit of the user. If the OCS does not determine the credit of the user, the OCS The credit response may carry an error cause value.
  • Step 308B After receiving the credit response, the TPF returns a Modify Bearer Service Accept to the UE. If the credit response carries the user's credit, the TPF accepts the bearer modification request initiated by the UE, and continues the subsequent bearer modification process. If the credit response does not carry the user's credit, the UE initiated bearer modification request is rejected.
  • Step 301C The UE sends a Bearer Delete Request (Remove Bearer Service Request) to the TPF.
  • the GGSN receives the Delete PDP Context Request.
  • Step 302C After receiving the bearer deletion request, the TPF sends a charging rule request to the CRF, where the charging rule request carries the input information for determining the charging rule by the CRF.
  • Step 303C to step 304C After receiving the charging rule request, the CRF may, according to the input information carried in the charging rule request, select an appropriate charging rule according to the relevant input information provided by the AF, and then return the provisioning to the TPF.
  • the fee rule, the provided charging rule may carry the selected charging rule and the charging rule operation instruction.
  • Step 305C After receiving the charging rule, the TPF selects the CRF according to the charging rule operation indication.
  • the fixed charging rule performs the corresponding operation, that is, deletes the charging rule.
  • Step 306C to step 307C The TPF sends a credit report ( Final Remaining Credit Report) to the OCS, and notifies the OCS that the bearer established for the user has been terminated.
  • the credit report carries the usage of the user credit, such as the length of time that the user uses the packet data service. , the amount of traffic using packet data, or the user's remaining credit.
  • OCS After receiving the credit report, OCS returns a credit report response ( Response ) to the TPF.
  • Step 308C After receiving the credit report response, the TPF returns a Bearer Service Accept (Remove Bearer Service Accept) to the UE, accepts the bearer deletion request initiated by the UE, and continues the subsequent bearer deletion process.
  • Bearer Service Accept Remove Bearer Service Accept
  • the 3GPP defines the process of the offline charging, the bearer modification triggers the TPF to request the charging rule from the CRF, and the specific implementation process is as shown in FIG. 4A:
  • Step 401A The UE sends a bearer modification request to the TPF.
  • the GGSN receives the PDP Context update request.
  • Step 402A After receiving the bearer modification request, the TPF matches the bearer modification event with the stored trigger event. If yes, go to step 403 A; otherwise, continue to monitor the trigger event.
  • Step 403A The TPF sends a charging rule request to the CRF, where the charging rule request carries the input information for determining the charging rule by the CRF.
  • Step 404A to step 405A After receiving the charging rule request, the CRF may, according to the input information carried in the charging rule request, select an appropriate charging rule according to the relevant input information provided by the AF, and then return the provisioning to the TPF.
  • the fee rule, the provided charging rule may carry the selected charging rule and trigger event information.
  • Step 406A After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, establishes, modifies, and deletes the charging rule.
  • Step 407A The TPF returns a bearer modification response to the UE, and continues the subsequent bearer modification process.
  • the bearer modification triggers the flow that the TPF requests the OCS to re-authorize the user.
  • Figure 4B The specific implementation process is shown in Figure 4B:
  • Steps 401B to 406B are the same as steps 401 A to 406A.
  • Step 407B The TPF matches the bearer modification event with the stored re-authorization event. If it can match, step 408B is performed. Otherwise, the monitoring of the re-authorization event continues.
  • Step 408B If the re-authorization event occurs, or the charging rule changes, the TPF sends a credit request and a re-authorisation request to the OCS, where the credit and the re-authorization request carry the user
  • the remaining credit and related charging rule information may also carry a corresponding re-authorization event, requesting the OCS to recalculate the credit of the user.
  • the relevant charging rule information provided by the TPF to the OCS can come from the CRF.
  • Step 409B After receiving the credit control request, the OCS recalculates the credit of the user, and then returns a credit response and a re-authorization response to the TPF. If the OCS calculates the credit of the user, the credit and The re-authorization response carries the user credit recalculated by the OCS. If the OCS does not calculate the credit of the user, the credit control response may carry an error reason value.
  • Step 410B After receiving the credit control response, the TPF returns a bearer modification response to the UE. If the credit control response carries the user's credit, the TPF accepts the bearer modification request initiated by the UE, and continues the subsequent bearer modification process; if the credit control If the user does not carry the credit in the response, the bearer modification request initiated by the UE is rejected.
  • the CRF can also actively send charging rules to the TPF. For example, when the UE and the AF perform service data transmission, after receiving the charging rule input information of the AF, the CRF selects an appropriate according to the charging rule input information provided by the AF. The charging rule then proactively delivers the selected charging rule to the TPF.
  • the specific implementation process of providing charging rules input information to the CRF to the CRF is shown in Figure 5:
  • Step 501 The AF sends Application/Service Data Flow Charging Information to the CRF.
  • Step 502 After receiving the application/service charging related information, the CRF returns a response (Ack) to the AF, and notifies the AF that the charging rule input information sent by the AF has been received.
  • FIG. 6 is a flowchart of a charging rule that is sent by the CRF to the TPF. As shown in FIG. 6, the process for the CF to actively deliver the charging rule to the TPF includes the following steps:
  • Step 601 The CRF receives an internal or external Trigger Event and information related to the event, such as an event in which the AF sends charging rule input information to the CRF.
  • Step 602 The CRF selects a corresponding charging rule according to the obtained information.
  • This information can be used to input information for the charging rules provided by the AF.
  • the user uses a certain service provided by the AF.
  • the service has special requirements for charging. For example, the rate is different from the rate of other services. Therefore, the AF provides the CRF.
  • Billing information related to the service may also input information for the charging rule provided by the TPF.
  • Step 603 If required, the CRF sends a charging rule to the TPF, and the provided charging rule may carry the selected charging rule and trigger event information.
  • Step 604 After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, establishes, modifies, and deletes the charging rule.
  • Step 605 to step 606 The TPF sends a credit authorization request to the OCS to request the credit of the user. After receiving the credit authorization request, the OCS determines the credit of the user, and then returns a credit response to the TPF. If the OCS determines the credit of the user, the credit response carries the credit of the user. If the OCS does not determine the credit of the user, the The credit response may carry an error cause value.
  • the specification defines the charging mode of the CRF to control the TPF through the triggering event reporting mechanism, that is, the TPF reports the trigger event to the CRF, and the CRF learns the change of the bearer through the trigger event reported by the TPF, and then determines the corresponding meter.
  • the fee rules are issued to the TPF.
  • the trigger events defined in the specification may include: PLMN change events, QoS parameter change events, RAT type change events, TFT change events.
  • the specification also describes how the OCS controls the credit usage of the TPF through the mechanism reported by the re-authorization event. That is, the TPF reports the re-authorization event to the OCS after the re-authorization event occurs, and the OCS obtains the credit of the user through the re-authorization event reported by the TPF. The user's credit is recalculated and sent to the TPF.
  • the reauthorization events defined in the specification may include: Allowing credit Expiration event, user idle state timeout event, charging rule change event, PLMN change event, QoS parameter change event, RAT type change event.
  • both the trigger event and the re-authorization event include a PLMN change event, a QoS parameter change event, a RAT type change event, etc., so that for a certain PLMN event, the TPF will simultaneously match the PLMN event to the trigger event. And the re-authorization event, therefore, it is necessary to separately report the occurrence of the PLMN event to the CRF and the OCS, resulting in waste of the FBC system resources.
  • an object of the present invention is to provide a system for charging based on packet data stream
  • another object of the present invention is to provide a processing method based on packet data stream charging, which improves packet charging based on packet data stream.
  • the present invention provides a system for packet data stream charging, the system comprising: a charging rule function entity CRF and an online charging system OCS combined to form a logical function entity CRF-OCS, the CRF- The OCS is connected to the transport plane functional entity TPF through an interface including a Gx reference point and a Gy reference point function.
  • the functions of the Gx reference point and the Gy reference point include: the TPF requests a charging rule from the CRF-OCS, and the CRF-OCS provides a charging rule to the TPF; or, the TPF requests a credit authorization from the CRF-OCS, CRF-OCS The TPF provides credit; or, the TPF simultaneously requests charging rules and credit authorizations to the CRF-OCS, and the CRJF-OCS provides charging rules and credits to the TPF at the same time.
  • the functions of the Gx reference point and the Gy reference point further include: CRF-OCS provides a charging rule triggering event to the TPF, and requests a charging rule from the CRF-OCS when the TPF monitors the charging rule triggering event; or, CRF - The OCS provides a re-authorization event to the TPF. When the TPF monitors the re-authorization event, it requests a credit authorization from the CRF-OCS. Alternatively, the CRF-OCS provides the charging rule triggering event and the re-authorization event to the TPF, when the TPF monitors When the charging rule triggers an event, it requests the charging rule from the CRJF-OCS. When the TPF monitors the re-authorization event, it requests the CRF-OCS for the credit authorization.
  • the CRF-OCS is further connected to the application function entity AF through an interface including the Rx reference point function.
  • the invention also provides a processing method based on packet data flow charging, the method comprising: TPF Requesting charging rules and/or credit authorizations from the CRF-OCS including the charging rule function entity CRF and the online charging system OCS, and after receiving the charging rules and/or credit authorization requests, the CRF-OCS returns the charging rules to the TPF. And/or user credit.
  • the present invention also provides a processing method based on packet data flow charging, the method comprising: when a bearer is established, the TPF sends a charging rule and a credit to a CRF-OCS including a charging rule function entity CRF and an online charging system OCS.
  • a CRF-OCS including a charging rule function entity CRF and an online charging system OCS.
  • Authorization request for the service data flow that needs to be charged online, CRF-OCS provides corresponding charging rules and user credits to the TPF at the same time.
  • the present invention also provides a processing method based on packet data flow charging.
  • the TPF requests the charging rule from the CRF-OCS including the charging rule function entity CRF and the online charging system OCS, and the CRF-OCS determines Whether the UE user is the network user to which the subscriber is subscribed, and if so, directly returns the charging rule and/or the user credit to the TPF; otherwise, the TPF is provided with the address information of the CRF-OCS of the UE user's home subscription, and the TPF receives the The CRP-OCS address information sends a charging rule and a credit authorization request to the CRF-OCS. After receiving the charging rule and the credit authorization request, the CRF-OCS to which the UE belongs returns a charging rule and/or a user credit to the TPF.
  • the invention also provides a processing method based on packet data flow charging.
  • the TPF requests the charging rule from the CRF-OCS including the charging rule function entity CRF and the online charging system OCS, and the CRF-OCS determines the UE. Whether the user is the network user to which the user belongs, if yes, the charging rule and/or the user credit are directly returned to the TPF; otherwise, the CRF-OCS forwards the charging rule request to the UE user-signed CRF-OCS, and the UE user belongs to The contracted CRP-OCS returns billing rules and/or user credits to the TPF via a visit to the CRF-OCS.
  • the invention further provides a processing method based on packet data flow charging, the method comprising: providing a charging trigger event to the TPF including a charging rule function entity CRF and an online charging system OCS, and the TPF monitoring the charging When a trigger event occurs, it is reported to the CRF-OCS.
  • the present invention further provides a processing method based on packet data flow charging, the method comprising: the AF providing input information for selecting a charging rule to the CRF-OCS. Wherein, the method further comprises: the CRF-OCS returning to the AF a response indicating receipt of the input information.
  • the invention further provides a processing method based on packet data flow charging, the method comprising:
  • the CRF-OCS requires the TPF to return the user credit usage, and the TPF returns the user credit usage information to the CRF-OCS.
  • the CRF function is implemented in the 0CS, so that the trigger event can be implemented in combination with the re-authorization event, and the event reporting mechanism of the TPF is unified, and the present invention also describes each of the OCS structures based on the CRF function.
  • the process makes the process between TPF and OCS and between TPF and CRF clearer.
  • Figure 1 shows a PDP Context activation, data transfer, deactivation flowchart
  • FIG. 2A is a schematic structural diagram of an FBC system for online charging
  • 2B is a schematic structural diagram of an FBC system for offline charging
  • FIG. 3A is a flowchart showing a process of requesting charging rules and user credits when an online charging bearer is established
  • FIG. 3B is a flowchart showing a process of requesting charging rules and user credits when the online charging bearer is modified
  • FIG. 3C is a flowchart showing a process of requesting charging rules and user credits when an online charging bearer is deleted;
  • FIG. 4A is a flowchart of a bearer modification process for offline charging in the prior art
  • FIG. 4B is a flowchart of a bearer modification process during online charging in the prior art
  • FIG. 5 is a flow chart showing the input of charging rules by the AF to the CRF
  • FIG. 6 shows a flow chart of the CRF actively issuing charging rules to the TPF
  • FIG. 7 is a block diagram showing the structure of the FBC system of the present invention.
  • FIG. 8A is a flowchart showing a process of requesting charging rules and user credits when a bearer is established in the present invention
  • FIG. 8B is a flowchart showing a process of requesting charging rules and user credits when carrying modifications in the present invention
  • FIG. 8C is a flowchart showing a process of requesting a charging rule and a user credit when carrying a deletion in the present invention
  • FIG. 9 is a flow chart showing the processing of the AF providing charging rule input information to the CRF-OCS in the present invention.
  • Figure 10 is a flow chart showing the process by which the AF provides input information to trigger the charging rules and/or credit authorization requests to the CRF-OCS in the present invention. Mode for carrying out the invention
  • the structure of the FBC system is improved, and the CRP function is added in the OCS system, so that the trigger event and the re-authorization event can be combined and implemented, and the TPF event reporting mechanism is unified, so that the TPF and the OCS, the TPF, and the CRF are unified.
  • the solution proposed by the present invention is applicable to both online charging and offline charging.
  • FIG. 7 is a schematic structural diagram of an FBC system according to the present invention.
  • the functions of two logical functional entities of CRF 203 and OCS 206 are integrated into one logical functional entity.
  • the logical functional entity integrated with CRF 203 and OCS 206 is hereinafter referred to as CRF-OCS 70, and SCP 201 and CCF 202 are included in OCS 206.
  • the CRJF-OCS 70 interworks with the AF 204 through an interface including an Rx reference point function, and the AF 204 can provide input information for selecting a charging rule to the CRF-OCS 70 through the Rx reference point.
  • the CRF-OCS 70 interworks with the TPF 205 through an interface including a Gx reference point and a Gy reference point function, wherein an interface including a Gx reference point and a Gy reference point function can be expressed as a function of Gy+Gx, Gx reference point, and Gy reference point.
  • TPF 205 requests charging rules from CRF-OCS 70, CRF-OCS 70 provides charging rules to TPF 205; alternatively, TPF 205 requests credit authorization from CRF-OCS 70, and CRF-OCS 70 provides credit to TPF 205;
  • the TPF 205 simultaneously requests charging rules and credit authorizations to the CRF-OCS 70, and the CRF-OCS 70 simultaneously provides charging rules and credits to the TPF 205.
  • the functions of the Gx reference point and the Gy reference point further include:
  • the CRF-OCS 70 provides a charging rule triggering event to the TPF 205, and the TPF 205 monitors the charging rule.
  • the charging rule is requested to the CRF-OCS 70; or, the CRF-OCS 70 provides a re-authorization event to the TPF 205, and when the TPF 205 monitors that the re-authorization event occurs, requests the CRF-OCS 70 for a credit authorization; or
  • the CRF-OCS 70 simultaneously provides a charging rule triggering event and a re-authorization event to the TPF 205.
  • the charging rule triggering event When the TPF 205 monitors that the charging rule triggering event occurs, the charging rule is requested to the CRF-OCS 70, and when the TPF 205 monitors the re-authorization. When an event occurs, a credit authorization is requested from CRF-OCS 70.
  • the charging rule triggering event and the re-authorization event are all requested by the CRF-OCS 70 to request the TPF 205 to monitor the specified event. Therefore, the charging rule triggering event and the re-authorization event can be combined and delivered.
  • the CRF-OCS 70 provides a collection of charging rule trigger events and re-authorization events to the TPF 205.
  • the collection of the charging rule triggering events and the re-authorization events is referred to as a Charging Trigger.
  • the TPF 205 After detecting the charging trigger event, the TPF 205 notifies the CRF-OCS 70 of the current charging trigger event, and provides the CRF-OCS 70 with the credit that the user has used; the CRF-OCS 70 triggers the event according to the current charging.
  • the charging rules are selected, and the user's credit is recalculated, and then the selected charging rules and recalculated user credits are returned to the TPF 205.
  • the CRF-OCS 70 can further indicate to the TPF 205 the re-authorization event included in the charging triggering event. Thus, after detecting the charging triggering event, the TPF 205 determines whether the charging triggering event that occurred is a re-authorization event. If the TPF 205 determines that the charging triggering event that occurred is a re-authorization event, the TPF 205 notifies the CRF-OCS 70 of the charging triggering event currently occurring, and provides the CRF-OCS 70 with the credit that the user has used, requesting the CRF-OCS 70 pair.
  • the user performs a re-authorization; the CRF-OCS 70 selects the charging rule based on the currently occurring charging triggering event, and recalculates the user's credit, and then returns the selected charging rule and the recalculated user credit to the TPF 205. If the TPF 205 determines that the charging triggering event that occurred is not a re-authorization event, the TPF 205 only notifies the current charging triggering event of the CRF-OCS 70; the CRF-OCS 70 selects the charging rule according to the currently occurring charging triggering event. The selected charging rule is then returned to the TPF 205.
  • the CRF-OCS 70 may not indicate to the TPF 205 the re-authorization event included in the charging trigger event, such that the TPF 205 notifies the CRF-OCS 70 that the current occurrence occurs after the charging trigger event is detected.
  • the fee triggers the event, selects the charging rule, and recalculates the user's credit, and then returns the selected charging rule and the recalculated user credit to the TPF 205; otherwise, the CRF-OCS 70 only triggers based on the currently occurring charging Event, select a charging rule, and then return the selected charging rule to TPF 205.
  • the charging rule request and the credit authorization request may be implemented in the same message.
  • the TPF 205 sends a charging rule and a credit authorization request (Charging Rule and Credit Request) to the CRF-OCS 70, and the charging rule and The credit authorization request may carry input information for the CRF-OCS 70 to select the charging rule, and input information for the CRF-OCS 70 to determine the user credit, such as related information of the user and the terminal, such as MSISDN, IMSI, etc., bearer characteristics, Such as QoS information, network related information, such as MNC, MCC, etc.
  • the charging rules, credits provided, and provided charging trigger events provided by the CRF-OCS 70 to the TPF 205 may also be implemented in the same message, such as the CRF-OCS 70 transmitting charging rules and credit responses to the TPF 205 (Charging Rule and Credit Response), the charging rule and the credit response carry the charging rule selected by the CRF-OCS 70, the user credit, and the charging rule and the credit response may also carry a charging trigger event.
  • FIG. 8A is a flowchart showing a process of requesting charging rules and user credits when a bearer is established in the present invention. As shown in FIG. 8A, the process of requesting charging rules and user credits during bearer establishment includes the following steps:
  • Step 801A is the same as step 301A.
  • Step 802A to step 803A After receiving the bearer setup request, the TPF sends a charging rule and a credit authorization request to the CRF-OCS, where the charging rule and the credit authorization request carry the input information for determining the charging rule by the CRF-OCS and Determining the input information of the user credit, the TPF may be addressed to the corresponding CRF-OCS according to the UE identifier, or may be addressed to the corresponding CRF-OCS according to the data configured by itself, and may also be addressed according to the access point provided by the UE when the bearer is established. Go to the corresponding CRJF-OCS. CRF-OCS receives billing After the rule is requested, it is determined whether the UE user is a home subscriber of the home subscription.
  • the CRF-OCS is the home CRF-OCS of the UE, and step 806A is performed; otherwise, the CRF-OCS is the visited CRF-OCS of the UE.
  • the visited CRF-OCS may obtain the address information of the UE home CRF-OCS according to the UE identifier, and then perform 804A.
  • Steps 804A to 805A The CRF-OCS returns a charging rule and a credit response to the TPF.
  • the charging rule and the credit response carry the address information of the CRF-OCS to which the UE belongs.
  • the TPF After receiving the charging rule and the credit response, the TPF sends a charging rule and a credit authorization request to the CRP-OCS according to the received CRF-OCS address information, where the charging rule and the credit authorization request are carried by the CRF-OCS.
  • Input rules for billing rules and user credits are carried by the CRF-OCS.
  • Step 806A to step 807A After receiving the charging rule and the credit authorization request, the CRJF-OCS may select an appropriate charging according to the input information carried in the charging rule and the credit authorization request according to the relevant input information provided by the AF.
  • the CRF-OCS can further determine whether the current charging mode should be online charging, such as determining whether the UE user is a prepaid user, or determining whether the UE user uses the prepaid service. If the CRP-OCS determines that the current charging mode should be online charging, the CRF-OCS calculates the user credit according to the selected charging rule, and returns the charging rule and the credit response to the TPF, in the charging rule and the credit response.
  • the charging rule operation indication, the selected charging rule, and the calculated user credit are carried.
  • the charging rule and the credit response may carry an error reason value.
  • the charging rule and the credit response may further carry a charging trigger event, and may further indicate a re-authorization event included in the TPF charging trigger event. If the CRF-OCS determines that the current charging mode should not be online charging, the charging rules and credit responses provided by the CRF-OCS to the TPF do not carry the calculated user credit and re-authorization event information.
  • Step 808A After receiving the charging rule and the credit response, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, establishes a charging rule; and carries the charging rule and the credit authorization request.
  • the billing trigger event is stored.
  • Step 809A The TPF returns a bearer setup response to the UE. If the billing is online, and the charging rule and the credit authorization request carry the credit of the user, the TPF accepts the bearer setup initiated by the UE. The request and the subsequent bearer establishment process are continued; if the charging rule and the credit authorization request do not carry the user's credit, the TPF rejects the bearer establishment request initiated by the UE. If the system is offline, the TPF directly accepts the bearer setup request initiated by the UE, and continues the subsequent bearer setup process.
  • steps 804A-805A when the CRF-OCS determines that the UE user does not belong to the network subscriber to which the home subscriber is subscribed, that is, the CRF-OCS is the visited CRF-OCS of the UE, the CRF-OCS acquires the UE-originated CRF-OCS according to the UE identifier. The address information is then forwarded to the UE user-signed CRF-OCS forwarding charging rule request. The CRF-OCS to which the UE user is subscribed returns a charging rule and/or user credit to the TPF via the visited CRF-OCS.
  • the TPF can directly interact with the CRF-OCS that the UE user subscribes to; or interact with the CRF-OCS that is indirectly signed by the UE user by visiting the CRF-OCS. Therefore, the charging rule is subsequently performed.
  • the process of the credit authorization request is simplified to interact with the CRP-OCS to which the UE belongs.
  • FIG. 8B is a flow chart showing the process of requesting charging rules and user credits when carrying changes in the present invention. As shown in FIG. 8B, the process of requesting charging rules and user credits during bearer modification includes the following steps:
  • Step 801B is the same as step 301B.
  • Step 802B The bearer modification may trigger a charging trigger event. Therefore, after receiving the bearer modification request, the TPF matches the bearer modification event with the stored charging trigger event. If yes, step 803B is performed; otherwise, the process ends. Current process.
  • Step 803B The TPF sends a charging rule and a credit authorization request to the CRF-OCS, where the charging rule and the credit authorization request carry input information for determining the charging rule and the user credit by the CRF-OCS, the charging rule and the credit authorization.
  • the request may further carry the currently occurring charging trigger event, and may further indicate to the TPF the re-authorization event included in the charging trigger event.
  • Steps 804B to 806B are the same as steps 806A to 808A.
  • Step 807B The TPF returns a bearer modification response to the UE.
  • the TPF accepts the bearer modification request initiated by the UE. And the subsequent bearer modification process is continued. If the charging rule and the credit authorization request carry the error reason value, the TPF rejects the bearer modification request initiated by the UE.
  • the TPF accepts the bearer modification request initiated by the UE, and continues to follow. The bearer modification process.
  • the TPF detects whether the charging triggering event is a re-authorization event after the charging triggering event occurs. If yes, the TPF sends the CRF to the CRF.
  • the charging rule and the credit authorization request sent by the OCS carry the CRF-OCS input information for determining the user credit, such as the remaining credit of the user. Otherwise, the charging rule sent by the TPF to the CRF-OCS and the credit authorization request do not carry the CRF.
  • -OCS determines the input information of the user credit; CRF-OCS determines whether to calculate the user credit according to whether the charging rule and the credit authorization request carry the input information for determining the user credit.
  • the CRF-OCS determines the currently occurring charging triggering event.
  • the charging rule and the credit authorization request sent to the CRF-OCS carry the CRF-OCS input information for determining the user credit, such as the remaining credit of the user. .
  • the CRF-OCS determines whether to calculate the user credit according to the judgment result of the charging trigger event.
  • the CRF-OCS calculates the user credit and provides it to the TPF; The event is not a re-authorization event, then the CRF-OCS does not recalculate the user credit, and the original credit is directly carried in the charging rule and credit response returned to the TPF.
  • FIG. 8C is a flowchart showing the process of requesting the charging rule and the user credit when the bearer is deleted in the present invention. As shown in FIG. 8C, the process of requesting the charging rule and the user credit when the bearer is deleted includes the following steps:
  • Step 801C is the same as step 301C.
  • Step 802O Step 804C: After receiving the bearer deletion request, the TPF sends a charging rule and a credit authorization request to the CRP-OCS, where the charging rule and the credit authorization request carry the CRF-OCS to determine the charging rule and the remaining credit of the user. .
  • CRF-OCS receives the charging rules and credit authorization request, the root According to the charging rule and the input information carried in the credit authorization request, an appropriate charging rule may be selected according to the relevant input information provided by the AF, and the remaining credit of the user is processed, and then the charging rule and credit are returned to the TPF. In response, the charging rule and the credit response carry the selected charging rule.
  • Step 805C to step 806C After receiving the charging rule and the credit response, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, deletes the charging rule, and then returns a bearer deletion response to the UE, accepting The UE initiates a bearer deletion request and continues the subsequent bearer deletion process.
  • the CRF-OCS can also actively send charging rules to the TPF.
  • the CRF-OCS receives the charging rule input information of the AF, and then inputs according to the charging rule provided by the AF. The information selects the appropriate charging rule, and then proactively delivers the selected charging rule to the TPF.
  • the specific implementation process of providing charging rule input information to the CRF-OCS from the AF is shown in Figure 9:
  • Step 901 to Step 902 The AF sends application/service charging related information to the CRP-OCS. After receiving the application/service charging related information, the CRF-OCS returns a response to the AF, informing the AF that it has received the charging rule input information sent by the AF.
  • the AF may be addressed to the corresponding CRF-OCS according to the UE identifier, or may be addressed to the corresponding CRF-OCS according to the data configured by itself, and may also be addressed to the corresponding CRF-OCS according to the acquired CRF-OCS address information.
  • the CRF-OCS determines whether the re-authorization process needs to be triggered according to the input information of the AF. If yes, if the CRP-OCS selects an appropriate charging rule according to the input information provided by the AF, It is found that the rate indicated by the charging button in the charging rule changes, and the user credit needs to be calculated by applying a new rate. At this time, the user needs to be re-authorized, and the CRF-OCS sends a re-authorization instruction to the TPF. The TPF is required to provide input information for determining the credit of the user, such as the remaining credit of the user. Otherwise, the re-authorization process does not need to be triggered, and the charging rule selected according to the input information from the AF is directly provided to the TPF, and the specific implementation process is as shown in FIG. Show:
  • Steps A1 to A2 The AF sends AF input information (AF Input) to the CRF-OCS. After receiving the AF input information, the CRF-OCS returns an AF input information response (AF Input Ack) to the AF, and the notification has been received. Received the input information it sent.
  • AF Input AF input information
  • AF Input Ack AF input information response
  • Step A3 The CRF-OCS determines whether the re-authorization process is required according to the received AF input information. If yes, step A4a is performed; otherwise, step A4b is performed.
  • Step A4a The CRF-OCS may request the TPF to return the credit usage of the user to the user to effectively control the credit of the user, that is, the CRF-OCS sends a Return Credit Request to the TPF, and requests the TPF to provide it for determination.
  • the input information of the user credit such as the credit usage of the returned user, that is, the remaining credit.
  • Step A5a After receiving the return credit authorization, the TPF sends a charging rule and a credit authorization request to the CRF-OCS, where the charging rule and the credit authorization request carry the input information for determining the charging rule and the user credit by the CRF-OCS. Such as the user's remaining credit.
  • Steps A6a to A8a are the same as steps 806A to 808A.
  • Steps A4b to A6b According to the AF input information, the CRF may also select an appropriate charging rule according to the input information from the TPF, and then provide a charging rule to the TPF, and the charging rule may carry the selected meter. Fee rules and billing rules operational instructions. After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Meter Arrangements (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A system and method for charging based on packet data flow makes the charging rule function (CRF) and the online charging system (OCS) together to constituent a logic function (CRF-OCS). The said CRF-OCS connects to the traffic plane function (TPF) via the interface including the function of Gx datum point and Gy datum point. So the event trigger can be made with the re-authorisation triggers together to implement. The event report mechanism of TPF is unified. The present invention describes a plurality of process of OCS configuration based on the CRF function implemented, and includes: the process of interacting provision charging rules and user credit between TPF and CRF-OCS, the interactive process of between CRF-OCS and TPF based on the charging trigger, the process of interacting relative information between CRF-OCS and AF, and the process of interacting user credit using situation between TPF and CRF-OCS. It makes the process clearer between TPF and OCS or between TPF and CRF.

Description

一种基于分组数据流计费的系统及处理方法 技术领域  System and processing method based on packet data flow charging
本发明涉及分組数据计费领域,特别是指一种基于分組数据流计费的系统 及处理方法。 发明背景  The present invention relates to the field of packet data charging, and more particularly to a system and processing method based on packet data flow charging. Background of the invention
随着分组数据业务应用的逐渐广泛,如何准确合理地对分组数据业务进行 计费, 已成为运营商普遍关注的问题。  With the gradual wide application of packet data services, how to accurately and reasonably charge packet data services has become a common concern of operators.
图 1 示出了分组数据协议上下文(PDP Context, Packet Data Protocol Context )激活、 数据传输、 去激活流程图, 如图 1 所示, 在通用分组无线业 务( GPRS, General Packet Radio Service ) 中, 激活 PDP Context、 与外部分组 数据网络(PDN, Packet Data Network )进行数据交互、 去激活该 PDP Context 的实现过程包括以下步骤:  Figure 1 shows the packet data protocol context (PDP Context, Packet Data Protocol Context) activation, data transmission, deactivation flow diagram, as shown in Figure 1, in the General Packet Radio Service (GPRS, General Packet Radio Service), activated The PDP Context, the data interaction with the external packet data network (PDN, Packet Data Network), and the process of deactivating the PDP Context include the following steps:
步驟 101 : 移动终端 (MS ) 向服务通用分组无线业务支持节点 (SGSN, Serving GPRS Support Node )发送 PDP Context激活请求( Activate PDP Context Request ), 该 Activate PDP Context Request中携带有网格层业务访问点标识 ( NSAPI, Network Layer Service Access Point Identifier )、 PDP类型、 接入点 名称( APN, Access Point Name )、要求的服务质量( QoS )参数、事务标识( TI, Transaction Identifier )等信息, 其中, NSAPI在 SGSN和网关通用分组无线业 务支持节点( GGSN, Gateway GPRS Support Node )之间作为隧道标识( TID, Tunnel Identifier ) 的组成部分, 用于标识 PDP Context; PDP类型包括端对端 协议 ( PPP, Peer-Peer Protocol )类型、 网际协议(IP, Internet Protocol )类型 等; APN可由 MS向 SGSN提供, SGSN根据 APN寻址到相应 GGSN, GGSN 根据 APN确定 MS所要访问的外部网络, MS也可不向 SGSN提供 APN, 此 时, 由 SGSN根据 MS用户的签约信息选择缺省的 APN; QoS参数为 MS指 定的分组数据业务所要达到的质量要求; TI用于 MS标识某个 PDP context。 步骤 102: SGSN收到 Activate PDP Context Request后, 与 MS进行安全 性检查和加密, 该步骤为可选步驟。 Step 101: The mobile terminal (MS) sends a PDP Context Request (Active PDP Context Request) to the Serving GPRS Support Node (SGSN), where the Activate PDP Context Request carries the mesh layer service access point. NSAPI, Network Layer Service Access Point Identifier, PDP type, Access Point Name (APN, Access Point Name), required Quality of Service (QoS) parameters, Transaction Identifier (TI), etc., where NSAPI The SGSN and the Gateway GPRS Support Node (GGSN) are used as part of the Tunnel Identifier (TID) to identify the PDP Context. The PDP type includes the end-to-end protocol (PPP, Peer). -Peer Protocol) type, Internet Protocol (IP) type, etc.; APN can be provided by the MS to the SGSN, the SGSN is addressed to the corresponding GGSN according to the APN, and the GGSN determines the external network to be accessed by the MS according to the APN, and the MS may not provide the SGSN. APN, at this time, the SGSN selects the default APN according to the subscription information of the MS user; QoS The parameter is MS The quality requirements to be met by the packet data service; TI is used by the MS to identify a PDP context. Step 102: After receiving the Activate PDP Context Request, the SGSN performs security check and encryption with the MS. This step is an optional step.
步骤 103: SGSN根据 APN解析 GGSN的地址信息, 如果 SGSN能够才艮 据 APN解析出 GGSN的地址信息, 则为 PDP Context创建 TEID , 该 TEID可 为国际移动用户标识( IMSI, International Mobile Subscriber Identity )与 NSAPI 的组合, 然后 SGSN向 GGSN发送 PDP Context创建请求( Create PDP Context Request ),该 PDP Context创建请求中携带有 PDP类型、 PDP地址、 APN、 QoS 参数、 TEID、 选择模式等, 其中, PDP地址可为 MS的 IP地址, 为可选参数, PDP Context创建请求中可不携带 PDP地址, 此时, 在后续的处理过程中, 可 由 GGSN为 MS分配 IP地址,也可由最终与 MS建立连接的 PDN为 MS分配 IP地址;选择模式是指 APN的选择模式,即 APN是由 MS选定的还是由 SGSN 选定的。 如果 SGSN无法根据 APN解析出 GGSN的地址信息, 则 SGSN拒绝 MS发起的 PDP Context激活请求。  Step 103: The SGSN parses the address information of the GGSN according to the APN. If the SGSN can parse the address information of the GGSN according to the APN, the TEID is created for the PDP Context, and the TEID can be an International Mobile Subscriber Identity (IMSI). The combination of the NSAPI, and then the SGSN sends a PDP Context Request to the GGSN, where the PDP Context creation request carries a PDP type, a PDP address, an APN, a QoS parameter, a TEID, a selection mode, etc., where the PDP address can be The IP address of the MS is an optional parameter. The PDP Context creation request may not carry the PDP address. In this case, the GGSN may assign an IP address to the MS in the subsequent processing, or may be the MS that finally establishes a connection with the MS. The IP address is assigned; the selection mode refers to the selection mode of the APN, that is, whether the APN is selected by the MS or selected by the SGSN. If the SGSN cannot resolve the address information of the GGSN according to the APN, the SGSN rejects the PDP Context activation request initiated by the MS.
步骤 104: GGSN收到 PDP Context创建请求后,根据 APN确定外部 PDN, 然后分配计费标识(Charging ID )、 启动计费, 并且协商 QoS, 如果 GGSN能 够满足 QoS 参数的服务质量要求, 则向 SGSN返回 PDP Context创建响应 ( Create PDP Context Response ),该 PDP Context创建响应中携带有 TEID、 PDP 地址、 链路承载(Backbone Bearer )协议、 商定的 QoS参数、 Charging ID等 信息。 如果 GGSN无法满足 QoS参数的服务质量要求, 则 GGSN拒绝 SGSN - 发起的 PDP Context创建请求, 然后 SGSN拒绝 MS发起的 PDP Context激活 请求。  Step 104: After receiving the PDP Context creation request, the GGSN determines an external PDN according to the APN, then allocates a Charging ID, initiates charging, and negotiates QoS. If the GGSN can meet the quality of service requirements of the QoS parameter, the SGSN sends the SGSN to the SGSN. The PDP Context Response response is generated by the PDP Context Response. The PDP Context creation response carries information such as the TEID, the PDP address, the Backbone Bearer protocol, the agreed QoS parameters, and the Charging ID. If the GGSN fails to meet the quality of service requirements of the QoS parameters, the GGSN rejects the SGSN-initiated PDP Context creation request, and then the SGSN rejects the MS-initiated PDP Context activation request.
步驟 105: SGSN收到 PDP Context创建响应后,在 PDP Context中插入用 于标识 PDP Context的 NSAPI和 GGSN地址信息, 并根据商定的 QoS参数选 择无线优先权, 然后向 MS返回 PDP Context激活响应 ( Activate PDP Context Accept ), 该 PDP Context激活响应中携带有 PDP类型、 PDP地址、 TI、 商定 的 QoS参数、 无线优先权、 PDP配置选项等信息。 并且, SGSN启动计费。Step 105: After receiving the PDP Context creation response, the SGSN inserts NSAPI and GGSN address information for identifying the PDP Context in the PDP Context, and selects a radio priority according to the agreed QoS parameter, and then returns a PDP Context activation response to the MS (Activate PDP Context Accept ), the PDP Context activation response carries the PDP type, PDP address, TI, negotiated Information such as QoS parameters, wireless priority, PDP configuration options, etc. And, the SGSN starts charging.
MS收到 PDP Context激活响应, 就已经建立了 MS与 GGSN直接的路由 , 可 以进行分组数据的传输了。 After receiving the PDP Context activation response, the MS has established a direct route between the MS and the GGSN, and can perform packet data transmission.
步驟 106: MS通过 SGSN、 GGSN与 PDN进行分组数据的交互。  Step 106: The MS performs packet data interaction through the SGSN, the GGSN, and the PDN.
步骤 107: 结束分组数据交互后, MS向 SGSN发送 PDP Context去激活 请求 ( Deactivate PDP Context Request ), 该 PDP Context去激活请求中携带有 Step 107: After ending the packet data interaction, the MS sends a PDP Context Deactivation Request (Deactivate PDP Context Request) to the SGSN, where the PDP Context Deactivation Request carries
TI。 TI.
步驟 108: SGSN收到 PDP Context去激活请求后, 与 MS进行安全性检 查和加密, 该步骤为可选步骤。  Step 108: After receiving the PDP Context deactivation request, the SGSN performs security check and encryption with the MS. This step is an optional step.
步驟 109〜步骤 111 : SGSN向 GGSN发送 PDP Context删除请求( Delete PDP Context Request ), 该 PDP Context删除请求中携带有 TEID。 GGSN收到 PDP Context删除请求后, 结束对 MS的计费, 删除对应于 TEID的 PDP Context , 然后向 SGSN发送 PDP Context删除响应 ( Delete PDP Context Response ), 该 PDP Context删除响应中携带有 TEID。 SGSN收到 PDP Context删除响应后, 结束对 MS的计费, 删除对应于 TEID的 PDP Context, 然后向 MS发送 PDP Context去激活响应 ( Deactivate PDP Context Response ), 该 PDP Context去激 活响应中携带有 TI。 MS收到 PDP Context去激活响应后, 删除对应于 TI的 PDP Context。  Steps 109 to 111: The SGSN sends a PDP Context Request to the GGSN, and the PDP Context Delete Request carries the TEID. After receiving the PDP Context deletion request, the GGSN ends the charging of the MS, deletes the PDP Context corresponding to the TEID, and then sends a PDP Context Response (PDP Context Response) to the SGSN. The PDP Context deletion response carries the TEID. After receiving the PDP Context deletion response, the SGSN ends the charging of the MS, deletes the PDP Context corresponding to the TEID, and then sends a PDP Context Deactivation Response (Deactivate PDP Context Response) to the MS. The PDP Context deactivation response carries the TI. . After receiving the PDP Context deactivation response, the MS deletes the PDP Context corresponding to TI.
由图 1描述的实现过程可见, 当前的 GPRS计费系统中, 由于计费的起始 点设置在 PDP Context激活时, 计费的终止点设置在 PDP Context删除时, 因 此只能根据 PDP Context传输的数据流量进行计费 , 或是根据 PDP Context处 于激活状态的时间长度进行计费。 然而, 在实际应用中, MS与 PDN进行数 据交互后,该 MS可以基于一个激活的 PDP Context进行多种业务,也就是说, 如果 PDN能够提供多种业务, 如电子邮件(Email )收发业务、 基于无线应用 协议的 (WAP, Wireless Application Protocol )浏览业务、 基于文件传输协议 ( FTP, File Transfer Protocol )的文件传输等业务, 则 MS在与该 PDN建立传 输通道后, 可通过一个激活的 PDP Context承载该 PDN能够提供的各种业务, 但是, 运营商对于各种业务的计费模式很可能采用不同的计费方式, 如对于 Email收发业务可基于 Email接收和发送事件的触发按次计费, 对于 WAP浏 览业务可根据流量计费, 对于文件传输业务也可根据流量计费, WAP 浏览业 务的费率与文件传输业务的费率却不尽相同。这样,根据现有的 GPRS计费系 统, 根本无法对同一 PDP Context承载的不同业务进行区分计费。 As can be seen from the implementation process described in FIG. 1, in the current GPRS charging system, since the starting point of charging is set when the PDP Context is activated, the termination point of charging is set when the PDP Context is deleted, and therefore can only be transmitted according to the PDP Context. Data traffic is billed, or billed based on the length of time the PDP Context is active. However, in actual applications, after the MS interacts with the PDN, the MS can perform multiple services based on an activated PDP Context, that is, if the PDN can provide multiple services, such as email (Email), Based on the wireless application protocol (WAP, Wireless Application Protocol) browsing service, file transfer protocol (FTP) file transfer, etc., the MS establishes a transmission with the PDN. After the transmission channel, an active PDP Context can be used to carry various services that the PDN can provide. However, the charging mode of the operator for various services is likely to adopt different charging methods. For example, for email sending and receiving services, it can be based on Email. The trigger for receiving and sending events is billed on a per-time basis. The WAP browsing service can be based on the flow rate. For the file transmission service, the rate of the WAP browsing service and the rate of the file transmission service are different. In this way, according to the existing GPRS charging system, it is impossible to separately distinguish and charge different services carried by the same PDP Context.
针对上述情况,第三代合作伙伴计划( 3GPP, The 3rd Generation Partnership Project ) 目前正在讨论如何实现基于 IP 数据流的计费 (FBC, Flow Based Charging )» 对于一个分组数据业务而言, MS的用户使用该业务时, 传输和接 收到的所有 IP数据流 ( IP Flow ), 也可为 IP分组包 ( IP packet ), 总称为业务 数据流(Service Data Flow ), 即业务数据流是多个 IP数据流组成的集合, 因 此基于 IP数据流的计费能够真实反映某个业务数据流对资源的占用情况。 基 于 IP数据流的计费可被认为是通过一些类似筛子的过滤器将同一 PDP Context 中承载的不同业务的 IP数据流分别筛选出来, 然后针对不同过滤器过滤出的 IP数据流进行分别计费, 以达到对不同的业务数据流分别计费的目的。 这样, 基于 IP数据流的计费粒度要远远小于基于一个 PDP Context的计费粒度,粒度 可看作是筛子孔的大小,基于一个 PDP Context的计费粒度是一个 PDP Context 就是一个筛子孔, 而基于 IP数据流的计费粒度则是一个 IP业务数据流为一个 篩子孔, 即针对一个 PDP Context中包含多个筛子孔, 因此, 基于 IP数据流的 计费与基于一个 PDP Context的计费相比,基于 IP数据流的计费能够为运营商 或业务提供者提供更为丰富的计费手段。  In response to the above situation, the 3rd Generation Partnership Project (3GPP, 3rd Generation Partnership Project) is currently discussing how to implement Flow Based Charging (FBC). For a packet data service, users of MS When using this service, all IP data streams (IP Flow) transmitted and received may also be IP packets, which are collectively referred to as Service Data Flow, that is, the service data stream is multiple IP data. The set of flows is composed, so the charging based on the IP data stream can truly reflect the occupation of resources by a certain service data flow. IP data flow-based charging can be considered as filtering out IP data streams of different services carried in the same PDP Context through filters of similar filters, and then separately charging IP data streams filtered by different filters. In order to achieve separate billing for different business data streams. In this way, the granularity of the IP data-based charging is much smaller than the charging granularity based on a PDP Context, and the granularity can be regarded as the size of the screening hole. The charging granularity based on a PDP Context is a PDP Context, which is a sieve hole. The IP data flow-based charging granularity is that an IP service data stream is a mesh hole, that is, a plurality of mesh holes are included in one PDP Context, and therefore, IP data flow based charging and charging based on one PDP Context. In contrast, IP stream-based billing provides operators or service providers with a richer set of billing methods.
3GPP中对 FBC的系统结构、功能要求以及消息交互流程等方面均进行了 描述,支持在线计费的 FBC系统结构如图 2A所示,基于移动网絡增强逻辑的 客户 应用 ( CAMEL, Customised Application for Mobile Network Enhanced Logic ) 的业务控制点 (SCP, Service Control Point ) 201和基于业务数据流计 费的信用控制功能实体( CCF, Service Data Flow Based Credit Control Function ) 202组成了在线计费系统 ( OCS, Online Charging System ) 206。 CCF 202通过 Ry接口与基于业务数据流计费的计费规则功能实体(CRF, Service Data Flow Based Charging Rule Function ) 203互通, CRF 203通过 Rx接口与应用功能实 体(AF, Application Function ) 204互通, CRF 203通过 Gx接口与传输面功 能实体( TPF, Traffic Plane Function ) 205互通, CCF 202通过 Gy接口与 TPF 205互通。 The 3GPP describes the system structure, functional requirements, and message interaction procedures of the FBC. The FBC system structure supporting online charging is shown in Figure 2A. The customer application based on the mobile network enhanced logic (CAMEL, Customised Application for Mobile) Network Enhanced Logic (SCP) Service Control Point (SCP) and Service Data Flow Based Credit Control Function (CCF) 202 constitutes an Online Charging System (OCS) 206. The CCF 202 communicates with the Service Data Flow Based Charging Rule Function (CRF) 203 through the Ry interface, and the CRF 203 communicates with the Application Function Entity (AF) through the Rx interface. The CRF 203 communicates with the Traffic Plane Function (TPF) 205 through the Gx interface, and the CCF 202 communicates with the TPF 205 through the Gy interface.
支持离线计费的 FBC系统结构如图 2B所示, CRF 203通过 Rx接口与 AF 204互通, CRF 203通过 Gx接口与 TPF 205互通, TPF 205通过 Gz接口分别 与计费网关功能实体( CGF, Charging Gateway Function ) 207和计费采集功能 实体 ( CDF, Charging data Function ) 208互通。  The structure of the FBC system supporting offline charging is as shown in FIG. 2B. The CRF 203 communicates with the AF 204 through the Rx interface, the CRF 203 communicates with the TPF 205 through the Gx interface, and the TPF 205 communicates with the charging gateway function entity through the Gz interface (CGF, Charging). The Gateway Function 207 and the Charging Data Function (CDF) 208 are interworking.
TPF 205承载 IP数据流, 当 IP数据流的承载建立时, TPF 205通过 Gx接 口向 CRF 203发送计费规则请求,该计费规则请求中携带有与用户和 MS相关 的信息、承载特性以及与网络相关的信息等, 其中与用户和 MS相关的信息可 为移动台国际号码 (MSISDN )、 国际移动用户标识 (IMSI ) 等, 与网络相关 的信息可为移动网络编码(MNC )、 移动国家码(MCC )等。 另外, 由于在 IP 数据流传输过程中, 会对承载进行修改, 如对 QoS参数进行重新协商, 当用 户使用同一业务的 QoS参数不同时, 计费规则可能不同, 如 QoS参数下降相 应的费率也下降。 此时, TPF 205可在承载修改时, 重新向 CRF 203发送计费 规则请求, 请求新的计费规则; CRF 203根据 TPF 205提供的上述输入信息选 择适当的计费规则, 并向 TPF 205返回选定的计费规则, 计费规则中包括计费 机制、 计费类型、 计费键(Charging Key ), 业务数据流过滤器、 计费规则优 先级等信息。 其中, 计费机制可为釆用在线计费还是离线计费; 计费类型可为 基于时间长度进行计费还是基于数据流量进行计费;计费键是与费率相关的参 数, CRF 203可不直接向 TPF 205提供费率, 而只是向 TPF 205提供与费率相 关的参数; 业务数据过滤器用于指示 TPF 205对哪些 IP数据流进行过滤, 然 后 TPF 205根据计费规则对过滤出的 IP数据流进行计费。 业务数据过滤器可 包含 IP五元组, IP五元组可包括源 /目的 IP地址、源 /目的端口号( Port Number )、 协议标识(Protocol ID )等信息, 例如, CRF 203指示 TPF 205对源地址为 10.0.0.1、 目的地址为 10.0.0.2、 源 /目的端口号为 20、 协议类型为传输控制协 议( TCP ) 的 IP数据流进行过滤, 并根据计费规则对过滤出的 IP数据流进行 计费。 The TPF 205 carries the IP data stream. When the bearer of the IP data stream is established, the TPF 205 sends a charging rule request to the CRF 203 through the Gx interface, where the charging rule request carries information related to the user and the MS, bearer characteristics, and Network related information, etc., wherein the information related to the user and the MS may be a mobile station international number (MSISDN), an international mobile subscriber identity (IMSI), etc., and the network related information may be a mobile network coding (MNC), a mobile country code. (MCC) and so on. In addition, since the bearer is modified during IP data stream transmission, such as renegotiating QoS parameters, when the QoS parameters of the same service are different, the charging rules may be different, such as the corresponding rate of QoS parameters falling. Also fell. At this time, the TPF 205 may re-send the charging rule request to the CRF 203 to request a new charging rule when the bearer is modified; the CRF 203 selects an appropriate charging rule according to the above input information provided by the TPF 205, and returns to the TPF 205. The selected charging rule includes the charging mechanism, the charging type, the charging key, the service data stream filter, and the charging rule priority. The charging mechanism may be online charging or offline charging; the charging type may be charging based on the length of time or based on data traffic; the charging key is a parameter related to the rate, and the CRF 203 may not The rate is directly provided to the TPF 205, and only the rate-related parameters are provided to the TPF 205; the service data filter is used to indicate which IP data streams the TPF 205 filters, and then the TPF 205 filters the filtered IP data according to the charging rules. The flow is billed. Business data filter The IP quintuple includes the source/destination IP address, the source/destination port number (Port Number), the protocol identifier (Protocol ID), and the like. For example, the CRF 203 indicates that the TPF 205 has a source address of 10.0. 0.1. The IP address of the destination address is 10.0.0.2, the source/destination port number is 20, the protocol type is Transmission Control Protocol (TCP), and the filtered IP data stream is charged according to the charging rule.
CRF 203可向 TPF 205提供触发事件 ( Event Trigger ), 用以要求 TPF 205 在特定事件发生时, 向 CRF 205请求新的计费规则, 如 CRF 203要求 TPF 205 在某些承载进行修改的事件发生时, 向 CRF 203请求新的计费规则。 触发事 件可视为与计费规则相关的事件。 目前, 3GPP规范中对 CRF通过触发事件上 报机制, 控制 TPF的计费方式进行了描述, 即 TPF 205监测到触发事件发生 后向 CRF 203上 CRF 203通过 TPF 205上报的触发事件获知承载发生变化, 然后确定相应的计费规则并下发给 TPF 205。 3GPP规范中定义的触发事件可 包括: 公用陆地移动通信网络(PLMN ) 变化(change ) 事件, QoS参数变化 事件, 无线接入技术(RAT )类型变化(type change )事件,传输流模板(TFT ) 变化事件。  The CRF 203 may provide a trigger event (Event Trigger) to the TPF 205 to request the TPF 205 to request a new charging rule from the CRF 205 when a specific event occurs, such as the CRF 203 requesting the TPF 205 to perform an event modification on some bearer. At the time, a new charging rule is requested from the CRF 203. Trigger events can be thought of as events related to billing rules. At present, the 3GPP specification describes the charging mode of the CRF through the triggering event reporting mechanism and the control of the TPF. That is, the TPF 205 detects that the triggering event occurs after the triggering event occurs, and the triggering event reported by the CRF 203 on the CRF 203 through the TPF 205 is known to change the bearer. The corresponding charging rule is then determined and sent to the TPF 205. Trigger events defined in the 3GPP specifications may include: public land mobile communication network (PLMN) change events, QoS parameter change events, radio access technology (RAT) type change events, transport stream templates (TFT) Change events.
CRF 203除了根据 TPF 205提供的输入信息选择适当的计费规则之外, CRF 203还可根据 AF 204或 OCS 206的输入信息选择适当的计费规则,如 AF 204通知 CRF 203用户当前使用的业务类型, CRF 203根据该业务类型选择相 应的计费规则。  In addition to selecting an appropriate charging rule based on the input information provided by the TPF 205, the CRF 203 may also select an appropriate charging rule based on the input information of the AF 204 or the OCS 206, such as the AF 204 notifying the CRF 203 of the service currently used by the user. Type, CRF 203 selects the corresponding charging rule according to the type of service.
OCS 206作为在线计费系统, 由 SCP 201和 CCF 202两个功能实体组成, 其中, CCF 202是执行信用控制的功能实体, 仅应用于在线计费系统, 可通过 在现有的 OCS 206中增加新的功能来实现。在在线计费过程中, CCF 202对用 户信用进行管理和控制, 当用户使用业务时, CCF 202对该用户信用池中的信 用进行授权, 并通过 Gy接口向 TPF 205下发用户能够使用的信用。  As an online charging system, the OCS 206 is composed of two functional entities, SCP 201 and CCF 202, wherein the CCF 202 is a functional entity that performs credit control, and is applied only to an online charging system, which can be added to the existing OCS 206. New features are implemented. In the online charging process, the CCF 202 manages and controls the user credit. When the user uses the service, the CCF 202 authorizes the credit in the user credit pool, and delivers the credit that the user can use to the TPF 205 through the Gy interface. .
另外, OCS 206可要求 TPF 205在重授权事件 ( Re-authorisation triggers ) 发生时向其上报, 然后 OCS 206根据 TPF 205上报的相应重授权事件对用户 进行重授权, 并可能重新计算用户的信用。 例如, OCS 206向 TPF 205提供的 用户信用使用完毕, TPF 205 需根据重授权事件中的允许信用过期事件, 向 OCS 206上报其允许的用户信用使用过期事件的发生, OCS 206根据用户剩余 帐户信息, 重新对允许用户使用的信用进行计算。 又例如, 分区域计费时, OCS 206根据用户当前所在位置确定费率, 并根据该费率计算用户的信用; 当 用户移动至另一位置时, 如 PLMN发生变化, TPF 205需要根据重授权事件中 的 PLMN变化事件, 向 OCS 206上报 PLMN变化事件的发生, OCS 206根据 用户更新后的当前所在位置重新确定费率, 并重新计算用户的信用。 又例如, 当 OCS 206根据用户使用业务的当前 QoS参数确定费率, 当用户对 QoS参数 进行修改, TPF 205需要根据重授权事件中的承载修改事件, 向 OCS 206上报 承载修改事件的发生, OCS 206根据用户修改后的 QoS参数确定费率, 并重 新计算用户的信用。 In addition, the OCS 206 may request the TPF 205 to report to the user when the re-authorisation triggers occur, and then the OCS 206 pairs the user according to the corresponding re-authorization event reported by the TPF 205. Reauthorize and possibly recalculate the user's credit. For example, after the user credit provided by the OCS 206 to the TPF 205 is used, the TPF 205 needs to report the allowed user credit usage expiration event to the OCS 206 according to the allowed credit expiration event in the re-authorization event, and the OCS 206 according to the remaining user account information. , Recalculate the credits that the user is allowed to use. For another example, when sub-area charging, the OCS 206 determines the rate according to the current location of the user, and calculates the credit of the user according to the rate; when the user moves to another location, if the PLMN changes, the TPF 205 needs to be re-authorized according to the re-authorization. The PLMN change event in the event reports the occurrence of the PLMN change event to the OCS 206, and the OCS 206 re-determines the rate based on the current location of the user after updating, and recalculates the user's credit. For example, when the OCS 206 determines the rate according to the current QoS parameter of the service used by the user, when the user modifies the QoS parameter, the TPF 205 needs to report the occurrence of the bearer modification event to the OCS 206 according to the bearer modification event in the re-authorization event, OCS. 206 determines the rate based on the modified QoS parameters of the user, and recalculates the credit of the user.
另外, 3GPP规范中还对 OCS 206通过重授权事件上报的机制, 控制 TPF 205的信用使用情况进行了描述,即 TPF 205监测到重授权事件发生后向 OCS 206上报, OCS 206通过 TPF 205上报的重授权事件, 获知用户的信用使用情 况以及承载的变化, 对用户的信用重新进行计算并下发给 TPF 205。 3GPP规 范中定义的重授权事件可包括: 允许信用过期 (credit authorization lifetime expiry )事件, 用户空闲状态超时( idle timeout )事件,计费规则变化( charging rule is changed )事件, PLMN变化事件, QoS参数变化事件, RAT类型变化 事件。  In addition, the 3GPP specification also describes the use of the re-authorization event by the OCS 206 to control the credit usage of the TPF 205, that is, the TPF 205 reports the re-authorization event to the OCS 206, and the OCS 206 reports it through the TPF 205. The re-authorization event, the credit usage of the user and the change of the bearer are obtained, and the credit of the user is recalculated and sent to the TPF 205. The re-authorization events defined in the 3GPP specifications may include: a credit authorization lifetime expiry event, a user idle state timeout (idle timeout event), a charging rule is changed event, a PLMN change event, a QoS parameter. Change event, RAT type change event.
对应于 GPRS网络, TPF 205为 GGSN, AF为 PDN中的一个业务网关或 业务服务器, CRF 203为新增的逻辑实体。 TPF 205为计费规则的执行点, CRF 203为计费规则的控制点。  Corresponding to the GPRS network, the TPF 205 is a GGSN, the AF is a service gateway or a service server in the PDN, and the CRF 203 is a new logical entity. TPF 205 is the enforcement point of the charging rule, and CRF 203 is the control point of the charging rule.
目前, 3GPP定义了承载建立时, 在线计费情况下, 请求计费规则和用户 信用的处理过程如图 3 A所示:  Currently, 3GPP defines the processing procedure for requesting charging rules and user credits in the case of online charging when the bearer is established, as shown in Figure 3A:
步骤 301 A: 用户设备 ( UE ) 向 TPF发送承载建立请求 ( Establish Bearer Service Request ), 在 GPRS 网络中, 则是 GGSN 收到 Create PDP Context Request:。 Step 301 A: The user equipment (UE) sends a bearer setup request to the TPF (established Bearer) Service Request), In the GPRS network, the GGSN receives the Create PDP Context Request:.
步骤 302A: TPF收到承载建立请求后,向 CRF发送计费规则请求( Request Charging Rules ), 该计费规则请求中携带有供 CRF确定计费规则的输入信息。  Step 302A: After receiving the bearer setup request, the TPF sends a Request Charging Rule to the CRF, where the charging rule request carries the input information for determining the charging rule by the CRF.
步驟 303A〜步骤 304A: CR 收到计费规则请求后, 根据该计费规则请求 中携带的输入信息,还可根据 AF提供的相关输入信息,选择适当的计费规则, 然后向 TPF返回提供计费规则(Provision Charging Rules ),该提供计费规则中 可携带有选定的计费规则和触发事件信息。  Step 303A to step 304A: After receiving the charging rule request, the CR may, according to the input information carried in the charging rule request, select an appropriate charging rule according to the relevant input information provided by the AF, and then return the provisioning to the TPF. Provision Charging Rules, which can be carried with the selected charging rules and trigger event information.
步骤 305A: TPF收到提供计费规则后, 根据计费规则操作指示对 CRF选 定的计费规则进行相应操作, 即建立计费规则。  Step 305A: After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, the charging rule is established.
步骤 306A〜步骤 307A: TPF根据计费规则中的在线计费指示, 向 OCS发 送信用授权请求( Credit Request ), 请求用户的信用。 OCS收到信用授权请求 后,确定用户的信用 , 然后向 TPF返回信用响应( Credit Response ), 如果 OCS 确定出用户的信用, 则该信用响应中携带有用户的信用, 如果 OCS未确定出 用户的信用, 则该信用响应中可携带有差错原因值。  Step 306A to step 307A: The TPF sends a credit request (Credit Request) to the OCS according to the online charging indication in the charging rule to request the credit of the user. After receiving the credit authorization request, the OCS determines the credit of the user, and then returns a credit response (Credit Response) to the TPF. If the OCS determines the credit of the user, the credit response carries the credit of the user, if the OCS does not determine the user's credit. Credit, the credit response may carry an error reason value.
步驟 308A: TPF收到信用响应后, 向 UE返回承载建立响应 (Establish Bearer Service Accept ), 如果信用响应中携带有用户的信用 , 则 TPF接受 Ufe 发起的承载建立请求, 并继续后续的承载建立流程; 如果信用响应中未携带有 用户的信用, 则拒绝 UE发起的承载建立请求。 '  Step 308A: After receiving the credit response, the TPF returns an bearer setup response (Establish Bearer Service Accept) to the UE. If the credit response carries the user's credit, the TPF accepts the bearer setup request initiated by the Ufe, and continues the subsequent bearer setup process. If the credit response does not carry the user's credit, the UE initiated bearer setup request is rejected. '
对于承载修改, 在线计费情况下,请求计费规则和用户信用的处理过程如 图 3B所示:  For bearer modification, in the case of online charging, the processing procedure for requesting charging rules and user credit is as shown in Figure 3B:
步骤 301B: UE向 TPF发送承载修改请求( Modify Bearer Service Request ), 在 GPRS网络中,则是 GGSN收到 PDP Context更新请求( Update PDP Context Request )。  Step 301B: The UE sends a Modify Bearer Service Request to the TPF. In the GPRS network, the GGSN receives the PDP Context Request (Update PDP Context Request).
步骤 302B: TPF收到承载修改请求后, 向 CRF发送计费规则请求, 该计 费规则请求中携带有供 CRF确定计费规则的输入信息。 步骤 303B〜步骤 304B: CR 收到计费规则请求后, 根据该计费规则请求 中携带的输入信息 ,还可根据 AF提供的相关输入信息 ,选择适当的计费规则, 然后向 TPF返回提供计费规则, 该提供计费规则中可携带有选定的计费规则 和触发事件信息。 Step 302B: After receiving the bearer modification request, the TPF sends a charging rule request to the CRF, where the charging rule request carries the input information for determining the charging rule by the CRF. Step 303B to step 304B: After receiving the charging rule request, the CR may, according to the input information carried in the charging rule request, select an appropriate charging rule according to the relevant input information provided by the AF, and then return the provisioning to the TPF. The fee rule, the provided charging rule may carry the selected charging rule and trigger event information.
步骤 305B: TPF收到提供计费规则后, 根据计费规则操作指示对 CRF选 定的计费规则进行相应操作, 即建立、 修改、 删除计费规则。  Step 305B: After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, establishes, modifies, and deletes the charging rule.
步骤 306B〜步骤 307B: TPF根据计费规则中的在线计费指示, 向 OCS发 送信用授权请求, 请求用户的信用。 OCS 收到信用授权请求后, 确定用户的 信用, 然后向 TPF返回信用响应, 如果 OCS确定出用户的信用, 则该信用响 应中携带有用户的信用, 如果 OCS未确定出用户的信用, 则该信用响应中可 携带有差错原因值。  Step 306B to step 307B: The TPF sends a credit authorization request to the OCS according to the online charging indication in the charging rule, requesting the credit of the user. After receiving the credit authorization request, the OCS determines the credit of the user, and then returns a credit response to the TPF. If the OCS determines the credit of the user, the credit response carries the credit of the user. If the OCS does not determine the credit of the user, the OCS The credit response may carry an error cause value.
步骤 308B: TPF收到信用响应后 ,向 UE返回承载修改响应( Modify Bearer Service Accept ), 如果信用响应中携带有用户的信用, 则 TPF接受 UE发起的 承载修改请求, 并继续后续的承载修改流程; 如果信用响应中未携带有用户的 信用, 则拒绝 UE发起的承载修改请求。  Step 308B: After receiving the credit response, the TPF returns a Modify Bearer Service Accept to the UE. If the credit response carries the user's credit, the TPF accepts the bearer modification request initiated by the UE, and continues the subsequent bearer modification process. If the credit response does not carry the user's credit, the UE initiated bearer modification request is rejected.
对于承载删除, 在线计费情况下,请求计费规则和用户信用的处理过程如 图 3C所示:  For bearer deletion and online charging, the processing procedure for requesting charging rules and user credit is as shown in Figure 3C:
步骤 301C : UE 向 TPF 发送承载删除请求 (Remove Bearer Service Request ), 在 GPRS网络中, 则是 GGSN收到 Delete PDP Context Request。  Step 301C: The UE sends a Bearer Delete Request (Remove Bearer Service Request) to the TPF. In the GPRS network, the GGSN receives the Delete PDP Context Request.
步骤 302C: TPF收到承载删除请求后, 向 CRF发送计费规则请求, 该计 费规则请求中携带有供 CRF确定计费规则的输入信息。  Step 302C: After receiving the bearer deletion request, the TPF sends a charging rule request to the CRF, where the charging rule request carries the input information for determining the charging rule by the CRF.
步骤 303C〜步骤 304C: CRF收到计费规则请求后, 根据该计费规则请求 中携带的输入信息,还可根据 AF提供的相关输入信息,选择适当的计费规则, 然后向 TPF返回提供计费规则, 该提供计费规则中可携带有选定的计费规则 和计费规则操作指示。  Step 303C to step 304C: After receiving the charging rule request, the CRF may, according to the input information carried in the charging rule request, select an appropriate charging rule according to the relevant input information provided by the AF, and then return the provisioning to the TPF. The fee rule, the provided charging rule may carry the selected charging rule and the charging rule operation instruction.
步骤 305C: TPF收到提供计费规则后, 根据计费规则操作指示对 CRF选 定的计费规则进行相应操作, 即删除计费规则。 Step 305C: After receiving the charging rule, the TPF selects the CRF according to the charging rule operation indication. The fixed charging rule performs the corresponding operation, that is, deletes the charging rule.
步骤 306C~步骤 307C: TPF向 OCS发送信用报告( Final Remaining Credit Report ), 通知 OCS为用户建立的承载已经终止, 该信用报告中携带有用户信 用的使用情况, 如用户使用分组数据业务的时间长度、使用分组数据的流量大 小, 或是用户的剩余信用。 OCS收到信用报告后, 向 TPF返回信用报告响应 ( Response )。  Step 306C to step 307C: The TPF sends a credit report ( Final Remaining Credit Report) to the OCS, and notifies the OCS that the bearer established for the user has been terminated. The credit report carries the usage of the user credit, such as the length of time that the user uses the packet data service. , the amount of traffic using packet data, or the user's remaining credit. After receiving the credit report, OCS returns a credit report response ( Response ) to the TPF.
步骤 308C: TPF收到信用报告响应后,向 UE返回承载删除响应( Remove Bearer Service Accept ), 接受 UE发起的承载删除请求, 并继续后续的承载删 除流程。  Step 308C: After receiving the credit report response, the TPF returns a Bearer Service Accept (Remove Bearer Service Accept) to the UE, accepts the bearer deletion request initiated by the UE, and continues the subsequent bearer deletion process.
目前, 3GPP定义了离线计费情况下, 承载修改会触发 TPF向 CRF请求 计费规则的处理过程, 具体实现过程如图 4A所示:  At present, the 3GPP defines the process of the offline charging, the bearer modification triggers the TPF to request the charging rule from the CRF, and the specific implementation process is as shown in FIG. 4A:
步骤 401A: UE向 TPF发送承载修改请求,在 GPRS网络中,则是 GGSN 收到 PDP Context更新请求。  Step 401A: The UE sends a bearer modification request to the TPF. In the GPRS network, the GGSN receives the PDP Context update request.
步骤 402A: TPF收到承载修改请求后, 将承载修改事件与存储的触发事 件相匹配, 如果能够匹配, 则执行步骤 403 A; 否则, 继续监测触发事件的发 生。  Step 402A: After receiving the bearer modification request, the TPF matches the bearer modification event with the stored trigger event. If yes, go to step 403 A; otherwise, continue to monitor the trigger event.
步骤 403A: TPF向 CRF发送计费规则请求, 该计费规则请求中携带有供 CRF确定计费规则的输入信息。  Step 403A: The TPF sends a charging rule request to the CRF, where the charging rule request carries the input information for determining the charging rule by the CRF.
步骤 404A〜步骤 405A: CRF收到计费规则请求后, 根据该计费规则请求 中携带的输入信息,还可根据 AF提供的相关输入信息,选择适当的计费规则, 然后向 TPF返回提供计费规则, 该提供计费规则中可携带有选定的计费规则 和触发事件信息。  Step 404A to step 405A: After receiving the charging rule request, the CRF may, according to the input information carried in the charging rule request, select an appropriate charging rule according to the relevant input information provided by the AF, and then return the provisioning to the TPF. The fee rule, the provided charging rule may carry the selected charging rule and trigger event information.
步骤 406A: TPF收到提供计费规则后, 根据计费规则操作指示对 CRF选 定的计费规则进行相应操作, 即建立、 修改、 删除计费规则。  Step 406A: After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, establishes, modifies, and deletes the charging rule.
步骤 407A: TPF向 UE返回承载修改响应, 并继续后续的承载修改流程。 在线计费情况下, 承载修改会触发 TPF请求 OCS对用户进行重授权的流 程, 具体实现过程如图 4B所示: Step 407A: The TPF returns a bearer modification response to the UE, and continues the subsequent bearer modification process. In the case of online charging, the bearer modification triggers the flow that the TPF requests the OCS to re-authorize the user. The specific implementation process is shown in Figure 4B:
步骤 401B〜步骤 406B与步骤 401 A〜步骤 406A相同。  Steps 401B to 406B are the same as steps 401 A to 406A.
步驟 407B: TPF将承载修改事件与存储的重授权事件进行匹配, 如果能 够匹配, 则执行步骤 408B, 否则, 继续监测重授权事件的发生。  Step 407B: The TPF matches the bearer modification event with the stored re-authorization event. If it can match, step 408B is performed. Otherwise, the monitoring of the re-authorization event continues.
步骤 408B: 如果重授权事件发生了, 或是计费规则发生了改变, TPF向 OCS发送信用及重 ί受权请求 ( Credit Request and Re-authorisation Request ), 该 信用及重授权请求中携带有用户的剩余信用和相关的计费规则信息,还可携带 相应的重授权事件, 请求 OCS重新计算用户的信用。 TPF向 OCS提供的相关 计费规则信息可来自 CRF。  Step 408B: If the re-authorization event occurs, or the charging rule changes, the TPF sends a credit request and a re-authorisation request to the OCS, where the credit and the re-authorization request carry the user The remaining credit and related charging rule information may also carry a corresponding re-authorization event, requesting the OCS to recalculate the credit of the user. The relevant charging rule information provided by the TPF to the OCS can come from the CRF.
步骤 409B: OCS收到信用控制请求后, 重新对用户的信用进行计算, 然 后向 TPF 返回信用及重授权响应 (Credit Response and Re- authorization Response ), 如果 OCS 计算出用户的信用, 则该信用及重授权响应中携带有 OCS重新计算的用户信用, 如果 OCS未计算出用户的信用, 则该信用控制响 应中可携带有差错原因值。  Step 409B: After receiving the credit control request, the OCS recalculates the credit of the user, and then returns a credit response and a re-authorization response to the TPF. If the OCS calculates the credit of the user, the credit and The re-authorization response carries the user credit recalculated by the OCS. If the OCS does not calculate the credit of the user, the credit control response may carry an error reason value.
步驟 410B: TPF收到信用控制响应后, 向 UE返回承载修改响应, 如果 信用控制响应中携带有用户的信用,则 TPF接受 UE发起的承载修改请求, 并 继续后续的承载修改流程; 如果信用控制响应中未携带有用户的信用, 则拒绝 UE发起的承载修改请求。  Step 410B: After receiving the credit control response, the TPF returns a bearer modification response to the UE. If the credit control response carries the user's credit, the TPF accepts the bearer modification request initiated by the UE, and continues the subsequent bearer modification process; if the credit control If the user does not carry the credit in the response, the bearer modification request initiated by the UE is rejected.
另外, CRF也可主动向 TPF发送计费规则, 如当 UE与 AF进行业务数据 传输的过程中, CRF收到 AF的计费规则输入信息后, 根据 AF提供的计费规 则输入信息选择适当的计费规则, 然后主动向 TPF下发选定的计费规则。 对 于 AF向 CRF提供计费规则输入信息的具体实现过程如图 5所示:  In addition, the CRF can also actively send charging rules to the TPF. For example, when the UE and the AF perform service data transmission, after receiving the charging rule input information of the AF, the CRF selects an appropriate according to the charging rule input information provided by the AF. The charging rule then proactively delivers the selected charging rule to the TPF. The specific implementation process of providing charging rules input information to the CRF to the CRF is shown in Figure 5:
步骤 501: AF 向 CRF 发送应用 /业务计费相关信息 ( Send Application/Service Data Flow Charging Information )。  Step 501: The AF sends Application/Service Data Flow Charging Information to the CRF.
步骤 502: CRF收到应用 /业务计费相关信息后, 向 AF返回响应 ( Ack ), 通知 AF已收到其发送的计费规则输入信息。 图 6示出了 CRF主动向 TPF下发计费规则流程图, 如图 6所示, C F主 动向 TPF下发计费规则的实现过程包括以下步骤: Step 502: After receiving the application/service charging related information, the CRF returns a response (Ack) to the AF, and notifies the AF that the charging rule input information sent by the AF has been received. FIG. 6 is a flowchart of a charging rule that is sent by the CRF to the TPF. As shown in FIG. 6, the process for the CF to actively deliver the charging rule to the TPF includes the following steps:
步骤 601 : CRF 收到某个内部或外部的触发事件 (Internal or External Trigger Event ) , 以及与该事件相关的信息, 如 AF向 CRF发送计费规则输入 信息的事件。  Step 601: The CRF receives an internal or external Trigger Event and information related to the event, such as an event in which the AF sends charging rule input information to the CRF.
步骤 602: CRF根据获取的信息选择相应的计费规则。 这些信息可为 AF 提供的计费规则输入信息, 例如, 用户使用 AF提供的某一业务, 该业务对计 费有特殊要求, 如费率与其他业务的费率不同, 因此, AF向 CRF提供与该业 务相关的计费信息; 也可为 TPF提供的计费规则输入信息。  Step 602: The CRF selects a corresponding charging rule according to the obtained information. This information can be used to input information for the charging rules provided by the AF. For example, the user uses a certain service provided by the AF. The service has special requirements for charging. For example, the rate is different from the rate of other services. Therefore, the AF provides the CRF. Billing information related to the service; may also input information for the charging rule provided by the TPF.
步骤 603: 如果需要的话, CRF向 TPF发送提供计费规则, 该提供计费规 则中可携带有选定的计费规则和触发事件信息。  Step 603: If required, the CRF sends a charging rule to the TPF, and the provided charging rule may carry the selected charging rule and trigger event information.
步骤 604: TPF收到提供计费规则后,根据计费规则操作指示对 CRF选定 的计费规则进行相应操作, 即建立、 修改、 删除计费规则。  Step 604: After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, establishes, modifies, and deletes the charging rule.
步骤 605〜步骤 606: TPF向 OCS发送信用授权请求, 请求用户的信用。 OCS收到信用授权请求后, 确定用户的信用, 然后向 TPF返回信用响应, 如 果 OCS确定出用户的信用, 则该信用响应中携带有用户的信用, 如果 OCS未 确定出用户的信用, 则该信用响应中可携带有差错原因值。  Step 605 to step 606: The TPF sends a credit authorization request to the OCS to request the credit of the user. After receiving the credit authorization request, the OCS determines the credit of the user, and then returns a credit response to the TPF. If the OCS determines the credit of the user, the credit response carries the credit of the user. If the OCS does not determine the credit of the user, the The credit response may carry an error cause value.
目前, 规范中对 CRF通过触发事件上报机制控制 TPF的计费方式进行了 定义, 即 TPF监测到触发事件发生后向 CRF上报, CRF通过 TPF上报的触发 事件获知承载发生变化, 然后确定相应的计费规则并下发给 TPF。规范中定义 的触发事件可包括: PLMN变化事件, QoS参数变化事件, RAT类型变化事 件, TFT变化事件。  Currently, the specification defines the charging mode of the CRF to control the TPF through the triggering event reporting mechanism, that is, the TPF reports the trigger event to the CRF, and the CRF learns the change of the bearer through the trigger event reported by the TPF, and then determines the corresponding meter. The fee rules are issued to the TPF. The trigger events defined in the specification may include: PLMN change events, QoS parameter change events, RAT type change events, TFT change events.
另外, 规范中还对 OCS通过重授权事件上报的机制控制 TPF的信用使用 情况进行了描述, 即 TPF监测到重授权事件发生后向 OCS上报, OCS通过 TPF上报的重授权事件, 获知用户的信用使用情况以及承载的变化, 对用户的 信用重新进行计算并下发给 TPF。规范中定义的重授权事件可包括: 允许信用 过期事件, 用户空闲状态超时事件, 计费规则变化事件, PLMN 变化事件, QoS参数变化事件, RAT类型变化事件。 In addition, the specification also describes how the OCS controls the credit usage of the TPF through the mechanism reported by the re-authorization event. That is, the TPF reports the re-authorization event to the OCS after the re-authorization event occurs, and the OCS obtains the credit of the user through the re-authorization event reported by the TPF. The user's credit is recalculated and sent to the TPF. The reauthorization events defined in the specification may include: Allowing credit Expiration event, user idle state timeout event, charging rule change event, PLMN change event, QoS parameter change event, RAT type change event.
通过以上描述可见, 触发事件和重授权事件中都包括 PLMN变化事件、 QoS参数变化事件、 RAT类型变化事件等, 这样, 对于某个发生的 PLMN事 件, TPF会将该 PLMN事件同时匹配到触发事件和重授权事件, 因此, 需要 分别向 CRF和 OCS上报该 PLMN事件的发生,造成对 FBC系统资源的浪费。 发明内容  It can be seen from the above description that both the trigger event and the re-authorization event include a PLMN change event, a QoS parameter change event, a RAT type change event, etc., so that for a certain PLMN event, the TPF will simultaneously match the PLMN event to the trigger event. And the re-authorization event, therefore, it is necessary to separately report the occurrence of the PLMN event to the CRF and the OCS, resulting in waste of the FBC system resources. Summary of the invention
有鉴于此, 本发明的一个目的在于提供一种基于分组数据流计费的系统, 本发明的另一目的在于提供一种基于分组数据流计费的处理方法,完善基于分 组数据流计费的系统结构和实现流程。  In view of this, an object of the present invention is to provide a system for charging based on packet data stream, and another object of the present invention is to provide a processing method based on packet data stream charging, which improves packet charging based on packet data stream. System structure and implementation process.
为了达到上述目的, 本发明提供了一种基于分组数据流计费的系统, 该系 统包括: 计费规则功能实体 CRF与在线计费系统 OCS合设构成逻辑功能实体 CRF-OCS, 所述 CRF-OCS通过包括 Gx参考点和 Gy参考点功能的接口与传 输面功能实体 TPF相连。  In order to achieve the above object, the present invention provides a system for packet data stream charging, the system comprising: a charging rule function entity CRF and an online charging system OCS combined to form a logical function entity CRF-OCS, the CRF- The OCS is connected to the transport plane functional entity TPF through an interface including a Gx reference point and a Gy reference point function.
其中,所述 Gx参考点和 Gy参考点的功能包括: TPF向 CRF-OCS请求计 费规则, CRF-OCS向 TPF提供计费规则; 或者, TPF向 CRF-OCS请求信用 授权, CRF-OCS向 TPF提供信用; 或者, TPF向 CRF-OCS同时请求计费规 则和信用授权, CRJF-OCS同时向 TPF提供计費规则和信用。 所述 Gx参考点 和 Gy参考点的功能还包括: CRF-OCS向 TPF提供计费规则触发事件,当 TPF 监控到计费规则触发事件发生时,向 CRF-OCS请求计费规则;或者, CRF-OCS 向 TPF提供重授权事件, 当 TPF监控到重授权事件发生时,向 CRF-OCS请求 信用授权;或者, CRF-OCS同时向 TPF提供计费规则触发事件和重授权事件, 当 TPF监控到计费规则触发事件发生时, 向 CRJF-OCS请求计费规则, 当 TPF 监控到重授权事件发生时, 向 CRF-OCS请求信用授权。 所述 CRF-OCS进一 步通过包括 Rx参考点功能的接口与应用功能实体 AF相连。  The functions of the Gx reference point and the Gy reference point include: the TPF requests a charging rule from the CRF-OCS, and the CRF-OCS provides a charging rule to the TPF; or, the TPF requests a credit authorization from the CRF-OCS, CRF-OCS The TPF provides credit; or, the TPF simultaneously requests charging rules and credit authorizations to the CRF-OCS, and the CRJF-OCS provides charging rules and credits to the TPF at the same time. The functions of the Gx reference point and the Gy reference point further include: CRF-OCS provides a charging rule triggering event to the TPF, and requests a charging rule from the CRF-OCS when the TPF monitors the charging rule triggering event; or, CRF - The OCS provides a re-authorization event to the TPF. When the TPF monitors the re-authorization event, it requests a credit authorization from the CRF-OCS. Alternatively, the CRF-OCS provides the charging rule triggering event and the re-authorization event to the TPF, when the TPF monitors When the charging rule triggers an event, it requests the charging rule from the CRJF-OCS. When the TPF monitors the re-authorization event, it requests the CRF-OCS for the credit authorization. The CRF-OCS is further connected to the application function entity AF through an interface including the Rx reference point function.
本发明还提供了一种基于分组数据流计费的处理方法, 该方法包含: TPF 向包括计费规则功能实体 CRF与在线计费系统 OCS的 CRF-OCS请求计费规 则和 /或信用授权, CRF-OCS收到计费规则和 /或信用授权请求后, 向 TPF返 回计费规则和 /或用户信用。 The invention also provides a processing method based on packet data flow charging, the method comprising: TPF Requesting charging rules and/or credit authorizations from the CRF-OCS including the charging rule function entity CRF and the online charging system OCS, and after receiving the charging rules and/or credit authorization requests, the CRF-OCS returns the charging rules to the TPF. And/or user credit.
本发明还提供了一种基于分组数据流计费的处理方法,该方法包含: 承载 建立时 , TPF向包括计费规则功能实体 CRF与在线计费系统 OCS的 CRF-OCS 发送计费规则及信用授权请求, 对于需要进行在线计费的业务数据流, CRF-OCS同时向 TPF提供相应的计费规则和用户信用。  The present invention also provides a processing method based on packet data flow charging, the method comprising: when a bearer is established, the TPF sends a charging rule and a credit to a CRF-OCS including a charging rule function entity CRF and an online charging system OCS. Authorization request, for the service data flow that needs to be charged online, CRF-OCS provides corresponding charging rules and user credits to the TPF at the same time.
本发明还提供了一种基于分组数据流计费的处理方法, 在承载建立时, TPF向包括计费规则功能实体 CRF与在线计费系统 OCS的 CRF-OCS请求计 费规则, CRF-OCS判断 UE用户是否为其归属签约的网络用户, 如果是, 则 直接向 TPF返回计费规则和 /或用户信用; 否则, 向 TPF提供 UE用户归属签 约的 CRF-OCS 的地址信息, TPF根据收到的 CRP-OCS 地址信息, 向该 CRF-OCS发送计费规则及信用授权请求, UE归属的 CRF-OCS收到计费规则 及信用授权请求后, 向 TPF返回计费规则和 /或用户信用。  The present invention also provides a processing method based on packet data flow charging. When the bearer is established, the TPF requests the charging rule from the CRF-OCS including the charging rule function entity CRF and the online charging system OCS, and the CRF-OCS determines Whether the UE user is the network user to which the subscriber is subscribed, and if so, directly returns the charging rule and/or the user credit to the TPF; otherwise, the TPF is provided with the address information of the CRF-OCS of the UE user's home subscription, and the TPF receives the The CRP-OCS address information sends a charging rule and a credit authorization request to the CRF-OCS. After receiving the charging rule and the credit authorization request, the CRF-OCS to which the UE belongs returns a charging rule and/or a user credit to the TPF.
本发明还提供一种基于分组数据流计费的处理方法, 在承载建立时, TPF 向包括计费规则功能实体 CRF与在线计费系统 OCS的 CRF-OCS请求计费规 则, CRF-OCS判断 UE用户是否为其归属签约的网络用户, 如果是, 则直接 向 TPF返回计费规则和 /或用户信用; 否则, CRF-OCS向 UE用户归属签约的 CRF-OCS 转发计费规则请求, UE 用户归属签约的 CRP-OCS 经由拜访 CRF-OCS向 TPF返回计费规则和 /或用户信用。  The invention also provides a processing method based on packet data flow charging. When the bearer is established, the TPF requests the charging rule from the CRF-OCS including the charging rule function entity CRF and the online charging system OCS, and the CRF-OCS determines the UE. Whether the user is the network user to which the user belongs, if yes, the charging rule and/or the user credit are directly returned to the TPF; otherwise, the CRF-OCS forwards the charging rule request to the UE user-signed CRF-OCS, and the UE user belongs to The contracted CRP-OCS returns billing rules and/or user credits to the TPF via a visit to the CRF-OCS.
本发明又提供一种基于分组数据流计费的处理方法,该方法包含: 包括计 费规则功能实体 CRF与在线计费系统 OCS的 CRF-OCS向 TPF提供计费触发 事件, TPF监测到计费触发事件发生时, 向 CRF-OCS上报。  The invention further provides a processing method based on packet data flow charging, the method comprising: providing a charging trigger event to the TPF including a charging rule function entity CRF and an online charging system OCS, and the TPF monitoring the charging When a trigger event occurs, it is reported to the CRF-OCS.
本发明又提供一种基于分组数据流计费的处理方法, 该方法包含: AF向 CRF-OCS 提供用于选择计费规则的输入信息。 其中, 该方法进一步包括: CRF-OCS向 AF返回表明收到所述输入信息的响应。 本发明又提供一种基于分组数据流计费的处理方法, 该方法包含:The present invention further provides a processing method based on packet data flow charging, the method comprising: the AF providing input information for selecting a charging rule to the CRF-OCS. Wherein, the method further comprises: the CRF-OCS returning to the AF a response indicating receipt of the input information. The invention further provides a processing method based on packet data flow charging, the method comprising:
CRF-OCS要求 TPF返回用户信用的使用情况, TPF向 CRF-OCS返回用户信 用使用情况信息。 The CRF-OCS requires the TPF to return the user credit usage, and the TPF returns the user credit usage information to the CRF-OCS.
根据本发明提出的方案, 在 0CS中实现 CRF功能, 这样, 触发事件可同 重授权事件合并实现, 统一了 TPF 的事件上报机制, 并且本发明还描述了基 于实现 CRF功能的 OCS结构下的各种流程, 使得 TPF与 OCS之间以及 TPF 与 CRF之间的处理流程更为清晰。 附图简要说明  According to the solution proposed by the present invention, the CRF function is implemented in the 0CS, so that the trigger event can be implemented in combination with the re-authorization event, and the event reporting mechanism of the TPF is unified, and the present invention also describes each of the OCS structures based on the CRF function. The process makes the process between TPF and OCS and between TPF and CRF clearer. BRIEF DESCRIPTION OF THE DRAWINGS
图 1示出了 PDP Context激活、 数据传输、 去激活流程图;  Figure 1 shows a PDP Context activation, data transfer, deactivation flowchart;
图 2A示出了在线计费的 FBC系统结构示意图;  2A is a schematic structural diagram of an FBC system for online charging;
图 2B示出了离线计费的 FBC系统结构示意图;  2B is a schematic structural diagram of an FBC system for offline charging;
图 3A 示出了在线计费承载建立时请求计费规则和用户信用的处理流程 图;  FIG. 3A is a flowchart showing a process of requesting charging rules and user credits when an online charging bearer is established; FIG.
图 3B 示出了在线计费承载修改时请求计费规则和用户信用的处理流程 图;  FIG. 3B is a flowchart showing a process of requesting charging rules and user credits when the online charging bearer is modified;
图 3C 示出了在线计费承载删除时请求计费规则和用户信用的处理流程 图;  FIG. 3C is a flowchart showing a process of requesting charging rules and user credits when an online charging bearer is deleted;
图 4A示出了现有技术中离线计费时承载修改处理流程图;  FIG. 4A is a flowchart of a bearer modification process for offline charging in the prior art; FIG.
图 4B示出了现有技术中在线计费时承载修改处理流程图;  FIG. 4B is a flowchart of a bearer modification process during online charging in the prior art; FIG.
图 5示出了 AF向 CRF提供计费规则输入信息流程图;  FIG. 5 is a flow chart showing the input of charging rules by the AF to the CRF;
图 6示出了 CRF主动向 TPF下发计费规则流程图;  Figure 6 shows a flow chart of the CRF actively issuing charging rules to the TPF;
图 7示出了本发明中 FBC系统结构示意图;  Figure 7 is a block diagram showing the structure of the FBC system of the present invention;
图 8A 示出了本发明中承载建立时请求计费规则和用户信用的处理流程 图;  FIG. 8A is a flowchart showing a process of requesting charging rules and user credits when a bearer is established in the present invention; FIG.
图 8B 示出了本发明中承载修改时请求计费规则和用户信用的处理流程 图; 图 8C 示出了本发明中承载删除时请求计费规则和用户信用的处理流程 图; FIG. 8B is a flowchart showing a process of requesting charging rules and user credits when carrying modifications in the present invention; FIG. FIG. 8C is a flowchart showing a process of requesting a charging rule and a user credit when carrying a deletion in the present invention; FIG.
图 9示出了本发明中 AF向 CRF-OCS提供计费规则输入信息的处理流程 图;  FIG. 9 is a flow chart showing the processing of the AF providing charging rule input information to the CRF-OCS in the present invention;
图 10示出了本发明中 AF向 CRF-OCS提供输入信息触发计费规则和 /或 信用授权请求的处理流程图。 实施本发明的方式  Figure 10 is a flow chart showing the process by which the AF provides input information to trigger the charging rules and/or credit authorization requests to the CRF-OCS in the present invention. Mode for carrying out the invention
为使本发明的目的、技术方案和优点更加清楚, 下面结合附图对本发明作 进一步的详细描述。  In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings.
本发明中, 对 FBC系统结构进行了改进, 在 OCS系统中增加 CRP功能, 这样, 触发事件和重授权事件可合并实现, 统一了 TPF基于事件上报的机制, 使得 TPF与 OCS及 TPF与 CRF之间的处理流程更为清晰。 本发明提出的方 案既适用于在线计费情况也适用于离线计费情况。  In the present invention, the structure of the FBC system is improved, and the CRP function is added in the OCS system, so that the trigger event and the re-authorization event can be combined and implemented, and the TPF event reporting mechanism is unified, so that the TPF and the OCS, the TPF, and the CRF are unified. The process is more clear. The solution proposed by the present invention is applicable to both online charging and offline charging.
图 7示出了本发明中 FBC系统结构示意图,如图 7所示,在本发明的 FBC 系统结构中, 将 CRF 203和 OCS 206两个逻辑功能实体的功能集成在一个逻 辑功能实体中实现, 以下将 CRF 203和 OCS 206集成后的逻辑功能实体称为 CRF-OCS 70, OCS 206中包括 SCP 201和 CCF 202。 CRJF-OCS 70通过包括 Rx参考点功能的接口与 AF 204互通, AF 204可通过 Rx参考点向 CRF-OCS 70 提供用于选择计费规则的输入信息。 CRF-OCS 70通过包括 Gx参考点和 Gy 参考点功能的接口与 TPF 205互通, 其中, 包括 Gx参考点和 Gy参考点功能 的接口可表示为 Gy+Gx, Gx参考点和 Gy参考点的功能包括: TPF 205 向 CRF-OCS 70请求计费规则, CRF-OCS 70向 TPF 205提供计费规则; 或者, TPF 205向 CRF-OCS 70请求信用授权, CRF-OCS 70向 TPF 205提供信用; 或者, TPF 205向 CRF-OCS 70同时请求计费规则和信用授权, CRF-OCS 70 同时向 TPF 205提供计费规则和信用。 Gx参考点和 Gy参考点的功能还包括: CRF-OCS 70向 TPF 205提供计费规则触发事件, 当 TPF 205监控到计费规则 触发事件发生时,向 CRF-OCS 70请求计费规则;或者, CRF-OCS 70向 TPF 205 提供重授权事件, 当 TPF 205监控到重授权事件发生时, 向 CRF-OCS 70请求 信用授权; 或者, CRF-OCS 70同时向 TPF 205提供计费规则触发事件和重授 权事件, 当 TPF 205监控到计费规则触发事件发生时, 向 CRF-OCS 70请求计 费规则,当 TPF 205监控到重授权事件发生时,向 CRF-OCS 70请求信用授权。 FIG. 7 is a schematic structural diagram of an FBC system according to the present invention. As shown in FIG. 7, in the FBC system structure of the present invention, the functions of two logical functional entities of CRF 203 and OCS 206 are integrated into one logical functional entity. The logical functional entity integrated with CRF 203 and OCS 206 is hereinafter referred to as CRF-OCS 70, and SCP 201 and CCF 202 are included in OCS 206. The CRJF-OCS 70 interworks with the AF 204 through an interface including an Rx reference point function, and the AF 204 can provide input information for selecting a charging rule to the CRF-OCS 70 through the Rx reference point. The CRF-OCS 70 interworks with the TPF 205 through an interface including a Gx reference point and a Gy reference point function, wherein an interface including a Gx reference point and a Gy reference point function can be expressed as a function of Gy+Gx, Gx reference point, and Gy reference point. Including: TPF 205 requests charging rules from CRF-OCS 70, CRF-OCS 70 provides charging rules to TPF 205; alternatively, TPF 205 requests credit authorization from CRF-OCS 70, and CRF-OCS 70 provides credit to TPF 205; The TPF 205 simultaneously requests charging rules and credit authorizations to the CRF-OCS 70, and the CRF-OCS 70 simultaneously provides charging rules and credits to the TPF 205. The functions of the Gx reference point and the Gy reference point further include: The CRF-OCS 70 provides a charging rule triggering event to the TPF 205, and the TPF 205 monitors the charging rule. When the triggering event occurs, the charging rule is requested to the CRF-OCS 70; or, the CRF-OCS 70 provides a re-authorization event to the TPF 205, and when the TPF 205 monitors that the re-authorization event occurs, requests the CRF-OCS 70 for a credit authorization; or The CRF-OCS 70 simultaneously provides a charging rule triggering event and a re-authorization event to the TPF 205. When the TPF 205 monitors that the charging rule triggering event occurs, the charging rule is requested to the CRF-OCS 70, and when the TPF 205 monitors the re-authorization. When an event occurs, a credit authorization is requested from CRF-OCS 70.
由于在线计费时,计费规则触发事件和重授权事件都是由 CRF-OCS 70请 求 TPF 205对指定事件进行监控的, 因此, 可将计费规则触发事件和重授权事 件合并下发, 即 CRF-OCS 70向 TPF 205提供计费规则触发事件和重授权事件 的合集, 以下将该计费规则触发事件和重授权事件的合集称为计费触发事件 ( Charging Trigger )。  In the case of online charging, the charging rule triggering event and the re-authorization event are all requested by the CRF-OCS 70 to request the TPF 205 to monitor the specified event. Therefore, the charging rule triggering event and the re-authorization event can be combined and delivered. The CRF-OCS 70 provides a collection of charging rule trigger events and re-authorization events to the TPF 205. Hereinafter, the collection of the charging rule triggering events and the re-authorization events is referred to as a Charging Trigger.
TPF 205监测到计费触发事件发生后, 通知 CRF-OCS 70当前发生的计费 触发事件, 并向 CRF-OCS 70提供用户已经使用的信用; CRF-OCS 70根据当 前发生的计费触发事件, 选择计费规则, 并且重新对用户的信用进行计算, 然 后向 TPF 205返回选定的计费规则和重新计算的用户信用。  After detecting the charging trigger event, the TPF 205 notifies the CRF-OCS 70 of the current charging trigger event, and provides the CRF-OCS 70 with the credit that the user has used; the CRF-OCS 70 triggers the event according to the current charging. The charging rules are selected, and the user's credit is recalculated, and then the selected charging rules and recalculated user credits are returned to the TPF 205.
CRF-OCS 70可进一步向 TPF 205指明计费触发事件中包括的重授权事 件, 这样, TPF 205监测到计费触发事件发生后, 判断发生的计费触发事件是 否为重授权事件。 如果 TPF 205确定发生的计费触发事件为重授权事件, 则 TPF 205通知 CRF-OCS 70当前发生的计费触发事件, 并向 CRF-OCS 70提供 用户已经使用的信用, 请求 CRF-OCS 70对用户进行重授权; CRF-OCS 70根 据当前发生的计费触发事件,选择计费规则,并且重新对用户的信用进行计算, 然后向 TPF 205返回选定的计费规则和重新计算的用户信用。如果 TPF 205确 定发生的计费触发事件不是重授权事件,则 TPF 205仅通知 CRF-OCS 70当前 发生的计费触发事件; CRF-OCS 70根据当前发生的计费触发事件, 选择计费 规则, 然后向 TPF 205返回选定的计费规则。  The CRF-OCS 70 can further indicate to the TPF 205 the re-authorization event included in the charging triggering event. Thus, after detecting the charging triggering event, the TPF 205 determines whether the charging triggering event that occurred is a re-authorization event. If the TPF 205 determines that the charging triggering event that occurred is a re-authorization event, the TPF 205 notifies the CRF-OCS 70 of the charging triggering event currently occurring, and provides the CRF-OCS 70 with the credit that the user has used, requesting the CRF-OCS 70 pair. The user performs a re-authorization; the CRF-OCS 70 selects the charging rule based on the currently occurring charging triggering event, and recalculates the user's credit, and then returns the selected charging rule and the recalculated user credit to the TPF 205. If the TPF 205 determines that the charging triggering event that occurred is not a re-authorization event, the TPF 205 only notifies the current charging triggering event of the CRF-OCS 70; the CRF-OCS 70 selects the charging rule according to the currently occurring charging triggering event. The selected charging rule is then returned to the TPF 205.
另外, CRF-OCS 70可不向 TPF 205指明计费触发事件中包括的重授权事 件, 这样, TPF 205监测到计费触发事件发生后, 通知 CRF-OCS 70当前发生 的计费触发事件, 并向 CRF-OCS 70提供用户已经使用的信用, CRF-OCS 70 判断当前发生的计费触发事件是否为重授权事件, 如果是, 则 CRF-OCS 70根 据当前发生的计费触发事件,选择计费规则,并且重新对用户的信用进行计算, 然后向 TPF 205返回选定的计费规则和重新计算的用户信用;否则, CRF-OCS 70仅根据当前发生的计费触发事件, 选择计费规则, 然后向 TPF 205返回选 定的计费规则。 In addition, the CRF-OCS 70 may not indicate to the TPF 205 the re-authorization event included in the charging trigger event, such that the TPF 205 notifies the CRF-OCS 70 that the current occurrence occurs after the charging trigger event is detected. The charging triggering event, and providing the CRF-OCS 70 with the credit that the user has used, the CRF-OCS 70 determines whether the currently occurring charging triggering event is a re-authorization event, and if so, the CRF-OCS 70 is based on the current occurrence. The fee triggers the event, selects the charging rule, and recalculates the user's credit, and then returns the selected charging rule and the recalculated user credit to the TPF 205; otherwise, the CRF-OCS 70 only triggers based on the currently occurring charging Event, select a charging rule, and then return the selected charging rule to TPF 205.
具体实现过程中,可在同一消息中实现计费规则请求和信用授权请求, 例 如 , TPF 205向 CRF-OCS 70发送计费规则及信用授权请求( Charging Rule and Credit Request ), 该计费规则及信用授权请求中可携带供 CRF-OCS 70选择计 费规则的输入信息, 以及供 CRF-OCS 70确定用户信用的输入信息, 如, 用户 和终端的相关信息, 如 MSISDN、 IMSI等, 承载特性, 如 QoS信息, 网络相 关信息, 如 MNC、 MCC等。  In the specific implementation process, the charging rule request and the credit authorization request may be implemented in the same message. For example, the TPF 205 sends a charging rule and a credit authorization request (Charging Rule and Credit Request) to the CRF-OCS 70, and the charging rule and The credit authorization request may carry input information for the CRF-OCS 70 to select the charging rule, and input information for the CRF-OCS 70 to determine the user credit, such as related information of the user and the terminal, such as MSISDN, IMSI, etc., bearer characteristics, Such as QoS information, network related information, such as MNC, MCC, etc.
对于 CRF-OCS 70向 TPF 205提供的计费规则、 提供的信用、 以及提供的 计费触发事件也可在同一消息中实现,如 CRF-OCS 70向 TPF 205发送计费规 则及信用响应( Charging Rule and Credit Response ), 该计费规则及信用响应中 携带有 CRF-OCS 70选定的计费规则、 用户信用, 该计费规则及信用响应中还 可携带计费触发事件。  The charging rules, credits provided, and provided charging trigger events provided by the CRF-OCS 70 to the TPF 205 may also be implemented in the same message, such as the CRF-OCS 70 transmitting charging rules and credit responses to the TPF 205 (Charging Rule and Credit Response), the charging rule and the credit response carry the charging rule selected by the CRF-OCS 70, the user credit, and the charging rule and the credit response may also carry a charging trigger event.
图 8A 示出了本发明中承载建立时请求计费规则和用户信用的处理流程 图, 如图 8A所示, 承载建立时请求计费规则和用户信用的处理过程包括以下 步驟:  FIG. 8A is a flowchart showing a process of requesting charging rules and user credits when a bearer is established in the present invention. As shown in FIG. 8A, the process of requesting charging rules and user credits during bearer establishment includes the following steps:
步驟 801A与步骤 301 A相同。  Step 801A is the same as step 301A.
步骤 802A〜步骤 803A: TPF收到承载建立请求后, 向 CRF-OCS发送计 费规则及信用授权请求, 该计费规则及信用授权请求中携带有供 CRF-OCS确 定计费规则的输入信息和确定用户信用的输入信息, TPF可根据 UE标识寻址 到相应 CRF-OCS, 也可根据自身配置的数据寻址到相应 CRF-OCS, 还可根据 承载建立时 UE提供的接入访问点寻址到相应 CRJF-OCS。 CRF-OCS收到计费 规则请求后, 判断该 UE 用户是否为归属签约的网络用户, 如果是, 则该 CRF-OCS为 UE的归属 CRF-OCS, 则执行步骤 806A; 否则, 该 CRF-OCS为 UE的拜访 CRF-OCS ,该拜访 CRF-OCS可根据 UE标识获取 UE归属 CRF-OCS 的地址信息, 然后执行 804A。 Step 802A to step 803A: After receiving the bearer setup request, the TPF sends a charging rule and a credit authorization request to the CRF-OCS, where the charging rule and the credit authorization request carry the input information for determining the charging rule by the CRF-OCS and Determining the input information of the user credit, the TPF may be addressed to the corresponding CRF-OCS according to the UE identifier, or may be addressed to the corresponding CRF-OCS according to the data configured by itself, and may also be addressed according to the access point provided by the UE when the bearer is established. Go to the corresponding CRJF-OCS. CRF-OCS receives billing After the rule is requested, it is determined whether the UE user is a home subscriber of the home subscription. If yes, the CRF-OCS is the home CRF-OCS of the UE, and step 806A is performed; otherwise, the CRF-OCS is the visited CRF-OCS of the UE. The visited CRF-OCS may obtain the address information of the UE home CRF-OCS according to the UE identifier, and then perform 804A.
步骤 804A〜步骤 805A: CRF-OCS向 TPF返回计费规则及信用响应, 该 计费规则及信用响应中携带有 UE归属的 CRF-OCS的地址信息。 TPF收到计 费规则及信用响应后, 根据收到的 CRF-OCS地址信息向该 CRP-OCS发送计 费规则及信用授权请求, 该计费规则及信用授权请求中携带有供 CRF-OCS确 定计费规则和用户信用的输入信息。  Steps 804A to 805A: The CRF-OCS returns a charging rule and a credit response to the TPF. The charging rule and the credit response carry the address information of the CRF-OCS to which the UE belongs. After receiving the charging rule and the credit response, the TPF sends a charging rule and a credit authorization request to the CRP-OCS according to the received CRF-OCS address information, where the charging rule and the credit authorization request are carried by the CRF-OCS. Input rules for billing rules and user credits.
步骤 806A〜步骤 807A: CRJF-OCS收到计费规则及信用授权请求后, 根据 该计费规则及信用授权请求中携带的输入信息, 还可根据 AF提供的相关输入 信息, 选择适当的计费规则, 另外, CRF-OCS可进一步判断当前计费方式是 否应为在线计费, 如判断 UE用户是否为预付费用户, 或是判断 UE用户是否 使用预付费业务。 如果 CRP-OCS 判断出当前计费方式应为在线计费, 则 CRF-OCS根据选定的计费规则计算用户信用, 并向 TPF返回计费规则及信用 响应,该计费规则及信用响应中携带有计费规则操作指示、选定的计费规则和 计算的用户信用, 如果 CRF-OCS未计算出用户的信用, 则该计费规则及信用 响应中可携带有差错原因值。计费规则及信用响应中可进一步携带有计费触发 事件, 并可进一步指明 TPF 计费触发事件中所包括的重授权事件。 如果 CRF-OCS判断出当前计费方式不应为在线计费, 则 CRF-OCS向 TPF提供的 计费规则及信用响应中不携带有计算的用户信用和重授权事件信息。  Step 806A to step 807A: After receiving the charging rule and the credit authorization request, the CRJF-OCS may select an appropriate charging according to the input information carried in the charging rule and the credit authorization request according to the relevant input information provided by the AF. In addition, the CRF-OCS can further determine whether the current charging mode should be online charging, such as determining whether the UE user is a prepaid user, or determining whether the UE user uses the prepaid service. If the CRP-OCS determines that the current charging mode should be online charging, the CRF-OCS calculates the user credit according to the selected charging rule, and returns the charging rule and the credit response to the TPF, in the charging rule and the credit response. The charging rule operation indication, the selected charging rule, and the calculated user credit are carried. If the CRF-OCS does not calculate the credit of the user, the charging rule and the credit response may carry an error reason value. The charging rule and the credit response may further carry a charging trigger event, and may further indicate a re-authorization event included in the TPF charging trigger event. If the CRF-OCS determines that the current charging mode should not be online charging, the charging rules and credit responses provided by the CRF-OCS to the TPF do not carry the calculated user credit and re-authorization event information.
步骤 808A: TPF收到计费规则及信用响应后, 根据计费规则操作指示对 CRF选定的计费规则进行相应操作, 即建立计费规则; 并对计费规则及信用 授权请求中携带的计费触发事件进行存储。  Step 808A: After receiving the charging rule and the credit response, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, establishes a charging rule; and carries the charging rule and the credit authorization request. The billing trigger event is stored.
步骤 809A: TPF向 UE返回承载建立响应, 如果为在线计费, 并且计费 规则及信用授权请求中携带有用户的信用,则 TPF接受 UE发起的承载建立请 求, 并继续后续的承载建立流程; 如果计费规则及信用授权请求中没有携带有 用户的信用, 则 TPF拒绝 UE发起的承载建立请求。 如果为离线计费, 则 TPF 直接接受 UE发起的承载建立请求, 并继续后续的承载建立流程。 Step 809A: The TPF returns a bearer setup response to the UE. If the billing is online, and the charging rule and the credit authorization request carry the credit of the user, the TPF accepts the bearer setup initiated by the UE. The request and the subsequent bearer establishment process are continued; if the charging rule and the credit authorization request do not carry the user's credit, the TPF rejects the bearer establishment request initiated by the UE. If the system is offline, the TPF directly accepts the bearer setup request initiated by the UE, and continues the subsequent bearer setup process.
在步骤 804A~805A中,当 CRF-OCS判断出 UE用户不属于其归属签约的 网络用户, 即: CRF-OCS为 UE的拜访 CRF-OCS 时, CRF-OCS根据 UE标 识获取 UE归属 CRF-OCS的地址信息, 然后向 UE用户归属签约的 CRF-OCS 转发计费规则请求。 UE用户归属签约的 CRF-OCS经由拜访 CRF-OCS向 TPF 返回计费规则和 /或用户信用。  In steps 804A-805A, when the CRF-OCS determines that the UE user does not belong to the network subscriber to which the home subscriber is subscribed, that is, the CRF-OCS is the visited CRF-OCS of the UE, the CRF-OCS acquires the UE-originated CRF-OCS according to the UE identifier. The address information is then forwarded to the UE user-signed CRF-OCS forwarding charging rule request. The CRF-OCS to which the UE user is subscribed returns a charging rule and/or user credit to the TPF via the visited CRF-OCS.
由于在承载建立过程, TPF能够直接与 UE用户归属签约的 CRF-OCS进 行交互; 或是通过拜访 CRF-OCS间接与 UE用户归属签约的 CRF-OCS进行 交互, 因此, 在后续进行计费规则及信用授权请求的流程中均简化为与 UE归 属的 CRP-OCS进行交互。  In the bearer setup process, the TPF can directly interact with the CRF-OCS that the UE user subscribes to; or interact with the CRF-OCS that is indirectly signed by the UE user by visiting the CRF-OCS. Therefore, the charging rule is subsequently performed. The process of the credit authorization request is simplified to interact with the CRP-OCS to which the UE belongs.
图 8B 示出了本发明中承载修改时请求计费规则和用户信用的处理流程 图, 如图 8B所示, 承载修改时请求计费规则和用户信用的处理过程包括以下 步骤:  FIG. 8B is a flow chart showing the process of requesting charging rules and user credits when carrying changes in the present invention. As shown in FIG. 8B, the process of requesting charging rules and user credits during bearer modification includes the following steps:
步骤 801B与步骤 301B相同。  Step 801B is the same as step 301B.
步骤 802B: 承载修改可能会触发计费触发事件, 因此, TPF收到承载修 改情求后, 将承载修改事件与存储的计费触发事件进行匹配, 如果能够匹配, 则执行步骤 803B; 否则, 结束当前流程。  Step 802B: The bearer modification may trigger a charging trigger event. Therefore, after receiving the bearer modification request, the TPF matches the bearer modification event with the stored charging trigger event. If yes, step 803B is performed; otherwise, the process ends. Current process.
步驟 803B: TPF向 CRF-OCS发送计费规则及信用授权请求,该计费规则 及信用授权请求中携带有供 CRF-OCS确定计费规则和用户信用的输入信息, 该计费规则及信用授权请求中可进一步携带有当前发生的计费触发事件,并可 进一步向 TPF指明计费触发事件中包括的重授权事件。  Step 803B: The TPF sends a charging rule and a credit authorization request to the CRF-OCS, where the charging rule and the credit authorization request carry input information for determining the charging rule and the user credit by the CRF-OCS, the charging rule and the credit authorization. The request may further carry the currently occurring charging trigger event, and may further indicate to the TPF the re-authorization event included in the charging trigger event.
步骤 804B〜步骤 806B与步骤 806A〜步骤 808A相同。  Steps 804B to 806B are the same as steps 806A to 808A.
步骤 807B: TPF向 UE返回承载修改响应, 对于在线计费, 如果计费规 则及信用授权请求中携带有用户的信用,则 TPF接受 UE发起的承载修改请求, 并继续后续的承载修改流程,如果计费规则及信用授权请求中携带有差错原因 值, 则 TPF拒绝 UE发起的承载修改请求; 对于离线计费, TPF接受 UE发起 的承载修改请求, 并继续后续的承载修改流程。 Step 807B: The TPF returns a bearer modification response to the UE. For online charging, if the charging rule and the credit authorization request carry the credit of the user, the TPF accepts the bearer modification request initiated by the UE. And the subsequent bearer modification process is continued. If the charging rule and the credit authorization request carry the error reason value, the TPF rejects the bearer modification request initiated by the UE. For offline charging, the TPF accepts the bearer modification request initiated by the UE, and continues to follow. The bearer modification process.
如果 CRF-OCS向 TPF指明了计费触发事件中包括的重授权事件,则 TPF 监测到计费触发事件发生后,判断发生的计费触发事件是否为重授权事件, 如 果是,则 TPF向 CRF-OCS发送的计费规则及信用授权请求中携带有 CRF-OCS 确定用户信用的输入信息, 如用户的剩余信用, 否则, TPF向 CRF-OCS发送 的计费规则及信用授权请求中不携带 CRF-OCS 确定用户信用的输入信息; CRF-OCS根据计费规则及信用授权请求中是否携带有确定用户信用的输入信 息, 确定是否计算用户信用。  If the CRF-OCS indicates to the TPF the re-authorization event included in the charging trigger event, the TPF detects whether the charging triggering event is a re-authorization event after the charging triggering event occurs. If yes, the TPF sends the CRF to the CRF. The charging rule and the credit authorization request sent by the OCS carry the CRF-OCS input information for determining the user credit, such as the remaining credit of the user. Otherwise, the charging rule sent by the TPF to the CRF-OCS and the credit authorization request do not carry the CRF. -OCS determines the input information of the user credit; CRF-OCS determines whether to calculate the user credit according to whether the charging rule and the credit authorization request carry the input information for determining the user credit.
如果 CRF-OCS未向 TPF指明计费触发事件中包括的重授权事件,并且由 CRF-OCS收到 TPF上报的当前发生的计费触发事件后, 由 CRF-OCS判断当 前发生的计费触发事件是否为重授权事件时, 此时 TPF监测到计费触发事件 发生后, 向 CRF-OCS发送的计费规则及信用授权请求中携带有 CRF-OCS确 定用户信用的输入信息, 如用户的剩余信用。 由 CRF-OCS根据计费触发事件 的判断结果确定是否计算用户信用,如果当前发生的计费触发事件为重授权事 件, 则 CRF-OCS计算用户信用并提供给 TPF; 如果当前发生的计费触发事件 不是重授权事件, 则 CRF-OCS不重新计算用户信用, 向 TPF返回的计费规则 及信用响应中直接携带原来的信用。  If the CRF-OCS does not indicate to the TPF the re-authorization event included in the charging triggering event, and the CRF-OCS receives the currently occurring charging triggering event reported by the TPF, the CRF-OCS determines the currently occurring charging triggering event. When it is a re-authorization event, after the TPF detects the charging trigger event, the charging rule and the credit authorization request sent to the CRF-OCS carry the CRF-OCS input information for determining the user credit, such as the remaining credit of the user. . The CRF-OCS determines whether to calculate the user credit according to the judgment result of the charging trigger event. If the currently generated charging trigger event is a re-authorization event, the CRF-OCS calculates the user credit and provides it to the TPF; The event is not a re-authorization event, then the CRF-OCS does not recalculate the user credit, and the original credit is directly carried in the charging rule and credit response returned to the TPF.
图 8C 示出了本发明中承载删除时请求计费规则和用户信用的处理流程 图, 如图 8C所示, 承载删除时请求计费规则和用户信用的处理过程包括以下 步驟:  FIG. 8C is a flowchart showing the process of requesting the charging rule and the user credit when the bearer is deleted in the present invention. As shown in FIG. 8C, the process of requesting the charging rule and the user credit when the bearer is deleted includes the following steps:
步驟 801C与步骤 301C相同。  Step 801C is the same as step 301C.
步骤 802O步骤 804C: TPF收到承载删除请求后, 向 CRP-OCS发送计费 规则及信用授权请求, 该计费规则及信用授权请求中携带有供 CRF-OCS确定 计费规则和用户的剩余信用。 CRF-OCS收到计费规则及信用授权请求后, 根 据该计费规则及信用授权请求中携带的输入信息, 还可根据 AF提供的相关输 入信息, 选择适当的计费规则, 并对用户的剩余信用进行处理, 然后向 TPF 返回计费规则及信用响应, 该计费规则及信用响应中携带有选定的计费规则。 Step 802O: Step 804C: After receiving the bearer deletion request, the TPF sends a charging rule and a credit authorization request to the CRP-OCS, where the charging rule and the credit authorization request carry the CRF-OCS to determine the charging rule and the remaining credit of the user. . After CRF-OCS receives the charging rules and credit authorization request, the root According to the charging rule and the input information carried in the credit authorization request, an appropriate charging rule may be selected according to the relevant input information provided by the AF, and the remaining credit of the user is processed, and then the charging rule and credit are returned to the TPF. In response, the charging rule and the credit response carry the selected charging rule.
步骤 805C〜步骤 806C: TPF收到计费规则及信用响应后, 根据计费规则 操作指示对 CRF选定的计费规则进行相应操作, 即删除计费规则, 然后向 UE 返回承载删除响应, 接受 UE发起的承载删除请求, 并继续后续的承载删除流 程。  Step 805C to step 806C: After receiving the charging rule and the credit response, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction, that is, deletes the charging rule, and then returns a bearer deletion response to the UE, accepting The UE initiates a bearer deletion request and continues the subsequent bearer deletion process.
另外, CRF-OCS也可主动向 TPF发送计费规则, 如当 UE与 AF进行业 务数据传输的过程中, CRF-OCS收到 AF的计费规则输入信息后,根据 AF提 供的计费规则输入信息选择适当的计费规则, 然后主动向 TPF 下发选定的计 费规则。 对于 AF向 CRF-OCS提供计费规则输入信息的具体实现过程如图 9 所示:  In addition, the CRF-OCS can also actively send charging rules to the TPF. For example, when the UE and the AF perform service data transmission, the CRF-OCS receives the charging rule input information of the AF, and then inputs according to the charging rule provided by the AF. The information selects the appropriate charging rule, and then proactively delivers the selected charging rule to the TPF. The specific implementation process of providing charging rule input information to the CRF-OCS from the AF is shown in Figure 9:
步骤 901〜步骤 902: AF 向 CRP-OCS 发送应用 /业务计费相关信息。 CRF-OCS收到应用 /业务计费相关信息后, 向 AF返回响应, 通知 AF已收到 其发送的计费规则输入信息。  Step 901 to Step 902: The AF sends application/service charging related information to the CRP-OCS. After receiving the application/service charging related information, the CRF-OCS returns a response to the AF, informing the AF that it has received the charging rule input information sent by the AF.
AF可根据 UE标识寻址到相应 CRF-OCS, 也可根据自身配置的数据寻址 到相应 CRF-OCS,还可根据获取的 CRF-OCS地址信息寻址到相应 CRF-OCS。  The AF may be addressed to the corresponding CRF-OCS according to the UE identifier, or may be addressed to the corresponding CRF-OCS according to the data configured by itself, and may also be addressed to the corresponding CRF-OCS according to the acquired CRF-OCS address information.
另外, AF向 CRF-OCS提供输入信息后, CRF-OCS会根据 AF的输入信 息判断是否需要触发重授权流程, 如果是, 如 CRP-OCS根据 AF提供的输入 信息选择适当的计费规则后, 发现计费规则中的计费键指示的费率发生了变 化, 需要应用新的费率对用户信用进行计算, 此时, 需要对用户进行重授权, 则 CRF-OCS向 TPF发送重授权指示,要求 TPF提供确定用户信用的输入信息, 如用户的剩余信用, 否则, 即不需要触发重授权流程, 直接向 TPF提供根据 来自 AF的输入信息选定的计费规则, 具体实现过程如图 10所示:  In addition, after the AF provides input information to the CRF-OCS, the CRF-OCS determines whether the re-authorization process needs to be triggered according to the input information of the AF. If yes, if the CRP-OCS selects an appropriate charging rule according to the input information provided by the AF, It is found that the rate indicated by the charging button in the charging rule changes, and the user credit needs to be calculated by applying a new rate. At this time, the user needs to be re-authorized, and the CRF-OCS sends a re-authorization instruction to the TPF. The TPF is required to provide input information for determining the credit of the user, such as the remaining credit of the user. Otherwise, the re-authorization process does not need to be triggered, and the charging rule selected according to the input information from the AF is directly provided to the TPF, and the specific implementation process is as shown in FIG. Show:
步骤 A1〜步骤 A2: AF向 CRF-OCS发送 AF输入信息( AF Input ), CRF-OCS 收到 AF输入信息后, 向 AF返回 AF输入信息响应 ( AF Input Ack ), 通知已 收到其发送的输入信息。 Steps A1 to A2: The AF sends AF input information (AF Input) to the CRF-OCS. After receiving the AF input information, the CRF-OCS returns an AF input information response (AF Input Ack) to the AF, and the notification has been received. Received the input information it sent.
步骤 A3: CRF-OCS根据收到的 AF输入信息, 判断是否需要进行重授权 流程, 如果是, 则执行步骤 A4a; 否则, 执行步骤 A4b。  Step A3: The CRF-OCS determines whether the re-authorization process is required according to the received AF input information. If yes, step A4a is performed; otherwise, step A4b is performed.
步驟 A4a: CRF-OCS可要求 TPF向其返回用户的信用使用情况, 以对用 户信用进行有效控制, 即 CRF-OCS向 TPF发送返回信用授权( Return Credit Request ),要求 TPF向其提供用于确定用户信用的输入信息, 如返回用户的信 用使用情况, 即剩余信用。  Step A4a: The CRF-OCS may request the TPF to return the credit usage of the user to the user to effectively control the credit of the user, that is, the CRF-OCS sends a Return Credit Request to the TPF, and requests the TPF to provide it for determination. The input information of the user credit, such as the credit usage of the returned user, that is, the remaining credit.
步骤 A5a: TPF收到返回信用授权后, 向 CRF-OCS发送计费规则及信用 授权请求, 该计费规则及信用授权请求中携带有供 CRF-OCS确定计费规则和 用户信用的输入信息, 如用户的剩余信用。  Step A5a: After receiving the return credit authorization, the TPF sends a charging rule and a credit authorization request to the CRF-OCS, where the charging rule and the credit authorization request carry the input information for determining the charging rule and the user credit by the CRF-OCS. Such as the user's remaining credit.
步骤 A6a〜步骤 A8a与步骤 806A〜步骤 808A相同。  Steps A6a to A8a are the same as steps 806A to 808A.
步骤 A4b〜步骤 A6b: CRF根据 AF输入信息, 也可根据来自 TPF的输入 信息, 选择适当的计费规则, 然后向 TPF返回提供计费规则, 该提供计费规 则中可携带有选定的计费规则和计费规则操作指示。 TPF 收到提供计费规则 后, 根据计费规则操作指示对 CRF选定的计费规则进行相应操作。  Steps A4b to A6b: According to the AF input information, the CRF may also select an appropriate charging rule according to the input information from the TPF, and then provide a charging rule to the TPF, and the charging rule may carry the selected meter. Fee rules and billing rules operational instructions. After receiving the charging rule, the TPF performs corresponding operations on the charging rule selected by the CRF according to the charging rule operation instruction.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  In summary, the above description is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种基于分组数据流计费的系统, 其特征在于, 该系统包括: 计费规 则功能实体 CRF与在线计费系统 OCS合设构成逻辑功能实体 CRF-OCS, 所 述 CRP-OCS通过包括 Gx参考点和 Gy参考点功能的接口与传输面功能实体 TPF相连。  A system for charging based on a packet data stream, the system comprising: a charging rule function entity CRF and an online charging system OCS being combined to form a logical function entity CRF-OCS, wherein the CRP-OCS includes The interface of the Gx reference point and the Gy reference point function is connected to the transmission plane functional entity TPF.
2、根据权利要求 1所述的系统, 其特征在于, 所述 Gx参考点和 Gy参考 点的功能包括:  The system according to claim 1, wherein the functions of the Gx reference point and the Gy reference point comprise:
TPF向 CRF-OCS请求计费规则, CRF-OCS向 TPF提供计费规则; 或者, TPF向 CRF-OCS请求信用授权, CRF-OCS向 TPF提供信用; 或者, TPF向 CRF-OCS同时请求计费规则和信用授权, CRP-OCS同时向 TPF 提供计费规则和信用。  The TPF requests charging rules from the CRF-OCS, and the CRF-OCS provides charging rules to the TPF. Alternatively, the TPF requests credit authorization from the CRF-OCS, and the CRF-OCS provides credit to the TPF; or, the TPF requests charging from the CRF-OCS simultaneously. For rules and credit authorization, CRP-OCS provides billing rules and credits to the TPF at the same time.
3、根据权利要求 1所述的系统, 其特征在于, 所述 Gx参考点和 Gy参考 点的功能包括:  The system according to claim 1, wherein the functions of the Gx reference point and the Gy reference point comprise:
CRF-OCS向 TPF提供计费规则触发事件, 当 TPF监控到计费规则触发事 件发生时, 向 CRF-OCS请求计费规则; 或者,  The CRF-OCS provides a charging rule triggering event to the TPF. When the TPF monitors the charging rule triggering event, it requests the charging rule from the CRF-OCS; or
CRF-OCS向 TPF提供重授权事件, 当 TPF监控到重授权事件发生时, 向 CRF-OCS请求信用授权; 或者,  The CRF-OCS provides a re-authorization event to the TPF, and requests a credit authorization from the CRF-OCS when the TPF monitors the re-authorization event; or
CRF-OCS同时向 TPF提供计费规则触发事件和重授权事件, 当 TPF监控 到计费规则触发事件发生时, 向 CRF-OCS请求计费规则, 当 TPF监控到重授 权事件发生时, 向 CRF-OCS请求信用授权。  The CRF-OCS provides the charging rule triggering event and the re-authorization event to the TPF. When the TPF monitors the charging rule triggering event, it requests the charging rule from the CRF-OCS. When the TPF monitors the re-authorization event, it sends the CRF to the CRF. -OCS requests a credit authorization.
4、 根据权利要求 1所述的系统, 其特征在于, 所述 CRP-OCS进一步通 过包括 Rx参考点功能的接口与应用功能实体 AF相连。  The system according to claim 1, wherein the CRP-OCS is further connected to the application function entity AF through an interface including an Rx reference point function.
5、一种基于分组数据流计费的处理方法, 其特征在于, 该方法包含: TPF 向包括计费规则功能实体 CRF与在线计费系统 OCS的 CRF-OCS请求计费规 则和 /或信用授权, CRF-OCS收到计费规则和 /或信用授权请求后, 向 TPF返 回计费规则和 /或用户信用。 A processing method based on packet data flow charging, characterized in that the method comprises: requesting, by the TPF, a charging rule and/or a credit authorization to a CRF-OCS including a charging rule function entity CRF and an online charging system OCS After receiving the charging rule and/or the credit authorization request, the CRF-OCS returns the charging rule and/or the user credit to the TPF.
6、 根据权利要求 5所述的方法, 其特征在于, 所述计费规则和 /或信用授 权请求中携带有用于选择计费规则的输入信息, 或计费触发事件,或用户已经 使用的信用, 或用户的剩余信用, 或以上任意的组合。 The method according to claim 5, wherein the charging rule and/or the credit authorization request carries input information for selecting a charging rule, or a charging trigger event, or a credit already used by the user. , or the user's remaining credit, or any combination of the above.
7、 根据权利要求 5所述的方法, 其特征在于, 所述 CRF-OCS向 TPF返 回计费规则和 /或用户信用进一步包括: 提供计费规则触发事件和 /或重授权事 件。  The method according to claim 5, wherein the returning the charging rule and/or the user credit to the TPF by the CRF-OCS further comprises: providing a charging rule triggering event and/or a reauthorization event.
8、 一种基于分組数据流计费的处理方法, 其特征在于, 该方法包含: 承 载建立时, TPF 向包括计费规则功能实体 CRF 与在线计费系统 OCS 的 CRF-OCS发送计费规则及信用授权请求, 对于需要进行在线计费的业务数据 流, CRF-OCS同时向 TPF提供相应的计费规则和用户信用。  A processing method based on packet data flow charging, the method comprising: when a bearer is established, the TPF sends a charging rule to a CRF-OCS including a charging rule function entity CRF and an online charging system OCS. The credit authorization request, for the service data flow that needs to be charged online, the CRF-OCS provides the corresponding charging rule and user credit to the TPF at the same time.
9、 一种基于分组数据流计费的处理方法, 其特征在于, 承载建立时, TPF 向包括计费规则功能实体 CRF与在线计费系统 OCS的 CRP-OCS请求计费规 则, CRF-OCS判断 UE用户是否为其归属签约的网络用户, 如果是, 则直接 向 TPF返回计费规则和 /或用户信用; 否则, 向 TPF提供 UE用户归属签约的 CRF-OCS的地址信息, TPF根据收到的 CRF-OCS地址信息, 向该 CRF-OCS 发送计费规则及信用授权请求, UE归属的 CRF-OCS收到计费规则及信用授 权请求后, 向 TPF返回计费规则和 /或用户信用。  A processing method based on packet data flow charging, characterized in that, when a bearer is established, the TPF requests a charging rule from a CRP-OCS including a charging rule function entity CRF and an online charging system OCS, and CRF-OCS determines Whether the UE user is the network user to which the subscriber is subscribed, and if so, directly returns the charging rule and/or the user credit to the TPF; otherwise, the TPF is provided with the address information of the CRF-OCS of the UE user's home subscription, and the TPF receives the The CRF-OCS address information sends a charging rule and a credit authorization request to the CRF-OCS. After receiving the charging rule and the credit authorization request, the CRF-OCS to which the UE belongs returns the charging rule and/or the user credit to the TPF.
10、一种基于分组数据流计费的处理方法,其特征在于,承载建立时, TPF 向包括计费规则功能实体 CRF与在线计费系统 OCS的 CRF-OCS请求计费规 则, CRF-OCS判断 UE用户是否为其归属签约的网络用户, 如果是, 则直接 向 TPF返回计费规则和 /或用户信用; 否则, CRF-OCS向 UE用户归属签约的 CRF-OCS 转发计费规则请求, UE 用户归属签约的 CRF-OCS 经由拜访 CRF-OCS向 TPF返回计费规则和 /或用户信用。  A processing method based on packet data flow charging, characterized in that, when a bearer is established, the TPF requests a charging rule from a CRF-OCS including a charging rule function entity CRF and an online charging system OCS, and CRF-OCS determines Whether the UE user is the network user to which the subscriber is subscribed, and if so, directly returns the charging rule and/or the user credit to the TPF; otherwise, the CRF-OCS forwards the charging rule request to the UE user-signed CRF-OCS, the UE user The home-signed CRF-OCS returns charging rules and/or user credits to the TPF via a visit to the CRF-OCS.
11、 一种基于分组数据流计费的处理方法, 其特征在于, 该方法包含: 包 括计费规则功能实体 CRF与在线计费系统 0CS的 CRF-OCS向 TPF提供计费 触发事件, TPF监测到计费触发事件发生时, 向 CRF-OCS上报。 A processing method based on packet data flow charging, the method comprising: the charging trigger function entity CRF and the CRF-OCS of the online charging system 0CS provide a charging trigger event to the TPF, and the TPF monitors When the accounting trigger event occurs, it is reported to the CRF-OCS.
12、 根据权利要求 11所述的方法, 其特征在于, 所述计费触发事件为: 计费规则触发事件, 或为重授权事件, 或为以上二者的组合。 The method according to claim 11, wherein the charging triggering event is: a charging rule triggering event, or a re-authorization event, or a combination of the two.
13、 根据权利要求 11或 12所述的方法, 其特征在于, 所述向 CRF-OCS 上报为: 向 CRF-OCS发送携带有所发生的计费触发事件的计费规则及信用授 权请求。  The method according to claim 11 or 12, wherein the reporting to the CRF-OCS is: transmitting, to the CRF-OCS, a charging rule and a credit authorization request carrying a charging trigger event that occurs.
14、 根据权利要求 13所述的方法, 其特征在于, 所述所发生的计费触发 事件包括所发生的计费规则触发事件和 /或所发生的重授权事件, 向 CRF-OCS 发送携带有计费触发事件的计费规则及信用授权请求之前, 进一步包括: TPF 判断发生的计费触发事件是否为重授权事件, 如果是, 则向 CRJF-OCS发送携 带有所发生的重授权事件的计费规则及信用授权请求 ,该计费规则及信用授权 请求中进一步携带有用户信用使用情况信息。  14. The method according to claim 13, wherein the charging triggering event that occurs includes a charging rule triggering event that occurs and/or a re-authorization event that occurs, and is sent to the CRF-OCS. Before the charging rule and the credit authorization request of the charging triggering event, the method further includes: determining, by the TPF, whether the charging triggering event is a re-authorization event, and if yes, sending the re-authorization event to the CRJF-OCS The fee rule and the credit authorization request, the charging rule and the credit authorization request further carry the user credit usage information.
15、 根据权利要求 13所述的方法, 其特征在于, 所述所发生的计费触发 事件包括所发生的计费规则触发事件和 /或所发生的重授权事件,  15. The method according to claim 13, wherein the charging triggering event that occurs includes a charging rule triggering event that occurs and/or a reauthorization event that occurs.
所述计费规则及信用授权请求中进一步携带有用户信用使用情况信息, 所述向 CRF-OCS发送携带有计费触发事件的计费规则及信用授权请求之 后, 进一步包括: CRF-OCS收到计费规则及信用授权请求后, 判断 TPF上报 的计费触发事件是否为重授权事件, 如果是, 则 CRF-OCS根据触发的重授权 事件选定计费规则并重新计算用户信用, 然后将计费规则和用户信用提供给 TPF; 否则, CRF-OCS选定计费规则并提供给 TPF。  The charging rule and the credit authorization request further carry user credit usage information, and after the sending, by the CRF-OCS, the charging rule and the credit authorization request carrying the charging trigger event, the method further includes: CRF-OCS receiving After the charging rule and the credit authorization request, it is determined whether the charging trigger event reported by the TPF is a re-authorization event. If yes, the CRF-OCS selects the charging rule according to the triggered re-authorization event and recalculates the user credit, and then calculates The fee rules and user credits are provided to the TPF; otherwise, the CRF-OCS selects the charging rules and provides them to the TPF.
16、 一种基于分组数据流计费的处理方法, 其特征在于, 该方法包含: AF向 CRF-OCS提供用于选择计费规则的输入信息。  16. A processing method based on packet data flow charging, characterized in that the method comprises: the AF providing input information for selecting a charging rule to the CRF-OCS.
17、 根据权利要求 16 所述的方法, 其特征在于, 该方法进一步包括: CRF-OCS向 AF返回表明收到所述输入信息的响应。  17. The method of claim 16, wherein the method further comprises: the CRF-OCS returning to the AF a response indicating receipt of the input information.
18、 一种基于分组数据流计费的处理方法, 其特征在于, 该方法包含: CRF-OCS要求 TPF返回用户信用的使用情况, TPF向 CRF-OCS返回用户信 用使用情况信息。  18. A processing method based on packet data flow charging, characterized in that: the method comprises: CRF-OCS requires the TPF to return the usage of the user credit, and the TPF returns the user credit usage information to the CRF-OCS.
PCT/CN2005/002139 2004-12-09 2005-12-09 A system and processing method for charging based on the packet data flow WO2006060964A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2004100985442A CN100341278C (en) 2004-12-09 2004-12-09 System based on packet datastream charging and processing method thereof
CN200410098544.2 2004-12-09

Publications (1)

Publication Number Publication Date
WO2006060964A1 true WO2006060964A1 (en) 2006-06-15

Family

ID=36577669

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/002139 WO2006060964A1 (en) 2004-12-09 2005-12-09 A system and processing method for charging based on the packet data flow

Country Status (2)

Country Link
CN (1) CN100341278C (en)
WO (1) WO2006060964A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296169B (en) * 2007-04-26 2010-12-08 华为技术有限公司 Method, system and equipment for establishing user conversation bearer service
CN102056117B (en) * 2009-11-03 2015-08-12 中兴通讯股份有限公司 Based on strategy and the charging method of charging control architecture and system
WO2012106881A1 (en) * 2011-07-12 2012-08-16 华为技术有限公司 Charging method, network access device and core network device
CN102647696A (en) * 2011-12-09 2012-08-22 中兴通讯股份有限公司 Charging method and system of multimedia business

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002093835A1 (en) * 2001-05-14 2002-11-21 Ntt Docomo, Inc. Obile communication service charging apparatus and mobile communication service charging method
JP2003134111A (en) * 2001-10-26 2003-05-09 Nec Corp System, method and program for rule-based rating

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8699472B2 (en) * 2000-05-24 2014-04-15 Nokia Corporation Common charging identifier for communication networks
JP2002135311A (en) * 2000-10-23 2002-05-10 Nec Corp Charging system and method for packet communication
US20030152039A1 (en) * 2002-02-08 2003-08-14 Timothy Roberts Customer billing in a communications network
CN1450749A (en) * 2002-04-10 2003-10-22 华为技术有限公司 Fee counting method for group business
CN100409613C (en) * 2002-08-08 2008-08-06 中兴通讯股份有限公司 Authority discrimination charging method based on combined radio local area web and CDMA system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002093835A1 (en) * 2001-05-14 2002-11-21 Ntt Docomo, Inc. Obile communication service charging apparatus and mobile communication service charging method
JP2003134111A (en) * 2001-10-26 2003-05-09 Nec Corp System, method and program for rule-based rating

Also Published As

Publication number Publication date
CN1787442A (en) 2006-06-14
CN100341278C (en) 2007-10-03

Similar Documents

Publication Publication Date Title
EP1732264B1 (en) A method for controlling the charching of the packet data service
WO2005109758A1 (en) A processing method for perfect charging on line based on the service data stream
US20070185809A1 (en) Method and system for processing online charging
US7889650B2 (en) Method for establishing diameter session for packet flow based charging
JP4402714B2 (en) How to handle event triggers and re-authentication triggers in flow-based billing
EP1804419B1 (en) A method for processing the re-authorisation based on the charging of the packet data flow
JP4891223B2 (en) Method of strengthening charging rules for packet data service and method of functioning thereof
WO2007143940A1 (en) A policy and charging control method, system and equipment when the user is roaming
WO2005109748A1 (en) A method for selecting the charging rule for users
WO2006050669A1 (en) A process method for charging based on the packet data flow
WO2005101734A1 (en) A method for achieving packet data service charging and service data flow access control
WO2006060964A1 (en) A system and processing method for charging based on the packet data flow
WO2006015543A1 (en) A processing method for re-authorization and re-authorization event and event triggers
WO2006050670A1 (en) A method for processing a charging key
WO2012041148A1 (en) Method and system for monitoring volume usage
WO2006015550A1 (en) A method for distributing the dialog number of the charging based on the packet data flow

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KN KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 05818797

Country of ref document: EP

Kind code of ref document: A1