CN102388634B - A kind of flow charging method, device and system - Google Patents

A kind of flow charging method, device and system Download PDF

Info

Publication number
CN102388634B
CN102388634B CN201180002497.5A CN201180002497A CN102388634B CN 102388634 B CN102388634 B CN 102388634B CN 201180002497 A CN201180002497 A CN 201180002497A CN 102388634 B CN102388634 B CN 102388634B
Authority
CN
China
Prior art keywords
minimum flow
user
flow
usu
detects
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.)
Active
Application number
CN201180002497.5A
Other languages
Chinese (zh)
Other versions
CN102388634A (en
Inventor
鲍志军
韩厚晓
胡玉胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102388634A publication Critical patent/CN102388634A/en
Application granted granted Critical
Publication of CN102388634B publication Critical patent/CN102388634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/58Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on statistics of usage or network monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1467Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network involving prepayment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/73Validating charges

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to a kind of flow charging method, device and system.Method wherein comprises: Online Charging System obtains the actual use amount of the minimum flow of user, wherein, the actual use amount of the minimum flow of described user is the DPI recognition accuracy according to non-basic flow business, and the minimum flow of the described user detected by packet switch gateway carries out examining and making cuts calculating; Described Online Charging System is according to the actual use amount of the minimum flow of described user, and the account of carrying out the minimum flow of described user is reduced.Reasonable charging to user base flow when this kind of account mode has accomplished real-time online charging, is unlikely to cause the non-basic flow of user by flow based on error count, improves billing accuracy.

Description

A kind of flow charging method, device and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of flow charging method, device and system.
Background technology
Current, (Deep Packet Inspection detects at packet switching (Packet Switch) network utilisation deep message in operator, DPI) technology is carried out in the process of difference charging to the concrete business that user accesses, wish not collect minimum flow expense to some more valuable business, but be used alone service server and carry out independent counting (such as: by bar charging).
This just requires that PS gateway (such as Gateway GPRS Support Node GGSN gateway or evolution block core net EPC gateway GW etc.) accurately can identify these value business, the flow reporting it to use is to charge system, so that charge system carries out flow examine and make cuts (not collecting minimum flow expense to these value business).
But in current DPI, a lot of recognition category agreement cannot accomplish that 100% accurately identifies, the discrimination of more than 90% generally all can only be accomplished.Like this, just cause the value protocol traffic being less than 10% can not accomplish freely, or collected minimum flow expense.If terminal use enables this locality surfing flow statistical software, just can be very easy to find this problem, and complain.The end-user satisfaction of operator is caused to decline to a great extent, customer churn.
For offline charging scene, self can complete afterwards flow-compensated in charging center.And for online charging scene, customer flow quota is that PS gateway and Online Charging System (Online Charging System, OCS) carry out reducing in real time online alternately.In this case, cannot complete afterwards flow-compensated by charging center or OCS self.
Summary of the invention
Embodiments provide a kind of flow charging method, device and system, under online charging scene, Online Charging System can be reduced user account based on the actual use amount of the minimum flow of user.
According to an aspect of the present invention, a kind of flow charging method, comprising:
Online Charging System obtains the actual use amount of the minimum flow of user, wherein, the actual use amount of the minimum flow of described user is the DPI recognition accuracy according to non-basic flow business, and the minimum flow of the described user detected by packet switch gateway carries out examining and making cuts calculating;
Described Online Charging System is according to the actual use amount of the minimum flow of described user, and the account of carrying out the minimum flow of described user is reduced.
According to another aspect of the invention, a kind of online charging device, comprising:
Obtain unit, for obtaining the actual use amount of the minimum flow of user, wherein, the actual use amount of the minimum flow of described user is the DPI recognition accuracy according to non-basic flow business, and the minimum flow of the described user detected by packet switch gateway carries out examining and making cuts calculating;
Charging Detail Record unit, for the actual use amount of the minimum flow of the described user according to described acquisition unit acquisition, the account of carrying out the minimum flow of described user is reduced.
According to another aspect of the invention, a kind of packet switch gateway, comprising:
Detecting unit, in the service traffics transmitting procedure of user, detects the minimum flow obtaining described user;
Computing unit, for the DPI recognition accuracy according to non-basic flow business, to examine and make cuts calculating to the minimum flow of the described user that described detecting unit detects, obtains the actual use amount of the minimum flow of described user;
Report unit, actual use amount for the minimum flow of described user calculated by described computing unit reports Online Charging System, so that described Online Charging System is according to the actual use amount of the minimum flow of described user, the account of carrying out the minimum flow of described user is reduced.
According to another aspect of the invention, a kind of packet switch gateway, comprising:
Detecting unit, in the service traffics transmitting procedure of user, detects the minimum flow USU obtaining described user rG1 detectswith each non-basic flow USU rG2 detects... USU rGn detects;
Report unit, for the described USU detected by described detecting unit rG1 detectswith USU rG2 examines survey... USU rGn detectsreport described Online Charging System, so that described Online Charging System is according to the DPI recognition accuracy of non-basic flow business, to the minimum flow USU of the described described user received rG1 detectswith each non-basic flow USU rG2 detects... USU rGn detectscarry out calculating of examining and making cuts, obtain the actual use amount of the minimum flow of described user.
The present invention proposes a kind of flow charging method, device and system, Online Charging System can obtain the actual use amount of the minimum flow to the user of minimum flow after calculating of examining and making cuts that user detects, and the actual use amount of minimum flow according to described user, the account of carrying out the minimum flow of described user is reduced, reasonable charging to user base flow when this kind of account mode has accomplished real-time online charging, be unlikely to cause the non-basic flow of user by flow based on error count, improve billing accuracy.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the method for the embodiment of the present invention two;
Fig. 3 is the schematic flow sheet of the method for the embodiment of the present invention three;
Fig. 4 is the schematic flow sheet of the method for the embodiment of the present invention four;
The structural representation of a kind of online charging device that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of packet switch gateway that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the another kind of packet switch gateway that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention one provides a kind of charging method, and as shown in figure, the method comprises:
S101: Online Charging System obtains the actual use amount of the minimum flow of user, wherein, the actual use amount of the minimum flow of described user is the DPI recognition accuracy according to non-basic flow business, and the minimum flow of the described user detected by packet switch gateway carries out examining and making cuts calculating;
Wherein, Online Charging System can be the actual use amount obtaining the minimum flow of described user that packet switch gateway reports, and also can be self to carry out examining and making cuts calculating and obtaining the actual use amount of the minimum flow of described user;
No matter be that packet switch gateway reports, or Online Charging System self calculates, the actual use amount of the minimum flow of described user is all the DPI recognition accuracy according to non-basic flow business, the minimum flow of the described user detected by packet switch gateway carries out examining and making cuts and calculates, calculating of just examining and making cuts can be carry out at packet switch gateway, also can carry out at Online Charging System, certainly, those skilled in the art also can according to the inspiration of specification of the present invention, on the executive agent third party entity that applies to other calculated examining and making cuts or software, embodiments of the invention can be realized.
S102: described Online Charging System is according to the actual use amount of the minimum flow of described user, and the account of carrying out the minimum flow of described user is reduced.
Wherein, after the account of carrying out user base flow is reduced, if the minimum flow of described user also surplus, the follow-up minimum flow quota that described Online Charging System can issue for described user further, if the remaining sum of described user is used up, Online Charging System can issue and be indicated to packet switch gateway, packet switch gateway is made to implement the measure stoping minimum flow to proceed, Online Charging System can when the remaining sum of user be abundant especially yet, the balance depletion of instruction packet switch gateway supervisory user, packet switch gateway is when determining the balance depletion of user, implement the measure stoping minimum flow to proceed voluntarily, specific implementation following examples will describe in detail.
The embodiment of the present invention one, for online charging user, Online Charging System can obtain the actual use amount of minimum flow after calculating of examining and making cuts detected user, and the actual use amount of minimum flow according to described user, the account of carrying out the minimum flow of described user is reduced, correct charging to user base flow when this kind of account mode has accomplished real-time online charging, is unlikely to cause the non-basic flow of user by flow based on error count, improves billing accuracy.
The embodiment of the present invention two provides a kind of charging method, and as shown in Figure 2, the method comprises:
S201: terminal completes relevant packet data protocol (Packet Data Protocol, PDP) and activates or loading establishing process;
In this process, Online Charging System OCS is that related service issues initial basis flow quota GSU (Granted-Service-Unit, the service unit authorized) to PS gateway, and the service traffics of user begin through PS gateway and transmit.Configurable deep packet check DPI rule on PS gateway, minimum flow business be configured corresponding rate group (Rating Group, RG) be 1, business A flow be configured corresponding rate group RG2;
Wherein, minimum flow business is the business being included in not charging separately in minimum flow, and business A is that operator does not wish that collecting minimum flow takes and the business of independent counting, in the present embodiment, this type of business can be referred to as non-basic flow business, its flow produced is called non-basic flow; A kind of non-basic flow business is only enumerated in the present embodiment, other this type of business can also be had in reality, for this type of business, still can according to DPI rule respective handling, the rate group that different non-basic flow business settings is different, such as RG2......RGn etc., described n be greater than 1 natural number;
In the present embodiment, because needs are to user's online charging, therefore, it is the mode taking progressively to issue that OCS issues quota, issues the minimum flow quota of certain number each time, all minimum flow quotas until end user finishes using;
S202: in user traffic transmitting procedure, PS gateway calculates the actual use amount of the minimum flow of user, particularly, PS gateway obtains the flow of RG1 and RG2 by detecting, to carry out examining and making cuts according to DPI recognition accuracy the actual use amount of the minimum flow calculating user, specifically can adopt algorithm of examining and making cuts, algorithm of examining and making cuts can deduct for the flow of the RG1 detected the RG2 flow accurately do not identified calculated according to DPI recognition accuracy, and the algorithm adopted is specifically as follows: USU rG1 is actual=USU rG1 detects-USU rG2 detects(1-K2%)/K 2%, wherein, described K 2% is the DPI recognition accuracy of the business A configured on PS gateway in advance, and the present embodiment adopts the service unit (Used-Service-Unit, USU) used to represent the flow of use, described K 2% can be the DPI recognition accuracy of the business A of experience accumulation, the K configured on PS gateway in the present embodiment 2% can be less than the recognition accuracy of real business A, in such cases, can ensure that the minimum flow of user can not be compensated a part by leakage, can have certain preferential to user simultaneously;
When described user also exists except RG2 non-basic flow business RG3...RGn, described PS gateway is respectively each non-basic flow business configuration DPI recognition accuracy K2%...Kn%, and the algorithm adopted can be:
USU rG1 is actual=USU rG1 detects-USU rG2 detects(1-K 2%)/K 2%...-USU rGn detects(1-K n%)/K n%
Wherein, described n be greater than 1 natural number, described flow represents with the service unit USU authorized.
In general, gateway detects the service traffics of user by DPI, if it is determined that be minimum flow business, gateway is flow (carrying out stored counts corresponding to RG1) based on respective markers then, if it is determined that be business A, then gateway respective markers is the flow (carrying out stored counts corresponding to RG2) of business A, but DPI cannot accomplish the accurate identification of 100% to business A, the flow some business A is marked as minimum flow, therefore, in the present embodiment, PS gateway to be examined and made cuts calculating to the flow of the business A thinking minimum flow by mistake in real time; In the present embodiment, can to examine and make cuts to the minimum flow detected calculating to realize PS gateway, need the pre-configured DPI rule configuration to business A on PS gateway to examine and make cuts and calculate mark, this is examined and made cuts to calculate to identify and is provided for PS gateway calculates minimum flow actual use traffic according to above-mentioned algorithm of examining and making cuts, if there is multiple non-basic flow business, then examines and makes cuts accordingly for each non-basic flow business configuration accordingly and calculate mark;
S203: when charging reports trigger condition to arrive, PS gateway sends quota control request message (Credit-Control-Request to OCS, CCR), this CCR message carries the actual use traffic of the minimum flow of the user calculated in step S202;
In this step, PS gateway only reports the minimum flow of RG1 to OCS, and does not report the flow of RG2, and realizes this and report step to need to carry out pre-configured on PS gateway, makes PS gateway only report the minimum flow of examining and making cuts and calculating;
Corresponding charging reports trigger condition to comprise: timing reports or preset value arrives.
After S204:OCS receives CCR message, according to the actual use traffic (USU of minimum flow receiving user rG1 is actual) account of carrying out minimum flow reduces;
S205:OCS sends quota control response message (Credit-Control-Answer to PS gateway, CCA), the follow-up minimum flow quota that the minimum flow RG1 that wherein this CCA message is carried to user issues, for being customer service reserved minimum flow quota on PS gateway, and issue quota to business A (RG2);
OCS can issue follow-up minimum flow quota GSU further in CCA message, if user base flow also surplus, OCS is when user base flow remaining sum is abundant, still part quota (quantity of such as system configuration) is issued, if when remaining sum is not abundant especially, remaining sum can once issue as follow-up quota by OCS, when OCS determines that user base flow remaining sum is insufficient, during the last remaining quota of the disposable user of issuing when described user (last issue minimum flow quota for), FUI (Final-Unit-Indication service unit exhausts instruction) can also be carried in CCA message, this FUI indicates PS gateway when determining that the minimum flow quota of user exhausts, the concrete measure that the prevention user base business taked proceeds, such as: blocked user Business Stream, or deactivation user, or user network page browsing Business Stream is redirected to the actions such as other service server, certain FUI also can be the configuration of PS gateway this locality, OCS issues the FUI of priority higher than the configuration of PS gateway this locality of FUI, if FUI is by the configuration of PS gateway this locality, when then described OCS issues last minimum flow quota, needing to indicate this this minimum flow quota is issue for described user for the last time,
S206: if PS gateway receives non-final minimum flow quota that OCS issues, PS gateway is in user traffic transmitting procedure, the actual use traffic of user base flow is calculated according to algorithm of examining and making cuts, when charging reports trigger condition to reach, report the follow-up quota that OCS continues to issue to obtain OCS; If PS gateway receives the last minimum flow quota that OCS issues, during the last flow quota GSU that the OCS then reaching current acquisition in the actual use amount of the current user base flow calculated issues, described PS gateway determines that the minimum flow amount of user is finished using, PS gateway exhausts instruction FUI according to service unit, takes appropriate measures to stop described user to proceed minimum flow business; Particularly, for PS gateway after determining that the minimum flow amount of user is finished using, PS gateway can report this user base flow amount to finish using event to OCS, the actual use traffic of the minimum flow that simultaneously self can also be calculated resets, further, after user base flow quota exhausts, PS gateway still calculates the use traffic of customer service, be greater than when 0 at the actual use traffic USU of the minimum flow calculated, perform FUI instruction, namely perform the action stoping user base business to proceed;
After this, PS gateway has all no longer reported the Quota Usage of RG1 and RG2 to OCS, until user completes account charging.
The embodiment of the present invention, for online charging user, PS gateway obtains the actual use amount of user base flow after calculating of examining and making cuts to the minimum flow detected, and the actual use amount of the minimum flow of described user is reported OCS, the account that OCS can carry out the minimum flow of described user according to the actual use amount of the minimum flow of this user is reduced, reasonable charging to user base flow when this kind of account mode has accomplished real-time online charging, be unlikely to cause the non-basic flow of user by flow based on error count, improve billing accuracy.Meanwhile, by PS gateway whether user base flow amount exhausted and monitor, ensure when user base flow quota exhausts, stop user to proceed minimum flow business in time, maintain the interests of operator; The DPI recognition accuracy K% that PS gateway configures is less than the recognition accuracy of real business A, in such cases, can ensure that the minimum flow of user can not be compensated a part by leakage, can have user certain preferential simultaneously, ensure the interests of user.
The embodiment of the present invention three provides a kind of charging method, and as shown in Figure 3, the method comprises:
S301: terminal completes relevant packet data protocol (Packet Data Protocol, PDP) and activates or loading establishing process;
Online Charging System OCS has been that related service issues initial basis flow quota (under the prerequisite of user account surplus) to PS gateway, and the service traffics of user begin through PS gateway and transmit.Configurable deep packet check DPI rule on PS gateway, basic business be configured corresponding rate group (Rating Group, RG) be 1, business A flow to be configured corresponding rate group RG be 2;
Wherein, minimum flow business is the business being included in not charging separately in minimum flow, and business A is that operator does not wish that collecting minimum flow takes and the business of independent counting, in the present embodiment, this type of business can be referred to as non-basic flow business, its flow produced is called non-basic flow; A kind of non-basic flow business is only enumerated in the present embodiment, other this type of business can also be had in reality, for this type of business, still can according to DPI rule respective handling, the rate group that different non-basic flow business settings is different, such as RG2......RGn etc.;
In the present embodiment, because needs are to user's online charging, therefore, it is the mode taking progressively to issue that OCS issues quota, issues the minimum flow quota of certain number each time, all minimum flow quotas until end user finishes using;
S302: when the charging of user reports trigger condition to arrive, PS gateway sends quota control request message CCR to OCS, this CCR message carries the RG1 flow use amount=M byte detected, the RG2 flow use amount=N byte detected, and the recognition accuracy K2% of the RG2 configured on PS gateway in advance;
Realize the present embodiment, need to configure as follows for business A on PS gateway: minimum flow and business A flow synchronously report OCS all the time, namely on PS gateway, synchronously report OCS with minimum flow all the time for each non-basic flow business configuration;
S303:OCS determines the actual use amount of the minimum flow of user, according to the USU calculated rG1 is actualcarry out user account to reduce;
Particularly, in the present embodiment, OCS adopts algorithm of examining and making cuts to calculate, draw the actual use amount of the minimum flow of user, this algorithm of examining and making cuts is that the flow of the RG1 detected deducts the RG2 flow accurately do not identified calculated according to DPI recognition accuracy, and the algorithm adopted can be: USU rG1 is actual=USU rG1 detects-USU rG2 detect(1-K 2%)/K 2if the USU < 0 that % calculates, then according to 0 process;
When described user also exists except RG2 non-basic flow business RG3...RGn, the algorithm adopted can be:
USU rG1 is actual=USU rG1 detects-USU rG2 detects(1-K 2%)/K 2%...-USU rGn detects(1-K n%)/K n%
Wherein, described n be greater than 1 natural number, described PS gateway is respectively each non-basic flow business configuration DPI recognition accuracy K2%...Kn%;
S304:OCS sends quota control response CCA message to PS gateway, for being customer service reservation traffic quota on PS gateway, the follow-up minimum flow quota GSU that the minimum flow RG1 that wherein this CCA message is carried to user issues, to the flow quota that business A (RG2) issues;
If user base flow also surplus, OCS, when user base flow remaining sum is abundant, still issues part quota (quantity of such as system configuration), if when remaining sum is not sufficient especially, remaining sum can once issue as follow-up quota by OCS;
S305: with step 302, when customer service charging reports trigger condition to arrive, PS gateway sends quota control request message CCR to OCS, this CCR message carries RG1 flow use amount=M ' byte that current detection arrives, RG2 flow use amount=N ' byte that current detection arrives, and the recognition accuracy K of the RG2 configured on PS gateway in advance 2%;
S306-307:OCS calculates the course synchronization rapid 303 that user's quota uses, if the actual use amount of the user base flow calculated does not reach user's also remaining minimum flow quota, OCS reduces according to the actual account of carrying out minimum flow of the USURG1 calculated, and follow-up quota is issued in CCA message, the actual use amount of the user base flow calculated if current reach user also remaining minimum flow quota time, OCS determines that this user base flow quota is used up, then in CCA message, issue multi-service diameter credit control (Multiple-Services-Credit-Control, MSCC) fault error code and FUI are indicated to PS gateway, the minimum flow quota that described MSCC fault error code is used to indicate user described in described packet switch gateway exhausts, described FUI is used to indicate the measure that prevention user base flow that PS gateway can take proceeds, described FUI also can not issue in this CCA message, but it is pre-configured on PS gateway,
S308: if carry the follow-up quota GSU of minimum flow in the CCA message that receives of PS gateway, PS gateway continues to perform the step detecting flow, if also carry MSCC fault error code in the CCA message that PS gateway receives, PS gateway then determines that the minimum flow quota of described user exhausts, the measure that the prevention user base flow performing FUI instruction proceeds, such as: blocked user Business Stream, deactivation user, is redirected to the actions such as other service server user network page browsing Business Stream;
Further, after executing FUI action, PS gateway can also report the current flow used of RG1 and RG2 to OCS; Below under any scene, PS gateway has all no longer reported the Quota Usage of RG1 and RG2 to OCS, until user completes account charging.
The embodiment of the present invention, for online charging user, the minimum flow detected and non-basic flow are reported Online Charging System by PS gateway, after calculating of examining and making cuts, the actual use amount of user base flow is obtained by Online Charging System, and reduce according to the account that the actual use amount of the minimum flow of this user carries out the minimum flow of described user, reasonable charging to user base flow when this kind of account mode has accomplished real-time online charging, be unlikely to cause the non-basic flow of user by flow based on error count, improve billing accuracy.Meanwhile, carry out in Online Charging System side calculating of examining and making cuts, do not have excessive demand to PS gateway, do not need to carry out larger transformation to PS gateway, system reform cost is low, and scheme is convenient to realize.The DPI recognition accuracy K% of configuration is less than the recognition accuracy of real business A, in such cases, can ensure that the minimum flow of user can not be compensated a part by leakage, can have certain preferential simultaneously, ensure the interests of user to user.
The embodiment of the present invention four provides a kind of charging method, and as shown in Figure IV, the method comprises:
S401: terminal completes relevant packet data protocol (Packet Data Protocol, PDP) and activates or loading establishing process;
Online Charging System OCS has been that related service issues initial basis flow quota (under the prerequisite of user account surplus) to PS gateway, and the service traffics of user begin through PS gateway and transmit.Configurable deep packet check DPI rule on PS gateway, basic business be configured corresponding rate group (Rating Group, RG) be 1, business A flow to be configured corresponding rate group RG be 2;
S402: when the charging of user reports trigger condition to arrive, PS gateway sends quota control request message CCR to OCS, this CCR message carries the RG1 flow use amount=M byte detected, the RG2 flow use amount=N byte detected, and the recognition accuracy K of the RG2 configured on PS gateway in advance 2%;
Realize the present embodiment, need to configure as follows for business A on PS gateway: minimum flow and business A flow synchronously report OCS all the time, namely on PS gateway, synchronously report OCS with minimum flow all the time for each non-basic flow business configuration;
S403:OCS determines the actual use amount of the minimum flow of user, particularly, in the present embodiment, OCS adopts algorithm of examining and making cuts to calculate, draw the actual use amount of the minimum flow of user, this algorithm of examining and making cuts is that the flow of the RG1 detected deducts the RG2 flow accurately do not identified calculated according to DPI recognition accuracy, and the algorithm adopted can be: USU rG1 is actual=USU rG1 detects-USU rG2 detects(1-K 2%)/K 2if the USU < 0 that % calculates, then according to 0 process;
When described user also exists except RG2 non-basic flow business RG3...RGn, the algorithm adopted can be:
USU rG1 is actual=USU rG1 detects-USU rG2 detects(1-K 2%)/K 2%...-USU rGn detects(1-K n%)/K n%
Wherein, described n be greater than 1 natural number, described PS gateway is respectively each non-basic flow business configuration DPI recognition accuracy K2%...Kn%; S404:OCS is according to the USU calculated rG1 is actualcarry out user account to reduce, further, OCS sends quota control response CCA message to PS gateway, for being customer service reservation traffic quota on PS gateway, the follow-up minimum flow quota GSU that the minimum flow RG1 that wherein this CCA message is carried to user issues, to the flow quota that business A (RG2) issues;
If user base flow also surplus, OCS, when user base flow remaining sum is abundant, still issues part quota (quantity of such as system configuration), if when remaining sum is not sufficient especially, remaining sum can once issue as follow-up quota by OCS;
S405: with step 402, when customer service charging reports trigger condition to arrive, PS gateway sends quota control request message CCR to OCS, this CCR message carries RG1 flow use amount=M byte that current detection arrives, RG2 flow use amount=N ' byte that current detection arrives, and the recognition accuracy K of the RG2 configured on PS gateway in advance 2%;
S406-407:OCS calculates the course synchronization rapid 403 that user quota uses, if the actual use amount of the user base flow calculated does not reach user's also remaining minimum flow quota, and remaining sum also abundance time, OCS is according to the USU calculated rG1 is actualthe account of carrying out minimum flow is reduced, and in CCA message, issue the quota of pre-configured quantity, if when OCS determines that the minimum flow remaining sum of this user is inadequate, remaining sum can once issue (namely issuing minimum flow quota GSU for described user for the last time) as follow-up quota by OCS, now, OCS also can carry FUI instruction in CCA message; Certainly, no matter how OCS issues minimum flow remaining sum, as long as OCS ensures that issuing FUI while issuing last GSU indicates;
S408:PS gateway receive carry that OCS issues carry last GSU of FUI instruction after, in user traffic transmitting procedure, detect the flow obtaining RG1 and RG2, and according to the DPI recognition accuracy of non-basic flow business, algorithm of examining and making cuts is adopted to calculate the actual use traffic of user base flow, this algorithm of examining and making cuts is consistent with the method that OCS in step S403 and S406 adopts, when the last minimum flow quota GSU that the OCS that the actual use amount of the current user base flow calculated of PS gateway reaches current acquisition issues, described PS gateway determines that the minimum flow amount of user is finished using, PS gateway exhausts instruction FUI according to service unit, take appropriate measures to stop described user to proceed minimum flow business, particularly, for PS gateway after determining that the minimum flow amount of user is finished using, PS gateway can report this user base flow amount to finish using event to OCS, the actual use traffic of the minimum flow that simultaneously self can also be calculated resets, further, after user base flow quota exhausts, PS gateway still calculates the use traffic of customer service, be greater than when 0 at the actual use traffic USU of the minimum flow calculated, perform FUI instruction, namely perform the action stoping user base business to proceed,
After this, PS gateway has all no longer reported the Quota Usage of RG1 and RG2 to OCS, until user completes account charging.
The embodiment of the present invention, for online charging user, the minimum flow detected and non-basic flow are reported Online Charging System by PS gateway, after calculating of examining and making cuts, the actual use amount of user base flow is obtained by Online Charging System, and reduce according to the account that the actual use amount of the minimum flow of this user carries out the minimum flow of described user, reasonable charging to user base flow when this kind of account mode has accomplished real-time online charging, be unlikely to cause the non-basic flow of user by flow based on error count, improve billing accuracy.Meanwhile, carry out in Online Charging System side calculating of examining and making cuts, do not have excessive demand to PS gateway, do not need to carry out larger transformation to PS gateway, system reform cost is low, and scheme is convenient to realize.The DPI recognition accuracy K% of configuration is less than the recognition accuracy of real business A, in such cases, can ensure that the minimum flow of user can not be compensated a part by leakage, can have certain preferential simultaneously, ensure the interests of user to user.In addition, when OCS determines that the minimum flow remaining sum of user is soon used up, instruction is issued in the last minimum flow quota issued, the monitoring whether exhausted user base flow amount is given PS gateway to perform, can ensure when user base flow quota exhausts, timely prevention user proceeds minimum flow business, maintains the interests of operator.
As shown in Figure 5, the structure chart of a kind of online charging device OCS that Fig. 5 provides for the embodiment of the present invention five, comprising:
Obtain unit 501, for obtaining the actual use amount of the minimum flow of user, wherein, the actual use amount of the minimum flow of described user is the DPI recognition accuracy according to non-basic flow business, and the minimum flow of the described user detected by packet switch gateway carries out examining and making cuts calculating;
Charging Detail Record unit 502, for the actual use amount of the minimum flow of the described user according to described acquisition unit 501 acquisition, the account of carrying out the minimum flow of described user is reduced.
Further, Online Charging System can also comprise:
Issue unit 503, for carry out described user after account is reduced at described Charging Detail Record unit 502 minimum flow also surplus time, send quota control response CCA message to described packet switch gateway, described CCA message carries the follow-up minimum flow quota for described user issues.
Described acquisition unit 501 can have two kinds of embodiments:
One, described acquisition unit 501 specifically for: receive packet switch gateway when charging reports trigger condition to arrive, the quota control request CCR message sent, described CCR message carries the actual use amount of the minimum flow of described user, wherein, the actual use amount of the minimum flow of described user is undertaken examining and making cuts calculating by described packet switch gateway;
Under this kind of mode, described issue unit 503 also for: if described user issues last minimum flow quota, when issuing described last minimum flow quota for described user, in described CCA message, carry service unit further exhaust instruction FUI, so that described packet switch gateway is when the actual use amount of the minimum flow determining the current described user calculated that examines and makes cuts reaches described last minimum flow quota, according to described FUI, take appropriate measures to stop described user to proceed minimum flow business.
They are two years old, described acquisition unit comprises: receiving element 5011, for receiving packet switch gateway when charging reports trigger condition to arrive, the quota control request CCR message of transmission, described CCR message carries the minimum flow USU of the described user that described packet switch gateway detects rG1 detectsdetect and each non-basic flow USU rG2 detects... USU rGn detects; Computing unit 5012, for the DPI recognition accuracy according to non-basic flow business, to the minimum flow USU of the described user that described receiving element 5011 receives rG1 detectswith each non-basic flow USU rG2 detects... USU rGn detectscarry out calculating of examining and making cuts, obtain the actual use amount of the minimum flow of described user;
Under this kind of mode, described issue unit 503 also for: if determine, the actual use amount of the minimum flow of the current described user calculated that examines and makes cuts reaches the remaining minimum flow quota of described user, in the CCA message sent to described packet switch gateway, carry multi-service diameter credit control MSCC fault error code further, the minimum flow quota that described MSCC fault error code is used to indicate user described in described packet switch gateway exhausts.
As shown in Figure 6, a kind of packet switch gateway that Fig. 6 provides for the embodiment of the present invention six, comprising:
Detecting unit 601, in the service traffics transmitting procedure of user, detects the minimum flow obtaining described user;
Computing unit 602, for detecting DPI recognition accuracy according to the deep message of non-basic flow business, to examine and make cuts calculating to the minimum flow of the described user that described detecting unit 601 detects, obtaining the actual use amount of the minimum flow of described user;
Report unit 603, actual use amount for the minimum flow of described user calculated by described computing unit 602 reports Online Charging System, so that described Online Charging System is according to the actual use amount of the minimum flow of described user, the account of carrying out the minimum flow of described user is reduced
This packet switch gateway can also comprise:
Receiving element 604, for receive described Online Charging System described user after the minimum flow account of carrying out described user is reduced minimum flow also surplus time, the follow-up minimum flow quota issued, described follow-up minimum flow quota is carried in quota control response CCA message;
This packet switch gateway can also comprise:
First flow stops unit 605, for receive at described receiving element 604 described Online Charging System be described user issue last minimum flow quota time, determine whether the actual use amount of the minimum flow of the current described user calculated that examines and makes cuts reaches described last minimum flow quota, if, exhaust instruction FUI according to service unit, take corresponding measure to proceed minimum flow business to stop described user.
As shown in Figure 7, a kind of packet switch gateway that Fig. 7 provides for the embodiment of the present invention seven, comprising:
Detecting unit 701, in the service traffics transmitting procedure of user, detects the minimum flow USU obtaining described user rG1 detectswith each non-basic flow USU rG2 detects... USU rGn detects;
Report unit 702, for the described USU detected by described detecting unit 701 rG1 detectswith USU rG2 detects... USU rGn detectsreport described Online Charging System, so that described Online Charging System is according to the DPI recognition accuracy of non-basic flow business, to the minimum flow USU of the described described user received rG1 detectswith each non-basic flow USU rG2 detects... USU rGn detectscarry out calculating of examining and making cuts, obtain the actual use amount of the minimum flow of described user;
This packet switch gateway can also comprise:
Receiving element 703, for receive described Online Charging System described user after the minimum flow account of carrying out described user is reduced minimum flow also surplus time, the follow-up minimum flow quota issued, described follow-up minimum flow quota is carried in quota control response CCA message;
In a specific embodiment of this packet switch gateway, above-mentioned receiving element 703 can also receive described Online Charging System when the actual use amount of the minimum flow determining the current described user calculated that examines and makes cuts reaches the remaining minimum flow quota of described user, the multi-service diameter credit control MSCC fault error code sent, described MSCC fault error code is carried in described CCA message; Now, in this embodiment, packet switch gateway can also comprise: the second flow stops unit 704, for determining that the minimum flow quota of described user exhausts according to described MSCC fault error code, stops described user to proceed minimum flow business;
In the another one specific embodiment of this packet switch gateway, above-mentioned receiving element 703 can also receive described Online Charging System when being defined as described user and issuing last minimum flow quota, is carried at the service unit sent in CCA message and exhausts instruction FUI; Now, in this embodiment, packet switch gateway can also comprise: computing unit 705, after carrying the CCA message of FUI described in receiving at described receiving element, according to the DPI recognition accuracy of non-basic flow business, the minimum flow of the described user detected by described detecting unit 701 carries out examining and making cuts the actual use amount of the minimum flow calculating described user; 3rd flow stops unit 706, for when the actual use amount of the minimum flow determining the described user that described computing unit 705 calculates reaches described last minimum flow quota, exhaust instruction FUI according to described service unit, take corresponding measure to proceed minimum flow business to stop described user.
The online charging device that the embodiment of the present invention provides and packet switch gateway, Online Charging System can be made to obtain the actual use amount of minimum flow after calculating of examining and making cuts detected user, and the actual use amount of minimum flow according to described user, the account of carrying out the minimum flow of described user is reduced, correct charging to user base flow when this kind of account mode has accomplished real-time online charging, be unlikely to cause the non-basic flow of user by flow based on error count, improve billing accuracy.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the subscriber equipment in embodiment can describe according to embodiment and be distributed in the subscriber equipment of embodiment, also can carry out respective change and be arranged in the one or more subscriber equipmenies being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in previous embodiment, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of embodiment of the present invention technical scheme.

Claims (27)

1. a flow charging method, is characterized in that, comprising:
Online Charging System obtains the actual use amount of the minimum flow of user, wherein, the actual use amount of the minimum flow of described user detects DPI recognition accuracy according to the deep message of non-basic flow business, and the minimum flow of the described user detected by packet switch gateway carries out examining and making cuts calculating;
Described Online Charging System is according to the actual use amount of the minimum flow of described user, and the account of carrying out the minimum flow of described user is reduced.
2. the method for claim 1, is characterized in that, the actual use amount that described Online Charging System obtains the minimum flow of user comprises:
Described Online Charging System receives packet switch gateway when charging reports trigger condition to arrive, the quota control request CCR message sent, described CCR message carries the actual use amount of the minimum flow of described user, wherein, the actual use amount of the minimum flow of described user is undertaken examining and making cuts calculating by described packet switch gateway.
3. method as claimed in claim 2, it is characterized in that, the actual use amount of the minimum flow of described user is undertaken examining and making cuts to calculate comprising by described packet switch gateway:
Shut at the described packet switching network and be respectively minimum flow business and the different rate group RG1 of each non-basic flow business configuration, RG2 ... RGn, is respectively each non-basic flow business configuration DPI recognition accuracy K 2%...K n%, be respectively each non-basic flow business configuration examine and make cuts calculate mark;
In the service traffics transmitting procedure of described user, described packet switch gateway detects the minimum flow USU obtaining described user rG1 detects, each non-basic flow USU rG2 detectsuSU rGn detects;
Calculate mark according to described examining and making cuts, described packet switch gateway is to described USU rG1 detectswith USU rG2 examines surveyuSU rGn detectsemploying algorithm of examining and making cuts calculates, and obtains the actual use amount of the minimum flow of described user, wherein, described in algorithm of examining and making cuts be:
USU rG1 is actual=USU rG1 detects-USU rG2 detects(1-K 2%)/K 2%...-USU rGn detects(1-K n%)/K n%, wherein, described n be greater than 1 natural number, described flow represents with the service unit USU authorized.
4. as claimed in claim 2 or claim 3 method, is characterized in that, after the account that described Online Charging System carries out the minimum flow of described user is reduced, described method also comprises:
If the minimum flow of described user also surplus, described Online Charging System sends quota control response CCA message to described packet switch gateway, and described CCA message carries the follow-up minimum flow quota for described user issues.
5. method as claimed in claim 4, it is characterized in that, if described Online Charging System is described user issue last minimum flow quota, described method also comprises:
Described packet switch gateway determines whether the actual use amount of the minimum flow of the current described user calculated that examines and makes cuts reaches described last minimum flow quota, if so, stops described user to proceed minimum flow business.
6. method as claimed in claim 5, is characterized in that, described packet switch gateway exhausts instruction FUI according to service unit, takes appropriate measures to stop described user to proceed minimum flow business;
Wherein, described service unit exhaust instruction FUI be described Online Charging System when issuing described last minimum flow quota for described user, to be carried in described CCA message and to be handed down to described packet switch gateway; Or,
Described service unit exhausts instruction FUI and shuts configuration at the described packet switching network in advance.
7. the method for claim 1, is characterized in that, the actual use amount that described Online Charging System obtains the minimum flow of user comprises:
Described Online Charging System receives packet switch gateway when charging reports trigger condition to arrive, and the quota control request CCR message of transmission, described CCR message carries the minimum flow USU of the described user that described packet switch gateway detects rG1 detectswith each non-basic flow USU rG2 detectsuSU rGn detects;
Described Online Charging System according to the DPI recognition accuracy of non-basic flow business, to the minimum flow USU of the described described user received rG1 detectswith each non-basic flow USU rG2 detectsuSU rGn detectscarry out calculating of examining and making cuts, obtain the actual use amount of the minimum flow of described user.
8. method as claimed in claim 7, is characterized in that, also comprise:
Shut at the described packet switching network and be respectively minimum flow business and the different rate group RG1 of each non-basic flow business configuration, RG2 ... RGn;
Described packet switch gateway carries out the configuration that minimum flow and non-basic flow synchronously report described Online Charging System all the time;
Correspondingly, described packet switch gateway, in the service traffics transmitting procedure of described user, detects the minimum flow USU obtaining described user rG1 detects, each non-basic flow USU rG2 detectsuSU rGn detects;
All the time synchronously report the configuration of described Online Charging System according to described minimum flow and non-basic flow, described packet switch gateway sends to described Online Charging System and carries described USU rG1 detectsand USU rG2 examines surveyuSU rGn detectsquota control request CCR message.
9. method as claimed in claim 8, is characterized in that, also comprise:
Shut at the described packet switching network and be respectively each non-basic flow business configuration DPI recognition accuracy K 2%...K n%;
Described packet switch gateway carries described each non-basic flow business configuration DPI recognition accuracy K further in the CCR message sending to described Online Charging System 2%...K n%.
10. method as claimed in claim 9, is characterized in that, described Online Charging System according to the DPI recognition accuracy of non-basic flow business, to the minimum flow USU of the described described user received rG1 detectswith each non-basic flow USU rG2 detectsuSU rGn detectscarry out calculating of examining and making cuts, the actual use amount obtaining the minimum flow of described user comprises:
Described Online Charging System is to described USU rG1 detectswith USU rG2 detectsuSU rGn detectsemploying algorithm of examining and making cuts calculates, and obtains the actual use amount of the minimum flow of described user, wherein, described in algorithm of examining and making cuts be:
USU rG1 is actual=USU rG1 detects-USU rG2 detects(1-K 2%)/K 2%...-USU rGn detects(1-K n%)/K n%, wherein, described n be greater than 1 natural number, described flow represents with the service unit USU authorized.
11. methods as described in claim 7 or 10, is characterized in that, the account that described Online Charging System carries out the minimum flow of described user also comprises after reducing:
If the minimum flow of described user also surplus, described Online Charging System sends quota control response CCA message to described packet switch gateway, and described CCA message carries the follow-up minimum flow quota for described user issues.
12. methods as claimed in claim 11, it is characterized in that, described method also comprises:
If described Online Charging System determines that the actual use amount of the minimum flow of the current described user calculated that examines and makes cuts reaches the remaining minimum flow quota of described user, quota control response CCA message is sent to described packet switch gateway, described CCA message carries multi-service diameter credit control MSCC fault error code, and the minimum flow quota that described MSCC fault error code is used to indicate user described in described packet switch gateway exhausts.
13. methods as claimed in claim 12, is characterized in that, also comprise:
Described packet switch gateway exhausts instruction FUI according to service unit, takes appropriate measures to stop described user to proceed minimum flow business;
Wherein, described service unit exhaust instruction FUI be described Online Charging System when issuing last minimum flow quota for described user, to be carried in described CCA message and to be handed down to described packet switch gateway; Or,
Described service unit exhausts instruction FUI and shuts configuration at the described packet switching network in advance.
14. methods as claimed in claim 11, it is characterized in that, if described Online Charging System is described user issue last minimum flow quota, described method also comprises:
Described Online Charging System carries service unit further and exhausts instruction FUI in the described CCA message sending to described packet switch gateway;
After described packet switch gateway receives the described CCA message of carrying described FUI, according to the DPI recognition accuracy of non-basic flow business, the minimum flow of the described user self detected carries out examining and making cuts the actual use amount of the minimum flow calculating described user;
Described packet switch gateway determines whether the actual use amount of the minimum flow of the current described user calculated that examines and makes cuts reaches described last minimum flow quota, if, exhaust instruction FUI according to described service unit, stop described user to proceed minimum flow business.
15. 1 kinds of online charging devices, is characterized in that, comprising:
Obtain unit, for obtaining the actual use amount of the minimum flow of user, wherein, the actual use amount of the minimum flow of described user detects DPI recognition accuracy according to the deep message of non-basic flow business, and the minimum flow of the described user detected by packet switch gateway carries out examining and making cuts calculating;
Charging Detail Record unit, for the actual use amount of the minimum flow of the described user according to described acquisition unit acquisition, the account of carrying out the minimum flow of described user is reduced.
16. devices as claimed in claim 15, is characterized in that, also comprise:
Issue unit, for carry out described user after account is reduced at described Charging Detail Record unit minimum flow also surplus time, send quota control response CCA message to described packet switch gateway, described CCA message carries the follow-up minimum flow quota for described user issues.
17. devices as claimed in claim 16, it is characterized in that, described acquisition unit specifically for: receive packet switch gateway when charging reports trigger condition to arrive, the quota control request CCR message sent, described CCR message carries the actual use amount of the minimum flow of described user, wherein, the actual use amount of the minimum flow of described user is undertaken examining and making cuts calculating by described packet switch gateway.
18. devices as claimed in claim 17, it is characterized in that, described issue unit also for: if described user issues last minimum flow quota, when issuing described last minimum flow quota for described user, in described CCA message, carry service unit further exhaust instruction FUI, so that described packet switch gateway is when the actual use amount of the minimum flow determining the current described user calculated that examines and makes cuts reaches described last minimum flow quota, according to described FUI, corresponding measure is taked to proceed minimum flow business to stop described user.
19. devices as claimed in claim 16, it is characterized in that, described acquisition unit comprises:
Receiving element, for receiving packet switch gateway when charging reports trigger condition to arrive, the quota control request CCR message of transmission, described CCR message carries the minimum flow USU of the described user that described packet switch gateway detects rG1 detectswith each non-basic flow USU rG2 detectsuSU rGn detects;
Computing unit, for the DPI recognition accuracy according to non-basic flow business, to the minimum flow USU of the described user that described receiving element receives rG1 detectswith each non-basic flow USU rG2 detectsuSU rGn detectscarry out calculating of examining and making cuts, obtain the actual use amount of the minimum flow of described user.
20. devices as claimed in claim 19, is characterized in that, described in issue unit also for:
If determine, the actual use amount of the minimum flow of the current described user calculated that examines and makes cuts reaches the remaining minimum flow quota of described user, in the CCA message sent to described packet switch gateway, carry multi-service diameter credit control MSCC fault error code further, the minimum flow quota that described MSCC fault error code is used to indicate user described in described packet switch gateway exhausts.
21. 1 kinds of packet switch gateways, is characterized in that, comprising:
Detecting unit, in the service traffics transmitting procedure of user, detects the minimum flow obtaining described user;
Computing unit, for detecting DPI recognition accuracy according to the deep message of non-basic flow business, to examine and make cuts calculating to the minimum flow of the described user that described detecting unit detects, obtaining the actual use amount of the minimum flow of described user;
Report unit, actual use amount for the minimum flow of described user calculated by described computing unit reports Online Charging System, so that described Online Charging System is according to the actual use amount of the minimum flow of described user, the account of carrying out the minimum flow of described user is reduced.
22. packet switch gateways as claimed in claim 21, is characterized in that, also comprise:
Receiving element, for receiving the follow-up minimum flow quota that described Online Charging System issues, described follow-up minimum flow quota be when the minimum flow that described Online Charging System carries out described user after account is reduced also surplus time issued by described Online Charging System, described follow-up minimum flow quota is carried in quota control response CCA message.
23. packet switch gateways as claimed in claim 22, is characterized in that, also comprise:
First flow stops unit, for receive at described receiving element described Online Charging System be described user issue last minimum flow quota time, determine whether the actual use amount of the minimum flow of the current described user calculated that examines and makes cuts reaches described last minimum flow quota, if, exhaust instruction FUI according to service unit, take corresponding measure to proceed minimum flow business to stop described user.
24. 1 kinds of packet switch gateways, is characterized in that, comprising:
Detecting unit, in the service traffics transmitting procedure of user, detects the minimum flow USU obtaining described user rG1 detectswith each non-basic flow USU rG2 detectsuSU rGn detects;
Report unit, for the described USU detected by described detecting unit rG1 detectswith USU rG2 examines surveyuSU rGn detectsreport Online Charging System, so that described Online Charging System detects DPI recognition accuracy, to the minimum flow USU of the described user received according to the deep message of non-basic flow business rG1 detectwith each non-basic flow USU rG2 detectsuSU rGn detectscarry out calculating of examining and making cuts, obtain the actual use amount of the minimum flow of described user.
25. packet switch gateways as claimed in claim 24, is characterized in that, also comprise:
Receiving element, for receive described Online Charging System described user after the minimum flow account of carrying out described user is reduced minimum flow also surplus time, the follow-up minimum flow quota issued, described follow-up minimum flow quota is carried in quota control response CCA message.
26. packet switch gateways as claimed in claim 25, it is characterized in that, described receiving element also for: receive described Online Charging System when the actual use amount of the minimum flow determining the current described user calculated that examines and makes cuts reaches the remaining minimum flow quota of described user, the multi-service diameter credit control MSCC fault error code sent, described MSCC fault error code is carried in described CCA message;
Correspondingly, described packet switch gateway also comprises:
Second flow stops unit, for determining that the minimum flow quota of described user exhausts according to described MSCC fault error code, stops described user to proceed minimum flow business.
27. packet switch gateways as claimed in claim 25, it is characterized in that, described receiving element also for: receive described Online Charging System when being defined as described user and issuing last minimum flow quota, be carried at the service unit sent in described CCA message exhaust instruction FUI;
Correspondingly, described packet switch gateway also comprises:
Computing unit, for receive at described receiving element carry described FUI described CCA message after, according to the DPI recognition accuracy of non-basic flow business, the minimum flow of the described user detected by described detecting unit carries out examining and making cuts the actual use amount of the minimum flow calculating described user;
3rd flow stops unit, for when the actual use amount of the minimum flow determining the described user that described computing unit calculates reaches described last minimum flow quota, exhaust instruction FUI according to described service unit, take corresponding measure to proceed minimum flow business to stop described user.
CN201180002497.5A 2011-09-05 2011-09-05 A kind of flow charging method, device and system Active CN102388634B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079349 WO2012149725A1 (en) 2011-09-05 2011-09-05 Volume service billing method, device, and system

Publications (2)

Publication Number Publication Date
CN102388634A CN102388634A (en) 2012-03-21
CN102388634B true CN102388634B (en) 2015-07-29

Family

ID=45826522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180002497.5A Active CN102388634B (en) 2011-09-05 2011-09-05 A kind of flow charging method, device and system

Country Status (2)

Country Link
CN (1) CN102388634B (en)
WO (1) WO2012149725A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103718579B (en) * 2013-06-20 2018-06-05 华为技术有限公司 Charge processing method, apparatus and system
CN103684803B (en) * 2013-12-11 2017-02-22 中国联合网络通信集团有限公司 Flow collecting device and system and method for directional flow accounting
CN103716767B (en) * 2013-12-26 2017-02-15 中国联合网络通信集团有限公司 Billing processing method and device
CN105099718B (en) * 2014-04-22 2018-12-18 阿尔卡特朗讯 The method and apparatus of allocated quotas in online charging system
CN104053140A (en) * 2014-06-11 2014-09-17 中兴通讯股份有限公司 Service providing method, device and system
CN105792235A (en) * 2014-12-25 2016-07-20 乐视移动智能信息技术(北京)有限公司 Data flow statistical method and device
WO2017028192A1 (en) * 2015-08-18 2017-02-23 黄冠明 Method for pushing information when online electronic book is charged based on traffic, and charging system
WO2017028191A1 (en) * 2015-08-18 2017-02-23 黄冠明 Traffic-based online electronic book charging method and charging system
WO2017193427A1 (en) 2016-05-10 2017-11-16 华为技术有限公司 Packet switching service recognition method and terminal
CN107548047A (en) * 2016-06-28 2018-01-05 中兴通讯股份有限公司 A kind of information notice method, OCS, GW and system
CN107154857A (en) * 2017-04-18 2017-09-12 北京思特奇信息技术股份有限公司 The method and device that a kind of flow and expense double-core subtract
CN109936460B (en) * 2017-12-18 2021-11-02 中兴通讯股份有限公司 Method and equipment for charging flow

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127610A (en) * 2006-08-15 2008-02-20 华为技术有限公司 Processing method for negative billing traffic under mobile communication system network environment
WO2008096086A2 (en) * 2006-12-08 2008-08-14 France Telecom Method for packet loss processing
CN101431423A (en) * 2008-12-24 2009-05-13 华为技术有限公司 Reduction method and apparatus for user service flow accounting
CN101483557A (en) * 2009-03-03 2009-07-15 中兴通讯股份有限公司 Log statistic, storing method and system used for deep packet detection apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080096523A1 (en) * 2003-07-22 2008-04-24 Niklas Lundin An Arrangement, a Node and a Method Relating to Handling of Lost/Discarded Data Packets
CN100499467C (en) * 2004-09-10 2009-06-10 华为技术有限公司 Signalling loading billing method in multi-media subsystem
CN100563164C (en) * 2005-07-07 2009-11-25 华为技术有限公司 Method to charging communication flow
CN101931930B (en) * 2009-06-26 2013-03-20 中兴通讯股份有限公司 Method and system for updating service information in subscription profile repository

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127610A (en) * 2006-08-15 2008-02-20 华为技术有限公司 Processing method for negative billing traffic under mobile communication system network environment
WO2008096086A2 (en) * 2006-12-08 2008-08-14 France Telecom Method for packet loss processing
CN101431423A (en) * 2008-12-24 2009-05-13 华为技术有限公司 Reduction method and apparatus for user service flow accounting
CN101483557A (en) * 2009-03-03 2009-07-15 中兴通讯股份有限公司 Log statistic, storing method and system used for deep packet detection apparatus

Also Published As

Publication number Publication date
WO2012149725A1 (en) 2012-11-08
CN102388634A (en) 2012-03-21

Similar Documents

Publication Publication Date Title
CN102388634B (en) A kind of flow charging method, device and system
CN102546117B (en) A kind of LOF method of measurement, Apparatus and system
CN106302423B (en) A kind of method, node, mobile terminal and system identifying network share behavior
US10182161B2 (en) Modifying a quality of a connection between a terminal and an application server
CN103843374B (en) Integrated strategy and charging control based on SY
CN103684803A (en) Flow collecting device and system and method for directional flow accounting
JP7343561B2 (en) Method and device for information exchange in online billing
CN102106101A (en) System and method for monitoring and analyzing network traffic
CN103220651A (en) Method and equipment for carrying out charging control on application layer data
CN101843134A (en) Method and monitoring component for network traffic monitoring
CN102685709A (en) Method and device for auditing charging
CN107819590A (en) A kind of methods, devices and systems of charging
CN102142990A (en) Traffic monitoring method and device
EP2026551A1 (en) A method and system of charging and an account period switching module
CN106936603A (en) A kind of data service billing method, device and system
CN109391915A (en) Offline charging ticket method for controlling threshold value and system based on CUPS agreement
CN104717627A (en) Billing ticket establishing method, data service billing method and related device
CN1322706C (en) Method of realizing real time segmental charging
CN103580959A (en) Distributed statistical reporting implementation method
CN104065490A (en) System and method for simulating transceiver signaling based on online charging environment
CN108270580B (en) Reminding method, device and system for online charging
CN104753731B (en) A kind of method and apparatus of monitoring online charging system
CN104254060A (en) Policy and charging control rule issuing method and equipment
CN103532725B (en) Charging method, network switching device, on-line charging system and charging system
CN103906026B (en) Charging method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant