计算机科学与探索 ›› 2011, Vol. 5 ›› Issue (12): 1076-1084.

• 学术研究 • 上一篇    下一篇

无线传感设备及数据的对象化访问方法

张 伟, 宋 晖, 黄 罡   

  1. 1. 北京大学 高可信软件技术教育部重点实验室, 北京 100871
    2. 北京大学 信息科学技术学院 软件工程研究所, 北京 100871
    3. 软件工程国家工程研究中心, 北京 100871
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-12-01 发布日期:2011-12-01

Object Oriented Accessing Approach for Wireless Sensor Network Devices and Data

ZHANG Wei, SONG Hui, HUANG Gang   

  1. 1. Key Laboratory of High Confidence Software Technologies, Ministry of Education, Peking University, Beijing 100871, China 2. Software Engineering Institute, School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China 3. National Engineering Research Center for Software Engineering, Beijing 100871, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-12-01 Published:2011-12-01

摘要: 物联网(Internet of things, IOT)是近年来的研究热点之一, 然而传感设备只提供了比较底层的访问接口, 通过接口所获得的数据与应用层所需的数据在概念上存在较大的差异。针对这一问题, 提出一种无线传感设备及其数据的对象化访问方法。该方法通过UML(unified modeling language)类图建立设备模型与应用模型, 利用SM@RT(supporting models at runtime)工具建立设备访问模型, 将设备接口与设备模型进行关联, 并用QVT(query/view/transformation)关联设备模型和应用模型。实验结果验证了该方法的可行性和有效性。

关键词: 物联网, 无线传感器, 面向对象, 对象关系映射

Abstract: Internet of things (IOT) is a hot research in recent years. However, there are only some bottom-level interfaces to access the sensors. The data gotten from the sensors are very different from what people want in the application layer conceptually. To address this issue, this paper presents an object-oriented accessing approach for wireless sensors and the data. The approach uses UML (unified modeling language) to build the device model and appli-cation model, uses SM@RT (supporting models at runtime) tool to build the device access model, which connects the device interfaces and the device model. Then it uses QVT (query/view/transformation) to connect the device model and application model. Experimental results validate the feasibility and effectiveness of this approach.

Key words: Internet of things (IOT), wireless sensor, object oriented, object relation mapping