[go: up one dir, main page]

CN1299478C - Route searching of detgredd of node based on radio self-organizing network and maitenance method thereof - Google Patents

Route searching of detgredd of node based on radio self-organizing network and maitenance method thereof Download PDF

Info

Publication number
CN1299478C
CN1299478C CNB2004100034663A CN200410003466A CN1299478C CN 1299478 C CN1299478 C CN 1299478C CN B2004100034663 A CNB2004100034663 A CN B2004100034663A CN 200410003466 A CN200410003466 A CN 200410003466A CN 1299478 C CN1299478 C CN 1299478C
Authority
CN
China
Prior art keywords
node
route
degree
addr
routing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2004100034663A
Other languages
Chinese (zh)
Other versions
CN1564544A (en
Inventor
姚忠邦
曹志刚
李安国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CNB2004100034663A priority Critical patent/CN1299478C/en
Publication of CN1564544A publication Critical patent/CN1564544A/en
Application granted granted Critical
Publication of CN1299478C publication Critical patent/CN1299478C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

无线自组织网络中基于节点的度的路由搜寻和维护方法属于无线通信网络技术,其特征在于:它从节点的度的统计特性出发,提出了一种考虑了节点竞争和拥塞状况的选路准则,以便使节点选择那些流经节点时竞争节点少的路由作为数据包的传送路由,从而在不增加网络开销的前提下,在相同的节点移动速率时数据包具有更高的投递率,更短的延时。在具体采用何种路由选择参数时,要考虑上层业务特性的要求。此外,它还可以很容易地嵌入至现有的路由算法中。采用本发明提出的选路准则的路由方法具有简单、高效、节点能量消耗公平的优点。

The route search and maintenance method based on node degree in wireless ad hoc network belongs to wireless communication network technology, and its characteristic is that it starts from the statistical characteristics of node degree and proposes a routing criterion that considers node competition and congestion conditions , so that the nodes choose those routes with few competing nodes as the transmission routes of the data packets, so that the data packets have a higher delivery rate and a shorter delay. When choosing which routing parameters to use, the requirements of the upper-layer service characteristics should be considered. In addition, it can be easily embedded into existing routing algorithms. The routing method using the routing criterion proposed by the invention has the advantages of simplicity, high efficiency, and fair node energy consumption.

Description

无线自组织网络中基于节点的度的路由搜寻和维护方法Node-based degree-based routing search and maintenance method in wireless ad hoc networks

技术领域technical field

无线自组织网络,即Ad Hoc网络,中基于节点的度的路由搜寻和维护方法,属于无线通信网络技术领域。The invention relates to a node-based route search and maintenance method in a wireless self-organizing network, that is, an Ad Hoc network, and belongs to the technical field of wireless communication networks.

背景技术Background technique

目前,各种通信和网络技术飞速发展,特别是无线通信网络的使用已经逐渐走入成熟,包括各种无线蜂窝通信网络(如:GSM、WCDMA、CDMA2000等)、无线局域网(如:IEEE 802.11系列标准、欧洲的HiperLAN标准等)以及正日益引起业界和学术界重视的无线自组织网络(AdHoc网络)。无线局域网(WLAN)和Ad Hoc网络被普遍认为将成为未来整个无线通信网络的有益组成部分,以实现方便、高速、有效地无线接入。Ad Hoc网络既可以作为未来实现无线接入的一种方式,同时它还可自组织地单独构成一个无线网络,在这种网络中,节点可以随机运动,每个节点既是源节点和目的节点,同时也担当路由器的功能,即:对流经本地节点的数据包进行寻路转发。由于Ad Hoc网络的构建非常简单、方便,因此它非常适用于军事应用、会议场所、学生教室、抗洪救灾、地震抢险及一些突发事件的发生现场,它能够迅速为人们提供一个可靠、有效的无线通信网络,而不需要预先构建任何通信基础设施。At present, various communication and network technologies are developing rapidly, especially the use of wireless communication networks has gradually matured, including various wireless cellular communication networks (such as: GSM, WCDMA, CDMA2000, etc.), wireless local area networks (such as: IEEE 802.11 series Standard, European HiperLAN standard, etc.) and the wireless self-organizing network (AdHoc network) that is increasingly attracting the attention of the industry and academia. Wireless local area network (WLAN) and Ad Hoc network are generally considered to be a beneficial part of the entire wireless communication network in the future, in order to achieve convenient, high-speed and effective wireless access. Ad Hoc network can be used as a way to realize wireless access in the future, and it can also self-organize to form a wireless network alone. In this network, nodes can move randomly, and each node is both a source node and a destination node. At the same time, it also acts as a router, that is, pathfinding and forwarding the data packets flowing through the local node. Because the construction of Ad Hoc network is very simple and convenient, it is very suitable for military applications, meeting places, student classrooms, flood fighting and disaster relief, earthquake rescue and some emergencies, and it can quickly provide people with a reliable and effective A wireless communication network without the need to pre-build any communication infrastructure.

对于Ad Hoc网络而言,为实现网络中的任何两个节点均可以正常通信,需要设计一个良好的路由算法来实现路由功能。而Ad Hoc网络的多种时变特性,比如:无线信道的变化、网络拓扑结构的变化、上层业务的变化、节点电池能量的变化等等,使得路由算法的设计面临重大挑战。在已提出的路由算法中,大多以最短路径作为选路准则,如:目的序号距离矢量路由算法(DSDV-Destination Sequenced Distance Vector Routing)、Ad Hoc按需距离矢量路由算法(AODV-Ad Hoc On-Demand Distance Vector Routing)、动态源路由算法(DSR-Dynamic Source Routing)等。此外,有些文献还提出一些结合其它因素的选路准则,比如:相邻节点之间的信号强度、相邻节点之间的相关稳定度、节点的功耗、业务的服务质量保证(Quality-of-Service)、负载均衡等,有些路由算法进而同时考虑了几方面的因素。但是,这些算法存在如下缺点:For the Ad Hoc network, in order to realize that any two nodes in the network can communicate normally, it is necessary to design a good routing algorithm to realize the routing function. The various time-varying characteristics of Ad Hoc networks, such as: changes in wireless channels, changes in network topology, changes in upper-layer services, changes in node battery energy, etc., make the design of routing algorithms face major challenges. In the routing algorithms that have been proposed, most of them use the shortest path as the routing criterion, such as: DSDV-Destination Sequenced Distance Vector Routing (DSDV-Destination Sequenced Distance Vector Routing), Ad Hoc On-demand Distance Vector Routing (AODV-Ad Hoc On- Demand Distance Vector Routing), dynamic source routing algorithm (DSR-Dynamic Source Routing), etc. In addition, some literatures also propose some routing criteria combined with other factors, such as: the signal strength between adjacent nodes, the relative stability between adjacent nodes, the power consumption of nodes, and the quality of service guarantee of business (Quality-of-Service). -Service), load balancing, etc., and some routing algorithms take several factors into consideration at the same time. However, these algorithms have the following disadvantages:

1)未对网络中的拥塞状况加以考虑;1) The congestion situation in the network is not considered;

2)大多需要节点周期性发送与路由选择有关的控制信息,从而增加了网络开销,并进一步使得网络更加拥塞;2) Most nodes need to periodically send control information related to routing, which increases network overhead and further makes the network more congested;

3)由于未对网络的拥塞状况加以考虑,从而导致网络中节点的能量消耗分布不公平,即:某些节点可能会由于负载过重而过早能量耗尽,这将进一步加重网络拓扑结构的变化;3) Due to the lack of consideration of network congestion, the energy consumption distribution of nodes in the network is unfair, that is, some nodes may run out of energy prematurely due to heavy load, which will further aggravate the network topology. Variety;

4)对于那些考虑了网络拥塞状况的负载均衡路由算法来说,大多是以节点缓冲区(即:用于保存数据的存贮器空间)中的数据包数目或正在通信的连接数目(即:正在通信的路由数目)来表示网络负载状况。这样做的一个后果是:路由算法和业务之间存在耦合,即:路由算法的选路结果和节点缓冲区中保存的数据包数目或连接数目之间会相互影响。从而导致网络不稳定,甚至所选路由会发生震荡现象。特别是当上层业务速率变化迅速时,这些算法的性能将进一步降低。而业务的突发性更大大增加了这些算法处理网络负载的难度。而且,这些算法中的大多数同样需要节点周期性发送控制信息,从而增加了网络开销。4) For those load balancing routing algorithms that consider network congestion, most of them are based on the number of data packets in the node buffer (that is: the memory space used to save data) or the number of connections that are communicating (that is: The number of routes that are communicating) to represent the network load status. A consequence of this is that there is a coupling between the routing algorithm and the service, that is, the route selection result of the routing algorithm and the number of data packets or connections saved in the node buffer will affect each other. As a result, the network is unstable, and even the selected route may fluctuate. Especially when the upper layer business rate changes rapidly, the performance of these algorithms will be further degraded. The suddenness of business greatly increases the difficulty for these algorithms to handle network load. Moreover, most of these algorithms also require nodes to periodically send control information, which increases network overhead.

为了使得路由算法能够高效工作,在Ad Hoc网络中的路由算法设计应该遵循如下两个原则:In order to make the routing algorithm work efficiently, the routing algorithm design in the Ad Hoc network should follow the following two principles:

1)简单;1) simple;

2)尽量降低网络开销。2) Minimize network overhead as much as possible.

发明内容Contents of the invention

本发明的目的在于提供一种网络开销较低、同时考虑各个节点的竞争情况、搜寻和维护较为简单的Ad Hoc网络中基于节点的度的路由搜寻和维护方法。The purpose of the present invention is to provide a route search and maintenance method based on the degree of nodes in an Ad Hoc network with low network overhead, considering the competition situation of each node, and relatively simple search and maintenance.

本发明的特征在于:它是在无线收发设备,即节点,也称路由器,构成的无线自组织,即Ad Hoc,通信网络内各移动设备中依次按以下步骤实现的:The present invention is characterized in that: it is in the wireless transceiver equipment, i.e. node, also claims router, the wireless self-organization that constitutes, i.e. Ad Hoc, realizes successively in each mobile equipment in communication network by following steps:

初始化设定:数据包的类型及其内含的数据项,并存入各节点存贮器中:Initialization setting: the type of data packet and the data items contained in it, and stored in the memory of each node:

1)路由请求数据包,即RREQ,内含以下数据项:1) The routing request packet, namely RREQ, contains the following data items:

数据包类型,用“Type”表示;源节点地址,用“Src_Addr”表示;目的节点地址,用“Dest_Addr”表示;节点发送的RREQ数据包的序号,用“Seq_Num”表示;用跳数表示的数据包的寿命,用“TTL”表示,根据网络规模预设最大寿命为MaxM+1,其中MaxM是一条路由中可能包含的最多的中间节点数目;从源节点到当前节点的路由长度,用“Cur_Len”表示;源节点的N跳度用“Src_Degree”表示,N跳度是指N倍于节点的发射和接收半径的范围内的节点数,在实际中,由于节点无法获知静止节点,即不活动节点,的存在,因此它也等同于上述范围内的活动节点数,即有数据包需要发送的节点的数目,一般N选择1或2;目的节点的N跳度,用“Dest_Degree”表示,其中,N跳度的定义如上所述;RREQ流经的中间节点的节点地址,用“Addr_1~Addr_MaxM”表示,其中MaxM表示一条路由中可能的最多的中间节点数目;RREQ流经的各种中间节点的N跳度,用“Degree_1~Degree_MaxM”表示,同样,MaxM表示一条路由中可能的最多的中间节点数目;The data packet type is represented by "Type"; the source node address is represented by "Src_Addr"; the destination node address is represented by "Dest_Addr"; the sequence number of the RREQ packet sent by the node is represented by "Seq_Num"; The lifetime of the data packet is represented by "TTL". According to the network scale, the preset maximum lifetime is MaxM+1, where MaxM is the maximum number of intermediate nodes that may be included in a route; the route length from the source node to the current node is represented by " "Cur_Len" means; the N-hop degree of the source node is represented by "Src_Degree". The existence of active nodes, so it is also equivalent to the number of active nodes within the above range, that is, the number of nodes that need to send data packets, generally N chooses 1 or 2; the N hop degree of the destination node is represented by "Dest_Degree", Among them, the definition of N hops is as above; the node address of the intermediate node that RREQ flows through is represented by "Addr_1~Addr_MaxM", where MaxM represents the maximum number of possible intermediate nodes in a route; various intermediate nodes that RREQ flows through The N-hop degree of a node is represented by "Degree_1~Degree_MaxM". Similarly, MaxM represents the maximum number of possible intermediate nodes in a route;

2)路由应答数据包,即RREP,内含以下数据项:Type、Src_Addr、Dest_Addr、Seq_Num、Cur_Len、Src_Degree、Dest_Degree、Addr_1~Addr_X以及Degree_1~Degree_X,其中由Addr_1~Addr_X来构成一条完整的路由,Degree_1~Degree_X表示对应于Addr_1~Addr_X的节点的N跳度信息,其余各数据项的定义如前所述,其中X表示RREP中包含的路由的中间节点数目为X,X不大于MaxM;2) The route response data packet, namely RREP, contains the following data items: Type, Src_Addr, Dest_Addr, Seq_Num, Cur_Len, Src_Degree, Dest_Degree, Addr_1~Addr_X and Degree_1~Degree_X, where Addr_1~Addr_X constitutes a complete route, Degree_1~Degree_X represent the N-hop information of the nodes corresponding to Addr_1~Addr_X, and the definitions of other data items are as mentioned above, where X represents the number of intermediate nodes of the route contained in the RREP, and X is not greater than MaxM;

3)路由失败数据包,即RERR,内含以下数据项:Type、Src_Addr、Dest_Addr、Cur_Len、Src_Degree、Dest_Degree、Addr_1~Addr_X、Degree_1~Degree_X、Error_Up_Addr以及Error_Down_Addr,其中Type、Src_Addr、Dest_Addr、Src_Degree、Dest_Degree、Addr_1~Addr_X及Degree_1~Degree_X的含义如前所述,而Cur_Len表示从发生错误的节点到目前节点的跳数;Error_Up_Addr表示发现下一跳节点无法到达的节点地址;Error_Down_Addr表示无法到达的下一跳节点的节点地址;3) The routing failure data packet, namely RERR, contains the following data items: Type, Src_Addr, Dest_Addr, Cur_Len, Src_Degree, Dest_Degree, Addr_1~Addr_X, Degree_1~Degree_X, Error_Up_Addr, and Error_Down_Addr, where Type, Src_Addr, Dest_Addr, Src_Degree, Dest_Degree , Addr_1~Addr_X and Degree_1~Degree_X have the same meanings as mentioned above, and Cur_Len indicates the number of hops from the node where the error occurred to the current node; Error_Up_Addr indicates the node address that the next hop node cannot reach; Error_Down_Addr indicates the next node that cannot be reached The node address of the hop node;

4)业务数据包内含以下数据项:Type、Src_Addr、Dest_Addr、Cur_Len、Src_Degree、Dest_Degree、Addr_1~Addr_X、Degree_1~Degree_X、Traffic_Data以及Alpha,其中Type、Src_Addr、Dest_Addr、Cur_Len、Src_Degree、Dest_Degree、Addr_1~Addr_X、Degree_1~Degree_X的含义如前所述,Traffic_Data表示业务数据包的上层业务数据;Alpha表示用户对于业务数据包的延时、丢包率、带宽的要求参量;4) The business data package contains the following data items: Type, Src_Addr, Dest_Addr, Cur_Len, Src_Degree, Dest_Degree, Addr_1~Addr_X, Degree_1~Degree_X, Traffic_Data and Alpha, among which Type, Src_Addr, Dest_Addr, Cur_Len, Src_Degree, Dest_Degree, Addr_1~ The meanings of Addr_X, Degree_1~Degree_X are as mentioned above, Traffic_Data represents the upper-layer business data of the business data packet; Alpha represents the user’s required parameters for the delay, packet loss rate, and bandwidth of the business data packet;

设定以下参数及其有关的中间变量,分别存入个节点中的存贮器内:Set the following parameters and their related intermediate variables, and store them in the memory of each node respectively:

路径寿命的超时时间阈值,它表示:若在这段时间内,节点没有监测到任何沿该路径的业务流数据包,则节点认为该路径已经失效,从而将该路径,即路由,从路由缓冲区中删除;The timeout threshold of the path life, which means: if the node does not monitor any traffic flow data packets along the path during this period, the node considers the path to be invalid, so the path, that is, the route, is buffered from the route delete from the area;

路由缓冲区,它指各节点的存贮器中保存路由的存贮空间;Routing buffer, which refers to the storage space for storing routes in the memory of each node;

数据包缓冲区,它指各节点的存贮器中保存上层业务数据包的存贮空间;Data packet buffer, which refers to the storage space for storing upper layer business data packets in the memory of each node;

网络预先设定的业务数据包的最大允许发送次数;The maximum number of allowed sending times of business data packets preset by the network;

网络预先设定的一条路由中含有的最大允许节点数;The maximum allowed number of nodes contained in a route preset by the network;

设计计算一条路由的路由选择参数RSM的下述三种算法程序,计算三种路由参数RSM1,RSM2及RSM3,把它连同路由选择准则的计算程序一起存入各节点的存贮器中,所述的路由选择准则是指:当α值取值较小时,RSM值取RSM3,在路由缓冲区中选择一跳具有最小的RSM3值的到达目的节点的路由;当α取值较大时,RSM值从RSM1或RSM2中选取一个,当RSM值取RSM1时,在路由缓冲区中选择一条具有最小的RSM1值的到达目的节点的路由;所述的RSM1、RSM2及RSM3的计算方法如下:Design the following three algorithm programs for calculating the routing parameter RSM of a route, calculate the three routing parameters RSM 1 , RSM 2 and RSM 3 , and store it together with the calculation program of the routing selection criterion in the memory of each node , the routing selection criterion refers to: when the α value is smaller, the RSM value is RSM 3 , and a route to the destination node with the smallest RSM 3 value is selected in the routing buffer; when the α value is smaller When it is large, the RSM value is selected from RSM 1 or RSM 2 , and when the RSM value is RSM 1 , a route to the destination node with the smallest RSM 1 value is selected in the routing buffer; the RSM 1 , RSM 2 and RSM 3 are calculated as follows:

RSMRSM 11 == ΣΣ ii == 11 Mm DD. ii ,,

RSM 2 = ( H + 1 ) 1 M - 1 Σ i = 1 M ( D i - D ‾ ) 2 , 其中 D ‾ = 1 M Σ i = 1 M D i , RSM 2 = ( h + 1 ) 1 m - 1 Σ i = 1 m ( D. i - D. ‾ ) 2 , in D. ‾ = 1 m Σ i = 1 m D. i ,

RSMRSM 33 == (( Hh ++ 11 )) [[ 11 Mm &Sigma;&Sigma; ii == 11 Mm DD. ii ++ &alpha;&alpha; 11 Mm -- 11 &Sigma;&Sigma; ii == 11 Mm (( DD. ii -- DD. &OverBar;&OverBar; )) 22 ,, (( 00 << &alpha;&alpha; << 11 ))

其中,M为一条路由中包含的节点数;H为一条路由中包含的跳数,H=M-1;Di为路由流经的第i个节点的N跳度;D为路由流经的M个节点的平均N跳度;α是用户在业务数据包中指定的,它是用户根据数据包的延时、丢包率、带宽而设定的一个参量,同时,该参量表明了上层业务特性对路由的总竞争节点数和各节点的竞争节点数的标准方差的侧重程度,0<α<1,当对标准方差侧重程度较小时,α取值要小些,反之,则α值较大;Among them, M is the number of nodes contained in a route; H is the number of hops contained in a route, H=M-1; D i is the N-hop degree of the i-th node that the route flows through; D is the number of hops that the route flows through The average N-hop degree of M nodes; α is specified by the user in the service data packet. It is a parameter set by the user according to the delay, packet loss rate, and bandwidth of the data packet. At the same time, this parameter indicates that the upper layer business The degree of emphasis on the standard deviation of the total number of competing nodes of the route and the number of competing nodes of each node, 0<α<1, when the emphasis on the standard deviation is small, the value of α is smaller, otherwise, the value of α is smaller big;

所述的路由搜寻方法依次含有以下各步骤:The described routing search method contains the following steps in turn:

(1)当某节点产生一个上层业务数据包时,该节点便成为源节点,它首先判断是否有数据包正在发送,若有,则将该业务数据包插入数据包缓冲区中,等待该数据包发送完毕后再发送当前数据包;若没有数据包正在发送,则它根据上述RSM选路准则从自己的路由缓冲区中选择一条到达目的节点的有效路由;(1) When a node generates an upper-layer service data packet, the node becomes the source node. It first judges whether there is a data packet being sent, and if so, inserts the service data packet into the data packet buffer and waits for the data packet Send the current data packet after the packet is sent; if no data packet is being sent, it selects an effective route to the destination node from its own routing buffer according to the above RSM routing criterion;

(2)若该节点的路由缓冲区中不存在从该节点出发的有效路由,便发起路由搜寻过程,即该节点把自身地址和N跳度填充入RREQ中并广播发送;若存在,便转入路由维护过程;(2) If there is no valid route starting from the node in the routing buffer of the node, the route search process is initiated, that is, the node fills its own address and N hops into the RREQ and sends it by broadcast; if it exists, it turns to Incoming route maintenance process;

(3)中间节点在收到RREQ后,便检查是否首次接收到本RREQ,若为非首次接收到,便丢弃本RREQ,搜寻过程结束;若为首次收到本RREQ,中间节点便把自身地址和N跳度填充入RREQ中并转发;(3) After the intermediate node receives the RREQ, it checks whether it has received the RREQ for the first time. If it is not the first time it receives the RREQ, it discards the RREQ and the search process ends; if it is the first time it receives the RREQ, the intermediate node sends its own address and N hops are filled into RREQ and forwarded;

(4)目的节点收到RREQ后,根据存贮器中预先确定的选路准则和路由缓冲区的各条路径的各个RSM值,选择最佳路由,所选的各条路径也包括目的节点从RREQ中提取相应的节点地址和N跳度来形成的一条到达源节点的路径;(4) After the destination node receives the RREQ, it selects the best route according to the predetermined routing criteria in the memory and each RSM value of each path in the routing buffer. A path to the source node is formed by extracting the corresponding node address and N hops from RREQ;

(5)目的节点把包括各节点地址和N跳度在内的最佳路由信息填充入RREP中并向源节点发送;(5) The destination node fills the best route information including each node address and N hops into the RREP and sends it to the source node;

(6)最佳路由的中间节点接收到RREP后,便根据自己节点的N跳度去更新RREP中与自己对应的节点的N跳度信息,并转发至RREP中所包含路由的上行节点;(6) After receiving the RREP, the intermediate node of the best route updates the N-hop information of the node corresponding to itself in the RREP according to the N-hop degree of its own node, and forwards it to the upstream node of the route contained in the RREP;

(7)源节点接收到RREP后,便获得一条从源节点到目的节点的有效路由,并存入自己的路由缓冲器中,路由搜寻过程结束;(7) After the source node receives the RREP, it obtains an effective route from the source node to the destination node, and stores it in its own route buffer, and the route search process ends;

所述的路由维护方法依次含有以下各步骤:The described routing maintenance method contains the following steps in turn:

(1)源节点可以根据上述步骤(7)得到的一条从源节点到目的节点的有效路由,也可以根据上述步骤(2)中在上层业务数据包产生后直接从路由缓冲区中得到的有效路由,把节点地址和相应的N跳度信息填充入当前要发送的业务数据包中,并把该业务数据包发送出去;(1) The source node can obtain an effective route from the source node to the destination node according to the above step (7), or obtain an effective route from the routing buffer directly after the upper layer service data packet is generated in the above step (2). Routing, filling the node address and corresponding N-hop information into the current service data packet to be sent, and sending the service data packet;

(2)源节点若发现其下行链路无法正常通信,即下一跳节点无法到达,便更新路由缓冲区中的路由信息,并计数当前业务数据包的发送次数,转步骤(11);源节点若发现其下行链路可以正常通信,则步骤(3);(2) If the source node finds that its downlink cannot communicate normally, that is, the next hop node cannot be reached, it updates the routing information in the routing buffer, and counts the number of times the current service data packet is sent, and turns to step (11); If the node finds that its downlink can communicate normally, then step (3);

(3)中间节点根据自己节点的N跳度去更新业务数据包中与自己对应的节点的N跳度信息,并根据业务数据包中的路由信息转发该业务数据包;(3) The intermediate node updates the N-hop information of the node corresponding to itself in the service data packet according to the N-hop degree of its own node, and forwards the service data packet according to the routing information in the service data packet;

(4)中间节点若发现其下行链路无法维持正常通信,即下一跳节点无法到达,便更新自己节点的路由信息,并使本业务数据包的发送次数加1,然后转步骤(5);若所有中间节点均可以维持正常通信,则目的节点可以接收到业务数据包,路由维护过程结束;(4) If the intermediate node finds that its downlink cannot maintain normal communication, that is, the next hop node cannot be reached, it will update the routing information of its own node, and increase the number of sending data packets of this service by 1, and then go to step (5) ; If all intermediate nodes can maintain normal communication, the destination node can receive the service data packet, and the route maintenance process ends;

(5)中间节点检查当前业务数据包的重发次数是否达到网络预先设置的发送次数,若达到,则丢弃该数据包,然后向源节点发送路由失败数据包,即RERR,转步骤(7);若没有达到,则判断路由缓冲区中是否存在其他有效路由;(5) The intermediate node checks whether the number of retransmissions of the current service data packet reaches the number of times preset by the network. If it reaches, the data packet is discarded, and then the routing failure data packet is sent to the source node, i.e. RERR, and then step (7) ; If not, judge whether there are other valid routes in the routing buffer;

(6)若路由缓冲区中存在其他有效路由,则沿新路由发送当前业务数据包,路由维护过程结束;若不存在,则丢弃当前业务数据包,然后向源节点发送RERR;(6) If there are other effective routes in the routing buffer, then send the current service data packet along the new route, and the route maintenance process ends; if not, then discard the current service data packet, and then send RERR to the source node;

(7)接收到RERR的中间节点,更新本地路由缓冲区中相应的路由信息,并用本地节点的N跳度信息更新RERR中相应的N跳度信息,然后把RERR转发至该RERR中包含路由的上行节点;(7) The intermediate node that receives the RERR updates the corresponding routing information in the local routing buffer, and updates the corresponding N-hop information in the RERR with the N-hop information of the local node, and then forwards the RERR to the RERR that contains the route. upstream node;

(8)源节点接收到RERR后,更新本地路由缓冲区中的路由信息;(8) After the source node receives the RERR, update the routing information in the local routing buffer;

(9)源节点检查数据缓冲区中是否仍有业务数据包等待发送,若有,则检查路由缓冲区中是否存在其他有效路由,转步骤(10);若数据缓冲区中没有业务数据包等待发送,则路由维护过程结束;(9) The source node checks whether there are still business data packets waiting to be sent in the data buffer, and if so, then checks whether there are other valid routes in the routing buffer, and turns to step (10); if there is no business data packet waiting in the data buffer sent, the routing maintenance process ends;

(10)若源节点发现路由缓冲区中没有有效路由,则重新发起路由搜寻过程,路由维护结束;若发现路由缓冲区中存在有效路由,则业务数据包沿新路由发送,路由维护过程结束;(10) If the source node finds that there is no effective route in the route buffer, then re-initiate the route search process, and the route maintenance ends; if it finds that there is an effective route in the route buffer, then the service data packet is sent along the new route, and the route maintenance process ends;

(11)源节点判断当前业务数据包的发送次数是否达到网络预定的发送次数,若达到,则丢弃该数据包,转步骤(9);若没有达到,则判断路由缓冲区中是否存在其他有效路由,转步骤(10)。(11) The source node judges whether the number of sending times of the current service data packet reaches the predetermined number of sending times of the network, if it reaches, then discards the data packet, and turns to step (9); if it does not reach, then judges whether there are other effective For routing, go to step (10).

在多跳Ad Hoc网络中,尽管存在上述的多种时变特性,但是网络的局部拓扑结构仍然是相对稳定的。这是因为,若网络拓扑结构变化异常迅速,则数据包的传送将只能采用“泛滥”(所谓“泛滥”是指源节点不指定任何路径而直接将数据包发送出去,接收到数据包的节点若发现本地节点不是目的节点则将数据包转发出去,直至数据包到达目的节点或者寿命截止为止)的形式发送,任何路由算法都将失效。因此,为了使得路由算法比“泛滥”的方法有效,局部网络拓扑结构的相对稳定是一个必要条件。基于此,本发明提出了一个Ad Hoc网络中基于节点的度的路由算法(NDBR),该算法正是充分利用了Ad Hoc网络中局部拓扑结构的稳定性。假定节点的发射和接收距离为R,则本发明对“节点的N跳度和N跳活动度”定义如下:In a multi-hop Ad Hoc network, although there are various time-varying characteristics mentioned above, the local topology of the network is still relatively stable. This is because, if the network topology changes extremely rapidly, the transmission of data packets will only use "flooding" (the so-called "flooding" means that the source node directly sends out data packets without specifying any path, If the node finds that the local node is not the destination node, it will forward the data packet until the data packet reaches the destination node or the lifespan expires), and any routing algorithm will be invalid. Therefore, in order to make the routing algorithm more effective than the "flooding" method, the relative stability of the local network topology is a necessary condition. Based on this, the present invention proposes a routing algorithm (NDBR) based on the degree of nodes in an Ad Hoc network, which fully utilizes the stability of the local topological structure in the Ad Hoc network. Assuming that the transmitting and receiving distance of a node is R, then the present invention defines "the N-hop degree and N-hop activity degree of a node" as follows:

在以节点为中心,NR为半径的范围内的节点数目称为“节点的N跳的度”,简称“节点的N跳度”(N=1,2,...,为自然数);在以节点为中心,NR为半径的范围内的活动节点(即:该节点有数据包需要发送)数目称为“节点的N跳的活动度”,简称“节点的N跳活动度”(N=1,2,...,为自然数)。The number of nodes within the range of the node as the center and NR as the radius is called "the N-hop degree of the node", referred to as "the N-hop degree of the node" (N=1, 2, ..., are natural numbers); The number of active nodes (that is, the node has data packets to send) within the range of the node as the center and NR as the radius is called "the activity degree of N hops of the node", referred to as "the activity degree of N hops of the node" (N= 1, 2, ..., are natural numbers).

值得指出的是,在实际通信网络中,由于节点无法获知其周围的不活动节点(即:节点没有任何数据包需要发送)的存在,因此每个节点所能获知的N跳度实际上也就是N跳活动度。It is worth pointing out that in an actual communication network, since a node cannot know the existence of inactive nodes around it (that is, the node does not have any data packets to send), the N hops that each node can learn are actually equal to N jump activity.

NDBR将路由流经节点的N跳度的统计特性来作为选路准则。从而可以使得源节点选择那些流经竞争节点数目少的路由,从而避免了数据包流经的竞争节点较多的路由,这样,一方面可以使得数据包更快的到达目的节点,另一方面使得节点的能量消耗情况尽量公平,不至于使得那些拥塞链路处的节点消耗过多。NDBR takes the statistical characteristics of the N-hop degree of the routing flow through the node as the routing criterion. Therefore, the source node can choose the routes with few competing nodes, thereby avoiding the routes through which the data packets flow through more competing nodes. In this way, on the one hand, the data packets can reach the destination node faster; The energy consumption of the nodes should be as fair as possible, so as not to make the nodes at the congested links consume too much.

假定一条路由中包含M个节点、H跳,即:H=M-1,而路径流经的第i个节点的N跳度为Di(1≤i≤M)。定义 D = &Sigma; i = 1 M D i , D &OverBar; = 1 M &Sigma; i = 1 M D i . 本发明提出,可利用如下的统计量作为路由选择参数(RSM)。Assume that a route contains M nodes and H hops, that is, H=M-1, and the N-hop degree of the i-th node that the path flows through is D i (1≤i≤M). definition D. = &Sigma; i = 1 m D. i , D. &OverBar; = 1 m &Sigma; i = 1 m D. i . The present invention proposes that the following statistics can be used as routing parameters (RSM).

11 )) -- -- -- RSMRSM 11 == &Sigma;&Sigma; ii == 11 Mm DD. ii ,,

2 ) - - - RSM 2 = ( H + 1 ) 1 M - 1 &Sigma; i = 1 M ( D i - D &OverBar; ) 2 , 其中 D &OverBar; = 1 M &Sigma; i = 1 M D i , 2 ) - - - RSM 2 = ( h + 1 ) 1 m - 1 &Sigma; i = 1 m ( D. i - D. &OverBar; ) 2 , in D. &OverBar; = 1 m &Sigma; i = 1 m D. i ,

33 )) -- -- -- RSMRSM 33 == (( Hh ++ 11 )) [[ 11 Mm &Sigma;&Sigma; ii == 11 Mm DD. ii &alpha;&alpha; 11 Mm -- 11 &Sigma;&Sigma; ii == 11 Mm (( DD. ii -- DD. &OverBar;&OverBar; )) 22 ]] ,, (( 00 << &alpha;&alpha; << 11 ))

在确定了RSM(RSM1、RSM2还是RSM3)之后,路由选择准则如下:在路由缓冲区(即:节点存贮器中保存路由的存贮空间)中,选择一条具有最小的RSM值的到达目的节点的路由。对于RSM3而言,α的大小由用户根据上层业务特性(如:延时、丢包率、带宽等)来指定,主要表现为对路由的总竞争节点数目和竞争节点数目标准方差的侧重程度,若路由的总竞争节点数目对于上层业务的成功传输更重要,则α可尽量小一些,反之大一些。After the RSM (RSM 1 , RSM 2 or RSM 3 ) is determined, the routing selection criterion is as follows: in the routing buffer (that is: the storage space for storing routes in the node memory), select a route with the smallest RSM value route to the destination node. For RSM 3 , the size of α is specified by the user according to the upper-layer service characteristics (such as: delay, packet loss rate, bandwidth, etc.), which is mainly reflected in the degree of emphasis on the total number of competing nodes and the standard deviation of the number of competing nodes. , if the total number of competing nodes for routing is more important to the successful transmission of upper-layer services, then α can be as small as possible, and vice versa.

仿真试验表明,当节点的移动速率相同时,本发明的数据包投递率、数据包的传输延时均优于传统的动态源路由方法,即DSR;但网络开销却低于DSR。随着节点移动速率的增加,本发明提出的路由搜寻和维护方法的优势更加明显,当速率达到10米/秒时,在数据包投递率方面,采用RSM3选路准则的路由方法要比DSR方法提高20%左右;在数据包传输延时方面,采用RSM3选路准则的路由方法要比DSR方法性能提高40%左右。而对于网络开销,随着节点速率的增加,本发明提出的方法和传统的DSR方法相比,网络开销的差别逐渐减小,但采用RSM3选路准则的路由方法仍比DSR方法的网络开销小,在节点速率为10米/秒时,大约小5%左右。The simulation test shows that when the moving speed of the nodes is the same, the delivery rate of the data packet and the transmission delay of the data packet of the present invention are better than the traditional dynamic source routing method, that is, DSR; but the network overhead is lower than that of DSR. Along with the increase of node moving rate, the advantage of the route search and maintenance method that the present invention proposes is more obvious, when speed reaches 10 meters per second, aspect data packet delivery rate, adopts the route method of RSM 3 route selection criterion to be more than DSR The method improves about 20%; in terms of data packet transmission delay, the routing method using the RSM 3 routing criterion improves the performance by about 40% compared with the DSR method. And for network overhead, along with the increase of node rate, the method that the present invention proposes compares with traditional DSR method, and the difference of network overhead reduces gradually, but adopts the routing method of RSM 3 routing criterion to still compare the network overhead of DSR method Small, about 5% smaller when the node speed is 10 m/s.

附图说明Description of drawings

图1.RREQ数据包结构示意图。Figure 1. Schematic diagram of the RREQ packet structure.

图2.RREP数据包结构示意图。Figure 2. Schematic diagram of RREP packet structure.

图3.RERR数据包结构示意图。Figure 3. Schematic diagram of RERR packet structure.

图4.业务数据包结构示意图。Figure 4. Schematic diagram of the business data packet structure.

图5.本发明提出的路由搜寻方法的程序流程框图。Fig. 5 is a program flow diagram of the route search method proposed by the present invention.

图6.本发明提出的路由维护方法的程序流程框图。Fig. 6. A program flow diagram of the route maintenance method proposed by the present invention.

图7.数据包投递率比较图。Figure 7. Comparison graph of packet delivery rate.

图8.数据包传输延时比较图。Figure 8. Comparison of packet transmission delays.

图9.网络开销比较图。Figure 9. Network overhead comparison graph.

具体实施方式Detailed ways

本发明提出的基于节点的度的路由算法可以容易地嵌入现有的DSR算法中,其实施主要包括以下几个部分:1)节点的N跳度的估计,这可以通过采用前人提出的方法加以实现;2)N的确定,为简单起见,一般N可选择为1或2;3)算法的路由搜寻和路由维护过程的软件实现。The routing algorithm based on the degree of node proposed by the present invention can be easily embedded in the existing DSR algorithm, and its implementation mainly includes the following parts: 1) the estimation of the N-hop degree of the node, which can be achieved by adopting the method proposed by the predecessors To be realized; 2) Determination of N, for the sake of simplicity, generally N can be selected as 1 or 2; 3) Software implementation of algorithmic routing search and routing maintenance process.

NDBR准则中所需要的节点的N跳度,可以通过前人提出的一些方法来获得,比如:通过在MAC(Media Access Control-媒体接入控制)层使用卡尔曼滤波器的方法;通过周期性发送控制信息的方法(这将增加网络开销)等。同时,在具体的路由算法实现中,NDBR采用一跳度、二跳度还是更多跳度的统计量来作为选路参数则主要取决于网络设计的复杂度、网络开销和Ad Hoc网络中所采用的MAC协议三个方面。在实际中,N跳度的获得不可避免地会有误差,但是由于NDBR算法对最佳路由的选择是通过比较各条路由的RSM值,因此节点的N跳度误差对算法性能影响不大。The N-hop degree of the node required in the NDBR criterion can be obtained by some methods proposed by the predecessors, such as: by using the Kalman filter at the MAC (Media Access Control-media access control) layer; by periodically The method of sending control information (which will increase network overhead), etc. At the same time, in the implementation of the specific routing algorithm, whether NDBR uses the statistics of one-hop, two-hop or more hops as the routing parameter mainly depends on the complexity of network design, network overhead and all traffic in the Ad Hoc network. There are three aspects of the MAC protocol adopted. In practice, there will inevitably be errors in obtaining the N-hop degree, but since the NDBR algorithm selects the best route by comparing the RSM values of each route, the N-hop degree error of the node has little effect on the performance of the algorithm.

值得注意的是,除了本发明中所提出的这些统计量可以作为路由选择参数之外,还可以设计其它的基于节点的度的统计量作为路由选择参数,这主要取决于通信网络的设计者。It should be noted that, in addition to these statistics proposed in the present invention can be used as routing parameters, other node degree-based statistics can also be designed as routing parameters, which mainly depends on the designer of the communication network.

NDBR算法同动态源路由算法(DSR)一样,是一种按需驱动的源路由算法。在这种算法中,节点仅保存和维护正在使用的路由信息。NDBR算法包含两个阶段:1)路由搜寻;2)路由维护。在NDBR中,每种数据包类型都包含了“地址”和“度”域,它们记录了数据包流经节点的节点地址和节点N跳度。此外,每个节点会监测流经本节点的任何数据包,并从中提取数据包流经节点的节点地址和N跳度。它们都会在节点的路由缓冲区中保存下来,同时保存路由的建立时间,并启动路径寿命的超时计时器(即:网络预设一超时时间值,若在这段时间内,节点没有监测到任何流经该路径的数据包通过,则节点认为该路径已经失效,从而将该路径从路由缓冲区中删除掉)。The NDBR algorithm, like the dynamic source routing algorithm (DSR), is a source routing algorithm driven by demand. In this algorithm, nodes only save and maintain routing information that is in use. The NDBR algorithm includes two stages: 1) route search; 2) route maintenance. In NDBR, each data packet type includes the "address" and "degree" fields, which record the node address and node N-hop degree of the data packet flowing through the node. In addition, each node will monitor any data packet flowing through the node, and extract the node address and N-hop degree of the node through which the data packet flows. They will all be saved in the route buffer of the node, save the establishment time of the route at the same time, and start the timeout timer of the path life (that is: the network presets a timeout value, if the node does not monitor any If the data packet flowing through the path passes, the node considers that the path has failed, and deletes the path from the routing buffer).

这种算法的路由搜寻和路由维护过程大体如下:The route search and route maintenance process of this algorithm is roughly as follows:

当一个业务数据包到达时,节点首先根据RSM选路准则从路由缓冲区中选择路由。如果节点不能找到一条到达目的节点的路由,节点将触发如下的路由搜寻过程。源节点广播发送路由请求数据包(RREQ),该数据包中如图1所示,其中“Type”表示数据包类型(包括路由请求RREQ、路由应答RREP、路由失败RERR和业务数据包);“Src_Addr”表示源节点地址;“Dest_Addr”表示目的节点地址;“Seq_Num”表示节点发送的RREQ数据包的序列号,用来标识源节点发送的RREQ的唯一性;“TTL”表示以跳数来表示的数据包寿命;“Cur_Len”表示从源节点到目前节点的路由长度;“Src_Degree”表示源节点的N跳度;“Dest_Degree”表示目的节点的N跳度;“Addr_1~Addr_MaxM”和“Degree_1~Degree_MaxM”分别表示RREQ数据包流经的中间节点的节点地址和N跳度,其中MaxM表示一条路由的最大中间节点个数。When a business data packet arrives, the node first selects a route from the routing buffer according to the RSM routing criterion. If the node cannot find a route to the destination node, the node will trigger the following route search process. The source node broadcasts and sends a routing request packet (RREQ), as shown in Figure 1 in the packet, where "Type" represents the packet type (including routing request RREQ, routing response RREP, routing failure RERR and business data packets); " "Src_Addr" indicates the address of the source node; "Dest_Addr" indicates the address of the destination node; "Seq_Num" indicates the sequence number of the RREQ packet sent by the node, which is used to identify the uniqueness of the RREQ sent by the source node; "TTL" indicates the number of hops "Cur_Len" indicates the route length from the source node to the current node; "Src_Degree" indicates the N-hop degree of the source node; "Dest_Degree" indicates the N-hop degree of the destination node; "Addr_1~Addr_MaxM" and "Degree_1~ "Degree_MaxM" represent the node address and N-hop degree of the intermediate node through which the RREQ data packet flows, respectively, where MaxM represents the maximum number of intermediate nodes of a route.

在接收到RREQ后,节点若发现首次接收到该RREQ,并且本节点不是目的节点,则将自身的地址和N跳度添加到RREQ数据包中并转发出去。这样,RREQ数据包中不仅包含了它所流经的所有节点的节点地址,而且也包含了这些节点的N跳度。当RREQ到达目的节点后,目的节点会从RREQ中提取相应的节点地址和N跳度来构成一条到达源节点的路由,并根据NDBR的选路准则确定的路由选择参数计算该路径的RSM值。从而,目的节点可以从其路由缓冲区中根据NDBR选路准则选择一条最佳路由,并将该路由包含在路由应答数据包(RREP)中发送至源节点。RREP数据包结构如图2所示,各个域的含义同RREQ中的数据域含义,区别仅在于RREP数据包中的路由是固定的。After receiving the RREQ, if the node finds that the RREQ is received for the first time, and the node itself is not the destination node, it will add its own address and N hops to the RREQ data packet and forward it out. In this way, the RREQ data packet not only includes the node addresses of all the nodes it flows through, but also includes the N-hops of these nodes. When RREQ reaches the destination node, the destination node will extract the corresponding node address and N hops from RREQ to form a route to the source node, and calculate the RSM value of the route according to the routing selection parameters determined by the NDBR routing criteria. Therefore, the destination node can select an optimal route from its route buffer according to the NDBR route selection criterion, and send the route to the source node in the route response data packet (RREP). The structure of the RREP packet is shown in Figure 2. The meanings of each field are the same as those of the data field in the RREQ, the only difference being that the route in the RREP packet is fixed.

中间节点接收到RREP后,会将RREP中对应的节点的N跳度更新,并将该数据包发往RREP中所包含路由的上行节点。最终,RREP数据包到达源节点,从而源节点获得到达目的节点的一条路由。这样,业务数据包就可沿该路由传送至目的节点。路由搜寻过程以源节点获得到达目的节点的一条完整路由为标志而完成。图5表示出了NDBR算法的路由搜寻过程示意图。After receiving the RREP, the intermediate node will update the N-hop degree of the corresponding node in the RREP, and send the data packet to the uplink node of the route included in the RREP. Finally, the RREP data packet reaches the source node, so that the source node obtains a route to the destination node. In this way, the service data packet can be transmitted to the destination node along the route. The route search process is completed when the source node obtains a complete route to the destination node. FIG. 5 shows a schematic diagram of the route search process of the NDBR algorithm.

在业务数据包传输过程中,若一个节点发现其下行链路无法维持正常通信,则该节点更新本地的路由信息,并检查当前业务数据包的发送次数是否达到网络预先设置的发送次数,若达到,则丢弃该数据包,然后向源节点发送路由失败数据包(RERR);若没有达到,则判断路由缓冲区中是否存在到达目的节点的有效路径,若存在,则沿新路径发送当前业务数据包;若不存在,则丢弃当前业务数据包,然后向源节点发送路由失败数据包(RERR)。接收到RERR的节点,更新本地的相应路由信息和RERR中的相应N跳度信息,并转发至RERR中包含路径的上行节点。当RERR到达源节点后,源节点首先更新本地路由缓冲区中的路由信息,然后检查当前业务数据包的发送次数是否达到网络预先设置的发送次数,若达到,则丢弃该数据包,同时判断上层业务数据缓冲区(节点用于存贮上层业务数据包的存贮空间)中是否仍然有数据包等待发送,若有则根据NDBR确定的选路准则从路由缓冲区搜寻最佳路由,若没有找到最佳路由,则源节点将重新发起另一次路由搜寻过程;若找到,则业务数据包沿新路由发送。若节点发现当前业务数据包的发送次数没有达到网络预先设置的发送次数,则节点根据NDBR确定的选路准则从路由缓冲区搜寻最佳路由,若没有找到最佳路由,则源节点将重新发起另一次路由搜寻过程;若找到,则业务数据包沿新路由发送。路由失败数据包和业务数据包的结构示意图分别如图3和图4所示。具体路由维护过程见图6的路由维护示意图。During the transmission of business data packets, if a node finds that its downlink cannot maintain normal communication, the node updates the local routing information and checks whether the number of times the current business data packets are sent has reached the number of times preset by the network. , then discard the data packet, and then send a routing failure data packet (RERR) to the source node; if not, then judge whether there is an effective path to the destination node in the routing buffer, and if so, send the current business data along the new path If it does not exist, the current service data packet is discarded, and then the routing failure data packet (RERR) is sent to the source node. The node receiving the RERR updates the corresponding local routing information and the corresponding N-hop information in the RERR, and forwards it to the upstream node containing the path in the RERR. When the RERR arrives at the source node, the source node first updates the routing information in the local routing buffer, and then checks whether the number of times the current service data packet is sent reaches the number of times preset by the network. If so, the data packet is discarded and the upper layer Whether there are still data packets waiting to be sent in the business data buffer (the storage space used by nodes to store upper-layer business data packets), if there is, search for the best route from the routing buffer according to the routing criteria determined by NDBR, if not found If the best route is found, the source node will re-initiate another route search process; if found, the service data packet will be sent along the new route. If the node finds that the number of times the current service data packet is sent does not reach the number of times preset by the network, the node searches for the best route from the routing buffer according to the routing criteria determined by the NDBR. If the best route is not found, the source node will re-initiate Another route search process; if found, the service data packet is sent along the new route. The structural diagrams of the routing failure data packet and the service data packet are shown in Fig. 3 and Fig. 4 respectively. The specific routing maintenance process is shown in the routing maintenance schematic diagram in FIG. 6 .

为验证和比较算法性能,我们对该发明中提出的路由算法进行了仿真,仿真硬件条件如下:计算机主频2.6Ghz,硬盘20G,内存512M。In order to verify and compare the performance of the algorithm, we simulated the routing algorithm proposed in the invention, and the simulated hardware conditions are as follows: the main frequency of the computer is 2.6Ghz, the hard disk is 20G, and the memory is 512M.

具体仿真环境如下:30个节点在600米×600米的范围内按照“random way point”模型(随机移动点模型)随机移动,该模型中最小的节点移动速率设置为1m/s,最大的节点运动速率分别设置为2m/s、4m/s、6m/s、8m/s和10m/s。每个节点产生CBR(Constant BitRate-恒定速率)业务(每个数据包2048比特,1秒钟产生4个数据包),从剩余的29个节点中随机选择一个作为目的节点。物理层和MAC层采用IEEE 802.11a标准,速率为54Mbps,MAC协议选择为基本的CSMA/CA协议(Carrier Sense Multiple Access with CollisionAvoidance-带冲突监测的载波侦听多址协议),即:源节点发送业务数据包,目的节点发送确认数据包,即可完成一次数据包传输过程。在路由维护算法中,设定业务数据包的最大允许发送次数为2。在仿真中,设定N=1,并且假定节点的N跳度偏差服从均匀分布,误差为10%,即:节点的N跳度与实际的N跳度之间的偏差最大为10%。我们用“NDBR-1”、“NDBR-2”和“NDBR-3”分别表示采用RSM1、RSM2和RSM3(α=0.5)路由选择参数的路由算法;“DSR”表示为考虑节点的N跳度的动态源路由算法。图7、图8、图9和表1表示出了这种条件下的仿真结果。可见,NDBR算法可以在不增加网络开销的情况下获得更高的数据包投寄率、更小的数据包传输延时,并且在采用RSM3的路由选择参数的情况下,节点发送的数据包数目的标准方差最小,见下表,由于节点的能量消耗主要决定于节点发送数据包的数目多少,因此这种路由算法对于节点的能量消耗情况来说最公平。The specific simulation environment is as follows: 30 nodes move randomly within the range of 600 meters × 600 meters according to the "random way point" model (random moving point model). In this model, the minimum node movement speed is set to 1m/s, and the largest node The movement speed was set to 2m/s, 4m/s, 6m/s, 8m/s and 10m/s respectively. Each node generates CBR (Constant BitRate-constant rate) service (each data packet is 2048 bits, 4 data packets are generated in 1 second), and one of the remaining 29 nodes is randomly selected as the destination node. The physical layer and the MAC layer adopt the IEEE 802.11a standard, and the rate is 54Mbps. The MAC protocol is selected as the basic CSMA/CA protocol (Carrier Sense Multiple Access with Collision Avoidance-Carrier Sense Multiple Access Protocol with Collision Monitoring), namely: the source node sends For business data packets, the destination node sends a confirmation data packet to complete a data packet transmission process. In the routing maintenance algorithm, the maximum allowable sending times of business data packets is set to 2. In the simulation, set N=1, and assume that the N-hop deviation of nodes obeys a uniform distribution, and the error is 10%, that is, the maximum deviation between the N-hop degree of a node and the actual N-hop degree is 10%. We use "NDBR-1", "NDBR-2" and "NDBR-3" to denote the routing algorithms using RSM 1 , RSM 2 and RSM 3 (α=0.5) routing selection parameters respectively; N-hop dynamic source routing algorithm. Figure 7, Figure 8, Figure 9 and Table 1 show the simulation results under this condition. It can be seen that the NDBR algorithm can obtain a higher data packet delivery rate and a smaller data packet transmission delay without increasing network overhead, and in the case of using the routing parameters of RSM 3 , the data packets sent by the node The standard deviation of the number is the smallest, see the table below, because the energy consumption of the node is mainly determined by the number of data packets sent by the node, so this routing algorithm is the most fair for the energy consumption of the node.

表1.节点发送的数据包数目的标准方差比较 路由方案   节点移动速率(米/秒)   2   6   10   DSR   672.07   630.29   657.10   NDBR-1   643.09   654.71   674.29   NDBR-2   704.75   671.71   715.20   NDBR-3   605.29   579.80   585.29 Table 1. Standard deviation comparison of the number of packets sent by nodes routing plan Node moving speed (m/s) 2 6 10 DSR 672.07 630.29 657.10 NDBR-1 643.09 654.71 674.29 NDBR-2 704.75 671.71 715.20 NDBR-3 605.29 579.80 585.29

Claims (1)

1, in the wireless self-organization network based on the route search and the maintaining method of the degree of node, it is characterized in that it is at wireless transmitting-receiving equipments, be node, also claim router, the wireless Ad Hoc of formation, be Ad Hoc, realize according to the following steps successively in each mobile device in the communication network:
Initializing set: the type of packet and the data item that includes thereof, and deposit in each node memory:
1) route request packet, i.e. RREQ includes following data item:
Type of data packet is with " Type " expression; Source node address is with " Src_Addr " expression; The destination node address is with " Dest_Addr " expression; The sequence number of the RREQ packet that node sends is with " Seq_Num " expression; The life-span of the packet of representing with jumping figure with " TTL " expression, is MaxM+1 according to the default maximum life of network size, and wherein MaxM is maximum intermediate node number that may comprise in the route; Route length from the source node to the present node is with " Cur_Len " expression; The N jumping degree of source node is represented with " Src_Degree ", N jumping degree is meant the doubly node number in the scope that transmits and receives radius of node of N, in practice, because node can't be known stationary node, it is the existence of inactive node, therefore its active section of also being equal in the above-mentioned scope is counted, and the number of the node that packets need sends is promptly arranged, and N selects 1 or 2; The N jumping degree of destination node, with " Dest_Degree " expression, wherein, the definition of N jumping degree is as mentioned above; The node address of the intermediate node that RREQ flows through, with " Addr_1~Addr_MaxM " expression, wherein MaxM represents maximum intermediate node number possible in the route; The N jumping degree of the various intermediate nodes that RREQ flows through, with " Degree_1~Degree_MaxM " expression, same, MaxM represents maximum intermediate node number possible in the route;
2) route replies packet, be RREP, include following data item: Type, Src_Addr, Dest_Addr, Seq_Num, Cur_Len, Src_Degree, Dest_Degree, Addr_1~Addr_X and Degree_1~Degree_X, wherein constitute a complete route by Addr_1~Addr_X, Degree_1~Degree_X represents the N jumping degree information corresponding to the node of Addr_1~Addr_X, all the other each data item described as defined above, wherein X represents that the intermediate node number of the route that comprises among the RREP is X, and X is not more than MaxM;
3) routing failure packet, be RERR, include following data item: Type, Src_Addr, Dest_Addr, Cur_Len, Src_Degree, Dest_Degree, Addr_1~Addr_X, Degree_1~Degree_X, Error_Up_Addr and Error_Down_Addr, wherein the implication of Type, Src Addr, Dest_Addr, Src_Degree, Dest_Degree, Addr_1~Addr_X and Degree_1~Degree_X as previously mentioned, and Cur_Len represents from the node that the makes a mistake jumping figure of node up till now; Error_Up_Addr represents the node address of finding that next-hop node can't arrive; Error_Down_Addr represents the node address of the next-hop node that can't arrive;
4) business data packet includes following data item: Type, Src_Addr, Dest_Addr, Cur_Len, Src_Degree, Dest_Degree, Addr_1~Addr_X, Degree_1~Degree_X, Traffic_Data and Alpha, wherein the implication of Type, Src_Addr, Dest_Addr, Cur_Len, Src_Degree, Dest_Degree, Addr_1~Addr_X, Degree_1~Degree_X as previously mentioned, Traffic_Data represents the upper-layer service data of business data packet; Alpha represents the require parameter of user for the time-delay of business data packet, packet loss, bandwidth;
Set following parameter and relevant intermediate variable thereof, deposit in respectively in the memory in each node:
The time-out time threshold value in path life-span, its expression: if during this period of time, node does not monitor any traffic data bag along this path, and then node thinks that this path lost efficacy, thus with this path, promptly route is deleted from the routing cache district;
The routing cache district, it refers to preserve in the memory of each node the memory space of route;
Data packet buffer, it refers to preserve in the memory of each node the memory space of upper-layer service packet;
The maximum of the predefined business data packet of network allows to send number of times;
The maximum that contains in the predefined route of network allows the node number;
Following three kinds of algorithm routines of the Route Selection parameters R SM of a route of designing and calculating calculate three kinds of routing parameter RSM 1, RSM 2And RSM 3, its calculation procedure together with routing criterion is deposited in the memory of each node, described routing criterion is meant: when α value value hour, the RSM value is got RSM 3, in the routing cache district, select one and have minimum RSM 3The route of the arrival destination node of value; When the α value was big, the RSM value was from RSM 1Or RSM 2In choose one, when the RSM value is got RSM 1The time, in the routing cache district, select one and have minimum RSM 1The route of the arrival destination node of value; Described RSM 1, RSM 2And RSM 3Computational methods as follows:
RSM 1 = &Sigma; i = 1 M D i ,
RSM 2 = ( H + 1 ) 1 M - 1 &Sigma; i = 1 M ( D i - D &OverBar; ) 2 , Wherein D &OverBar; = 1 M &Sigma; i = 1 M D i ,
RSM 3 = ( H + 1 ) [ 1 M &Sigma; i = 1 M D i + &alpha; 1 M - 1 &Sigma; i = 1 M ( D i - D &OverBar; ) 2 ] , ( 0 < &alpha; < 1 )
Wherein, M is the node number that comprises in the route; H is the jumping figure that comprises in the route, H=M-1; D iN jumping degree for i node of route flow warp; D is the average N jumping degree of M node of route flow warp; α is user's appointment in business data packet, it is the parameter that the user sets according to time-delay, packet loss, the bandwidth of packet, simultaneously, this parameter has shown the stress degree of upper-layer service characteristic to the standard variance of the competition node number of the total competition node number of route and each node, 0<α<1, when standard variance being stressed degree hour, it is littler that the α value is wanted, otherwise then the α value is bigger;
Described route method for searching contains following each step successively:
(1) when certain node produces a upper-layer service packet, this node just becomes source node, and it has judged whether that at first packet sends, if having, then this business data packet is inserted in the data packet buffer, waited for after this packet transmission finishes sending current data packet again; If there is not packet to send, then it selects an effective route that arrives destination node according to above-mentioned RSM routing criterion from the routing cache district of oneself;
(2) if do not have effective route from this node in the routing cache district of this node, just initiate the route search process, promptly this node is packed among the RREQ also broadcast transmission to self address and N jumpings degree; If exist, just change route maintenance procedure over to;
(3) intermediate node is after receiving RREQ, just checks whether receive this RREQ first, if non-ly receive first, just abandons this RREQ, and search process finishes; If receive this RREQ first, intermediate node just is packed into self address and N jumping degree among the RREQ and transmits;
(4) after destination node is received RREQ, each RSM value according to each paths in predetermined routing criterion and routing cache district in the memory, select best route, selected each paths comprises that also destination node extracts the path that arrives source node that node corresponding address and N jumping degree form from RREQ;
(5) destination node is packed into the best routing iinformation that comprises each node address and N jumping degree among the RREP and to source node and sends;
(6) after the intermediate node of best route receives RREP, just go to upgrade the N jumping degree information of node corresponding among the RREP, and be forwarded to the upstream node that comprises route among the RREP with oneself according to the N jumping degree of own node;
(7) after source node receives RREP, just obtain an effective route from the source node to the destination node, and deposit in the routing cache device of oneself, the route search process finishes;
Described route maintenance method contains following each step successively:
(1) the source node effective route from the source node to the destination node that can obtain according to above-mentioned steps (7), also can be according to producing effective route that the back directly obtains at the upper-layer service packet from the routing cache district in the above-mentioned steps (2), node address and corresponding N jumping degree information are packed in the current business data packet that will send, and this business data packet is sent;
(2) source node is if find that its down link can't proper communication, and promptly next-hop node can't arrive, and just upgrades the routing iinformation in the routing cache district, and the transmission number of times of counting current business packet, changes step (11); Source node is if find that its down link can proper communication, then step (3);
(3) intermediate node goes to upgrade in the business data packet N jumping degree information with own corresponding node according to the N jumping degree of own node, and transmits this business data packet according to the routing iinformation in the business data packet;
(4) intermediate node can't be kept proper communication if find its down link, and promptly next-hop node can't arrive, and just upgrades the routing iinformation of own node, and makes the transmission number of times of this business data packet add 1, changes step (5) then; If all intermediate nodes all can be kept proper communication, then destination node can receive business data packet, and route maintenance procedure finishes;
(5) intermediate node checks whether the repeating transmission number of times of current business packet reaches the transmission number of times that network sets in advance, if reach, then abandons this packet, sends the routing failure packet to source node then, and promptly RERR changes step (7); If do not reach, then judge whether there are other effective routes in the routing cache district;
(6) if there are other effective routes in the routing cache district, then send the current business packet along new route, route maintenance procedure finishes; If do not exist, then abandon the current business packet, send RERR to source node then;
(7) receive the intermediate node of RERR, upgrade corresponding routing iinformation in the local routing cache district, and, then RERR is forwarded to the upstream node that comprises route among this RERR with corresponding N jumping degree information among the N jumping degree information updating RERR of local node;
(8) after source node receives RERR, upgrade the routing iinformation in the local routing cache district;
(9) source node checks that whether to still have business data packet etc. in the data buffer zone to be sent, if having, then checks whether there are other effective routes in the routing cache district, changes step (10); If there is not in the data buffer zone business data packet etc. to be sent, then route maintenance procedure finishes;
(10) if source node finds do not have effective route in the routing cache district, then initiate the route search process again, route maintenance finishes; If find to have effective route in the routing cache district, then business data packet sends along new route, and route maintenance procedure finishes;
(11) source node judges whether the transmission number of times of current business packet reaches the predetermined transmission number of times of network, if reach, then abandons this packet, changes step (9); If do not reach, then judge whether there are other effective routes in the routing cache district, change step (10).
CNB2004100034663A 2004-03-26 2004-03-26 Route searching of detgredd of node based on radio self-organizing network and maitenance method thereof Expired - Fee Related CN1299478C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100034663A CN1299478C (en) 2004-03-26 2004-03-26 Route searching of detgredd of node based on radio self-organizing network and maitenance method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100034663A CN1299478C (en) 2004-03-26 2004-03-26 Route searching of detgredd of node based on radio self-organizing network and maitenance method thereof

Publications (2)

Publication Number Publication Date
CN1564544A CN1564544A (en) 2005-01-12
CN1299478C true CN1299478C (en) 2007-02-07

Family

ID=34477606

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100034663A Expired - Fee Related CN1299478C (en) 2004-03-26 2004-03-26 Route searching of detgredd of node based on radio self-organizing network and maitenance method thereof

Country Status (1)

Country Link
CN (1) CN1299478C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8078740B2 (en) 2005-06-03 2011-12-13 Microsoft Corporation Running internet applications with low rights
US8185737B2 (en) 2006-06-23 2012-05-22 Microsoft Corporation Communication across domains

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060215577A1 (en) * 2005-03-22 2006-09-28 Guichard James N System and methods for identifying network path performance
KR100961712B1 (en) * 2005-06-14 2010-06-10 노키아 코포레이션 Apparatus, methods and computer program products providing a high performance communication bus with preferred route source routing, multiple assurances and resource retention, management and distribution
CN100364296C (en) * 2005-06-24 2008-01-23 清华大学 A Routing Method Based on Optimal Diameter Networks to Segment and Iterate Destination Nodes According to Degree Values
US7720016B2 (en) 2005-10-28 2010-05-18 Hong Kong Applied Science And Technology Research Institute Co., Ltd. Multi-hop routing method with bandwidth reservation in wireless network
TWI342142B (en) * 2006-08-21 2011-05-11 Ind Tech Res Inst Methods and systems for routing protocal
CN101212420B (en) 2006-12-27 2010-09-29 华为技术有限公司 Redirector, relay, routing information configuration system and update method
CN101282279B (en) * 2007-04-04 2010-12-01 同济大学 A Routing Method for Wireless Ad Hoc Networks Based on Available Bandwidth Measurement
CN101340361B (en) * 2007-07-05 2012-04-25 华为技术有限公司 Method and apparatus for data package transfer limitation
CN100442786C (en) * 2007-07-10 2008-12-10 北京航空航天大学 Routing Method Based on Tree Structure
CN101179594B (en) * 2007-11-22 2012-09-05 复旦大学 Service distance based service discovering method in wireless self-organizing network environment
CN101286930B (en) * 2008-05-30 2010-12-08 华南理工大学 A Congestion Adaptive Routing Method for Multi-Hop Wireless Ad Hoc Networks
CN101296180B (en) * 2008-06-19 2010-11-10 上海交通大学 Wireless Mesh network self-adapting routing method based on throughput performance
CN101399851B (en) * 2008-10-30 2011-09-07 北京邮电大学 Multi-source scheduling method for nodes in wireless peer-to-peer network
CN101888326A (en) * 2009-05-15 2010-11-17 华为技术有限公司 Service connection establishment method, path calculation unit device and network system
CN101599968B (en) * 2009-06-29 2012-09-19 北京航空航天大学 Reliable anonymous transmission method and system
CN101945436B (en) * 2009-07-06 2013-04-17 华为技术有限公司 Flow scheduling method, equipment and system
CN101789900B (en) * 2009-11-19 2012-08-15 福建星网锐捷网络有限公司 Multicast forwarding route query method, intermediate node and management node
CN101867519B (en) * 2010-06-03 2013-03-13 中国人民解放军91655部队 Dynamic area routing method and system for ad hoc network
CN101917335B (en) * 2010-08-04 2012-03-28 华南理工大学 Route equalization method of multi-jump cooperative energy of body area network under condition of ensuring service quality
CN102404819A (en) * 2012-01-04 2012-04-04 南京大学 A routing selection method based on the number of path hops and the relative movement speed of nodes in wireless ad hoc networks
CN102595552B (en) * 2012-02-23 2014-12-10 武汉中元通信股份有限公司 Packet radio network on-demand routing maintenance method based on adaptive dynamic mechanism
CN103595657B (en) * 2013-10-25 2016-10-12 西安电子科技大学 Layer-stepping network route method based on distributed context aware
CN103986648B (en) * 2014-05-06 2018-03-20 安徽理工大学 One kind is based on link stability and Energy-aware Internet of Things method for repairing route
CN107276729B (en) * 2017-07-21 2019-08-20 中国联合网络通信集团有限公司 Long link service request timeout retransmission method and intermediate node
CN107507416B (en) * 2017-07-28 2020-08-25 东北大学 A method for alleviating public transit network delay by changing congestion weight based on node distance

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987011A (en) * 1996-08-30 1999-11-16 Chai-Keong Toh Routing method for Ad-Hoc mobile networks
WO2002063847A2 (en) * 2001-02-06 2002-08-15 Certicom Corp. Mobile certificate distribution in a public key infrastructure
WO2002078272A1 (en) * 2001-03-23 2002-10-03 Kent Ridge Digital Labs A method and system for providing bridged mobile ad-hoc networks
US6683865B1 (en) * 1999-10-15 2004-01-27 Nokia Wireless Routers, Inc. System for routing and switching in computer networks
CN1479487A (en) * 2003-07-22 2004-03-03 中国科学院计算技术研究所 A Method for Ensuring the Reliability of Path Finding in Wireless Ad Hoc Networks
CN1483266A (en) * 2000-09-06 2004-03-17 ŵ�������繫˾ Multicast Routing in AD-HOC Networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987011A (en) * 1996-08-30 1999-11-16 Chai-Keong Toh Routing method for Ad-Hoc mobile networks
US6683865B1 (en) * 1999-10-15 2004-01-27 Nokia Wireless Routers, Inc. System for routing and switching in computer networks
CN1483266A (en) * 2000-09-06 2004-03-17 ŵ�������繫˾ Multicast Routing in AD-HOC Networks
WO2002063847A2 (en) * 2001-02-06 2002-08-15 Certicom Corp. Mobile certificate distribution in a public key infrastructure
WO2002078272A1 (en) * 2001-03-23 2002-10-03 Kent Ridge Digital Labs A method and system for providing bridged mobile ad-hoc networks
CN1479487A (en) * 2003-07-22 2004-03-03 中国科学院计算技术研究所 A Method for Ensuring the Reliability of Path Finding in Wireless Ad Hoc Networks

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8078740B2 (en) 2005-06-03 2011-12-13 Microsoft Corporation Running internet applications with low rights
US8185737B2 (en) 2006-06-23 2012-05-22 Microsoft Corporation Communication across domains
US8335929B2 (en) 2006-06-23 2012-12-18 Microsoft Corporation Communication across domains
US8489878B2 (en) 2006-06-23 2013-07-16 Microsoft Corporation Communication across domains

Also Published As

Publication number Publication date
CN1564544A (en) 2005-01-12

Similar Documents

Publication Publication Date Title
CN1299478C (en) Route searching of detgredd of node based on radio self-organizing network and maitenance method thereof
CN103052129B (en) Energy-saving route setup and power distribution method in wireless multi-hop relay network
Gulati et al. Performance comparison of mobile Ad Hoc network routing protocols
Venkatasubramanian Fruit-fly algorithm based dynamic source routing algorithm for energy efficient multipath routing in MANET
Ali et al. An on-demand power and load-aware multi-path node-disjoint source routing scheme implementation using NS-2 for mobile ad-hoc networks
Niu et al. Hybrid cluster routing: An efficient routing protocol for mobile ad hoc networks
Yazdinejad et al. Increasing the performance of reactive routing protocol using the load balancing and congestion control mechanism in manet
Yao et al. A neighbor-table-based multipath routing in ad hoc networks
CN1222180C (en) Method for constructing stabilized self-adaption self-organization network terminal
CN103108372A (en) Interference sensing cross-layer routing method based on node sending and receiving capacity
Niranjan et al. A novel incentive routing protocol with virtual projection for mobile packet forwarding nodes in wireless sensor networks
Hsu et al. Base-centric routing protocol for multihop cellular networks
CN109874162A (en) Design and optimization method of hybrid routing protocol for high-altitude and high-speed mobile node ad hoc network
CN106685819B (en) A kind of AOMDV agreement power-economizing method divided based on node energy
Liu et al. A novel tree-based routing protocol in ZigBee wireless networks
CN108401274A (en) The data transmission method of opportunistic network
Quy et al. An adaptive on-demand routing protocol with QoS support for urban-MANETs
Huang et al. A routing algorithm based on cross-layer power control in wireless ad hoc networks
Hui et al. A survey of multipath load balancing based on network stochastic model in Manet
CN112423356A (en) Unmanned equipment cluster AODV routing method based on energy balance
Sánchez et al. Beacon-less geographic routing in real wireless sensor networks
Ahmad et al. Enhanced AODV route Discovery and Route Establishment for QOS provision for real time transmission in MANET
Kumar et al. Transmission range, density & speed based performance analysis of ad hoc networks
CN102202000B (en) Routing selection method based on node property in social transportation in opportunistic network
Sujitha et al. Enhancement of Throughput and Energy Effeiciency Using Enhanced Dynamic Power Consumption MAC Protocol in MANET

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee