摘要
伴随着网络技术的快速发展,人类进入了以服务为基础的互联网时代。采用基于REST风格的服务,有效地解决了传统的以SOAP为基础的Web Services使用过于复杂,局限于POST方法,很少使用HTTP响应代码等方面的问题。本文设计一个基于REST的物联网应用系统开发模式,基于一个具有REST风格的物联网业务平台,将传感器节点等智能感知终端和感知数据看作资源,使用户可以采用Django框架来简便、快速地开发物联网应用。
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.
出处
《计算机与现代化》
2013年第2期56-60,共5页
Computer and Modernization
基金
国家科技重大专项项目(2012ZX03005007)
关键词
物联网
传感器
REST
业务平台
Internet of things
sensor
REST
business platform