CN114302473A - Energy perception routing method for delay tolerant network - Google Patents
Energy perception routing method for delay tolerant network Download PDFInfo
- Publication number
- CN114302473A CN114302473A CN202210048620.7A CN202210048620A CN114302473A CN 114302473 A CN114302473 A CN 114302473A CN 202210048620 A CN202210048620 A CN 202210048620A CN 114302473 A CN114302473 A CN 114302473A
- Authority
- CN
- China
- Prior art keywords
- node
- energy
- data packets
- data packet
- nodes
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000008447 perception Effects 0.000 title claims description 4
- 230000005540 biological transmission Effects 0.000 claims abstract description 34
- 238000004891 communication Methods 0.000 claims abstract description 13
- 238000005265 energy consumption Methods 0.000 claims abstract description 6
- 230000008569 process Effects 0.000 claims description 6
- 235000008694 Humulus lupulus Nutrition 0.000 claims description 5
- 239000000872 buffer Substances 0.000 claims description 4
- 238000012217 deletion Methods 0.000 claims description 4
- 230000037430 deletion Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 238000012163 sequencing technique Methods 0.000 claims 2
- 239000007983 Tris buffer Substances 0.000 claims 1
- 230000007246 mechanism Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012913 prioritisation Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
Images
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
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种面向延迟容忍网络的能量感知路由方法,首先进行数据包优先排序,首先源节点产生数据包,然后在节点内部存储区对数据包的优先级进行数据发送中的规则排序;其次,在转发消息之前,当前节点需在可通信范围内发现其他的邻居节点,若发现,则进行数据转发;当两个节点进入相互的通信范围内后,各自转发其数据包。本发明能够根据节点的能量关系对下一跳节点进行有效选择,降低了节点能耗,减少了网络开销,提高了数据包的传输率,对改善DTN网络的特性有着重大意义。
The invention discloses an energy-aware routing method oriented to a delay tolerant network. First, data packets are prioritized, firstly, a source node generates data packets, and then the data packets are prioritized in a node internal storage area for data transmission. Secondly, before forwarding the message, the current node needs to find other neighbor nodes within the communicable range. If found, it will forward the data; when the two nodes enter the mutual communication range, they will forward their data packets respectively. The invention can effectively select the next hop node according to the energy relationship of the node, reduces the energy consumption of the node, reduces the network overhead, improves the transmission rate of the data packet, and has great significance for improving the characteristics of the DTN network.
Description
技术领域technical field
本发明涉及一种面向延迟容忍网络的能量感知路由方法,属于无线通信网络技术领域。The invention relates to a delay-tolerant network-oriented energy-aware routing method, which belongs to the technical field of wireless communication networks.
背景技术Background technique
延迟容忍网络(DTN)是一种以无线电波为载体、节点能力受限、节点移动频繁且通信环境恶劣为特征的移动无线网络。其最早的概念始于星际网络,在星际网络中,节点通常部署在不同的星球上,其基本目的在于实现行星之间的消息传输。然而由于行星之间的距离较长及宇宙空间的复杂环境使得消息的传输延迟较大,节点之间的连接频繁中断,现有的基于端到端的TCP/IP网络架构对其并不适用。在这样的网络中,源节点和目的节点之间没有可用的端到端路径,会频繁发生网络中断,DTN的出现能够有效地解决了这些问题。同时,DTN中的节点是动态的,根据节点的这种移动性可以为源节点和目的节点之间传递消息的机会,将消息传递到该节点通信范围内的任何其他节点。然后移动节点通过“携带—存储—转发”这种模式将消息传送到目的地,有效地解决了在受限网络中的通信问题。随着相关技术的发展,目前DTN还应用到的领域有野生动物追踪、乡村通信网络、激光通信、灾后重建网络等。Delay Tolerant Network (DTN) is a mobile wireless network characterized by radio waves as the carrier, limited node capability, frequent node movement and harsh communication environment. Its earliest concept began with interstellar networks, in which nodes are usually deployed on different planets, and their basic purpose is to achieve message transmission between planets. However, due to the long distance between planets and the complex environment of the universe, the transmission delay of messages is large, and the connection between nodes is frequently interrupted. The existing end-to-end TCP/IP network architecture is not suitable for it. In such a network, there is no available end-to-end path between the source node and the destination node, and network interruptions frequently occur. The emergence of DTN can effectively solve these problems. At the same time, the nodes in the DTN are dynamic, and according to this mobility of the node, the message can be delivered to any other node within the communication range of the node for the opportunity of delivering messages between the source node and the destination node. Then the mobile node transmits the message to the destination through the mode of "carry-store-forward", which effectively solves the communication problem in the restricted network. With the development of related technologies, DTN is also applied in the fields of wildlife tracking, rural communication network, laser communication, post-disaster reconstruction network, etc.
与传统网络相比,DTN网络的缓存、带宽以及节点处理能力等各种资源都非常地有限,而且为了提高消息递交率,DTN通常会复制消息的多个消息副本并且通过多条路径分别发送的方式,通过这样来保证消息递交的可靠性,这就会使得DTN网络中节点的负载压力变得非常大。传统的路由协议无法在受挑战的环境中传递消息,延迟容忍网络有助于克服具有挑战性的环境中提供网络访问的困难,需要与传统路由协议不同的路由协议。Compared with traditional networks, DTN networks have very limited resources such as cache, bandwidth, and node processing capabilities. In order to improve the message delivery rate, DTN usually replicates multiple copies of messages and sends them through multiple paths. In this way, the reliability of message delivery is ensured, which will make the load pressure of nodes in the DTN network become very large. Traditional routing protocols cannot deliver messages in challenging environments, and delay-tolerant networks help overcome the difficulties of providing network access in challenging environments, requiring different routing protocols than traditional routing protocols.
MaxProp协议是DTN中比较经典的路由方法之一,该路由算法是在PROPHET协议的基础上发展而来,不仅重新定义了公式,而且利用一些额外机制来提高消息的传输成功概率,并降低传输时延。从本质上来说,它也是以概率统计为基础的一种路由协议。MaxProp协议主要是根据节点过去的相遇情况,估算每个信息的传送概率,然后利用数据包的传送概率和跳数对数据包进行节点内部的排序,随后对那些最有可能到达目的节点的数据包进行优先转发。但是MaxProp协议并没有考虑节点能量的影响,对于每一个移动节点,其能量资源都是有限的,需要花费大量的能量来发送、接收、处理信息,节点能量的耗尽将会导致其不能正常进行消息传输,导致网络性能降低。The MaxProp protocol is one of the more classic routing methods in DTN. The routing algorithm is developed on the basis of the PROPHET protocol. It not only redefines the formula, but also uses some additional mechanisms to improve the probability of successful message transmission and reduce the transmission time. extension. Essentially, it is also a routing protocol based on probability statistics. The MaxProp protocol mainly estimates the transmission probability of each information according to the past encounters of the nodes, and then uses the transmission probability and hop number of the data packets to sort the data packets within the node, and then sorts the data packets that are most likely to reach the destination node. Priority forwarding. However, the MaxProp protocol does not consider the influence of node energy. For each mobile node, its energy resources are limited, and it needs to spend a lot of energy to send, receive, and process information. The exhaustion of node energy will cause it to fail to operate normally. message transmission, resulting in reduced network performance.
发明内容SUMMARY OF THE INVENTION
鉴于现有技术中存在上述技术和选材的一些问题,本发明提供一种面向延迟容忍网络的能量感知路由方法,对改善DTN网络的特性有着重大意义。In view of some problems in the above technology and material selection in the prior art, the present invention provides an energy-aware routing method for a delay-tolerant network, which is of great significance for improving the characteristics of a DTN network.
本发明的技术方案为:一种面向延迟容忍网络的能量感知路由方法,包括如下步骤:The technical scheme of the present invention is: an energy-aware routing method oriented to a delay-tolerant network, comprising the following steps:
步骤1,数据包优先排序,首先源节点产生数据包,然后在节点内部存储区对数据包的优先级进行数据发送中的规则排序;Step 1: Prioritize data packets. First, the source node generates data packets, and then the data packets are prioritized in the internal storage area of the node according to the rules in data transmission;
步骤2,邻居发现,在转发消息之前,当前节点需在可通信范围内发现其他的邻居节点,若发现,则进行数据转发;所述可通信范围为:对于每个节点,都有其通信范围,通信范围是以节点为圆点,R为半径的一个圆。与圆心之间距离小于R的节点属于它的邻居节点,可以正常进行通信。R可以通过仿真时候具体设置。Step 2, neighbor discovery, before forwarding the message, the current node needs to discover other neighbor nodes within the communicable range, and if found, the data is forwarded; the communicable range is: for each node, there is its own communication range , the communication range is a circle with the node as the point and R as the radius. Nodes with a distance less than R from the center of the circle belong to its neighbor nodes and can communicate normally. R can be specifically set through simulation time.
步骤3,数据转发,当两个节点进入相互的通信范围内后,各自转发其数据包。Step 3, data forwarding, when the two nodes enter the mutual communication range, they forward their data packets respectively.
进一步的,所述步骤3中,在邻居发现和数据转发前,节点内部对数据包进行优先级排序,对于节点间,根据能量感知选择合适的下一跳进行转发。其具体内容为:将前述步骤中的数据包转发给邻居节点,在当前节点的能量小于邻居节点的能量时,按优先级将数据包转发给下一跳节点;在当前节点的能量大于邻居节点的能量时,则不进行转发,当前节点继续产生或接受数据包,再重新对数据包进行优先级排序,由于在接收数据包的过程中,当前节点会继续消耗能量,随后再对当前节点和邻居节点能量进行判断进行选择转发数据包,直到交付给目的节点为止。Further, in the step 3, prior to neighbor discovery and data forwarding, the nodes internally prioritize the data packets, and between nodes, an appropriate next hop is selected for forwarding according to energy perception. The specific content is: forward the data packet in the preceding steps to the neighbor node, when the energy of the current node is less than the energy of the neighbor node, forward the data packet to the next hop node according to the priority; when the energy of the current node is greater than that of the neighbor node When the energy is received, the forwarding will not be performed, and the current node will continue to generate or receive data packets, and then re-prioritize the data packets. Because in the process of receiving data packets, the current node will continue to consume energy, and then the current node and the current node will continue to consume energy. Neighbor nodes can make judgments and choose to forward packets until they are delivered to the destination node.
进一步的,所述节点中的消息缓存方式为:存储区被门限值分为左右两个部分,在网络中,数据包转发跳数比较小的会被定义为更高的优先级,即转发跳数小于门限值的数据包会被定义为高优先级。如果某数据包的跳数小于门限值,它的优先级则大于门限值的数据包;对于数据包转发跳数小于门限值的情况,按照跳数来对响应的数据包进行排列,如果数据包的跳数越大,则优先级越低;在数据包经过跳数大于门限值中,该路由采取了一种自适应的方法来对门限值进行调整,公式如下所示:Further, the message buffering method in the node is as follows: the storage area is divided into left and right parts by the threshold value, and in the network, the packet forwarding hop count is relatively small and will be defined as a higher priority, that is, forwarding. Packets with a hop count less than the threshold will be defined as high priority. If the hop count of a data packet is less than the threshold value, its priority is greater than the data packet with the threshold value; for the case where the forwarding hop count of the data packet is less than the threshold value, the response data packets are arranged according to the hop count. If the hop count of the data packet is larger, the priority is lower; when the hop count of the data packet is greater than the threshold value, the route adopts an adaptive method to adjust the threshold value, and the formula is as follows:
其中,x是有机会传输消息时传输的平均字节数,b是存储区的容量大小,p是存储区大小的一部分,门限值t的大小等于在消息缓存区中含有第p个字节所对应的数据包经过的跳数;如果x<b/2,则已经转发跳数比较小的数据包会被定义有更高的优先级;随着x的不断变大,门限值t主要由x与b-x的最小值决定;当x比p大时,门限值定义为0。where x is the average number of bytes transmitted when there is an opportunity to transmit a message, b is the size of the memory area, p is a fraction of the memory area size, and the threshold value t is equal to the size of the p-th byte contained in the message buffer area The number of hops that the corresponding data packet passes through; if x<b/2, the data packet that has been forwarded with a smaller number of hops will be defined with a higher priority; as x continues to increase, the threshold value t is mainly It is determined by the minimum value of x and b-x; when x is greater than p, the threshold value is defined as 0.
进一步的,当数据包跳数大于门限值时,根据传送概率对数据包进行排序,传送概率值越大,则优先级越高;传送概率估值定义如下:Further, when the hop count of the data packets is greater than the threshold value, the data packets are sorted according to the transmission probability. The larger the transmission probability value, the higher the priority; the transmission probability estimation is defined as follows:
假设网络节点的集合为s,对于任何一个节点i∈s,计算出和节点j相遇的概率其中i∈s,j≠i,初始的值为1/(|s|-1),当节点i和节点j相遇的时候,的值会自动加1,然后节点i中的所有有关联的概率值会进行再一次地归一化。每当节点相遇时,彼此会交换这些概率值;本地的节点在获得其他节点的概率估值之后会将其保存下来,进而能求出通过不同路径到目的节点d的传送成本c(i,i+1,…,d),定义如公式(2)所示,为每条链路不发生概率估值的总和;Assuming that the set of network nodes is s, for any node i ∈ s, calculate the probability of encountering node j where i∈s, j≠i, the initial value is 1/(|s|-1), when node i and node j meet, The value of is automatically incremented by 1, and then all associated probability values in node i are normalized again. Whenever nodes meet, they exchange these probability values with each other; the local node saves the probability estimates of other nodes after obtaining them, and then can calculate the transmission cost c(i, i through different paths to the destination node d) +1,...,d), defined as shown in formula (2), is the sum of the probability estimates that each link does not occur;
进一步的,通过对节点之间能量的判断完成下一跳节点的选择问题,DTN的每一个节点资源是有限的,为了保证信息的传输,需要耗费大量的能量,包括发送消耗能量Et、接收消耗能量Er、扫描信息能量Es,具体计算方式如公式(3)、(4)、(5)所示:Further, the selection of the next hop node is completed by judging the energy between nodes. The resources of each node of the DTN are limited. Consumption energy E r , scanning information energy E s , the specific calculation methods are shown in formulas (3), (4), (5):
Et=(Pe+PaRn)Tt (3)E t =(P e +P a R n )T t (3)
Er=(Pe+Pp)Tr (4)E r =(P e +P p ) Tr (4)
Es=PsTs (5)E s =P s T s (5)
其中,Pe是收发器每秒消耗的能量,Pa是发射机射频放大器每秒消耗的能量;Pp是在接收器中进行处理所消耗的能量,Ps是扫描到无线电环境所消耗的能量,Ps=Pe,这些参数由收发机的设计特性决定;R是传输范围,n是信道路径损耗的功率指数;Tt是发送数据所消耗的时间,Tr是接收数据包所消耗的时间,Ts是扫描消息所消耗的时间;假设网络中节点的能量不会变为零,在节点接收到数据包时,将其当前的能量水平与邻居的能量水平进行比较,判断是否转发消息至其邻居节点,在当前节点的能量小于邻居节点的能量时,按优先级将数据包转发给下一跳节点;当前节点的能量大于邻居节点的能量时,不进行转发,当前节点继续产生或接受数据包,再重新对数据包进行优先级排序,由于在接收数据包的过程中,当前节点会继续消耗能量,随后再对当前节点和邻居节点能量进行判断进行选择转发数据包,直至交付给目的节点为止。where P e is the energy consumed per second by the transceiver, Pa is the energy consumed per second by the transmitter RF amplifier; P p is the energy consumed for processing in the receiver, and P s is the energy consumed by scanning to the radio environment Energy, P s =P e , these parameters are determined by the design characteristics of the transceiver; R is the transmission range, n is the power index of the channel path loss; T t is the time spent sending data, and Tr is the consumption of receiving data packets T s is the time it takes to scan the message; assuming that the energy of the node in the network will not become zero, when the node receives the data packet, it compares its current energy level with the energy level of its neighbors to determine whether to forward it or not. The message is sent to its neighbor node. When the energy of the current node is less than that of the neighbor node, the data packet is forwarded to the next hop node according to the priority; Or accept the data packet, and then re-prioritize the data packet, because in the process of receiving the data packet, the current node will continue to consume energy, and then judge the energy of the current node and neighbor nodes to select and forward the data packet until delivery. to the destination node.
进一步的,在节点内部除了对数据包进行排序转发之外,由于节点的内存是有限的,还需要在缓存空间中对相应的数据包进行删除,删除后该数据包将不会再被传输。在不会降低延迟容忍网络的数据包传输率的情况下,节点需要完成以下三种情况之一才能删除数据包:第一,该数据包的副本已经传送到了目的节点;第二,在数据包的时间戳范围内,当前节点和目的节点之间的剩余带宽小于数据包传输的所需带宽以保证数据包能够被传送;第三,如果当前数据包的任何一个副本都没传送到目的节点,但是在当前节点删除其保存的对应数据包后,其他节点中存在的该数据包副本依然可以被传送给目的节点。Further, in addition to sorting and forwarding the data packets inside the node, since the memory of the node is limited, the corresponding data packets need to be deleted in the cache space, and the data packets will not be transmitted again after deletion. Without reducing the packet delivery rate of the delay tolerant network, a node needs to complete one of the following three conditions to delete a packet: first, a copy of the packet has been delivered to the destination node; second, after the packet Within the timestamp range of , the remaining bandwidth between the current node and the destination node is less than the required bandwidth for data packet transmission to ensure that the data packet can be transmitted; third, if any copy of the current data packet is not transmitted to the destination node, However, after the current node deletes the corresponding data packet saved by it, the copy of the data packet existing in other nodes can still be transmitted to the destination node.
与现有技术相比,本发明的有益效果是:本发明提出的能量感知MaxProp路由策略EA-MaxProp在MaxProp的基础上,能够根据节点的能量关系对下一跳节点进行有效选择,降低了节点能耗,减少了网络开销,提高了数据包的传输率,对改善DTN网络的特性有着重大意义。Compared with the prior art, the beneficial effects of the present invention are: the energy-aware MaxProp routing strategy EA-MaxProp proposed by the present invention can effectively select the next hop node according to the energy relationship of the nodes on the basis of MaxProp, reducing the number of nodes. Energy consumption, network overhead is reduced, and the transmission rate of data packets is improved, which is of great significance to improving the characteristics of DTN networks.
附图说明Description of drawings
图1是本发明的流程框图。FIG. 1 is a flow chart of the present invention.
图2是本发明中节点的消息缓存方式示意图。FIG. 2 is a schematic diagram of a message caching mode of a node in the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but not to be construed as a limitation of the present invention.
本实施例提出的一种面向延迟容忍网络的能量感知路由方法,是针对MaxProp协议没有考虑节点能量的问题,从而提出的一种能量感知的MaxProp路由策略EA-MaxProp(Energy Aware MaxProp)。DTN节点复制每个消息副本,为了确保传输会耗费大量的能量。能量感知的MaxProp路由策略在DTN的网络部署主要包括数据包优先级排序、邻居发现、数据转发三个步骤,如图1所示,首先源节点产生数据包,然后在节点内部存储区对数据包的优先级进行一定的规则排序,随后转发数据包给邻居节点,当前节点的能量小于邻居节点的能量时,按优先级将数据包转发给下一跳节点;在当前节点的能量大于邻居节点的能量时,不进行转发,当前节点继续产生或接受数据包,再重新对数据包进行优先级排序,由于在接收数据包的过程中,当前节点会继续消耗能量,随后再对当前节点和邻居节点能量进行判断进行选择转发数据包,直到交付给目的节点为止。The energy-aware routing method for delay-tolerant networks proposed in this embodiment is an energy-aware MaxProp routing strategy EA-MaxProp (Energy Aware MaxProp) proposed for the problem that the MaxProp protocol does not consider node energy. DTN nodes replicate each message copy, which consumes a lot of energy to ensure transmission. The deployment of the energy-aware MaxProp routing strategy in the DTN network mainly includes three steps: packet prioritization, neighbor discovery, and data forwarding. As shown in Figure 1, the source node first generates the data packet, and then the data packet is stored in the internal storage area of the node. The priority of the node is sorted according to certain rules, and then the data packet is forwarded to the neighbor node. When the energy of the current node is less than that of the neighbor node, the data packet is forwarded to the next hop node according to the priority; when the energy of the current node is greater than that of the neighbor node When energy is used, no forwarding is performed, and the current node continues to generate or receive data packets, and then re-prioritizes the data packets. Because in the process of receiving data packets, the current node will continue to consume energy, and then the current node and neighbor nodes. The energy judges and chooses to forward the data packet until it is delivered to the destination node.
所述的邻居发现是指当前节点在转发消息之前,需要在可以通信范围内发现其他的邻居节点,才能进行数据转发。The neighbor discovery means that before forwarding a message, the current node needs to discover other neighbor nodes within a communication range, so that data can be forwarded.
所述的数据转发指的是当两个节点进入相互的通信范围内,各自转发其数据包。在邻居发现和数据转发前,节点内部对数据包进行优先级排序,对于节点间,根据能量感知选择合适的下一跳进行转发。节点中的消息缓存方式如图2所示,存储区被门限值分为左右两个部分。在网络中,数据包转发跳数比较小的会被定义为更高的优先级,如果某数据包的跳数小于门限值,它的优先级就会比大于门限值的数据包高。在数据包经过跳数小于门限值中,主要按照跳数来对响应的数据包进行排列,如果数据包的跳数越大,那么它的优先级将会更加低;在数据包经过跳数大于门限值中,该路由采取了一种自适应的方法来对门限值进行调整,方法公式(1)所示。The data forwarding refers to that when two nodes enter the communication range of each other, they forward their data packets respectively. Before neighbor discovery and data forwarding, data packets are prioritized within nodes, and between nodes, appropriate next hops are selected for forwarding based on energy perception. The message buffering method in the node is shown in Figure 2, and the storage area is divided into left and right parts by the threshold value. In the network, a packet with a smaller forwarding hop count is defined as a higher priority. If the hop count of a packet is less than the threshold, its priority will be higher than that of the packet greater than the threshold. When the hop count of the data packet is less than the threshold, the response data packets are mainly arranged according to the hop count. If the hop count of the data packet is larger, its priority will be lower; If it is greater than the threshold value, the route adopts an adaptive method to adjust the threshold value, as shown in the method formula (1).
其中,x是有机会传输消息时传输的平均字节数,b是存储区的容量大小,p是存储区大小的一部分,门限值t的大小等于在消息缓存区中含有第p个字节所对应的数据包经过的跳数。如果x远远小于b,则已经转发跳数比较小的数据包会被定义有更高的优先级;随着x的不断变大,门限值t主要由x与b-x的最小值决定;当x比p大时,门限值就没有存在的必要了,即可将其定义为0。对于图1中数据包跳数大于门限值的情况,根据传送按照传送概率对它们进行排序,传送概率值越大,优先级将会越高。传送概率估值定义如下:where x is the average number of bytes transmitted when there is an opportunity to transmit a message, b is the size of the memory area, p is a fraction of the memory area size, and the threshold value t is equal to the size of the p-th byte contained in the message buffer area The number of hops that the corresponding data packet passes through. If x is much smaller than b, the data packets that have been forwarded with a smaller hop count will be defined with a higher priority; as x continues to increase, the threshold t is mainly determined by the minimum value of x and b-x; when When x is larger than p, the threshold value is unnecessary and can be defined as 0. For the case where the hop count of the data packets is greater than the threshold value in Figure 1, they are sorted according to the transmission probability according to the transmission. The larger the transmission probability value is, the higher the priority will be. The delivery probability estimate is defined as follows:
假设网络节点的集合为s,对于任何一个节点i∈s,可以计算出和节点j相遇的概率其中i∈s,j≠i,初始的值为1/(|s|-1),当节点i和节点j相遇的时候,的值会自动加1,然后节点i中的所有有关联的概率值会进行再一次地归一化。每当节点相遇时,他们会交换这些概率值。比如在只有六个节点的DTN网络中,节点i对其他的五个节点一开始的概率估值为 在和节点1首次相遇后,的值变为了1.2,然后再将这写概率进行重新归一化后,得到新的概率:本地的节点在获得其他节点的概率估值之后会将其保存下来,进而能求出通过不同路径到目的节点d的传送成本c(i,i+1,…,d),定义如公式(2)所示,为每条链路不发生概率估值的总和。故在数据包跳数大于门限值的情况中,传送成本越小,其优先级越高。Assuming that the set of network nodes is s, for any node i ∈ s, the probability of encountering node j can be calculated where i∈s, j≠i, the initial value is 1/(|s|-1), when node i and node j meet, The value of is automatically incremented by 1, and then all associated probability values in node i are normalized again. Whenever nodes meet, they exchange these probability values. For example, in a DTN network with only six nodes, the initial probability of node i to the other five nodes is estimated as After encountering node 1 for the first time, The value of is changed to 1.2, and then the written probability is renormalized to obtain a new probability: The local node will save the probability estimates of other nodes after obtaining them, and then can calculate the transmission cost c(i,i+1,...,d) through different paths to the destination node d, which is defined as formula (2) ), which is the sum of the probability estimates of the probability that each link will not occur. Therefore, in the case where the hop count of the data packet is greater than the threshold value, the lower the transmission cost, the higher the priority.
通过对节点之间能量的判断完成下一跳节点的选择问题。DTN的每一个节点资源是有限的,为了保证信息的传输,需要耗费大量的能量。主要包括发送消耗能量Et、接收消耗能量Er、扫描信息能量Es,具体计算方式如公式(3)、(4)、(5)所示。其中,Pe是收发器每秒The next hop node selection problem is completed by judging the energy between nodes. The resources of each node of DTN are limited. In order to ensure the transmission of information, a large amount of energy needs to be consumed. It mainly includes sending energy consumption E t , receiving energy consumption Er , and scanning information energy Es , and the specific calculation methods are shown in formulas (3), (4), and (5). where Pe is the transceiver per second
Et=(Pe+PaRn)Tt (3)E t =(P e +P a R n )T t (3)
Er=(Pe+Pp)Tr (4)E r =(P e +P p ) Tr (4)
Es=PsTs (5)E s =P s T s (5)
消耗的能量,Pa是发射机射频放大器每秒消耗的能量;Pp是在接收器中进行处理所消耗的能量,Ps是扫描到无线电环境所消耗的能量,Ps=Pe,这些参数由收发机的设计特性决定。R是传输范围,n是信道路径损耗的功率指数。Tt是发送数据所消耗的时间。Tr是接收数据包所消耗的时间,Ts是扫描消息所消耗的时间。假设网络中节点的能量不会变为零,在节点接收到数据包时,将其当前的能量水平与邻居的能量水平进行比较,判断是否转发消息至其邻居节点。在当前节点的能量小于邻居节点的能量时,按优先级将数据包转发给下一跳节点;当前节点的能量大于邻居节点的能量时,不进行转发,当前节点继续产生或接受数据包,再重新对数据包进行优先级排序,由于在接收数据包的过程中,当前节点会继续消耗能量,随后再对当前节点和邻居节点能量进行判断进行选择转发数据包,直至交付给目的节点为止。Consumed energy, Pa is the energy consumed per second by the transmitter RF amplifier; P p is the energy consumed for processing in the receiver, P s is the energy consumed by scanning to the radio environment, P s =P e , these The parameters are determined by the design characteristics of the transceiver. R is the transmission range and n is the power index of the channel path loss. T t is the time it takes to send data. Tr is the time it takes to receive packets, and Ts is the time it takes to scan for messages. Assuming that the energy of a node in the network will not become zero, when a node receives a data packet, it compares its current energy level with that of its neighbors to determine whether to forward the message to its neighbors. When the energy of the current node is less than the energy of the neighbor node, the data packet is forwarded to the next hop node according to the priority; when the energy of the current node is greater than the energy of the neighbor node, the forwarding is not performed, and the current node continues to generate or receive data packets, and then Re-prioritize the data packets, because in the process of receiving the data packets, the current node will continue to consume energy, and then judge the energy of the current node and neighbor nodes to select and forward the data packets until they are delivered to the destination node.
在节点内部除了对数据包进行排序转发之外,由于节点的内存也是有限的,还需要在缓存空间中对相应的数据包进行删除,此后它将不会再被传输。在不会降低延迟容忍网络的数据包传输率的情况下,节点需要完成以下三种情况之一才能删除数据包。第一,该数据包的副本已经传送到了目的节点;第二,在数据包的时间戳范围内,当前节点和目的节点之间没有足够的带宽能够保证数据包能够被传送;第三,如果当前数据包的任何一个副本都没传送到目的节点,但是在当前节点删除其保存的对应数据包后,其他节点中存在的该数据包副本依然可以被传送给目的节点。这些准则可以通过验证,它们是必要且足够的。首先,这三种情况之间互相排斥,对于任意一个数据包,不会存在同时满足两种或着三种情况;其次,唯一没有考虑的是该数据包没有传送至目的节点的情况,但只有当前节点保存了该数据包的副本才可以把这个消息传送给目的节点。总而言之,对于删除数据包来说,首先会删除已经传输到目的节点的数据包副本;然后才会选择低优先级的数据包进行删除,优先级越低,会被越早进行删除。In addition to ordering and forwarding the data packets inside the node, since the memory of the node is also limited, the corresponding data packets need to be deleted in the buffer space, after which it will not be transmitted again. A node needs to complete one of three things in order to drop a packet without reducing the packet delivery rate of the delay tolerant network. First, a copy of the data packet has been transmitted to the destination node; second, within the timestamp range of the data packet, there is not enough bandwidth between the current node and the destination node to ensure that the data packet can be transmitted; third, if the current No copy of the data packet is transmitted to the destination node, but after the current node deletes the corresponding data packet it has saved, the copy of the data packet existing in other nodes can still be transmitted to the destination node. These guidelines can be verified, they are necessary and sufficient. First, these three cases are mutually exclusive. For any data packet, there will be no two or three cases that are satisfied at the same time; secondly, the only thing that is not considered is that the data packet is not transmitted to the destination node, but only The current node saves a copy of the packet before it can transmit the message to the destination node. All in all, for the deletion of data packets, the copies of the data packets that have been transmitted to the destination node will be deleted first; then the low-priority data packets will be selected for deletion. The lower the priority, the earlier they will be deleted.
所述的改进路由策略还有一些其他促进数据包传输和降低消息传输延迟的机制。第一,如果邻居节点是某数据包需要到达的目的节点,那么对应的数据包就被优先被发送。第二,节点之间相遇概率估值在节点之间交换。第三,对已经成功传输的数据包来说都有一个确认的消息被转发,这些确认消息每个长度为128比特,确认消息中包括对应消息的源节点标识、目的节点标识以及加密过的具体内容的哈希值,可以根据这种确认机制来帮助删去网络中已经过时且无用的消息。第四,剩下未转发的数据包需要按照优先级进行排序。第五,每个数据包的副本里有一个节点列表用于记录已经经过的所有节点,节点列表里也包括了目前转发该数据包副本的节点。假如某一节点已经收到过某个数据包后,将不会再重复接收该节点。The improved routing strategy described has other mechanisms to facilitate packet delivery and reduce message delivery delays. First, if the neighbor node is the destination node that a certain data packet needs to reach, then the corresponding data packet is sent first. Second, the probability estimates of encounters between nodes are exchanged between nodes. Third, for the data packets that have been successfully transmitted, there is an acknowledgment message forwarded. Each of these acknowledgment messages is 128 bits in length. The acknowledgment message includes the source node identification, destination node identification and encrypted specific information of the corresponding message. The hash value of the content, which can help eliminate outdated and useless messages from the network according to this confirmation mechanism. Fourth, the remaining unforwarded packets need to be sorted by priority. Fifth, there is a node list in the copy of each data packet to record all the nodes that have passed through, and the node list also includes the node currently forwarding the copy of the data packet. If a node has already received a data packet, it will not receive the node again.
经过EA-MaxProp路由后,由于选择节点能量高的节点作为下一跳,其生存时间长,能够将消息传输到目的节点的机会也会更高,同时传输次数也会降低,减小了网络开销,节点的能耗也会对应地降低。对于能量较小的节点,收到数据包的概率也会降低,不会过早地使用完能量,也不会过早地死亡,网络寿命得到充分延长,数据包的传送率也将会升高After EA-MaxProp routing, because the node with high node energy is selected as the next hop, its survival time is long, the chance of being able to transmit the message to the destination node will be higher, and the number of transmissions will also be reduced, reducing network overhead. , the energy consumption of the node will be correspondingly reduced. For nodes with less energy, the probability of receiving data packets will also be reduced, the energy will not be used up prematurely, and the node will not die prematurely. The network life is fully extended, and the transmission rate of data packets will also increase
应该注意的是,上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210048620.7A CN114302473B (en) | 2022-01-17 | 2022-01-17 | Energy perception routing method oriented to delay tolerant network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210048620.7A CN114302473B (en) | 2022-01-17 | 2022-01-17 | Energy perception routing method oriented to delay tolerant network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114302473A true CN114302473A (en) | 2022-04-08 |
| CN114302473B CN114302473B (en) | 2023-11-24 |
Family
ID=80977634
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210048620.7A Active CN114302473B (en) | 2022-01-17 | 2022-01-17 | Energy perception routing method oriented to delay tolerant network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114302473B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102843301A (en) * | 2012-09-12 | 2012-12-26 | 北京航空航天大学 | Routing method for mobile delay tolerant network based on contact predication |
| KR101618545B1 (en) * | 2015-04-24 | 2016-05-10 | 군산대학교산학협력단 | An energy-efficient message transmission method for a community-based Delay Tolerant Network |
| US20210111988A1 (en) * | 2019-10-10 | 2021-04-15 | United States Of America As Represented By The Secretary Of The Navy | Reinforcement Learning-Based Intelligent Control of Packet Transmissions Within Ad-Hoc Networks |
-
2022
- 2022-01-17 CN CN202210048620.7A patent/CN114302473B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102843301A (en) * | 2012-09-12 | 2012-12-26 | 北京航空航天大学 | Routing method for mobile delay tolerant network based on contact predication |
| KR101618545B1 (en) * | 2015-04-24 | 2016-05-10 | 군산대학교산학협력단 | An energy-efficient message transmission method for a community-based Delay Tolerant Network |
| US20210111988A1 (en) * | 2019-10-10 | 2021-04-15 | United States Of America As Represented By The Secretary Of The Navy | Reinforcement Learning-Based Intelligent Control of Packet Transmissions Within Ad-Hoc Networks |
Non-Patent Citations (2)
| Title |
|---|
| GUO HANG: "A location aided controlled spraying routing algorithm for Delay Tolerant Networks", 《AD HOC NETWORKS》 * |
| 李陈浩: "面向DTN的网络模型与路由策略研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114302473B (en) | 2023-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9979635B2 (en) | Method for controlling flood broadcasts in a wireless mesh network | |
| US6535498B1 (en) | Route updating in ad-hoc networks | |
| Tran et al. | Congestion adaptive routing in mobile ad hoc networks | |
| Marwaha et al. | Mobile agents based routing protocol for mobile ad hoc networks | |
| Wang et al. | A survey of transport protocols for wireless sensor networks | |
| Ji et al. | Differential destination multicast-a manet multicast routing protocol for small groups | |
| Marwaha et al. | A novel routing protocol using mobile agents and reactive route discovery for ad hoc wireless networks | |
| Chakrabarti et al. | Load balancing and resource reservation in mobile ad hoc networks | |
| CN113490251B (en) | Mobile ad hoc network route construction method based on flooding constraint and multi-metric function | |
| US20100238935A1 (en) | Method for Routing Ad-Hoc Signals | |
| Sharma et al. | Ant colony based node disjoint local repair in multipath routing in MANET network | |
| CN106941695B (en) | It is a kind of in opportunistic network to be based on the matched data distributing method of interest | |
| CN114302473B (en) | Energy perception routing method oriented to delay tolerant network | |
| CN109391675B (en) | A Reliable Transmission Method from Sink Node to Sensing Node Applied in WSN | |
| Wannawilai et al. | AOMDV with sufficient bandwidth aware | |
| Lin et al. | BGCA: Bandwidth guarded channel adaptive routing for ad hoc networks | |
| Tien et al. | A local/global strategy based on signal strength for message routing in wireless mobile ad-hoc networks | |
| CN113207155B (en) | Replica Adaptive Forwarding and Routing Method Based on Network Connectivity in Flight Ad Hoc Network | |
| CN114423040B (en) | A congestion control-based delay-tolerant network infection routing method | |
| LU507246B1 (en) | An rpl routing optimization method based on residual energy and load constraints | |
| CN114339933B (en) | Opportunistic routing method, device and system based on energy efficiency | |
| Nieminen et al. | Algorithms for real time trend detection | |
| Charan et al. | Reliability and Energy Efficiency of DEAR Protocol with Cooperative Caching in IEEE802. 15.4 based large ubiquitous Wireless Sensor Networks | |
| Modani et al. | Adaptivity of arod routing protocol in sparse and dense Ad-hoc networks | |
| CN118301070A (en) | Efficient cross-layer message forwarding circuit and control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |