CN103108374B - A kind of energy-saving routing algorithm of mixed structure mine emergency management and rescue wireless mesh network - Google Patents
A kind of energy-saving routing algorithm of mixed structure mine emergency management and rescue wireless mesh network Download PDFInfo
- Publication number
- CN103108374B CN103108374B CN201310033955.2A CN201310033955A CN103108374B CN 103108374 B CN103108374 B CN 103108374B CN 201310033955 A CN201310033955 A CN 201310033955A CN 103108374 B CN103108374 B CN 103108374B
- Authority
- CN
- China
- Prior art keywords
- mesh
- node
- terminal
- state
- routing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 claims abstract description 27
- 230000008439 repair process Effects 0.000 claims abstract description 22
- 230000007246 mechanism Effects 0.000 claims description 11
- 230000004044 response Effects 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 description 28
- 238000000034 method Methods 0.000 description 13
- 238000004088 simulation Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005265 energy consumption Methods 0.000 description 4
- 239000007787 solid Substances 0.000 description 4
- 235000008694 Humulus lupulus Nutrition 0.000 description 3
- 239000003245 coal Substances 0.000 description 3
- 238000011084 recovery Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000008263 repair mechanism Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种混合结构矿井应急救援无线网状网的节能路由算法,包括以下步骤:步骤1:设置节点类型信息;步骤2:将Mesh无线终端的通信状态分为了三种类型,即“内部”状态、“边缘”状态以及“修复”状态;步骤3:每个Mesh终端节点维护一个Mesh骨干路由节点列表;步骤4:若发现第一Mesh终端处于“内部”状态,则直接根据Mesh骨干路由节点列表信息,选择与网关距离最近的邻居骨干路由节点,建立到达网关的路由。
The invention discloses an energy-saving routing algorithm of a mixed-structure mine emergency rescue wireless mesh network, which includes the following steps: step 1: setting node type information; step 2: dividing the communication status of Mesh wireless terminals into three types, namely ""Internal" state, "Edge" state, and "Repair"state; Step 3: Each Mesh terminal node maintains a list of Mesh backbone routing nodes; Step 4: If the first Mesh terminal is found to be in the "Internal" state, then directly according to the Mesh backbone routing node list; Routing node list information, select the neighbor backbone routing node with the closest distance to the gateway, and establish a route to the gateway.
Description
技术领域technical field
本发明涉及网络技术领域,尤其涉及一种混合结构矿井应急救援无线网状网的节能路由算法。The invention relates to the field of network technology, in particular to an energy-saving routing algorithm for a mixed-structure mine emergency rescue wireless mesh network.
背景技术Background technique
无线网状网,又称为无线Mesh网络,是一种能够实现自组网、自配置的无线多跳中继网络。无线网状网扩展不依赖有线基础设施,能够快速组网,具有灵活、便携、环境适应能力强等应用特性,是构建煤矿井下应急救援无线通信网络的优势技术。其中,基于混合网状网结构的井下应急救援无线网状网因其网络路径冗余度高,具有较强的传输鲁棒性,成为了研究热点。基于混合网状网结构的煤矿井下应急救援无线网状网结构如图1所示。A wireless mesh network, also known as a wireless Mesh network, is a wireless multi-hop relay network that can realize self-organizing and self-configuring. The expansion of wireless mesh network does not rely on wired infrastructure, and it can quickly form a network. It has application characteristics such as flexibility, portability, and strong environmental adaptability. It is an advantageous technology for building a wireless communication network for emergency rescue in coal mines. Among them, the underground emergency rescue wireless mesh network based on the hybrid mesh network structure has become a research hotspot because of its high network path redundancy and strong transmission robustness. The wireless mesh network structure for coal mine emergency rescue based on the hybrid mesh network structure is shown in Figure 1.
在基于混合网状网结构的矿井应急救援无线Mesh网络中,无线Mesh终端与Mesh骨干路由节点一样具有路由转发功能。由于现有无线网状网路由协议不区分网络节点类型,因此无线Mesh终端在执行其应用功能的基础上需承担额外的路由转发任务,这对无线Mesh终端的能量配置提出了较高要求。而在井下应急救援场景中,无线终端设备的能量储备较低,终端能耗问题严重制约了矿井应急救援通信系统的工作时长。In the mine emergency rescue wireless Mesh network based on the hybrid mesh network structure, the wireless Mesh terminal has the same routing and forwarding function as the Mesh backbone routing node. Since the existing wireless mesh network routing protocols do not distinguish between network node types, wireless Mesh terminals need to undertake additional routing and forwarding tasks on the basis of performing their application functions, which puts higher requirements on the energy configuration of wireless Mesh terminals. In the underground emergency rescue scenario, the energy reserve of wireless terminal equipment is low, and the terminal energy consumption problem seriously restricts the working hours of the mine emergency rescue communication system.
发明内容Contents of the invention
本发明解决的技术问题在于提供一种路由算法,基于该算法可在保证矿井应急救援无线网状网的路由效率的前提下,尽量减少网络中的无线Mesh终端的中继能量消耗。The technical problem solved by the present invention is to provide a routing algorithm based on which the relay energy consumption of wireless Mesh terminals in the network can be reduced as much as possible on the premise of ensuring the routing efficiency of the mine emergency rescue wireless mesh network.
本发明实施例公开了一种混合结构矿井应急救援无线网状网的节能路由算法,包括以下步骤:The embodiment of the present invention discloses an energy-saving routing algorithm for a wireless mesh network for mine emergency rescue with a hybrid structure, including the following steps:
步骤1:设置节点类型信息,记为T,并规定T=1表示Mesh骨干路由节点,T=2表示无线Mesh终端节点;Step 1: Set the node type information, denoted as T, and stipulate that T=1 means the Mesh backbone routing node, and T=2 means the wireless Mesh terminal node;
步骤2:将Mesh无线终端的通信状态分为了三种类型,即“内部”状态、“边缘”状态以及“修复”状态,所述“内部”状态是指Mesh终端的通信范围内具有可达网关的骨干路由节点的情况;所述“边缘”状态是指Mesh终端的通信范围内不包含任何Me s h骨干路由节点的场景;所述“修复”状态是指Mesh终端的通信范围内包含Mesh骨干路由节点,但是这些骨干路由节点发生了故障或者与网关连接中断的情况;Step 2: Divide the communication status of the Mesh wireless terminal into three types, namely "internal" status, "edge" status and "repair" status. The "internal" status refers to the reachable gateway within the communication range of the Mesh terminal The situation of the backbone routing nodes; the "edge" state refers to the scene that does not contain any Mesh backbone routing nodes within the communication range of the Mesh terminal; the "repair" state refers to the Mesh backbone within the communication range of the Mesh terminal Routing nodes, but these backbone routing nodes fail or are disconnected from the gateway;
步骤3:每个Mesh终端节点维护一个Mesh骨干路由节点列表,该列表记录了当前Mesh终端通信范围内的骨干路由节点的地址、有效期以及到达网关的跳数信息;若Mesh终端的Mesh骨干路由节点列表为空时,则说明当前节点为“边缘”状态;若不为空,且具有可达网关的骨干路由邻居节点,则表明当前节点为“内部”状态;否则,说明当前节点处于“修复”状态;Step 3: Each Mesh terminal node maintains a Mesh backbone routing node list, which records the address, validity period, and hop count information of the backbone routing nodes within the communication range of the current Mesh terminal; if the Mesh backbone routing node of the Mesh terminal When the list is empty, it means that the current node is in the "edge" state; if it is not empty, and there are backbone routing neighbor nodes that can reach the gateway, it means that the current node is in the "internal" state; otherwise, it means that the current node is in the "repair" state state;
步骤4:若发现第一Mesh终端处于“内部”状态,则直接根据Mesh骨干路由节点列表信息,选择与网关距离最近的邻居骨干路由节点,建立到达网关的路由。Step 4: If it is found that the first Mesh terminal is in the "internal" state, then directly select the neighbor backbone routing node with the closest distance to the gateway according to the Mesh backbone routing node list information, and establish a route to the gateway.
进一步,作为优选,在所述步骤4之后还包括以下步骤:Further, as preferably, after said step 4, the following steps are also included:
若发现第一Mesh终端处于“边缘”状态,则将启动基于请求-应答方式的路由发现机制,生成RREQ消息并向外广播;If it is found that the first Mesh terminal is in the "edge" state, it will start the route discovery mechanism based on the request-response mode, generate a RREQ message and broadcast it to the outside;
接收到该RREQ信息的第二Mesh终端检查本地状态,若检查结果为“内部”状态,则首先根据RREQ消息更新第二Mesh终端到达第一Mesh终端以及上一跳节点的反向路由,然后根据自身到达网关的路由信息,产生一个RREP,并沿反向路径发送给第一Mesh终端;若检查结果为“边缘”状态或者“修复”状态,首先根据RREQ消息更新第二Mesh终端到达第一Mesh终端以及上一跳节点的反向路由,然后设置链路类型的路径权重,在第二Mesh终端更新RREQ消息中的节点类型信息、请求类型消息、跳数、链路类型的路径权重以及相关的地址序列号信息,并将更新后的RREQ消息向外广播。The second Mesh terminal receiving the RREQ information checks the local state, and if the check result is "internal" state, first update the reverse route from the second Mesh terminal to the first Mesh terminal and the previous hop node according to the RREQ message, and then according to Generate an RREP for the routing information that reaches the gateway by itself, and send it to the first Mesh terminal along the reverse path; if the check result is "edge" or "repair", first update the second Mesh terminal to reach the first Mesh according to the RREQ message The terminal and the reverse route of the previous hop node, and then set the path weight of the link type, and update the node type information, request type message, hop number, path weight of the link type and related information in the RREQ message on the second Mesh terminal Address serial number information, and broadcast the updated RREQ message to the outside.
进一步,作为优选,在所述步骤4之后还包括以下步骤:Further, as preferably, after said step 4, the following steps are also included:
若发现第一Mesh终端处于“修复”状态,则将启动基于请求-应答方式的路由发现机制,生成RREQ消息并向外广播;If it is found that the first Mesh terminal is in the "repair" state, it will start the route discovery mechanism based on the request-response mode, generate a RREQ message and broadcast it to the outside;
若接收节点为第二Mesh终端时,接收到该RREQ信息的第二Mesh终端检查本地状态,若检查结果为“内部”状态,则首先根据RREQ消息更新第二Mesh终端到达第一Mesh终端以及上一跳节点的反向路由,然后根据自身到达网关的路由信息,产生一个RREP,并沿反向路径发送给第一Mesh终端;若检查结果为“边缘”状态或者“修复”状态,首先根据RREQ消息更新第二Mesh终端到达第一Mesh终端以及上一跳节点的反向路由,然后设置链路类型的路径权重,在第二Mesh终端更新RREQ消息中的节点类型信息、请求类型消息、跳数、链路类型的路径权重以及相关的地址序列号信息,并将更新后的RREQ消息向外广播;If the receiving node is the second Mesh terminal, the second Mesh terminal that receives the RREQ information checks the local state, if the check result is "internal" state, then firstly update the second Mesh terminal according to the RREQ message to reach the first Mesh terminal and the upper Reverse routing of one-hop nodes, and then generate an RREP according to the routing information of itself to the gateway, and send it to the first Mesh terminal along the reverse path; if the check result is "edge" or "repair" state, first according to RREQ The message updates the reverse route from the second Mesh terminal to the first Mesh terminal and the previous hop node, then sets the path weight of the link type, and updates the node type information, request type message, and hop count in the RREQ message on the second Mesh terminal , the path weight of the link type and the relevant address serial number information, and broadcast the updated RREQ message to the outside;
若接收节点为骨干路由节点时,首先根据RREQ消息更新第二Mesh终端到达第一Mesh终端以及上一跳节点的反向路由,然后在第二Mesh终端更新RREQ消息中的节点类型信息、跳数、链路类型的路径权重以及相关的地址序列号等信息,并将更新后的RREQ消息继续向外广播。If the receiving node is a backbone routing node, first update the reverse route from the second Mesh terminal to the first Mesh terminal and the previous hop node according to the RREQ message, and then update the node type information and hop count in the RREQ message on the second Mesh terminal , the path weight of the link type, and the relevant address sequence number and other information, and continue to broadcast the updated RREQ message to the outside.
本发明通过采用基于“状态”的路由选择机制,减少了RREQ路由请求消息的使用几率与广播范围,减少了Mesh终端用于中继广播RREQ消息的能量开销,同时降低了网络中的路由发现请求带宽开销,增加了路由效率,提高了网络的吞吐性能、稳定性与实时性。The present invention reduces the use probability and broadcast range of RREQ routing request messages by adopting a "state"-based routing selection mechanism, reduces the energy overhead of Mesh terminals for relaying and broadcasting RREQ messages, and simultaneously reduces routing discovery requests in the network Bandwidth overhead increases routing efficiency and improves network throughput performance, stability and real-time performance.
附图说明Description of drawings
当结合附图考虑时,通过参照下面的详细描述,能够更完整更好地理解本发明以及容易得知其中许多伴随的优点,但此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定,其中:A more complete and better understanding of the invention, and many of its attendant advantages, will readily be learned by reference to the following detailed description when considered in conjunction with the accompanying drawings, but the accompanying drawings illustrated herein are intended to provide a further understanding of the invention and constitute A part of the present invention, the exemplary embodiment of the present invention and its description are used to explain the present invention, and do not constitute an improper limitation of the present invention, wherein:
图1为基于混合网状网结构的矿井应急救援无线网络结构图。Figure 1 is a structural diagram of a mine emergency rescue wireless network based on a hybrid mesh network structure.
图2(a)为终端通信状态为“内部”状态的路由发现示例图。Figure 2(a) is an example diagram of route discovery when the terminal communication status is "internal".
图2(b)为终端通信状态为“边缘”状态的路由发现示例图。Figure 2(b) is an example diagram of route discovery when the terminal communication status is "edge".
图2(c)为终端通信状态为“修复”状态的路由发现示例图。Figure 2(c) is an example diagram of route discovery when the terminal communication status is "repair".
图3为RAODV协议中的HELLO报文格式。Figure 3 shows the format of the HELLO message in the RAODV protocol.
图4为RAODV中RREQ的报文格式。Figure 4 shows the message format of RREQ in RAODV.
图5为网络吞吐量性能仿真曲线。Figure 5 is a network throughput performance simulation curve.
图6为网络端到端时延性能仿真曲线。Fig. 6 is a network end-to-end delay performance simulation curve.
具体实施方式Detailed ways
参照图1-6对本发明的实施例进行说明。Embodiments of the present invention will be described with reference to FIGS. 1-6.
为使上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
根据矿井应急救援通信场景中无线终端主要与网关通信的应用特性,本发明设计基于以下应用背景:According to the application characteristics of the wireless terminal mainly communicating with the gateway in the mine emergency rescue communication scene, the design of the present invention is based on the following application background:
● 所有Mesh终端仅与网关进行通信;● All Mesh terminals only communicate with the gateway;
● Mesh骨干路由节点与网关之间采用先应式路由协议,任意骨干路由节点日常维护到达网关的路由信息。● A proactive routing protocol is used between the Mesh backbone routing node and the gateway, and any backbone routing node maintains the routing information to the gateway on a daily basis.
按需距离矢量路由协议(ad hoc on demand distance vector routing,AODV)是无线网状网使用最为广泛的路由协议,且有研究表明该协议相比DSR、OLSR等路由协议在煤矿井下环境中的传输性能最好,据此,本发明延用了AODV路由协议中的基于请求-应答机制的路由发现与路由修复模式,并以减少无线Mesh终端的路由转发任务为目的,进行了具体的路由机制设计,因此本发明又称为改进型The on-demand distance vector routing protocol (ad hoc on demand distance vector routing, AODV) is the most widely used routing protocol in wireless mesh networks, and some studies have shown that compared with routing protocols such as DSR and OLSR, the transmission of this protocol in the coal mine environment The performance is the best. Accordingly, the present invention extends the route discovery and route repair mode based on the request-response mechanism in the AODV routing protocol, and designs a specific routing mechanism for the purpose of reducing the routing and forwarding tasks of wireless Mesh terminals. , so the present invention is also called the improved
AODV路由协议,简称RAODV路由协议。该协议的基本路由原理如下:AODV routing protocol, referred to as RAODV routing protocol. The basic routing principle of the protocol is as follows:
本发明根据无线Mesh终端的通信状态,将矿井应急救援无线网状网中的任意无线终端的通信状态分为了三种类型,即“内部”状态、“边缘”状态以及“修复”状态,分别如图2(a)、2(b)与2(c)中所示。在此基础上RAODV定义了Mesh终端在不同状态下的路由发现方式。According to the communication state of the wireless Mesh terminal, the present invention divides the communication state of any wireless terminal in the mine emergency rescue wireless mesh network into three types, namely "internal" state, "edge" state and "repair" state, respectively as follows Shown in Figures 2(a), 2(b) and 2(c). On this basis, RAODV defines the routing discovery methods of Mesh terminals in different states.
“内部”状态是指当前Mesh终端的通信范围内具有可达网关的骨干路由节点的情况。此时,采用ROADV的Mesh终端将采用类似AP模式的通信方式,直接通过骨干路由节点接入骨干传输网络,然后利用骨干传输网络实现与网关的信息交互。该方法避免了通过广播路由请求消息(Route Request,RREQ)进行路由发现,从而减少了Mesh终端对RREQ消息的中继广播能耗。图2(a)中的终端节点S即处于“内部”状态,其采用RAODV路由策略与网关D建立的路径如图中实线箭头所示,可见该路径不包含Mesh终端节点。The "internal" state refers to the situation that there are backbone routing nodes with reachable gateways within the communication range of the current Mesh terminal. At this time, the Mesh terminal using ROADV will adopt a communication method similar to the AP mode, directly access the backbone transmission network through the backbone routing node, and then use the backbone transmission network to realize information interaction with the gateway. This method avoids routing discovery by broadcasting a route request message (Route Request, RREQ), thereby reducing the relay broadcast energy consumption of the RREQ message by the Mesh terminal. The terminal node S in Figure 2(a) is in the "internal" state, and the path established with the gateway D by using the RAODV routing strategy is shown by the solid arrow in the figure, and it can be seen that the path does not include the Mesh terminal node.
“边缘”状态是指Mesh终端的通信范围内不包含任何Mesh骨干路由节点的场景。此时,Mesh终端无法直接通过Mesh骨干路由节点接入骨干传输网络,需启用基于请求-应答方式的路由发现机制,向外广播RREQ请求消息,通过借助相邻的无线Mesh终端接入骨干传输网络。如图2(b)中节点S即为“边缘”节点,在RAODV策略下,其向外广播RREQ路由请求,该请求到达Mesh终端R时,由于R处于“内部”状态,所以R将停止对RREQ继续广播,并向S返回经由它接入骨干传输网络的传输路径,最后建立的路径如图中实线箭头所示。The "edge" state refers to the scenario where the communication range of the Mesh terminal does not contain any Mesh backbone routing nodes. At this time, the Mesh terminal cannot directly access the backbone transmission network through the Mesh backbone routing node. It is necessary to enable the route discovery mechanism based on the request-response mode, broadcast the RREQ request message to the outside, and access the backbone transmission network through the use of adjacent wireless Mesh terminals. . As shown in Figure 2(b), the node S is the "edge" node. Under the RAODV strategy, it broadcasts the RREQ routing request to the outside. When the request reaches the Mesh terminal R, since R is in the "internal" state, R will stop RREQ continues to broadcast, and returns to S the transmission path through which it accesses the backbone transmission network, and the finally established path is shown by the solid arrow in the figure.
“修复”状态是指Mesh终端的通信范围内包含Mesh骨干路由节点,但是这些骨干路由节点发生了故障或者与网关连接中断的情况,如图2(c)所示。此时,采用RAODV路由策略的Mesh终端同样启用基于请求-应答方式的路由修复机制,向外广播RREQ消息,并在所发现的路径中选择经过Mesh终端数目最少的路径作为最终路由返回源节点S,最终建立的路径如图中实线箭头所示。The "repair" state means that the communication range of the Mesh terminal contains Mesh backbone routing nodes, but these backbone routing nodes fail or are disconnected from the gateway, as shown in Figure 2(c). At this time, the Mesh terminal using the RAODV routing strategy also enables the route repair mechanism based on the request-response method, broadcasts the RREQ message, and selects the path with the least number of Mesh terminals among the discovered paths as the final route back to the source node S , the final established path is shown by the solid arrow in the figure.
为了实现上述不同“状态”下的路由过程,RAODV对AODV的路由协议内容进行了如下改进。In order to realize the routing process in the above different "states", RAODV has made the following improvements to the content of the routing protocol of AODV.
①为了使路由选择过程能够识别节点类型,RAODV在原AODV路由机制中引入了节点类型信息,记为T,并规定T=1表示Mesh骨干路由节点,T=2表示无线Mesh终端节点。①In order to enable the routing selection process to identify the node type, RAODV introduces the node type information into the original AODV routing mechanism, denoted as T, and stipulates that T=1 means the Mesh backbone routing node, and T=2 means the wireless Mesh terminal node.
②为了方便获得当前Mesh终端的通信状态,RAODV在原有邻居列表的基础上增加了Mesh骨干路由节点列表,其数据结构如下:②In order to obtain the communication status of the current Mesh terminal conveniently, RAODV adds a Mesh backbone routing node list on the basis of the original neighbor list, and its data structure is as follows:
每个Mesh终端节点维护一个Mesh骨干路由节点列表,该列表记录了当前Mesh终端通信范围内的骨干路由节点的地址、有效期以及到达网关的跳数等信息。若当前Mesh终端的Mesh骨干路由节点列表为空时,则说明当前节点为“边缘”状态;若不为空,且具有可达网关的骨干路由邻居节点,则表明为当前节点为“内部”状态;否则,说明当前节点处于“修复”状态。Each Mesh terminal node maintains a Mesh backbone routing node list, which records information such as the address of the backbone routing node within the communication range of the current Mesh terminal, the validity period, and the number of hops to the gateway. If the Mesh backbone routing node list of the current Mesh terminal is empty, it means that the current node is in the "edge" state; if it is not empty, and there are backbone routing neighbor nodes that can reach the gateway, it means that the current node is in the "internal" state ; Otherwise, the current node is in the "repair" state.
③Mesh骨干路由节点列表通过HELLO消息进行维护。AODV中原HELLO消息不区分节点类型,且不传递本地到达网关的跳数信息。为了能够建立Mesh骨干路由节点列表,RAODV在原HELLO消息的保留字段中取出了2比特用于表示节点类型信息,如图3所示;同时,规定当T=1时,HELLO消息中的“跳数”字段等于本地到达网关的跳数,从而在不增加HELLO数据包大小的情况下实现了节点类型与到达网关跳数信息的传递。当收到T=1的HELLO消息时,Mesh终端将根据消息信息进行本地Mesh骨干路由节点列表的维护与更新。③The list of Mesh backbone routing nodes is maintained through HELLO messages. The original HELLO message in AODV does not distinguish between node types, and does not transmit the hop count information of the local gateway. In order to establish the Mesh backbone routing node list, RAODV took out 2 bits from the reserved field of the original HELLO message to indicate the node type information, as shown in Figure 3; at the same time, it stipulates that when T=1, the "hop count" in the HELLO message " field is equal to the hops to the gateway locally, so that the transmission of the node type and the hops to the gateway is realized without increasing the size of the HELLO packet. When receiving the HELLO message with T=1, the Mesh terminal will maintain and update the local Mesh backbone routing node list according to the message information.
④为使基于请求-应答的路由发现机制能够识别不同的通信“状态”,RAODV在AODV的RREQ报文中的“保留字段”中取出8比特用来表示请求类型信息rq_mode,如图4所示,并规定rq_mode=0x00表示“内部”状态,rq_mode=0x01表示“边缘”状态,rq_mode=0x02表示“修复”状态。当RREQ到达一个Mesh终端节点时,将根据该Mesh终端的状态更新其rq_mode值;当RREQ报文到达一个骨干路由节点时,其rq_mode值不变。④In order to enable the request-response based routing discovery mechanism to identify different communication "states", RAODV takes 8 bits from the "reserved field" in the RREQ message of AODV to indicate the request type information rq_mode, as shown in Figure 4 , and stipulate that rq_mode=0x00 means "internal" state, rq_mode=0x01 means "edge" state, and rq_mode=0x02 means "repair" state. When the RREQ arrives at a Mesh terminal node, its rq_mode value will be updated according to the state of the Mesh terminal; when the RREQ message arrives at a backbone routing node, its rq_mode value will not change.
⑤为了使基于请求-应答方式的路由发现过程能够避免使用Mesh终端进行路由中继,RAODV提出了基于链路类型的路径权重路由判据,记为rt_weight,规定每条骨干传输链路的rt_weight等于1/3,其他与Mesh终端相连的非骨干传输链路的rt_weight等于1。⑤ In order to avoid the use of Mesh terminals for routing relay in the routing discovery process based on the request-response method, RAODV proposes a routing criterion based on link type, which is denoted as rt_weight, and the rt_weight of each backbone transmission link is equal to 1/3, and the rt_weight of other non-backbone transmission links connected to Mesh terminals is equal to 1.
⑥为了使RREQ消息能够识别所经过的链路类型并记录所经过路径的rt_weight值,RAODV在原AODV的RREQ报文中另外加入了发送节点类型T与rt_weight两个字段,如图4所示。当当前节点的类型与RREQ中的T字段均显示为Mesh骨干路由节点时,说明RREQ的上一跳链路为骨干传输链路,此时令rt_weight增加1/3,否则,令rt_weight增加1。通过选择rt_weight值最小的路径,有效减少了数据传输路径中所包含的Mesh终端数量。在图2(c)中,实线箭头与虚线箭头分别指示了RAODV采用rt_weight作为路由判据所选择的路径与AODV基于跳数判据所选择的路径,如图所示,RAODV所选择的路径最大程度地减少了传输路径中的Mesh终端中继节点。从而降低了Mesh终端在数据传输中的路由转发任务,节约了Mesh终端能量。⑥In order to enable the RREQ message to identify the type of link passed and record the rt_weight value of the path passed, RAODV added two fields of sending node type T and rt_weight to the original AODV RREQ message, as shown in Figure 4. When the type of the current node and the T field in RREQ are both displayed as Mesh backbone routing nodes, it means that the last hop link of RREQ is a backbone transmission link. In this case, increase rt_weight by 1/3; otherwise, increase rt_weight by 1. By selecting the path with the smallest rt_weight value, the number of Mesh terminals included in the data transmission path is effectively reduced. In Figure 2(c), the solid arrow and the dotted arrow respectively indicate the path selected by RAODV using rt_weight as the routing criterion and the path selected by AODV based on the hop criterion. As shown in the figure, the path selected by RAODV Minimize the number of Mesh terminal relay nodes in the transmission path. Therefore, the routing and forwarding task of the Mesh terminal in data transmission is reduced, and the energy of the Mesh terminal is saved.
下面结合图2,对本发明RAODV路由协议的具体实施过程进行了具体介绍。The specific implementation process of the RAODV routing protocol of the present invention is described below in conjunction with FIG. 2 .
假设在矿井应急救援无线网状网中,任意Mesh终端S希望与网关D进行通信,但发现本地路由表中不存在到达D的有效路由信息,此时节点S将通过查看本地Mesh骨干路由节点列表检查本地状态:Assuming that in the mine emergency rescue wireless mesh network, any Mesh terminal S wants to communicate with gateway D, but finds that there is no valid routing information to D in the local routing table, then node S will check the local Mesh backbone routing node list Check local status:
若发现当前自身处于“内部”状态,此时直接根据Mesh骨干路由节点列表信息,选择与网关距离最近的邻居骨干路由节点,建立到达网关的路由,然后将信息上传到骨干传输网络。在该情况下建立的传输路径如图2(a)所示。If it is found that it is currently in the "internal" state, it will directly select the neighbor backbone routing node with the closest distance to the gateway according to the Mesh backbone routing node list information, establish a route to the gateway, and then upload the information to the backbone transmission network. The transmission path established in this case is shown in Fig. 2(a).
若发现本地处于“边缘”状态或者“修复”状态,此时将启动基于请求-应答方式的路由发现机制,生成RREQ消息并向外广播。If it is found that the local is in the "edge" state or "repair" state, it will start the route discovery mechanism based on the request-response mode, generate a RREQ message and broadcast it to the outside.
矿井应急救援WMN中的任意节点接收到此RREQ消息后,将执行以下操作。After any node in the mine emergency rescue WMN receives this RREQ message, it will perform the following operations.
①检查RREQ消息的rq mode。① Check the rq mode of the RREQ message.
若{rq_mode=0x01},表明上一跳无线Mesh终端节点处于“边缘”状态,因此接收到RREQ的节点只可能为Mesh终端。接收到该RREQ信息的Mesh终端检查本地状态。若检查结果为“内部”状态,则执行第②步;若为“边缘”状态或者“修复”状态,则执行第③步。If {rq_mode=0x01}, it indicates that the last hop wireless Mesh terminal node is in the "edge" state, so the node receiving RREQ can only be a Mesh terminal. The Mesh terminal receiving the RREQ message checks the local status. If the inspection result is "internal" status, then execute step ②; if it is "marginal" status or "repair" status, then execute step ③.
若{rq_mode=0x02},表明上一跳Mesh终端节点处于“修复”状态。此时,接收节点可能为Mesh终端节点,也可能为骨干路由节点。若接收节点为Mesh终端时,其处理方式与上述{rq_mode=0x01}时的处理方式相同,即根据本地状态执行步骤②或者步骤③;若接收节点为骨干路由节点时,则执行第④步。If {rq_mode=0x02}, it indicates that the Mesh terminal node of the previous hop is in the "repair" state. At this time, the receiving node may be a Mesh terminal node or a backbone routing node. If the receiving node is a Mesh terminal, the processing method is the same as the above {rq_mode=0x01}, that is, perform step ② or step ③ according to the local state; if the receiving node is a backbone routing node, perform step ④.
②首先根据RREQ消息更新本地到达源节点S以及上一跳节点的反向路由,然后根据自身到达网关的路由信息,产生一个RREP,并沿反向路径发送给S。② First, update the local reverse route to the source node S and the previous hop node according to the RREQ message, and then generate an RREP according to the route information of itself to the gateway, and send it to S along the reverse path.
③首先根据RREQ消息更新本地到达源节点S以及上一跳节点的反向路由,然后本地更新RREQ消息中的T、rq_mode、跳数、rt_weight以及相关的地址序列号等信息,并将更新后的RREQ消息向外广播。③First update the local reverse route to the source node S and the previous hop node according to the RREQ message, then locally update the T, rq_mode, hop count, rt_weight and related address serial number information in the RREQ message, and update the updated The RREQ message is broadcast outward.
④首先根据RREQ消息更新本地到达源节点S以及上一跳节点的反向路由,然后本地更新RREQ消息中的T、跳数、rt_weight以及相关的地址序列号等信息,骨干路由节点不更新rq_mode信息,并将更新后的RREQ消息继续向外广播。④ First update the local reverse route to the source node S and the previous hop node according to the RREQ message, and then update the T, hop count, rt_weight and related address serial number information in the RREQ message locally, and the backbone routing node does not update the rq_mode information , and continue to broadcast the updated RREQ message to the outside.
比较图2中的RAODV与AODV的传输路径可知,RAODV路由策略成功减少了Mesh终端模式下矿井应急救援WMN网络中Mesh终端的中继转发任务,有效解决了该模式下的Mesh终端能耗问题。且不难发现,矿井应急救援WMN网络的部署规模越大,越多的Mesh终端可免于承担额外的RREQ广播以及对数据包的路由转发任务,RADOV的节能优势将越明显。仿真结果:Comparing the transmission paths of RAODV and AODV in Figure 2 shows that the RAODV routing strategy successfully reduces the relay and forwarding tasks of Mesh terminals in the mine emergency rescue WMN network under Mesh terminal mode, and effectively solves the energy consumption problem of Mesh terminals under this mode. It is not difficult to find that the larger the deployment scale of the WMN network for mine emergency rescue, the more Mesh terminals can be exempted from undertaking additional RREQ broadcasts and routing and forwarding tasks for data packets, and the energy-saving advantages of RADOV will be more obvious. Simulation results:
假设矿井应急救援无线Mesh网络的骨干传输网络的传输容量为C,Mesh终端产生的业务量为F。基于Mesh终端模式的矿井应急救援WMN的网络容量包括Mesh终端的传输带宽,所以应急救援WMN的整体容量要高于骨干传输网络的传输容量C。AODV路由协议不区分节点类型,因此从理论上讲,AODV比RAODV更能充分地利用Mesh终端的带宽资源。但是,在实际应用中,利用RAODV的W-URN吞吐性能是否低于采用AODV的网络的吞吐性能呢?针对该问题,仿真中特意设置了F>C与F<C两种不同的通信场景,比较分析了当F>C与F<C时RAODV的传输性能。为验证RAODV的路由恢复能力,仿真中还设置了30秒时刻任意骨干路由节点发生故障的场景。Assume that the transmission capacity of the backbone transmission network of the mine emergency rescue wireless Mesh network is C, and the traffic generated by the Mesh terminal is F. The network capacity of the mine emergency rescue WMN based on the Mesh terminal mode includes the transmission bandwidth of the Mesh terminal, so the overall capacity of the emergency rescue WMN is higher than the transmission capacity C of the backbone transmission network. The AODV routing protocol does not distinguish between node types, so in theory, AODV can make full use of the bandwidth resources of Mesh terminals than RAODV. However, in practical applications, is the W-URN throughput performance using RAODV lower than that of the network using AODV? To solve this problem, two different communication scenarios of F>C and F<C are deliberately set up in the simulation, and the transmission performance of RAODV under the conditions of F>C and F<C is compared and analyzed. In order to verify the routing recovery capability of RAODV, a scenario where any backbone routing node fails at 30 seconds is also set in the simulation.
图5为当采用RAODV路由协议时的网络吞吐量的仿真结果,结果表明,当F>C时,RAODV并不会因为避免使用Mesh终端进行路由中继使网络的吞吐性能降低,相反,由于RAODV减少了RREQ的广播带宽开销,相比AODV使矿井应急救援无线Mesh网络的吞吐量与传输稳定性提高;Figure 5 shows the simulation results of network throughput when the RAODV routing protocol is used. The results show that when F>C, RAODV will not reduce the throughput performance of the network because of avoiding the use of Mesh terminals for routing relay. On the contrary, due to RAODV The broadcast bandwidth overhead of RREQ is reduced, and compared with AODV, the throughput and transmission stability of the mine emergency rescue wireless Mesh network are improved;
图6为当采用RAODV路由协议时网络平均端到端时延的仿真结果。如图所示,当F<C时,RAODV与AODV的时延曲线存在两处明显的差别,即AODV在0秒与30秒时刻其时延曲线出现了两次明显的上跳。0秒与30秒分别为首次进行路由发现与事故后进行路由修复的起始时刻,因此该跳跃时延反应了相应路由策略的路由收敛时间。由仿真结果可知,RAODV的路由收敛时延要远远低于AODV。出现这种差距的原因在于RAODV的RREQ消息主要由Mesh骨干路由节点进行转发,Mesh骨干传输网络的网络复杂度相比整个矿井应急救援Mesh网络的复杂度大大降低,由此有效减少了RREQ消息在广播过程中以及路由应答消息在返回中所遇到的传输干扰,从而使源节点与目的节点之间能够快速建立连接。Fig. 6 is the simulation result of network average end-to-end time delay when the RAODV routing protocol is adopted. As shown in the figure, when F<C, there are two obvious differences between the delay curves of RAODV and AODV, that is, there are two obvious jumps in the delay curves of AODV at 0 seconds and 30 seconds. 0 seconds and 30 seconds are the initial moments of route discovery for the first time and route restoration after an accident, respectively, so the jump delay reflects the route convergence time of the corresponding routing strategy. It can be seen from the simulation results that the route convergence delay of RAODV is much lower than that of AODV. The reason for this gap is that the RREQ message of RAODV is mainly forwarded by the Mesh backbone routing nodes. The network complexity of the Mesh backbone transmission network is greatly reduced compared with the complexity of the entire mine emergency rescue Mesh network, thus effectively reducing the RREQ message in the network. The transmission interference encountered during the broadcast process and the return of the routing response message, so that the connection between the source node and the destination node can be quickly established.
图5与图6中的30秒之后的仿真曲线显示了当骨干路由节点发生故障后的网络的吞吐量与平均端到端时延的仿真结果。仿真结果表明,当意外发生后,RAODV的传输稳定性明显高于AODV,尤其当F<C时,RAODV的恢复时延仅为AODV的1/4,具有快速的路由恢复能力。The simulation curves after 30 seconds in Fig. 5 and Fig. 6 show the simulation results of network throughput and average end-to-end delay when the backbone routing node fails. The simulation results show that when an accident occurs, the transmission stability of RAODV is obviously higher than that of AODV, especially when F<C, the recovery delay of RAODV is only 1/4 of that of AODV, and it has a fast route recovery capability.
虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这些具体实施方式仅是举例说明,本领域的技术人员在不脱离本发明的原理和实质的情况下,可以对上述方法和系统的细节进行各种省略、替换和改变。例如,合并上述方法步骤,从而按照实质相同的方法执行实质相同的功能以实现实质相同的结果则属于本发明的范围。因此,本发明的范围仅由所附权利要求书限定。Although the specific embodiments of the present invention have been described above, those skilled in the art should understand that these specific embodiments are only for illustration, and those skilled in the art can make the above-mentioned Various omissions, substitutions, and changes were made in the details of the methods and systems. For example, it is within the scope of the present invention to combine the above method steps so as to perform substantially the same function in substantially the same way to achieve substantially the same result. Accordingly, the scope of the invention is limited only by the appended claims.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310033955.2A CN103108374B (en) | 2013-01-29 | 2013-01-29 | A kind of energy-saving routing algorithm of mixed structure mine emergency management and rescue wireless mesh network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310033955.2A CN103108374B (en) | 2013-01-29 | 2013-01-29 | A kind of energy-saving routing algorithm of mixed structure mine emergency management and rescue wireless mesh network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103108374A CN103108374A (en) | 2013-05-15 |
| CN103108374B true CN103108374B (en) | 2015-10-14 |
Family
ID=48315870
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310033955.2A Active CN103108374B (en) | 2013-01-29 | 2013-01-29 | A kind of energy-saving routing algorithm of mixed structure mine emergency management and rescue wireless mesh network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103108374B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103269526B (en) * | 2013-05-23 | 2016-08-24 | 山西煤炭运销集团有限公司 | A kind of for wireless sensor network for mine laneways |
| CN103391595B (en) * | 2013-08-01 | 2017-01-25 | 北京交通大学 | Mine emergency rescue wireless mesh network routing method based on cross-layer link state feedback |
| CN104469882B (en) * | 2014-11-19 | 2018-04-27 | 广州杰赛科技股份有限公司 | The cut-in method and user terminal of wireless mesh network |
| CN104618945B (en) * | 2015-01-06 | 2018-05-01 | 刘乃安 | Routing failure restoration methods based on link-quality renewal in WLAN |
| CN105072571B (en) * | 2015-07-01 | 2018-10-23 | 河海大学常州校区 | A kind of localization method based on pulse communication in wireless nano sensor network |
| CN108632777A (en) * | 2018-04-23 | 2018-10-09 | 天地(常州)自动化股份有限公司 | Mining wireless node carries out Point-to-Point Data Transmission method in MESH network |
| CN111510982B (en) * | 2019-01-30 | 2022-03-11 | 大唐移动通信设备有限公司 | Data transmission method and device |
| CN113163467B (en) * | 2021-04-29 | 2022-06-10 | 北京小米移动软件有限公司 | Method, device, terminal and storage medium for updating node hop count in Mesh network |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102026329A (en) * | 2009-09-10 | 2011-04-20 | 富士通株式会社 | Wireless communication network and self-adaptive route selecting communication method thereof |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101203880B1 (en) * | 2012-02-22 | 2012-11-22 | 엘아이지넥스원 주식회사 | System for providing communication service considering mobility in wireless mesh network and method thereof |
-
2013
- 2013-01-29 CN CN201310033955.2A patent/CN103108374B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102026329A (en) * | 2009-09-10 | 2011-04-20 | 富士通株式会社 | Wireless communication network and self-adaptive route selecting communication method thereof |
Non-Patent Citations (2)
| Title |
|---|
| 张玉,杨维.矿井带状应急救援无线Mesh网络的标称容量.《华中科技大学学报(自然科学版)》.2012,全文. * |
| 张玉,杨维.矿井应急救援WMN修正分级信道分配策略.《煤炭学报》.2012,全文. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103108374A (en) | 2013-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103108374B (en) | A kind of energy-saving routing algorithm of mixed structure mine emergency management and rescue wireless mesh network | |
| CN100413271C (en) | Packet transmission system, radio base station, and packet transmission path optimization method | |
| CN101945432B (en) | A kind of multi tate chance method for routing for wireless mesh network | |
| Yi et al. | Evaluation of routing protocol for low power and Lossy Networks: LOADng and RPL | |
| US20090059934A1 (en) | Method and device for providing a bridge in a network | |
| US20110176416A1 (en) | Method for Discovering Multiple Routes in Sensor Networks | |
| US8284775B2 (en) | Six-address scheme for multiple hop forwarding in wireless mesh networks | |
| WO2017020619A1 (en) | Routing method and device | |
| CN103391595B (en) | Mine emergency rescue wireless mesh network routing method based on cross-layer link state feedback | |
| CN102984781A (en) | Neighbor node judgment method for wireless ad hoc network route | |
| Gharavi et al. | Multigate mesh routing for smart grid last mile communications | |
| Mehfuz et al. | Energy aware probabilistic broadcasting for Mobile adhoc network | |
| CN103037436A (en) | Network coding perception wireless mesh routing protocol based on hybrid wireless mesh protocol (HWMP) | |
| CN102573121B (en) | Wireless Mesh router | |
| Margaryan et al. | Development of an Adaptive Routing Algorithm in MANET | |
| Singh et al. | A review paper on introduction to MANET | |
| Jingrong et al. | Opportunistic cooperative routing in multi-radio multi-channel wireless sensor networks | |
| Campista et al. | A routing protocol suitable for backhaul access in wireless mesh networks | |
| Singh | Node-to-Node Approaching in Wireless Mesh Connectivity | |
| Le et al. | An efficient hybrid routing approach for hybrid wireless mesh networks | |
| CN1922832B (en) | Packet transmission system, wireless base station, and method for optimizing packet transmission path | |
| Jayakkumar et al. | MIDURR: A technique to minimize the duplication of route requests in Mobile Ad-Hoc Networks | |
| Saadi et al. | Wireless Mesh Networks Capacity Improvement Using CBF | |
| Thenmozhi et al. | Routing Overhead in MANET-Minimization with Multipath Local Route Discovery Routing Protocol | |
| Nazirah et al. | Cross-layer routing approach in highly dynamic 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 |