CN102065513B - Method for improving accuracy of AdHoc network neighbor node list - Google Patents
Method for improving accuracy of AdHoc network neighbor node list Download PDFInfo
- Publication number
- CN102065513B CN102065513B CN 201110002031 CN201110002031A CN102065513B CN 102065513 B CN102065513 B CN 102065513B CN 201110002031 CN201110002031 CN 201110002031 CN 201110002031 A CN201110002031 A CN 201110002031A CN 102065513 B CN102065513 B CN 102065513B
- Authority
- CN
- China
- Prior art keywords
- node
- hello message
- neighbor
- hello
- sending
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004364 calculation method Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 6
- 101100243399 Caenorhabditis elegans pept-2 gene Proteins 0.000 claims description 4
- 230000003044 adaptive effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种提高AdHoc网络邻节点列表精确性的方法,主要解决现有HELLO方法应用于AdHoc网络时存在的邻节点列表精确性低、发送HELLO消息分组开销大的问题。其实现步骤包括:所有节点初始化、记录当前邻节点列表,而后第一次发送HELLO消息;每个节点在第n次发送前,记录并对比邻节点列表,计算新、老邻节点数的比值、对HELLO消息发送间隔进行调节,并按调节后的间隔发送HELLO消息;收到HELLO消息的节点按照该HELLO消息的来源更新邻节点列表,设置超时时间和倒计时器;若某节点在计时至0时仍未收到其邻节点列表中某邻节点的HELLO消息,则删除该邻节点信息。本发明与现有的HELLO方法相比能够进一步提高邻节点列表的精确性,降低网络开销,且使用范围广可移植性强。
The invention discloses a method for improving the accuracy of the adjacent node list of the AdHoc network, which mainly solves the problems of low accuracy of the adjacent node list and large overhead for sending HELLO message groups when the existing HELLO method is applied to the AdHoc network. The implementation steps include: initializing all nodes, recording the current neighbor node list, and then sending the HELLO message for the first time; each node records and compares the neighbor node list before sending for the nth time, and calculates the ratio of the number of new and old neighbor nodes, Adjust the sending interval of the HELLO message, and send the HELLO message according to the adjusted interval; the node receiving the HELLO message updates the neighbor node list according to the source of the HELLO message, and sets the timeout time and countdown timer; if a node counts down to 0 If the HELLO message of a neighbor node in the neighbor node list is still not received, the neighbor node information is deleted. Compared with the existing HELLO method, the present invention can further improve the accuracy of the adjacent node list, reduce network overhead, and has wide application range and strong portability.
Description
技术领域 technical field
本发明涉及移动无线通信领域,具体说是Ad Hoc网络中的节点的邻节点列表方法,可用于路由的建立和维持。The invention relates to the field of mobile wireless communication, in particular to a neighbor node list method of a node in an Ad Hoc network, which can be used for establishing and maintaining routes.
技术背景 technical background
在Ad Hoc网络中,绝大部分的路由协议的下一跳选择都是基于邻节点列表的,而邻节点列表一般是通过节点周期性的收、发HELLO消息建立和维持的。但是由于节点的移动性,使得邻节点列表中的信息经常滞后,这就影响了路由协议的性能。因此提高邻节点列表的精确性是个重要的课题。In the Ad Hoc network, the next hop selection of most routing protocols is based on the neighbor list, and the neighbor list is generally established and maintained by nodes periodically receiving and sending HELLO messages. However, due to the mobility of nodes, the information in the neighbor list often lags behind, which affects the performance of routing protocols. Therefore, improving the accuracy of the neighbor list is an important issue.
影响邻节点列表的精确性的因素主要有HELLO消息的发送间隔/频率和邻节点列表中邻节点的超时时间Tth。近些年许多学者在调节HELLO消息的发送间隔/频率方面做了很多工作,在一定程度上提高了邻节点列表的精确性。Factors affecting the accuracy of the neighbor list mainly include the sending interval/frequency of the HELLO message and the timeout time T th of the neighbors in the neighbor list. In recent years, many scholars have done a lot of work on adjusting the sending interval/frequency of HELLO messages, which has improved the accuracy of the neighbor list to a certain extent.
J.Moy.OSPF-Open Shortest Path First,March 1994.RFC 158提出了最基本的HELLO方法是采用每个节点以固定的频率:f=1/d,d为HELLO消息的发送间隔长度,周期性的向周围广播HELLO消息,当节点收到一个新的邻节点的HELLO消息时就根据其中的信息更新自己的邻节点列表;若超过Tth时间没有收到邻节点的HELLO消息,则把该邻节点从自己的邻节点列表中删除。这种方法虽然简单,但由于采用固定f、Tth因此不合适移动网络使用。J.Moy.OSPF-Open Shortest Path First, March 1994.RFC 158 proposed the most basic HELLO method is to use each node with a fixed frequency: f=1/d, d is the length of the sending interval of the HELLO message, periodicity broadcast HELLO message to the surrounding, when a node receives a new neighbor node's HELLO message, it will update its neighbor node list according to the information in it; The node is removed from its neighbor list. Although this method is simple, it is not suitable for mobile networks because of the fixed f and T th .
在基本的HELLO方法的基础上,B.Karp and H.T.Kung,GPSR:Greedy PerimeterStateless Routing for Wireless Networks,In Proc.of ACM/IEEE MOBICOM′00,Boston,Massachusetts,USA,2000,pp.243-254提出将HELLO消息的发送时刻随机化的方法。具体为:若在基本的HELLO方法中,节点发送HELLO消息的时刻是B,则该方法中节点发送HELLO消息的时刻为在区间[B-0.5d,B+0.5d]内任意选取的一个时刻。这种方法能够有效地避免HELLO消息的碰撞,但仍是不能够根据节点的移动状况实时的调节HELLO消息的发送间隔。On the basis of the basic HELLO method, B.Karp and H.T.Kung, GPSR: Greedy Perimeter Stateless Routing for Wireless Networks, In Proc.of ACM/IEEE MOBICOM'00, Boston, Massachusetts, USA, 2000, pp.243-254 proposed A method to randomize the sending time of the HELLO message. Specifically: if in the basic HELLO method, the time when the node sends the HELLO message is B, then the time when the node sends the HELLO message in this method is a time randomly selected in the interval [B-0.5d, B+0.5d] . This method can effectively avoid the collision of HELLO messages, but it still cannot adjust the sending interval of HELLO messages in real time according to the mobile status of nodes.
后来Venkata C.Giruka,Mukesh Singhal,Hello Protocols for Ad-Hoc Networks:Overhead and Accuracy tradeoffs,In Proc.of the Sixth IEEE International Symposium on aWorld of Wireless Mobile and Multimedia Networks(WoWMoM’05)提出自适应型的HELLO方法,即一个节点每移动s米发出一个HELLO消息。因此,当节点移动速度快时,其发送HELLO消息的速度高;当节点移动的速度慢时,其发送HELLO消息的速度低。为了控制发送HELLO消息的速度不致过高或者过低,使用MIN-BEACON-INTERVA和MAX-BEACON-INTERVAL作为发送间隔的最小和最大值。每个节点所发送的HELLO消息中都包含包含该节点的标识号ID、速度和方向信息。以ID为x,y的节点为例,当节点x收到y的一个HELLO消息时,利用y的HELLO消息中的速度和方向信息,x会评估y节点可以从其邻节点列表中删除的时间。自适应型HELLO方法的性能依赖于移动距离s。若s太小,则邻节点列表将会很精确,但是开销很大。若s较大,则开销低,邻节点信息滞后。根据s的取值可以在开销和精确性上做折中。这种方法的主要优点是节点的HELLO消息能够适应节点速度或者说是移动性的变化,另一个优点是智能邻节点超时评估,节点能够基于速度和方向来评估一个邻节点超时与否。但是这种协议只考虑了本地节点的速度,没有综合考虑周围节点的速度,因此对邻节点列表的精确性的提高不大。Later Venkata C.Giruka, Mukesh Singhal, Hello Protocols for Ad-Hoc Networks: Overhead and Accuracy tradeoffs, In Proc.of the Sixth IEEE International Symposium on a World of Wireless Mobile and Multimedia Networks (WoWMoM'05) proposed an adaptive HELLO method, that is, a node sends a HELLO message every time it moves s meters. Therefore, when the node moves fast, the speed of sending HELLO messages is high; when the node moves slowly, the speed of sending HELLO messages is low. In order to control the speed of sending HELLO messages from being too high or too low, use MIN-BEACON-INTERVA and MAX-BEACON-INTERVAL as the minimum and maximum values of the sending interval. The HELLO message sent by each node includes the identification number ID, speed and direction information of the node. Taking nodes with IDs x and y as an example, when node x receives a HELLO message from y, using the speed and direction information in y's HELLO message, x will evaluate the time when node y can be removed from its neighbor list . The performance of the adaptive HELLO method depends on the moving distance s. If s is too small, the neighbor list will be accurate, but expensive. If s is large, the overhead is low, and the information of adjacent nodes lags behind. Depending on the value of s, a trade-off can be made between overhead and accuracy. The main advantage of this method is that the node's HELLO message can adapt to changes in node speed or mobility. Another advantage is intelligent neighbor node timeout evaluation. Nodes can evaluate whether a neighbor node times out based on speed and direction. However, this protocol only considers the speed of the local node and does not comprehensively consider the speed of the surrounding nodes, so the accuracy of the neighbor list is not greatly improved.
因此F.Ingelrest,N.Mitton,and D.Simplot-Ryl,,A Turnover based Adaptive HELLOProtocol for Mobile Ad Hoc and Sensor Networks,15th International Symposium onModeling,Analysis,and Simulation of Computer and Telecommunication Systems,mascots,2007,pp.9-14.提出了一种基于邻节点数目变化而调节HELLO消息发送频率的方法。每次节点发送HELLO消息前会计算邻节点列表中新来节点与现有节点的比值r,若r较小说明HELLO消息发送频率f太高,邻节点中没有这么大的变化,因此应该减小f;若r较大,说明f太低,邻节点中的变化很快,应该适当增大f。这种方法虽说简单,综合考虑了本地节点与周围节点的速度,无需额外的设备就能够有效地提高邻节点列表的精确性,但是这种方法仍存在有以下点缺点:Therefore F.Ingelrest, N.Mitton, and D.Simplot-Ryl,, A Turnover based Adaptive HELLOProtocol for Mobile Ad Hoc and Sensor Networks, 15th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, mascots, 2007, .9-14. A method is proposed to adjust the frequency of HELLO message transmission based on the change of the number of neighbor nodes. Every time a node sends a HELLO message, it calculates the ratio r of the new node to the existing node in the neighbor list. If r is small, it means that the frequency f of the HELLO message is too high, and there is no such a big change in the neighbor nodes, so it should be reduced f; if r is large, it means that f is too low, and the changes in neighboring nodes are very fast, so f should be increased appropriately. Although this method is simple, considering the speed of the local node and the surrounding nodes, it can effectively improve the accuracy of the neighbor node list without additional equipment, but this method still has the following disadvantages:
1、该方法会出现节点连续发送HELLO消息,或者是永不发送HELLO消息的情况,这不符合实际的网络情况,并且会增大网络开销;1. In this method, nodes will send HELLO messages continuously, or never send HELLO messages, which does not conform to the actual network situation and will increase network overhead;
2、这种方法仅从调节节点HELLO消息的发送间隔/频率方面入手,影响了对邻节点列表精确性的提高。2. This method only starts from the aspect of adjusting the sending interval/frequency of node HELLO messages, which affects the improvement of the accuracy of the neighbor node list.
发明内容 Contents of the invention
本发明的目的在于克服上述已有方法的缺点,提出一种提高Ad Hoc网络邻节点列表精确性的方法,以正确发送HELLO消息,减小网络开销,提高邻节点列表的精确性。The purpose of the present invention is to overcome the shortcoming of above-mentioned existing method, propose a kind of method that improves the accuracy of Ad Hoc network neighbor list, to send HELLO message correctly, reduce network overhead, improve the accuracy of neighbor list.
为实现上述目的,本发明的技术方案包括:To achieve the above object, technical solutions of the present invention include:
(1)HELLO消息的发送步骤:(1) The sending steps of the HELLO message:
1a)网络中每个节点第一次发送HELLO消息时,随机选择一个发送时间t1、发送间隔d,每个节点都记录下此时自己的邻节点列表table1,然后发送HELLO消息,所有节点发送的HELLO消息中都包含发送节点最新的发送间隔d的信息;1a) When each node in the network sends a HELLO message for the first time, it randomly selects a sending time t 1 and a sending interval d, and each node records its own neighbor node list table 1 at this time, and then sends a HELLO message, all nodes The sent HELLO message contains the information of the latest sending interval d of the sending node;
1b)当每个节点第n次发送自己的HELLO消息时,记录此时间tn的邻节点列表tablen,根据所存储的第n-1次邻节点列表tablen-1和第n次邻节点列表tablen判别出新、老邻节点,计算新邻节点数与老邻节点数的比值r;1b) When each node sends its own HELLO message for the nth time, record the adjacent node list table n at this time t n , according to the stored n-1th adjacent node list table n-1 and nth adjacent node The list table n distinguishes the new and old neighbor nodes, and calculates the ratio r of the number of new neighbor nodes to the number of old neighbor nodes;
其中tn=tn-1+d,tn-1为该节点第n-1次发送HELLO消息的时间,d表示该节点的HELLO消息发送间隔;Wherein t n =t n-1 +d, t n-1 is the time when the node sends the HELLO message for the n-1th time, and d represents the HELLO message sending interval of the node;
1c)根据新、老邻节点数的比值r,按照公式对发送间隔进行调节,并利用调节后的发送间隔d′发送HELLO消息,再转入步骤1b);1c) According to the ratio r of the number of new and old neighbor nodes, according to the formula Adjust the sending interval, and use the adjusted sending interval d' to send the HELLO message, and then turn to step 1b);
其中d1表示HELLO消息发送间隔的初调值,其计算公式为Where d 1 represents the initial adjustment value of the HELLO message sending interval, and its calculation formula is
g(r)表示HELLO消息发送间隔的调节强度,其计算公式为g(r) represents the adjustment strength of the HELLO message sending interval, and its calculation formula is
ropt表示r的最佳值,当r为最佳值时,发送间隔不需要变化,即d′=d;r opt represents the optimal value of r, when r is the optimal value, the sending interval does not need to be changed, that is, d'=d;
(2)HELLO消息的接收步骤:(2) Steps for receiving the HELLO message:
2a)若一个节点收到一个HELLO消息时,判断这个HELLO消息的来源:2a) If a node receives a HELLO message, determine the source of the HELLO message:
若该节点收到的HELLO消息是由其邻节点列表中未记录的节点所发出,则If the HELLO message received by the node is sent by a node that is not recorded in its neighbor list, then
在邻节点列表中新建该节点的信息,设置该邻节点的超时时间Tth=λ*d,并设置该邻节点的倒计时器值为Tth,开始倒计时;Create the information of this node in the adjacent node list, set the timeout time T th =λ*d of this adjacent node, and set the countdown timer value of this adjacent node as T th , start counting down;
若该节点收到的HELLO消息是其邻节点列表中已记录的节点所发出,则更新列表中相应节点的信息,调节邻节点列表中相应节点的超时时间为Tth=λ*d,并设置该邻节点的倒计时器值为Tth,开始倒计时;If the HELLO message that this node receives is sent by the node recorded in its neighbor list, then update the information of the corresponding node in the list, adjust the timeout period of the corresponding node in the neighbor list to be T th =λ*d, and set The countdown timer value of the neighboring node is T th , and the countdown starts;
2b)若一个节点在其邻节点列表中某邻节点的倒计时器计时至0时,仍未收到该邻节点发出的HELLO消息,则从其邻节点列表中删除该邻节点信息;2b) If a node has not received the HELLO message sent by the neighbor node when the countdown timer of a neighbor node in its neighbor node list counts down to 0, then delete the neighbor node information from its neighbor node list;
2c)若一个节点没有收到任何HELLO消息,则等待直至收到一个HELLO消息,判断该HELLO消息的来源,转入步骤2a);2c) If a node does not receive any HELLO message, then wait until receiving a HELLO message, judge the source of the HELLO message, and proceed to step 2a);
其中λ表示网络能容忍的HELLO消息丢失个数,该个数根据具体的网络场景设置;Where λ represents the number of lost HELLO messages that the network can tolerate, and the number is set according to specific network scenarios;
(3)任何节点一旦收到停止信号,则停止发送HELLO消息、接收HELLO消息和删除邻节点列表中的节点信息的动作,该节点所有工作结束。(3) Once any node receives the stop signal, it stops sending HELLO messages, receiving HELLO messages and deleting node information in the neighbor node list, and all the work of this node ends.
2、根据权利要求1所述的提高Ad Hoc网络邻节点列表精确性的方法,其中步骤1a)所述的HELLO消息的格式,是在基本的HELLO消息格式上改进的,即增加了发送节点的发送间隔信息。2. The method for improving the accuracy of Ad Hoc network neighbor list according to claim 1, wherein the format of the HELLO message described in step 1a) is improved on the basic HELLO message format, that is, the number of sending nodes has been increased. Send interval information.
本发明具有如下优点:The present invention has the following advantages:
(1)本发明由于采用简单的本地计算即可综合考虑周围节点的速度/移动性,因此不需要节点的速度等附加信息,无需外加任何设备,如GPS;(1) The present invention can comprehensively consider the speed/mobility of the surrounding nodes due to the simple local calculation, so no additional information such as the speed of the nodes is needed, and no additional equipment, such as GPS;
(2)本发明由于调节了HELLO消息的发送间隔和超时时间两方面,能够进一步提高邻节点列表的精确性,为路由判决提供可靠的保障;(2) The present invention can further improve the accuracy of the adjacent node list due to the adjustment of the sending interval and the overtime of the HELLO message, providing reliable guarantee for routing decisions;
(3)本发明由于设置了HELLO消息发送间隔的上、下限,因此节省了不必要的HELLO消息的发送,符合实际运行的情况,在尽量不影响邻节点列表精确性的条件下节约了带宽,降低了网络开销;(3) The present invention saves the sending of unnecessary HELLO messages owing to setting the upper and lower limits of the HELLO message sending interval, conforms to the actual operation situation, and saves bandwidth under the condition of not affecting the accuracy of the adjacent node list as far as possible, Reduced network overhead;
(4)本发明可用于任何需要使用HELLO方法的移动无线网络,适用范围广,可移植性强。(4) The present invention can be used in any mobile wireless network that needs to use the HELLO method, and has a wide application range and strong portability.
附图说明 Description of drawings
图1是本发明的流程图;Fig. 1 is a flow chart of the present invention;
图2是本发明的HELLO消息帧格式示意图。Fig. 2 is a schematic diagram of the HELLO message frame format of the present invention.
图3是本发明的新、老邻节点判别示意图;Fig. 3 is the new and old adjacent node discrimination schematic diagram of the present invention;
具体实施方式 Detailed ways
本发明主要包含HELLO消息的接收过程、发送过程和结束操作三部分。The present invention mainly includes three parts: the receiving process, the sending process and the end operation of the HELLO message.
参照图1,本发明的具体实施步骤如下:With reference to Fig. 1, concrete implementation steps of the present invention are as follows:
一、HELLO消息的发送1. Sending of HELLO message
步骤1:网络中每个节点第一次发送HELLO消息时,随机选择一个发送时间t1、发送间隔d,每个节点都记录下此时自己的邻节点列表table1,然后发送HELLO消息。Step 1: When each node in the network sends a HELLO message for the first time, randomly select a sending time t 1 and a sending interval d, each node records its own neighbor node list table 1 at this time, and then sends a HELLO message.
如图2所示,本发明的HELLO消息帧格式是在基本的HELLO消息帧格式的基础上改进的,即在基本的HELLO消息中添加了发送节点的最新发送间隔信息,该发送间隔信息用于超时时间Tth的计算。图2中HELLO消息帧中省略内容可以根据具体的路由协议要求添加或删减,如当本发明用于需要位置、速度信息的车载Ad Hoc网络VANET中的路由协议时,省略部分则为发送节点的位置和速度信息。As shown in Figure 2, the HELLO message frame format of the present invention is improved on the basis of the basic HELLO message frame format, that is, the latest sending interval information of the sending node is added in the basic HELLO message, and the sending interval information is used for Calculation of timeout T th . In the HELLO message frame among Fig. 2, omitted content can be added or deleted according to specific routing protocol requirements, as when the present invention is used for the routing protocol in the vehicle-mounted Ad Hoc network VANET that needs position, velocity information, omitted part then is sending node position and velocity information.
步骤2:每个节点第n次发送自己的HELLO消息时,判别新、老邻节点,计算比值r。Step 2: When each node sends its own HELLO message for the nth time, distinguish the new and old neighbor nodes, and calculate the ratio r.
2a)每个节点第n次发送自己的HELLO消息时,记录此时间tn的邻节点列表tablen,其中tn=tn-1+d,tn-1为该节点第n-1次发送HELLO消息的时间,d表示该节点的HELLO消息发送间隔;2a) When each node sends its own HELLO message for the nth time, record the neighbor node list table n at this time t n , where t n =t n-1 +d, t n-1 is the n-1th time of the node The time to send the HELLO message, d represents the sending interval of the node's HELLO message;
2b)根据所存储的最新的两个邻节点列表判别出新、老邻节点,如图3所示,其中tablen-1表示一个节点所存储的第n-1次发送HELLO消息时的邻节点列表,tablen表示该节点所存储的第n次发送HELLO消息时的邻节点列表,一个节点仅存储两个最新的邻节点列表。新邻节点是指在所述tablen-1中不存在,而在tablen中存在的节点,老邻节点是指该两表中均有的节点;2b) Discriminate new and old neighbor nodes according to the latest two neighbor node lists stored, as shown in Figure 3, where table n-1 represents the neighbor node stored by a node when sending the HELLO message for the n-1th time list, table n indicates the neighbor node list stored by the node when sending the HELLO message for the nth time, and a node only stores two latest neighbor node lists. A new neighbor node refers to a node that does not exist in the table n-1 but exists in the table n , and an old neighbor node refers to a node that exists in the two tables;
2c)计算新邻节点数与老邻节点数的比值r,该比值r是由新邻节点数和老邻节点数确定的:当新邻节点数为0时,不论老邻节点数为多少,r为0;当新邻节点数不为0,老邻节点数为0时,r为∞;其余情况下r的值为新邻节点数除以老邻节点数。2c) Calculate the ratio r of the number of new neighbor nodes to the number of old neighbor nodes, the ratio r is determined by the number of new neighbor nodes and the number of old neighbor nodes: when the number of new neighbor nodes is 0, regardless of the number of old neighbor nodes, r is 0; when the number of new neighbor nodes is not 0 and the number of old neighbor nodes is 0, r is ∞; in other cases, the value of r is the number of new neighbor nodes divided by the number of old neighbor nodes.
步骤3:根据新、老邻节点数的比值r,计算新的HELLO消息发送间隔d′:Step 3: Calculate the new HELLO message sending interval d′ according to the ratio r of the number of new and old neighbor nodes:
其中,d1表示HELLO消息发送间隔的初调值,其计算公式为:Among them, d 1 represents the initial adjustment value of the HELLO message sending interval, and its calculation formula is:
g(r)表示HELLO消息发送间隔的调节强度,是由新、老邻节点数目比值r偏离r的最佳值ropt的程度决定的,其计算公式为g(r) represents the adjustment intensity of the HELLO message sending interval, which is determined by the degree to which the ratio r of the number of new and old neighbor nodes deviates from the optimal value r opt of r, and its calculation formula is
ropt表示r的最佳值,当r为最佳值时,发送间隔不需要变化;r opt indicates the optimal value of r, when r is the optimal value, the sending interval does not need to be changed;
该初调值d1是根据新、老邻节点数目的比值r和发送间隔之间的逻辑关系确定,该逻辑关系如下:The initial adjustment value d1 is determined according to the logical relationship between the ratio r of the number of new and old neighbor nodes and the sending interval, and the logical relationship is as follows:
当一个节点的新、老邻节点数目的比值r小于r的最佳值ropt时,说明该节点的周围邻节点的变化慢,该节点无需频繁的发送HELLO消息,因此应减慢该节点HELLO消息的发送,即增大HELLO消息发送间隔初调值;When the ratio r of the number of new and old neighbors of a node is less than the optimal value ropt of r, it means that the change of the neighbors around the node is slow, and the node does not need to send HELLO messages frequently, so the node should slow down the HELLO The sending of the message is to increase the initial adjustment value of the sending interval of the HELLO message;
当一个节点的新、老邻节点数目的比值r大于r的最佳值ropt时,说明该节点的周围邻节点的变化很快,但当前该节点HELLO消息的发送速度太慢跟不上周围邻节点的变化,因此应加快HELLO消息的发送,即减小HELLO消息发送间隔初调值;When the ratio r of the number of new and old neighbors of a node is greater than the optimal value ropt of r, it means that the surrounding neighbors of the node change rapidly, but the sending speed of the HELLO message of the node is too slow to keep up with the surrounding nodes. Neighboring node changes, so the sending of the HELLO message should be accelerated, that is, the initial adjustment value of the sending interval of the HELLO message should be reduced;
dmax表示HELLO消息发送间隔上限,这个发送间隔上限是为防止某些节点会长时间甚至永远不发送HELLO消息的情况而设置的,当一个节点的HELLO发送间隔的初调值d1大于发送间隔上限dmax时,调节d′=dmax;d max indicates the upper limit of the sending interval of the HELLO message. This upper limit of the sending interval is set to prevent some nodes from sending the HELLO message for a long time or even never. When the initial adjustment value d 1 of a node’s HELLO sending interval is greater than the sending interval When the upper limit d max , adjust d'=d max ;
dmin表示HELLO消息发送间隔下限,这个发送间隔下限是为防止某些节点会连续发送HELLO消息造成大的网络开销的情况而设置的,当一个节点的HELLO消息发送间隔的初调值d1小于发送间隔下限dmin时,调节d′=dmin。d min indicates the lower limit of the sending interval of HELLO messages. This lower limit of the sending interval is set to prevent some nodes from continuously sending HELLO messages and causing large network overhead. When the initial adjustment value d 1 of a node’s HELLO message sending interval is less than When the lower limit of the sending interval is d min , adjust d'=d min .
只要能够满足上述的逻辑关系,公式d1和g(r)的形式,dmin、dmax和ropt的值可根据具体的网络场景设置,如当本发明用于节点通信距离为150m的移动Ad Hoc网络MANET中时,可设置As long as the above-mentioned logical relationship can be satisfied, the values of d min , d max and r opt in the form of formulas d 1 and g(r) can be set according to specific network scenarios, such as when the present invention is used for mobile nodes with a communication distance of 150m When in Ad Hoc network MANET, it can be set
ropt=0.04,dmin=1s,dmax=8s。r opt =0.04, d min =1 s, d max =8 s.
步骤4:利用新的发送间隔d′发送HELLO消息,再转入步骤2。Step 4: Use the new sending interval d' to send the HELLO message, and then go to step 2.
二、HELLO消息的接收Second, the reception of HELLO message
步骤5:若一个节点收到一个HELLO消息时,判断这个HELLO消息的来源:Step 5: If a node receives a HELLO message, determine the source of the HELLO message:
若该节点收到的HELLO消息是由其邻节点列表中未记录的节点所发出,则在邻节点列表中新建该节点的信息,设置该邻节点的超时时间Tth=λ*d,并设置该邻节点的倒计时器值为Tth,开始倒计时;If the HELLO message that this node receives is sent by the node that does not record in its adjacent node list, then the information of this node is newly created in the adjacent node list, the timeout time T th =λ*d of setting this adjacent node, and set The countdown timer value of the neighboring node is T th , and the countdown starts;
若该节点收到的HELLO消息是其邻节点列表中已记录的节点所发出,则更新列表中相应节点的信息,调节邻节点列表中相应节点的超时时间为Tth=λ*d,并设置该邻节点的倒计时器值为Tth,开始倒计时;If the HELLO message that this node receives is sent by the node recorded in its neighbor list, then update the information of the corresponding node in the list, adjust the timeout period of the corresponding node in the neighbor list to be T th =λ*d, and set The countdown timer value of the neighboring node is T th , and the countdown starts;
由于每个节点的HELLO消息发送间隔是实时改变的,因此根据本发明的超时时间调节公式Tth=λ*d,每个节点的邻节点列表中记录的每个邻节点的超时时间是跟随自己的HELLO发送间隔自适应调节的,这种自适应调节更能适应网络中节点的移动性,从而提高邻节点列表的精确性,Because the HELLO message transmission interval of each node is real-time change, therefore according to the time-out adjustment formula T th =λ*d of the present invention, the time-out time of each adjacent node recorded in the adjacent node list of each node is to follow oneself The adaptive adjustment of the HELLO sending interval, this adaptive adjustment can better adapt to the mobility of nodes in the network, thereby improving the accuracy of the neighbor node list,
其中,λ表示网络能容忍的HELLO消息丢失个数,该个数根据具体的网络场景设置。如当本发明用于节点通信距离为150m的移动Ad Hoc网络MANET中时,可设置λ=2。Among them, λ represents the number of lost HELLO messages that the network can tolerate, and the number is set according to specific network scenarios. When the present invention is used in the mobile Ad Hoc network MANET of 150m when the node communication distance, can set λ=2.
步骤6:若一个节点在其邻节点列表中某邻节点的倒计时器计时至0时,仍未收到该邻节点发出的HELLO消息,则从其邻节点列表中删除该邻节点信息。Step 6: If a node has not received a HELLO message from a neighbor node when the countdown timer of a neighbor node in its neighbor node list counts down to 0, delete the neighbor node information from its neighbor node list.
步骤7:若一个节点没有收到任何HELLO消息,则等待直至收到一个HELLO消息,判断该HELLO消息的来源,转入步骤5。Step 7: If a node does not receive any HELLO message, wait until it receives a HELLO message, determine the source of the HELLO message, and turn to step 5.
三、结束操作3. End the operation
步骤8:任何节点一旦收到停止信号,则停止发送HELLO消息、接收HELLO消息和删除邻节点列表中的节点信息的动作,该节点所有工作结束。Step 8: Once any node receives the stop signal, it stops sending HELLO messages, receiving HELLO messages and deleting node information in the neighbor node list, and all the work of the node ends.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110002031 CN102065513B (en) | 2011-01-06 | 2011-01-06 | Method for improving accuracy of AdHoc network neighbor node list |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110002031 CN102065513B (en) | 2011-01-06 | 2011-01-06 | Method for improving accuracy of AdHoc network neighbor node list |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102065513A CN102065513A (en) | 2011-05-18 |
CN102065513B true CN102065513B (en) | 2013-06-12 |
Family
ID=44000549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110002031 Expired - Fee Related CN102065513B (en) | 2011-01-06 | 2011-01-06 | Method for improving accuracy of AdHoc network neighbor node list |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102065513B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658650B (en) * | 2016-12-06 | 2021-01-08 | 台州市吉吉知识产权运营有限公司 | Routing information maintenance method and device based on ZigBee network |
CN109818866B (en) * | 2019-03-22 | 2021-04-16 | 武汉大学 | Energy awareness and multidimensional parameter perception service quality guarantee routing method |
CN111065146B (en) * | 2019-12-19 | 2023-06-06 | 西安邮电大学 | A Route Determination Method for Ad Hoc Networks Based on Link Quality |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1889467A (en) * | 2006-07-28 | 2007-01-03 | 西安电子科技大学 | Distributing wireless network key node detecting method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7990897B2 (en) * | 2009-03-11 | 2011-08-02 | Sony Corporation | Method and apparatus for a wireless home mesh network with network topology visualizer |
-
2011
- 2011-01-06 CN CN 201110002031 patent/CN102065513B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1889467A (en) * | 2006-07-28 | 2007-01-03 | 西安电子科技大学 | Distributing wireless network key node detecting method |
Non-Patent Citations (2)
Title |
---|
Ad Hoc 网络中基于方向性天线的分布式拓扑控制算法;贺鹏等;《软件学报》;20070630;第18卷(第6期);1308-1318 * |
贺鹏等.Ad Hoc 网络中基于方向性天线的分布式拓扑控制算法.《软件学报》.2007,第18卷(第6期),1308-1318. |
Also Published As
Publication number | Publication date |
---|---|
CN102065513A (en) | 2011-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10631228B2 (en) | Information dissemination in a multi-technology communication network | |
CN106961707B (en) | A Multi-Factor Decision Routing Protocol Based on Connectivity in VANET | |
CN108600942A (en) | A kind of method for routing of unmanned plane ad hoc network | |
CN107071843B (en) | Mobile Ad Hoc Network Clustering Method | |
CN106713482B (en) | The method of node automatic adjustment broadcast beacon interval applied to mobile car networking | |
CN106572512B (en) | Greedy forwarding method in GPSR (gigabit passive start relay) routing protocol of vehicle-mounted network | |
CN109640369A (en) | A kind of vehicle-mounted net reliable communication method based on adaptive power | |
CN101394353B (en) | Data packet competition forwarding method used in vehicle-mounted Ad hoc network | |
Mou et al. | A modified AODV routing protocol based on route stability in MANET | |
CN102065513B (en) | Method for improving accuracy of AdHoc network neighbor node list | |
Alizadeh et al. | Improving routing in vehicular Ad-hoc network with VIKOR algorithm | |
CN108495249B (en) | Ad hoc network method for routing based on location information low-power consumption | |
US20130159554A1 (en) | Method of performing distributed synchronization in ad hoc network system | |
CN108391249B (en) | Traffic sensing routing method applied to Internet of vehicles | |
KR100915050B1 (en) | System and method for managing communication links between nodes in a wireless communication network | |
WO2017024952A1 (en) | Method and apparatus for searching for route of device-to-device wireless mesh network | |
CN108112046A (en) | A kind of routing scheduling method based on vehicle-mounted internet | |
CN105263121B (en) | Method for routing based on crossroad in a kind of chance In-vehicle networking | |
KR101359455B1 (en) | Method of determining message transmission period | |
CN104185164B (en) | Method for routing based on content integrity and geographical crossing in vehicle self-organizing network | |
CN103298063B (en) | Neighbor node discover method in a kind of vehicle self-organizing network | |
Li et al. | Efficient MAC protocol for drive‐thru Internet in a sparse highway environment | |
Periyasamy et al. | Performance comparison and evaluation of different multipath routing protocols based on various scenario and traffic patterns for mobile ad hoc networks | |
Abedi et al. | Distributed routing for vehicular ad hoc networks: Throughput-delay tradeoff | |
KR20100003527A (en) | Method for broadcasting in wireless ad hoc 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130612 Termination date: 20210106 |