add keepalive escalation, add 1h,2d,30m value format in refresh key, fix some bugs