计算机与现代化 ›› 2013, Vol. 1 ›› Issue (2): 56-60.doi: 10.3969/j.issn.1006-2475.2013.02.014

• 软件工程 • 上一篇    下一篇

基于REST风格的物联网应用开发模式探究

陈 昊,李士宁   

  1. 西北工业大学计算机学院,陕西西安710072
  • 收稿日期:2012-12-24 修回日期:1900-01-01 出版日期:2013-02-27 发布日期:2013-02-27

Exploration of Application Development Model for Internet of Things Based on RESTful

CHEN Hao, LI Shi-ning   

  1. School of Computer Science, Northwestern Polytechnical University, Xi’an 710072, China
  • Received:2012-12-24 Revised:1900-01-01 Online:2013-02-27 Published:2013-02-27

摘要: 伴随着网络技术的快速发展,人类进入了以服务为基础的互联网时代。采用基于REST风格的服务,有效地解决了传统的以SOAP为基础的Web Services使用过于复杂,局限于POST方法,很少使用HTTP响应代码等方面的问题。本文设计一个基于REST的物联网应用系统开发模式,基于一个具有REST风格的物联网业务平台,将传感器节点等智能感知终端和感知数据看作资源,使用户可以采用Django框架来简便、快速地开发物联网应用。

关键词: 物联网, 传感器, REST, 业务平台

Abstract: Service-based Internet era has been formed with the rapid growth of network technology in recent years. Traditionally, SOAP-based Web services rarely use HTTP response codes and exploit HTTP GET and POST methods only, increase complexity of application programming, but RESTful Web services reduce this complexity. This paper introduces a development model for RESTful applications in Internet of Things. Based on RESTful platform of Internet of Things, wireless sensor nodes and data are abstracted as universal resources to provide rapid prototyping using Django framework.

Key words: Internet of things, sensor, REST, business platform