KR20040053850A - Method of cost-based route establishing for AODV routing protocol - Google Patents

Method of cost-based route establishing for AODV routing protocol Download PDF

Info

Publication number
KR20040053850A
KR20040053850A KR1020020080304A KR20020080304A KR20040053850A KR 20040053850 A KR20040053850 A KR 20040053850A KR 1020020080304 A KR1020020080304 A KR 1020020080304A KR 20020080304 A KR20020080304 A KR 20020080304A KR 20040053850 A KR20040053850 A KR 20040053850A
Authority
KR
South Korea
Prior art keywords
node
request message
weight
path
message
Prior art date
Application number
KR1020020080304A
Other languages
Korean (ko)
Other versions
KR100474254B1 (en
Inventor
최지혁
신재욱
남상우
Original Assignee
한국전자통신연구원
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 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to KR10-2002-0080304A priority Critical patent/KR100474254B1/en
Publication of KR20040053850A publication Critical patent/KR20040053850A/en
Application granted granted Critical
Publication of KR100474254B1 publication Critical patent/KR100474254B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PURPOSE: A method for setting a route by weight in an AODV(Ad hoc On-demand Distance Vector) routing protocol is provided to reflect weight of each node in accordance with a network state, and to improve a process of transmitting or retransmitting an RREQ(Route Request) message, thereby efficiently setting a route in accordance with the reflected weight. CONSTITUTION: If an intermediate node receives an RREQ message(S401), the node decides whether the RREQ message is an overlapped message(S402). If so, the node compares a value of a weight cost with a weight value of a previously received RREQ message(S403). If weight of the currently received RREQ message is smaller, the node abandons the RREQ message(S404). If the received RREQ message is not overlapped, the node decides whether to know a route up to a destination node(S406). If so, the node unicasts the RREQ message by a reverse route(S407). If the node does not know the route, the node sets reverse route information(S409), records a previous weight value, and sets a new weight value to the RREQ message(S410), then broadcasts the RREQ message to an adjacent node(S411).

Description

AODV 라우팅 프로토콜에서 가중치에 의한 경로 설정 방법{Method of cost-based route establishing for AODV routing protocol}Method of cost-based route establishment for AODV routing protocol

본 발명은 AODV(Ad hoc On-demand Distance Vector) 라우팅 프로토콜에서 가중치에 의한 경로를 설정하는 방법에 관한 것으로, 특히 이동 Ad-hoc 네트워크에서 사용되는 AODV 라우팅 프로토콜의 경로 설정과정에서 가중치에 의해 각 노드의 경로를 설정하도록 하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법에 관한 것이다.The present invention relates to a method for establishing a weighted path in an AODV routing protocol, and in particular, to each node by a weight in a path setting process of an AODV routing protocol used in a mobile ad-hoc network. The present invention relates to a path setting method based on a weight of an AODV routing protocol.

AODV 라우팅 프로토콜은 데이터 전송을 위해 경로 설정이 필요한 경우, 경로 설정 요구 (Route Request; 이하 RREQ라 함)메시지가 생성되어 이웃 노드로 브로드캐스트 전송된다.When the AODV routing protocol requires routing for data transmission, a Route Request (RREQ) message is generated and broadcasted to the neighbor node.

그러면, 목적지 노드로의 경로 정보를 가진 중간 노드 또는 목적지 노드가 해당 경로 설정 요구 메시지를 수신한 경우, 경로 설정 응답(Route Reply; 이하 RREP라 함) 메시지를 작성하여 해당 경로 설정 요구 메시지를 전송한 노드로 유니캐스트 전송한다.Then, when the intermediate node or the destination node having the route information to the destination node receives the corresponding route request message, it generates a route reply (hereinafter referred to as RREP) message and transmits the corresponding route request message. Unicast transmission to the node.

또한, 중간 노드가 목적지 정보를 가지지 않으면 해당 RREQ 메시지를 이웃한 노드로 다시 방송한다.In addition, if the intermediate node does not have destination information, the corresponding RREQ message is broadcasted to the neighboring node again.

도 1은 종래의 AODV 라우팅 프로토콜의 경로설정 요구 메시지의 포맷을 나타낸 블록도이다.1 is a block diagram showing the format of a routing request message of a conventional AODV routing protocol.

도 1을 참조하면, 종래의 AODV 라우팅 프로토콜의 RREQ 메시지는 타입필드(Type)와, J, R, G, D, U 필드정보 및 예비필드(Reserved)와, 해당 RREQ 메시지가 전송되는 홉수를 카운트하여 저장하는 필드(Hop Count)가 있다.Referring to FIG. 1, the RREQ message of the conventional AODV routing protocol counts a type field, J, R, G, D, and U field information and reserved fields, and the number of hops to which the corresponding RREQ message is transmitted. There is a field (Hop Count) to store.

그리고, RREQ 요구 메시지를 식별하기 위한 ID(RREQ ID)와, 목적지 노드의IP 주소, 목적지 노드의 시퀀스 넘버와, 해당 경로 설정 요구 메시지를 전송한 발신지 노드의 IP 주소 및 시퀀스 넘버를 포함한다.And an ID (RREQ ID) for identifying the RREQ request message, an IP address of the destination node, a sequence number of the destination node, and an IP address and sequence number of the source node that transmitted the routing request message.

상기의 RREQ 메시지에 의해 경로를 설정하는 것은 다음과 같다.Setting the path by the above RREQ message is as follows.

도 2는 종래의 AODV 라우팅 프로토콜의 경로 설정 흐름도이다.2 is a flow chart of a path establishment of a conventional AODV routing protocol.

도 2를 참조하면, 노드 1(101)부터 노드 5(105)까지만 도시된 Ad hoc 네트워크에서, 노드 1(101)이 노드 5(105)로 데이터를 전송하기 위해서는 상기 도 1의 포맷을 가지는 RREQ 메시지를 이웃한 노드 2(102)와, 노드 3(103)으로 전송한다.Referring to FIG. 2, in an ad hoc network shown only from node 1 101 to node 5 105, in order to transmit data to node 5 105, node 1 101 has an RREQ having the format of FIG. 1. The message is sent to neighboring node 2 (102) and node 3 (103).

그러면, 노드 2(102)는 중간 노드로써 자신이 노드 5(105)까지의 목적지 경로를 알지 못하면, 해당 RREQ 메시지를 이웃한 노드 3(103)과, 노드 4(104)로 전달한다.Then, if node 2 102 does not know the destination route to node 5 105 as an intermediate node, node 2 102 forwards the corresponding RREQ message to neighbor node 3 103 and node 4 104.

그리고, 노드 3(103)은 노드 1(101)로부터 받은 RREQ 메시지를 이웃 노드 2(102)로 전송한다.The node 3 103 transmits the RREQ message received from the node 1 101 to the neighbor node 2 102.

상기와 같이, 자신이 목적지 노드인 노드 5(105)까지의 경로를 모르면, 각각의 노드는 이웃한 노드들로 RREQ 메시지를 전달한다.As above, if it does not know the path to node 5 105, which is the destination node, each node forwards the RREQ message to neighboring nodes.

또한, 노드 2(102) 또는 노드 3(103)과 같이 동일한 RREQ 메시지를 수신하면, 최초로 수신된 것만을 사용한다.Also, if the same RREQ message is received, such as node 2 102 or node 3 103, only the first received one is used.

그리고, 노드 5(105)에서 상기 노드 1(101)로부터의 RREQ 메시지를 수신하면, 자신이 목적지 노드이므로 해당 RREQ 메시지가 전달된 경로의 역방향으로 RREP 메시지를 유니캐스트 전송한다.When the node 5 (105) receives the RREQ message from the node 1 (101), since it is the destination node, the node 5 (105) unicasts the RREP message in the reverse direction of the path to which the corresponding RREQ message is transmitted.

즉, 도 2에 도시된 바와 같이, 노드 5(105)는 노드 1(101)에서 노드 2(102)로, 그리고 노드 2(102)에서 노드 4(104)로, 그리고 노드 4(104)에서 자신에게 전송되어온 RREQ 메시지의 역방향으로 RREP 메시지를 전송하는 것이다(노드 5-노드 4-노드 2-노드 1).That is, as shown in FIG. 2, node 5 105 is from node 1 101 to node 2 102, and from node 2 102 to node 4 104, and at node 4 104. This is to send the RREP message in the reverse direction of the RREQ message sent to it (node 5-node 4-node 2-node 1).

상기한 경로 설정의 과정을 동작 순서에 따라 설명하면 다음과 같다.The above-described process of path setting will be described according to the operation order as follows.

도 3은 종래의 AODV 라우팅 프로토콜의 경로 설정 방법의 동작 순서도이다.3 is a flowchart illustrating a path setting method of a conventional AODV routing protocol.

도 3을 참조하면, 각각의 노드들은 RREQ 메시지가 수신되면(S301), 해당 RREQ 메시지가 중복 수신된 것인가를 판단하여(S302), 중복 수신된 것이라면 해당 RREQ 메시지를 폐기하고, 중복 수신된 것이 아니라면 해당 RREQ 메시지의 목적지 노드까지의 경로 정보를 알고 있거나, 자신이 해당 목적지 노드인가를 판단한다(S304).Referring to FIG. 3, when each node receives an RREQ message (S301), it is determined whether the corresponding RREQ message is duplicated (S302), and if it is duplicated, discards the corresponding RREQ message. It is determined whether the path information to the destination node of the RREQ message is known or is the corresponding destination node (S304).

그리고, 상기 단계 S304에서의 판단결과 목적지 노드까지의 경로정보를 모르면 역방향 경로정보를 설정하여 기억하고(S307), 이웃한 노드로 브로드캐스트 방송한다(S308). 이때, 해당 RREQ 메시지에 역방향 경로 정보를 설정하는 것은 해당 RREQ 메시지에 대한 응답인 RREP 메시지를 수신했을 때, 이를 어떤 노드로 전달해야 하는지를 알기 위함이다.If it is determined in step S304 that the route information to the destination node is unknown, reverse route information is set and stored (S307), and broadcasted to a neighboring node (S308). In this case, the setting of the reverse path information in the RREQ message is to know to which node to deliver the RREP message, which is a response to the RREQ message.

그리고, 상기 단계 S304에서의 판단결과, 목적지 노드까지의 경로정보를 안다면, 해당 RREQ 메시지를 보낸 노드로, 즉 역방향으로 RREP 메시지를 유니캐스트로 전송하고(S305), 대기상태에 들어간다(S306).As a result of the determination in step S304, if the route information to the destination node is known, the RREP message is transmitted unicast to the node that sent the RREQ message, that is, in the reverse direction (S305), and enters the standby state (S306).

그러나, 상기와 같은 종래의 방법은 경로 설정 과정에서 단지 최초 RREQ 메시지가 전달된 경로에 의해 경로가 설정됨으로써, 가중치로 표현될 수 있는 경로의상태반영이 불가능하고, 이로 인하여 무선 자원이 비효율적으로 사용되고, 비효율성으로 인한 경로 설정의 문제가 발생될 수 있다.However, in the conventional method as described above, since the path is set by the path through which the initial RREQ message is transmitted, it is impossible to reflect the state of the path, which can be expressed as a weight, and thus radio resources are inefficiently used. As a result, routing problems may arise due to inefficiency.

상기한 문제를 해결하기 위하여, 본 발명은 Ad hoc 네트워크에서 각각의 노드간에 데이터 전송을 위한 경로 설정 방법에 있어서 네트워크 상태에 따른 각각의 노드의 가중치를 반영하여 RREQ 메시지를 전달 또는 재전달하는 과정을 개선하여 가중치에 따른 효율적인 경로 설정이 가능하게 하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법을 제공함에 그 목적이 있다.In order to solve the above problem, the present invention provides a process for transmitting or re-delivering the RREQ message by reflecting the weight of each node according to the network state in the path setting method for data transmission between each node in the ad hoc network. It is an object of the present invention to provide a routing method based on the weight of the AODV routing protocol, which enables an efficient routing according to the weight.

도 1은 종래의 AODV 라우팅 프로토콜의 경로설정 요구 메시지의 포맷을 나타낸 블록도이다.1 is a block diagram showing the format of a routing request message of a conventional AODV routing protocol.

도 2는 종래의 AODV 라우팅 프로토콜의 경로 설정 흐름도이다.2 is a flow chart of a path establishment of a conventional AODV routing protocol.

도 3은 종래의 AODV 라우팅 프로토콜의 경로 설정 방법의 동작 순서도이다.3 is a flowchart illustrating a path setting method of a conventional AODV routing protocol.

도 4는 본 발명의 실시 예에 따른 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정을 위한 메시지 포맷을 나타낸 블록도이다.4 is a block diagram illustrating a message format for path setting by weight of an AODV routing protocol according to an embodiment of the present invention.

도 5는 본 발명의 실시 예에 따른 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법의 흐름도이다.5 is a flowchart illustrating a path setting method based on a weight of an AODV routing protocol according to an exemplary embodiment of the present invention.

도 6은 본 발명의 실시 예에 따른 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법의 동작 순서도이다.6 is a flowchart illustrating a method for establishing a path based on a weight of an AODV routing protocol according to an embodiment of the present invention.

<도면의 주요부분의 간단한 설명><Brief description of the main parts of the drawings>

101~105 : 노드101 ~ 105: node

본 발명에 따른 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법은,Path setting method by the weight of the AODV routing protocol according to the present invention,

다수의 무선통신 노드로 구성된 Ad-hoc 네트워크의 노드간에 AODV(Ad hoc On-demand Distance Vector) 라우팅 프로토콜을 이용한 노드간 경로 설정 방법에 있어서, (a) 임의의 발신지 노드에서 데이터 전송을 위해, 목적지 노드로의 경로 정보를 문의하기 위하여 경로 설정 요구 메시지를 작성하여 이웃한 노드로 브로드캐스트 방송하고, 해당 경로 설정 요구 메시지가 목적지 노드까지 전송되어지도록 하는 단계; (b) 상기 경로 설정 요구 메시지를 수신한 임의의 노드가 상기 경로 설정 요구 메시지가 중복 수신된 메시지인지 여부를 판단하는 단계; (c) 상기 판단결과, 상기 경로 설정 요구 메시지가 중복 수신된 메시지인 경우, 해당 경로 설정 요구 메시지에 포함된 가중치값을 이전에 수신했던 경로 설정 요구 메시지의 가중치와 비교하는 단계; 및 (c) 상기 비교결과, 이전에 수신한 경로 설정 요구 메시지에비해 가중치가 큰 경우, 역방향 경로 정보를 해당 경로로 재설정하고, 상기 경로 설정 요구 메시지를 폐기하는 단계를 포함한다.A method for establishing a node-to-node route using an ad hoc on-demand distance vector (AODV) routing protocol between nodes of an ad-hoc network composed of a plurality of wireless communication nodes, the method comprising: (a) a destination for data transmission from any source node; Creating a route setting request message for inquiring route information to the node, and broadcasting the route setting request message to a neighboring node, such that the route setting request message is transmitted to the destination node; (b) determining, by any node that receives the routing request message, whether the routing request message is a duplicate message; (c) if the routing request message is a duplicated message, comparing the weight value included in the routing request message with a weight of the routing request message previously received; And (c) resetting the reverse path information to the corresponding path and discarding the path setting request message if the weight result is larger than the previously received path setting request message.

바람직하게, 상기 경로 설정 요구 메시지는 해당 경로 설정에 있어서 각각의 노드간 경로의 가중치에 따른 경로 설정을 요구하는 'C' 플래그와, 상기 'C'플래그에 따른 각각의 노드간 경로의 가중치값을 포함하여 구성되는 것을 특징으로 한다.Preferably, the path setting request message includes a 'C' flag for requesting path setting according to the weight of each inter-path path in the corresponding path setting, and a weight value of each inter-path path according to the 'C' flag. Characterized in that it comprises a.

바람직하게, 상기 (a) 단계에서 발신지 노드는 이웃한 노드로 경로 설정 요구 메시지를 전송하면, 상기 발신지 노드에 이웃한 노드가 수신된 경로 설정 요구 메시지의 목적지 노드가 자신이 아닌 경우, 해당 경로 설정 요구 메시지를 자신과 이웃한 노드로 브로드캐스트 전송하여 목적지 노드로 전송되어지도록 하는 것을 특징으로 한다.Preferably, in the step (a), if the source node transmits a route request message to a neighboring node, if the node neighboring the source node is not the destination node of the route request message received, the corresponding route is set. It is characterized in that the request message is transmitted to the neighbor node and its own so that it is transmitted to the destination node.

바람직하게, 상기 (b) 단계의 판단결과, 해당 경로 설정 요구 메시지가 중복 수신된 메시지가 아닌 경우, 상기 경로 설정 요구 메시지를 수신한 임의의 노드 자신이 상기 경로 설정 요구 메시지의 목적지 노드이거나, 목적지 노드까지의 경로정보를 알고 있는 경우, 경로 설정 응답 메시지를 상기 발신지 노드까지 역방향 경로정보에 의해 유니캐스트 하는 단계를 포함한다.Preferably, when the determination result of step (b) indicates that the corresponding route setting request message is not a duplicated message, any node that has received the routing request message is the destination node of the routing request message, or If the route information to the node is known, unicasting a routing response message to the source node by reverse route information.

바람직하게, 상기 (b)단계의 판단결과, 해당 경로 설정 요구 메시지가 중복 수신된 메시지가 아닌 경우, 해당 노드가 목적지 노드가 아니고, 목적지 노드까지의 경로정보를 알지 못하는 경우, 역방향 경로 정보를 설정하고 해당 경로 설정 요구메시지의 가중치값을 재설정하여 이웃한 노드로 방송하는 단계를 포함한다.Preferably, as a result of the determination in step (b), if the corresponding route setting request message is not a duplicately received message, if the corresponding node is not the destination node and does not know the route information to the destination node, the reverse path information is set. And resetting the weight value of the corresponding route request message to broadcast to neighboring nodes.

바람직하게, 상기 가중치값을 재설정하는 것은, 해당 임의의 노드에서 상기경로 설정 요구 메시지가 수신되어온 경로의 가중치값을 저장하고, 상기 경로 설정 요구 메시지를 전송할 경로의 가중치값을 재설정하는 것을 특징으로 한다.Preferably, the resetting of the weight value comprises storing a weight value of a path from which the path setting request message has been received at the corresponding node, and resetting a weight value of a path to transmit the path setting request message. .

바람직하게, 상기 (c) 단계의 비교결과, 상기 임의의 노드에서 상기 경로 설정 요구 메시지의 중복 수신 여부를 판단한 결과, 해당 경로 설정 요구 메시지가 중복되는 경우, 해당 경로 설정 요구 메시지의 가중치값이 이전에 수신했던 경로 설정 요구 메시지의 가중치보다 크지 않은 경우, 해당 경로 설정 요구 메시지를 폐기하는 단계를 포함한다.Preferably, as a result of the comparison in the step (c), if it is determined whether the path setting request message is duplicated by the arbitrary node, and if the corresponding path setting request message is duplicated, the weight value of the corresponding path setting request message is transferred. If the weight is not greater than the weight of the routing request message received, the discarding of the routing request message.

이하 첨부된 도면을 참조하여 본 발명의 실시 예를 자세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;

도 4는 본 발명의 실시 예에 따른 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정을 위한 메시지 포맷을 나타낸 블록도이다.4 is a block diagram illustrating a message format for path setting by weight of an AODV routing protocol according to an embodiment of the present invention.

도 4를 참조하면, 본 발명에 따른 가중치에 의한 경로 설정을 위해서는 각각의 노드에 가중치를 반영하는 메시지 포맷이 필요하다.Referring to FIG. 4, in order to set a path by weight according to the present invention, a message format reflecting a weight on each node is required.

따라서, 종래의 메시지 포맷에서 사용되지 않던 예비 필드(Reserved)에서 가중치에 의한 경로 설정을 적용한다는 표시를 위한 'C' 플래그와, 각각의 노드들의 가중치값을 전송하기 위한 가중치 필드(Cost)를 예비필드를 이용하여 추가함으로써 RREQ 메시지를 구성한다.Accordingly, a 'C' flag for indicating that a path setting by weight is applied to a reserved field which is not used in the conventional message format, and a weight field Cost for transmitting a weight value of each node are reserved. Construct RREQ messages by adding them using fields.

상기와 같이 가중치값을 메시지에 추가하고, 가중치에 따른 경로 설정 방법을 이용한다는 'C' 플래그를 포함한 RREQ 메시지에 의한 경로 설정은 다음과 같이 실시 될 수 있다.As described above, the path setting by the RREQ message including the 'C' flag that adds the weight value to the message and uses the path setting method according to the weight may be performed as follows.

도 5는 본 발명의 실시 예에 따른 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법의 흐름도이다.5 is a flowchart illustrating a path setting method based on a weight of an AODV routing protocol according to an exemplary embodiment of the present invention.

도 5를 참조하면, 상술한 도 2에서와 같은 구성을 가지는 노드 1(101)에서 노드 5(105)까지의 노드간에 노드 1(101)이 노드 5(105)까지의 경로 설정을 요구하는 RREQ 메시지를 브로드캐스트 방송하면, RREQ 메시지는 노드 2(102)와 노드 3(103)으로 전송되어진다.Referring to FIG. 5, an RREQ for requesting the node 1 101 to establish a path to the node 5 105 between nodes 1 101 to 5 5 105 having the same configuration as in FIG. 2 described above. When broadcasting the message, the RREQ message is sent to node 2 102 and node 3 103.

이때, 상기 노드 2(102)에서 노드 1(101)로부터의 경로 가중치보다 노드 3(103)으로부터의 경로 가중치가 높다고 할 때, 노드 2(101)는 노드 1(101)로부터 수신된 RREQ 메시지를 이미 노드 4(103)로 전송하였더라도, 나중에 노드 3(103)으로부터 수신된 중복된 RREQ 메시지의 가중치 값이 더 좋은 경우, 먼저 도착한 노드 1(101)로 설정되어 기억된 역방향 정보를 노드 3(103)으로 변경하여 RREQ 메시지에 대한 RREP 메시지를 노드 2(102)가 수신시 노드 1(101)이 아닌 노드 3(103)으로 전송한다.In this case, when the node 2 102 determines that the path weight from the node 3 103 is higher than the path weight from the node 1 101, the node 2 101 receives the RREQ message received from the node 1 101. If the weight value of the duplicated RREQ message received later from node 3 (103) is better, even if it has already transmitted to node 4 (103), the reverse information stored and set to node 1 (101) that arrived first is stored in node 3 (103). ) To send a RREP message for the RREQ message to node 3 (103) instead of node 1 (101) upon receipt.

이것은 RREQ 메시지의 수신된 차례에 의한 것이 아니라 경로 가중치에 의해 경로 설정을 하는 방식에 의한 것이다.This is not due to the received turn of the RREQ message, but by way of path weighting.

따라서, 노드 5(105)에서 RREQ 메시지를 수신하였을 때는 역방향 경로가 '노드 5-노드 4-노드 2-노드 3-노드 1'의 차례로 되어, 종래의 경로와 다른 경로를 설정하게 된다.Therefore, when the RREQ message is received at the node 5 105, the reverse path is in turn in the order of 'node 5-node 4-node 2-node 3-node 1', thereby establishing a path different from the conventional path.

상기한 경로의 가중치는 각 노드가 경로의 상태에 따라 변경되는 것이므로, 도 5의 경우 노드 2(102)에서 노드 1(101)로 바로 데이터를 전송하는 것보다 노드 2(102)에서 노드 3(103)을 거쳐 노드 1(101)로 데이터 전송이 빠른 네트워크 상태를 가지고 있는 경우, 효율적인 경로 설정이 가능하게 하는 것이다.Since the weight of the path is that each node is changed according to the state of the path, in the case of FIG. 5, node 3 (node 3) node 3 (rather than transmitting data directly from node 2 102 to node 1 101). When data transmission to the node 1 (101) has a fast network state via the 103, it is possible to set the efficient path.

상기한 가중치에 의한 경로 설정에 대해 좀더 자세히 설명하면 다음과 같다.The path setting by the weight will be described in more detail as follows.

도 6은 본 발명의 실시 예에 따른 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법의 동작 순서도이다.6 is a flowchart illustrating a method for establishing a path based on a weight of an AODV routing protocol according to an embodiment of the present invention.

도 6을 참조하면, 중간노드에서는 RREQ 메시지를 수신하면(S401), 먼저 해당 RREQ 메시지가 중복 수신된 메시지인지를 판단하게 된다(S402). 이때, 중복 수신된 RREQ 메시지인지를 판단하는 것은 도 4의 포맷에서 발신지 노드 IP 주소와 RREQ ID 값에 의하여 판단할 수 있다.Referring to FIG. 6, when an intermediate node receives an RREQ message (S401), it is first determined whether the corresponding RREQ message is a duplicately received message (S402). In this case, determining whether or not the duplicated RREQ message can be determined by the source node IP address and the RREQ ID value in the format of FIG. 4.

이때, 해당 RREQ 메시지가 중복 수신된 것이라면 가중치 필드(Cost)의 값을 이전에 수신되었던 RREQ 메시지의 가중치값과 비교하여(S403), 비교결과 현재 수신된 RREQ 메시지의 가중치가 이전에 수신되었던 RREQ 메시지의 가중치값보다 작다면 해당 RREQ 메시지는 폐기한다(S404).At this time, if the corresponding RREQ message is duplicated, the value of the weight field Cost is compared with the weight value of the previously received RREQ message (S403). If less than the weight value of the RREQ message is discarded (S404).

그러나, 이전에 수신되었던 RREQ 메시지보다 현재 수신된 RREQ 메시지의 가중치가 크다면 해당 노드는 역방향 경로 정보를 변경하고, RREQ 메시지를 폐기하게 된다.However, if the weight of the currently received RREQ message is greater than the previously received RREQ message, the node changes the reverse path information and discards the RREQ message.

즉, 도 5에서 노드 2(102)는 먼저 노드 1(101)로부터 수신한 RREQ 메시지에 의하여 역방향 경로 정보를 노드 1(101)로 설정하고 있는 상태였다가, 가중치가 더 큰 노드 3(103)으로부터 같은 RREQ 메시지를 수신하면, 설정하고 있던 노드 1(101)로의 역방향 경로 정보를 노드 3(103)으로 변경하는 것이다.That is, in FIG. 5, the node 2 102 first sets the reverse path information to the node 1 101 based on the RREQ message received from the node 1 101, and then the node 3 103 having a larger weight. When the same RREQ message is received from the node, the reverse path information to the node 1 101 that has been set is changed to the node 3 103.

그리고, 상기 단계 S402에서 수신된 RREQ 메시지가 중복된 메시지가 아니라면 자신이 목적지 노드까지의 경로를 아는지 판단하여(S406), 목적지 노드까지의 경로를 안다면 RREQ 메시지를 역방향 경로에 의해 유니캐스트 한다(S407).If the RREQ message received in step S402 is not a duplicate message, it is determined whether the path to the destination node is known (S406). If the path to the destination node is known, the RREQ message is unicasted by the reverse path (S407). ).

그러나, 자신이 목적지 노드까지의 경로 정보를 모른다면 역방향 경로 정보를 설정한 후(S409), 이전 가중치값을 기록하고, 해당 RREQ 메시지에 새로운 가중치값을 설정하여(S410), 이웃한 노드로 RREQ 메시지를 브로드캐스트 방송한다(S411).However, if one does not know the route information to the destination node, after setting up the reverse route information (S409), the previous weight value is recorded, and a new weight value is set in the corresponding RREQ message (S410), and the RREQ is neighbored to the node. The message is broadcasted (S411).

상기한 단계 S410을 좀더 자세히 설명하면, 도 5에 의해 노드 2(102)는 이전의 가중치 값, 즉 노드 3(103)에서 자신까지의 경로 가중치를 기록하고, 다음 가중치 값, 즉 노드 4(104)까지의 경로 가중치를 RREQ 메시지의 가중치 필드에 재설정한 후 노드 4(104)로 해당 RREQ 메시지를 전송하는 것이다.Referring to step S410 described above in more detail, by referring to FIG. 5, node 2 102 records a previous weight value, that is, a path weight from node 3 103 to itself, and a next weight value, that is, node 4 104. The path weight up to) is reset in the weight field of the RREQ message and then the corresponding RREQ message is transmitted to the node 4 104.

그리고, 동작을 모두 수행한 노드들은 대기상태에 있게 된다(S408).The nodes that have performed all the operations are in the standby state (S408).

이때, 상기 모든 RREQ 메시지 및 RREP 메시지는 RREQ ID에 의하여 같은 구분되어 설정되어진다.At this time, all of the RREQ message and the RREP message is set by the same classification by the RREQ ID.

이상에서 설명한 바와 같이, 본 발명에 따른 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정방법은 종래의 먼저 RREQ 메시지를 수신한 순서로 경로가 설정되던 방식에 비하여 각각의 경로의 상태에 따라 반영되는 가중치를 이용하여 경로 상태가 좋은 경로만을 설정할 수 있도록 하여 데이터 전송에 있어서 효율적인 경로를 통한 데이터 송신이 가능하게 하며, 이로 인한 각 노드의 전원 사용량 등의 가중치 등 다양한 각 노드 및 경로의 가중치를 반영하여 효율적인 경로 설정이 가능한 효과가 있다.As described above, the path setting method based on the weight of the AODV routing protocol according to the present invention uses weights reflected according to the state of each path as compared with the conventional method of setting the path in the order of receiving the RREQ message. Therefore, it is possible to set only the paths with good path status so that data can be transmitted through the efficient path in data transmission, and the effective path setting is reflected by the weight of various nodes and paths such as the weight of each node's power usage. This has a possible effect.

Claims (8)

다수의 무선통신 노드로 구성된 Ad-hoc 네트워크의 노드간에 AODV(Ad hoc On-demand Distance Vector) 라우팅 프로토콜을 이용한 노드간 경로 설정 방법에 있어서,In a node-to-node routing method using an ad hoc on-demand distance vector (AODV) routing protocol between nodes of an ad-hoc network composed of a plurality of wireless communication nodes, (a) 임의의 발신지 노드에서 데이터 전송을 위해, 목적지 노드로의 경로 정보를 문의하기 위하여 경로 설정 요구 메시지를 작성하여 이웃한 노드로 브로드캐스트 방송하고, 해당 경로 설정 요구 메시지가 목적지 노드까지 전송되어지도록 하는 단계;(a) To transmit data from any source node, a route establishment request message is prepared and broadcasted to a neighboring node to inquire route information to the destination node, and the route establishment request message is transmitted to the destination node. To lose; (b) 상기 경로 설정 요구 메시지를 수신한 임의의 노드가 상기 경로 설정 요구 메시지가 중복 수신된 메시지인지 여부를 판단하는 단계;(b) determining, by any node that receives the routing request message, whether the routing request message is a duplicate message; (c) 상기 판단결과, 상기 경로 설정 요구 메시지가 중복 수신된 메시지인 경우, 해당 경로 설정 요구 메시지에 포함된 경로 상태를 반영한 가중치값을 이전에 수신했던 경로 설정 요구 메시지의 가중치와 비교하는 단계; 및(c) if the path setting request message is a duplicated message, comparing the weight value reflecting the path state included in the path setting request message with the weight of the path setting request message previously received; And (d) 상기 비교결과, 이전에 수신한 경로 설정 요구 메시지에 비해 현재 수신된 경로 설정 요구 메시지의 가중치가 큰 경우, 역방향 경로 정보를 해당 경로로 재설정하는 단계(d) resetting the reverse path information to the corresponding path if the weight of the currently received path setting request message is greater than that of the previously received path setting request message. 를 포함하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법.Path setting method by the weight of the AODV routing protocol comprising a. 제 1항에 있어서,The method of claim 1, 상기 경로 설정 요구 메시지는 해당 경로 설정에 있어서 각각의 노드간 경로의 가중치에 따른 경로 설정을 요구하는 'C' 플래그와, 상기 'C'플래그에 따른 각각의 노드간 경로의 가중치값을 포함하여 구성되는 것을 특징으로 하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법.The path setting request message includes a 'C' flag requesting path setting according to the weight of each inter-path path in the corresponding path setting, and a weight value of each inter-path path according to the 'C' flag. Path setting method by the weight of the AODV routing protocol, characterized in that the. 제 1항에 있어서,The method of claim 1, 상기 (a) 단계에서 발신지 노드는 이웃한 노드로 경로 설정 요구 메시지를 전송하면, 상기 발신지 노드에 이웃한 노드가 수신된 경로 설정 요구 메시지의 목적지 노드가 자신이 아닌 경우, 해당 경로 설정 요구 메시지를 자신과 이웃한 노드로 브로드캐스트 전송하여 목적지 노드로 전송되어지도록 하는 것을 특징으로 하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법.In the step (a), if the source node transmits a route request message to the neighboring node, if the destination node of the route request message received by the node neighboring the source node is not itself, the corresponding route request message is sent. A method for routing by weight of an AODV routing protocol, characterized in that the broadcast is transmitted to a node adjacent to itself and transmitted to a destination node. 제 1항에 있어서,The method of claim 1, 상기 (b) 단계의 판단결과, 해당 경로 설정 요구 메시지가 중복 수신된 메시지가 아닌 경우, 상기 경로 설정 요구 메시지를 수신한 임의의 노드 자신이 상기 경로 설정 요구 메시지의 목적지 노드이거나, 목적지 노드까지의 경로정보를 알고 있는 경우, 경로 설정 응답 메시지를 상기 발신지 노드까지 역방향 경로정보에 의해 유니캐스트 하는 단계를 포함하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법.As a result of the determination of step (b), if the corresponding route request message is not a duplicated message, any node that has received the route request message is the destination node of the route request message or is sent to the destination node. If the routing information is known, unicasting a routing response message to the source node by reverse routing information. 제 1항에 있어서,The method of claim 1, 상기 (b)단계의 판단결과, 해당 경로 설정 요구 메시지가 중복 수신된 메시지가 아닌 경우, 해당 노드가 목적지 노드가 아니고, 목적지 노드까지의 경로정보를 알지 못하는 경우, 역방향 경로 정보를 설정하고 해당 경로 설정 요구메시지의 가중치값을 재설정하여 이웃한 노드로 방송하는 단계를 포함하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법.As a result of the determination in step (b), if the corresponding route setting request message is not a duplicated message, if the corresponding node is not the destination node and does not know the route information to the destination node, the reverse route information is set and the corresponding route is set. And resetting the weight value of the setup request message to broadcast to neighboring nodes. 제 5항에 있어서,The method of claim 5, 상기 가중치값을 재설정하는 것은, 해당 임의의 노드에서 상기 경로 설정 요구 메시지가 수신되어온 경로의 가중치값을 저장하고, 상기 경로 설정 요구 메시지를 전송할 경로의 가중치값을 재설정하는 것을 특징으로 하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법.The resetting of the weighting value may include: storing the weighting value of the path from which the routing request message has been received at the corresponding node, and resetting the weighting value of the path for transmitting the routing request message. Path setting method by weight of. 제 1항에 있어서,The method of claim 1, 상기 (c) 단계의 비교결과,A comparison result of step (c), 상기 임의의 노드에서 상기 경로 설정 요구 메시지의 중복 수신 여부를 판단한 결과, 해당 경로 설정 요구 메시지가 중복되는 경우, 해당 경로 설정 요구 메시지의 가중치값이 이전에 수신했던 경로 설정 요구 메시지의 가중치보다 크지 않은 경우, 해당 경로 설정 요구 메시지를 폐기하는 단계를 포함하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법.As a result of determining whether the routing request message is duplicated by the arbitrary node, when the corresponding routing request message is duplicated, the weight value of the routing request message is not greater than the weight of the routing request message previously received. If necessary, discarding the corresponding route request message. 제 1항에 있어서,The method of claim 1, 상기 가중치값은, 각 노드의 전원 사용량에 따라 결정 및 변경되는 것을 특징으로 하는 AODV 라우팅 프로토콜의 가중치에 의한 경로 설정 방법.The weighting value is determined and changed according to the power usage of each node. Path setting method according to the weight of the AODV routing protocol.
KR10-2002-0080304A 2002-12-16 2002-12-16 Method of cost-based route establishing for AODV routing protocol KR100474254B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0080304A KR100474254B1 (en) 2002-12-16 2002-12-16 Method of cost-based route establishing for AODV routing protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0080304A KR100474254B1 (en) 2002-12-16 2002-12-16 Method of cost-based route establishing for AODV routing protocol

Publications (2)

Publication Number Publication Date
KR20040053850A true KR20040053850A (en) 2004-06-25
KR100474254B1 KR100474254B1 (en) 2005-03-15

Family

ID=37347005

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0080304A KR100474254B1 (en) 2002-12-16 2002-12-16 Method of cost-based route establishing for AODV routing protocol

Country Status (1)

Country Link
KR (1) KR100474254B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100772886B1 (en) * 2006-10-27 2007-11-05 삼성전자주식회사 Apparatus and method for providing network information
KR101102117B1 (en) * 2011-08-04 2012-01-02 민우배 System for managing water quality
CN113727408A (en) * 2021-07-26 2021-11-30 桂林电子科技大学 Unmanned aerial vehicle ad hoc network improved AODV routing method based on speed and energy perception
CN113727415A (en) * 2021-07-22 2021-11-30 桂林电子科技大学 Method for dynamically sensing unmanned aerial vehicle ad hoc network to improve AODV routing protocol

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100772886B1 (en) * 2006-10-27 2007-11-05 삼성전자주식회사 Apparatus and method for providing network information
US7933278B2 (en) 2006-10-27 2011-04-26 Samsung Electronics Co., Ltd. Apparatus and method for providing network information
KR101102117B1 (en) * 2011-08-04 2012-01-02 민우배 System for managing water quality
CN113727415A (en) * 2021-07-22 2021-11-30 桂林电子科技大学 Method for dynamically sensing unmanned aerial vehicle ad hoc network to improve AODV routing protocol
CN113727415B (en) * 2021-07-22 2023-12-19 桂林电子科技大学 Method for improving AODV routing protocol by dynamically perceived unmanned aerial vehicle ad hoc network
CN113727408A (en) * 2021-07-26 2021-11-30 桂林电子科技大学 Unmanned aerial vehicle ad hoc network improved AODV routing method based on speed and energy perception
CN113727408B (en) * 2021-07-26 2024-03-01 桂林电子科技大学 Speed and energy perception-based unmanned aerial vehicle ad hoc network improved AODV routing method

Also Published As

Publication number Publication date
KR100474254B1 (en) 2005-03-15

Similar Documents

Publication Publication Date Title
US8064416B2 (en) Route selection in wireless networks
KR101256687B1 (en) Apparatus for setting multipath and method thereof
US7656851B1 (en) Adaptive message routing for mobile ad HOC networks
US7155256B2 (en) Radio communication network system
US20110002226A1 (en) Method for Discovering Routes in Wireless Communications Networks
KR100586233B1 (en) An optimal direction-based flooding method for mobile ad-hoc networks
US8213352B2 (en) Wireless communication system, wireless communication device, wireless communication method, and program
US7660258B2 (en) Method for automatically configuring network addresses in mobile multi-hop network
JP4264451B2 (en) Method and apparatus for route discovery in a communication system
CN104735743B (en) The routing optimization method of embedded radio self-organizing network
JP2006211375A (en) Load distribution method in wireless ad hoc network
JP3977157B2 (en) Route control method and apparatus, and computer program
KR100458207B1 (en) Method of route discovery based on-demand in ad-hoc network
US20080107033A1 (en) Radio communication network capable of radio communication with reduced overhead
KR100474254B1 (en) Method of cost-based route establishing for AODV routing protocol
EP1475926A2 (en) Routing system for establishing optimal route in wireless personal area network (WPAN) and method thereof
JP2007181056A (en) Path selection method
WO2009152357A1 (en) Mixed mode security for mesh networks
JP4913208B2 (en) Address resolution method
JP2004048478A (en) Method for routing ad hoc network
JP2011109412A (en) Node device, ad hoc network system, and method of participating in network
US20060256728A1 (en) Method and network-side faciluty for determning a patti in a radio communications system
TWI806775B (en) Bluetooth network establishing system and method
CA2896911C (en) Route selection in wireless networks
CA2817659C (en) Route selection in wireless networks

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090202

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee