def gen_top_rank_duanzi_floor_list():
    l = r.zrangebyscore(name=duanzi_zan_floor_redis_sort_set_name, min=0, max=1000000, withscores=True, score_cast_func=int )
    top_list = l[::-1]
    r.delete(duanzi_floor_with_rank_top_list_name)
    for i in range(0, len(top_list)):
        r.rpush(duanzi_floor_with_rank_top_list_name, top_list[i][0])
def del_duanzi_redis_sort_set():
    r.delete(duanzi_zan_floor_redis_sort_set_name)