add some api

Signed-off-by: sunxfancy <sun_xfancy@163.com>