• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2016, Vol. 38 ›› Issue (03): 449-453.

• 论文 • 上一篇    下一篇

一种高效的最短路径完全动态更新算法

汪晓洁,郭文强,王思秀,蔡咏梅   

  1. (新疆财经大学计算机科学与工程学院,新疆 乌鲁木齐 830012)
  • 收稿日期:2015-01-10 修回日期:2015-05-15 出版日期:2016-03-25 发布日期:2016-03-25
  • 基金资助:

    国家自然科学基金(61163066);新疆高校科研计划青年教师科研启动基金(XJEDU2014S046);新疆财经大学科研基金(2015XYB007)

An efficient completely dynamic SPT algorithm  

WANG Xiaojie,GUO Wenqiang,WANG Sixiu,CAI Yongmei   

  1. (School of Computer Science and Engineering,Xinjiang University of Finance & Economics,Urumqi 830012,China)
  • Received:2015-01-10 Revised:2015-05-15 Online:2016-03-25 Published:2016-03-25

摘要:

在通信网络中,节点间最短路径的计算是链路状态路由协议计算路由的基础。通过对现有动态最短路径算法的深入研究,提出了一种处理网络拓扑变化的完全动态最短路径算法DSPTID。该算法利用已有SPT的信息,建立一个最短路径树的更新队列,当网络拓扑发生变化时,算法针对边的权值增大和减小,分别进行更新,并将更新节点局限在受拓扑变化影响的节点中,从而达到SPT的增量更新。算法复杂度分析和仿真结果显示,DSPTID算法具有更少的节点更新次数和更高的时间效率。

关键词: 最短路径, SPF算法, 动态更新, 路由协议

Abstract:

Computation of the shortest path between two nodes in communication networks is the basis of the link state routing protocol. Based on the study on the present dynamic SPT algorithms, we propose a new completely dynamic SPT algorithm (DSPTID) for handling network topology changing. This algorithm establishes an SPT update queue and pays attention only to the changes of nodes and edges by making use of information provided by the existing SPT, which can achieve incremental update. When the topology of the network changes, the increase or decrease of edge weights can be processed by the DSPTID algorithm. The analysis of algorithm complexity and simulation results show that the DSPTID requires less update of nodes and has higher efficiency. 

Key words: shortest path;SPF algorithm;dynamic update;routing protocol