[SD] Add api function.
Merge branch 'master' of github.com:bcc0421/SmartData