CN105099718B - The method and apparatus of allocated quotas in online charging system - Google Patents
The method and apparatus of allocated quotas in online charging system Download PDFInfo
- Publication number
- CN105099718B CN105099718B CN201410174280.8A CN201410174280A CN105099718B CN 105099718 B CN105099718 B CN 105099718B CN 201410174280 A CN201410174280 A CN 201410174280A CN 105099718 B CN105099718 B CN 105099718B
- Authority
- CN
- China
- Prior art keywords
- dapq
- quota
- response message
- effective time
- threshold value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Telephonic Communication Services (AREA)
- Meter Arrangements (AREA)
Abstract
The present invention provides the scheme of allocated quotas in online charging system.OCF receives the first request message from CTF forwarded via APM;Then, it is ongoing session allocated quotas, and according to the real time billing information of subscriber or the current value of the sensitive data according to subscriber, generates DAPQ;Then, OCF sends the first response message to APM, in first response message includes the effective time of OCF allocated quota and the quota, and the effective time of the DAPQ and the DAPQ generated.The effective time for the DAPQ and the DAPQ in the first response message that APM storage receives, and first response message is forwarded to CTF.APM judges whether it receives the second response message from OCF in predetermined time period, in second response message includes new quota and the effective time of the new quota of OCF distribution, and the effective time of the new DAPQ and the new DAPQ generated;If it is not, then for the DAPQ of the last storage of session distribution, and the effective time of the DAPQ He the DAPQ are sent to CTF.
Description
Technical field
The present invention relates to the method and apparatus of allocated quotas in online charging system more particularly to online charging system.
Background technique
Online charging system (Online Charging System, OCS) provides such a mechanism: charge information warp
By the real-time service access of direct reciprocal effect of the control with Internet usage.That is, the mirror of Internet usage
Power must be obtained before real resource is using generation by network.Further, since the authentication that resource uses may be within its scope
(for example, data volume or duration) is limited, and therefore, as long as the Internet usage of user continues, authentication needs frequently
Ground updates.
The billing mechanism provides following benefit: ensuring Internet resources before real resource use.But the mechanism
May also lead to the delay of business, if the authentication due to online charging functional entity (Online Charging Function,
OCF) side occur mistake and fail obtain Internet resources, then the business of terminal user will be delayed by or prevent.This is to prepayment
Take subscriber and brings very bad end-user experience using monitor/track/control post-paid subscriber with real-time.
For post-paid subscriber, which also brings such worry: network operator whether have the ability simultaneously by pre-payment and
Post-paid is fused in online payment mode.
Currently, in the side OCF or in the side charging triggering function entity (Charging Trigger Function, CTF),
Assuming that successful solution (Assume Positive Solution, APS) is widely used.In APS, introduces and assume successfully mould
Block (Assume Positive Module, APM), the module be used to detect the state of OCF and when the authentication of OCF can not obtain
When obtaining, fixed quota (Quota) is distributed.
The program is simultaneously not perfect, because each allocated quota of APM is fixed.Charging due to lacking subscriber is believed
Breath, fixed hypothesis success quota (Fixed Assume Positive Quota, FAPQ) may cause the control target of OCF
It is uncontrollable.
For example, by applying FAPQ, then may when the control target of OCF is that no excess spends (Over Charge)
Excess is generated to spend.For example, if the available amount of subscriber is enough for 2M, but FAPQ is 4M, then, 2M will be generated
Excess spend.At this point, a large amount of bill volumes can be generated if the charge rate that uses of excess is higher.
In another example when the control target of OCF is to pass through application in exact notice threshold point triggering usage amount notice
FAPQ then has very high possibility to cannot achieve the target.For example, user wishes to reach usage amount limit in usage amount
It is notified when 100%.It is assumed that current usage amount is the 98% of usage amount limit, then assume that successful solution, FAPQ are (false
It is set to the 8% of usage amount limit) it is distributed by APM.After quota is depleted, subscriber can receive notice, and at that time,
Usage amount alreadys exceed the 6% of usage amount limit.
Summary of the invention
In APS, when data service starts, OCF is the traffic assignments quota.If the authentication of OCF is unavailable,
Then APM is with fixed quota size for traffic assignments FAPQ, and then the business continues to run.Fig. 1 shows to apply and be based on
An example of FAPQ in the data session of DIAMETER agreement.In this example embodiment, when OCF allocated quotas, subscriber's
Alert notification thresholding is considered.
OCF allocated quota Quota=Min (NAT-RU, Maximum Quota).Wherein, NAT table shows alarm next time
Threshold value, RU (Real Usage) indicate currently practical usage amount;Maximum Quota indicates maximum allowable after authenticating every time
Quota, the value are configurable.It should be noted that APM can be with CTF DIAMETER router alignment by union.
In the present example, it is assumed that maximum allowable quota (Maximum Quota)=5M;Usage amount limit
(Allowance)=100M;Alarm threshold value (Alert Threshold) is respectively as follows: 75M, 85M, 95M and 100M;FAPQ=
4M;Effective time (Validity Time, VT)=120s of each allocated quota.
Referring to Fig.1, in step 101a, CTF sends diameter credit control initial request (CCR-I) to APM, wraps in the CCR-I
Include Multiple-Services-Credit-Control (multi-service diameter credit control) [Rating-Group...] etc..
In step 101b, CCR-I is forwarded to OCF by APM.
In a step 102, OCF is according to currently practical usage amount and alarm threshold value next time, allocated quotas.Due to RU=
67M, NAT=75M, therefore, allocated quota Quota=Min (NAT-RU, Maximum Quota)=5M.The quota it is effective
Time (VT)=120s.
In step 103a, OCF returns to diameter credit control and initially confirm (CCA-I) to APM, includes AVPs (category in the CCA-I
Property value to), Multiple-Services-Credit-Control (multi-service diameter credit control) [Rating-Group,
Granted-Service-Unit (Quota=5M), VT=120s...] etc..Wherein, include in Rating-Group is industry
Business is classified, and that include in Granted-Service-Unit is allocated quota Quota=5M.
In step 103b, CCA-I is forwarded to CTF by APM, includes AVPs, Multiple-Services- in the CCA-I
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M), VT=120s...] etc..
In step 104a, CTF reports that diameter credit control updates request (CCR-U), wraps in the CCR-U since quota exhausts
Include AVPs, Multiple-Services-Credit-Control [Rating-Group, Used-Service-Unit
(5M) ...] etc..Wherein, include in Used-Service-Unit is this used quota.
In step 104b, APM forwards CCR-U to OCF.
In step 105, OCF carries out charging, currently practical usage amount=72M to the usage amount reported in CCR-U.So
Afterwards, OCF is according to currently practical usage amount and alarm threshold value next time, allocated quotas: Quota=3M, VT=120s.
In step 106a, it includes AVPs in the CCA-U that OCF, which returns to diameter credit control and updates confirmation (CCA-U) to APM,
Multiple-Services-Credit-Control [Rating-Group, Granted-Service-Unit (Quota=
3M), VT=120s...] etc..
In step 106b, APM does not receive the CCA-U from OCF in predetermined time period.So, APM is session
Distribute fixed quota FAPQ=4M, VTFAPQ=120s.
In step 106c, APM returns to CCA-U to CTF, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (FAPQ=4M), VTFAPQ=120s...] etc..
In step 107a, CTF reports CCR-U since quota exhausts, and includes AVPs, Multiple- in the CCR-U
Services-Credit-Control [Rating-Group, Used-Service-Unit (4M) ...] etc..
In step 107b, APM forwards the CCR-U to OCF.
In step 108, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=76M.Due at this time
Alarm threshold value 75M is reached, and alert notification is triggered sending.Then, OCF is according to currently practical usage amount and alarm door next time
Limit value allocated quotas: Quota=5M, VT=120s.
In step 109a, OCF returns to CCA-U to APM, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M), VT=120s...] etc..
In step 109b, APM forwards CCA-U to CTF, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M), VT=120s...] etc..
In step 110a, after quota is consumed 3M, the VT of the quota is terminated, then CTF reports CCR-U, it should
It include AVPs, Multiple-Services-Credit-Control [Rating-Group, Used-Service- in CCU-U
Unit (3M) ...] etc..
In step 110b, APM forwards CCR-U to OCF.
In step 111, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=79M.Then, OCF
According to currently practical usage amount and alarm threshold value allocated quotas next time: Quota=5M, VT=120s.
In step 112a, OCF returns to CCA-U to APM, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M), VT=120s...] etc..
In step 112b, APM forwards CCA-U to CTF, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M), VT=120s...] etc..
In step 113a, CTF reports CCR-U since quota exhausts, and includes AVPs1, Multiple- in the CCR-U
Services-Credit-Control [Rating-Group, Used-Service-Unit (5M) ...] etc..
In step 113b, APM forwards CCR-U to OCF.
In step 114, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=84M.Then, OCF
According to currently practical usage amount and alarm threshold value allocated quotas next time: Quota=1M, VT=120s.
In step 115a, OCF returns to CCA-U to APM, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=1M), VT=120s...] etc..
In step 115b, APM does not receive the CCA-U from OCF in predetermined time period.So, APM is session
Distribute fixed quota FAPQ=4M, VTFAPQ=120s.
In step 115c, APM returns to CCA-U to CTF, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (FAPQ=4M), VTFAPQ=120s...] etc..
In step 116a, CTF reports CCR-U since quota exhausts, and includes AVPs, Multiple- in the CCR-U
Services-Credit-Control [Rating-Group, Used-Service-Unit (4M) ...] etc..
In step 116b, APM forwards the CCR-U to OCF.
In step 117, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=88M.Due at this time
Alarm threshold value 85M is reached, and alert notification is triggered sending.Then, OCF is according to currently practical usage amount and alarm door next time
Limit value allocated quotas: Quota=5M, VT=120s.
……
In the example in fig 1, due to having used FAPQ, when usage amount reaches 76M and 88M, alert notification is triggered
It issues, although it is desirable that alert notification is triggered sending when usage amount reaches 85M and 85M.
Based on the above issues, it is necessary to a kind of allocation plan for dynamically assuming successfully quota (DAPQ) is provided, with substitution
Existing FAPQ scheme.
According to an aspect of the invention, there is provided for dividing in a kind of online charging functional entity of online charging system
Method with quota, wherein the described method comprises the following steps: it receives and comes from charging triggering via assumes successful module forwards
First request message of functional entity;It is ongoing session allocated quotas in response to first request message, and root
According to the real time billing information of subscriber or the current value of the sensitive data according to subscriber, generates and dynamically assume successfully quota
(DAPQ);And send the first response message and assume successfully module to described, it include the institute of distribution in first response message
The effective time of quota He the quota is stated, and the effective time of the DAPQ and the DAPQ generated.
Advantageous, the real time billing information of the subscriber includes any one of following or appoints multinomial:
Currently available amount;
Alarm threshold value next time;
Currently practical usage amount.
Advantageous, the step of generation DAPQ, includes:
Judge whether the sum of described quota of the currently practical usage amount and distribution is less than the alarm threshold next time
Value is equal to the alarm threshold value next time;
If it is less than the alarm threshold value next time, then it is calculate by the following formula DAPQ,
DAPQ=Min (NAT-RU-Quota, Maximum Quota)
Wherein, Quota indicates the quota of distribution, and the NAT table shows the alarm threshold value next time, and RU indicates institute
Currently practical usage amount is stated, Maximum Quota indicates maximum allowable quota.
If being equal to the alarm threshold value next time, it is calculate by the following formula DAPQ,
DAPQ=ANDF*Allowance
Wherein, ANDF indicates that acceptable notice discrepancy factor, Allowance indicate usage amount limit.
Advantageous, the sensitive data of the subscriber includes any one of following or appoints multinomial:
Amount can be used;
Alarm threshold value;
Actual use amount;
Wherein, the sensitive data of the subscriber and the mapping relations of DAPQ pre-generate and are stored in the online charging
In functional entity;
Wherein, the step of generation DAPQ includes:
The current value of sensitive data based on the subscriber is looked into from the mapping relations that are pre-generated and storing
Look for corresponding DAPQ.
It is advantageous, include: for the step of ongoing session allocated quotas
It is ongoing session allocated quotas by following formula,
Quota=Min (NAF-RU, Maximum Quota)
Wherein, Quota indicates the quota of distribution, and the NAT table shows alarm threshold value next time, and RU indicates current real
Border usage amount, Maximum Quota indicate maximum allowable quota.
According to another aspect of the present invention, it provides in a kind of hypothesis success module of online charging system for assisting
The method of allocated quotas, wherein the described method comprises the following steps: it receives the first response from online charging functional entity and disappears
It ceases, includes that the online charging functional entity is matched for ongoing session allocated quota with this in first response message
The effective time of volume, and generate dynamic hypothesis success quota (DAPQ) and the DAPQ effective time;Store described
The effective time of the DAPQ and the DAPQ in one response message, and first response message is forwarded to charging triggering function
It can entity;It receives the second request message from the charging triggering function entity and second request message is forwarded to institute
State online charging functional entity;Judge whether to receive pair from the online charging functional entity in predetermined time period
Second response message of the second request message described in Ying Yu, wherein including the online charging function in second response message
Entity distribution new quota and the new quota effective time, and generate new DAPQ and the new DAPQ it is effective
Time;If it is not, then for the DAPQ of ongoing session distribution storage, and by the DAPQ and the DAPQ it is effective when
Between be sent to the charging triggering function entity;If it is, the new DAPQ in storage second response message and
The effective time of the new DAPQ, and second response message is forwarded to charging triggering function entity.
According to a further aspect of the invention, it provides and is used in a kind of online charging functional entity of online charging system
The device of allocated quotas, wherein described device includes:
First receiving module, for receiving via first from charging triggering function entity for assuming successfully module forwards
Request message;
First allocation unit, for being ongoing session allocated quotas in response to first request message, and
According to the real time billing information of subscriber or the current value of the sensitive data according to subscriber, generation dynamically is assumed successfully to match
Volume (DAPQ);
First transmission unit assumes successfully module, first response message to described for sending the first response message
In include distribution the quota and the quota effective time, and generate the DAPQ and the DAPQ effective time.
According to a further aspect of the invention, it provides in a kind of hypothesis success module of online charging system for assisting
The device of allocated quotas, wherein described device includes:
Second receiving unit, for receiving the first response message from online charging functional entity, first response
It include the effective time that the online charging functional entity is ongoing session allocated quota and the quota in message, with
And the effective time of the success of dynamic hypothesis quota (DAPQ) and the DAPQ generated;
Storage unit, for storing the effective time of the DAPQ and the DAPQ in first response message, and will
First response message is forwarded to charging triggering function entity;
Transmit-Receive Unit, for receiving the second request message from the charging triggering function entity and being asked described second
Message is asked to be forwarded to the online charging functional entity;
Execution unit is received in predetermined time period for judging whether from the online charging functional entity
Corresponding to the second response message of second request message, wherein including the online charging function in second response message
Can the new quota of entity distribution and the effective time of the new quota, and the new DAPQ generated and the new DAPQ have
Imitate the time;If it is not, then for the DAPQ of ongoing session distribution storage, and by the effective of the DAPQ and the DAPQ
Time is sent to the charging triggering function entity;If it is, the new DAPQ in storage second response message
Effective time of new DAPQ with this, and second response message is forwarded to charging triggering function entity.
Various aspects of the invention will be more clear by the explanation of embodiment in detail below.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other
Feature, objects and advantages will become more apparent:
Fig. 1 shows the method stream in the prior art for applying the FAPQ in the data session based on DIAMETER agreement
Cheng Tu;And
It is applied in the data session based on DIAMETER agreement Fig. 2 shows according to an embodiment of the invention
The method flow diagram of DAPQ.
Same or similar appended drawing reference indicates identical or corresponding component or feature in the figure.
Specific embodiment
Various embodiments of the present invention are described in detail below with reference to attached drawing.
Central scope of the invention is that each OCF is also based on ordering while for ongoing session allocated quotas
The real time billing information of consumer or the current value of the sensitive data according to subscriber generate DAPQ.The DAPQ is sent to APM
And it is stored in APM.If the APM does not receive the new quota from OCF distribution in predetermined time period next time,
The DAPQ of storage is distributed into ongoing session, to guarantee that the session continues.
Specifically, firstly, OCF receives the first request message from CTF forwarded via APM.
Secondly, OCF is in response to first request message, it is ongoing session allocated quotas, and according to subscriber
Real time billing information or the sensitive data according to subscriber current value, generate DAPQ.
OCF can be ongoing session allocated quotas by following formula,
Quota=Min (NAT-RU, Maximum Quota)
Wherein, Quota indicates institute's allocated quota, and NAT table shows alarm threshold value next time, and RU indicates currently practical use
Amount, Maximum Quota indicate maximum allowable quota.
The real time billing information of subscriber may include any one of following or appoint multinomial:
Currently available amount;
Alarm threshold value next time;
Currently practical usage amount.
In one example, OCF can generate DAPQ based on the real time billing information of subscriber in the following manner:
OCF first judge the sum of currently practical usage amount and this allocated quota whether be less than next time alarm threshold value or
Person is equal to alarm threshold value next time.
If it is less than alarm threshold value next time, then it is calculate by the following formula DAPQ,
DAPQ=Min (NAT-RU-Quota, Maximum Quota)
Wherein, Quota indicates institute's allocated quota, and NAT table shows alarm threshold value next time, and RU indicates currently practical use
Amount, Maximum Quota indicate maximum allowable quota.
If being equal to alarm threshold value next time, it is calculate by the following formula DAPQ,
DAPQ=ANDF*Allowance
Wherein, ANDF indicates that acceptable notice discrepancy factor, Allowance indicate usage amount limit.
The sensitive data of subscriber may include any one of following or appoint multinomial:
Amount can be used;
Alarm threshold value;
Actual use amount.
The mapping relations between the sensitive data of subscriber and DAPQ can be pre-generated, and the mapping relations are stored in
In OCF.In operation, OCF can be based on the current value of the sensitive data of subscriber, from mapping relations that are pre-generated and storing
It is middle to search corresponding DAPQ.
For example, if the sensitive data of subscriber be actual use amount, can pre-generate actual use amount with
Mapping relations between DAPQ are simultaneously stored in OCF.During OCF allocated quotas, it can be based on currently practical usage amount,
The DAPQ for corresponding to the current actual use amount is searched from actual use amount and the mapping relations of DAPQ.
It include OCF in first response message is ongoing session finally, OCF sends the first response message to APM
The effective time of allocated quota and the quota, and generate DAPQ and the DAPQ effective time.
After APM receives first response message, store DAPQ in the first response message and DAPQ it is effective when
Between, and the first response message is forwarded to CTF.
In one example, APM can delete the effective time of DAPQ and the DAPQ in the first response message, and will more
The first response message after new is forwarded to CTF.In another example, APM can directly turn complete first response message
It is sent to CTF, namely does not delete the effective time of DAPQ therein He the DAPQ.
Then, APM receives the second request message from CTF and second request message is forwarded to OCF.
Then, APM judge its whether received in predetermined time period from OCF correspond to second request message
The second response message.It include new quota and the effective time of the new quota of OCF distribution in second response message, with
And the effective time of the new DAPQ and the new DAPQ generated.
If APM does not receive the second response message in predetermined time period, APM is ongoing session distribution
The DAPQ of last time storage, and the effective time of the DAPQ He the DAPQ are sent to CTF.
If APM receives the second response message in predetermined time period, APM is stored in second response message
The effective time of new DAPQ and the new DAPQ, and second response message is forwarded to CTF.
In one example, APM can delete the effective of the new DAPQ and new DAPQ in the second response message
Time, and updated second response message is forwarded to CTF.In another example, APM can be directly by complete second
Response message is forwarded to CTF, namely does not delete the effective time of new DAPQ and the new DAPQ therein.
Above scheme of the invention can be applied in a variety of sessions, such as the data session based on DIAMETER agreement.
It hereinafter will be applied to the data session based on DIAMETER agreement for the solution of the present invention to be described in detail.
It is applied in the data session based on DIAMETER agreement Fig. 2 shows according to an embodiment of the invention
The distribution method of DAPQ.In the present embodiment, when OCF allocated quotas and DAPQ, the alert notification thresholding of subscriber is considered.
It is similar with the example in Fig. 1, OCF be ongoing session allocated quota Quota=Min (NAT-RU,
Maximum Quota).In addition, being retouched so that OCF generates DAPQ based on the real time billing information of subscriber as an example in the present embodiment
It states.
It should be noted that APM can be with CTF DIAMETER router alignment by union.
In the present embodiment, similarly, it is assumed that maximum allowable quota (Maximum Quota)=5M;Usage amount limit
(Allowance)=100M;Alarm threshold value (Alert Threshold) is respectively as follows: 75M, 85M, 95M and 100M;It is acceptable
Notice discrepancy factor (Acceptable Notification Deviation Factor, ANDF)=4M;Every sub-distribution
Effective time (Validity Time, VT)=120s of quota and the DAPQ of generation.
Referring to Fig. 2, it includes Multiple- in the CCR-I that in step 201a, CTF, which sends CCR-I to APM,
Services-Credit-Control [Rating-Group...] etc..
In step 201b, CCR-I is forwarded to OCF by APM.
In step 202, OCF is ongoing session allocated quotas, and generates DAPQ.Due to RU=67M, NAT
=75M, therefore, allocated quota Quota=Min (NAT-RU, Maximum Quota)=5M, VT=120s;The DAPQ of generation
=Min (NAT-RU-Quota, Maximum Quota)=Min (75M-67M-5M, 5M)=3M (herein, RU+Quota < NAT),
VTDAPQ=120s.
In step 203, OCF returns to CCA-I to APM, includes AVPs, Multiple-Services- in the CCA-I
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M, DAPQ=3M), VT=
120s, VTDAPQ=120s...] etc..
In step 203b, APM stores the DAPQ and VT in CCA-IDAPQ。
In step 203c, CCA-I is forwarded to CTF by APM, includes AVPs, Multiple-Services- in the CCA-I
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M), VT=120s...] etc..
In step 204a, CTF reports CCR-U since quota exhausts, and includes AVPs, Multiple- in the CCR-U
Services-Credit-Control [Rating-Group, Used-Service-Unit (5M) ...] etc..
In step 204b, APM forwards CCR-U to OCF.
In step 205, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=72M.Then, OCF
For ongoing session allocated quotas, and generate DAPQ.Due to RU=72M, NAT=75M, therefore, allocated quota
Quota=Min (NAT-RU, Maximum Quota)=3M, VT=120s;The DAPQ=ANDF*Allowance=1M of generation
(herein, RU+Quota=NAT), VTDAPQ=120s.
In step 206a, OCF returns to CCA-U to APM, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=3M, DAPQ=1M), VT=
120s, VTDAPQ=120s...] etc..
In step 206b, APM does not receive the CCA-U from OCF in predetermined time period.So, APM is
The DAPQ=3M of the last storage of session distribution of progress, for continuing the session.
In step 206c, APM returns to CCA-U to CTF, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (DAPQ=3M), VTFAPQ=120s...] etc..
In step 207a, CTF reports CCR-U since quota exhausts, and includes AVPs, Multiple- in the CCR-U
Services-Credit-Control [Rating-Group, Used-Service-Unit (3M) ...] etc..
In step 207b, APM forwards the CCR-U to OCF.
In a step 208, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=75M.Due at this time
Alarm threshold value 75M is reached, and alert notification is triggered sending.Then, OCF allocated quotas, and generate DAPQ.Due to RU=
75M, NAT=85M, therefore, allocated quota Quota=Min (NAT-RU, Maximum Quota)=5M, VT=120s;It is raw
At DAPQ=Min (NAT-RU-Quota, Maximum Quota)=Min (85M-75M-5M, 5M)=5M (herein, RU+
Quota < NAT), VTDAPQ=120s.
In step 209a, OCF returns to CCA-U to APM, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M, DAPQ=5M), VT=
120s, VTDAPQ=120s...] etc..
In step 209b, APM stores the DAPQ and VT in CCA-UDAPQ。
In step 209c, APM forwards CCA-U to CTF, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M), VT=120s...] etc..
In step 210a, after quota is consumed 4M, quota VT is terminated, then CTF reports CCR-U, it should
It include AVPs, Multiple-Services-Credit-Control [Rating-Group, Used-Service- in CCU-U
Unit (4M) ...] etc..
In step 210b, APM forwards CCR-U to OCF.
In step 211, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=79M.Then, OCF
Allocated quotas, and generate DAPQ.Due to RU=79M, NAT=85M, therefore, allocated quota Quota=Min (NAT-RU,
Maximum Quota)=5M, VT=120s;DAPQ=Min (NAT-RU-Quota, Maximum Quota)=Min of generation
(85M-79M-5M, 5M)=1M (herein, RU+Quota < NAT), VTDAPQ=120s.
In step 212a, OCF returns to CCA-U to APM, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M, DAPQ=1M), VT=
120s, VTDAPQ=120s...] etc..
In step 212b, APM stores DAPQ and VT in CCA-UDAPQ。
In step 212c, APM forwards CCA-U to CTF, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=5M), VT=120s...] etc..
In step 213a, CTF reports CCR-U since quota exhausts, and includes AVPs, Multiple- in the CCR-U
Services-Credit-Control [Rating-Group, Used-Service-Unit (5M) ...] etc..
In step 213b, APM forwards CCR-U to OCF.
In step 214, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=84M.Then, OCF
Allocated quotas, and generate DAPQ.Due to RU=84M, NAT=85M, therefore, allocated quota Quota=Min (NAT-RU,
Maximum Quota)=1M, VT=120s;DAPQ=ANDF*Allowance=1M (herein, the RU+Quota=of generation
NAT), VTDAPQ=120s.
In step S215a, OCF returns to CCA-U to APM, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (Quota=1M, DAPQ=1M), VT=
120s, VTDAPQ=120s...] etc..
In step S215b, APM does not receive the CCA-U from OCF in predetermined time period.So, APM is positive
The DAPQ=1M once stored in the session distribution of progress, for continuing the session.
In step 215c, APM returns to CCA-U to CTF, includes AVPs, Multiple-Services- in the CCA-U
Credit-Control [Rating-Group, Granted-Service-Unit (DAPQ=1M), VTFAPQ=120s...] etc..
In step 216a, CTF reports CCR-U since quota exhausts, and includes AVPs, Multiple- in the CCR-U
Services-Credit-Control [Rating-Group, Used-Service-Unit (1M) ...] etc..
In step 216b, APM forwards the CCR-U to OCF.
In step 217, usage amount charging of the OCF to being reported in CCR-U, currently practical usage amount=85M.Due at this time
Alarm threshold value 85M is reached, and alert notification is triggered sending.Then, OCF allocated quotas, and generate DAPQ.Due to RU=
85M, NAT=95M, therefore, allocated quota Quota=Min (NAT-RU, Maximum Quota)=5M, VT=120s;It is raw
At DAPQ=Min (NAT-RU-Quota, Maximum Quota)=Min (95M-85M-5M, 5M)=5M (herein, RU+
Quota < NAT), VTDAPQ=120s.
In the embodiment of fig. 2, by using DAPQ, alert notification is just touched on the point that usage amount reaches 75M and 85M
Hair issues namely alert notification issues on the point that its expectation issues.Compared with Fig. 1 uses the scheme of FAPQ, in the present invention
A possibility that correctly triggering warning notice raising is enabled to using DAPQ.
It should be noted that above-described embodiment is only exemplary, rather than limitation of the present invention.It is any without departing substantially from this hair
The technical solution of bright spirit should all be fallen under the scope of the present invention, this includes using occurring in different embodiments not
Same technical characteristic, installation method can be combined, to obtain beneficial effect.In addition, should not will be any attached in claim
Icon note is construed as limiting the claims involved;One word of " comprising " is not excluded for unlisted in other claims or specification
Device or step.
Claims (13)
1. being used for the method for allocated quotas in a kind of online charging functional entity of online charging system, wherein the method packet
Include following steps:
It receives via the first request message from charging triggering function entity for assuming successfully module forwards;
It is ongoing session allocated quotas in response to first request message, and according to the real time billing of subscriber
The current value of information or the sensitive data according to subscriber generates and dynamically assumes successfully quota (DAPQ);
It sends the first response message and assumes successfully module to described, include the quota of distribution in first response message
With the effective time of the quota, and generate the DAPQ and the DAPQ effective time.
2. the method according to claim 1, wherein the real time billing information of the subscriber includes:
Currently available amount;
Alarm threshold value next time;And
Currently practical usage amount.
3. according to the method described in claim 2, it is characterized in that, the step of generation DAPQ include:
Judge the sum of described quota of the currently practical usage amount and distribution whether be less than the alarm threshold value next time or
Person is equal to the alarm threshold value next time;
If it is less than the alarm threshold value next time, then it is calculate by the following formula DAPQ,
DAPQ=Min (NAT-RU-Quota, Maximum Quota)
Wherein, Quota indicates the quota of distribution, and the NAT table shows the alarm threshold value next time, works as described in RU expression
Preceding actual use amount, Maximum Quota indicate maximum allowable quota;
If being equal to the alarm threshold value next time, it is calculate by the following formula DAPQ,
DAPQ=ANDF*Allowance
Wherein, ANDF indicates that acceptable notice discrepancy factor, Allowance indicate usage amount limit.
4. the method according to claim 1, wherein the sensitive data of the subscriber include it is any one of following or
Appoint multinomial:
Amount can be used;
Alarm threshold value;
Actual use amount;
Wherein, the sensitive data of the subscriber and the mapping relations of DAPQ pre-generate and are stored in the online charging function
In entity;
Wherein, the step of generation DAPQ includes:
The current value of sensitive data based on the subscriber, searched from the mapping relations that are pre-generated and storing with
Corresponding DAPQ.
5. the method according to claim 1, wherein the step of being ongoing session allocated quotas, includes:
It is ongoing session allocated quotas by following formula,
Quota=Min (NAT-RU, Maximum Quota)
Wherein, Quota indicates the quota of distribution, and the NAT table shows alarm threshold value next time, and RU, which indicates currently practical, to be made
Dosage, Maximum Quota indicate maximum allowable quota.
6. a kind of method of online charging system assumed in successfully module for assisting allocated quotas, wherein the method packet
Include following steps:
The first response message from online charging functional entity is received, includes the online meter in first response message
Take the effective time that functional entity is ongoing session allocated quota and the quota, and the dynamic of generation assumes
The effective time of function quota (DAPQ) and the DAPQ;
Store the effective time of the DAPQ and the DAPQ in first response message, and by first response message
It is forwarded to charging triggering function entity;
It receives the second request message from the charging triggering function entity and is forwarded to second request message described
Online charging functional entity;
Judge whether to receive asking corresponding to described second from the online charging functional entity in predetermined time period
The second response message of message is sought, wherein including the new of online charging functional entity distribution in second response message
The effective time of quota and the new quota, and generate new DAPQ and the new DAPQ effective time;
If it is not, then for the DAPQ of ongoing session distribution storage, and by the DAPQ and the DAPQ it is effective when
Between be sent to the charging triggering function entity;
If it is, the effective time of the new DAPQ and the new DAPQ in storage second response message, and will
Second response message is forwarded to charging triggering function entity.
7. according to the method described in claim 6, it is characterized in that, first response message is forwarded to charging triggering function
Entity includes: the effective time for deleting the DAPQ and the DAPQ in first response message, and will be updated described
First response message is forwarded to charging triggering function entity, or complete first response message is directly forwarded to charging
Trigger Function entity;
By second response message be forwarded to charging triggering function entity include: delete in second response message described in
The effective time of new DAPQ and the new DAPQ, and updated second response message is forwarded to charging triggering function
Entity, or complete second response message is directly forwarded to charging triggering function entity.
8. being used for the device of allocated quotas in a kind of online charging functional entity of online charging system, wherein described device packet
It includes:
First receiving module, for receiving via the first request from charging triggering function entity for assuming successfully module forwards
Message;
First allocation unit, for being ongoing session allocated quotas in response to first request message, and according to
The real time billing information of subscriber or the current value of the sensitive data according to subscriber generate and dynamically assume successfully quota
(DAPQ);
First transmission unit is assumed successfully module to described for sending the first response message, is wrapped in first response message
The quota of distribution and the effective time of the quota are included, and the effective time of the DAPQ and the DAPQ generated.
9. device according to claim 8, which is characterized in that the real time billing information of the subscriber includes:
Currently available amount;
Alarm threshold value next time;And
Currently practical usage amount.
10. device according to claim 9, which is characterized in that first allocation unit is used for:
Judge the sum of described quota of the currently practical usage amount and distribution whether be less than the alarm threshold value next time or
Person is equal to the alarm threshold value next time;
If it is less than the alarm threshold value next time, then it is calculate by the following formula DAPQ,
DAPQ=Min (NAT-RU-Quota, Maximum Quota)
Wherein, Quota indicates the quota of distribution, and the NAT table shows the alarm threshold value next time, works as described in RU expression
Preceding actual use amount, Maximum Quota indicate maximum allowable quota;
If being equal to the alarm threshold value next time, it is calculate by the following formula DAPQ,
DAPQ=ANDF*Allowance
Wherein, ANDF indicates that acceptable notice discrepancy factor, Allowance indicate usage amount limit.
11. device according to claim 8, which is characterized in that the sensitive data of the subscriber includes any one of following
Or appoint multinomial:
Amount can be used;
Alarm threshold value;
Actual use amount;
Wherein, the sensitive data of the subscriber and the mapping relations of DAPQ pre-generate and are stored in the online charging function
In entity;
Wherein, the allocation unit is used for:
The current value of sensitive data based on the subscriber is searched therewith from the mapping relations that are pre-generated and storing
Corresponding DAPQ.
12. device according to claim 8, which is characterized in that first allocation unit is also used to:
It is ongoing session allocated quotas by following formula,
Quota=Min (NAT-RU, Maximum Quota)
Wherein, Quota indicates the quota of distribution, and the NAT table shows alarm threshold value next time, and RU, which indicates currently practical, to be made
Dosage, Maximum Quota indicate maximum allowable quota.
13. a kind of online charging system is assumed in successfully module for assisting the device of allocated quotas, wherein described device packet
It includes:
Second receiving unit, for receiving the first response message from online charging functional entity, first response message
In include the online charging functional entity be ongoing session allocated quota and the quota effective time, Yi Jisheng
At dynamic hypothesis success quota (DAPQ) and the DAPQ effective time;
Storage unit, for storing the effective time of the DAPQ and the DAPQ in first response message, and will be described
First response message is forwarded to charging triggering function entity;
Transmit-Receive Unit, for receiving the second request message from the charging triggering function entity and second request disappearing
Breath is forwarded to the online charging functional entity;
Execution unit receives the correspondence from the online charging functional entity for judging whether in predetermined time period
In the second response message of second request message, wherein including that the online charging function is real in second response message
Body distribution new quota and the new quota effective time, and generate new DAPQ and the new DAPQ it is effective when
Between;If it is not, then for the DAPQ of ongoing session distribution storage, and by the effective time of the DAPQ and the DAPQ
It is sent to the charging triggering function entity;If it is, storing the new DAPQ in second response message and being somebody's turn to do
The effective time of new DAPQ, and second response message is forwarded to charging triggering function entity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410174280.8A CN105099718B (en) | 2014-04-22 | 2014-04-22 | The method and apparatus of allocated quotas in online charging system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410174280.8A CN105099718B (en) | 2014-04-22 | 2014-04-22 | The method and apparatus of allocated quotas in online charging system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105099718A CN105099718A (en) | 2015-11-25 |
CN105099718B true CN105099718B (en) | 2018-12-18 |
Family
ID=54579349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410174280.8A Expired - Fee Related CN105099718B (en) | 2014-04-22 | 2014-04-22 | The method and apparatus of allocated quotas in online charging system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105099718B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019219182A1 (en) * | 2018-05-16 | 2019-11-21 | Nokia Solutions And Networks Oy | Adaptive quota allocation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009108188A1 (en) * | 2008-02-26 | 2009-09-03 | Lucent Technologies Inc. | Online charging for supplementary services in ims networks |
CN102075897A (en) * | 2009-11-20 | 2011-05-25 | 中国移动通信集团江苏有限公司 | Method and system for charging mobile data service |
CN102209310A (en) * | 2010-03-31 | 2011-10-05 | 华为技术有限公司 | Method and device for controlling data stream of user service |
CN102388634A (en) * | 2011-09-05 | 2012-03-21 | 华为技术有限公司 | Flow charging method, device and system |
-
2014
- 2014-04-22 CN CN201410174280.8A patent/CN105099718B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009108188A1 (en) * | 2008-02-26 | 2009-09-03 | Lucent Technologies Inc. | Online charging for supplementary services in ims networks |
CN102075897A (en) * | 2009-11-20 | 2011-05-25 | 中国移动通信集团江苏有限公司 | Method and system for charging mobile data service |
CN102209310A (en) * | 2010-03-31 | 2011-10-05 | 华为技术有限公司 | Method and device for controlling data stream of user service |
CN102388634A (en) * | 2011-09-05 | 2012-03-21 | 华为技术有限公司 | Flow charging method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN105099718A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9576307B2 (en) | Method and apparatus for controlling charging of a service | |
US9461829B2 (en) | Method and apparatus for controlling charging in a communication network | |
CN107707488A (en) | Payment online transaction flow control method, flow limiting server and client | |
RU2668083C2 (en) | Method for real-time charging, gateway and device for real-time charging | |
CN106301805B (en) | Policy and charging execution function device, online charging device and online charging method | |
MX2010012806A (en) | Online charging architecture in lte/epc communication networks. | |
JP7343561B2 (en) | Method and device for information exchange in online billing | |
CN110381455B (en) | Flow monitoring processing method and related device and system | |
CN103220651A (en) | Method and equipment for carrying out charging control on application layer data | |
CN105101136B (en) | A kind of charging method of data service, apparatus and system | |
WO2018145475A1 (en) | Charging method, apparatus, and system | |
CN112312340B (en) | Charging method, device and system | |
CN105099718B (en) | The method and apparatus of allocated quotas in online charging system | |
CN104796876B (en) | OCS, PCEF, PCRF and terminal bandwidth control method | |
CN106936603B (en) | Data service charging method, device and system | |
WO2018196490A1 (en) | Method for sharing authorization quota, and related device | |
CN105338506A (en) | Charging method and equipment, access equipment, service quality control method and equipment | |
CN109963260A (en) | A kind of method and device that determining business terminates | |
CN107294735B (en) | Order supplementing method and online charging system | |
WO2017000644A1 (en) | Method and device for account resource sharing | |
CN102244581A (en) | Accounting method and device | |
CN109543867A (en) | Laundry management method, device, laundry storing fusion device and storage medium | |
CN110009456A (en) | A kind of service scheduling method of shared station management system | |
CN105872991B (en) | A kind of method of association user, system and relevant apparatus | |
CN109391914A (en) | A kind of method and apparatus for the addressing that conversates |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181218 Termination date: 20210422 |
|
CF01 | Termination of patent right due to non-payment of annual fee |