计算机科学 ›› 2019, Vol. 46 ›› Issue (6A): 580-584.

• 综合、交叉与应用 • 上一篇    下一篇

基于微服务架构的物联网中间件设计

吴斌烽   

  1. 浙江工业大学计算机科学与技术学院 杭州310000
  • 出版日期:2019-06-14 发布日期:2019-07-02
  • 通讯作者: 吴斌烽(1994-),男,硕士生,CCF会员,主要研究方向为物联网,E-mail:wubf.george@foxmail.com(通信作者)。

Design of IoT Middleware Based on Microservices Architecture

WU Bin-feng   

  1. College of Computer Science & Technology,Zhejiang University of Technology,Hangzhou 310000,China
  • Online:2019-06-14 Published:2019-07-02

摘要: 以传统SOA架构搭建的物联网系统在扩展能力和异构设备持续集成方面存在不足,且随着物联网生态系统概念的成熟,如今物联网更强调与第三方物联网系统间的互操作支持能力。为解决上述问题,提出了基于微服务架构的物联网中间件,阐述了其内部组成和功能目标,详细研究了其中异构设备的服务抽象过程以及多用户环境下的冲突解决机制。通过微服务架构的灵活性和服务间的松耦合特点,提出的物联网中间件除了能保证异构设备的动态集成和统一的服务化抽象外,还能有效支持第三方物联网系统的接入。最后通过实例验证了该中间件设计的可行性。

关键词: 互操作性, 可扩展性, 微服务, 物联网, 异构性, 中间件

Abstract: IoT (Internet of Things) systems based on traditional SOA (Service-Oriented Architecture) are poor in sca-lability and are hard to support heterogeneous devices with continuous integration.Moreover,IoT platforms’ interope-rability with third-party becomes crucial as the IoT ecosystem enhances.Thus this paper proposed a general IoT middleware based on microservices architecture to solve the problems mentioned above,throughoutly researched the internal components and their effects,especiallystudied the service abstraction process of heterogeneous devices and the conflict resolution mechanism in multi-user enviroment in detail.Through the flexibility of the microservice architecture and the loose coupling between services,not only heterogeneous devices but also third-party IoT systems can be integrated at runtime as services.In the last place,actual devices are used to verify the applicability of this middleware.

Key words: Heterogeneity, Internet of things, Interoperability, Microservices, Middleware, Scalability

中图分类号: 

  • TP393
[1]陈海明,石海龙,李勐,等.物联网服务中间件:挑战与研究进展[J].计算机学报,2017,40(8):1725-1749.
[2]陈海明,崔莉.面向服务的物联网软件体系结构设计与模型检测[J].计算机学报,2016,39(5):853-871.
[3]VICAIRE P A,Z X,HOQUE E,et al.Physicalnet:A Middleware for Programming Concurrent,across Administrative Domain Sensor and Actuator Networks[C]∥Proceedings of the 7th ACM Conference on Embedded Networked Sensor Systems.New York:ACM,2009:317-318.
[4]GUINARD D,TRIFA V,WILDE E.A resource oriented architecture for the Web of Things[C]∥Proceedings of the 2nd Internet of Things Conference.New York:IEEE,2010:1-8.
[5]赵伟.WInternet:从物网到物联网[J].计算机研究与发展,2013,9074(8):1.
[6]XU Y,HELAL S.An Optimization Framework for Cloud-Sensor Systems[C]∥International Conference on Cloud Computing Technology and Science.New York:IEEE Computer Society,2014:38-45.
[7]XU Y,HELAL S.Scalable Cloud-Sensor Architecture for the Internet of Things[J].IEEE Internet of Things Journal,2016,3(3):285-298.
[8]LEWIS J,FOWLER M.Microservices[EB/OL].(2014-3-25) [2018-7-10].http://martinfowler.com/articles/microservices.html.
[9]NAMIOT D,SNEPS-SNEPPE M.On Micro-services Architecture[J].International Journal of Open Information Technologies,2014,2(9):24-27.
[10]彭昭.物联网使能平台的体系结构与服务模式[J].电信科学,2017,33(11):141-145.
[11]VRESK T,CˇAVRAK I.Architecture of an interoperable IoT platform based on microservices[C]∥International Convention on Information and Communication Technology.New York:Electronics and Microelectronics IEEE,2016:1196-1201.
[12]KRYLOVSKIY A,JAHN M,PATTI E.Designing a Smart City Internet of Things Platform with Microservice Architecture[C]∥International Conference on Future Internet of Things and Cloud.New York:IEEE,2015:25-30.
[13]BAK P,MELAMED R,MOSHKOVICH D,et al.Location and Context-Based Microservices for Mobile and Internet of Things Workloads[C]∥IEEE International Conference on Mobile Services.New York:IEEE,2015:1-8.
[14]SUN L,LI Y,MEMON R A.An Open IoT Framework Based on Microservices Architecture[J].China Communications,2017,14(2):154-162.
[15]MERKEL D.Docker:lightweight linux containers for consistent development and deployment[J].Linux Journal,2014,239(2014):2.
[1] 李霞, 马茜, 白梅, 王习特, 李冠宇, 宁博.
RIIM:基于独立模型的在线缺失值填补
RIIM:Real-Time Imputation Based on Individual Models
计算机科学, 2022, 49(8): 56-63. https://doi.org/10.11896/jsjkx.210600180
[2] 张翀宇, 陈彦明, 李炜.
边缘计算中面向数据流的实时任务调度算法
Task Offloading Online Algorithm for Data Stream Edge Computing
计算机科学, 2022, 49(7): 263-270. https://doi.org/10.11896/jsjkx.210300195
[3] 张翕然, 刘万平, 龙华.
物联网僵尸网络病毒的传播动力学模型与分析
Dynamic Model and Analysis of Spreading of Botnet Viruses over Internet of Things
计算机科学, 2022, 49(6A): 738-743. https://doi.org/10.11896/jsjkx.210300212
[4] 周天清, 岳亚莉.
超密集物联网络中多任务多步计算卸载算法研究
Multi-Task and Multi-Step Computation Offloading in Ultra-dense IoT Networks
计算机科学, 2022, 49(6): 12-18. https://doi.org/10.11896/jsjkx.211200147
[5] 董丹丹, 宋康.
RIS辅助双向物联网通信系统性能分析
Performance Analysis on Reconfigurable Intelligent Surface Aided Two-way Internet of Things Communication System
计算机科学, 2022, 49(6): 19-24. https://doi.org/10.11896/jsjkx.220100064
[6] 沈家芳, 钱丽萍, 杨超.
面向集能型中继窄带物联网的非正交多址接入和多维网络资源优化
Non-orthogonal Multiple Access and Multi-dimension Resource Optimization in EH Relay NB-IoT Networks
计算机科学, 2022, 49(5): 279-286. https://doi.org/10.11896/jsjkx.210400239
[7] 张振超, 刘亚丽, 殷新春.
适用于物联网环境的无证书广义签密方案
New Certificateless Generalized Signcryption Scheme for Internet of Things Environment
计算机科学, 2022, 49(3): 329-337. https://doi.org/10.11896/jsjkx.201200256
[8] 张叶, 李志华, 王长杰.
基于核密度估计的轻量级物联网异常流量检测方法
Kernel Density Estimation-based Lightweight IoT Anomaly Traffic Detection Method
计算机科学, 2021, 48(9): 337-344. https://doi.org/10.11896/jsjkx.200600108
[9] 朝乐门, 王锐.
数据科学平台:特征、技术及趋势
Data Science Platform:Features,Technologies and Trends
计算机科学, 2021, 48(8): 1-12. https://doi.org/10.11896/jsjkx.210600033
[10] 李贝贝, 宋佳芮, 杜卿芸, 何俊江.
DRL-IDS:基于深度强化学习的工业物联网入侵检测系统
DRL-IDS:Deep Reinforcement Learning Based Intrusion Detection System for Industrial Internet of Things
计算机科学, 2021, 48(7): 47-54. https://doi.org/10.11896/jsjkx.210400021
[11] 李嘉明, 赵阔, 屈挺, 刘晓翔.
基于知识图谱的区块链物联网领域研究分析
Research and Analysis of Blockchain Internet of Things Based on Knowledge Graph
计算机科学, 2021, 48(6A): 563-567. https://doi.org/10.11896/jsjkx.200600071
[12] 王卫红, 陈震宇.
基于改进区块链的智能制造安全模型
Intelligent Manufacturing Security Model Based on Improved Blockchain
计算机科学, 2021, 48(2): 295-302. https://doi.org/10.11896/jsjkx.191200159
[13] 刘新, 黄缘缘, 刘子昂, 周睿.
IoTGuardEye:一种面向物联网服务的Web攻击检测方法
IoTGuardEye:A Web Attack Detection Method for IoT Services
计算机科学, 2021, 48(2): 324-329. https://doi.org/10.11896/jsjkx.200800030
[14] 王锡龙, 李鑫, 秦小麟.
电力物联网下分布式状态感知的源网荷储协同调度
Collaborative Scheduling of Source-Grid-Load-Storage with Distributed State Awareness UnderPower Internet of Things
计算机科学, 2021, 48(2): 23-32. https://doi.org/10.11896/jsjkx.200900209
[15] 陆懿帆, 曹芮浩, 王俊丽, 闫春钢.
一种基于微服务的检察业务服务封装方法
Method of Encapsulating Procuratorate Affair Services Based on Microservices
计算机科学, 2021, 48(2): 33-40. https://doi.org/10.11896/jsjkx.191100152
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!