期刊文献+

基于观察者模式的CoAP课程教学与实验设计

Observer Pattern Based Teaching and Experimental Design of CoAP Course
下载PDF
导出
摘要 CoAP是M2M的核心技术之一,其观察者模式是一种软件设计模式。IETF RFC 7641定义的CoAP资源观察机制正是基于该模式,是CoAP教学和实验内容的重要组成部分。将CoAP中资源观察消息的传递过程与通知的传输控制、时效性模型结合进行课程教学内容设计,通过Eclipse开源项目Californium中提供的API设计相应实验,并利用JUnit框架设计CoAP资源观察的测试用例,测试结果验证了相应资源观察过程。将该设计运用到实际教学活动中,学生对CoAP的内涵理解及编程能力都有提高。 CoAP is one of the core technologies of M2M and its observer mode is a software design pattern.The CoAP resource observa?tion mechanism defined by IETF RFC 7641 is based on this pattern and is an important part of CoAP teaching and experimental con?tent.This paper integrates the message transfer process of resources observing,transmission control of notifications,and freshness model in CoAP for the teaching content design.Experiments are also designed with API from Californium,an open source project from Eclipse foundation.Test cases of resources observing of CoAP are also designed based on JUnit framework,and the results verify the re?sources observing process of corresponding case.It is found that students’understanding about CoAP and programming ability with Co?AP can be improved thanks to the application of those teaching activities.
作者 张笑非 段先华 王长宝 王艳 ZHANG Xiao-fei;DUAN Xian-hua;WANG Chang-bao;WANG Yan(School of Computer,Jiangsu University of Science and Technology,Zhenjiang 212003,China)
出处 《软件导刊》 2019年第12期199-203,共5页 Software Guide
基金 教育部人文社科基金项目(2014WY11J) 江苏省哲学社科基金项目(2014SJB822) 江苏科技大学2016高教研究项目(GJKTY201625) 江苏省教育信息化研究课题项目(20172217)
关键词 观察者模式 资源观察通知 传输控制 时效性模型 受限节点/网络 observer pattern resources observing notification transmission control freshness model constrained nodes and networks
  • 相关文献

参考文献16

二级参考文献86

共引文献32

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部