摘要
Contiki在物联网中的应用越来广泛,但用户对系统的认识却相对滞后。Contiki是一款适用于资源受限无线传感网操作系统,支持IPv6协议。在事件驱动的基础上,提供protothread线程模型,从而有效节省内存空间。文章介绍了Contiki的特点,结合main函数的执行流程深入剖析了Contiki的进程与事件以及事件与进程的关系。通过实例在Cooja下进行了仿真,并对结果进行了分析。
The application of Contiki system in the Internet of Things is more and more extensive, but the user's cognition of the system is relatively backward. Contiki is suitable for resource constrained wireless sensor networks, supports the IPv6 protocol, and on the basis of event driven, provides the protothreads threading model, which can effectively save memory space. In this paper,the characteristics of Contiki are introduced, combined with the execution process of the main function, the process and event of Contiki, and the relationship between them are analyzed. And an example is simulated with Cooja, the results are analyzed.
出处
《计算机时代》
2016年第12期1-4,共4页
Computer Era
基金
江苏省高等学校大学生实践创新训练计划项目(No.2012JSSPITP2376)