期刊文献+

一种应用层协议解析加速算法 被引量:4

A General Acceleration Algorithm for Application Protocol Parsing
下载PDF
导出
摘要 为解决WEB应用服务端高并发压力时应用层协议解析带来的性能和稳定性问题,通过统计分析发现一些应用层协议(如RTSP、HTTP、SSDP等)结构具有字段数量有限、字段名称固定、名称与分割符之间内容为该字段值以及结构非固定等特征,提出一种协议字段树结构,基于该结构提出一种应用层协议内容解析加速算法,在解析过程中不会出现匹配失败及回溯情况。针对具有上述特征的应用层协议,通过与传统的协议解析方法及多模字符串匹配算法实验对比,结果显示,提出的基于协议字段树结构的解析加速算法解析性能比传统的解析方法平均提升16.5%以上,算法适用于高并发压力下ASCII及二进制形式的协议内容解析,具有良好的扩展性。 The performance and stability related issues in WEB applications were studied and the results showed that some application layer protocol(such as HTTP,SSDP,etc.) structures have attributes like limited field,fixed number of field name,obvious position for field values and unstructured.A general application protocol parsing acceleration algorithm was proposed to prompt signaling handle efficiency.The key idea is the protocol field extended tree.The proposed algorithm was demonstrated and analyzed,and its time complexity only grows with not protocol content length but the sum of each field length in protocol format.The comparion with the algorithms used for existed protocol parsing methods in well-known WEB applications proved this algorithm outperformance 16.5% in throughput than compared methods under the same test conditions.Besides,the proposed algorithm could be applied to both ASCII and binary application protocols with good scalability.
出处 《四川大学学报(工程科学版)》 EI CAS CSCD 北大核心 2014年第4期87-93,共7页 Journal of Sichuan University (Engineering Science Edition)
基金 国家"863"计划资助项目(2012AA011703) 国家科技支撑计划资助项目(2012BAH02B01) 中科院重点部署项目(KGZD-EW-103-4 KGZD-EW-103-2)
关键词 应用层协议解析 协议字段树 协议分割符 字符串匹配 protocol content parsing protocol field tree protocol field separator string matching
  • 相关文献

参考文献3

  • 1万国根,秦志光.改进的AC-BM字符串匹配算法[J].电子科技大学学报,2006,35(4):531-533. 被引量:20
  • 2James Walkerdine,Danny Hughes,Paul Rayson,John Simms,Kiel Gilleade,John Mariani,Ian Sommerville.A framework for P2P application development[J].Computer Communications.2007(2)
  • 3Alfred V. Aho,Margaret J. Corasick.Efficient string matching[J].Communications of the ACM.1975(6)

二级参考文献7

  • 1Knuth D,Morris J,Pratt P. Fast pattern matching in strings[J]. SIAM Journal on Computing, 1997, 6(2): 323.
  • 2Boyer R S, Moore J S. A fast string searching algorithm[J]. Communications of the ACM, 1997, 20(10): 762.
  • 3Nigcl H R. Practical fast scarchingin strings[I].Software Practice and Experience, 1980, 10(6);501-506.
  • 4Aho A, Corasick M. Efficient string matching: An aid to bibliographic search[J]. Communications of the ACM, 1975, 18(6): 333- 343
  • 5Jason C C, Staniford S, McAlemey J. Towards faster string for intrusion detection or exceeding the sped of snert[J/OL].http://www.silicondefense.com/sotfware/acbrn/speed_of_snort_03_16_2001.padf.2003-10-06
  • 6Fisk M, Varghese G. Fastcontent-base packet handling for intrusion detection[R]. UCSD Techinal Report: ucsd-tr-cs, 2001.
  • 7王永成,沈州,许一震.改进的多模式匹配算法[J].计算机研究与发展,2002,39(1):55-60. 被引量:52

共引文献20

同被引文献25

引证文献4

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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