CN105763451A - Ant colony algorithm-based QoS fault-tolerant route selection method in Internet of Vehicles - Google Patents
Ant colony algorithm-based QoS fault-tolerant route selection method in Internet of Vehicles Download PDFInfo
- Publication number
- CN105763451A CN105763451A CN201610284191.8A CN201610284191A CN105763451A CN 105763451 A CN105763451 A CN 105763451A CN 201610284191 A CN201610284191 A CN 201610284191A CN 105763451 A CN105763451 A CN 105763451A
- Authority
- CN
- China
- Prior art keywords
- node
- message
- path
- fant
- qos
- 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.)
- Pending
Links
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 59
- 238000010187 selection method Methods 0.000 title abstract description 6
- 239000003016 pheromone Substances 0.000 claims abstract description 47
- 230000005540 biological transmission Effects 0.000 claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 24
- 230000008569 process Effects 0.000 claims abstract description 9
- 230000006855 networking Effects 0.000 claims 6
- 230000009191 jumping Effects 0.000 claims 3
- 230000000737 periodic effect Effects 0.000 claims 3
- 238000001514 detection method Methods 0.000 claims 2
- 238000000205 computational method Methods 0.000 claims 1
- 241000257303 Hymenoptera Species 0.000 abstract description 8
- 238000004088 simulation Methods 0.000 abstract description 6
- 235000008694 Humulus lupulus Nutrition 0.000 abstract description 3
- 238000000151 deposition Methods 0.000 abstract description 3
- 239000003795 chemical substances by application Substances 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 15
- 238000004364 calculation method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000001934 delay Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000001704 evaporation Methods 0.000 description 2
- 230000008020 evaporation Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000001556 precipitation Methods 0.000 description 2
- 230000002787 reinforcement Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 241001474033 Acar Species 0.000 description 1
- 101001093748 Homo sapiens Phosphatidylinositol N-acetylglucosaminyltransferase subunit P Proteins 0.000 description 1
- 206010039203 Road traffic accident Diseases 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000002459 sustained effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/123—Evaluation of link metrics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/124—Shortest path evaluation using a combination of metrics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/128—Shortest path evaluation for finding disjoint paths
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
- H04W40/14—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality based on stability
-
- 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
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种车联网中基于蚁群算法的QoS容错路由选择方法,涉及车联网技术领域。具有前向搜索功能。算法中引入了两个类似蚂蚁的代理,分别是转发蚂蚁和逆向蚂蚁,用于评估满足QoS约束条件的参数,该方法使用带宽、跳数和延时等指标来计算源节点和目的节点之间的多条不相交路径,以满足给定的QoS约束。通过在链路中沉淀信息素,来找到最佳路径,同时在节点出现故障后能找到容错的备选路径。由于路由选择过程中考虑了网络稳定性和QoS约束,因此它完全遵循QoS目标。本发明还通过仿真实验后,通过比较发现该算法比其他的路由算法在数据包传输率、吞吐量和路由开销等方面有更好的性能。
The invention discloses a QoS fault-tolerant routing selection method based on an ant colony algorithm in the Internet of Vehicles, and relates to the technical field of the Internet of Vehicles. With forward search function. In the algorithm, two ant-like agents are introduced, which are forwarding ants and reverse ants, which are used to evaluate the parameters that meet the QoS constraints. This method uses indicators such as bandwidth, hops and delay to calculate multiple disjoint paths to satisfy a given QoS constraint. By depositing pheromone in the link, the optimal path can be found, and at the same time, a fault-tolerant alternative path can be found after the node fails. Since network stability and QoS constraints are considered in the route selection process, it fully follows the QoS objectives. The present invention also finds that the algorithm has better performance in data packet transmission rate, throughput and routing overhead than other routing algorithms through comparison after simulation experiments.
Description
技术领域technical field
本发明涉及车联网技术领域,具体涉及一种车联网中基于蚁群算法的QoS容错路由选择方法。The invention relates to the technical field of the Internet of Vehicles, in particular to a QoS fault-tolerant routing selection method based on an ant colony algorithm in the Internet of Vehicles.
背景技术Background technique
随着社会的快速发展,车辆已经成为人们生活中必不可少的工具,据公安部交管局统计,截至2014年年底,我国机动车保有量达到2.64亿辆,其中汽车1.54亿辆,机动车驾驶人突破3亿人。随着经济社会的持续快速发展,汽车保有量仍呈快速增长趋势。汽车的普及一方面给交通运输、环境保护带来巨大压力,另一方面导致汽车之间构成的网络——车联网变得日益重要。车联网将成为仅次于互联网和移动互联网之后的第三大互联网载体,与之相关的学术研究和应用已成为当前的热点。With the rapid development of society, vehicles have become an indispensable tool in people's lives. According to statistics from the Traffic Management Bureau of the Ministry of Public Security, by the end of 2014, the number of motor vehicles in my country reached 264 million, of which 154 million were automobiles, and motor vehicle drivers The number of people exceeded 300 million. With the sustained and rapid economic and social development, car ownership is still showing a rapid growth trend. On the one hand, the popularity of automobiles has brought enormous pressure on transportation and environmental protection, and on the other hand, the network formed between automobiles—the Internet of Vehicles has become increasingly important. The Internet of Vehicles will become the third largest Internet carrier after the Internet and the mobile Internet, and related academic research and applications have become current hot spots.
车联网是以车内网、车际网和车载移动互联网为基础,按照约定的通信协议和数据交互标准,利用无线射频识别设备、GPS等接入技术,在人、车、路与环境之间实现智能协同,进行无线通信和数据交互,它是传统的移动自组织网络在交通道路上的应用。与其他自组织网络不同的是,车辆通信网络(VehicularCommunicationNetwork,VCN)具有高度的动态性,分布在城市道路系统中。The Internet of Vehicles is based on the intra-vehicle network, the inter-vehicle network and the vehicle-mounted mobile Internet. According to the agreed communication protocol and data interaction standards, it uses radio frequency identification equipment, GPS and other access technologies to connect people, vehicles, roads and the environment. To achieve intelligent collaboration, wireless communication and data interaction, it is the application of traditional mobile ad hoc networks on traffic roads. Different from other self-organizing networks, the vehicle communication network (Vehicle Communication Network, VCN) is highly dynamic and distributed in the urban road system.
首先,车辆节点的移动受到道路走向、道路标识、红绿灯和车流状况的影响,使用专用短距离通信技术(DedicatedShort-RangeCommunication,DSRC)来与其他车辆节点(VehicletoVehicle,V2V)或者路边通信设施(VehicletoRoadside,V2R)进行通信;其次,VCN中的车辆节点以自组织的方式构建网络,网络规模具有高度的伸缩性和扩展性;第三,与无线传感器网络和移动终端网络中的节点不同,车辆节点具有强大的计算和存储资源,并且无使用限制。因此,基于短距离通信方式的路由技术研究是学者和业界关注的焦点,如何保证数据从源端车辆准确、高效、安全地传输到终端车辆,是VCN中其他各项应用实现的基础。First of all, the movement of vehicle nodes is affected by road direction, road signs, traffic lights and traffic conditions, using dedicated short-range communication technology (DedicatedShort-RangeCommunication, DSRC) to communicate with other vehicle nodes (VehicletoVehicle, V2V) or roadside communication facilities (VehicletoRoadside , V2R) for communication; secondly, the vehicle nodes in the VCN build a network in a self-organizing manner, and the network scale is highly scalable and expansive; thirdly, unlike the nodes in wireless sensor networks and mobile terminal networks, vehicle nodes With powerful computing and storage resources, and unlimited usage. Therefore, the research on routing technology based on short-distance communication is the focus of scholars and the industry. How to ensure the accurate, efficient and safe transmission of data from the source vehicle to the terminal vehicle is the basis for the realization of other applications in VCN.
在传统的移动自组织网络中,源路由协议是最简单的一种路由协议,它由路由发现和路由维护两个阶段构成。一旦源节点发出请求,邻居节点就会进行路由发现,按照一定的规则选择一条无循环的可用路径。距离向量路由协议AODV在路由表中增加了目标序列号字段,但是由于网络拓扑结构不断变化,路由表项中的下一跳可能会与实际情况不一致。AODV-BR和AODV-ABR在链路失效时分别使用备份路由和自适应备份路由,但会备份路由的动态识别引起额外的开销。支持QoS保证的路由算法如AQOR,它在路由选择时考虑了带宽和端到端时延,使用洪泛策略来发现所需要的路径。基于博弈论的路由算法中,数据包转发只在考虑了不同QoS参数的获胜节点之间进行,代理节点需要不断和其他节点竞争以取得转发权,同样容易受到攻击和威胁。ACAR路由方法基于已知的城市道路网络,通过实时获取车流信息、广播路由探索包等方法,建立初始节点和终端节点之间的固定多跳转发路由,该方法产生的路径固定,无法用于拓扑经常变化的车联网。In the traditional mobile ad hoc network, the source routing protocol is the simplest routing protocol, which consists of two stages: route discovery and route maintenance. Once the source node sends a request, the neighbor node will perform route discovery and select an available path without loops according to certain rules. The distance vector routing protocol AODV adds the target sequence number field in the routing table, but due to the continuous change of the network topology, the next hop in the routing table entry may be inconsistent with the actual situation. AODV-BR and AODV-ABR respectively use the backup route and the adaptive backup route when the link fails, but the dynamic identification of the backup route will cause additional overhead. Routing algorithms that support QoS guarantees, such as AQOR, consider bandwidth and end-to-end delay when selecting routes, and use flooding strategies to find the required paths. In the routing algorithm based on game theory, data packet forwarding is only carried out between winning nodes considering different QoS parameters. Proxy nodes need to constantly compete with other nodes to obtain forwarding rights, and are also vulnerable to attacks and threats. The ACAR routing method is based on the known urban road network, and establishes a fixed multi-hop forwarding route between the initial node and the terminal node by obtaining traffic flow information in real time and broadcasting route discovery packets. The path generated by this method is fixed and cannot be used for The Internet of Vehicles whose topology changes frequently.
针对VCN中的路由问题,已经有了不同的路由方法,主要分为单播、多播、区域性群播和广播等。这些方法虽然能够在车辆节点之间传输数据,但是都没有考虑QoS约束,并且在路由建立和数据传输阶段容易受到攻击者的入侵。For the routing problem in VCN, there are already different routing methods, which are mainly divided into unicast, multicast, regional multicast and broadcast. Although these methods are able to transmit data between vehicle nodes, they do not consider QoS constraints and are vulnerable to attackers during the route establishment and data transmission stages.
发明内容Contents of the invention
针对上述缺陷或不足,本发明的目的在于提供一种车联网中基于蚁群算法的QoS容错路由选择方法,该方法能够计算出路径优先权,从所有的可用路径中选择一条权值最高的最优路径用于传输数据。In view of the above-mentioned defects or deficiencies, the purpose of the present invention is to provide a QoS fault-tolerant routing selection method based on an ant colony algorithm in the Internet of Vehicles, which can calculate the path priority, and select a path with the highest weight from all available paths. The optimal path is used to transmit data.
为达到以上目的,本发明的技术方案为:For achieving above object, technical scheme of the present invention is:
一种车联网中基于蚁群算法的QoS容错路由选择方法,包括以下步骤:A QoS fault-tolerant routing selection method based on ant colony algorithm in the Internet of Vehicles, comprising the following steps:
1)源节点生成用来查找到目的节点的多条路径,并且遍历路径中所有节点的地址;然后,源节点检测邻居节点,获取相邻节点的信息素值表,所述信息素值表包括源节点与相邻节点之间的路径质量;1) The source node generates multiple paths for finding the destination node, and traverses the addresses of all nodes in the path; then, the source node detects the neighbor nodes and obtains the pheromone value table of the neighbor node, and the pheromone value table includes The path quality between the source node and the adjacent node;
2)源节点向所有邻居节点路径质量高于临界值的邻居节点广播FANT消息,所述FANT消息包括源地址、目的地址、序列号、跳数、带宽、开始时间、以及路径字段;2) the source node broadcasts a FANT message to all neighbor nodes whose path quality is higher than a critical value, and the FANT message includes source address, destination address, sequence number, hop count, bandwidth, start time, and path fields;
3)中间节点接收到FANT消息后,检测FANT消息中的路径字段:如果该中间节点地址存在,则丢弃FANT信息;如果不存在,则将该中间节点的地址添加到FANT消息中,进行FANT消息更新,并通过NHR值广播给稳定的邻居节点;3) After the intermediate node receives the FANT message, it detects the path field in the FANT message: if the intermediate node address exists, the FANT information is discarded; if it does not exist, the address of the intermediate node is added to the FANT message to perform the FANT message Update and broadcast to stable neighbor nodes through the NHR value;
4)重复步骤3),直到FANT消息到达目的节点;4) Repeat step 3) until the FANT message arrives at the destination node;
5)目的节点接收所有FANT消息,根据FANT消息中参数,进行QoS参数计算,获得每个路径的路径优先权,并根据满足用户指定QoS临界值要求的路径优先权生成BANT消息单播到源节点;所述BANT消息包括目的地址、源地址、开始时间、接收的路径字段、以及路径优先权;5) The destination node receives all FANT messages, calculates the QoS parameters according to the parameters in the FANT messages, obtains the path priority of each path, and generates a BANT message unicast to the source node according to the path priority that meets the user-specified QoS critical value requirement ; The BANT message includes destination address, source address, start time, received path field, and path priority;
6)源节点接收BANT消息,并且根据接收到的中间节点的BANT消息,选择具最高信息素值的节点用来进行数据传输。6) The source node receives the BANT message, and selects the node with the highest pheromone value for data transmission according to the received BANT message of the intermediate node.
所述步骤5)中,目的节点接收所有FANT消息时,需要等待时间Tk,所述Tk是所有端到端时延De的整型系数,BANT消息通过出栈操作将消息单播到源节点。In the step 5), when the destination node receives all FANT messages, it needs to wait for a time T k , and the T k is an integer coefficient of all end-to-end delays De, and the BANT message is unicast to the source by popping the stack operation node.
所述步骤5)中,BANT消息单播到源节点过程中,对经过节点的信息素值进行更新,具体为:In the step 5), during the unicast of the BANT message to the source node, the pheromone value passing through the node is updated, specifically:
当BANT从节点n到达中间节点m时,节点m中的信息素值通过下式进行更新:When BANT reaches the intermediate node m from node n, the pheromone value in node m is updated by the following formula:
Tm,n=(1+Tm,n)P(i)d T m,n =(1+T m,n )P (i)d
其中,P(i)d是到目标节点D的第i条路径的优先权值,其满足了QoS需求。Among them, P (i)d is the priority value of the i-th path to the destination node D, which meets the QoS requirement.
所述步骤5)之后还包括步骤5.1):Said step 5) also includes step 5.1) after:
目的节点单播BANT消息过程中,中间节点接收到BANT消息后,周期性广播hello消息来更新路由表,以使得该中间节点知道自己的邻居;若节点s和节点t之间建立了关系,则它们之间链路上的初始信息素值就存储为0.1,表示成Tst=0.1,对每个接收到FANT的中间节点来说,链路中的信息素值呈现出正增长趋势,表示为Tst=ΔTst+Tst,Tst=0.05;如果数据在有限的时间间隔内没有传输,那么链路中的信息素值就按照系数μ衰减,如下式所示:During the unicast BANT message process of the destination node, after receiving the BANT message, the intermediate node periodically broadcasts the hello message to update the routing table, so that the intermediate node knows its neighbors; if a relationship is established between node s and node t, then The initial pheromone value on the link between them is stored as 0.1, expressed as T st =0.1, for each intermediate node receiving FANT, the pheromone value in the link shows a positive growth trend, expressed as T st =ΔT st +T st , T st =0.05; if the data is not transmitted within a limited time interval, then the pheromone value in the link will decay according to the coefficient μ, as shown in the following formula:
如果两个节点之间的链路丢失,则链路上的信息素值变为0;当BANT消息到达中间节点后,如果中间节点位置发生变化,则BANT则被删除。If the link between two nodes is lost, the pheromone value on the link becomes 0; when the BANT message reaches the intermediate node, if the position of the intermediate node changes, the BANT is deleted.
如果两个节点之间的链路丢失,则链路上的信息素值变为0;当BANT消息到达中间节点后,如果中间节点位置发生变化,则BANT则被删除。If the link between two nodes is lost, the pheromone value on the link becomes 0; when the BANT message reaches the intermediate node, if the position of the intermediate node changes, the BANT is deleted.
所述用户指定QoS临界值要求通过临界值的波动幅度衡量:The user-specified QoS critical value is required to be measured by the fluctuation range of the critical value:
用dg,bg,hg分别表示延时、带宽和跳数,计算公式如下:Use d g , b g , h g to represent the delay, bandwidth and hop count respectively, and the calculation formula is as follows:
路径k的优先权计算方法为其中Pk是路由发现阶段发现的源节点到目的节点可用的路径集,Dt、Dc分别表示每条路径上端到端时延的最大阈值和当前值;Bt、Bc表示每条路径上端到端带宽的最大阈值和当前值;Ht、Hc分别表示每条路径上端到端跳数的最大阈值和当前值。The priority calculation method of path k is Among them, P k is the set of available paths from the source node to the destination node found in the route discovery stage, D t and D c respectively represent the maximum threshold and current value of the end-to-end delay on each path; B t and B c represent each path The maximum threshold and current value of the upper end-to-end bandwidth; H t and H c represent the maximum threshold and current value of the end-to-end hop count on each path, respectively.
所述步骤6)后还包括步骤7)周期性检查所选路径的优先权:如果某一节点的路径质量值低于临界值,就向其前驱结点发送消息将节点关闭,接着选择备选路径来进行数据传输,对于备选路径来说,同样周期性检查其有效性。Said step 6) also includes step 7) after periodically checking the priority of the selected path: if the path quality value of a certain node is lower than the critical value, it will send a message to its predecessor node to close the node, and then select an alternative The path is used for data transmission, and for the alternative path, its validity is also periodically checked.
与现有技术比较,本发明的有益效果为:Compared with prior art, the beneficial effects of the present invention are:
本发明提出了车辆通信网中一种基于蚁群策略的支持QoS的多路径路由算法,具有前向搜索功能。算法中引入了两个类似蚂蚁的代理,分别是转发蚂蚁和逆向蚂蚁,用于评估满足QoS约束条件的参数,该方法使用带宽、跳数和延时等指标来计算源节点和目的节点之间的多条不相交路径,以满足给定的QoS约束。通过在链路中沉淀信息素,来找到最佳路径,同时在节点出现故障后能找到容错的备选路径。由于路由选择过程中考虑了网络稳定性和QoS约束,因此它完全遵循QoS目标。本发明还通过仿真实验后,通过比较发现该算法比其他的路由算法在数据包传输率、吞吐量和路由开销等方面有更好的性能。The invention proposes a QoS-supporting multi-path routing algorithm based on ant colony strategy in the vehicle communication network, which has forward search function. In the algorithm, two ant-like agents are introduced, which are forwarding ants and reverse ants, which are used to evaluate the parameters that meet the QoS constraints. This method uses indicators such as bandwidth, hops, and delays to calculate multiple disjoint paths to satisfy a given QoS constraint. By depositing pheromone in the link, the optimal path can be found, and at the same time, a fault-tolerant alternative path can be found after the node fails. Since network stability and QoS constraints are considered in the route selection process, it fully follows the QoS objectives. The present invention also finds that the algorithm has better performance in data packet transmission rate, throughput and routing overhead than other routing algorithms through comparison after simulation experiments.
附图说明Description of drawings
图1是本发明的流程结构示意图;Fig. 1 is a flow chart structural representation of the present invention;
图2是源节点接收到FANT信息时的路由发现流程图;Figure 2 is a flow chart of route discovery when the source node receives FANT information;
图3是中间节点接收到FANT信息时的路由发现流程图;Fig. 3 is the routing discovery flowchart when the intermediate node receives FANT information;
图4是目的节点接收到FANT信息时的路由发现流程图;Fig. 4 is the flow chart of route discovery when destination node receives FANT information;
图5是路由选择和数据传输流程图;Fig. 5 is a flow chart of route selection and data transmission;
图6是故障节点数量与数据包传输率的关系;Fig. 6 is the relationship between the number of faulty nodes and the data packet transmission rate;
图7是故障节点数量与吞吐量的关系;Figure 7 is the relationship between the number of failed nodes and throughput;
图8是故障节点数量与路由开销的关系;Figure 8 is the relationship between the number of faulty nodes and routing overhead;
图9是节点移动速度与数据包传输率的关系;Fig. 9 is the relationship between node moving speed and data packet transmission rate;
图10是节点移动速度与吞吐量的关系;Fig. 10 is the relationship between node moving speed and throughput;
图11是节点移动速度与路由开销的关系。Figure 11 is the relationship between node moving speed and routing overhead.
具体实施方式detailed description
下面结合附图对本发明做详细描述。The present invention will be described in detail below in conjunction with the accompanying drawings.
基于群体的智能算法如蚁群算法,使用生物学技术作为启发因子来确定有效的路径。这些算法的自学习能力适用于移动网络中的动态性,但是基于位置的ACO路由算法只适合网络拓扑变化较小的场合。基于贪心算法的ACO路由机制只选择一条到目的节点的最佳路径,具有高的数据包传输速率和吞吐量,但是没有考虑丢包率。FTRA引入了工蚁的概念,类似于控制数据包,它的任务是从现有的有效路由中基于控制信息识别出错误路由。该协议支持主动或者被动地发送控制数据包。DAR是另外一种蚁群路由算法,它的目标是最小化路由的计算复杂度,采用逐跳最优策略来转发FANT,以便发现到目的节点的最佳路径,但是该算法花费的时间不是最佳的。多数ACO路由算法识别并采用了所有可能的n条路径,这降低了多路径路由算法的性能,路由数量增加到一定程度后,路由表因为存储了大量的实时信息变得逐渐膨胀,网络带宽和节点性能也随之下降。因此,提出了一种在车辆通信网中考虑了QoS约束的容错路由算法。Swarm-based intelligence algorithms, such as the ant colony algorithm, use biological techniques as heuristics to determine efficient paths. The self-learning ability of these algorithms is suitable for the dynamics in the mobile network, but the location-based ACO routing algorithm is only suitable for occasions where the network topology changes little. The ACO routing mechanism based on the greedy algorithm only selects an optimal path to the destination node, which has a high data packet transmission rate and throughput, but does not consider the packet loss rate. FTRA introduces the concept of worker ants, similar to control data packets, whose task is to identify wrong routes based on control information from existing effective routes. The protocol supports sending control packets actively or passively. DAR is another ant colony routing algorithm. Its goal is to minimize the computational complexity of routing, and use the hop-by-hop optimal strategy to forward FANT in order to find the best path to the destination node. However, the time spent by this algorithm is not the shortest. good. Most ACO routing algorithms identify and adopt all possible n paths, which reduces the performance of multi-path routing algorithms. After the number of routes increases to a certain extent, the routing table becomes gradually inflated due to storing a large amount of real-time information, and the network bandwidth and Node performance also degrades. Therefore, a fault-tolerant routing algorithm considering QoS constraints in vehicular communication networks is proposed.
车辆通信网络已成为下一代无线网络的关键技术,它不仅支持智能交通系统服务,尤其是与公共安全相关的应用程序,还支持大量的多媒体和数据应用。车辆作为因特网中的一部分,具有移动节点、移动骨干路由器或者移动传感器的功能。Vehicle communication network has become a key technology of next-generation wireless network, which not only supports intelligent transportation system services, especially applications related to public safety, but also supports a large number of multimedia and data applications. As a part of the Internet, vehicles have the functions of mobile nodes, mobile backbone routers or mobile sensors.
VCN的基础设施中包含了两级通信网络,VANET属于第一级,由车对车单播通信和车对基础设施多播通信构成,路侧网络也分为两个部分,分别是由路侧单元组成的路侧接入网络和路侧骨干网络。VCN中可以运行不同的智能交通应用程序和Internet程序,每个应用对QoS的需求不同,例如安全预警应用应当具有最小的端到端时延,因为如果接收端接收的预警消息延迟过大,该消息就不能及时防止交通事故发生。与此类似,数据包丢失率和吞吐量也是主动安全应用中两个主要的QoS参数。The VCN infrastructure includes a two-level communication network. VANET belongs to the first level, which is composed of vehicle-to-vehicle unicast communication and vehicle-to-infrastructure multicast communication. The roadside network is also divided into two parts, respectively. Roadside access network and roadside backbone network composed of units. Different intelligent transportation applications and Internet programs can be run in the VCN, and each application has different requirements for QoS. For example, the security warning application should have the minimum end-to-end delay, because if the delay of the warning message received by the receiving end is too large, the Message just cannot prevent traffic accident from taking place in time. Similarly, packet loss rate and throughput are also two main QoS parameters in active safety applications.
基于蚁群算法的容错路由算法(FaultTolerantRoutingAlgorithmBased-onAntColonyPolicy,FTRA-BACP)分为三个阶段:路由发现阶段、路由选择阶段和路由维护阶段。对应的ACO算法有六个步骤,分别是:初始化、路径选择、信息素沉淀、可信度计算、蒸发和负强化。在路径发现阶段,如果源节点没有现成的路径可用,就会利用路径的信息素值进行初始化操作。如果信息素值为0或者接近0,表示该路径不存在或者出现故障不适用于传输数据。如果源节点有路径可用,那么它根据路径的信息素含量和时间延迟选择一条状态良好的路由。信息素沉淀有两种类型。蚂蚁除了更新源节点路由表中路径的信息素含量,还更新它所遍历的节点中的信息素。每个工蚁到达目标节点后,就回溯路径,更新其中每个节点的信息素含量。路径集中每条路径上的节点和非路径集中的节点进行蒸发操作,该操作降低了高可信度路径失效后的信息素含量,但因为该路径仍在路径集中存在,经过该路径的路由会中断,应当将其通过负强化作用删除。正常路径中包含了一定数量的信息素,如果因为恶意中断导致路径失效,工蚁就不能在该路径上沉淀信息素,因此选择备选路径来进行数据传输。该路由机制的主要目标是用最小的路由开销查找到源-目的节点之间所有可用的节点不相交路径。具体过程为:Fault TolerantRoutingAlgorithmBased-onAntColonyPolicy (FTRA-BACP) based on ant colony algorithm is divided into three stages: route discovery stage, route selection stage and route maintenance stage. The corresponding ACO algorithm has six steps, namely: initialization, path selection, pheromone precipitation, credibility calculation, evaporation and negative reinforcement. In the path discovery stage, if the source node does not have a ready-made path available, it will use the pheromone value of the path for initialization. If the pheromone value is 0 or close to 0, it means that the path does not exist or fails and is not suitable for transmitting data. If the source node has a path available, it selects a route with a good state according to the path's pheromone content and time delay. There are two types of pheromone precipitation. In addition to updating the pheromone content of the path in the routing table of the source node, the ant also updates the pheromone in the nodes it traverses. After each worker ant reaches the target node, it traces back the path and updates the pheromone content of each node. The nodes on each path in the path set and the nodes not in the path set perform the evaporation operation, which reduces the pheromone content after the failure of the high-confidence path, but because the path still exists in the path set, the routes passing through the path will be interruption, it should be removed through negative reinforcement. The normal path contains a certain amount of pheromone. If the path fails due to malicious interruption, worker ants cannot deposit pheromone on the path, so they choose an alternative path for data transmission. The main goal of this routing mechanism is to find all available node-disjoint paths between source-destination nodes with the minimum routing overhead. The specific process is:
实施例1Example 1
如图1所示,本发明提供了一种车联网中基于蚁群算法的QoS容错路由选择方法,包括以下步骤:As shown in Figure 1, the present invention provides a kind of QoS fault-tolerant route selection method based on ant colony algorithm in the Internet of Vehicles, comprising the following steps:
1)源节点生成用来查找到目的节点的多条路径,并且遍历路径中所有节点的地址;然后,源节点检测邻居节点,获取相邻节点的信息素值表,所述信息素值表包括源节点与相邻节点之间的路径质量;1) The source node generates multiple paths for finding the destination node, and traverses the addresses of all nodes in the path; then, the source node detects the neighbor nodes and obtains the pheromone value table of the neighbor node, and the pheromone value table includes The path quality between the source node and the adjacent node;
2)如图2所示,源节点向所有邻居节点路径质量高于临界值的邻居节点广播FANT(转发蚂蚁)消息,所述FANT消息包括源地址、目的地址、序列号、跳数、带宽、开始时间、以及路径字段;如表1所示:2) As shown in Figure 2, the source node broadcasts the FANT (forwarding ants) message to the neighbor nodes whose path quality is higher than the critical value to all neighbor nodes, and the FANT message includes source address, destination address, sequence number, hop count, bandwidth, Start time, and path fields; as shown in Table 1:
表1FANT消息结构Table 1 FANT message structure
3)中间节点接收到FANT消息后,检测FANT消息中的路径字段:如果该中间节点地址存在,则丢弃FANT信息;如果不存在,则将该中间节点的地址添加到FANT消息中,进行FANT消息更新,并通过NHR值广播给稳定的邻居节点;3) After the intermediate node receives the FANT message, it detects the path field in the FANT message: if the intermediate node address exists, the FANT information is discarded; if it does not exist, the address of the intermediate node is added to the FANT message to perform the FANT message Update and broadcast to stable neighbor nodes through the NHR value;
如图3所示,如果中间节点收到FANT消息,会检查路径字段中地址的可用性,如果该地址已经存在说明存在环路,丢弃FANT消息,否则节点将其地址添加到FANT消息中,并通过下一跳可达性(NextHopReachability,NHR)值广播给稳定的邻居节点。在该过程中,FANT信息还记录了每条链路的传输时延和有效承载量、每个节点的处理时延和访问的总跳数。As shown in Figure 3, if the intermediate node receives the FANT message, it will check the availability of the address in the path field. If the address already exists, it means that there is a loop, and the FANT message will be discarded. Otherwise, the node will add its address to the FANT message and pass The NextHopReachability (NHR) value is broadcast to stable neighbor nodes. In this process, FANT information also records the transmission delay and effective carrying capacity of each link, the processing delay of each node and the total number of hops accessed.
4)重复步骤3),直到FANT消息到达目的节点;4) Repeat step 3) until the FANT message arrives at the destination node;
5)如图4所示,目的节点接收所有FANT消息,根据FANT消息中参数,进行QoS参数计算,获得每个路径的路径优先权,并根据满足用户指定QoS临界值要求的路径优先权生成BANT(逆向蚂蚁)消息单播到源节点;所述BANT消息包括目的地址、源地址、开始时间、接收的路径字段、以及路径优先权,如表1所示:5) As shown in Figure 4, the destination node receives all FANT messages, calculates the QoS parameters according to the parameters in the FANT messages, obtains the path priority of each path, and generates BANT according to the path priority that meets the user-specified QoS critical value requirement (Reverse ants) message unicast to source node; Described BANT message comprises destination address, source address, start time, the path field that receives, and path priority, as shown in table 1:
表1BANT消息结构Table 1 BANT message structure
FANT消息到达目标节点后,首先使用QoS参数计算出路径优先权,这些路径必须满足用户指定的QoS临界值要求。基于路径优先权生成BANT消息。FANT消息的路径字段中包含了大量的访问节点,目标节点D需要等待时间Tk来接收全部的FANT,Tk是所有端到端时延De的整型系数。BANT通过出栈操作将消息单播到源节点。所述用户指定QoS临界值要求通过临界值的波动幅度衡量:After the FANT message arrives at the target node, it uses QoS parameters to calculate the path priority at first, and these paths must meet the QoS critical value requirements specified by the user. Generate BANT messages based on path priority. The path field of the FANT message contains a large number of visiting nodes, and the destination node D needs to wait for T k to receive all the FANTs, where T k is an integer coefficient of all end-to-end delays De. BANT unicasts the message to the source node through the stack operation. The user-specified QoS critical value is required to be measured by the fluctuation range of the critical value:
用dg,bg,hg分别表示延时、带宽和跳数,计算公式如下:Use d g , b g , h g to represent the delay, bandwidth and hop count respectively, and the calculation formula is as follows:
路径k的优先权计算方法为其中Pk是路由发现阶段发现的源节点到目的节点可用的路径集,Dt、Dc分别表示每条路径上端到端时延的最大阈值和当前值;Bt、Bc表示每条路径上端到端带宽的最大阈值和当前值;Ht、Hc分别表示每条路径上端到端跳数的最大阈值和当前值。The priority calculation method of path k is Among them, P k is the set of available paths from the source node to the destination node found in the route discovery stage, D t and D c respectively represent the maximum threshold and current value of the end-to-end delay on each path; B t and B c represent each path The maximum threshold and current value of the upper end-to-end bandwidth; H t and H c represent the maximum threshold and current value of the end-to-end hop count on each path, respectively.
所述步骤5)中,BANT消息单播到源节点过程中,对经过节点的信息素值进行更新,具体为:In the step 5), during the unicast of the BANT message to the source node, the pheromone value passing through the node is updated, specifically:
当BANT从节点n到达中间节点m时,节点m中的信息素值通过下式进行更新:When BANT reaches the intermediate node m from node n, the pheromone value in node m is updated by the following formula:
Tm,n=(1+Tm,n)P(i)d T m,n =(1+T m,n )P (i)d
其中,P(i)d是到目标节点D的第i条路径的优先权值,其满足了QoS需求。Among them, P (i)d is the priority value of the i-th path to the destination node D, which meets the QoS requirement.
5.1)、目的节点单播BANT消息过程中,中间节点接收到BANT消息后,周期性广播hello消息来更新路由表,以使得该中间节点知道自己的邻居;若节点s和节点t之间建立了关系,则它们之间链路上的初始信息素值就存储为0.1,表示成Tst=0.1,对每个接收到FANT的中间节点来说,链路中的信息素值呈现出正增长趋势,表示为Tst=ΔTst+Tst,Tst=0.05;如果数据在有限的时间间隔内没有传输,那么链路中的信息素值就按照系数μ衰减,如下式所示:5.1), during the unicast BANT message process of the destination node, after the intermediate node receives the BANT message, it periodically broadcasts the hello message to update the routing table, so that the intermediate node knows its neighbors; relationship, the initial pheromone value on the link between them is stored as 0.1, expressed as T st =0.1, for each intermediate node receiving FANT, the pheromone value in the link shows a positive growth trend , expressed as T st =ΔT st +T st , T st =0.05; if the data is not transmitted within a limited time interval, then the pheromone value in the link will decay according to the coefficient μ, as shown in the following formula:
如果两个节点之间的链路丢失,则链路上的信息素值变为0;当BANT消息到达中间节点后,如果中间节点位置发生变化,则BANT则被删除。If the link between two nodes is lost, the pheromone value on the link becomes 0; when the BANT message reaches the intermediate node, if the position of the intermediate node changes, the BANT is deleted.
6)源节点接收BANT消息,并且根据接收到的中间节点的BANT消息,选择具最高信息素值的节点用来进行数据传输,如图5所示。6) The source node receives the BANT message, and selects the node with the highest pheromone value for data transmission according to the received BANT message of the intermediate node, as shown in FIG. 5 .
优选的,本发明还提供了一种实施监测的优选方案,具体包括:Preferably, the present invention also provides a preferred solution for implementing monitoring, specifically including:
在所述步骤6)后还包括步骤7)周期性检查所选路径的优先权:如果某一节点的路径质量值低于临界值,就向其前驱结点发送消息将节点关闭,接着选择备选路径来进行数据传输,对于备选路径来说,同样周期性检查其有效性。After said step 6), step 7) is also included to periodically check the priority of the selected path: if the path quality value of a certain node is lower than the critical value, it will send a message to its predecessor node to close the node, and then select a backup The selected path is used for data transmission, and for the alternative path, its validity is also periodically checked.
本发明中还包括路由维护阶段:The present invention also includes the route maintenance stage:
路由发现阶段给出了用于进行数据包传输的最佳可用路径。由于ACO算法固有的学习属性,数据传输过程中路径上积累的可用信息素值逐渐增大,随着时间的推移,更多的移动节点出现在所选路径上,从而产生更多时延、更少的可用带宽,和节点能量的消耗。为了避免这种结果出现,周期性检查所选路径的优先权。随着路径中越来越多的节点加入,路径优先权和优值大小自动减少。另外,节点的移动性也可以导致链路失效。如果某一节点的优值大小低于临界值,就向其前驱结点发送消息将节点关闭,接着选择备选路径来进行数据传输,对于备选路径来说,同样周期性检查其有效性。容错的QoS约束路由算法流程如下所示。The route discovery phase gives the best available path for packet transmission. Due to the inherent learning properties of the ACO algorithm, the available pheromone value accumulated on the path during the data transmission process gradually increases. Less available bandwidth, and node energy consumption. To avoid this result, the priority of the selected path is checked periodically. As more and more nodes are added in the path, the path priority and merit value are automatically reduced. In addition, node mobility can also lead to link failure. If the merit value of a certain node is lower than the critical value, a message is sent to its predecessor node to shut down the node, and then an alternative path is selected for data transmission. For the alternative path, its validity is also periodically checked. The flow of the fault-tolerant QoS constrained routing algorithm is shown below.
(1)如果该节点是源节点,转到(2);(1) If the node is a source node, go to (2);
(2)判断信息素值和NHR值,如果大于临界值,转(3),否则转(4);(2) Judging the pheromone value and NHR value, if it is greater than the critical value, turn to (3), otherwise turn to (4);
(3)广播FANT数据包到该节点所选择的邻居节点,转(5);(3) broadcast FANT packet to the selected neighbor node of this node, turn (5);
(4)丢弃FANT数据包,转(5);(4) discard FANT packet, turn (5);
(5)判断是否所有邻居节点都收到FANT,如果是,转(6),否则转(12);(5) judge whether all neighbor nodes have received FANT, if yes, turn to (6), otherwise turn to (12);
(6)如果邻居节点是目的节点,转(7);(6) If the neighbor node is the destination node, turn to (7);
(7)等待Tw时间以接收所有FANT,转(8);(7) Wait for T w time to receive all FANTs, turn to (8);
(8)找到满足Dc<Dt,Bc<Bt,Hc<Ht的路径,计算每条路径的p(i),转(9);(8) find a path satisfying D c < D t , B c < B t , H c < H t , calculate p(i) of each path, and turn to (9);
(9)将FANT路径字段中存储的节点出栈,转(10);(9) The node stored in the FANT path field is popped out of the stack, and turns to (10);
(10)在满足了QoS需求的路径中生成BANT,转(11);(10) generate BANT in the path that has satisfied the QoS requirement, turn (11);
(11)将该节点的地址添加到路径字段并单播BANT数据包到源节点,同时判断逆向路径中的节点是否是源节点,如果是转(19),否则转(20);(11) add the address of this node to path field and unicast BANT packet to source node, judge whether the node in the reverse path is source node simultaneously, if turn (19), otherwise turn (20);
(12)判断邻居节点是否是中间节点,如果是,转(13),否则转(6);(12) judge whether the neighbor node is an intermediate node, if so, turn to (13), otherwise turn to (6);
(13)收集节点的本地信息,转(14);(13) collect the local information of node, turn (14);
(14)检查节点地址是否在路径字段中,如果是转(15),否则转(18);(14) Check whether the node address is in the path field, if turn (15), otherwise turn (18);
(15)判断信息素值和NHR值是否大于临界值,如果是转(16),否则转(17);(15) judge whether pheromone value and NHR value are greater than critical value, if turn (16), otherwise turn (17);
(16)广播FANT到所选择的邻居节点并更新信息素表,转(12);(16) broadcast FANT to the selected neighbor node and update the pheromone table, turn (12);
(17)丢弃FANT,转(12);(17) Discard FANT, turn to (12);
(18)丢弃FANT以删除环路,转(12);(18) discard FANT to delete loop, turn (12);
(19)源节点接收到全部BANT后,选择具有最大信息素值的路径并删除BANT。(19) After the source node receives all the BANTs, it selects the path with the largest pheromone value and deletes the BANTs.
(20)如果逆向路径中的节点是中间节点,判断其是否可用,如果是转(21),否则转(22);(20) If the node in the reverse path is an intermediate node, judge whether it is available, if it is turn (21), otherwise turn (22);
(21)更新每个BANT的路由信息素表;(21) update the routing pheromone table of each BANT;
(22)丢弃BANT。(22) DON'T BANT.
实验仿真结果:Experimental simulation results:
在OMNET仿真软件中验证该算法,为了表明该算法在数据包传输率、吞吐量和路由开销等方面的优越性,将该算法和最常用的主动式路由算法AODV进行比较。实验参数设置如下:单个节点的无线电波范围是250m,MAC层协议使用IEEE802.11,流量形式为CBR,数据包大小为60Bytes,仿真区域为500m*500m,节点数量为100个,仿真时间为300s,节点移动方式为随机移动,节点移动速度为0-50m/s。The algorithm is verified in OMNET simulation software. In order to show the superiority of the algorithm in data packet transmission rate, throughput and routing overhead, the algorithm is compared with the most commonly used active routing algorithm AODV. The experimental parameters are set as follows: the radio wave range of a single node is 250m, the MAC layer protocol uses IEEE802.11, the traffic type is CBR, the data packet size is 60Bytes, the simulation area is 500m*500m, the number of nodes is 100, and the simulation time is 300s , the node movement mode is random movement, and the node movement speed is 0-50m/s.
图6给出了当故障节点数量增加时FTRA-BACP算法和AODV算法的数据包传输率,图中可以看出FTRA-BACP算法的数据包传输率要高于AODV算法,这表明FTRA-BACP算法具有较好地扩展性。随着故障节点数量的进一步增加,AODV算法具有源驱动路由的固有属性,两种算法的性能都有所下降,但FTRA-BACP算法具有容错性,其数据包传输率仍高于AODV。在图7中比较了两种算法的吞吐量大小,FTRA-BACP算法中的容错路径具有快速收敛性,并且数据路由主要依赖于该容错路径,因此该算法的吞吐量大小仍然高于AODV算法,但随着故障节点数量的增加,两种算法的吞吐量都有所下降,找到一条从源节点出发的完全可信路径也变得越来越难。由于车联网中的车辆节点具有高度的动态性,链路中断的可能性也随之增大,链路出现故障后,需要频繁的路由,因此产生了大量的路由开销。FTRA-BACP算法中,路径发现阶段需要使用控制数据包如FANT和BANT来周期性更新路径,节点故障后还要构建备选路径以将数据包传送至目的节点,因此该算法的路由开销要高于AODV算法,如图8所示。图9到图11显示了随着车辆节点移动速度的增加,两种算法在数据包传输率、吞吐量和路由开销等方面的比较,从总体上来看,随着车辆节点移动速度的增加,数据包传输率和吞吐量呈下降趋势,而路由开销则逐渐增加。Figure 6 shows the data packet transmission rate of the FTRA-BACP algorithm and the AODV algorithm when the number of faulty nodes increases. It can be seen from the figure that the data packet transmission rate of the FTRA-BACP algorithm is higher than that of the AODV algorithm, which shows that the FTRA-BACP algorithm Has good scalability. As the number of faulty nodes further increases, the AODV algorithm has the inherent properties of source-driven routing, and the performance of both algorithms decreases, but the FTRA-BACP algorithm is fault-tolerant, and its packet transmission rate is still higher than that of AODV. The throughput of the two algorithms is compared in Figure 7. The fault-tolerant path in the FTRA-BACP algorithm has fast convergence, and data routing mainly depends on the fault-tolerant path, so the throughput of the algorithm is still higher than that of the AODV algorithm. But as the number of faulty nodes increases, the throughput of both algorithms decreases, and it becomes increasingly difficult to find a fully trusted path from the source node. Due to the highly dynamic nature of vehicle nodes in the Internet of Vehicles, the possibility of link interruption also increases. After a link fails, frequent routing is required, resulting in a large amount of routing overhead. In the FTRA-BACP algorithm, the path discovery phase needs to use control packets such as FANT and BANT to periodically update the path. After a node fails, an alternative path must be constructed to transmit the data packet to the destination node. Therefore, the routing overhead of this algorithm is high. Based on the AODV algorithm, as shown in Figure 8. Figures 9 to 11 show the comparison of the two algorithms in terms of data packet transmission rate, throughput, and routing overhead as the moving speed of the vehicle node increases. Overall, as the moving speed of the vehicle node increases, the data Packet transfer rate and throughput are decreasing while routing overhead is gradually increasing.
本发明提出了车辆通信网中一种基于蚁群策略的支持QoS的多路径路由算法。该方法使用带宽、跳数和延时等指标来计算源节点和目的节点之间的多条不相交路径,以满足给定的QoS约束。通过在链路中沉淀信息素,来找到最佳路径,同时在节点出现故障后能找到容错的备选路径。由于路由选择过程中考虑了网络稳定性和QoS约束,因此它完全遵循QoS目标。仿真实验在Omnet中进行,通过比较发现该算法比其他的路由算法在数据包传输率、吞吐量和路由开销等方面有更好的性能。The invention proposes a QoS-supporting multi-path routing algorithm based on ant colony strategy in the vehicle communication network. This method uses indicators such as bandwidth, hop count and delay to calculate multiple disjoint paths between source and destination nodes to satisfy given QoS constraints. By depositing pheromone in the link, the optimal path can be found, and at the same time, a fault-tolerant alternative path can be found after the node fails. Since network stability and QoS constraints are considered in the route selection process, it fully follows the QoS objectives. The simulation experiment is carried out in Omnet. Through comparison, it is found that this algorithm has better performance than other routing algorithms in terms of data packet transmission rate, throughput and routing overhead.
对于本领域技术人员而言,显然能了解到上述具体事实例只是本发明的优选方案,因此本领域的技术人员对本发明中的某些部分所可能作出的改进、变动,体现的仍是本发明的原理,实现的仍是本发明的目的,均属于本发明所保护的范围。For those skilled in the art, it is obvious that the above-mentioned specific examples are only preferred solutions of the present invention, so those skilled in the art may make improvements and changes to some parts of the present invention, which still reflect the present invention. The principle of the present invention is still the object of the present invention, and all belong to the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610284191.8A CN105763451A (en) | 2016-04-28 | 2016-04-28 | Ant colony algorithm-based QoS fault-tolerant route selection method in Internet of Vehicles |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610284191.8A CN105763451A (en) | 2016-04-28 | 2016-04-28 | Ant colony algorithm-based QoS fault-tolerant route selection method in Internet of Vehicles |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105763451A true CN105763451A (en) | 2016-07-13 |
Family
ID=56323201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610284191.8A Pending CN105763451A (en) | 2016-04-28 | 2016-04-28 | Ant colony algorithm-based QoS fault-tolerant route selection method in Internet of Vehicles |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105763451A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878167A (en) * | 2017-03-13 | 2017-06-20 | 中山大学 | A routing method for software-defined vehicle network |
CN108418623A (en) * | 2018-03-21 | 2018-08-17 | 大连大学 | A Satellite QoS Routing Algorithm Based on Improved Ant Colony Algorithm |
CN109327255A (en) * | 2018-09-26 | 2019-02-12 | 中国民航管理干部学院 | A kind of method for routing and system for unmanned plane ad hoc network |
CN109640286A (en) * | 2019-02-27 | 2019-04-16 | 北航(四川)西部国际创新港科技有限公司 | It faces vacant lot vehicle network Ant Routing method |
CN110191413A (en) * | 2019-05-23 | 2019-08-30 | 大连海事大学 | A method and system for broadcasting in a mobile ad hoc network based on greedy ant colony algorithm |
CN110225493A (en) * | 2019-06-05 | 2019-09-10 | 山东师范大学 | Based on D2D route selection method, system, equipment and the medium for improving ant colony |
CN111787511A (en) * | 2020-07-13 | 2020-10-16 | 重庆大学 | A Zigbee network and its node switching method |
CN111835554A (en) * | 2020-05-23 | 2020-10-27 | 北京工业大学 | An event-driven kernel-based routing simulation platform for the Internet of Vehicles |
CN112671649A (en) * | 2020-12-22 | 2021-04-16 | 广州技象科技有限公司 | Path selection method and device based on Internet of things transmission fault detection |
CN113037627A (en) * | 2021-03-03 | 2021-06-25 | 烽火通信科技股份有限公司 | Method and device for selecting network service line resources |
CN113382390A (en) * | 2021-06-10 | 2021-09-10 | 中国石油大学(华东) | Self-repairing routing strategy based on ant colony optimization in urban Internet of vehicles |
CN113395739A (en) * | 2021-06-10 | 2021-09-14 | 中国石油大学(华东) | Improved self-repairing routing strategy based on ant colony optimization in urban Internet of vehicles |
US11394646B2 (en) * | 2018-05-11 | 2022-07-19 | Huawei Technologies Co., Ltd. | Packet sending method, network node, and system |
CN119341980A (en) * | 2024-12-20 | 2025-01-21 | 南京邮电大学 | A fault-tolerant routing method based on a two-layer security state model |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043444A (en) * | 2007-04-26 | 2007-09-26 | 浙江大学 | Distributed quality of service multicast routing process based on ant group optimization |
CN101083616A (en) * | 2007-07-05 | 2007-12-05 | 上海交通大学 | Ant algorithm based wireless self-organized network energy-saving routing method on demand |
CN101170503A (en) * | 2007-11-23 | 2008-04-30 | 中兴通讯股份有限公司 | An optimization method for multicast route ant group algorithm |
US20120002569A1 (en) * | 2010-06-30 | 2012-01-05 | Wong Wendy C | Swarm intelligence based methods to enable cooperative communication in a mesh network |
CN102708698A (en) * | 2012-06-12 | 2012-10-03 | 北京理工大学 | Vehicle optimal-path navigation method based on vehicle internet |
CN103648144A (en) * | 2013-12-13 | 2014-03-19 | 重庆邮电大学 | Method for generating multiple paths with multiple QoS constraints in wireless multi-hop network |
CN104244356A (en) * | 2014-09-02 | 2014-12-24 | 北京空间飞行器总体设计部 | Orientation ant colony route optimization method based on evolution graph full route forecasting |
CN104901892A (en) * | 2015-06-03 | 2015-09-09 | 安徽理工大学 | QoS multicasting route optimizer based on ant colony algorithm and realization method of QoS multicasting route optimizer |
-
2016
- 2016-04-28 CN CN201610284191.8A patent/CN105763451A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043444A (en) * | 2007-04-26 | 2007-09-26 | 浙江大学 | Distributed quality of service multicast routing process based on ant group optimization |
CN101083616A (en) * | 2007-07-05 | 2007-12-05 | 上海交通大学 | Ant algorithm based wireless self-organized network energy-saving routing method on demand |
CN101170503A (en) * | 2007-11-23 | 2008-04-30 | 中兴通讯股份有限公司 | An optimization method for multicast route ant group algorithm |
US20120002569A1 (en) * | 2010-06-30 | 2012-01-05 | Wong Wendy C | Swarm intelligence based methods to enable cooperative communication in a mesh network |
CN102708698A (en) * | 2012-06-12 | 2012-10-03 | 北京理工大学 | Vehicle optimal-path navigation method based on vehicle internet |
CN103648144A (en) * | 2013-12-13 | 2014-03-19 | 重庆邮电大学 | Method for generating multiple paths with multiple QoS constraints in wireless multi-hop network |
CN104244356A (en) * | 2014-09-02 | 2014-12-24 | 北京空间飞行器总体设计部 | Orientation ant colony route optimization method based on evolution graph full route forecasting |
CN104901892A (en) * | 2015-06-03 | 2015-09-09 | 安徽理工大学 | QoS multicasting route optimizer based on ant colony algorithm and realization method of QoS multicasting route optimizer |
Non-Patent Citations (2)
Title |
---|
李文琴 等: "面向VANET的基于蚁群的移动感知区域优化路由", 《电子技术应用》 * |
梁淑萍 等: "基于蚁群算法的Ad Hoc网络QoS组播路由研究", 《微电子学与计算机》 * |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878167A (en) * | 2017-03-13 | 2017-06-20 | 中山大学 | A routing method for software-defined vehicle network |
CN106878167B (en) * | 2017-03-13 | 2020-05-26 | 中山大学 | Routing method of software-defined vehicle-mounted network |
CN108418623A (en) * | 2018-03-21 | 2018-08-17 | 大连大学 | A Satellite QoS Routing Algorithm Based on Improved Ant Colony Algorithm |
US12047291B2 (en) | 2018-05-11 | 2024-07-23 | Huawei Technologies Co., Ltd. | Packet sending method, network node, and system |
US11394646B2 (en) * | 2018-05-11 | 2022-07-19 | Huawei Technologies Co., Ltd. | Packet sending method, network node, and system |
CN109327255A (en) * | 2018-09-26 | 2019-02-12 | 中国民航管理干部学院 | A kind of method for routing and system for unmanned plane ad hoc network |
CN109327255B (en) * | 2018-09-26 | 2023-01-24 | 中国民航管理干部学院 | Routing method and system for unmanned aerial vehicle ad hoc network |
CN109640286A (en) * | 2019-02-27 | 2019-04-16 | 北航(四川)西部国际创新港科技有限公司 | It faces vacant lot vehicle network Ant Routing method |
CN109640286B (en) * | 2019-02-27 | 2022-03-01 | 北航(四川)西部国际创新港科技有限公司 | Ant colony routing method for space-time air-ground vehicle network |
CN110191413B (en) * | 2019-05-23 | 2021-09-03 | 大连海事大学 | Method and system for broadcasting in mobile ad hoc network based on greedy ant colony algorithm |
CN110191413A (en) * | 2019-05-23 | 2019-08-30 | 大连海事大学 | A method and system for broadcasting in a mobile ad hoc network based on greedy ant colony algorithm |
CN110225493A (en) * | 2019-06-05 | 2019-09-10 | 山东师范大学 | Based on D2D route selection method, system, equipment and the medium for improving ant colony |
CN110225493B (en) * | 2019-06-05 | 2022-04-15 | 山东师范大学 | D2D routing method, system, equipment and medium based on improved ant colony |
CN111835554A (en) * | 2020-05-23 | 2020-10-27 | 北京工业大学 | An event-driven kernel-based routing simulation platform for the Internet of Vehicles |
CN111787511B (en) * | 2020-07-13 | 2021-09-07 | 重庆大学 | A Zigbee network and its node switching method |
CN111787511A (en) * | 2020-07-13 | 2020-10-16 | 重庆大学 | A Zigbee network and its node switching method |
CN112671649A (en) * | 2020-12-22 | 2021-04-16 | 广州技象科技有限公司 | Path selection method and device based on Internet of things transmission fault detection |
CN113037627A (en) * | 2021-03-03 | 2021-06-25 | 烽火通信科技股份有限公司 | Method and device for selecting network service line resources |
CN113382390A (en) * | 2021-06-10 | 2021-09-10 | 中国石油大学(华东) | Self-repairing routing strategy based on ant colony optimization in urban Internet of vehicles |
CN113395739A (en) * | 2021-06-10 | 2021-09-14 | 中国石油大学(华东) | Improved self-repairing routing strategy based on ant colony optimization in urban Internet of vehicles |
CN119341980A (en) * | 2024-12-20 | 2025-01-21 | 南京邮电大学 | A fault-tolerant routing method based on a two-layer security state model |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105763451A (en) | Ant colony algorithm-based QoS fault-tolerant route selection method in Internet of Vehicles | |
Zhang et al. | Extended AODV routing method based on distributed minimum transmission (DMT) for WSN | |
Tamil Selvi et al. | A novel algorithm for enhancement of energy efficient zone based routing protocol for MANET | |
CN105722176B (en) | There is the connectivity method of the large scale scale heterogeneous network of the car networking of infrastructure in City scenarios | |
Qureshi et al. | Topology based routing protocols for vanet and their comparison with manet | |
Alves Junior et al. | Routing in vehicular ad hoc networks: main characteristics and tendencies | |
Patil et al. | Trust and opportunity based routing framework in wireless sensor network using hybrid optimization algorithm | |
Dong et al. | Multi-hop routing optimization method based on improved ant algorithm for vehicle to roadside network | |
Shafi et al. | A trust based energy and mobility aware routing protocol to improve infotainment services in VANETs | |
Sharma et al. | Ant colony based node disjoint local repair in multipath routing in MANET network | |
Shaheen et al. | Comparison and Analysis Study between AODV DSR Routing Protocols in Vanet with IEEE 802.11. | |
Zheng et al. | An adaptive density-based routing protocol for flying Ad Hoc networks | |
Zhang et al. | A security aware fuzzy enhanced reliable ant colony optimization routing in vehicular ad hoc networks | |
Kumar et al. | A survey on topology and position based routing protocols in vehicular ad hoc network (VANET) | |
Alizadeh et al. | Improving routing in vehicular Ad-hoc network with VIKOR algorithm | |
Qureshi et al. | Study of efficient topology based routing protocols for vehicular ad-hoc network technology | |
Stalin et al. | A survey on topology and geography based routing protocols in vanets | |
Suma et al. | Dynamic shortest path routing algorithm to reduce retransmission and congestion avoidance for mobile nodes in wireless sensor network | |
Cheng et al. | GMZRP: Geography-aided multicast zone routing protocol in mobile ad hoc networks | |
Arzil et al. | Adaptive routing protocol for VANETs in city environments using real-time traffic information | |
Pandey et al. | ALMR: Alternate Link Based Multipath Reactive Routing Protocol for Vehicular Ad Hoc Networks (VANETs). | |
Hegde et al. | Implementation of VANET routing using computational intelligence | |
Kamble et al. | Performance analysis of routing methods for unmanned aerial vehicle network | |
Cui et al. | Research on Distributed In‐Vehicle Wireless Self‐Organized Routing Protocol Distribution Mechanism | |
de ASSIS et al. | New Results on the IC_AOMDV Protocol for Vehicular Ad Hoc Networks in Urban Areas. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160713 |