implement data mining

Signed-off-by: ggxx <ggxx120@gmail.com>