CN1265602C - Media gateway controler and interacting method between media gateways - Google Patents
Media gateway controler and interacting method between media gateways Download PDFInfo
- Publication number
- CN1265602C CN1265602C CN 02158303 CN02158303A CN1265602C CN 1265602 C CN1265602 C CN 1265602C CN 02158303 CN02158303 CN 02158303 CN 02158303 A CN02158303 A CN 02158303A CN 1265602 C CN1265602 C CN 1265602C
- Authority
- CN
- China
- Prior art keywords
- media gateway
- context
- wildcard
- classification
- option
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses an interacting method between a medium gateway controller and a medium gateway. In the method, a context is treated in stage, and each stage mode is used as a template; the medium gateway controller sends an auditing command to the medium gateway in order to obtain all context-staged templates in the medium gateway; when the medium gateway controller hopes to carry out partial matching with context operation, a matching option of the templates is modified by a modifying command first, and then matching operation or option operation is carried out on the context; if an identifier of the context in the command is an asterisk wildcard, then the medium gateway carries out matching operation according to a matching option; if the matching option in the command is a selective matching option, then the medium gateway carries out operation based on the principle of selective matching option. The present invention increases the interacting response speed between a medium gateway controller and a medium gateway, and incapable transmission or low efficiency caused by an oversize business response message pack is reduced.
Description
Technical field
The present invention relates in the network and soft switch networking architecture in exchange method between Media Gateway Controller and the media gateway.
Background technology
In next generation network and in the soft switch networking architecture, Media Gateway Controller (MGC) is controlled media gateway (MG) by MGCP (H.248/MEGACO).Fig. 1 a is MC and the position view of MGC in network.In the model of this distributed treatment, the context (CONTEXT) relevant with calling distributed by the Media Gateway Controller indicating media gateway.
MGCP is principal and subordinate's agreement, and Media Gateway Controller is main, media gateway be from.Media gateway is finished media stream transition under the indication of Media Gateway Controller.In MGCP, the logic entity of acceptance/transmission Media Stream is called terminal (TERMINATION); Incidence relation between the terminal is called context.Context has following attribute:
Sign;
Media Stream in the topology-expression context between the terminal is to relation;
Priority.
In order to finish call, the Media Gateway Controller indicating media gateway is created a context; Interpolation/deletion terminal in context; Revise the attribute of terminal; The deletion context.Finishing medium by terminal in context mixes.In above-mentioned operating process, be to be that the context sign of distributing is as unique index by media gateway.
In the distributed treatment pattern of Media Gateway Controller and media gateway; network congestion may appear between media gateway and the Media Gateway Controller or because the protection of resources measure taked of media gateway causes the context in the Media Gateway Controller to lose synchronously with the context in the media gateway.Media Gateway Controller need be synchronous with media gateway by the audit order like this.
Two kinds of implementations are arranged now:
(1) context that or a group determines of at every turn auditing
(2) by the mode of the wildcard terminal context of auditing indirectly.
Determine contextual mode by one of each audit or one group, will between network, produce a large amount of network data exchanges.The negative effect of doing like this is as follows:
If initiate the audit order continuously, will take the resource of media gateway handles normal call; Perhaps cause network congestion to reduce response speed; If initiate the audit order at one's leisure, may cause the synchronization delayed time between the context between Media Gateway Controller and the media gateway.
Mode by the audit of terminal wildcard has following negative effect:
Terminal and context are many-to-one relations, may return the response of a lot of redundancies for the terminal of auditing; Because same transactions requests must be finished in same transaction response, may too much cause owing to the terminal of wildcard can't be in transmission over networks.
Summary of the invention
Purpose of the present invention is exactly in order to overcome the above problems, exchange method between a kind of Media Gateway Controller and the media gateway is provided, it is synchronous with media gateway by the audit order to be used for Media Gateway Controller, improve mutual response speed between Media Gateway Controller and the media gateway, reduce excessive and can't the transmitting or inefficiency of causing of transaction response message bag.
For achieving the above object, the present invention proposes the exchange method between a kind of Media Gateway Controller and the media gateway, it is characterized in that comprising the steps: that (1) carry out classification with context and handle, and every kind of hierarchical approaches is as a template; (2) Media Gateway Controller is assigned the audit order to media gateway, to obtain all context classification templates in the media gateway; (3) media gateway judges whether to support context classification bag; If do not support then in response, directly return not support information; Otherwise operating procedure (4); (4) when Media Gateway Controller wishes that local wildcard is carried out in operation to context, earlier with the wildcard option of revising in the order modification template, then context is carried out wildcard or optional operation, if the contextual identifier in the order is a wildcard identifier, then media gateway is carried out wildcard according to the wildcard option; If the wildcard option in the order is to select wildcard, then media gateway is operated according to the principle of selecting wildcard; If the wildcard option in the order is an optional operation, then media gateway is carried out optional operation according to the wildcard option.
Owing to adopted above scheme, before carrying out wildcard operation Media Gateway Controller known earlier contextual hierarchical approaches (certainly context be to adopt classification handle just can), Media Gateway Controller just can be controlled media gateway better like this, especially before can or choosing wantonly at wildcard the wildcard option is made amendment as required, the wildcard condition is changed into desirable condition (such as being limited in certain machine frame, Fig. 1 b is veneer and machine frame position view), dwindled scope, when wildcard, just can avoid sending unnecessary audit, avoid causing returning redundant response, thereby improved response speed mutual between Media Gateway Controller and the media gateway, reduced excessive and can't the transmitting or inefficiency of causing of transaction response message bag.
Description of drawings
Fig. 1 a is MC and the position view of MGC in network.
Fig. 1 b is veneer and machine frame position view.
Fig. 2 is a schematic flow sheet of the present invention.
Fig. 3 is the flow chart that how Media Gateway Controller knows the media gateway context method of salary distribution in the embodiment of the invention.
Fig. 4 is the flow chart that carries out local wildcard in the embodiment of the invention.
Embodiment
The present invention carries out classification to context and handles, and that is to say context is divided into a plurality of fragments, changes the wildcard condition thereby so just might make amendment to part fragment wherein, reduces the scope.Context can have multiple hierarchical approaches, and (classification as for how is not main points of the present invention, in this few explanation.Hereinafter provided the example of two classification templates in conjunction with Fig. 3), every kind of hierarchical approaches is called a classification template.
After the classification, the contextual hierarchical approaches that Media Gateway Controller also needs to know media gateway just can better be controlled media gateway.The present invention not only carries out the classification processing with the context of media gateway protocols agreement, also provide a kind of mechanism to allow Media Gateway Controller know the mode of media gateway when distributing context, Media Gateway Controller can realize that context is carried out local wildcard to be handled like this.When Media Gateway Controller carries out dynamic synchronization by the context in audit order and the media gateway, improve mutual response speed between Media Gateway Controller and the media gateway.
Shown in its processing procedure following (as Fig. 2,3,4):
Media Gateway Controller is assigned the number that context classification template in the audit media gateway is ordered in audit to the ROOT of media gateway terminal.Can learn the numbering of classification template after the classification template number in the media gateway controller obtaining, the classification template numbering of each appointment is audited that Media Gateway Controller can obtain the template of all context classifications in the media gateway.Certainly, the numbering that also may not necessarily will obtain the number of classification template earlier could obtain the template of all context classifications, as long as the template that can obtain all context classifications with other modes also is fine.After obtaining template, can template be to make amendment in the basis promptly.
If Media Gateway Controller is wished the local wildcard of context operation carrying out, can use modification (MODIFY) order that the wildcard option is made amendment earlier, (the wildcard here, option command are the network regulations to use other orders that context is carried out wildcard (ALL WILDCARD) or optional (CHOOSE WILDCARD) operation then, can not change, so need to reduce the scope by revising order in advance).If the contextual identifier in the order is a wildcard identifier, then media gateway is carried out wildcard according to the wildcard option.If it is to select wildcard that the choosing of the wildcard in the order is selected, then media gateway is operated according to the principle of selecting wildcard.If matching to return in error code (as " 455 ")-descriptor, the numbering of classification template and the classification in the template do not used illegal value.Other are not subjected to above-mentioned rules affect about the contextual operational circumstances of sky.
In above-mentioned processing procedure, media gateway is by bag (PACKAGE) this mode extended medium gateway control protocol.So, need context allocation template bag of definition, be the example (following definition format is the form of IETF/ITU regulation, like this those skilled in the art is easier to understand) of a context allocation template bag below:
Bag name: context classification bag
Wrap sign: Ctxpat (0x8888), (0x8888 in its bracket is the binary system another name of Ctxpat, down together)
Version: 1
Expansion: root bag
Describe: this package definition contextual level this do not divide
Attribute comprises:
(1) context hierarchical pattern
Attribute-bit: Ctxpat (0x0010)
Be used for representing context how classification handle (also having multiple hierarchical approaches in a gateway is determined by media gateway), each hierarchical approaches is a classification template, each classification template is with a unique number-mark.
Type: (the octet string here is one type that defines in binary system encoding and decoding (ASN.1) grammer to octet string (OCTETSTRING), refer to that 8 (being 8BIT) binary numbers constitute a byte, having 4 octets links up) be a classification modular unit, 0 and 1 alternately.Continuous 0 or continuous 1 is a rank (level).For example, 00000011111110000011111010000011 to be divided into be eight grades (levels), supposes from left to right ordering.First six of arriving is one-level; The 7th is the second level to the 13; The 14 to the 18 is the third level; The 19 to the 23 is the fourth stage; The 24 is level V; The 25 is the 6th grade; 30 of second sixteen bits to the are the 7th grade; The 30 to the 32 is the 8th grade.
Characteristic: read-only
Affiliated descriptor: SOT state of termination (TerminationState)
(2) hierarchical pattern number
Attribute-bit: MaxCtxPats (0x0011) (not necessarily, being optional enhancement function) so in flow process shown in Fig. 3,4, do not add
(3) number of context hierarchical approaches in the gateway
Type: integer
Probable value: any number
Characteristic: read-only
Affiliated descriptor: SOT state of termination (TerminationState)
(4) wildcard is selected
Attribute-bit: wildcardopt (0x0012)
The numbering of classification template is used in expression, and those classifications are wildcards in this classification template.
Type: octet string (OCTETSTRING).0-3 byte representation wildcard classification option, set is 1 expression wildcard, set is zero the non-wildcard level of expression.The employed template numbering of 4-7 byte representation is (MaxCtxPats-1) to the maximum
Characteristic: read-write
Affiliated descriptor: SOT state of termination (TerminationState)
Fig. 3 is the flow chart that how Media Gateway Controller knows the media gateway context method of salary distribution in the embodiment of the invention.Suppose that the context of realizing on the media gateway is classified as:
00,000,000 11,111,111 00,000,000 11111111 (templates 0),
11,111,100 0,000,000 1,110,000 00000000 (templates 1)
First kind is divided into level Four (first order 00000000, the second level 111111111, the third level 00000000, the fourth stage 111111111) in this dual mode, and second kind also is divided into level Four (first order 111111, the second level 00000000000, the third level 111, the fourth stage 00000000000000).
Suppose that Media Gateway Controller needs the second level of right a kind of hierarchical approaches to carry out local wildcard (Context identifier line part hereinafter just), the context that media gateway is reappeared is:
00000000?
10000000?00000000?11111111
00000000?
01000000?00000000?11111111
00000000?
10000001?00000000?11111111
10000000 11111111 00001000?11011111
10000000 11111111 00000000?11111111
The line part is the context (its judgment rule is: italicized item is identical) that meets the wildcard condition.
Fig. 4 is the flow chart (MG is the gateway abbreviation in the flow process, the abbreviation of MGC gateway controller) that carries out local wildcard in the embodiment of the invention.Among Fig. 4, first half (3-1 is to 3-6, and the MODIFY order reaches the response part to this order) is in order to allow MGC tell M G which partly is not carry out wildcard; Mid portion (3-7, the AUDIT command component) allow MGC tell MG which partly is a wildcard, and later half part (3-8 is to 3-13, the response part of AUDIT order) is that MG obtains qualified context through after the computing, and embodiment described in Fig. 4 is the computing with " negate again or ".But should illustrate; embodiment shown in Fig. 3,4 just is used to say something; it or not qualification to protection range of the present invention; the all changes embodiment that those of ordinary skills can make according to the present invention all belongs to protection scope of the present invention; for example: MG is when obtaining qualified context after the computing; suitable compute mode is many in addition, at this just for example.
In sum, compared with prior art, the present invention can improve Media Gateway Controller and medium Mutual response speed between the gateway, reduce excessive and can't the transmitting of causing of transaction response message bag or Person's inefficiency.
Claims (3)
1, the exchange method between a kind of Media Gateway Controller and the media gateway is characterized in that comprising the steps:
(1) context is carried out classification and handle, every kind of hierarchical approaches is as a template;
(2) Media Gateway Controller is assigned the audit order to media gateway, to obtain all context classification templates in the media gateway;
(3) media gateway judges whether to support context classification bag; If do not support then in response, directly return not support information; Otherwise operating procedure (4);
(4) when Media Gateway Controller wishes that local wildcard is carried out in operation to context, earlier with the wildcard option of revising in the order modification template, then context is carried out wildcard or optional operation, if the contextual identifier in the order is a wildcard identifier, then media gateway is carried out wildcard according to the wildcard option; If the wildcard option in the order is to select wildcard, then media gateway is operated according to the principle of selecting wildcard; If the wildcard option in the order is an optional operation, then media gateway is carried out optional operation according to the wildcard option.
2, the exchange method between Media Gateway Controller as claimed in claim 1 and the media gateway, it is characterized in that: after with the wildcard option of revising in the described context classification template of order modification, also comprise in the step (4) therein, whether numbering and the classification in the template of judging the classification template mate, if coupling is then carried out wildcard or optional operation to context; Do not match else if, then return error code, used illegal value in the declarative description symbol.
3, the exchange method between Media Gateway Controller as claimed in claim 1 or 2 and the media gateway, it is characterized in that the process that obtains context classification templates all in the media gateway in the step (2) is: Media Gateway Controller is assigned the audit order to media gateway, with the number of context classification template in the media gateway that obtains to set in advance, the numbering of classification template; Media Gateway Controller obtains all context classification templates in the media gateway by the classification template numbering of each appointment is audited then.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02158303 CN1265602C (en) | 2002-12-19 | 2002-12-19 | Media gateway controler and interacting method between media gateways |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02158303 CN1265602C (en) | 2002-12-19 | 2002-12-19 | Media gateway controler and interacting method between media gateways |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1509031A CN1509031A (en) | 2004-06-30 |
CN1265602C true CN1265602C (en) | 2006-07-19 |
Family
ID=34236967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02158303 Expired - Fee Related CN1265602C (en) | 2002-12-19 | 2002-12-19 | Media gateway controler and interacting method between media gateways |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1265602C (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780229A (en) * | 2004-11-26 | 2006-05-31 | 华为技术有限公司 | Method for soluting detained context on medium gateway |
CN100461691C (en) * | 2005-11-22 | 2009-02-11 | 华为技术有限公司 | Method of obtaining state of transmission channel |
CN100546289C (en) * | 2006-06-07 | 2009-09-30 | 华为技术有限公司 | The auditing method of carrying end and system thereof |
CN100450116C (en) * | 2006-06-26 | 2009-01-07 | 华为技术有限公司 | Method for indicating media gateway executing terminal connection |
ES2509349T3 (en) * | 2006-06-26 | 2014-10-17 | Huawei Technologies Co., Ltd. | Method and system and device to instruct a media gateway to establish connections between terminals |
US8897309B2 (en) * | 2006-11-06 | 2014-11-25 | Telefonaktiebolaget L M Ericsson (Publ) | Telecommunication system for controlling media gateways |
CN101299732B (en) * | 2007-04-30 | 2011-11-16 | 华为技术有限公司 | Circuit batch auditing method, medium gateway and medium gateway controller |
CN101471900A (en) * | 2007-12-25 | 2009-07-01 | 华为技术有限公司 | Interactive method for medium resource identification capability, medium gateway controller and medium gateway |
CN101471930A (en) * | 2007-12-28 | 2009-07-01 | 华为技术有限公司 | Method and device for obtaining medium stream information |
CN101827114A (en) * | 2009-03-03 | 2010-09-08 | 华为技术有限公司 | Failure response method, gateway and system |
-
2002
- 2002-12-19 CN CN 02158303 patent/CN1265602C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1509031A (en) | 2004-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1225874C (en) | Method and apparatus for packet delay reduction using scheduling and header compression | |
CN1265602C (en) | Media gateway controler and interacting method between media gateways | |
CN1514622A (en) | Netwrok processor having isomeric structure | |
CN1515101A (en) | Improved calling service of VOIP device in VLAN environment | |
CN1708029A (en) | Method for establizing retransmission flow table | |
CN1859382A (en) | Communication device for supporting multiple service and its method | |
CN1716877A (en) | Method and apparatus for self-configuring routing devices in a network | |
CA2094097C (en) | Multi-equipment routing method and master station for layered protocol communication network system | |
CN101047714A (en) | Apparatus and method for processing network data | |
CN1366401A (en) | Formation/providing of service quality of data communication exchanger | |
CN1297927C (en) | Message intermediate item system possessing level topological structure and message transmission method | |
CN1272724C (en) | No.7 layer load equalization method based on socket butt joint in kernel | |
CN1553668A (en) | Method for inter-communication between virtual media gates | |
CN1925464A (en) | Communication apparatus | |
CN1777848A (en) | Method, interface and network for the cyclic transmission of Ethernet telegrams | |
JP2003273741A (en) | Scalable interface and method for transmitting data thereon | |
CN1881960A (en) | Edge or packet gateway control system in next generation network and its method | |
CN1870609A (en) | Comprehensive media gateway equipment and method of data exchange | |
CN1266870C (en) | Method for realizing traffic load sharing in user adaptation layer of signaling network layer | |
CN1901492A (en) | Communication method via bus interface in network and and system thereof | |
CN101075903A (en) | Method and apparatus for allocating network resource | |
CN1172484C (en) | Method for wide band switch-on apparatus supporting of Ethernet load point-to-point protocol | |
CN1140980C (en) | Equipment for processing speech and facsimile data in long distance receiving service device | |
CN1208934C (en) | Method for realizing interworking between wideband and narrowband signaling networks | |
CN100341294C (en) | Media gateway and its method for distributing service flow IP address |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060719 Termination date: 20211219 |