增加公共函数库

Signed-off-by: liqunzheng <lqzv@163.com>