{"title":"A Practical Distributed String Matching Algorithm Architecture and Implementation","authors":"Bi Kun, Gu Nai-jie, Tu Kun, Liu Xiao-hu, Liu Gang","volume":10,"journal":"International Journal of Computer and Information Engineering","pagesStart":3316,"pagesEnd":3321,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/9309","abstract":"Traditional parallel single string matching algorithms\r\nare always based on PRAM computation model. Those algorithms\r\nconcentrate on the cost optimal design and the theoretical speed.\r\nBased on the distributed string matching algorithm proposed by\r\nCHEN, a practical distributed string matching algorithm architecture\r\nis proposed in this paper. And also an improved single string matching\r\nalgorithm based on a variant Boyer-Moore algorithm is presented. We\r\nimplement our algorithm on the above architecture and the\r\nexperiments prove that it is really practical and efficient on distributed\r\nmemory machine. Its computation complexity is O(n\/p + m), where n\r\nis the length of the text, and m is the length of the pattern, and p is the\r\nnumber of the processors.","references":"[1] Zheng Liu, Xin Chen, James Borneman and Tao Jiang, \"A fast algorithm\r\nfor approximate string matching on gene sequences,\" in Symposium. 16th\r\nAnnu. Combinatorial Pattern Matching, LNCS, Springer-Verlag, vol.\r\n3537, pp. 79-90, June 2005.\r\n[2] N. Tuck, T. Sherwood, B. Calder and G. Varghese, \"Deterministic\r\nmemory-efficient string matching algorithms for intrusion detection,\" in\r\nProc. IEEE INFOCOM, vol. 4, pp. 2628-2639, March 2004.\r\n[3] D. E. Knuth, J. H. Morris, and V. R. Pratt, \"Fast pattern matching in\r\nstrings,\" SIAM Journal on Computing, vol. 6, pp. 323-350, 1977.\r\n[4] R. S. Boyer and J. S. Moore, \"A fast string searching algorithm,\"\r\nCommunications of the ACM, vol. 20, pp. 762-772, 1977.\r\n[5] R. N. Horspool, \"Practical fast searching in strings,\" Software - Practice\r\nand Experience, vol. 10, pp. 501-506, 1980.\r\n[6] D. M. Sunday, \"A very fast substring search algorithm,\" Communications\r\nof the ACM, vol. 33, pp. 132-142 ,1990.\r\n[7] D. Cantone and S. Faro, \"Fast-Search: A new efficient variant of the\r\nBoyer-Moore string matching algorithm,\" in Proc. Second International\r\nWorkshop on Experimental and Efficient Algorithms, LNCS,\r\nSpringer-Verlag, Vol. 2647, pp. 47-58, May 2003.\r\n[8] Z. Galil, \"Optimal parallel algorithms for string matching,\" in Proc. 16th\r\nAnnu. ACM symposium on Theory of computing, pp. 240-248, 1984.\r\n[9] U. Vishkin, \"Optimal parallel matching in strings,\" Information and\r\ncontrol, vol. 67, pp. 91-113, 1985.\r\n[10] Y. Takefuji, T. Tanaka, and K. C. Lee, \"A parallel string search\r\nalgorithm\", IEEE Trans. Systems, Man and Cybernetics, vol. 22, pp.\r\n332-336, March-April 1992.\r\n[11] CHEN Guo-liang, LIN-Jie, and GU Nai-jie, \"Design and analysis of\r\nstring matching algorithm on distributed memory machine,\" Journal of\r\nSoftware, vol. 11, pp. 771-778, 2000.\r\n[12] C. Charras and T. Lecroq, \"Exact string matching algorithms,\"\r\nLaboratoire d'Informatique de Rouen Universit\u00e9 de Rouen. Available:\r\nhttp:\/\/www-igm.univ-mlv.fr\/~lecroq\/string\/\r\n[13] Z. Galil, \"On improving the worst case running time of the Boyer-Moore\r\nstring matching algorithm,\" Communications of the ACM, vol. 22, pp.\r\n505-508, 1979.\r\n[14] R. Cole. \"Tight bounds on the complexity of the Boyer-Moore string\r\nmatching algorithm,\" SIAM Journal on Computing, vol. 23, pp.\r\n1075-1091, 1994.\r\n[15] GU Nai-jie, LI Wei and LIU Jing, \"Fibonacci series-based multicast\r\nalgorithm,\" Chinese Journal of Computers, vol. 25, pp. 365-372, 2002.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 10, 2007"}