WO2012149725A1 - 一种流量业务计费方法、装置和系统 - Google Patents
一种流量业务计费方法、装置和系统 Download PDFInfo
- Publication number
- WO2012149725A1 WO2012149725A1 PCT/CN2011/079349 CN2011079349W WO2012149725A1 WO 2012149725 A1 WO2012149725 A1 WO 2012149725A1 CN 2011079349 W CN2011079349 W CN 2011079349W WO 2012149725 A1 WO2012149725 A1 WO 2012149725A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- traffic
- basic traffic
- basic
- service
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/58—Arrangements 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1432—Metric aspects
- H04L12/1435—Metric aspects volume-based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1453—Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
- H04L12/1467—Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network involving prepayment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/70—Administration or customization aspects; Counter-checking correct charges
- H04M15/73—Validating charges
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a traffic service charging method, apparatus, and system. Background technique
- the Packet Switch network uses the Deep Packet Inspection (DPI) technology, and it is hoped that some valuable services will not be charged.
- DPI Deep Packet Inspection
- Basic traffic charges but separate use of the business server for independent billing (for example: billing by bar).
- PS gateway such as the gateway GPRS support node GGSN gateway or the evolved packet core network EPC gateway GW, etc.
- EPC gateway GW evolved packet core network
- the after-hours traffic compensation can be completed at the billing center itself.
- the user traffic quota is an online real-time deduction of the interaction between the PS gateway and the Online Charging System (OCS). In this case, the after-the-fact flow compensation cannot be completed by the billing center or OCS itself.
- Embodiments of the present invention provide a method, device, and system for charging traffic services, which are used for online charging.
- the online charging system can deduct the user account based on the actual usage of the user's basic traffic.
- a traffic service charging method includes:
- the online charging system obtains the actual usage of the basic traffic of the user, where the actual usage of the basic traffic of the user is based on the DPI identification accuracy rate of the non-base traffic service, and the basis of the user detected by the packet switching gateway
- the flow is calculated by subtraction
- the online charging system performs account deduction of the user's basic traffic according to the actual usage amount of the user's basic traffic.
- an online charging apparatus includes:
- An obtaining unit configured to obtain an actual usage amount of the basic traffic of the user, where the actual usage amount of the basic traffic of the user is based on a DPI identification accuracy rate of the non-initial traffic service, and the user detected by the packet switching gateway
- the basic flow is calculated by subtraction
- a charging unit configured to perform account deduction of the basic traffic of the user according to the actual usage of the basic traffic of the user obtained by the obtaining unit.
- a packet switching gateway includes:
- a detecting unit configured to detect, according to a user traffic transmission process, a basic traffic of the user
- a calculating unit configured to perform a subtraction calculation on the basic traffic of the user detected by the detecting unit according to a DPI identification accuracy rate of the non-basic traffic service, to obtain an actual usage amount of the basic traffic of the user;
- the reporting unit is configured to report the actual usage amount of the basic traffic of the user calculated by the computing unit to the online charging system, so that the online charging system is based on the actual usage of the basic traffic of the user. Perform account deduction for the user's underlying traffic.
- a packet switching gateway includes:
- a detecting unit configured to detect a base of the user during a service traffic transmission of the user
- the reporting unit is configured to report the USU RG and the USU RG2 detection...USU RGn detected by the detecting unit to the online charging system, so that the online charging system is based on the non-basic traffic service.
- the DPI identifies the accuracy, and performs the subtraction calculation on the received basic traffic USU RG1 of the user and the non-basic traffic USU RG2 detection ... USU RGn detection to obtain the actual usage of the basic traffic of the user. .
- the invention provides a method, a device and a system for charging a traffic service.
- the online charging system can obtain the actual usage amount of the basic traffic of the user after the basic traffic detected by the user is subjected to the subtraction calculation, and is based on the basis of the user.
- the actual usage of the traffic, the account deduction of the user's basic traffic is performed, and the accounting method of the account enables the reasonable accounting of the user's basic traffic during real-time online charging, so as not to cause the user's non-base traffic to be incorrect.
- the billing accuracy is improved.
- Embodiment 1 is a schematic flow chart of a method according to Embodiment 1 of the present invention.
- FIG. 2 is a schematic flowchart of a method according to Embodiment 2 of the present invention.
- FIG. 3 is a schematic flowchart of a method according to Embodiment 3 of the present invention.
- Embodiment 4 is a schematic flowchart of a method according to Embodiment 4 of the present invention.
- FIG. 5 is a schematic structural diagram of an online charging apparatus according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a packet switching gateway according to an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of another packet switching gateway according to an embodiment of the present invention.
- Embodiment 1 of the present invention provides a charging method. As shown in FIG. 1, the method includes:
- the online charging system obtains the actual usage of the basic traffic of the user, where the actual usage of the basic traffic of the user is based on the DPI identification accuracy rate of the non-initial traffic service, and the user detected by the packet switching gateway The basic flow is calculated by subtraction;
- the online charging system may be an actual usage amount of the basic traffic of the user reported by the packet switching gateway, or may be obtained by performing a core reduction calculation to obtain an actual usage amount of the basic traffic of the user;
- the actual usage of the basic traffic of the user is based on the DPI identification accuracy rate of the non-base traffic service, and the user of the user detected by the packet switching gateway
- the basic traffic is calculated by the subtraction calculation, but the calculation of the subtraction may be performed at the packet switching gateway or the online charging system.
- those skilled in the art may also instruct the execution subject of the subtraction calculation according to the inspiration of the specification of the present invention.
- Embodiments of the invention may be implemented using other third party entities or software.
- S102 The online charging system performs account deduction of the basic traffic of the user according to an actual usage amount of the basic traffic of the user.
- the online charging system may further provide a subsequent basic traffic quota issued by the user, if the user's basic traffic has a balance, if the user's basic traffic has a balance, if the user's balance is Exhausted, the online charging system can issue an indication to the packet switching gateway, so that the packet switching gateway implements measures to prevent the basic traffic from continuing, and the online charging system can also indicate the packet switching gateway monitoring when the balance of the user is not particularly sufficient. When the user's balance is exhausted, the packet switching gateway performs the measures to prevent the basic traffic from continuing when determining that the user's balance is exhausted.
- the specific implementation manner will be described in detail in the following embodiments.
- the online charging system can obtain the actual usage amount after the basic traffic detected by the user is subjected to the subtraction calculation, and according to the actual usage amount of the basic traffic of the user,
- the account deduction of the user's basic traffic enables the correct accounting of the user's basic traffic during real-time online charging, so that the non-base traffic of the user is miscalculated as the basic traffic, and the charging is increased. accuracy.
- the second embodiment of the present invention provides a charging method. As shown in FIG. 2, the method includes:
- S201 The terminal completes a related Packet Data Protocol (PDP) activation or bearer establishment process;
- PDP Packet Data Protocol
- the online charging system OCS delivers the initial basic traffic quota GSU (Granted-Service-Unit) to the PS gateway, and the user's service traffic starts to be transmitted through the PS gateway.
- the deep packet detection DPI rule is configured on the PS gateway, and the rate group (RG) of the basic traffic service is configured to be 1, and the traffic of the service A is configured corresponding to the rate group RG2; wherein, the basic traffic service is A service that is not separately charged in the basic traffic, and the service A is a service that the operator does not want to charge the basic traffic fee and is separately charged.
- the service may be collectively referred to as a non-base traffic service.
- the traffic is called non-basic traffic.
- non-basic traffic service only one non-basic traffic service is listed. In practice, there may be other such services. For such services, the DPI rules can still be processed accordingly. Different non-basic traffic services are used. Set a different rate group, for example, RG2 RGn, etc., where n is a natural number greater than 1.
- the OCS issuing quota is a step-by-step manner. A certain amount of basic traffic quota is issued at a time until the last user completes all basic traffic quotas;
- the PS gateway calculates the actual usage of the basic traffic of the user. Specifically, the PS gateway detects the traffic of the RG1 and the RG2, and is accurately identified according to the DPI. The rate is calculated by subtracting the actual usage of the user's basic traffic. Specifically, the kernel subtraction algorithm can be used. The subtraction algorithm can subtract the unrecognized RG2 traffic calculated according to the DPI identification accuracy from the detected traffic of RG1. The algorithm can be specifically: USURGI**!- USU RG2 detects (1-K 2 %)/K 2 % , where ⁇ 2 % is the DPI identification accuracy of the traffic configured in advance on the PS gateway, which is used in this embodiment.
- the service unit (Used-Service-Unit, USU) is used to indicate the traffic used.
- the K 2 % can be the DPI identification accuracy of the service A accumulated in the experience.
- the K 2 % configured on the PS gateway can be Less than the real business ⁇ recognition accuracy rate, in this case, the user's basic traffic can be guaranteed not to be partially compensated by the leakage, and at the same time, the user can have certain discounts; when the user still has RG2 non-basic traffic service RG3
- the DPI identification accuracy K2%... ⁇ % is configured for each non-base traffic service on the PS gateway, and the algorithm used may be:
- USU RG1 Actual USU RG Measure - USU RG2 Detect (1-K 2 %) / K 2 %... - USU RGn Detect (1- ⁇ ⁇ %) / ⁇ ⁇ % where ⁇ is a natural number greater than 1.
- the traffic is represented by the granted service unit USU.
- the gateway detects the traffic of the user through the DPI. If it is determined to be the basic traffic service, the gateway is marked as the basic traffic (according to RG1 for cumulative counting). If it is determined to be service A, the gateway is marked as service A. Traffic (according to RG2 for cumulative counting), but the DPI cannot accurately identify 100% of the service A, and some traffic of the service A is marked as the basic traffic.
- the PS gateway is mistakenly considered as the basis.
- the traffic of the service A of the traffic is subjected to the calculation of the weight reduction.
- the DPI rule configuration of the service A needs to be pre-configured on the PS gateway.
- the calculation identifier is used to enable the PS gateway to calculate the actual usage traffic of the basic traffic according to the above-mentioned core reduction algorithm. If there are multiple non-base traffic services, the corresponding nuclear reduction is configured for each non-base traffic service.
- the PS gateway sends a credit-control-request (CCR) message to the OCS, where the CCR message carries the actual used traffic of the user's basic traffic calculated in step S202;
- CCR credit-control-request
- the PS gateway only reports the basic traffic of the RG1 to the OCS, and does not report the traffic of the RG2, and the reporting step needs to be pre-configured on the PS gateway, so that the PS gateway only reports the calculated basic traffic;
- the charging report triggering condition may include: timing reporting or preset value arrival.
- the OCS After receiving the CCR message, the OCS performs account deduction of the basic traffic according to the actual usage traffic (USU RG1 actual) of the received basic traffic of the user;
- the OCS sends a quota control response message (CCA) to the PS gateway, where the CCA message carries a subsequent basic traffic quota delivered by the basic traffic RG1 of the user, and is used to pre-prescribe the user service on the PS gateway. Leave the basic traffic quota, but not the service A (RG2) to issue quotas;
- CCA quota control response message
- the OCS can further deliver the subsequent basic traffic quota GSU in the CCA message. If the user base traffic has a balance, the OCS still delivers part of the quota (for example, the number of system configurations) when the user base traffic balance is sufficient, if the balance is not particularly sufficient. The OCS can issue the balance as a subsequent quota. When the OCS determines that the user's basic traffic balance is insufficient, and the last remaining quota of the user is delivered at a time (that is, the last time the basic traffic quota is issued for the user), The FUI can be carried in the CCA message. The FUI indicates the specific measures taken by the PS gateway to prevent the user's basic service from continuing when determining that the basic traffic quota of the user is exhausted.
- the FUI indicates the specific measures taken by the PS gateway to prevent the user's basic service from continuing when determining that the basic traffic quota of the user is exhausted.
- the FUI may also be locally configured by the PS gateway, and the priority of the FUI issued by the OCS is higher than that of the PS gateway.
- FUI if the FUI is configured locally by the PS gateway, when the OCS delivers the last basic traffic quota This need to specify this basis, traffic quota is the last time Delivered for the user;
- the PS gateway receives the non-last basic traffic quota issued by the OCS, the PS gateway calculates the actual usage traffic of the user basic traffic according to the reduction algorithm during the transmission of the user service traffic, and when the charging report triggering condition is reached, The OCS is reported to the OCS to obtain the subsequent quota issued by the OCS. If the PS gateway receives the last basic traffic quota issued by the OCS, the actual usage of the currently calculated user basic traffic reaches the last obtained OCS.
- the PS gateway determines that the basic traffic quota of the user is used, and the PS gateway takes the FUI according to the service unit exhaustion, and takes corresponding measures to prevent the user from continuing the basic traffic service; specifically, After the PS gateway determines that the user's basic traffic quota is used, the PS gateway can report the user's basic traffic quota usage completion event to the OCS, and can also clear the actual usage traffic of the calculated basic traffic by itself, further, on the user basis. After the traffic quota is exhausted, the PS gateway still calculates the user service.
- the PS gateway obtains the actual usage of the user's basic traffic after the basic traffic is detected, and reports the actual usage of the basic traffic of the user to the OCS.
- the account deduction of the basic traffic of the user is performed according to the actual usage of the basic traffic of the user, and the accounting mode of the account enables the reasonable charging of the user basic traffic during real-time online charging, and does not cause the user to be non-
- the underlying traffic is miscalculated as the underlying traffic, which improves billing accuracy.
- the PS gateway monitors whether the user's basic traffic quota is exhausted, and ensures that when the user's basic traffic quota is exhausted, the user is prevented from continuing the basic traffic service and the operator's interests are maintained.
- the DPI identification configured on the PS gateway is configured.
- Embodiment 3 of the present invention provides a charging method. As shown in FIG. 3, the method includes:
- the terminal completes the related packet data protocol (PDP) activation or bearer establishment process; the online charging system OCS has issued an initial basic traffic quota to the PS gateway for related services (on the premise that the user account has a balance)
- the user's traffic begins to be transmitted through the PS gateway.
- the DPI rule is configured on the PS gateway.
- the rate group (RG) of the basic service is configured to be 1 and the rate group RG of the service A is configured to be 2;
- the service A is a service that the operator does not want to charge the basic traffic fee and is separately charged.
- the service may be collectively referred to as a non-base traffic service.
- the generated traffic is called non-basic traffic.
- non-basic traffic service only one non-basic traffic service is listed. In practice, there may be other such services. For such services, the DPI rules can still be processed accordingly. Different non-infrared traffic.
- the service sets different rate groups, for example, RG2 RGn, etc.; in this embodiment, since the user needs to be charged online, the OCS issues a quota, which is a step-by-step delivery method, and each time a certain amount of basic traffic is delivered. Quota, until the end user has used all the basic traffic quotas;
- the following configuration is required for the service on the PS gateway: The basic traffic and the service A traffic are always reported to the OCS synchronously, that is, The configuration of the non-basic traffic service on the PS gateway is always reported to the OCS in synchronization with the basic traffic.
- the OCS determines the actual usage of the basic traffic of the user, and performs deduction of the user account according to the calculated USU RG1 .
- the OCS uses a subtraction algorithm to calculate, and obtains the actual usage of the basic traffic of the user.
- the subtraction algorithm subtracts the unrecognized RG2 traffic calculated based on the DPI identification accuracy from the detected traffic of RG1.
- USU RG1 Actual USU RG Measure - USU RG2 Detect (1-K 2 %) / K 2 %... - USU RGn Detect (1- ⁇ ⁇ %) / ⁇ ⁇ % where ⁇ is a natural number greater than 1. Configuring a DPI identification accuracy rate K2%... ⁇ % for each non-basic traffic service on the PS gateway;
- the OCS sends a quota control response CCA message to the PS gateway, and is used to reserve a traffic quota for the user service on the PS gateway, where the CCA message carries the subsequent basic traffic quota GSU delivered by the basic traffic RG1 of the user to the service A. (RG2) delivered traffic quota; If the user base traffic has a balance, the OCS will still issue part of the quota (such as the number of system configurations) when the user base traffic balance is sufficient. If the balance is not particularly sufficient, the OCS can balance the balance. Issued as a follow-up quota once;
- S306-307 The process of calculating the user quota by the OCS is the same as step 303, if the calculated user base is calculated.
- the actual usage of the basic traffic does not reach the basic traffic quota remaining by the user.
- the OCS actually performs the account deduction of the basic traffic according to the calculated USURG1, and delivers the subsequent quota in the CCA message. If the currently calculated user base traffic is calculated, When the actual usage reaches the basic traffic quota remaining by the user, the OCS determines that the user base traffic quota is exhausted, and then sends a Multiple-Services-Credit-Control (MSCC) layer error code and FUI in the CCA message.
- MSCC Multiple-Services-Credit-Control
- the MSCC layer error code is used to indicate that the basic traffic quota of the user of the packet switching gateway is exhausted, and the FUI is used to indicate that the PS gateway can take measures to prevent the user base traffic from continuing.
- the FUI may also be not sent in the CCA message, but pre-configured to the PS gateway;
- the PS gateway continues to perform the step of detecting the traffic. If the CCA message received by the PS gateway further carries the MSCC layer error code, the PS gateway determines the The user's basic traffic quota is exhausted, and the FUI indicates the measures to prevent the user's basic traffic from continuing, for example, blocking the user service flow, deactivating the user, redirecting the user web browsing service flow to other service servers, and the like; further, After the FUI action is performed, the PS gateway can also report the currently used traffic of RG1 and RG2 to the OCS.
- the PS gateway no longer reports the quota usage of RG1 and RG2 to the OCS until the user completes the account. Top up.
- the PS gateway reports the detected basic traffic and non-base traffic to the online charging system, and the online charging system obtains the actual usage of the user basic traffic after the calculation of the reduction, and according to The actual usage of the basic traffic of the user performs account deduction of the basic traffic of the user, and the accounting mode of the account enables reasonable charging of the user's basic traffic during real-time online charging, and does not lead to non-based use of the user. Traffic is miscalculated as base traffic, improving billing accuracy.
- a fourth embodiment of the present invention provides a charging method. As shown in FIG. 4, the method includes:
- the terminal completes the related Packet Data Protocol (PDP) activation or bearer establishment process; the online charging system OCS has issued an initial basic traffic quota to the PS gateway for related services (on the premise that the user account has a balance) The user's traffic begins to be transmitted through the PS gateway.
- the deep packet detection DPI rule is configured on the PS gateway, and the rate group (RG) of the basic service is configured to be 1, and the traffic rate of the service A is configured to correspond to the rate group RG of 2;
- USU RG1 Actual USU RG Test - USU RG2 Test (1-K 2 %) / K 2 %... - USU RGn Test (1- ⁇ ⁇ %) / ⁇ ⁇ %
- the n is a natural number greater than 1, and the DPI identification accuracy rate K2%... Kn% is configured for each non-base traffic service on the PS gateway;
- S406-407 The process of calculating the user quota by the OCS is the same as step 403. If the calculated actual usage of the user basic traffic does not reach the remaining basic traffic quota of the user, and the balance is sufficient, the OCS performs according to the calculated USU RC1 . The account of the base traffic is deducted, and the pre-configured quota is issued in the CCA message. If the OCS determines that the basic traffic balance of the user is insufficient, the OCS can issue the balance as a subsequent quota (that is, the last time The user issues the basic traffic quota.
- the OCS can also carry the FUI indication in the CCA message; of course, regardless of how the OCS issues the basic traffic balance, the OCS only needs to issue the FUI indication while delivering the last GSU;
- the PS gateway After receiving the last GSU that carries the FUI indication sent by the OCS, the PS gateway detects the traffic of RG1 and RG2 during the transmission of the user service traffic, and uses the DPI identification accuracy rate of the non-base traffic service to adopt the core reduction.
- the algorithm calculates the actual usage traffic of the user base traffic, and the core reduction algorithm is consistent with the method adopted by the OCS in steps S403 and S406, and is currently calculated by the PS gateway.
- the PS gateway determines that the basic traffic quota of the user is used, and the PS gateway takes the corresponding FUI according to the service unit exhaustion.
- the measures are taken to prevent the user from continuing the basic traffic service. Specifically, after the PS gateway determines that the user's basic traffic quota is used, the PS gateway may report the user basic traffic quota usage completion event to the OCS, and may also The actual usage traffic of the calculated basic traffic is cleared. Further, after the user base traffic quota is exhausted, the PS gateway still calculates the usage traffic of the user service. When the calculated actual traffic usage USU of the basic traffic is greater than 0, the execution is performed. The FUI indicates that the action of preventing the user's basic service from continuing is performed; after that, the PS gateway no longer reports the quota usage of RG1 and RG2 to the OCS until the user completes the account recharge.
- the PS gateway reports the detected basic traffic and non-base traffic to the online charging system, and the online charging system obtains the actual usage of the user basic traffic after the calculation of the reduction, and according to The actual usage of the basic traffic of the user performs account deduction of the basic traffic of the user, and the accounting mode of the account enables reasonable charging of the user's basic traffic during real-time online charging, and does not lead to non-based use of the user. Traffic is miscalculated as base traffic, improving billing accuracy.
- the calculation of the reduction is performed on the online charging system side, which does not have too high requirements for the PS gateway, and does not require major modification of the PS gateway. The system transformation cost is low, and the solution is easy to implement.
- FIG. 5 is a schematic structural diagram of an online charging apparatus OCS according to Embodiment 5 of the present invention; Figure, including:
- the obtaining unit 501 is configured to obtain an actual usage amount of the basic traffic of the user, where the actual usage amount of the basic traffic of the user is based on a DPI identification accuracy rate of the non-base traffic service, and the user detected by the packet switching gateway
- the basic flow is calculated by subtraction
- the charging unit 502 is configured to perform account deduction of the basic traffic of the user according to the actual usage amount of the basic traffic of the user obtained by the obtaining unit 501.
- the online charging system may further include:
- a sending unit 503 configured to send a quota control response CCA message to the packet switching gateway, where the charging unit 502 performs an account deduction, and sends a quota control response CCA message to the packet switching gateway, where the CCA message is carried The subsequent basic traffic quota issued by the user.
- the obtaining unit 501 can have two specific implementation manners:
- the obtaining unit 501 is specifically configured to: receive a quota control request CCR message sent by the packet switching gateway when the charging report triggering condition arrives, where the CCR message carries the actual usage amount of the basic traffic of the user, where The actual usage of the basic traffic of the user is calculated by the packet switching gateway to perform a subtraction calculation;
- the sending unit 503 is further configured to: when the last basic traffic quota is delivered by the user, when the last basic traffic quota is delivered for the user, in the CCA message. And further carrying the service unit exhaustion indication FUI, so that the packet switching gateway determines, according to the FUI, that the actual usage amount of the basic traffic of the user obtained by the current deduction is up to the last basic traffic quota. Measures to prevent the user from continuing the basic traffic service.
- the obtaining unit includes: a receiving unit 5011, configured to receive a quota control request CCR message sent by the packet switching gateway when the charging report triggering condition arrives, where the CCR message carries the detected by the packet switching gateway
- the computing unit 5012 for determining the accuracy rate according to the DPI of the non-base traffic service, receiving the receiving unit 5011
- the user's basic traffic USU RG1 is detected with Obtaining the actual usage amount of the basic traffic of the user;
- the sending unit 503 is further configured to: if it is determined that the actual usage amount of the basic traffic of the user obtained by the current deduction is up to the basic traffic quota remaining by the user, send the packet to the packet switching gateway.
- the CCA message further carries a multi-service credit control MSC layer error code, and the MSCC layer error code is used to indicate that the basic traffic quota of the user of the packet switching gateway is exhausted.
- FIG. 6 is a packet switching gateway according to Embodiment 6 of the present invention, including: a detecting unit 601, configured to detect, according to a service flow of a user, a basic traffic of the user;
- the calculating unit 602 is configured to detect a DPI identification accuracy rate according to the depth packet of the non-basic traffic service, perform a subtraction calculation on the basic traffic of the user detected by the detecting unit 601, and obtain an actual usage of the basic traffic of the user. the amount;
- the reporting unit 603 is configured to report the actual usage amount of the basic traffic of the user calculated by the calculating unit 602 to the online charging system, so that the online charging system is actually used according to the basic traffic of the user. Volume, account deduction for the user's basic traffic
- the packet switching gateway may further include:
- the receiving unit 604 is configured to receive a subsequent basic traffic quota issued by the online charging system when the basic traffic account deduction of the user is performed, and the subsequent basic traffic quota is sent. Carry in the quota control response CCA message;
- the packet switching gateway may further include:
- the first traffic blocking unit 605 is configured to determine, when the receiving unit 604 receives the last basic traffic quota for the user, to determine the actual basic traffic of the user obtained by the current subtraction calculation. Whether the usage amount reaches the last basic traffic quota, and if so, according to the business unit exhaustion indication FUI, corresponding measures are taken to prevent the user from continuing the basic traffic service.
- FIG. 7 is a packet switching gateway according to Embodiment 7 of the present invention, including: a detecting unit 701, configured to detect, when the user traffic is transmitted, the user
- the reporting unit 702 is configured to report the USU RG1 detection and the USU RG2 detection... USU RGN detection detected by the detecting unit 701 to the online charging system, so that the online charging system is based on a non-based basis.
- the accuracy of the DPI of the traffic service is determined, and the received basic traffic USU RG of the user and the non-base traffic USU RG2 detection ... USU RGN detection are subjected to a subtraction calculation to obtain the actual basic traffic of the user. Usage amount;
- the packet switching gateway may further include:
- the receiving unit 703 is configured to receive a subsequent basic traffic quota issued by the online charging system when the basic traffic account deduction of the user is performed, and the subsequent basic traffic quota is sent. Carry in the quota control response CCA message;
- the receiving unit 703 may further receive the basis that the online charging system determines that the actual usage of the basic traffic of the user obtained by the current deduction is up to the user remaining.
- the sent multi-service credit controls the MSCC layer error code
- the MSCC layer error code is carried in the CCA message.
- the packet switching gateway may further include: 704. Determine, according to the MSCC layer error code, that the basic traffic quota of the user is exhausted, and prevent the user from continuing to perform basic traffic service.
- the receiving unit 703 may further receive, by the online charging system, the service sent in the CCA message when determining that the user issues the last basic traffic quota.
- the unit exhaustion indication FUI in this embodiment, the packet switching gateway may further include: a calculating unit 705, configured to: after the receiving unit receives the CCA message carrying the FUI, according to the non-base traffic service Determining the accuracy of the DPI, performing a subtraction calculation on the basic traffic of the user detected by the detecting unit 701 to obtain an actual usage amount of the basic traffic of the user; and a third traffic blocking unit 706, configured to determine the computing unit 705 calculated place When the actual usage of the basic traffic of the user reaches the last basic traffic quota, according to the service unit exhaustion indication FUI, corresponding measures are taken to prevent the user from continuing the basic traffic service.
- the online charging device and the packet switching gateway provided by the embodiment of the present invention can enable the online charging system to obtain the actual usage amount after the basic traffic detected by the user is subjected to the subtraction calculation, and according to the actual usage of the basic traffic of the user.
- the account deduction of the basic traffic of the user is performed, and the accounting method of the account enables the correct charging of the user's basic traffic during real-time online charging, so that the non-base traffic of the user is not miscalculated as the basic traffic. Improve billing accuracy.
- modules in the user equipment in the embodiment may be distributed in the user equipment of the embodiment according to the embodiment, or may be correspondingly changed in one or more user equipments different from the embodiment. .
- the modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules.
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)
Description
一种流量业务计费方法、 装置和系统 技术领域
本发明涉及通信技术领域, 特别是涉及一种流量业务计费方法、 装置和 系统。 背景技术
当前,运营商在分组交换 ( Packet Switch )网络利用深度报文检测( Deep Packet Inspection , DPI )技术对用户访问的具体业务进行差别计费的过程中, 希望对某些比较有价值的业务不收取基础流量费用,而是单独使用业务服务 器进行独立计费 (例如: 按条计费)。
这就要求 PS网关 (例如网关 GPRS支持节点 GGSN网关或演进分组核心网 EPC网关 GW等)能够准确识别出这些价值业务, 上报其使用的流量给计费系 统, 以便计费系统进行流量核减(对这些价值业务不收取基础流量费)。
然而, 当前 DPI中, 很多识别类协议无法做到 100%准确识别, 一般都 只能做到 90 %以上的识别率。 这样, 就导致小于 10 %的价值协议流量不能 做到免费, 还是被收取了基础流量费用。 如果终端用户本地启用上网流量统 计软件, 便可以很容易发现此问题, 并进行投诉。 导致运营商的终端用户满 意度大幅下降, 客户流失。 对于离线计费场景, 可以在计费中心自身完成事后流量补偿。 而对于在 线计费场景, 用户流量配额是 PS 网关和在线计费系统 (Online Charging System, OCS ) 交互进行在线实时扣减的。 这种情况下, 无法由计费中心 或者 OCS自身完成事后流量补偿。
发明内容
本发明实施例提供了一种流量业务计费方法、 装置和系统, 在在线计费
场景下, 在线计费系统可以基于用户的基础流量的实际使用量对用户账户进 行扣减。
根据本发明的一方面, 一种流量业务计费方法, 包括:
在线计费系统获得用户的基础流量的实际使用量, 其中, 所述用户的基 础流量的实际使用量是根据非基础流量业务的 DPI识别准确率,将分组交换网 关检测到的所述用户的基础流量进行核减计算得到;
所述在线计费系统根据所述用户的基础流量的实际使用量, 进行所述用 户的基础流量的账户扣减。
根据本发明的又一方面, 一种在线计费装置, 包括:
获得单元, 用于获得用户的基础流量的实际使用量, 其中, 所述用户的 基础流量的实际使用量是根据非基础流量业务的 DPI识别准确率,将分组交换 网关检测到的所述用户的基础流量进行核减计算得到;
计费单元, 用于根据所述获得单元获得的所述用户的基础流量的实际使 用量, 进行所述用户的基础流量的账户扣减。
根据本发明的又一方面, 一种分组交换网关, 包括:
检测单元, 用于在用户的业务流量传输过程中, 检测得到所述用户的基 础流量;
计算单元,用于根据非基础流量业务的 DPI识别准确率,对所述检测单元 检测到的所述用户的基础流量进行核减计算, 得到所述用户的基础流量的实 际使用量;
上报单元, 用于将所述计算单元计算出的所述用户的基础流量的实际使 用量上报给在线计费系统, 以便于所述在线计费系统根据所述用户的基础流 量的实际使用量, 进行所述用户的基础流量的账户扣减。
根据本发明的又一方面, 一种分组交换网关, 包括:
检测单元, 用于在用户的业务流量传输过程中, 检测得到所述用户的基
^ '/HUSURGI检测" ^ '/HTUSURG2检测 · · .USlJRGn检测;
上报单元, 用于将所述检测单元检测到的所述 USURG 测与 USURG2检 测 ...USURGn检 上报给所述在线计费系统, 以便于所述在线计费系统根据非基 础流量业务的 DPI识别准确率, 对所述接收到的所述用户的基础流量 USURG1检 测与各非基础流量 USURG2检测 ...USURGn检测进行核减计算, 得到所述用户的基础 流量的实际使用量。
本发明提出了一种流量业务计费方法、 装置和系统, 在线计费系统可以 获得对用户检测到的基础流量经过核减计算之后的用户的基础流量的实际使 用量, 并根据所述用户的基础流量的实际使用量, 进行所述用户的基础流量 的账户扣减, 此种账户计费方式做到了实时在线计费时对用户基础流量的合 理计费, 不至于导致用户的非基础流量被误计为基础流量, 提高了计费准确 性。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例一的方法的流程示意图;
图 2为本发明实施例二的方法的流程示意图;
图 3为本发明实施例三的方法的流程示意图;
图 4为本发明实施例四的方法的流程示意图;
图 5为本发明实施例提供的一种在线计费装置的结构示意图;
图 6为本发明实施例提供的一种分组交换网关的结构示意图;
图 7为本发明实施例提供的另一种分组交换网关的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有付 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 本发明实施例一提供了一种计费方法, 如图一所示, 该方法包括:
S101 : 在线计费系统获得用户的基础流量的实际使用量, 其中, 所述用 户的基础流量的实际使用量是根据非基础流量业务的 DPI识别准确率,将分组 交换网关检测到的所述用户的基础流量进行核减计算得到;
其中, 在线计费系统可以是获得分组交换网关上报的所述用户的基础流 量的实际使用量, 也可以是自身进行核减计算而获得所述用户的基础流量的 实际使用量的;
无论是分组交换网关上报, 还是在线计费系统自身计算, 所述用户的基 础流量的实际使用量都是是根据非基础流量业务的 DPI识别准确率,将分组交 换网关检测到的所述用户的基础流量进行核减计算得到的, 只是核减计算可 以是在分组交换网关进行, 也可以在在线计费系统进行, 当然, 本领域技术 人员也可以根据本发明的说明书的启发, 将核减计算的执行主体运用到其它 的第三方实体或软件上, 都可以实现本发明的实施例。
S102: 所述在线计费系统根据所述用户的基础流量的实际使用量, 进行 所述用户的基础流量的账户扣减。
其中, 在进行用户基础流量的账户扣减之后, 若所述用户的基础流量还 有余额,所述在线计费系统可以进一步为所述用户下发的后续基础流量配额, 若所述用户的余额已用尽, 在线计费系统可以下发指示给分组交换网关, 使 得分组交换网关实施阻止基础流量继续进行的措施, 在线计费系统也可以在 用户的余额不是特别充分时, 指示分组交换网关监控用户的余额耗尽, 分组 交换网关在确定用户的余额耗尽时, 自行实施阻止基础流量继续进行的措施, 具体实现方式以下实施例将进行详述。
本发明实施例一, 对于在线计费用户, 在线计费系统可以获得对用户检 测到的基础流量经过核减计算之后的实际使用量, 并根据所述用户的基础流 量的实际使用量, 进行所述用户的基础流量的账户扣减, 此种账户计费方式 做到了实时在线计费时对用户基础流量的正确计费, 不至于导致用户的非基 础流量被误计为基础流量, 提高了计费准确性。 本发明实施例二提供了一种计费方法, 如图二所示, 该方法包括:
S201 : 终端完成相关的分组数据协议 ( Packet Data Protocol , PDP )激 活或者承载建立过程;
在该过程中,在线计费系统 OCS向 PS网关为相关业务下发初始基础流量 配额 GSU ( Granted-Service-Unit, 授予的业务单位), 用户的业务流量开始通 过 PS网关进行传输。 在 PS网关上面配置深度报文检测 DPI规则, 基础流量业 务被配置对应的费率组(Rating Group , RG )为 1 , 业务 A的流量被配置对应 的费率组 RG2; 其中, 基础流量业务为包含在基础流量中不单独计费的业务, 业务 A为 运营商不希望收取基础流量费而独立计费的业务, 在本实施例中, 可将此类 业务统称为非基础流量业务, 其产生的流量称为非基础流量; 本实施例中仅 列举一种非基础流量业务, 实际中还可以有其它此类业务, 对于此类业务, 仍然可按照 DPI规则相应处理, 不同的非基础流量业务设置不同的费率组,例 如 RG2 RGn等等, 所述 n为大于 1的自然数; 本实施例中, 由于需要对用户在线计费, 因此, OCS下发配额是采取逐 步下发的方式, 每一次下发一定数额的基础流量配额, 直至最后用户使用完 毕所有基础流量配额;
S202: 在用户业务流量传输过程中, PS网关计算用户的基础流量的实际 使用量, 具体地, PS网关将检测得到 RG1与 RG2的流量, 根据 DPI识别准确
率进行核减计算得到用户的基础流量的实际使用量 ,具体可以采用核减算法 , 核减算法可以为检测到的 RG1的流量减去根据 DPI识别准确率计算出的未准 确识别的 RG2流量,所采用的算法具体可以为:
USURGI**!- USURG2 检测(1-K2%)/K2% , 其中, 所述的 Κ2%为预先在 PS网关上配置的业务 Α的 DPI识 别准确率, 本实施例采用使用的业务单位(Used-Service-Unit, USU )来表示 使用的流量, 所述的 K2%可以为经验积累的业务 A的 DPI识别准确率, 本实施 例中在 PS网关上配置的 K2%可以小于真实的业务 Α的识别准确率, 此种情况 下, 可以保证用户的基础流量不会被漏补偿一部分, 同时可以对用户有一定 的优惠; 当所述用户还存在除 RG2非基础流量业务 RG3...RGn时, 在所述 PS网关 上分别为各非基础流量业务配置 DPI识别准确率 K2%... Κη% , 所采用的算法 可以为:
USURG1实际 = USURG 测- USURG2检测 (1-K2%)/K2%...- USURGn检测 (1-Κη%)/Κη% 其中, 所述 η为大于 1的自然数, 所述流量以授予的业务单位 USU表示。 一般来说,网关通过 DPI检测用户的业务流量,如果判定是基础流量业务, 网关则相应标记为基础流量(相应于 RG1进行累积计数), 如果判定为业务 A, 则网关相应标记为业务 A的流量(相应于 RG2进行累积计数 ), 但是 DPI对业 务 A无法做到 100%的准确识别, 会有一部分业务 A的流量被标记为基础流量, 因此本实施例中, PS网关实时对误认为基础流量的业务 A的流量进行核减计 算; 本实施例中, 为了实现 PS网关能够对检测到的基础流量进行核减计算, 需要在 PS网关上预先配置对业务 A的 DPI规则配置核减计算标识,该核减计算 标识用于使得 PS网关根据上述核减算法计算基础流量的实际使用流量, 如果 有多种非基础流量业务, 则相应的为每一种非基础流量业务配置相应的核减
S203: 在计费上报触发条件到达时, PS网关给 OCS发送配额控制请求消 息 ( Credit-Control-Request, CCR ), 该 CCR消息携带步骤 S202中计算出的用 户的基础流量的实际使用流量; 在本步骤中, PS网关仅上报 RG1的基础流量到 OCS, 而不上报 RG2的流 量, 而实现该上报步骤需要在 PS网关上进行预先配置, 使得 PS网关仅上报核 减计算出的基础流量; 相应的计费上报触发条件可以包括: 定时上报或者预设值到达。
S204: OCS接收到 CCR消息后, 根据接收到用户的基础流量的实际使用 流量(USURG1实际 )进行基础流量的账户扣减;
S205: OCS给 PS网关发送配额控制响应消息 ( Credit-Control- Answer , CCA ), 其中该 CCA消息携带给用户的基础流量 RG1下发的后续基础流量配 额, 用于为用户业务在 PS网关上预留基础流量配额, 而不给业务 A(RG2)下发 配额;
OCS可在 CCA消息中进一步下发后续基础流量配额 GSU, 若用户基础流 量还有余额, OCS在用户基础流量余额足够多时, 仍然下发部分配额 (例如 系统配置的数量), 若余额不是特别充分时, OCS可将余额作为后续配额一次 下发, 当 OCS确定用户基础流量余额不充分, 一次性下发用户最后剩余的配 额时(即最后一次为所述用户下发基础流量配额时),还可以在 CCA消息中携 带 FUI ( Final-Unit-Indication 业务单位耗尽指示 ), 该 FUI指示 PS网关在确定 用户的基础流量配额耗尽时,采取的阻止用户基础业务继续进行的具体措施, 例如: 阻塞用户业务流, 或者去活用户, 或者把用户网页浏览业务流重定向 到其它业务服务器等动作, 当然 FUI也可以是 PS网关本地配置的, OCS下发 FUI的优先级高于 PS网关本地配置的 FUI, 若 FUI由 PS网关本地配置, 则所述 OCS下发最后一次基础流量配额时, 需要指明本此基础流量配额是最后一次
为所述用户下发;
S206: 若 PS网关接收到 OCS下发的非最后一次基础流量配额, PS网关在 用户业务流量传输过程中, 根据核减算法计算出用户基础流量的实际使用流 量, 在计费上报触发条件达到时, 上报给 OCS以获得 OCS继续下发的后续配 额; 若 PS网关接收到 OCS下发的最后一次基础流量配额, 则在当前计算出的 用户基础流量的实际使用量达到当前获取的 OCS下发的最后一次流量配额 GSU时, 所述 PS网关确定用户的基础流量额度使用完毕, PS网关才艮据业务单 位耗尽指示 FUI,采取相应的措施来阻止所述用户继续进行基础流量业务; 具 体地, 对于 PS网关在确定用户的基础流量额度使用完毕之后, PS网关可以向 OCS上报该用户基础流量额度使用完毕事件, 同时还可以将自身计算的基础 流量的实际使用流量清零, 进一步地, 在用户基础流量配额耗尽以后, PS网 关仍然计算用户业务的使用流量, 在计算出的基础流量的实际使用流量 USU 大于 0的时候, 执行 FUI指示, 即执行阻止用户基础业务继续进行的动作; 在此之后, PS网关都不再上报 RG1和 RG2的配额使用情况给 OCS了, 直 到用户完成账户充值。 本发明实施例, 对于在线计费用户, PS网关对检测到的基础流量经过核 减计算之后得到用户基础流量的实际使用量, 并将所述用户的基础流量的实 际使用量上报给 OCS, OCS可以根据该用户的基础流量的实际使用量进行所 述用户的基础流量的账户扣减, 此种账户计费方式做到了实时在线计费时对 用户基础流量的合理计费,不至于导致用户的非基础流量被误计为基础流量, 提高了计费准确性。 同时, 由 PS网关对用户基础流量额度是否耗尽进行监控, 保证在用户基础流量配额耗尽时, 及时阻止用户继续进行基础流量业务, 维 护了运营商的利益; 在 PS网关上配置的 DPI识别准确率 K9H、于真实的业务 A 的识别准确率, 此种情况下, 可以保证用户的基础流量不会被漏补偿一部分, 同时可以对用户有一定的优惠, 保证用户的利益。
本发明实施例三提供了一种计费方法, 如图三所示, 该方法包括:
S301 : 终端完成相关的分组数据协议 ( Packet Data Protocol , PDP )激 活或者承载建立过程; 在线计费系统 OCS已经向 PS网关为相关业务下发初始基础流量配额 (在 用户账户有余额的前提下),用户的业务流量开始通过 PS网关进行传输。在 PS 网关上面配置深度报文检测 DPI规则, 基础业务被配置对应的费率组( Rating Group , RG )为 1 , 业务 A的流量被配置对应的费率组 RG为 2; 其中, 基础流量业务为包含在基础流量中不单独计费的业务, 业务 A为 运营商不希望收取基础流量费而独立计费的业务, 在本实施例中, 可将此类 业务统称为非基础流量业务, 其产生的流量称为非基础流量; 本实施例中仅 列举一种非基础流量业务, 实际中还可以有其它此类业务, 对于此类业务, 仍然可按照 DPI规则相应处理, 不同的非基础流量业务设置不同的费率组,例 如 RG2 RGn等等; 本实施例中, 由于需要对用户在线计费, 因此, OCS下发配额是采取逐 步下发的方式, 每一次下发一定数额的基础流量配额, 直至最后用户使用完 毕所有基础流量配额;
S302: 在用户的计费上报触发条件到达时, PS网关给 OCS发送配额控制 请求消息 CCR , 该 CCR消息携带检测到的 RG1流量使用量 =^1字节, 检测到的 RG2流量使用量 =N字节, 以及预先在 PS网关上配置的 RG2的识别准确率 K2%; 实现本实施例, 需要在 PS网关上针对业务 Α进行如下配置: 基础流量和 业务 A流量始终同步上报给 OCS , 即在 PS网关上针对各非基础流量业务配置 始终与基础流量同步上报给 OCS ;
S303: OCS确定用户的基础流量实际使用量, 根据计算出的 USURG1 际进 行用户账户扣减; 具体地, 本实施例中 OCS采用核减算法进行计算, 得出用户的基础流量 实际使用量,该核减算法为检测到的 RG1的流量减去根据 DPI识别准确率计算 出的未准确识别的 RG2流量, 所采用的算法可以为: USURG1实际 = USURGI**!- USURG2**I(1-K2%)/K2% 如果计算出的 USU<0, 则按照 0处理; 当所述用户还存在除 RG2非基础流量业务 RG3...RGn时,所采用的算法可 以为:
USURG1实际 = USURG 测- USURG2检测 (1-K2%)/K2%...- USURGn检测 (1-Κη%)/Κη% 其中, 所述 η为大于 1的自然数, 在所述 PS网关上分别为各非基础流量业 务配置 DPI识别准确率 K2%... Κη%;
S304: OCS给 PS网关发送配额控制响应 CCA消息, 用于为用户业务在 PS 网关上预留流量配额, 其中该 CCA消息携带给用户的基础流量 RG1下发的后 续基础流量配额 GSU, 给业务 A(RG2)下发的流量配额; 若用户基础流量还有余额, OCS在用户基础流量余额足够多时, 仍然下 发部分配额(例如系统配置的数量), 若余额不是特别充足时, OCS可将余额 作为后续配额一次下发;
S305: 同步骤 302, 在用户业务计费上报触发条件到达时, PS网关给 OCS 发送配额控制请求消息 CCR, 该 CCR消息携带当前检测到的 RG1流量使用量 = Μ'字节, 当前检测到的 RG2流量使用量 = Ν'字节, 以及预先在 PS网关上配置 的 RG2的识别准确率 Κ2%;
S306-307: OCS计算用户配额使用的过程同步骤 303 , 若计算出的用户基
础流量的实际使用量未达到用户还剩余的基础流量配额, OCS根据计算出的 USURG1实际进行基础流量的账户扣减, 并在 CCA消息中下发后续配额, 若 当前计算出的用户基础流量的实际使用量达到用户还剩余的基础流量配额 时, OCS确定此用户基础流量配额用尽, 则在 CCA消息中下发多业务信用控 制( Multiple-Services-Credit-Control , MSCC )层错误码和 FUI指示给 PS网关, 所述 MSCC层错误码用于指示所述分组交换网关所述用户的基础流量配额耗 尽, 所述 FUI用于指示 PS网关可以采取的阻止用户基础流量继续进行的措施, 所述 FUI也可不在该 CCA消息中下发, 而是预先配置到 PS网关上;
S308: 若 PS网关接收到的 CCA消息中携带基础流量的后续配额 GSU, PS 网关继续执行检测流量的步骤, 若 PS网关接收到的 CCA消息中还携带 MSCC 层错误码, PS网关则确定所述用户的基础流量配额耗尽, 执行 FUI指示的阻 止用户基础流量继续进行的措施, 例如: 阻塞用户业务流, 去活用户, 把用 户网页浏览业务流重定向到其它业务服务器等动作; 进一步地, 在执行完 FUI动作后, PS网关还可以向 OCS上报 RG1和 RG2 的当前已经使用的流量; 后面任何场景下, PS网关都不再上报 RG1和 RG2的 配额使用情况给 OCS了, 直到用户完成账户充值。 本发明实施例, 对于在线计费用户, PS网关将检测到的基础流量和非基 础流量上报给在线计费系统, 由在线计费系统经过核减计算之后得到用户基 础流量的实际使用量, 并根据该用户的基础流量的实际使用量进行所述用户 的基础流量的账户扣减, 此种账户计费方式做到了实时在线计费时对用户基 础流量的合理计费, 不至于导致用户的非基础流量被误计为基础流量, 提高 了计费准确性。 同时, 在在线计费系统侧进行核减计算, 对 PS网关没有过高 要求, 不需要对 PS网关进行较大改造, 系统改造成本低, 方案便于实现。 配 置的 DPI识别准确率 K9H、于真实的业务 A的识别准确率, 此种情况下, 可以 保证用户的基础流量不会被漏补偿一部分, 同时可以对用户有一定的优惠,
保证用户的利益。 本发明实施例四提供了一种计费方法, 如图四所示, 该方法包括:
S401: 终端完成相关的分组数据协议 ( Packet Data Protocol , PDP )激 活或者承载建立过程; 在线计费系统 OCS已经向 PS网关为相关业务下发初始基础流量配额 (在 用户账户有余额的前提下),用户的业务流量开始通过 PS网关进行传输。在 PS 网关上面配置深度报文检测 DPI规则, 基础业务被配置对应的费率组(Rating Group, RG )为 1 , 业务 A的流量被配置对应的费率组 RG为 2;
S402: 在用户的计费上报触发条件到达时, PS网关给 OCS发送配额控制 请求消息 CCR, 该 CCR消息携带检测到的 RG1流量使用量 =M字节, 检测到的 RG2流量使用量-N字节,以及预先在 PS网关上配置的 RG2的识别准确率 K2%; 实现本实施例, 需要在 PS网关上针对业务 Α进行如下配置: 基础流量和 业务 A流量始终同步上报给 OCS , 即在 PS网关上针对各非基础流量业务配置 始终与基础流量同步上报给 OCS;
S403: OCS确定用户的基础流量实际使用量, 具体地, 本实施例中 OCS 采用核减算法进行计算, 得出用户的基础流量实际使用量, 该核减算法为检 测到的 RG1的流量减去才艮据 DPI识别准确率计算出的未准确识别的 RG2流量, 所采用的算法可以为: USURG1实际 =
USURG2检测 (1-K2%)/K2% 如果计 算出的 USU<0, 则按照 0处理; 当所述用户还存在除 RG2非基础流量业务 RG3...RGn时,所采用的算法可 以为:
USURG1实际 = USURG 测- USURG2检测 (1-K2%)/K2%...- USURGn检测 (1-Κη%)/Κη%
其中, 所述 n为大于 1的自然数, 在所述 PS网关上分别为各非基础流量业 务配置 DPI识别准确率 K2%... Kn%; S404: OCS根据计算出的 USURG1 际进行 用户账户扣减, 进一步, OCS给 PS网关发送配额控制响应 CCA消息, 用于为 用户业务在 PS网关上预留流量配额, 其中该 CCA消息携带给用户的基础流量 RG1下发的后续基础流量配额 GSU, 给业务 A(RG2)下发的流量配额; 若用户基础流量还有余额, OCS在用户基础流量余额足够多时, 仍然下 发部分配额(例如系统配置的数量), 若余额不是特别充足时, OCS可将余额 作为后续配额一次下发;
S405: 同步骤 402, 在用户业务计费上 ·^艮触发条件到达时, PS网关给 OCS 发送配额控制请求消息 CCR, 该 CCR消息携带当前检测到的 RG1流量使用量 = Μ'字节, 当前检测到的 RG2流量使用量 = Ν'字节, 以及预先在 PS网关上配置 的 RG2的识别准确率 Κ2%;
S406-407: OCS计算用户配额使用的过程同步骤 403, 若计算出的用户基 础流量的实际使用量未达到用户还剩余的基础流量配额,并且余额还充足时, OCS根据计算出的 USURC1 进行基础流量的账户扣减, 并在 CCA消息中下发 预先配置的数量的配额, 若 OCS确定此用户的基础流量余额不充足时, OCS 可将余额作为后续配额一次下发 (即最后一次为所述用户下发基础流量配额
GSU ), 此时, OCS在 CCA消息中还可携带 FUI指示; 当然, 无论 OCS如何下 发基础流量余额, OCS只要保证在下发最后一个 GSU的同时下发 FUI指示即 可;
S408: PS网关接收到携带 OCS下发的携带 FUI指示的最后一个 GSU之后, 在用户业务流量传输过程中, 检测得到 RG1和 RG2的流量, 并根据非基础流 量业务的 DPI识别准确率, 采用核减算法计算出用户基础流量的实际使用流 量, 该核减算法与步骤 S403与 S406中 OCS采用的方法一致, 在 PS网关当前计
算出的用户基础流量的实际使用量达到当前获取的 OCS下发的最后一次基础 流量配额 GSU时, 所述 PS网关确定用户的基础流量额度使用完毕, PS网关根 据业务单位耗尽指示 FUI,采取相应的措施来阻止所述用户继续进行基础流量 业务; 具体地, 对于 PS网关在确定用户的基础流量额度使用完毕之后, PS网 关可以向 OCS上报该用户基础流量额度使用完毕事件, 同时还可以将自身计 算的基础流量的实际使用流量清零, 进一步地, 在用户基础流量配额耗尽以 后, PS网关仍然计算用户业务的使用流量, 在计算出的基础流量的实际使用 流量 USU大于 0的时候, 执行 FUI指示, 即执行阻止用户基础业务继续进行的 动作; 在此之后, PS网关都不再上报 RG1和 RG2的配额使用情况给 OCS了, 直 到用户完成账户充值。 本发明实施例, 对于在线计费用户, PS网关将检测到的基础流量和非基 础流量上报给在线计费系统, 由在线计费系统经过核减计算之后得到用户基 础流量的实际使用量, 并根据该用户的基础流量的实际使用量进行所述用户 的基础流量的账户扣减, 此种账户计费方式做到了实时在线计费时对用户基 础流量的合理计费, 不至于导致用户的非基础流量被误计为基础流量, 提高 了计费准确性。 同时, 在在线计费系统侧进行核减计算, 对 PS网关没有过高 要求, 不需要对 PS网关进行较大改造, 系统改造成本低, 方案便于实现。 配 置的 DPI识别准确率 K9H、于真实的业务 A的识别准确率, 此种情况下, 可以 保证用户的基础流量不会被漏补偿一部分, 同时可以对用户有一定的优惠, 保证用户的利益。 另外, 在 OCS确定用户的基础流量余额快要用尽时, 在下 发的最后一次基础流量配额中下发指示, 将对用户基础流量额度是否耗尽的 监控交给 PS网关执行, 可以保证在用户基础流量配额耗尽时, 及时阻止用户 继续进行基础流量业务, 维护了运营商的利益。 如图 5所示, 图 5为本发明实施例五提供的一种在线计费装置 OCS的结构
图, 包括:
获得单元 501 , 用于获得用户的基础流量的实际使用量, 其中, 所述用户 的基础流量的实际使用量是根据非基础流量业务的 DPI识别准确率,将分组交 换网关检测到的所述用户的基础流量进行核减计算得到;
计费单元 502, 用于根据所述获得单元 501获得的所述用户的基础流量的 实际使用量, 进行所述用户的基础流量的账户扣减。
进一步地, 在线计费系统还可以包括:
下发单元 503 , 用于在所述计费单元 502进行账户扣减之后所述用户的基 础流量还有余额时, 向所述分组交换网关发送配额控制响应 CCA消息, 所述 CCA消息携带为所述用户下发的后续基础流量配额。
所述获得单元 501可以有两种具体实施方式:
其一, 所述获得单元 501具体用于: 接收分组交换网关在计费上报触发条 件到达时, 发送的配额控制请求 CCR消息, 所述 CCR消息携带所述用户的基础 流量的实际使用量, 其中, 所述用户的基础流量的实际使用量由所述分组交 换网关进行核减计算得到;
此种方式下, 所述下发单元 503还用于: 若为所述用户下发最后一次基础 流量配额, 在为所述用户下发所述最后一次基础流量配额时, 在所述 CCA消 息中进一步携带业务单位耗尽指示 FUI ,以便于所述分组交换网关在确定当前 核减计算得到的所述用户的基础流量的实际使用量达到所述最后一次基础流 量配额时,根据所述 FUI,采取相应的措施来阻止所述用户继续进行基础流量 业务。
其二, 所述获得单元包括: 接收单元 5011 , 用于接收分组交换网关在计 费上报触发条件到达时, 发送的配额控制请求 CCR消息, 所述 CCR消息携带 所述分组交换网关检测到的所述用户的基础流量 USURC1^检测与各非基础 流量 USURG2检 ^ ...USURGn检 1; 计算单元 5012, 用于根据非基础流量业务的 DPI 识别准确率, 对所述接收单元 5011接收到的所述用户的基础流量 USURG1检测与
得到所述用户的基础流量 的实际使用量;
此种方式下, 所述下发单元 503还用于: 若确定当前核减计算得到的所述 用户的基础流量的实际使用量达到所述用户剩余的基础流量配额, 在向所述 分组交换网关发送的 CCA消息中进一步携带多业务信用控制 MSCC层错误 码, 所述 MSCC层错误码用于指示所述分组交换网关所述用户的基础流量配 额耗尽。 如图 6所示, 图 6为本发明实施例六提供的一种分组交换网关, 包括: 检测单元 601 , 用于在用户的业务流量传输过程中,检测得到所述用户的 基础流量;
计算单元 602 ,用于根据非基础流量业务的深度报文检测 DPI识别准确率, 对所述检测单元 601检测到的所述用户的基础流量进行核减计算,得到所述用 户的基础流量的实际使用量;
上报单元 603 , 用于将所述计算单元 602计算出的所述用户的基础流量的 实际使用量上报给在线计费系统, 以便于所述在线计费系统根据所述用户的 基础流量的实际使用量, 进行所述用户的基础流量的账户扣减
该分组交换网关还可以包括:
接收单元 604,用于接收所述在线计费系统在进行所述用户的基础流量账 户扣减之后所述用户的基础流量还有余额时, 下发的后续基础流量配额, 所 述后续基础流量配额携带在配额控制响应 CCA消息中;
该分组交换网关还可以包括:
第一流量阻止单元 605 , 用于在所述接收单元 604接收到所述在线计费系 统为所述用户下发最后一次基础流量配额时, 确定当前核减计算得到的所述 用户的基础流量的实际使用量是否达到所述最后一次基础流量配额,如果是, 根据业务单位耗尽指示 FUI,采取相应措施来阻止所述用户继续进行基础流量 业务。
如图 7所示, 图 7为本发明实施例七提供的一种分组交换网关, 包括: 检测单元 701 , 用于在用户的业务流量传输过程中,检测得到所述用户的
'/HUSURGI检测" ^ 石出 '/HTUSURG2检测 · · .USlJRGn检测;
上报单元 702 , 用于将所述检测单元 701 检测到的所述 USURG1 检测与 USURG2 检测 ...USURGN检测上报给所述在线计费系统, 以便于所述在线计费系统 根据非基础流量业务的 DPI识别准确率, 对所述接收到的所述用户的基础流 量 USURG 测与各非基础流量 USURG2检测...USURGN检测进行核减计算,得到所述 用户的基础流量的实际使用量;
该分组交换网关还可以包括:
接收单元 703 ,用于接收所述在线计费系统在进行所述用户的基础流量账 户扣减之后所述用户的基础流量还有余额时, 下发的后续基础流量配额, 所 述后续基础流量配额携带在配额控制响应 CCA消息中;
在本分组交换网关的一个具体实施例中,上述的接收单元 703还可以接收 所述在线计费系统在确定当前核减计算得到的所述用户的基础流量的实际使 用量达到所述用户剩余的基础流量配额时, 发送的多业务信用控制 MSCC层 错误码, 所述 MSCC层错误码携带在所述 CCA消息中; 此时, 在该实施例中, 分组交换网关还可以包括: 第二流量阻止单元 704 , 用于根据所述 MSCC层错 误码确定所述用户的基础流量配额耗尽, 阻止所述用户继续进行基础流量业 务;
在本分组交换网关的另外一个具体实施例中,上述的接收单元 703还可以 接收所述在线计费系统在确定为所述用户下发最后一次基础流量配额时, 携 带在 CCA消息中发送的业务单位耗尽指示 FUI; 此时, 在该实施例中, 分组交 换网关还可以包括: 计算单元 705 , 用于在所述接收单元接收到所述携带 FUI 的 CCA消息后, 根据非基础流量业务的 DPI识别准确率, 将所述检测单元 701 检测到的所述用户的基础流量进行核减计算得到所述用户的基础流量的实际 使用量; 第三流量阻止单元 706 , 用于在确定所述计算单元 705计算得到的所
述用户的基础流量的实际使用量达到所述最后一次基础流量配额时, 根据所 述业务单位耗尽指示 FUI,采取相应措施来阻止所述用户继续进行基础流量业 务。 本发明实施例提供的在线计费装置和分组交换网关, 可以使得在线计费 系统获得对用户检测到的基础流量经过核减计算之后的实际使用量, 并根据 所述用户的基础流量的实际使用量, 进行所述用户的基础流量的账户扣减, 此种账户计费方式做到了实时在线计费时对用户基础流量的正确计费, 不至 于导致用户的非基础流量被误计为基础流量, 提高了计费准确性。
本领域普通技术人员可以理解: 附图只是一个实施例的示意图, 附图中 的模块或流程并不一定是实施本发明所必须的。
本领域普通技术人员可以理解: 实施例中的用户设备中的模块可以按照 实施例描述分布于实施例的用户设备中, 也可以进行相应变化位于不同于本 实施例的一个或多个用户设备中。 上述实施例的模块可以合并为一个模块, 也可以进一步拆分成多个子模块。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码的介 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述实施例所记载的技术方案进行修改, 或者 对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术 方案的本质脱离本发明实施例技术方案的精神和范围。
Claims
1、 一种流量业务计费方法, 其特征在于, 包括:
在线计费系统获得用户的基础流量的实际使用量, 其中, 所述用户的基 础流量的实际使用量是根据非基础流量业务的深度报文检测 DPI识别准确率, 将分组交换网关检测到的所述用户的基础流量进行核减计算得到;
所述在线计费系统根据所述用户的基础流量的实际使用量, 进行所述用 户的基础流量的账户扣减。
2、 如权利要求 1所述的方法, 其特征在于, 所述在线计费系统获得用户 的基础流量的实际使用量包括:
所述在线计费系统接收分组交换网关在计费上报触发条件到达时, 发送 的配额控制请求 CCR消息, 所述 CCR消息携带所述用户的基础流量的实际使 用量, 其中, 所述用户的基础流量的实际使用量由所述分组交换网关进行核 减计算得到。
3、 如权利要求 2所述的方法, 其特征在于, 所述用户的基础流量的实际 使用量由所述分组交换网关进行核减计算得到包括:
在所述分组交换网关上分别为基础流量业务与各非基础流量业务配置不 同费率组 RG1、 RG2...RGn, 分别为各非基础流量业务配置 DPI识别准确率 Κ2%... Κη% , 分别为各非基础流量业务配置核减计算标识;
在所述用户的业务流量传输过程中, 所述分组交换网关检测得到所述用 户的基础流量 USURG1检测, 各非基础流量 USURG2检测 ...USURGn检测;
根据所述核减计算标识, 所述分组交换网关对所述!^!^^^与!^!^^检 测...USURGr#测采用核减算法进行计算, 得到所述用户的基础流量的实际使用 量, 其中, 所述核减算法为:
USURG1实际 = USURG 测- USURG2检测 (1-K2%)/K2%...- USURGn检测 (1-Κη%)/Κη%, 其中, 所述 η为大于 1的自然数, 所述流量以授予的业务单位 USU表示。
4、 如权利要求 2或 3所述的方法, 其特征在于, 所述在线计费系统进行 所述用户的基础流量的账户扣减之后, 所述方法还包括:
若所述用户的基础流量还有余额,所述在线计费系统向所述分组交换网 关发送配额控制响应 CCA消息, 所述 CCA消息携带为所述用户下发的后续基 础流量配额。
5、 如权利要求 4所述的方法, 其特征在于, 若所述在线计费系统为所述 用户下发最后一次基础流量配额, 所述方法还包括:
所述分组交换网关确定当前核减计算得到的所述用户的基础流量的实 际使用量是否达到所述最后一次基础流量配额, 如果是, 阻止所述用户继续 进行基础流量业务。
6、 如权利要求 5所述的方法, 其特征在于, 所述分组交换网关根据业务 单位耗尽指示 FUI, 采取相应的措施来阻止所述用户继续进行基础流量业务; 其中, 所述业务单位耗尽指示 FUI为所述在线计费系统在为所述用户下 发所述最后一次基础流量配额时, 携带在所述 CCA消息中下发给所述分组交 换网关的; 或者,
所述业务单位耗尽指示 FUI为预先在所述分组数据网关上配置的。
7、 如权利要求 1所述的方法, 其特征在于, 所述在线计费系统获得用户 的基础流量的实际使用量包括:
所述在线计费系统接收分组交换网关在计费上报触发条件到达时, 发送 的配额控制请求 CCR消息, 所述 CCR消息携带所述分组交换网关检测到的所 述用户的基础流量 USURG 测与各非基础流量 USURG2检测 . ..1^1½¾检测;
所述在线计费系统根据非基础流量业务的 DPI识别准确率,对所述接收到 的所述用户的基础流量 USURG1^与各非基础流量 USURG2检测 ...USURGr#测进行 核减计算, 得到所述用户的基础流量的实际使用量。
8、 如权利要求 7所述的方法, 其特征在于, 还包括:
在所述分组交换网关上分别为基础流量业务与各非基础流量业务配置不 同费率组 RG1、 RG2...RGn;
在所述分组交换网关上进行基础流量和非基础流量始终同步上报给所述 在线计费系统的配置;
相应地, 所述分组交换网关在所述用户的业务流量传输过程中, 检测得 到所述用户的基础流量 USURG 1 , 各非基础流量 USURG2检测 ...USURGn检测; 根据所述基础流量和非基础流量始终同步上报给所述在线计费系统的 配置, 所述分组交换网关向所述在线计费系统发送携带所述 USURG1检测和 USURG2检测 ...USURGn检测的配额控制请求 CCR消息。
9、 如权利要求 8所述的方法, 其特征在于, 还包括: 在所述分组交换网关上分别为各非基础流量业务配置 DPI识别准确率 Κ2%... Κη%; 所述分组交换网关进一步在发送给所述在线计费系统的 CCR消息中携带 所述各非基础流量业务配置 DPI识别准确率 Κ2%... Κη%。
10、 如权利要求 9所述的方法, 其特征在于, 所述在线计费系统根据非基 础流量业务的 DPI识别准确率, 对所述接收到的所述用户的基础流量 USURG1检 测与各非基础流量 USURG2检测 ...USURGn检测进行核减计算, 得到所述用户的基础 流量的实际使用量包括:
所述在线计费系统对所述 USURG 测与 1^1¾∞检测 ...USURGr#测采用核减算 法进行计算, 得到所述用户的基础流量的实际使用量, 其中, 所述核减算法 为:
USURG1实际 = USURG 测- USURG2检测 (1-K2%)/K2%...- USURGn检测 (1-Κη%)/Κη%, 其中, 所述 η为大于 1的自然数, 所述流量以授予的业务单位 USU表示。
11、 如权利要求 7或 10所述的方法, 其特征在于, 所述在线计费系统进 行所述用户的基础流量的账户扣减之后, 还包括: 若所述用户的基础流量还有余额,所述在线计费系统向所述分组交换网 关发送配额控制响应 CCA消息, 所述 CCA消息携带为所述用户下发的后续基 础流量配额。
12、 如权利要求 11所述的方法, 其特征在于, 所述方法还包括: 若所述在线计费系统确定当前核减计算得到的所述用户的基础流量的 实际使用量达到所述用户剩余的基础流量配额, 向所述分组交换网关发送配 额控制响应 CCA消息, 所述 CCA消息携带多业务信用控制 MSCC层错误码, 所述 MSCC层错误码用于指示所述分组交换网关所述用户的基础流量配额耗 尽。
13、 如权利要求 12所述的方法, 其特征在于, 还包括:
所述分组交换网关根据业务单位耗尽指示 FUI, 采取相应的措施来阻止 所述用户继续进行基础流量业务;
其中, 所述业务单位耗尽指示 FUI为所述在线计费系统在为所述用户下 发所述最后一次基础流量配额时, 携带在所述 CCA消息中下发给所述分组交 换网关的; 或者,
所述业务单位耗尽指示 FUI为预先在所述分组数据网关上配置的。
14、 如权利要求 11所述的方法, 其特征在于, 若所述在线计费系统为所 述用户下发最后一次基础流量配额, 所述方法还包括:
所述在线计费系统在发送给所述分组交换网关的 CCA消息中进一步携 带业务单位耗尽指示 FUI;
所述分组交换网关接收到所述携带 FUI的 CCA消息后, 根据非基础流量 业务的 DPI识别准确率,将自身检测到的所述用户的基础流量进行核减计算得 到所述用户的基础流量的实际使用量;
所述分组交换网关确定当前核减计算得到的所述用户的基础流量的实 际使用量是否达到所述最后一次基础流量配额, 如果是, 根据所述业务单位 耗尽指示 FUI, 阻止所述用户继续进行基础流量业务。
15、 一种在线计费装置, 其特征在于, 包括:
获得单元, 用于获得用户的基础流量的实际使用量, 其中, 所述用户的 基础流量的实际使用量是根据非基础流量业务的深度报文检测 DPI识别准确 率, 将分组交换网关检测到的所述用户的基础流量进行核减计算得到;
计费单元, 用于根据所述获得单元获得的所述用户的基础流量的实际使 用量, 进行所述用户的基础流量的账户扣减。
16、 如权利要求 15所述的装置, 其特征在于, 还包括:
下发单元, 用于在所述计费单元进行账户扣减之后所述用户的基础流量 还有余额时, 向所述分组交换网关发送配额控制响应 CCA消息, 所述 CCA消 息携带为所述用户下发的后续基础流量配额。
17、 如权利要求 16所述的装置, 其特征在于, 所述获得单元具体用于: 接收分组交换网关在计费上报触发条件到达时, 发送的配额控制请求 CCR消 息, 所述 CCR消息携带所述用户的基础流量的实际使用量, 其中, 所述用户 的基础流量的实际使用量由所述分组交换网关进行核减计算得到。
18、 如权利要求 17所述的装置, 其特征在于, 所述下发单元还用于: 若 为所述用户下发最后一次基础流量配额, 在为所述用户下发所述最后一次基 础流量配额时,在所述 CCA消息中进一步携带业务单位耗尽指示 FUI, 以便于 所述分组交换网关在确定当前核减计算得到的所述用户的基础流量的实际使 用量达到所述最后一次基础流量配额时,根据所述 FUI , 采取相应措施来阻止 所述用户继续进行基础流量业务。
19、 如权利要求 16所述的装置, 其特征在于, 所述获得单元包括: 接收单元, 用于接收分组交换网关在计费上报触发条件到达时, 发送的 配额控制请求 CCR消息, 所述 CCR消息携带所述分组交换网关检测到的所述 用户的基础流量 USURG 测检测与各非基础流量 USURG2检测 . . .1^1½¾检测;
计算单元,用于根据非基础流量业务的 DPI识别准确率,对所述接收单元 接收到的所述用户的基础流量 USURG 测与各非基础流量 USURG2检测 . . .USURGH* 测进行核减计算, 得到所述用户的基础流量的实际使用量。
20、 如权利要求 19所述的装置, 其特征在于, 所述下发单元还用于: 若确定当前核减计算得到的所述用户的基础流量的实际使用量达到所述 用户剩余的基础流量配额, 在向所述分组交换网关发送的 CCA消息中进一步 携带多业务信用控制 MSCC层错误码,所述 MSCC层错误码用于指示所述分组 交换网关所述用户的基础流量配额耗尽。
21、 一种分组交换网关, 其特征在于, 包括:
检测单元, 用于在用户的业务流量传输过程中, 检测得到所述用户的基 础流量;
计算单元,用于根据非基础流量业务的深度报文检测 DPI识别准确率,对 所述检测单元检测到的所述用户的基础流量进行核减计算, 得到所述用户的 基础流量的实际使用量;
上报单元, 用于将所述计算单元计算出的所述用户的基础流量的实际使 用量上报给在线计费系统, 以便于所述在线计费系统根据所述用户的基础流 量的实际使用量, 进行所述用户的基础流量的账户扣减。
22、 如权利要求 21所述的分组交换网关, 其特征在于, 还包括: 接收单元, 用于接收所述在线计费系统在进行所述用户的基础流量账户 扣减之后所述用户的基础流量还有余额时, 下发的后续基础流量配额, 所述 后续基础流量配额携带在配额控制响应 CCA消息中。
23、 如权利要求 22所述的分组交换网关, 其特征在于, 还包括: 第一流量阻止单元, 用于在所述接收单元接收到所述在线计费系统为所 述用户下发最后一次基础流量配额时, 确定当前核减计算得到的所述用户的 基础流量的实际使用量是否达到所述最后一次基础流量配额, 如果是, 根据 业务单位耗尽指示 FUI, 采取相应措施来阻止所述用户继续进行基础流量业 务。
24、 一种分组交换网关, 其特征在于, 包括: 检测单元, 用于在用户的业务流量传输过程中, 检测得到所述用户的基 ^ '/HUSURGI检测" ^ '/HTUSURG2检测 · · .USlJRGn检测;
上报单元, 用于将所述检测单元检测到的所述 USURG 测与 USURG2检 测 ...USURGN检 上报给所述在线计费系统, 以便于所述在线计费系统根据非基 础流量业务的深度报文检测 DPI识别准确率,对所述接收到的所述用户的基础 流量 USURG 测与各非基础流量 USURG2检测 ...USURGN检测进行核减计算,得到所述 用户的基础流量的实际使用量。
25、 如权利要求 24所述的分组交换网关, 其特征在于, 还包括: 接收单元, 用于接收所述在线计费系统在进行所述用户的基础流量账户 扣减之后所述用户的基础流量还有余额时, 下发的后续基础流量配额, 所述 后续基础流量配额携带在配额控制响应 CCA消息中。
26、 如权利要求 25所述的分组交换网关, 其特征在于, 所述接收单元还 用于: 接收所述在线计费系统在确定当前核减计算得到的所述用户的基础流 量的实际使用量达到所述用户剩余的基础流量配额时, 发送的多业务信用控 制 MSCC层错误码, 所述 MSCC层错误码携带在所述 CCA消息中;
相应地, 所述分组交换网关还包括:
第二流量阻止单元, 用于根据所述 MSCC层错误码确定所述用户的基础 流量配额耗尽, 阻止所述用户继续进行基础流量业务。
27、 如权利要求 25所述的分组交换网关, 其特征在于, 所述接收单元还 用于: 接收所述在线计费系统在确定为所述用户下发最后一次基础流量配额 时, 携带在 CCA消息中发送的业务单位耗尽指示 FUI;
相应地, 所述分组交换网关还包括:
计算单元,用于在所述接收单元接收到所述携带 FUI的 CCA消息后,根据 非基础流量业务的 DPI识别准确率,将所述检测单元检测到的所述用户的基础 流量进行核减计算得到所述用户的基础流量的实际使用量;
第三流量阻止单元, 用于在确定所述计算单元计算得到的所述用户的基 础流量的实际使用量达到所述最后一次基础流量配额时, 根据所述业务单位 耗尽指示 FUI, 采取相应措施来阻止所述用户继续进行基础流量业务。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201180002497.5A CN102388634B (zh) | 2011-09-05 | 2011-09-05 | 一种流量业务计费方法、装置和系统 |
PCT/CN2011/079349 WO2012149725A1 (zh) | 2011-09-05 | 2011-09-05 | 一种流量业务计费方法、装置和系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/079349 WO2012149725A1 (zh) | 2011-09-05 | 2011-09-05 | 一种流量业务计费方法、装置和系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012149725A1 true WO2012149725A1 (zh) | 2012-11-08 |
Family
ID=45826522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/079349 WO2012149725A1 (zh) | 2011-09-05 | 2011-09-05 | 一种流量业务计费方法、装置和系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102388634B (zh) |
WO (1) | WO2012149725A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104053140A (zh) * | 2014-06-11 | 2014-09-17 | 中兴通讯股份有限公司 | 服务提供方法、装置及系统 |
US10917255B2 (en) | 2016-05-10 | 2021-02-09 | Huawei Technologies Co., Ltd. | Packet switched service identification method and terminal |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103718579B (zh) * | 2013-06-20 | 2018-06-05 | 华为技术有限公司 | 计费处理方法、装置及系统 |
CN103684803B (zh) * | 2013-12-11 | 2017-02-22 | 中国联合网络通信集团有限公司 | 流量采集装置和定向流量计费系统和方法 |
CN103716767B (zh) * | 2013-12-26 | 2017-02-15 | 中国联合网络通信集团有限公司 | 计费处理方法和装置 |
CN105099718B (zh) * | 2014-04-22 | 2018-12-18 | 阿尔卡特朗讯 | 在线计费系统中分配配额的方法和装置 |
CN105792235A (zh) * | 2014-12-25 | 2016-07-20 | 乐视移动智能信息技术(北京)有限公司 | 一种数据流量统计方法和装置 |
WO2017028191A1 (zh) * | 2015-08-18 | 2017-02-23 | 黄冠明 | 基于流量的在线电子书收费方法和收费系统 |
WO2017028192A1 (zh) * | 2015-08-18 | 2017-02-23 | 黄冠明 | 基于流量对在线电子书收费时的信息推送方法和收费系统 |
CN107548047A (zh) * | 2016-06-28 | 2018-01-05 | 中兴通讯股份有限公司 | 一种信息通知方法、ocs、gw和系统 |
CN107154857A (zh) * | 2017-04-18 | 2017-09-12 | 北京思特奇信息技术股份有限公司 | 一种流量和费用双核减的方法及装置 |
CN109936460B (zh) * | 2017-12-18 | 2021-11-02 | 中兴通讯股份有限公司 | 一种流量计费的方法及设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005015825A1 (en) * | 2003-07-22 | 2005-02-17 | Telefonaktiebolaget Lm Ericsson (Publ) | An arrangement, a node and a method relating to handling of lost/discarded data packets |
CN1747391A (zh) * | 2004-09-10 | 2006-03-15 | 华为技术有限公司 | 一种多媒体子系统信令承载的计费方法 |
CN1863055A (zh) * | 2005-07-07 | 2006-11-15 | 华为技术有限公司 | 对通信流量进行计费的方法 |
CN101127610A (zh) * | 2006-08-15 | 2008-02-20 | 华为技术有限公司 | 移动通信系统网络环境下的计费负流量的处理方法 |
WO2008096086A2 (fr) * | 2006-12-08 | 2008-08-14 | France Telecom | Procede de traitement de perte de paquets |
CN101431423A (zh) * | 2008-12-24 | 2009-05-13 | 华为技术有限公司 | 一种用户业务流计费核减方法和装置 |
CN101931930A (zh) * | 2009-06-26 | 2010-12-29 | 中兴通讯股份有限公司 | 一种更新用户签约数据库中的业务信息的方法及系统 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483557B (zh) * | 2009-03-03 | 2011-07-13 | 中兴通讯股份有限公司 | 一种用于深度报文检测设备的日志统计、保存方法和系统 |
-
2011
- 2011-09-05 CN CN201180002497.5A patent/CN102388634B/zh not_active Expired - Fee Related
- 2011-09-05 WO PCT/CN2011/079349 patent/WO2012149725A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005015825A1 (en) * | 2003-07-22 | 2005-02-17 | Telefonaktiebolaget Lm Ericsson (Publ) | An arrangement, a node and a method relating to handling of lost/discarded data packets |
CN1747391A (zh) * | 2004-09-10 | 2006-03-15 | 华为技术有限公司 | 一种多媒体子系统信令承载的计费方法 |
CN1863055A (zh) * | 2005-07-07 | 2006-11-15 | 华为技术有限公司 | 对通信流量进行计费的方法 |
CN101127610A (zh) * | 2006-08-15 | 2008-02-20 | 华为技术有限公司 | 移动通信系统网络环境下的计费负流量的处理方法 |
WO2008096086A2 (fr) * | 2006-12-08 | 2008-08-14 | France Telecom | Procede de traitement de perte de paquets |
CN101431423A (zh) * | 2008-12-24 | 2009-05-13 | 华为技术有限公司 | 一种用户业务流计费核减方法和装置 |
CN101931930A (zh) * | 2009-06-26 | 2010-12-29 | 中兴通讯股份有限公司 | 一种更新用户签约数据库中的业务信息的方法及系统 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104053140A (zh) * | 2014-06-11 | 2014-09-17 | 中兴通讯股份有限公司 | 服务提供方法、装置及系统 |
US10917255B2 (en) | 2016-05-10 | 2021-02-09 | Huawei Technologies Co., Ltd. | Packet switched service identification method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN102388634A (zh) | 2012-03-21 |
CN102388634B (zh) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2012149725A1 (zh) | 一种流量业务计费方法、装置和系统 | |
CN103843374B (zh) | 基于sy的集成的策略和计费控制 | |
JP7088554B2 (ja) | ネットワークノード及び通信方法 | |
EP1871084A1 (en) | Method and system for third party charging | |
US10182161B2 (en) | Modifying a quality of a connection between a terminal and an application server | |
US20150319315A1 (en) | Charging method and device | |
US20140376412A1 (en) | Method and apparatus for performing charging control to application-layer data | |
EP2335377A1 (en) | Online charging correlation in ims networks | |
US11671803B2 (en) | Functions and method for handling a credit pool of service units | |
US9357082B2 (en) | Charging method, authentication method, charging device, and authentication device | |
US9215077B2 (en) | Method and system for supporting multiple time zones and charging method and system in IMS | |
WO2017092819A1 (en) | Overload control handling in case of an overload state of a charging entity | |
JP2017533644A5 (zh) | ||
CN106936603B (zh) | 一种数据业务计费方法,装置和系统 | |
EP2590358A1 (en) | Method, device and system for prepayment charging | |
WO2012062076A1 (zh) | Ivpn预付费业务的计费方法和系统 | |
WO2016070595A1 (zh) | 实现计费的方法、tne、fcs、bd实体和系统 | |
CN112383405B (zh) | 一种数据业务计费方法、装置和系统 | |
US20180270629A1 (en) | Charging method, control plane network element, forwarding plane network element, and charging system | |
CN107770081B (zh) | 业务控制策略动态下发的方法、系统及业务凭证管理平台 | |
WO2010108459A1 (zh) | 部分计费返还方法及装置 | |
CN108270697A (zh) | 一种流量配额的调整方法、装置及服务器 | |
CN109936829B (zh) | 提高断网精度的方法、系统和计费系统 | |
WO2018153193A1 (zh) | 一种计费方法及装置 | |
WO2010069184A1 (zh) | 一种交互式语音应答业务中实现计费的方法和系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201180002497.5 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11864821 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11864821 Country of ref document: EP Kind code of ref document: A1 |