Summary of the invention
Technical problem to be solved by this invention is, fills up the blank of prior art, proposes a kind of calling-control method based on air protocol, to realize that the fixed network user is linked into mobile core network.
To achieve these goals, the invention provides a kind of calling-control method of fixed network user access mobile core network, be applied to comprise in the communication system of the mobile core network equipment mobile switching center emulation MSCe that links to each other with the fixed network gateway and media gateway MGW, it is characterized in that, described fixed network gateway employing air protocol and described MSCe are mutual, initiate or response fixed network user and mobile network user between calling, and be the media resource of the fixed network gateway that is complementary of the media resource of this call setup and described MGW.
In addition, after described fixed network gateway receives the offhook message that described fixed network user sends, carry out following operation:
A01: for this fixed network user applies for the fixed network traffic resource;
A02: collect the digits and the numbers match operation;
A03: use the call message of air protocol to make a call, comprise called number information in this call message to described MSCe;
A04: receive the assignment request message that described MSCe sends;
A05: the media resource of preparing the fixed network gateway;
A06: send appointment to described MSCe and finish message;
In addition, after above-mentioned steps A05, also comprise following steps:
A05 ': if after described fixed network gateway receives the message of the media resource information that comprises MGW that described MSCe sends, carry out the media resource matching operation.
In addition, after described fixed network gateway receives the beep-page message that comprises called number information that described MSCe sends, carry out following operation:
B01:, then send the successful message that pages reply to MSCe if called subscriber's current state of this called number correspondence be the free time;
B02: receive the assignment request message that described MSCe sends;
B03: prepare the media resource of fixed network gateway, and apply for the fixed network traffic resource for this called subscriber;
B04: send appointment to described MSCe and finish message;
B05: advise called subscriber ring;
B06: after detecting called subscriber's off-hook, send offhook message to described MSCe;
In addition, after above-mentioned steps B03, also comprise following steps:
B03 ': if after described fixed network gateway receives the message of the media resource information that comprises MGW that described MSCe sends, carry out the media resource matching operation.
In addition, when described fixed network user and mobile network user converse,, then carry out following operation if described fixed network gateway detects described fixed network user's on-hook:
C01: send on-hook message to described MSCe;
C02: receive the release Indication message that described MSCe sends, discharge the media resource and the traffic resource of fixed network gateway, and send Release complete to described MSCe.
In addition, when described fixed network user and mobile network user converse,, then carry out following operation if described fixed network gateway receives the release Indication message that described MSCe sends:
D01: discharge the media resource of fixed network gateway, put busy tone for described fixed network user, and send Release complete for described MSCe;
D02: if howler tone is then put in described fixed network user not on-hook in the time of setting;
D03: discharge the fixed network traffic resource after detecting described fixed network user's on-hook.
In addition, if comprise the media resource information of MGW in the described assignment request message that in described steps A 04, receives, then the media resource information that comprises the fixed network gateway of determining through described media resource matching operation in the described steps A 05 ' in the message is finished in the described appointment that sends in described steps A 06, otherwise also comprises following steps afterwards in described steps A 05 ': the media resource information of the fixed network gateway that the media resource matching operation is definite adopts air protocol to be sent to described MSCe.
In addition, if comprise the media resource information of MGW in the described assignment request message that in described step B02, receives, then the media resource information that comprises the fixed network gateway of determining through described media resource matching operation among the described step B03 ' in the message is finished in the described appointment that sends in described step B04, otherwise also comprises following steps afterwards at described step B03 ': the media resource information of the fixed network gateway that the media resource matching operation is definite adopts air protocol to be sent to described MSCe.
In addition, also comprise following steps:
If receive the message of the modification MGW media information of described MSCe transmission, then carry out the media resource matching operation, and the media resource information of the fixed network gateway that this media resource matching operation is determined is included in the response message of revising media information and is sent to described MSCe according to the media resource information of the MGW that comprises in this message.
In addition, described fixed network traffic resource comprises subscriber line circuit resource and time slot; Described media resource information comprises IP address, port, code encoding/decoding mode, packaging time length, RTP resource; The operation of the media resource of described preparation fixed network gateway comprises application RTP resource, opens the RTP passage.
In addition, in described steps A 02, use the directory of described fixed network gateway configuration to carry out the numbers match operation; Between described steps A 01 and A02, also comprise following steps: put dialing tone for described fixed network user; Comprise dialing number information in the described call message.
In sum, adopt calling-control method of the present invention can realize the fixed network user is linked into mobile core network, for the fusion of fixed network and mobile network provides a kind of new access scheme.
Embodiment
For achieving the above object, the invention provides a kind of calling-control method that the fixed network user is linked into mobile core network by the fixed network gateway.This calling control both had been different from the pattern of fully calling out control of traditional stored-program control exchange to business, professional control is realized by soft switch fully when also being different from conventional gateway and being linked into SS (soft switch) system, and gateway only comes hardware is controlled complete controlled mode with operation such as continuing of circuit according to the indication of soft switchcall server, but a kind of calling control mode of half control system.This mode makes the fixed network user under the prerequisite that does not change original use habit, can be linked into mobile core network, and realizes the various types of calls business.
Under this half control system mode, the call control packet that the fixed network gateway is realized is drawn together: put dialing tone, put busy tone, put howler tone, the configuration of directory and coupling and preparation and establishment media resource etc.; MSCe (mobile switching center emulation) mainly finishes calling controls and professional such as putting ring-back tone, searching called subscriber, Call Forwarding, Three-Way Calling.
Fig. 1 is the schematic network structure of fixed network user's (fixed network terminal) access mobile core net; As shown in Figure 1, fixed network terminal adopts subscribers feeder to link to each other with the fixed network gateway; The fixed network gateway links to each other with MGW (media gateway) with MSCe.Wherein, transmit control flows between MSCe and the fixed network gateway, be the control centre of mobile network; Media stream between MGW and the fixed network gateway.
Below in conjunction with drawings and Examples calling-control method of the present invention is described in detail.
As shown in Figure 2, fixed network user's (fixed network terminal) comprises following steps as the calling-control method that the calling subscriber calls out the mobile network user:
Step 101: the fixed network gateway receives calling subscriber's offhook message, is user applies fixed network traffic resource;
Above-mentioned fixed network traffic resource comprises subscriber line circuit resource, time slot etc.
Step 102: the fixed network gateway reads directory from database;
Whether the effect of directory is to carry out numbers match, judges just whether the user has finished dialing, and correctly dial.
This directory disposes on gateway, and this is the difference part that issues directory (DIGITMAP) under the present invention and the soft switchcall server by agreement H.248 to gateway.
Step 103: the fixed network gateway is put dialing tone to the calling subscriber;
Step 104: calling subscriber's dialing, the fixed network gateway collects the digits, and according to directory the user is dialled the number simultaneously and mate, when user's dial the number is mated fully with directory, execution in step 105;
Step 105: the fixed network gateway uses the call message of A1p agreement to make a call to MSCe, comprises number information in the call message;
Comprise called number in the number information, also can comprise rear subscriber number.
Step 106:MSCe seeks the called subscriber; After finding the called subscriber, MSCe uses the A1p agreement to send assignment request message for the fixed network gateway, comprises the media resource information of MGW in this message;
Above-mentioned media resource information comprises information such as IP (Internet Protocol, Internet Protocol) address, port, code encoding/decoding mode, packaging time length.
Step 107: the fixed network gateway is prepared fixed network end media resource, promptly applies for RTP resources such as (Real-timeTransport Protocol, RTPs), opens the RTP passage; And carry out media resource coupling with the media resource information of MGW, comprise the coupling of code encoding/decoding mode etc.;
The RTP resource is by the gateway data base administration, and fixed network gateway application RTP resource is the database application to gateway.
The RTP passage of gateway is used for carrying out the mutual of Media Stream with the RTP passage of MGW.
Step 108: after the medium coupling is finished, send appointment to MSCe and finish message, comprise the media resource information of fixed network end in this message; MSCe is put ring-back tone or CRBT to the calling subscriber; Behind called subscriber's off-hook, calling subscriber and called subscriber just can converse;
MSCe puts ring-back tone to the calling subscriber or CRBT is that promptly the RTP passage is realized by the media channel between MGW and the fixed network gateway.
Step 109: in the communication process, if called subscriber's on-hook, MSCe sends out the release Indication message for the fixed network gateway by the A1p agreement so;
Step 110: the fixed network gateway discharges media resource;
Step 111: the fixed network gateway is put busy tone to the calling subscriber, waits for calling subscriber's on-hook;
Step 112: the fixed network gateway is replied Release complete to MSCe;
Step 113: 15 seconds timers are set.If the calling subscriber does not have on-hook in the user 15 seconds, execution in step 114 so: put howler tone to the user.
Step 115: the fixed network gateway detects user's on-hook, end of calling.
Step 116: the fixed network gateway discharges traffic resource.
Above-mentioned steps 109 to step 116 has been described the end call flow that the fixed network gateway is carried out after called subscriber's on-hook, if calling subscriber's on-hook then adopts following steps 212 to the end call flow of step 214 to handle.
As shown in Figure 3, the mobile network user comprises following steps as the calling-control method that the calling subscriber calls out fixed network user's (fixed network terminal):
Step 201:MSCe sends beep-page message to the fixed network gateway, comprises called subscriber's number information in this message, also can comprise calling subscriber's number information;
Wherein, called number information is to pass to the fixed network gateway by IMSI (International Mobile station EquipmentIdentity, international mobile subscriber identity) form.
Step 202: the fixed network gateway is inquired about this called subscriber's state according to the called user information that comprises in the above-mentioned beep-page message; If this called subscriber's current state be the free time, then send the successful message that pages reply to MSCe;
Step 203:MSCe sends assignment request for the fixed network gateway, comprises the media resource information of MGW in this request;
Step 204: the fixed network gateway begins to prepare fixed network traffic resource and media resource, and carries out the media resource coupling according to the media resource information of MGW;
Step 205: media resource is after the match is successful, and the fixed network gateway sends to assign to MSCe finishes message, comprises the media resource information of fixed network end in this message;
Step 206: fixed network gateway advise called subscriber ring;
The message that step 207:MSCe will revise the MGW media information is sent to the fixed network gateway;
After assignment messages was finished, MSCe can revise the media resource information of MGW by sending the message of revising the MGW media information.
Step 208: the fixed network gateway carries out the media resource coupling according to amended MGW media resource information;
Step 209: after the media resource coupling was finished, the media resource of the fixed network end after the fixed network gateway will mate sent to MSCe by the modification response message of media information;
Step 210: the fixed network gateway detects called subscriber's off-hook;
Step 211: the fixed network gateway reports MSCe with called subscriber's offhook message, and at this moment calling subscriber and called subscriber enter talking state;
Step 212: in the communication process, the fixed network gateway detects called subscriber's on-hook;
Step 213: the fixed network gateway is given MSCe with the on-hook information reporting;
After step 214:MSCe receives the on-hook message of fixed network gateway transmission, use the A1p agreement to send for the fixed network gateway and discharge Indication message;
Step 215: the fixed network gateway discharges media resource and relevant fixed network traffic resource;
Step 216: gateway sends Release complete to MSCe.
Above-mentioned steps 212 to step 216 has been described the end call flow that the fixed network gateway is carried out after called subscriber's on-hook, if calling subscriber's on-hook then adopts above-mentioned steps 109 to the end call flow of step 116 to handle.
Above-mentioned steps 207 to step 209 is a MGW media modification flow process, and this flow process also can be initiated by MSCe in fixed network and mobile network user's communication process.