- 0
- 0
- 约1.59千字
- 约 7页
- 2018-02-27 发布于湖北
- 举报
Code Review of SOWN Demo--- SentrySelection Model文档文档
* Code Review of SOWN Demo--- SentrySelection Model By: Gang Zhou Computer Science Department University of Virginia May 2004 * Outline Interface Description Component Description Tunable Parameters Module Overview Timers in code Phases in code Node Behavior in different Phases * Timers and Phases Two Timers: PhaseTimer --- control the four phases BeaconTimer --- keep periodical beaconing Four Phases SEL_CHAOS No much to say START_UP Each node calculate information of the neighborhood DECLARE Decide sentry nodes and declare them SEL_STOP No much to say * Phase---START_UP What to beacon during the phase? My ID SentryID Num_covered Num_sentries Num_nonsentries Voltage * Phase---START_UP What to do when a beacon is received? Update neighborhood status Num_sentries Num_nonsentries Num_covered What to do at the end of this phase? Back off The larger the num_nonsentry, the less the back off time The higher the energy, the less the back off time Start the first beacon of DECLARE phase after the back off * Phase---DECLARE If the following two conditions are satisfied, I will declare myself as an entry I am not a sentry I didn’t hear from a sentry Only when a node decides to be a sentry, it will beacon. What to beacon during the phase? My ID SentryID Num_covered Num_sentries Num_nonsentries Voltage * Phase---DECLARE What to do when a beacon is received? Update neighborhood status Num_sentries Num_nonsentries Num_covered If I am not a sentry and I hear from a sentry, I will set that node as my sentry What to do at the send of this phase? Schedule to enter into SEL_STOP phase after 1 second * *
您可能关注的文档
- a七年级地理下册.第八章第二节欧洲西部的课件.人教新课标版文档.ppt
- B、班级文化之主题班会(简版)文档.ppt
- C for Engineers and Scientists Third Edition文档.ppt
- C 5 图书管理系统的设计文档.ppt
- CAD 建筑平面图绘制教程全套文档.ppt
- CAD技能等级考试一级试题(土木与建筑类)文档.ppt
- C80高强预拌混凝土研究文档.ppt
- C51单片机C语言程序设计文档.ppt
- CAD建筑制图基础教程2008版9文档.ppt
- CAD教程第十章文档.ppt
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
最近下载
- 05G359-3悬挂运输设备轨道标准图集.pdf VIP
- 新学期教师培训会,校长发言:明边界守初心,知尺度有温度,让教育履职既合规又暖心.doc VIP
- 湖南省长沙市第一中学2024-2025学年高二上学期语文1月期末考试试卷(含答案).pdf VIP
- 2025年秋季学期学校全面工作计划.doc VIP
- T∕CHAS 10-2-22-2023 中国医院质量安全管理 第2-22部分:患者服务 疼痛治疗.pdf
- T_CNFMA B036-2024 户外林业机械 以锂离子电池为动力源的步进式松土机.pdf VIP
- T_CCTAS 237-2025 城市轨道交通市域快线车辆运营技术规范.pdf VIP
- 广告策划与创意(第2版):网络广告创意PPT教学课件.pptx
- 人体解剖学试题及答案.docx VIP
- 最后倒计时最后倒数(The Final Countdown) 高清钢琴谱五线谱.doc VIP
原创力文档

文档评论(0)