基于微服务架构的物联网中间件设计
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Design of IoT Middleware Based on Microservices Architecture
  • 作者:吴斌烽
  • 英文作者:WU Bin-feng;College of Computer Science & Technology,Zhejiang University of Technology;
  • 关键词:物联网 ; 微服务 ; 中间件 ; 异构性 ; 互操作性 ; 可扩展性
  • 英文关键词:Internet of things;;Microservices;;Middleware;;Heterogeneity;;Interoperability;;Scalability
  • 中文刊名:JSJA
  • 英文刊名:Computer Science
  • 机构:浙江工业大学计算机科学与技术学院;
  • 出版日期:2019-06-15
  • 出版单位:计算机科学
  • 年:2019
  • 期:v.46
  • 语种:中文;
  • 页:JSJA2019S1125
  • 页数:6
  • CN:S1
  • ISSN:50-1075/TP
  • 分类号:590-594+614
摘要
以传统SOA架构搭建的物联网系统在扩展能力和异构设备持续集成方面存在不足,且随着物联网生态系统概念的成熟,如今物联网更强调与第三方物联网系统间的互操作支持能力。为解决上述问题,提出了基于微服务架构的物联网中间件,阐述了其内部组成和功能目标,详细研究了其中异构设备的服务抽象过程以及多用户环境下的冲突解决机制。通过微服务架构的灵活性和服务间的松耦合特点,提出的物联网中间件除了能保证异构设备的动态集成和统一的服务化抽象外,还能有效支持第三方物联网系统的接入。最后通过实例验证了该中间件设计的可行性。
        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,especially studied 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.
引文
[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 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.