Map<String, Object> treeMap = new TreeMap<String, Object>(String.CASE_INSENSITIVE_ORDER); treeMap.putAll(params);
这样treeMap所有元素是按key的升序排序的