Named Data Networking: ndnsim (六):chronosync-app仿真实验

**

前言

**
2013年,Zhenkai Zhu and Alexander Afanasyev提出了ChronoSync协议,最早部署在NDN的testbed上并开发了一系列去中心化应用,本文主要介绍如何在ndnsim中使用一种新的custom-app,也即chronosync-app, 此应用很好地在原NDN协议栈基础上实现了chronosync同步协议,允许ndnsim拓扑中任意两个节点实现数据的同步交换

基础知识补充

**

chronosync-app介绍

**
ndnsim中所有的应用都具有两方面的属性(attributes)

  • 自身独有的属性(unique attributes)
  • 从母类继承而来的公共属性(common attributes),这些公共属性很大一部分源自ns-3以及app::helper, 比如设置前缀(setprefix),设置负载大小(set payloadsize)

chronosync-app也继承了这一特点,其属性有以下几种

  • SyncPrefix (同步包前缀,字符串型)
  • UserPrefix(实际数据包前缀,字符串型)
  • RoutingPrefix(路由前缀,字符串型)
  • MinNumberMessages(最小包数,整型)
  • MaxNumberMessage(最大包数,整型)
  • PeriodicPublishing(是否周期性向外发送数据包,Boolean型)
Originally reactive protocols were not design for the characteristic of highly mobility during route discovery. Due to dynamically modification to the VANET this changes very often due to breakdown which causing excessive broadcasting and flooding the entire network in order for new routes to be discovered. In additional, the initial of routing need some time and this latency can easily change everything. Due to these reasons, the typical reactive protocols, in their current format, do not totally appropriate for time critical applications such as cooperative collision avoidance (CCA). The Cooperative Collision Avoidance is an important class of safety applications in VANETs, which aims at offering earlier warning to drivers using vehicle-to-vehicle (V2V) communication [13]. Ad Hoc On Demand Distance Vector (AODV) is an reactive routing protocolwhich capable of both unicast and multicast. In AODV, like all reactive protocols,topology information is only transmitted by nodes on-demand. When source hassomething to send then initially it propagates RREQ message which is forwarded byintermediate node until destination is reached. A route reply message is unicastedback to the source if the receiver is either the node using the requested address, or ithas a valid route to the requested address. This repository provides a MATLAB simulaiton of VANET enviornment and rsults comparison in terms of throughput, packet drop ratio etc. More information can be reached at https://www.youtube.com/watch?v=2QeSYOgJo9s&t=32s
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值