摘要
针对大数据量下浏览器绘图性能差、资源要求高等问题,提出基于Web技术栈的列车运行图绘制方案。该方案涵盖服务端运行环境、服务端技术架构及前端优化措施。其中,服务端采用微服务架构及多线程并发技术,提升了运行图数据的处理效率;前端采用HTML5 Canvas图形绘制技术,提高了绘图性能及响应效率。通过测试数据加载和图形绘制等关键任务的运行耗时,验证了该方案的可行性与有效性,可为铁路相关信息系统优化完善提供技术参考。
Aiming at the problems of poor browser drawing performance and high resource requirements under large amount of data, this paper proposed a train diagram drawing scheme based on Web technology stack. The solution covered the server operating environment, server technical architecture and front-end optimization measures. Among them, the server used microservice architecture and multithreading concurrency technology to improve the processing efficiency of operation diagram data;The front end used HTML5 Canvas graphics rendering technology to improve the rendering performance and response efficiency. The feasibility and effectiveness of the scheme are verified by the running time of key tasks such as test data loading and graphics rendering, which can provide technical reference for the optimization and improvement of railway related information systems.
作者
靳磊
朱涛
任爽
JIN Lei;ZHU Tao;REN Shuang(China Railway Information Technology Group Co.Ltd.,Beijing 100844,China)
出处
《铁路计算机应用》
2023年第2期13-17,共5页
Railway Computer Application
基金
中国国家铁路集团有限公司科技研究开发计划(P2020X016)
中国铁路信息科技集团有限公司科技研究开发计划(2021A06)。