模拟SDK的进入及回调