• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (4): 198-202.

• 论文 • 上一篇    

SHSim:基于OSGI的智能家居的系统测试平台

黄若衡1,张〓磊2,陶〓品2,任英杰2,陈〓渝2   

  1. (1.上海直真视通科技有限公司,上海 200085;2.清华大学计算机系,北京 100084)
  • 收稿日期:2010-05-25 修回日期:2010-09-21 出版日期:2011-04-25 发布日期:2011-04-25
  • 作者简介:黄若衡(1969),女,湖南长沙人,硕士,工程师,研究方向为普适计算、嵌入式系统和多媒体。张磊(1978),男,山东济南人,硕士,工程师,研究方向为普适计算。陶品(1974),男,安徽安庆人,博士,讲师,研究方向为普适计算和多媒体。
  • 基金资助:

    国家863计划资助项目(2009AA011906)

SHSim:Smart Home’s System Test Platform Based on OSGI  

HUANG Ruoheng1,ZHANG Lei2,TAO Pin2,REN Yingjie2,CHEN Yu2   

  1. (1.Zhizhen Video Communications ScienceTech Co.,Ltd,Shanghai 200085;2.Department of Computer Science and Technology,Tsinghua University,Beijing 100084,China)
  • Received:2010-05-25 Revised:2010-09-21 Online:2011-04-25 Published:2011-04-25

摘要:

随着普适计算技术的发展,智能家居逐渐普及。智能家居在实际部署过程中往往需要集成很多不同的设备和应用服务,开展设备间的联调和系统集成测试工作通常比较困难。为了解决这个问题,本文描述了一个基于OSGI框架,适用于智能家居环境使用的系统测试平台SHSim。SHSim基于可配置化的动态机制,可以方便地增加新设备而不需要修改任何代码,实现了透明模拟功能——模拟设备不用修改(或者很少改动)即可迁移到真实设备,大大提高了测试平台的可用性。通过在智能家居项目的实际应用,验证了该系统测试平台可以有效地控制开发流程,减少整个项目测试成本,提高了开发效率。

关键词: 普适计算, OSGi, 智能家居, 透明模拟

Abstract:

With the development of pervasive computing, smart home is increasingly popular. Smart home usually requires an integration of many heterogeneous devices and service applications in deployment so it is hard and expensive to implement system testing. To cope with this problem, this paper describes an OSGIbased smart home simulator named SHSim that is suitable for smart home testing. SHSim is built on a dynamic mechanism that allows user to configure the system and test cases easily, and provides device transparent simulation meaning that virtual devices can transplant to real devices with no or little modifications. Practical applications show that SHSim can effectively improve the  development efficiency and reduce the test cost.

Key words: pervasive;OSGI;smart home;transparent simulation