kmp算法 http://blog.csdn.net/u013401853/article/details/51001502 http://blog.csdn.net/v_july_v/article/details/7041827