参考:http://www.cnblogs.com/oubo/archive/2012/01/05/2394637.html http://developer.51cto.com/art/200906/132343.htm