core: add the feature which is parse an action.

N/A

Change-Id: Ieffefc51114b43a14e40e89f26c3f009582e6632
Signed-off-by: liminghao <liminghao@xiaomi.com>