init code.

Signed-off-by: wangjunyan <wangjunyan1984@gmail.com>