def update_dict_key(dict_value, key_map):
    """将字典中的key进行修改
    Args:
        dict_value:原始字典
        key_map: key映射dict类型
    Returns:
        返回修改后的字典
    举例：
        dict_value = {'a':1,'b':2}
        key_map = {'a':'c'}
        返回值new_val = {'c':1, 'b':2}
    """
    new_val = dict_value.copy()
    for k, v in key_map.items():
        if k not in new_val or v in new_val:
            continue
        new_val[v] = new_val.pop(k)
    return new_val