add rpc model

Signed-off-by: lional <lional.king@gmail.com>