CN1482781A - Network system and method for implementing media gateway control protocol stack - Google Patents
Network system and method for implementing media gateway control protocol stack Download PDFInfo
- Publication number
- CN1482781A CN1482781A CNA02137032XA CN02137032A CN1482781A CN 1482781 A CN1482781 A CN 1482781A CN A02137032X A CNA02137032X A CN A02137032XA CN 02137032 A CN02137032 A CN 02137032A CN 1482781 A CN1482781 A CN 1482781A
- Authority
- CN
- China
- Prior art keywords
- processing module
- protocol message
- protocol
- message
- mgcp
- 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.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a system and method for accomplishing media gateway control protocol depot, the method comprises, the transmission affair processing module receiving the protocol message from the protocol bearing network, the signaling processing module proceeding decoding to the protocol message and processing, the signaling processing module creating command response arrangement after processing the protocol message, sending the address feature of the protocol message to the corresponding transmission affaire processing module after proceeding pre-coding, the transmission affair processing module receiving the protocol message from the protocol bearing network and adding the business identification, transmitting the information to the bearing network. The method by the invention can facilitate design, development and debugging.
Description
Technical field
The present invention relates to communication technical field, relate in particular to the realization of media gateway control protocol stack.
Background technology
MGCP (Media Gateway Control Protocol is called for short MGCP) is the internet engineering service groups RFC2705 agreement of (The Internet Engineering Task Force is called for short IETF).
MGCP (RFC2705) is by two basic agreements: SGCP (Simple GatewayControl Protocol, be called for short SGCP) and the MGCP that forms of IP device control protocol (Internet Protocol DeviceControl is called for short IPDC) fusion.
Be illustrated in figure 1 as the system group network figure that realizes the MGCP agreement.The MGCP agreement has adopted separation gateway thought, and the gateway that former signaling and medium are focused on is decomposed into two parts: media gateway (MediaGateway is called for short MG) and call proxy server (Call agent, abbreviation CA).The CA processing signaling, MG handles medium, the action of CA control MG.From being a kind of master-slave relationship with MGCP in essence, send the order that will carry out by CA to MG, MG gives CA with the information reporting of being collected.CA is equivalent to master, and MG is equivalent to slave.CA distributes to the MG specific tasks, and handles the request that MG submits.CA and MG are the network elements in the network, carry out communication by the MGCP agreement between they are mutual.
As the agreement of application layer, MGCP has not only defined the signaling interface between CA and the MG, has also defined the signal transmission method between CA and the MG.MGCP adopts a kind of based on the transmission mechanism of transaction (Transaction) at MGCP agreement bearer network.Described bearer network comprises internet (INTERNET) or ATM networks (ATM), specifically by the MGCP protocol definition.
The MGCP interface message is made up of command messages and response message.Command messages must comprise command header, and response message must comprise head response.Each order need meet with a response, and response needs recipient's back response to confirm, promptly adopts three-way handshake mode pass-along message.When order can not get responding thing, order transmit leg to order reciever, and the order reciever must send Temporary Response with regularly retransmitting, the process of re-transmission and Temporary Response is up to ordering reciever till transmit leg sends command response.
Command header is by an order line and set of parameter is capable forms.Order line is made up of request verb, Transaction Identifier (Transaction ID), exectorial end points name, protocol version 4 parts.The value of TransactionID from 1 to 999999999, TransactionID is the keyword of mark affairs.Parameter line is by parameter name (being a capitalization under most of situation), a branch, and space and parameter value are formed.Head response is made up of a responsive trip and a plurality of (also can not having) responsive trip.Responsive trip partly is made up of answer code, TransactionID, optional note 3, separates with space character each other.
Summary of the invention
Technical problem to be solved by this invention is network system and the method that realizes MGCP in order to provide, and can either realize signaling process to satisfy MGCP, supports the functional requirement of the transaction of transmission again.
The technical scheme that realizes technical problem to be solved by this invention and take is summarized as follows, on the one hand, a kind of network system that realizes the protocol stack of MGCP is provided, comprise the MGCP bearer network, media gateway, call proxy server also includes signaling processing module and the transmission transaction processing module of handling MGCP between media gateway and call proxy server, wherein:
The transmission transaction processing module sends and the receiving media gateway control protocol, respond the re-transmission of confirmation and protocol transaction, when receiving protocol message, after protocol message extracted address feature pre decoding protocol message is sent to corresponding signaling processing module, when sending by the protocol message after the signaling processing module processing, described protocol message is added Transaction Identifier, send to then in the bearer network of MGCP;
Signaling processing module is handled after decoding from the protocol message that transmits of transmission transaction processing module, form order and response structure, only carry out the precoding of the message data relevant with signaling, the address feature with protocol message sends to corresponding transmission transaction processing module in the lump then.
On the other hand, provide a kind of method that realizes media gateway control protocol stack, may further comprise the steps:
The transmission transaction processing module receives protocol message from the agreement bearer network, protocol message is sent to corresponding signaling processing module after protocol message being extracted the pre decoding of address feature;
Signaling processing module is handled after decoding from the protocol message that transmits of transmission transaction processing module;
Signaling processing module is handled the back to protocol message and is formed order and response structure, only carries out together sending to corresponding transmission transaction processing module after the precoding of the message data relevant with signaling and with the address feature of protocol message;
The transmission transaction processing module will receive protocol message from described signaling processing module and add Transaction Identifier, send to then in the agreement bearer network.
Adopt technical solution of the present invention, used hierarchy when the protocol stack system design of MGCP, each functional module function is independent, clear and definite, well arranged, is convenient to design and the exploitation and the debugging of the system of MGCP.On the other hand, owing to adopted coding and decoding processing mode of the present invention, bandwidth mutual between the functional module is reduced, thereby reduced expending of system memory resource.
Description of drawings
Fig. 1 shows the networking diagram of MGCP protocol system;
Fig. 2 shows the system schematic that the present invention realizes the MGCP protocol stack;
Fig. 3 shows the system handles MGCP agreement schematic flow sheet that the present invention realizes the MGCP protocol stack;
Fig. 4 shows the flow chart of secondary decoding of the present invention;
Fig. 5 shows the flow chart of secondary coding of the present invention.
Embodiment
Below in conjunction with accompanying drawing, illustrate the mode of an enforcement of the present invention.
With reference to accompanying drawing 2 and accompanying drawing 3, realize the system of MGCP protocol stack among the present invention, when system design, use hierarchy.The part of this system handles MGCP protocol stack is divided into two, the one signaling processing module, and it two is the transmission transaction processing module.The signaling processing module processing signaling is promptly to the order of MGCP and the concrete processing of response; The transmission transaction processing module realizes that then transmission, reception, re-transmission and the Temporary Response of protocol package (Package), response confirm.
Signaling processing module forms order or response structure according to the connection status of flow process of calling out control and call flow correspondence and the state and the attribute of terminal media stream, passes to the transmission transaction processing module.The transmission transaction processing module is assembled into an operating unit with the imperative structures of accepting, and puts on Transaction Identifier TransactionID, is delivered to then in the MGCP agreement bearer network.Described bearer network comprises internet (INTERNET) or ATM networks (ATM), specifically by the MGCP protocol definition.The message of all re-transmissions and response acknowledgement message do not re-send to signaling processing module, and are finished separately by the transmission transaction processing module.
Among the present invention, realize the method for MGCP protocol stack, system mainly comprises the process to the secondary coding of MGCP and secondary decoding.The following specifically describes.
It at first is decode procedure.Among the present invention, take the secondary decoding, with reference to accompanying drawing 4, when the transmission transaction processing module was received protocol message, the advanced behaviour was engaged in handling, as re-transmission and Temporary Response, response confirmation etc.Be processing messages, to decode to agreement, but here protocol message is not all decoded among the present invention, because if will carry out full decoder to protocol message, agreement is just specifically handled at signaling processing module, the transmission transaction processing module need all be given signaling processing module all message relevant with signaling, this just requires between signaling processing module and the transmission transaction processing module very big bandwidth is arranged, for conserve bandwidth, can require the message that it is decoded to the transmission transaction processing module to encode again to dwindle bandwidth, but this is worthless, because it has wasted the disposal ability of processor.Therefore, only carry out partial decoding of h in the transmission transaction processing module among the present invention, promptly extract the address feature in the protocol message, as IP address, terminal name, domain name etc., carry out pre decoding, go forward side by side walking along the street by analysis, in then that partial analysis is good address date and the protocol message other not the origination message of decoded analysis send to corresponding signaling processing module.,, at first judge whether new protocol message of described protocol message here,, then decoded message is sent to signaling processing module if a new protocol message then carries out pre decoding if during the protocol message that the transmission transaction processing module is received; If one old message is directly handled in the transmission process module, do not send to signaling processing module.Again protocol message is carried out the secondary decoding at signaling processing module, thereby finish the processing procedure of whole message.
Cataloged procedure is with reference to shown in the accompanying drawing 5, when signaling processing module will send protocol message, earlier message is carried out precoding, promptly only the message data relevant with signaling is encoded, for not dealing with the transmission related data, do not add Transaction Identifier TransactionID during precoding, then sending to corresponding transmission transaction processing module through the protocol message of precoding and the address feature of protocol message, the transmission transaction processing module is according to the address feature of protocol message, the protocol message of precoding is added affairs TransactionID, carry out secondary coding, send it to then in the MGCP agreement bearer network, finish transaction, as retransmitting and Temporary Response, response confirmation etc.
Although the disclosed network system and the method that realize MGCP of relating to carried out special description with reference to embodiment, those skilled in the art can understand, under the situation that does not depart from scope and spirit of the present invention, can carry out all conspicuous modification of form and details to it.Therefore, embodiment described above is illustrative and not restrictive, and under the situation that does not break away from the spirit and scope of the present invention, all variations and modification are all within the scope of the present invention.
Claims (6)
1, a kind of network system that realizes the protocol stack of MGCP, comprise the MGCP bearer network, media gateway, call proxy server, it is characterized in that also including signaling processing module and the transmission transaction processing module of between media gateway and call proxy server, handling MGCP, wherein:
The transmission transaction processing module sends and the receiving media gateway control protocol, respond the re-transmission of confirmation and protocol transaction, when receiving protocol message, after protocol message extracted address feature pre decoding protocol message is sent to corresponding signaling processing module, when sending by the protocol message after the signaling processing module processing, described protocol message is added Transaction Identifier, send to then in the bearer network of MGCP;
Signaling processing module is handled after decoding from the protocol message that transmits of transmission transaction processing module, form order and response structure, only carry out the precoding of the message data relevant with signaling, the address feature with protocol message sends to corresponding transmission transaction processing module in the lump then.
2, system according to claim 1 is characterized in that the MGCP bearer network comprises internet INTERNET or ATM networks ATM.
3, system according to claim 1 is characterized in that the address feature comprises Internet protocol IP address, terminal name or domain name in the protocol message.
4, a kind of method that realizes media gateway control protocol stack is characterized in that may further comprise the steps:
The transmission transaction processing module receives protocol message from the agreement bearer network, protocol message is sent to corresponding signaling processing module after protocol message being extracted the pre decoding of address feature;
Signaling processing module is handled after decoding from the protocol message that transmits of transmission transaction processing module;
Signaling processing module is handled the back to protocol message and is formed order and response structure, only carries out together sending to corresponding transmission transaction processing module after the precoding of the message data relevant with signaling and with the address feature of protocol message;
The transmission transaction processing module will receive protocol message from described signaling processing module and add Transaction Identifier, send to then in the agreement bearer network.
5, method according to claim 4 is characterized in that the address feature comprises Internet protocol IP address, terminal name or domain name in the MGCP message.
6, method according to claim 4 is characterized in that the transmission transaction processing module receives protocol message from the agreement bearer network, and the process of pre decoding of protocol message being extracted the address feature is further comprising the steps of:
Whether the protocol message that judge to receive a new protocol message, if a new protocol message then carries out pre decoding; If an old message, then,
Directly handle in the transmission process module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB02137032XA CN100375479C (en) | 2002-09-14 | 2002-09-14 | Network system and method for implementing media gateway control protocol stack |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB02137032XA CN100375479C (en) | 2002-09-14 | 2002-09-14 | Network system and method for implementing media gateway control protocol stack |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1482781A true CN1482781A (en) | 2004-03-17 |
CN100375479C CN100375479C (en) | 2008-03-12 |
Family
ID=34146820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB02137032XA Expired - Lifetime CN100375479C (en) | 2002-09-14 | 2002-09-14 | Network system and method for implementing media gateway control protocol stack |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100375479C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100531224C (en) * | 2005-05-20 | 2009-08-19 | 中国科学院声学研究所 | High-speed stream media data transferring system and its transferring method |
CN102346460A (en) * | 2011-05-27 | 2012-02-08 | 运软网络科技(上海)有限公司 | Transaction-based service control system and method |
CN102713850A (en) * | 2010-01-11 | 2012-10-03 | 国际商业机器公司 | Transactional updating in dynamic distributed workloads |
CN107835327A (en) * | 2017-10-30 | 2018-03-23 | 北京佳讯飞鸿电气股份有限公司 | Maintaining method, the apparatus and system of the protocol stack queue of SGW |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2380014A1 (en) * | 1999-07-22 | 2001-02-01 | Telefonaktiebolaget Lm Ericsson | Transport of vertical control protocol messages on a switched communications network |
GB2355362B (en) * | 1999-10-12 | 2003-08-06 | Ericsson Telefon Ab L M | Media gateway control |
-
2002
- 2002-09-14 CN CNB02137032XA patent/CN100375479C/en not_active Expired - Lifetime
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100531224C (en) * | 2005-05-20 | 2009-08-19 | 中国科学院声学研究所 | High-speed stream media data transferring system and its transferring method |
CN102713850A (en) * | 2010-01-11 | 2012-10-03 | 国际商业机器公司 | Transactional updating in dynamic distributed workloads |
CN102713850B (en) * | 2010-01-11 | 2015-11-25 | 国际商业机器公司 | The method of workload manager and use thereof |
US9244722B2 (en) | 2010-01-11 | 2016-01-26 | International Business Machines Corporation | Transactional updating in dynamic distributed workloads |
US9904573B2 (en) | 2010-01-11 | 2018-02-27 | International Business Machines Corporation | Transactional updating in dynamic distributed workloads |
CN102346460A (en) * | 2011-05-27 | 2012-02-08 | 运软网络科技(上海)有限公司 | Transaction-based service control system and method |
CN102346460B (en) * | 2011-05-27 | 2013-11-13 | 运软网络科技(上海)有限公司 | Transaction-based service control system and method |
CN107835327A (en) * | 2017-10-30 | 2018-03-23 | 北京佳讯飞鸿电气股份有限公司 | Maintaining method, the apparatus and system of the protocol stack queue of SGW |
CN107835327B (en) * | 2017-10-30 | 2020-01-07 | 北京佳讯飞鸿电气股份有限公司 | Method, device and system for maintaining protocol stack queue of signaling gateway |
Also Published As
Publication number | Publication date |
---|---|
CN100375479C (en) | 2008-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6678735B1 (en) | Method and apparatus for a sip client manager | |
JP2003502945A (en) | System and method for providing value added service (VAS) in a telecommunications network using session initiation protocol (SIP) | |
JPWO2005039075A1 (en) | Road-to-vehicle communication system, base station apparatus, and mobile station apparatus | |
CN101371555A (en) | Method and device for generating and sending signaling messages | |
CN1812405A (en) | Reliable one-way messaging over request-response transport protocols | |
CN101188618B (en) | Method, system, server and terminal for canceling push message | |
CN1725743A (en) | Methods and apparatus for providing signalling gateways with multi-network support | |
CN101459533B (en) | System and method for improved application server disaster tolerance in next generation network | |
US7639670B2 (en) | Broadcast fax transmission system | |
CN100375479C (en) | Network system and method for implementing media gateway control protocol stack | |
CN1567905A (en) | A method for monitoring operating state of media gateway controller by media gateway | |
CN101150443B (en) | Processing method for telecommunication network management message | |
CN1147105C (en) | Network intercommunication implementing server | |
CN1201546C (en) | Method, gateway and arrangement in communication network | |
WO2010009666A1 (en) | Method, system and device for implementing multimedia service | |
CN1633096A (en) | A method of short message value-added service access | |
CN101119370A (en) | Call management system, method and IMS terminal for IMS terminal | |
CN101527670A (en) | Configuration method and device for full header information message | |
CN1870622B (en) | Message transfer method | |
CN1905515A (en) | Connecting establishing and message for warding oriented method on signalling gateway | |
CN101652002A (en) | Device, system and method of content adaptation | |
CN1494289A (en) | Method of implementing business transmission control in medium gateway control protocol | |
CN1176544C (en) | Method for carrying calling number by calling PC client terminal in medium gateway control protocol | |
CN101267426B (en) | Route optimization method for session initialization protocol | |
CN101111002A (en) | Lossless transmission method in IP field junction centre after implementing business change by voice |
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 | ||
CX01 | Expiry of patent term |
Granted publication date: 20080312 |
|
CX01 | Expiry of patent term |