database by zhengsy

some function is not that specific, i will improve it.
Revert "database by zhengsy"

This reverts commit 430f609b3b518be148ad1051876bbc02a8bcbd93.