计算机科学 ›› 2024, Vol. 51 ›› Issue (2): 278-285.doi: 10.11896/jsjkx.230100108

• 计算机网络 • 上一篇    下一篇

CARINA:一种高效的解决IoT互操作性的应用层协议转换方案

王丽娜, 赖坤豪, 杨康   

  1. 武汉大学国家网络安全学院空天信息安全与可信计算教育部重点实验室 武汉430000
  • 收稿日期:2023-01-19 修回日期:2023-05-29 出版日期:2024-02-15 发布日期:2024-02-22
  • 通讯作者: 王丽娜(lnwang@whu.edu.cn)
  • 基金资助:
    国家自然科学基金(61876134);国家科技支撑计划(2020YFB1805400)

CARINA:An Efficient Application Layer Protocol Conversion Approach for IoT Interoperability

WANG Lina, LAI Kunhao, YANG Kang   

  1. Key Laboratory of Aerospace Information Security and Trusted Computing,Ministry of Education,School of Cyber Science and Engineering, Wuhan University,Wuhan 430000,China
  • Received:2023-01-19 Revised:2023-05-29 Online:2024-02-15 Published:2024-02-22
  • About author:WANG Lina,born in 1964,Ph.D,professor,Ph.D supervisor.Her main research interests include information hiding,deep learning and Internet of things.
  • Supported by:
    National Natural Science Foundation of China(61876134) and National Key Technology Research and Development Program of the Ministry of Science and Technology of China(2020YFB1805400).

摘要: 为了解决物联网设备众多、协议众多,以及协议架构和应用场景不同引发的物联网设备互操作性问题,针对应用层使用广泛的HTTP等4种协议,提出了一种基于协议包解析和关键方法映射的高效可扩展的应用层协议转换方案。考虑到4种协议的基础架构、消息格式、通信模式以及应用场景具有较大差异,该方案通过对协议原始数据包进行解析和关键信息提取,然后统一以键值对的形式进行信息存储,解决了不同协议信息存储的统一性问题。通过构造关键方法映射表,将不同协议的方法进行映射,实现了不同协议之间的互联。实验结果表明,基于所提方案实现的协议转换系统能很好地完成4种协议之间的消息转换。相比同类型的Ponte方法,在相同实验条件下,所提方案的转换速度都优于Ponte,甚至在某些情况下表现出了将近10倍的速度差距,同时支持多出一倍的转换类型。实验结果验证了所提方法在可扩展性和转换时间等效率方面相比同类型的协议转换算法具有显著提升。

关键词: 物联网, 应用层协议, 协议转换, 互操作性

Abstract: To solve the interoperability problems caused by numerous IoT devices and protocols with varying architectures and application scenarios,this paper proposes an efficient and scalable application layer protocol conversion approach.This approach uses protocol packet parsing and key method mapping for widely used HTTP and other three protocols.Considering the significant differences in the underlying architecture,message format,communication mode,and application scenario of the four protocols,the proposed approach solves the uniformity of information storage for different protocols by parsing the original data pa-ckets of the protocols and extracting key information,and storing the information in the form of key-value pairs.By constructing the key method mapping table,the methods of different protocols are mapped,realizing the interconnection between different protocols.Experimental results show that the proposed approach performs well in message conversion between the four protocols.It demonstrates a significantly improved conversion speed compared to the Ponte method of a comparable type,with a nearly 10-fold difference observed in some cases when subjected to the same test conditions.Furthermore,it supports twice as many conversion types as Ponte.Experimental results show that the proposed method outperforms state-of-the-art methods in terms of scalability and efficiency.

Key words: Internet of things, Application layer protocol, Protocol conversion, Interoperability

中图分类号: 

  • TP393
[1]AL-FUQAHA A,GUIZANI M,MOHAMMADI M,et al.Inter-net of things:A survey on enabling technologies,protocols,and applications[J].IEEE Communications Surveys & Tutorials,2015,17(4):2347-2376.
[2]LOMBARDI M,PASCALE F,SANTANIELLO D.Internet ofthings:A general overview between architectures,protocols and applications[J].Information,2021,12(2):87.
[3]ZHOU J,WEI G.Two patterns in conversion between HTTP2 and CoAP:Request-Reponse and Publish-Subscribe[C]//2019 IEEE 3rd Information Technology,Networking,Electronic and Automation Control Conference(ITNEC).IEEE,2019:1178-1184.
[4]DA CRUZ MAURO A A,RODRIGUES J J P C,LORENZ P,et al.A proposal for bridging application layer protocols to HTTP on IoT solutions[J].Future Generation Computer Systems,2019,97:145-152.
[5]DA CRUZ MAURO A A,RODRIGUES J J P C,PARADELLO E S,et al.A proposal for bridging the message queuing telemetry transport protocol to HTTP on IoT solutions[C]//2018 3rd International Conference on Smart and Sustainable Technologies(SpliTech).IEEE,2018:1-5.
[6]WAHER P.Bridging MQTT & XMPP Internet of Things networks[J].Computer Science,Engineering,2014,19(5):253-261.
[7]DAVE M,PATEL M,DOSHI J,et al.Ponte Message Broker Bridge Configuration Using MQTT and CoAP Protocol for Interoperability of IoT[C]//International Conference on Computing Science,Communication and Security.Singapore:Springer,2020:184-195.
[8]SAITO K,NISHI H.Application Protocol Conversion Corresponding to Various IoT Protocols[C]//IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society.IEEE,2020:5219-5225.
[9]SHELBY Z,HARTKE K,BORMANN C.The constrained application protocol(CoAP)[EB/OL].https://tools.ietf.org/html/rfc7252.
[10]HUNKELER U,TRUONG H L,STANFORD-CLARK A.MQTT-S-A publish/subscribe protocol for Wireless Sensor Networks[C]//2008 3rd International Conference on Communication Systems Software and Middleware and Workshops(COMSWARE’08).IEEE,2008:791-798.
[11]STANDARD O.MQTT version 3.1.1[EB/OL].https://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html.
[12]STANDARD O.Oasis advanced message queuing protocol(amqp) version 1.0[J].International Journal of Aerospace Engineering,2012,2018:1-124.
[13]DOBBELAERE P,ESMAILI K.Kafka versus RabbitMQ:Acomparative study of two industry reference publish/subscribe implementations:Industry Paper[C]//Proceedings of the 11th ACM International Conference on Distributed and Event-Based Systems.2017:227-238.
[14]COLLINA M,CORAZZA G,VANELLI-CORALLI A.Introducing the QEST broker:Scaling the IoT by bridging MQTT and REST[C]//2012 IEEE 23rd International Symposium on Personal,Indoor and Mobile Radio Communications(PIMRC).IEEE,2012:36-41.
[15]ZONG N.Research and implementation of protocol conversionproxy between HTTP and CoAP in M2M communication [D].Beijing:Beijing University of Posts and Telecommunications,2016.
[16]ZHOU J P.Research on interoperability between HTTP2 and CoAP based on IoT [D].Beijing:Beijing University of Posts and Telecommunications,2019.
[17]ZAINUDIN A,SYAIFUDIN M F,SYAHRONI N.Design andimplementation of node gateway with MQTT and CoAP protocol for IoT applications[C]//2019 4th International Conference on Information Technology,Information Systems and Electrical Engineering(ICITISEE).IEEE,2019:155-159.
[18]Eclipse Foundation.Eclipse IoT [EB/OL].Available:https://projects.eclipse.org/projects/iot.
[19]DE AM MACÊDO W L,DA R T,MORENO E D.GoThings-AnApplication-layer Gateway Architecture for the Internet of Things[C]//WEBIST.2015:135-140.
[20]YANG S J,WEI T C.Design Issues for Communication Protocols Conversion Scheme of IoT Devices[J].Journal of Internet Technology,2021,22(3):657-667.
[21]SEEGER M,ULTRA-LARGE-SITES S.Key-value stores:apractical overview[D].Stuttgart:Computer Science and Media,2009:1-21.
[22] LIGHT R A.Mosquitto:server and client implementation of the MQTT protocol[J].Journal of Open Source Software,2017,2(13):265-267.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!