CN101867575A - Inter-network-element media hairpin connection method and system - Google Patents

Inter-network-element media hairpin connection method and system Download PDF

Info

Publication number
CN101867575A
CN101867575A CN201010188507A CN201010188507A CN101867575A CN 101867575 A CN101867575 A CN 101867575A CN 201010188507 A CN201010188507 A CN 201010188507A CN 201010188507 A CN201010188507 A CN 201010188507A CN 101867575 A CN101867575 A CN 101867575A
Authority
CN
China
Prior art keywords
terminal
subnet
media information
network element
call request
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
Application number
CN201010188507A
Other languages
Chinese (zh)
Other versions
CN101867575B (en
Inventor
王翠钟
宋容
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010188507.6A priority Critical patent/CN101867575B/en
Publication of CN101867575A publication Critical patent/CN101867575A/en
Application granted granted Critical
Publication of CN101867575B publication Critical patent/CN101867575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses an inter-network-element media hairpin connection method and a system. The method comprises the following steps that: subnets are divided on network elements communicating with each other according to network segments and the same identifier is configured for the subnets which have special connection and require the establishment of media hairpin connection; and if the subnet to which a calling-party terminal belongs and the subnet to which a called-party terminal belongs have the same identifier, the calling-party terminal uses the network element to transmit the media information of the calling-party terminal to the called-party terminal through a call request, the called-party terminal uses the network element to transmit the media information of the called-party terminal to the calling-party terminal through a call answer, and the calling-party terminal and the called-party terminal communicate with each other through the special connection between the subnets according to the media information of the opposite terminal, wherein the media information comprises network addresses and ports or contexts. The invention realizes the inter-network-element media hairpin connection, requires no network address translation, reduces the resource consumption of the network element equipment for conducting media forwarding or conversion and improves the security and the service quality of media transmission.

Description

A kind of media hairpin connection method of inter-network element and system
Technical field
The present invention relates to the communications field, especially the media hairpin connection method of inter-network element.
Background technology
Session Border Controller (SBC, Session Border Controller) is the notion that the Internet engineering duty group (IETF) proposes, be used for solving boundary Control problem, as the boundary Control of Access Network and core backbone at next generation network (NGN) border session service.Often between two networks, it is mainly used in the network address translation (NAT passes through) of the Session Initiation Protocol signaling when realizing session, as the IP address transition in first network that will carry from the information that first network receives is the IP address of second network, information after this network address translation is sent to purpose network element in second network, and guarantee safety and service quality functions such as (QoS).As Access Network first entrance to core network, signaling that all terminal sessions are relevant and medium all pass through SBC and transmit.
As shown in Figure 1, two terminals are positioned at same subnet, be linked into core backbone by same SBC, when these two terminals when carrying out session, if the direct intercommunication of medium of mutual both sides' terminal, the centre need not be through the forwarding of SBC, and the medium that then claim these two terminal rooms are that local connection or hair clip (hairpin) connect, otherwise, be called non-hair clip and connect.Particularly, two terminals are being carried out signaling when consulting, and Session Description Protocol (SDP) message body of this section is sent to the other side, and this SDP message body comprises the media address and the port of local terminal, the SDP message body of the opposite end that these two terminal utilizations obtain is carried out route, carries out session.Hair clip connection can not only minimizing SBC or other media gateway (MGW, Media Gateway) equipment carry out the resource consumption that medium are transmitted or changed, and medium can improve the quality of server (QoS) of media delivery only by inner directly-connected network transmission.
Yet prior art only can in the same subnet and the hair clip of setting up medium of the terminal session under the same SBC connect, to the terminal session different SBC under, or the terminal session between different sub-network can't set up the hair clip connection of medium, must be by the switching of SBC.As shown in Figure 2, two terminal T1 lay respectively at different subnet interior (subnet 1 and subnet 2) with T2, be linked into core backbone by different SBC (SBC1 and SBC2), though between subnet 1 and the subnet 2 private line access is arranged, but still can't set up the hair clip connection of medium by this private line access, can only be routed to core net by SBC1 as shown in phantom in Figure 2, be sent to SBC2 again and transfer.
Two terminals that participate in session will realize that media hairpin connects, except that these two terminals are wanted also must solve following two problems the directly intercommunication on physical connection:
1) how SBC judges that these two terminal rooms can set up hair clip and connect;
2) can carry out hair clip as these two terminals and connect, how carry out the processing that hair clip connects.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of media hairpin connection method of inter-network element, can realize that terminal is positioned under the different network elements or during different subnets, the hair clip of setting up medium in session connects.
In order to address the above problem, the invention provides a kind of media hairpin connection method of inter-network element, it is characterized in that:
On the network element of the intercommunication mutually in network network is divided subnet according to the network segment, to having private line access and will setting up the identical sign of subnet configuration of the hair clip connection of medium;
Has identical sign as the subnet of calling terminal ownership and the subnet of terminal called ownership, then this calling terminal utilizes described network element that the media information of this terminal is sent to terminal called by call request, this terminal called utilizes described network element that the media information of this terminal is sent to this calling terminal by call answering, and this calling terminal and terminal called communicate by the private line access between described subnet according to the media information of distant terminal;
Described media information comprises the network address and port, or context.
Further, the sign of the subnet that belongs to respectively as this calling terminal and terminal called is different, and then this calling terminal and terminal called utilize described network element to communicate.
Further, described calling terminal belongs to different network element 1 and network element 2 respectively with terminal called, and this network element 1 connects the subnet of this calling terminal ownership, and this network element 2 connects the subnet of this terminal called ownership;
This calling terminal makes a call, this network element 1 is received the call request of this calling terminal, described call request is sent to this network element 2 by the core net switching equipment, and this call request comprises the sign of the media information and the subnet that this calling terminal belongs to of this calling terminal;
This network element 2 is received this call request, judges whether the sign of the subnet that this calling terminal and this terminal called belong to respectively is identical, and in this way, then the media information with this calling terminal sends to this terminal called.
Further, this terminal called returns call, and this network element 2 sends to this network element 1 with this call by the core net switching equipment, and this call comprises the sign of the media information and the subnet that this terminal called belongs to of this terminal called;
This network element 1 is received this call, judges whether the sign of the subnet that this terminal called and this calling terminal belong to respectively is identical, and in this way, then the media information with this terminal called sends to this calling terminal.
Further, the call request that this network element 1 sends comprises the sign of the subnet of the media information of this calling terminal and ownership thereof, is that sign with the subnet of the media information of this calling terminal and ownership thereof is as additional information or extension header field;
This network element 2 is received this call request, judge also whether this call request comprises this additional information or extension header field, in this way, then this additional information or extension header field are resolved, obtain the sign of the subnet of the media information of this calling terminal and ownership thereof, sign with the subnet of this terminal called ownership compares again, as identical, then delete this additional information or extension header field, the media information of this calling terminal is sent to this terminal called as source end media information by call request, otherwise the media information of this network element is sent to this terminal called as source end media information by call request.
Further, the call that this network element 2 sends comprises the sign of the subnet of the media information of this terminal called and ownership thereof, is that sign with the subnet of the media information of this terminal called and ownership thereof is as additional information or extension header field;
This network element 1 is received this call, judge also whether this call comprises this additional information or extension header field, in this way, then this additional information or extension header field are resolved, obtain the sign of the subnet of the media information of this terminal called and ownership thereof, sign with the subnet of this calling terminal ownership compares again, as identical, then delete this additional information or extension header field, the media information of this terminal called is sent to this calling terminal as source end media information by call, otherwise the media information of this network element is sent to this calling terminal as source end media information by call.
In order to address the above problem, the present invention also provides a kind of system that supports the media hairpin connection method of inter-network element, it is characterized in that, described system comprises network, passes through the network element of network mutual communication, and terminal, wherein:
This network is used for being divided into a plurality of subnets according to the network segment, has private line access between described subnet;
This network element, be used to preserve the information of described subnet, and the identical sign of the subnet configuration that the hair clip that will set up medium is connected, receive call request or call that terminal makes a call, the sign of the subnet of the media information of this terminal and ownership thereof is sent to the network side corresponding equipment, receive call request or call that network side sends, as judge that the subnet that this calling terminal and terminal called belong to respectively has identical sign, then the media information with the calling terminal that carries in this call request sends to this terminal called by the corresponding call request, and maybe the media information with the terminal called that carries in this call sends to this calling terminal by the corresponding call response; Described media information comprises the network address and port, or context;
This terminal when being used to make a call, to the network element transmission call request of its ownership, is carried the media information of this terminal; Receive call request or call that this network element sends,, communicate by this private line access and distant terminal according to the media information that carries in this call request or the call.
Further, this network element, be used to also judge that the subnet that this calling terminal and terminal called belong to respectively has different signs, then the media information with this this network element sends to this terminal called by the corresponding call request, and maybe the media information with this this network element sends to this calling terminal by the corresponding call response;
This terminal also is used to receive the call request or the call of this network element transmission, according to the media information of this network element that carries in this call request or the call, communicates by this network element and distant terminal.
Further, described system also comprises the core net switching equipment, is used to receive call request or the response that network element sends, and is forwarded to corresponding net element;
The message parse package module of described network element after also being used to receive the call request of terminal or call and encapsulating, sends to the core net switching equipment by this interface module with this call request or call.
Further, described network element further comprises subnet maintenance module, message parse and package module, media information maintenance module and interface module, wherein:
This subnet maintenance module is used to preserve the sign of the subnet of the information of described subnet and configuration;
This media information maintenance module is used for the media information of maintenance terminal and network element;
This message parse and package module, be used to resolve the call request or the call that receive, and inquire about this media information maintenance module, determine the source of this call request or response, as judge that this call request or response are that terminal sends, then inquire about the sign of the subnet of this terminal attaching from the subnet maintenance module, the media information of this network element, the media information of this terminal and the sign of this subnet are encapsulated in corresponding call request or the response, send to this core net switching equipment by interface module; As judge that this call request or response are that the core net switching equipment sends, then resolve the media information of carried terminal in this call request or the response and the sign of subnet, and inquire about this media information maintenance module, determine the distant terminal that this call request or response will send to, and the sign of inquiring about the subnet of this distant terminal ownership from the subnet maintenance module, judge the sign inquire with this call request or the sign of the subnet that carries in responding whether identical, in this way, then the media information of the terminal of carrying in this call request or the response is encapsulated in corresponding call request or the response and sends to this distant terminal;
This interface module is used to core net switching equipment or the terminal transmitting the call request of message package module or respond correspondence, receives the call request that this core net switching equipment or terminal send or responds this message resolution module.
Further, the message parse of described network element and package module, also be used to receive call request or response that terminal sends, the sign of the subnet of the media information of this terminal and ownership thereof is encapsulated in corresponding call request or the response as additional information or extension header field; Receive call request or response that the core net switching equipment sends, judge whether this call request or response comprise this additional information or extension header field, in this way, then this additional information or extension header field are resolved, obtain the sign of the subnet of the media information of the terminal of wherein carrying and ownership thereof, whether the sign of the subnet of the distant terminal that the sign of judging the subnet that carries in this call request or the response and this inquiry obtain is identical, in this way, then delete this additional information or extension header field, also the media information of the terminal that this call request or response are carried is encapsulated in corresponding call request or the response as source end media information; As inequality, then delete this additional information or extension header field, the media information of this network element is encapsulated in corresponding call request or the response as source end media information.
The present invention is by dividing subnet to network according to the network segment on the network element of intercommunication mutually, to having private line access and will setting up the identical sign of subnet configuration of the hair clip connection of medium, when calling terminal and terminal called when the subnet of ownership has identical sign respectively, by the media information notice terminal called of described network element with calling terminal, and with the media information of terminal called notice calling terminal, the media information that the utilization of calling and called terminal obtains communicates by this private line access, the media hairpin of having realized inter-network element connects, do not need to carry out network address translation, reduce network element device and carried out the resource consumption that medium are transmitted or changed, and also carry out media hairpin for the calling of inter-network element or subnet and connect, can better improve the fail safe and the service quality QoS of media delivery, in addition, the present patent application is carried out the parsing and the encapsulation of message on network element, only change form by the message of public network and core net soft switch SS transmission, the message that sends to terminal is same as the prior art, do not need terminal to do special processing, terminal communicates according to normal session flow process, and is therefore little to the change of network.
Description of drawings
Fig. 1 sets up the schematic diagram of the hair clip connection of medium for the terminal under the same subnet of same SBC;
Fig. 2 sets up the schematic diagram of the hair clip connection of medium for the terminal under the different SBC different sub-networks of present embodiment;
Fig. 3 sets up the call flow diagram that media hairpin connects for the terminal under the different SBC of present embodiment;
Fig. 4 is the structure chart of the network element of the media hairpin connection method of present embodiment support inter-network element.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
Can't realize in the prior art that in order to solve inter-network element sets up the problem that media hairpin connects, in the present embodiment, the network maintenance staff is divided into subnet according to the network segment with network according to networking situation and the needs that the hair clip of setting up medium is connected on network element, have private line access between subnet.
Has identical sign as the subnet of calling terminal ownership and the subnet of terminal called ownership, then this calling terminal utilizes described network element that the media information of this terminal is sent to terminal called by call request, this terminal called utilizes described network element that the media information of this terminal is sent to this calling terminal by call, and this calling terminal and terminal called utilize the private line access between described subnet to communicate.Described media information comprises the network address and port, or context.Described network element is can command transmitting and the network element of media data, comprises Session Border Controller (SBC) and media gateway (MGW) etc.
Present embodiment is that example is described in more detail with the method that the media hairpin of striding Session Border Controller (SBC) connects.As shown in Figure 2, the needs that the network maintenance staff is connected with the hair clip of setting up medium according to the networking situation, on SBC1 and SBC2, network is divided into subnet according to the network segment, wherein terminal T1 is connected to SBC1 by subnet 1, terminal T2 is connected to SBC2 by subnet 2, and is subnet 1 and the identical sign tagX of subnet 2 configurations.Between subnet 1 and the subnet 2 private line access is arranged, as the VPN network, so the terminal T2 of the terminal T1 of subnet 1 and subnet 2 directly intercommunication physically.SBC1 and SBC2 also are connected to core net soft switch (SS) by public network respectively.In order to guarantee network security and service quality, subnet 1 belongs to different networks with subnet 2 and public network, the network address translation (NAT passes through) of the SIP signaling when finishing session by SBC.
The network maintenance staff also adds different signs or does not add sign the subnet that can not carry out the media hairpin connection each other.
Between present embodiment terminal and the SBC, and Session Initiation Protocol is adopted in the transmission of the signaling between SBC and the core net soft switch.Media information comprises media address and port.The terminal T1 that is connected with SBC1 by subnet 1 invites the terminal T2 that is connected with SBC2 by subnet 2 to carry out session, and present embodiment is striden the media hairpin connection method of SBC and set up the hair clip step of connecting as shown in Figure 3, comprising:
Step S301: terminal T1 initiation session sends to SBC1 with the media information of this terminal by outer request (INVITE) message (being called initial INVITE again) of session;
In the prior art, comprise Session Description Protocol (SDP) message body in the INVITE request message, be used to fill in source end media information, it is capable and m is capable that this SDP message body comprises c, is respectively media address and port.Write the media address T1_media_ip and the port T1_media_port of this terminal in the SDP message body of terminal T1 in the INVITE request message, as follows, send to SBC1 then.
The media address of //c behavior terminal T1
c=IN?IP4?T1_media_ip
The port of //m behavior terminal T1
m=audio?T1_media_port?RTP/AVP?0?4?8?18?97
Step S302:SBC1 receives this INVITE request message, and the media information of oneself, the media information of terminal T1 and the sign of the subnet that terminal T1 belongs to are sent to core net soft switch SS by request message;
SBC1 receives the outer INVITE request message of session of terminal T1 transmission and resolves, obtain the media information of this calling terminal, and according to the regulation of Session Initiation Protocol, resolve the routing information of this request message, the source of determining this request message is a terminal, according to the address and the port of this terminal, determine the subnet 1 that this terminal T1 is belonged to, and obtain the subnet sign tagX of network maintenance staff for this subnet 1 configuration.
SBC1 revises the INVITE request message of terminal according to the SBC call flow of prior art, is media address and the port of SBC towards public network (core backbone) side with capable media address and the capable port modifications of m of c in the SDP message body wherein.Present embodiment is also expanded the INVITE request message, increases a parameter or a field, and the sign of media address, port and the subnet 1 of terminal T1 is encapsulated in the INVITE request message.As expand a stature field, it is capable to increase a in SDP message body, is used for writing the sign of media address, port and the subnet 1 of terminal T1.The a of this SDP message body is capable, and c is capable and m is capable as follows:
The media address of //c behavior SBC1
c=IN?IP4?SBC1_NNI_media_ip
The port of //m behavior SBC1
m=audio?SBC1_NNI_media_port?RTP/AVP?0?4?8?18?97
The sign of media address, port and the subnet 1 of //a behavior terminal T1
a=sbc_hairpin:tagX?m_ip=T1_media_ip?m_port=T1_media_port
After revising this INVITE, SBC1 utilizes the routing policy of prior art by disposing, with the core network element equipment of this forwards to the core backbone side, as soft switch (SS).
Step S303: the SDP message body part of the INVITE request message of reception is not revised in core net soft switch (SS), by the customer location location, sends the INVITE request message to the SBC2 of terminal called T2 ownership;
The core net soft switch for the consideration of aspects such as performance and safety, is generally only carried out the INVITE request message that routing forwarding is received because core is compared in its residing network site, does not revise entrained SDP message body of this message.The a of core net soft switch (SS) SDP message body in the INVITE request message that SBC2 sends is capable, c is capable and m is capable constant, still is:
The media address of //c behavior SBC1
c=IN?IP4?SBC1_NNI_media_ip
The port of //m behavior SBC1
m=audio?SBC1_NNI_media_port?RTP/AVP?0?4?8?18?97
The sign of media address, port and the subnet 1 of //a behavior terminal T1
a=sbc_hairpin:tagX?m_ip=T1_media_ip?m_port=T1_media_port
Step S304:SBC2 receives the INVITE that the core net soft switch sends, whether the sign of judging the subnet 2 that sign and the terminal T2 of the subnet 1 of the terminal T1 ownership of carrying in this message belong to is identical, in this way, then the media information with terminal T1 sends to terminal T2, as not, then this SBC2 is sent to terminal T2 towards the media information of subnet 2 sides;
SBC2 receives the regulation of this INVITE according to Session Initiation Protocol, resolves the routing information of this INVITE, judges that this message is from core-network side.When SDP message body is handled, check in this message body whether comprise that a is capable earlier, in this way, then the capable content of a is resolved, take out subnet sign tagX, the media address of terminal T1 and port; Search terminal T2 according to the subnet of dividing then and belong to subnet 2, and in the subnet sign of configuration, obtain the sign tagX of this subnet 2; The sign of subnet 2 sign with the subnet 1 that obtains from this INVITE request message is compared.As difference, then SBC2 handles according to the flow process of prior art, the SDP message body in this INVITE request message is revised as the media information of SBC2, so that terminal T2 and T1 utilize SBC2 and SBC1 to carry out route conversation; As identical, then SBC2 determines that terminal T1 is connected with the hair clip that T2 can carry out medium, SBC2 revises SDP message body, media address and port that media address that wherein c is capable and m is capable and port are revised as terminal T1 respectively, the a of deletion expansion simultaneously is capable, sends amended INVITE request message to terminal T2.Capable and the m behavior of the c of SDP message body in this INVITE:
The media address of //c behavior terminal T1
c=IN?IP4?T1_media_ip
The port of //m behavior terminal T1
m=audio?T1_media_port?RTP/AVP?0?4?8?18?97
Step S305: terminal T2 receives the INVITE request message that SBC2 sends, and as called subscriber's invitation that accepts session, then terminal T2 returns the 200OK response message to SBC2, carries the media information of this terminal;
Terminal T2 resolves SDP message body in this INVITE request message, obtains media address and the port of terminal T1.As called subscriber's invitation that accepts session, then terminal T2 returns the 200OK response message to SBC2 to this INVITE request message, and adds SDP message body in this response message, the media address of carried terminal T2 and port, and the capable and m behavior of the c of this SDP message body:
The media address of //c behavior terminal T2
c=IN?IP4?T2_media_ip
The port of //m behavior terminal T2
m=audio?T2_media_port?RTP/AVP?0?4?8?18?97
The 200OK response message that step S306:SBC2 receiving terminal T2 sends returns the media information of this network element, the media information of terminal T2 and the sign of the subnet 2 that terminal T2 belongs to by the 200OK response message to core net soft switch (SS);
SBC2 receives this 200OK response message, judge that this message comes self terminal, similar with the INVITE request message of SBC1 processing terminal T1, SBC2 searches the subnet 2 of terminal T2 ownership, obtain the sign tagX of this subnet 2, a of expansion is capable in the SDP of this 200OK response message message body, writes the sign of media address, port and the subnet 2 of terminal T2.The a of this SDP message body is capable, c is capable and m is capable as follows:
The media address of //c behavior SBC2
c=IN?IP4?SBC2_NNI_media_ip
The port of //m behavior SBC2
m=audio?SBC2_NNI_media_port?RTP/AVP?0?4?8?18?97
The sign of media address, port and the subnet 2 of //a behavior terminal T2
a=sbc_hairpin:tagX?m_ip=T2_media_ip?m_port=T2_media_port
Step S307: core net soft switch (SS) receives the 200OK response message of SBC2, does not revise SDP message body in this response message, and this response message is carried out simple process, is transmitted to SBC1;
The a of core net soft switch (SS) SDP message body in the INVITE request message that SBC2 sends is capable, c is capable and m is capable constant, still is:
The media address of //c behavior SBC2
c=IN?IP4?SBC2_NNI_media_ip
The port of //m behavior SBC2
m=audio?SBC2_NNI_media_port?RTP/AVP?0?4?8?18?97
The sign of media address, port and the subnet 2 of //a behavior terminal T2
a=sbc_hairpin:tagX?m_ip=T2_media_ip?m_port=T2_media_port
Step S308:SBC1 receives the 200OK response message that the core net soft switch sends, whether the sign of judging the subnet 1 that sign and the terminal T1 of the subnet 2 of the terminal T2 ownership of carrying in this message belong to is identical, in this way, then the media information with this terminal T2 sends to terminal T1, as not, then SBC1 is sent to terminal T1 towards the media information of subnet 1 side;
Similar with the processing that SBC2 did among the step S304, SBC2 receives that this 200OK response message judges that this message is from core-network side, when SDP message body is handled, check in this message body whether comprise that a is capable earlier, in this way, then the capable content of a is resolved, take out subnet sign tagX, the media address of terminal T2 and port; Then the sign of subnet 1 sign with the subnet 2 that obtains from this 200OK response message is compared.As difference, then SBC1 handles according to the flow process of prior art, changes the SDP message body in this 200OK response message the media information of SBC1 into, so that terminal T1 and T2 utilize SBC1 and SBC2 to carry out route conversation; As identical, then SBC1 determines that terminal T1 is connected with the hair clip that T2 can carry out medium, SBC1 revises SDP message body, media address and port that media address that wherein c is capable and m is capable and port are revised as terminal T2 respectively, the a of deletion expansion simultaneously is capable, sends amended 200OK response message to terminal T1.Capable and the m behavior of the c of SDP message body in this 200OK response message:
The media address of //c behavior terminal T2
c=IN?IP4?T2_media_ip
The port of //m behavior terminal T2
m=audio?T2_media_port?RTP/AVP?0?4?8?18?97
Step S309: terminal T1 receives the 200OK response message that SBC1 sends, and the media information that parsing SDP message body wherein obtains terminal T2 utilizes this media information to carry out route, sends ACK to terminal T2 and confirms request, and session is set up successfully;
Terminal T1 obtains media address T2_media_ip and the port T2_media_port of terminal T2 by the SDP message body of resolving this 200OK response message.So far, participate in the calling and called terminal T1 of session and physical medium address and the port that T2 both sides all obtain the opposite end.Terminal T1,, sends ACK to terminal T2 and confirms request shown in chain-dotted line among Fig. 2 by the private line access between subnet 1 and the subnet 2 according to the routing policy of message in the session.
Session between step S310: terminal T1 and the T2 is set up successfully, has realized that the hair clip of medium connects, and has not needed the forwarding of SBC1 and SBC2, by the private line access between subnet 1 and the subnet 2, shown in chain-dotted line among Fig. 2, carries out session.
To be not limited to SBC can also be the network element that media gateway etc. has the forwarding effect to this network element device in the present embodiment, this network can also be Time Division Multiplexing or asynchronous transmission (ATM) network, as this network is the TDM network, then this media information is a context, the agreement that adopts also is not limited to Session Initiation Protocol, and terminal T1 can belong to the different subnet with private line access with T2, and belongs to different network elements, also can belong to can direct communication same subnet, but belong to different network elements.
Present embodiment is supported the system of the media hairpin connection method of inter-network element, comprises network, the network element by the network mutual communication as shown in Figure 2, core net switching equipment and terminal, wherein:
This network is used for being divided into a plurality of subnets according to the network segment, has private line access between described subnet;
This core net switching equipment is used to receive call request or the response that network element sends, and route also is forwarded to the purpose network element;
This network element, be used to preserve the information of described subnet, and the identical sign of the subnet configuration that the hair clip that will set up medium is connected, receive the call request that calling terminal makes a call, the sign of the subnet of the media information of this calling terminal and ownership thereof is sent to the core net switching equipment of network side, described media information comprises the network address and port, or context; Receive the call request of the core net switching equipment transmission of network side, judge whether the subnet sign in this call request is identical with the sign of the subnet of terminal called ownership, in this way, then this calling terminal media information is sent to terminal called; Receive the call of this terminal called, the sign of the subnet of the media information of this terminal called and ownership thereof is sent to the core net switching equipment of network side; Receive the call of the core net switching equipment transmission of network side, judge whether subnet sign wherein is identical with the sign of the subnet of this calling terminal ownership, in this way, then this terminal called media information sent to calling terminal; As inequality, then the media information with this this network element sends to this terminal called by the corresponding call request, and maybe the media information with this this network element sends to this calling terminal by the corresponding call response;
This terminal when being used to make a call, sends the call request of the media information that comprises this terminal to the network element of its ownership; Receive call request or call that this network element sends, utilize the media information of the distant terminal that carries in this call request or the call, communicate by this private line access and distant terminal, or, communicate by this network element and distant terminal according to the media information of this network element that carries in this call request or the call.
Wherein, this network element further comprises subnet maintenance module, message parse and package module, media information maintenance module and interface module, wherein:
This subnet maintenance module is used to preserve the sign of the subnet of the information of described subnet and configuration, determines that according to the media information of terminal the sign of the subnet of this terminal attaching, the sign of described subnet are to connect and configuration for the hair clip of setting up medium;
This media information maintenance module is used for the media information of maintenance terminal and network element;
This message parse and package module, be used to resolve the call request or the call that receive, and inquire about this media information maintenance module, determine the source of this call request or response, as judge that this call request or response are that terminal sends, then inquire about the sign of the subnet of this terminal attaching from the subnet maintenance module, the media information of this network element, the media information of this terminal and the sign of this subnet are encapsulated in corresponding call request or the response, send to this core net switching equipment by interface module; As judge that this call request or response are that the core net switching equipment sends, then resolve the media information of carried terminal in this call request or the response and the sign of subnet, and inquire about this media information maintenance module, determine the distant terminal that this call request or response will send to, and the sign of inquiring about the subnet of this distant terminal ownership from the subnet maintenance module, judge the sign inquire with this call request or the sign of the subnet that carries in responding whether identical, in this way, then the media information of the terminal of carrying in this call request or the response is encapsulated in corresponding call request or the response and sends to this distant terminal;
This interface module is used to transmit the call request of message package module or responds corresponding net element or terminal, receives the call request of network element or terminal or responds this message resolution module.
The message parse of network element and package module are received call request or response that terminal sends, are that the sign with the subnet of the media information of this terminal and ownership thereof is encapsulated in corresponding call request or the response as additional information or extension header field; Receive call request or response that the core net switching equipment sends, judge whether this call request or response comprise this additional information or extension header field, in this way, then this additional information or extension header field are resolved, obtain the sign of the subnet of the media information of the terminal of wherein carrying and ownership thereof, whether the sign of the subnet of the distant terminal that the sign of judging the subnet that carries in this call request or the response and this inquiry obtain is identical, in this way, then delete this additional information or extension header field, also the media information of the terminal that this call request or response are carried is encapsulated in corresponding call request or the response as source end media information; As inequality, then delete this additional information or extension header field, the media information of this network element is encapsulated in corresponding call request or the response as source end media information.

Claims (11)

1. the media hairpin connection method of an inter-network element is characterized in that:
On the network element of the intercommunication mutually in network network is divided subnet according to the network segment, to having private line access and will setting up the identical sign of subnet configuration of the hair clip connection of medium;
Has identical sign as the subnet of calling terminal ownership and the subnet of terminal called ownership, then this calling terminal utilizes described network element that the media information of this terminal is sent to terminal called by call request, this terminal called utilizes described network element that the media information of this terminal is sent to this calling terminal by call answering, and this calling terminal and terminal called communicate by the private line access between described subnet according to the media information of distant terminal;
Described media information comprises the network address and port, or context.
2. the method for claim 1 is characterized in that:
The sign of the subnet that belongs to respectively as this calling terminal and terminal called is different, and then this calling terminal and terminal called utilize described network element to communicate.
3. the method for claim 1 is characterized in that:
Described calling terminal belongs to different network element 1 and network element 2 respectively with terminal called, and this network element 1 connects the subnet of this calling terminal ownership, and this network element 2 connects the subnet of this terminal called ownership;
This calling terminal makes a call, this network element 1 is received the call request of this calling terminal, described call request is sent to this network element 2 by the core net switching equipment, and this call request comprises the sign of the media information and the subnet that this calling terminal belongs to of this calling terminal;
This network element 2 is received this call request, judges whether the sign of the subnet that this calling terminal and this terminal called belong to respectively is identical, and in this way, then the media information with this calling terminal sends to this terminal called.
4. as claim 1 or 3 described methods, it is characterized in that:
This terminal called returns call, and this network element 2 sends to this network element 1 with this call by the core net switching equipment, and this call comprises the sign of the media information and the subnet that this terminal called belongs to of this terminal called;
This network element 1 is received this call, judges whether the sign of the subnet that this terminal called and this calling terminal belong to respectively is identical, and in this way, then the media information with this terminal called sends to this calling terminal.
5. method as claimed in claim 3 is characterized in that:
The call request that this network element 1 sends comprises the sign of the subnet of the media information of this calling terminal and ownership thereof, is that sign with the subnet of the media information of this calling terminal and ownership thereof is as additional information or extension header field;
This network element 2 is received this call request, judge also whether this call request comprises this additional information or extension header field, in this way, then this additional information or extension header field are resolved, obtain the sign of the subnet of the media information of this calling terminal and ownership thereof, sign with the subnet of this terminal called ownership compares again, as identical, then delete this additional information or extension header field, the media information of this calling terminal is sent to this terminal called as source end media information by call request, otherwise the media information of this network element is sent to this terminal called as source end media information by call request.
6. method as claimed in claim 4 is characterized in that:
The call that this network element 2 sends comprises the sign of the subnet of the media information of this terminal called and ownership thereof, is that sign with the subnet of the media information of this terminal called and ownership thereof is as additional information or extension header field;
This network element 1 is received this call, judge also whether this call comprises this additional information or extension header field, in this way, then this additional information or extension header field are resolved, obtain the sign of the subnet of the media information of this terminal called and ownership thereof, sign with the subnet of this calling terminal ownership compares again, as identical, then delete this additional information or extension header field, the media information of this terminal called is sent to this calling terminal as source end media information by call, otherwise the media information of this network element is sent to this calling terminal as source end media information by call.
7. a system that supports the media hairpin connection method of inter-network element is characterized in that, described system comprises network, passes through the network element of network mutual communication, and terminal, wherein:
This network is used for being divided into a plurality of subnets according to the network segment, has private line access between described subnet;
This network element, be used to preserve the information of described subnet, and the identical sign of the subnet configuration that the hair clip that will set up medium is connected, receive call request or call that terminal makes a call, the sign of the subnet of the media information of this terminal and ownership thereof is sent to the network side corresponding equipment, receive call request or call that network side sends, as judge that the subnet that this calling terminal and terminal called belong to respectively has identical sign, then the media information with the calling terminal that carries in this call request sends to this terminal called by the corresponding call request, and maybe the media information with the terminal called that carries in this call sends to this calling terminal by the corresponding call response; Described media information comprises the network address and port, or context;
This terminal when being used to make a call, to the network element transmission call request of its ownership, is carried the media information of this terminal; Receive call request or call that this network element sends,, communicate by this private line access and distant terminal according to the media information that carries in this call request or the call.
8. system as claimed in claim 7 is characterized in that:
This network element, be used to also judge that the subnet that this calling terminal and terminal called belong to respectively has different signs, then the media information with this this network element sends to this terminal called by the corresponding call request, and maybe the media information with this this network element sends to this calling terminal by the corresponding call response;
This terminal also is used to receive the call request or the call of this network element transmission, according to the media information of this network element that carries in this call request or the call, communicates by this network element and distant terminal.
9. system as claimed in claim 7 is characterized in that:
Described system also comprises the core net switching equipment, is used to receive call request or the response that network element sends, and is forwarded to corresponding net element;
The message parse package module of described network element after also being used to receive the call request of terminal or call and encapsulating, sends to the core net switching equipment by this interface module with this call request or call.
10. as claim 7 or 9 described systems, it is characterized in that:
Described network element further comprises subnet maintenance module, message parse and package module, media information maintenance module and interface module, wherein:
This subnet maintenance module is used to preserve the sign of the subnet of the information of described subnet and configuration;
This media information maintenance module is used for the media information of maintenance terminal and network element;
This message parse and package module, be used to resolve the call request or the call that receive, and inquire about this media information maintenance module, determine the source of this call request or response, as judge that this call request or response are that terminal sends, then inquire about the sign of the subnet of this terminal attaching from the subnet maintenance module, the media information of this network element, the media information of this terminal and the sign of this subnet are encapsulated in corresponding call request or the response, send to this core net switching equipment by interface module; As judge that this call request or response are that the core net switching equipment sends, then resolve the media information of carried terminal in this call request or the response and the sign of subnet, and inquire about this media information maintenance module, determine the distant terminal that this call request or response will send to, and the sign of inquiring about the subnet of this distant terminal ownership from the subnet maintenance module, judge the sign inquire with this call request or the sign of the subnet that carries in responding whether identical, in this way, then the media information of the terminal of carrying in this call request or the response is encapsulated in corresponding call request or the response and sends to this distant terminal;
This interface module is used to core net switching equipment or the terminal transmitting the call request of message package module or respond correspondence, receives the call request that this core net switching equipment or terminal send or responds this message resolution module.
11. system as claimed in claim 10 is characterized in that:
The message parse of described network element and package module also are used to receive call request or response that terminal sends, and the sign of the subnet of the media information of this terminal and ownership thereof is encapsulated in corresponding call request or the response as additional information or extension header field; Receive call request or response that the core net switching equipment sends, judge whether this call request or response comprise this additional information or extension header field, in this way, then this additional information or extension header field are resolved, obtain the sign of the subnet of the media information of the terminal of wherein carrying and ownership thereof, whether the sign of the subnet of the distant terminal that the sign of judging the subnet that carries in this call request or the response and this inquiry obtain is identical, in this way, then delete this additional information or extension header field, also the media information of the terminal that this call request or response are carried is encapsulated in corresponding call request or the response as source end media information; As inequality, then delete this additional information or extension header field, the media information of this network element is encapsulated in corresponding call request or the response as source end media information.
CN201010188507.6A 2010-05-31 2010-05-31 A kind of media hairpin connection method of inter-network element and system Active CN101867575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010188507.6A CN101867575B (en) 2010-05-31 2010-05-31 A kind of media hairpin connection method of inter-network element and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010188507.6A CN101867575B (en) 2010-05-31 2010-05-31 A kind of media hairpin connection method of inter-network element and system

Publications (2)

Publication Number Publication Date
CN101867575A true CN101867575A (en) 2010-10-20
CN101867575B CN101867575B (en) 2015-08-19

Family

ID=42959140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010188507.6A Active CN101867575B (en) 2010-05-31 2010-05-31 A kind of media hairpin connection method of inter-network element and system

Country Status (1)

Country Link
CN (1) CN101867575B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387081A (en) * 2011-11-18 2012-03-21 华为技术有限公司 Communication service QoS assurance method, device and system in NAT scene
CN103051484A (en) * 2013-01-06 2013-04-17 中国联合网络通信集团有限公司 Method and system for processing session service and session border controller
CN103634193A (en) * 2012-08-24 2014-03-12 中兴通讯股份有限公司 Pure circuit switching realizing method and device
CN103905380A (en) * 2012-12-25 2014-07-02 中国移动通信集团公司 Service call method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097675A1 (en) * 1997-10-03 2002-07-25 David G. Fowler Classes of service in an mpoa network
CN1738267A (en) * 2004-08-20 2006-02-22 华为技术有限公司 Method for realizing media stream bypass
CN1870702A (en) * 2005-10-28 2006-11-29 华为技术有限公司 Method and system for controlling connecting
CN101047672A (en) * 2006-05-16 2007-10-03 华为技术有限公司 Method for implementing connection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097675A1 (en) * 1997-10-03 2002-07-25 David G. Fowler Classes of service in an mpoa network
CN1738267A (en) * 2004-08-20 2006-02-22 华为技术有限公司 Method for realizing media stream bypass
CN1870702A (en) * 2005-10-28 2006-11-29 华为技术有限公司 Method and system for controlling connecting
CN101047672A (en) * 2006-05-16 2007-10-03 华为技术有限公司 Method for implementing connection

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387081A (en) * 2011-11-18 2012-03-21 华为技术有限公司 Communication service QoS assurance method, device and system in NAT scene
CN102387081B (en) * 2011-11-18 2014-04-02 华为技术有限公司 Communication service QoS assurance method, device and system in NAT scene
US9686709B2 (en) 2011-11-18 2017-06-20 Huawei Technologies Co., Ltd. Method, apparatus and system for guaranteeing QoS of communication service in NAT scenario
CN103634193A (en) * 2012-08-24 2014-03-12 中兴通讯股份有限公司 Pure circuit switching realizing method and device
CN103905380A (en) * 2012-12-25 2014-07-02 中国移动通信集团公司 Service call method, device and system
CN103905380B (en) * 2012-12-25 2017-03-22 中国移动通信集团公司 Service call method, device and system
CN103051484A (en) * 2013-01-06 2013-04-17 中国联合网络通信集团有限公司 Method and system for processing session service and session border controller
CN103051484B (en) * 2013-01-06 2015-10-21 中国联合网络通信集团有限公司 Session service processing method, system and Session Border Controll

Also Published As

Publication number Publication date
CN101867575B (en) 2015-08-19

Similar Documents

Publication Publication Date Title
EP1650916B1 (en) The system and method for realize multimedia call crossover the private network
US7257837B2 (en) Firewall penetration system and method for real time media communications
US9407495B2 (en) Combining locally addressed devices and wide area network (WAN) addressed devices on a single network
KR100694208B1 (en) Apparatus and method for providing call service in wireless lan system
CN102035813B (en) The implementation method of end-to-end calling, end-to-end calling terminal and system
US20070019631A1 (en) Apparatus and method for managing data transfer in VoIP gateway
CN104040998A (en) Ice based nat traversal
US20050254482A1 (en) Apparatus and method for voice processing of voice over internet protocol (VoIP)
CN107370722B (en) Network interaction method, wireless convergence relay gateway and system
CN102195933B (en) Method for realizing call between isolated Internet protocol (IP) sub-networks and communication unit
WO2003030463A1 (en) A method and system for realizing ip voice service at private network
CN102932235B (en) Instant communicating method and server system under cloud computing environment
JP2013506358A5 (en)
US20100002701A1 (en) System and method for media communication through network address translation
KR101606142B1 (en) Apparatus and method for supporting nat traversal in voice over internet protocol system
CN101867575B (en) A kind of media hairpin connection method of inter-network element and system
EP2043300A1 (en) Data transmission network, method, network element and pro-gram
CN101742008A (en) Media stream proxy method, voice exchanger and communication system
CN107634954B (en) Soft switch calling method and system
CN108235388B (en) Calling method, device and system
US7342905B1 (en) Communications system
US7701927B2 (en) Method for transmitting communication data in a communication system
US20060002371A1 (en) Roaming communication system over Internet with remote hosts and related method
KR100741379B1 (en) Application switch for controlling session initiation protocol communication via at least two subscriber's lines and method of operating the application switch
CN100499720C (en) Realization method for providing multi-rate data information loading service

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