CN101145917A - A processing method for billing key - Google Patents

A processing method for billing key Download PDF

Info

Publication number
CN101145917A
CN101145917A CN 200710181491 CN200710181491A CN101145917A CN 101145917 A CN101145917 A CN 101145917A CN 200710181491 CN200710181491 CN 200710181491 CN 200710181491 A CN200710181491 A CN 200710181491A CN 101145917 A CN101145917 A CN 101145917A
Authority
CN
China
Prior art keywords
charging
tpf
ocs
key
credit line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200710181491
Other languages
Chinese (zh)
Inventor
段小琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200710181491 priority Critical patent/CN101145917A/en
Publication of CN101145917A publication Critical patent/CN101145917A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for processing charging keys. The method includes that: when TPF establishes a charging rule in online charging, according to the charging keys in the charging rule, determine whether OCS has been request for the credit limit for the charging keys, and if not, TPF delivers a credit request to OCS; when TPF deletes the charging rule, according to the charging key in the charging rule, determine whether other charging rules except the charging rule needed to be deleted use the credit limit requested for the charging key, and if not, TPF returns the remained credit limit for the charging key to OCS; besides, OCS provides the re-authentication incident for the charging key to TPF, when TPF detects the occurrence of the re-authentication incident, TPF returns the remained credit limit after the charging key corresponding to the re-authentication incident consumes the credit limit. According to the technical proposal in the invention, the interaction between TPF and OCS can be effectively reduced, the processing performance of TPF and OCS can be enhanced, and the practicability in the whole online charging process can be increased.

Description

A kind of method that the charging key is handled
Technical field
The present invention relates to grouped data charging field, be meant a kind of method that the surface function entity is handled charging regulation of transmitting especially.
Background technology
Along with Packet data service use extensive gradually, how reasonably and accurately Packet data service to be chargeed, become operator's question of common concern.
Fig. 1 shows block data protocol context (PDP Context, Packet Data ProtocolContext) activation, transfer of data, deexcitation flow chart, as shown in Figure 1, at GPRS (GPRS, General Packet Radio Service) in, the implementation procedure that activates PDP Context, carries out data interaction, this PDPContext of deexcitation with external packet data network (PDN, Packet Data Network) may further comprise the steps:
Step 101: portable terminal (MS) is to service universal grouping wireless business supporting node (SGSN, Serving GPRS Support Node) sends PDP Context and activate request (Activate PDPContext Request), carry network layer Operational Visit point identification (NSAPI among this Activate PDP Context Request, Network Layer Service Access Point Identifier), the PDP type, APN (APN, Access Point Name), service quality (QoS) parameter that requires, Transaction Identifier (TI, Transaction Identifier) information such as, wherein, NSAPI is at SGSN and ggsn (GGSN, Gateway GPRS Support Node) between as Tunnel Identifier (TID, Tunnel Identifier) part is used to identify PDPContext; The PDP type comprises end-to-end protocol (PPP, Peer-Peer Protocol) type, Internet protocol (IP, Internet Protocol) type etc.; APN can be provided to SGSN by MS, and SGSN is addressed to corresponding GGSN according to APN, and GGSN determines the external network that MS will visit according to APN, and MS can not provide APN to SGSN yet, at this moment, selects default APN by SGSN according to MS user's CAMEL-Subscription-Information; Qos parameter is the quality requirement that the Packet data service of MS appointment will reach; TI is used for MS and identifies certain PDP context.
Step 102:SGSN carries out security inspection and encryption with MS after receiving Activate PDP Context Request, and this step is an optional step.
Step 103:SGSN resolves the address information of GGSN according to APN, if SGSN can parse the address information of GGSN according to APN, then create TEID for PDP Context, this TEID can be IMSI International Mobile Subscriber Identity (IMSI, International Mobile Subscriber Identity) with the combination of NSAPI, SGSN sends PDP Context request to create (Create PDPContext Request) to GGSN then, carry the PDP type in this PDP Context request to create, pdp address, APN, qos parameter, TEID, preference pattern etc., wherein, pdp address can be the IP address of MS, be optional parameters, can not carry pdp address in the PDP Context request to create, at this moment, in follow-up processing procedure, can be MS distributing IP address by GGSN, also the PDN that can be connected by final and MS be MS distributing IP address; Preference pattern is meant the preference pattern of APN, and promptly APN is that selected by MS or selected by SGSN.If SGSN can't parse the address information of GGSN according to APN, then the PDP Context of SGSN refusal MS initiation activates request.
After step 104:GGSN receives PDP Context request to create, determine outside PDN according to APN, distribute charging identifier (Charging ID) then, start and charge, and consult QoS, if GGSN can satisfy the quality of service requirement of qos parameter, then return PDP Context to SGSN and create response (Create PDP Context Response), this PDP Context creates in the response and carries information such as TEID, pdp address, link bearer (Backbone Bearer) agreement, the qos parameter of deciding through consultation, Charging ID.If GGSN can't satisfy the quality of service requirement of qos parameter, the then PDP Context request to create of GGSN refusal SGSN initiation, the PDP Context activation request of SGSN refusal MS initiation then.
After step 105:SGSN receives that PDP Context creates response, in PDP Context, insert NSAPI and the GGSN address information that is used to identify PDP Context, and according to the qos parameter selection radio priority of deciding through consultation, return PDP Context to MS then and activate response (Activate PDPContext Accept), this PDP Context activates in the response and carries information such as PDP type, pdp address, TI, the qos parameter of deciding through consultation, radio priority, PDP config option.And SGSN starts charging.MS receives that PDP Context activates response, has just set up the direct route of MS and GGSN, can carry out transmission of packet data.
Step 106:MS carries out the mutual of grouped data by SGSN, GGSN and PDN.
Step 107: after the end of packet data interaction, MS sends PDP Context deexcitation request (Deactivate PDP Context Request) to SGSN, carries TI in this PDP Context deexcitation request.
Step 108:SGSN carries out security inspection and encryption with MS after receiving PDP Context deexcitation request, and this step is an optional step.
Step 109~step 111:SGSN sends PDP Context removal request (DeletePDP Context Request) to GGSN, carries TEID in this PDP Context removal request.After GGSN receives PDP Context removal request, end is to the charging of MS, deletion sends PDP Context deletion response (Delete PDP ContextResponse) to SGSN then corresponding to the PDPContext of TEID, carries TEID in this PDP Context deletion response.After SGSN receives PDP Context deletion response, end is to the charging of MS, deletion sends PDP Context deexcitation response (Deactivate PDP Context Response) to MS then corresponding to the PDP Context of TEID, carries TI in this PDP Context deexcitation response.After MS received PDP Context deexcitation response, deletion was corresponding to the PDP Context of TI.
The implementation procedure of being described by Fig. 1 as seen, in the current GPRS charge system, because when the starting point of chargeing is arranged on PDP Context activation, when the terminating point that charges is arranged on PDP Context deletion, therefore can only charge according to PDP Context data flow transmitted amount, or charge according to the time span that PDP Context is in state of activation.Yet, in actual applications, after MS and PDN carry out data interaction, this MS can carry out multiple business based on the PDP Context of an activation, that is to say, if PDN can provide multiple business, as Email (Email) transmitting and receiving service, (WAP based on WAP (wireless application protocol), Wireless Application Protocol) browse service, based on file transfer protocol (FTP) (FTP, File Transfer Protocol) business such as file transfer, then MS can carry the miscellaneous service that this PDN can provide by the PDP Context of an activation after setting up transmission channel with this PDN.But, operator adopts different charging ways probably for the charge mode of miscellaneous service, as receiving and the triggering pay-per-use of the incident of transmission based on Email for the Email transmitting and receiving service, can be for the WAP browse service according to charge on traffic, also can be for the file transfer business according to charge on traffic, the rate of the rate of WAP browse service and file transfer business but is not quite similar, like this, according to existing GPRS charge system, can't distinguish charging to the different business of same PDP Context carrying at all.
At above-mentioned situation, third generation partner program (3GPP, The 3rd GenerationPartnership Proiect) is being discussed the charging (FBC, FlowBased Charging) that how to realize based on IP traffic at present.For a Packet data service, when the user of MS uses this business, transmission and all IP traffics (IP Flow) that receive, also can be IP grouping bag (IP packet), be generically and collectively referred to as business data flow (Service Data Flow), be that business data flow is the set that a plurality of IP traffics are formed, therefore the charging based on IP traffic can truly reflect the take situation of certain business data flow to resource.The filter that can be considered to by some similar sieves based on the charging of IP traffic screens the IP traffic of the different business that carries among the same PDP Context respectively, the IP traffic that filters out at different filters charges respectively then, to reach the purpose that different business data flows is chargeed respectively.Like this, to be far smaller than charging granularity based on the charging granularity of IP traffic based on a PDPContext, granularity can be regarded the size in sieve hole as, charging granularity based on a PDP Context is that a PDP Context is exactly a sieve hole, charging granularity based on IP traffic then is that an IP operation data flow then is a sieve hole, promptly at comprising a plurality of sieves hole among the PDP Context, therefore, based on the charging of IP traffic with than comparing based on the charging of a PDP Context, can provide the more charging means of horn of plenty for operator or service supplier based on the charging of IP traffic.
Among the 3GPP to the system configuration of FBC, aspect such as functional requirement and message interaction process all is described, the FBC system configuration of supporting online charging is shown in Fig. 2 A, (CAMEL is used in the customization that strengthens logic based on the mobile network, Customised Application for Mobile NetworkEnhanced Logi1c) service control point (SCP, Service Control Point) 201 and based on the credit control function entity (CCF of service data flow charge, Service Data Flow Based CreditControl Function) 202 have formed Online Charging System (OCS, Online Charging System) 206.CCF 202 is by Ry interface and charging regulation function entity (CRF based on service data flow charge, Service Data Flow Based Charging Rule Function) 203 intercommunications, CRF 203 is by Rx interface and Application Function (AF, Application Function) 204 intercommunications, CRF 203 is by Gx interface and transmission surface function entity (TPF, Traffic Plane Function) 205 intercommunications, CCF 202 is by Gy interface and TPF 205 intercommunications.
The FBC system configuration of supporting offline charging is shown in Fig. 2 B, CRF 203 is by Rx interface and AF 204 intercommunications, CRF 203 is by Gx interface and TPF 205 intercommunications, TPF 205 by the Gz interface respectively with charging gateway function body (CGF, Charging Gateway Function) 207 and Charging Collection Function entity (CCF, Charging Collection Function) 208 intercommunications.
TPF 205 carrying IP traffics, when the carrying of IP traffic is set up, TPF 205 sends the charging regulation request by the Gx interface to CRF 203, the information that carries the information relevant, bearer properties in this charging regulation request and be correlated with etc. with network with user and MS, wherein relevant with user and MS information can be travelling carriage international number (MSISDN), IMSI International Mobile Subscriber Identity (IMSI) etc., and the information relevant with network can be mobile network's coding (MNC), Mobile Country Code MCC (MCC) etc.In addition, because in the IP traffic transmission course, can make amendment to carrying, as qos parameter is consulted again, the qos parameter that uses same business as the user not simultaneously, charging regulation may be different, also descend as the qos parameter corresponding rate that descends.At this moment, TPF 205 can send charging regulation request, the charging regulation that please look for novelty to CRF 203 again when bearing modification; CRF 203 selects suitable charging regulation according to the above-mentioned input information that TPF 205 provides, and return selected charging regulation to TPF 205, comprise information such as billing mechanism, charge type, charging key (Charging Key), business datum flow filter, charging regulation priority in the charging regulation.Wherein, billing mechanism can be and adopts online charging or offline charging; Charge type can be to charge based on time span and also is based on data traffic and charges; The charging key is the parameter relevant with rate, and CRF 203 can directly not provide rate to TPF 205, and just provides the parameter relevant with rate to TPF 205; The business datum filter is used to indicate TPF205 which IP traffic is filtered, and TPF 205 charges to the IP traffic that filters out according to charging regulation then.The business datum filter can comprise the IP5 tuple, the IP5 tuple can comprise source/purpose IP address, source/destination slogan (Port Number), protocol-identifier information such as (Protocol ID), for example, 205 pairs of source addresses of CRF 203 indication TPF are that 10.0.0.1, destination address are that the IP traffic that 10.0.0.2, source/destination slogan are 20, protocol type is transmission control protocol (TCP) filters, and according to charging regulation the IP traffic that filters out are chargeed.
CRF 203 can provide trigger event (Event Trigger) to TPF 205, in order to require TPF 205 when particular event takes place, the charging regulation that please look for novelty to CRF 205, when the incident that requires TPF 205 to make amendment in some carrying as CRF 203 takes place, the charging regulation that please look for novelty to CRF 203.Trigger event can be considered the incident relevant with charging regulation.At present, report the charging way of mechanism control TPF to be described CRF by trigger event in the 3GPP standard, be to report to CRF after TPF monitors the trigger event generation, the trigger event that CRF reports by TPF knows that carrying changes, and determines that then corresponding charging regulation also is handed down to TPF.The trigger event that defines in the 3GPP standard can comprise: Public Land Mobile Network network (PLMN) changes (PLMN change) incident, qos parameter changes (QoSchanges) incident, wireless access technology (RAT) type changes (RAT type change) incident, and transmission stream template (TFT) changes (TFT change) incident.
CRF 203 selects the suitable charging regulation except the input information that provides according to TPF 205, CRF 203 also can select suitable charging regulation according to the input information of AF 204 or OCS 206, as the type of service of the current use of AF 204 notice CRF 203 users, CRF 203 selects corresponding charging regulation according to this type of service.
OCS 206 is as Online Charging System, form by SCP 201 and 202 two functional entitys of CCF (Service Data FlowBased Credit Control Function), wherein, CCF (ServiceData Flow Based Credit Control Function) the 202nd carries out the functional entity that credit is controlled, only be applied to Online Charging System, can realize by in existing OCS 206, increasing new function.In the online charging process, 202 pairs of user credits of CCF (Service Data Flow Based Credit Control Function) manage and control, when the user uses business, credit in 202 pairs of these user credit ponds of CCF (Service Data FlowBased Credit Control Function) is carried out authentication, and issues the credit that the user can use by the Gy interface to TPF 205.
In addition, OCS 206 can require TPF 205 to report to it when discrimination weight incident (Re-authorisation triggers) takes place, OCS 206 carries out discrimination weight according to the corresponding discrimination weight incident that TPF 205 reports to the user then, and may recomputate user's credit.For example, OCS 206 finishes using to the user credit that TPF 205 provides, TPF 205 needs according to the expired incident of permission credit in the discrimination weight incident, report the user credit of its permission to use the generation of expired incident to OCS 206, OCS 206 remains account information according to the user, again the credit that allows the user to use is calculated.Again for example, when charge in the subregion, OCS 206 determines rate according to the current position of user, and calculates user's credit according to this rate; When the user moves to the another location, change as PLMN, TPF 205 need be according to the PLMN change events in the discrimination weight incident, report the generation of PLMN change events to OCS 206, current position after OCS206 upgrades according to the user redefines rate, and recomputates user's credit.Again for example, when OCS 206 uses professional current QoS parameter to determine rate according to the user, when the user makes amendment to qos parameter, TPF 205 need be according to the bearing modification incident in the discrimination weight incident, report the generation of bearing modification incident to OCS 206, OCS 206 determines rate according to the qos parameter after the user's modification, and recomputates user's credit.
In addition, also OCS is described by the credit operating position of the mechanism control TPF of discrimination weight reporting events in the 3GPP standard, be to report to OCS after TPF monitors the generation of discrimination weight incident, the discrimination weight incident that OCS reports by TPF, know user's the credit operating position and the variation of carrying, TPF is calculated and be handed down to user's credit again.The discrimination weight incident that defines in the 3GPP standard can comprise: allow credit expired (credit authorization lifetime expiry) incident, user's idle condition overtime (idle timeout) incident, charging regulation changes (charging rule iS changed) incident, the PLMN change events, the qos parameter change events, RAT type change events, transmission stream template change events etc.
Corresponding to GPRS network, TPF 205 is GGSN, and AF is Service Gateway or the service server among the PDN, and CRF 203 is newly-increased logic entity.TPF 205 is the execution point of charging regulation, and CRF 203 is the control point of charging regulation.
For charging based on business data flow, in the online charging process, the mode of the request credit line of describing in the 3GPP standard is based on that each charging regulation (Charging Rule) carries out, the specific implementation process is: after TPF receives the charging regulation that CRF provides, according to the online charging mechanism in the charging regulation, determine need for this charging regulation when the OCS request credit line, TPF is directly to the credit line of OCS request at this charging regulation.
But, CRF is at different business data flows to the charging granularity of the charging regulation that TPF provides, like this, during online charging, it is mutual that TPF need carry out online charging at each business data flow, promptly all need to OCS request credit line at each business data flow TPF, OCS is according to the credit request of TPF, need all distribute corresponding credit line to each business data flow, and be handed down to TPF, because same user can use a plurality of business simultaneously, thereby produce a plurality of business data flows, therefore, thisly carry out the mutual treatment mechanism of online charging based on different business data flows and will inevitably make that TPF and OCS's is too frequent alternately, cause the handling property of TPF and OCS to descend, thereby the practicality of whole online charging processing procedure is reduced greatly.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method that the charging key is handled, improve the handling property of TPF and OCS.
In order to achieve the above object, the invention provides a kind of method that the charging key is handled, under the online charging situation, when TPF set up charging regulation, this method comprised:
A, TPF be according to the charging key in the charging regulation, judge whether to have asked credit line at this charging key to OCS, if not, then TPF sends credit request to OCS.
Described TPF judges to OCS and has asked credit line at this charging key, and further comprise afterwards: TPF does not send credit request to OCS, directly uses the credit line at this charging key of asking.
Described TPF directly uses the credit line at this charging key of asking, and further comprises: TPF record and the corresponding charging regulation information of described charging key of asking credit line.
TPF sends credit request to OCS described in the steps A, further comprises afterwards:
A1, OCS return credit line to TPF.
Further comprise after the described steps A 1: the charging key information of credit line asked in the TPF record to OCS.
Further comprise after the described steps A 1: TPF record and the corresponding charging regulation information of described charging key of asking credit line.
The invention also discloses a kind of method that the charging key is handled, it is characterized in that, OCS provides discrimination weight incident at the charging key, TPF to monitor the discrimination weight incident when taking place to TPF, and this method further comprises:
B, the TPF residue credit line after OCS returns described and the corresponding charging key of discrimination weight incident consumed credits amount.
Further comprise before the described step B: TPF record and the corresponding discrimination weight event information of described charging key.
Further comprise after the described step B: OCS carries out discrimination weight, provides the credit line at this charging key that recomputates to TPF then.
The present invention discloses a kind of method that the charging key is handled again, it is characterized in that, under the online charging situation, during TPF deletion charging regulation, this method comprises:
C, TPF be according to the charging key in the charging regulation, the credit line that judges whether to exist the charging regulation use except that the charging regulation of needs deletion to arrive at this charging key request, if not, then TPF returns residue credit line at this charging key to OCS.
Further comprise after the described step C: the charging regulation of TPF deletion needs deletion.
According to the proposed method, the mode of TPF request credit line is based on that each charging key carries out.Because different business data flows can have identical charging rate, that is, can have identical charging key for different charging regulations, therefore based on the granularity of the credit line request of each charging key greater than credit line request based on every charging regulation.Like this,, can effectively reduce mutual between TPF and the OCS, promote the handling property of TPF and OCS, strengthen the practicality of whole online charging processing procedure by realizing the processing procedure of TPF based on each charging key request credit line.
Description of drawings
Fig. 1 shows PDP Context activation, transfer of data, deexcitation flow chart;
Fig. 2 A shows the FBC system construction drawing of supporting online charging;
Fig. 2 B shows the FBC system construction drawing of supporting offline charging;
Fig. 3 shows among the present invention based on charging key request credit line processing procedure schematic diagram;
Fig. 4 shows among the present invention the discrimination weight processing procedure schematic diagram based on the charging key.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Among the present invention, the mode of TPF request credit line is based on that each charging key carries out, be that TPF is with the index of charging key as charging regulation, charging regulation with identical charging key is carried out record, make when setting up charging regulation, delete charging regulation and reporting the discrimination weight incident, can carry out batch process to charging regulation according to identical charging key, realize the processing procedure of TPF based on each charging key request credit line.
After TPF receives the charging regulation that CRF provides, set up new charging regulation if desired, then TPF judges at first whether the billing mechanism in the charging regulation that needs to set up is online charging, if be online charging, then further according to the charging key in this charging regulation, judge whether to have asked credit line at this charging key to OCS, if do not ask credit line to OCS at this charging key, then TPF sends credit request to OCS, carry this charging key in this credit request, after OCS calculates user's credit line according to this charging key, return credit response, carry promising credit line of should the charging key distributing in this credit response to TPF.At this moment, TPF record asked credit line the charging key and with the corresponding relation of corresponding charging regulation, and can further write down the credit line that OCS distributes at this charging key.For example, TPF sets up the tabulation of online charging interactive information, " ask the charging key item of credit line " in the tabulation and write down this charging key, as Charging Key A, the credit line that corresponding " credit line item " record OCS distributes at Charging Key A, as 100M, corresponding " charging regulation item " record charging regulation sign is as Charging Rule 1.If asked credit line at this charging key to OCS, for example TPF is according to having this charging key in " having asked the charging key item of credit line " in the tabulation of online charging interactive information, as Charging Key A, then judged before and asked credit line according to this charging key to OCS, then TPF is no longer to OCS request credit line, directly use the credit line of before having asked to OCS, be i.e. be credit line 100M among the Charging Key A corresponding " credit line item " with " having asked the charging key item of credit line " in the online charging interactive information tabulation at this charging key.Then, TPF record asked credit line the charging key and with the corresponding relation of this charging regulation, promptly in the online charging interactive information tabulation of setting up, with " having asked the charging key item of credit line " sign, as Charging Rule 2 for this charging regulation of record among the Charging Key A corresponding " charging regulation item ".Like this, tabulate according to the online charging interactive information, the business data flow that filters out at charging regulation Charging Rule 1 and charging regulation Charging Rule 2 all will consume the pairing credit line 100M of Charging Key A, as in some moment, when TPF monitors business datum flow size sum that business datum flow size that Charging Rule 1 filters out and Charging Rule 2 filter out when reaching credit line 100M, TPF will initiate the discrimination weight flow process, send credit request to OCS, request OCS is that Charging Key A distributes corresponding credit line.
After TPF receives the charging regulation that CRF provides, when deleting charging regulation if desired, then TPF judges at first whether the billing mechanism in the charging regulation that needs deletion is online charging, if be online charging, then further according to the charging key in this charging regulation, judge whether to exist other charging regulations except that the charging regulation that needs deletion to use the credit line that arrives at this charging key request, as when the charging key among the charging regulation Charging Rule 1 that needs deletion is Charging Key A, TPF judge in the online charging interactive information tabulation with the charging regulation sign of " having asked the charging key item of credit line " charging key Charging KeyA corresponding " charging regulation item " record whether except Charging Rule 1, the charging regulation sign that also has other, if there are not other charging regulation signs, then TPF deletes the charging regulation of CRF appointment, no longer the business data flow to this charging regulation appointment filters, upgrade the corresponding information in the tabulation of online charging interactive information, as the charging key Charging Key A of deletion in " having asked the charging key item of credit line " with and pairing " credit line item " in charging regulation sign in credit line and " the charging regulation item ", and TPF returns and the corresponding residue credit line of this charging key to OCS, finishes between TPF and the OCS interactive operation at this charging key; If judging, TPF also have other charging regulations to use the credit line that arrives at this charging key request, be that the charging regulation sign that writes down with " having asked the charging key item of credit line " charging key Charging Key A corresponding " charging regulation item " in the tabulation of online charging interactive information also has other charging regulation signs except ChargingRule 1, then TPF deletes the charging regulation of CRF appointment, as Charging Rule 1, no longer the business data flow to this charging regulation appointment filters, upgrade the corresponding information in the tabulation of online charging interactive information, as charging key in deletion and " having asked the charging key item of credit line " is charging regulation sign Charging Rule 1 among the Charging Key A corresponding " charging regulation item ", does not return the pairing residue credit line of this charging key to OCS.
In addition, according to above processing mode based on each charging key request credit line, the processing of discrimination weight flow process also can be based on each charging key.When TPF sends credit request to OCS, when OCS returned the credit response to TPF, OCS also can further provide the discrimination weight incident except providing the credit line to TPF.This moment TPF can write down the charging key of having asked credit line and with the corresponding relation of corresponding discrimination weight incident, for example, charging key at " having asked the charging key item of credit line " record in the tabulation of online charging interactive information, as Charging Key A, the discrimination weight incident that record OCS issues in corresponding with it " discrimination weight event items ", this discrimination weight incident can be one or more, as PLMN change events, TFT change events etc.OCS can issue identical discrimination weight incident at different charging keys, all issues the discrimination weight incident that PLMN changes as OCS at Charging Key A and Charging Key B.When TPF monitored the generation of discrimination weight incident, TPF searched and the corresponding charging key of discrimination weight incident that takes place, the residue credit line after OCS returns this charging key consumed credits amount then.As the PLMN change events taken place, TPF arrives and this PLMN change events corresponding Charging Key A and Charging Key B according to the information searching of record in the tabulation of online charging interactive information, then TPF stops Charging Key A and the Charging Key B filtration of the business data flow of corresponding charging regulation appointment respectively, calculate at the residue credit line after Charging Key A and the Charging Key B consumed credits amount and to OCS and return, request OCS redistributes the credit line that is directed to Charging Key A and Charging Key B at this discrimination weight incident.After OCS executes discrimination weight, provide the credit line that is directed to the charging key that recomputates to TPF, TPF uses the credit operating position of the business data flow of the new corresponding charging regulation appointment of credit line monitoring charging key then.For example, OCS provides the credit line that calculates at Charging KeyA and Charging Key B to TPF respectively, after the new credit line of TPF acquisition at Charging Key A, TPF filters at the business data flow with the corresponding charging regulation appointment of Charging Key A, whether the monitoring business data flow reaches credit line, after reaching credit line, trigger the expired discrimination weight incident of credit that allows, TPF carries out the discrimination weight flow process once again, and request OCS recomputates new credit line at Charging Key A.Equally, after the new credit line of TPF acquisition at ChargingKey B, TPF carries out and at the similar operation of Charging Key A, repeats no more here.
Fig. 3 shows among the present invention based on charging key request credit line processing procedure schematic diagram, as shown in Figure 3, may further comprise the steps based on the processing procedure of charging key request credit line:
Step 301~step 302:CRF can be according to the information of receiving from external entity, for example, CRF receives the message such as carrying foundation, modification or deletion from TPF, or CRF receives the input information relevant with charging regulation that AF or OCS provide, the charging regulation that selection need provide to TPF, CRF can require TPF to set up new charging regulation, also can require the original charging regulation of TPF deletion, also can require TPF that original charging regulation is made amendment.CRF provides selected charging regulation to TPF, and indication TPF carries out corresponding operating to charging regulation.
After step 303~step 304:TPF receives charging regulation, charging regulation is carried out corresponding operating, as setting up, revise or the deletion charging regulation according to charging regulation operation indication.Under the online charging situation, if TPF sets up new charging regulation or revises original charging regulation, then according to the charging key in this charging regulation, judge whether to have asked credit line according to corresponding charging key to OCS, if, then TPF is no longer to OCS request credit line, directly use the credit line of before having asked to OCS at this charging key, promptly this business data flow will consume the credit line that TPF had before asked to OCS at this charging key, TPF record and the corresponding charging regulation information of charging key of asking credit line identify as charging regulation then; Otherwise, execution in step 305.Under the online charging situation, if TPF is the original charging regulation of deletion, then according to the charging key in this charging regulation, judge whether to exist other charging regulations to use the credit line that arrives at this charging key request, the charging regulation that whether except that the charging regulation that needs deletion, also has other as judgement and the corresponding charging regulation of this charging key, if, then directly delete this charging regulation, no longer the business data flow to this charging regulation appointment filters; Otherwise TPF stops the business data flow of this charging regulation appointment is filtered, and deletes this charging regulation, and returns residue credit line at this charging key to OCS, finishes between TPF and the OCS interactive operation at this charging key.
Step 305~step 306:TPF sends credit request (Credit Request) to OCS, carries the charging key of this charging regulation in this credit request, and request OCS provide credit line at this charging key.After OCS receives credit request,, return credit response (Credit Response) to TPF then, carry the credit line of distribution in this credit response according to charging key calculating user's credit line.After TPF receives the credit response, the credit line monitoring that use is received and the credit operating position of the business data flow of the corresponding charging regulation appointment of charging key.
Fig. 4 shows among the present invention based on the discrimination weight processing procedure schematic diagram of charging key, and as shown in Figure 4, the processing procedure of carrying out discrimination weight based on the charging key may further comprise the steps:
Whether step 401:TPF monitoring discrimination weight incident takes place, if then execution in step 402; Otherwise, return execution in step 401.
Step 402~step 403:TPF searches and the corresponding charging key of discrimination weight incident that takes place, send credit and re-authentication requests (Credit Request and re-authorisationRequest) to OCS then, carry the residue credit line after this charging key consumed credits amount in this credit and the re-authentication requests.After OCS receives credit and re-authentication requests, carry out discrimination weight, recomputate credit line at this charging key, return credit and discrimination weight response (Credit Response andre-authorisation Response) to TPF then, carry new credit line in this credit and the discrimination weight response.After TPF receives credit and discrimination weight response, use the new credit line monitoring and the credit operating position of the business data flow of the corresponding charging regulation appointment of charging key.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (11)

1. the method that the charging key is handled is characterized in that, under the online charging situation, when TPF set up charging regulation, this method comprised:
A, TPF be according to the charging key in the charging regulation, judge whether to have asked credit line at this charging key to OCS, if not, then TPF sends credit request to OCS.
2. method according to claim 1, it is characterized in that, described TPF judges to OCS and has asked credit line at this charging key, and further comprise afterwards: TPF does not send credit request to OCS, directly uses the credit line at this charging key of asking.
3. method according to claim 2 is characterized in that, described TPF directly uses the credit line at this charging key of asking, and further comprises: TPF record and the corresponding charging regulation information of described charging key of asking credit line.
4. method according to claim 1 is characterized in that TPF sends credit request to OCS described in the steps A, further comprises afterwards:
A1, OCS return credit line to TPF.
5. method according to claim 4 is characterized in that, further comprises after the described steps A 1: the charging key information of credit line asked in the TPF record to OCS.
6. according to claim 4 or 5 described methods, it is characterized in that, further comprise after the described steps A 1: TPF record and the corresponding charging regulation information of described charging key of asking credit line.
7. the method that the charging key is handled is characterized in that, OCS provides discrimination weight incident at the charging key, TPF to monitor the discrimination weight incident when taking place to TPF, and this method further comprises:
B, the TPF residue credit line after OCS returns described and the corresponding charging key of discrimination weight incident consumed credits amount.
8. method according to claim 7 is characterized in that, further comprises before the described step B: TPF record and the corresponding discrimination weight event information of described charging key.
9. method according to claim 7 is characterized in that, further comprise after the described step B: OCS carries out discrimination weight, provides the credit line at this charging key that recomputates to TPF then.
10. the method that the charging key is handled is characterized in that, under the online charging situation, during TPF deletion charging regulation, this method comprises:
C, TPF be according to the charging key in the charging regulation, the credit line that judges whether to exist the charging regulation use except that the charging regulation of needs deletion to arrive at this charging key request, if not, then TPF returns residue credit line at this charging key to OCS.
11. method according to claim 10 is characterized in that, further comprises after the described step C: the charging regulation of TPF deletion needs deletion.
CN 200710181491 2004-11-10 2004-11-10 A processing method for billing key Pending CN101145917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710181491 CN101145917A (en) 2004-11-10 2004-11-10 A processing method for billing key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710181491 CN101145917A (en) 2004-11-10 2004-11-10 A processing method for billing key

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CNB200410090928XA Division CN100438412C (en) 2004-11-10 2004-11-10 Method for processing charge metering key

Publications (1)

Publication Number Publication Date
CN101145917A true CN101145917A (en) 2008-03-19

Family

ID=39208234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710181491 Pending CN101145917A (en) 2004-11-10 2004-11-10 A processing method for billing key

Country Status (1)

Country Link
CN (1) CN101145917A (en)

Similar Documents

Publication Publication Date Title
CN1319317C (en) Dialogue building method based on packet data flow charging
CN1327652C (en) On-line charge processing method
CN101047988B (en) Strategy and charging control method at user roaming state
EP1720300B1 (en) A method for improving charging rules in packet data services and the operation thereof
JP4402714B2 (en) How to handle event triggers and re-authentication triggers in flow-based billing
EP1804419B1 (en) A method for processing the re-authorisation based on the charging of the packet data flow
US20120033560A1 (en) Method for controlling charging of packet data service
CN101369917B (en) Method, system and apparatus for expanding policy and charging control rules
WO2006050669A1 (en) A process method for charging based on the packet data flow
CN100401675C (en) Method for processing charged information
CN101159567A (en) Processing method in packet based data flow charging
CN100397821C (en) Packet data stream charging based processing method
CN100438412C (en) Method for processing charge metering key
CN100546248C (en) A kind of method that realizes Packet data service charging and control service access
WO2006015543A1 (en) A processing method for re-authorization and re-authorization event and event triggers
WO2006060964A1 (en) A system and processing method for charging based on the packet data flow
CN101145917A (en) A processing method for billing key
CN100542097C (en) A kind of dialogue distribution method based on the grouped data flow based charging
CN100362794C (en) Credit control method online charging based on traffic data steam

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080319