高级检索
    罗 娟 周 峰 李仁发. 基于分布式OSGi的动态服务组合算法[J]. 计算机研究与发展, 2014, 51(2): 420-428.
    引用本文: 罗 娟 周 峰 李仁发. 基于分布式OSGi的动态服务组合算法[J]. 计算机研究与发展, 2014, 51(2): 420-428.
    Luo Juan, Zhou Feng, and Li Renfa. Dynamic Service Composition Mechanism Based on OSGi[J]. Journal of Computer Research and Development, 2014, 51(2): 420-428.
    Citation: Luo Juan, Zhou Feng, and Li Renfa. Dynamic Service Composition Mechanism Based on OSGi[J]. Journal of Computer Research and Development, 2014, 51(2): 420-428.

    基于分布式OSGi的动态服务组合算法

    Dynamic Service Composition Mechanism Based on OSGi

    • 摘要: 物联网近年来得到快速发展和普及,而应用与感知设备的严重耦合使得开发过程变得十分困难和复杂.针对OSGi中间件系统,提出了一种分布式OSGi的轻量级中间件结构,将网络中的节点提供的各种功能虚拟抽象为网络服务,通过面向服务架构(service oriented architecture, SOA)的服务管理对设备节点进行解耦.网络设备提供的服务单一,还存在移动性及续航等限制,为了适应动态变化的网络及应用需求,提出了一种满足服务质量约束的网络服务组合机制DscGOM,包括满足服务质量的组合路径选择机制设计和服务重定向机制设计.实验结果表明,该机制能够很好地适应动态网络需求,快速有效地生成服务组合路径.在网络节点意外退出失效的情况下,能够快速寻找替代组合路径和恢复组合服务的执行.

       

      Abstract: Internet of Things has been rapidly developed and popularized in recent years, but the serious coupling between application and sensing devices makes development processes quite difficult and complicated. Due to the limitation of original OSGi in sharing services among different nodes, a distributed lightweight middleware structure is proposed based on OSGi. In this distributed OSGi structure, various kinds of functions provided by networked devices are abstracted to services. So that we can take advantage of SOA to manage all networked nodes/devices using services form for decoupling. Single service provided by nodes/devices may only have limited function, and networked devices have mobility and endurance ability limitation, etc. In order to adapt to dynamically changed network and application requirements, a service composition mechanism named DscGOM is designed. DscGOM includes service composition path choosing mechanism and service redirection mechanism. The experimental results show that DscGOM mechanism can be faster and more effective than traditional method, which generates the composition path of services to satisfy the dynamic network demand. When a network device dies or exits unexpectedly, the mechanism can quickly get an alternative composition path and restore the execution.

       

    /

    返回文章
    返回