by Jzj register, unregister, sendMsg, receiveMsg