计算机应用 ›› 2013, Vol. 33 ›› Issue (11): 3010-3015.

• 网络与通信 • 上一篇    下一篇

基于受限网络应用层协议的物联网应用代理研究与实现

宋衍,傅骞   

  1. 北京师范大学 教育技术学院,北京 100875
  • 收稿日期:2013-05-15 修回日期:2013-07-17 出版日期:2013-11-01 发布日期:2013-12-04
  • 通讯作者: 宋衍
  • 作者简介:宋衍(1989-),男,浙江绍兴人,硕士研究生,主要研究方向:物联网教育应用、上层应用;傅骞(1978-),男,浙江金华人,副教授,博士,主要研究方向:物联网应用。
  • 基金资助:
    中央高校基本科研业务费专项资金资助项目

Network proxy research and implementation for Internet of things applications based on constrained application protocol

SONG Yan,FU Qian   

  1. School of Educational Technology, Beijing Normal University, Beijing 100875, China
  • Received:2013-05-15 Revised:2013-07-17 Online:2013-12-04 Published:2013-11-01
  • Contact: SONG Yan

摘要: 针对物联网(IoT)三层结构的研发独立性带来的应用研发高技术瓶颈问题,提出了基于受限网络应用层协议(CoAP)的解决方案。该方案在实现CoAP的基础上开发了CoAP-HTTP网络代理,允许用户通过浏览器直接访问物联网节点,进行资源发现、数据查询和资源订阅等。经测试,代理模式未影响系统的响应速率,代理运行稳定,可支持多用户同时对物联网节点数据访问。CoAP代理模式能够有效帮助应用开发人员规避底层开发与数据交换开发复杂性,辅助其独立生成新的应用,为物联网应用开发提供了新的思路。

关键词: 物联网, 6LoWPAN, 受限网络应用层协议, 网络代理, WebSocket

Abstract: To solve the problem of high technology bottleneck caused by the three-layer research and development independence of Internet of Things (IoT), a solution based on Constrained Application Protocol (CoAP) was proposed. This solution developed CoAP-HTTP network proxy based on CoAP implementation, which enabled users to access the IoT node resources through the browser directly, to discover resources, to query data and to subscribe resources, etc. The test results show that the proxy mode does not affect the response rate of the system and it is stable enough to support multiple users accessing the network node data at the same time. The CoAP Agent model can help application developers circumvent the complexity of low-level software development and data exchange development; hence they are able to generate a new application independently. The CoAP Agent model provides a new way for the application development of IoT.

Key words: Internet of Things (IoT), IPv6 over Low power Wireless Personal Area Networks (6LoWPAN), Constrained Application Protocol (CoAP), network proxy, WebSocket

中图分类号: