done feature database operation code

Signed-off-by: yuanhuan <yuanhuan@tcl.com>