针对语义物联网中实体设备所提供的原子服务的资源有限性及其所处环境的动态变化性等问题,提出了一种语义物联网中基于Qo S的动态服务组合方法。该方法依据添加情境的Qo S本体,在对语义物联网中的服务进行动态的语义标注后,对待选择服务集进行动态的选择与组合,并将组合后的新服务通过服务ID映射到对应的实体设备上,最后通过实体设备将结果反馈给服务请求者。通过对具体实例的对比分析表明,该方法可以针对不同的服务对象以及不同的服务环境动态地为服务请求者提供更加准确的服务。
Currently many problems about limited resources and dynamic environment of atomic services bounded to entity devices exist in semantic Web of things. To solve these problems,this paper proposed a Qo S-based method for dynamic service composition in semantic Web of things. Annotating semantic information of service profiles which were based on context-appended Qo S ontology,this method selected and combined candidate services dynamically. The new service was mapped to the corresponding entity devices through service ID which sent the results back to the service requester. Finally,comparative analyses of specific example show that this method can provide more accurate services for service requester according to different service objects and different service environment dynamically.