WO2013078857A1 - Charging service processing method and system, charging gateway, and online charging system - Google Patents

Charging service processing method and system, charging gateway, and online charging system Download PDF

Info

Publication number
WO2013078857A1
WO2013078857A1 PCT/CN2012/077787 CN2012077787W WO2013078857A1 WO 2013078857 A1 WO2013078857 A1 WO 2013078857A1 CN 2012077787 W CN2012077787 W CN 2012077787W WO 2013078857 A1 WO2013078857 A1 WO 2013078857A1
Authority
WO
WIPO (PCT)
Prior art keywords
credit control
quota
service
qht
user terminal
Prior art date
Application number
PCT/CN2012/077787
Other languages
French (fr)
Chinese (zh)
Inventor
张世奇
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013078857A1 publication Critical patent/WO2013078857A1/en

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/62Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on trigger specification
    • 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/64On-line charging system [OCS]
    • 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/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/854Available credit

Definitions

  • the present invention relates to the field of communication charging, and in particular, to a method and system for processing a charging service, a charging gateway, and an online charging system. Background technique
  • FIG. 1 is a flow chart of signaling interaction between various functional modules in a charging system.
  • the charging system mainly includes a user terminal, a charging gateway, and an online charging system.
  • the main function of the charging gateway is to determine the service rate, usage duration or traffic used by the user, and the CDR to be saved.
  • the main function of the online charging system is to authenticate, authorize, and charge the user, including The following steps:
  • Step 101 The user terminal sends a charging request to the charging gateway.
  • Step 102 After receiving the charging request of the user and determining that the prepaid user is the prepaid user, the charging gateway sends a CCR-I (Credit-Control-Request-INITIAL) message to the online charging system for authentication.
  • CCR-I Clear-Control-Request-INITIAL
  • Step 103 The online charging system receives the CCR-I message, queries whether the user exists, verifies whether the identity is legal, and sends a credit control initial response (CCA-I, Credit-Control-Answer-INITIAL) message to the charging gateway.
  • CCA-I Credit-Control-Answer-INITIAL
  • Step 104 After receiving the CCA-I message, the charging gateway sends an access response message to the user. And determining whether the user authentication succeeds according to the CCA-I message. If the CCA-I message indicates that the user authentication is successful, step 105 is performed; otherwise, the user activation fails, the resources on the charging gateway are released, and the process ends.
  • Step 105 The user terminal sends a new service access request to the charging gateway.
  • Step 106 The charging gateway parses and identifies the service information used by the user terminal, the uplink and downlink traffic, and the like according to the new service access request, and passes the parsed and identified information through the credit control update request (CCR-U, Credit-Control- The Request-UPDATE message is sent to the online charging system.
  • CCR-U Credit-Control- The Request-UPDATE message is sent to the online charging system.
  • Step 107 The online charging system appends the service used by the user terminal according to the remaining quota of the user terminal, and issues a new quota to the service, and updates the response through the credit control (CCA-U, Credit-Control-Answer-UPDATE) The rating and quota of the message carrying service are sent to the charging gateway.
  • CCA-U Credit-Control-Answer-UPDATE
  • Step 108 After receiving the CCA-U message, the charging gateway performs real-time monitoring on the service used by the user terminal according to the quota. When the monitoring condition arrives, the charging gateway sends the CCR-U to the online charging system to continue to apply for the quota. Step 107.
  • Step 109 The user terminal actively sends a PDP deactivation message to the charging gateway.
  • Step 110 After receiving the user deactivation message, the charging gateway sends a CCR-T (Credit-Control-Request-TERMINATION) message to the online charging system, where the CCR-T message carries the user terminal. Information such as the actual quota used.
  • CCR-T Clear-Control-Request-TERMINATION
  • Step 111 After receiving the CCR-T message, the online charging system performs processing such as rating, account control, and the like, and sends a credit control end response (CCA-T, Credit-Control-Answer-TERMINATION) message to the accounting gateway.
  • processing such as rating, account control, and the like
  • CCA-T Credit-Control-Answer-TERMINATION
  • Step 112 The charging gateway sends a deactivation response message to the user terminal.
  • the charging gateway and the online charging system interact through CCR-U and CCA-U messages.
  • the charging gateway determines that the monitoring condition of the service arrives. If the monitoring condition arrives, the quota holding time (QHT, Quota-Holding-Time) arrives, the online charging system normally delivers the CCA-U, and at this time, if the user terminal uses The service has been in the state of no data packet (silent service), and there are always CCR-U and CCA-U messages of the silent service between the charging gateway and the online charging system.
  • QHT Quota-Holding-Time
  • the charging gateway will continuously send a credit control request to the billing system to apply for a quota, which affects the processing rate of the system. Because the quiet service of the user terminal is no longer used in a short period of time, it will occupy certain accounting gateway resources. If the services of a large number of user terminals are in a silent service, the network may cause the charging gateway/system to be paralyzed because the CCR-U and CCA-U messages are too dense.
  • the main purpose of the present invention is to provide a method and system for processing a charging service, a charging gateway, and an online charging system, which can reduce CCR-U and CCA-U message interaction during silent service, and improve the system. Performance, reducing billing gateway resource utilization.
  • a method for processing a charging service includes: the charging gateway performs real-time monitoring on a service used by the user terminal, and when the QHT arrives, sends a credit control request message to the online charging system, where The reason for carrying the report in the credit control request message is that the QHT arrives;
  • the online charging system arrives at the QHT according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway;
  • the charging gateway receives the credit control response message, and according to the quota reported by the QHT triggering, the related resources of the service used by the user terminal are released.
  • the method further includes: when the non-QHT monitoring condition arrives, the charging gateway sends a credit control request message to the online charging system, where the credit control request message carries the reporting condition that is the non-QHT monitoring condition Arrivals.
  • the method further includes: when the online charging system determines that the monitoring condition of the non-QHT is reached, the service used by the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued.
  • the credit control response message carries the rating and quota of the service to the charging gateway.
  • the method further includes: the charging gateway performs real-time monitoring on the service used by the user terminal according to the service rating and the quota carried by the credit control response message.
  • the credit control response message further carries a result code
  • the charging gateway performs corresponding processing on the service used by the user terminal according to the result code carried in the response control response message.
  • the system for processing a charging service includes: a charging gateway and an online charging system;
  • the charging gateway is configured to perform real-time monitoring on the service used by the user terminal.
  • the credit control request message is sent to the online charging system, and the credit control request message carries the reporting reason as QHT arrival; receiving the credit control response The message, when determining that the quota reported by the QHT trigger is 0, releasing the related resources of the service used by the user terminal;
  • the online charging system is configured to receive a credit control request message, and according to the reporting reason, the QHT arrives, and sends a credit control response message with a quota of 0 to the charging gateway.
  • the charging gateway is further configured to send a credit control request message to the online charging system when the monitoring condition of the non-QHT arrives, where the reason for reporting the non-QHT is reported in the credit control request message The condition arrived.
  • the online charging system is further configured to: when the monitoring condition of the non-QHT is reached, the service used by the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued.
  • the fee gateway sends a credit control response message carrying the rating and quota of the service.
  • the charging gateway is further configured to perform real-time monitoring on the service used by the user terminal according to the service rating and the quota carried in the credit control response message.
  • the credit control response message further carries a result code; the charging gateway is further configured to perform corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message.
  • the charging gateway provided by the embodiment of the present invention includes: a request message processing unit, a response message processing unit, and a service processing unit;
  • the request message processing unit is configured to send a credit control request message to the online charging system, where the reason for carrying the report is QHT arrival;
  • the response message processing unit is configured to receive the credit control response message, and when it is determined that the quota reported by the QHT trigger is 0, notify the service processing unit to release the related resource used by the user terminal, and the service processing unit is configured to perform the service used by the user terminal.
  • Real-time monitoring when the QHT arrives, notifying the request message processing unit; and releasing the relevant resources of the user terminal using the service according to the notification of the response message processing unit.
  • the online charging system includes: a message receiving unit, a reason determining unit, a quota processing unit, and a message sending unit;
  • the message receiving unit is configured to receive the credit control request message, and notify the reason judging unit; the reason judging unit is configured to notify the quota processing unit when the reason for reporting is that the QHT arrives;
  • the quota processing unit is configured to set the quota to 0;
  • the message sending unit is configured to send a credit control response message with a quota of 0 to the charging gateway.
  • the method and system for processing the charging service, the charging gateway, and the online charging system provided by the embodiment of the present invention, the charging gateway performs real-time monitoring on the service used by the user terminal, and sends the service to the online charging system when the QHT arrives.
  • a credit control request message wherein the credit control request message carries a reporting reason of QHT arrival;
  • the online charging system sends a credit control response message with a quota of 0 to the charging gateway according to the reporting reason, and the charging gateway receives the
  • the credit control response message is based on the quota reported by the QHT trigger to be 0, releasing the relevant resources of the user terminal to use the service. Therefore, the credit control request message and the credit control response message interaction during the silent service can be reduced, the performance of the system is improved, and the utilization rate of the charging gateway resource is reduced.
  • FIG. 1 is a schematic flowchart of a processing method of a charging service in the prior art
  • FIG. 2 is a schematic flowchart of a method for processing a charging service according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method for implementing a charging when a credit control request message is a CCR-U message and a credit control response message is a CCA-U message according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a processing system for implementing a charging service according to an embodiment of the present invention. detailed description
  • the charging gateway performs real-time monitoring on the service used by the user terminal, and when the QHT arrives, sends a credit control request message to the online charging system, where the reason for reporting the message is QHT
  • the online charging system arrives at the QHT according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway
  • the charging gateway receives the credit control response message, and releases the user terminal according to the quota reported by the QHT triggering is 0.
  • the embodiments of the present invention implements a method for processing a charging service. As shown in FIG. 2, the method includes the following steps:
  • Step 201 The charging gateway performs real-time monitoring on the service used by the user terminal, and sends a credit control request message to the online charging system when the QHT arrives, and the reason for the reporting in the credit control request message is that the QHT arrives;
  • Step 202 The online charging system arrives at the QHT according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway.
  • Step 203 The charging gateway receives the credit control response message, and reports the report according to the QHT.
  • the quota is 0, releasing the related resources of the user terminal to use the service.
  • the foregoing step 201 further includes: when the non-QHT monitoring condition arrives, the charging gateway sends a credit control request message to the online charging system, where the credit control request message carries the reporting reason that the non-QHT monitoring condition arrives;
  • the service used by the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued.
  • the charging gateway performs real-time monitoring on the service used by the user terminal according to the service rating and the quota carried in the credit control response message;
  • the credit control response message further carries a result code, and the charging gateway performs corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message.
  • the credit control request message is generally a CCR-U message; and the credit control response message is generally a CCA-U message.
  • the method for processing the charging service is implemented. As shown in FIG. 3, the following steps are included:
  • Step 301 The user terminal sends a charging request to the charging gateway.
  • Step 302 After receiving the charging request of the user terminal, the charging gateway determines that the prepaid user sends a CCR-I message to the online charging system for authentication.
  • Step 303 The online charging system receives the CCR-I message, queries whether the user exists, verifies whether the identity is legal, and sends a CCA-I message to the charging gateway.
  • Step 304 After receiving the CCA-I message, the charging gateway sends an access response message to the user, and determines whether the user authentication succeeds according to the CCA-I message. If the CCA-I message indicates that the user authentication succeeds, step 305 is performed. Otherwise, the user activation fails, releasing the resources on the charging gateway, the process End.
  • Step 305 The user terminal sends a new service access request to the charging gateway.
  • Step 306 The charging gateway sends a CCR-U message to the online charging system.
  • Step 307 The online charging system performs the rating on the service used by the user terminal according to the CCR-U message, and calculates the quota.
  • Step 308 The online charging system sends a CCA-U message carrying the rating and quota of the service to the charging gateway.
  • Step 309 The charging gateway performs real-time monitoring on the service used by the user terminal.
  • the QHT arrives, the CCR-U message is sent to the online charging system, and the CCR-U message carries the report because the QHT arrives.
  • the step further includes: when the non-QHT monitoring condition arrives, the charging gateway sends a CCR-U message to the online charging system, where the CCR-U message carries the reason that the non-QHT monitoring condition arrives.
  • Step 310 The online charging system arrives at the QHT according to the reporting reason, and the online charging system directly deducts the fee, and sends a CCA-U message with a quota of 0 to the charging gateway.
  • the step of the present invention includes: when the online charging system determines that the monitoring condition of the non-QHT is reached, the service of the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued, and the service is carried by the CCA-U message.
  • the rating and quota are sent to the charging gateway, and the quota includes: traffic, time, events, and the like.
  • the CCA-U message also carries a result code (result-code), such as: success, arrears, free, and the like.
  • a result code such as: success, arrears, free, and the like.
  • the device advertises the service used by the user terminal according to the remaining quota of the user terminal, and issues a new quota, which is specifically: when the remaining quota of the user terminal is within the credit limit of the user terminal, the service used by the user terminal is approved. Price, the available quota is not lower than the minimum quota; When the remaining quota of the user terminal is not within the credit limit of the user terminal, the service used by the user terminal is priced, and the last remaining quota or zero quota is issued, and the FUI unit is delivered.
  • Step 311 The charging gateway receives the CCA-U message, and according to the quota reported by the QHT triggering, the related resources of the service used by the user terminal are released.
  • the step further includes: the charging gateway performs real-time monitoring on the service used by the user terminal according to the service price and quota carried by the CCA-U message.
  • the method further includes: the charging gateway performs corresponding processing on the service used by the user terminal according to the result code carried in the CCA-U message, for example, the result code is successful, and when the issued quota is not equal to 0, if the service used by the user terminal is The silent service activates the silent service. If the service used by the user terminal is a non-silent service, the non-silent service is monitored in real time. When the service quota is equal to 0, if the service used by the user terminal is a silent service, the silent service is released. Resources; if the service used by the user terminal is a non-silent service, the non-silent service is terminated;
  • the result code is arrears.
  • the service used by the user terminal is a silent service
  • the service is processed according to the arrears service
  • the result code is free.
  • the service used by the user terminal is a silent service, the service is processed free of charge.
  • the charging gateway sends a reverse deactivation message to the user terminal.
  • the method further includes steps 312 to 315:
  • Step 312 The user terminal actively sends a PDP deactivation message to the charging gateway.
  • Step 313 After receiving the user deactivation message, the charging gateway sends a CCR-T message to the online charging system, where the CCR-T message carries information such as the actual quota used by the user terminal.
  • Step 314 After receiving the CCR-T message, the online charging system performs processing such as rating, account control, and the like, and sends a CCA-T message to the charging gateway.
  • Step 315 The charging gateway sends a deactivation response message to the user terminal.
  • the embodiment of the present invention further provides a processing system for a charging service. As shown in FIG. 4, the system includes: a charging gateway 41 and an online charging system 42;
  • the charging gateway 41 is configured to perform real-time monitoring on the service used by the user terminal, and when the QHT arrives, send a credit control request message to the online charging system 42, where the reason for carrying the report is QHT arrival; Controlling the response message, and when determining that the quota reported by the QHT trigger is 0, releasing the related resources of the service used by the user terminal;
  • the online charging system 42 is configured to receive a credit control request message, and the QHT arrives according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway 41;
  • the charging gateway 41 is further configured to receive a charging request of the user terminal, and after determining that it is a prepaid user, send a CCR-I message to the online charging system 42;
  • the online charging system 42 is further configured to receive a CCR-I message, query whether the user exists, verify whether the identity is legal, and send a CCA-I message to the charging gateway 41;
  • the charging gateway 41 is further configured to: when the non-QHT monitoring condition arrives, send a credit control request message to the online charging system 42, where the credit control request message carries the reporting condition that the non-QHT monitoring condition arrives ;
  • the online charging system 42 is further configured to: when the monitoring condition of the non-QHT is reached, the service of the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued, and the charging gateway 41 is sent to the charging gateway 41. Sending a credit control response message carrying the rating and quota of the service, where the quota includes: traffic, time, event, etc.;
  • the charging gateway 41 is configured to perform real-time monitoring on services used by the user terminal according to the service rating and quota carried in the credit control response message.
  • the charging gateway 41 is further configured to perform corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message.
  • the charging gateway 41 specifically includes: a request message processing unit 411, a response message processing unit 412, and a service processing unit 413;
  • the request message processing unit 411 is configured to send a credit control request message to the online charging system 42, where the reason for carrying the report is QHT arrival;
  • the response message processing unit 412 is configured to receive the credit control response message, and when it is determined that the quota of the QHT trigger is 0, the service processing unit 413 is notified to release the related resources used by the user terminal.
  • the service processing unit 413 is configured to perform real-time monitoring on the service used by the user terminal, and when the QHT arrives, notify the request message processing unit 411; and release the related resources of the service used by the user terminal according to the notification of the response message processing unit 412;
  • the service processing unit 413 is further configured to notify the request message processing unit 411 when the monitoring condition of the non-QHT arrives;
  • the request message processing unit 411 is further configured to send a credit control request message to the online charging system 42, where the credit control request message carries a reporting condition that the non-QHT monitoring condition arrives;
  • the response message processing unit 412 is further configured to receive a credit control response message carrying a service rating and a quota, and notify the service processing unit 413;
  • the service processing unit 413 is further configured to receive the notification of the response message processing unit 412, and perform real-time monitoring on the service used by the user terminal according to the service price and quota carried in the credit control response message;
  • the service processing unit 413 is further configured to perform corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message, including: successful, arrears, free, and the like.
  • the online charging system 42 specifically includes: a message receiving unit 421, a reason determining unit 422, a quota processing unit 423, and a message sending unit 424;
  • the message receiving unit 421 is configured to receive the credit control request message, and notify the reason determining unit 422;
  • the reason judging unit 422 is configured to notify the quota processing unit 423 when the reason for determining that the QHT arrives;
  • Quota processing unit 423 configured to set the quota to 0;
  • the message sending unit 424 is configured to send a credit control response message with a quota of 0 to the charging gateway 41;
  • the reason judging unit 422 is further configured to notify the quota processing unit 423 when it is determined that the monitoring condition that the reason is non-QHT arrives;
  • the quota processing unit 423 is further configured to perform a rating on the service used by the user terminal according to the remaining quota of the user terminal, and set a new quota;
  • the message sending unit 424 is further configured to send a credit control response message carrying the rating and quota of the service to the charging gateway 41;
  • the credit control response message sent by the message sending unit 424 also carries a result code, such as: success, arrears, free, and the like.
  • the embodiment of the present invention further provides a charging gateway.
  • the charging gateway 41 includes: a request message processing unit 411, a response message processing unit 412, and a service processing unit 413;
  • the request message processing unit 411 is configured to send a credit control request message to the online charging system 42, where the reason for carrying the report is QHT arrival;
  • the response message processing unit 412 is configured to receive the credit control response message, and when it is determined that the quota of the QHT trigger is 0, the service processing unit 413 is notified to release the related resources used by the user terminal.
  • the service processing unit 413 is configured to perform real-time monitoring on the service used by the user terminal, and when the QHT arrives, notify the request message processing unit 411; and release the related resources of the service used by the user terminal according to the notification of the response message processing unit 412;
  • the service processing unit 413 is further configured to notify when a non-QHT monitoring condition arrives Request message processing unit 411;
  • the request message processing unit 411 is further configured to send a credit control request message to the online charging system 42, where the reason for carrying the report is the non-reported reason
  • the monitoring condition of QHT arrives
  • the response message processing unit 412 is further configured to receive a credit control response message carrying a service rating and a quota, and notify the service processing unit 413;
  • the service processing unit 413 is further configured to receive the notification of the response message processing unit 412, and perform real-time monitoring on the service used by the user terminal according to the service price and quota carried in the credit control response message;
  • the service processing unit 413 is further configured to perform corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message, including: successful, arrears, free, and the like.
  • the embodiment of the present invention further provides an online charging system.
  • the online charging system 42 includes: a message receiving unit 421, a reason determining unit 422, a quota processing unit 423, and a message sending unit 424. ; among them,
  • the message receiving unit 421 is configured to receive the credit control request message, and notify the reason judgment unit 422;
  • the reason judging unit 422 is configured to notify the quota processing unit 423 when the reason for determining that the QHT arrives;
  • Quota processing unit 423 configured to set the quota to 0;
  • the message sending unit 424 is configured to send a credit control response message with a quota of 0 to the charging gateway 41;
  • the reason judging unit 422 is further configured to notify the quota processing unit 423 when it is determined that the monitoring condition that the reason is non-QHT arrives;
  • the quota processing unit 423 is further configured to pair the user terminal according to the remaining quota of the user terminal.
  • the used business is priced and a new quota is set;
  • the message sending unit 424 is further configured to send a credit control response message carrying the rating and quota of the service to the charging gateway 41;
  • the credit control response message sent by the message sending unit 424 also carries a result code, such as: success, arrears, free, and the like.

Abstract

Disclosed is a charging service processing method, comprising: a charging gateway monitoring in real time a service used by a user terminal, and when a QHT expires, sending a credit control request message to an online charging system, the credit control request message carrying a report reason being that the QHT expires; according to that the report reason is the expiration of the QHT, the online charging system sending to a charging gateway a credit control response message with a quota being 0; the charging gateway receiving the credit control response message, triggering the report quota 0 according to the QHT, and releasing relevant resources of the service used by the user terminal. Further disclosed is a charging service processing system, a charging gateway, and an online charging system. By means of the solution of the present invention, the exchange of the credit control request message and credit control response message is reduced during a silence service, and the system performance is improved.

Description

计费业务的处理方法及系统、 计费网关、 在线计费系统 技术领域  Method and system for processing billing service, billing gateway, online billing system
本发明涉及通讯计费领域, 尤其涉及一种计费业务的处理方法及系统、 计费网关、 在线计费系统。 背景技术  The present invention relates to the field of communication charging, and in particular, to a method and system for processing a charging service, a charging gateway, and an online charging system. Background technique
随着在线计费技术的发展, 在线计费系统的性能也成为运营商关注的 焦点。 在线计费系统的主要性能指标包括实时性、 可靠性、 可扩展性和容 错性。 其中, 实时性是一个非常重要的指标, 并且运营商对于系统处理的 平均时延也有明确的规定, 因此, 如何提高系统的处理速度、 减少系统的 响应时延是在线计费系统的关键技术。  With the development of online charging technology, the performance of online charging systems has become the focus of operators. Key performance metrics for online billing systems include real-time, reliability, scalability, and fault tolerance. Among them, real-time performance is a very important indicator, and operators also have clear rules on the average delay of system processing. Therefore, how to improve the processing speed of the system and reduce the response delay of the system is the key technology of the online charging system.
图 1是计费系统中各个功能模块之间的信令交互流程图, 如图 1所示, 计费系统主要包括用户终端、 计费网关和在线计费系统。 其中, 计费网关 的主要功能是确定用户使用的业务费率、 使用时长或流量、 以及话单保存 等; 在线计费系统的主要功能是对用户进行鉴权、 授权、 计费等, 具体包 括以下几个步驟:  FIG. 1 is a flow chart of signaling interaction between various functional modules in a charging system. As shown in FIG. 1 , the charging system mainly includes a user terminal, a charging gateway, and an online charging system. The main function of the charging gateway is to determine the service rate, usage duration or traffic used by the user, and the CDR to be saved. The main function of the online charging system is to authenticate, authorize, and charge the user, including The following steps:
步驟 101 : 用户终端向计费网关发送计费请求。  Step 101: The user terminal sends a charging request to the charging gateway.
步驟 102: 计费网关接收到用户的计费请求, 判断是预付费用户, 则向 在 线 计 费 系 统 发 送 信 用 控 制 初 始 请 求 ( CCR-I , Credit-Control-Request-INITIAL ) 消息, 进行鉴权。  Step 102: After receiving the charging request of the user and determining that the prepaid user is the prepaid user, the charging gateway sends a CCR-I (Credit-Control-Request-INITIAL) message to the online charging system for authentication.
步驟 103: 在线计费系统接收到 CCR-I消息, 查询用户是否存在, 验 证其身份是否合法, 并向计费网关发送信用控制初始响应 (CCA-I , Credit-Control-Answer-INITIAL ) 消息。  Step 103: The online charging system receives the CCR-I message, queries whether the user exists, verifies whether the identity is legal, and sends a credit control initial response (CCA-I, Credit-Control-Answer-INITIAL) message to the charging gateway.
步驟 104: 计费网关接收到 CCA-I消息后, 向用户发送接入响应消息, 并根据 CCA-I消息判断是否用户鉴权成功, 如果 CCA-I消息指示用户鉴权 成功, 则执行步驟 105; 否则用户激活失败, 释放计费网关上的资源, 流程 结束。 Step 104: After receiving the CCA-I message, the charging gateway sends an access response message to the user. And determining whether the user authentication succeeds according to the CCA-I message. If the CCA-I message indicates that the user authentication is successful, step 105 is performed; otherwise, the user activation fails, the resources on the charging gateway are released, and the process ends.
步驟 105: 用户终端向计费网关发送新业务接入请求。  Step 105: The user terminal sends a new service access request to the charging gateway.
步驟 106: 计费网关根据新业务接入请求, 解析和识别用户终端使用的 业务信息以及上下行流量等信息, 并将解析和识别的信息通过信用控制更 新请求(CCR-U, Credit-Control-Request-UPDATE )消息发送给在线计费系 统。  Step 106: The charging gateway parses and identifies the service information used by the user terminal, the uplink and downlink traffic, and the like according to the new service access request, and passes the parsed and identified information through the credit control update request (CCR-U, Credit-Control- The Request-UPDATE message is sent to the online charging system.
步驟 107:在线计费系统根据用户终端的剩余配额对用户终端使用的业 务进行批价, 下发新的配额给所述业务, 通过信用控制更新响应(CCA-U, Credit-Control-Answer-UPDATE )消息携带业务的批价和配额发送给计费网 关。  Step 107: The online charging system appends the service used by the user terminal according to the remaining quota of the user terminal, and issues a new quota to the service, and updates the response through the credit control (CCA-U, Credit-Control-Answer-UPDATE) The rating and quota of the message carrying service are sent to the charging gateway.
步驟 108: 计费网关收到 CCA-U消息后, 根据其中的配额对用户终端 使用的业务进行实时监控, 当监控条件到达, 计费网关向在线计费系统发 送 CCR-U继续申请配额, 执行步驟 107。  Step 108: After receiving the CCA-U message, the charging gateway performs real-time monitoring on the service used by the user terminal according to the quota. When the monitoring condition arrives, the charging gateway sends the CCR-U to the online charging system to continue to apply for the quota. Step 107.
步驟 109: 用户终端主动向计费网关发送 PDP去活消息。  Step 109: The user terminal actively sends a PDP deactivation message to the charging gateway.
步驟 110: 计费网关收到用户去活消息后, 向在线计费系统发送信用控 制结束请求(CCR-T, Credit-Control-Request-TERMINATION )消息, 所述 CCR-T消息中携带用户终端已使用的实际配额等信息。  Step 110: After receiving the user deactivation message, the charging gateway sends a CCR-T (Credit-Control-Request-TERMINATION) message to the online charging system, where the CCR-T message carries the user terminal. Information such as the actual quota used.
步驟 111 : 在线计费系统收到 CCR-T消息后, 进行批价、 账户控制等 处理 , 并向计 费 网 关发送信用 控制 结束响应 ( CCA-T , Credit-Control-Answer-TERMINATION ) 消息。  Step 111: After receiving the CCR-T message, the online charging system performs processing such as rating, account control, and the like, and sends a credit control end response (CCA-T, Credit-Control-Answer-TERMINATION) message to the accounting gateway.
步驟 112: 计费网关向用户终端发送去活响应消息。  Step 112: The charging gateway sends a deactivation response message to the user terminal.
综上所述, 在用户激活、 业务处理和用户去活的流程中, 计费网关和 在线计费系统通过 CCR-U和 CCA-U消息进行交互。 计费网关判断业务的监控条件到达, 如果该监控条件到达是配额保持 时间(QHT, Quota-Holding-Time )到达,则在线计费系统正常下发 CCA-U, 此时, 如果该用户终端使用的业务一直处于无数据报文状态 (静默业务), 则在计费网关和在线计费系统之间,一直存在静默业务的 CCR-U和 CCA-U 消息。 如果 QHT的时间较短, 则会导致计费网关不停地向计费系统发送信 用控制请求去申请配额, 影响系统的处理速率。 由于用户终端的静默业务 在短期内不再使用, 会占用一定的计费网关资源。 如果大量用户终端的业 务处于静默业务, 网络可能因为 CCR-U和 CCA-U消息过于密集导致计费 网关 /系统瘅痪。 发明内容 In summary, in the process of user activation, service processing, and user deactivation, the charging gateway and the online charging system interact through CCR-U and CCA-U messages. The charging gateway determines that the monitoring condition of the service arrives. If the monitoring condition arrives, the quota holding time (QHT, Quota-Holding-Time) arrives, the online charging system normally delivers the CCA-U, and at this time, if the user terminal uses The service has been in the state of no data packet (silent service), and there are always CCR-U and CCA-U messages of the silent service between the charging gateway and the online charging system. If the QHT time is short, the charging gateway will continuously send a credit control request to the billing system to apply for a quota, which affects the processing rate of the system. Because the quiet service of the user terminal is no longer used in a short period of time, it will occupy certain accounting gateway resources. If the services of a large number of user terminals are in a silent service, the network may cause the charging gateway/system to be paralyzed because the CCR-U and CCA-U messages are too dense. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种计费业务的处理方法及系 统、 计费网关、 在线计费系统, 能够减少静默业务时的 CCR-U和 CCA-U 消息交互, 提高系统的性能, 减少计费网关资源利用率。  In view of this, the main purpose of the present invention is to provide a method and system for processing a charging service, a charging gateway, and an online charging system, which can reduce CCR-U and CCA-U message interaction during silent service, and improve the system. Performance, reducing billing gateway resource utilization.
为达到上述目的, 本发明实施例的技术方案是这样实现的:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供的一种计费业务的处理方法, 该方法包括: 计费网关对用户终端使用的业务进行实时监控, 当 QHT到达时, 向在 线计费系统发送信用控制请求消息, 所述信用控制请求消息中携带上报原 因为 QHT到达;  A method for processing a charging service according to an embodiment of the present invention includes: the charging gateway performs real-time monitoring on a service used by the user terminal, and when the QHT arrives, sends a credit control request message to the online charging system, where The reason for carrying the report in the credit control request message is that the QHT arrives;
在线计费系统根据上报原因为 QHT到达, 向计费网关发送配额为 0的 信用控制响应消息;  The online charging system arrives at the QHT according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway;
计费网关接收所述信用控制响应消息,根据 QHT触发上报的配额为 0, 释放用户终端使用业务的相关资源。  The charging gateway receives the credit control response message, and according to the quota reported by the QHT triggering, the related resources of the service used by the user terminal are released.
上述方案中, 该方法还包括: 当非 QHT的监控条件到达时, 计费网关 向在线计费系统发送信用控制请求消息, 所述信用控制请求消息中携带上 报原因为所述非 QHT的监控条件到达。 上述方案中, 该方法还包括: 在线计费系统确定上 ^艮原因为非 QHT的 监控条件到达时, 根据用户终端的剩余配额对用户终端使用的业务进行批 价, 下发新的配额, 通过信用控制响应消息携带业务的批价和配额发送给 计费网关。 In the foregoing solution, the method further includes: when the non-QHT monitoring condition arrives, the charging gateway sends a credit control request message to the online charging system, where the credit control request message carries the reporting condition that is the non-QHT monitoring condition Arrivals. In the above solution, the method further includes: when the online charging system determines that the monitoring condition of the non-QHT is reached, the service used by the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued. The credit control response message carries the rating and quota of the service to the charging gateway.
上述方案中, 该方法还包括: 计费网关根据信用控制响应消息携带的 业务批价和配额, 对用户终端使用的业务进行实时监控。  In the above solution, the method further includes: the charging gateway performs real-time monitoring on the service used by the user terminal according to the service rating and the quota carried by the credit control response message.
上述方案中, 所述信用控制响应消息还携带结果码, 计费网关根据信 用控制响应消息携带的结果码, 对用户终端使用的业务进行相应处理。  In the above solution, the credit control response message further carries a result code, and the charging gateway performs corresponding processing on the service used by the user terminal according to the result code carried in the response control response message.
本发明实施例提供的一种计费业务的处理系统, 该系统包括: 计费网 关、 在线计费系统; 其中,  The system for processing a charging service provided by the embodiment of the present invention includes: a charging gateway and an online charging system;
计费网关, 配置为对用户终端使用的业务进行实时监控, 当 QHT到达 时, 向在线计费系统发送信用控制请求消息, 所述信用控制请求消息中携 带上报原因为 QHT到达; 接收信用控制响应消息, 在确定 QHT触发上报 的配额为 0时, 释放用户终端使用业务的相关资源;  The charging gateway is configured to perform real-time monitoring on the service used by the user terminal. When the QHT arrives, the credit control request message is sent to the online charging system, and the credit control request message carries the reporting reason as QHT arrival; receiving the credit control response The message, when determining that the quota reported by the QHT trigger is 0, releasing the related resources of the service used by the user terminal;
在线计费系统, 配置为接收信用控制请求消息, 根据上报原因为 QHT 到达, 向计费网关发送配额为 0的信用控制响应消息。  The online charging system is configured to receive a credit control request message, and according to the reporting reason, the QHT arrives, and sends a credit control response message with a quota of 0 to the charging gateway.
上述方案中, 所述计费网关, 还配置为当非 QHT的监控条件到达时, 向在线计费系统发送信用控制请求消息, 所述信用控制请求消息中携带上 报原因为所述非 QHT的监控条件到达。  In the foregoing solution, the charging gateway is further configured to send a credit control request message to the online charging system when the monitoring condition of the non-QHT arrives, where the reason for reporting the non-QHT is reported in the credit control request message The condition arrived.
上述方案中, 所述在线计费系统, 还配置为确定上报原因为非 QHT的 监控条件到达时, 根据用户终端的剩余配额对用户终端使用的业务进行批 价, 下发新的配额, 向计费网关发送携带业务的批价和配额的信用控制响 应消息。  In the foregoing solution, the online charging system is further configured to: when the monitoring condition of the non-QHT is reached, the service used by the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued. The fee gateway sends a credit control response message carrying the rating and quota of the service.
上述方案中, 所述计费网关, 还配置为, 根据信用控制响应消息携带 的业务批价和配额, 对用户终端使用的业务进行实时监控。 上述方案中, 所述信用控制响应消息还携带结果码; 所述计费网关还 配置为根据信用控制响应消息携带的结果码, 对用户终端使用的业务进行 相应处理。 In the foregoing solution, the charging gateway is further configured to perform real-time monitoring on the service used by the user terminal according to the service rating and the quota carried in the credit control response message. In the above solution, the credit control response message further carries a result code; the charging gateway is further configured to perform corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message.
本发明实施例提供的一种计费网关, 该计费网关包括: 请求消息处理 单元、 响应消息处理单元、 业务处理单元; 其中,  The charging gateway provided by the embodiment of the present invention includes: a request message processing unit, a response message processing unit, and a service processing unit;
请求消息处理单元, 配置为向在线计费系统发送信用控制请求消息, 所述信用控制请求消息中携带上报原因为 QHT到达;  The request message processing unit is configured to send a credit control request message to the online charging system, where the reason for carrying the report is QHT arrival;
响应消息处理单元, 配置为接收信用控制响应消息, 在确定 QHT触发 上报的配额为 0时, 通知业务处理单元释放用户终端使用业务的相关资源; 业务处理单元, 配置为对用户终端使用的业务进行实时监控, 当 QHT 到达时, 通知请求消息处理单元; 并根据响应消息处理单元的通知, 释放 用户终端使用业务的相关资源。  The response message processing unit is configured to receive the credit control response message, and when it is determined that the quota reported by the QHT trigger is 0, notify the service processing unit to release the related resource used by the user terminal, and the service processing unit is configured to perform the service used by the user terminal. Real-time monitoring, when the QHT arrives, notifying the request message processing unit; and releasing the relevant resources of the user terminal using the service according to the notification of the response message processing unit.
本发明实施例提供的一种在线计费系统, 该在线计费系统包括: 消息 接收单元、 原因判断单元、 配额处理单元、 消息发送单元; 其中,  An online charging system is provided by the embodiment of the present invention. The online charging system includes: a message receiving unit, a reason determining unit, a quota processing unit, and a message sending unit;
消息接收单元, 配置为接收信用控制请求消息, 并通知原因判断单元; 原因判断单元, 配置为确定上报原因为 QHT到达时, 通知配额处理单 元;  The message receiving unit is configured to receive the credit control request message, and notify the reason judging unit; the reason judging unit is configured to notify the quota processing unit when the reason for reporting is that the QHT arrives;
配额处理单元, 配置为设置配额为 0;  The quota processing unit is configured to set the quota to 0;
消息发送单元, 配置为向计费网关发送配额为 0的信用控制响应消息。 本发明实施例提供的一种计费业务的处理方法及系统、 计费网关、 在 线计费系统, 计费网关对用户终端使用的业务进行实时监控, 当 QHT到达 时, 向在线计费系统发送信用控制请求消息, 所述信用控制请求消息中携 带上报原因为 QHT到达; 在线计费系统根据上报原因为 QHT到达, 向计 费网关发送配额为 0的信用控制响应消息; 计费网关接收所述信用控制响 应消息, 根据 QHT触发上报的配额为 0, 释放用户终端使用业务的相关资 源; 如此, 能够减少静默业务时的信用控制请求消息和信用控制响应消息 交互, 提高系统的性能, 减少计费网关资源利用率。 附图说明 The message sending unit is configured to send a credit control response message with a quota of 0 to the charging gateway. The method and system for processing the charging service, the charging gateway, and the online charging system provided by the embodiment of the present invention, the charging gateway performs real-time monitoring on the service used by the user terminal, and sends the service to the online charging system when the QHT arrives. a credit control request message, wherein the credit control request message carries a reporting reason of QHT arrival; the online charging system sends a credit control response message with a quota of 0 to the charging gateway according to the reporting reason, and the charging gateway receives the The credit control response message is based on the quota reported by the QHT trigger to be 0, releasing the relevant resources of the user terminal to use the service. Therefore, the credit control request message and the credit control response message interaction during the silent service can be reduced, the performance of the system is improved, and the utilization rate of the charging gateway resource is reduced. DRAWINGS
图 1为现有技术中计费业务的处理方法流程示意图;  1 is a schematic flowchart of a processing method of a charging service in the prior art;
图 2为本发明实施例实现计费业务的处理方法的流程示意图; 图 3为本发明实施例在信用控制请求消息为 CCR-U消息,信用控制响 应消息为 CCA-U消息时, 实现计费业务的处理方法的流程示意图;  2 is a schematic flowchart of a method for processing a charging service according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a method for implementing a charging when a credit control request message is a CCR-U message and a credit control response message is a CCA-U message according to an embodiment of the present invention; Schematic diagram of the processing method of the business;
图 4为本发明实施例实现计费业务的处理系统的结构示意图。 具体实施方式  FIG. 4 is a schematic structural diagram of a processing system for implementing a charging service according to an embodiment of the present invention. detailed description
本发明实施例的基本思想是: 计费网关对用户终端使用的业务进行实 时监控, 当 QHT到达时, 向在线计费系统发送信用控制请求消息, 所述信 用控制请求消息中携带上报原因为 QHT到达; 在线计费系统根据上报原因 为 QHT到达, 向计费网关发送配额为 0的信用控制响应消息; 计费网关接 收所述信用控制响应消息, 根据 QHT触发上报的配额为 0, 释放用户终端 使用业务的相关资源。  The basic idea of the embodiment of the present invention is: the charging gateway performs real-time monitoring on the service used by the user terminal, and when the QHT arrives, sends a credit control request message to the online charging system, where the reason for reporting the message is QHT The online charging system arrives at the QHT according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway; the charging gateway receives the credit control response message, and releases the user terminal according to the quota reported by the QHT triggering is 0. Use related resources of the business.
下面通过附图及具体实施例对本发明实施例做进一步的详细说明。 本发明实施例实现一种计费业务的处理方法, 如图 2所示, 该方法包 括以下几个步驟:  The embodiments of the present invention are further described in detail below with reference to the accompanying drawings and specific embodiments. The embodiment of the present invention implements a method for processing a charging service. As shown in FIG. 2, the method includes the following steps:
步驟 201: 计费网关对用户终端使用的业务进行实时监控, 当 QHT到 达时, 向在线计费系统发送信用控制请求消息, 所述信用控制请求消息中 携带上报原因为 QHT到达;  Step 201: The charging gateway performs real-time monitoring on the service used by the user terminal, and sends a credit control request message to the online charging system when the QHT arrives, and the reason for the reporting in the credit control request message is that the QHT arrives;
步驟 202: 在线计费系统根据上报原因为 QHT到达, 向计费网关发送 配额为 0的信用控制响应消息;  Step 202: The online charging system arrives at the QHT according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway.
步驟 203: 计费网关接收所述信用控制响应消息, 根据 QHT触发上报 的配额为 0, 释放用户终端使用业务的相关资源。 Step 203: The charging gateway receives the credit control response message, and reports the report according to the QHT. The quota is 0, releasing the related resources of the user terminal to use the service.
上述步驟 201还包括: 当非 QHT的监控条件到达时, 计费网关向在线 计费系统发送信用控制请求消息 , 所述信用控制请求消息中携带上报原因 为所述非 QHT的监控条件到达;  The foregoing step 201 further includes: when the non-QHT monitoring condition arrives, the charging gateway sends a credit control request message to the online charging system, where the credit control request message carries the reporting reason that the non-QHT monitoring condition arrives;
优选地, 上述步驟 202中, 所述在线计费系统确定上 ^艮原因为非 QHT 的监控条件到达时, 根据用户终端的剩余配额对用户终端使用的业务进行 批价, 下发新的配额, 通过信用控制响应消息携带业务的批价和配额发送 给计费网关;  Preferably, in the foregoing step 202, when the online charging system determines that the monitoring condition of the non-QHT is reached, the service used by the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued. Sending the rating and quota of the service carrying the service through the credit control response message to the charging gateway;
优选地, 上述步驟 203 中, 所述计费网关根据信用控制响应消息携带 的业务批价和配额, 对用户终端使用的业务进行实时监控;  Preferably, in the foregoing step 203, the charging gateway performs real-time monitoring on the service used by the user terminal according to the service rating and the quota carried in the credit control response message;
所述信用控制响应消息还携带结果码, 计费网关根据信用控制响应消 息携带的结果码, 对用户终端使用的业务进行相应处理。  The credit control response message further carries a result code, and the charging gateway performs corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message.
上述步驟中, 所述信用控制请求消息一般是 CCR-U消息; 所述信用控 制响应消息一般是 CCA-U消息。  In the above steps, the credit control request message is generally a CCR-U message; and the credit control response message is generally a CCA-U message.
具体的, 在信用控制请求消息为 CCR-U 消息, 信用控制响应消息为 CCA-U消息时, 实现计费业务的处理方法, 如图 3所示, 包括以下几个步 驟:  Specifically, when the credit control request message is a CCR-U message and the credit control response message is a CCA-U message, the method for processing the charging service is implemented. As shown in FIG. 3, the following steps are included:
步驟 301: 用户终端向计费网关发送计费请求。  Step 301: The user terminal sends a charging request to the charging gateway.
步驟 302:计费网关接收到用户终端的计费请求,判断是预付费用户后, 向在线计费系统发送 CCR-I消息, 进行鉴权。  Step 302: After receiving the charging request of the user terminal, the charging gateway determines that the prepaid user sends a CCR-I message to the online charging system for authentication.
步驟 303: 在线计费系统接收到 CCR-I消息, 查询用户是否存在, 验 证其身份是否合法, 并向计费网关发送 CCA-I消息。  Step 303: The online charging system receives the CCR-I message, queries whether the user exists, verifies whether the identity is legal, and sends a CCA-I message to the charging gateway.
步驟 304: 计费网关接收到 CCA-I消息后, 向用户发送接入响应消息, 并根据 CCA-I消息判断是否用户鉴权成功, 如果 CCA-I消息指示用户鉴权 成功, 则执行步驟 305; 否则用户激活失败, 释放计费网关上的资源, 流程 结束。 Step 304: After receiving the CCA-I message, the charging gateway sends an access response message to the user, and determines whether the user authentication succeeds according to the CCA-I message. If the CCA-I message indicates that the user authentication succeeds, step 305 is performed. Otherwise, the user activation fails, releasing the resources on the charging gateway, the process End.
步驟 305: 用户终端向计费网关发送新业务接入请求。  Step 305: The user terminal sends a new service access request to the charging gateway.
步驟 306: 计费网关向在线计费系统发送 CCR-U消息。  Step 306: The charging gateway sends a CCR-U message to the online charging system.
步驟 307: 在线计费系统根据 CCR-U消息对用户终端使用的业务进行 批价, 计算配额。  Step 307: The online charging system performs the rating on the service used by the user terminal according to the CCR-U message, and calculates the quota.
步驟 308: 在线计费系统向计费网关发送携带业务的批价和配额的 CCA-U消息。  Step 308: The online charging system sends a CCA-U message carrying the rating and quota of the service to the charging gateway.
本步驟中,在计费网关不支持 QHT时,所述 CCA-U消息中还携带 QHT。 步驟 309: 计费网关对用户终端使用的业务进行实时监控, 当 QHT到 达时, 向在线计费系统发送 CCR-U消息, 所述 CCR-U消息中携带上报原 因为 QHT到达。  In this step, when the charging gateway does not support QHT, the CCA-U message also carries the QHT. Step 309: The charging gateway performs real-time monitoring on the service used by the user terminal. When the QHT arrives, the CCR-U message is sent to the online charging system, and the CCR-U message carries the report because the QHT arrives.
本步驟还包括: 当非 QHT的监控条件到达时, 计费网关向在线计费系 统发送 CCR-U消息,所述 CCR-U消息中携带上 4艮原因为所述非 QHT的监 控条件到达。  The step further includes: when the non-QHT monitoring condition arrives, the charging gateway sends a CCR-U message to the online charging system, where the CCR-U message carries the reason that the non-QHT monitoring condition arrives.
步驟 310: 在线计费系统根据上报原因为 QHT到达, 在线计费系统直 接扣费, 向计费网关发送配额为 0的 CCA-U消息。  Step 310: The online charging system arrives at the QHT according to the reporting reason, and the online charging system directly deducts the fee, and sends a CCA-U message with a quota of 0 to the charging gateway.
本步驟还包括: 在线计费系统确定上报原因为非 QHT的监控条件到达 时, 根据用户终端的剩余配额对用户终端使用的业务进行批价, 下发新的 配额, 通过 CCA-U消息携带业务的批价和配额发送给计费网关, 所述配额 包括: 流量、 时间、 事件等。  The step of the present invention includes: when the online charging system determines that the monitoring condition of the non-QHT is reached, the service of the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued, and the service is carried by the CCA-U message. The rating and quota are sent to the charging gateway, and the quota includes: traffic, time, events, and the like.
这里, 所述 CCA-U消息还携带结果码(result-code ), 例如: 成功、 欠 费、 免费等。  Here, the CCA-U message also carries a result code (result-code), such as: success, arrears, free, and the like.
所述根据用户终端的剩余配额对用户终端使用的业务进行批价, 下发 新的配额, 具体为: 当用户终端的剩余配额在用户终端的信用额度内时, 对用户终端使用的业务进行批价, 下发不低于最小配额的可用配额; 当用 户终端的剩余配额不在用户终端的信用额度内时, 对用户终端使用的业务 进行批价, 下发最后剩余配额或零配额, 并下发 FUI单元。 The device advertises the service used by the user terminal according to the remaining quota of the user terminal, and issues a new quota, which is specifically: when the remaining quota of the user terminal is within the credit limit of the user terminal, the service used by the user terminal is approved. Price, the available quota is not lower than the minimum quota; When the remaining quota of the user terminal is not within the credit limit of the user terminal, the service used by the user terminal is priced, and the last remaining quota or zero quota is issued, and the FUI unit is delivered.
步驟 311:计费网关接收所述 CCA-U消息,根据 QHT触发上报的配额 为 0, 释放用户终端使用业务的相关资源。  Step 311: The charging gateway receives the CCA-U message, and according to the quota reported by the QHT triggering, the related resources of the service used by the user terminal are released.
本步驟还包括: 计费网关根据 CCA-U消息携带的业务批价和配额, 对 用户终端使用的业务进行实时监控。  The step further includes: the charging gateway performs real-time monitoring on the service used by the user terminal according to the service price and quota carried by the CCA-U message.
本步驟还包括: 计费网关根据 CCA-U消息携带的结果码, 对用户终端 使用的业务进行相应处理, 如: 结果码为成功, 当下发配额不等于 0时, 若用户终端使用的业务为静默业务, 则激活静默业务, 若用户终端使用的 业务为非静默业务, 则对非静默业务进行实时监控; 当下发配额等于 0时, 若用户终端使用的业务为静默业务, 释放静默业务的相关资源; 若用户终 端使用的业务为非静默业务, 则终止非静默业务;  The method further includes: the charging gateway performs corresponding processing on the service used by the user terminal according to the result code carried in the CCA-U message, for example, the result code is successful, and when the issued quota is not equal to 0, if the service used by the user terminal is The silent service activates the silent service. If the service used by the user terminal is a non-silent service, the non-silent service is monitored in real time. When the service quota is equal to 0, if the service used by the user terminal is a silent service, the silent service is released. Resources; if the service used by the user terminal is a non-silent service, the non-silent service is terminated;
结果码为欠费, 当用户终端使用的业务为静默业务时, 业务按照欠费 业务处理;  The result code is arrears. When the service used by the user terminal is a silent service, the service is processed according to the arrears service;
结果码为免费, 当用户终端使用的业务为静默业务时, 业务按照免费 处理。  The result code is free. When the service used by the user terminal is a silent service, the service is processed free of charge.
本步驟中, 当前用户终端所有的业务都不允许接入时, 计费网关向用 户终端发送反向去活消息。  In this step, when all the services of the current user terminal are not allowed to be accessed, the charging gateway sends a reverse deactivation message to the user terminal.
上述步驟 311之后, 还包括步驟 312~步驟 315:  After the foregoing step 311, the method further includes steps 312 to 315:
步驟 312: 用户终端主动向计费网关发送 PDP去活消息。  Step 312: The user terminal actively sends a PDP deactivation message to the charging gateway.
步驟 313:计费网关收到用户去活消息后,向在线计费系统发送 CCR-T 消息, 所述 CCR-T消息中携带用户终端已使用的实际配额等信息。  Step 313: After receiving the user deactivation message, the charging gateway sends a CCR-T message to the online charging system, where the CCR-T message carries information such as the actual quota used by the user terminal.
步驟 314: 在线计费系统收到 CCR-T消息后, 进行批价、 账户控制等 处理, 并向计费网关发送 CCA-T消息。  Step 314: After receiving the CCR-T message, the online charging system performs processing such as rating, account control, and the like, and sends a CCA-T message to the charging gateway.
步驟 315: 计费网关向用户终端发送去活响应消息。 为了实现上述方法, 本发明实施例还提供一种计费业务的处理系统, 如图 4所示, 该系统包括: 计费网关 41、 在线计费系统 42; 其中, Step 315: The charging gateway sends a deactivation response message to the user terminal. In order to implement the foregoing method, the embodiment of the present invention further provides a processing system for a charging service. As shown in FIG. 4, the system includes: a charging gateway 41 and an online charging system 42;
计费网关 41 , 配置为对用户终端使用的业务进行实时监控, 当 QHT到 达时, 向在线计费系统 42发送信用控制请求消息, 所述信用控制请求消息 中携带上报原因为 QHT到达; 接收信用控制响应消息, 在确定 QHT触发 上报的配额为 0时, 释放用户终端使用业务的相关资源;  The charging gateway 41 is configured to perform real-time monitoring on the service used by the user terminal, and when the QHT arrives, send a credit control request message to the online charging system 42, where the reason for carrying the report is QHT arrival; Controlling the response message, and when determining that the quota reported by the QHT trigger is 0, releasing the related resources of the service used by the user terminal;
在线计费系统 42,配置为接收信用控制请求消息,根据上报原因为 QHT 到达, 向计费网关 41发送配额为 0的信用控制响应消息;  The online charging system 42 is configured to receive a credit control request message, and the QHT arrives according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway 41;
所述计费网关 41 , 还配置为接收用户终端的计费请求, 判断是预付费 用户后, 向在线计费系统 42发送 CCR-I消息;  The charging gateway 41 is further configured to receive a charging request of the user terminal, and after determining that it is a prepaid user, send a CCR-I message to the online charging system 42;
所述在线计费系统 42,还配置为接收 CCR-I消息,查询用户是否存在, 验证其身份是否合法, 并向计费网关 41发送 CCA-I消息;  The online charging system 42 is further configured to receive a CCR-I message, query whether the user exists, verify whether the identity is legal, and send a CCA-I message to the charging gateway 41;
所述计费网关 41 ,还配置为当非 QHT的监控条件到达时, 向在线计费 系统 42发送信用控制请求消息 , 所述信用控制请求消息中携带上报原因为 所述非 QHT的监控条件到达;  The charging gateway 41 is further configured to: when the non-QHT monitoring condition arrives, send a credit control request message to the online charging system 42, where the credit control request message carries the reporting condition that the non-QHT monitoring condition arrives ;
所述在线计费系统 42,还配置为确定上报原因为非 QHT的监控条件到 达时, 根据用户终端的剩余配额对用户终端使用的业务进行批价, 下发新 的配额, 向计费网关 41发送携带业务的批价和配额的信用控制响应消息, 所述配额包括: 流量、 时间、 事件等;  The online charging system 42 is further configured to: when the monitoring condition of the non-QHT is reached, the service of the user terminal is priced according to the remaining quota of the user terminal, and a new quota is issued, and the charging gateway 41 is sent to the charging gateway 41. Sending a credit control response message carrying the rating and quota of the service, where the quota includes: traffic, time, event, etc.;
优选地, 所述计费网关 41 , 配置为根据信用控制响应消息携带的业务 批价和配额, 对用户终端使用的业务进行实时监控。  Preferably, the charging gateway 41 is configured to perform real-time monitoring on services used by the user terminal according to the service rating and quota carried in the credit control response message.
优选地, 所述计费网关 41 , 还配置为根据信用控制响应消息携带的结 果码, 对用户终端使用的业务进行相应处理。  Preferably, the charging gateway 41 is further configured to perform corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message.
所述计费网关 41具体包括: 请求消息处理单元 411、 响应消息处理单 元 412、 业务处理单元 413; 其中, 请求消息处理单元 411 , 配置为向在线计费系统 42发送信用控制请求 消息, 所述信用控制请求消息中携带上报原因为 QHT到达; The charging gateway 41 specifically includes: a request message processing unit 411, a response message processing unit 412, and a service processing unit 413; The request message processing unit 411 is configured to send a credit control request message to the online charging system 42, where the reason for carrying the report is QHT arrival;
响应消息处理单元 412, 配置为接收信用控制响应消息, 在确定 QHT 触发上 ·^艮的配额为 0时, 通知业务处理单元 413释放用户终端使用业务的 相关资源;  The response message processing unit 412 is configured to receive the credit control response message, and when it is determined that the quota of the QHT trigger is 0, the service processing unit 413 is notified to release the related resources used by the user terminal.
业务处理单元 413 , 配置为对用户终端使用的业务进行实时监控, 当 QHT到达时, 通知请求消息处理单元 411 ; 并根据响应消息处理单元 412 的通知, 释放用户终端使用业务的相关资源;  The service processing unit 413 is configured to perform real-time monitoring on the service used by the user terminal, and when the QHT arrives, notify the request message processing unit 411; and release the related resources of the service used by the user terminal according to the notification of the response message processing unit 412;
所述业务处理单元 413, 还配置为当非 QHT的监控条件到达时, 通知 请求消息处理单元 411 ;  The service processing unit 413 is further configured to notify the request message processing unit 411 when the monitoring condition of the non-QHT arrives;
相应的, 所述请求消息处理单元 411 , 还配置为向在线计费系统 42发 送信用控制请求消息, 所述信用控制请求消息中携带上报原因为所述非 QHT的监控条件到达;  Correspondingly, the request message processing unit 411 is further configured to send a credit control request message to the online charging system 42, where the credit control request message carries a reporting condition that the non-QHT monitoring condition arrives;
所述响应消息处理单元 412,还配置为接收携带业务批价和配额的信用 控制响应消息, 并通知业务处理单元 413;  The response message processing unit 412 is further configured to receive a credit control response message carrying a service rating and a quota, and notify the service processing unit 413;
所述业务处理单元 413 , 还配置为接收响应消息处理单元 412的通知, 根据信用控制响应消息携带的业务批价和配额, 对用户终端使用的业务进 行实时监控;  The service processing unit 413 is further configured to receive the notification of the response message processing unit 412, and perform real-time monitoring on the service used by the user terminal according to the service price and quota carried in the credit control response message;
所述业务处理单元 413 , 还配置为根据信用控制响应消息携带的结果 码, 对用户终端使用的业务进行相应处理, 包括: 成功、 欠费、 免费等处 理。  The service processing unit 413 is further configured to perform corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message, including: successful, arrears, free, and the like.
所述在线计费系统 42具体包括:消息接收单元 421、原因判断单元 422、 配额处理单元 423、 消息发送单元 424; 其中,  The online charging system 42 specifically includes: a message receiving unit 421, a reason determining unit 422, a quota processing unit 423, and a message sending unit 424;
消息接收单元 421 , 配置为接收信用控制请求消息, 并通知原因判断单 元 422; 原因判断单元 422, 配置为确定上 ^艮原因为 QHT到达时, 通知配额处 理单元 423; The message receiving unit 421 is configured to receive the credit control request message, and notify the reason determining unit 422; The reason judging unit 422 is configured to notify the quota processing unit 423 when the reason for determining that the QHT arrives;
配额处理单元 423 , 配置为设置配额为 0;  Quota processing unit 423, configured to set the quota to 0;
消息发送单元 424, 配置为向计费网关 41发送配额为 0的信用控制响 应消息;  The message sending unit 424 is configured to send a credit control response message with a quota of 0 to the charging gateway 41;
所述原因判断单元 422, 还配置为确定上报原因为非 QHT的监控条件 到达时, 通知配额处理单元 423;  The reason judging unit 422 is further configured to notify the quota processing unit 423 when it is determined that the monitoring condition that the reason is non-QHT arrives;
所述配额处理单元 423 ,还配置为根据用户终端的剩余配额对用户终端 使用的业务进行批价, 设置新的配额;  The quota processing unit 423 is further configured to perform a rating on the service used by the user terminal according to the remaining quota of the user terminal, and set a new quota;
所述消息发送单元 424, 还配置为向计费网关 41发送携带业务的批价 和配额的信用控制响应消息;  The message sending unit 424 is further configured to send a credit control response message carrying the rating and quota of the service to the charging gateway 41;
所述消息发送单元 424发送的信用控制响应消息还携带结果码, 例如: 成功、 欠费、 免费等。  The credit control response message sent by the message sending unit 424 also carries a result code, such as: success, arrears, free, and the like.
基于上述系统, 本发明实施例还提供一种计费网关, 如图 4所示, 该 计费网关 41 包括: 请求消息处理单元 411、 响应消息处理单元 412、 业务 处理单元 413; 其中,  Based on the above system, the embodiment of the present invention further provides a charging gateway. As shown in FIG. 4, the charging gateway 41 includes: a request message processing unit 411, a response message processing unit 412, and a service processing unit 413;
请求消息处理单元 411 , 配置为向在线计费系统 42发送信用控制请求 消息, 所述信用控制请求消息中携带上报原因为 QHT到达;  The request message processing unit 411 is configured to send a credit control request message to the online charging system 42, where the reason for carrying the report is QHT arrival;
响应消息处理单元 412, 配置为接收信用控制响应消息, 在确定 QHT 触发上 ·^艮的配额为 0时, 通知业务处理单元 413释放用户终端使用业务的 相关资源;  The response message processing unit 412 is configured to receive the credit control response message, and when it is determined that the quota of the QHT trigger is 0, the service processing unit 413 is notified to release the related resources used by the user terminal.
业务处理单元 413 , 配置为对用户终端使用的业务进行实时监控, 当 QHT到达时, 通知请求消息处理单元 411; 并根据响应消息处理单元 412 的通知, 释放用户终端使用业务的相关资源;  The service processing unit 413 is configured to perform real-time monitoring on the service used by the user terminal, and when the QHT arrives, notify the request message processing unit 411; and release the related resources of the service used by the user terminal according to the notification of the response message processing unit 412;
所述业务处理单元 413, 还配置为当非 QHT的监控条件到达时, 通知 请求消息处理单元 411; The service processing unit 413 is further configured to notify when a non-QHT monitoring condition arrives Request message processing unit 411;
相应的, 所述请求消息处理单元 411 , 还配置为向在线计费系统 42发 送信用控制请求消息, 所述信用控制请求消息中携带上报原因为所述非 Correspondingly, the request message processing unit 411 is further configured to send a credit control request message to the online charging system 42, where the reason for carrying the report is the non-reported reason
QHT的监控条件到达; The monitoring condition of QHT arrives;
所述响应消息处理单元 412,还配置为接收携带业务批价和配额的信用 控制响应消息, 并通知业务处理单元 413;  The response message processing unit 412 is further configured to receive a credit control response message carrying a service rating and a quota, and notify the service processing unit 413;
所述业务处理单元 413 , 还配置为接收响应消息处理单元 412的通知, 根据信用控制响应消息携带的业务批价和配额, 对用户终端使用的业务进 行实时监控;  The service processing unit 413 is further configured to receive the notification of the response message processing unit 412, and perform real-time monitoring on the service used by the user terminal according to the service price and quota carried in the credit control response message;
所述业务处理单元 413 , 还配置为根据信用控制响应消息携带的结果 码, 对用户终端使用的业务进行相应处理, 包括: 成功、 欠费、 免费等处 理。  The service processing unit 413 is further configured to perform corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message, including: successful, arrears, free, and the like.
基于上述系统, 本发明实施例还提供一种在线计费系统, 如图 4所示, 该在线计费系统 42包括: 消息接收单元 421、 原因判断单元 422、 配额处 理单元 423、 消息发送单元 424; 其中,  Based on the above system, the embodiment of the present invention further provides an online charging system. As shown in FIG. 4, the online charging system 42 includes: a message receiving unit 421, a reason determining unit 422, a quota processing unit 423, and a message sending unit 424. ; among them,
消息接收单元 421 , 配置为接收信用控制请求消息, 并通知原因判断单 元 422;  The message receiving unit 421 is configured to receive the credit control request message, and notify the reason judgment unit 422;
原因判断单元 422, 配置为确定上 ^艮原因为 QHT到达时, 通知配额处 理单元 423;  The reason judging unit 422 is configured to notify the quota processing unit 423 when the reason for determining that the QHT arrives;
配额处理单元 423 , 配置为设置配额为 0;  Quota processing unit 423, configured to set the quota to 0;
消息发送单元 424, 配置为向计费网关 41发送配额为 0的信用控制响 应消息;  The message sending unit 424 is configured to send a credit control response message with a quota of 0 to the charging gateway 41;
所述原因判断单元 422, 还配置为确定上报原因为非 QHT的监控条件 到达时, 通知配额处理单元 423;  The reason judging unit 422 is further configured to notify the quota processing unit 423 when it is determined that the monitoring condition that the reason is non-QHT arrives;
所述配额处理单元 423 ,还配置为根据用户终端的剩余配额对用户终端 使用的业务进行批价, 设置新的配额; The quota processing unit 423 is further configured to pair the user terminal according to the remaining quota of the user terminal. The used business is priced and a new quota is set;
所述消息发送单元 424, 还配置为向计费网关 41发送携带业务的批价 和配额的信用控制响应消息;  The message sending unit 424 is further configured to send a credit control response message carrying the rating and quota of the service to the charging gateway 41;
所述消息发送单元 424发送的信用控制响应消息还携带结果码, 例如: 成功、 欠费、 免费等。  The credit control response message sent by the message sending unit 424 also carries a result code, such as: success, arrears, free, and the like.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种计费业务的处理方法, 其中, 该方法包括:  A method for processing a billing service, wherein the method comprises:
计费网关对用户终端使用的业务进行实时监控, 当配额保持时间 The charging gateway performs real-time monitoring on the services used by the user terminal, when the quota is kept.
( QHT )到达时, 向在线计费系统发送信用控制请求消息, 所述信用控制 请求消息中携带上报原因为 QHT到达; When the (QHT) arrives, the credit control request message is sent to the online charging system, and the reason for the reporting in the credit control request message is that the QHT arrives;
在线计费系统根据上报原因为 QHT到达, 向计费网关发送配额为 0的 信用控制响应消息;  The online charging system arrives at the QHT according to the reporting reason, and sends a credit control response message with a quota of 0 to the charging gateway;
计费网关接收所述信用控制响应消息,根据 QHT触发上报的配额为 0, 释放用户终端使用业务的相关资源。  The charging gateway receives the credit control response message, and according to the quota reported by the QHT triggering, the related resources of the service used by the user terminal are released.
2、 根据权利要求 1所述的处理方法, 其中, 该方法还包括: 当非 QHT 的监控条件到达时, 计费网关向在线计费系统发送信用控制请求消息, 所 述信用控制请求消息中携带上报原因为所述非 QHT的监控条件到达。  2. The processing method according to claim 1, wherein the method further comprises: when the monitoring condition of the non-QHT arrives, the charging gateway sends a credit control request message to the online charging system, where the credit control request message carries The reason for the report is that the monitoring condition of the non-QHT arrives.
3、 根据权利要求 2所述的处理方法, 其中, 该方法还包括: 在线计费 系统确定上报原因为非 QHT的监控条件到达时, 根据用户终端的剩余配额 对用户终端使用的业务进行批价, 下发新的配额, 通过信用控制响应消息 携带业务的批价和配额发送给计费网关。  The processing method according to claim 2, wherein the method further comprises: when the online charging system determines that the monitoring condition that the reason is non-QHT arrives, and the service used by the user terminal is priced according to the remaining quota of the user terminal. A new quota is issued, and the rating and quota of the service carried by the credit control response message are sent to the charging gateway.
4、 根据权利要求 3所述的处理方法, 其中, 该方法还包括: 计费网关 根据信用控制响应消息携带的业务批价和配额, 对用户终端使用的业务进 行实时监控。  The processing method according to claim 3, wherein the method further comprises: the charging gateway performing real-time monitoring on the service used by the user terminal according to the service rating and the quota carried by the credit control response message.
5、 根据权利要求 3所述的处理方法, 其中, 所述信用控制响应消息还 携带结果码, 计费网关根据信用控制响应消息携带的结果码, 对用户终端 使用的业务进行相应处理。  The processing method according to claim 3, wherein the credit control response message further carries a result code, and the charging gateway performs corresponding processing on the service used by the user terminal according to the result code carried in the credit control response message.
6、 一种计费业务的处理系统, 其中, 该系统包括: 计费网关、 在线计 费系统; 其中,  A processing system for a billing service, wherein the system comprises: a billing gateway and an online billing system;
计费网关, 配置为对用户终端使用的业务进行实时监控, 当 QHT到达 时, 向在线计费系统发送信用控制请求消息, 所述信用控制请求消息中携 带上报原因为 QHT到达; 接收信用控制响应消息, 在确定 QHT触发上报 的配额为 0时, 释放用户终端使用业务的相关资源; The charging gateway is configured to perform real-time monitoring on the services used by the user terminal, when the QHT arrives And sending a credit control request message to the online charging system, where the credit control request message carries the reporting reason as QHT arrival; and receives the credit control response message, and when the quota of the QHT triggering report is determined to be 0, the user terminal is used to release the service. related resources;
在线计费系统, 配置为接收信用控制请求消息, 根据上报原因为 QHT 到达, 向计费网关发送配额为 0的信用控制响应消息。  The online charging system is configured to receive a credit control request message, and according to the reporting reason, the QHT arrives, and sends a credit control response message with a quota of 0 to the charging gateway.
7、 根据权利要求 6所述的处理系统, 其中, 所述计费网关, 还配置为 当非 QHT的监控条件到达时 , 向在线计费系统发送信用控制请求消息 , 所 述信用控制请求消息中携带上报原因为所述非 QHT的监控条件到达。  The processing system according to claim 6, wherein the charging gateway is further configured to send a credit control request message to the online charging system when the non-QHT monitoring condition arrives, where the credit control request message is The reason for carrying the report is that the monitoring condition of the non-QHT arrives.
8、 根据权利要求 7所述的处理系统, 其中, 所述在线计费系统, 还配 置为确定上报原因为非 QHT的监控条件到达时, 根据用户终端的剩余配额 对用户终端使用的业务进行批价, 下发新的配额, 向计费网关发送携带业 务的批价和配额的信用控制响应消息。  The processing system according to claim 7, wherein the online charging system is further configured to determine, when the monitoring condition that the reporting reason is non-QHT arrives, to approve the service used by the user terminal according to the remaining quota of the user terminal. The price, the new quota is issued, and the credit control response message carrying the rating and quota of the service is sent to the charging gateway.
9、根据权利要求 8所述的处理系统, 其中, 所述计费网关, 还配置为, 根据信用控制响应消息携带的业务批价和配额, 对用户终端使用的业务进 行实时监控。  The processing system according to claim 8, wherein the charging gateway is further configured to perform real-time monitoring on the service used by the user terminal according to the service rating and the quota carried in the credit control response message.
10、 根据权利要求 8所述的处理系统, 其中, 所述信用控制响应消息 还携带结果码; 所述计费网关还配置为根据信用控制响应消息携带的结果 码, 对用户终端使用的业务进行相应处理。  The processing system of claim 8, wherein the credit control response message further carries a result code; the charging gateway is further configured to perform a service used by the user terminal according to the result code carried in the credit control response message. Processing accordingly.
11、 一种计费网关, 其中, 该计费网关包括: 请求消息处理单元、 响 应消息处理单元、 业务处理单元; 其中,  A charging gateway, wherein the charging gateway comprises: a request message processing unit, a response message processing unit, and a service processing unit; wherein
请求消息处理单元, 配置为向在线计费系统发送信用控制请求消息, 所述信用控制请求消息中携带上报原因为 QHT到达;  The request message processing unit is configured to send a credit control request message to the online charging system, where the reason for carrying the report is QHT arrival;
响应消息处理单元, 配置为接收信用控制响应消息, 在确定 QHT触发 上报的配额为 0时, 通知业务处理单元释放用户终端使用业务的相关资源; 业务处理单元, 配置为对用户终端使用的业务进行实时监控, 当 QHT 到达时, 通知请求消息处理单元; 并根据响应消息处理单元的通知, 释放 用户终端使用业务的相关资源。 The response message processing unit is configured to receive the credit control response message, and when it is determined that the quota reported by the QHT trigger is 0, notify the service processing unit to release the related resource used by the user terminal, and the service processing unit is configured to perform the service used by the user terminal. Real-time monitoring, when QHT Upon arrival, the request message processing unit is notified; and according to the notification of the response message processing unit, the related resources of the service used by the user terminal are released.
12、 一种在线计费系统, 其中, 该在线计费系统包括: 消息接收单元、 原因判断单元、 配额处理单元、 消息发送单元; 其中,  12. An online charging system, wherein the online charging system comprises: a message receiving unit, a reason determining unit, a quota processing unit, and a message sending unit;
消息接收单元, 配置为接收信用控制请求消息, 并通知原因判断单元; 原因判断单元, 配置为确定上报原因为 QHT到达时, 通知配额处理单 元;  The message receiving unit is configured to receive the credit control request message, and notify the reason judging unit; the reason judging unit is configured to notify the quota processing unit when the reason for reporting is that the QHT arrives;
配额处理单元, 配置为设置配额为 0;  The quota processing unit is configured to set the quota to 0;
消息发送单元, 配置为向计费网关发送配额为 0的信用控制响应消息。  The message sending unit is configured to send a credit control response message with a quota of 0 to the charging gateway.
PCT/CN2012/077787 2011-11-30 2012-06-28 Charging service processing method and system, charging gateway, and online charging system WO2013078857A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110389327.9 2011-11-30
CN2011103893279A CN103138951A (en) 2011-11-30 2011-11-30 Processing method and system of billing service, billing gateway, online billing system

Publications (1)

Publication Number Publication Date
WO2013078857A1 true WO2013078857A1 (en) 2013-06-06

Family

ID=48498301

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/077787 WO2013078857A1 (en) 2011-11-30 2012-06-28 Charging service processing method and system, charging gateway, and online charging system

Country Status (2)

Country Link
CN (1) CN103138951A (en)
WO (1) WO2013078857A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142126A (en) * 2015-08-10 2015-12-09 北京思特奇信息技术股份有限公司 Abnormal user message intercepting method and system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906026B (en) * 2014-03-27 2018-03-27 华为技术有限公司 Charging method, device and system
CN106169956A (en) * 2016-05-19 2016-11-30 成都逸动无限网络科技有限公司 A kind of charging gateway
CN108270697B (en) * 2016-12-31 2021-11-30 中国移动通信集团湖北有限公司 Method and device for adjusting flow quota and server
CN109728917B (en) * 2017-10-30 2022-02-22 中国电信股份有限公司 Dynamic statistical method, system and charging system for fixed network broadband flow

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212532A (en) * 2006-12-30 2008-07-02 中国电信股份有限公司 Combined billing system and method
CN101783846A (en) * 2009-01-15 2010-07-21 中兴通讯股份有限公司 Charging service processing method and charging gateway
CN102075897A (en) * 2009-11-20 2011-05-25 中国移动通信集团江苏有限公司 Method and system for charging mobile data service

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720960B2 (en) * 2003-03-04 2010-05-18 Cisco Technology, Inc. Method and apparatus providing prepaid billing for network services using explicit service authorization in an access server
GB0408990D0 (en) * 2004-04-22 2004-05-26 Nokia Corp Charging in communication networks
CN100365983C (en) * 2005-11-29 2008-01-30 华为技术有限公司 Method for realizing packet data prepayment service
CN101179774A (en) * 2007-12-06 2008-05-14 中兴通讯股份有限公司 Prepaid content accounting system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212532A (en) * 2006-12-30 2008-07-02 中国电信股份有限公司 Combined billing system and method
CN101783846A (en) * 2009-01-15 2010-07-21 中兴通讯股份有限公司 Charging service processing method and charging gateway
CN102075897A (en) * 2009-11-20 2011-05-25 中国移动通信集团江苏有限公司 Method and system for charging mobile data service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142126A (en) * 2015-08-10 2015-12-09 北京思特奇信息技术股份有限公司 Abnormal user message intercepting method and system
CN105142126B (en) * 2015-08-10 2018-06-22 北京思特奇信息技术股份有限公司 A kind of abnormal user message hold-up interception method and system

Also Published As

Publication number Publication date
CN103138951A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
JP6067872B2 (en) Preload mode PCC rule control method and apparatus
JP4940298B2 (en) Prepaid security mechanism in postpaid information communication system
EP1310061B1 (en) System and method of monitoring and reporting accounting data based on volume
JP5417438B2 (en) Billing for short message delivery
US8073472B1 (en) System and method for providing prepaid billing for instant messaging users
WO2012163284A1 (en) Redirection method and redirection apparatus under policy and charging control
WO2013078857A1 (en) Charging service processing method and system, charging gateway, and online charging system
US20110161248A1 (en) Online charging correlation in ims networks
RU2015101484A (en) METHOD, NODE, MOBILE TERMINAL AND SYSTEM FOR IDENTIFICATION OF NETWORK Tethering Behavior
EP2957096B1 (en) Method, apparatus and system for aggregating charging information
WO2009100669A1 (en) Charging method, control device, charging device and charging system
KR20040094777A (en) Method and system for access and accounting of point-to-multipoint services
WO2012167676A1 (en) Call charging processing method and system for communication device
WO2014071614A1 (en) Policy control method, device and system
WO2009138016A1 (en) Information transmission method, apparatus and system
WO2007048348A1 (en) Method and system for realizing advertisement service charging
WO2012100524A1 (en) System and method for controlling service arrearages
WO2012062076A1 (en) Prepayment service charging method and system for integrated virtual private network (ivpn)
CN107852334B (en) Method and apparatus for use in charging entity and charging client
WO2010069270A1 (en) Online recharging method, system and equipment
WO2018201810A1 (en) Pcrf entity, storage medium, race-condition removal method and system
CN102137379B (en) Method and device for controlling charging flow
WO2009070947A1 (en) Prepay content accounting system and method thereof
WO2005004389A1 (en) System and method for implementing data service prepayment
KR101452413B1 (en) As expiration of packet limit, system and method for producing data service

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12854020

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: 12854020

Country of ref document: EP

Kind code of ref document: A1