implement channel system

Signed-off-by: yayanyang <yayanyang@gmail.com>