add utils

Signed-off-by: ningkyolei <ningkyo@qq.com>