参考资料: http://www.cnblogs.com/kex1n/archive/2010/10/03/1841502.html#2725229 http://qaohao.iteye.com/blog/496237