CN1306779C - Medium flow processing method in IP network - Google Patents
Medium flow processing method in IP network Download PDFInfo
- Publication number
- CN1306779C CN1306779C CNB031203957A CN03120395A CN1306779C CN 1306779 C CN1306779 C CN 1306779C CN B031203957 A CNB031203957 A CN B031203957A CN 03120395 A CN03120395 A CN 03120395A CN 1306779 C CN1306779 C CN 1306779C
- Authority
- CN
- China
- Prior art keywords
- calling
- called
- address
- media stream
- gateway
- 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 relates to a medium flow processing method in an IP network. In order to solve the problem that the existing IP access technology has two times of coding/decoding, after an ETG receives a calling access request started by a calling party, whether a called party belongs to the same ETG is judged, if true, then the ETG instructs the access gateway devices of the calling party and the called party to modify or set the opposite addresses of the calling party and the called party of the medium flow according to the condition whether an access gateway device obtains an RTP address of a medium flow receiving party; an IP address and a port number corresponding to the called party are used as an opposite address of the calling party of the medium flow, and an IP address and a port number corresponding to the calling party are used as an opposite address of the called party of the medium flow; thereby, the medium flows between the calling party and the called party are directly connected. The original two times of coding/decoding is changed into once coding/decoding by the scheme, and thereby, performance parameters, such as conversation quality, time delay, etc., are improved; simultaneously, the exit bandwidth is saved, and the carrying capacity of a system to a large quality of calling is improved.
Description
Technical field
The present invention relates to the IP access technology, more particularly, relate to the media stream processing method in a kind of IP network.
Background technology
The IP access technology, be on the basis of existing IP phone gateway function, increase MGCP (MGCP)/H.248 network side and V5 agreement/No.7 signaling protocol and insert the side function, make the IP phone gateway change Edge Trunk Gateway (ETG) into, realize signaling conversion and media stream transition function, its structure as shown in Figure 1, wherein:
In local switch (LE) side, Edge Trunk Gateway+access media gateway/integrated access equipment (being ETG+AMG/IAD) shows as an Access Network (AN);
In access media gateway/integrated access equipment (AMG/IAD) side, local switch+Edge Trunk Gateway (LE+ETG) shows as a Media Gateway Controller (MGC).
Edge Trunk Gateway wherein is responsible for finishing the conversion between MGCP signaling and the V5 signaling, inserts with IP at Access Layer to replace original V5 access way.
Because a large amount of employing of IP access technology has mature technique now, good stability, networking is simple, flexible, and have characteristics of some next generation network (NGN) technology, thereby can be used as operator from the middle scheme of existing network to the NGN transition, as yet not under the situation of large-scale application, has vast market prospect in present NGN technology.
But the characteristics of IP access technology have determined the existence of twice encoding and decoding problem.In the IP access technology, if the user under the same Edge Trunk Gateway converses mutually, with the user terminal under two access media gateways is example, as shown in Figure 2, will be through user terminal--AMG1--ETG--LE--ETG--AMG2--user terminal 2 these calling procedures, the Media Stream that call out on each road of its correspondence all needs the conversion through CM--IP--PCM--IP--PCM.This just means, in communication process, has carried out the coding-decoding operation from PCM--IP twice, i.e. twice encoding and decoding.In this case, speech quality meeting variation, time delay also is a former twice.
Summary of the invention
At above-mentioned defective, the present invention will solve existing twice encoding and decoding problem in the existing IP access technology, to improve the speech quality of IP access technology.The technical solution adopted for the present invention to solve the technical problems is: the media stream processing method in a kind of IP network, it is characterized in that, and after Edge Trunk Gateway receives that calling that the calling subscriber initiates inserts request, carry out following steps:
(1) called subscriber is analyzed, judge whether the called subscriber belongs to this Edge Trunk Gateway;
(2) if the called subscriber belongs to this Edge Trunk Gateway, then with the IP address of called subscriber's correspondence and port numbers address, opposite end as the Media Stream Calling Side, and with the IP address of calling subscriber's correspondence and port numbers address, opposite end, thereby the Media Stream between the calling and called is directly linked to each other as the Media Stream callee side.
According to method of the present invention, in described step (2), further comprising the steps of:
(A) judge whether the accessing gateway equipment of calling and called side has obtained Media Stream recipient's RTP address earlier;
(B) if obtained Media Stream recipient's RTP address, real-time transmission protocol path between the access media gateway device at then first cut-out Edge Trunk Gateway and caller and called users place, then Edge Trunk Gateway is indicated the accessing gateway equipment of calling and called side, change the IP address and the port numbers of called subscriber's correspondence into by its address, opposite end with the Media Stream Calling Side, and change the address, opposite end of Media Stream callee side the IP address and the port numbers of calling subscriber's correspondence into, thereby the Media Stream between the calling and called is directly linked to each other;
(C) if do not obtain Media Stream recipient's RTP address, then Edge Trunk Gateway is indicated the accessing gateway equipment of calling and called side, by its opposite end address setting be called subscriber's correspondence IP address and port numbers with the Media Stream Calling Side, and be the IP address and the port numbers of calling subscriber's correspondence, thereby the Media Stream between the calling and called is directly linked to each other with the opposite end address setting of Media Stream callee side.
According to method of the present invention, make after Media Stream between the calling and called directly links to each other finishing described step (2), further comprising the steps of: as to judge whether to receive caller or called subscriber on-hook/hooking signal or abnormal signal, if then control the accessing gateway equipment at caller and called users place, the address of the address, opposite end of Media Stream Calling Side and callee side all being revised as described Edge Trunk Gateway by described Edge Trunk Gateway.
In the step (1) of the method for the invention, described Edge Trunk Gateway inserts the called number that carries in the solicited message according to the calling that the calling subscriber initiates, search its User Information Database, judge whether to exist this called number, if there is this called number, then described caller and called users belongs to this Edge Trunk Gateway; If there is no this called number, then the called subscriber does not belong to this Edge Trunk Gateway.
In method of the present invention, the position of described call subscriber terminal and called user terminal can be on same accessing gateway equipment, perhaps on different accessing gateway equipments; Described accessing gateway equipment can be access media gateway or integrated access equipment.
Adopt after the said method of the present invention, when the user under the same Edge Trunk Gateway converses mutually, with respectively the master of two different access media gateways, the called subscriber is an example, original calling procedure becomes user terminal 1--AMG1--AMG2--user terminal 2, only need to get final product through the conversion of PCM--IP--PCM, i.e. encoding and decoding for once, reduced the conversion of gateway side, thereby make speech quality, performance parameters such as time delay are improved, reduced the processing burden of Edge Trunk Gateway, simultaneously can save port band width, the raising system also can satisfy the special debugging of operator or equipment manufacturers to the bearing capacity of Bulk Call, testing requirement.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the schematic diagram that IP inserts networking;
Fig. 2 is the view when not carrying out internal loopback in the existing IP access technology;
Fig. 3 is the view that adopts after method of the present invention is carried out internal loopback;
Fig. 4 be among the present invention behind the loop down view;
Fig. 5 is the flow chart that carries out loop back processing being in a preferred embodiment of the invention.
Embodiment
It among the present invention the problem that solves twice encoding and decoding in the IP access technology by the method for internal loopback.When a certain user (being the calling subscriber) calls out another user's (being the called subscriber) telephone terminal by telephone terminal, its flow process as shown in Figure 5, after ETG receives that calling that the calling subscriber initiates inserts request, the caller and called users number is analyzed, promptly in the User Information Database of ETG, searched called number; If in database, can not find this called number, represent that then called number does not belong to this ETG, finish subsequent operation by its Media Stream recipient RTP address that normally obtains this moment, need not revise or reset the address, opposite end of described Media Stream calling and called side; If find this called number, represent that then the caller and called users number belongs to this ETG, then need the address, opposite end of Media Stream is provided with or revises.
When concrete setting or modification, judge whether the accessing gateway equipment of calling and called side has obtained Media Stream recipient's RTP address earlier.If obtained Media Stream recipient's RTP address, then ETG indicates the accessing gateway equipment of calling and called side, change the IP address and the port numbers of called subscriber's correspondence into by its address, opposite end with the Media Stream Calling Side, and change the address, opposite end of Media Stream callee side the IP address and the port numbers of calling subscriber's correspondence into, thereby the Media Stream between the calling and called is directly linked to each other; If do not obtain Media Stream recipient's RTP address, then ETG indicates the accessing gateway equipment of calling and called side, by its opposite end address setting be called subscriber's correspondence IP address and port numbers with the Media Stream Calling Side, and be the IP address and the port numbers of calling subscriber's correspondence, thereby the Media Stream between the calling and called is directly linked to each other with the opposite end address setting of Media Stream callee side.
As shown in Figure 3, by the way, calling and called speech path passage is directly linked to each other, finish the IP network internal loopback.After the IP network internal loopback, speech channel directly transmits from the Media Stream passage between two AMG, and the path between AMG and the ETG is processed voice no longer, only keeps so that switch.
As shown in Figure 4, when caller or called subscriber's on-hook/hooking or abnormal conditions occurring, accessing gateway equipment by ETG control caller and called users place, the address, opposite end of Media Stream Calling Side and callee side all is revised as the address of ETG, thereby interrupt the speech path channel between the AMG, get back to normal condition shown in Figure 2.After ending internal loopback, still the original handling process that inserts according to IP is handled and is called out.
Before Fig. 2, Fig. 3, Fig. 4 show internal loopback respectively, after the internal loopback and the state when ending internal loopback.The flow direction of the lines presentation medium stream of band arrow among each figure, the dotted line among Fig. 3 represent that the Media Stream passage, the heavy line that keep between ETG and the AMG represent Media Stream passage newly-built between the AMG; Thick dashed line among Fig. 4 is represented the Media Stream passage that interrupted between the AMG.
In order to realize the IP network internal loopback, need set up the association of calling and called in ETG inside, ETG self must know that a new calling of initiating will be exhaled and where go that the position according to called user terminal determines whether carrying out internal loopback again.In IP inserts,, be a transmission part rather than a replacement part at present for the position of ETG in networking, after creating the speech path passage, for the number that the user dials, adopt the mode of transparent transmission to be sent to LE without exception, carry out corresponding number analysis by LE.
Therefore, if will realize the IP network internal loopback, just require ETG self must realize simple number analytical capabilities, and the controlled function of state exchange between having from the general state to the internal loopback.For this reason, need take following measure:
Increase the ETG attribute: whether be internal loopback,
Increase configuration order, number length.
Increase the loopback controlled function.
In addition, all users and information thereof under the ETG as telephone number etc., have all been preserved in its database, therefore only need to increase a query interface and get final product.
After ETG was configured to support the internal loopback pattern, during subscriber dialing, ETG can offer the loopback control module when number is offered LE.Detect the current wait Number Receiving Status that whether is in by the loopback control module, just collect number if be in the wait Number Receiving Status, after receiving predetermined figure place, state is changed to wait loopback attitude (no longer collecting the digits under this state), Query Database then, if finding has this number, the calling that belongs under the same ETG is described.
Loopback control module wherein quite is the Call Control Unit of an inside, when finding that the calling and called user is the user of ETG, just issues orders Media Stream is carried out from ring, to reduce by encoding and decoding in the IP side.Make Media Stream be handed down to caller and called respectively from the order of ring, corresponding control module is received the RTP passage that can cut off after this order between ETG and the AMG, the operation (wait to receive when recovering order and still can restore to the original state) of no longer receiving and dispatching the RTP bag.Revise address, Media Stream opposite end by ETG control AMG simultaneously, the address, opposite end of Calling Side is changed into the IP address and the port numbers of called subscriber's correspondence, and the address, opposite end of callee side is changed into the IP address and the port numbers of calling subscriber's correspondence, thereby the Media Stream between the calling and called is directly linked to each other, finish the network internal loopback.
Internal loopback of the present invention is sightless for switch, with the control channel of switch without any variation, when receiving user's on-hook, hookflash event and any unusual generation, the loopback control module will be controlled Media Stream and switch the state that returns something for repairs before changing.
Explanation in the foregoing description to the situation under the same ETG, when internal loopback is carried out in the conversation between the telephone terminal under two different AMG respectively, in fact the solution of the present invention is not limited to the foregoing description.For example the position of call subscriber terminal wherein and called user terminal can be at same AMG, perhaps at same IAD, perhaps respectively at two different IAD, perhaps user AMG, another user at IAD.
Used abbreviation in this patent file:
AMG:Access Media Gateway access media gateway;
IAD:Integrated Access Device integrated access equipment;
IP:Internet Protocol Internet protocol;
ETG:Edge Trunk Gateway Edge Trunk Gateway;
LE:Local Exchange local switch;
AN:Access Network Access Network;
MGC:Media Gateway Controller Media Gateway Controller;
NGN:Next Generation Network next generation network;
The modulation of PCM:Pulse Code Modulation pulse (volume) sign indicating number;
MGCP:Media Gateway Control Protocol MGCP;
RTP:Real-time Tansport Protocol RTP.
Claims (6)
1, the media stream processing method in a kind of IP network is characterized in that, after Edge Trunk Gateway receives that calling that the calling subscriber initiates inserts request, carries out following steps:
(1) called subscriber is analyzed, judge whether the called subscriber belongs to this Edge Trunk Gateway;
(2) if the called subscriber belongs to this Edge Trunk Gateway, then with the IP address of called subscriber's correspondence and port numbers address, opposite end as the Media Stream Calling Side, and with the IP address of calling subscriber's correspondence and port numbers address, opposite end, thereby the Media Stream between the calling and called is directly linked to each other as the Media Stream callee side.
2, method according to claim 1 is characterized in that, and is in described step (2), further comprising the steps of:
(A) judge whether the accessing gateway equipment of calling and called side has obtained Media Stream recipient's RTP address earlier;
(B) if obtained Media Stream recipient's RTP address, then at first cut off the real-time transmission protocol path between the access media gateway device at Edge Trunk Gateway and caller and called users place, then Edge Trunk Gateway is indicated the accessing gateway equipment of calling and called side, change the IP address and the port numbers of called subscriber's correspondence into by its address, opposite end with the Media Stream Calling Side, and change the address, opposite end of Media Stream callee side the IP address and the port numbers of calling subscriber's correspondence into, thereby the Media Stream between the calling and called is directly linked to each other;
(C) if do not obtain Media Stream recipient's RTP address, then Edge Trunk Gateway is indicated the accessing gateway equipment of calling and called side, by its opposite end address setting be called subscriber's correspondence IP address and port numbers with the Media Stream Calling Side, and be the IP address and the port numbers of calling subscriber's correspondence, thereby the Media Stream between the calling and called is directly linked to each other with the opposite end address setting of Media Stream callee side.
3, method according to claim 1 and 2, it is characterized in that, make after Media Stream between the calling and called directly links to each other finishing described step (2), further comprising the steps of: as to judge whether to receive caller or called subscriber on-hook/hooking signal or abnormal signal, if then control the accessing gateway equipment at caller and called users place, the address of the address, opposite end of Media Stream Calling Side and callee side all being revised as described Edge Trunk Gateway by described Edge Trunk Gateway.
4, method according to claim 1 and 2, it is characterized in that, in described step (1), described Edge Trunk Gateway inserts the called number that carries in the solicited message according to the calling that the calling subscriber initiates, search its User Information Database, judge whether to exist this called number, if there is this called number, then described caller and called users belongs to this Edge Trunk Gateway; If there is no this called number, then the called subscriber does not belong to this Edge Trunk Gateway.
5, method according to claim 1 and 2 is characterized in that, the position of described call subscriber terminal and called user terminal can be on same accessing gateway equipment, perhaps on different accessing gateway equipments.
6, method according to claim 1 and 2 is characterized in that, described accessing gateway equipment comprises access media gateway and integrated access equipment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031203957A CN1306779C (en) | 2003-03-18 | 2003-03-18 | Medium flow processing method in IP network |
PCT/CN2004/000185 WO2004079994A1 (en) | 2003-03-06 | 2004-03-08 | Ip access system and method for performing voice service and media-stream process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031203957A CN1306779C (en) | 2003-03-18 | 2003-03-18 | Medium flow processing method in IP network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1533107A CN1533107A (en) | 2004-09-29 |
CN1306779C true CN1306779C (en) | 2007-03-21 |
Family
ID=34285373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB031203957A Expired - Fee Related CN1306779C (en) | 2003-03-06 | 2003-03-18 | Medium flow processing method in IP network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1306779C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937620A (en) * | 2005-09-23 | 2007-03-28 | 华为技术有限公司 | Media flow transmission address consulting method |
CN100456893C (en) | 2006-09-30 | 2009-01-28 | 华为技术有限公司 | Load-supporting method and system for voice data |
CN101193117B (en) * | 2006-11-28 | 2011-11-02 | 华为技术有限公司 | Intercommunication method, access network and wireless network between terminals |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001031886A2 (en) * | 1999-10-22 | 2001-05-03 | Nomadix, Inc. | Systems and methods for redirecting users attempting to access a network site |
CN1361996A (en) * | 1999-07-19 | 2002-07-31 | 艾利森电话股份有限公司 | Implementation of call setup procedures with separation of call control and bearer control |
-
2003
- 2003-03-18 CN CNB031203957A patent/CN1306779C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1361996A (en) * | 1999-07-19 | 2002-07-31 | 艾利森电话股份有限公司 | Implementation of call setup procedures with separation of call control and bearer control |
WO2001031886A2 (en) * | 1999-10-22 | 2001-05-03 | Nomadix, Inc. | Systems and methods for redirecting users attempting to access a network site |
Also Published As
Publication number | Publication date |
---|---|
CN1533107A (en) | 2004-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1192588C (en) | Method for changing quality of service for voice over IP calls | |
CN100346624C (en) | Route-selecting service method in network agreement voice bussiness system | |
CN1421091A (en) | Methods for providing prepaid telephony service via internet protocol network system | |
CN1636352A (en) | Method for making available features for alternative connections of primary connections | |
CN1288884C (en) | IP access method and system of phonetic service | |
CN1124725C (en) | Telephone exchange system and method based on internet protocol | |
CN1306779C (en) | Medium flow processing method in IP network | |
CN1633129A (en) | A media server based on soft switch | |
CN1913619A (en) | IP video telephone without dependent on server and its implementing method | |
CN1567905A (en) | A method for monitoring operating state of media gateway controller by media gateway | |
CN1112008C (en) | Internet telephone exchanging system | |
CN1885962A (en) | Realization method for controlling and bearing dual homing in separate network | |
CN1992706A (en) | Method for adjusting statistical parameter value in media gateway | |
WO2006102834A1 (en) | A call connection method | |
JP2001230862A (en) | Voice relay system | |
CN1716945A (en) | Method for detecting medium flow service quality | |
CN1622555A (en) | Port dynamic binding module for media gateway and dynamic binding method thereof | |
CN1885879A (en) | Method for preventing VOIP system bandwidth overload | |
CN1735088A (en) | Next generation network media gateway calling full-flow tracking method | |
CN1501651A (en) | Call routing method in frame relay voice network | |
CN1798056A (en) | Method for triggering online maintenance | |
CN1725753A (en) | System and method for supporting telephone application function by computer in IP network | |
CN1889610A (en) | Large-capacity distributing signalling processing equipment and method thereof | |
CN1567834A (en) | A method for dynamically adjusting system service performance on service management point | |
CN1545272A (en) | Method of DTMF signalling intercommunication between network with separated bearing and controlling and public switching network |
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 |
Granted publication date: 20070321 Termination date: 20170318 |
|
CF01 | Termination of patent right due to non-payment of annual fee |