CN100527740C - Method for switching services - Google Patents

Method for switching services Download PDF

Info

Publication number
CN100527740C
CN100527740C CNB2005101235217A CN200510123521A CN100527740C CN 100527740 C CN100527740 C CN 100527740C CN B2005101235217 A CNB2005101235217 A CN B2005101235217A CN 200510123521 A CN200510123521 A CN 200510123521A CN 100527740 C CN100527740 C CN 100527740C
Authority
CN
China
Prior art keywords
gateway
data service
caller
called
pattern
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.)
Active
Application number
CNB2005101235217A
Other languages
Chinese (zh)
Other versions
CN1874384A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101235217A priority Critical patent/CN100527740C/en
Publication of CN1874384A publication Critical patent/CN1874384A/en
Application granted granted Critical
Publication of CN100527740C publication Critical patent/CN100527740C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The network comprises a calling gateway, a called gateway and a gateway controller. The gateway controller controls the communication between the calling gateway and the called gateway. In the voice call establishing stage, the codec supported by fax/modem/text service is not negotiated, and until the stage of the initiation of fax/modem/text service, the negotiation then is made for the codec supported by fax/modem/text service.

Description

A kind of professional method of switching
Technical field
The present invention relates to a kind of business switch method in communication network.
Background technology
NGN (Next Generation Network, next generation network) is a milestone on the telecommunication history, indicates the arrival in new generation telecommunication network epoch.NGN marches toward based on the network of packet switching gradually from traditional PSTN based on circuit switching (public switch telephone network), it has carried all business of original PSTN network, and great amount of data transmission is unloaded in IP (Internet Protocol) network to alleviate the heavy burden of PSTN network, and the new features with the IP technology have increased many new business and have strengthened many old business again.In this sense, NGN is based on the PSTN speech network of TDM (time division multiplexing) and the product that merges based on the packet network of IP/ATM, and it makes that integrated services such as voice, video, data become possibility on new generation network.
Along with the NGN network constantly develops, constantly perfect, will progressively replace the PSTN network.But there is a prerequisite to be, the business function that the NGN network must can provide the PSTN network to provide.Wherein, mainly contain fax business, modem (dialling up on the telephone) business and text (text) business etc., these data services all need to realize transmission under the NGN network architecture.
At present, the fax/modem/text business mainly comprises fax relay (repeater mode), modem relay and textrelay pattern, has also proposed the notion of VBD (Voice Band Data Voice-band Data) pattern recently.The VBD pattern is exactly to utilize voice channel to select for use suitable codec (codingand decoding) to transmit the mode of data such as fax, modem and text on IP network.The codec that is used for VBD normally G.711 and G.726 this incompressible encoding and decoding speech.Under the VBD pattern, the data of fax/modem/text business can both be on IP network transparent transmission, promptly the data of transmitting on the PSTN circuit are directly transmitted on IP without demodulation.Stipulated on IP telephony network, to automatically switch to the method for VBD pattern in the V.152 agreement of ITU-T (telecommunication standardizationsector of ITU) from speech pattern.
Is the automatic switching method that example illustrates VBD pattern in the agreement V.152 below in conjunction with Fig. 1 and 2 with the IP telephony network of support voice and fax business.
Fig. 1 shows the system construction drawing of IP telephony network.Comprising caller phone machine 1 and the called phone machine 2 of supporting the fax business, be connected respectively on separately the caller MGW (media gateway) 1 and called MGW2 by PSTN between them, MGC (Media Gateway Controller) by for example H.248 agreement MGW1 and MGW2 are controlled, be connected on the IP network by Real-time Transport Protocol simultaneously.When telephone set 1 called telephone machine 2, at first this call information is transferred on the MGW1 by PSTN, hold consultation by MGC and MGW2 then, negotiate the codec of speech pattern and VBD pattern, set up then and call out connection.
Fig. 2 shows calling and called MGW1 shown in Figure 1 and is connected the flow chart that carries out the VBD capability negotiation in the process of foundation with MGW2 in calling, and for convenience of description, hypothesis is used H.248.2 control protocol here.Need to prove that this flow process is primarily aimed at MGC the control method of MGW1 and MGW2 is described, some irrelevant flow process those skilled in the art of other and control flow should be clear, therefore do not elaborate.
At first, when user's off-hook dialing of caller phone 1, request MGC sets up a new calling (not shown);
Step 1:MGC increases an IP end points by an ADD message on MGW1, be used to create a new connection, and indicate on this IP end points it is to select for use G.729codec as voice codec and VBD (for example G.711, G.726-32) as the codec of fax business; Reservation group and retention are TRUE, and expression allows MGW1 reserve two kinds of resources that codec is required;
Step 2:MGW1 response message reports IP address and the port of these two kinds of codec to MGC in this message, expression MGW1 supports VBD and pattern G.729;
Step 3:ADD message, promptly MGC increases an IP end points on MGW2, is used for carrying out voice with MGW1 and is connected, and indicate and select for use G.729 on this IP end points and VBD (the VBD codec that uses MGW1 to report); Far-end SDP (Session Description Protocol) is used for IP address and port to MGW2 notice MGW1 (is far-end with respect to MGW2);
Step 4:MGW2 response message, G.729 expression MGW2 support and VBD, therefore reported simultaneously use on the IP end points G.729 with IP address and the port of VBD;
Step 5:Modify message, G.729 and VBD promptly MGC revises end points on MGW1, will revise codec for, notifies far-end SDP the IP address and the port of (being MGW2) simultaneously;
Step 6:MGW1 response message.
So far basic call connection is set up, and calling and called telephone set 1 and 2 enters the voice call pattern.
Then, if caller phone machine 1 has been initiated the fax business, then calling and called telephone set 1 and 2 can carry out the transmission of fax business by the business automatic switchover flow process that agreement V.152 provides, and the process brief description is as follows.
Under the voice call pattern, calling and called telephone set 1 and 2 uses the voice channel that consults to carry out voice call, and MGW1 and 2 all monitors the data on the VBD passage that consults (step 1-6) simultaneously.When caller phone machine 1 or called phone machine 2 any one party begin fax (user of caller phone machine 1 or called phone machine 2 presses the fax key on the telephone set) incident, then MGW1 or 2 will detect the generation of this incident, and automatically switch to the VBD passage, begin to send the related data of fax then, the other side MGW also automatically switches to the VBD passage after detecting data on the VBD passage.Like this, whole calling has promptly switched to the fax incident by voice call.After the fax business stops, if MGW1 and 2 receives data from voice channel again, perhaps receive comfort noise, perhaps receive the signal that voice or fax finish, then MWG1 and the 2 voice call pattern that automaticallyes switch back again from the PSTN side.
V.152 not only defined the above-described method that automatically switches to the VBD pattern from MWG in the agreement, promptly only consult the method for the codec of VBD and voice at the voice call establishment stage, also defined at the voice call establishment stage and can all negotiate each business (fax/modem/text) corresponding codec, VBD and voice codec, when each professional generation, can automatically switch to the method for the codec of the business that consults then.For example, if negotiation result is, fax T38 pattern, V.150.1 pattern of modem, and text VBD, take place in case then for example fax is professional, then MGW1 and MGW2 will automatically switch to the T38 pattern and carry out the fax transfer of data, take place in case for example modem is professional, and then V.150.1 MGW1 and MGW2 will automatically switch to pattern and carry out the modem transfer of data, take place in case for example text is professional, then MGW1 and MGW2 will automatically switch to the VBD pattern and carry out the text transfer of data.
That V.152 stipulates in the agreement automatically switches to the flow process of data service from voice there are the following problems:
1. because regulation automatically switches to data service mode from MWG, therefore must just must consult the ability of supporting all professional required modes at the call establishment stage of calling and called.But, the user who carries out normal voice calls generally can not switch to the fax/modem/text business, therefore support that the ability of each professional required mode is of no use under most of situation beginning to negotiate, but for example the resource of VBD, T38, V150.1 etc. may be called out reservation by this when setting up calling, therefore take more resource.That is to say, in each BCP basic call process, all will reserve resource more or less, cause network load to increase, and the process of consulting also can increase the message-length on each normal voice calls interface greatly;
2.NGN by MGC control MGW,, require than higher under the framework, for example need to monitor the ability of VBD passage etc. for the intelligence of MGW if therefore allow MGW automatically switch.
Summary of the invention
For these reasons, first aspect present invention discloses the professional method of switching of a kind of MGC control, promptly by MGC control MGW, do not consult the codec of supports such as fax/modem/text business at the audio call establishment stage, but when the professional initiation of fax/modem/text, the codec that supports at this business holds consultation again, has saved the resource that needs the network reserved under the automatic switchover mode so greatly;
Second aspect present invention also discloses a kind of in conjunction with automaticallying switch and the professional method of switching of MGC control, promptly consult voice codec and VBD simultaneously at the audio call establishment stage, if both sides MGW all supports VBD, then change automatic switchover mode over to, if there is a side MGW not support VBD, then utilize MGC control business switch method.
Third aspect present invention further discloses a kind of in conjunction with the method that automaticallyes switch and MGC control business is switched, and promptly by the mode of configuration and audit, determines MGW voice establishment stage to use which kind of flow process to carry out business and switches.
At first aspect, the invention provides a kind of control method that in communication network, is used for switching to data service from speech business, this network comprises caller gateway, called gateway and gateway controller, communicating by letter between gateway controller control caller gateway and the called gateway wherein, this method comprises the steps:
Step 1, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of speech pattern, if notify caller gateway and called gateway that data service is arranged simultaneously then report;
Step 2, if speech pattern is consulted successfully, then caller gateway and called gateway are conversed according to the speech pattern that consults, and change step 3 over to; If consult failure, then finish;
Step 3, if the caller gateway has data service, then caller gateway report gateway controller has data service, enters step 4; If called gateway has data service, then called gateway report gateway controller has data service, enters step 4;
Step 4, gateway controller control caller gateway and called gateway carry out the negotiation of the pattern of data service according to the type of data service;
Step 5 is if the success of the mode negotiation of data service then changes step 7 over to; If consult failure, then finish;
The business model that step 6, gateway controller are revised caller gateway and called gateway is the pattern of the data service that consults, and if notice caller gateway and called gateway data service stop then reporting; Caller gateway and called gateway enter data service mode;
Step 7, data service stops, one of caller gateway or called gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes.
At second aspect, the present invention further provides a kind of control method that in communication network, is used for switching to data service from speech business, this network comprises caller gateway, called gateway and gateway controller, communicating by letter between gateway controller control caller gateway and the called gateway wherein, the method comprising the steps of:
Step 1, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of voice and two kinds of patterns of VBD;
Step 2, if speech pattern is consulted successfully, then caller gateway and called gateway enter the voice call state, and enter step 3; If speech pattern is consulted failure, then finish;
Step 3, if the success of VBD mode negotiation, then caller gateway and called gateway enter the data service automatic switchover mode simultaneously; If the failure of VBD mode negotiation if then gateway controller is notified caller gateway and called gateway that data service is arranged then reported, and enters step 4;
Step 4, if on the caller gateway data service is arranged, then caller gateway report gateway controller has data service, enters step 5; If have the then called gateway report gateway of data service controller that data service is arranged on the called gateway, enter step 5;
Step 5, gateway controller control caller gateway and called gateway carry out the negotiation of the pattern of data service;
Step 6 is if the success of the mode negotiation of above-mentioned data service then changes step 7 over to; If consult failure, then finish;
The business model that step 7, gateway controller are revised caller gateway and called gateway is the pattern of the data service that consults, and if notice caller gateway and called gateway data service finish then report; Caller gateway and called gateway enter data service mode;
Step 8, data service stops, caller gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes.
At the 3rd aspect, the invention provides a kind of control method that in communication network, is used for switching to data service from speech business, this network comprises caller gateway, called gateway and gateway controller, communicating by letter between gateway controller control caller gateway and the called gateway wherein, this method comprises the steps:
Step 1, caller gateway and called gateway are registered to gateway controller respectively; Gateway controller is audited to the ability of caller gateway;
Step 2 is not supported the VBD pattern if the result of audit represents the caller gateway, then changes the flow process of step 3-9 when the caller gateway is initiated audio call over to; If the result of audit represents caller gateway support VBD pattern but do not support automatic switchover mode, then when initiating audio call, the caller gateway changes the flow process of step 10-16 over to; If the result of audit represents the caller gateway and not only supports automatic switchover mode but also support the VBD pattern, then when initiating audio call, the caller gateway changes step 17 over to;
Step 3, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of speech pattern, if notify caller gateway and called gateway that data service is arranged simultaneously then report;
Step 4 if speech pattern is consulted successfully, then changes step 5 over to; If speech pattern is consulted failure, then finish;
Step 5, caller gateway and called gateway carry out voice call according to the speech pattern that consults, if the caller gateway has data service, then caller gateway report gateway controller has data service, enters step 6; If called gateway has data service, then called gateway report gateway controller has data service, enters step 6;
Step 6, gateway controller control caller gateway and called gateway carry out the negotiation of the relay pattern of data service;
Step 7 is if the success of the relay mode negotiation of data service then changes step 8 over to; If consult failure, then finish;
The business model that step 8, gateway controller are revised caller gateway and called gateway is the relay pattern of the data service that consults, and if notice caller gateway and called gateway data service finish then report; Caller gateway and called gateway enter the relay pattern of data service;
Step 9, data service stops, one of caller gateway or caller gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes;
Step 10, called gateway of gateway controller request and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of speech pattern, if notify caller gateway and called gateway that data service is arranged simultaneously then report;
Step 11, if speech pattern is consulted successfully, then caller gateway and called gateway are conversed according to the speech pattern that consults, and change step 12 over to; If consult failure, then finish;
Step 12, if the caller gateway has data service, then caller gateway report gateway controller has data service, enters step 13; If called gateway has data service, then called gateway report gateway controller has data service, enters step 13;
Step 13, the mode negotiation that gateway controller control caller gateway and called gateway carry out data service;
Step 14 is if the success of the mode negotiation of data service then changes step 15 over to; If the failure of the mode negotiation of data service then finishes;
Step 15, gateway controller are revised the pattern that caller gateway and called gateway are the data service that consults, and if notice caller gateway and called gateway data service finish then report; Caller gateway and called gateway enter data service mode;
Step 16, data service stops, one of caller gateway or called gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes;
Step 17, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of voice and two kinds of patterns of VBD;
Step 18, if speech pattern is consulted successfully, then caller gateway and called gateway enter the voice call state, and enter step 19; If speech pattern is consulted failure, then finish;
Step 19, if the success of VBD mode negotiation, then caller gateway and called gateway enter the data service automatic switchover mode simultaneously; If the failure of VBD mode negotiation if then gateway controller is notified caller gateway and called gateway that data service is arranged then reported, and enters step 20;
Step 20, if on the caller gateway data service is arranged, then caller gateway report gateway controller has data service, and enters step 21; If on the called gateway data service is arranged, then called gateway report gateway controller has data service, enters step 21;
Step 21, gateway controller control caller gateway and called gateway carry out the negotiation of the pattern of data service;
Step 22 is if the success of the mode negotiation of above-mentioned data service then changes step 23 over to; If consult failure, then finish;
The business model that step 23, gateway controller are revised caller gateway and called gateway is the pattern of the data service that consults, and if notice caller gateway and called gateway data service finish then report; Caller gateway and called gateway enter data service mode;
Step 24, data service stops, one of caller gateway or called gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes;
Principle of the present invention, practicality and plurality of advantages will become clearer from following detailed when reading in conjunction with the accompanying drawings.
Description of drawings
Figure 1 shows that the system construction drawing of IP telephony network;
Figure 2 shows that the V.152 agreement flow chart under the telephone network of Fig. 1;
Figure 3 shows that the flow chart of first embodiment of the invention;
Figure 4 shows that the flow chart of second embodiment of the invention;
Figure 5 shows that the flow chart of the audit measure in the third embodiment of the invention.
Embodiment
First embodiment
Fig. 3 shows the flow process of the first embodiment of the present invention, and the data service of this embodiment still is a facsimile service.But the type that it will be understood by those skilled in the art that data service can also be modem and text etc.
As shown in Figure 3, comprise MGW1, MGW2 and MGC by MGC control service switchover system, this flow process consults to switch to fax relay (T38) fax pattern by MGC for consulting to set up Basic voice call earlier then, returns to the voice call pattern behind the fax completion again.Wherein, the following detailed description of each step.
At first, the telephone subscriber's off-hook dialing on MGW1, request MGC sets up a new calling; (not shown);
Step 1:MGC sends ADD message to MGW1, increases an IP end points comprising MGC on MGW1, selects for use on the IP end points G.729 as voice codec;
Step 2:MGW1 response message wherein reports the IP address and the port of this IP end points;
Step 3:MGC sends ADD message to MGW2, comprises that MGC increases an IP end points that is used to connect MGW1 on MGW2, select for use on the IP end points G.729 as voice codec; Far-end SDP is used to notify the IP address and the port of opposite end (MGW1); Ctyp/dtone is if notice MGW1 has data service then reports; Stream mode is set to two-way;
Step 4:MGW2 response message wherein reports the IP address and the port of IP end points;
Step 5:MGC revises end points on MGW1, IP address and the port of notice far-end SDP (MGW2); Ctyp/dtone is if notice MGW2 has data service then reports; Stream mode is defined as two-way;
Step 6:MGW1 response message; So far basic call is set up;
Step 7:Notify (notice) message, it is V21flag (event name, presentation of events is fax, specifically referring to agreement H.248) incident that MGW1 reports the ctyp/dtone incident, the beginning of notice fax;
Step 8:MGC response message acknowledges receipt of the incident that reports;
Step 9:Modify (modification) message, MGC detects fax/faxconnchange on MGW1, issue VBD (for example G.711) and two groups of codec of T38; The reservation group is set to TRUE, promptly allows MGW1 report the ability of being supported;
Step 10:MGW1 response message shows that MGW1 supports VBD and T38, has therefore reported two groups of abilities;
Step 11:Modify message, MGC detects the fax/faxconnchange incident on MGW2, if notice MGW2 fax stops then reporting, notice far-end SDP (being MGW1) issues VBD (use and select identical codec for use with MGW1) and two groups of codec of T38; The reservation group is set to FALSE, promptly allows MGW2 report an ability of being supported; Ctyp/calltyp=fax is set, and notice MGW2 enters FAX mode;
Step 12:MGW2 response message shows the preferred T38 of MGW2, so reported the IP and the port of T38 and use;
Step 13:MGC is revised as the T38 pattern on MGW1, and notice far-end SDP (MGW2), continues to detect the fax/faxconnchange incident, if notice MGW1 fax stops then reporting; Ctyp/calltyp=fax is set, and notice MGW1 enters FAX mode;
Step 14:MGW1 response message so far enters FAX mode;
Step 15:MGW1 reports fax/faxconnchange (faxconnchng=EOF), the expression fax completion;
Step 16:MGC response message;
Step 17:MGC revises codec for G.729 on MGW1;
Step 18: response message, MGW1 reports the IP address and the port of IP end points;
Step 19:MGC revises codec for G.729 on MGW2, notify far-end SDP (MGW1), and ctyp/dtone is set, and detects the fax/modem/text incident again;
Step 20:MGW2 response message, MGW2 reports the IP address and the port of IP end points;
Step 21:MGC is provided with ctyp/dtone (meaning is the same) to MGW1 notice far-end SDP (MGW2), detects the fax/modem/text incident again;
Step 22:MGW1 response message; So far enter the voice call state, and can switch to fax/modem/text once more.
This flow process is the example flow that switches to T38 from voice call.Under the actual conditions, also can negotiate VBD in the step 12, be exactly the flow process that speech pattern switches to the VBD pattern like this.And the various ways of T38 (RTP, UDPTL and TCP) can participate in consulting.
It will be appreciated by those skilled in the art that, this embodiment only describes with the fax incident, if but what report in the step 7 is the modom/text incident, the flow process that so similar fax switches, MGC can switch to codec the corresponding codec of modom/text incident, and also can allow MWG consult to use VBD during switching still is the relay mode; And, of the present invention all formerly describe and will be in flow process described below only for illustrating, wherein can design according to actual conditions according to the function that each step realized, for example the ctyp/dtone message that issues of MGC can be sent after voice call is set up successfully if be used to notify calling and called MGW that data service is arranged then report also; Also have, if data service stops (no matter being because the transfer of data of data service finishes or interrupts) midway, then calling and called MGW all can be to MGC reported data service ending etc.
It more than is the flow process of MGC control switch mode.
Second embodiment
MGW automatic switchover mode and MGC control switch mode also can merge, and realize a kind of new fax/modem/text changing method.
The MWG automatic switchover mode has certain advantage, be that flow process is fairly simple, and because do not need MGC to participate in switching and the signaling transmission, therefore switch speed is very fast, under the congested situation of signalling path H.248, can improve the success rate of fax/modem/text, and consider that VBD can support fax/modem/text, and use is G.711 and G.726 to wait voice resource, its with after T38 and V150.1 etc. needs demodulation again the relay resource of modulation compare, VBD needs reserved resource less.
Therefore, this embodiment V.152 automatic switchover mode in the agreement controls switch mode with MGC and combines, and following optimization flow scheme design thinking is arranged.
That is, consult voice and VBD ability according to the mode that MWG automaticallyes switch at call establishment stage.If consult successfully, then should call out and use VBD to realize fax/modem/text, do not use the relay mode; If the merit of failing to consultations then only negotiates the relevant ability of voice call, do not reserve the VBD resource, detect the fax/modem/text incident simultaneously, after initiator MWG reports the fax/modem/text incident, consult fax, the relay ability of modem or text according to the type of service of reality again.If but MWG supports VBD be not supported between voice and the VBD to automatically switch, the VBD ability also adds negotiation so.So both need not reserve the resource of a plurality of relay modes, and also can increase the success rate of fax/modem/text business.
Figure 4 shows that the flow chart of second embodiment of the invention.
The basic thought of second embodiment is to carry out the VBD automatic switching capabilities earlier at the basic call establishment stage and consult, if the negotiation failure then re-uses MGC control and switches to the T38 fax.Control incision at MGC behind the fax completion gains the voice call state.
Describe with reference to Fig. 3.Wherein give unnecessary details no longer one by one here with the irrelevant known flow process of control flow of the present invention.
Step 1:MGC sends ADD message to MGW1, increases end points comprising MGC on MGW1, select for use on the IP end points as voice codec G.729 and VBD (for example G.711, G.726-32), reservation group and retention are TRUE, allow MGW1 keep many group resources;
Step 2:MGW1 response message; MGW1 reports the IP end points to use VBD and G.729, reports IP address and the port of two kinds of codec simultaneously;
Step 3:MGC sends ADD message to MGW2, and going up comprising MGW2 increases end points, selects G.729 and VBD (the VBD codec that uses MGW1 to report) IP and the port of notice opposite end among the far-end SDP on the IP end points for use; Detect the ctyp/dtone incident simultaneously; Stream mode is set to two-way;
Step 4:MGW2 response message, MGW2 does not support VBD, has therefore only reported G.729 IP address and the port that uses on the IP end points;
Step 5:MGC revises end points on MGW1, revise codec for G.729; IP address and the port of notice far-end SDP; Detect the ctyp/dtone incident, if notice MGW1 has facsimile service then reports; Stream mode is two-way;
Step 6:MGW1 response message; So far basic call is set up;
Step 7:MGW1 reports the V21flag incident, the beginning of notice fax;
Step 8:MGC response message;
Step 9:MGC detects the fax/faxconnchange incident on MGW1, if notice MGW1 facsimile service stops then reporting, issue T38;
Step 10:MGW1 response message, the IP and the port that have reported T38 to use;
Step 11:MGC detects the fax/faxconnchange incident on MGW2, if notice MGW2 facsimile service stops then reporting, notice far-end SDP issues T38;
Step 12:MGW2 response message; IP and port that MGW2 reports T38 to use; Ctyp/calltyp=fax is set; Notice MGW2 enters FAX mode;
Step 13:MGC notifies far-end SDP on MGW1,, continue to detect the fax/faxconnchange incident; Ctyp/calltyp=fax is set; Notice MGW1 enters FAX mode;
Step 14:MGW1 response message; So far enter FAX mode;
Step 15: fax stops, and reports fax/faxconnchange (faxconnchng=EOF) by MGW1, the expression fax completion;
Step 16:MGC response message;
The codec that step 17:MGC revises MGW1 is for G.729
Step 18:MGW1 response message reports the IP address and the port of IP end points;
Step 19:MGC revises the codec of MGW2 for G.729, notifies far-end SDP, and ctyp/dtone is set, and detects fax/modem/text incident (meaning is the same) again;
Step 20:MGW2 response message; Report the IP address and the port of IP end points;
Step 21:MGC notifies far-end SDP on MGW1, ctyp/dtone is set, and detects the fax/modem/text incident again;
Step 22:MGW1 response message; So far enter the voice call state, and can switch to fax/modem/text once more.
As can be seen, this flow process is to set up the flow process of automatic switchover VBD earlier; If the failure of VBD capability negotiation, MGC control switching flow is used in then advanced lang sound conversation then.According to the event type (fax/modem/text) that MWG reports, corresponding professional codec is consulted in MGC control, may negotiate VBD or corresponding relay mode.The ability that use negotiates realizes corresponding business.
The 3rd embodiment
MGC can also know whether MWG has the ability that V.152 support automaticallyes switch by the mode of configuration or audit.
The mode of configuration is meant OM (Operation ﹠ Maintenance System) in the enterprising line data configuration of MGC, specifies certain MWG whether to support the MWG automatic switchover flow process that V.152 defines.MGC reads this configuration before calling out beginning, if MWG supports the automatic switchover flow process, then uses the automatic switchover flow process to set up and calls out, otherwise just use the MGC control flow.
If by audit measure, then can define one H.248 the attribute of bag describe MWG and whether support between voice and fax/modem/text, to switch automatically.MGC can take the flow process that MWG automaticallyes switch or MGC control is switched according to the practical capacity of MWG when calling out beginning.
Audit measure need define new bag VBD Capbility Package,
Binary system bag ID:VBDCap
Version: 1
Describe: this bag tenability of MWG that be used to audit for VBD
Attribute Property ID: cap (0x0001) describes MWG and supports which kind of VBD ability
Type: enumerate
Probable value:
" NoVBD " (0x0001): do not support the VBD mode
" VBDNoAuto " (0x0002): support the VBD mode, but do not support that MWG automatically switches to VBD, need switch to VBD by MGC control
" VBDAuto " (0x0003): support the VBD mode, support that also MWG automatically switches to VBD
This attribute is placed in the TerminationState descriptor.
Before MWG registration back or call setup, MGC sends out audit steps to MWG, obtains the tenability of MWG for VBD by auditing result.With reference to Fig. 5, simply introduce the flow process of this audit measure.
Step 1:MGW registration;
Step 2:MGC response message;
Step 3:MGC is to the support situation of MGW audit VBD;
Step 4: gateway reports the value of VBDCap/cap in the response message;
So far, audit is finished.
The ability that it is emphasized that the MGW that is audited out by MGC only is the ability of caller MGW, and whether supports these abilities about called gateway, is to know when consulting.MGC obtains the support situation of MGW for VBD according to the value of VBDCap/cap, and the pattern taked when setting up basic call at MGW (caller) of decision.That is, if MGW (caller) does not support VBD, MGC does not just initiate the VBD negotiation between the calling and called MGW so; Do not support to automatically switch if MGW (caller) supports VBD, MGC just initiates the negotiation of the voice codec between the calling and called MGW, and when the fax/modem/text incident took place, VBD can participate in codec and consult; If MGW (caller) supports that VBD also supports to automatically switch, MGC can initiate the call flow (under the situation of also supporting to automatically switch at called MGW) that VBD automaticallyes switch so, also can only consult voice codec, and when the fax/modem/text incident takes place, carry out the negotiation of VBD and relay pattern again.
By above-mentioned execution mode as can be seen, the flexible changing method of business of the present invention has following beneficial effect:
1.MGC can select the flow process that the MWG of fax/modem/text automaticallyes switch and MGC control is switched flexibly;
2. support the MGC control switching flow of fax/modem/text comprehensively, used the SDP of the VBD that defines among the V150.1 to describe, more reasonable standard.Reduced the step length of H248/SIP/H323.Only consult speech capability at call establishment stage, MGC switches to corresponding codec according to concrete service negotiation;
3. combine the advantage of MWG automatic switchover flow process and MGC control switching flow.Only consult less ability at call establishment stage, such as (voice and VBD ability), do not need to reserve too many fax/modem/text relay resource, the length of negotiation step also increases few than only consulting speech capability.Consult successfully if VBD automaticallyes switch, just use in the automatic switchover flow process.If the merit of failing to consultations can guarantee basic conversation, the follow-up switching flow that carries out MGC control.If calling and called MWG supports certain relay mode, perhaps support VBD still not support that MWG automatically switches to VBD, then follow-up fax/modem/text business still can realize.In step length, resource reservation has found a balance point in flow process complexity and the function realization like this.
4. intercommunication aspect is more prone to.Because the switching flow of MGC control is less demanding to MWG, only require that MWG reports the fax/modem/text incident and switches codec according to the requirement of MGC.These all are the basic demands of H248.So using design of the present invention V.152MWG can strengthen and non-intercommunication ability V.152MWG.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1. business switch method in communication network, this network comprises caller gateway, called gateway and gateway controller, communicating by letter between gateway controller control caller gateway and the called gateway wherein, this method comprises the steps:
Step 1, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of speech pattern, if notify caller gateway and called gateway that data service is arranged simultaneously then report;
Step 2, if speech pattern is consulted successfully, then caller gateway and called gateway are conversed according to the speech pattern that consults, and change step 3 over to; If consult failure, then finish;
Step 3, if the caller gateway has data service, then caller gateway report gateway controller has data service, enters step 4; If called gateway has data service, then called gateway report gateway controller has data service, enters step 4;
Step 4, gateway controller control caller gateway and called gateway carry out the negotiation of the pattern of data service according to the type of data service;
Step 5 is if the success of the mode negotiation of data service then changes step 6 over to; If consult failure, then finish;
The business model that step 6, gateway controller are revised caller gateway and called gateway is the pattern of the data service that consults, and if notice caller gateway and called gateway data service stop then reporting; Caller gateway and called gateway enter data service mode;
Step 7, data service stops, one of caller gateway or called gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes.
2. method according to claim 1 is characterized in that:
The step that reports if notice caller gateway described in the step 1 and called gateway have data service at caller gateway and called gateway according to the converse next procedure of step of the speech pattern that consults.
3. method according to claim 1 is characterized in that:
The pattern of described data service is relay pattern and VBD pattern.
4. according to the described method of one of claim 1-3, it is characterized in that:
Described data service for the fax, dial up on the telephone and text services one of them.
5. business switch method in communication network, this network comprises caller gateway, called gateway and gateway controller, communicating by letter between gateway controller control caller gateway and the called gateway wherein, the method comprising the steps of:
Step 1, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of voice and two kinds of patterns of VBD;
Step 2, if speech pattern is consulted successfully, then caller gateway and called gateway enter the voice call state, and enter step 3; If speech pattern is consulted failure, then finish;
Step 3, if the success of VBD mode negotiation, then caller gateway and called gateway enter the data service automatic switchover mode simultaneously; If the failure of VBD mode negotiation if then gateway controller is notified caller gateway and called gateway that data service is arranged then reported, and enters step 4;
Step 4, if on the caller gateway data service is arranged, then caller gateway report gateway controller has data service, enters step 5; If have the then called gateway report gateway of data service controller that data service is arranged on the called gateway, enter step 5;
Step 5, gateway controller control caller gateway and called gateway carry out the negotiation of the pattern of data service;
Step 6 is if the success of the mode negotiation of above-mentioned data service then changes step 7 over to; If consult failure, then finish;
The business model that step 7, gateway controller are revised caller gateway and called gateway is the pattern of the data service that consults, and if notice caller gateway and called gateway data service finish then report; Caller gateway and called gateway enter data service mode;
Step 8, data service stops, caller gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes.
6. method according to claim 5 is characterized in that:
The step that reports if notice caller gateway described in the step 3 and called gateway have data service at caller gateway and called gateway according to the converse next procedure of step of the speech pattern that consults.
7. method according to claim 6 is characterized in that:
The pattern of described data service is relay pattern and VBD pattern.
8. according to the described method of one of claim 5-7, it is characterized in that:
Described data service for the fax, dial up on the telephone and text services one of them.
9. control method that in communication network, is used for switching to data service from speech business, this network comprises caller gateway, called gateway and gateway controller, communicating by letter between gateway controller control caller gateway and the called gateway wherein, this method comprises the steps:
Step 1, caller gateway and called gateway are registered to gateway controller respectively; Gateway controller is audited to the ability of caller gateway;
Step 2 is not supported the VBD pattern if the result of audit represents the caller gateway, then changes the flow process of step 3-9 when the caller gateway is initiated audio call over to; If the result of audit represents caller gateway support VBD pattern but do not support automatic switchover mode, then when initiating audio call, the caller gateway changes the flow process of step 10-16 over to; If the result of audit represents the caller gateway and not only supports automatic switchover mode but also support the VBD pattern, then when initiating audio call, the caller gateway changes step 17 over to;
Step 3, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of speech pattern, if notify caller gateway and called gateway that data service is arranged simultaneously then report;
Step 4 if speech pattern is consulted successfully, then changes step 5 over to; If speech pattern is consulted failure, then finish;
Step 5, caller gateway and called gateway carry out voice call according to the speech pattern that consults, if the caller gateway has data service, then caller gateway report gateway controller has data service, enters step 6; If called gateway has data service, then called gateway report gateway controller has data service, enters step 6;
Step 6, gateway controller control caller gateway and called gateway carry out the negotiation of the relay pattern of data service;
Step 7 is if the success of the relay mode negotiation of data service then changes step 8 over to; If consult failure, then finish;
The business model that step 8, gateway controller are revised caller gateway and called gateway is the relay pattern of the data service that consults, and if notice caller gateway and called gateway data service finish then report; Caller gateway and called gateway enter the relay pattern of data service;
Step 9, data service stops, one of caller gateway or caller gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes;
Step 10, called gateway of gateway controller request and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of speech pattern, if notify caller gateway and called gateway that data service is arranged simultaneously then report;
Step 11, if speech pattern is consulted successfully, then caller gateway and called gateway are conversed according to the speech pattern that consults, and change step 12 over to; If consult failure, then finish;
Step 12, if the caller gateway has data service, then caller gateway report gateway controller has data service, enters step 13; If called gateway has data service, then called gateway report gateway controller has data service, enters step 13;
Step 13, gateway controller control caller gateway and called gateway carry out the negotiation of the pattern of data service;
Step 14 is if the success of the mode negotiation of data service then changes step 15 over to; If the failure of the mode negotiation of data service then finishes;
Step 15, gateway controller are revised the pattern that caller gateway and called gateway are the data service that consults, and if notice caller gateway and called gateway data service finish then report; Caller gateway and called gateway enter data service mode;
Step 16, data service stops, one of caller gateway or called gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes;
Step 17, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of voice and two kinds of patterns of VBD;
Step 18, if speech pattern is consulted successfully, then caller gateway and called gateway enter the voice call state, and enter step 19; If speech pattern is consulted failure, then finish;
Step 19, if the success of VBD mode negotiation, then caller gateway and called gateway enter the data service automatic switchover mode simultaneously; If the failure of VBD mode negotiation if then gateway controller is notified caller gateway and called gateway that data service is arranged then reported, and enters step 20;
Step 20, if on the caller gateway data service is arranged, then caller gateway report gateway controller has data service, and enters step 21; If on the called gateway data service is arranged, then called gateway report gateway controller has data service, enters step 21;
Step 21, gateway controller control caller gateway and called gateway carry out the negotiation of the pattern of data service;
Step 22 is if the success of the mode negotiation of above-mentioned data service then changes step 23 over to; If consult failure, then finish;
The business model that step 23, gateway controller are revised caller gateway and called gateway is the pattern of the data service that consults, and if notice caller gateway and called gateway data service finish then report; Caller gateway and called gateway enter data service mode;
Step 24, data service stops, one of caller gateway or called gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes.
10. method according to claim 9 is characterized in that:
The step that reports if notice caller gateway described in the step 3 and called gateway have data service at caller gateway and called gateway according to the converse next procedure of step of the speech pattern that consults.
11. method according to claim 9 is characterized in that:
The pattern of described data service is relay pattern and VBD pattern.
12. method according to claim 10 is characterized in that:
The step that reports if notice caller gateway described in the step 10 and called gateway have data service at caller gateway and called gateway according to the converse next procedure of step of the speech pattern that consults.
13. method according to claim 9 is characterized in that,
In the described step 2, not only support automatic switchover mode but also support the VBD pattern, then when the caller gateway is initiated audio call, change following steps over to if the result of audit represents the caller gateway:
Step 101, gateway controller request caller gateway and called gateway add the end points of a voice channel separately, and control caller gateway and called gateway carry out the negotiation of speech pattern, if notify caller gateway and called gateway that data service is arranged simultaneously then report;
Step 102, if speech pattern is consulted successfully, then caller gateway and called gateway are conversed according to the speech pattern that consults, and enter step 103; If speech pattern is consulted failure, then finish;
Step 103, if the caller gateway has data service, then caller gateway report gateway controller has data service, enters step 104; If called gateway has data service, then called gateway report gateway controller has data service, enters step 104;
Step 104, gateway controller control caller gateway and called gateway carry out the negotiation of the pattern of data service according to the type of data service, if notify caller gateway and called gateway data service to stop simultaneously then report;
Step 105 is if the success of the mode negotiation of data service then changes step 107 over to; If consult failure, then finish;
The business model that step 106, gateway controller are revised caller gateway and called gateway is the pattern of the data service that consults, and if notice caller gateway and called gateway data service stop then reporting; Caller gateway and called gateway enter data service mode;
Step 107, data service stops, one of caller gateway or called gateway reported data service ending, the request of gateway controller reply data service ending, data service finishes.
14. method according to claim 13 is characterized in that:
The step that reports if notice caller gateway described in the step 101 and called gateway have data service at caller gateway and called gateway according to the converse next procedure of step of the speech pattern that consults.
15., it is characterized in that according to the described method of one of claim 9-14:
Described data service for the fax, dial up on the telephone and text services one of them.
CNB2005101235217A 2005-11-17 2005-11-17 Method for switching services Active CN100527740C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101235217A CN100527740C (en) 2005-11-17 2005-11-17 Method for switching services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101235217A CN100527740C (en) 2005-11-17 2005-11-17 Method for switching services

Publications (2)

Publication Number Publication Date
CN1874384A CN1874384A (en) 2006-12-06
CN100527740C true CN100527740C (en) 2009-08-12

Family

ID=37484636

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101235217A Active CN100527740C (en) 2005-11-17 2005-11-17 Method for switching services

Country Status (1)

Country Link
CN (1) CN100527740C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459742B (en) * 2008-05-21 2011-07-13 中兴通讯股份有限公司 Method for establishing MODEM call in NGN system
CN101998023B (en) * 2009-08-14 2012-09-05 中国移动通信集团公司 Facsimile system and facsimile disconnecting method
CN102271195B (en) * 2010-06-01 2014-04-09 郭佳 Heterogeneous cooperative switching system and method
CN104253914B (en) * 2013-06-28 2016-08-03 上海贝尔股份有限公司 A kind of method consulted for voiceband data actuation event and WMG thereof

Also Published As

Publication number Publication date
CN1874384A (en) 2006-12-06

Similar Documents

Publication Publication Date Title
EP1845687B1 (en) A method for ip-based service transmission
US7746845B2 (en) Support for fax and modem in SIP/SIP-T networks and the interworking of these networks with ISUP+/BICC
US7809125B2 (en) Method and apparatus for selection of special-purpose gateways
EP2114049B1 (en) Video interworking gateway, system and method for realizing video call service
US20070195749A1 (en) Wireless ip telephone set
EP1551135B1 (en) Interworking between domains of a communication network operated based on different switching principles
US20050021798A1 (en) VoIP hybrid DLC
US7609685B2 (en) IP telephony apparatus providing simultaneous SIP communication for multiple IP phones and method for the same
CN100527740C (en) Method for switching services
CN101031006B (en) Sink-bureau multi-service transmitting method based on IP
CN102271137A (en) Media server
CN101472019B (en) Method, system and device for mutually communicating outband DTMF signaling
CN101753667B (en) Method for realizing speech business through wireless network and communication terminal
JP5251879B2 (en) Access gateway and its operation method
CN100384201C (en) Method for transmitting fax from fixed network to mobile network
EP2015592B1 (en) Realizing a multimedia call service
CN100499720C (en) Realization method for providing multi-rate data information loading service
WO2005057850A1 (en) A media gateway system
CN100403795C (en) Method for realizing NGN network and mobile network video interconnection
US7372876B2 (en) Method for setting up a useful data link between terminals in a VoIP system
JP2006262268A (en) Ip telephone set
JP2008141490A (en) Emergency notification controller, radio communication terminal and base station
JP4087371B2 (en) IP-compatible private branch exchange
KR100509945B1 (en) The System and Method for providing the Internet Phone Service in the Home Gateway System
CN100499708C (en) Method for playing individualized ring back tone for calling terminal in low speed

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant