期刊文献+

DSP处理器上的高效串匹配实现 被引量:2

Efficient String Matching Algorithm for DSP Processor
下载PDF
导出
摘要 字符串匹配是生物识别、入侵检测的基础,也是大数据互联网时代的研究热点.随着现代信息技术的发展,日常工作生活中移动及手持小型化设备的使用越发普遍.这些设备的应用场景中包含大量有关串匹配的需求,如人脸识别、实时数据查询等.串匹配算法的实时和准确性决定了使用场景的范围,因此在DSP处理器等移动小型化设备的嵌入式处理器上实现高效串匹配算法的问题变得十分迫切.该文针对DSP处理器因缺乏逻辑判断与跳转指令,难以支持高效串匹配运算的问题,提出了一种基于DSP平台特点的改进串匹配算法.该算法采用位并行的思路,在DSP处理器上实现了串匹配算法的并行化.同时通过前序启动、基于VLIW的数学运算替代逻辑判断、Q-grams等优化手段,提高该算法对于DSP平台的适应性与执行效率,最终实现了一种基于HXDSP的高效串匹配算法VBNDM2.实验结果表明,本算法针对DSP平台,有效地提高了串匹配的效率,实现了算法的高效并行化. String matching is the basis of biometrics and intrusion detection,and it is also a research hotspot in the era of big data Internet.With the development of modern information technology,the use of mobile and handheld miniaturized devices in daily work and life is becoming more common.The application scenarios of these devices include a large number of requirements related to string matching,such as face recognition and real-time data query.The real-time and accuracy of the string matching algorithm determines the range of use scenarios,so the problem of implementing an efficient string matching algorithm on an embedded processor of a mobile miniaturized device such as a DSP processor becomes very urgent.Aiming at the problem that DSP processors lack support for efficient string matching operations due to lack of logical judgment and jump instructions,this paper proposes an improved string matching algorithm based on the characteristics of the DSP platform.This algorithm adopts the idea of bit parallelism,and realizes the parallelization of the string matching algorithm on the DSP processor.At the same time,through the pre-launch,VLIW-based mathematical operations instead of logical judgments,Q-grams and other optimization methods,the algorithm’s adaptability and execution efficiency for the DSP platform are improved.Finally,an efficient string matching algorithm VBNDM2 based on HXDSP is implemented.Experimental results show that this algorithm is aimed at the DSP platform,which effectively improves the efficiency of string matching and achieves efficient parallelization of the algorithm.
作者 叶鸿 顾乃杰 林传文 YE Hong;GU Nai-jie;LIN Chuan-wen(School of Computer Science and Technology,University of Science and Technology of China,Hefei 230027,China;Department of Computer Science and Technology,Hefei University,Hefei 230601,China)
出处 《小型微型计算机系统》 CSCD 北大核心 2021年第4期847-852,共6页 Journal of Chinese Computer Systems
基金 安徽省科技重大专项项目(18030901011)资助 合肥学院科研发展基金项目(19ZR03ZDA)资助。
关键词 DSP 串匹配 VLIW SIMD 位并行 DSP string matching VLIW SIMD bit parallel
  • 相关文献

参考文献5

二级参考文献14

  • 1李成军,周卫峰,朱重光.基于Intel SIMD指令的二维FFT优化算法[J].计算机工程与应用,2007,43(5):41-44. 被引量:11
  • 2Holub J,Durian B.Fast variants of bit parallel approach to suffix automata[OL]. http://www.cri.haifa.ac.il/events/2005/string/presentations/Holub.pdf . 2008
  • 3Allauzen C,,Crochemore M,Raffinot M.Factor oracle:A newstructure for pattern matching[].Proc of SOFSEM.1999
  • 4Navarro G,Raffinot M.Fast and flexible string matching by combining bit-parallelismand suffix automata[OL]. http://doi.acm.org/10.1145/351827.384246 . 2008
  • 5Peltola Hannu,Tarhio Jorma.Alternative algorithms for bit-parallel string matching[].Proc of SPIRE.2003
  • 6Knuth D E,Morris J H,Pratt V R.Fast pattern matching in string[].SIAM Journal on Computing.1977
  • 7Horspool R N.Practical fast searching in strings[].Software Practice and Experience.1980
  • 8Hume A,Sunday D M.Fast string searching[].Software -Practice &Experience.1991
  • 9Sheik S.S,Aggarwal Sumit K,Poddar Anindya.A fast pattern matching algorithm[].Journal of Chemistry.2004
  • 10K.Fredriksson,S. Grabowski.Practical and Optimal String Matching[].String Processing and Information Retrieval.2005

共引文献23

同被引文献19

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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