根据移动ad-hoc网络的特点分析了HOLSR分级路由协议的工作原理,在控制网络中群的数量及规模、减少冗余控制分组两方面进行了改进,并基于C语言提出了一种HOLSR路由协议的实现方案。该方案结合了C语言特点主要完成了消息处理、拓扑计算、群成员管理、路由计算等功能。最后在Linux系统下实现了该方案,基于对实验结果的分析,验证了HOL-SR路由协议简单、实用、性能优越。
According to the attribute of mobile Ad-hoc networks,the principle of HOLSR hierarchical routing protocol is studied,then two aspects is improved,that is the cluster number and scale control,control packet redundancy reducing.An implementation of HOLSR routing protocol is presented.The implementation is done combined with the characteristics of C,including message management,topology calculation,cluster member management,routing calculation.Based on the results analysis,the result show HOLSR routing protocol is simple,practical and superior performance.