CN101431468B - Greed data forwarding method based on direction in vehicle-mounted network - Google Patents

Greed data forwarding method based on direction in vehicle-mounted network Download PDF

Info

Publication number
CN101431468B
CN101431468B CN2008101537649A CN200810153764A CN101431468B CN 101431468 B CN101431468 B CN 101431468B CN 2008101537649 A CN2008101537649 A CN 2008101537649A CN 200810153764 A CN200810153764 A CN 200810153764A CN 101431468 B CN101431468 B CN 101431468B
Authority
CN
China
Prior art keywords
node
destination node
destination
information
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008101537649A
Other languages
Chinese (zh)
Other versions
CN101431468A (en
Inventor
金志刚
罗咏梅
闫宁霄
张赛男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN2008101537649A priority Critical patent/CN101431468B/en
Publication of CN101431468A publication Critical patent/CN101431468A/en
Application granted granted Critical
Publication of CN101431468B publication Critical patent/CN101431468B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

一种车载网络中基于方向的贪婪数据转发方法,有:源节点发送目的节点位置请求信息:源节点以盲目泛洪的广播方式发送目的节点的位置信息;目的节点响应目的节点位置请求信息,开始周期性的更新各个节点上的目的节点的位置信息;各节点定期的在自己一跳范围内广播发送信标消息,这些信息由GPS提供,各节点收到邻居节点发送的信标消息后,根据其中的节点位置信息和运动方向信息建立和更新邻居表;数据包的转发:数据按照一般地理位置路由协议中的贪婪转发算法进行包的转发,如果找不到合适的下一跳,则启用方向转发。本发明的这种与传统标准路由协议相结合的方式,既保留了现有成熟路由协议的许多优点,同时无需经过大范围的变更就可以被简易应用在现有网络中。

Figure 200810153764

A greedy data forwarding method based on direction in a vehicle network, including: the source node sends the location request information of the destination node: the source node sends the location information of the destination node in a blind flood broadcast mode; Periodically update the location information of the destination node on each node; each node periodically broadcasts and sends beacon messages within its own hop range, and the information is provided by GPS. After each node receives the beacon message sent by the neighbor node, according to The node position information and movement direction information establish and update the neighbor table; data packet forwarding: the data is forwarded according to the greedy forwarding algorithm in the general geographic location routing protocol. If no suitable next hop is found, the direction is enabled. Forward. The combination method of the present invention with the traditional standard routing protocol not only retains many advantages of the existing mature routing protocol, but also can be easily applied in the existing network without extensive changes.

Figure 200810153764

Description

车载网络中基于方向的贪婪数据转发方法 A Direction-Based Greedy Data Forwarding Method in Vehicle Networks

技术领域technical field

本发明涉及一种网络通信。特别是涉及一种车载自组织网络中基于贪婪方向转发、可靠的传输数据包的路由计算的车载网络中基于方向的贪婪数据转发方法。The invention relates to network communication. In particular, it relates to a direction-based greedy data forwarding method in a vehicle-mounted network based on greedy direction forwarding and reliable routing calculation of transmission data packets in a vehicle-mounted ad hoc network.

背景技术Background technique

当代社会中,车辆发挥着巨大的作用。车辆的使用在给人们的生活带来便利的同时,也带来一些让人头疼的问题,如频繁发生的交通事故,交通拥堵等。这些问题直接威胁着人们的生命,给人们的生活带来很大的困扰,成为各国政府亟待解决的问题。随着无线通信技术的迅速发展和汽车电子技术的不断进步,很多政府和研究机构都尝试通过建立车辆间的通信(Inter-vehicle communication,IVC)系统来解决这些问题。车辆间通信的需求和蕴含的巨大价值,推动了车载自组织网络(Vehicle Ad hoc Network,VANET)的出现和发展。Vehicles play a huge role in contemporary society. While the use of vehicles brings convenience to people's lives, it also brings some headaches, such as frequent traffic accidents and traffic jams. These problems directly threaten people's lives, bring great troubles to people's lives, and become problems that governments of all countries need to solve urgently. With the rapid development of wireless communication technology and the continuous improvement of automotive electronic technology, many governments and research institutions are trying to solve these problems by establishing an inter-vehicle communication (IVC) system. The demand for inter-vehicle communication and the huge value contained in it have promoted the emergence and development of Vehicle Ad hoc Network (VANET).

车辆间通信在时间和地点上具有很大的随意性,因此VANET网络是以ad hoc模式建立起来的一种车辆间通信系统。具体的说,VANET是由装备了无线通信收发装置的车辆组成的一个多跳的临时性的自组织网络。VANET网络的目的是为了提高行车的安全性和效率。VANET具有极高的应用前景和研究价值。Inter-vehicle communication has great randomness in time and place, so VANET network is an inter-vehicle communication system established in ad hoc mode. Specifically, VANET is a multi-hop temporary ad hoc network composed of vehicles equipped with wireless communication transceivers. The purpose of the VANET network is to improve the safety and efficiency of driving. VANET has extremely high application prospects and research value.

当前,对于Ad Hoc网络比较成熟的路由协议,VANET网路中路由算法的研究主要集中在两种类型,第一种是基于拓扑的路由协议;第二种是基于地理位置的路由协议。第一种协议通用的标准大多基于跳数或延迟的考虑,在源节点和目的节点间寻找具有最少跳数或最小延迟的路由,未考虑到网络中的节点由于快速移动,造成的某些节点离开最初位置而导致路径失效的问题。第二种协议典型代表为贪婪的周边状态路由协议,该协议独立地实时地决定一个数据分组从源节点路由到目的节点的过程中的每一跳。但是在VANET网络中,由于节点的快速移动造成的节点间邻居关系的不稳定,使得路由时使用的位置信息都是过时的。即它保证不了信息的准确性。At present, for the relatively mature routing protocols of Ad Hoc networks, the research on routing algorithms in VANET networks mainly focuses on two types, the first is topology-based routing protocols; the second is geographical location-based routing protocols. The general standards of the first protocol are mostly based on the consideration of hops or delays, looking for the route with the least hops or minimum delay between the source node and the destination node, without taking into account the rapid movement of nodes in the network, which caused some nodes A problem with path failure caused by leaving the original position. The second type of protocol is typically represented by a greedy peripheral state routing protocol, which independently and in real time determines each hop in the process of routing a data packet from a source node to a destination node. However, in the VANET network, due to the instability of the neighbor relationship between nodes caused by the rapid movement of nodes, the location information used in routing is outdated. That is, it cannot guarantee the accuracy of the information.

发明内容Contents of the invention

本发明所要解决的技术问题是,提供一种能够及时的获得和维护目的节点的位置信息,并且通过很好的结合方向转发的思想,使路由算法是满足VANET网络需求的可靠的基于方向转发的路由算法,实现了数据包的可靠传送的车载网络中基于方向的贪婪数据转发方法。The technical problem to be solved by the present invention is to provide a method that can obtain and maintain the location information of the destination node in time, and through a good combination of direction forwarding ideas, the routing algorithm is a reliable direction-based forwarding method that meets the requirements of the VANET network. The routing algorithm implements the direction-based greedy data forwarding method in the vehicular network for the reliable transmission of data packets.

本发明所采用的技术方案是:一种车载网络中基于方向的贪婪数据转发方法,包括依次完成下列几个组成部分:The technical solution adopted in the present invention is: a greedy data forwarding method based on direction in a vehicle-mounted network, including sequentially completing the following components:

(1)源节点发送目的节点位置请求信息:源节点以盲目泛洪的广播方式发送目的节点的位置信息,该消息到达所请求的目的节点时终结;(1) The source node sends the location request information of the destination node: the source node sends the location information of the destination node in a blind flood broadcast mode, and the message ends when it reaches the requested destination node;

(2)目的节点响应目的节点位置请求信息:由源节点发出的目的节点位置请求信息到达所请求的目的节点时,该目的节点就会启动目的节点的位置信息更新消息的传播,开始周期性的更新各个节点上的目的节点的位置信息;(2) The destination node responds to the destination node location request information: when the destination node location request information sent by the source node reaches the requested destination node, the destination node will start the propagation of the location information update message of the destination node, and start periodic Update the location information of the destination node on each node;

(3)各节点定期的在自己一跳范围内广播发送信标消息,消息中包含自己的位置信息和节点运动方向信息,这些信息由GPS提供,各节点收到邻居节点发送的信标消息后,根据其中的节点位置信息和运动方向信息建立和更新邻居表;(3) Each node regularly broadcasts and sends beacon messages within its own one-hop range. The message contains its own location information and node movement direction information. These information are provided by GPS. After each node receives the beacon message sent by the neighbor node , establish and update the neighbor table according to the node position information and movement direction information;

(4)数据包的转发:数据按照一般地理位置路由协议中的贪婪转发算法进行包的转发,如果找不到合适的下一跳,则启用方向转发,包括以下步骤:(4) Forwarding of data packets: data forwards packets according to the greedy forwarding algorithm in the general geographic location routing protocol, if no suitable next hop can be found, then enable direction forwarding, including the following steps:

(4.1)当节点有数据要发送时,先遍历邻居表,从邻居表中搜索目的节点是否在自己的一跳范围内,如果在就直接转发;(4.1) When a node has data to send, it first traverses the neighbor table, searches the neighbor table to see if the destination node is within its own one-hop range, and forwards it directly if it is;

(4.2)如果目的节点不在自己的一跳范围内,则按照地理位置中的贪婪转发策略进行转发;(4.2) If the destination node is not within its own one-hop range, forward according to the greedy forwarding strategy in the geographic location;

(4.3)如果贪婪转发没有找到合适的下一跳,则启用方向转发。遍历邻居表,找出运动方向离目的节点方向最近的那个节点进行包的转发。(4.3) If greedy forwarding does not find a suitable next hop, enable directional forwarding. Traversing the neighbor table, find out the node whose movement direction is closest to the direction of the destination node to forward the packet.

所述的部分(1)源节点发送目的节点位置请求信息,包括以下步骤:Described part (1) source node sends destination node position request information, comprises the following steps:

(1.1)当源节点有数据分组要发送时,如果源节点还没有获取数据分组预计到达的目的节点的位置信息,源节点就会向指定的目的节点发出一个目的节点位置请求;(1.1) When the source node has a data packet to send, if the source node has not obtained the location information of the destination node where the data packet is expected to arrive, the source node will send a destination node location request to the designated destination node;

(1.2)如果源节点搜索其目的节点列表,发现已经存在目的节点的较新位置信息时,则不用发送目的节点位置请求信息,直接用它现存的目的位置信息判断。(1.2) If the source node searches its destination node list and finds that the newer location information of the destination node already exists, it does not need to send the destination node location request information, and directly uses its existing destination location information for judgment.

所述的部分(2)包括以下步骤:Described part (2) comprises the following steps:

(2.1)当目的节点收到位置请求消息后,它就会周期性的向其直接邻居节点广播目的节点位置更新消息,各邻居节点根据这个消息通过检索它的目的节点列表来创建或更新相应的位置信息记录;(2.1) When the destination node receives the location request message, it will periodically broadcast the location update message of the destination node to its direct neighbor nodes, and each neighbor node will create or update the corresponding location node by retrieving its destination node list according to this message. location information records;

(2.2)除了目的节点之外的各节点周期性的向它们的直接邻居节点广播目的节点位置交互消息,通过该消息各个节点相互交流它们保存的关于某个目的节点的位置信息,使得各个节点都能保存一份“相对最新”的关于该目的节点的位置信息的记录;(2.2) Each node except the destination node periodically broadcasts the destination node location interaction message to their direct neighbor nodes, through which each node communicates with each other about the location information of a destination node they save, so that each node can Can keep a "relatively up-to-date" record of the location information of the destination node;

(2.3)目的节点的任何一个直接邻居节点在接收到节点位置更新消息之后,所执行的动作是:在它们的目的节点列表中为指定的目的节点创建或更新相应的位置信息记录;(2.3) After any direct neighbor node of the destination node receives the node location update message, the action to be performed is: create or update the corresponding location information record for the specified destination node in their destination node list;

(2.4)在一个节点收到节点位置交互消息后,用接收到的节点位置交互消息中携带的目的节点的目的节点的标识符ID,检索在该节点上保存的目的节点列表,寻找相对应的节点的记录;然后,比较节点位置交互消息中的时间戳ts1和刚检索到的目的节点记录中的时间戳ts2;如果ts1>ts2,则说明节点位置交互消息中的目的位置信息是相对更新的,则用节点位置交互消息中携带的目的位置信息来更新该节点的目的节点列表中的相应位置信息,否则不作任何出理。(2.4) After a node receives the node location interaction message, use the identifier ID of the destination node of the destination node carried in the received node location interaction message to retrieve the destination node list saved on the node and find the corresponding The record of the node; then, compare the timestamp ts1 in the node location interaction message with the timestamp ts2 in the destination node record just retrieved; if ts1>ts2, it means that the destination location information in the node location interaction message is relatively updated , then use the destination location information carried in the node location interaction message to update the corresponding location information in the destination node list of the node, otherwise do not make any processing.

本发明的车载网络中基于方向的贪婪数据转发方法,从各角度考虑由于网络拓扑结构的快速变化带来的各种问题,提出了贪婪方向转发路由协议,该协议具有以下优点:The greedy data forwarding method based on direction in the vehicle-mounted network of the present invention considers various problems caused by the rapid change of network topology from various angles, and proposes a greedy direction forwarding routing protocol, which has the following advantages:

(1)它是一种基于位置的路由算法,采用的转发策略是“贪婪转发”,也就是说,当传输数据分组时,才实时地决定数据分组应该到达的下一跳。不需要预先建立一条完整的路径,不需要路由建立和路由维护的过程。(1) It is a location-based routing algorithm, and the forwarding strategy adopted is "greedy forwarding", that is, when a data packet is transmitted, the next hop that the data packet should arrive at is determined in real time. There is no need to establish a complete path in advance, and the process of route establishment and route maintenance is not required.

(2)该路由算法使用了方向转发的策略,在贪婪转发失败后进一步寻找可利用的下一跳,实现了数据包转发的可靠性。方向转发的实质就是一种重试机制。(2) The routing algorithm uses the strategy of directional forwarding, and further searches for an available next hop after the greedy forwarding fails, so as to realize the reliability of data packet forwarding. The essence of direction forwarding is a retry mechanism.

(3)该路由算法使用两种相互独立的消息机制对目的节点的位置信息进行维护和更新。这种更新信息的方式,能够应对可能出现的网络分割的情况。即使出现网络分割,也可以确保各个节点上维护一份相对最新的目的节点位置信息。因此,该路由算法从最大程度上确保了计算路由时使用的目的节点位置信息的准确性和一致性,提高了数据传输的质量。(3) The routing algorithm uses two mutually independent message mechanisms to maintain and update the location information of the destination node. This way of updating information can cope with possible network segmentation. Even if there is a network split, it can ensure that each node maintains a relatively up-to-date destination node location information. Therefore, the routing algorithm ensures the accuracy and consistency of the destination node location information used in routing calculations to the greatest extent, and improves the quality of data transmission.

本发明由当前车载Ad Hoc网络内典型的基于位置的路由协议发展而来,在其基础上对其路由准则加以改进,引进了方向转发的思想,进而实现了可靠性和信息的准确性。这种与传统标准路由协议相结合的方式,使得本发明很好的保留了现有成熟路由协议的许多优点,同时无需经过大范围的变更就可以被简易应用在现有网络中,效果理想,应用前景看好。The present invention is developed from the typical location-based routing protocol in the current vehicle-mounted Ad Hoc network, improves its routing criteria on the basis of it, introduces the idea of direction forwarding, and then realizes reliability and accuracy of information. This combination with the traditional standard routing protocol makes the present invention retain many advantages of the existing mature routing protocol, and can be easily applied to the existing network without extensive changes, and the effect is ideal. The application prospect is promising.

附图说明Description of drawings

图1是本发明基本构架原理的示意图;Fig. 1 is the schematic diagram of basic framework principle of the present invention;

图2是本发明两种消息机制应用的示意图;Fig. 2 is a schematic diagram of the application of two message mechanisms of the present invention;

图3是本发明使用的请求目的节点位置的消息格式;Fig. 3 is the message format of the request destination node position that the present invention uses;

图4是本发明使用的更新目的节点位置的消息格式;Fig. 4 is the message format of updating destination node position that the present invention uses;

图5是本发明使用的交互目的节点位置的消息格式;Fig. 5 is the message format of the interactive destination node position that the present invention uses;

图6是本发明使用的方向的概念的示意图;Fig. 6 is a schematic diagram of the concept of directions used in the present invention;

图7是本发明使用的方向的计算和选择方法的示例图;Fig. 7 is an example diagram of the calculation and selection method of the direction used by the present invention;

图8是本发明实验阶段使用的网络示例拓扑图。Fig. 8 is a topological diagram of an example network used in the experimental stage of the present invention.

具体实施方式Detailed ways

下面结合实施例和附图对本发明的车载网络中基于方向的贪婪数据转发方法做出详细说明。The direction-based greedy data forwarding method in the vehicular network of the present invention will be described in detail below with reference to the embodiments and the accompanying drawings.

如图1所示,本发明的车载网络中基于方向的贪婪数据转发方法的基本构架原理一车载自组织网络贪婪方向转发路由协议研究。节点有数据发送时,根据收到的目的节点定期发送的目的节点位置更新消息来更新目的节点的位置信息,并根据定期的hello(信标)消息建立和更新邻居表。之后采取贪婪转发的策略进行包的转发,如果没有找到合适的下一跳,则进入方向转发机制重新寻找下一跳。方向转发失败的话则丢弃该数据包,继续处理数据分组队列中其它分组。As shown in FIG. 1 , the basic framework principle of the direction-based greedy data forwarding method in the vehicular network of the present invention—the research on the greedy directional forwarding routing protocol of the vehicular ad hoc network. When the node has data to send, the location information of the destination node is updated according to the destination node location update message received periodically by the destination node, and the neighbor table is established and updated according to the periodic hello (beacon) message. Afterwards, the greedy forwarding strategy is adopted to forward the packets. If no suitable next hop is found, the forwarding mechanism will enter the direction and search for the next hop again. If forwarding in the other direction fails, the data packet is discarded, and other packets in the data packet queue continue to be processed.

如图2所示,目的节点和它的一跳邻居节点之间用目的节点位置更新消息q(query消息)进行交互。而在除目的节点之外的其他节点间用目的节点位置交互消息d(destInfo消息)进行交互来更新目的节点的位置信息。并且当网络出现分割的情况时,其他节点间还可以用destInfo消息来传播最新的目的节点的位置信息。位置信息都由车上的GPS系统得到。这就保证了在网络中的各节点都保存了一份相对一致的目的节点信息。图中H,I,J节点是目的节点D的一跳邻居节点。节点K,L,M是节点A的一跳邻居节点。As shown in Figure 2, the destination node interacts with its one-hop neighbor nodes using the destination node location update message q (query message). The destination node location interaction message d (destInfo message) is used to interact with other nodes except the destination node to update the location information of the destination node. And when the network is split, other nodes can also use the destInfo message to propagate the latest location information of the destination node. The location information is obtained by the GPS system on the car. This ensures that each node in the network maintains a relatively consistent piece of destination node information. Nodes H, I, and J in the figure are one-hop neighbor nodes of destination node D. Nodes K, L, and M are one-hop neighbor nodes of node A.

如果节点有数据发送,先用贪婪转发策略确定下一跳,如果用贪婪转发策略没有找到合适的下一跳,则转入方向转发机制重试。If the node has data to send, first use the greedy forwarding strategy to determine the next hop, if the greedy forwarding strategy does not find a suitable next hop, then turn to the direction forwarding mechanism and try again.

本发明的车载网络中基于方向的贪婪数据转发方法,包括依次完成下列几个组成部分:The direction-based greedy data forwarding method in the vehicle network of the present invention includes sequentially completing the following components:

(1)源节点发送目的节点位置请求信息:消息格式如图3所示,其中字段id给出了请求其位置信息的目的节点的编号。源节点以盲目泛洪的广播方式发送目的节点的位置信息,该消息到达所请求的目的节点时终结;包括以下步骤:(1) The source node sends the destination node location request information: the message format is shown in Figure 3, where the field id gives the number of the destination node requesting its location information. The source node sends the location information of the destination node in a blind flood broadcast mode, and the message ends when it reaches the requested destination node; it includes the following steps:

(1.1)当源节点有数据分组要发送时,如果源节点还没有获取数据分组预计到达的目的节点的位置信息,源节点就会向指定的目的节点发出一个目的节点位置请求;(1.1) When the source node has a data packet to send, if the source node has not obtained the location information of the destination node where the data packet is expected to arrive, the source node will send a destination node location request to the designated destination node;

(1.2)如果源节点搜索其目的节点列表,发现已经存在目的节点的较新位置信息时,则不用发送目的节点位置请求信息,直接用它现存的目的位置信息判断。(1.2) If the source node searches its destination node list and finds that the newer location information of the destination node already exists, it does not need to send the destination node location request information, and directly uses its existing destination location information for judgment.

(2)目的节点响应目的节点位置请求信息:由源节点发出的目的节点位置请求信息到达所请求的目的节点时,该目的节点就会启动目的节点的位置信息更新消息(query消息)的传播,开始周期性的更新各个节点上的目的节点的位置信息;包括以下步骤:(2) The destination node responds to the destination node location request information: when the destination node location request information sent by the source node reaches the requested destination node, the destination node will start the propagation of the location information update message (query message) of the destination node, Begin to periodically update the location information of the destination node on each node; including the following steps:

(2.1)当目的节点收到位置请求消息后,它就会周期性的向其直接邻居节点广播目的节点位置更新消息(query消息),消息格式如图4所示,其中字段x,y中指出了发送位置更新消息的目的节点的坐标值。各邻居节点根据这个消息通过检索它的目的节点列表来创建或更新相应的位置信息记录;即,它会给它的直接一跳邻居广播一个目的节点位置更新消息(query消息),然后它的直接邻居根据这个消息建立和更新目的位置信息列表。(2.1) When the destination node receives the location request message, it will periodically broadcast the location update message (query message) of the destination node to its direct neighbor nodes. The message format is shown in Figure 4, where the fields x and y indicate The coordinate value of the destination node that sends the location update message. According to this message, each neighbor node creates or updates the corresponding location information record by retrieving its destination node list; that is, it broadcasts a destination node location update message (query message) to its direct one-hop neighbors, and then its direct The neighbor establishes and updates the destination location information list according to this message.

(2.2)除了目的节点之外的其他各节点周期性的向它们的直接邻居节点广播目的节点位置交互消息(destInfo消息),消息格式如图5所示,其中字段id指出了交互消息中的节点的编号;字段x,y中指出了交互消息中目的节点的坐标值;字段time stamp指出了交互消息中目的节点的位置信息对应的更新时间。通过该消息各个节点相互交流它们保存的关于某个目的节点的位置信息,使得各个节点都能保存一份“相对最新”的关于该目的节点的位置信息的记录;(2.2) Each node except the destination node periodically broadcasts the destination node location interaction message (destInfo message) to their direct neighbor nodes. The message format is shown in Figure 5, where the field id points out the node in the interaction message number; the fields x and y indicate the coordinate value of the destination node in the interaction message; the field time stamp indicates the update time corresponding to the location information of the destination node in the interaction message. Through this message, each node communicates with each other about the location information of a certain destination node, so that each node can save a "relatively up-to-date" record about the location information of the destination node;

(2.3)目的节点的任何一个直接邻居节点在接收到节点位置更新消息(query消息)之后,所执行的动作是:在它们的目的节点列表中为指定的目的节点创建或更新相应的位置信息记录;(2.3) After any direct neighbor node of the destination node receives the node location update message (query message), the action performed is: create or update the corresponding location information record for the specified destination node in their destination node list ;

(2.4)在一个节点收到节点位置交互消息(destInfo消息)后,用接收到的节点位置交互消息中携带的目的节点的目的节点的标识符ID,检索在该节点上保存的目的节点列表,寻找相对应的节点的记录;然后,比较该detInfo消息中的时间戳ts1和刚检索到的目的节点记录中的时间戳ts2;如果ts1>ts2,则说明destInfo消息中的目的位置信息是相对更新的,则用destInfo消息中携带的目的位置信息来更新该节点的目的节点列表中的相应位置信息,否则不作任何处理。(2.4) After a node receives the node location interaction message (destInfo message), use the identifier ID of the destination node of the destination node carried in the node location interaction message received to retrieve the destination node list stored on the node, Find the record of the corresponding node; then, compare the timestamp ts1 in the detInfo message with the timestamp ts2 in the destination node record just retrieved; if ts1>ts2, it means that the destination location information in the destInfo message is relatively updated If yes, use the destination location information carried in the destInfo message to update the corresponding location information in the destination node list of the node, otherwise do not do any processing.

(3)各节点定期的在自己一跳范围内广播发送hello(信标)消息,消息中包含自己的位置信息和节点运动方向信息,这些信息由GPS提供,各节点收到邻居节点发送的hello消息后,根据其中的节点位置信息和运动方向信息建立和更新邻居表。(3) Each node regularly broadcasts and sends hello (beacon) messages within its own hop range. The message contains its own location information and node movement direction information. These information are provided by GPS. Each node receives the hello message sent by the neighbor node. After receiving the message, the neighbor table is established and updated according to the node position information and movement direction information in it.

(4)数据包的转发:数据按照一般地理位置路由协议中的贪婪转发算法进行包的转发,如果找不到合适的下一跳,则启用方向转发;包括以下步骤:(4) Forwarding of data packets: data forwards packets according to the greedy forwarding algorithm in the general geographic location routing protocol, if no suitable next hop can be found, then enable direction forwarding; including the following steps:

(4.1)当节点有数据要发送时,先遍历邻居表,从邻居表中搜索目的节点是否在自己的一跳范围内,如果在就直接转发;(4.1) When a node has data to send, it first traverses the neighbor table, searches the neighbor table to see if the destination node is within its own one-hop range, and forwards it directly if it is;

(4.2)如果目的节点不在自己的一跳范围内,则按照一般地理位置中的贪婪转发策略进行转发。(4.2) If the destination node is not within its own one-hop range, it will be forwarded according to the greedy forwarding strategy in the general geographic location.

(4.3)如果贪婪转发没有找到合适的下一跳,则启用方向转发。遍历邻居表,找出运动方向离目的节点方向最近的那个节点进行包的转发。即,如果贪婪转发失败,则用方向转发机制重试。方向转发的概念如图6所示,其中A代表转发数据包节点的邻居节点,D代表目的节点,A′代表A经过很短的一段时间后移动到的位置,a代表AD和AA′间的夹角。利用余弦定理计算出转发节点的邻居节点跟目的节点间的夹角余弦值。选择其中正值中值最大的那个节点。这就确保了数据包沿着正确的方向朝目的节点转发。(4.3) If greedy forwarding does not find a suitable next hop, enable directional forwarding. Traversing the neighbor table, find out the node whose movement direction is closest to the direction of the destination node to forward the packet. That is, if greedy forwarding fails, retry with the directional forwarding mechanism. The concept of directional forwarding is shown in Figure 6, where A represents the neighbor node of the forwarding data packet node, D represents the destination node, A' represents the position A moves to after a short period of time, and a represents the distance between AD and AA' angle. Calculate the cosine value of the angle between the neighbor node of the forwarding node and the destination node by using the cosine law. Select the node with the largest positive median among them. This ensures that packets are forwarded in the correct direction towards the destination node.

方向角的计算过程如图7所示,其中A代表转发数据包节点的邻居节点,D代表目的节点,A′代表A经过很短的一段时间移动到的位置。a代表AD和AA′间的夹角。括号中分别是这几个节点的位置坐标信息。利用短时间内邻居节点的移动方向,重新判断它的位置,然后再用余弦定理计算出它跟目的节点的方向夹角。其中用到了转发节点,邻居节点和目的节点的位置和运动方向信息。这些信息是由GPS系统提供的。The calculation process of the direction angle is shown in Figure 7, where A represents the neighbor node of the forwarding data packet node, D represents the destination node, and A' represents the position that A moves to after a short period of time. a represents the angle between AD and AA'. The position coordinate information of these nodes are in brackets respectively. Use the moving direction of the neighbor node in a short time to re-judge its position, and then use the cosine law to calculate the angle between it and the direction of the destination node. Among them, the position and movement direction information of forwarding node, neighbor node and destination node are used. This information is provided by the GPS system.

本发明的车载网络中基于方向的贪婪数据转发方法,通过使用:两个独立的消息,对各节点上保存的目的节点的位置信息进行更新,减少了由于VANET网络处于不连通状态造成节点间通信滞后引起的节点保存的目的位置信息不准确的情况。基于方向的转发,使数据能够按照一定的方向性快速的到达目的地。贪婪方向转发路由协议算法使用这两个特性,目的是为了确保路由选择时所用的目的节点位置信息的准确性,进而提高数据传输的质量。该方法作为一种比较理想、可靠性高、实用性强的技术方案,能够及时的获得和维护目的节点的位置信息,并且很好的结合了方向转发的思想,使得该路由算法是一种满足了VANET网络需求的可靠的基于方向转发的路由算法,实现了数据包的可靠传送。The direction-based greedy data forwarding method in the vehicle-mounted network of the present invention updates the location information of the destination node stored on each node by using two independent messages, thereby reducing the communication between nodes caused by the disconnected state of the VANET network The destination location information saved by the node caused by the lag is inaccurate. Direction-based forwarding enables data to quickly reach the destination according to a certain directionality. The algorithm of greedy direction forwarding routing protocol uses these two characteristics, the purpose is to ensure the accuracy of the location information of the destination node used in routing selection, and then improve the quality of data transmission. As an ideal, highly reliable, and practical technical solution, this method can obtain and maintain the location information of the destination node in time, and well combines the idea of direction forwarding, making this routing algorithm a satisfactory The reliable routing algorithm based on direction forwarding meets the requirements of VANET network, and realizes the reliable transmission of data packets.

下面以图8的网络场景为例,配合之前描述的机制,简要介绍本发明的工作流程:The following takes the network scenario in Figure 8 as an example, and cooperates with the previously described mechanism to briefly introduce the workflow of the present invention:

(1)车辆节点以一定的加速度,行驶在最高速度约为50m/s的公路上,公路路段使用2个车道。(1) The vehicle node is driving on the road with a maximum speed of about 50m/s at a certain acceleration, and the road section uses two lanes.

(2)使用的业务流为CBR业务流,发送的分组的大小(packetSize)为256字节,每秒发送4个数据分组。这里定义的业务流对应的是车载自组织网络中的Internet多媒体应用。(2) The service flow used is the CBR service flow, the size of the sent packet (packetSize) is 256 bytes, and 4 data packets are sent per second. The business flow defined here corresponds to the Internet multimedia application in the vehicular ad hoc network.

(3)假设节点10向节点15发送数据包,判断泛洪广播目的节点位置请求消息。由图10可知,节点5和节点24是节点10的一跳邻居,它们定期发送hello消息,通过GPS把自己的位置信息告诉源节点。而目的节点收到目的节点位置请求消息后定时地发送的自己的位置消息,其他节点定时发送目的位置交互消息,及时更新目的节点的位置信息,这些位置信息都是通过GPS获得。用d1、d2分别代表节点5和节点24到目的节点15的距离,可知此时刻,d1<d2。则根据贪婪转发策略,数据包先转发给节点4,在之后的时间内根据同样的判断,进行数据包的转发,最终传到目的节点15。(3) Assuming that node 10 sends a data packet to node 15, it is judged that the location request message of the destination node is flooded and broadcasted. It can be seen from Fig. 10 that node 5 and node 24 are one-hop neighbors of node 10, they send hello messages regularly, and tell the source node their location information through GPS. After the destination node receives the destination node location request message, it sends its own location information regularly, and other nodes regularly send destination location interaction messages to update the location information of the destination node in time. These location information are obtained through GPS. Using d1 and d2 to represent the distances from node 5 and node 24 to the destination node 15 respectively, it can be seen that d1<d2 at this moment. According to the greedy forwarding strategy, the data packet is forwarded to node 4 first, and then the data packet is forwarded according to the same judgment in a later time, and finally transmitted to the destination node 15 .

(4)如果在其中某一跳中未找到合适的下一跳,则用阶段(2)提到的方向转发机制重新寻找下一跳。(4) If a suitable next hop is not found in one of the hops, use the directional forwarding mechanism mentioned in stage (2) to search for the next hop again.

(5)车辆作为移动节点不受能量条件的限制,所以无线传输的发送功率可以在现实可满足的情况下应用较大的功率。(5) As a mobile node, the vehicle is not limited by energy conditions, so the transmission power of wireless transmission can be applied to a larger power when the reality can be satisfied.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention within.

Claims (3)

  1. In the In-vehicle networking based on the greedy data forwarding method of direction, it is characterized in that, comprise and finish following few component parts successively:
    (1) source node sends target node position request information: the broadcast mode that source node floods with blindness sends the positional information of destination node, and this message terminates when arriving the destination node of being asked;
    (2) destination node response target node position request information: when the target node position request information of being sent by source node arrives the destination node of being asked, this destination node will start the updating location information transmission of news of destination node, the periodic positional information of upgrading the destination node on each node of beginning;
    (3) the regular broadcast transmission beacon message in oneself jumping scope of each node, the positional information and the movement direction of nodes information that comprise oneself in the message, these information are provided by GPS, after each node is received the beacon message of neighbor node transmission, according to node location information and foundation of direction of motion information and renewal neighbor table wherein;
    (4) forwarding of packet: the forwarding that data are wrapped according to the greedy forwarding algorithm in the Routing Protocol of general geographical position, if can not find next suitable jumping, then enable direction and transmit, may further comprise the steps:
    (4.1) when node has data to send, first traversal neighbor table, whether the search destination node is in an oneself jumping scope, if in just directly forwarding from neighbor table;
    (4.2) if destination node not in the jumping scope of oneself, then transmit according to the greedy forwarding strategy in the geographical position;
    (4.3) if greedy the forwarding do not found next suitable jumping, then enable direction and transmit, the traversal neighbor table is found out the forwarding that the direction of motion is wrapped from that nearest node of destination node direction.
  2. 2. based on the greedy data forwarding method of direction, it is characterized in that in the In-vehicle networking according to claim 1 that described part (1) source node sends target node position request information, may further comprise the steps:
    (1.1) when source node has packet to send, if source node does not also obtain the positional information that the destination node of arrival is estimated in packet, source node will send a target node position request to the destination node of appointment;
    (1.2) if source node is searched for the tabulation of its destination node, find to have existed destination node than new location information the time, then need not send target node position request information, directly judge with its existing destination locations information.
  3. 3. based on the greedy data forwarding method of direction, it is characterized in that in the In-vehicle networking according to claim 1 that described part (2) may further comprise the steps:
    (2.1) after destination node is received location request message, it will be periodically to its immediate neighbor node broadcasting target node position updating message, each neighbor node is tabulated by the destination node of retrieving it according to this message and is created or upgrade corresponding positional information record;
    (2.2) node of each except destination node is periodically broadcasted the target node position interaction message to their immediate neighbor node, exchange the positional information that their are preserved mutually by each node of this message, make each node can both preserve the record about the positional information of this destination node of portion " up-to-date relatively " about certain destination node;
    (2.3) any one immediate neighbor node of destination node is after receiving the node location updating message, and performed action is: create for the destination node of appointment in their destination node tabulation or upgrade corresponding positional information record;
    (2.4) after a node is received the node location interaction message, use the identifier ID of the destination node of the destination node of carrying in the node location interaction message that receives, the destination node that retrieval is preserved on this node is tabulated, and seeks the record of corresponding node; Then, the timestamp ts2 in timestamp ts1 in the interaction message of comparison node position and the destination node that just the retrieved record; If ts1>ts2, illustrate that then the destination locations information in the node location interaction message is to upgrade relatively, then upgrade relevant position information in the destination node tabulation of this node, otherwise do not make any reason that goes out with the destination locations information of carrying in the node location interaction message.
CN2008101537649A 2008-12-05 2008-12-05 Greed data forwarding method based on direction in vehicle-mounted network Expired - Fee Related CN101431468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101537649A CN101431468B (en) 2008-12-05 2008-12-05 Greed data forwarding method based on direction in vehicle-mounted network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101537649A CN101431468B (en) 2008-12-05 2008-12-05 Greed data forwarding method based on direction in vehicle-mounted network

Publications (2)

Publication Number Publication Date
CN101431468A CN101431468A (en) 2009-05-13
CN101431468B true CN101431468B (en) 2011-03-23

Family

ID=40646643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101537649A Expired - Fee Related CN101431468B (en) 2008-12-05 2008-12-05 Greed data forwarding method based on direction in vehicle-mounted network

Country Status (1)

Country Link
CN (1) CN101431468B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925122B (en) * 2009-06-12 2014-10-08 株式会社日立制作所 Method and apparatus for disseminating a data packet via multi-hop communication in a communication network
ES2398356T3 (en) * 2010-02-18 2013-03-15 Kapsch Trafficcom Ag Network node for an ad hoc network and procedure for the provision of application services in an ad hoc network
CN102355406B (en) * 2011-08-12 2013-11-27 河南工业大学 Adaptive data distribution method based on node density distribution in VANET
CN103596237B (en) * 2013-11-29 2017-03-08 北京航空航天大学深圳研究院 A kind of directional broadcasting method for routing in two-way lane under hetero-com-munication radius
CN103826284B (en) * 2014-03-18 2017-02-22 中南大学 Vehicle-density-based medium access control method in vehicular wireless network
CN105246119B (en) * 2015-09-22 2019-01-11 东软集团股份有限公司 A kind of the singlecast router retransmission method and device of vehicular ad hoc network
CN105228180B (en) * 2015-09-29 2018-08-21 江苏大学 A kind of vehicle-mounted Delay Tolerant Network method for routing based on the estimation of node transfer capability
CN106412958B (en) * 2016-10-21 2019-11-01 燕山大学 The method of data link is quickly established in a kind of wireless network
CN107343301B (en) * 2017-05-23 2019-12-06 重庆邮电大学 An Efficient and Reliable Routing Method for Vehicular Ad Hoc Networks Based on Message Aggregation
CN107995114B (en) * 2017-12-08 2020-11-27 江西理工大学 A Routing Method for Delay-tolerant Networks Based on Density Clustering
CN116455431B (en) * 2023-06-14 2023-08-15 天地信息网络研究院(安徽)有限公司 Directional ad hoc network beam tracking method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1938966A (en) * 2004-04-05 2007-03-28 摩托罗拉公司(在特拉华州注册的公司) Method for enabling communications dependent on user location, user-specified location or orientation
CN101207572A (en) * 2007-12-14 2008-06-25 北京科技大学 A clustering method for vehicle-mounted Ad hoc networks based on signal strength

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1938966A (en) * 2004-04-05 2007-03-28 摩托罗拉公司(在特拉华州注册的公司) Method for enabling communications dependent on user location, user-specified location or orientation
CN101207572A (en) * 2007-12-14 2008-06-25 北京科技大学 A clustering method for vehicle-mounted Ad hoc networks based on signal strength

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
彭玉旭等.一种新的Ad hoc网络中基于位置的路由协议.《电子与信息学报》.2006,第28卷(第9期),1666-1669. *
徐旭.车载Ad Hoc网络路由协议的研究.《中国优秀硕士学位论文全文数据库信息科技辑》.2008,I136-410. *

Also Published As

Publication number Publication date
CN101431468A (en) 2009-05-13

Similar Documents

Publication Publication Date Title
CN101431468B (en) Greed data forwarding method based on direction in vehicle-mounted network
Tariq et al. Forwarding strategies in NDN-based wireless networks: A survey
CN101369982B (en) Method for data packet greedy forwarding in vehicle-mounted Ad hoc network
EP2262188B1 (en) Method and apparatus for disseminating a data packet via multi-hop communication in a communication network
CN102769888B (en) Method for vehicle-mounted Ad Hoc network based on improved AODV (Ad Hoc Ondemand Distance Vector) protocol
CN102916889B (en) Instant route selection based on multi-path communication time and credibility in VANET (Vehicular Ad-Hoc Network)
CN103546937B (en) Opportunistic routing method based on drive link state sensing in vehicle self-organizing network
Bian et al. Boosting named data networking for data dissemination in urban VANET scenarios
CN101431784A (en) Optimized data transmission method based on geographical position in vehicle-mounted network
CN106961707A (en) Based on connective Multifactor Decision Making Routing Protocol in a kind of VANET
CN105246119B (en) A kind of the singlecast router retransmission method and device of vehicular ad hoc network
CN106255153B (en) Vehicle under car networking with caching capabilities divides group&#39;s cooperation transmission method
CN103813364B (en) Mobile self-organizing network interrupt data recovery method based on area perception
CN105722176A (en) Connection method of Internet of Vehicles massive heterogeneous network with infrastructure in city scene
CN108093458B (en) Rapid and stable routing method and device suitable for Internet of vehicles and based on clustering structure
CN101394353B (en) Data packet competition forwarding method used in vehicle-mounted Ad hoc network
Al-Qutwani et al. Request/advertise-based content forwarding in vehicular named data networking
CN107105389A (en) Geography information method for routing based on road topology structure in In-vehicle networking
CN110248392B (en) Opportunity forwarding method based on node efficiency in Internet of vehicles
CN108541040A (en) A kind of cross-layer routing protocol suitable under City scenarios
Wahid et al. Software‐Defined Networks and Named Data Networks in Vehicular Ad Hoc Network Routing: Comparative Study and Future Directions
Chen et al. VAN: Vehicle-assisted shortest-time path navigation
Al-Mayouf et al. Efficient routing algorithm for VANETs based on distance factor
Al-Kubati et al. Stable infrastructure-based routing for intelligent transportation systems
KR20090056072A (en) An Emergency Warning Message Broadcasting Method using Area-based Relay Node Selection Algorithm for Vehicle Ad Hoc Network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110323

Termination date: 20111205