陳繼彤,郭偉,任智
(電子科技大學(xué)通信抗干擾技術(shù)國(guó)家級(jí)重點(diǎn)實(shí)驗(yàn)室,四川 成都 610054)
摘要:OLSR(Optimized Link State Routing Protocol,最優(yōu)鏈路狀態(tài)路由協(xié)議,RFC3626)協(xié)議是應(yīng)用于MANET網(wǎng)絡(luò)的一種先應(yīng)式表驅(qū)動(dòng)路由協(xié)議,其拓?fù)浒l(fā)現(xiàn)過程是實(shí)現(xiàn)有效通信的關(guān)鍵。本文提出了一種基于C++的OLSR協(xié)議拓?fù)浒l(fā)現(xiàn)的實(shí)現(xiàn)方案。該方案采用模塊化面向?qū)ο笤O(shè)計(jì)方法,結(jié)合C++語言的特點(diǎn)使用了一些新的實(shí)現(xiàn)方法,主要完成了鄰居偵測(cè)、鏈路偵測(cè)、MPR選舉、HELLO消息處理、TC消息處理和拓?fù)溆?jì)算等功能。
關(guān)鍵詞:MANET;路由協(xié)議;OLSR;實(shí)現(xiàn);TC發(fā)現(xiàn)
中圖分類號(hào):TN915.04 文獻(xiàn)標(biāo)識(shí)碼:A 文章編號(hào):1672-4984(2006)03-0078 04
An implementation plan of topology discovery of OLSR protocol
CHEN Ji-tong, GUO Wei, REN Zhi
(National Key Laboratory of Communication, University of Electronic Science and Technology, Chengdu 610054,China)
Abstract: OLSR(optimized link state routing protocol,RFC3626) is a kind of pre-active table driven routing protocol applied in MANET. Topology discovery process of OLSR is the key of efficiently realizing the communication. In this paper, a implementation plan of topology discovery of OLSR protocol was presented. The implementation was done in a modular and OOP fashion, using certain new methods combined with the characteristics of C++, which included the link sensing, neighbor detection, MPR selecting, HELLO Control processing, TC Processing and topology calculation.
Key words: MANET;Routing protocol;OLSR;Implementation;TC discovery