Merge pull request #103 from heyongjian/master

huangming:merge the main branch to native branch.
fix bug JOYL-113,when there is no network,the database is not updated.

update the dababase.
Merge pull request #249 from whuthm/master

fix bug JOYL-113,when there is no notwork,the database is not updated.