We use cookies to improve your experience with our site.
侯陈达, 李栋, 邱杰凡, 石海龙, 崔莉. SeaHttp:一种物联网扩展REST风格的面向资源分-合协议[J]. 计算机科学技术学报, 2014, 29(2): 205-215. DOI: 10.1007/s11390-014-1423-z
引用本文: 侯陈达, 李栋, 邱杰凡, 石海龙, 崔莉. SeaHttp:一种物联网扩展REST风格的面向资源分-合协议[J]. 计算机科学技术学报, 2014, 29(2): 205-215. DOI: 10.1007/s11390-014-1423-z
Chen-Da Hou, Dong Li, Jie-Fan Qiu, Hai-Long Shi, Li Cui. SeaHttp:A Resource-Oriented Protocol to Extend REST Style for Web of Things[J]. Journal of Computer Science and Technology, 2014, 29(2): 205-215. DOI: 10.1007/s11390-014-1423-z
Citation: Chen-Da Hou, Dong Li, Jie-Fan Qiu, Hai-Long Shi, Li Cui. SeaHttp:A Resource-Oriented Protocol to Extend REST Style for Web of Things[J]. Journal of Computer Science and Technology, 2014, 29(2): 205-215. DOI: 10.1007/s11390-014-1423-z

SeaHttp:一种物联网扩展REST风格的面向资源分-合协议

SeaHttp:A Resource-Oriented Protocol to Extend REST Style for Web of Things

  • 摘要: 物联网的出现可以实现以REST架构的方式将数以万计的嵌入式设备连入Web。由于物联网中设备资源严重受限,传统Web的应用层协议不能直接在物联网中应用,因此现有工作提出了符合REST风格的轻量级应用层协议来代替HTTP协议在受限设备中运行,实现受限设备与Web的互联。但是由于受限设备通常以组为单位进行操作,而传统REST风格的协议基于客户端-服务器的一对一请求模式,所以不支持群组通信模式。因此为了满足物联网中的群组通信需求,本文提出了一种基于Web面向资源的拆-合协议,命名为SeaHttp,来扩展已有的REST风格,使得在物联网中应用REST架构可以支持群组通信。SeaHttp基于传统REST风格下的四种方法(GET, PUT, POST和DELETE)提供两种新的方法(BRANCH和COMBINE),用于并发群组多资源请求的拆分和合并。同时为了能够动态的实现群组命名和实体资源的表述,在标准URI中加入时空属性,提出一种基于时空属性的改进URI机制。实验结果表明SeaHttp与现有物联网应用层协议CoAP相比平均能耗降低18.5%。

     

    Abstract: Web of Things (WoT) makes it possible to connect tremendous embedded devices to web in Representational State Transfer (REST) style. Some lightweight RESTful protocols have been proposed for the WoT to replace the HTTP protocol running on embedded devices. However, they keep the principal characteristic of the REST style. In particular, they support one-to-one requests in the client-server mode by four standard RESTful methods (GET, PUT, POST, and DELETE). This characteristic is however inconsistent with the practical networks of embedded devices, which typically perform a group operation. In order to meet the requirement of group communication in the WoT, we propose a resource-oriented protocol called SeaHttp to extend the REST style by introducing two new methods, namely BRANCH and COMBINE respectively. SeaHttp supports parallel processing of group requests by means of splitting and merging them. In addition SeaHttp adds spatiotemporal attributes to the standard URI for naming a dynamic request group of physical resource. Experimental results show that SeaHttp can reduce average energy consumption of group communication in the WoT by 18.5%, compared with the Constrained Application Protocol (CoAP).

     

/

返回文章
返回