[go: up one dir, main page]

WO2006050669A1 - A process method for charging based on the packet data flow - Google Patents

A process method for charging based on the packet data flow Download PDF

Info

Publication number
WO2006050669A1
WO2006050669A1 PCT/CN2005/001897 CN2005001897W WO2006050669A1 WO 2006050669 A1 WO2006050669 A1 WO 2006050669A1 CN 2005001897 W CN2005001897 W CN 2005001897W WO 2006050669 A1 WO2006050669 A1 WO 2006050669A1
Authority
WO
WIPO (PCT)
Prior art keywords
crf
service
credit
user
ocs
Prior art date
Application number
PCT/CN2005/001897
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 WO2006050669A1 publication Critical patent/WO2006050669A1/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
    • 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
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1457Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network using an account
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/73Validating charges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/735Re-crediting user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/20Technology dependant metering
    • H04M2215/2026Wireless network, e.g. GSM, PCS, TACS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/22Bandwidth or usage-sensitve billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/32Involving wireless systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/70Administration aspects, modify settings or limits or counter-check correct charges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/70Administration aspects, modify settings or limits or counter-check correct charges
    • H04M2215/7072Validate charges

Definitions

  • the present invention relates to the field of packet data charging, and more particularly to a processing method and system based on packet data flow charging. Background of the invention
  • FIG. 1 shows a packet data protocol context (PDP Context, Packet Data Protocol Context) activation, data transmission, deactivation flowchart, as shown in FIG. 1, in a general packet radio service (GPRS, General Packet Radio Service), activated
  • PDP Context the data interaction with the external packet data network (PDN, Packet Data Network)
  • 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 network access layer service access point.
  • SGSN Serving GPRS Support Node
  • PDP Type Access Point Name
  • API Access Point Name
  • QoS Quality of Service
  • TI Transaction Identifier
  • 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).
  • APN can be provided by the MS to the SGSN, and the SGSN is addressed to the corresponding GGSN according to the APN, and the GGSN The MS may not provide the APN to the SGSN according to the APN.
  • the SGSN may select the default APN according to the subscription information of the MS user.
  • the QoS parameter is the quality requirement of the packet data service specified by the MS.
  • 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 optional.
  • 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) and an NSAPI.
  • the SGSN sends a PDP Context Request to the GGSN.
  • the PDP Context Request contains the PDP type, PDP address, APN. QoS parameter, TEID, and selection mode.
  • the PDP address can be MS.
  • the IP address which is an optional parameter, may not carry a PDP address in the PDP Context creation request.
  • the GGSN may assign a DP address to the MS in the subsequent processing, or may allocate an IP to the MS by the PDN that finally establishes a connection with the MS. Address;
  • the selection mode refers to the APN selection mode, 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 the external PDN, 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 is sent to the SGSN.
  • the PDP Context Create Response (Representation PDP Context Response), which carries the TEID, the PDP address, the Backbone Bearer protocol, the agreed QoS parameters, and the Charging ID. If the GGSN cannot meet the quality of service requirements of the QoS parameters, the GGSN rejects the PDP Context creation request initiated by the SGSN. The SGSN then rejects the PDP Context activation request initiated by the MS.
  • 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 information such as PDP type, PDP address, TI, agreed QoS parameters, wireless priority, PDP configuration options, and the like. And, the SGSN starts charging.
  • the MS Upon 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 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 SGS sends a PDP Context Request to the GGSN, where the PDP Context delete request carries ⁇ ).
  • the GGSN 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 (DDP) to the SGSN.
  • the PDP Context delete response carries the TEID.
  • the SGSN 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 TL. After the MS receives the PDP Context deactivation response, it deletes the PDP Context corresponding to ⁇ .
  • the charging termination point is set in the PDP Context.
  • the charging termination point can only be charged according to the data traffic transmitted by the PDP Context, or according to the length of time the PDP Context is activated.
  • the MS can perform multiple services based on an activated PDP Context, that is, if the PDN can provide multiple services, such as an email (email) transceiver service, Based on the WAP (Wireless Application Protocol) browsing service and the file transfer protocol (FTP) file transfer service, the MS can pass an activated PDP after establishing a transmission channel with the PDN.
  • the Context carries 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 the email receiving and dispatching service, the charging and receiving events can be triggered based on the email, and the WAP browsing service can be used for the flow metering.
  • Fees, for the file transfer service can also be based on the flow rate, the WAP browsing service rate and the file transfer service rate are not the same, thus, according to the existing GPRS billing system, can not be the same PDP Context
  • the different services carried are differentiated and charged.
  • IP Flow IP Data streams
  • the IP data stream-based charging can be considered as filtering out the IP data streams of different services carried in the same PDP Context through some filter-like filters, and then separately filtering the data streams filtered by different filters.
  • the granularity of the IP data-based charging is much smaller than the charging granularity based on a PDP Context.
  • the granularity can be regarded as the size of the screening hole.
  • the charging granularity based on a PDP Context is a PDP Context.
  • the meshing granularity based on the IP data stream is a DP service data stream is a sieve hole, that is, a plurality of sieve holes are included for one PDP Context, and therefore, the charging and ratio based on the IP data stream is based on Compared to the charging of a PDP Context, the charging based on the EP data stream can provide a more abundant charging means for the operator or the service provider.
  • 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 customized application based on 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 constitute an online charging system (OCS, Online Charging System ) 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 CRJF 203 communicates with the TPF 205 through the Gx interface
  • the TPF 205 communicates with the charging gateway function entity through the Gz interface (CGF, Charging).
  • the Gateway Function 207 is interworking with the Charging Data Function (CDF).
  • the TPF 205 carries the DP data stream.
  • the TPF 205 sends a charging rule request to the CP 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 (SI), etc., and the network related information may be a mobile network coding (MNC), a mobile country. Code (MCC), etc.
  • MSISDN mobile station international number
  • SI international mobile subscriber identity
  • MNC mobile network coding
  • MCC mobile country. Code
  • the charging rules may be different, such as the corresponding rate of the QoS parameter falling. Also fell.
  • the TPF 205 may re-send the charging rule request to the CRP 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 button is a parameter related to the rate, and the CRF 203 may not be directly
  • the rate is 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 BP data streams the TPF 205 filters, and then the TPF 205 filters the filtered IPs according to the charging rules.
  • the data stream is billed.
  • the service data filter may include an IP5 tuple, and the EP5 tuple may include source/destination IP address, source/destination port number (Port Number), protocol identifier (Protocol ID), and the like.
  • CRF 203 indicates TPF 205 to source address. Filters the IP data stream of 10.0.0.1, the destination address is 10.0.0.2, the source/destination port number is 20 f , the protocol type is Transmission Control Protocol (TCP), and the filtered BP data stream is filtered according to the charging rule. Billing.
  • TCP Transmission Control Protocol
  • the CRP 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 CRP 205 when a specific event occurs, such as the CRP 203 requesting the TPF 205 to perform an event modification on some bearers.
  • 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 that controls the TPF through the triggering event reporting mechanism, that is, the TPF reports the triggering event to the CRP, and the CRF learns the change of the bearer through the triggering event reported by the TF, and then determines the corresponding The charging rule is delivered to the TPF.
  • Trigger events defined in the 3GPP specifications may include: Common Land Mobile Communication Network (PLMN) changes (PLMN) Change event, QoS changes event, radio access technology (RAT) type change (RAT type change) event, transport stream template (TFT) change (TFT change) event.
  • PLMN Common Land Mobile Communication Network
  • RAT radio access technology
  • TFT transport stream template
  • 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 current use by the user.
  • the service type, CRP 203 selects the corresponding charging rule according to the service type.
  • 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 authenticates the credit in the user's credit pool, and delivers the user to the TPF 205 through the Gy interface. credit.
  • the OCS 206 may request the TPF 205 to re-assert the user when the re-authorisation triggers occur, and then the OCS 206 re-authenticates the user according to the corresponding re-authentication event reported by the TPF 205, and It is possible to 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-authentication event, and the OCS 206 according to the remaining user account. Information, recalculate the credits allowed to be used by the user.
  • 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, such as the PLMN changes, TPF 205 is required to report the occurrence of the PLMN change event to the OCS 206 according to the PLMN change event in the re-authentication event, and the OCS 206 re-determines the rate according to the current location of the user, and recalculates the user's credit.
  • the OCS 206 determines the rate according to the current QoS parameters of the service used by the user, when the user performs 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-authentication event.
  • the OCS 206 determines the rate according to the modified QoS parameter of the user, and recalculates the credit of the user.
  • the 3GRP specification also describes the use of the re-authentication event by the OCS to control the credit usage of the TPF. That is, the TPF reports the re-authentication event reported by the TCS to the OCS after the re-authentication event occurs.
  • the credit usage of the user and the change of the bearer are known, and the credit of the user is recalculated and sent to the TPF.
  • the re-authentication event defined in the 3GPP specifications may include: a credit authorization lifetime expiry event, a user idle state 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
  • CRP 203 is the control point of the charging rule.
  • the charging information collection point in the case of offline charging is TPF, and the TPF collects information for the service data stream, such as the data traffic transmitted by the service data stream, the length of time used by the service data stream, etc., and then generates Billing information, and the billing information is sent to the billing center via CGF/CDF 207;
  • the billing information collection point in the case of online billing is TPF and OCS, and the TPF collects information for the service data stream, and the meter
  • the fee information is sent to the billing center via the CGF/CDF, and the OCS collects the charge deduction information, and then generates the billing information, and sends the billing information to the billing center via the CGF/CDF.
  • the operator usually charges the user two kinds of communication fees and service charges, and the communication fee is used to measure the network resources occupied by the user, which is also called the traffic fee or the bearer fee.
  • the business expense is used to measure the business information of the user using the service. It is also called content fee or information fee.
  • the user passes the mobile terminal
  • "watching TV, business operators not only need to charge users to use the "watch TV” business process, the data traffic caused by the transmission of services or the length of time used to use the service, but also need to charge the user to watch the TV
  • the operator not only needs to charge the user for the fee generated by the data flow during the download of the game, but also needs to charge the user for the user to purchase the game.
  • business applications such as TV programs and games can be developed by a dedicated service provider (SP) and provide various business applications to users through cooperation with network operators.
  • SP can directly charge the user for the service fee
  • the SP needs to establish a channel for charging the user for the service fee, such as a billing system, but the method of using the SP to establish the billing system on its own will increase the cost of the SP and improve the cost.
  • the threshold of the SP is not conducive to the SP itself; on the other hand, the SP itself needs to solve the trust problem of the SP by the user to establish the charging system. Therefore, most network operators currently charge the service fee instead of the SP, and perform the same with the SP.
  • the charging mode of business cost sharing such as China Mobile's "Mobile Monternet” platform and China Unicom's "Unicom Unlimited” is a platform that integrates SPs and provides unified billing.
  • the network operator can focus on the operation of the network only.
  • the SP can focus on the development of the business application only.
  • the user only needs to face a unified charging system and one at the same time.
  • User bills for communication charges and business expenses.
  • the TPF cannot know the information about the success or failure of the service, for example, for the download service, if an abnormal interruption occurs during the download process. At this time, only the communication fee should be charged, and the business fee should not be charged; 'And TPF cannot know the user's subscription service. For example, the charging method used by a user when ordering a service is the monthly subscription. Billing, TPF cannot know that the user's business expenses should be deducted uniformly every month, but not every time the user uses the business. Therefore, based on the current FBC system structure, the charging of business expenses cannot be realized, and the requirements for business operations in the network cannot be met. Summary of the invention
  • an object of the present invention is to provide a processing method based on packet data flow charging, and another object of the present invention is to provide a system based on packet data flow charging, which satisfies service operation in a network. Claim.
  • the present invention provides a processing method based on packet data flow charging, the method comprising: a CRF sends a credit request to an OCS, and the OCS returns a credit response to the CRF
  • the credit response carries information on whether the credit line or the credit line is sufficient.
  • the method further includes: the CRF rolls back the credit line that needs to be replenished to the OCS, and the OCS replenishes the received credit line to the user's account.
  • the OCS receives the credit line that needs to be replenished, and then further includes: The OCS returns a response to the CRP for notifying the CRF that the credit line that needs to be replenished has been received.
  • the present invention also provides a processing method based on packet data flow charging, the method comprising: the AF notifying the CRF user to request to use the service, the CRF determining whether to allow the user to use the service according to the service subscription information, and if so, notifying the A to provide the user with the service The service; otherwise, the notification AF does not provide the service to the user.
  • the service subscription information is provided by the AF to the CRF when the user subscribes to the service.
  • the CRF After receiving the service subscription information provided by the AF, the CRF further includes: the CRF returns a response to the AF for notifying that the AF has received the service subscription information.
  • the notification AF provides the user with the service, and further includes: collecting the CRF start billing information.
  • the notification AF provides the user with the service, and then further includes the step al: AF notifying the CRJF user of the service usage.
  • the step a1 further includes: the CRF returns to the AP to notify the AF that it has received Response to business usage.
  • the step al further includes the step bl: CRP stops collecting the charging information.
  • the step bl further includes: the CRJF sending the charging information to the CDF/CGF.
  • the notification AF provides the user with the service, and further includes: the CRF sends a credit request to the OCS, and the OCS returns a credit response to the CRJF.
  • the step al further includes: the CRJF rolls back the credit amount to be replenished to the OCS, and the OCS replenishes the received credit line to the user's account.
  • the present invention further provides a system for charging based on packet data stream, the system comprising: a CRF connected to a TPF, configured to enable a CRF to provide a charging rule to the TPF, and the TPF is connected to the CDF/CGF,
  • the TPF provides charging information corresponding to the bearer to the CDF/CGF;
  • the AF is connected to the CR for transmitting service related information, and the CRF is connected to the CDF/CGF, and the CRF is provided with the corresponding service to the CDF/CGF.
  • Fee information is provided.
  • the CRF is connected to the CDF/CGF via an Rz interface.
  • the system further includes: an OCS, connected to the TPF, for providing credit information to the TPF according to the request of the TPF; and connected to the CRF for providing credit information to the CRF according to the request of the CRF.
  • OCS connected to the TPF, for providing credit information to the TPF according to the request of the TPF
  • CRF for providing credit information to the CRF according to the request of the CRF.
  • the charging information collection function is added in the CRF, and the interaction process between the CRJF and the OCS is increased, so that the OCS can provide credit information to the CRP according to the CRF credit request, such as a specific credit limit and credit limit. Whether the information is sufficient or not can also enable the CRF to return the credit line to be replenished to the OCS, and the OCS will replenish the corresponding credit limit to the user's account; and increase the interaction process between the CF and the AF, so that the CRF can know the user's order.
  • the situation of the business and the ability to know the success or failure of the business.
  • the signaling interface between the CF and the CDF/CGF is added, so that the CRP can report the charging information generated by the online charging or the offline charging to the charging center through the CDF/CGF.
  • FIG. 1 shows a PDP Context activation, data transmission, deactivation flowchart
  • FIG. 2A shows a schematic structural diagram of an FBC system supporting online charging
  • 2B is a schematic structural diagram of an FBC system supporting offline charging
  • FIG. 3A is a schematic diagram showing a process for implementing CRF requesting credit information from an OCS in the present invention
  • FIG. 3B is a schematic diagram showing a process for implementing CRF to OCS replenishment credit line in the present invention
  • FIG. 4A is a view showing a CRF obtaining user through AF in the present invention
  • FIG. 4B is a schematic diagram showing the process of realizing the use of the service by the CRF through the AF in the present invention
  • FIG. 5A is a schematic structural diagram of an FBC system supporting online charging in the present invention
  • FIG. 5B is a schematic structural diagram of an FBC system supporting offline charging in the present invention
  • FIG. 6 is a schematic diagram showing an implementation process of the first embodiment of the present invention. ;
  • FIG. 7 is a schematic diagram showing the implementation process of the second embodiment of the present invention. Mode for carrying out the invention
  • the charging information collection function is added in the CRF, and the interaction process between the CRF and the OCS is increased, so that the OCS can provide credit information to the CRF according to the CRF credit request, such as whether the specific credit limit and the credit limit are sufficient.
  • the information can also enable CRP to 'return the credit line to be replenished to the OCS, and OCS will replenish the corresponding credit limit to the user's account; and increase the interaction process between CRF and AF, so that CKF can know the user subscription.
  • the signaling interface between the CRF and the CDF/CGF enables the CRF to report the charging information generated by the online charging or offline charging to the charging center through the CDF/CGF, thereby implementing the structure based on the FBC system.
  • the collection of business expenses meets the requirements for business operations in the network. '
  • FIG. 3A is a schematic diagram of a process for implementing CRJF requesting credit information from an OCS in the present invention.
  • the process for requesting CRP to request credit information from an OCS includes the following steps: Step 301A to Step 302A: CR sends a credit request to the OCS ( Credit Request), the credit request carries user identification, business information, rate information, and the like for the OCS to determine the input information of the credit information.
  • OCS After receiving the credit request, OCS returns a credit response (Credit Response) to the OCS, and the credit response carries credit information, such as information such as the user credit limit calculated by the OCS and whether the credit limit is sufficient.
  • Credit Request Credit Request
  • the credit request carries user identification, business information, rate information, and the like for the OCS to determine the input information of the credit information.
  • OCS After receiving the credit request, OCS returns a credit response (Credit Response) to the OCS, and the credit response carries credit information, such as information such as the user
  • the CRF can return the credit amount to be replenished to the OCS, and the OCS will replenish the corresponding credit limit to the user's account.
  • FIG. 3B is a schematic diagram showing the process of implementing the CRF to the OCS credit line in the present invention.
  • the process of implementing the CRF to the OCS credit line includes the following steps: Step 301B to Step 302B: CF sends a credit to the OCS.
  • a credit return message which carries information such as a user identifier, business information, and a credit line that needs to be replenished.
  • OCS After receiving the credit replenishment message, OCS will replenish the credit line to be replenished to the user's account, and then return a response (Ack) to the CRF to inform CR that the corresponding credit line has been replenished.
  • the credit line that needs to be replenished as described above may be the remaining credit line after consuming the credit line allocated by the OCS, or may be the entire credit limit of the CRF request.
  • the application scenario of the CRF replenishing the credit line process to the OCS may be: when the business use is unsuccessful, the credit line is not consumed, and the CRF returns all the requested credit lines to the OCS, or the credit line is not After the consumption is completed, the CRP only returns the unconsumed remaining credit line to the OCS, and then the OCS will replenish the received credit line to be replenished to the user's account.
  • the application scenario of the CRF to the OCS credit limit process may also be: When the service is successfully used, if the requested credit limit has not been exhausted, the CRF needs to roll back the unused credit line to the OCS, and then the OCS will receive The credit line to be replenished is replenished to the user's account.
  • FIG. 4A shows a schematic diagram of the implementation process of the user service subscription by the CRF in the present invention.
  • the implementation process of the CRF to learn the user service subscription through the AF includes the following steps:
  • Step 401 to step 402 When the user subscribes to the service, the AF sends a service subscription message (Subscribed Info) to the CRF, where the service subscription message carries service subscription information, such as user identification, service information, and charging mode, and the charging mode. It can be used for monthly billing, billing by number, billing by number, billing by page, and so on.
  • the CRF After receiving the service subscription message, the CRF stores the subscription information and can further return a response to the AF, informing the AF that it has received the service order information it sent.
  • FIG. 4B is a schematic diagram showing the process of implementing the service usage of the CRF through the AF in the present invention.
  • the implementation process of the CRJF learning the service usage by using the AF includes the following steps:
  • Step 401B The AF sends a service start message (Service Start) to the CRF, where the service start message carries the user identifier, the service information, and the like, and notifies the CRJF user to start using the corresponding service.
  • Service Start a service start message
  • Step 402B The CRF determines whether the user can use the corresponding service according to the previously obtained service subscription information. If the user can use the corresponding service, in the case of offline charging, the service continues to send a service continuation message (Service Continue) to the AF, and then records related information. If the collection of billing information is started, step 403B may be subsequently performed; in the case of online billing, CR interacts with the OCS to obtain a corresponding credit line, if the OCS provides a credit limit or returns a credit. If sufficient information is available, the CRF sends a service continuation message to A, and then records relevant information, such as starting the collection of the charging information, and subsequently performing step 403B.
  • Service Continue service continuation message
  • the CKF sends the information to the AF.
  • a service termination message (Service Terminate), which may carry a termination reason. If the user is unable to use the corresponding service, the CRF sends a service termination message to the AF, and the service termination message may carry a termination reason.
  • Step 403B If the user successfully uses the service, the AF sends a service success message (Service Success) to the CRF, and the CRF user is successfully used to use the service. If the user fails to use the service, the service failure message is sent to the CRF. Service Failure), informing the CRP user that the service failed.
  • Service Success a service success message
  • Step 404B After receiving the service success/failure message, the CRF ends the collection of the charging information, and may further return a response to the AF, and notify the AF that the user's service usage is known.
  • the CRP can return the unused credit limit to the OCS.
  • the CF can roll back to the OCS.
  • the credit line that needs to be replenished the OCS will replenish the credit line to be replenished to the user's account; after the CRF receives the service failure message, the credit line is not consumed, and the CRF will refund all the requested credit lines.
  • the CRF only returns the unconsumed credit line to the OCS, and the OCS then replenishes the credit line to be replenished to the user's account.
  • FIG. 5A is a schematic diagram showing the structure of an FBC system supporting online charging in the present invention.
  • the CRF 203 in the case of online charging, the CRF 203 is connected to the CDF/CGF 207 through the Rz interface, and the CRF 203 is used for charging.
  • the information is sent to the CDF/CGF 207, and then the billing information provided by the CRF 203 is reported to the billing center by the CDF/CGF 207, thereby realizing the charging of the service fee based on the FBC system structure in the online case.
  • FIG. 5B is a schematic diagram showing the structure of the FBC system supported by the present invention.
  • CRF 203 in the case of offline charging, CRF 203 is connected to CDF/CGF 207 through the Rz interface, CRF 203 is used to send charging information to CDF/CGF 207, and then CDF/CGF 207 provides the meter provided by CRF 203.
  • the fee information is reported to the billing center, thereby realizing the charging of the business fee based on the FBC system structure under the online situation.
  • connection between the CRF and the CDF/CGF is not limited to being connected through the Rz interface, and other connection methods may be used, such as being indirectly connected through other functional entities.
  • the charging information collection point for service charging is CRP.
  • the CRF collects information for service usage, and then generates charging information, and the charging information is transmitted via CGF/.
  • the CDF 207 is sent to the billing center to collect the business charges based on the FBC system structure.
  • FIG. 6 is a schematic diagram of an implementation process of the first embodiment of the present invention.
  • the specific implementation process of the CRF as the offline charging information collection point in the embodiment includes the following steps: Step 601 to Step 603: AF receives The user subscribes to a service (Subscribe to a Service), and learns that the user subscribes to a certain service, and then sends a service subscription message to the CRF, where the service subscription message carries service subscription information, such as user identification, service information, and charging mode.
  • the billing mode can be monthly billing, billing by number, billing by number, billing by page, and so on.
  • the CRF stores the subscription information and can further return a response to the AF, informing the AF that it has received the service order information sent by it.
  • Step 604 to step 605 After receiving the service request (Service Request) sent by the user, the AF sends a service start message to the CRF, where the service start message carries the user identifier, the service information, and the like, and notifies the CRJF user to start using the corresponding service.
  • Service Request Service Request
  • the AF After receiving the service request (Service Request) sent by the user, the AF sends a service start message to the CRF, where the service start message carries the user identifier, the service information, and the like, and notifies the CRJF user to start using the corresponding service.
  • Step 606 to step 607 The CRF determines whether the user can use the corresponding service according to the previously obtained service subscription information. If yes, sends a service continuation message to the AF, and then records related information, such as collecting charging information, and the AF receives the CRF. After the sent service continues the message, the service acceptance message is returned to the user, and the user is notified that the service request has been accepted, and the subsequent Step 608; Otherwise, the CRF sends a service termination message to the AF, and the service termination message may carry a termination reason. After receiving the service termination message sent by the CRF, the AF sends a service rejection message to the user, where the service rejection message can be carried. There is a reason for rejection.
  • Step 608 to step 609 If the user successfully uses the service, the AP sends a service success message to the CF to notify the CRF user to successfully use the service. If the user fails to use the service, the AP sends a service failure message to the CRF. The CRP user failed to use the service. After receiving the service success/failure message, the CRF ends the collection of the accounting information, and further returns a response to the AF, notifying the AF that the user's service usage is known.
  • the CRF generates charging information related to the service usage, and reports the charging information to the charging center through the CDF/CGF, and the charging center generates a business expense list related to the service usage situation for the user.
  • FIG. 7 is a schematic diagram of the implementation process of the second embodiment of the present invention. As shown in FIG. 7, the specific implementation process of the CRF as the online charging information collection point in the embodiment includes the following steps: Step 701 to Step 705 and Step 601 ⁇ Steps are the same according to 605.
  • Step 706 to step 707 The CR determines whether the user can use the corresponding service according to the previously obtained service subscription information. If yes, the OCS sends a credit request, where the credit request carries the user identifier, the service information, the rate information, etc. for the OCS. After determining the input information of the credit information, the OCS returns a credit response to the OCS after receiving the credit request, and the credit response carries the credit information, such as the credit quota calculated by the OCS, whether the credit quota is sufficient, etc.; otherwise, directly executing step 708
  • the service termination message is sent to the AF, and the service termination message may carry a termination reason.
  • Step 708 to step 709 If the OCS provides the credit limit or returns the credit sufficient information, the CRP sends a service continuation message to the AF, and then records relevant information, such as collecting the collection of the charging information, and the AF receives the service continuation message sent by the CR.
  • the CRF After returning a service acceptance message to the user, notifying the user that the service request has been accepted, and subsequently performing step 710; if OCS If the credit limit is not provided or the credit deficiency information is returned, and the user is unable to use the corresponding service, the CRF sends a service termination message to the AF, and the service termination message may carry the termination reason, and after the AF receives the service termination message sent by the CR, A service rejection message is sent to the user, and the service rejection message may carry a reason for rejection.
  • Step 710 to step 711 are the same as steps 608 to 609.
  • the CRP In the case of online charging, when the service is successful, if the credit limit has not been used or the service fails, the CRP also needs to return the credit limit that needs to be replenished to the OCS, that is, the CRF sends a credit replenishment message to the OCS, in the credit replenishment message. User identification, business information, credit lines that need to be replenished, etc. After receiving the credit replenishment message, OCS will need to replenish the credit line, and then return a response (Ack) to CRP to inform CRF that the corresponding credit line has been replenished.
  • Ack response
  • the CRF generates charging information related to the service usage, and reports the charging information to the charging center through the CDF/CGF, and the charging center generates a business expense list related to the service usage situation for the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A process method for charging based on the packet data flow, adding a charging information collection function to the CRF, increasing the intercommunication flow between the CRF and OCS, making the OCS can supply the credit information to the CRF according to the credit request of CRF, e.g. a specific line of credit, whether the line of credit is enough, and the like, and the CRF can return the reimbursable line of credit to the OCS, the OCS reimburses the corresponding line of credit to the user’s account; and increasing the intercommunication flow between the CRF and AF, making the CRF can know the service subscribed by user, and the information whether the use of service is successful. In addition, this invention also provides a system for charging based on the packet data flow, increasing a signaling interface between the CRF and CDF/CGF, making the CRF can report the information generated on the condition of on-line or off-line to the charging center via the CDF/CGF, so that the gathering of service charging based on the FBC system structure is achieved, the demand that running the service in the network is satisfied.

Description

一种基于分组数据流计费的处理方法及系统 技术领域  Processing method and system based on packet data flow charging
本发明涉及分組数据计费领域, 特别是指一种基于分組数据流计费 的处理方法及系统。 发明背景  The present invention relates to the field of packet data charging, and more particularly to a processing method and system 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的实现过程包括以下步驟:  FIG. 1 shows a packet data protocol context (PDP Context, Packet Data Protocol Context) activation, data transmission, deactivation flowchart, as shown in FIG. 1, in a 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。 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 network access 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., 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, and the SGSN is addressed to the corresponding GGSN according to the APN, and the GGSN The MS may not provide the APN to the SGSN according to the APN. The SGSN may select the default APN according to the subscription information of the MS user. The QoS parameter is the quality requirement of the packet data service specified by the MS. TI is used by the MS to identify a PDP context.
步驟 102: SGSN收到 Activate PDP Context Request后, 与 MS进行 安全性检查和加密, 该步骤为可选步骤。  Step 102: After receiving the Activate PDP Context Request, the SGSN performs security check and encryption with the MS. This step is optional.
步骤 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分 配 DP地址, 也可由最终与 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) and an NSAPI. The SGSN sends a PDP Context Request to the GGSN. The PDP Context Request contains the PDP type, PDP address, APN. QoS parameter, TEID, and selection mode. The PDP address can be MS. The IP address, which is an optional parameter, may not carry a PDP address in the PDP Context creation request. In this case, the GGSN may assign a DP address to the MS in the subsequent processing, or may allocate an IP to the MS by the PDN that finally establishes a connection with the MS. Address; The selection mode refers to the APN selection mode, 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 the external PDN, 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 is sent to the SGSN. The PDP Context Create Response (Representation PDP Context Response), which carries the TEID, the PDP address, the Backbone Bearer protocol, the agreed QoS parameters, and the Charging ID. If the GGSN cannot meet the quality of service requirements of the QoS parameters, the GGSN rejects the PDP Context creation request initiated by the SGSN. The SGSN then rejects the PDP Context activation request initiated by the MS.
步骤 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启动计费。 MS收到 PDP Context激活响应, 就已经 建立了 MS与 GGSN直接的路由, 可以进行分组数据的传输了。  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 information such as PDP type, PDP address, TI, agreed QoS parameters, wireless priority, PDP configuration options, and the like. And, the SGSN starts charging. Upon 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进行分组数据的交互。 步骤 107: 结束分组数据交互后, MS向 SGSN发送 PDP Context去 激活请求 ( Deactivate PDP Context Request ),该 PDP Context去激活请求 中携带有 TI。  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 the 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: SGS 向 GGSN发送 PDP Context删除请求 ( Delete PDP Context Request ) ,该 PDP Context删除请求中携带有 ΤΕΠ)。  Steps 109 to 111: The SGS sends a PDP Context Request to the GGSN, where the PDP Context delete request carries ΤΕΠ).
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去激活响应中携带有 TL MS收到 PDP Context去激活响应后, 删除对应于 ΤΙ的 PDP Context 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 (DDP) to the SGSN. The PDP Context delete 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 TL. After the MS receives the PDP Context deactivation response, it deletes the PDP Context corresponding to ΤΙ.
由图 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 charging termination point is set in the PDP Context. When deleting, it can only be charged according to the data traffic transmitted by the PDP Context, or according to the length of time the PDP Context is activated. However, in actual applications, after the MS and the PDN perform data interaction, the MS can perform multiple services based on an activated PDP Context, that is, if the PDN can provide multiple services, such as an email (email) transceiver service, Based on the WAP (Wireless Application Protocol) browsing service and the file transfer protocol (FTP) file transfer service, the MS can pass an activated PDP after establishing a transmission channel with the PDN. The Context carries 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 the email receiving and dispatching service, the charging and receiving events can be triggered based on the email, and the WAP browsing service can be used for the flow metering. Fees, for the file transfer service can also be based on the flow rate, the WAP browsing service rate and the file transfer service rate are not the same, thus, according to the existing GPRS billing system, can not be the same PDP Context The different services carried are differentiated and charged.
针对上述情况, 第三代合作伙伴计划 ( 3GPP, The 3rd Generation Partnership Project )目前正在讨论如何实现基于 IP数据流的计费( FBC, Flow Based Charging )。 对于一个分组数据业务而言, MS的用户使用该 业务时,传输和接收到的所有 IP数据流( IP Flow ),也可为 EP分组包( IP packet ), 总称为业务数据流( Service Data Flow ), 即业务数据流是多个 IP数据流组成的集合, 因此基于 IP数据流的计费能够真实反映某个业 务数据流对资源的占用情况。基于 IP数据流的计费可被认为是通过一些 类似筛子的过滤器将同一 PDP Context中承载的不同业务的 IP数据流分 别筛选出来, 然后针对不同过滤器过滤出的]?数据流进行分别计费, 以 达到对不同的业务数据流分别计费的目的。这样,基于 IP数据流的计费 粒度要远远小于基于一个 PDP Context的计费粒度, 粒度可看作是筛子 孔的大小,基于一个 PDP Context的计费粒度是一个 PDP Context就是一 个筛子孔, 而基于 IP数据流的计费粒度则是一个 DP业务数据流则为一 个筛子孔, 即针对一个 PDP Context中包含多个筛子孔, 因此, 基于 IP 数据流的计费与比基于一个 PDP Context的计费相比, 基于 EP数据流的 计费能够为运营商或业务提供者提供更为丰富的计费手段。 In response to the above situation, the 3rd Generation Partnership Project (3GPP, 3rd Generation Partnership Project) is currently discussing how to implement FBC (Flow Based Charging). For a packet data service, when the user of the MS uses the service, all IP data streams (IP Flow) transmitted and received may also be EP packets, which are collectively referred to as Service Data Flow. ), that is, the service data stream is a set of multiple IP data streams, so the charging based on the IP data stream can truly reflect the occupation of resources by a certain service data stream. The IP data stream-based charging can be considered as filtering out the IP data streams of different services carried in the same PDP Context through some filter-like filters, and then separately filtering the data streams filtered by different filters. Fees, 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. The granularity can be regarded as the size of the screening hole. The charging granularity based on a PDP Context is a PDP Context. The meshing granularity based on the IP data stream is a DP service data stream is a sieve hole, that is, a plurality of sieve holes are included for one PDP Context, and therefore, the charging and ratio based on the IP data stream is based on Compared to the charging of a PDP Context, the charging based on the EP data stream can provide a more abundant charging means for the operator or the service provider.
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 customized application based on 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 constitute an online charging system (OCS, Online Charging System ) 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互通, CRJF 203通过 Gx接口与 TPF 205互通, TPF 205通 过 Gz接口分别与计费网关功能实体( CGF , Charging Gateway Function ) 207和计费采集功能实体( CDF , Charging Data 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 CRJF 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 is interworking with the Charging Data Function (CDF).
TPF 205承载 DP数据流, 当 IP数据流的承载建立时, TPF 205通过 Gx接口向 C P 203发送计费规则请求, 该计费规则请求中携带有与用 户和 MS相关的信息、 承载特性以及与网络相关的信息等, 其中与用户 和 MS相关的信息可为移动台国际号码(MSISDN )、 国际移动用户标识 ( SI )等, 与网络相关的信息可为移动网络编码(MNC )、 移动国家 码(MCC )等。 另外, 由于在 IP数据流传输过程中, 会对承载进行修 改, 如对 QoS参数进行重新协商, 当用户使用同一业务的 QoS参数不 同时, 计费规则可能不同, 如 QoS参数下降相应的费率也下降。 此时, TPF 205可在承载修改时, 重新向 CRP 203发送计费规则请求, 请求新 的计费规则; CRF 203根据 TPF 205提供的上述输入信息选择适当的计 费规则,并向 TPF 205返回选定的计费规则,计费规则中包括计费机制、 计费类型、 计费键(Charging Key )、 业务数据流过滤器、 计费规则优先 級等信息。 其中, 计费机制可为采用在线计费还是离线计费; 计费类型 可为基于时间长度进行计费还是基于数据流量进行计费; 计费键是与费 率相关的参数, CRF 203可不直接向 TPF 205提供费率, 而只是向 TPF 205提供与费率相关的参数; 业务数据过滤器用于指示 TPF 205对哪些 BP数据流进行过滤, 然后 TPF 205才艮据计费规则对过滤出的 IP数据流 进行计费。 业务数据过滤器可包含 IP5元组, EP5元组可包括源 /目的 IP 地址、 源 /目的端口号(Port Number )、 协议标识( Protocol ID )等信息, 例如, CRF 203指示 TPF 205对源地址为 10.0.0.1、 目的地址为 10.0.0.2、 源 /目的端口号为 20f、 协议类型为传输控制协议 ( TCP ) 的 IP数据流进 行过滤, 并根据计费规则对过滤出的 BP数据流进行计费。 The TPF 205 carries the DP data stream. When the bearer of the IP data stream is established, the TPF 205 sends a charging rule request to the CP 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 (SI), etc., and the network related information may be a mobile network coding (MNC), a mobile country. Code (MCC), etc. In addition, since the bearer is modified during the IP data stream transmission process, such as renegotiating the QoS parameters, when the QoS parameters of the same service are different, the charging rules may be different, such as the corresponding rate of the QoS parameter falling. Also fell. At this time, the TPF 205 may re-send the charging rule request to the CRP 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 button is a parameter related to the rate, and the CRF 203 may not be directly The rate is 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 BP data streams the TPF 205 filters, and then the TPF 205 filters the filtered IPs according to the charging rules. The data stream is billed. The service data filter may include an IP5 tuple, and the EP5 tuple may include source/destination IP address, source/destination port number (Port Number), protocol identifier (Protocol ID), and the like. For example, CRF 203 indicates TPF 205 to source address. Filters the IP data stream of 10.0.0.1, the destination address is 10.0.0.2, the source/destination port number is 20 f , the protocol type is Transmission Control Protocol (TCP), and the filtered BP data stream is filtered according to the charging rule. Billing.
CRP 203可向 TPF 205提供触发事件( Event Trigger ),用以要求 TPF 205在特定事件发生时, 向 CRP 205请求新的计费规则, 如 CRP 203要 求 TPF 205在某些承载进行修改的事件发生时, 向 CRF 203请求新的计 费规则。 触发事件可视为与计费规则相关的事件。 目前, 3GPP规范中 对 CRF通过触发事件上报机制控制 TPF的计费方式进行了描述,即 TPF 监测到触发事件发生后向 CRP上报, CRF通过 T F上报的触发事件获 知承载发生变化, 然后确定相应的计费规则并下发给 TPF。 3GPP规范 中定义的触发事件可包括:公用陆地移动通信网络( PLMN )变化( PLMN change )事件, QoS参数变化( QoS changes )事件,无线接入技术( RAT ) 类型变化( RAT type change )事件,传输流模板 ( TFT )变化( TFT change ) 事件。 The CRP 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 CRP 205 when a specific event occurs, such as the CRP 203 requesting the TPF 205 to perform an event modification on some bearers. 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 that controls the TPF through the triggering event reporting mechanism, that is, the TPF reports the triggering event to the CRP, and the CRF learns the change of the bearer through the triggering event reported by the TF, and then determines the corresponding The charging rule is delivered to the TPF. Trigger events defined in the 3GPP specifications may include: Common Land Mobile Communication Network (PLMN) changes (PLMN) Change event, QoS changes event, radio access technology (RAT) type change (RAT type change) event, transport stream template (TFT) change (TFT change) event.
CRF 203除了根据 TPF 205提供的输入信息选择适当的计费规则之 夕卜, CRF 203还可根据 AF 204或 OCS 206的输入信息选择适当的计费 规则, 如 AF 204通知 CRF 203用户当前使用的业务类型, CRP 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 current use by the user. The service type, CRP 203 selects the corresponding charging rule according to the service type.
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 authenticates the credit in the user's credit pool, and delivers the user to the TPF 205 through the Gy interface. credit.
另夕卜, 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 re-assert the user when the re-authorisation triggers occur, and then the OCS 206 re-authenticates the user according to the corresponding re-authentication event reported by the TPF 205, and It is possible to 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-authentication event, and the OCS 206 according to the remaining user account. Information, recalculate the credits allowed to be used by the user. 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, such as the PLMN changes, TPF 205 is required to report the occurrence of the PLMN change event to the OCS 206 according to the PLMN change event in the re-authentication event, and the OCS 206 re-determines the rate according to the current location of the user, and recalculates the user's credit. For another example, when the OCS 206 determines the rate according to the current QoS parameters of the service used by the user, when the user performs 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-authentication event. The OCS 206 determines the rate according to the modified QoS parameter of the user, and recalculates the credit of the user.
另外, 3GRP规范中还对 OCS通过重鉴权事件上报的机制控制 TPF 的信用使用情况进行了描述, 即 TPF监测到重鉴权事件发生后向 OCS 上报, OCS通过 TPF上报的重鉴权事件,获知用户的信用使用情况以及 承载的变化, 对用户的信用重新进行计算并下发给 TPF。 3GPP规范中 定义的重鉴权事件可包括: 允许信用过期 (credit authorization lifetime expiry ) 事件, 用户空闲状态超时(idle timeout ) 事件, 计费规则变化 ( charging rule is changed )事件, PLMN变化事件, QoS参数变化事件, RAT类型变化事件。  In addition, the 3GRP specification also describes the use of the re-authentication event by the OCS to control the credit usage of the TPF. That is, the TPF reports the re-authentication event reported by the TCS to the OCS after the re-authentication event occurs. The credit usage of the user and the change of the bearer are known, and the credit of the user is recalculated and sent to the TPF. The re-authentication event defined in the 3GPP specifications may include: a credit authorization lifetime expiry event, a user idle state 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为计费规则 的执行点, CRP 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 CRP 203 is the control point of the charging rule.
对于目前的 FBC 系统结构, 离线计费情况下的计费信息采集点是 TPF, TPF收集针对业务数据流的信息, 如业务数据流传输的数据流量、 业务数据流使用的时间长度等, 然后生成计费信息, 并将该计费信息经 由 CGF/CDF 207发送至计费中心;在线计费情况下的计费信息采集点是 TPF 和 OCS, TPF 收集针对业务数据流的信息, 并将该计費信息经由 CGF/CDF发送至计费中心, OCS收集费用扣除情况信息, 然后生成计 费信息, 并将该计费信息经由 CGF/CDF发送至计费中心。  For the current FBC system structure, the charging information collection point in the case of offline charging is TPF, and the TPF collects information for the service data stream, such as the data traffic transmitted by the service data stream, the length of time used by the service data stream, etc., and then generates Billing information, and the billing information is sent to the billing center via CGF/CDF 207; the billing information collection point in the case of online billing is TPF and OCS, and the TPF collects information for the service data stream, and the meter The fee information is sent to the billing center via the CGF/CDF, and the OCS collects the charge deduction information, and then generates the billing information, and sends the billing information to the billing center via the CGF/CDF.
然而, 在实际的网络运营中, 对于增值业务部分, 运营商通常向用 户收取通信费用和业务费用两种费用, 通信费用用于对用户占用的网络 资源进行计量, 又称为流量费或承载费; 业务费用用于对用户使用业务 的业务信息进行计量,. 又称为内容费或信息费。 例如, 用户通过移动终 端使用 "看电视,, 业务, 运营商不仅需要向用户收取使用 "看电视" 业 务过程中由传输业务的数据流量或是使用业务的时间长度导致的费用, 还需要向用户收取用户收看的电视节目内容的费用;又如,用户使用 "游 戏下载" 业务, 运营商不仅需要向用户收取用户下载游戏过程中由数据 流量而生成的费用 , 还需要向用户收取用户购买该游戏使用权的费用。 However, in the actual network operation, for the value-added service part, the operator usually charges the user two kinds of communication fees and service charges, and the communication fee is used to measure the network resources occupied by the user, which is also called the traffic fee or the bearer fee. The business expense is used to measure the business information of the user using the service. It is also called content fee or information fee. For example, the user passes the mobile terminal The use of "watching TV, business, operators not only need to charge users to use the "watch TV" business process, the data traffic caused by the transmission of services or the length of time used to use the service, but also need to charge the user to watch the TV For example, if the user uses the "game download" service, the operator not only needs to charge the user for the fee generated by the data flow during the download of the game, but also needs to charge the user for the user to purchase the game.
通常,对于 '电视节目、游戏等业务应用可由专门的业务提供商(SP, Service Provider )进行开发, 并通过与网络运营商合作向用户提供各种 业务应用。 虽然 SP可直接向用户收取业务费用, 这样就需要 SP建立面 向用户收取业务费用的渠道, 如计费系统等, 但由于一方面采用 SP 自 行建立计费系统的方式会增加 SP的成本, 提高了 SP的门槛, 不利于 SP自身的^; 另一方面 SP自行建立计费系统的方式还需要解决用户 对 SP的信任问题, 因此, 目前大部分网络运营商都代替 SP收取业务费 用, 并同 SP进行业务费用分成的计费模式, 例如中国移动的 "移动梦 网" 平台和中国联通的 "联通无限" 就是整合了各 SP并提供统一计费 的平台。 通过这种网络运营商代收业务费用的方式, 使得网络运营商可 只专注于网络的运营, SP可只专注于业务应用的开发, 用户只需要面对 一个统一的收费系统和一张同时包含通信费用和业务费用的用户话单。  Generally, business applications such as TV programs and games can be developed by a dedicated service provider (SP) and provide various business applications to users through cooperation with network operators. Although the SP can directly charge the user for the service fee, the SP needs to establish a channel for charging the user for the service fee, such as a billing system, but the method of using the SP to establish the billing system on its own will increase the cost of the SP and improve the cost. The threshold of the SP is not conducive to the SP itself; on the other hand, the SP itself needs to solve the trust problem of the SP by the user to establish the charging system. Therefore, most network operators currently charge the service fee instead of the SP, and perform the same with the SP. The charging mode of business cost sharing, such as China Mobile's "Mobile Monternet" platform and China Unicom's "Unicom Unlimited" is a platform that integrates SPs and provides unified billing. Through the network operator's collection of business expenses, the network operator can focus on the operation of the network only. The SP can focus on the development of the business application only. The user only needs to face a unified charging system and one at the same time. User bills for communication charges and business expenses.
然而,基于目前的 FBC系统结构, 由于 TPF与 AF之间没有信令接 口, 因此, TPF无法获知业务的使用成功与否的信息, 例如, 对于下载 类业务, 如果下载过程中出现异常中断的情况, 则此时只应收取通信费 用, 而不应收取业务费用; '并且, TPF也无法获知用户订购业务的情况, 例如, 某用户在订购一项业务时对业务费用采用的计費方式是包月计 费, TPF无法获知用户的业务费用应该是每个月统一进行扣除, 而不能 在用户每次使用业务时扣除。 因此,基于目前 FBC系统结构无法实现业 务费用的收取, 不能满足在网络中进行业务运营的要求。 发明内容 However, based on the current FBC system structure, since there is no signaling interface between the TPF and the AF, the TPF cannot know the information about the success or failure of the service, for example, for the download service, if an abnormal interruption occurs during the download process. At this time, only the communication fee should be charged, and the business fee should not be charged; 'And TPF cannot know the user's subscription service. For example, the charging method used by a user when ordering a service is the monthly subscription. Billing, TPF cannot know that the user's business expenses should be deducted uniformly every month, but not every time the user uses the business. Therefore, based on the current FBC system structure, the charging of business expenses cannot be realized, and the requirements for business operations in the network cannot be met. Summary of the invention
有鉴于此, 本发明的一个目的在于提供一种基于分组数据流计费的 处理方法, 本发明的另一目的在于提供一种基于分组数据流计费的系 统, 满足在网络中进行业务运营的要求。  In view of this, an object of the present invention is to provide a processing method based on packet data flow charging, and another object of the present invention is to provide a system based on packet data flow charging, which satisfies service operation in a network. Claim.
为了达到上述目的, 本发明提供了一种基于分组数据流计费的处理 方法, 该方法包含: CRF向 OCS发送信用请求, OCS向 CRF返回信用 响症  In order to achieve the above object, the present invention provides a processing method based on packet data flow charging, the method comprising: a CRF sends a credit request to an OCS, and the OCS returns a credit response to the CRF
其中 , 所述信用响应中携带有信用额度或信用额度是否充足信息。 该方法进一步包括: CRF向 OCS 回退需要回补的信用额度, OCS 将收到的所述信用额度回补到用户的帐户上。  Wherein, the credit response carries information on whether the credit line or the credit line is sufficient. The method further includes: the CRF rolls back the credit line that needs to be replenished to the OCS, and the OCS replenishes the received credit line to the user's account.
所述 OCS收到需要回补的信用额度,之后进一步包括: OCS向 CRP 返回用于通知 CRF已收到需要回补的信用额度的响应。  The OCS receives the credit line that needs to be replenished, and then further includes: The OCS returns a response to the CRP for notifying the CRF that the credit line that needs to be replenished has been received.
本发明还提供了一种基于分组数据流计费的处理方法,该方法包含: AF通知 CRF用户请求使用业务, CRF根据业务订购信息判断是否允许 用户使用业务, 如果是, 则通知 A 为用户提供所述业务; 否则, 通知 AF不为用户提供所述业务。  The present invention also provides a processing method based on packet data flow charging, the method comprising: the AF notifying the CRF user to request to use the service, the CRF determining whether to allow the user to use the service according to the service subscription information, and if so, notifying the A to provide the user with the service The service; otherwise, the notification AF does not provide the service to the user.
其中, 所述业务订购信息是在用户订购业务时, 由 AF向 CRF提供 的。  The service subscription information is provided by the AF to the CRF when the user subscribes to the service.
所述 CRF收到 AF提供的业务订购信息后, 进一步包括: CRF向 AF返回用于通知 AF已收到业务订购信息的响应。  After receiving the service subscription information provided by the AF, the CRF further includes: the CRF returns a response to the AF for notifying that the AF has received the service subscription information.
所述通知 AF为用户提供所述业务, 之前进一步包括: CRF开始计 费信息的采集。  The notification AF provides the user with the service, and further includes: collecting the CRF start billing information.
所述通知 AF 为用户提供所述业务, 之后进一步包括步驟 al: AF 通知 CRJF用户的业务使用情况。  The notification AF provides the user with the service, and then further includes the step al: AF notifying the CRJF user of the service usage.
所述步驟 al之后进一步包括: CRF向 AP返回用于通知 AF已收到 业务使用情况的响应。 The step a1 further includes: the CRF returns to the AP to notify the AF that it has received Response to business usage.
所述步驟 al之后进一步包括步骤 bl : CRP停止计费信息的采集。 所述步骤 bl之后进一步包括: CRJF向 CDF/CGF发送计费信息。 在线计费情况下, 所述通知 AF为用户提供所述业务, 之前进一步 包括: CRF向 OCS发送信用请求, OCS向 CRJF返回信用响应。  The step al further includes the step bl: CRP stops collecting the charging information. The step bl further includes: the CRJF sending the charging information to the CDF/CGF. In the case of online charging, the notification AF provides the user with the service, and further includes: the CRF sends a credit request to the OCS, and the OCS returns a credit response to the CRJF.
所述步骤 al之后进一步包括: CRJF向 OCS回退需要回补的信用额 度, OCS将收到的所述信用额度回补到用户的帐户上。  The step al further includes: the CRJF rolls back the credit amount to be replenished to the OCS, and the OCS replenishes the received credit line to the user's account.
为了实现上述目的, 本发明还提供了一种基于分组数据流计费的系 统 , 该系统包括: CRF与 TPF相连, 用于使 CRF向 TPF提供计费规则, TPF与 CDF/CGF相连, 用于 TPF向 CDF/CGF提供对应于承载的计费 信息; 该系统中, AF与 CR 相连, 用于传送业务相关信息, CRF 与 CDF/CGF相连, 用于 CRF向 CDF/CGF提供对应于业务的计费信息。  In order to achieve the above object, the present invention further provides a system for charging based on packet data stream, the system comprising: a CRF connected to a TPF, configured to enable a CRF to provide a charging rule to the TPF, and the TPF is connected to the CDF/CGF, The TPF provides charging information corresponding to the bearer to the CDF/CGF; in the system, the AF is connected to the CR for transmitting service related information, and the CRF is connected to the CDF/CGF, and the CRF is provided with the corresponding service to the CDF/CGF. Fee information.
所述 CRF与 CDF/CGF通过 Rz接口相连。  The CRF is connected to the CDF/CGF via an Rz interface.
该系统进一步包括: OCS, 与 TPF相连, 用于根据 TPF的请求向 TPF提供信用信息; 并与 CRF相连, 用于根据 CRF的请求向 CRF提供 信用信息。  The system further includes: an OCS, connected to the TPF, for providing credit information to the TPF according to the request of the TPF; and connected to the CRF for providing credit information to the CRF according to the request of the CRF.
根据本发明提出的方案, 在 CRF 中增加计费信息采集功能, 增加 CRJF与 OCS之间的交互流程,使得 OCS能够根据 CRF的信用请求, 向 CRP提供信用信息, 如具体的信用额度、 信用额度是否充足等信息, 还 可使 CRF能够向 OCS返回需回补的信用额度, OCS将相应信用额度回 补到用户的帐户上; 并增加 C F与 AF之间的交互流程, 使得 CRF能 够获知用户订购业务的情况, 并且能够获知业务的使用成功与否的信 息。 另夕卜, 增加 C F与 CDF/CGF之间的信令接口, 使 CRP能够将在线 计费情况下或是离线计费情况下生成的计费信息通过 CDF/CGF上报至 计费中心,从而实现基于 FBC系统结构对业务费用的收取,满足在网络 中进行业务运营的要求。 附图简要说明 According to the solution proposed by the present invention, the charging information collection function is added in the CRF, and the interaction process between the CRJF and the OCS is increased, so that the OCS can provide credit information to the CRP according to the CRF credit request, such as a specific credit limit and credit limit. Whether the information is sufficient or not can also enable the CRF to return the credit line to be replenished to the OCS, and the OCS will replenish the corresponding credit limit to the user's account; and increase the interaction process between the CF and the AF, so that the CRF can know the user's order. The situation of the business, and the ability to know the success or failure of the business. In addition, the signaling interface between the CF and the CDF/CGF is added, so that the CRP can report the charging information generated by the online charging or the offline charging to the charging center through the CDF/CGF. The collection of business expenses based on the FBC system structure, satisfied in the network Requirements for conducting business operations in the middle. BRIEF DESCRIPTION OF THE DRAWINGS
图 1示出了 PDP Context激活、 数据传输、 去激活流程图; 图 2A示出了支持在线计费的 FBC系统结构示意图;  FIG. 1 shows a PDP Context activation, data transmission, deactivation flowchart; FIG. 2A shows a schematic structural diagram of an FBC system supporting online charging;
图 2B示出了支持离线计费的 FBC系统结构示意图;  2B is a schematic structural diagram of an FBC system supporting offline charging;
图 3A示出了本发明中 CRF向 OCS请求信用信息实现过程示意图; 图 3B示出了本发明中 CRF向 OCS回补信用额度实现过程示意图; 图 4A示出了本发明中 CRF通过 AF获知用户业务订购实现过程示 意图;  FIG. 3A is a schematic diagram showing a process for implementing CRF requesting credit information from an OCS in the present invention; FIG. 3B is a schematic diagram showing a process for implementing CRF to OCS replenishment credit line in the present invention; FIG. 4A is a view showing a CRF obtaining user through AF in the present invention; Schematic diagram of the business order realization process;
图 4B示出了本发明中 CRF通过 AF获知业务使用情况实现过程示 意图; '  FIG. 4B is a schematic diagram showing the process of realizing the use of the service by the CRF through the AF in the present invention;
图 5A示出了本发明中支持在线计费的 FBC系统结构示意图; 图 5B示出了本发明中支持离线计费的 FBC系统结构示意图; 图 6示出了本发明中实施例一实现过程示意图;  5A is a schematic structural diagram of an FBC system supporting online charging in the present invention; FIG. 5B is a schematic structural diagram of an FBC system supporting offline charging in the present invention; FIG. 6 is a schematic diagram showing an implementation process of the first embodiment of the present invention. ;
图 7示出了本发明中实施例二实现过程示意图。 实施本发明的方式  FIG. 7 is a schematic diagram showing the implementation process of the second embodiment of 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.
本发明中, 在 CRF中增加计费信息采集功能, 增加 CRF与 OCS之 间的交互流程,使得 OCS能够根据 CRF的信用请求, 向 CRF提供信用 信息, 如具体的信用额度、信用额度是否充足等信息,还可使 CRP能够 '向 OCS返回需回补的信用额度, OCS将相应信用额度回补到用户的帐 户上; 并增加 CRF与 AF之间的交互流程, 使得 CKF能够获知用户订 购业务的情况, 并且能够获知业务的使用成功与否的信息。 另外, 增加In the present invention, the charging information collection function is added in the CRF, and the interaction process between the CRF and the OCS is increased, so that the OCS can provide credit information to the CRF according to the CRF credit request, such as whether the specific credit limit and the credit limit are sufficient. The information can also enable CRP to 'return the credit line to be replenished to the OCS, and OCS will replenish the corresponding credit limit to the user's account; and increase the interaction process between CRF and AF, so that CKF can know the user subscription. Information on the purchase of a business, and information on the success of the use of the business. In addition, increase
CRF与 CDF/CGF之间的信令接口,使 CRF能够将在线计费情况下或是 离线计费情况下生成的计费信息通过 CDF/CGF上报至计费中心, 从而 实现基于 FBC系统结构对业务费用的收取,满足在网络中进行业务运营 的要求。 ' The signaling interface between the CRF and the CDF/CGF enables the CRF to report the charging information generated by the online charging or offline charging to the charging center through the CDF/CGF, thereby implementing the structure based on the FBC system. The collection of business expenses meets the requirements for business operations in the network. '
图 3A示出了本发明中 CRJF向 OCS请求信用信息实现过程示意图, 如图 3A所示, CRP向 OCS请求信用信息的实现过程包括以下步骤: 步骤 301A〜步驟 302A: CR 向 OCS发送信用请求( Credit Request ), 该信用请求中携带有用户标识、业务信息、 费率信息等供 OCS确定信用 信息的输入信息。 OCS收到信用请求后, 向 OCS返回信用响应 ( Credit Response ), 该信用响应中携带有信用信息, 如 OCS计算出的用户信用 额度、 信用额度是否充足等信息。  FIG. 3A is a schematic diagram of a process for implementing CRJF requesting credit information from an OCS in the present invention. As shown in FIG. 3A, the process for requesting CRP to request credit information from an OCS includes the following steps: Step 301A to Step 302A: CR sends a credit request to the OCS ( Credit Request), the credit request carries user identification, business information, rate information, and the like for the OCS to determine the input information of the credit information. After receiving the credit request, OCS returns a credit response (Credit Response) to the OCS, and the credit response carries credit information, such as information such as the user credit limit calculated by the OCS and whether the credit limit is sufficient.
在信用额度未消耗或未消耗完毕的情况下, CRF能够向 OCS返回需 要回补的信用额度, OCS将相应信用额度回补到用户的帐户上。  In the case that the credit limit is not consumed or not consumed, the CRF can return the credit amount to be replenished to the OCS, and the OCS will replenish the corresponding credit limit to the user's account.
图 3B示出了本发明中 CRF向 OCS回补信用额度实现过程示意图, 如图 3B所示, CRF向 OCS回补信用额度的实现过程包括以下步骤: 步骤 301B〜步骤 302B: C F 向 OCS 发送信用回补消息 (Credit Return ), 该信用回补消息中携带有用户标识、 业务信息、 需要回补的信 用额度等信息。 OCS收到信用回补消息后, 将需要回补的信用额度回补 到用户的帐户上, 然后可进一步向 CRF返回响应 (Ack ), 通知 CR 已 将相应信用额度回补。  FIG. 3B is a schematic diagram showing the process of implementing the CRF to the OCS credit line in the present invention. As shown in FIG. 3B, the process of implementing the CRF to the OCS credit line includes the following steps: Step 301B to Step 302B: CF sends a credit to the OCS. A credit return message, which carries information such as a user identifier, business information, and a credit line that needs to be replenished. After receiving the credit replenishment message, OCS will replenish the credit line to be replenished to the user's account, and then return a response (Ack) to the CRF to inform CR that the corresponding credit line has been replenished.
以上所述需要回补的信用额度可以是消耗 OCS分配的信用额度后 的剩余信用额度, 也可以是 CRF请求的全部的信用额度。 这里, CRF 向 OCS回补信用额度流程的应用场景可以是: 业务使用不成功时,信用 额度未消耗, CRF将请求的全部信用额度回退给 OCS,或是信用额度未 消耗完毕, CRP只将未消耗的剩余信用额度回退给 OCS, 然后 OCS将 接收到的需回补的信用额度回补到用户的帐户上。 另外, CRF 向 OCS 回补信用额度流程的应用场景也可以是: 业务使用成功时, 如果请求到 的信用额度尚未消耗完毕, CRF需要将未使用的信用额度回退给 OCS, 然后, OCS将接收到的需回补的信用额度回补到用户的帐户上。 The credit line that needs to be replenished as described above may be the remaining credit line after consuming the credit line allocated by the OCS, or may be the entire credit limit of the CRF request. Here, the application scenario of the CRF replenishing the credit line process to the OCS may be: when the business use is unsuccessful, the credit line is not consumed, and the CRF returns all the requested credit lines to the OCS, or the credit line is not After the consumption is completed, the CRP only returns the unconsumed remaining credit line to the OCS, and then the OCS will replenish the received credit line to be replenished to the user's account. In addition, the application scenario of the CRF to the OCS credit limit process may also be: When the service is successfully used, if the requested credit limit has not been exhausted, the CRF needs to roll back the unused credit line to the OCS, and then the OCS will receive The credit line to be replenished is replenished to the user's account.
图 4A示出了本发明中 CRF通过 AF获知用户业务订购实现过程示 意图, 如图 4A所示, CRF通过 AF获知用户业务订购的实现过程包括 以下步驟:  FIG. 4A shows a schematic diagram of the implementation process of the user service subscription by the CRF in the present invention. As shown in FIG. 4A, the implementation process of the CRF to learn the user service subscription through the AF includes the following steps:
步驟 401 〜步骤402 : 用户订购业务时, AF向 CRF发送业务订购 消息 ( Subscribed Info ), 该业务订购消息中携带有业务订购信息, 如用 户标识、 业务信息、 计费模式等信息, 计费模式可为包月计费、 按条数 计费、 按次数计费、 按页面计费等等。 CRF收到业务订购消息后, 存储 订购信息, 并可进一步向 AF返回响应, 通知 AF已收到其发送的业务 定购信息。  Step 401 to step 402: When the user subscribes to the service, the AF sends a service subscription message (Subscribed Info) to the CRF, where the service subscription message carries service subscription information, such as user identification, service information, and charging mode, and the charging mode. It can be used for monthly billing, billing by number, billing by number, billing by page, and so on. After receiving the service subscription message, the CRF stores the subscription information and can further return a response to the AF, informing the AF that it has received the service order information it sent.
图 4B示出了本发明中 CRF通过 AF获知业务使用情况实现过程示 意图, 如图 4B所示, CRJF通过 AF获知业务使用情况的实现过程包括 以下步驟:  FIG. 4B is a schematic diagram showing the process of implementing the service usage of the CRF through the AF in the present invention. As shown in FIG. 4B, the implementation process of the CRJF learning the service usage by using the AF includes the following steps:
步骤 401B: AF向 CRF发送业务开始消息(Service Start ), 该业务 开始消息中携带有用户标识、业务信息等,通知 CRJF用户开始使用相应 业务。  Step 401B: The AF sends a service start message (Service Start) to the CRF, where the service start message carries the user identifier, the service information, and the like, and notifies the CRJF user to start using the corresponding service.
步驟 402B: CRF根据先前获取的业务订购信息,判断用户是否能够 使用相应业务, 如果用户能够使用相应业务, 则离线计费情况下, 向 AF发送业务继续消息 (Service Continue ), 然后记录相关信息, 如开始 计费信息的釆集,后续可执行步骤 403B;在线计费情况下, CR 与 OCS 进行交互以获取相应信用额度 ,如果 OCS提供了信用额度或返回了信用 充足信息, 则 CRF向 A 发送业务继续消息, 然后记录相关信息, 如开 始计费信息的釆集, 后续可执行步骤 403B, 如果 OCS未提供信用额度 或返回了信用不足信息, 则 CKF 向 AF发送业务终止消息 ( Service Terminate ), 该业务终止消息中可携带有终止原因。 如果用户不能够使 用相应业务, 则 CRF向 AF发送业务终止消息, 该业务终止消息中可携 带有终止原因。 Step 402B: The CRF determines whether the user can use the corresponding service according to the previously obtained service subscription information. If the user can use the corresponding service, in the case of offline charging, the service continues to send a service continuation message (Service Continue) to the AF, and then records related information. If the collection of billing information is started, step 403B may be subsequently performed; in the case of online billing, CR interacts with the OCS to obtain a corresponding credit line, if the OCS provides a credit limit or returns a credit. If sufficient information is available, the CRF sends a service continuation message to A, and then records relevant information, such as starting the collection of the charging information, and subsequently performing step 403B. If the OCS does not provide the credit limit or returns the insufficient credit information, the CKF sends the information to the AF. A service termination message (Service Terminate), which may carry a termination reason. If the user is unable to use the corresponding service, the CRF sends a service termination message to the AF, and the service termination message may carry a termination reason.
步骤 403B: AF根据用户使用业务的情况, 如果用户成功使用业务, 则向 CRF发送业务成功消息 ( Service Success ), 通知 CRF用户成功使 用业务, 如果用户使用业务失败, 则向 CRF发送业务失败消息(Service Failure ), 通知 CRP用户使用业务失败。  Step 403B: If the user successfully uses the service, the AF sends a service success message (Service Success) to the CRF, and the CRF user is successfully used to use the service. If the user fails to use the service, the service failure message is sent to the CRF. Service Failure), informing the CRP user that the service failed.
步驟 404B: CRF收到业务成功 /失败消息后, 结束计费信息的采集, 并可进一步向 AF返回响应, 通知 AF 已获知用户的业务使用情况。 在 线计费情况下,对于 CRF收到业务成功消息后,如果分配的信用额度尚 未消耗完毕, CRP可向 OCS返回未使用的信用额度, 对于 CRP收到业 务失败消息后, C F可向 OCS回退需要回补的信用额度, 由 OCS将接 收到的需回补的信用额度回补到用户的帐户上;对于 CRF收到业务失败 消息后, 信用额度未消耗, CRF将请求的全部信用额度回退给 OCS, 或 是信用额度未消耗完毕, CRF只将未消耗的剩余信用额度回退给 OCS, 然后 OCS将接收到的需回补的信用额度回补到用户的帐户上。  Step 404B: After receiving the service success/failure message, the CRF ends the collection of the charging information, and may further return a response to the AF, and notify the AF that the user's service usage is known. In the case of online charging, after the CRF receives the service success message, if the allocated credit limit has not been consumed, the CRP can return the unused credit limit to the OCS. After the CRP receives the service failure message, the CF can roll back to the OCS. The credit line that needs to be replenished, the OCS will replenish the credit line to be replenished to the user's account; after the CRF receives the service failure message, the credit line is not consumed, and the CRF will refund all the requested credit lines. To the OCS, or the credit line is not consumed, the CRF only returns the unconsumed credit line to the OCS, and the OCS then replenishes the credit line to be replenished to the user's account.
图 5A示出了本发明中支持在线计费的 FBC系统结构示意图, 如图 5A所示, 在线计费情况下, 将 CRF 203与 CDF/CGF 207通过 Rz接口 相连,用于 CRF 203将计费信息发送至 CDF/CGF 207,然后由 CDF/CGF 207将 CRF 203提供的计费信息上报至计费中心, 从而实现在线情况下 基于 FBC系统结构对业务费用的收取。  FIG. 5A is a schematic diagram showing the structure of an FBC system supporting online charging in the present invention. As shown in FIG. 5A, in the case of online charging, the CRF 203 is connected to the CDF/CGF 207 through the Rz interface, and the CRF 203 is used for charging. The information is sent to the CDF/CGF 207, and then the billing information provided by the CRF 203 is reported to the billing center by the CDF/CGF 207, thereby realizing the charging of the service fee based on the FBC system structure in the online case.
图 5B示出了本发明中支持离线计费的; FBC系统结构示意图, 如图 5B所示, 离线计费情况下, 将 CRF 203与 CDF/CGF 207通过 Rz接口 相连,用于 CRF 203将计费信息发送至 CDF/CGF 207,然后由 CDF/CGF 207将 CRF 203提供的计费信息上报至计费中心, 从而实现在线情况下 基于 FBC系统结构对业务费用的收取。 FIG. 5B is a schematic diagram showing the structure of the FBC system supported by the present invention; As shown in FIG. 5B, in the case of offline charging, CRF 203 is connected to CDF/CGF 207 through the Rz interface, CRF 203 is used to send charging information to CDF/CGF 207, and then CDF/CGF 207 provides the meter provided by CRF 203. The fee information is reported to the billing center, thereby realizing the charging of the business fee based on the FBC system structure under the online situation.
以上所述 CRF与 CDF/CGF的连接方式不限于通过 Rz接口相连, 还可釆用其他连接方式, 如通过其他功能实体间接相连等等。  The connection between the CRF and the CDF/CGF is not limited to being connected through the Rz interface, and other connection methods may be used, such as being indirectly connected through other functional entities.
无论在线计费情况下还是离线计费情况下, 有关业务计费的计费信 息采集点是 CRP, CRF收集针对业务使用情况的信息, 然后生产计费信 息,并将该计费信息经由 CGF/CDF 207发送至计费中心,从而基于 FBC 系统结构对业务费用的收取。  Regardless of online charging or offline charging, the charging information collection point for service charging is CRP. The CRF collects information for service usage, and then generates charging information, and the charging information is transmitted via CGF/. The CDF 207 is sent to the billing center to collect the business charges based on the FBC system structure.
图 6示出了本发明中实施例一实现过程示意图, 如图 6所示, 本实 施例中 CRF作为离线计费信息采集点的具体实现过程包括以下步骤: 步骤 601〜步骤 603 : AF 收到用户订购业务消息 (Subscribe to a Service ), 获知用户订购了某业务, 然后向 CRF发送业务订购消息, 该 业务订购消息中携带有业务订购信息, 如用户标识、 业务信息、 计费模 式等信息, 计费模式可为包月计费、 按条数计费、 按次数计费、 按页面 计费等等。 CRF 收到业务订购消息后, 存储订购信息, 并可进一步向 AF返回响应, 通知 AF已收到其发送的业务定购信息。  FIG. 6 is a schematic diagram of an implementation process of the first embodiment of the present invention. As shown in FIG. 6, the specific implementation process of the CRF as the offline charging information collection point in the embodiment includes the following steps: Step 601 to Step 603: AF receives The user subscribes to a service (Subscribe to a Service), and learns that the user subscribes to a certain service, and then sends a service subscription message to the CRF, where the service subscription message carries service subscription information, such as user identification, service information, and charging mode. The billing mode can be monthly billing, billing by number, billing by number, billing by page, and so on. After receiving the service subscription message, the CRF stores the subscription information and can further return a response to the AF, informing the AF that it has received the service order information sent by it.
步骤 604〜步驟 605: AF收到用户发送的业务请求( Service Request ) 后, 向 CRF发送业务开始消息, 该业务开始消息中携带有用户标识、 业 务信息等, 通知 CRJF用户开始使用相应业务。  Step 604 to step 605: After receiving the service request (Service Request) sent by the user, the AF sends a service start message to the CRF, where the service start message carries the user identifier, the service information, and the like, and notifies the CRJF user to start using the corresponding service.
步驟 606〜步骤 607: CRF根据先前获取的业务订购信息, 判断用户 是否能够使用相应业务, 如果是, 向 AF发送业务继续消息, 然后记录 相关信息, 如开始计费信息的采集, AF收到 CRF发送的业务继续消息 后, 向用户返回业务接受消息, 通知用户其业务清求已被接受, 后续可 执行步骤 608; 否则, CRF向 AF发送业务终止消息, 该业务终止消息 中可携带有终止原因, AF收到 CRF发送的业务终止消息后, 向用户发 送业务拒绝消息, 该业务拒绝消息中可携带有拒绝原因。 Step 606 to step 607: The CRF determines whether the user can use the corresponding service according to the previously obtained service subscription information. If yes, sends a service continuation message to the AF, and then records related information, such as collecting charging information, and the AF receives the CRF. After the sent service continues the message, the service acceptance message is returned to the user, and the user is notified that the service request has been accepted, and the subsequent Step 608; Otherwise, the CRF sends a service termination message to the AF, and the service termination message may carry a termination reason. After receiving the service termination message sent by the CRF, the AF sends a service rejection message to the user, where the service rejection message can be carried. There is a reason for rejection.
步驟 608〜步骤 609: AP根据用户使用业务的情况,如果用户成功使 用业务, 则向 C F发送业务成功消息, 通知 CRF用户成功使用业务, 如果用户使用业务失败, 则向 CRF发送业务失败消息 , 通知 CRP用户 使用业务失败。 CRF收到业务成功 /失败消息后, 结束计费信息的采集, 并可进一步向 AF返回响应, 通知 AF已获知用户的业务使用情况。  Step 608 to step 609: If the user successfully uses the service, the AP sends a service success message to the CF to notify the CRF user to successfully use the service. If the user fails to use the service, the AP sends a service failure message to the CRF. The CRP user failed to use the service. After receiving the service success/failure message, the CRF ends the collection of the accounting information, and further returns a response to the AF, notifying the AF that the user's service usage is known.
最后, CRF生成与业务使用情况相关的计费信息,并通过 CDF/CGF 将该计费信息上报至计费中心, 由计费中心为用户生成与业务使用情况 相关的业务费用清单。  Finally, the CRF generates charging information related to the service usage, and reports the charging information to the charging center through the CDF/CGF, and the charging center generates a business expense list related to the service usage situation for the user.
图 7示出了本发明中实施例二实现过程示意图, 如图 7所示, 本实 施例中 CRF作为在线计费信息釆集点的具体实现过程包括以下步驟: 步骤 701〜步驟 705与步骤 601〜步據 605相同。  FIG. 7 is a schematic diagram of the implementation process of the second embodiment of the present invention. As shown in FIG. 7, the specific implementation process of the CRF as the online charging information collection point in the embodiment includes the following steps: Step 701 to Step 705 and Step 601 ~ Steps are the same according to 605.
步骤 706〜步驟 707: CR 根据先前获取的业务订购信息, 判断用户 是否能够使用相应业务, 如果是, 则 OCS发送信用请求, 该信用请求中 携带有用户标识、业务信息、 费率信息等供 OCS确定信用信息的输入信 息, OCS收到信用请求后, 向 OCS返回信用响应, 该信用响应中携带 有信用信息,如 OCS计算的信用额度、信用额度是否充足等信息;否则, 直接执行步骤 708中的向 AF发送业务终止消息, 该业务终止消息中可 携带有终止原因。  Step 706 to step 707: The CR determines whether the user can use the corresponding service according to the previously obtained service subscription information. If yes, the OCS sends a credit request, where the credit request carries the user identifier, the service information, the rate information, etc. for the OCS. After determining the input information of the credit information, the OCS returns a credit response to the OCS after receiving the credit request, and the credit response carries the credit information, such as the credit quota calculated by the OCS, whether the credit quota is sufficient, etc.; otherwise, directly executing step 708 The service termination message is sent to the AF, and the service termination message may carry a termination reason.
步骤 708〜步驟 709:如果 OCS提供了信用额度或返回了信用充足信 息, 则 CRP向 AF发送业务继续消息, 然后记录相关信息, 如开始计费 信息的采集, AF收到 CR 发送的业务继续消息后, 向用户返回业务接 受消息,通知用户其业务请求已被接受,后续可执行步骤 710;如果 OCS 未提供信用额度或返回了信用不足信息 , 以及用户不能够使用相应业 务, 则 CRF向 AF发送业务终止消息, 该业务终止消息中可携带有终止 原因, AF收到 CR 发送的业务终止消息后, 向用户发送业务拒绝消息, 该业务拒绝消息中可携带有拒绝原因。 Step 708 to step 709: If the OCS provides the credit limit or returns the credit sufficient information, the CRP sends a service continuation message to the AF, and then records relevant information, such as collecting the collection of the charging information, and the AF receives the service continuation message sent by the CR. After returning a service acceptance message to the user, notifying the user that the service request has been accepted, and subsequently performing step 710; if OCS If the credit limit is not provided or the credit deficiency information is returned, and the user is unable to use the corresponding service, the CRF sends a service termination message to the AF, and the service termination message may carry the termination reason, and after the AF receives the service termination message sent by the CR, A service rejection message is sent to the user, and the service rejection message may carry a reason for rejection.
步骤 710〜步驟 711与步驟 608〜步骤 609相同。  Step 710 to step 711 are the same as steps 608 to 609.
在线计费情况下, 业务成功时, 若信用额度尚未使用完毕或业务失 败时, CRP还需向 OCS返回需要回补的信用额度,即 CRF向 OCS发送 信用回补消息, 该信用回补消息中用户标识、 业务信息、 需要回补的信 用额度等信息。 OCS收到信用回补消息后,将需要回补的信用额度回补, 然后可进一步向 CRP返回响应 (Ack ), 通知 CRF已将相应信用额度回 补。  In the case of online charging, when the service is successful, if the credit limit has not been used or the service fails, the CRP also needs to return the credit limit that needs to be replenished to the OCS, that is, the CRF sends a credit replenishment message to the OCS, in the credit replenishment message. User identification, business information, credit lines that need to be replenished, etc. After receiving the credit replenishment message, OCS will need to replenish the credit line, and then return a response (Ack) to CRP to inform CRF that the corresponding credit line has been replenished.
最后, CRF生成与业务使用情况相关的计费信息,并通过 CDF/CGF 将该计费信息上报至计费中心, 由计费中心为用户生成与业务使用情况 相关的业务费用清单。  Finally, the CRF generates charging information related to the service usage, and reports the charging information to the charging center through the CDF/CGF, and the charging center generates a business expense list related to the service usage situation for the user.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发 明的保护范围。  In summary, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、一种基于分组数据流计费的处理方法,其特征在于,该方法包含: CR 向 OCS发送信用请求, OCS向 CRF返回信用响应。  A processing method based on packet data stream charging, characterized in that the method comprises: the CR transmitting a credit request to the OCS, and the OCS returning a credit response to the CRF.
2、根据权利要求 1所述的方法, 其特征在于, 所述信用响应中携带 有信用额度或信用额度是否充足信息。  The method according to claim 1, wherein the credit response carries information on whether the credit limit or the credit limit is sufficient.
3、 根据权利要求 1所述的方法, 其特征在于, 该方法进一步包括: CRF向 OCS回退需要回补的信用额度, OCS将收到的所述信用额度回 补到用户的帐户上。  3. The method according to claim 1, wherein the method further comprises: the CRF rolling back a credit limit that needs to be replenished to the OCS, and the OCS replenishes the received credit limit to the user's account.
4、 根据权利要求 3所述的方法, 其特征在于, 所述 OCS收到需要 回补的信用额度, 之后进一步包括: OCS向 CR 返回用于通知 CR 已 收到需要回补的信用额度的响应。  The method according to claim 3, wherein the OCS receives a credit line that needs to be replenished, and then further includes: the OCS returns a response to the CR for notifying that the CR has received the credit line that needs to be replenished. .
5、一种基于分组数据流计费的处理方法,其特征在于,该方法包含: AF通知 CR 用户请求使用业务, CRF根据业务订购信息判断是否允许 用户使用业务, 如果是, 则通知 AF为用户提供所述业务; 否则, 通知 AF不为用户提供所述业务:  A processing method based on packet data stream charging, the method comprising: the AF notifying the CR user to request to use the service, the CRF determining whether to allow the user to use the service according to the service subscription information, and if yes, notifying the AF as the user Providing the service; otherwise, notifying the AF that the service is not provided to the user:
6、根据权利要求 5所述的方法, 其特征在于, 所述业务订购信息是 在用户订购业务时, 由 AF向 CRF提供的。  The method according to claim 5, wherein the service subscription information is provided by the AF to the CRF when the user subscribes to the service.
7、 根据权利要求 6所述的方法, 其特征在于, 所述 CRF收到 AF 提供的业务订购信息后, 进一步包括: CRF向 AF返回用于通知 AF已 收到业务订购信息的响应。  The method according to claim 6, wherein after receiving the service subscription information provided by the AF, the CRF further comprises: the CRF returning a response to the AF for notifying that the AF has received the service subscription information.
8、 根据权利要求 5所述的方法, 其特征在于, 所述通知 AF为用户 提供所述业务, 之前进一步包括: CRF开始计费信息的采集。  The method according to claim 5, wherein the notifying the AF to provide the service to the user, and further comprising: collecting the CRF starting charging information.
9、 根据权利要求 5所述的方法, 其特征在于, 所述通知 AF为用户 提供所述业务, 之后进一步包括: al、 AF通知 CRF用户的业务使用情况。 The method according to claim 5, wherein the notifying the AF provides the service to the user, and further comprising: Al, AF informs the CRF user of the business usage.
10、根据权利要求 9所述的方法, 其特征在于, 所述步驟 al之后进 一步包括: CRF向 AF返回用于通知 AF已收到业务使用情况的响应。  The method according to claim 9, wherein the step al further comprises: the CRF returning to the AF a response for notifying that the AF has received the service usage.
11、根据权利要求 9所述的方法, 其特征在于, 所述步骤 al之后进 一步包括:  The method according to claim 9, wherein the step al further comprises:
bl、 CRF停止计费信息的采集。  Bl, CRF stop charging information collection.
12、 根据权利要求 11所述的方法, 其特征在于, 所述步驟 bl之后 进一步包括: CRF向 CDF/CGF发送计费信息。  The method according to claim 11, wherein the step bl further comprises: the CRF sending the charging information to the CDF/CGF.
13、根据权利要求 5至 12任一所述的方法,其特征在于, 在线计费 情况下, 所述通知 AF为用户提供所述业务, 之前进一步包括: CRF向 OCS发送信用请求, OCS向 CRJF返回信用响应。  The method according to any one of claims 5 to 12, wherein, in the case of online charging, the notification AF provides the user with the service, and the method further comprises: sending a credit request to the OCS, the OCS to the CRJF Returns the credit response.
14、 根据权利要求 13所述的方法, 其特征在于, 所述步骤 al之后 进一步包括: CRF向 OCS回退需要回补的信用额度, OCS将收到的所 述信用额度回补到用户的帐户上。  The method according to claim 13, wherein the step a1 further comprises: the CRF retreating to the OCS a credit line that needs to be replenished, and the OCS replenishing the received credit line to the user's account. on.
15、 一种基于分组数据流计费的系统,'该系统包括:  15. A system based on packet data flow charging, 'the system comprises:
CRF与 TPF相连, 用于使 CR 向 TPF提供计费规则,  The CRF is connected to the TPF and is used to enable the CR to provide charging rules to the TPF.
TPF与 CDF/CGF相连,用于 TPF向 CDF/CGF提供对应于承载的计 费信息; '  The TPF is connected to the CDF/CGF and is used by the TPF to provide the CDF/CGF with billing information corresponding to the bearer;
其特征在于, 该系统中,  Characterized in the system,
AP与 CRF相连, 用于传送业务相关信息,  The AP is connected to the CRF and is used to transmit service related information.
CRF与 CDF/CGF相连, 用于 CRF向 CDF/CGF提供对应于业务的 计费信息。  The CRF is connected to the CDF/CGF and is used by the CRF to provide the CDF/CGF with billing information corresponding to the service.
16、 根据权利要求 15 所述的系统, 其特征在于, 所述 CR 与 CDF/CGF通过 Rz接口相连。  16. The system according to claim 15, wherein the CR and the CDF/CGF are connected through an Rz interface.
17、 根据权利要求 15或 16所述的方法, 其特征在于, 该系统进一 步包括: OCS, 与 TPF相连, 用于根据 TPF的请求向 TTPF提供信用信 17. Method according to claim 15 or 16, characterized in that the system is further The steps include: OCS, connected to the TPF, for providing a credit letter to the TTPF according to the request of the TPF
并与 CRF相连, 用于根据 CRP的请求向 CRJF提供信用信息。 And connected to the CRF, used to provide credit information to CRJF according to the CRP request.
PCT/CN2005/001897 2004-11-10 2005-11-10 A process method for charging based on the packet data flow WO2006050669A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200410090929.4 2004-11-10
CNB2004100909294A CN100527676C (en) 2004-11-10 2004-11-10 Processing method and system based on group data stream charge

Publications (1)

Publication Number Publication Date
WO2006050669A1 true WO2006050669A1 (en) 2006-05-18

Family

ID=36336213

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/001897 WO2006050669A1 (en) 2004-11-10 2005-11-10 A process method for charging based on the packet data flow

Country Status (2)

Country Link
CN (1) CN100527676C (en)
WO (1) WO2006050669A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8489756B2 (en) 2009-08-07 2013-07-16 Huawei Technologies Co., Ltd. Method, apparatus, and system for releasing resources
US9215333B2 (en) 2012-01-27 2015-12-15 Alcatel Lucent Charging of calls in a communication network

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237328B (en) * 2007-01-30 2012-07-04 朗迅科技公司 Method for configuring self-adapted module of offline charging system
CN101488864B (en) * 2008-01-14 2011-12-21 朗讯科技公司 Fee charging system and method used for communication network
CN101277204B (en) * 2008-04-23 2011-04-20 中兴通讯股份有限公司 Credit control method based on multi-service conversation
CN101316175B (en) * 2008-06-11 2011-03-02 中兴通讯股份有限公司 On-line charging method
CN101877843B (en) * 2009-04-28 2012-09-05 华为软件技术有限公司 Business data processing method, device and system thereof
CN102056117B (en) * 2009-11-03 2015-08-12 中兴通讯股份有限公司 Based on strategy and the charging method of charging control architecture and system
CN102111742B (en) * 2011-02-22 2014-04-16 中国联合网络通信集团有限公司 Packet switched domain service charging method and system
CN102957543B (en) * 2011-08-22 2016-08-17 中国电信股份有限公司 Charging method based on stream and system for duration user

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004012389A1 (en) * 2002-07-26 2004-02-05 Telefonaktiebolaget Lm Ericsson (Publ) Differentiated accounting in a packet data network
WO2004036890A1 (en) * 2002-09-20 2004-04-29 Nokia Corporation Method for charging of data reaching a network element of a communication network during a data session
WO2004036825A1 (en) * 2002-10-15 2004-04-29 Telefonaktiebolaget Lm Ericsson (Publ) System for providing flexible charging in a network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004012389A1 (en) * 2002-07-26 2004-02-05 Telefonaktiebolaget Lm Ericsson (Publ) Differentiated accounting in a packet data network
WO2004036890A1 (en) * 2002-09-20 2004-04-29 Nokia Corporation Method for charging of data reaching a network element of a communication network during a data session
WO2004036825A1 (en) * 2002-10-15 2004-04-29 Telefonaktiebolaget Lm Ericsson (Publ) System for providing flexible charging in a network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8489756B2 (en) 2009-08-07 2013-07-16 Huawei Technologies Co., Ltd. Method, apparatus, and system for releasing resources
US9215333B2 (en) 2012-01-27 2015-12-15 Alcatel Lucent Charging of calls in a communication network

Also Published As

Publication number Publication date
CN100527676C (en) 2009-08-12
CN1773922A (en) 2006-05-17

Similar Documents

Publication Publication Date Title
US7889650B2 (en) Method for establishing diameter session for packet flow based charging
US20070185809A1 (en) Method and system for processing online charging
US8798575B2 (en) Method for improving service data flow based charging and system thereof
CN1867024B (en) Charging information transmitting method
EP1777871B1 (en) A method for reducing the load of tpf
JP2013504909A (en) Distributing dynamic policy rules to end users according to end user account balances and service subscription levels in a communication network
EP1622304B2 (en) Method for selecting a charging rule in connection with subscriber
JP4402714B2 (en) How to handle event triggers and re-authentication triggers in flow-based billing
CN1277371C (en) Processing method based on block data flow charging re-discrimination weight
WO2006050669A1 (en) A process method for charging based on the packet data flow
WO2005099184A1 (en) A method for improving charging rules in packet data services and the operation thereof
CN101183956A (en) Intelligent network online billing interaction system and method
CN100401675C (en) A method for processing billing information
CN100546248C (en) A method for realizing packet data service charging and controlling service access
CN100438412C (en) Method for processing charging key
WO2006015543A1 (en) A processing method for re-authorization and re-authorization event and event triggers
CN100397821C (en) Processing method based on packet data flow charging
WO2006060964A1 (en) A system and processing method for charging based on the packet data flow
CN100362794C (en) A Credit Control Method Based on Service Data Flow Online Charging
CN101159567A (en) A processing method in charging based on packet data flow
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): BW GH 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
122 Ep: pct application non-entry in european phase

Ref document number: 05808226

Country of ref document: EP

Kind code of ref document: A1