作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (24): 81-83. doi: 10.3969/j.issn.1000-3428.2009.24.027

• 软件技术与数据库 • 上一篇    下一篇

一种媒体流穿越NAT的算法设计与实现

魏立峰,刘丹斌,王庆辉   

  1. (沈阳化工学院信息工程学院,沈阳 110142)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-12-20 发布日期:2009-12-20

Algorithm Design and Implementation of Traversing NAT for Media Streams

WEI Li-feng, LIU Dan-bin, WANG Qing-hui   

  1. (School of Information Engineering, Shenyang Institute of Chemical Technology, Shenyang 110142)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-12-20 Published:2009-12-20

摘要: 基于交互式连通建立草案协议,综合运用网络地址转换(NAT)会话穿越工具和中继穿越工具,设计一个媒体流穿越NAT的算法实例。使用请求/应答交互方式,探索通信双方NAT拓扑部署,通过排序算法找到并选择一条最优的传输路径。在Linux下进行编程测试,能使媒体流较好地穿越不同拓扑部署的NAT。

关键词: 交互式连通建立, 会话初始协议, 网络地址转换, 候选

Abstract: An algorithm instance is designed about traversing Network Address Translator(NAT) for media streams, in which Session Traversal Utilities for NAT(STUN) and Traversal Using Relays around NAT(TURN) based on the Interactive Connectivity Establishment(ICE) are used synthetically. The algorithm explores the NAT topology for peer by the request/response interaction and finds the best path. The program test on Linux proves that media streams are able to pass through various topologies of NAT deployment.

Key words: Interactive Connectivity Establishment(ICE), Session Initiation Protocol(SIP), Network Address Translator(NAT), candidate

中图分类号: