- 32
- 0
- 约3.16千字
- 约 3页
- 2021-12-04 发布于湖北
- 举报
Tinyos操作系统简介
Tinyos简介
最近看了篇关于TinyOS简介的文章,摘录出来保存下,介绍tinyos编程入门的资料不少,但从操作系统
的角度分析tinyos是有必要的,毕竟TinyOS做为无线传感网络操作系统中最重要的一种,也是最常用的
一种,分析它的实现机制有助于以后改进针对无线传感网络的操作系统,也是嵌入式操作系统的一类。
An open-source operating system designed for wireless embedded sensor network. More specifically, it is designed to support the concurrency intensive operations required by networked sensors with minimal hardware requirements.
TinyOS Features
? No Kernel: Direct hardware manipulation.
? No Process Management: Only one process on the fly.
? No Virtual Memory: Single linear physical address space.
? No S/w Signal or Exception: Function call instead.
? No User Interface, power constrained.
? Unusually application specific H/w and S/w.
? Multiple flows, concurrency intensive bursts.
? Extremely passive vigilance (power saving).
? Tightly coupled with the application.
? Simulator: TOSSIM, PowerTOSSIM
? Written in “nesC” Language, a dialect of the ?C? language.
TinyOS uses multi-hop routing instead of point-to-point connections to save
transmission power. Route discovery is done by 2-hop broadcast and topology
discovery is based on shortest path from each node to the base station.
? The paradigm for network transmissions in TinyOS is active messaging. Messages contain a handler address and on arrival this handler is called.
? TinyOS Architecture
? Component Based Architecture: enables rapid innovation and implementation while minimizing code size as required by the severe memory constraints inherent in sensor networks.
? Small footprint: fits in 178 Bytes of memory.
? Event based instead of threaded architecture.
start and stop are commands.
fired is a event invoked by Timer.
The interface specifies: Timer must implement startand stop, Application must implement fired.
o Propagates events in time it takes to copy 1.25 Bytes.
o Switches context in the time to copy 6 Bytes ofMemory.
? Radio and Clock have interrupts.
? Non-blocking/Non-preemptive Scheduling: Tasks will not pre
您可能关注的文档
- 工程量清单编码附表.doc
- 富士HS22EXR使用技巧.doc
- 水土流失的危害及水土保持的作用.doc
- 闽侯昙石山新石器时代遗址探掘报告.pdf
- 学前班_大班_数学教案_常规教育1.doc
- 汉堡王案例分析.doc
- 计算机英语第二版课后习题答案.doc
- 100以内数的加减法.doc
- 2006年徐州中考数学试卷.doc
- 学生违纪处理决定文档.doc
- (2026春新版)部编版八年级语文下册《第一单元》PPT课件.pptx
- 2018电力监控系统网络安全监测装置技术规范.docx
- 2022电力监控系统安全防护方案审核要点.docx
- 2014电力电缆光伏系统EN 50618欧标.docx
- (2026春新版)人教版二年级数学下册《第三单元 万以内数的认识》教案.docx
- (2026春新版)人教版二年级数学下册《第四单元 万以内的加法和减法》教案.docx
- (2026春新版)人教版二年级数学下册《综合与实践 时间在哪里》教案.docx
- (2026春新版)苏教版二年级数学下册《综合与实践 时间有多长》教案 .pdf
- (2026春新版)部编版三年级语文下册第3单元(教案).docx
- (2026春新版)部编版三年级语文下册第8单元(教案).docx
原创力文档

文档评论(0)