基于键-值缓存的IFC模型Web应用技术 |
刘强, 张建平, 胡振中 |
清华大学 土木工程系, 北京 100084 |
Key-value cache based IFC model implementation for web environments |
LIU Qiang, ZHANG Jianping, HU Zhenzhong |
Department of Civil Engineering, Tsinghua University, Beijing 100084, China |
摘要:
| |||
摘要近年来,基于工业基础类(IFC)标准的建筑信息模型(BIM)应用技术得到快速发展,但现有的技术和方法难以支持面向互联网的IFC模型对象传输和查询等应用。为实现IFC模型在Web中的应用,该文使用JSON格式建立了一种面向网络的IFC对象模型,使用分布式的键-值存储系统Redis建立了IFC数据的高速缓存,并基于以上对象模型和缓存技术提出了IFC数据的分步、动态解析方法,实现了大容量IFC数据的轻量化、标准化的网络传输和高速动态解析。验证表明:该模型和技术可以支持面向互联网的BIM应用,并且能够大幅提升IFC数据文件的解析效率,可将大容量(超过30 MB)IFC文件的解析速度提升1倍以上,具有较高的使用价值和应用前景。 | |||
关键词 :工业基础类(IFC)标准,建筑信息模型(BIM),键-值缓存,数据解析,模型轻量化 | |||
Abstract:Industry foundation class (IFC) based building information modeling (BIM) systems has developed rapidly in recent years. However, there are still few methods and tools supporting web-oriented transmissions and queries of IFC model data. This paper describes a web-enabled IFC object model using the JSON format and the IFC data cache with the Redis distributed key-value store for IFC applications in web environment. Stepwise and dynamic parsing of the IFC data enables lightweight, standardized network data transmission with large-capacity, high-speed dynamic parsing of the IFC data. Tests show that the object model and the parsing method are able to support web BIM applications and significantly enhance the efficiency of parsing IFC data files, with double the parsing speed of large (over 30 MB) IFC files. | |||
Key words:industry foundation class (IFC)building information modeling (BIM)key-value cachedata parsinglightweight model | |||
收稿日期: 2015-08-27 出版日期: 2016-05-09 | |||
| |||
通讯作者:张建平,教授,E-mail:zhangjp@mail.tsinghua.edu.cnE-mail: zhangjp@mail.tsinghua.edu.cn |
引用本文: |
刘强, 张建平, 胡振中. 基于键-值缓存的IFC模型Web应用技术[J]. 清华大学学报(自然科学版), 2016, 56(4): 348-353,359. LIU Qiang, ZHANG Jianping, HU Zhenzhong. Key-value cache based IFC model implementation for web environments. Journal of Tsinghua University(Science and Technology), 2016, 56(4): 348-353,359. |
链接本文: |
http://jst.tsinghuajournals.com/CN/10.16511/j.cnki.qhdxxb.2016.24.002或 http://jst.tsinghuajournals.com/CN/Y2016/V56/I4/348 |
图表:
图1 IfcOrganization的EXPRESS定义 |
图2 自定义类型的IFC对象模型 |
图3 EXPRESS字典结构 |
图4 JSON 格式的IfcOrganization对象 |
表1 IFC对象模型的对比 |
图5 基于Redis的IFC初步解析 |
图6 基于Redis的IFC对象深入解析 |
表2 IFC解析测试算例数据 |
图7 IFC解析时间对比 |
参考文献:
[1] Eastman C, Eastman C M, Teicholz P, et al. BIM Handbook:A Guide to Building Information Modeling for Owners, Managers, Designers, Engineers and Contractors[M]. Hoboken, USA:John Wiley & Sons, 2011. [2] ISO 16739. Industry Foundation Classes (IFC) for Data Sharing in the Construction and Facility Management Industries[S]. Geneva, Switzerland:ISO Central Secretariat, 2013. [3] Faraj I, Alshawi M, Aouad G, et al. An industry foundation classes web-based collaborative construction computer environment:WISPER[J]. Automation in Construction, 2000, 10(1):79-99. [4] Jørgensen K A, Skauge J, Christiansson P, et al. Use of IFC Model Servers[R]. Aalborg, Denmark:Aalborg University, 2008. [5] Beetz J, van Berlo L, de Laat R, et al. Bimserver.org-An open source IFC model server. (2015-03-01), http://bimserver.org/documentation/scientific/. [6] Lee G, Jeong J, Won J, et al. Query performance of the IFC model server using an object-relational database approach and a traditional relational database approach[J]. Journal of Computing in Civil Engineering, 2012, 28(2):210-222. [7] ISO 10303-11. Industrial Automation Systems and Integration-Product Data Representation and Exchange:Description Methods:The EXPRESS Language Reference Manual[S]. Geneva, Switzerland:ISO Central Secretariat, 1997. [8] buildingSMART. IFC 4 Official Release. (2015-05-10), http://www.buildingsmart-tech.org/ifc/IFC4/final/html/. [9] Zhang C, Beetz J, Weisen M. Interoperable validation for IFC building models using open standards[J]. Journal of Information Technology in Construction, 2015, 20:24-39. [10] 陆宁, 马智亮. 利用面向对象数据库与关系数据库管理IFC数据的比较[J]. 清华大学学报:自然科学版, 2012, 52(6):836-842.LU Ning, MA Zhiliang. Comparison of managing IFC data using object-oriented and relational database[J]. Journal of Tsinghua University:Science and Technology, 2012, 52(6):836-842. (in Chinese) [11] 李犁, 邓雪原. 基于IFC标准BIM数据库的构建与应用[J]. 四川建筑科学研究, 2013, 39(3):296-301.LI Li, DENG Xueyuan. Construction and application of the BIM database based on IFC standard[J]. Sichuan Building Science, 2013, 39(3):296-301. (in Chinese) [12] 成于思, 李启明, 成虎. IFC数据在关系数据库上的实现研究与应用[J]. 计算机应用与软件, 2014, 11:009.CHENG Yusi, LI Qiming, CHENG Hu. On implementing IFC data in relational database and its application[J]. Computer Applications and Software, 2014, 11:009. (in Chinese) [13] 余芳强, 张建平, 刘强, 等. 基于云计算的半结构化BIM数据库研究[J]. 土木建筑工程信息技术, 20135(6):1-5.YU Fangqiang, ZHANG Jianping, LIU Qiang, et al. A Semi-structured BIM database based on cloud computing platforms[J]. Journal of Information Technology in Civil Engineering and Architecture, 20135(6):1-5. (in Chinese) |
相关文章:
|