http://blog.csdn.net/fenglibing/article/details/5317127 此博文也值得参看 http://blog.csdn.net/salonzhou/article/details/6370165