Background technology
Mobile network user is used enhancing logical, and (Customized Applications 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 Location Register, VLR) in;
Service control function (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, GMSC 103 receives relevant CAMEL subscription data from HLR 101, and to Service Switching Function (GSM Service Switching Function; GsmSSF) request indication; 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 cycle 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 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 (Tcp1+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 (allowing to call out the maximum cycle 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 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 cycle that continues is called out in the permission of carrying in the currency of supervision timer and the new Apply Charging message compared; And according to comparative result; Obtain the permission duration that connection allows, when arrive allowing duration, indicate according to the overtime release of carrying in the new Apply Charging message and to carry out the calling Sustainable Control; Wherein, At comparative result is that currency is called out under the situation of the maximum cycle that continues greater than allowing, and gsmSSF reports Apply Charging Report to SCP, and the duration of call in the Apply Charging Report is the duration of call and the currency sum in Apply Charging Report last time.
Being currency at comparative result is shown under the situation of call release under the overtime situation of the duration that allowed greater than allowing to call out the overtime release dial gauge that carries in the maximum cycle that continues and the new Apply Charging message; GsmSSF reports Apply Charging Report to SCP; And initiate release message to discharge ongoing calling to MSC or terminal; Wherein, the duration of call in the Apply Charging Report is the duration of call and the currency sum in Apply Charging Report last time.
According to the method for the invention, also comprise: gsmSSF handles other test point incident and the report that suspends according to the duration of call in the Apply Charging Report.
At comparative result is that currency is not more than under the situation that allows the lasting maximum cycle of calling; When arriving the permission duration; If being shown in, the overtime release dial gauge that carries in the new Apply Charging message allows to continue to call out under the overtime situation of duration; Then gsmSSF will report Apply Charging Report to SCP, and restart supervision timer, wait for next Apply Charging message; Wherein, the duration of call in the Apply Charging Report is the duration of call and the maximum cycle sum that allows calling to continue in Apply Charging Report last time.
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 cycle that continues is called out in the permission of carrying in the currency of supervision timer and the new Apply Charging message compared; And control unit, be used for comparative result according to comparing unit, obtain the permission duration that connection allows; When arriving the permission duration; Indicating according to the overtime release of carrying in the new Apply Charging message and to carry out the calling Sustainable Control, wherein, is that currency is greater than allowing to call out under the situation of the maximum cycle that continues at comparative result; GsmSSF reports Apply Charging Report to SCP, and the duration of call in the Apply Charging Report is the duration of call and the currency sum in Apply Charging Report last time.
Control unit is that currency is shown under the situation that allows call release under the overtime situation of duration greater than allowing to call out the overtime release dial gauge that carries in lasting maximum cycle and the new Apply Charging message at the comparative result of comparing unit; After allowing duration overtime; Make gsmSSF report Apply Charging Report to SCP; And initiate release message to discharge ongoing calling to MSC or terminal; Wherein, the duration of call in the Apply Charging Report is the duration of call and the currency sum in Apply Charging Report last time.
According to system of the present invention, also comprise: processing unit is used for making gsmSSF to handle other test point incident and the report that suspends according to the duration of call of Apply Charging Report.
Control unit is that currency is not more than under the situation that allows the lasting maximum cycle of calling at comparative result; When arriving the permission duration; If being shown in, the overtime release dial gauge that carries in the new Apply Charging message allows to continue to call out under the overtime situation of duration; Then make gsmSSF report Apply Charging Report, and restart supervision timer, wait for next Apply Charging message to SCP; Wherein, the duration of call in the Apply Charging Report is the duration of call and the maximum cycle sum that allows calling to continue in Apply Charging Report last time.
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.
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 cycle that continues is called out in the permission of carrying in the currency of supervision timer and the new Apply Charging message compared; And
S304 according to comparative result, obtains the permission duration that connection allows, and when arrive allowing duration, indicates according to the overtime release of carrying in the Apply Charging message and to carry out the calling Sustainable Control.
At comparative result is that currency is greater than allowing to call out under the situation of the maximum cycle that continues; And the overtime release dial gauge that carries in the new Apply Charging message is shown in and allows call release under the overtime situation of duration; Then gsmSSF will report Apply Charging Report to SCP; And initiate release message to discharge ongoing calling to MSC or terminal, wherein, the duration of call in the Apply Charging Report is the duration of call and the currency sum in Apply Charging Report last time.
According to the method for the invention, also comprise: gsmSSF handles other test point incident and the report that suspends according to the duration of call in the Apply Charging Report.
At comparative result is that currency is not more than under the situation that allows the lasting maximum cycle of calling; And the overtime release dial gauge that carries in the new Apply Charging message is shown in and allows to continue to call out under the overtime situation of duration; Then gsmSSF will report Apply Charging Report to SCP, and restart supervision timer, wait for next Apply Charging message; Wherein, the duration of call in the Apply Charging Report is the duration of call and the currency sum in Apply Charging Report last time.
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.
SDL figure when Fig. 6 reports the true duration of call of permission according to the embodiment of the invention " Apply Charging Report ".
Fig. 7 is the SDL figure that the continuation of Fig. 6 is handled.
Like Fig. 4, Fig. 6 and shown in Figure 7, 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 Fig. 6 and handles;
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 if the response message of receiving then stops the Tccd timer, composes its value to Delta;
S608 judges that whether Tcp is greater than Delta;
S610, if Tcp<Delta, flow process gets into S614, if Tcp>Delta, so, flow process gets into S612;
S612, carry out normal Tcp on the occasion of " Apply Charging " handling process;
S614, the S702 that gets into Fig. 7 handles;
S702, the S614 of map interlinking 6;
Whether S704 judges that Tcp is overtime to discharge, and is overtime release in this flow process, gets into S712;
S712 sends " Apply Charging Report ", and filling in the parameter duration of call is the real duration of call; Send the preceding maximum duration that allows calling greater than " Apply Charging Report " that SCP allowed; And the mark release cause is that Tcp is overtime, and the calling activation marker is FALSE, gets into S712;
S714 handles the call information request suspend, fills in relevant parameter according to call duration truly, gets into S716;
S716 accomplishes the record that charge information is provided, and gets into S718;
S718 initiates the release to calling out, and gets into S720;
S720 closes the related application of gsmSSF and SCP in this process, gets into S722; And
S722, the gsmSSF state is idle, and processing finishes.
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 Fig. 7 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, flow process gets into S614, if Tcp>Delta, so, flow process gets into S612;
S612, carry out normal Tcp on the occasion of " Apply Charging " handling process;
S614, the S702 that gets into Fig. 7 handles;
S702, the S614 of map interlinking 6;
Whether S704 judges that Tcp is overtime to discharge, and is overtime continuation in this flow process, gets into S706;
S706; Handle Apply Charging Report, send " Apply Charging Report ", filling in the parameter duration of call is real duration of call Tcp1+Delta1; Send the preceding maximum duration that allows calling greater than " Apply Charging Report " that SCP allowed; And the mark release cause is that Tcp is overtime, and the calling activation marker is FALSE, gets into S708;
S708 restarts the Tccd timer, waits for the further indication of SCP, gets into S710;
S710, the state of gsmSSF remains unchanged, and waits for the SCP indication;
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+Delta1+Tcp3).
Fig. 8 is a block diagram of calling out Sustainable Control system 800 according to CAMEL of the present invention.As shown in Figure 8; This system comprises: comparing unit 802; 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 cycle that continues is called out in the permission of carrying in the currency of supervision timer and the new Apply Charging message compared; And control unit 804, be used for comparative result according to comparing unit 802, obtain the permission duration that connection allows, when arrive allowing duration, indicate according to the overtime release of carrying in the new Apply Charging message and to carry out the calling Sustainable Control.
Control unit 804 is that currency is greater than allowing to call out under the situation of the maximum cycle that continues at the comparative result of comparing unit 802; And the overtime release dial gauge that carries in the new Apply Charging message is shown in and allows call release under the overtime situation of duration; Then make gsmSSF report Apply Charging Report to SCP; And initiate release message to discharge ongoing calling to MSC or terminal; Wherein, the duration of call in the Apply Charging Report is the duration of call and the currency sum in Apply Charging Report last time.
According to system of the present invention, also comprise: processing unit 806 is used for making gsmSSF to handle other test point incident and the report that suspends according to the duration of call of Apply Charging Report.
Control unit 804 is that currency is not more than under the situation that allows the lasting maximum cycle of calling at comparative result; And the overtime release dial gauge that carries in the new Apply Charging message is shown in and allows to continue to call out under the overtime situation of duration; Then make gsmSSF report Apply Charging Report, and restart supervision timer, wait for next Apply Charging message to SCP; Wherein, the duration of call in the Apply Charging Report is the duration of call and the currency sum in Apply Charging Report last time.
In sum; The invention solves as the Tcp that fills in " Apply Charging " message (allow call out continue maximum cycle) 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 further scheme and the message parameter of handling of flow process specifically to fill in, to satisfy accuracy and the normal needs that move of real-time requirement and system that CAMEL charges.
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.