自组织网络习题卷一

本文探讨了DSDV路由算法在Ad Hoc网络中的应用,详细解释了DV算法的基本原理,介绍了DSDV中目的地序列的设计目的,并提出了自定义的目标序列生成与更新机制。此外,还讨论了该机制的优点和局限。

目录

将DSDV(Destination Sequenced Distance Vector)路由算法应用于Ad Hoc网络拓扑结构,如图所示,回答以下问题。实线表示节点之间的无线连接。每条线上方或右侧的数字表示两个方向的连接成本。

a)借助方程或图表。说明DV (Distance Vector)算法的工作原理。答案不应包括任何代码或伪代码。

b)通过实例说明DSDV协议中采用的目的序列的设计目的。

d)设计你自己的目标序列分配机制。在您的回答中,基于图1中给出的拓扑的示例是首选。

e)根据你在c)和d)中的设计,逐步描述节点在接收DSDV路由更新时会做什么。答案应该涵盖Ad hoc网络中所有可能的场景。

f)讨论目标序列生成/更新机制设计的优点和缺点。


 

Answer the following questions by applying DSDV(Destination Sequenced Distance Vector)routing algorithm to the Ad Hoc network topology as shown in Figure l below. The solid line indicates the wireless connection between nodes. The number above or right to each line indicates the connection cost for both directions.

DSDV(Destination Sequenced Distance Vector)路由算法应用于Ad Hoc网络拓扑结构,如图所示,回答以下问题。实线表示节点之间的无线连接。每条线上方或右侧的数字表示两个方向的连接成本。

a) With aid of equations or diagrams. explain the working principle of DV (Distance Vector)

algorithm. Answer should NOT include any codes NOR pseudocode.

a)借助方程或图表。说明DV (Distance Vector)算法的工作原理。答案不应包括任何代码或伪代码。

 

Every router maintains a distance vector table (usually with delay as a variable), and then updates the distance vector table through the distance vector notification between neighbor routers. Through comparison, the best route is obtained. And so on ...

每个路由器都维护一个距离向量表(通常以延迟作为变量),然后通过邻居路由器之间的距离向量通知更新距离向量表。通过比较,得到了最佳路线。等等……

 

b)With aid of an example, explain the design purpose of destination sequence adopted in DSDV protocol.

b)通过实例说明DSDV协议中采用的目的序列的设计目的。

The purpose is to labelled the routes to differentiate whether the route is new one or old one.

DSDV's Innovation is destination sequence, and it has Seq. No . When the sequence number is the same, the route with less hops is preferred. Normally, the sequence number of node broadcast is monotonically increasing even number, when node B finds the route to node D ( Seq. No is s) .After the interrupt, node B will broadcast routing information, inform the routing sequence number to s + 1, and set the number of hops to infinity. In this way, the routing table of node a of any information sent by B includes an infinity distance.

目的是对路由进行标记,区分路由是新路由还是旧路由。

DSDV的创新是目的地序列,它有Seq.NO 当序列号相同时,优先选择跳数少的路由。正常情况下,当节点B找到到节点D (Seq. D)的路由时,节点广播的序列号单调递增为偶数。中断后,节点B广播路由信息,告知路由序列号为s + 1,并设置跳数为无限大。这样,B发送的任何信息在节点a的路由表中都包含一个无穷远的距离。

 

c) Design your own destination sequence generation/update mechanism. An example based on the topology given in Figure 1 is preferred in your answer.

c)设计自己的目标序列生成/更新机制。在您的回答中,基于图1中给出的拓扑的示例是首选。

 

d) Design your own destination sequence distribution mechanism. An example based on the

topology given in Figure 1 is preferred in your answer.

d)设计你自己的目标序列分配机制。在您的回答中,基于图1中给出的拓扑的示例是首选。

 

Distribution:

It through broadcasting to distribute. There are 2 ways:

1. Broadcast now:

When a new node enters, the link breaks or the metric changes, it immediately broadcasts the routing information to the neighbor nodes

2. Full (partial) update

1 Full update: send all routing information to neighbor nodes

2 Partial update: only changed route entries are sent

发行:

它通过广播进行发行。

有两种方法:

1立即广播:

当新节点进入时。链路中断或度量值发生变化,立即将路由信息广播给邻居节点

2全更新(部分更新)

1全更新:将所有路由信息发送到邻居节点。

2部分更新:只发送变化的路由表项

 

e) Based on your design in c) and d), describe step-by-step what nodes will do while receiving a DSDV route updates. Answers should cover all possible scenarios in Ad hoc Networks.

e)根据你在c)和d)中的设计,逐步描述节点在接收DSDV路由更新时会做什么。答案应该涵盖Ad hoc网络中所有可能的场景。

 

Scenario 1: Intermediate Node, IN moves

Its last node will initiate a local query. For example, if the distance from destination is 3, the local query will start from this node and look for at most 3.If it finds the destination, it will take the new path. If it can't find the destination, it will let the last node initiate a local query. The mechanism is similar. Until half of the nodes LQ are not found, it will start from the beginning

Scenario 2: DEST moves

The last node will send a route notification, which means that the road is blocked. Then the last node initiates a local query, and if it can't find it, it will send RN to the last node, and then go to LQ until it can't find it half way back

Scenario 3:SRC Moves

The second node sends down RN, which means that we have no use of the moved source to start a new BQ directly

场景1:中间节点,IN

移动它的最后一个节点将发起本地查询。例如,如果到目的地的距离为3,则本地查询将从该节点开始,最多查找3。如果它找到了目的地,它将采用新的路径。如果它找不到目的地,它将让最后一个节点发起一个本地查询。机制是相似的。直到有一半的节点LQ没有找到,它将从最开始

场景2:DEST移动

最后一个节点将发送一个路由通知,这意味着道路被阻塞。然后最后一个节点发起一个本地查询,如果它找不到它,它会把RN发送给最后一个节点,然后再去LQ,直到它在中途找不到它。

场景3:SRC移动

第二个节点向下发送RN,这意味着我们没有使用移动的源来直接启动一个新的BQ

f)Discuss the advantages and disadvantages in your destination sequence generation/update

mechanism design.

f)讨论目标序列生成/更新机制设计的优点和缺点。

Advantages:

1.The availability of paths to all destinations in network always shows that less delay is required in the path set up process.

2.The method of incremental update with sequence number labels, marks the existing wired network protocols adaptable to Ad-hoc wireless networks. Therefore, all available wired network protocol can be useful to ad hoc wireless networks with less modification

Disadvantages:

1.DSDV requires a regular updates of its routing tables, which uses up battery power and a small amount of bandwidth even when the network is idle.

2.Whenever the topology of the network changes, a new sequence number is necessary before the network re-converges; thus, DSDV is not suitable for highly dynamic or large scale networks. (As in all distance-vector protocols, this does not perturb traffic in regions of the network that are not concerned by the topology change.)

优点:

1.网络中所有目的地的路径可用性总是表明在路径设置过程中需要更少的延迟。

2.增量更新的方法带有序列号标签,标志着现有的有线网络协议适用于Ad-hoc无线网络。因此,所有现有的有线网络协议都可以用于自组织无线网络

缺点:

1.DSDV需要定期更新路由表,即使在网络空闲时也会消耗电池电量和少量带宽。

2.每当网络的拓扑结构发生变化时,在网络重新收敛之前需要一个新的序列号;因此,DSDV不适合高动态或大规模的网络。(与所有距离矢量协议一样,这不会影响网络中不受拓扑变化影响的区域的流量。)

考虑柔性负荷的综合能源系统低碳经济优化调度【考虑碳交易机制】(Matlab代码实现)内容概要:本文围绕“考虑柔性负荷的综合能源系统低碳经济优化调度”展开,重点研究在碳交易机制下如何实现综合能源系统的低碳化与经济性协同优化。通过构建包含风电、光伏、储能、柔性负荷等多种能源形式的系统模型,结合碳交易成本与能源调度成本,提出优化调度策略,以降低碳排放并提升系统运行经济性。文中采用Matlab进行仿真代码实现,验证了所提模型在平衡能源供需、平抑可再生能源波动、引导柔性负荷参与调度等方面的有效性,为低碳能源系统的设计与运行提供了技术支撑。; 适合人群:具备定电力系统、能源系统背景,熟悉Matlab编程,从事能源优化、低碳调度、综合能源系统等相关领域研究的研究生、科研人员及工程技术人员。; 使用场景及目标:①研究碳交易机制对综合能源系统调度决策的影响;②实现柔性负荷在削峰填谷、促进可再生能源消纳中的作用;③掌握基于Matlab的能源系统建模与优化求解方法;④为实际综合能源项目提供低碳经济调度方案参考。; 阅读建议:建议读者结合Matlab代码深入理解模型构建与求解过程,重点关注目标函数设计、约束条件设置及碳交易成本的量化方式,可进步扩展至多能互补、需求响应等场景进行二次开发与仿真验证。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值