add redis store
add rmmseg;modify encoding question