计算机应用 ›› 2010, Vol. 30 ›› Issue (06): 1434-1438.

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

一种跨平台的自组网路由协议实现框架

张伟1,向勇2,李三立3   

  1. 1. 清华大学计算机系高性能计算研究所
    2. 清华大学计算机科学与技术系
    3.
  • 收稿日期:2009-12-14 修回日期:2010-02-08 发布日期:2010-06-01 出版日期:2010-06-01
  • 通讯作者: 张伟
  • 基金资助:
    国家高技术研究发展计划(“863”计划)基金资助项目

Implementation framework of cross-platform MANET routing protocol

  • Received:2009-12-14 Revised:2010-02-08 Online:2010-06-01 Published:2010-06-01
  • Contact: Wei Zhang

摘要: 为了减少不同平台上自组网(MANET)路由协议的重复实现和保证协议在不同平台下实现的正确性与一致性,设计并实现了一种可以在Windows、Linux,以及NS-2模拟器上运行的自组网路由协议框架,并用典型的自组网反应式路由协议AODV对其可行性进行了验证。该框架设计中将协议实体与周边环境抽象开来的方法具有通用性,可以适用于其他自组网路由协议甚至其他网络协议(例如TCP),也可以扩展支持其他操作系统。

关键词: 跨平台, 无线Ad Hoc网络中反应式路由协议, 自组网路由协议, 适配器, 协议实现

Abstract: In order to reduce repetition and ensure the accuracy and consistency in implementing Mobile Ad Hoc Network (MANET) routing protocol on different platforms, an implementation framework of MANET routing protocols running on Windows, Linux and NS-2 was designed and validated by implementing Ad Hoc On-Demand Distance Vector (AODV), a classic MANET reactive routing protocol based on it. The method by abstraction for separating protocol entity from environments is of generability in designing the framework. It can also be applied to other MANET routing protocols or other network protocols (e.g. TCP), and can also be extended to support other operating systems.

Key words: cross-platform, Ad Hoc On-Demand Distance Vector (AODV) routing protocol, MANET routing protocol, adapter, protocol implementation