物联网(Internet of things,IOT)是近年来的研究热点之一,然而传感设备只提供了比较底层的访问接口,通过接口所获得的数据与应用层所需的数据在概念上存在较大的差异.针对这一问题,提出一种无线传感设备及其数据的对象化访问方法.该方法通过UML(unified modeling language)类图建立设备模型与应用模型,利用SM@RT(supporting models at runtime)-工具建立设备访问模型,将设备接口与设备模型进行关联,并用QVT(query/view/transformation)关联设备模型和应用模型.实验结果验证了该方法的可行性和有效性.%Internet of things (LOT) 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 application 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 devicemodel and application model. Experimental results validate the feasibility and effectiveness of this approach.
展开▼