重构, 精简接口。

Signed-off-by: TZ <atian25@qq.com>