CN101783846A - Charging service processing method and charging gateway - Google Patents

Charging service processing method and charging gateway Download PDF

Info

Publication number
CN101783846A
CN101783846A CN200910005410A CN200910005410A CN101783846A CN 101783846 A CN101783846 A CN 101783846A CN 200910005410 A CN200910005410 A CN 200910005410A CN 200910005410 A CN200910005410 A CN 200910005410A CN 101783846 A CN101783846 A CN 101783846A
Authority
CN
China
Prior art keywords
credit control
charging system
online charging
gateway
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910005410A
Other languages
Chinese (zh)
Inventor
秦俭
刘群
夏勇
李华光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910005410A priority Critical patent/CN101783846A/en
Publication of CN101783846A publication Critical patent/CN101783846A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a charging service processing method and a charging gateway. The method is used for a communication system which comprises a user terminal, a charging gateway and an on-line charging system, wherein the user terminal is used for sending a service request to the charging gateway, and the charging gateway is used for responding to the service request and sending the credit control request to the on-line charging system. The method comprises the following operation steps that the charging gateway receives a credit control answer from the on-line charging system; and the charging gateway stops sending the credit control request of the user terminal to the on-line charging system in a preset time period under the condition that the indication of the credit control answer is abnormal or the credit control answer indicates that a quota released by the on-line charging system is zero. The invention raises the efficiency of the entire charging system.

Description

Charging service processing method and charging gateway
Technical field
The present invention relates to the communications field, in particular to a kind of charging service processing method and charging gateway.
Background technology
At present, online charging is the developing direction in telecom charging field, and online charging can provide real-time billing function and response function, and this real-time billing function and response function are no matter still all be very important concerning the user to operator.Operator control prepaid user credit need have the function of real-time control and real time billing, can reduce arrearage like this, reduces the bad account cost, control operation risk effectively, simultaneously, the user also accurately real time inspection consume situation.
Along with the development of Online Charging System, the performance of Online Charging System also becomes the focus that operator pays close attention to.Particularly, the main performance index of Online Charging System comprises real-time, stability, extensibility and fault-tolerance, wherein, real-time is a very important index, and also all there is clear and definite regulation in operator for the average delay of system handles, and therefore how improving system handles speed, reducing system response interval is the key technology of Online Charging System.
Fig. 1 is the Signalling exchange flow chart between each functional entity in the charge system in the correlation technique, and as shown in Figure 1, in charge system, the functional entity that mainly comprises is user terminal, charging gateway and Online Charging System.Wherein, the major function of charging gateway is to determine charging rate, statistics charging duration or flow, and go out charging bill; The major function of Online Charging System is that the user is carried out authentication, gives user's allocated quotas, and this quota is meant regular hour or certain flow.As shown in Figure 1, in this charge system, charge etc. when handling, can carry out the processing of following steps S102 usually to step S108:
Step S102, user terminal sends user's request (can be service request, activate request, deactivate request etc.) to charging gateway.
Step S104, charging gateway receive this user's request, and send credit control request signaling to Online Charging System.
Step S106, Online Charging System receive this credit control request signaling, and send credit control response signaling to charging gateway.
Step S108, charging gateway receive this credit control response signaling, and send user's response to user terminal.
Usually, three main flow processs of online charging can comprise: activation process, operation flow, with the deactivation flow process, Online Charging System and charging gateway are by credit control request (CREDIT-CONTROL-REQUEST, abbreviate CCR as) and Credit Control Answer (CREDIT-CONTROL-ANSWER) carry out information interaction, for above-mentioned three flow processs, total following three types credit control request/Credit Control Answer: initialization credit control request (INITIAL CCR), upgrade credit control request (UPDATE CCR), with termination credit control request (TERMINAL CCR).
User terminal only just can carry out business after activating successfully, so necessary advanced line activating of the user terminal of online charging, in activation, after charging gateway receives user terminal activation request, can send initialization credit control request to Online Charging System, Online Charging System carries out authentication to the user, and determine whether and to carry out the quota monitoring to it, wherein, have only the user who needs the quota monitoring when carrying out business, just monitor in real time by charging gateway.
Fig. 2 is the Signalling exchange flow chart that activates according to the charging of correlation technique, and as shown in Figure 2, activation process comprises that following step S202 is to step S210:
Step S202, user terminal sends the request of activation to charging gateway, and carries user ID and charging way (for example, freely, online charging, offline charging) therein.
Step S204, after charging gateway receives this activation request, the user distributes related resource (for example for this reason, carrying out the branch timing specifically can comprise the distribution address space, sets up the charging context and create charge node etc.), judge according to charging way whether this user is the online charging user, if the online charging user then sends initialization credit control request signaling to Online Charging System.
Whether step S206, Online Charging System carry out authentication to the user after receiving initialization credit control request, determine whether to carry out the quota monitoring to this user terminal, and determine this user to be redirected to when this user balance is not enough and supplement the page with money.
Step S208, Online Charging System sends initialization Credit Control Answer signaling to charging gateway.
After step S210, charging gateway receive initialization Credit Control Answer signaling, send the activation response message to user terminal.
The user who needs the quota monitoring is monitored in real time by charging gateway when carrying out business, if the quota deficiency sends renewal credit control signaling by charging gateway to Online Charging System and goes to apply for new quota, continues to keep professional; If Online Charging System is found the user balance deficiency, information is given charging gateway to carry in the credit control signaling of responding then that Sorry, your ticket has not enough value, and charging gateway just can stop user's business use in real time.
Fig. 3 is the Signalling exchange flow chart that uses according to the business of correlation technique, and as shown in Figure 3, operation flow comprises that following step S302 is to step S312:
Step S302, user terminal carries out business, and sends service request to charging gateway.
Step S304, the operating position of charging gateway supervisory user, if the user has quota, then professional the continuation proceeds to step S312.If charging gateway monitors of satisfying in the following condition or multinomial: the user uses business for the first time; User's quota uses; User's quota arrives effective time; Professional rate changes; Online Charging System triggers the quota application, then proceeds to step S306.
Step S306, charging gateway send to Online Charging System and upgrade credit control request signaling, and carry user ID (sign) and professional rate group therein.
Step S308, Online Charging System carries out wholesale price according to user ID and professional rate group, distributes suitable quota to the terminal use.
Step S310, Online Charging System send to upgrade credit control response signaling to charging gateway, and carries therein allocated quota and quota effective time.
Step S312, charging gateway sends the service request response to user terminal.
When the user initiatively initiates deactivation, perhaps Online Charging System initiate to interrupt conversation request, then triggers to stop credit control request signaling, and Online Charging System is added up user's Quota Usage, and sends to charging gateway, the charging gateway call list.
Fig. 4 is the Signalling exchange flow chart according to the deactivation of correlation technique, and as shown in Figure 4, the deactivation flow process comprises that following step S402 is to step S410:
Step S402, user terminal sends the user to charging gateway and deactivates request.
Step S404, charging gateway receive after this user deactivates request, send to Online Charging System and stop credit control request signaling, and carry the actual operating position of quota therein.
Step S406, Online Charging System is added up user's Quota Usage, and statistics finishes all resources of this CU of back deletion.
Step S408, Online Charging System send to charging gateway and stop the Credit Control Answer signaling, and carry the user therein and use total quota.
Step S410, charging gateway go out this user's ticket and send the user to user terminal to deactivate response message.
In sum, in the flow process of activation, business and deactivation, charging gateway and Online Charging System carry out the mutual of message by credit control request/Credit Control Answer.
When system normally carried out in business, the credit control request between charging gateway and the Online Charging System/credit control response signaling limited amount can guarantee the speed that whole system is handled.But, when the credit control response that Online Charging System is responded unusual, when perhaps the quota that issues of Online Charging System was 0 (main cause is a subscriber arrearage), if user terminal has a large amount of message reportings, and each message all triggered a credit control request and goes quota application; Perhaps based on the needs of reliable transmission, user terminal does not receive the confirmation under the situation of message in the time of appointment, retransmit user's message (generally retransmitting three times), then can cause charging gateway ceaselessly to send the credit control request and go quota application to Online Charging System, influence the processing speed of system, take place simultaneously under the above-mentioned situation at a large number of users, even can cause the charging gateway paralysis because credit control request/Credit Control Answer sends too intensive.
At in the correlation technique because charging gateway sends the problem that the credit control request is gone quota application to cause systematic function to descend even made the charging gateway paralysis in a large number to Online Charging System, effective solution is not proposed at present as yet.
Summary of the invention
At going quota application to cause systematic function to descend even make the problem of charging gateway paralysis propose the present invention owing to charging gateway sends the credit control request in a large number to Online Charging System in the correlation technique, for this reason, the present invention aims to provide a kind of charging service processing method and charging gateway, with in addressing the above problem one of at least.
According to an aspect of the present invention, provide a kind of charging service processing method.
According to charging service processing method of the present invention, be applied to comprise be used for to charging gateway send service request user terminal, be used in response to service request, send the charging gateway of credit control request and the communication system of Online Charging System to Online Charging System, said method comprises: charging gateway receives the Credit Control Answer from Online Charging System; Quota unusual in Credit Control Answer indication or that Credit Control Answer indication Online Charging System issues is under zero the situation, and charging gateway stops to send to Online Charging System the credit control request of user terminal at the fixed time in the section.
Preferably; at charging gateway when to receive indication quota unusual or that Online Charging System issues be zero Credit Control Answer; said method also comprises: charging gateway starts default timer, and determines that according to the time span of timer needs stop to send the time period of credit control request.
Preferably; at charging gateway when to receive indication quota unusual or that Online Charging System issues be zero Credit Control Answer; said method also comprises: the business of charging gateway notice Online Charging System disconnect user terminal, and stop other Credit Control Answer relevant to send over after handling Online Charging System with user terminal.
Preferably, stop when described Online Charging System sends the credit control request of described user terminal in the section at the fixed time at described charging gateway, said method also comprises: stopping to send under the situation of time span more than or equal to predetermined amount of time of credit control request, charging gateway and Online Charging System discharge the resource of user terminal.
Preferably, stop when described Online Charging System sends the credit control request of described user terminal in the section at the fixed time at described charging gateway, said method also comprises: receive again more than or equal to predetermined amount of time, charging gateway in the time span that stops to send the credit control request under the situation of credit control request of user terminal, charging gateway is the user terminal Resources allocation again.
Preferably, charging gateway trigger condition from the credit control request to Online Charging System that send comprises one of following: user's quota is finished using, quota expires effective time, rate changes.
Preferably, the length of predetermined amount of time retransmits the length of shared time period for three times greater than user terminal.
According to a further aspect in the invention, provide a kind of charging gateway.
Charging gateway according to the present invention comprises: judge module, the state of the information that is used to judge that Credit Control Answer is indicated, wherein, described state comprises: the quota that unusual, the described Credit Control Answer of normal, the described Credit Control Answer indication of described Credit Control Answer indication indicates described Online Charging System to issue is zero; Control module, being used at judge module judgement state is that Credit Control Answer indication quota unusual or that Credit Control Answer indication Online Charging System issues is under zero the situation, is controlled to stop in the predetermined amount of time continuing to send the credit control request relevant with user terminal to Online Charging System.
Preferably, above-mentioned charging gateway also comprises: sending module is used for the credit control request to Online Charging System transmission user terminal; Receiver module is used to receive the Credit Control Answer that Online Charging System returns in response to the credit control request; Timer is used for carrying out timing under the control that starts module; Start module, be used to start timer, wherein, determine that according to the time span of timer statistics needs stop to send the time period of credit control request; Release module is used for stopping to send under the situation of time span greater than predetermined amount of time of credit control request, discharges the resource of user terminal.
Preferably, above-mentioned charging gateway also comprises: notification module, be used for quota unusual in the Credit Control Answer indication that receiver module receives or that Credit Control Answer indication Online Charging System issues and be under zero the situation, the business of notice Online Charging System disconnect user terminal.
By the present invention, adopt that to receive the Credit Control Answer indication that described Online Charging System sends unusual when described charging gateway, when the quota of perhaps indicating described Online Charging System to issue is zero, described charging gateway stops to send to described Online Charging System the method for the credit control request of described user terminal in scheduled duration, it is unusual to have solved the credit control response of working as the Online Charging System response at present, perhaps the quota that issues of Online Charging System is 0 o'clock, credit control request/Credit Control Answer sends too intensive meeting and causes the problem of the paralysis of charging gateway, and then has improved the efficient of whole charge system.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the charge system Signalling exchange flow chart according to correlation technique;
Fig. 2 is the Signalling exchange flow chart according to the charging activation of correlation technique;
Fig. 3 is the Signalling exchange flow chart that uses according to the business of correlation technique;
Fig. 4 is the Signalling exchange flow chart according to the deactivation of correlation technique;
Fig. 5 is the structured flowchart that is used to implement the charging gateway of the embodiment of the invention;
Fig. 6 is the structured flowchart according to the charging gateway of the embodiment of the invention;
Fig. 7 is the concrete structure block diagram according to the charging gateway of the embodiment of the invention;
Fig. 8 is the structured flowchart in conjunction with charging gateway shown in Figure 5 according to the embodiment of the invention;
Fig. 9 is the flow chart according to the charging service processing method of the embodiment of the invention;
Figure 10 is the detail flowchart according to the charging service processing method of the embodiment of the invention.
Embodiment
Functional overview
Consider that the credit control response of working as the Online Charging System response at present is unusual, perhaps the quota that issues of Online Charging System is 0 o'clock, credit control request/Credit Control Answer sends the problem that too intensive meeting causes systematic function to descend even causes the charging gateway paralysis, the invention provides a kind of charging gateway and call charge service processing scheme thereof, promptly, the business of control signaling traffic load retransmits and keeps regularly (Service Resend Hold Time in the Online Charging System, abbreviate SRHT as) method, the SRHT method is meant, the Credit Control Answer of finding the Online Charging System response when charging gateway is unusual, the quota that perhaps issues is 0 o'clock, charging gateway at first notifies Online Charging System to require it initiatively to disconnect this teleservice, charging gateway starts re-transmission simultaneously and keeps timer, timer during this period of time in charging gateway will no longer send this user credit control request to Online Charging System, back charging gateway and Online Charging System discharge the resource of this CU simultaneously during this period of time to have crossed SRHT.
Fig. 5 is the structured flowchart that is used to implement the charging gateway of the embodiment of the invention, as shown in Figure 5, this charging gateway comprises: charging processing module 52, online charging trigger functional module 54, ticket processing module 56, data configuration module 58, below said structure are described.
Charging processing module 52, be used for the request of process user, when the user activates message arrival, distribute related resource (for example: distribute address space, set up the charging context and create charge node etc.) to the user, and judge according to charging way whether this user is the online charging user, if the online charging user transfers to online charging triggering functional module again and handles; When service message arrives, service message is analyzed, obtain the flow and the time of this message rate information and accounting message, and compare with user's quota, if the quota deficiency, the notice online charging triggers functional module; When user's deactivation message arrives, reclaim the resource of distributing to this user.
Online charging triggers functional module 54, be connected to charging processing module 52, be used for when the user activates, distribute online charging related resource (for example: session data district, credit control context etc.), and send out initialization credit control request signaling to Online Charging System to the user; When service message arrives, the situation that triggers the quota application is monitored, when arriving, trigger condition sends the new quota of renewal credit control request application to Online Charging System; When user's deactivation message arrives, send to stop the credit control request, this user's Quota Usage (by the quota processing module in this charging gateway) is sent to the ticket processing module and reclaim and distribute to this user's online charging resource to Online Charging System.
Ticket processing module 56, be connected to charging processing module 52 and online charging and trigger functional module 54, user traffic or time according to charging processing module 52 statistics go out offline bill, the user's Quota Usage that sends according to online charging triggering functional module 54 (that is user's Quota Usage of the statistics of the quota processing module in this charging gateway) goes out the online charging ticket simultaneously.
Data configuration module 58, be connected to charging processing module 52 and online charging and trigger functional module 54, be used to charging processing module 52 and online charging to trigger functional module 54 system configuration information is provided, comprise user ID, charging property and give charging resource that this user distributes etc.
In correlation technique, user terminal only just can carry out business after activating successfully, thus the application of quota only be present in activate successfully after, before the deactivation operation.Initialization credit control request is when the terminal use activates, send to Online Charging System by charging gateway, if it is unusual that this moment, charge system was responded Credit Control Answer, then charging gateway directly sends the notice that activates failure to user terminal, and user terminal can not carry out business; Stop the credit control request and be user terminal when deactivation, send to Online Charging System by charging gateway, if this moment Online Charging System to respond Credit Control Answer unusual, then charging gateway is still forced deactivation.Therefore, the SRHT method that the embodiment of the invention is described only is applied in user terminal when carrying out business, and credit control request/Credit Control Answer signaling traffic load is upgraded in control.
User terminal is when the use business, and service message arrives charging gateway, identifies this professional affiliated rate group by charging gateway, and this information is included in Online Charging System transmission renewal credit control request signaling; Online Charging System carries out wholesale price according to the rate group to be handled, and distributes suitable quota after the wholesale price, and this quota is included in the renewal Credit Control Answer signaling that charging gateway sends; Customer service continues, and the real-time monitor terminal user's of charging gateway quota consumes situation, after the quota of authorizing is finished using, needs to trigger once more and upgrades credit control request signaling to the Online Charging System quota application.When Online Charging System finds that Sorry, your ticket has not enough value, in the Credit Control Answer signaling of responding, carry the information that Sorry, your ticket has not enough value, charging gateway can be ended user's business in real time and use.
When the user uses business; the operating position of the real-time supervisory user quota of charging gateway; discovery user quota is finished using; quota expires effective time; or after rate changes; trigger and upgrade credit control request signaling to the Online Charging System quota application; if find that the result code that Credit Control Answer returns all is 0 for time and the flow quota that unusual or Credit Control Answer issue this moment; then enable the SRHT method that the embodiment of the invention is described; in the timer time of setting, disconnect the path of this terminal use's charging gateway and Online Charging System, and arrive all resources that this user is distributed in the back recovery at timer time.
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Device embodiment
According to embodiments of the invention, a kind of improved charging gateway is provided, this charging gateway can improve by the charging gateway that above-mentioned Fig. 5 is described and realize.Fig. 6 is the structured flowchart according to the charging gateway of the embodiment of the invention, and as shown in Figure 6, this charging gateway comprises: judge module 66, control module 68 will be described said structure below.
Judge module 66, the state of the information that is used to judge that Credit Control Answer is indicated, wherein, described state comprises: the quota that unusual, the described Credit Control Answer of normal, the described Credit Control Answer indication of described Credit Control Answer indication indicates described Online Charging System to issue is zero; Control module 68, be connected to judge module 66, be used for judging that at judge module 66 the Credit Control Answer indication is unusual (for example, the result code of Credit Control Answer is for unusual) or the quota that issues of Credit Control Answer indication Online Charging System be zero (for example, time that Credit Control Answer issues and/or flow quota all are 0) situation under, be controlled at and stop in the predetermined amount of time continuing to send the credit control request relevant with user terminal to Online Charging System, thereby save unnecessary processing, reduced the transmission number of times of credit control request.
Fig. 7 is the concrete structure block diagram according to the charging gateway of the embodiment of the invention, as shown in Figure 7, above-mentioned charging gateway also comprises: sending module 62, receiver module 64, timer 70, startup module 72, release module 74, notification module 76 are described said structure below.
Sending module 62 is connected to control module 68, is used for sending to Online Charging System according to the control of control module 68 the credit control request of user terminal; Receiver module 64 is connected to sending module 62, is used at sending module 62 receiving the Credit Control Answer that Online Charging System returns in response to the credit control request after Online Charging System sends the credit control request of user terminal; Timer 70 is connected to judge module 66, is used for carrying out timing under the control that starts module when judge module 66 judges that Credit Control Answer indication quota unusual or that Credit Control Answer indication Online Charging System issues is zero; Start module 72, be connected to timer 70, be used to start timer 70, wherein, determine that according to the time span of timer statistics needs stop to send the time period of credit control request; Release module 74 is connected to timer 70, is used for stopping to send under the situation of time span greater than the predetermined amount of time of timer 70 timing of credit control request, discharges the resource of user terminal; Notification module 76, be connected to judge module 66, be used for judging that at judge module 66 Credit Control Answer indication quota unusual or that Credit Control Answer indication Online Charging System issues is under zero the situation, the business of notice Online Charging System disconnect user terminal.
By this embodiment, it is under zero the situation that quota unusual in the Credit Control Answer indication that receives or that Credit Control Answer indication Online Charging System issues is provided, and stops to send to Online Charging System the charging gateway of the credit control request of user terminal at the fixed time in the section.
Fig. 8 is the structured flowchart in conjunction with charging gateway shown in Figure 5 according to the embodiment of the invention; as shown in Figure 8; this charging gateway is compared with Fig. 5; increased Timing Processing module 82 (this module can realize above-mentioned timer 70 and start the function of module 72); wherein; Timing Processing module 82 can trigger functional module 54 by online charging and call; when finding that the result code that Credit Control Answer returns all is 0 for time and the flow quota that unusual or Credit Control Answer issue, start Timing Processing module 82.Timing Processing module 82 is provided with this user and identifies for no through traffic, and the SRHT timer is set, in timer time, the user asks to arrive online charging and triggers functional module, sign that discovery is provided with that no through traffic, no longer send the credit control request, no longer handle the Credit Control Answer that Online Charging System is beamed back simultaneously to Online Charging System.After surpassing the time of timer, cancellation no through traffic sign.
Below in conjunction with Fig. 8 the charging service processing method of the charging gateway that provides of the embodiment of the invention is described.When carrying out call charge service, processing procedure is as follows:
Step 1, service message arrives charging processing module 52 (this module can realize the function of above-mentioned receiver module 64) first, charging processing module 52 is analyzed this service message, extracting the charging regulation that configures in the critical data of service message and the data configuration module 58 mates, coupling obtains this professional affiliated rate group, and user profile and this rate group information are passed to online charging triggering functional module 54.
Step 2, online charging trigger functional module 54 and check it is that service message arrives first, then directly allow it pass through, and send renewal credit control request quota application to Online Charging System, and carry user ID and rate group information therein.Online Charging System carries out wholesale price according to this user ID and rate group information, and issues quota to charging triggering functional module 54.Online charging triggers functional module 54 this quota is passed to charging processing module 52.
Step 3, when service message arrives once more, the flow or the time loss of charging processing module 52 accounting messages, real-time and quota is compared, when finding that user's quota uses or user's quota arrives effective time, then notify online charging to trigger functional module 54, online charging triggers functional module 54 (this module can realize the function of above-mentioned sending module 62) and sends renewal credit control context to the new quota of Online Charging System application.Online Charging System issues new quota to the user, and the total quota of statistics user consumes situation.
Step 4, to respond the credit control request unusual when Online Charging System, perhaps user balance deficiency, the quota that issues is 0 o'clock, online charging triggers functional module 54 and starts Timing Processing modules 82.Timing Processing module 82 is provided with this user and identifies for no through traffic, and the SRHT timer is set, in timer time, the user asks to arrive online charging and triggers functional module 54 (can realize the function of above-mentioned judge module 66, control module 68 and notification module 76), sign that discovery is provided with that no through traffic, no longer send the credit control request to Online Charging System, no longer handle simultaneously the Credit Control Answer that Online Charging System is beamed back, and the notice Online Charging System disconnects the business of this user terminal, thereby has effectively saved unnecessary processing.
Step 5, after the SRHT time arrived, charging processing module 52 and online charging trigger functional module 54 (this module can realize the function of above-mentioned release module 74) all can reclaim the resource (can be to reclaim simultaneously) of distributing to this user.Surpassing SRHT after the time, if service message arrives (possible user supplements the back with money) once more, then needing to give again this user terminal Resources allocation, and trigger the quota application process.
By this embodiment, making Online Charging System respond Credit Control Answer quota unusual or that issue is 0 o'clock, and charging gateway can use the SRHT method to reduce unnecessary messages and send, thereby has guaranteed the normal operation of the performance and the charge system of system.
Method embodiment
According to embodiments of the invention, a kind of charging service processing method is provided, can realize by the charging gateway that above-mentioned Fig. 5 describes, this method can be applicable to comprise be used for to charging gateway send service request user terminal, be used for sending the charging gateway of credit control request and the communication system of Online Charging System to Online Charging System in response to service request.
Fig. 9 is the flow chart according to the charging service processing method of the embodiment of the invention.As shown in Figure 9, comprise that according to the charging service processing method of the embodiment of the invention following step S902 is to step S904:
Step S902, charging gateway receives the Credit Control Answer from Online Charging System; Wherein, charging gateway trigger condition from the credit control request to Online Charging System that send can comprise one of following: user's quota is finished using, quota expires effective time, rate changes.
Step S904, quota unusual in Credit Control Answer indication or that Credit Control Answer indication Online Charging System issues is under zero the situation, charging gateway stops to send to Online Charging System the credit control request of user terminal at the fixed time in the section.Wherein, the length of predetermined amount of time (that is the time of SRHT) retransmits the length of shared time period for three times greater than user terminal.
In step S904, said method can also comprise following operation: charging gateway starts default timer, and determines that according to the time span of timer needs stop to send the predetermined amount of time of credit control request; The business of charging gateway notice Online Charging System disconnect user terminal.
After step S904, said method can also comprise following operation:
(1) stopping to send under the situation of time span more than or equal to predetermined amount of time (that is, timer time arrives) of credit control request the resource of charging gateway and Online Charging System release user terminal.
(2) receive again more than or equal to predetermined amount of time and charging gateway under the situation of credit control request of user terminal in the time span that stops to send the credit control request, charging gateway is the user terminal Resources allocation again.
By this embodiment; use the SRHT method; when Online Charging System response Credit Control Answer quota unusual or that issue is 0; reduced the work that charging gateway repeats to report the credit control request; simultaneously also reduce Online Charging System and repeated to issue the work of Credit Control Answer, thereby improved the efficient of whole charge system.
Be described in detail below in conjunction with the implementation procedure of example the embodiment of the invention.Above-mentioned SRHT method only is applied in the terminal use when carrying out business, and credit control request/Credit Control Answer signaling traffic load is upgraded in control, below operation flow after enabling the SRHT method is done detailed description.
Figure 10 is the detail flowchart according to the charging service processing method of the embodiment of the invention.As shown in figure 10, comprise that according to the charging service processing method of the embodiment of the invention following step S1002 is to step S1014:
Step S1002: user terminal carries out business, and sends service request to charging gateway.
Step S1004: charging gateway receives this service request, and the operating position of supervisory user, if the user has quota, then professional the continuation proceeds to step S1014.
Wherein, the following operating position of charging gateway supervisory user: it is professional whether the user uses for the first time; Whether user's quota uses; Whether user's quota arrives effective time; Whether professional rate changes; Whether Online Charging System triggers the quota application.
When above-mentioned operating position has one or multinomial condition all to satisfy, trigger quota application signaling, proceed to step S1006.
Step S1006: charging gateway sends to Online Charging System and upgrades credit control request signaling, and carries user ID (sign) and professional rate group therein.
Step S1008: Online Charging System receives new credit control request signaling, and carries out wholesale price according to user ID and professional rate group, distributes suitable quota to user terminal.
Step S1010: Online Charging System send to upgrade the Credit Control Answer response signaling to charging gateway, and carries therein allocated quota and quota effective time.
Particularly,, then be directly to step S1014, send the service request response to user terminal if this moment, charging gateway received normal Credit Control Answer.If this moment, charging gateway found that the Credit Control Answer that receives quota unusual or that issue is 0 (that is, above-mentioned step S902), then proceed to step S1012.
Step S1012: start professional the re-transmission and keep timing method (that is SRHT function).Charging gateway at first notifies the Online Charging System Credit Control Answer unusual, Online Charging System stops to send this terminal use's quota replys, and starts timer, timer during this period of time in, charging gateway stops to send the quota request (that is, above-mentioned step S904) of this user terminal; After timer time arrived, charging gateway and Online Charging System discharged the resource of this CU simultaneously.That is to say, still have user's message to arrive, then this message is handled as the initial service message that uses, distribute related resource for again again this user if after surpassing the time of timer.
Step S1014: charging gateway is given user terminal sending service request response.
By this embodiment, provide the charging service processing method that to realize the SRHT function.
In sum; by means of technique scheme of the present invention; when being zero by the Credit Control Answer indication quota unusual or that Online Charging System issues that receives the Online Charging System transmission at charging gateway; make charging gateway in scheduled duration, stop to send the credit control request of user terminal to Online Charging System; solved Online Charging System in the correlation technique response for quota unusual or that the indication Online Charging System issues be 0 o'clock; a large amount of transmissions of credit control request/Credit Control Answer cause systematic function to descend even make the problem of charging gateway paralysis; reduced the work that charging gateway repeats to report the credit control request; simultaneously also reduced the work that Online Charging System repeats to issue Credit Control Answer; thereby effectively improved the efficient of whole charge system, guaranteed the normal operation of charging gateway.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. charging service processing method, be applied to comprise be used for to charging gateway send service request user terminal, be used in response to described service request, send the described charging gateway of credit control request and the communication system of described Online Charging System to Online Charging System, it is characterized in that described method comprises:
Described charging gateway receives the Credit Control Answer from described Online Charging System;
Be under zero the situation in described Credit Control Answer indication quota unusual or that described Credit Control Answer indicates described Online Charging System to issue, described charging gateway stops to send to described Online Charging System the credit control request of described user terminal at the fixed time in the section.
2. method according to claim 1 is characterized in that, when to receive the quota that issues of the unusual or described Online Charging System of indication be zero described Credit Control Answer, described method also comprised at described charging gateway:
Described charging gateway starts default timer, and determines that according to the time span of described timer needs stop to send the described predetermined amount of time of described credit control request.
3. method according to claim 1 is characterized in that, when to receive the quota that issues of the unusual or described Online Charging System of indication be zero described Credit Control Answer, described method also comprised at described charging gateway:
The business that described charging gateway notifies described Online Charging System to disconnect described user terminal, and stop other Credit Control Answer relevant to send over after handling described Online Charging System with described user terminal.
4. method according to claim 1 is characterized in that, stops when described Online Charging System sends the credit control request of described user terminal in the section at the fixed time at described charging gateway, and described method also comprises:
Send under the situation of time span more than or equal to described predetermined amount of time of described credit control request stopping, described charging gateway and described Online Charging System discharge the resource of described user terminal.
5. method according to claim 1 is characterized in that, stops when described Online Charging System sends the credit control request of described user terminal in the section at the fixed time at described charging gateway, and described method also comprises:
Again receive more than or equal to described predetermined amount of time and described charging gateway in the time span that stops to send described credit control request under the situation of credit control request of described user terminal, described charging gateway is described user terminal Resources allocation again.
6. according to each described method in the claim 1 to 5, it is characterized in that it is one of following that the trigger condition that described charging gateway sends described credit control request to described Online Charging System comprises:
User's quota is finished using, quota expires effective time, rate changes.
7. according to each described method in the claim 1 to 5, it is characterized in that the length of described predetermined amount of time retransmits the length of shared time period for three times greater than described user terminal.
8. a charging gateway is characterized in that, comprising:
Judge module, the state of the information that is used to judge that Credit Control Answer is indicated, wherein, described state comprises: the quota that unusual, the described Credit Control Answer of normal, the described Credit Control Answer indication of described Credit Control Answer indication indicates described Online Charging System to issue is zero;
Control module, be used for judging that at described judge module described state is that described Credit Control Answer indication quota unusual or that described Credit Control Answer indicates described Online Charging System to issue is under zero the situation, be controlled to stop in the predetermined amount of time continuing to send the credit control request relevant with user terminal to Online Charging System.
9. charging gateway according to claim 8 is characterized in that, described charging gateway also comprises:
Sending module is used for sending to described Online Charging System the credit control request of described user terminal;
Receiver module is used to receive the Credit Control Answer that described Online Charging System returns in response to described credit control request;
Timer is used for carrying out timing under the control that starts module;
Described startup module is used to start described timer, wherein, determines that according to the time span of described timer statistics needs stop to send the time period of described credit control request;
Release module is used for sending under the situation of time span greater than described predetermined amount of time of described credit control request stopping, and discharges the resource of described user terminal.
10. charging gateway according to claim 8 is characterized in that, described charging gateway also comprises:
Notification module, be used under the described Credit Control Answer indication quota unusual or that described Credit Control Answer indicates described Online Charging System to issue that described receiver module receives is zero situation, notifying described Online Charging System to disconnect the business of described user terminal.
CN200910005410A 2009-01-15 2009-01-15 Charging service processing method and charging gateway Pending CN101783846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910005410A CN101783846A (en) 2009-01-15 2009-01-15 Charging service processing method and charging gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910005410A CN101783846A (en) 2009-01-15 2009-01-15 Charging service processing method and charging gateway

Publications (1)

Publication Number Publication Date
CN101783846A true CN101783846A (en) 2010-07-21

Family

ID=42523655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910005410A Pending CN101783846A (en) 2009-01-15 2009-01-15 Charging service processing method and charging gateway

Country Status (1)

Country Link
CN (1) CN101783846A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487323A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Online charging service processing method, gateway and system
CN103052049A (en) * 2012-12-31 2013-04-17 华为技术有限公司 Method, device and system for adjusting user access business
CN103138951A (en) * 2011-11-30 2013-06-05 中兴通讯股份有限公司 Processing method and system of billing service, billing gateway, online billing system
CN104104662A (en) * 2013-04-09 2014-10-15 华为技术有限公司 Method and device for processing session service connection
CN105493441A (en) * 2013-08-29 2016-04-13 瑞典爱立信有限公司 A node and method for service usage reporting and quota establishment
CN106685672A (en) * 2015-11-11 2017-05-17 中国联合网络通信集团有限公司 Online charging method and device
CN107027109A (en) * 2016-02-02 2017-08-08 中国移动通信集团辽宁有限公司 A kind of method, Online Charging System and gateway for adjusting customer flow quota
CN107548047A (en) * 2016-06-28 2018-01-05 中兴通讯股份有限公司 A kind of information notice method, OCS, GW and system
CN110166965A (en) * 2019-04-24 2019-08-23 中国联合网络通信集团有限公司 The performance method for early warning and equipment of online charging system
WO2020063970A1 (en) * 2018-09-30 2020-04-02 中兴通讯股份有限公司 Service control method, network device, and storage medium
CN111130812A (en) * 2019-12-27 2020-05-08 中国联合网络通信集团有限公司 Communication rate determining method and device
CN113326179A (en) * 2020-02-28 2021-08-31 中国移动通信集团安徽有限公司 Emergency payment starting method and device, computing equipment and computer storage medium

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487323B (en) * 2010-12-02 2014-10-22 中兴通讯股份有限公司 Online charging service processing method, gateway and system
CN102487323A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Online charging service processing method, gateway and system
CN103138951A (en) * 2011-11-30 2013-06-05 中兴通讯股份有限公司 Processing method and system of billing service, billing gateway, online billing system
WO2013078857A1 (en) * 2011-11-30 2013-06-06 中兴通讯股份有限公司 Charging service processing method and system, charging gateway, and online charging system
CN103052049A (en) * 2012-12-31 2013-04-17 华为技术有限公司 Method, device and system for adjusting user access business
CN103052049B (en) * 2012-12-31 2016-08-24 华为技术有限公司 Adjust the method for user's access service, Apparatus and system
CN104104662A (en) * 2013-04-09 2014-10-15 华为技术有限公司 Method and device for processing session service connection
CN104104662B (en) * 2013-04-09 2017-04-26 华为技术有限公司 Method and device for processing session service connection
CN105493441B (en) * 2013-08-29 2019-06-28 瑞典爱立信有限公司 For servicing the node established using report and quota and method
CN105493441A (en) * 2013-08-29 2016-04-13 瑞典爱立信有限公司 A node and method for service usage reporting and quota establishment
CN106685672A (en) * 2015-11-11 2017-05-17 中国联合网络通信集团有限公司 Online charging method and device
CN106685672B (en) * 2015-11-11 2019-09-20 中国联合网络通信集团有限公司 A kind of online charging method and device
CN107027109A (en) * 2016-02-02 2017-08-08 中国移动通信集团辽宁有限公司 A kind of method, Online Charging System and gateway for adjusting customer flow quota
CN107027109B (en) * 2016-02-02 2020-03-17 中国移动通信集团辽宁有限公司 Method for adjusting user flow quota, online charging system and gateway
CN107548047A (en) * 2016-06-28 2018-01-05 中兴通讯股份有限公司 A kind of information notice method, OCS, GW and system
WO2020063970A1 (en) * 2018-09-30 2020-04-02 中兴通讯股份有限公司 Service control method, network device, and storage medium
CN110972198A (en) * 2018-09-30 2020-04-07 中兴通讯股份有限公司 Service control method, network device, and storage medium
CN110972198B (en) * 2018-09-30 2023-10-10 中兴通讯股份有限公司 Service control method, network device and storage medium
CN110166965A (en) * 2019-04-24 2019-08-23 中国联合网络通信集团有限公司 The performance method for early warning and equipment of online charging system
CN111130812A (en) * 2019-12-27 2020-05-08 中国联合网络通信集团有限公司 Communication rate determining method and device
CN113326179A (en) * 2020-02-28 2021-08-31 中国移动通信集团安徽有限公司 Emergency payment starting method and device, computing equipment and computer storage medium
CN113326179B (en) * 2020-02-28 2023-11-10 中国移动通信集团安徽有限公司 Emergency payment starting method and device, computing equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN101783846A (en) Charging service processing method and charging gateway
CN100448325C (en) A data communication restriction method, data communication restriction system and mobile terminal
CN100512124C (en) System and method of monitoring and reporting accounting data based on data volume
CN101208943A (en) Controlling provision of services in a communications network
CN101754162B (en) Method, system and device of controlling risk
CN101686452B (en) Method, device and system for charging services
CN102487323A (en) Online charging service processing method, gateway and system
CN101022488B (en) Charge metering method, system and account period switching module
CN112749017A (en) Mobile communication method and device, storage medium, and electronic device
CN102204234B (en) Call control system, call control apparatus, terminal apparatus, and call control method
CN103138951A (en) Processing method and system of billing service, billing gateway, online billing system
CN100544505C (en) The method that limits according to the flow of authorizing short-message system
CN101001397B (en) Method and device for reducing load of intelligent network system
CN100550960C (en) Avoid the method for the subscriber arrearage of account in business operation support system
CN110880981A (en) Gx session exception handling method and device
CN1984183B (en) Method for realizing service and terminal equipment
CN101453724B (en) Customer charging information processing method and apparatus
CN101931918A (en) Device for processing order business according to user status and method
KR100383592B1 (en) Exchanging system having prepaid service function and changing processing method thereof
JP3502862B2 (en) Mobile communication system, communication terminal failure repair registration method, communication connection node, and program
KR101686659B1 (en) System and Method for Charge between Each Other Network
CN112153585B (en) Charging system, method, storage medium and electronic device
JP2997235B2 (en) Communication method and communication system
CN101888615A (en) Charging method and device for communication system
CN100518229C (en) Method for replying speech list processing abnormality for charged data generating device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100721