[go: up one dir, main page]

CN1222180C - Method for constructing stabilized self-adaption self-organization network terminal - Google Patents

Method for constructing stabilized self-adaption self-organization network terminal Download PDF

Info

Publication number
CN1222180C
CN1222180C CN 03158155 CN03158155A CN1222180C CN 1222180 C CN1222180 C CN 1222180C CN 03158155 CN03158155 CN 03158155 CN 03158155 A CN03158155 A CN 03158155A CN 1222180 C CN1222180 C CN 1222180C
Authority
CN
China
Prior art keywords
node
routing
route
packet
address
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
CN 03158155
Other languages
Chinese (zh)
Other versions
CN1491055A (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
Toshiba China Co Ltd
Original Assignee
Tsinghua University
Toshiba China Co Ltd
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, Toshiba China Co Ltd filed Critical Tsinghua University
Priority to CN 03158155 priority Critical patent/CN1222180C/en
Publication of CN1491055A publication Critical patent/CN1491055A/en
Application granted granted Critical
Publication of CN1222180C publication Critical patent/CN1222180C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a method for constructing a self-organization network terminal self-adaptive to network stability, which belongs to the field of wireless self-organization network routing technologies. The present invention is characterized in that the method is a route selecting method measuring the stability of a node according to the quantity of data packets successfully transmitted in the history of the node and measuring the loads of the node according to the occupation rate of a data buffer region to be transmitted of the node so as to comprehensively consider path time delay characteristics, routing stability and path loads as a routing standard of the wireless self-organization network. Compared with a traditional self-organization network terminal based on an AODV algorithm, the method has the advantages of longer routing effective time and small routing failure probability, and the aspects of successful data transfer ratios, average data transmission throughput of terminals, link failure quantities and average data transmission delay are all improved.

Description

构建网络稳定性自适应的自组织网络终端的方法Method for Constructing Self-Organizing Network Terminal Adaptive to Network Stability

技术领域technical field

本发明涉及无线网络的路由技术领域,特别是涉及构建一种稳定性自适应的自组织网络终端的方法。The invention relates to the technical field of wireless network routing, in particular to a method for constructing a self-organizing network terminal with self-adaptive stability.

背景技术Background technique

无线网络从结构组成上可分为两大类:有固定基础结构的网络和无固定基础结构的网络。(Elizabeth M.Royer,Chai-Keong Toh,″A Reviewof Current Routing Protocols for Ad Hoc Mobile Wireless Networks″,IEEE Personal Communications,Vol.6,No.2,pp.46-55,April 1999.)Wireless networks can be divided into two categories in terms of structural composition: networks with a fixed infrastructure and networks without a fixed infrastructure. (Elizabeth M. Royer, Chai-Keong Toh, "A Review of Current Routing Protocols for Ad Hoc Mobile Wireless Networks", IEEE Personal Communications, Vol.6, No.2, pp.46-55, April 1999.)

第一类网络中设有固定的、通过有线方式相互连接的网络节点,这些节点构成了网络的基本体系结构,如蜂窝网、本地无线接入网(WLAN)。蜂窝网中,基础网络结构由基站组成,以基站为中心,基站发射半径范围内的圆形(正六边形)区域构成一个“小区”,固定的均匀分布的基站共同实现网络对某地区的覆盖。用户移动设备与所处小区的基站直接建立连接,所有数据均通过基站转发给用户,基站之间一般通过有线的方式相互连接,基站配有专用的交换设备完成对用户数据的交换、转发。本地无线接入网中,接入点(Access Point,AP)构成了网络的基础结构。在每个AP的无线收发机覆盖范围内的移动终端可通过AP接入互联网络,所有的用户数据均通过AP转发。在此类无线网络中,移动终端和其通信范围内的“接入点”(基站、AP等)建立连接,所传输的业务数据均通过“接入点”处理转发。当终端从一个“接入点”的通信范围内移出并进入另一个“接入点”的通信范围内时,在新旧“接入点”之间发生切换,使它们能够在整个网络内连续的进行无缝通信。但位于系统“接入点”覆盖范围之外的终端则无法与系统建立联系,终端之间无法直接建立通信链路。整个网络的拓扑结构是固定的,由网络基础设备的分布而决定。The first type of network has fixed network nodes connected to each other by wires, and these nodes constitute the basic architecture of the network, such as a cellular network and a local wireless access network (WLAN). In the cellular network, the basic network structure is composed of base stations. With the base station as the center, the circular (regular hexagonal) area within the base station’s transmission radius forms a “cell”. The fixed and evenly distributed base stations jointly realize the coverage of a certain area by the network. . The user's mobile device is directly connected to the base station in the cell, and all data is forwarded to the user through the base station. The base stations are generally connected to each other by wire. The base station is equipped with a dedicated switching device to complete the exchange and forwarding of user data. In a local wireless access network, an access point (Access Point, AP) constitutes the basic structure of the network. Mobile terminals within the coverage of each AP's wireless transceiver can access the Internet through the AP, and all user data is forwarded through the AP. In this type of wireless network, a mobile terminal establishes a connection with an "access point" (base station, AP, etc.) within its communication range, and the transmitted business data is processed and forwarded through the "access point". When a terminal moves out of the communication range of one "access point" and enters the communication range of another "access point", switching between the old and new "access points" occurs, allowing them to be continuously connected throughout the network Communicate seamlessly. However, terminals located outside the coverage of the system's "access point" cannot establish contact with the system, and communication links cannot be directly established between terminals. The topology of the entire network is fixed and determined by the distribution of network infrastructure devices.

第二类无线网络中没有“接入点”或者交换设备,而是由一组用户终端自发形成的一种分布式的通信网络,被称为“无线自组织网络”(Wireless Ad hoc network)。There is no "access point" or switching equipment in the second type of wireless network, but a distributed communication network formed spontaneously by a group of user terminals, which is called "Wireless Ad hoc network".

自组织网络(ad hoc)起源于1968年美国夏威夷大学为了连接学校的教育设施而建立了ALOHA网络。在此基础上,1973年提出了多跳分组无线电网络PRNet-Packet Radio network(J.Jubin and J.D.Tornow,“The DARPA packet radio network protocol,”Proc.Of the IEEE,vol 75,No.1,Jan 1987,pp.21-32)。The self-organizing network (ad hoc) originated from the ALOHA network established by the University of Hawaii in 1968 in order to connect the school's educational facilities. On this basis, a multi-hop packet radio network PRNet-Packet Radio network was proposed in 1973 (J.Jubin and J.D.Tornow, "The DARPA packet radio network protocol," Proc.Of the IEEE, vol 75, No.1, Jan 1987, pp. 21-32).

IEEE在开发IEEE 802.11标准时,将PRNet改称为Ad hoc网络。1997年IETF成立了移动Ad hoc网络MANET(Mobile Ad hoc NETwork)工作组,专门负责具有数百个节点的移动Ad hoc网络的路由算法的研究和开发,进行相应的标准化工作。MANET工作组已经制定了十几个Internet草案标准。When IEEE developed the IEEE 802.11 standard, it renamed PRNet as Ad hoc network. In 1997, IETF established the mobile Ad hoc network MANET (Mobile Ad hoc NETwork) working group, which is responsible for the research and development of routing algorithms for mobile Ad hoc networks with hundreds of nodes, and carries out corresponding standardization work. The MANET working group has developed more than a dozen Internet draft standards.

在无线自组织网络中,两个相邻终端可直接建立“端到端”的通信链路,无需通过基站(或者AP)等设备转发;同时,在自组织网络中,无交换机、路由器等专用设备,每个终端均具有路由交换的功能,可建立、维护到其他终端的路由并为其相邻终端转发业务数据。进而当非相邻终端需要通信时,终端本身可动态的搜索有效路由,数据包通过其他终端转发,以“多跳”的方式传递至最终的目的终端。在端到端的通信业务中,建立路由是完成传输的前提条件,路由的搜索效率、路径质量、系统开销则决定了系统的整体传输性能。无线自组织网络的灵活性使得其终端所采用的路由算法成为影响网络性能的主要因素之一,进而路由算法设计成为这一领域的研究难点和热点。目前,已经提出的自组织网络的路由算法大多是基于传统有线互联网络或无线蜂窝网中的路由搜索、建立、维护的机制,以最短路由作为首选最佳路由进行通信传输。无线自组织网络中,通信终端的移动性造成了网络拓扑结构不断变化,因而在无线自组织网络中,最短路由并不一定是最佳路由。In a wireless ad hoc network, two adjacent terminals can directly establish an "end-to-end" communication link without forwarding through devices such as base stations (or APs); at the same time, in an ad hoc network, there are no dedicated Each terminal has the function of routing switching, which can establish and maintain routes to other terminals and forward business data for its adjacent terminals. Furthermore, when non-adjacent terminals need to communicate, the terminal itself can dynamically search for an effective route, and the data packet is forwarded by other terminals and delivered to the final destination terminal in a "multi-hop" manner. In an end-to-end communication service, establishing a route is a prerequisite for completing the transmission, and the search efficiency, path quality, and system overhead of the route determine the overall transmission performance of the system. The flexibility of wireless ad hoc networks makes the routing algorithm adopted by its terminals one of the main factors affecting network performance, and the design of routing algorithms has become a research difficulty and hot spot in this field. At present, most of the routing algorithms for ad hoc networks that have been proposed are based on the mechanism of route search, establishment, and maintenance in traditional wired Internet or wireless cellular networks, and the shortest route is used as the preferred best route for communication transmission. In wireless ad hoc networks, the mobility of communication terminals causes the network topology to change constantly, so in wireless ad hoc networks, the shortest route is not necessarily the best route.

在现有的自组织网络系统的路由算法中,当搜索到多条到同一目的终端的路由时,将选择其中“路径延时最小”的一个,如AODV(Ad hocOn-Demand Distance Vector(AODV)Routing,Jan.19,2002)算法。但延时最小的路径并不一定是最稳定的路由。如图1所示,In the routing algorithm of the existing self-organizing network system, when multiple routes to the same destination terminal are found, the one with the "minimum path delay" will be selected, such as AODV (Ad hoc On-Demand Distance Vector (AODV) Routing, Jan.19, 2002) algorithm. But the path with the least delay is not necessarily the most stable route. As shown in Figure 1,

从源节点S到目的节点D的可选路径可能有多条,包括(S,K1,K2,D)和(S,A,D),其中(S,A,D)是“延时最小”的一条,那么在AODV算法下,源节点S将选择这一路径发送数据。但如果K1、K2节点的稳定性比A节点高,并且两条路径的延时相差不多时,那么选择(S,K1,K2,D)作为路由更适合于数据的成功有效传输。同时,当某条路径上的负载过重时,可能造成网络局部的数据拥塞,此时应选择其他路径作为数据传输的路由,因此在路由选择中应综合考虑路径时延、路径稳定性和路径间的负载均衡三个因素。There may be multiple optional paths from source node S to destination node D, including (S, K1, K2, D) and (S, A, D), where (S, A, D) is "minimum delay" , then under the AODV algorithm, the source node S will choose this path to send data. But if the stability of K1 and K2 nodes is higher than that of A node, and the delays of the two paths are similar, then choosing (S, K1, K2, D) as the route is more suitable for the successful and effective transmission of data. At the same time, when the load on a certain path is too heavy, it may cause local data congestion in the network. At this time, other paths should be selected as the route for data transmission. Therefore, path delay, path stability and path delay should be comprehensively considered in routing selection. Load balancing among three factors.

发明内容Contents of the invention

本发明的目的在于提供一种综合考虑网络路径延迟、路径稳定性和路径负载的构建网络稳定性自适应的自组织网络终端的方法。The purpose of the present invention is to provide a method for constructing an ad hoc network terminal self-adaptive to network stability, which comprehensively considers network path delay, path stability and path load.

为达到上述目的,本发明的技术解决方案是提供一种构建网络稳定性自适应的自组织网络终端的方法,它是一种以节点历史成功传递的数据包数量来衡量节点的稳定性,以节点的等待发送的数据缓存区占用率来衡量节点的负载,从而以综合考虑路径延时特性、路由稳定性和路径负载作为无线自组织网络路由标准的路由选择方法。In order to achieve the above object, the technical solution of the present invention is to provide a method for building an self-organizing network terminal that is self-adaptive to network stability. It is a method to measure the stability of a node by the number of data packets successfully transmitted in the history of the node. The load of the node is measured by the occupancy rate of the buffer area of the data waiting to be sent, so that the route selection method of the wireless ad hoc network routing standard is based on the comprehensive consideration of the path delay characteristics, route stability and path load.

所述的方法,其含有以下步骤:Described method, it comprises the following steps:

(1)设定参数及其结构;(1) Setting parameters and their structure;

(2)发送节点根据数据包包头中的最终目的终端的地址,在缓存路由表中查询相应的有效路由:(2) The sending node queries the corresponding effective route in the cache routing table according to the address of the final destination terminal in the packet header:

若查到有效路由,则发出此数据包;If a valid route is found, this packet is sent;

否则,发出路由搜索信息包(RQ),进行下一步的路由搜索;Otherwise, send a route search packet (RQ) to carry out the next step of route search;

(3)当某邻居节点收到该RQ时,将此RQ的标号和其记录中的到相同目的节点的RQ标号作比较:(3) When a neighbor node receives the RQ, compare the label of this RQ with the RQ label to the same destination node in its record:

若此RQ的标号大,则此节点继续处理RQ包,同时将此RQ的标号记录为到相同目的节点的已经处理的最大RQ标号;否则直接丢弃此RQ;If the label of this RQ is large, then this node continues to process the RQ packet, and at the same time record the label of this RQ as the largest RQ label that has been processed to the same destination node; otherwise, directly discard this RQ;

(4)此节点检查RQ中已经列出的中间节点地址中是否包含其本身地址:(4) This node checks whether the intermediate node address listed in RQ contains its own address:

若已经保护,便是一个环路路由,丢弃;否则,继续处理;If it has been protected, it is a loop route and discarded; otherwise, continue processing;

(5)当收到RQ的节点不是此RQ的目的节点时,检查RQ跳数是否超过了其最大跳数限制(Hop-Limit):(5) When the node receiving RQ is not the destination node of this RQ, check whether the RQ hop count exceeds its maximum hop limit (Hop-Limit):

若已经超过,则丢弃;否则,将其本身地址顺序写入RQ的中间节点地址列表,并继续向邻居节点发送更新后的RQ信息包;If it has exceeded, discard it; otherwise, write its own address into the RQ intermediate node address list in sequence, and continue to send updated RQ information packets to neighbor nodes;

(6)若收到某个RQ的节点已经是此RQ的目的节点,或者遵循步骤(2)查到其保存的路由缓存表中有到相应目的节点的有效路由信息,则此节点复制相应的中间节点地址及上述其他参数值,发回路由应答信息包(RP);(6) If the node receiving a certain RQ is already the destination node of this RQ, or follow step (2) to find out that there is valid routing information to the corresponding destination node in the routing cache table it saves, then this node copies the corresponding The address of the intermediate node and the above-mentioned other parameter values are sent back to the routing response packet (RP);

(7)当RQ的发起节点即源节点收到RP时,便计算此路径的联合选择参数W,并将路由信息存入其路由缓存表;(7) When the originating node of RQ, that is, the source node, receives the RP, it calculates the joint selection parameter W of this path, and stores the routing information in its routing cache table;

(8)当源节点以后再发送数据时,将选择到达相应目的节点的所有路由中W值最小的一个;(8) When the source node sends data later, it will select the one with the smallest W value among all the routes to the corresponding destination node;

(9)当源节点发出RQ后,若在一定的时间(Route-Discovery-Period)内未收到RP,则源节点将延迟一段时间(Route-Discovery-Delay)后重新发出路由搜索信息包RQ,并且把上述两个时间值加倍,以防止频繁发出路由搜索而过度占用系统资源。(9) After the source node sends out the RQ, if it does not receive the RP within a certain period of time (Route-Discovery-Period), the source node will delay for a period of time (Route-Discovery-Delay) and then re-send the route search packet RQ , and double the above two time values to prevent frequent routing searches from excessively occupying system resources.

所述的方法,其所述设定参数及其结构,包括:Described method, its described setting parameter and its structure, comprise:

1)终端稳定度:每个终端以在指定周期内其成功传递的数据包作为其稳定度的衡量依据,其参数结构为:1) Terminal stability: Each terminal uses the data packets successfully transmitted within a specified period as the basis for measuring its stability, and its parameter structure is:

a)累计周期:由系统指定,用Count-Cycle表示;a) Accumulation cycle: specified by the system, represented by Count-Cycle;

在一个计数周期内成功传递的数据包数量,用Packet-Counter表示;The number of packets successfully delivered in a counting cycle, represented by Packet-Counter;

b)路径的稳定度V-node:b) Path stability V-node:

V-node=0.1·V-node+Packets-Counter;V-node=0.1 V-node+Packets-Counter;

2)终端负载:终端缓存中等待发送的数据包所占的比例;2) Terminal load: the proportion of data packets waiting to be sent in the terminal cache;

3)路由搜索信息:终端进行路由搜索时发出的路由搜索信息包(RQ),其结构为:3) Route search information: the route search packet (RQ) sent by the terminal when performing route search, its structure is:

a)ID:由发起此路由搜索信息包的终端给出RQ编号;a) ID: The RQ number is given by the terminal that initiated the routing search packet;

b)Source-address:发起此RQ的终端的地址;b) Source-address: the address of the terminal that initiated this RQ;

c)Destination-address:此RQ目的终端的地址;c) Destination-address: the address of the RQ destination terminal;

d)Hop-Limit(N):此RQ搜索的最大跳数限制值;d) Hop-Limit (N): the maximum hop limit value of this RQ search;

e)K-route:路由负载参数;e) K-route: routing load parameters;

f)V-route:路由稳定性参数;f) V-route: route stability parameter;

g)Address-i:路径中第i个中间节点的地址;g) Address-i: the address of the i-th intermediate node in the path;

V-route=V-route+Vi-node;Vi-node为节点i的稳定性参数;V-route=V-route+V i -node; V i -node is the stability parameter of node i;

K-route=K-route+Ki-node;Ki-node为节点i的负载参数;K-route=K-route+K i -node; K i -node is the load parameter of node i;

4)路由应答信息:当搜索到一条到达目的终端的路由时,相应的节点发回的路由应答信息包(RP):4) Routing response information: When a route to the destination terminal is found, the routing response packet (RP) sent back by the corresponding node:

ID、Source-address、Destination-address、K-route、V-route、Address-1……Address-N的定义与此RP对应的RQ中的相应变量定义相同;ID, Source-address, Destination-address, K-route, V-route, Address-1... The definition of Address-N is the same as the corresponding variable definition in the RQ corresponding to this RP;

5)缓存路由表:每个终端保存的一定时期内搜索到的有效路由信息,其参数结构含有:5) Cache routing table: each terminal saves the effective routing information searched within a certain period of time, and its parameter structure contains:

a)目的节点地址(Destination Node Address);a) Destination Node Address;

b)路由联合选择参数(Selection Measurement,用W表示);b) Routing joint selection parameter (Selection Measurement, represented by W);

c)路由中间节点地址列表(Middle Nodes Address List);c) Routing intermediate node address list (Middle Nodes Address List);

d)路由有效时限(Life time);d) Route effective time limit (Life time);

其中,第k个从节点i到节点j的路由W用Wk-ij表示,Among them, the kth route W from node i to node j is represented by W k-ij ,

WW kk -- ijij == AA 11 ·· NN ++ 11 NN (( AA 22 ·· KK -- routeroute ++ AA 33 ·&Center Dot; VV -- routeroute ))

其中:in:

N;此路由的总跳数;N; the total number of hops for this route;

A1:路径距离权重系数,设定;A1: path distance weight coefficient, setting;

A2:“负载均衡”权重系数,设定;A2: "Load Balance" weight coefficient, setting;

A3:“稳定性”权重系数,设定;A3: "Stability" weight coefficient, setting;

6)路由失效信息(Route Error,RE):由路由错误导致的相应终端发出的“路由失效信息包”,其参数结构为:失效路由的目的终端地址(Destination-address),发生路由错误的中间节点地址(Node-address)。6) Route Error (RE): The "routing failure information packet" sent by the corresponding terminal caused by the routing error, its parameter structure is: the destination terminal address of the failed route (Destination-address), the middle Node-address.

本发明所提出的网络稳定性自适应的路由算法中,采用了节点历史成功传递的数据包数量衡量节点的稳定性,以节点的等待发送的数据缓存区占用率衡量节点的负载,综合考虑路径延时特性、路由稳定性和路径负载,计算每条路径的W值,如下:In the self-adaptive routing algorithm for network stability proposed by the present invention, the number of data packets successfully transmitted in the history of the node is used to measure the stability of the node, and the occupancy rate of the data cache area waiting to be sent is used to measure the load of the node, and the path is considered comprehensively. Delay characteristics, routing stability and path load, calculate the W value of each path, as follows:

WW kk -- ijij == AA 11 ·&Center Dot; NN ++ 11 NN (( AA 22 ·&Center Dot; KK -- routeroute ++ AA 33 ·· VV -- routeroute )) ,,

Wk-ij:第k个从节点i到节点j的路由;W k-ij : the kth route from node i to node j;

N:此路由的总跳数;N: the total number of hops for this route;

V-route:;路由稳定性参数;V-route:; route stability parameters;

K-route:;路由负载参数;K-route:; route load parameters;

A1:路径距离权重系数;A 1 : Path distance weight coefficient;

A2:“负载均衡”权重系数;A 2 : "Load Balance" weight coefficient;

A3:“稳定性”权重系数;A 3 : "Stability" weight coefficient;

在到相同目的终端的多条路由中,具有最小W值的路由将被作为首选路由发送用户数据包。W值越小表示此路由长度较短、稳定性较高、负载较小。进而提高网络中数据的成功传输比率和网络传输能力,并降低数据的平均传输延时。Among multiple routes to the same destination terminal, the route with the smallest W value will be used as the preferred route to send user data packets. The smaller the W value, the shorter the route, the higher the stability, and the lower the load. In turn, the success rate of data transmission in the network and the network transmission capacity are improved, and the average data transmission delay is reduced.

本发明的特征在于:它是一种以节点历史成功传递的数据包数量来衡量节点的稳定性,以节点的等待发送的数据缓存区占用率来衡量节点的负载,从而以综合考虑路径延时特性、路由稳定性和路径负载作为无线自组织网络路由标准的路由选择方法;当源节点发出RQ后,若在一定的时间(Route-Discovery-Period)内未收到RP,则源节点将延迟一段时间(Route-Discovery-Delay)后重新发出路由搜索信息包RQ,并且把上述两个时间值加倍,以防止频繁发出路由搜索而过度占用系统资源。The present invention is characterized in that: it measures the stability of the node by the number of data packets successfully delivered in the history of the node, and measures the load of the node by the occupancy rate of the data cache area waiting to be sent, so as to comprehensively consider the path delay Characteristics, routing stability and path load are used as the routing selection method of wireless ad hoc network routing standards; when the source node sends out RQ, if it does not receive RP within a certain period of time (Route-Discovery-Period), the source node will delay After a period of time (Route-Discovery-Delay), re-send the route search information packet RQ, and double the above two time values, so as to prevent frequent route search from excessively occupying system resources.

本发明中提出的无线自组织网络终端设计中所给出的路由算法则充分考虑了自组织网络中,终端的稳定性对系统性能的影响,构建了综合考虑路由长度、路由稳定性、网络负载均衡的无线自组织通信系统。通过系统仿真比较,这种网络稳定性自适应的自组织网络终端较传统的基于AODV算法的自组织网络终端(Ad hoc On-Demand Distance Vector(AODV)Routing,Jan.19,2002),在系统平均传输延时、系统平均传输成功率、终端容量、链路平均断路数量等指标考核中,均具有更好的性能。The routing algorithm given in the wireless ad hoc network terminal design proposed in the present invention fully considers the influence of terminal stability on system performance in the ad hoc network, and constructs a network that comprehensively considers route length, route stability, and network load. Balanced Wireless Ad Hoc Communication System. Through system simulation comparison, this self-organizing network terminal with self-adaptive network stability is better than the traditional self-organizing network terminal based on AODV algorithm (Ad hoc On-Demand Distance Vector (AODV) Routing, Jan.19, 2002), in the system In the evaluation of indicators such as average transmission delay, system average transmission success rate, terminal capacity, and average number of link disconnections, it has better performance.

仿真实验表明:无论在终端的运动停留时间相同而网络负载不同,或者网络负载一定但终端的运动停留时间变化下,网络稳定性自适应路由选择方法的饱和系统性能均优于AODV方法。The simulation experiments show that the saturated system performance of the adaptive routing selection method for network stability is better than that of the AODV method, no matter the terminal's motion dwell time is the same but the network load is different, or the network load is constant but the terminal's motion dwell time changes.

本发明可应用于无线通信领域,会议室、办公室、教室等临时性、终端密度较高的环境中,临时构建网络,用于信息的发布和共享;家庭环境中,用于各种设备的无线互联及数据交换,以低成本构建局域网络;个人随身便携设备之间的协同工作及数据同步,如笔记本电脑、手机、PDA等设备间的临时构建个域网(Personal Area Network);公共场所的临时性接入服务,如咖啡厅、餐厅内服务人员或顾客手持设备临时性的接入局域网;传统蜂窝网络的服务覆盖盲区的连接服务,如大型建筑物内部的阴影角落、地下建筑等提供传统网络覆盖困难(或成本过高)的环境;无网络覆盖地区,如在偏远山区、沙漠、森林、峡谷内,人员之间的相互通信;传统网络无法正常工作的环境,如灾害地区的紧急通信服务;战场、太空等特殊环境下的人员通信、设备互联;传感网络(sensornetwork),一种准静态、多跳的自组织网络应用,可用于战场上的情报搜集(如地形、地表状况检测,雷区探测)、系统监控(如城市地下管道系统的状态监测、生产线状态检测等)、地震及海啸的早期预报等方面。The present invention can be applied in the field of wireless communication, in conference rooms, offices, classrooms and other temporary environments with high terminal density, to temporarily build a network for publishing and sharing of information; Interconnection and data exchange, building a local area network at low cost; collaborative work and data synchronization between personal portable devices, such as temporary construction of a personal area network (Personal Area Network) between laptops, mobile phones, PDAs and other devices; public places Temporary access services, such as temporary access to local area networks by service personnel or customer handheld devices in coffee shops and restaurants; connection services in blind areas of service coverage of traditional cellular networks, such as shadow corners inside large buildings, underground buildings, etc. Environments where network coverage is difficult (or cost is too high); areas without network coverage, such as remote mountainous areas, deserts, forests, canyons, communication between people; environments where traditional networks cannot work normally, such as emergency communications in disaster areas Services; personnel communication and equipment interconnection in special environments such as battlefields and space; sensor network (sensornetwork), a quasi-static, multi-hop self-organizing network application, can be used for intelligence collection on the battlefield (such as terrain, surface condition detection , minefield detection), system monitoring (such as status monitoring of urban underground pipeline systems, production line status detection, etc.), early prediction of earthquakes and tsunamis, etc.

附图说明Description of drawings

图1为路径的稳定性因素示意图;Figure 1 is a schematic diagram of the stability factors of the path;

图2为本发明网络稳定性自适应路由选择方法的路由搜索图;Fig. 2 is the routing search diagram of the network stability self-adaptive routing selection method of the present invention;

图3为终端运动停留时间相同而网络负载不同时,本发明网络稳定性自适应路由选择方法和AODV方法的系统饱和容量比较曲线图;Fig. 3 is a curve diagram comparing the system saturation capacity of the network stability adaptive routing selection method of the present invention and the AODV method when the terminal movement residence time is the same and the network load is different;

图4为网络负载一定而终端运动停留时间变化时,本发明网络稳定性自适应路由选择方法和AODV方法的系统性能比较图:Fig. 4 is a system performance comparison diagram of the network stability self-adaptive routing selection method and the AODV method of the present invention when the network load is constant and the terminal movement residence time changes:

图4(a)为“数据包成功传输比”指标的比较;Figure 4(a) is a comparison of the "data packet successful transmission ratio" index;

图4(b)为“节点平均吞吐能力”指标的比较;Figure 4(b) is the comparison of the "node average throughput" index;

图4(c)为“链路失败数量”指标的比较;Figure 4(c) is the comparison of the "number of link failures" index;

图4(d)为“平均端到端延时”指标的比较;Figure 4(d) is a comparison of the "average end-to-end delay" index;

图4(e)为“系统路由开销”指标的比较;Fig. 4 (e) is the comparison of "system routing overhead" index;

图5为本发明所述方法的程序流程框图。Fig. 5 is a program flow diagram of the method of the present invention.

具体实施方式Detailed ways

一、参数结构定义1. Definition of parameter structure

1.终端稳定度1. Terminal stability

每个终端以在指定周期内其成功传递的数据包数量作为其稳定度的衡量依据,其参数结构为: Packets-Counter Count-Cycle V-node Each terminal uses the number of data packets successfully delivered within a specified period as the basis for measuring its stability, and its parameter structure is: Packets-Counter Count-Cycle V-node

其中累计周期(Count-Cycle)由系统指定,Packets-Counter和V-node的初始值为0。终端将在Packets-Counter中记录在一个Count-Cycle内成功传递的数据包数量,V-node的计算公式为:The cumulative cycle (Count-Cycle) is specified by the system, and the initial values of Packets-Counter and V-node are 0. The terminal will record the number of packets successfully delivered within a Count-Cycle in the Packets-Counter. The calculation formula of V-node is:

V-node=0.1·V-node+Packets-CounterV-node=0.1·V-node+Packets-Counter

在一个Count-Cycle结束时,Packets-Counter重置为0。At the end of a Count-Cycle, the Packets-Counter is reset to 0.

2.终端负载2. Terminal load

在SAR路由算法中,终端缓存中等待发送的数据包数量在节点缓存空间中所占的比例作为此终端的负载量度,记为参数K-node,计算如下:In the SAR routing algorithm, the proportion of the number of data packets waiting to be sent in the terminal cache to the node cache space is used as the load measure of the terminal, which is recorded as the parameter K-node, and is calculated as follows:

KK __ nodenode == 11 -- PacketsPackets __ numbernumber __ inin __ waitingwaiting __ listlist AmountAmount __ ofof __ BufferBuffer

Packets_number_in_waiting_list:节点当前缓存的需要发出的数据包数量;Packets_number_in_waiting_list: the number of data packets currently cached by the node that need to be sent;

Amount_of_Buffer:节点为发送数据开辟的缓存空间大小。Amount_of_Buffer: The size of the cache space opened by the node for sending data.

3.路由搜索信息3. Routing search information

当终端进行路由搜索时,将发出“路由搜索信息包”(Route Quest,RQ),其结构为: RQ  ID Source-address Destination-address Hop-limit(N) K-route V-route Address-i…… When the terminal performs route search, it will send out a "route search packet" (Route Quest, RQ), whose structure is: RQ ID Source-address Destination-address Hop-limit(N) K-route V-route Address-i...

ID是由发起此路由搜索信息包的终端给出的RQ编号,Source-address是发起此RQ终端的地址,Destination-address是此RQ目的终端的地址,Hop-limit是此RQ搜索的最大跳数限制值,Address-i是路径中第i个中间节点的地址。V-node和K-node分别是此路径的稳定度和负载参数,其计算公式为:ID is the RQ number given by the terminal that initiated the route search packet, Source-address is the address of the terminal that initiated the RQ, Destination-address is the address of the destination terminal of this RQ, and Hop-limit is the maximum number of hops for this RQ search Limit value, Address-i is the address of the i-th intermediate node in the path. V-node and K-node are the stability and load parameters of this path respectively, and their calculation formulas are:

V-route=V-route+Vi-nodeV-route=V-route+V i -node

K-route=K-route+Ki-nodeK-route=K-route+ Ki -node

4.路由应答信息4. Routing response information

当搜索到一条到目的终端的路由时,相应的节点将发回“路由应答信息包”(Route Reply,RP),其结构为: RP  ID Source-address Destination-address K-route V-route Address-1 …… Address-N When a route to the destination terminal is found, the corresponding node will send back a "route reply packet" (Route Reply, RP), whose structure is: RP ID Source-address Destination-address K-route V-route Address-1 ... Address-N

RP中的ID、Source-address、Destination-address、Adcress-I、V-route和K-route的定义与此RP对应的RQ中的相应变量定义相同,变量值相等。The definitions of ID, Source-address, Destination-address, Address-I, V-route, and K-route in the RP are the same as the corresponding variable definitions in the RQ corresponding to this RP, and the variable values are equal.

5.缓存路由表5. Cache the routing table

在网络稳定自适应路由算法中,每个终端保存了一定时期内搜索到的有效路由信息,其缓存路由表结构包括目的节点地址(Destination NodeAddress)、路由联合选择参数W(Selection Measurement-W)、路由中间节点地址列表(Middle Nodes Address list)、路由有效时限(Lifetime),如下所示。 DestinationNode Address SelectionMeasurement--W Middle NodesAddress list Lifetime In the network stability adaptive routing algorithm, each terminal saves the effective routing information searched within a certain period of time, and its cache routing table structure includes destination node address (Destination NodeAddress), routing joint selection parameter W (Selection Measurement-W), The routing middle node address list (Middle Nodes Address list), routing valid time limit (Lifetime), as shown below. DestinationNode Address SelectionMeasurement--W Middle Nodes Address list Lifetime

6.路由失效信息6. Routing failure information

在数据传递过程中,如果发现由于网络拓扑结构变化等引起的路由错误,则相应的终端发出“路由失效信息包”(Route Error,RE),其结构为: RE Destination-address Node-address In the process of data transmission, if a routing error is found due to changes in the network topology, the corresponding terminal will send out a "route error packet" (Route Error, RE), whose structure is: RE Destination-address Node-address

Destination-address是失效路由的目的终端地址,Node-address是发生路由错误的中间节点地址。Destination-address is the destination terminal address of the invalid route, and Node-address is the address of the intermediate node where the routing error occurs.

二、路由搜索及维护2. Route search and maintenance

网络稳定性自适应的路由算法中,路由搜索机制如下:当终端发送数据包时,在数据包的包头写有此数据包的最终目的终端的地址,发送节点将根据其目的终端地址,在缓存路由表中查询相应的路由。如果能查找到有效路由,则发出此数据包;如果无有效路由,则发出RQ,进行路由搜索。In the network stability adaptive routing algorithm, the route search mechanism is as follows: when the terminal sends a data packet, the address of the final destination terminal of the data packet is written in the header of the data packet, and the sending node will use the address of the destination terminal in the cache. Look up the corresponding route in the routing table. If a valid route can be found, this data packet is sent; if there is no valid route, an RQ is sent to search for a route.

以图2为例,假设节点A需要搜索一条到节点E的路由,将由A发出RQ,在A节点的发射功率覆盖范围内的邻居节点将收到这一RQ包,每个RQ均有一个ID标号,标明其发出顺序。每个收到RQ包的节点也记录其处理过的到某一目的节点的RQ标号。Take Figure 2 as an example, assuming that node A needs to search for a route to node E, A will send out an RQ, and neighbor nodes within the coverage of the transmission power of node A will receive this RQ packet, and each RQ has an ID Labels, indicating the order in which they are issued. Each node that receives the RQ packet also records the RQ label it has processed to a certain destination node.

当某个节点收到RQ时,首先检查是否处理过到相同目的节点的RQ,只有当此RQ的标号比其记录中的到相同目的节点的RQ标号大时,此节点才继续处理此RQ包,否则将直接丢弃。之后此节点将检查RQ中已经列出了中间节点地址中是否包含其本身地址,如果已经包含,则证明这是一个环路路由,丢弃;不包含则继续处理。When a node receives an RQ, it first checks whether it has processed the RQ to the same destination node, and only when the RQ label of this RQ is larger than the RQ label to the same destination node in its record, the node continues to process this RQ packet , otherwise it will be discarded directly. Afterwards, this node will check whether the address of the intermediate node listed in the RQ contains its own address. If it has been included, it proves that this is a loop route and discarded; if it is not included, continue processing.

如果收到RQ的节点不是此RQ的目的节点并且在其缓存路由中无到RQ目的节点的有效路由,则检查RQ跳数是否超过了其Hop-limit,如果已经超过,则丢弃;如果未超过,则将其本身地址顺序写入RQ的中间节点地址列表,并继续向其邻居节点发播更新后的RQ信息包。If the node receiving the RQ is not the destination node of the RQ and there is no effective route to the destination node of the RQ in its cache route, check whether the RQ hop count exceeds its Hop-limit, if it has exceeded, discard it; if not , then write its own address into the RQ intermediate node address list in sequence, and continue to broadcast updated RQ information packets to its neighbor nodes.

如果节点是此RQ的目的节点(destination-address)或者此节点的缓存路由表中已经保存了有效的到目的节点的路由,则此节点复制相应的中间节点地址及其他参数值,发回路由应答信息包RP。当RQ的发起节点A收到RP时,将计算此路径的联合选择参数W,如下:If the node is the destination node (destination-address) of this RQ or a valid route to the destination node has been saved in the caching routing table of this node, the node will copy the corresponding intermediate node address and other parameter values, and send back the routing reply Packet RP. When the initiating node A of RQ receives the RP, it will calculate the joint selection parameter W of this path, as follows:

WW kk -- ijij == AA 11 ·&Center Dot; NN ++ 11 NN (( AA 22 ·· KK -- routeroute ++ AA 33 ·&Center Dot; VV -- routeroute )) ,,

并将此路由存入其路由缓存表,当A节点发送数据时将选择到相应目的节点的所有路由中W值最小的一个。And store this route in its routing cache table, when A node sends data, it will choose the one with the smallest W value among all the routes to the corresponding destination node.

当源节点发出RQ后,如果在一定的时间(Route-Discovery-Period)内未收到RP,则源节点将延迟一段时间(Route-Discovery-Delay)后重新发出路由搜索信息包RQ,并且将Route-Discovery-Delay值加倍,以防止频繁的发出路由搜索请求过度占用系统资源。After the source node sends out the RQ, if it does not receive the RP within a certain period of time (Route-Discovery-Period), the source node will re-send the route search information packet RQ after a period of time (Route-Discovery-Delay), and will The value of Route-Discovery-Delay is doubled to prevent frequent route search requests from excessively occupying system resources.

在图2所示的网络拓扑结构中,当节点A搜索到E的路由时,所有收到RP的中间节点也记录了相应的路径信息,因而当搜索到“A到E”的路径时,同时得到了“A到C”、“A到D”、“B到D”、“B到E”、“C到E”的路径。In the network topology shown in Figure 2, when node A searches for the route to E, all intermediate nodes that receive the RP also record the corresponding path information, so when the path from “A to E” is found, at the same time The paths "A to C", "A to D", "B to D", "B to E", "C to E" are obtained.

当某节点(例如节点C)向其下一跳节点(例如节点D)发送数据,但未收到D的接收确认(ACK)时,C将向D重发数据,如果连续发送次数超过最大重发次数(Retransmission-Limit),则认为“C到D”的这条路径已经出现错误,节点C将发出RE信息包,收到RE的节点将删除其缓存路由表中包含“C到D”路径的所有路由。When a node (such as node C) sends data to its next hop node (such as node D), but does not receive the acknowledgment (ACK) from D, C will resend the data to D, if the number of consecutive transmissions exceeds the maximum Retransmission-Limit, it is considered that the path "C to D" has an error, node C will send a RE packet, and the node receiving the RE will delete the path "C to D" in its cached routing table of all routes.

三、与AODV算法的性能比较3. Performance comparison with AODV algorithm

我们使用了GloMoSim网络仿真平台(GloMoSim:A ScalableNetwork Simulation Environment,Lokesh Bajaj,Mineo Takai,Ken Tang,Rajive Bagrodia,Mario Gerla)完成了性能仿真。仿真模型如下:We used the GloMoSim network simulation platform (GloMoSim: A ScalableNetwork Simulation Environment, Lokesh Bajaj, Mineo Takai, Ken Tang, Rajive Bagrodia, Mario Gerla) to complete the performance simulation. The simulation model is as follows:

●仿真地理区域范围160×160,终端数量16个;●The scope of the simulated geographical area is 160×160, and the number of terminals is 16;

●终端均匀随机分布:根据终端数量将仿真的地理范围均匀分成16个子区域,在每个子区域中为一个终端随机生成一个位置坐标;Uniform and random distribution of terminals: Divide the simulated geographic range into 16 sub-areas according to the number of terminals, and randomly generate a location coordinate for a terminal in each sub-area;

●终端移动模型:在其平均运动速率范围内(0~2米/秒)均匀随机生成某终端的运动速率,并均匀随机生成此终端的运动方向。当终端运动至仿真地理范围的边界时则遵循“左出右进”的规则计算其位置坐标;对于终端的匀速直线运动采用均匀抽样模拟,终端在某一点上的“停留时间”即为抽样间隔;●Terminal movement model: uniformly and randomly generate the movement speed of a certain terminal within the range of its average movement speed (0-2 m/s), and uniformly and randomly generate the movement direction of this terminal. When the terminal moves to the boundary of the simulated geographical range, its position coordinates are calculated according to the rule of "left out and right in"; for the uniform linear motion of the terminal, uniform sampling simulation is adopted, and the "stay time" of the terminal at a certain point is the sampling interval ;

●无线传输采用双指数衰落模型,衰落指数(-2,-4),阈值100m;●Wireless transmission adopts double exponential fading model, fading index (-2, -4), threshold 100m;

●无线载波频率5.2GHz,信道带宽20MHz,终端最大传输速率54Mbps,接收机灵敏度21dB,发射机功率0dBm(有效接收范围50m);●Wireless carrier frequency 5.2GHz, channel bandwidth 20MHz, terminal maximum transmission rate 54Mbps, receiver sensitivity 21dB, transmitter power 0dBm (effective receiving range 50m);

●天线增益0dB,背景温度270K,噪声系数10;●Antenna gain 0dB, background temperature 270K, noise factor 10;

●网络MAC及物理层采用IEEE802.11a协议,网络层以上采用TCP/IP协议,应用层采用CBR生成传输任务,单位数据包长2048bytes,终端的平均负载则随着CBR数据包发送时间间隔而变化,仿真时间400秒;●The network MAC and physical layer adopt IEEE802.11a protocol, the network layer above adopts TCP/IP protocol, and the application layer adopts CBR to generate transmission tasks. The unit data packet length is 2048bytes, and the average load of the terminal changes with the sending time interval of CBR data packets , the simulation time is 400 seconds;

●每个仿真点为相同条件下20次仿真结果的算术平均值;●Each simulation point is the arithmetic mean of 20 simulation results under the same conditions;

●仿真中,SAR算法的累积周期(Count-Cycle)值设为0.1秒;●In the simulation, the value of the accumulation cycle (Count-Cycle) of the SAR algorithm is set to 0.1 seconds;

●采用两组路由权重系数:(A1=1,A2=0.1,A3=0.05)和(A1=1,A2=0.1,A3=0)●Using two sets of routing weight coefficients: (A 1 =1, A 2 =0.1, A 3 =0.05) and (A 1 =1, A 2 =0.1, A 3 =0)

在第一组仿真中,图3给出了终端运动停留时间为0.5秒条件下,当网络负载不同时,网络稳定性自适应路由算法与AODV的饱和系统容量比较。In the first set of simulations, Figure 3 shows the comparison of the network stability adaptive routing algorithm and AODV's saturated system capacity under the condition that the terminal motion residence time is 0.5 seconds, when the network load is different.

在第二组仿真中,图4给出了网络负载一定(CBR数据包发送间隔为0.002秒,终端平均负载8274.747070Kb/s),终端的运动停留时间变化时(0.5秒~5秒),网络稳定性自适应路由算法与AODV的性能比较。仿真结果中的参数指标定义如下:In the second group of simulations, Figure 4 shows that the network load is constant (the CBR data packet sending interval is 0.002 seconds, and the terminal average load is 8274.747070Kb/s), and when the terminal’s motion residence time changes (0.5 seconds to 5 seconds), the network Performance Comparison of Stability Adaptive Routing Algorithm and AODV. The parameter indicators in the simulation results are defined as follows:

Offered Load:在5秒时间内生成32个CBR数据传输任务,CBR任务的发起时刻在0~5秒内均匀随机分布,发起终端和目的终端在16个终端内随机生成(每个任务的发起终端和目的终端不同),每个任务发出CBR数据包数量为100个,每个数据包为定长2048bytes(1byte=8bits)数据包发送间隔时间为T秒。Offered Load: 32 CBR data transmission tasks are generated within 5 seconds. The initiation time of CBR tasks is uniformly and randomly distributed within 0 to 5 seconds. The originating terminal and destination terminal are randomly generated among 16 terminals (the originating terminal of each task Different from the destination terminal), the number of CBR data packets sent by each task is 100, and each data packet is a fixed-length 2048bytes (1byte=8bits) data packet sending interval is T seconds.

Offeredoffered __ Loadload (( bitsbits // sthe s )) == 20482048 ** 88 TT

Node’s Throughput:对于某个终端k,记其在仿真时间内开始接收数据的时刻为T1,接收最后一个数据包的时刻为T2,在T1到T2时间内共接收数据包M个(每个数据包中含有2048*8bits信息),则终端N的Throughput为:Node's Throughput: For a certain terminal k, record the time when it starts to receive data within the simulation time as T 1 , the time when it receives the last data packet is T 2 , and receive a total of M data packets within the time period from T 1 to T 2 ( Each data packet contains 2048*8bits information), then the Throughput of terminal N is:

ThroughputThroughput __ nodenode __ kk (( bitsbits // sthe s )) == Mm ** (( 20482048 ** 88 )) TT 22 -- TT 11

Node’s Throughput是所有终端的Throughput的算术平均值:Node's Throughput is the arithmetic mean of the Throughput of all terminals:

Nodnod ee ′′ sthe s __ ThroughputThroughput == 11 NN ΣΣ ii -- 11 NN ThroughputThroughput __ Nodenode __ ii

Packets delivery ratio:所有被任务的目的节点成功接收的数据包数量与任务发起节点发出的所有数据包的比值。Packets delivery ratio: The ratio of the number of data packets successfully received by the destination node of the task to all data packets sent by the task initiation node.

Broken Link Number:在仿真时间内,已经建立的通信链路由于各种因素导致错误失效的链路数量。Broken Link Number: During the simulation time, the number of links that have established communication links that have failed due to various factors.

End-to-end Delay:对于任一个数据包,自传输任务的发起节点发出此数据包,到其被任务的最终目的终端正确接收为止,这段时间定义为此数据包的“端到端的传输延时”,End-to-end Delay定义为仿真时间内所有被成功传输的数据包的“端到端的传输延时”的算术平均值。End-to-end Delay: For any data packet, the period from when the data packet is sent by the initiating node of the transmission task until it is correctly received by the final destination terminal of the task is defined as the "end-to-end transmission" of this data packet Delay", End-to-end Delay is defined as the arithmetic mean of the "end-to-end transmission delay" of all successfully transmitted data packets within the simulation time.

Routing Control Cost:在仿真时间内,路由维护包(RQ、RP、RE)称为Control Packets,所有发出的数据包称为Data Packets,则Routing Control Cost: During the simulation time, routing maintenance packets (RQ, RP, RE) are called Control Packets, and all sent data packets are called Data Packets, then

RoutingRouting __ Controlcontrol __ Costcost == DataData __ PacketsPackets (( bitsbits )) Controlcontrol __ PacketsPackets (( bitsbits ))

当终端处于移动状态下,网络拓扑结构的变化成为影响网络性能的重要因素之一。在新路由算法的路由搜索时选择了稳定性较高的路由进行数据传递,因而其路由的有效时间更长,路由失败的概率较小,数据结果表明在这种仿真条件下,新路由算法的数据成功传输比率较AODV提高了约6.1%,终端的数据平均传输吞吐能力提高约7.3%,传输过程中链路失效数量下降17.6%,其数据平均传输延时较AODV降低7.4%,;同时由于在路由搜索建立时考虑了网络负载均衡问题,避免了局部的数据传输拥塞,也有较大提高。When the terminal is in a mobile state, the change of the network topology becomes one of the important factors affecting the network performance. In the route search of the new routing algorithm, the route with higher stability is selected for data transmission, so the effective time of the route is longer, and the probability of route failure is smaller. The data results show that under this simulation condition, the new routing algorithm’s Compared with AODV, the successful data transmission rate has increased by about 6.1%, the average data transmission throughput of the terminal has increased by about 7.3%, the number of link failures during transmission has decreased by 17.6%, and the average data transmission delay has decreased by 7.4% compared with AODV; at the same time, due to The problem of network load balancing is considered when the routing search is established, which avoids local data transmission congestion and greatly improves it.

在各种网络通信终端设备上,如无线网卡、终端内部集成的通信模块等,将其网络层(Network Layer)的路由算法更新为网络稳定性自适应的路由算法,即可构建成“网络稳定性自适应的自组织网络终端”。On various network communication terminal devices, such as wireless network cards, communication modules integrated in the terminal, etc., the routing algorithm of the network layer (Network Layer) is updated to a routing algorithm that adapts to network stability, and a "network stable network" can be built. Self-adaptive self-organizing network terminal".

Claims (2)

1.一种构建网络稳定性自适应的自组织网络终端的方法,其特征在于,它是一种以节点历史成功传递的数据包数量来衡量节点的稳定性,以节点的等待发送的数据缓存区占用率来衡量节点的负载,从而以综合考虑路径延时特性、路由稳定性和路径负载作为无线自组织网络路由标准的路由选择方法;包括步骤:1. A method for building network stability self-adaptive self-organizing network terminals, characterized in that it measures the stability of a node with the number of data packets successfully delivered in the history of the node, and caches the data waiting to be sent by the node The area occupancy rate is used to measure the load of the node, so as to comprehensively consider the path delay characteristics, routing stability and path load as the routing selection method of the wireless ad hoc network routing standard; including steps: (1)设定参数及其结构;(1) Setting parameters and their structure; (2)发送节点根据数据包包头中的最终目的终端的地址,在缓存路由表中查询相应的有效路由:(2) The sending node queries the corresponding effective route in the cache routing table according to the address of the final destination terminal in the packet header: 若查到有效路由,则发出此数据包;If a valid route is found, this packet is sent; 否则,发出“路由搜索信息包”,进行下一步的路由搜索;Otherwise, send out a "route search packet" to carry out the next step of route search; (3)当某邻居节点收到该“路由搜索信息包”时,将此“路由搜索信息包”的标号和其记录中的到相同目的节点的已处理的最大“路由搜索信息包”标号作比较:(3) When a neighbor node receives the "routing search information packet", the label of this "routing search information packet" and the processed maximum "routing search information packet" to the same destination node in its records are used as Compare: 若此“路由搜索信息包”的标号大,则此节点继续处理此“路由搜索信息包”包,同时将此“路由搜索信息包”的标号记录为到相同目的节点的已经处理的最大“路由搜索信息包”标号;If the label of the "route search packet" is large, the node continues to process the "route search packet", and at the same time records the label of the "route search packet" as the largest processed "route packet" to the same destination node. Search information package" label; 否则直接丢弃此“路由搜索信息包”;Otherwise, directly discard this "routing search packet"; (4)此节点检查“路由搜索信息包”中已经列出的中间节点地址中是否包含其本身地址:(4) This node checks whether the intermediate node address listed in the "routing search packet" contains its own address: 若已经保护,便是一个环路路由,丢弃;否则,继续处理;If it has been protected, it is a loop route and discarded; otherwise, continue processing; (5)当收到“路由搜索信息包”的节点不是此“路由搜索信息包”的目的节点时,检查“路由搜索信息包”的跳数是否超过了其“最大跳数限制”:(5) When the node receiving the "route search packet" is not the destination node of this "route search packet", check whether the hop count of the "route search packet" has exceeded its "maximum hop limit": 若已经超过,则丢弃;否则,将其本身地址顺序写入“路由搜索信息包”的中间节点地址列表,并继续向邻居节点发送更新后的“路由搜索信息包”;If it has exceeded, then discard; otherwise, its own address is written into the intermediate node address list of "routing search information packet" in sequence, and continue to send updated "routing search information packet" to neighbor nodes; (6)若收到“路由搜索信息包”的某个节点已经是此“路由搜索信息包”的目的节点,或者遵循步骤(2)查到其保存的路由缓存表中有到相应目的节点的有效路由信息,则此节点复制相应的中间节点地址及上述其他参数值,发回“路由应答信息包”;(6) If a certain node that receives the "routing search information packet" is already the destination node of this "routing search information packet", or follow step (2) to find out that there is a corresponding destination node in the route cache table saved in it. If the routing information is valid, the node copies the corresponding intermediate node address and other parameter values above, and sends back the "routing response packet"; (7)当“路由搜索信息包”的发起节点即源节点收到“路由应答信息包”时,便计算此路径的联合选择参数(W),并将路由信息存入其路由缓存表;(7) When the initiating node of the "routing search information packet", that is, the source node, receives the "routing response information packet", it calculates the joint selection parameter (W) of this path, and stores the routing information into its routing cache table; (8)当源节点以后再发送数据时,将选择到达相应目的节点的所有路由中W值最小的一个;(8) When the source node sends data later, it will select the one with the smallest W value among all the routes to the corresponding destination node; (9)当源节点发出“路由搜索信息包”后,若在一定的“路由搜索时间阈值”内未收到“路由应答信息包”,则源节点将延迟一段“路由搜索后退时间”后重新发出“路由搜索信息包”,并且把上述两个时间值加倍,以防止频繁发出路由搜索而过度占用系统资源。(9) After the source node sends out the "routing search information packet", if it does not receive the "routing response information packet" within a certain "routing search time threshold", the source node will delay a period of "routing search back-off time" and restart Send out "route search information packet", and double the above two time values to prevent frequent route search and excessive occupation of system resources. 2、如权利要求1所述的方法,其特征在于,所述设定参数及其结构,包括:2. The method according to claim 1, wherein said setting parameters and their structures include: 1)终端稳定度:每个终端以在指定周期内其成功传递的数据包作为其稳定度的衡量依据,其参数结构为:1) Terminal stability: Each terminal uses the data packets successfully transmitted within a specified period as the basis for measuring its stability, and its parameter structure is: a)累计周期:由系统指定,用Count-Cycle表示;a) Accumulation cycle: specified by the system, represented by Count-Cycle; 在一个计数周期内成功传递的数据包数量,用Packet-Counter表示;The number of packets successfully delivered in a counting cycle, represented by Packet-Counter; b)路径的稳定度V-node:b) Path stability V-node: V-node=0.1·V-node+Packets-Counter;V-node=0.1 V-node+Packets-Counter; 2)终端负载:终端缓存中等待发送的数据包所占的比例;2) Terminal load: the proportion of data packets waiting to be sent in the terminal cache; 3)路由搜索信息:终端进行路由搜索时发出的“路由搜索信息包”,其结构为:3) Route search information: the "route search information packet" sent by the terminal when performing route search, its structure is: a)包编号,用ID表示:由发起此路由搜索信息包的终端给出“路由搜索信息包”编号;a) Packet number, represented by ID: the "routing search packet" serial number is given by the terminal that initiates the routing search packet; b)源节点地址,用Source-address表示:发起此“路由搜索信息包”的终端的地址;b) Source node address, represented by Source-address: the address of the terminal that initiates this "routing search packet"; c)目的节点地址,用Destination-address表示:此“路由搜索信息包”目的终端的地址;c) destination node address, represented by Destination-address: the address of the destination terminal of this "routing search information packet"; d)最大跳数限制,用Hop-Limit(N)表示:此“路由搜索信息包”搜索的最大跳数限制值;d) maximum hop limit, represented by Hop-Limit (N): the maximum hop limit value searched by this "route search packet"; e)路由负荷,用K-route表示:路由负载参数;e) route load, represented by K-route: route load parameter; f)路由稳定度,用V-route表示:路由稳定性参数;f) route stability, represented by V-route: route stability parameter; g)第i个中间节点地址,用Address-i表示:路径中第i个中间节点的地址;g) address of the i-th intermediate node, represented by Address-i: the address of the i-th intermediate node in the path; V-route=V-route+Vi-node;Vi-node为节点i的稳定性参数;V-route=V-route+V i -node; V i -node is the stability parameter of node i; K-route=K-route+Ki-node;Ki-node为节点i的负载参数;K-route=K-route+K i -node; K i -node is the load parameter of node i; 4)路由应答信息:当搜索到一条到达目的终端的路由时,相应的节点发回的“路由应答信息包”,其中:包编号、源节点地址、目的节点地址、路由负荷、路由稳定度、中间节点地址等变量值分别是此“路由应答信息包”对应的“路由搜索信息包”中的相应变量值;4) Routing response information: when a route to the destination terminal is found, the corresponding node sends back the "routing response information packet", including: packet number, source node address, destination node address, routing load, routing stability, The variable values such as the intermediate node address are respectively the corresponding variable values in the "routing search information packet" corresponding to the "routing response information packet"; 5)缓存路由表:每个终端保存的一定时期内搜索到的有效路由信息,其参数结构含有:5) Cache routing table: each terminal saves the effective routing information searched within a certain period of time, and its parameter structure contains: a)目的节点地址;a) destination node address; b)路由联合选择参数;b) routing joint selection parameters; c)路由中间节点地址列表;c) routing intermediate node address list; d)路由有效时限;d) Valid time limit for routing; 其中,第k个从节点i到节点j的路由的“路由联合选择参数”用Wk-ij表示,Among them, the "route joint selection parameter" of the kth route from node i to node j is represented by Wk-ij, WW kk -- ijij == AA 11 ·· NN ++ 11 NN (( AA 22 ·&Center Dot; KK -- routeroute ++ AA 33 ·&Center Dot; VV -- routeroute )) 其中:in: N:此路由的总跳数;N: the total number of hops for this route; A1:路径距离权重系数,设定;A1: Path distance weight coefficient, setting; A2:“负载均衡”权重系数,设定;A2: "Load Balance" weight coefficient, setting; A3:“稳定性”权重系数,设定;A3: "Stability" weight coefficient, setting; 6)路由失效信息:由路由错误导致的相应终端发出的“路由失效信息包”,其参数结构为:失效路由的目的终端地址,发生路由错误的中间节点地址。6) Routing failure information: the "routing failure information packet" sent by the corresponding terminal caused by the routing error, its parameter structure is: the destination terminal address of the failed routing, and the address of the intermediate node where the routing error occurred.
CN 03158155 2003-09-15 2003-09-15 Method for constructing stabilized self-adaption self-organization network terminal Expired - Fee Related CN1222180C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03158155 CN1222180C (en) 2003-09-15 2003-09-15 Method for constructing stabilized self-adaption self-organization network terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03158155 CN1222180C (en) 2003-09-15 2003-09-15 Method for constructing stabilized self-adaption self-organization network terminal

Publications (2)

Publication Number Publication Date
CN1491055A CN1491055A (en) 2004-04-21
CN1222180C true CN1222180C (en) 2005-10-05

Family

ID=34157044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03158155 Expired - Fee Related CN1222180C (en) 2003-09-15 2003-09-15 Method for constructing stabilized self-adaption self-organization network terminal

Country Status (1)

Country Link
CN (1) CN1222180C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7995489B2 (en) * 2004-06-14 2011-08-09 The Boeing Company Topology and quality of service management apparatus and methods for communication networks
US7336927B2 (en) * 2004-06-30 2008-02-26 Alcatel Ad-hoc extensions of a cellular air interface
KR100637071B1 (en) * 2004-09-24 2006-10-23 삼성전자주식회사 Wireless network system for dynamically adjusting communication path, and method
JP4445829B2 (en) * 2004-10-13 2010-04-07 株式会社エヌ・ティ・ティ・ドコモ Mobile terminal and mobile communication method
CN100566292C (en) * 2005-09-22 2009-12-02 中国科学院计算技术研究所 Radio network group relationship routing system and method that part connects
CN101005694B (en) * 2006-01-16 2010-12-08 清华大学 Mobility management method and device for mobile ad hoc network
CN101420364B (en) * 2007-10-26 2011-12-28 华为技术有限公司 Link selection method, method and device for determining stability metric value of link
CN101291295B (en) * 2008-06-10 2010-11-24 北京科技大学 A Probabilistic Routing Method Based on Discontinuously Connected Ad Hoc Networks with Limited Delay
CN102118312B (en) * 2011-01-27 2012-07-04 南京邮电大学 Hierarchical Ad hoc on-demand distance vector (AODV) routing method
CN102523616B (en) * 2011-12-29 2014-05-28 重庆邮电大学 Cross-layer QOS (Quality of Service) routing method based on node occupancy rate in wireless sensor network
CN103997493A (en) * 2014-05-22 2014-08-20 江苏通利智能科技股份有限公司 Wireless device forwarding and networking method
TW201547239A (en) * 2014-06-03 2015-12-16 Univ Nat Cheng Kung Switchless network topology system for parallel computation and method thereof
CN104869605A (en) * 2015-03-10 2015-08-26 重庆邮电大学 Emergency communication-based AODV route stability algorithm improvement method

Also Published As

Publication number Publication date
CN1491055A (en) 2004-04-21

Similar Documents

Publication Publication Date Title
CN109936866B (en) A QoS-Based Opportunistic Routing Method for Wireless Mesh Networks
CN1299478C (en) Route searching of detgredd of node based on radio self-organizing network and maitenance method thereof
CN1906898A (en) Method and system for efficient routing in AD-HOC networks
CN1886941A (en) Predictive AD-HOC
CN1886942A (en) Method and system for routing traffic in AD HOC networks
Arnous et al. A proposed routing protocol for mobile ad hoc networks
CN1222180C (en) Method for constructing stabilized self-adaption self-organization network terminal
CN1650573A (en) Determining Quality of Service (QoS) Routing for Mobile Private Networks
CN1856962A (en) Mobile ad hoc network with quality-of-service protocol hierarchy and associated method
CN1658586A (en) Packet transmission system, wireless base station, and method for optimizing packet transmission path
CN109548112B (en) Wireless sensor network distributed routing method based on multi-dimensional path quality factor
CN105577547A (en) A Routing Method Based on Multiple Qos in Mobile Ad Hoc Networks
Karthikeyan et al. Performance comparison of broadcasting methods in mobile ad hoc network
CN101431810A (en) Cross-layer cooperated routing method supporting multi-speed transmission in Ad Hoc network
CN1645863A (en) Ad Hoc network functional layer structure and route method for supporting multi-speed rate transmission
Preetha et al. A probabilistic approach to reduce the route establishment overhead in AODV algorithm for MANET
CN108093457A (en) The method for searching route and its system of a kind of wireless self-networking
CN108112046A (en) A kind of routing scheduling method based on vehicle-mounted internet
CN1738270A (en) A Construction Method of Self-Organizing Network Backbone Structure
Srivastava et al. A novel multi metric QoS routing protocol for MANET
Manoharan et al. A novel multi-hop B3G architecture for adaptive gateway management in heterogeneous wireless networks
Yang et al. Improving Route Stability in Mobile Ad hoc Networks Based on Link Lifetime.
CN1761231A (en) The construction method of the distributed dynamic cellular route of mobile self-grouping network
CN104394554B (en) A kind of prediction type low delay Geographic routing method
CN1849597A (en) A method for providing link reliability measurements to routing protocols in ad hoc wireless networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1063704

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20051005

Termination date: 20150915

EXPY Termination of patent right or utility model