期刊文献+

SIP协议实现中消息解析的研究 被引量:4

Improvement of SIP header parsing via static search table
下载PDF
导出
摘要 在满足SIP协议被设计为可灵活扩展的文本协议的要求的基础上,分析了传统SIP消息解析器中基于字符串比较操作来判断消息头字段类型对整体SIP消息解析性能的影响。结合SIP协议栈实现过程中的对可维护性和可扩展性要求,深入研究了逐行解析消息头字段的基本流程和静态查找表的基本工作原理,提出了借助开源工具Gperf自动化构建高效静态查找表以实现头字段类型查询的方法,并实现了SIP消息头类型的快速匹配的目的。该方法改善了SIP消息解析器的性能和扩展性。 To enhance the performance of SIP header detecting process during the SIP message parsing with the consideration of the design principle of flexibility of SIP protocol,a detailed analysis on efficiency of string comparison to determine the type of SIP header which may introduce performance issue,shows that traditional string operation should be replaced with some faster methods.A new method is proposed based on analyses of the basic procedure of parsing SIP header in line model and practices the open source Gperf for generating perfect hash function.And then this method leverages the searching static hash table of SIP header names for determining SIP header type to improve the parsing performance of SIP decoder and ability of SIP header extension.
出处 《计算机工程与设计》 CSCD 北大核心 2010年第13期2988-2991,2995,共5页 Computer Engineering and Design
关键词 SIP协议 消息解析 SIP协议解析性能 Gperf工具 静态查找表 SIP message parsing SIP performance Gperf static search table
  • 相关文献

参考文献7

二级参考文献74

共引文献109

同被引文献28

  • 1闵涵,陈莘萌,张琦辉.基于SIP协议的网络安全性分析[J].计算机工程与设计,2004,25(3):386-389. 被引量:13
  • 2储泰山,潘雪增.SIP安全模型研究及实现[J].计算机应用与软件,2004,21(12):101-104. 被引量:15
  • 3李卿,乔元松,郑慧.SIP穿越防火墙/NAT(-PT)的探讨和设计[J].计算机工程与设计,2005,26(5):1294-1298. 被引量:5
  • 4Wieser C, Laakso M, Schulzrinne H. SIP robustness testing for large-scale use [C]. Erfurt, Germany: 1st Int Workshop on Software Quality, 2004.
  • 5XU Luo, WU Ji, LIU Chao. TTCN-3 based robustness test generation and automation [C]. Kiev, Ukraine: Informaion Technology and Computer Science, 2009: 120-125.
  • 6XIANG Yang, WANG Zhi-liang, Yin Xia. SIP robustness testing based on TTCN-3 [C]. Bradford, United Kingdom: Advanced Information Networking and Applications Work- shops, 2009: 122-128.
  • 7McGann S, Sicker D C. An analysis of security threats and tools in SIP-based VoIP systems [C]. Second VolP Security Workshop, 2005.
  • 8Wieser C, Laakso M, Schulzrinne H. Security testing of SIP im- plementations [R]. NY: Technical Report CUCS-024-03, 2005.
  • 9肖攸安,周祖德.一种基于椭圆曲线的高效自证明密钥分配协议[J].大连海事大学学报,2007,33(4):56-59. 被引量:1
  • 10EndlerD.黑客大曝光:VolP安全机密与解决方案[M].北京:电子工业出版社.2010.

引证文献4

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部