[1]张吉松,张嘉文.铁路IFC实体结构化解析与层级化JSON生成方法[J].高速铁路技术,2025,16(06):49.[doi:10.12098/j.issn.1674-8247.2025.06.008]
 ZHANG Jisong,ZHANG Jiawen.Method for Structured Parsing and Hierarchical JSON Generation of Railway IFC Entities[J].HIGH SPEED RAILWAY TECHNOLOGY,2025,16(06):49.[doi:10.12098/j.issn.1674-8247.2025.06.008]
点击复制

铁路IFC实体结构化解析与层级化JSON生成方法()

《高速铁路技术》[ISSN:1674-8247/CN:51-1730/U]

卷:
16卷
期数:
2025年06期
页码:
49
栏目:
勘察设计
出版日期:
2025-12-30

文章信息/Info

Title:
Method for Structured Parsing and Hierarchical JSON Generation of Railway IFC Entities
文章编号:
1674-8247(2025)06-0049-05
作者:
张吉松张嘉文
(大连交通大学, 大连 116028)
Author(s):
ZHANG Jisong ZHANG Jiawen
(Dalian Jiaotong University, Dalian 116028, China)
关键词:
BIM 铁路 IFC 格式 映射 JSON
Keywords:
BIM railway IFC format mapping JSON
分类号:
U25
DOI:
10.12098/j.issn.1674-8247.2025.06.008
文献标志码:
A
摘要:
针对铁路IFC文件跨平台轻量化格式转换问题,提出一种规则引擎驱动的递归解析与动态绑定方法。首先,通过构建几何-语义-拓扑三级层次映射机制,深入解析IFC4x3标准扩展的铁路专用实体(如IfcAlignment、IfcRail)。然后,设计基于规则引擎的递归解析算法,实现对IFC文件的逐层拆解,并将其元素精准映射为树形JSON节点。最终,开发相应的Python转换工具进行验证。结果表明,该方法通过动态绑定铁路专用IfcEntity与JSON Schema,能够自动生成保留实体-关系-属性的层级化JSON结构。研究成果为提高铁路 BIM 模型的轻量化与互操作性提供了一种新方法。
Abstract:
To address the issue of lightweight cross-platform format conversion for railway IFC files, a rule-engine-driven recursive parsing and dynamic binding method was proposed. Firstly, the railway-specific entities extended under the IFC4x3 standard(such as IfcAlignment and IfcRail)were analyzed through the construction of a three-tier hierarchical mapping mechanism encompassing geometry, semantics, and topology. Then, a rule-engine-based recursive parsing algorithm was designed to achieve layer-by-layer decomposition of IFC files and map their elements into tree-structured JSON nodes. Finally, a corresponding Python conversion tool was developed for validation. The results demonstrate that by dynamically binding railway-specific IfcEntities with JSON Schema, this method can automatically generate a hierarchical JSON structure that preserves entity-relationship-attribute information. The research outcome provides a novel approach to improving the lightweight processing and interoperability of railway BIM models.

参考文献/References:

[1] GAO Xinghua, PISHDAD-BOZORGI P, SHELDEN D R, et al. A Scalable Cyber-physical System Data Acquisition Framework for the Smart Built Environment[C]//Computing in Civil Engineering 2019. Atlanta, Georgia. American Society of Civil Engineers, 2019: 215-230.
[2] BUILDINGSMART. IFC Technology[EB/OL]. [2025-06-14]. http://www.buildingsmart-t ech.org/specifications/ifc-overview/ifc-technology.
[3] BUILDINGSMART. Industry Foundation Classes Release 4(IFC4)[EB/OL]. [2025-06-16]. http://www.buildingsmart-tech.org/ifc/IFC4/final/html/2013.
[4] ZHANG Lu, EL-GOHARY N M. Automated IFC-based Building Information Modelling and Extraction for Supporting Value Analysis of Buildings[J]. International Journal of Construction Management, 2020, 20(4): 269-288.
[5] PAUWELS P, DEURSEN D V, VERSTRAETEN R, et al. A Semantic Rule Checking Environment for Building Performance Checking[J]. Automation in Construction, 2020, 192: 103-122.
[6] GITHUB. BIMserver-JavaScript-Api/js/ifc4.js[EB/OL].[2025-06-14].https://github.com/opensourceBIM/BIMserver-JavaScript/blob/master/js/ifc.js
[7] WRIGHT A, Andrews H, Hutton B. JSON Schema: A Media Type for Describing JSON Documents-internet Draft[EB/OL].(2019-09-16)[2025-06-15]. https://datatracker.ietf.org/doc/draft-wright-json-schema-01.
[8] AFSARI K, EASTMAN C M, CASTRO-LACOUTURE D. JavaScript Object Notation(JSON)Data Serialization for IFC Schema in Web-based BIM Data Exchange[J]. Automation in Construction, 2017, 77: 24-51.
[9] The Open BIM Standards. bimJSON[EB/OL]. [2025-06-14]. http://openbimstandards.org/standards/bimjson/.
[10] PENG D, CAO L, XU W. Using JSON for Data Exchanging in Web Service Applications[J]. Journal of Computational Information Systems, 2011, 7(16): 5883-5890.
[11] SOLIHIN W, EASTMAN C, LEE Y C, et al. A Simplified Relational Database Schema for Transformation of BIM Data into a Query-efficient and Spatially Enabled Database[J]. Automation in Construction, 2017, 84: 367-383.
[12] JOHANNES DIMYADI, WAWAN SOLIHIN, CHARLES EASTMAN, et al. Integrating the BIM Rule Language into Compliant Design Audit Processes[C/OL]//Proceedings of the 33rd CIB W78 Conference 2016, Brisbane, Australia. [2025-06-15]. https://itc.scix.net/pdfs/w78-2016-paper-033.pdf.
[13] BEETZ J, LAAT R DE, BERLO L A H M, et al. Towards an Open Building Information Model Server [C/OL]//Proceeding of the 10th International Conference on Design & Decision Support Systems in Architecture and Urban Planning 2010. The Netherlands. [2025-06-15]. https://repository.tno.nl/SingleDoc?docId=61159.

相似文献/References:

[1]杨海贝.BIM 技术在杭海城际铁路中的实践与思考[J].高速铁路技术,2022,13(05):53.[doi:10.12098/j.issn.1674-8247.2022.05.011]
 YANG Haibei.Thoughts on the Practice of Building Information Modeling in Hangzhou-Haining Intercity Railway[J].HIGH SPEED RAILWAY TECHNOLOGY,2022,13(06):53.[doi:10.12098/j.issn.1674-8247.2022.05.011]
[2]谢先当,张权,付洋.铁路路基BIM设计系统研究[J].高速铁路技术,2024,15(02):71.[doi:10.12098/j.issn.1674-8247.2024.02.013]
 XIE Xiandang,ZHANG Quan,FU Yang.Study on BIM Design System for Railway Subgrade[J].HIGH SPEED RAILWAY TECHNOLOGY,2024,15(06):71.[doi:10.12098/j.issn.1674-8247.2024.02.013]
[3]袁博.基于情景分析法的疆煤铁路外运量预测[J].高速铁路技术,2025,16(01):29.[doi:10.12098/j.issn.1674-8247.2025.01.005]
 YUAN Bo.Prediction of Outbound Railway Freight Volume for Xinjiang Coal Based on Scenario Analysis Method[J].HIGH SPEED RAILWAY TECHNOLOGY,2025,16(06):29.[doi:10.12098/j.issn.1674-8247.2025.01.005]

备注/Memo

备注/Memo:
收稿日期:2025-07-06
作者简介:张吉松(1983-),男,副教授。
基金项目:辽宁省教育厅面上项目(LJKMZ20220868)
更新日期/Last Update: 2025-12-30