CAMEL calls out the Sustainable Control method and system
Technical field
The present invention relates to the communications field, more specifically, relate to a kind of CAMEL and call out the Sustainable Control method and system.
Background technology
Mobile network user is used enhancing logical, and (CustomizedApplications for Mobile network Enhanced Logic CAMEL) is the expansion development of intelligent network aspect moving to be called for short intelligent movable.Intelligent movable is a kind of network characterization, adopts the idea of modular structure professional, has (Operator Specific Service, the CAMEL_OSS) value-added service of network operator's specific transactions of the market competitiveness.(Home PLMN HPLMN), can obtain the CAMEL_OSS business support equally even the mobile subscriber roams out Home Public Land Mobile Network.New business open less investment, instant effect, the professional the whole network that covers, the operation risk reduces greatly.
Fig. 1 is the system architecture diagram of mobile intelligent net.As shown in Figure 1, comprise following functional entity:
Attaching position register (Home Location Register; HLR) 101; Store user-dependent CAMEL Subscription Information, relevant CAMEL subscription data when user position update or data variation, be sent to VLR Visitor Location Register (Visitor LocationRegister, VLR) in;
The service control function module (GSM Service Control Function, gsmSCF) 102, comprising provides the service logic that call request CAMEL_OSS business is carried out logic control, handles simultaneously and professional relevant behavior;
GMSC (Gateway Mobile service Switching Centre, GMSC) 103, when processing need that CAMEL supports professional the time; Receive relevant CAMEL subscription data from HLR 101; And to Service Switching Function (GSM ServiceSwitching Function, gsmSSF) request indication is in processing procedure; The call state (incident) of GMSC 103 monitor request is also notified gsmSSF its state, makes gsmSSF can control the processing of calling out among the GMSC 103;
GsmSSF 104, and call identifying request CAMEL_OSS is provided the means of Business Processing, and with call treatment and call business logic interactive action;
VLR 105, and storage roams in the CAMEL subscription data CAMEL-Subscription-Information that the mobile subscriber in this VLR 105 zones is correlated with;
Mobile switching centre (Mobile service Switching Centre, MSC) 106, when processing need that CAMEL supports professional the time; MSC 106 receives user-dependent CAMEL subscription data from VLR 105, and to gsmSSF 104 request indications, in processing procedure; The call state (incident) of MSC 106 monitor request is also notified gsmSSF 104 its states; Make gsmSSF 104 can control among the MSC 106 processing of calling out, when handling, during the calling of CD and MPTY to supplementary service ECT; MSC 106 receives SS-CSI from VLR 105, and sends the supplementary service call notification to gsmSCF 102; And
Special resource function (GSM Specialised Resource Function; GsmSRF) 107; Through to control, for all terminal uses provide the reciprocation with network such as resources such as dtmf receiver, speech identifying function, rules conversion, notice and speech processes.
In Fig. 1:
CAP:CAMEL Applications Part, the CAMEL Application Part agreement; And
MAP:Mobile Applications Part, the MAP agreement.
Existing mobile intelligent network can be realized control and billing function are in real time efficiently implemented in conversation; The effectively bad user's of control arrearage, malicious overdraft are to the impairment of benefit of Virtual network operator; Reduce the business risk of telecom operators, ensure normal operating income.
Fig. 2 is the CAMEL calling Sustainable Control figure according to prior art.
Concrete implementation is to use the related news stipulated in the CAMEL agreement and operation flow to carry out.Below with reference to Fig. 2 this implementation procedure is described.In Fig. 2, the abbreviation parameter declaration is following:
Tcp:Timer for Period allowed to call out the maximum duration that continues before " Apply Charging Report " sends;
Delta: sending " Apply Charging Report " and receiving the duration between new " Apply Charging " message; And
Tccd:Control of Call Duration Timer, supervision timer, supervision is sent " Apply Charging Report " and is received the time between new " Apply Charging " message, prevents that resource from taking for a long time.
At first, SCP (service control point) issues " Apply Charging " message to gsmSSF, has wherein carried the maximum duration of call Tcp1 and the overtime indication that whether discharges that this time allow conversation, and indication is called out and continued when Tcp1 is overtime in this message;
Secondly, SCP issues " being connected to resource ", " set up temporarily and connect ", " connection " and " continuation " message to gsmSSF, and gsmSSF is established to the speech channel of destination (unit of special resource possibly perhaps is provided for terminal called, ip intelligent peripherals network element);
After gsmSSF receives that message " is replied " in the destination, begin to start the Tcp timer, duration Tcp1;
After Tcp1 was overtime, gsmSSF sent " Apply Charging Report " to SCP, and the duration of report conversation this moment is Tcp1, and starts the Tccd timer;
Next; GsmSSF receives " Apply Charging " message that issues, and has wherein carried the maximum duration of call Tcp2 and the overtime indication that whether discharges that this time allow conversation, and indication is when Tcp2 is overtime in this message; Call out and continue or call release; GsmSSF stops the Tccd timer, and the value of timer is composed to Delta1, and calculates and report " Apply Charging Report " preceding maximum duration that allows conversation for (Tcp2-Delta1);
After (Tcp2-Delta1) time arrives; GsmSSF will report " Apply Charging Report " message to SCP; The duration of call of this moment is (Tcpl+Tcp2); Carry in " Apply Charging " that if SCP issues overtime whether to discharge indication be not discharge, with continue waiting for new " Apply Charging " message; And
If what carry in " Apply Charging " that SCP issues is overtime release indication, gsmSSF will initiate the process of call release so.
In existing C AMEL agreement, be [1,864000] to the Tcp parameter range; Unit is 0.1 second, and is [1,20] second to the span of Tccd timer; The span of Delta just [1,20] second so, and in the process of handling; Be directly to use Tcp-Delta, following consequence may occur like this:
When Tcp<Delta, obtain a value of not expecting, will cause conversing and not receive the control of expection; And
When gsmSSF judges Tcp<Delta; The duration of the actual conversation in terminal is above reporting " Apply Charging Report " preceding maximum duration of call that allows; Because existing protocol does not stipulate how gsmSSF should handle in this case, handle inconsistent so will cause gsmSSF to handle unusual perhaps each gsmSSF.
Summary of the invention
Technical problem to be solved by this invention is as the Tcp that fills in " Apply Charging " message (allow before reporting " Apply Charging Report " to send call out maximum duration) during less than Delta (receiving the duration between " Apply Charging " message last time " Apply Charging Report " to this); How to prevent that gsmSSF from taking place to handle unusual; And the scheme and the concrete filling explanation of message parameter that provide flow process further to handle are to satisfy the normal needs that move of requirement and system that CAMEL charges.
In order to solve the problems of the prior art; The present invention proposes a kind of CAMEL and call out the Sustainable Control method; This method comprises: gsmSSF to SCP send last time Apply Charging Report and start supervision timer after; If received the new Apply Charging message that SCP issues, stop supervision timer, and the maximum duration that continues is called out in the permission of carrying in the currency of supervision timer and the new Apply Charging message compared; According to comparative result, calculate the actual maximum-duration that before reporting Apply Charging Report, allows conversation; And when arriving actual maximum-duration, indicate according to the overtime release of carrying in the new Apply Charging message and to carry out the calling Sustainable Control.
Wherein, being currency at comparative result allows under the situation of duration greater than reality, with maximum duration assignment be zero or minimum that system allowed on the occasion of.
Yet, be that currency is not more than under the situation of actual permission duration at comparative result, be the poor of the permission of carrying in the new Apply Charging message currency of calling out the maximum duration that continues and supervision timer with maximum duration assignment.
According to the method for the invention; When arriving actual maximum-duration; If the overtime release dial gauge that carries in the new Apply Charging message is shown in call release under the overtime situation of maximum duration; Then gsmSSF will report Apply Charging Report to SCP, and initiate release message to discharge ongoing calling to MSC or terminal.
When arriving actual maximum-duration; If being shown in, the overtime release dial gauge that carries in the new Apply Charging message continues under the overtime situation of actual maximum-duration to call out; Then gsmSSF will report Apply Charging Report to SCP, and restart supervision timer, wait for next Apply Charging message.
The present invention also provides a kind of CAMEL to call out the Sustainable Control system; This system comprises: comparing unit; Be used at gsmSSF to SCP transmission Apply Charging Report last time and after starting supervision timer; Under the situation of having received the new Apply Charging message that SCP issues, stop supervision timer, and the maximum duration that continues is called out in the permission of carrying in the currency of supervision timer and the new Apply Charging message compared; The assignment unit is used for the comparative result according to comparing unit, confirms before reporting Apply Charging Report, to allow the actual maximum-duration of conversation; And control unit, be used for when arriving actual maximum-duration, indicate according to the overtime release of carrying in the new Apply Charging message and carry out the calling Sustainable Control.
Wherein, the assignment unit is that currency allows greater than reality under the situation of duration at the comparative result of comparing unit, with maximum duration assignment be zero or minimum that system allowed on the occasion of.
Yet the assignment unit is that currency is not more than under the situation of actual permission duration at the comparative result of comparing unit, is the poor of the permission of carrying in the new Apply Charging message currency of calling out the maximum duration that continues and supervision timer with maximum duration assignment.
According to system of the present invention; Control unit is when arriving actual maximum-duration; The overtime release dial gauge that in new Apply Charging message, carries is shown under the situation of call release under the overtime situation of maximum duration; Make gsmSSF report Apply Charging Report, and initiate release message to discharge ongoing calling to MSC or terminal to SCP.
When control unit when arriving actual maximum-duration; The overtime release dial gauge that in new Apply Charging message, carries is shown under the situation that continues under the overtime situation of actual maximum-duration to call out; Make gsmSSF report Apply Charging Report to SCP; And restart supervision timer, wait for next Apply Charging message.
Thereby, to adopt method and system of the present invention can guarantee to call out in controllable scope, thereby guaranteed the accuracy and the effective and rapid property of chargeing, the processing of anti-locking system simultaneously occurs unusual.
Other features and advantages of the present invention will be set forth in specification subsequently, and, partly from specification, become obvious, perhaps understand through embodiment of the present invention.The object of the invention can be realized through the structure that in the specification of being write, claims and accompanying drawing, is particularly pointed out and obtained with other advantages.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used to explain the present invention with embodiments of the invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the system architecture diagram of mobile intelligent net;
Fig. 2 is the CAMEL calling Sustainable Control figure according to prior art;
Fig. 3 is a flow chart of calling out the Sustainable Control method according to CAMEL of the present invention;
Fig. 4 calls out the process chart that discharges when overtime according to the Tcp of the embodiment of the invention;
Fig. 5 calls out the process chart that continues when overtime according to the Tcp of the embodiment of the invention;
Flow chart when Fig. 6 reports permission conversation actual maximum-duration according to the embodiment of the invention " Apply Charging Report "; And
Fig. 7 is a block diagram of calling out the Sustainable Control system according to CAMEL of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for explanation and explains the present invention, and be not used in qualification the present invention.
Fig. 3 is a flow chart of calling out the Sustainable Control method according to CAMEL of the present invention.As shown in Figure 3, may further comprise the steps:
S302; GsmSSF to SCP send last time Apply Charging Report and start supervision timer after; If received the new Apply Charging message that SCP issues; Stop supervision timer, and the maximum duration that continues is called out in the permission of carrying in the currency of supervision timer and the new Apply Charging message compared;
S304 according to comparative result, obtains the actual maximum-duration that before reporting Apply Charging Report, allows conversation; And
S306 when arriving actual maximum-duration, indicates according to the overtime release of carrying in the new Apply Charging message and to carry out the calling Sustainable Control.
Wherein, be currency greater than allowing to call out under the situation of the maximum duration that continues at comparative result, with the actual maximum-duration assignment be zero or minimum that system allowed on the occasion of.
Yet, be that currency is not more than under the situation of the maximum duration that allow to call out continues at comparative result, be the poor of the permission of carrying in the new Apply Charging message currency of calling out the maximum duration that continues and supervision timer with the actual maximum-duration assignment.
According to the method for the invention; When arriving actual maximum-duration; If the overtime release dial gauge that carries in the new Apply Charging message is shown in call release under the overtime situation of actual maximum-duration; Then gsmSSF will report Apply Charging Report to SCP, and initiate release message to discharge ongoing calling to MSC or terminal.
When arriving actual maximum-duration; If being shown in, the overtime release dial gauge that carries in the new Apply Charging message continues under the overtime situation of actual maximum-duration to call out; Then gsmSSF will report Apply Charging Report to SCP, and restart supervision timer, wait for next Apply Charging message.
Fig. 4 calls out the process chart that discharges when overtime according to the Tcp of the embodiment of the invention.
Flow chart when Fig. 6 reports permission conversation actual maximum-duration according to the embodiment of the invention " Apply Charging Report ".
Like Fig. 4 and shown in Figure 6, the entire process process of calling out release when Tcp is overtime is following:
At first, SCP issues " Apply Charging " message to gsmSSF, has wherein carried the maximum duration of call Tcp1 and the overtime indication that whether discharges that this time allow conversation, and when indication Tcp1 is overtime in this message, calls out and continues;
Secondly, SCP issues " being connected to resource ", " set up temporarily and connect ", " connection " and " continuation " message to gsmSSF, and gsmSSF is established to the speech channel of destination (unit of special resource possibly perhaps is provided for terminal called, ip intelligent peripherals network element);
After gsmSSF receives that message " is replied " in the destination, begin to start the Tcp timer, duration Tcp1;
After Tcp1 was overtime, gsmSSF sent " Apply Charging Report " to SCP, and the duration of report conversation this moment is Tcp1, and starts the Tccd timer, waited for that SCP sends new " Apply Charging " message;
After receiving that SCP issues " Apply Charging " message, gsmSSF gets into the processing of Fig. 6;
S602, receive " Apply Charging " message after, carry out parameter and judge the routine inspection with state judgement or the like some message;
S604 judges whether received response message this moment;
S606 stops the Tccd timer, its value is composed given Delta;
S608 judges that whether Tcp is greater than Delta;
S610, if Tcp<Delta, so with the Tcp assignment be zero or minimum that system allowed on the occasion of so that Tcp regularly it can normally start, and overtime with the fastest speed, flow process gets into S614;
S612, if Tcp>Delta, so, flow process gets into S614; And
S614; Carry out normal Tcp on the occasion of " Apply Charging " handling process; Message " Apply Charging Report " and " release " have been comprised; The duration of call of filling in wherein " Apply Charging Report " is the Tcp sum that issues in the duration of call and this " Apply Charging " message in last time " Apply Charging Report ", is slightly less than the true duration of call, allows the maximum duration of calling out before " Apply Charging Report " that equals SCP basically and allowed sends.
Fig. 5 calls out the process chart that continues when overtime according to the Tcp of the embodiment of the invention.
Describe Tcp below in conjunction with Fig. 6 and call out the entire process process that continues when overtime.
At first, SCP issues " Apply Charging " message to gsmSSF, has wherein carried the maximum duration of call Tcp1 and the overtime indication that whether discharges that this time allow conversation, and when indication Tcp1 is overtime in this message, calls out and continues;
Secondly, SCP issues " being connected to resource ", " set up temporarily and connect ", " connection " and " continuation " message to gsmSSF, and gsmSSF is established to the speech channel of destination (unit of special resource possibly perhaps is provided for terminal called, ip intelligent peripherals network element);
Next, after gsmSSF receives that message " is replied " in the destination, begin to start the Tcp timer, duration Tcp1;
After Tcp1 was overtime, gsmSSF sent " Apply Charging Report " to SCP, and the duration of report conversation this moment is Tcp1, and starts the Tccd timer, waited for that SCP sends new " Apply Charging " message;
After receiving that SCP issues " Apply Charging " message, gsmSSF gets into the processing of Fig. 6;
S602, receive " Apply Charging " message after, carry out parameter and judge the routine inspection with state judgement or the like some message;
S604 judges whether received response message this moment;
S606 stops the Tccd timer, its value is composed given Delta;
S608 judges that whether Tcp is greater than Delta;
S610, if Tcp<Delta, so with the Tcp assignment be zero or minimum that system allowed on the occasion of so that the Tcp timer can normally start, and overtime with the fastest speed, flow process gets into S614;
S612, if Tcp>Delta, so, flow process gets into S614;
S614; Carry out normal Tcp on the occasion of " Apply Charging " handling process; Comprised message " Apply Charging Report ", the duration of call of filling in wherein " Apply Charging Report " is the Tcp sum that issues in the duration of call and this " Apply Charging " message in last time " Apply Charging Report ", is slightly less than the true duration of call; Basically before sending, " Apply Charging Report " that equals SCP and allowed allow the maximum duration called out; Flow process has got into " Apply Charging ", waits for the new indication of SCP, and starts the Tccd timer;
Issue " Apply Charging " message when gsmSSF receives SCP, wherein carried the maximum duration of call Tcp3 and the overtime indication that whether discharges that this time allow conversation, when indication Tcp3 was overtime in this message, calling discharged;
Because what carry in " Apply Charging " is overtime release indication, after (Tcp3-Delta2) time arrives, gsmSSF will initiate the process of call release; And
At last, gsmSSF will report " Apply Charging Report " message to SCP, and the duration of call of this moment is (Tcp1+Tcp2+Tcp3).
Fig. 7 is a block diagram of calling out Sustainable Control system 700 according to CAMEL of the present invention.As shown in Figure 7; Comprise: comparing unit 702; Be used at gsmSSF to SCP transmission Apply Charging Report last time and after starting supervision timer; Under the situation of having received the new Apply Charging message that SCP issues, stop supervision timer, and the maximum duration that continues is called out in the permission of carrying in the currency of supervision timer and the new Apply Charging message compared; Assignment unit 704 is used for the comparative result according to comparing unit, confirms before reporting Apply Charging Report, to allow the actual maximum-duration of conversation; And control unit 706, be used for when arriving actual maximum-duration, indicate according to the overtime release of carrying in the new Apply Charging message and carry out the calling Sustainable Control.
Wherein, assignment unit 704 is that currency allows greater than reality under the situation of duration at the comparative result of comparing unit 702, with the actual maximum-duration assignment be zero or minimum that system allowed on the occasion of.
Yet; Assignment unit 704 is that currency is not more than under the situation of actual permission duration at the comparative result of comparing unit 702, is the poor of the permission of carrying in the new Apply Charging message currency of calling out the maximum duration that continues and supervision timer with the actual maximum-duration assignment.
According to system of the present invention; Control unit 706 is when arriving actual maximum-duration; The overtime release dial gauge that in new Apply Charging message, carries is shown under the situation of call release under the overtime situation of actual maximum-duration; Make gsmSSF report Apply Charging Report, and initiate release message to discharge ongoing calling to MSC or terminal to SCP.
When control unit 706 when arriving actual maximum-duration; The overtime release dial gauge that in new Apply Charging message, carries is shown under the situation that continues under the overtime situation of actual maximum-duration to call out; Make gsmSSF report Apply Charging Report to SCP; And restart supervision timer, wait for next Apply Charging message.
In sum; The invention solves as the Tcp that fills in " Apply Charging " message (allowing to call out the maximum duration that continues before reporting " Apply Charging Report " to send) during less than Delta (receiving the duration between " Apply Charging " message last time " Apply Charging Report " to this); How to prevent that gsmSSF from taking place to handle unusual; And provide the scheme and the message parameter of the further processing of flow process specifically to confirm, with accuracy that satisfies the CAMEL charging and the needs that real-time requires and system normally moves.
More than be merely the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.