可学习这两个文章的内容:http://blog.csdn.net/han_xiaoyang/article/details/51932536,http://blog.csdn.net/lanxu_yy/article/details/29918015