WO2010078774A1 - 进行导通检测的方法、设备及系统 - Google Patents

进行导通检测的方法、设备及系统 Download PDF

Info

Publication number
WO2010078774A1
WO2010078774A1 PCT/CN2009/074616 CN2009074616W WO2010078774A1 WO 2010078774 A1 WO2010078774 A1 WO 2010078774A1 CN 2009074616 W CN2009074616 W CN 2009074616W WO 2010078774 A1 WO2010078774 A1 WO 2010078774A1
Authority
WO
WIPO (PCT)
Prior art keywords
media gateway
message
candidate
peer
continuity detection
Prior art date
Application number
PCT/CN2009/074616
Other languages
English (en)
French (fr)
Inventor
祝宁
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP09837331A priority Critical patent/EP2383936A1/en
Publication of WO2010078774A1 publication Critical patent/WO2010078774A1/zh
Priority to US13/179,207 priority patent/US20110267965A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2564NAT traversal for a higher-layer protocol, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2575NAT traversal using address mapping retrieval, e.g. simple traversal of user datagram protocol through session traversal utilities for NAT [STUN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1106Call signalling protocols; H.323 and related
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for performing continuity detection.
  • NTN Next Generation Network
  • the NGN network structure mainly includes a Media Gateway (MGW) and a Media Gateway Controller (MGC).
  • MGW Media Gateway
  • MGW Controller Media Gateway Controller
  • MGW1 and MGW2 are in different bearer networks, for example, if MGW1 is in the public network, MGW2 is in the private network, or both MGW1 and MGW2 are in the private network, and the two networks cannot directly send bidirectional IP packets, they may The media flow between MGW1 and MGW2 is single-passed or unreachable.
  • NAT Network Address Translation
  • FW outgoing NAT/firewall
  • the process of media streaming through NAT is independent of a specific signaling protocol, which occurs between two clients: the session initiator and the session responder.
  • the two parties of the session will exchange their local transport address and source transport address information, and generate local candidate (loca l candida te) and peer candid (remote candida te) address pairs, according to the priority
  • the level performs the continuity detection on each address pair, and selects the address pair with the highest priority level that can be turned on for media stream transmission.
  • the media gateway according to a certain order STUN emitted from the address of the local candidate to the candidate peer address request message, the peer carries the mapping address (mapped addres s) 0 If the mapped address in the response message Different from all local candidate addresses, this is a new local candidate, called peer ref lex ive candida te.
  • the media gateway controller may instruct the media gateway to add a new stream when the continuity detection is being performed or has been completed. New streams or new peer reflection candidates are updates to candidate pairs. When a new continuity test is initiated, some of the candidate pairs that have been detected are re-detected, affecting the efficiency of the continuity detection. Summary of the invention
  • Embodiments of the present invention provide a method, device, and system for performing continuity detection to improve the efficiency of conduction detection.
  • the embodiment of the invention uses the following technical solutions:
  • a method for conducting a test comprising:
  • the media gateway receives an additional continuity detection message sent by the media gateway controller
  • the media gateway performs additional continuity detection based on the additional continuity detection message.
  • a method for conducting a test comprising: The media gateway controller generates an additional continuity detection message;
  • the media gateway controller sends the additional continuity detection message to the media gateway to cause the media gateway to perform additional conduction detection.
  • a media gateway including:
  • a media gateway controller configured to perform additional conduction detection according to the additional continuity detection message.
  • a message generating unit configured to generate an additional continuity detection message
  • a message sending unit configured to send the additional continuity detection message to the media gateway, so that the media gateway performs additional continuity detection.
  • a system for performing continuity detection comprising: a media gateway and a media gateway controller; the media gateway, configured to receive an additional continuity detection message sent by the media gateway controller, and according to the additional continuity detection message, Perform additional continuity testing;
  • the media gateway controller is configured to generate an additional continuity detection message, and send the additional continuity detection message to the media gateway, so that the media gateway performs additional conduction detection.
  • the method, device and system for conducting detection in the embodiment of the present invention perform additional conduction detection by the media gateway according to an additional continuity detection message sent by the media gateway controller. Therefore, with the technical solution of the embodiment of the present invention, the new candidate pair can be turned on by the additional continuity detection message to improve the efficiency of the conduction detection.
  • FIG. 1 is a schematic diagram of an NGN network in the prior art
  • FIG. 2 is a schematic diagram of a system for performing continuity detection according to an embodiment of the present invention
  • 3 is a flowchart of a method for performing continuity detection according to Embodiment 3 of the present invention
  • FIG. 5 is a flowchart of a method for performing continuity detection according to Embodiment 6 of the present invention.
  • FIG. 6 is a structural diagram of a media gateway according to Embodiment 7 of the present invention.
  • FIG. 7 is a schematic diagram of a media gateway according to Embodiment 7 of the present invention.
  • FIG. 8 is a structural diagram of a media gateway controller according to Embodiment 8 of the present invention.
  • FIG. 9 is a schematic diagram of a media gateway controller according to an embodiment of the present invention.
  • the first embodiment of the present invention provides a system for performing continuity detection.
  • the system includes: a media gateway 21 and a media gateway controller 22.
  • the media gateway 21 is configured to receive an additional continuity detection (Additional Detection) message sent by the media gateway controller 22, and perform additional conduction according to the additional continuity detection message.
  • the media gateway controller 22 is configured to generate an additional continuity detection message, and send the additional continuity detection message to the media gateway 21 to enable the media gateway to perform additional conduction detection.
  • the additional continuity detection message may be generated by the media gateway controller according to the discovery of a new candidate according to the continuity detection process of the media gateway, for example, when the media gateway When a new peer reflection candidate is detected, the media gateway controller is notified to cause the media gateway controller to generate the additional continuity detection message.
  • the media gateway controller automatically generates the additional continuity detection message as needed.
  • the media stream is also called a stream (st ream), Add a new media stream, or add a new stream.
  • the change to the existing media stream can also be said to be a change to the existing stream.
  • An example of a specific operation of adding a stream is: The media gateway controller adds a new stream to the media descriptor in the message sent to the media gateway, for example, only voice, and now adds the video stream.
  • An example of the specific operation of modifying the flow is: the peer device notifies the local end to update the information of the peer candidate in the existing stream after discovering the peer reflection candidate, or adds new media capability to the existing stream or modifies the existing The media capabilities cause candidate changes.
  • the modification stream includes modifications to local candidates and/or peer candidates in the existing stream.
  • the media gateway performs additional conduction detection according to the additional continuity detection message sent by the media gateway controller. Therefore, with the technical solution of the embodiment of the present invention, the new candidate pair can be turned on by the additional continuity detection message to improve the efficiency of the continuity detection.
  • the second embodiment of the present invention provides a method for performing continuity detection, including the following steps: Step 31: The media gateway receives an additional continuity detection message sent by the media gateway controller. As described in the first embodiment, the additional continuity detection message may be generated by the media gateway controller according to the discovery of a new candidate in the continuity detection process of the media gateway, or may be added. When the media stream needs to make changes to the existing media stream, the media gateway controller automatically generates the additional continuity detection message as needed.
  • Step 32 The media gateway performs additional continuity detection according to the additional continuity detection message. The following describes how the conduction detection is performed in the two cases of step 31 in conjunction with the third and fourth embodiments.
  • the method for performing the continuity detection in the third embodiment of the present invention includes the following steps: Step 40: In the process of conducting detection, the media gateway sends an ST message to the peer device. Step 41: The media gateway receives the STUN response message sent by the peer device, where the response message carries a mapping address. Step 42: The media gateway determines to generate a peer reflection candidate according to the mapping address carried in the response message.
  • the media gateway compares the mapping address in the response message with the local candidate address, and if not, determines that the peer reflection candidate is generated, otherwise no peer reflection candidate is generated. .
  • Step 43 The media gateway sends a peer reflection candidate report message to the media gateway controller, so that the media gateway controller notifies the media gateway to update its candidate address pair.
  • the sequence in which the media gateway controller notifies the peer device and the media gateway to update their candidate address pairs may be reversed.
  • the change in the candidate of the device performing the conduction detection must be refreshed in the address candidates saved by the two-end device, thereby changing the candidate address pairs of the devices on both ends.
  • the peer reflection candidate report message is a message carrying a new peer reflection candidate event extended by the H.248 protocol in the embodiment of the present invention, for example, an extended H.248 protocol, and a new nprc (New Peer Ref lexive Candida) is defined.
  • the te the new peer reflection candidate event, to notify the media gateway controller that a peer reflection candidate is generated during the conduction detection.
  • the reporting event parameter may include one or more of the information shown in Table 1:
  • SDP Ses s ion group number ( groupID ) integer used in the H. 248 message to carry the newly generated peer reflection candidate
  • Descr ipt ion protocol the group number in the description of the protocol, used to carry the base number (founda t ionID) integer that generates the peer reflection candidate.
  • the base of the detection detection (founda t i on) is used to carry the conduction part number that generates the opposite reflection candidate.
  • the address integer of the peer reflection candidate includes an IP address and a port; (connect ion-addres s )
  • the IP address and the port are separated by a colon, for example, "10. 11. 1. 100: 10000".
  • the media gateway carries the information in Table 1 through the reporting parameters of the nprc event.
  • the media gateway controller is notified of the information that the peer reflection candidate is generated during the continuity detection.
  • other parameters can be extended in the nprc event to carry more information, not enumerated here.
  • the event parameter Candida te (candidate) is reported for the nprc event extension.
  • the parameter is a string format.
  • the format is described in the ABNF format as follows:
  • Por tNumber UINT16 This carries the information described in the previous table in the form of a string.
  • the setting method includes the media gateway controller setting the event to the media gateway, or pre-configuring the event on the media gateway, such as setting the event as a permanent event.
  • Step 44 The media gateway receives an update continuity detection candidate information message sent by the media gateway controller, and updates its own candidate address pair.
  • the update continuity detection candidate information message may be a modification message (M0DIFIY) or other message capable of carrying the update continuity detection candidate information message function, such as an ADD message or a MOVE. Message.
  • the update continuity detection candidate information message may carry the updated continuity detection candidate information through the SDP in the H.248 message, including the local candidate and/or Or an update of the peer candidate.
  • the updated continuity detection candidate causes a refresh of the continuity detection candidate pair list. Thereby, the modification of the conduction detection candidate pair shared by both of the conduction detections is caused.
  • Step 45 The media gateway receives the initiated continuity detection message sent by the media gateway controller, and performs continuity detection on the candidate pair.
  • the originating detection message may be a conduction detection message from the beginning (such as a sec signal carrying an existing os tuncc packet in H.248.50), or may be an extended eve of the present invention. Add it iona Connect Ivi ty Check message.
  • the media gateway When the originating detection message is a conduction detection message from the beginning, the media gateway performs conduction detection for all candidate address pairs from the beginning.
  • the media gateway performs conduction detection (i.e., additional conduction detection) in an updated manner. That is to say, the media gateway only conducts the conduction detection for the newly generated candidate pair, and the candidate pair that has performed the continuity detection no longer performs the conduction detection. In this case, the candidate pair of the conducted conduction detection portion is no longer re-conducted, and the conduction detection result of the candidate pair that has performed the conduction detection on the media gateway continues to be valid.
  • the media gateway performs conduction detection on the list of the conduction detection candidates refreshed after the candidate changes. Therefore, in this way, the efficiency of the media gateway for conducting detection is improved.
  • the additional continuity detection message is implemented by carrying an extended sacc (Send Add-to-Istation Check Check) signal in the message to implement an indication.
  • the sacc signal optionally carries the same parameters as the sec signal, including two parameters indicating the control role and the instructing party.
  • the message carrying the additional continuity detection signal is referred to as an additional continuity detection message in the embodiment of the present invention.
  • the media gateway After the media gateway receives the sacc signal, it performs the process of additional continuity detection. This process is the continuity test performed by the update method described above. The conduction test that has been performed is not re-executed, and only the conduction detection of the unexecuted portion is performed. It is therefore named as an additional continuity test.
  • the media gateway reports the nprc event to the media gateway controller to notify the media gateway controller of the information that the peer reflection candidate is generated during the continuity detection.
  • the media gateway controller After receiving the nprc event, the media gateway controller sends an update continuity detection candidate information message to the media gateway.
  • the media gateway updates its own candidate address pair according to the update continuity detection candidate information message, so that the candidate address pair that is performing the continuity detection changes.
  • the media gateway controller can send an s cc signal to the media gateway, the s cc signal is used to instruct the media gateway to conduct from the beginning.
  • the media gateway controller may send a sacc signal to the media gateway, the sacc signal is used to instruct the media gateway to perform additional conduction detection, that is, the media gateway is instructed to only guide the newly generated candidate pair.
  • the media gateway controller instructs the media gateway to initiate additional conduction detection because the media gateway detects that a new peer reflection candidate is found, thereby updating the candidate pair.
  • the candidate pair will also be updated. For example: A new media stream (or stream) or a change to an existing media stream (or stream) has been added.
  • the media gateway controller adds a new stream through a message such as MODIFY when the existing stream is in progress or has completed the continuity check.
  • the existing stream is updated by MODIFY if the existing stream is in progress or has completed the continuity check.
  • the media gateway controller instructs the media gateway to perform additional conduction detection.
  • the indication is carried by the sacc signal of the embodiment of the present invention, and then the media gateway performs an additional conduction detection process according to the indication.
  • the media gateway controller Before the media gateway controller instructs the media gateway to perform additional continuity detection or in the same H.248 message, the media gateway controller optionally sends to the media gateway a new media stream or a change to the existing media stream. a message to enable the media gateway and the peer device to update their own candidates Address pair.
  • the media gateway performs additional conduction detection according to the additional continuity detection message sent by the media gateway controller. Therefore, with the technical solution of the embodiment of the present invention, when a new candidate is added or an existing candidate is modified, the continuity detection candidate pair list is refreshed, and the partial candidate pair included in the updated candidate pair list is The continuity test may have been performed before, so this part of the continuity detection is not repeated to improve the efficiency of the conduction detection.
  • the method for performing the continuity detection in the fifth embodiment of the present invention includes the following steps: Step 51: The media gateway controller generates an additional continuity detection message.
  • the additional continuity detection message may be generated by the media gateway controller according to the discovery of a new candidate in the continuity detection process of the media gateway, or may be added.
  • the media gateway controller automatically generates the additional continuity detection message as needed.
  • Step 52 The media gateway controller sends the additional continuity detection message to the media gateway, so that the media gateway performs additional conduction detection.
  • the media gateway controller If the additional continuity detection message is generated by the media gateway controller according to the discovery of a new candidate in the continuity detection process of the media gateway, the media gateway controller generates an additional continuity detection message in step 51. Before, it also includes:
  • Step 50a The media gateway controller receives a peer reflection candidate report message sent by the media gateway.
  • the peer reflection candidate reporting message can be implemented by extending the nprc event in the H.248 protocol.
  • the manner of extending the nprc event and the parameters carried in the event and related descriptions are the same as those described above, and are not described herein again.
  • the media gateway and the peer device are notified to update their candidate address pairs according to the peer reflection candidate report message.
  • the media gateway controller may notify the media gateway and the peer device to update their candidate address pairs in at least two ways:
  • the media gateway controller first sends an update message (SIP Update) to the peer device according to the peer reflection candidate report message, so that the peer device updates its own candidate address pair; And sending an update continuity detection candidate information message to the media gateway, so that the media gateway updates its own candidate address pair;
  • SIP Update update message
  • the media gateway controller first sends an update continuity detection candidate information message to the media gateway according to the peer reflection candidate report message, so that the media gateway updates its own candidate address pair;
  • the peer device sends an update message (SIP Upda te), so that the peer device updates its own candidate address pair.
  • the update continuity detection candidate information message may be an SDP in the modification message (MODIFIY) carrying the updated continuity detection candidate information, or other messages capable of implementing the function of the update continuity detection candidate information.
  • step 51 is after the media gateway controller generates the additional continuity detection message or at the same time, the method further includes: the media gateway controller The media gateway sends a message carrying the newly added media stream and/or the information of the existing media stream, so that the media gateway and the peer device update their candidate address pairs, and then the media gateway performs the indication according to the indication. Additional continuity detection process.
  • the media gateway performs additional conduction detection according to the additional continuity detection message sent by the media gateway controller. Therefore, with the technical solution of the embodiment of the present invention, when there is a peer candidate pair generation or a service change, the new candidate pair can be turned on to improve the efficiency of the continuity detection.
  • the method for performing continuity detection in the sixth embodiment of the present invention includes:
  • Step 71 The media gateway sends a STUN request message to the peer device, requesting a candidate pair. Conducting a continuity test;
  • Step 72 The peer device returns a STUN response message, where the response message carries a mapping address.
  • Step 73 The media gateway determines, according to the mapping address carried in the response message, a peer reflection candidate.
  • Step 74 The media gateway reports the peer reflection candidate to the media gateway controller by reporting the event in the H.248 protocol.
  • Step 75 The media gateway controller sends a response message to the media gateway.
  • Step 76 After the media gateway learns that the peer reflection candidate is generated, the SIP protocol is used.
  • the UPDATE message or other message notifies the peer device to update the candidate address pair of the local end;
  • Step 77 The peer device sends a response message 200 0K message to the UPDATE message.
  • Step 79 The media gateway sends a response message 200 0K message to the media gateway controller.
  • Step 710 Send a start continuity detection message to the media gateway, and notify the media gateway to perform continuity detection on the candidate address pair.
  • the start continuity detection message is a re-start detection message, that is, the media gateway is notified to detect only the updated candidate address pair.
  • the media gateway controller may also notify the media gateway to update its candidate address pair (that is, the media).
  • the candidate pair saved on the gateway and then notify the peer device to update its candidate address pair (that is, the candidate pair saved on the peer device).
  • the media gateway performs additional conduction detection according to the additional continuity detection message sent by the media gateway controller. Therefore, with the technical solution of the embodiment of the present invention, the new candidate pair can be turned on by the additional continuity detection message to improve the efficiency of the continuity detection.
  • the peer reflection candidate is only found and used in one continuity detection message, and does not The peer candidates form a new candidate pair for conduction detection.
  • the technical solution of the embodiment of the present invention enables the newly generated peer reflection candidate to perform conduction detection with other local candidate candidate pairs during the conduction detection process, thereby further improving the efficiency of the conduction detection. The accuracy.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the seventh embodiment of the present invention further provides a media gateway, including: a message receiving unit 81 and a continuity detecting unit 82.
  • the message receiving unit 81 is configured to receive an additional continuity detection message sent by the media gateway controller, and the continuity detection unit 82 is configured to perform additional continuity detection according to the additional continuity detection message.
  • the message receiving unit 81 is further configured to receive by the peer end, if the additional continuity detection message is generated by the media gateway controller according to the discovery of a new candidate in the process of detecting the continuity of the media gateway.
  • the STUN response message sent by the device carries the mapping address in the response message.
  • the media gateway may further include: a peer reflection candidate determining unit 83, configured to use the response message according to the response message.
  • the mapping address carried in the mapping is determined to generate a peer reflection candidate;
  • the information reporting unit 84 is configured to send a peer reflection candidate reporting message to the media gateway controller, so that the media gateway controller notifies the media gateway to update its candidate address.
  • the candidate address pair update unit 85 is configured to receive an additional continuity detection candidate information message sent by the media gateway controller, and update its own candidate address pair.
  • the message receiving unit 81 is further configured to receive the new media stream carried by the media gateway controller and/or to the existing media. A message that streams information that changes.
  • the functions of the MGW in the second, third, and fourth embodiments of the present invention may be the MGW provided by this embodiment. achieve.
  • the media gateway performs additional conduction detection according to the additional continuity detection message sent by the media gateway controller. Therefore, with the technical solution of the embodiment of the present invention, when there is a peer candidate pair generation or a service change, the new candidate pair can be turned on to improve the efficiency of the continuity detection.
  • the eighth embodiment of the present invention further provides a media gateway controller, including: a message generating unit 91 and a message sending unit 92.
  • the message generating unit 91 is configured to generate an additional continuity detection message
  • the message sending unit 92 is configured to send the additional continuity detection message to the media gateway, so that the media gateway performs additional conduction detection.
  • the message generating unit 91 generates an additional continuity detection message according to a previous continuity detection result of the media gateway, or according to a service requirement.
  • the media gateway controller may further include:
  • the message receiving unit 93 is configured to receive a peer reflection candidate report message sent by the media gateway, and the notification unit 94 is configured to notify the media gateway and the peer device to update their candidate address according to the peer reflection candidate report message. Correct.
  • the information sending unit 95 is configured to send, to the media gateway, a message that carries the newly added media stream and/or the information that changes the existing media stream.
  • the functions of the MGC in the fifth, sixth, and seventh embodiments of the present invention can be implemented by the MGC provided in this embodiment.
  • the method, device and system for conducting detection in the embodiment of the present invention perform additional conduction detection by the media gateway according to an additional continuity detection message sent by the media gateway controller. Therefore, with the technical solution of the embodiment of the present invention, when there is a peer candidate pair generation or a service change, the new candidate pair can be turned on to improve the efficiency of the continuity detection.
  • the embodiment of the present invention is mainly applied to an NGN network and an IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) network, and is of course not limited thereto.
  • IMS IP Multimedia Subsystem, IP Multimedia Subsystem
  • the above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

进行导通检测的方法、 设备及系统 本申请要求于 2009 年 1 月 12 日提交中国专利局、 申请号为 200910001787.2, 发明名称为 "进行导通检测的方法、 设备及系统" 的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域, 尤其涉及一种进行导通检测的方法、 设备及 系统。
背景技术
在业务驱动和网络融合的趋势下, 以软交换设备为核心的下一代网络 ( Next Generation Network, NGN )应运而生。
如图 1 所示, 现有技术中, NGN 网络结构主要包括媒体网关 (Media Gateway, MGW ) 和媒体网关控制器 (Media Gateway Controller, MGC )。 如 果 MGW1和 MGW2所处的承载网络为同一个私有网络或公有网络,则 MGW1和 MGW2 在信息交互过程中的 IP报文均可直接发送到对方。 但是, 如果 MGW1和 MGW2 处于不同的承载网络, 例如, MGW1处于公有网络、 MGW2处于私有网络, 或者 MGW1和 MGW2均处于私有网络,而两个网络不能实现双向的 IP报文直接发送, 则可能会出现 MGW1和 MGW2之间的媒体流单向导通或者不通的情况。
为实现 IP报文在私有网络和公有网络之间的传送, 常釆用的方法为网络 地址转换技术 (Network Address Translation, NAT), 以^夺内部私有网络地 址翻译成外部公有网络的 IP地址。 伴随着 NAT技术, 产生了一种将私有网络 上的终端所釆用的私有 IP地址, 通过出口的 NAT/防火墙(FW)接入公有网络 的 NAT穿越技术, 例如: STUN ( Simple Traversal of UDP Through Network Address Translators, UDP对 NAT的简单穿越, 用户数据报协议对网络地址 转换技术的简单穿越)方式, TURN (Traversal Using Relay NAT, 通过 Relay 方式穿越 NAT )方式, 交互式连通建立方式 ICE (Interactive Connectivity Es tabl i shment)等。
其中, ICE方式并非一种新的协议, 它是通过综合运用上述某几种协议, 使之在最适合的情况下工作, 以弥补单独使用其中任何一种所带来的固有缺 陷。 媒体流穿透 NAT 的过程是独立于某种具体的信令协议的, 它是发生在两 个客户端: 会话发起者和会话响应者之间。 在发送媒体流的过程中, 会话的 双方将交换各自的本地传输地址和来源传输地址信息, 生成本地候选(loca l candida te)和对端 ^昊选(remote candida te)的地址对, 按照优先级别对各个 地址对进行导通检测, 选出可以导通的优先级别最高的地址对进行媒体流传 输。
在进行导通检测的过程中, 媒体网关按照一定次序从本地候选的地址向 对端候选的地址发出 STUN 请求消息, 对端在应答消息中携带了映射地址 (mapped addres s) 0 如果该映射地址与所有的本地候选的地址都不同, 则说 明这是一个新的本地候选, 称之为对端反射候选(peer ref lex ive candida te)。 但是, 在实现本发明的过程中发明人发现: 当正在进行或者已经完成导 通检测以后, 媒体网关控制器可能指示媒体网关增加新的流。 新增的流或者 新增的对端反射候选都是对候选对的更新。 当发起新的导通检测时, 有些已 经检测过的候选对被重新检测, 影响了导通检测的效率。 发明内容
本发明实施例提供一种进行导通检测的方法、 设备及系统, 以提高导通 检测的效率。 本发明实施例釆用如下技术方案:
一种进行导通检测的方法, 包括:
媒体网关接收由媒体网关控制器发送的额外导通检测消息;
所述媒体网关根据所述额外导通检测消息, 进行额外导通检测。
一种进行导通检测的方法, 包括: 媒体网关控制器生成额外导通检测消息;
所述媒体网关控制器向媒体网关发送所述额外导通检测消息 , 以使所述 媒体网关进行额外导通检测。
一种媒体网关, 包括:
消息接收单元, 用于接收由媒体网关控制器发送的额外导通检测消息; 导通检测单元, 用于根据所述额外导通检测消息, 进行额外导通检测。 一种媒体网关控制器, 包括:
消息生成单元, 用于生成额外导通检测消息;
消息发送单元, 用于向媒体网关发送所述额外导通检测消息, 以使所述 媒体网关进行额外导通检测。
一种进行导通检测的系统, 包括: 媒体网关和媒体网关控制器; 所述媒体网关, 用于接收由媒体网关控制器发送的额外导通检测消息, 并根据所述额外导通检测消息, 进行额外导通检测;
所述媒体网关控制器, 用于生成额外导通检测消息, 并向所述媒体网关 发送所述额外导通检测消息, 以使所述媒体网关进行额外导通检测。
本发明实施例进行导通检测的方法、 设备及系统, 由媒体网关根据由媒 体网关控制器发送的额外导通检测消息进行额外导通检测。 因此, 利用本发 明实施例的技术方案, 通过所述额外导通检测消息, 可对新的候选对进行导 通检测, 以提高导通检测的效率。
附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描述中所 需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1为现有技术中 NGN网络的示意图;
图 2为本发明实施例一进行导通检测的系统的示意图; 图 3为本发明实施例三进行导通检测的方法的流程图;
图 4为本发明实施例五进行导通检测的方法的流程图;
图 5为本发明实施例六进行导通检测的方法的流程图;
图 6为本发明实施例七媒体网关的结构图;
图 7为本发明实施例七媒体网关的示意图;
图 8为本发明实施例八媒体网关控制器的结构图;
图 9为本发明实施例八媒体网关控制器的示意图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例 , 都属于本发明保护的范围。
实施例一
为提高导通检测的效率, 本发明实施例一提供了一种进行导通检测的系 统, 如图 2所示, 包括: 媒体网关 21和媒体网关控制器 22。
其中, 所述媒体网关 21 , 用于接收由媒体网关控制器 22发送的额外导通 检测(Addi t iona l Connect iv i ty Check)消息, 并根据所述额外导通检测消息, 进行额外导通检测; 所述媒体网关控制器 22 , 用于生成额外导通检测消息, 并向所述媒体网关 21发送所述额外导通检测消息, 以使所述媒体网关进行额 外导通检测。
在本发明实施例所述的系统中, 所述额外导通检测消息可以是由所述媒 体网关控制器根据所述媒体网关的导通检测过程中发现新的候选生成的, 例 如, 当媒体网关检测到有新的对端反射候选产生时, 就通知所述媒体网关控 制器, 以使所述媒体网关控制器生成所述额外导通检测消息。 或者也可以在 新增了媒体流和 /或对现有媒体流进行更改时, 由所述媒体网关控制器根据需 要自发生成所述额外导通检测消息。 其中, 所述媒体流也叫流(s t ream) ,所述 新增媒体流, 也可以说是新增流。 所述对现有媒体流进行更改, 也可以说是 对现有流进行更改。 新增流的具体操作的例子是: 媒体网关控制器在向发往 媒体网关的消息中, 在媒体描述符中增加一个新的流, 例如原来只有语音, 现在增加视频流。 修改流的具体操作的例子是: 对端设备发现了对端反射候 选后通知本端更新已有流中的对端候选的信息, 或者在已有的流中增加新的 媒体能力或者修改已有的媒体能力引起候选的变化。 修改流包括对现有流中 本地候选和 /或对端候选的修改。
由上可以看出, 本发明实施例进行导通检测的系统, 由媒体网关根据由 媒体网关控制器发送的额外导通检测消息进行额外导通检测。 因此, 利用本 发明实施例的技术方案, 通过所述额外导通检测消息, 可对新的候选对进行 导通检测, 以提高导通检测的效率。
实施例二
本发明实施例二提供了一种进行导通检测的方法, 包括如下步骤: 步骤 31、 媒体网关接收由媒体网关控制器发送的额外导通检测消息。 与实施例一中描述的相同, 所述额外导通检测消息可以是由所述媒体网 关控制器根据所述媒体网关的导通检测过程中发现新的候选生成的, 或者也 可以在新增了媒体流或需要对现有媒体流进行更改时, 由所述媒体网关控制 器根据需要自发生成所述额外导通检测消息。
步骤 32、 所述媒体网关根据所述额外导通检测消息, 进行额外导通检测。 下面结合实施例三和四描述一下在步骤 31的两种情况下, 是如何进行导 通检测的。
实施例三
如图 3所示, 本发明实施例三进行导通检测的方法, 包括如下步骤: 步骤 40、 在导通检测的过程中, 媒体网关向对端设备发送 ST而消息。 步骤 41、 媒体网关接收由对端设备发送的 STUN应答消息, 在所述应答 消息中携带有映射地址。 步骤 42、 所述媒体网关根据所述应答消息中携带的映射地址确定产生对 端反射候选。
在此步骤中, 所述媒体网关将所述应答消息中的映射地址与本地候选地 址——进行比较, 若都不相同, 则确定产生了所述对端反射候选, 否则没有 产生对端反射候选。
步骤 43、 所述媒体网关向媒体网关控制器发送对端反射候选上报消息, 以使所述媒体网关控制器通知所述媒体网关更新自身的候选地址对。 其中所 述媒体网关控制器通知所述对端设备和所述媒体网关更新自身的候选地址对 的顺序可以调换。 进行导通检测的一方的设备的候选发生的变化, 必须在两 端设备上自身保存的地址候选中都刷新, 从而改变两端设备上自身的候选地 址对。
其中, 所述对端反射候选上报消息为携带了本发明实施例对 H. 248 协议 扩展的新对端反射候选事件的消息,例如扩展 H. 248协议,定义新的 nprc( New Peer Ref lexive Candida te , 新对端反射候选) 事件, 以通知媒体网关控制 器在进行导通检测的过程中产生了对端反射候选。 并且, 所述 nprc事件上报 时通过上报事件参数可包括如表 1所示的信息中的一种或多种:
表 1
参数数据类
参数名称 参数描述
用于携带新产生的对端反射侯选所 流编号 ( s treamID ) 整数
在的流
用于携带新产生的对端反射侯选所 在的 H. 248消息中的 SDP ( Ses s ion 组编号 (groupID ) 整数
Descr ipt ion Protocol , 会话描述 协议)描述中的组编号 用于携带产生对端反射侯选的导通 基编号(founda t ionID) 整数
检测检测的基 (founda t i on) 用于携带产生对端反射侯选的导通 部件编号 component ID 整数
检测检测的部件编号 对端反射候选的地址 整数 包括 IP地址和端口; ( connect ion-addres s ) I P地址和端口之间用冒号隔开, 例 如 "10. 11. 1. 100: 10000" 所述媒体网关通过所述 nprc事件的上报参数中携带表 1中的信息, 以将 在导通检测的过程中产生了对端反射候选的信息通知给媒体网关控制器。 当 然, 还可在所述 nprc事件中扩展其他的参数来携带更多的信息, 在此不—— 列举。
一种具体的上报参数扩展方式如下: 为 nprc事件扩展上报事件参数 Candida te (候选),该参数为字符串格式, 格式用 ABNF格式描述如下:
StreamID " | " GroupID " | " Founda t ionID " | " Component ID " I " connect ion-addres s COLON Por tNumber
StreamID = UINT16
GroupID = UINT16
Founda t ion = UINT16
Component-id = UINT16
onnect ion-addres s = IP4-addres s
Por tNumber = UINT16 这样通过一个字符串的形式将前面表格中描述的信息都携带了。
另外, nprc事件在上报前必须是已经设置到了媒体网关上。 所述设置方 法包括媒体网关控制器向媒体网关设置该事件, 或者在媒体网关上预先配置 该事件, 例如将该事件设置成永久事件。
步骤 44、 所述媒体网关接收所述媒体网关控制器发送的更新导通检测候 选信息消息, 更新自身的候选地址对。
在具体应用中, 所述更新导通检测候选信息消息可以为修改消息 ( M0DIFIY )或其他能够携带该更新导通检测候选信息消息功能的其他消息, 例如增加(ADD)消息, 或移动(MOVE)消息。 更新导通检测候选信息消息可以通 过 H. 248消息中的 SDP携带更新后的导通检测候选信息, 包括对本地候选和 / 或对端候选的更新。 更新后的导通检测候选会引起导通检测候选对列表的刷 新。 从而对导通检测双方共用的导通检测候选对造成了修改。
步骤 45、 媒体网关接收由媒体网关控制器发送的发起导通检测消息, 对 候选对进行导通检测。
在此步骤中,所述发起导通检测消息可以为从头开始的导通检测消息 (如 携带现有的 H. 248. 50中 os tuncc 包的 sec信号 ), 也可以为本发明扩展的额 夕卜导通检测 ( Add i t iona l Connect ivi ty Check ) 消息。
当所述发起导通检测消息为从头开始的导通检测消息时, 所述媒体网关 对全部候选地址对从头开始进行导通检测。
当所述发起导通检测消息为额外导通检测消息时, 所述媒体网关用更新 的方式进行导通检测 (也就是额外导通检测)。 也就是说, 媒体网关只对新产 生的候选对进行导通检测, 而已经进行过导通检测的候选对则不再进行导通 检测。 在这种情况下, 已执行(perform )过的导通检测部分的候选对不再重 新进行导通检测, 在媒体网关上已经执行过导通检测的候选对的导通检测结 果继续有效的基础上,媒体网关对因候选发生变化而刷新后的导通检测候选 对列表进行导通检测。 因此, 在这种方式下, 提高了媒体网关进行导通检测 的效率。
本发明实施例中, 所述额外导通检测消息是通过在消息中携带本发明扩 展的 sacc ( Send Addi t iona l Connect ivi ty Check, 发送额夕卜导通检测)信 号来实现指示进行额外导通检测的功能的, 该 sacc信号可选地携带和 sec信 号同样的参数, 包括指示控制角色和指使会话方两个参数。 为了便于说明, 本发明实施例中将携带所述发送额外导通检测信号的消息称为额外导通检测 消息。 媒体网关接收到该 sacc信号后, 进行额外导通检测的过程。 该过程就 是前面说的更新方式进行的导通检测。 已经执行过的导通检测不再重新执行, 只执行未执行部分的导通检测。 因此被命名为额外导通检测。 本发明其他实 施例同样含义, 在其他实施例不再赘述。 在本发明实施例中, 媒体网关向媒体网关控制器上报 nprc事件, 以将在 导通检测的过程中产生了对端反射候选的信息通知给媒体网关控制器。 所述 媒体网关控制器接收该 nprc事件后, 向所述媒体网关发送更新导通检测候选 信息消息。 所述媒体网关根据该更新导通检测候选信息消息, 更新自身的候 选地址对, 从而使正在进行导通检测的候选地址对发生变化。 此时, 需要对 导通检测过程进行干预: 在需要从头开始新的导通检测时, 媒体网关控制器 可以向媒体网关发送 s cc信号, 该 s cc信号用于指示媒体网关从头开始进行 导通检测; 在需要进行额外导通检测时, 媒体网关控制器可以向媒体网关发 送 sacc信号, 该 sacc信号用于指示媒体网关进行额外导通检测, 即指示媒 体网关只对新产生的候选对进行导通检测, 而已经进行过导通检测的候选对 则不再进行导通检测。
实施例四
在实施例三中, 媒体网关控制器指示媒体网关发起额外导通检测是因为 媒体网关检测发现了新的对端反射侯选, 从而更新了侯选对。 但是, 在实施 例四中, 还有其它情况下侯选对也会发生更新。 例如: 新增了媒体流(或者说 流)或对现有媒体流(或者说流)的更改。 例如:媒体网关控制器在已有的流正 在进行或者已经完成导通检测的情况下, 通过 MODIFY (修正)等消息增加新 的流。 或者, 在已有的流正在进行或者已经完成导通检测的情况下, 通过 MODIFY对现有的流进行更新。 以上情况下需要发起导通检测对新的候选对进 行导通检测。 而已经执行过的导通检测不需要被重新执行一遍。
在上述情况下, 媒体网关控制器指示媒体网关执行额外导通检测。 该指 示通过本发明实施例的 sacc信号携带, 然后由媒体网关根据指示进行额外导 通检测过程。
在媒体网关控制器指示媒体网关执行额外导通检测之前或者在同一个 H. 248消息中,媒体网关控制器可选地向媒体网关发送关于新增了媒体流或对 现有媒体流进行更改的消息, 以使所述媒体网关和对端设备更新自身的候选 地址对。
由上可以看出, 本发明实施例进行导通检测的方法, 由媒体网关根据由 媒体网关控制器发送的额外导通检测消息进行额外导通检测。 因此, 利用本 发明实施例的技术方案, 当有新的候选被增加或者已有的候选被修改后, 导 通检测候选对列表会被刷新, 该刷新后的候选对列表中包含的部分候选对可 能已经之前进行过导通检测, 因此不再重复进行这部分导通检测, 以提高导 通检测的效率。
实施例五
如图 4所示, 本发明实施例五进行导通检测的方法, 包括如下步骤: 步骤 51、 媒体网关控制器生成额外导通检测消息;
与前述实施例中描述的相同, 所述额外导通检测消息可以是由所述媒体 网关控制器根据所述媒体网关的导通检测过程中发现新的候选生成的, 或者 也可以在新增了媒体流或需要对现有媒体流进行更改时, 由所述媒体网关控 制器根据需要自发生成所述额外导通检测消息。
步骤 52、 所述媒体网关控制器向媒体网关发送所述额外导通检测消息, 以使所述媒体网关进行额外导通检测。
其中, 若所述额外导通检测消息是由所述媒体网关控制器根据所述媒体 网关的导通检测过程中发现新的候选生成的, 步骤 51所述媒体网关控制器生 成额外导通检测消息前, 还包括:
步骤 50a、所述媒体网关控制器接收由媒体网关发送的对端反射候选上报 消息;
所述对端反射候选上报消息可通过对 H. 248协议中的 nprc事件进行扩展 实现。 其中对所述 nprc事件的扩展方式以及该事件中所携带的参数及其相关 描述与前述的相同, 在此不再赘述。
步骤 50b、根据所述对端反射候选上报消息, 通知所述媒体网关和对端设 备更新自身的候选地址对。 所述媒体网关控制器可通过至少以下两种方式来通知所述媒体网关和对 端设备更新自身的候选地址对:
方式一: 所述媒体网关控制器根据所述对端反射候选上报消息, 首先向 所述对端设备发送更新消息 (SIP Update ), 以使所述对端设备更新自身的候 选地址对; 然后, 再向所述媒体网关发送更新导通检测候选信息消息, 以使 所述媒体网关更新自身的候选地址对;
方式二: 所述媒体网关控制器根据所述对端反射候选上报消息, 首先向 所述媒体网关发送更新导通检测候选信息消息, 以使所述媒体网关更新自身 的候选地址对; 然后, 向所述对端设备发送更新消息 (SIP Upda te ), 以使所 述对端设备更新自身的候选地址对。
在具体应用中, 所述更新导通检测候选信息消息可以为修改消息 ( MODIFIY ) 中的 SDP携带更新后的导通检测候选信息, 或其他能够实现该更 新导通检测候选信息的功能的其他消息。
或者, 当新增了媒体流和 /或对现有媒体流进行更改时, 步骤 51 在媒体 网关控制器生成额外导通检测消息之后或同时, 所述方法还包括: 所述媒体 网关控制器向所述媒体网关发送携带了新增媒体流和 /或对现有媒体流进行 更改的信息的消息, 以使所述媒体网关和对端设备更新自身的候选地址对, 然后由媒体网关根据指示进行额外导通检测过程。
由上可以看出, 本发明实施例进行导通检测的方法, 由媒体网关根据由 媒体网关控制器发送的额外导通检测消息进行额外导通检测。 因此, 利用本 发明实施例的技术方案, 当有对端候选对产生或者业务变更时, 可对新的候 选对进行导通检测, 以提高导通检测的效率。
实施例六
下面结合图 5详细描述一下本发明实施例六进行导通检测的方法的流程。 如图 5所示, 本发明实施例六进行导通检测的方法包括:
步骤 71、 媒体网关向对端设备发送 STUN请求消息, 请求对某个候选对 进行导通检测;
步骤 72、 所述对端设备返回 STUN应答消息, 在所述应答消息中携带映射 地址;
步骤 73、 所述媒体网关根据所述应答消息中携带的映射地址确定产生对 端反射候选;
步骤 74、 所述媒体网关通过 H. 248协议中的上报事件, 向媒体网关控制 器上报产生了对端反射候选;
步骤 75、 所述媒体网关控制器向所述媒体网关发送应答消息;
步骤 76、 所述媒体网关获知产生了对端反射候选后, 通过 SIP 协议的
UPDATE消息或者其它消息通知对端设备更新本端的侯选地址对;
步骤 77、 所述对端设备发送对所述 UPDATE消息的应答消息 200 0K消息; 步骤 78、 所述媒体网关控制器向媒体网关发送 MODIFY消息, 更新 SDP中 的导通检测候选信息;
步骤 79、所述媒体网关向所述媒体网关控制器发送应答消息 200 0K消息; 步骤 710、 向所述媒体网关发送开始导通检测消息, 通知所述媒体网关对 候选地址对进行导通检测。 在此实施例中, 所述开始导通检测消息为重新开 始检测消息, 也即通知所述媒体网关只对更新的候选地址对进行检测。
在上述过程中, 所述步骤 76和 77、 以及 78和 79两组步骤之间的顺序可 以调换, 也即所述媒体网关控制器也可以先通知媒体网关更新自身的候选地 址对(也就是媒体网关上保存的候选对), 再通知对端设备更新自身的候选地 址对(也就是对端设备上保存的候选对)。
由以上描述可以看出, 本发明实施例进行导通检测的方法, 由媒体网关 根据媒体网关控制器发送的额外导通检测消息进行额外导通检测。 因此, 利 用本发明实施例的技术方案, 通过所述额外导通检测消息, 可对新的候选对 进行导通检测, 以提高导通检测的效率。 另外, 在进行导通检测的过程中, 所述对端反射候选只在一个导通检测消息中被发现和使用, 而不会和其它的 对端候选组成新的候选对进行导通检测。 而利用本发明实施例的技术方案, 使得在进行导通检测的过程中, 新产生的对端反射候选可以与其他本地候选 组成候选对而进行导通检测, 从而进一步提高了导通检测的效率的准确性。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施 例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-On l y Memory , ROM )或随机存储记忆体 ( Random Acce s s Memory , RAM )等。
实施例七
如图 6 所示, 本发明实施例七还提供了一种媒体网关, 包括: 消息接收 单元 81和导通检测单元 82。 其中, 所述消息接收单元 81 , 用于接收由媒体 网关控制器发送的额外导通检测消息; 导通检测单元 82 , 用于根据所述额外 导通检测消息, 进行额外导通检测。
其中, 若所述额外导通检测消息是由所述媒体网关控制器根据所述媒体 网关的导通检测过程中发现新的候选生成的, 所述消息接收单元 81 , 还用于 接收由对端设备发送的 STUN应答消息, 在所述应答消息中携带有映射地址; 此时, 如图 7所示, 所述媒体网关还可包括: 对端反射候选确定单元 83 , 用 于根据所述应答消息中携带的映射地址确定产生对端反射候选; 信息上报单 元 84 , 用于向媒体网关控制器发送对端反射候选上报消息, 以使所述媒体网 关控制器通知所述媒体网关更新自身的候选地址对;候选地址对更新单元 85 , 用于接收所述媒体网关控制器发送的额外导通检测候选信息消息, 更新自身 的候选地址对。
此外, 当新增了媒体流或对现有媒体流进行更改时, 所述消息接收单元 81 还用于接收由所述媒体网关控制器发送的携带了新增媒体流和 /或对现有 媒体流进行更改的信息的消息。
上述本发明实施例二、 三、 四中 MGW的功能可以由本实施例提供的 MGW 实现。
本发明实施例的媒体网关, 由媒体网关根据由媒体网关控制器发送的额 外导通检测消息进行额外导通检测。 因此, 利用本发明实施例的技术方案, 当有对端候选对产生或者业务变更时, 可对新的候选对进行导通检测, 以提 高导通检测的效率。
实施例八
如图 8 所示, 本发明实施例八还提供了一种媒体网关控制器, 包括: 消 息生成单元 91 , 消息发送单元 92。 其中, 消息生成单元 91 , 用于生成额外导 通检测消息; 消息发送单元 92 , 用于向媒体网关发送所述额外导通检测消息, 以使所述媒体网关进行额外导通检测。
其中, 所述消息生成单元 91根据所述媒体网关的先前导通检测结果, 或 者根据业务需要生成额外导通检测消息。
此外, 如图 9所示, 所述媒体网关控制器还可包括:
消息接收单元 93 , 用于接收由媒体网关发送的对端反射候选上报消息; 通知单元 94 , 用于根据所述对端反射候选上报消息, 通知所述媒体网关 和对端设备更新自身的候选地址对。
信息发送单元 95 ,用于向所述媒体网关发送携带了新增媒体流和 /或对现 有媒体流进行更改的信息的消息。
上述本发明实施例五、 六、 七中 MGC 的功能可以由本实施例提供的 MGC 实现。
综上所述, 本发明实施例进行导通检测的方法、 设备及系统, 由媒体网 关根据由媒体网关控制器发送的额外导通检测消息进行额外导通检测。 因此, 利用本发明实施例的技术方案, 当有对端候选对产生或者业务变更时, 可对 新的候选对进行导通检测, 以提高导通检测的效率。
此外, 本发明实施例主要应用于 NGN 网络和 IMS (IP Mul t imedia Subsys tem, IP多媒体子系统)网络中等, 当然并不限于此。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。

Claims

权 利 要求 书
1、 一种进行导通检测的方法, 其特征在于, 包括:
媒体网关接收由媒体网关控制器发送的额外导通检测消息;
所述媒体网关根据所述额外导通检测消息, 进行额外导通检测。
1、 根据权利要求 1所述的方法, 其特征在于, 在所述媒体网关接收由媒体 网关控制器发送的额外导通检测消息之前, 所述方法还包括:
所述媒体网关接收由对端设备发送的 STUN应答消息, 在所述应答消息中携 带有映射地址;
所述媒体网关根据所述应答消息中携带的映射地址确定产生对端反射候 选;
所述媒体网关向媒体网关控制器发送对端反射候选上报消息, 以使所述媒 体网关控制器通知所述媒体网关更新自身的候选地址对;
所述媒体网关接收所述媒体网关控制器发送的更新导通检测候选信息消 息, 更新自身的候选地址对。
3、 根据权利要求 2所述的方法, 其特征在于, 所述对端反射候选上报消息 中包括 H. 248协议中的新对端反射候选事件。
4、 根据权利要求 3所述的方法, 其特征在于, 所述 H. 248协议中的新对端 反射候选事件包括如下参数中的一种或多种: 流编号, 组编号, 基编号, 部件 编号和对端反射候选的 IP地址和端口。
5、 根据权利要求 1所述的方法, 其特征在于, 所述额外导通检测消息中包 括 H. 248协议中的发送额外导通检测信号。
6、 根据权利要求 1所述的方法, 其特征在于, 在所述媒体网关接收由媒体 网关控制器发送的额外导通检测消息之前或者之时, 所述方法还包括:
所述媒体网关接收由所述媒体网关控制器发送的携带了新增媒体流和 /或 对现有媒体流进行更改的信息的消息, 更新自身的候选地址对。
7、 一种进行导通检测的方法, 其特征在于, 包括: 媒体网关控制器生成额外导通检测消息;
所述媒体网关控制器向媒体网关发送所述额外导通检测消息 , 以使所述媒 体网关进行额外导通检测。
8、 根据权利要求 7所述的方法, 其特征在于, 在所述媒体网关控制器生成 额外导通检测消息前还包括:
所述媒体网关控制器接收由媒体网关发送的对端反射候选上报消息; 根据所述对端反射候选上报消息, 通知所述媒体网关和对端设备更新自身 的候选地址对。
9、 根据权利要求 8所述的方法, 其特征在于, 根据所述对端反射候选上报 消息, 通知所述媒体网关和对端设备更新自身的候选地址对的步骤包括:
根据所述对端反射候选上报消息, 向所述对端设备发送更新消息, 以使所 述对端设备更新自身的候选地址对; 然后, 向所述媒体网关发送更新导通检测 候选信息消息, 以使所述媒体网关更新自身的候选地址对;
或者
根据所述对端反射候选上报消息, 向所述媒体网关发送更新导通检测候选 信息消息, 以使所述媒体网关更新自身的候选地址对; 然后, 向所述对端设备 发送更新消息, 以使所述对端设备更新自身的候选地址对。
10、 根据权利要求 8或 9所述的方法, 其特征在于, 所述对端反射候选上 报消息中包括 H. 248协议中的新对端反射候选事件。
11、 根据权利要求 10所述的方法, 其特征在于, 所述 H. 248协议中的新对 端反射候选事件包括如下参数: 流编号, 组编号, 基编号, 部件编号和对端反 射 4昊选的 IP地址和端口。
12、 根据权利要求 7 所述的方法, 其特征在于, 所述额外导通检测消息中 包括 H. 248协议中的发送额外导通检测信号。
13、 根据权利要求 7 所述的方法, 其特征在于, 在媒体网关控制器生成额 外导通检测消息之后或同时, 所述方法还包括: 所述媒体网关控制器向所述媒体网关发送携带了新增媒体流和 /或对现有 媒体流进行更改的信息的消息, 以使所述媒体网关和对端设备更新自身的候选 地址对。
14、 一种媒体网关, 其特征在于, 包括:
消息接收单元, 用于接收由媒体网关控制器发送的额外导通检测消息; 导通检测单元, 用于根据所述额外导通检测消息, 进行额外导通检测。
15、 根据权利要求 14所述的媒体网关, 其特征在于, 所述消息接收单元, 还用于接收由对端设备发送的 STUN应答消息, 在所述应答消息中携带有映射地 址;
所述媒体网关还包括:
对端反射候选确定单元, 用于根据所述应答消息中携带的映射地址确定产 生对端反射候选;
信息上报单元, 用于向媒体网关控制器发送对端反射候选上报消息, 以使 所述媒体网关控制器通知所述媒体网关更新自身的候选地址对;
候选地址对更新单元, 用于接收所述媒体网关控制器发送的更新导通检测 候选信息消息, 更新自身的候选地址对。
16、 根据权利要求 15 所述的媒体网关, 其特征在于, 所述消息接收单元 还用于接收由所述媒体网关控制器发送的携带了新增媒体流和 /或对现有媒体 流进行更改的信息的消息。
17、 一种媒体网关控制器, 其特征在于, 包括:
消息生成单元, 用于生成额外导通检测消息;
消息发送单元, 用于向媒体网关发送所述额外导通检测消息, 以使所述媒 体网关进行额外导通检测。
18、根据权利要求 17所述的媒体网关控制器,所述媒体网关控制器还包括: 消息接收单元, 用于接收由媒体网关发送的对端反射候选上报消息; 通知单元, 用于根据所述对端反射候选上报消息, 通知所述媒体网关和对 端设备更新自身的候选地址对。
19、根据权利要求 17所述的媒体网关控制器,所述媒体网关控制器还包括: 信息发送单元, 用于向所述媒体网关发送携带了新增媒体流和 /或对现有媒 体流进行更改的信息的消息。
20、 一种进行导通检测的系统, 其特征在于, 包括: 媒体网关和媒体网关 控制器;
所述媒体网关, 用于接收由媒体网关控制器发送的额外导通检测消息, 并 根据所述额外导通检测消息, 进行额外导通检测;
所述媒体网关控制器, 用于生成额外导通检测消息, 并向所述媒体网关发 送所述额外导通检测消息, 以使所述媒体网关进行额外导通检测。
PCT/CN2009/074616 2009-01-12 2009-10-26 进行导通检测的方法、设备及系统 WO2010078774A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP09837331A EP2383936A1 (en) 2009-01-12 2009-10-26 Method, device and system of performing connectivity check
US13/179,207 US20110267965A1 (en) 2009-01-12 2011-07-08 Method, device, and system for connectivity check

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910001787.2 2009-01-12
CN2009100017872A CN101778008B (zh) 2009-01-12 2009-01-12 进行导通检测的方法、设备及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/179,207 Continuation US20110267965A1 (en) 2009-01-12 2011-07-08 Method, device, and system for connectivity check

Publications (1)

Publication Number Publication Date
WO2010078774A1 true WO2010078774A1 (zh) 2010-07-15

Family

ID=42316229

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/074616 WO2010078774A1 (zh) 2009-01-12 2009-10-26 进行导通检测的方法、设备及系统

Country Status (4)

Country Link
US (1) US20110267965A1 (zh)
EP (1) EP2383936A1 (zh)
CN (1) CN101778008B (zh)
WO (1) WO2010078774A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262853A (zh) * 2015-09-23 2016-01-20 上海斐讯数据通信技术有限公司 一种p2p连接nat穿越的路径建立方法、装置及系统
CN114285757A (zh) * 2020-09-18 2022-04-05 华为技术有限公司 网络仿真方法、装置、设备及计算机可读存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1514612A (zh) * 2002-12-31 2004-07-21 深圳市中兴通讯股份有限公司 一种在中继网关实现导通检验的方法
CN101257433A (zh) * 2007-03-01 2008-09-03 华为技术有限公司 实现网络地址转换穿越的方法和系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100558052C (zh) * 2006-09-30 2009-11-04 华为技术有限公司 一种ip网络中媒体网关之间的媒体通道质量检测方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1514612A (zh) * 2002-12-31 2004-07-21 深圳市中兴通讯股份有限公司 一种在中继网关实现导通检验的方法
CN101257433A (zh) * 2007-03-01 2008-09-03 华为技术有限公司 实现网络地址转换穿越的方法和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2383936A4 *

Also Published As

Publication number Publication date
CN101778008B (zh) 2012-04-04
EP2383936A4 (en) 2011-11-02
EP2383936A1 (en) 2011-11-02
US20110267965A1 (en) 2011-11-03
CN101778008A (zh) 2010-07-14

Similar Documents

Publication Publication Date Title
JP5972398B2 (ja) Iceベースnatトラバーサル
KR101280281B1 (ko) 일련의 경계 게이트웨이들을 통하는 ip 멀티미디어 베어러 경로 최적화를 위한 개선된 방법 및 시스템
US20130308628A1 (en) Nat traversal for voip
EP2117190B1 (en) Method, system and device for realizing network address translation passing
US8090845B2 (en) Apparatus and method for firewall traversal
US9686709B2 (en) Method, apparatus and system for guaranteeing QoS of communication service in NAT scenario
JP4697895B2 (ja) Ims/mmdネットワークへの代理接続方法、アダプタ及びプログラム
WO2008000188A1 (fr) Procédé et système pour réaliser une interaction de flux multimédia, contrôleur de passerelle multimédia, et passerelle multimédia
WO2007016832A1 (fr) Procédé de détection de panne dans le réseau de prochaine génération
WO2016107454A1 (en) Turn relay service reuse for nat traversal during media session resumption
TW201002018A (en) Method for predicting port number of NAT apparatus based on two STUN server inquiry results
TWI565261B (zh) 用於即時通訊的網路位址轉換穿透系統與方法
US20130117460A1 (en) Data management methods for use in a network system and network systems using the same
WO2012109865A1 (zh) 私网与网外客户端之间呼叫的nat处理方法、设备和系统
WO2013082747A1 (zh) 一种ip路径协商的方法、系统及装置
WO2010078774A1 (zh) 进行导通检测的方法、设备及系统
WO2007143920A1 (fr) Procédé et dispositif de commande de ressources de supports, procédé et système d'établissement d'appel
JP6293902B2 (ja) ブラウザ発信プロシージャのためのモバイルデバイスベースのプロキシ
GB2568699B (en) Network entities comprising interworking functions, methods of controlling same, and computer programs
US9749296B1 (en) Method and apparatus for modifying address information in signaling messages to ensure in-path devices remain in signaling path between endpoints
EP2608488B1 (en) Dialog establishment over a peer-to-peer architecture
WO2012155737A1 (zh) 一种实现ims核心网消息转发的系统及方法
Khirul et al. An efficient approach for NAT traversal problem on security of voice over internet protocol
US20100265961A1 (en) Method, device and system for controlling the packet size for media transmission
WO2014048310A1 (zh) 数据的交互方法、装置及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09837331

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2009837331

Country of ref document: EP