计算机与现代化 ›› 2011, Vol. 1 ›› Issue (3): 95-97.doi: 10.3969/j.issn.1006-2475.2011.03.026

• 网络与通信 • 上一篇    下一篇

基于ALG的VoIP中NAT穿越技术的研究与实现

赵 慧1,楼新远1,杨庆伟2   

  1. 1.西南交通大学信息科学与技术学院,四川 成都 610031;2.电子科技大学计算机科学与工程学院,四川 成都 611731
  • 收稿日期:2010-10-28 修回日期:1900-01-01 出版日期:2011-03-18 发布日期:2011-03-18

Research and Realization of NAT Traversal Solutions in VoIP System Based on ALG

ZHAO Hui1, LOU Xin-yuan1, YANG Qing-wei2   

  1. 1. School of Information Science and Technology, Southwest Jiaotong University, Chengdu 610031, China;2. School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu 611731, China
  • Received:2010-10-28 Revised:1900-01-01 Online:2011-03-18 Published:2011-03-18

摘要: 在VoIP(Voice over Internet Protocol)通信中H.323协议消息携带的地址信息在穿越NAT(Network Address Translation)时,传统的ALG(Apply Layer Gateway)方案采用的全部解码方法,性能较低。为了解决此问题,本文分析ALG技术,采用按需解码的方法,只解码消息的地址信息部分,不需全部重新编码,并做对比实验。结果表明,按需解码所需时间约是全部解码方案所需时间的1/75~1/80,优化了ALG的处理性能。

关键词: ALG, 按需解码, NAT穿越, H.323

Abstract: During the VoIP communication, the address information carried by H.323 protocol traveling the NAT, decoding-all method with lower performance is used in the traditional performance of ALG solution. To optimize performance, the paper analyzes the ALG technology and gives a decoding method using on-demand which only decodes the address information of the message instead of re-encoding all. A comparison experiment is carried out which shows that the time of decoding on-demand is about 1/75~1/80 of the decoding-all solution. The problem of low efficiency of ALG treatment is optimized.

Key words: ALG, on-demand decoding, NAT traversal, H.323

中图分类号: