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

计算机工程 ›› 2007, Vol. 33 ›› Issue (14): 195-197. doi: 10.3969/j.issn.1000-3428.2007.14.069

• 多媒体技术及应用 • 上一篇    下一篇

基于NAT的UDP流媒体服务端到端解决方案

姜秀艳,叶德建,孙澔峻   

  1. (复旦大学软件学院,上海 201203)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-07-20 发布日期:2007-07-20

Side-to-side Solution Method of UDP Streaming Media Service Based on NAT

JIANG Xiuyan, YE Dejian, SUN Haojun   

  1. (Software School, Fudan University, Shanghai 201203)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-07-20 Published:2007-07-20

摘要: UDP流媒体服务器如何穿透内网满足客户端点播是一个重要的问题。UDP流媒体服务器发送数据之前需要知道发送目的地址(包括IP地址和端口号),而通过代理服务器点播的内网用户无法告知流媒体服务器。该文针对流媒体服务器 ClearServer,提出了一种ClearNat地址映射方法,通过提供NAT地址和端口、内网地址与端口的映射,使ClearServer发送数据到客户端。结果表明,该方法计算复杂度小,支持内网“大并发用户”,对ClearServer主体程序没有影响。

关键词: UDP, NAT, ClearServer流媒体服务器, 地址映射

Abstract: It is an important problem for UDP streaming media server to get through the intranet so that the client computers can visit it smoothly. It is necessary for the streaming media server know the address and port where the data will be sent. However, intranet clients by NAT Server can’t tell the streaming media server such information. It proposes a method called ClearNat that provides address mapping related to ClearSerer streaming media server. By providing mapping information between NAT IP & port and Intranet IP& port, ClearNat method makes the ClearServer transmit data to the client smoothly. Results show that the method has the advantages of small computing complexity, supporting large concurrent clients, less modification for main program of ClearServer and little affecting of ClearServer’s effectiveness.

Key words: UDP, NAT, ClearServer streaming media server, address mapping

中图分类号: