add device in DB

Signed-off-by: drizztz <kiddzhang@yeah.net>