add db logic to heartbeat server

Change-Id: If341dd369215f93676245ff20bb11e7c07ac9a28
add protobuf logic to channel message

Change-Id: I43e080519e6a56d619bcd9deb332b637bda186db