CN104767660A - Method and device for processing disconnection of media gateway and media gateway controller - Google Patents

Method and device for processing disconnection of media gateway and media gateway controller Download PDF

Info

Publication number
CN104767660A
CN104767660A CN201510217185.6A CN201510217185A CN104767660A CN 104767660 A CN104767660 A CN 104767660A CN 201510217185 A CN201510217185 A CN 201510217185A CN 104767660 A CN104767660 A CN 104767660A
Authority
CN
China
Prior art keywords
media gateway
disconnection
gateway controller
time interval
timer
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.)
Pending
Application number
CN201510217185.6A
Other languages
Chinese (zh)
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.)
Nokia Shanghai Bell Co Ltd
Original Assignee
Alcatel Lucent Shanghai Bell 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 Alcatel Lucent Shanghai Bell Co Ltd filed Critical Alcatel Lucent Shanghai Bell Co Ltd
Priority claimed from CN200780101405A external-priority patent/CN101849385A/en
Publication of CN104767660A publication Critical patent/CN104767660A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and device for processing disconnection of a media gateway and a media gateway controller, and functions with different levels are achieved by configuring different disconnection timers in the media gateway. When time intervals of the disconnection timers are not zero, new events happened during a disconnection period are stored, when the connection is restored, the stored new events are reported to the media gateway controller, and the state consistency of the media gateway and the media gateway controller is kept; when the time intervals of the disconnection timers are zero, established active calls are released immediately.

Description

A kind of method and apparatus processing media gateway and Media Gateway Controller disconnection
The application is the divisional application that the application number applied on November 12nd, 2007 is 200780101405.2, denomination of invention is the patent application of " a kind of method and apparatus processing media gateway and Media Gateway Controller disconnection ".
Technical field
The present invention relates to communication network, particularly relate to the method processing media gateway and Media Gateway Controller disconnecting in NGN network.
Background technology
NGN network adopts with soft switch (SoftSwitch) technology controlling, carry to be separated with business three to provide the multiple business such as voice, multimedia and movement.Divide from function, flexible exchanging network can be divided into operation layer, key-course, transport layer and Access Layer from top to down.Wherein: the major function entity of key-course is media gateway controller MGC (Media Gateway Controller), the functions such as Call-Control1, connection control, protocol processes are mainly provided, and provide the open interface of the various Internet resources of bottom for operation layer; The core transport network of transport layer is IP packet network, provides the passage of various signaling and media flow transmission; The major function entity of Access Layer is media gateway MG (Media Gateway), dissimilar access way is converted into RTP/RTCP (RTP/RTCP Real-time Transport Control Protocol) stream being adapted at IP network transmits.
Adopt H.248/MGCP agreement between Media Gateway Controller and media gateway, Media Gateway Controller is by the connection of the Media Stream on this protocols control media gateway, foundation and release.
When connection between media gateway and Media Gateway Controller is broken and when media gateway detects that the Media Gateway Controller controlling it breaks down, media gateway will follow 11.5 trifles H.248 and annex F.3.6 in the action of regulation, media gateway can attempt to contact the next Media Gateway Controller in its pre-configured list.In reality, a lot of telecom operators require that in the process recovered in the connection of media gateway and Media Gateway Controller, calling still can retain.If after connection recovers, Media Gateway Controller can examine the state of calling, so media gateway is preferably connecting holding calling in the process recovered.And some Media Gateway Controllers are after connection recovers, can not do corresponding examination, in this case, perhaps operator does not wish to keep calling in connection recovery process.And existing H.248 agreement can not meet above-mentioned requirements.
Summary of the invention
The present invention, in order to solve above-mentioned defect of the prior art, proposes a kind of in a media gateway for the treatment of the method and apparatus of media gateway and Media Gateway Controller disconnecting.
According to a first aspect of the invention, provide a kind of in a media gateway for the treatment of the method for media gateway and Media Gateway Controller disconnecting, wherein comprise following steps: when media gateway detects that it is with when controlling its disconnecting of Media Gateway Controller, media gateway sends disconnection Indication message to Media Gateway Controller, and starts a disconnection timer; Judge the time interval of disconnection timer; If the time interval of disconnection timer is non-vanishing, within the time interval of disconnection timer, preserve de novo event.
According to a second aspect of the invention, provide a kind of in a media gateway for the treatment of the device of media gateway and Media Gateway Controller disconnecting, comprising: whether failure detector, exist for the connection detected between this media gateway and the Media Gateway Controller controlling this media gateway; Dispensing device, during for detecting the disconnecting between this media gateway and the Media Gateway Controller controlling this media gateway when failure detector, sends disconnection Indication message to the Media Gateway Controller controlling this media gateway; Timer starting drive, during for detecting the disconnecting between this media gateway and the Media Gateway Controller controlling this media gateway when failure detector, starts disconnection timer; Judgment means, for judging the time interval of disconnection timer; Synchronizer, for when the time interval of disconnection timer is non-vanishing, de novo event in the time interval being kept at disconnection timer.
The method and apparatus of the application of the invention, can realize flexible configuration, meets the multiple requirement of telecom operators, the situation of effectively process media gateway and Media Gateway Controller disconnection, thus the performance of elevator system.
Accompanying drawing explanation
By the detailed description with the accompanying drawing proposed below, feature of the present invention, character and advantage will become more obvious, wherein:
Fig. 1 is the method flow schematic diagram processing Media Gateway Controller disconnection according to a specific embodiment of the present invention in a media gateway;
Fig. 2 is in a media gateway for the treatment of the structured flowchart of the device of Media Gateway Controller disconnection according to a specific embodiment of the present invention;
Fig. 3 is the process schematic of process media gateway according to a specific embodiment of the present invention and Media Gateway Controller disconnection;
Fig. 4 is the process schematic of process media gateway according to a specific embodiment of the present invention and Media Gateway Controller disconnection.
Embodiment
In order to solve the many deficiency of prior art in process media gateway and Media Gateway Controller disconnection, meet the multi-level requirement of telecom operators, the present invention proposes a kind of method and apparatus processing Media Gateway Controller disconnection in a media gateway newly.The method and device is described in detail below in conjunction with Fig. 1 and Fig. 2.
When Media Gateway Controller breaks down, media gateway can detect it by the failure detector 201 of its inside and control its disconnecting of Media Gateway Controller, now media gateway will perform step S101, the Media Gateway Controller controlling it before fault is sent disconnection Indication message by its dispensing device 202, such as ServiceChange message, wherein indicates method=Disconnect.In order to can connect recover after the control association (control association) in media gateway is returned to disconnection before state, media gateway udp (user datagram protocol, UserDatagram Protocol) port used when sending ServiceChange message be namely fault before udp port in control association.Meanwhile, media gateway will start disconnection timer by timer starting drive 203.The time interval of this disconnection timer can preset in systems in which, and the different demands according to operator are arranged to different length.Therefore, the judgment means 204 in media gateway needs to perform step S102, judges whether the time interval of this disconnection timer is zero.
If judgment means 204 judges that the time interval of this disconnection timer is zero, media gateway will discharge all built vertical callings (active call) immediately by its releasing device 205, particularly, discharge its context (context), reset the related resource that it occupies.When operator does not wish to be retained in when Media Gateway Controller breaks down with calling, this object can be reached by the time interval of disconnection timer is set to zero.
If judgment means 204 judges that the time interval of this disconnection timer is non-vanishing, then the synchronizer 206 by its inside is preserved corresponding data by media gateway, so that the consistency of the data in connection recovery rear maintenance media gateway and Media Gateway Controller and state.
Particularly, for the new events occurred during media gateway and Media Gateway Controller disconnection, the event detection device 207 in synchronizer 206 can perform step S104, detects the new events of generation.These new events can be off-hook, on-hook, dialing etc., can be events, also can be multiple events.For each event newly detected, media gateway can perform step S105, is saved in by new events in storage device 208.For improving the speed of preserving and extracting, this storage device can be cache device.And for those built vertical callings, continuation retains by its context and the resource of occupying.
Within the time interval of disconnection timer, media gateway will perform step S104 and step S105 all the time until it receives reply message or the disconnection timer expiry of Media Gateway Controller.
If within the time interval of disconnection timer, media gateway controls the reply message of its Media Gateway Controller before have received fault by its receiving system 209, namely step S106 has been proceeded to, show that the connection of now media gateway and Media Gateway Controller recovers, the timer arresting stop 20a of its inside will perform step S107, stop disconnection timer.Then, media gateway will extract the new events of preservation from its storage device 208, and is sent the new events preserved to Media Gateway Controller by its dispensing device 202, namely performs step S108.
If within the time interval of disconnection timer, media gateway controls the reply message of its Media Gateway Controller before not receiving fault, step S109 will be performed, and disconnection timer can be overtime, shows that the connection of now media gateway and Media Gateway Controller recovers not yet.Media gateway will perform step S10a by its releasing device 205, delete the new events be kept in storage device 208, and discharge all built vertical callings.
Based on method and apparatus above, provide some concrete examples below in conjunction with Fig. 3 and Fig. 4.Suppose that terminal A (not shown) is a user terminal under media gateway 1, Media Gateway Controller 21 controls media gateway 1, and Media Gateway Controller 22 is the next Media Gateway Controller in the pre-configured list of media gateway 1.
In Fig. 3, terminal A is in talking state, at this moment, Media Gateway Controller 21 breaks down, failure detector 201 in media gateway 1 detects that the connection of media gateway 1 and Media Gateway Controller 21 is lost, triggering dispensing device 202 is sent ServiceChange message to Media Gateway Controller 21 by it, the upd port wherein before method=Disconnected, upd port=fault in control association.Then, media gateway 1 will start disconnection timer T1, meanwhile, send ServiceChange message, wherein method=Failover, upd port=default port 2944 to Media Gateway Controller 22.
After terminal A talk-through, on-hook.At this moment, the event detection device 207 in media gateway 1 detects the onhook event of terminal A, and notice storage device 208 is preserved this event by it.
Before disconnection timer T1 time-out, receiving system 209 in media gateway 1 receives the reply message Transaction Reply from Media Gateway Controller 21, now, timer arresting stop 20a will stop timer T1, storage device 208 will extract the new events of its preservation, the i.e. onhook event of terminal A, and send Notify message in order to inform the onhook event of terminal A by dispensing device 202 to Media Gateway Controller 21.After Media Gateway Controller 21 receives Notify message, by the context of the calling on deletion terminal A, the state arranging terminal A is that on-hook is idle, and requires the off-hook event of media gateway 1 sense terminals A, this can by sending Subtract to media gateway 1, and Modify message realizes.Like this, after connection recovers, in media gateway 1 and Media Gateway Controller 21, maintain consistency about the data of terminal A and state.
The procedure chart that after Fig. 4 shows disconnection timer expiry, the connection of media gateway 1 and Media Gateway Controller 21 does not still recover.Before disconnection timer T1 time-out, identical with shown in Fig. 3 of the step that media gateway 1 experiences, namely from step 1) to step 4) identical with Fig. 3.With Fig. 3 unlike, before disconnection timer T1 time-out, media gateway 1 does not receive the reply message of Media Gateway Controller 21, therefore, once disconnection timer T1 is overtime, media gateway 1 will delete the onhook event of the terminal A preserved immediately by releasing device 205, and discharges the context of the calling on terminal A.After this, media gateway 1 by continue attempt and Media Gateway Controller 21, Media Gateway Controller 22 contact, namely ServiceChange message is sent to Media Gateway Controller 21, wherein method=Disconnected, upd port=default port 2944, meanwhile, also sends ServiceChange message to Media Gateway Controller 22, wherein method=Failover, upd port=default port 2944.
Be illustrated as although above-mentioned and the invention provides some embodiments; not be used for limiting protection scope of the present invention; the professional of the art without departing from the scope and spirit in the present invention, can carry out various amendment to embodiment, and this amendment is all within the scope of the present invention.

Claims (12)

1., in a media gateway for the treatment of a method for media gateway and Media Gateway Controller disconnecting, it is characterized in that, comprise following steps:
A) when media gateway detects that it is with when controlling its disconnecting of Media Gateway Controller, media gateway sends disconnection Indication message to Media Gateway Controller, and starts a disconnection timer;
B) time interval of disconnection timer is judged;
If c) time interval of disconnection timer is non-vanishing, within the time interval of disconnection timer, preserve de novo event.
2. method according to claim 1, is characterized in that, step c) also comprise:
C1) within the time interval of disconnection timer, de novo event is detected;
C2) preserve step c1) in the new events that detects.
3. the method according to claim 1-2, is characterized in that, the method also comprises step:
D) within the time interval of disconnection timer, media gateway controls the reply message of its Media Gateway Controller before receiving fault;
E) disconnection timer is stopped;
F) before fault, control its Media Gateway Controller forwarding step c2) the middle new events preserved.
4. the method according to claim 1-3, is characterized in that, the method also comprises step:
G) timing time of disconnection timer reaches its time interval;
H) all built vertical callings are discharged, delete step c2) the middle new events preserved.
5. the method according to claim 1-4, is characterized in that, the method also comprises step:
If i) time interval of disconnection timer is zero, discharges oneself foundation all and call out.
6. the method according to claim 1-5, is characterized in that, step a) in media gateway control before fault it Media Gateway Controller send disconnection Indication message time port used be the port used that communicates with this Media Gateway Controller before fault.
7., in a media gateway for the treatment of a device for media gateway and Media Gateway Controller disconnecting, it is characterized in that, comprising:
Whether failure detector, exist for the connection detected between this media gateway and the Media Gateway Controller controlling this media gateway;
Dispensing device, during for detecting the disconnecting between this media gateway and the Media Gateway Controller controlling this media gateway when failure detector, sends disconnection Indication message to the Media Gateway Controller controlling this media gateway;
Timer starting drive, during for detecting the disconnecting between this media gateway and the Media Gateway Controller controlling this media gateway when failure detector, starts disconnection timer;
Judgment means, for judging the time interval of disconnection timer;
Synchronizer, for when the time interval of disconnection timer is non-vanishing, de novo event in the time interval being kept at disconnection timer.
8. device according to claim 7, is characterized in that, synchronizer comprises:
Event detection device, for detecting de novo event;
Storage device, for being kept at the de novo event detected in the time interval of disconnection timer.
9. the device according to claim 7-8, is characterized in that, this device also comprises:
Receiving system, within the time interval of disconnection timer, receives the reply message from the Media Gateway Controller controlling it before fault;
Timer arresting stop, for stopping disconnection timer;
Described dispensing device, the Media Gateway Controller also for controlling it before fault sends the new events preserved in storage device.
10. the device according to claim 7-9, is characterized in that, this device also comprises:
Releasing device, for when the timing time of disconnection timer reaches its time interval, discharges oneself foundation all and calls out, and delete the new events preserved in storage device.
11. devices according to claim 7-10, is characterized in that, described releasing device also for when the time interval of disconnection timer is zero, discharge all oneself set up calling.
12. devices according to claim 7-11, is characterized in that, when the Media Gateway Controller that described dispensing device controls it before fault sends disconnection Indication message, port used is the port used that communicates with this Media Gateway Controller before fault.
CN201510217185.6A 2007-11-12 2007-11-12 Method and device for processing disconnection of media gateway and media gateway controller Pending CN104767660A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200780101405A CN101849385A (en) 2007-11-12 2007-11-12 A method and apparatus for processing a disconnection-connection between a media gateway and a media gateway controller

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN200780101405A Division CN101849385A (en) 2007-11-12 2007-11-12 A method and apparatus for processing a disconnection-connection between a media gateway and a media gateway controller

Publications (1)

Publication Number Publication Date
CN104767660A true CN104767660A (en) 2015-07-08

Family

ID=53717855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510217185.6A Pending CN104767660A (en) 2007-11-12 2007-11-12 Method and device for processing disconnection of media gateway and media gateway controller

Country Status (1)

Country Link
CN (1) CN104767660A (en)

Similar Documents

Publication Publication Date Title
CN101365169B (en) Routing control implementing method, system, media gateway and media gateway controller
CA2542088C (en) Method for monitoring and reporting events by media gateways
CN100421529C (en) Call release control system and its method
EP1777893A1 (en) A method for achieving double ascription
CN101895447B (en) SIP (Session Initiation Protocol) trunk gateway and failure monitoring method thereof
US20050207358A1 (en) SIP server
JP3575435B2 (en) Telephone system and telephone connection monitoring method
CN100589641C (en) A method for preventing call session control function entity from active resource hangup
CN101849385A (en) A method and apparatus for processing a disconnection-connection between a media gateway and a media gateway controller
CN101222477B (en) Method, equipment and system for initiator and receiver cancelling call
CN100531193C (en) Releasing method of H.248 protocol resource
CN104767660A (en) Method and device for processing disconnection of media gateway and media gateway controller
WO2011137602A1 (en) Method and device for protecting media gateway telephone service
CN101808136B (en) Method, device and system for realizing synchronization of user dynamic resources
CN103138998B (en) A kind of detection of proxy-state, device and system
CN101917302A (en) Method and system for reducing call disconnection caused by transient interruption of terminal media
US8331258B2 (en) Method and device for responding to termination service state change indication
CN101873628B (en) Method and device for realizing subscriber state synchronization in IP multimedia subsystem (IMS) domain
JP2006033004A (en) Communication device, call processing control device, and communication system
CN102332991B (en) Backup method capable of keeping consistent state in soft switch and gateway device
WO2012109862A1 (en) Call control method and apparatus
CN100396148C (en) Method for implementing timing verification of calls between bureaus based on IP of packet
KR20080070309A (en) Media gateway and method for processing calls in a media gateway
CN100407871C (en) Call processing method and system for radio local loop user in next generation network
KR100330965B1 (en) Method for processing unrecovered call in integrated services digital network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 201206 Pudong New Area, Nanjing Road, No. 388, Shanghai

Applicant after: Shanghai NOKIA Baer Limited by Share Ltd

Address before: 201206 Pudong New Area, Nanjing Road, No. 388, Shanghai

Applicant before: Shanghai Alcatel-Lucent Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150708