-refactor TD half work

Signed-off-by: XiongYang <snake.xiongyang@qq.com>