Refactor Relation to support Alias , Group etc.

Signed-off-by: kim.shen <sjw_job@126.com>