KR20050050457A - A communication method, a communication device and the recording medium thereof in ad-hoc network environment - Google Patents

A communication method, a communication device and the recording medium thereof in ad-hoc network environment Download PDF

Info

Publication number
KR20050050457A
KR20050050457A KR1020030084198A KR20030084198A KR20050050457A KR 20050050457 A KR20050050457 A KR 20050050457A KR 1020030084198 A KR1020030084198 A KR 1020030084198A KR 20030084198 A KR20030084198 A KR 20030084198A KR 20050050457 A KR20050050457 A KR 20050050457A
Authority
KR
South Korea
Prior art keywords
routing
service
message
response
hoc network
Prior art date
Application number
KR1020030084198A
Other languages
Korean (ko)
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 KR1020030084198A priority Critical patent/KR20050050457A/en
Publication of KR20050050457A publication Critical patent/KR20050050457A/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
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

본 발명에 따라 애드혹(ad-hoc) 네트워크 환경하의 통신 방법, 통신 장치 및 애드혹(ad-hoc) 네트워크 환경하의 통신에 이용되는 메시지의 데이터 구조가 기록된 기록 매체가 개시된다. 상기 본 발명에 따른 통신 방법은, 목적지 노드로 서비스 제공 가능 여부에 대한 질의가 삽입된 라우팅 요청을 전송하는 단계와, 상기 목적지 노드로부터 서비스 제공 가능 여부에 대한 응답이 삽입된 라우팅 응답을 수신하는 단계를 포함한다. 이와 같은 본 발명의 구성에 의해, 블루투스 장치를 이용한 ad-hoc 네트워크 환경에서 편리하고 신속하게 통신 노드를 찾을 수 있다. According to the present invention, a communication method under an ad-hoc network environment, a communication apparatus, and a recording medium on which a data structure of a message used for communication under an ad-hoc network environment are recorded. The communication method according to the present invention comprises the steps of: transmitting a routing request in which a query for service availability is inserted to a destination node; and receiving a routing response in which a response to service availability is inserted from the destination node; It includes. According to the configuration of the present invention, it is possible to find a communication node conveniently and quickly in an ad-hoc network environment using a Bluetooth device.

Description

애드혹(ad-hoc) 네트워크 환경하의 통신 방법, 통신 장치 및 기록 매체{ A communication method, a communication device and the recording medium thereof in ad-hoc network environment} A method, communication device and recording medium in ad-hoc network environment

본 발명은 통신 방법 및 통신 장치에 관한 것으로, 좀더 구체적으로는, 애드혹(Ad-hoc) 네트워크 환경하의 통신 방법, 통신 장치 및 애드혹(ad-hoc) 네트워크 환경하의 통신에 이용되는 메시지의 데이터 구조가 기록된 기록 매체에 관한 것이다.The present invention relates to a communication method and a communication apparatus, and more particularly, to a communication method under an ad-hoc network environment, a communication device and a data structure of a message used for communication under an ad-hoc network environment. A recorded recording medium.

애드혹(Ad-hoc) 네트워크란 기존 유선망의 하부구조나 중앙관리 시스템의 도움없이 이동 호스트들만으로 구성되는 일시적인 네트워크를 말한다. An ad-hoc network is a temporary network consisting of only mobile hosts without the help of an existing wired network infrastructure or central management system.

블루투스는 가정이나 사무실 내에 있는 컴퓨터, 프린터, 휴대폰, PDA 등 정보통신기기는 물론 각종 디지털 가전제품을 물리적인 케이블접속 없이 무선으로 연결해 주는 근거리 무선접속 기술이다. 블루투스는 근거리 무선 통신을 이용하여 ad-hoc 네트워크를 구성하기 위한 표준이다. 그러나, 실제로 블루투스 표준에서는 ad-hoc 네트워크의 라우팅에 관한 고려가 없기 때문에 블루투스를 이용하여 ad-hoc 네트워크를 구성한다는 것은 매우 어려운 일이다. 이러한 이유로 ad-hoc 네트워크 환경에서 블루투스의 사용이 활발하지가 않다. 그러나, 블루투스가 근거리 무선에서 가지는 장점들이 많기 때문에 요즈음 PDA나 핸드폰과 같은 이동 단말기에 블루투스 기능이 붙어서 많이 나오고 있는 추세에서 블루투스를 이용한 ad hoc 네트워크 환경의 구성은 이제 필수불가결한 상황이 되어 가고 있다. 이러한 환경하에서 블루투스를 이용한 ad-hoc 네트워크의 요구가 높아질 것은 당연하다. 그러나 앞서 설명하였듯이 현재의 방법으로는 ad-hoc 네트워크를 구성하고 사용하는데 애로가 많다. Bluetooth is a short-range wireless access technology that wirelessly connects various digital home appliances as well as information and communication devices such as computers, printers, mobile phones, and PDAs in homes and offices without a physical cable connection. Bluetooth is a standard for constructing an ad-hoc network using near field communication. However, since the Bluetooth standard does not consider the routing of ad-hoc networks, it is very difficult to construct an ad-hoc network using Bluetooth. For this reason, Bluetooth is not active in ad-hoc network environment. However, since Bluetooth has many advantages in short-range wireless, the ad hoc network environment using Bluetooth is becoming indispensable in the trend that many Bluetooth devices are attached to mobile terminals such as PDAs and mobile phones. Under these circumstances, it is natural that the demand for ad-hoc networks using Bluetooth will increase. However, as described above, current methods have difficulty in constructing and using an ad-hoc network.

블루투스 1.1 표준 스펙상에서는 스캐터 넷(scatternet)으로 확장된 블루투스 ad-hoc 네트워크 구성시 라우팅 경로 설정에 대한 부분은 정의가 되어 있지 않다. 이러한 이유로 관련된 많은 연구가 진행되고 있지만, 대부분이 기존의 라우팅 프로토콜을 블루투스에 적용하는 수준이다. 기존 연구들에서 공통된 블루투스 표준을 이용한 ad-hoc 네트워크에서 통신 과정이 도 1에 도시되어 있다.In the Bluetooth 1.1 standard specification, the routing path setting is not defined when configuring a Bluetooth ad-hoc network extended to a scatternet. For this reason, many researches have been conducted, but most of them apply the existing routing protocol to Bluetooth. A communication process in an ad-hoc network using a Bluetooth standard common to existing studies is shown in FIG. 1.

라우팅 경로 설정 및 SDP(Sevice Discovery Protocol) 서비스 검색 질의를 순차적으로 진행하는 것을 볼 수 있다. 즉, 블루투스를 이용하여 ad hoc 네트워크 통신을 하고자 하기 위해서는 먼저 데이터 소스(data source)인 블루투스 디바이스 A와 데이터 데스티네이션(data destination)인 블루투스 디바이스 B 사이의 통신 경로를 설정해야 주어야 한다. 그 이후 소스 노드인 디바이스 A는 데스티네이션 노드인 디바이스 B에 서비스 질의를 해서 자신이 원하는 서비스를 제공할 수 있는가를 알아낸다. 만약 디바이스 B가 원하는 서비스를 제공한다면 둘 사이에는 통신이 이루어질 수 있다. You can see the routing path setup and the SDP (Sevice Discovery Protocol) service discovery query. That is, in order to perform ad hoc network communication using Bluetooth, first, a communication path between a Bluetooth device A as a data source and a Bluetooth device B as a data destination must be set. After that, device A, the source node, queries the device B, the destination node, to find out whether it can provide the desired service. If device B provides the desired service, communication can occur between the two.

이제, 도 1을 참조하여 종래 기술에 따라 블루투스 디바이스를 이용하여 구성된 ad-hoc 네트워크에서 소스 노드인 디바이스 A(10)와 데스티네이션 노드인 디바이스 B(30)가 통신을 하기 위한 과정을 자세히 설명한다. Now, referring to FIG. 1, a process for communication between a device A 10 as a source node and a device B 30 as a destination node in an ad-hoc network configured using a Bluetooth device according to the related art will be described in detail. .

먼저, 데이터를 보내기 원하는 소스 노드(10)가 데이터의 목적지인 데스티네이션 노드(30)까지 가기 위한 경로를 알기 위하여 라우팅 요청(Routing Request)을 자신과 연결된 모든 노드들에게 브로드캐스트한다(S101). 이렇게 브로드캐스트된 라우팅 요청을 수신한 중간 노드(20)는 자신이 데스티네이션 노드(30)가 아닌 경우에는 이 라우팅 요청을 다시 자신과 연결된 노드들에게 브로드캐스트하게 된다(S102).First, the source node 10 that wants to send data broadcasts a routing request to all nodes connected to it in order to know the path to the destination node 30 as the destination of the data (S101). When the intermediate node 20 receives the broadcast request thus broadcasted, the intermediate node 20 broadcasts the routing request to the nodes connected to it again when it is not the destination node 30 (S102).

이렇게 하여 데스티네이션 노드(30)까지 라우팅 요청이 도착하게 되면, 라우팅 요청을 수신한 데스티네이션 노드(30)는 이에 대한 응답으로 라우팅 응답(Routing Reply)을 보내게 된다(S103). 이러한 라우팅 응답을 받은 중간 노드(20)들은 소스 노드(10)까지 라우팅 응답을 다시 중계한다(S104). When the routing request arrives to the destination node 30 in this way, the destination node 30 receiving the routing request sends a routing reply in response (S103). The intermediate nodes 20 that have received this routing response relay the routing response back to the source node 10 (S104).

이렇게 하여 라우팅 응답을 소스 노드(10)가 받으면 소스 노드(10)에서 데스티네이션 노드(30)까지의 라우팅 경로가 설정되고, 이러한 라우팅 경로에 대한 정보가 라우팅 테이블에 저장된다. 그러나, 라우팅 테이블이 설정되었다고 해서 소스 노드(10)와 데스티네이션(30) 사이에 통신이 가능한 것이 아니다. 블루투스는 서비스 기반의 연결을 제공하므로 두 디바이스 사이에서는 공유되어질 수 있는 서비스가 있어야 한다. 예를 들어, 소스 노드(10)가 OBEXFileTransfer 서비스 클래스를 찾는다면 데스티네이션 노드(30)는 SDP 서비스 데이타베이스 안에 OBEXFileTransfer 서비스 클래스가 명시되어져야 한다. In this way, when the source node 10 receives the routing response, a routing path from the source node 10 to the destination node 30 is established, and information about the routing path is stored in the routing table. However, the setting of the routing table does not mean that communication between the source node 10 and the destination 30 is possible. Bluetooth provides a service-based connection, so there must be a service that can be shared between the two devices. For example, if source node 10 finds the OBEXFileTransfer service class, destination node 30 should specify the OBEXFileTransfer service class in the SDP service database.

따라서, 소스 노드(10)가 SDP에서 제공하는 서비스 질의 명령을 이용하여 OBEXFileTransfer 서비스 클래스를 제공할 수 있는가를 데스티네이션 노드에 질의한다. 먼저, 소스 노드(10)는 라우팅 테이블에 저장된 라우팅 정보를 이용하여 중간 노드(20)로 SDP 요청을 보내고(S105), 이를 수신한 중간 노드(20)는 SDP 요청을 데스티네이션 노드(30)에 중계한다(S106).Therefore, the source node 10 queries the destination node whether it can provide the OBEXFileTransfer service class using the service query command provided by the SDP. First, the source node 10 sends an SDP request to the intermediate node 20 using the routing information stored in the routing table (S105), and the intermediate node 20 receiving the SDP request is sent to the destination node 30. It relays (S106).

데스티네이션 노드(30)는 서비스 제공 가능 여부를 나타내는 SDP 응답을 중간 노드(20)로 전송하고(S107), 이를 수신한 중간 노드(20)는 SDP 응답을 소스 노드(10)로 알려주게 된다(S108). The destination node 30 transmits an SDP response indicating whether the service can be provided to the intermediate node 20 (S107), and the intermediate node 20 receiving the notification informs the source node 10 of the SDP response (see FIG. S108).

만약, 데스티네이션 노드(30)가 서비스를 제공할 수 있다면, 둘 사이에서는 OBEXFileTransfer 서비스를 이용한 통신이 가능하고(S109), 그렇지 않다면 소스 노드(10)는 통신이 가능한 또다른 디바이스를 찾아야 한다. 이처럼 종래 기술에 따른 통신 과정에서는 라우팅 경로를 설정하는 과정과 SDP 서비스를 질의하는 과정이 분리되어 이루어진다. If the destination node 30 can provide a service, communication between the two is possible using the OBEXFileTransfer service (S109). Otherwise, the source node 10 must find another device that can communicate. As described above, in the communication process according to the related art, a process of establishing a routing path and a process of querying an SDP service are performed separately.

종래 기술의 문제점은 다음과 같이 설명될 수 있다. 블루투스가 근거리 무선 통신 및 ad-hoc 네트워크을 위하여 탄생된 표준이라고 하고 있으나, 블루투스 표준에서 ad-hoc 네트워크 상에서의 라우팅 프로토콜에 대한 고려가 없는 상황으로 인하여, 실제로 ad-hoc 네트워크 환경에서 블루투스를 사용하려면 위의 종래 기술 동작에서 설명한 것과 같이 먼저 라우팅 어플리케이션 계층에서 라우팅 경로를 설정하고, 다시 서비스 디스커버리 프로토콜(SDP) 계층에서 사용가능한 서비스를 확인하는 2 번의 과정이 필요하게 된다. The problem of the prior art can be explained as follows. Although Bluetooth is a standard created for short-range wireless communication and ad-hoc networks, due to the lack of consideration of routing protocols on ad-hoc networks in the Bluetooth standard, it is necessary to use Bluetooth in an ad-hoc network environment. As described in the prior art operation of FIG. 2, first, a routing path is established at the routing application layer, and then two processes of checking a service available at the service discovery protocol (SDP) layer are required.

즉, 라우팅 경로 설정을 한 이후에 또다시 원하는 서비스를 제공하는지 SDP 서비스 질의를 해야만 한다. 그러나, 만약 데스티네이션 노드(30)가 소스 노드(10)에서 원하는 서비스를 제공할 수 없을 경우 소스 노드(10)는 또다른 데스티네이션 노드(30)를 찾아야 하고, 이런 경우에 만약, 소스 노드가 원하는 서비스를 제공하는 데스티네이션 노드를 찾는 것을 연속적으로 실패한다면 상당한 시간적 지연(delay)이 발생하게 됨을 피할 수 없다. In other words, after setting the routing path, SDP service query should be made to provide the desired service again. However, if destination node 30 cannot provide the desired service at source node 10, source node 10 should look for another destination node 30, in which case if source node 10 Failure to find a destination node that provides the desired service will inevitably result in significant time delay.

본 발명은 상기와 같은 문제점을 해결하여 블루투스를 이용한 ad-hoc 네트워크 환경에서 편리하고 신속하게 통신 노드를 찾게 하기 위한 통신 방법, 통신 장치 및 애드혹(ad-hoc) 네트워크 환경하의 통신에 이용되는 메시지의 데이터 구조가 기록된 기록 매체를 제공하는 것을 목적으로 한다. The present invention is to solve the above problems and to find a communication node conveniently and quickly in the ad-hoc network environment using Bluetooth, the communication device and the message of the message used in the communication under the ad-hoc network environment It is an object to provide a recording medium in which a data structure is recorded.

상기와 같은 과제를 해결하기 위한 본 발명의 하나의 특징은 애드혹(ad-hoc) 네트워크 환경하의 통신 방법에 있어서, a) 목적지 노드로 서비스 제공 가능 여부에 대한 질의가 삽입된 라우팅 요청을 전송하는 단계와, b) 상기 목적지 노드로부터 서비스 제공 가능 여부에 대한 응답이 삽입된 라우팅 응답을 수신하는 단계를 포함하는 것이다. One feature of the present invention for solving the above problems is in a communication method under an ad-hoc network environment, a) transmitting a routing request inserted with a query whether a service can be provided to a destination node; And b) receiving from the destination node a routing response in which a response as to whether service can be provided is inserted.

여기서, 바람직하게는, 상기 a) 단계는, 서비스 제공 가능 여부에 대한 질의 정보가 삽입된 AODV 프로토콜의 RREQ 메시지를 전송하는 단계를 포함한다.Here, preferably, step a) includes the step of transmitting the RREQ message of the AODV protocol inserted with the query information on whether the service can be provided.

또한, 바람직하게는, 상기 b) 단계는, 서비스 제공 가능 여부에 대한 응답 정보가 삽입된 AODV 프로토콜의 RREP 메시지를 전송하는 단계를 포함한다. Also, preferably, the step b) includes transmitting a RREP message of the AODV protocol in which response information on whether service can be provided is inserted.

또한, 본 발명의 다른 특징은, 애드혹(ad-hoc) 네트워크 환경하의 통신 장치에 있어서, 목적지 노드로 서비스 제공 가능 여부에 대한 질의가 삽입된 라우팅 요청을 전송하고, 상기 목적지 노드로부터 서비스 제공 가능 여부에 대한 응답이 삽입된 라우팅 응답을 수신하는 라우팅 에이전트와, 라우팅 정보를 저장하는 라우팅 테이블을 포함하는 것이다. In addition, another aspect of the present invention, in a communication device in an ad-hoc network environment, and transmits a routing request inserted with a query for whether a service can be provided to a destination node, and whether or not the service can be provided from the destination node. It includes a routing agent for receiving a routing response inserted with a response to, and a routing table for storing routing information.

여기서, 바람직하게는, 상기 라우팅 테이블은 상기 라우팅 에이전트에 의해 이용가능한 서비스 정보가 더 저장된다.Here, preferably, the routing table further stores service information available by the routing agent.

또한, 상기 통신 장치는 블루투스 환경에서 동작하는 통신 장치를 포함할 수 있다. In addition, the communication device may include a communication device operating in a Bluetooth environment.

본 발명의 또다른 특징은, 애드혹(ad-hoc) 네트워크 환경하의 통신에 이용되는 메시지의 데이터 구조가 기록된 기록 매체에 있어서, 상기 데이터 구조는, 서비스 제공 가능 여부에 대한 질의 정보가 삽입된 라우팅 요청 메시지라는 것을 나타내는 식별자와, 데스티네이션 장치의 주소 정보와, 소스 장치의 주소 정보와, 서비스 제공 가능 여부에 대한 질의를 나타내는 정보를 포함하는 것이다.Another feature of the present invention is a recording medium in which a data structure of a message used for communication in an ad-hoc network environment is recorded, wherein the data structure is a routing in which query information about service availability is inserted. It includes an identifier indicating that it is a request message, address information of the destination device, address information of the source device, and information indicating a query for service availability.

여기서, 바람직하게는, 상기 식별자는 블루투스 표준의 SDP 계층 포맷 헤더의 PDUID 영역에 기록된다.Here, preferably, the identifier is recorded in the PDUID area of the SDP layer format header of the Bluetooth standard.

또한, 바람직하게는, 상기 메시지는 AODV 프로토콜의 RREQ 메시지의 데이터 구조를 이용한다. Also preferably, the message uses the data structure of the RREQ message of the AODV protocol.

본 발명의 또다른 특징은, 애드혹(ad-hoc) 네트워크 환경하의 통신에 이용되는 메시지의 데이터 구조가 기록된 기록 매체에 있어서, 상기 데이터 구조는, 서비스 제공 가능 여부에 대한 응답 정보가 삽입된 라우팅 응답 메시지라는 것을 나타내는 식별자와, 데스티네이션 장치의 주소 정보와, 소스 장치의 주소 정보와, 서비스 제공 가능 여부에 대한 응답을 나타내는 정보를 포함하는 것이다. Another aspect of the present invention provides a recording medium in which a data structure of a message used for communication in an ad-hoc network environment is recorded, wherein the data structure includes routing in which response information about service availability is inserted. It includes an identifier indicating that it is a response message, address information of the destination device, address information of the source device, and information indicating a response to whether service can be provided.

여기서, 바람직하게는, 상기 식별자는 블루투스 표준의 SDP 계층 포맷 헤더의 PDUID 영역에 기록된다. Here, preferably, the identifier is recorded in the PDUID area of the SDP layer format header of the Bluetooth standard.

또한, 바람직하게는, 상기 메시지는 AODV 프로토콜의 RREP 메시지의 데이터 구조를 이용한다. Also preferably, the message uses the data structure of the RREP message of the AODV protocol.

이하에서는, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

도 3은 본 발명에 따라 ad-hoc 네트워크에서 두 노드간에 통신이 이루어지는 과정을 나타내는 흐름도이다.3 is a flowchart illustrating a communication process between two nodes in an ad-hoc network according to the present invention.

본 발명에 따라 소스 노드는 데스티네이션 노드로 SDP 요청과 함께 라우팅 요청을 전송하고, 데스티네이션 노드는 소스 노드에게 SDP 응답과 함께 라우팅 응답을 전송한다. 즉, 소스 노드는 라우팅 경로 설정시에 각 노드들이 제공 가능한 서비스를 알 수 있도록 라우팅 경로 설정과 SDP 서비스 질의를 하나로 통합해 한번의 라우팅 요청 메시지를 통해 서비스 가능 노드를 찾을 수 있게 된다. According to the present invention, the source node sends a routing request with the SDP request to the destination node, and the destination node sends a routing response with the SDP response to the source node. That is, the source node can find the serviceable node through a single routing request message by integrating the routing path setting and the SDP service query into one so that each node knows the services that can be provided during the routing path establishment.

도 3을 참조하면, 먼저, 데이터를 보내기 원하는 소스 노드(10)가 데이터의 목적지인 데스티네이션 노드(30)까지 가기 위한 경로를 알기 위하여 라우팅 요청(Routing Request)을 하는데 이때 라우팅 요청에 SDP 요청을 삽입하여 자신과 연결된 모든 노드들에게 브로드캐스트한다(S301).Referring to FIG. 3, first, a source node 10 that wants to send data makes a routing request in order to know a path to a destination node 30 that is a destination of data. Insert and broadcast to all nodes connected to it (S301).

이렇게 브로드캐스트된 SDP 요청이 삽입된 라우팅 요청을 수신한 중간 노드(20)는 자신이 데스티네이션 노드(30)가 아닌 경우에는 SDP 요청이 삽입된 라우팅 요청을 다시 자신과 연결된 노드들에게 브로드캐스트하게 된다(S302).When the intermediate node 20 receiving the routing request inserted with the broadcasted SDP request is not the destination node 30, the intermediate node 20 broadcasts the routing request inserted with the SDP request back to the nodes connected thereto. (S302).

이렇게 하여 데스티네이션 노드(30)까지 SDP 요청이 삽입된 라우팅 요청이 도착하게 되면, SDP 요청이 삽입된 라우팅 요청을 수신한 데스티네이션 노드(30)는 이에 대한 응답으로 SDP 응답이 삽입된 라우팅 응답(Routing Reply)을 보내게 된다(S303). 이러한 라우팅 응답을 받은 중간 노드(20)들은 소스 노드(10)까지 SDP 응답이 삽입된 라우팅 응답을 다시 중계한다(S304). In this way, when the routing request with the SDP request inserted to the destination node 30 arrives, the destination node 30 receiving the routing request with the SDP request inserted receives a routing response (SDP response inserted) in response thereto. Routing Reply) is sent (S303). The intermediate nodes 20 receiving the routing response relay the routing response in which the SDP response is inserted to the source node 10 again (S304).

만약, 데스티네이션 노드(30)가 서비스를 제공할 수 있다면, 소스 노드(10)와 데스티네이션 노드(30) 사이에서는 통신이 수행된다(S305). 이처럼 본 발명에 따른 통신 과정에서는 라우팅 경로를 설정하는 과정과 SDP 서비스를 질의하는 과정이 통합되어 한 번의 요청/응답 과정을 통해 소스 노드(10)는 라우팅 경로 및 서비스 가능 여부 정보를 얻을 수 있게 된다. If the destination node 30 can provide a service, communication is performed between the source node 10 and the destination node 30 (S305). As such, in the communication process according to the present invention, a process of establishing a routing path and a process of querying an SDP service are integrated so that the source node 10 can obtain the routing path and service availability information through a single request / response process. .

도 4는 본 발명에 따라 ad-hoc 네트워크에서 두 노드간에 한번의 요청/응답 과정을 통해 통신이 이루어 지게 하기 위한 노드 장치의 개략적인 블록도이다. FIG. 4 is a schematic block diagram of a node device for enabling communication through a request / response process between two nodes in an ad-hoc network according to the present invention.

도 4를 참조하면, 통신 노드 장치(410)는 네트워크 어플리케이션(411), 블루투스 프로파일(412), RF-COMM(413), 서비스 디스커버리 프로토콜 계층부(Service Discovery Protocol: SDP(420)), 논리적 링크 제어 및 적응 프로토콜 계층부(Logical Link Control And Adapatation Protocol:L2CAP(430)), 호스트 컨트롤러 인터페이스(Host Controller Interface:HCI(414)), 링크 매니지먼트 프로토콜(Link Management Protocol:LMP(415)), 베이스밴드(416)를 포함한다. Referring to FIG. 4, the communication node device 410 includes a network application 411, a Bluetooth profile 412, an RF-COMM 413, a service discovery protocol layer (SDP 420), and a logical link. Logical Link Control And Adapatation Protocol (L2CAP (430)), Host Controller Interface (HCI 414), Link Management Protocol (LMP (415)), Baseband 416.

상기 통신 장치(410)의 구성요소중 특히 본 발명에 따른 구성을 가지는 부분인 SDP 계층부(420)와 L2CAP 계층부(430)가 상세히 설명될 것이며, 일반적인 구성을 가지는 다른 구성요소들에 대한 설명은 생략된다. Among the components of the communication device 410, in particular, the SDP layer unit 420 and the L2CAP layer unit 430, which are parts having the configuration according to the present invention, will be described in detail, and other components having a general configuration will be described. Is omitted.

SDP 계층부(420)에 포함된 라우팅 에이전트(421)는 SDP 계층에서 SDP 명령어의 확장을 통하여 두 디바이스 A와 디바이스 B 사이의 라우팅 경로를 찾고, 이 둘 사이에 사용 가능한 서비스의 종류를 밝혀 주는 역할을 하며, 각 노드에 대한 라우팅 정보 및 이용가능한 서비스 정보를 L2CAP 계층부(430)의 라우팅 테이블(431)에 기록한다. The routing agent 421 included in the SDP layer unit 420 finds a routing path between the two devices A and B through the expansion of the SDP command in the SDP layer, and reveals the types of services available between the two. The routing information and available service information for each node are recorded in the routing table 431 of the L2CAP layer unit 430.

본 발명의 일 예에 따라 라우팅 에이전트(421)는 일반적으로 ad-hoc 네트워크 환경에서 사용되는 on-demand 방식의 라우팅 프로토콜중 AODV(Ad hoc On Demand Distance Vector)의 동작 형태를 따르도록 하여, AODV에서 사용하는 라우팅 경로 설정, 유지를 위하여 사용하는 RREQ, RREP의 개념을 사용한다. On-demand 방식의 AODV 라우팅 프로토콜은 라우팅 경로가 필요할 경우, RREQ(Routing REQuest)를 브로드캐스팅하고, RREQ가 원하는 목적지에 도착하면 RREQ를 받은 노드가 RREP(Routing REPly)를 보내 라우팅 경로를 찾는 방법을 사용하고 있다. 본 발명의 일 예에서도 이와 동일한 개념을 사용한다. According to an example of the present invention, the routing agent 421 generally follows the operation form of an AODV (Ad hoc On Demand Distance Vector) among on-demand routing protocols used in an ad-hoc network environment. The concept of RREQ and RREP is used to establish and maintain the routing path. On-demand AODV routing protocol broadcasts RREQ (Routing REQuest) when routing path is needed, and the node receiving RREQ sends RREP (Routing REPly) to find routing path when RREQ arrives at the desired destination. I use it. The same concept is used in an example of the present invention.

On-demand 방식의 RREP, RREQ 메시지는 SDP 계층의 SDP 명령어의 확장을 통하여 구현한다. 이는 소스 노드 디바이스가 한번의 RREQ 메시지를 통해 피코넷 상의 모든 노드 및 스캐터 넷 상의 모든 노드들의 서비스 제공 여부를 알 수 있게 하기 위함이다. 즉, 라우팅 경로 설정 및 SDP 서비스 질의를 한 번의 과정으로 통합하기 위해서 SDP 명령을 확장한다. 여기서, 피코넷(piconet)이란, 블루투스 기준에 따르면 블루투스 네트워크에서의 통신을 위한 기본 구조는 별 모양의 단일 홉 네트워크를 말하고, 스캐터넷(scatternet)이란 다수의 피코넷을 연결해서 만들어지는 네트워크를 말한다. On-demand RREP and RREQ messages are implemented by extending the SDP commands of the SDP layer. This is so that the source node device can know whether all nodes on the piconet and all nodes on the scatternet are provided through one RREQ message. That is, the SDP command is extended to integrate routing path establishment and SDP service query in one step. Here, the piconet (piconet), according to the Bluetooth standard, the basic structure for communication in the Bluetooth network refers to a star-shaped single hop network, the scatternet (scatternet) refers to a network made by connecting a plurality of piconets.

그러나, 본 발명에서는 AODV와 달리 HELLO 메시지는 보내지 않는다. 즉, AODV 라우팅 프로토콜에서는 모든 노드들이 주기적으로 HELLO 메세지를 보내 자신의 라우팅 테이블에 저장된 라우팅 경로에 대한 점검을 실시하여 라우팅 경로를 갱신한다. 그러나, 블루투스는 기본적으로 피코넷 상의 마스터가 자신에 연결된 액티브(Active) 디바이스들의 리스트를 가지고 있기 때문에 RREQ 메시지가 피코넷 상의 마스터에게 전달만 되면 마스터가 나머지 슬레이브들에게 브로드캐스팅을 하므로 따로 HELLO 메시지 전송이 필요없다. 따라서, 이러한 블루투스의 특성을 이용하는 본 발명에서는 라우팅 정보의 갱신을 위해 HELLO 메시지가 필요없다.However, unlike the AODV, the present invention does not send a HELLO message. That is, in the AODV routing protocol, every node periodically sends a HELLO message to check the routing path stored in its routing table to update the routing path. However, Bluetooth basically has a list of active devices connected to the master on the piconet, so when the RREQ message is delivered to the master on the piconet, the master broadcasts to the rest of the slaves. none. Therefore, in the present invention using the characteristics of Bluetooth, a HELLO message is not necessary for updating routing information.

상기 라우팅 에이전트(421)는 AODV에서 사용하는 라우팅 경로 설정, 유지를 위해 RREQ, RREP의 개념을 사용하므로, AODV의 RREQ, RREP에서 사용하는 각종 필드도 그대로 사용한다. Since the routing agent 421 uses the concept of RREQ and RREP to set and maintain the routing path used in AODV, the routing agent 421 also uses various fields used in RREQ and RREP of AODV.

참고를 위해, 도 2를 참조하여 종래 AODV의 RREQ, RREP 메시지를 간략히 설명한다. For reference, the RREQ and RREP messages of the conventional AODV will be briefly described with reference to FIG. 2.

도 2를 참조하면, 블루투스의 SDP 계층의 포맷(200)은 헤더가 PDU(Protocol Data Unit) ID(210), Transaction ID(220), Parameter Length(230)로 이루어져 있고, payload(240)는 헤더에 정의된 parameter length 만큼의 크기로, 각각의 parameter들로 구성된다.Referring to FIG. 2, the format 200 of the SDP layer of Bluetooth includes a header having a Protocol Data Unit (PDU) ID 210, a Transaction ID 220, and a Parameter Length 230, and the payload 240 has a header. It is the size of the parameter length defined in, consisting of each parameter.

여기서, PDU ID 필드(210)는 ID 값 0x01 ~ 0x07까지는 표준에서 정의하여 사용하고 있으나, 0x08 ~ 0xff까지는 사용하지 않고 있다. 본 발명의 일 예는 이와 같은 사용되지 않는 부분의 확장을 통하여 라우팅 프로토콜에 필요한 RREQ, RREP 명령을 정의한다. 예를 들어, RREQ는 ID 값을 0x20으로 할당하고, RREP는 ID 값을 0x21로 할당할 수 있다. Here, the PDU ID field 210 is defined and used in the standard from ID values 0x01 to 0x07, but is not used from 0x08 to 0xff. An example of the present invention defines the RREQ and RREP commands required for the routing protocol by extending such unused parts. For example, RREQ may assign an ID value of 0x20 and RREP may assign an ID value of 0x21.

이제, 본 발명에 따른 RREQ 메시지와 RREP 메시지의 구조를 설명한다.Now, the structure of the RREQ message and the RREP message according to the present invention will be described.

도 5는 본 발명에 따라 SDP 요청과 함께 라우팅 요청을 수행하게 하기 위한 SDP 확장 명령어 패킷의 구성도이다.5 is a block diagram of an SDP extension command packet for performing a routing request together with an SDP request according to the present invention.

도 5를 참조하면, RREQ 메시지(500)는 PDU ID(501), Transaction ID(502), Parameter Length(503), Hop Count(504), RREQ ID(505), Destination BD Address(506), Destination Sequence Number(507), Source BD Address(508), Source Sequence Number(509). Service UUID(510)를 포함한다.Referring to FIG. 5, the RREQ message 500 includes a PDU ID 501, a Transaction ID 502, a Parameter Length 503, a Hop Count 504, a RREQ ID 505, a Destination BD Address 506, and a Destination. Sequence Number 507, Source BD Address 508, Source Sequence Number 509. Service UUID 510 is included.

PDU ID 필드(501)는 표준에서 사용되지 않는 값 0x08 ~ 0xff중에서 선택하여 사용될 수 있으며, 본 발명의 일 예에 따라 0x20가 사용될 수 있다. The PDU ID field 501 may be selected and used from values 0x08 to 0xff not used in the standard, and 0x20 may be used according to an example of the present invention.

Transaction ID(502)와 Parameter Length(503)는 종래와 동일하다.Transaction ID 502 and Parameter Length 503 are the same as before.

Hop Count(504)는 출발지 노드로부터 RREQ를 수신한 노드까지의 홉의 개수를 나타내는 것으로, 출발지 노드는 RREQ를 이슈할 때 이 영역을 0으로 세팅한 후 전송하고, RREQ를 수신한 노드는 다시 RREQ를 주변 노드로 브로드캐스트할 때 Hop Count 값을 1씩 증가시킨다. Hop Count 504 indicates the number of hops from the source node to the node that received the RREQ.The source node sets this area to 0 when transmitting an RREQ and transmits it, and the node receiving the RREQ re-enters the RREQ. When we broadcast to neighboring nodes, we increase the Hop Count value by 1.

RREQ ID(505)는 RREQ를 이슈시킨 일련번호를 의미하며, 소스 노드는 RREQ를 이슈할 때마다 RREQ ID(505)를 순차적으로 증가시킨다. 이것을 이용해서 RREQ를 수신한 노드는 소스 노드의 블루투스 주소와 Broadcast ID를 비교하여 중복 수신 여부를 결정한다. 각 노드는 하나의 RREQ ID만을 유지한다. The RREQ ID 505 refers to a serial number that issued the RREQ, and the source node sequentially increases the RREQ ID 505 whenever the RREQ is issued. Using this, the node receiving the RREQ compares the source node's Bluetooth address with the Broadcast ID to determine whether to receive duplicates. Each node maintains only one RREQ ID.

Destination BD Address(506)는 RREQ가 도달해야 할 데스티네이션 노드의 블루투스 디바이스 어드레스를 나타낸다. Destination BD Address 506 indicates the Bluetooth device address of the destination node to which the RREQ should arrive.

Destination Sequence Number(507)는 데스티네이션 노드에서 RREP를 발생시킨 일련번호이며 이용하여 무한 카운트 문제를 해결한다. Destination Sequence Number는 데스티네이션 노드로부터 소스 노드까지 노드들이 보유한 경로에 대해 유효화 여부를 결정하는 데 사용된다.The destination sequence number 507 is a serial number which generated the RREP in the destination node and solves the infinite count problem by using the destination sequence number 507. The destination sequence number is used to determine whether the node holds the path from the destination node to the source node.

Source BD Address(508)는 RREQ를 최초로 생성시킨 소스 노드의 블루투스 디바이스 어드레스이다. The Source BD Address 508 is the Bluetooth device address of the source node that originally created the RREQ.

Source Sequence Number(509)는 소스 노드에서 RREP를 발생시킨 일련번호를 나타내며, 이를 이용하여 무한 카운트 문제를 해결하는데, Source Sequence Number는 소스 노드로부터 데스티네이션 노드까지의 이동단말들이 보유한 경로에 대해 유효화 여부를 결정하는 데 사용된다. The source sequence number 509 indicates the serial number that generated the RREP in the source node, and solves the infinite count problem using the source sequence number. The source sequence number indicates whether the mobile terminal from the source node to the destination node is valid for the path held by the source node. It is used to determine.

Service UUID(510)는 블루투스 표준에서 정하고 있는 서비스의 종류를 나타내는 UUID(Universally Unique ID)이다.The service UUID 510 is a universally unique ID (UUID) indicating the type of service defined by the Bluetooth standard.

도 6은 본 발명에 따라 SDP 응답과 함께 라우팅 응답을 수행하기 위한 SDP 확장 명령어 패킷의 구성도이다. 6 is a block diagram of an SDP extension command packet for performing a routing response together with an SDP response according to the present invention.

RREP 메시지는 수신 노드가 RREQ 메시지의 서비스 UUID 필드를 보고 자신이 제공 가능한 서비스일 경우 해당 소스 노드에 RREQ에 대한 응답으로 보내는 메시지이다. The RREP message is a message sent by the receiving node in response to the RREQ to the corresponding source node when the receiving node looks at the service UUID field of the RREQ message and is a service that can be provided.

도 5를 참조하면, RREP 메시지(600)는 PDU ID(601), Transaction ID(602), Parameter Length(603), Hop Count(604), Destination Sequence Number(605), Source BD Address(606), Life Time(607), Destination BD Address(608)를 포함한다.Referring to FIG. 5, the RREP message 600 includes a PDU ID 601, a Transaction ID 602, a Parameter Length 603, a Hop Count 604, a Destination Sequence Number 605, a Source BD Address 606, Life Time 607 and Destination BD Address 608.

PDU ID 필드(601)는 표준에서 사용되지 않는 값 0x08 ~ 0xff중에서 선택하여 사용될 수 있으며, 본 발명의 일 예에 따라 0x21이 사용될 수 있다. The PDU ID field 601 may be selected from among values 0x08 to 0xff not used in the standard, and 0x21 may be used according to an example of the present invention.

Hop Count(604)는 RREQ 전송시 얻어진 소스 노드와 데스티네이션 노드간의 홉 수를 저장하는 필드이고, Destination Sequence Number(605)는 RREP를 생성한 데스티네이션 노드에서 RREP를 이슈시킨 일련번호, Source BD Address(606)는 RREQ를 생성한 소스 노드의 블루투스 디바이스 주소이며, Lifetime(607)은 생성된 라우팅 경로의 유효한 시간을 나타낸다. Destination BD Address(608)는 RREP를 생성한 노드의 블루투스 디바이스 어드레스이다.Hop Count (604) is a field that stores the number of hops between the source node and the destination node obtained during the transmission of the RREQ, Destination Destination Number (605) is the serial number that issued the RREP in the destination node that generated the RREP, Source BD Address 606 is the Bluetooth device address of the source node that generated the RREQ, and Lifetime 607 indicates the valid time of the generated routing path. Destination BD Address 608 is the Bluetooth device address of the node that created the RREP.

도 7은 본 발명에 따른 라우팅 프로토콜을 이용하여 블루투스 ad-hoc 네트워크의 시스템 구성도이다. 7 is a system configuration diagram of a Bluetooth ad-hoc network using a routing protocol according to the present invention.

여러 개의 블루투스 노드들이 주변에 있는 노드들과 함께 각각의 피코넷 A, 피코넷 B를 형성하고 두 개 이상의 피코넷에 포함되어 있는 슬레이브 30노드가 서로 다른 두 개의 피코넷 A와 피코넷 B를 연결해 주는 게이트웨이 역할을 한다. 슬레이브 20 이 슬레이브 40과 통신을 하고 싶어 하거나, 자신의 피코넷상에 원하는 서비스를 제공하는 디바이스가 없으면 RREQ를 보내게 된다. 그러면 이에 대한 응답으로 RREP가 수신되어 전달되어 라우팅 경로와 이용 가능한 서비스가 결정되어 슬레이브 20과 슬레이브 40이 통신을 하게 된다. 이하에서, 동작을 구체적으로 설명한다. Several Bluetooth nodes form a piconet A and piconet B together with neighboring nodes, and a slave 30 node included in two or more piconets serves as a gateway connecting two different piconets A and piconet B. . If the slave 20 wants to communicate with the slave 40 or there is no device on its piconet that provides the desired service, it sends an RREQ. The RREP is then received and forwarded in response to the routing path and available services to communicate with the slave 20 and the slave 40. Hereinafter, the operation will be described in detail.

도 7을 참조하면, 마스터 10과 슬레이브 10, 20, 30은 피코넷 A를 형성하고, 마스터 20과 슬레이브 30, 40은 피코넷 B를 형성한다. Referring to FIG. 7, master 10 and slaves 10, 20, and 30 form piconet A, and master 20 and slaves 30 and 40 form piconet B.

소스 노드인 슬레이브 20은 자신이 원하는 서비스를 제공하는 디바이스와 통신하고자 할 때 자신이 속한 피코넷 A 상의 마스터 10으로 RREQ 메시지를 보낸다. RREQ 메시지를 받은 마스터 10은 자신에게 연결된 액티브 디바이스들인 슬레이브 10, 슬레이브 30으로 수신된 RREQ 메시지를 브로드캐스팅한다. 그리고, 마스터로부터 RREQ 메시지를 전달받은 디바이스들 중 스캐터 넷의 게이트웨이 역할을 하는 디바이스인 슬레이브 30 즉, 또다른 피코넷 B에 속한 디바이스인 슬레이브 30은 RREQ 메세지를 또 다른 피코넷 B의 마스터 20에게 전달한다. 피코넷 B의 마스터 20은 방금 자신에게 RREQ를 전달해준 슬레이브 30을 제외한 나머지 액티브 디바이스인 슬레이브 40에게 RREQ를 전달한다.The slave node 20, which is the source node, sends an RREQ message to the master 10 on the piconet A to which it belongs when it wants to communicate with the device providing the desired service. The master 10 receiving the RREQ message broadcasts the RREQ message received to the slave devices 10 and 30, which are the active devices connected thereto. Slave 30, which is a device serving as a gateway of the scatternet among the devices receiving the RREQ message from the master, that is, slave 30, which is a device belonging to another piconet B, transfers the RREQ message to master 20 of another piconet B. . Piconet B's Master 20 delivers the RREQ to slave 40, the active device, except for Slave 30, which just sent it to itself.

RREQ는 위에서 설명한 방식처럼 전달되며, RREQ를 받은 모든 디바이스들은 메시의 service UUID 필드를 보고 자신이 제공할 수 있는 서비스인지를 알 수 있다. 만약 자신의 SDP 데이타베이스와 비교하여 제공 가능한 서비스라면 RREP를 소스 노드인 슬레이브 20으로 전송한다. 소스 노드로 RREP 메시지가 전달되는 과정도 RREQ를 전달하는 과정과 같다. 이와 같은 전달 과정에 의해 소스 노드인 슬레이브 20은 마스터 10으로부터 RREP 메시지를 수신하고, 수신된 RREP 메시지를 통해 라우팅 경로와 서비스 제공 가능 여부를 확인할 수 있다. RREQ is delivered as described above, and all devices that receive an RREQ can see the service UUID field of the mesh to see if it is a service they can provide. If the service can be provided in comparison with its SDP database, RREP is sent to the slave node 20 as the source node. The process of sending an RREP message to the source node is the same as the process of sending RREQ. In this manner, the slave node 20, which is the source node, receives the RREP message from the master 10 and checks whether the routing path and the service can be provided through the received RREP message.

도 8은 본 발명에 따라 ad-hoc 네트워크에서 발생하는 네트워크 단절 문제를 해결하기 위한 ad-hoc 네트워크 시스템 구성도이다. 8 is a configuration diagram of an ad-hoc network system for solving a network disconnection problem occurring in an ad-hoc network according to the present invention.

블루투스 표준에서 한 피코넷 상에 있는 노드들은 자신의 마스터 노드에 동기를 맞추어 동작되기 때문에, 피코넷 A의 슬레이브 10 이나 피코넷 B의 슬레이브 30이 아무런 동작을 취하지 않는다면 도 8의 왼쪽 그림에서와 같이 슬레이브 10과 슬레이브 30이 통신 가능한 거리에 있기는 하지만, 둘 중에 어느 것도 서로를 찾아 새로운 피코넷을 형성하지 않았기 때문에 라우팅 경로가 설정되지 않을 수 있게 된다. In the Bluetooth standard, nodes on a piconet operate in synchronization with their master nodes. Therefore, if slave 10 of piconet A or slave 30 of piconet B do not take any action, as shown in the left figure of FIG. Although the slaves 30 are in communication range, no routing path can be established because neither of them finds each other and forms a new piconet.

이러한 문제를 해결하기 위해 본 발명에서는 한 피코넷에서 자신이 슬레이브로 있게 되면 일정 시간 간격마다 주변의 노드들을 모두 inqury하고, 현재 자신과 연결되어 있지 않는 노드들 중에서 다른 피코넷에 연결되어 있는 노드와 새로운 연결을 설정하여 새로운 피코넷을 형성한다. In order to solve this problem, in the present invention, when a slave becomes a slave in one piconet, the neighboring nodes are inqury at a predetermined time interval, and a new connection is made with a node connected to another piconet among the nodes that are not currently connected to themselves. To form a new piconet.

즉, 이렇게 새로 형성된 피코넷 C가 도 8의 오른쪽에 도시되어 있다. 이러한 동작을 반복하면, 모든 네트워크 상에 있는 노드들이 물리적으로 통신 가능 거리에 있으면 모두 연결된 형태를 띠게 된다.That is, the newly formed piconet C is shown on the right side of FIG. 8. If you repeat this operation, all nodes on all networks will be connected when they are physically located.

SDP 계층의 명령어 확장을 통한 라우팅 프로토콜은 2가지 범주로 나누어 설명될 수 있다. 하나는 한 피코넷 상에서 즉, 물리적으로 1 홉 라우팅에서 일어나는 라우팅 프로토콜의 동작에 관한 것이고, 다른 하나는 1 홉이 넘는 거리에 있는 노드들 사이의 라우팅이다. Routing protocols through command extensions of the SDP layer can be described in two categories. One relates to the operation of a routing protocol that occurs on one piconet, ie, physically in one hop routing, and the other is routing between nodes that are over one hop away.

이제, 도 9를 참조하여 본 발명에 따라 확장된 SDP 명령어를 통한 통신 과정을 상세히 설명한다. Now, the communication process through the extended SDP command according to the present invention will be described in detail with reference to FIG.

도 9를 참조하면, 하나의 소스 노드가 어떤 데스티네이션 노드에게 특정 서비스를 받고자 원하는 경우, SDP 계층의 확장 명령어인 RREQ 즉, 서비스제공여부 질의가 담긴 라우팅 요청 메시지를 보내게 된다(단계 910). Referring to FIG. 9, when one source node wants to receive a specific service from a destination node, a routing request message including an RREQ, that is, a service provision query, which is an extension command of the SDP layer is sent (step 910).

RREQ를 받은 중간 노드들(마스터 노드 포함)은 RREQ가 데스티네이션 노드에 도착할 때까지 RREQ를 중계하게 된다(단계 920).Intermediate nodes (including the master node) that have received the RREQ will relay the RREQ until the RREQ arrives at the destination node (step 920).

기존의 무선 라우팅 프로토콜인 AODV에서는 HELLO 메시지를 주기적으로 보내 라우팅 테이블의 엔트리에 대한 점검을 실시한다. 그러나, 블루투스 스펙상 한 피코넷 상에서 슬레이브끼리의 통신은 모두 마스터를 거치게 되어 있으며, 마스터는 피코넷 상에서 현재 통신이 가능한, 즉, 액티브(active) 디바이스들에 대한 리스트를 가지고 있기 때문에 본 발명에서는 HELLO 메시지를 사용하지 않는다. 그러므로, 피코넷 상에서 원하는 서비스를 찾는 디바이스가 마스터에게 RREQ를 보내면 마스터는 해당 RREQ를 자신의 리스트상에 있는 모든 액티브 디바이스들에게 브로드캐스팅을 할 수 있으므로, 마스터는 HELLO 메시지 등을 통해 라우팅 테이블을 갱신하는 등의 동작이 필요치 않다. 마스터는 다만, HELLO 메시지 대신 주기적인 inquiry 동작을 통해 액티브 디바이스들을 갱신할 수 있다.AODV, the existing wireless routing protocol, periodically sends a HELLO message to check entries in the routing table. However, according to the Bluetooth specification, communication between slaves on a piconet is all passed through a master, and in the present invention, since the master has a list of active devices that can communicate on the piconet, that is, in the present invention, Do not use. Therefore, when a device looking for a desired service on the piconet sends an RREQ to the master, the master can broadcast the RREQ to all active devices on its list, so the master can update the routing table with a HELLO message. No action is required. The master may update the active devices through periodic inquiry instead of the HELLO message.

RREQ(500)를 받은 데스티네이션 노드는 RREQ 패킷의 service UUID(510) 필드를 보고 자신의 SDP 데이타베이스의 서비스 클래스 목록과 비교하게 된다(단계 930).   The destination node receiving the RREQ 500 compares the service UUID 510 field of the RREQ packet with the service class list of its SDP database (step 930).

그래서 service UUID(510)가 자신의 서비스 클래스 목록과 일치한다면 이에 대한 응답으로 서비스제공여부에 대한 응답이 담긴 라우팅 응답 메시지인 RREP(600)를 소스 노드로 보낸다(단계 940). Thus, if the service UUID 510 matches its service class list, the service UUID 510 sends a RREP 600, which is a routing response message containing a response to the provision of service, to the source node in response (step 940).

RREP를 받은 소스 노드는 설정된 경로와 이용가능한 서비스를 이용하여 데스티네이션 노드와 통신을 하게 된다(단계 950). 만약 여러 개의 데스티네이션 노드가 RREP를 소스 노드로 보내왔다면, 이것은 곧 많은 디바이스들이 소스 노드에게 서비스 가능하다는 것이다. 이 때 소스 노드는 RREP를 보낸 모든 데스티네이션 노드 디바이스들의 리스트 중에서 도달 거리나 그 밖의 조건들을 고려하여 디바이스를 선택하여 통신할 수 있다. 여기에서 RREQ에 원하는 서비스 UUID를 보내는 이유는 블루투스는 연결지향 기술이므로, 아무리 라우팅 경로가 있다고 하더라도, 소스 노드가 원하는 서비스를 데스티네이션 노드가 제공하지 못한다면 두 노드 사이의 통신은 이루어 질 수 없기 때문이다. 이와 같이 RREQ(500)에 서비스 UUID(510)를 같이 보내어 데스티네이션 노드가 UUID에서 밝히는 서비스를 제공할 수 있는 경우에만 RREP를 보내도록 하여 라우팅 프로토콜을 효율적으로 구성하였다.The source node receiving the RREP communicates with the destination node using the established path and available services (step 950). If multiple destination nodes send RREP to the source node, this means that many devices are serviceable to the source node. At this time, the source node may select and communicate with the device in consideration of the distance or other conditions from the list of all destination node devices that have sent the RREP. The reason for sending the desired service UUID to RREQ is because Bluetooth is a connection-oriented technology, even if there is a routing path, communication between two nodes cannot be made if the destination node does not provide the service that the source node wants. . As such, by sending the service UUID 510 to the RREQ 500 together, the routing protocol is efficiently configured to send the RREP only when the destination node can provide the service indicated by the UUID.

이상과 같은 본 발명의 구성에 의하면, ad-hoc 네트워크의 라우팅을 SDP 계층의 명령어 확장을 통하여 실시함에 따라 단 한번의 RREQ 메시지 전달로 라우팅 경로 설정 및 이용가능한 서비스의 쿼리가 가능하여 좀 더 빠르고 싶게 ad hoc 네트워크 환경을 구성할 수 있도록 하여 준다. 또한, 기존의 방법과 달리 애플리케이션 계층이 아닌 SDP 계층에서 라우팅 프로토콜을 구성하여 이 계층에서 라우팅 정보를 유지하게 됨으로 많은 애플리케이션들이 라우팅 프로토콜에 대한 고려 없이 쉽게 이용할 수 있도록 해준다. 즉, 본 발명에 의해 블루투스 기술을 이용해서 좀 더 쉽고, 빠르고, 효율적으로 ad-hoc 네트워크를 구성하여 사용할 수 있을 것이며, 유비쿼터스 환경이 점점 현실로 다가오고 있는 현실에서 블루투스의 SDP 계층의 명령어 확장을 통하여 블루투스 단말기들을 이용하여 좀 더 빠르고, 쉽게 ad hoc 네트워크 환경을 구성할 수 있게 된다. According to the configuration of the present invention as described above, as the routing of the ad-hoc network through the command extension of the SDP layer, it is possible to set up the routing path and query the available services with only one RREQ message delivery. Allows you to configure an ad hoc network environment. In addition, unlike the existing method, the routing protocol is configured at the SDP layer rather than the application layer to maintain routing information at this layer, so that many applications can easily use it without considering the routing protocol. That is, according to the present invention, the ad-hoc network may be configured and used more easily, faster, and more efficiently using Bluetooth technology, and in the reality that the ubiquitous environment is gradually coming to reality, the instruction extension of the SDP layer of Bluetooth may be implemented. Through Bluetooth terminals, it is possible to configure ad hoc network environment more quickly and easily.

도 1은 종래 기술에 따라 ad-hoc 네트워크에서 두 노드간에 통신이 이루어지는 과정을 나타내는 흐름도,1 is a flowchart illustrating a process of communication between two nodes in an ad-hoc network according to the prior art;

도 2는 종래 기술에 따라 메시지의 구조를 나타내는 도면,2 illustrates the structure of a message according to the prior art;

도 3은 본 발명에 따라 ad-hoc 네트워크에서 두 노드간에 통신이 이루어지는 과정을 나타내는 흐름도,3 is a flowchart illustrating a process in which communication is performed between two nodes in an ad-hoc network according to the present invention;

도 4는 본 발명에 따라 ad-hoc 네트워크에서 두 노드간에 통신이 이루어지게 하기 위한 노드 장치의 개략적인 블록도,4 is a schematic block diagram of a node device for communication between two nodes in an ad-hoc network according to the present invention;

도 5는 본 발명에 따른 SDP 확정 명령어 패킷의 구성도,5 is a configuration diagram of an SDP confirmation command packet according to the present invention;

도 6은 본 발명에 따른 SDP 확장 명령어 패킷의 구성도,6 is a block diagram of an SDP extension command packet according to the present invention;

도 7은 본 발명에 따른 ad-hoc 네트워크의 시스템 구성도,7 is a system configuration diagram of an ad-hoc network according to the present invention;

도 8은 본 발명에 따라 ad-hoc 네트워크에서 발생하는 네트워크 단절 문제를 해결하기 위한 ad-hoc 네트워크 시스템 구성도,8 is a configuration diagram of an ad-hoc network system for solving a network disconnection problem occurring in an ad-hoc network according to the present invention;

도 9는 본 발명에 따라 ad-hoc 네트워크에서 두 노드간에 통신이 이루어지는 과정을 상세히 설명하는 흐름도.9 is a flowchart illustrating a process of communicating between two nodes in an ad-hoc network in detail according to the present invention.

Claims (12)

애드혹(ad-hoc) 네트워크 환경하의 통신 방법에 있어서,In a communication method in an ad-hoc network environment, a) 목적지 노드로 서비스 제공 가능 여부에 대한 질의가 삽입된 라우팅 요청을 전송하는 단계와,a) sending to the destination node a routing request with a query for service availability; b) 상기 목적지 노드로부터 서비스 제공 가능 여부에 대한 응답이 삽입된 라우팅 응답을 수신하는 단계를 포함하는 것을 특징으로 하는 통신 방법.b) receiving from the destination node a routing response inserted with a response as to whether service can be provided. 제1항에 있어서,The method of claim 1, 상기 a) 단계는,Step a) is 서비스 제공 가능 여부에 대한 질의 정보가 삽입된 AODV 프로토콜의 RREQ(Routing REQuest) 메시지를 전송하는 단계를 포함하는 것을 특징으로 하는 통신 방법. And transmitting a Routing REQuest (RREQ) message of the AODV protocol into which query information about service availability is inserted. 제1항에 있어서, The method of claim 1, 상기 b) 단계는,B), 서비스 제공 가능 여부에 대한 응답 정보가 삽입된 AODV 프로토콜의 RREP(Routing REPly) 메시지를 전송하는 단계를 포함하는 것을 특징으로 하는 통신 방법.And transmitting a Routing REPly (RREP) message of the AODV protocol with response information on whether service can be provided. 애드혹(ad-hoc) 네트워크 환경하의 통신 장치에 있어서,A communication device in an ad-hoc network environment, 목적지 노드로 서비스 제공 가능 여부에 대한 질의가 삽입된 라우팅 요청을 전송하고, 상기 목적지 노드로부터 서비스 제공 가능 여부에 대한 응답이 삽입된 라우팅 응답을 수신하는 라우팅 에이전트와,A routing agent for transmitting a routing request inserted with a query for service availability to a destination node, and receiving a routing response with a response for service availability from the destination node; 라우팅 정보를 저장하는 라우팅 테이블을 포함하는 것을 특징으로 하는 통신 장치.And a routing table for storing routing information. 제4항에 있어서,The method of claim 4, wherein 상기 라우팅 테이블은 상기 라우팅 에이전트에 의해 이용가능한 서비스 정보가 더 저장되는 것을 특징으로 하는 통신 장치. The routing table further stores service information available by the routing agent. 제4항에 있어서,The method of claim 4, wherein 상기 통신 장치는 블루투스 환경에서 동작하는 통신 장치를 포함하는 것을 특징으로 하는 통신 장치. And the communication device comprises a communication device operating in a Bluetooth environment. 애드혹(ad-hoc) 네트워크 환경하의 통신에 이용되는 메시지의 데이터 구조가 기록된 기록 매체에 있어서, 상기 데이터 구조는,A recording medium on which a data structure of a message used for communication in an ad-hoc network environment is recorded, wherein the data structure is: 서비스 제공 가능 여부에 대한 질의 정보가 삽입된 라우팅 요청 메시지라는 것을 나타내는 식별자와,An identifier indicating that the query information about the service availability is an inserted routing request message; 데스티네이션 장치의 주소 정보와,Address information of the destination device, 소스 장치의 주소 정보와,Address information of the source device, 서비스 제공 가능 여부에 대한 질의를 나타내는 정보를 포함하는 것을 특징으로 하는 기록 매체.And a record indicating information on whether a service can be provided. 제7항에 있어서,The method of claim 7, wherein 상기 식별자는 블루투스 표준의 SDP 계층 포맷 헤더의 PDUID(Protocol Data Unit ID) 영역에 기록되는 것을 특징으로 하는 기록 매체. And the identifier is recorded in a Protocol Data Unit ID (PDUID) area of the SDP layer format header of the Bluetooth standard. 제7항에 있어서,The method of claim 7, wherein 상기 메시지는 AODV 프로토콜의 RREQ 메시지의 데이터 구조를 이용하는 것을 특징으로 하는 기록 매체.And the message uses the data structure of the RREQ message of the AODV protocol. 애드혹(ad-hoc) 네트워크 환경하의 통신에 이용되는 메시지의 데이터 구조가 기록된 기록 매체에 있어서, 상기 데이터 구조는,A recording medium on which a data structure of a message used for communication in an ad-hoc network environment is recorded, wherein the data structure is: 서비스 제공 가능 여부에 대한 응답 정보가 삽입된 라우팅 응답 메시지라는 것을 나타내는 식별자와,An identifier indicating that the response information about the service availability is an embedded routing response message; 데스티네이션 장치의 주소 정보와,Address information of the destination device, 소스 장치의 주소 정보와,Address information of the source device, 서비스 제공 가능 여부에 대한 응답을 나타내는 정보를 포함하는 것을 특징으로 하는 기록 매체.A recording medium comprising information indicating a response to whether the service can be provided. 제10항에 있어서,The method of claim 10, 상기 식별자는 블루투스 표준의 SDP 계층 포맷 헤더의 PDUID 영역에 기록되는 것을 특징으로 하는 기록 매체. And the identifier is recorded in the PDUID area of the SDP layer format header of the Bluetooth standard. 제10항에 있어서,The method of claim 10, 상기 메시지는 AODV 프로토콜의 RREP 메시지의 데이터 구조를 이용하는 것을 특징으로 하는 기록 매체.And the message uses the data structure of the RREP message of the AODV protocol.
KR1020030084198A 2003-11-25 2003-11-25 A communication method, a communication device and the recording medium thereof in ad-hoc network environment KR20050050457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030084198A KR20050050457A (en) 2003-11-25 2003-11-25 A communication method, a communication device and the recording medium thereof in ad-hoc network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030084198A KR20050050457A (en) 2003-11-25 2003-11-25 A communication method, a communication device and the recording medium thereof in ad-hoc network environment

Publications (1)

Publication Number Publication Date
KR20050050457A true KR20050050457A (en) 2005-05-31

Family

ID=38665941

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030084198A KR20050050457A (en) 2003-11-25 2003-11-25 A communication method, a communication device and the recording medium thereof in ad-hoc network environment

Country Status (1)

Country Link
KR (1) KR20050050457A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100755706B1 (en) * 2006-01-17 2007-09-05 삼성전자주식회사 Method and apparatus for providing distributed service composition model for ad hoc networks
KR100818297B1 (en) * 2006-06-23 2008-03-31 한국전자통신연구원 Method and Apparatus for performing wireless sensor network communicating selectively using Infrared and Radio Frequency Communication

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100755706B1 (en) * 2006-01-17 2007-09-05 삼성전자주식회사 Method and apparatus for providing distributed service composition model for ad hoc networks
US7920532B2 (en) 2006-01-17 2011-04-05 Samsung Electronics Co., Ltd. Method and apparatus for providing distributed service composition model for ad hoc networks
KR100818297B1 (en) * 2006-06-23 2008-03-31 한국전자통신연구원 Method and Apparatus for performing wireless sensor network communicating selectively using Infrared and Radio Frequency Communication

Similar Documents

Publication Publication Date Title
US6879570B1 (en) Method for operating personal ad-hoc network (PAN) among bluetooth devices
US8060590B2 (en) Distance-aware service discovery mechanism for determining the availability of remote services in wireless personal area networks
US10051076B2 (en) Low power digital radio range extension
JP4298651B2 (en) Message routing method, wireless network and master node
KR100709501B1 (en) Method and apparatus for discovering neighbors within a piconet communication system
JP4047278B2 (en) Communication control between devices in mobile ad hoc networks
US20050107102A1 (en) Method of relaying connection requests between wireless devices in wireless network and apparatus therefor
KR100951376B1 (en) Message routing in a radio network
US20010002912A1 (en) Methods and arrangements in a telecommunications system
US7660258B2 (en) Method for automatically configuring network addresses in mobile multi-hop network
KR20120052092A (en) Method for tethering network, method for connecting network and wirelessly communication system thereof
US8532071B2 (en) Method of updating proxy information
EP1863197B1 (en) Wireless communication apparatus and wireless communication method
US20180124550A1 (en) Method and device for transmitting/receiving data in mesh network using bluetooth
CN100493034C (en) Mobile communication system and mobile communication terminal
WO2002039484A2 (en) Intelligent bluetooth inquiry procedure
KR20040095152A (en) Apparatus and method for establishment of routing path in wpan
JP2006513623A (en) Dynamic network formation for wireless ad hoc networks
WO2009036792A1 (en) Compressed source routing
JP2006513628A (en) A network and terminal forming an ad hoc network by responding to a query transferred by a slave terminal, wherein the master unit sets up a connection with the terminal to be incorporated in the network
WO2002078272A1 (en) A method and system for providing bridged mobile ad-hoc networks
US8060013B1 (en) Establishing communications between devices within a mobile ad hoc network
Groten et al. Bluetooth-based mobile ad hoc networks: opportunities and challenges for a telecommunications operator
JP4932272B2 (en) Chat system
KR20050050457A (en) A communication method, a communication device and the recording medium thereof in ad-hoc network environment

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application