127 | 0 | 674 |
下载次数 | 被引频次 | 阅读次数 |
船舶室内安全问题受到越来越多的关注,在遇到突发事件时,GIS的最短路径分析可模拟最短逃生路径。鉴于船舶拓扑结构的复杂性,使用经典Dijkstra算法计算最短路径过于缓慢。首先,以一条9层甲板的船舶CAD数据为例,提出了一种基于浏览器/服务器(browser/server,B/S)结构的分层分区最短路径优化算法;然后,采用Java本地接口(Java native interface,JNI)编程方法调用底层C/C++编写的算法进行计算;最后,利用Web图形库(Webgraphics library,WebGL)技术实现船舶三维场景和最短逃生路径的可视化。结果表明,分层分区算法可有效削减计算量10%~80%,跨层数越多、跨区域数越少时,优化效果越明显;采用控制变量法对比分析可知,该算法的计算效率较未优化算法提高了50%以上,且在B/S架构下的效率较客户端/服务器(client/server,C/S)架构提升了25~50倍。
Abstract:More and more attention has been paid to the indoor safety of ships. In case of emergencies, the shortest path analysis in GIS can simulate the shortest escape path. Given the complexity of the ship's topology, it is too slow to calculate the shortest path using the classical Dijkstra algorithm.Firstly, taking the CAD data of a 9-deck ship as an example, a shortest path optimization algorithm based on B/S architecture is proposed. Then, JNI programming method has been used to call the algorithm written in C/C++ language to calculate the shortest escape path between cabins. Finally, WebGL technology is used to visualize the ship's 3D scene and the shortest escape path. The experimental results show that the hierarchical partitioning algorithm can effectively reduce the calculation amount by 10%~80%. The optimization effect will be more obvious when the number of cross-layers is more and the number of cross-regions is less. As shown by the comparative analysis results using the control variables method, the efficiency of the algorithm is more than 50% higher than that of the unoptimized algorithm, and the efficiency of the algorithm under B/S architecture is about 25 to 50 times higher than that under C/S architecture. The proposed algorithm can significantly reduce the calculation time due to its high efficiency of hierarchical partitioning method and cross-platform characteristic of the B/S architecture. Thus, it can provide valuable decision support for the ship's escape and rescue work.
[1]田伟,吕伟.船舶安全疏散研究述评[J].中国安全生产科学技术,2014, 10(4):133-138
[2]宁静,卜乐平,冯源.基于WebGL的舰船模拟训练虚拟三维技术应用[J].计算机测量与控制,2016, 24(9):251-253
[3]林开辉,唐丽玉,陈崇成. GIS中最短路径的求取及三维可视化[J].计算机工程与应用,2006, 42(18):188-190
[4]虞谦,高岳毅,李俊.最短路径算法在事故应急救援中的应用[J].安全,2018, 39(9):15-17
[5]刘伯运,周晓松,闫书逸.航空母舰通道布置对疏散逃生性能的影响[J].中国舰船研究,2018, 13(2):1-6
[6]赵敏.考虑人员行为因素的客轮疏散模型研究与仿真[D].大连:大连海事大学,2016
[7]朱庆,胡明远,许伟平,等.面向火灾动态疏散的三维建筑信息模型[J].武汉大学学报(信息科学版),2014, 39(7):762-766
[8]吕长建.面向火灾的建筑结构动态可视化[D].合肥:合肥工业大学,2018
[9] Worboys M. Modeling Indoor Space[C]. Proceedings of the 3rd ACM SIGSPATIAL International Workshop on Indoor Spatial Awareness, Chicago, USA, 2011
[10]王行风,汪云甲.一种顾及拓扑关系的室内三维模型组织和调度方法[J].武汉大学学报(信息科学版),2017, 42(1):35-42
[11]郭瑞阳. BIM模型和3D GIS的融合技术研究及其实现[D].西安:西安科技大学,2018
[12]叶森.基于CAD数据的建筑物三维建模方法研究[D].成都:电子科技大学,2017
[13] Zhou Y H, Dao T H D, Thill J C, et al. Enhanced 3D Visualization Techniques in Support of Indoor Location Planning[J]. Computers, Environment and Urban Systems, 2015, 50:15-29
[14]任泰明.基于B/S结构的软件开发技术[M].西安:西安电子科技大学出版社,2006
[15]孙绍河,朱瑞艳. GIS中最短路径算法的研究[C].第二届测绘科学前沿技术论坛,长春,2010
[16]王峰,游志胜,曼丽春,等. Dijkstra及基于Dijkstra的前N条最短路径算法在智能交通系统中的应用[J].计算机应用研究,2006, 23(9):203-205
[17]戴文博,殷招伟,钱俊彦.改进的Dijkstra最短路径算法在GIS-T中的研究与实现[J].大众科技,2015(2):4,doi:10. 3969/j. issn. 1008-1151. 2015. 02. 001
[18]翟娜,李庆东. Dijkstra最短路径算法改进研究及其在GIS-T仿真分析中的应用[J].测绘标准化,2010(1):3,doi:CNKI:SUN:CHBC. 0. 2010-01-014
基本信息:
DOI:10.14188/j.2095-6045.2022727
中图分类号:U698;P208
引用信息:
[1]李莹,赵宁曦.基于B/S架构的船舶室内最短逃生路径优化算法及实现[J].测绘地理信息,2024,49(04):24-30.DOI:10.14188/j.2095-6045.2022727.
基金信息:
国家自然科学基金(41571377); 广西河池学院“中国旅游地理”思政示范课项目(2024kcsz32); 3D中国旅游赏析&探索MOOC”教改项目(2014EA023)