摘要
针对公共自行车数据可视化系统的性能问题,提出了一种整合Web服务器集群、数据库集群以及缓存框架服务器的集群架构,设计并实现了基于该架构的公共自行车数据可视化系统。系统使用Nginx搭建反向代理服务器,使用Redis搭建缓存服务器。设计的系统还集成了Session一致性策略、前端性能优化等技术。针对公共自行车普通用户和管理者分别设计了移动端应用(APP)和Web可视化页面。测试结果表明:设计的系统满足了用户对公共自行车可视化系统功能和性能的要求。
In order to enhance the performance of bike-sharing data visualization system,a cluster architecture which integrates web server cluster,database cluster and cache framework server is proposed,bike-sharing data visualization system based on this architecture is designed and realized. Nginx is used to set up reverse proxy server,Redis is used to set up cache service. Session consistency strategy and front-end performance optimization technology are also integrated in this system. A mobile terminal APP is designed for ordinary users,visualization Web pages are designed for bike-sharing managers. Test result shows that the system meets requirements of bikesharing visualization system properties and function for user.
引文
[1] Shi X Y,Yu Z H,Xu H T,et al. PBike Vis:Applied visual analytics for public bicycle system[C]∥International Symposium on Computational Intelligence and Design,IEEE,2016:490-493.
[2] Shi X,Yu Z,Qu X. Touching PBSData—An exploratory study of visual analytics for public bicycle system supporting multi-touch device[C]∥International Conference on Progress in Informatics and Computing,IEEE,2017:390-394.
[3]郑洪源,周良,吴家祺. WEB服务器集群系统中负载平衡的设计与实现[J].南京航空航天大学学报,2006,38(3):347-351.
[4]周莹莲,刘甫.服务器负载均衡技术研究[J].计算机与数字工程,2010,38(4):11-14.
[5]沙光华,陈泳,张长江.读写分离技术在运营支撑系统中的应用[J].计算机工程与应用,2015,51(12):107-110.
[6]宋浒,张明明,胡俊军,等.灾备端数据库读写分离技术研究[J].信息技术,2017(1):26-29.
[7]李军,劳凤丹,邹仁明.校园网云盘系统构建研究[J].通信学报,2013(s2):133-137.
[8]陈岩,高峰,董文菲,等.基于云平台的城市绿地墒情系统[J].传感器与微系统,2016,35(6):104-106.
[9]文桂龙,宋开新.基于Android的静电式智能空气净化器系统设计[J].传感器与微系统,2016,35(7):90-93.
[10] Frey B J,Dueck D. Clustering by passing messages between data points[J]. Science,2007,315(5814):972-976.
[11]阎庆,鲍远律.新型遗传模拟退火算法求解物流配送路径问题[J].计算机应用,2004,24(S1):261-263.
[12] Chen T,Guestrin C. XGBoost:A scalable tree boosting system[J].ar Xiv Preprint ar Xiv:1603. 02754,2016.