Summary of the invention
At the problems referred to above, the purpose of this invention is to provide a kind of method that IN service is provided in mobile virtual network, this method can obtain user's IN service CAMEL-Subscription-Information and call-related information in virtual network, monitors functions such as IN service call state.
To achieve these goals, the present invention adopts following technical scheme,
In mobile virtual network, provide the method for IN service may further comprise the steps:
A sets up gateway exchange, attaching position register and the IN service control appliance of supporting CAP signaling and MAP2+ signaling in virtual network;
B exhales the IN service CAMEL-Subscription-Information and exhales the IN service CAMEL-Subscription-Information eventually for the user has registered in attaching position register;
C, when user's initiation or receipt of call, mobile switching centre is according to calling user information or called user information is distinguished the calling subscriber and whether the called subscriber is virtual network user, and the calling that will belong to the virtual net user is connected to the gateway exchange of virtual network, and calling number, called number and other are used to identify this call out to the information of virtual net customer call and send to gateway exchange;
D, gateway exchange is judged this calling according to calling number, called number and out of Memory and is the virtual net customer call, and to attaching position register transmission information request message, include Subscriber Number in the message, comprise the number that belongs to the virtual net user in calling number and the called number in the Subscriber Number;
E, attaching position register is searched database according to the Subscriber Number in the information request message of step b transmission, and user's essential information, positional information and IN service CAMEL-Subscription-Information sent to gateway exchange;
F, gateway exchange obtain can get in touch with the foundation of IN service control appliance behind the IN service CAMEL-Subscription-Information, and the all-calls relevant information is sent to the IN service control appliance, and the connection procedure of supervising connections for calling;
G, behind end of conversation, gateway exchange will send to the IN service control appliance air time, be used for the IN service control appliance and charge.
Among the described step b, in attaching position register, exhale and when eventually exhaling the IN service CAMEL-Subscription-Information, and indicate that this user allows to roam in the mobile switching centre that does not support IN service, VLR Visitor Location Register for the user has registered.
Among the described step b, in attaching position register,, the user exhales and when eventually exhaling the IN service CAMEL-Subscription-Information for having registered, when VLR Visitor Location Register when attaching position register sends location update request message, attaching position register inserts VLR Visitor Location Register with user's essential information and supplementary service information, but does not insert the IN service CAMEL-Subscription-Information.
In the described step g, when gateway exchange will send to the IN service control appliance air time, but also metered call information of gateway exchange itself.
Because the present invention has adopted said method, make virtual mobile carrier can break away from the restriction of basic network operator equipment, self-dependent intelligent network platform provides colourful IN service for the user, can obtain user's IN service CAMEL-Subscription-Information in virtual network, and can real-time monitoring intelligent service call State Control call connection process, and realize billing function.
Embodiment
See also shown in Figure 1,
Comprise MSC, VLR, BSC, BTS in the mobile basic network, mobile basic network is handled for the user provides wireless access, roaming data management and basic service, supplementary service.Comprise GMSC, HLR, SCP in the mobile virtual network, mobile virtual network is handled for the user provides user data management, IN service.
Method of the present invention just is based in two above-mentioned networks, and this method may further comprise the steps:
A sets up gateway exchange, attaching position register and the IN service control appliance of supporting CAP signaling and MAP2+ signaling in virtual network;
B exhales the IN service CAMEL-Subscription-Information and exhales the IN service CAMEL-Subscription-Information eventually for the user has registered in attaching position register;
C, when user's initiation or receipt of call, mobile switching centre is connected to the gateway exchange of virtual network according to calling user information or called user information with calling, and calling number, called number and other are used to identify this call out to the information of virtual net customer call and send to gateway exchange;
D, gateway exchange judge this calling according to calling number, called number and out of Memory and are the virtual net customer call, and send information request message to attaching position register, include Subscriber Number in the message;
E, attaching position register is searched database according to the Subscriber Number in the information request message of step b transmission, and user's essential information, positional information and IN service CAMEL-Subscription-Information sent to gateway exchange;
F, gateway exchange obtain can get in touch with the foundation of IN service control appliance behind the IN service CAMEL-Subscription-Information, and the all-calls relevant information is sent to the IN service control appliance, and the connection procedure of supervising connections for calling;
G, behind end of conversation, gateway exchange will send to the IN service control appliance air time, be used for the IN service control appliance and charge.
Please continue to consult shown in Figure 2,
Among the described step b, in attaching position register, exhale and when eventually exhaling the IN service CAMEL-Subscription-Information, and indicate that this user allows to roam in the mobile switching centre that does not support IN service, VLR Visitor Location Register for the user has registered.
Among the described step b, in attaching position register,, the user exhales and when eventually exhaling the IN service CAMEL-Subscription-Information for having registered, when VLR Visitor Location Register when attaching position register sends location update request message, attaching position register inserts VLR Visitor Location Register with user's essential information and supplementary service information, but does not insert the IN service CAMEL-Subscription-Information.
Specifically, register all CAMEL-Subscription-Information of user in the attaching position register, comprised MSISDN, IMSI, basic service, supplementary service etc.For realizing IN service, also be necessary for the signatory IN service information (CSI) of user, be respectively intelligent dialing service profile (O-CSI) and called intelligent service CAMEL-Subscription-Information (T-CSI).According to gsm protocol, when the user initiates the position renewal, VLR Visitor Location Register can send position updating request (UpdateLocationReq) message to attaching position register, attaching position register finds user data according to the IMSI in the message, and in inserting user data (InsertSubDataReq) message, user basic information and CAMEL-Subscription-Information are sent to VLR Visitor Location Register, comprising O-CSI.Like this, when the user made a call, MSC just can trigger the intelligent dialing business according to O-CSI.If but mobile switching centre, VLR Visitor Location Register do not support IN service, VLR Visitor Location Register just can not receive the O-CSI parameter, and according to gsm protocol, attaching position register will be refused current location update operations.After the IN service processing is placed on virtual network, attaching position register just there is no need O-CSI is sent to VLR Visitor Location Register, when VLR Visitor Location Register sends UpdateLocationReq, attaching position register only sends to VLR Visitor Location Register with user profile, basic service CAMEL-Subscription-Information and supplementary service CAMEL-Subscription-Information, and accepts the position and upgrade.
In the described step g, when gateway exchange will send to the IN service control appliance air time, but also metered call information of gateway exchange itself.
See also shown in Figure 3, in the implementation procedure of intelligent dialing business and called intelligent service, when the user made a call, mobile switching centre sent out to call for to VLR Visitor Location Register and asks (OutCallReq) message, have called number, VLR Visitor Location Register will check that the user's goes out to exhale ability.The foundation of checking is exactly user's master data and supplementary service, comprises the restriction of ODB call blocking and supplementary services call, and these check with IN service irrelevant.
After inspection was passed through, VLR Visitor Location Register can send out to mobile switching centre and exhale confirmation (OutCallAck) message, has user's information such as IMSI, MSISDN.According to GSM standard, mobile switching centre at this moment should analyzing called number, and the inquiry route.But for virtual network user, user's IN service of may having contracted, and before analyzing called number, must elder generation activate IN service, could realize monitoring like this to calling out, so mobile switching centre this moment can't analyzing called number, but will be with the gateway exchange mobile switching centre of call proceeding to virtual network.
Because in mobile switching centre, VLR Visitor Location Register, not virtual network user entirely, mainly still be the user of basic network operator oneself.For the user of oneself, mobile switching centre just can not arrive the gateway exchange of virtual network with call proceeding, but will handle according to gsm protocol fully, is virtual network user so the calling subscriber must be able to distinguish in mobile switching centre, still the user of oneself.The differentiation mode has two kinds, and a kind of is to distinguish according to MSISDN, and another kind is to distinguish according to IMSI.The form of MSISDN is CC+NDC+SN, and CC represents country, and NDC represents the access code of operator, and the user of different operators, NDC are also different, so just can distinguish user's home network according to NDC.The form of IMSI is MCC+MNC+MSIN, and MCC is a Mobile Country Code MCC, and MNC is a Mobile Network Code, and the MNC of each Virtual network operator is different, and VNO also has the MNC of oneself, so also can determine user's home network according to IMSI.
When mobile switching centre arrives gateway exchange with call proceeding, must have calling number (MSISDN) and called number (number that the user dials), be kept at respectively in the rear subscriber number (CallingParty) and called number (CalledParty) parameter in the initial address message (IAM) of ISUP signaling.Other user profile all can't bring gateway exchange by IAM message as IMSI and CAMEL-Subscription-Information.
If the calling subscriber is not a virtual network user, mobile switching centre will analyzing called number after receiving OutCallAck.If called number belongs to virtual network user, mobile switching centre also must be with the gateway exchange of call proceeding to virtual network, because the called subscriber may be intelligent subscriber.
After gateway exchange is received IAM message, to judge at first whether CallingParty is the number of virtual network user.Because there is not calling subscriber's IMSI among the IAM, so can only judge calling subscriber's home network according to MSISDN.
If the calling subscriber is a virtual network user, gateway exchange will send to HLR and obtain user profile (GetSubInfo) message.This is self-defining MAP message, only uses between the gateway exchange of virtual network and HLR, whether does not support this message so do not need to consider the equipment beyond the virtual network.The purpose that gateway exchange sends GetSubInfo is to ask for user data to attaching position register, has calling number in the message.
After HLR receives GetSubInfo, according to the number searching database in the message, and send to gateway exchange and to obtain user profile and confirm (GetSubInfoAck) message, user data is returned to gateway exchange, comprise IMSI, O-CSI, VLR Visitor Location Register Number, and other gateway exchange information that need write down.
After gateway exchange obtains O-CSI, just possessed the condition that triggers the intelligent dialing business.Gateway exchange sends Initial Detection Point (IDP) message of CAP signaling according to the service key among the O-CSI (serviceKey) and SCF address (scfAddress) to the IN service control appliance, sets up the control relation between gateway exchange and the IN service control appliance.Because the IN service control appliance is fully independently to the processing of intelligent dialing user and called intelligent subscriber, so a trigger detection point (TDP) parameter is arranged in the IDP message, value is 2, represents that this IN service is the intelligent dialing business.Which service logic the serviceKey parameter decision IN service control appliance of IDP message enters.Also have CallingParty, CalledParty, the VLR Visitor Location Register Number of calling subscriber's roaming and calling subscriber's IMSI in the IDP message, the IN service control appliance just can be determined the rate of calling subscriber's account and this calling according to these parameters.Then, the IN service control appliance sends request report Basic Call State Model BCSM incident (RRBE) message, Apply Charging (AC) message and continuation (Continue) message to gateway exchange, indicate the gateway exchange supervising connections for calling duration of call, call state and continuation to call out respectively, at this moment success is just set up in the dialogue between gateway exchange and the IN service control appliance, and this dialogue will remain to end of calling always.Gateway exchange will be always the supervising connections for calling situation, and with air time and state variation the dialogue notice IN service control appliance by setting up, the IN service control appliance then according to these information to user's real-time deduction.
Gateway exchange is received Continue post analysis called number, is judged as behind the mobile subscriber and sends SRI message to HLR, wherein has called number.According to GSM standard, the T-CSI if the called subscriber has contracted, then T-CSI is passed to gateway exchange by SRIack, gateway exchange sends IDP message according to serviceKey among the T-CSI and scfAddress to the IN service control appliance, set up the control relation between gateway exchange and the IN service control appliance, the TDP parameter value is 12 in the IDP message, represents that this IN service is a called intelligent service.Also have CallingParty, CalledParty, the VLR Visitor Location Register Number of called subscriber's roaming and called subscriber's IMSI in the IDP message, the IN service control appliance just can be determined the rate of called subscriber's account and this calling according to these parameters.Then, the IN service control appliance sends AC message, RRBE message and Continue message to gateway exchange, indicate the gateway exchange supervising connections for calling duration of call, call state and continuation to call out respectively, success is just set up in the dialogue between gateway exchange and the IN service control appliance at this moment.
For caller and called all are callings of intelligent subscriber, there are two dialogues simultaneously in gateway exchange and IN service control appliance, first dialogue is the dialogue of handling the intelligent dialing business, second dialogue is the dialogue of handling called intelligent service, these two dialogues are separate, and connection state that can both controlling call.When the IN service control appliance is judged calling subscriber or called subscriber and can't be continued to call out, be not enough to keep calling such as account balance, the IN service control appliance can send ReleaseCall message dismantling call by corresponding dialogue.When (The Calling Party Hooks On or Called Onhook) normally taken out stitches in calling, gateway exchange also can send control appliance call states variation of ERBE, ACR notice IN service and air time by these two dialogues.
Utilize the method for foregoing description of the present invention, just can realize IN service fully at mobile virtual network.