Global Outbreak crawl and display

  Two weeks to complete the epidemic statistical system project from crawling to show, can be described as very productive, web terminal has been released to http://123.56.137.134/ here, Android terminal will provide a download link on the site in later.

  The next three blog show detailed implementation process

  Show results

  Screenshot end web:

 

  End Android screenshot:

 

   psp table

date Starting time End Time Downtime Net time activity Remark
3.10 15.30 19.00 20min 3h 10min      Crawling nationwide epidemic data and web-side for a simple show

Then compare the pursuit of speed, do the rough, so last week spent a lot of time optimizing web end of the epidemic display system.

3.18 9.30 20.00 3h 7h 

① crawling world epidemic data

② buy Ali cloud server, a simple configuration environment

③ simple to learn jQuery, Ajax and json

 

Can not remember the specific time, then forget to note the time.
3.19 13.00 20.30 2h 5h 30min

① try to use graphs and tables to achieve the asynchronous ajax refresh,

② realized ajax updates to the data, and move with jQuery

Modify the control state

③ change bug

In fact, Ajax can not directly interface to show a few jumps, but that is too cumbersome, then I began to understand some of the other knowledge json and so on.

3.20 19.00 21.30 20min 2h 10min

① change bug

② learning Ali cloud database

③ start trying to connect cloud database

After that some aspects of the bug does not make sense, at this stage I see a lot of people through the Internet domain name remotely connect to the database, I did not realize, listened to the recommendations of friends posted directly to the cloud, calls the database in the cloud.

3.21 10.00  21.00  2h 

9h 

① Publish projects to the cloud server

② recognize the different languages ​​of different sql databases

③ change bug

④ setting the timing task on the server side, the timing data crawling

⑤ beginning to recognize the infeasibility of direct remote connection to the database, and learning

Some knowledge of network communications. 

 mysql和SQL server里都有sonvert函数,作类型转换,可它们的参数位置竟然相反!因为本机上用的SQL server,MySQL的密码忘了,所以愣是往tomcat上发布了n次,调试了n次才找出这个错误。

3.22 10.00 21.00 2h

9h

①编写疫情展示app

②编写疫情展示服务端

实现了客户端和服务端的数据交互

3.23      

3h

①改bug

②学习MPAndroid,将数据可视化展示

收尾

 

 

 

 

 

 

 

  

Guess you like

Origin www.cnblogs.com/XiaoGao128/p/12576127.html