计算机科学与探索 ›› 2024, Vol. 18 ›› Issue (3): 795-804.DOI: 10.3778/j.issn.1673-9418.2304001

• 网络·安全 • 上一篇    下一篇

面向命名数据网络的轻量级路由协议

邹博文,嵩天,李天龙,杨雅婷   

  1. 1. 北京理工大学 计算机学院,北京 100081
    2. 北京理工大学 网络空间安全学院,北京 100081
  • 出版日期:2024-03-01 发布日期:2024-03-01

Lightweight Routing Protocol for Named Data Networking

ZOU Bowen, SONG Tian, LI Tianlong, YANG Yating   

  1. 1. School of Computer Science & Technology, Beijing Institute of Technology, Beijing 100081, China
    2. School of Cyberspace Science and Technology, Beijing Institute of Technology, Beijing 100081, China
  • Online:2024-03-01 Published:2024-03-01

摘要: 命名数据网络(NDN)是一种以信息为中心的新型网络架构方案。为了获取网络全局路由信息,典型NDN路由协议基于数据同步协议实现全局路由更新。然而,这类同步协议工作于应用层,在动态网络环境中,存在网络信息更新代价高、网络动态变化感知能力差等问题。针对这些问题,设计并实现了一种轻量级命名绑定网络层路由协议(NBRP)。该方法将路由节点名称与其发布内容名称进行绑定,使得路由节点可以定向进行路由更新信息的请求,不需额外同步协议即可完成轻量级路由信息交换。为进一步减少路由更新的传输代价,设计了一种可复用的路由信息包命名格式和路由信息增量传输机制。同时,为测试方案的有效性,在Linux内核中实现了相应功能模块并进行测试。实验结果显示,在动态网络环境下,相比于传统NDN链路状态路由协议,提出的方法能够降低72%的路由更新同步代价,且链路状态感知与响应速度提高近一倍。

关键词: 命名数据网络(NDN), 路由协议, 链路状态感知, 命名绑定

Abstract: Named data networking (NDN) is a novel network architecture that revolves around information-centric principles. In order to acquire global routing information within the network, typical NDN routing protocols rely on data synchronization mechanisms to achieve global routing updates. However, such synchronization protocols operate at the application layer, which introduces challenges in dynamic network environments, such as high costs associated with network information updates and limited ability to perceive network dynamics. To address these issues, this paper designs and implements a lightweight named-binding routing protocol (NBRP). This approach binds routing node names with their published content names, enabling routing nodes to make targeted requests for routing update information without requiring additional synchronization protocols, thus achieving lightweight routing information exchange. To further reduce the transmission costs of routing updates, this paper introduces a reusable routing information packet naming format and a routing information incremental transmission mechanism. Additionally, to validate the effectiveness of the proposed solution, corresponding functional modules are implemented and tested within the Linux kernel. Experimental results demonstrate that, in dynamic network environments, compared with traditional NDN link-state routing protocols, the proposed method can reduce routing update synchronization costs by 72% and increase link-state awareness and response speed by nearly twofold.

Key words: named data networking (NDN), routing protocol, link-state awareness, name-binding