KR20100116884A - Method for searching file based peer-2-peer in mobile ad-hoc network - Google Patents

Method for searching file based peer-2-peer in mobile ad-hoc network Download PDF

Info

Publication number
KR20100116884A
KR20100116884A KR1020090035532A KR20090035532A KR20100116884A KR 20100116884 A KR20100116884 A KR 20100116884A KR 1020090035532 A KR1020090035532 A KR 1020090035532A KR 20090035532 A KR20090035532 A KR 20090035532A KR 20100116884 A KR20100116884 A KR 20100116884A
Authority
KR
South Korea
Prior art keywords
node
file
parent node
file information
parent
Prior art date
Application number
KR1020090035532A
Other languages
Korean (ko)
Other versions
KR101033064B1 (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 KR1020090035532A priority Critical patent/KR101033064B1/en
Publication of KR20100116884A publication Critical patent/KR20100116884A/en
Application granted granted Critical
Publication of KR101033064B1 publication Critical patent/KR101033064B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PURPOSE: A method for file searching based on peer-2-peer in a mobile ad-hoc network is provided to prevent large network load on ad-hoc network. CONSTITUTION: A subscription group is decided based on the number of child nodes connected to a signal strength of file information message received from each group and parent node of each group(S3). The subscription node is decided based on the number of child nodes connected to the signal strength and parent node of the file information message received from the parent node or the child node or the number of grandchild nodes connected to the child node of the subscription group decided as described above(S5). The file information of the node subscribed to the subscription node decided as described above is transmitted(S7).

Description

모바일 ad-hoc 네크워크에서 피투피 방식으로 파일을 검색하는 방법{Method for searching file based peer-2-peer in mobile ad-hoc network}Method for searching file based peer-2-peer in mobile ad-hoc network}

본 발명은 모바일 애드-훅 네트워크에서 피투비(P2P:Peer-2-Peer) 방식으로 데이터 송수신을 위한 파일 검색 방법에 관한 것으로, 보다 구체적으로 애드-훅 네트워크를 구성하는 다수의 노드들을 다수의 그룹으로 구분하여 그룹화하고, 그룹 단위로 피투피 방식으로 파일을 검색하는 방법에 관한 것이다. The present invention relates to a file retrieval method for data transmission and reception in a peer-to-peer (P2P) manner in a mobile ad-hook network. More specifically, the present invention relates to a plurality of nodes constituting an ad-hook network. Grouping by dividing into groups, and to search for files in a peer-to-peer manner by group.

최근 CPU 및 저장장치의 발달로 인하여, 많은 종류의 모바일 단말기, 예를 들어 핸드폰, PDA, 넷북, PMP 등이 개발되고 있다. 따라서 이러한 모바일 단말기 기술에 대한 연구도 활발히 진행 중이다. 특히 모바일 환경에서 피투비에 관련된 연구가 최근 많은 관심을 받고 있다.  Recently, due to the development of the CPU and the storage device, many kinds of mobile terminals, for example, mobile phones, PDAs, netbooks, PMPs, etc. have been developed. Therefore, research on the mobile terminal technology is actively being conducted. In particular, research related to P2B in the mobile environment has received a lot of attention recently.

피투피 통신은 네트워크에 참여하는 각 단말기가 적은 수의 일부 중앙 서버에 의존하는 기존의 클라이언트/서버 방식의 네트워크와 달리, 개별 단말기 간에 공유 콘텐츠, 파일 등과 같은 자원을 공유하는 방식의 분산컴퓨팅 패러다임을 의미한다. 피투피 통신에서는 네트워크를 구성하는 모든 단말기들이 동등한 지위로 네트워크에 참여하며, 자신이 가지고 있는 자원을 상대방 노드에 제공하거나 피투피 네트워크에서 송수신되는 파일을 라우팅한다. P2P communication is a distributed computing paradigm in which each terminal participating in the network shares resources such as shared content and files among individual terminals, unlike a conventional client / server network in which each terminal participating in the network depends on a small number of some central servers. do. In peer-to-peer communication, all the terminals constituting the network participate in the network with equal status, and provide their own resources to the other node or route files transmitted and received on the peer-to-peer network.

도 1를 참고로 애드-훅 네트워크의 일 예를 보다 구체적으로 살펴보면, 애드-훅 네트워크에는 이동성을 가진 다수의 이동 노드들(C1 내지 C18)로 구성되어 있으며, 이동 노드들(C1 내지 C18)은 서로 동등한 지위로 자율적으로 임시적인 네트워크를 구성한다. 이동 노드(C1)는 애드-훅 네트워크에서 주변 이동 노드로 데이터를 송신하거나 주변 이동 노드가 가지고 있는 파일을 검색하기 위하여 이동 노드(C1)의 주변 이동 노드들에 데이터 메시지 또는 파일 검색 메시지를 브로딩캐스팅한다. 이동 노드(C8)에서 데이터 메시지 또는 검색 데이터를 수신하기 위하여, 데이터 메시지 또는 검색 데이터는 이동 노드(C1)와 이동 노드(C8) 사이에 존재하는 다수의 주변 이동 노드를 통해 브로딩캐스팅되어 이동 노드(C8)에서 수신된다.Looking at an example of the ad-hook network in more detail with reference to Figure 1, the ad-hook network is composed of a plurality of mobile nodes (C1 to C18) having mobility, the mobile nodes (C1 to C18) Equally autonomous, ad-hoc networks are formed. Mobile node C1 is responsible for sending a data message or a file retrieval message to neighboring mobile nodes of mobile node C1 in order to send data to the neighboring mobile node in the ad-hook network or to retrieve a file owned by the neighboring mobile node. Cast. In order to receive a data message or retrieval data at mobile node C8, the data message or retrieval data is broached through a number of peripheral mobile nodes existing between mobile node C1 and mobile node C8 to be mobile node. Is received at C8.

기존의 피투피 통신 방식은 유선환경을 위해 연구되어 왔기 때문에, 한정된 통신 범위를 가지고 있는 현재의 모바일 네트워크, 특히 애드-훅 네트워크에서는 적합하지 않다. 애드-훅 네트워크는 기반망(infrastructure)이 존재하지 않거나 기반망에 기초한 네트워크의 전개가 용이하지 않은 지역에서 임시적으로 네트워크를 구성하기 위한 목적으로 연구되어 왔다. 애드-훅 네트워크에 존재하는 이동 노드들은 무선 인터페이스를 사용하여 이동 노드들간에 피투피 통신이 가능하다. 그러나 피투피 통신 방식은 원래 유선 네트워크를 위하여 사용되는 통신 기술로서 애드-훅 네트워크에서 종래 피투피 통신 방식을 적용하는 경우, 애드-훅 네트워크의 특성상 아래와 같은 문제점을 발생시킨다.Since the existing P2P communication method has been studied for the wired environment, it is not suitable for the current mobile network, especially the ad-hook network, which has a limited communication range. Ad-hook networks have been studied for the purpose of temporarily constructing networks in areas where there is no infrastructure or where it is not easy to deploy a network based on an infrastructure. Mobile nodes present in the ad-hook network are capable of peer-to-peer communication between mobile nodes using an air interface. However, the P2P communication method is a communication technology originally used for a wired network, and when the conventional P2P communication method is applied in an ad-hook network, the following problems occur due to the characteristics of the ad-hook network.

첫째, 노드의 이동에 따라 네트워크 토폴로지가 동적으로 변화한다. 네트워 크 토폴로지의 변화는 빈번한 루트 정보의 갱신을 야기시켜 루트 정보의 관리를 복잡하게 하며, 이를 위한 라우팅 제어 메시지는 네트워크의 오버헤드로서 작용한다. First, the network topology changes dynamically as the node moves. Changes in the network topology cause frequent update of the route information, which complicates the management of the route information, and the routing control message for this acts as network overhead.

둘째, 애드-훅 네트워크를 구성하는 이동 노드들은 서로 동등한 지위로 네트워크에 참여하므로 피투피 통신 방식으로 애드-훅 네트워크에서 파일을 검색하는 경우, 파일 검색을 위해 검색메시지를 전송하는 과정에서 애드-훅 네트워크를 구성하는 모든 노드들에 동일한 검색메시지를 브로딩캐스팅함으로 인하여 애드-훅 네트워크에 큰 부하를 가한다는 문제점이 발생한다.Second, since the mobile nodes constituting the ad-hook network participate in the network with the same status, when the file is searched in the ad-hook network by peer-to-peer communication, the ad-hook network is transmitted in the process of transmitting the search message for the file search. The problem occurs that a heavy load is placed on the ad-hook network by broadcasting the same search message to all the nodes constituting the node.

셋째, 이동 노드들은 제한된 용량의 배터리를 사용하기 때문에 에너지 사용에 있어 제약이 크다. Third, mobile nodes use a limited amount of battery, which is why energy use is limited.

이러한 문제점들을 해결하기 위해서 ORION(Optimized Routing Independent Overlay Network) 프로토콜이 개발되어 사용되고 있다. ORION은 애드-훅 네트워크 에서 피투피 통신 방식으로 파일을 효율적으로 검색하기 위해 응용계층의 질의 메시지와 네트워크 계층의 질의 메시지를 통합하여 두 개의 라우팅 테이블인 경로 라우팅 테이블과 파일 라우팅 테이블을 관리한다. 파일 라우팅 테이블은 원하는 파일에 대한 경로 정보를 유지하여, 애드-훅 네트워크의 트래픽을 줄이고 정확한 파일 검색으로 네트워크의 신뢰성을 향상시킨다.In order to solve these problems, an optimized optimized routing independent network (ORION) protocol has been developed and used. ORION manages two routing tables, the route routing table and the file routing table, by integrating the query message of the application layer and the query layer of the network layer in order to efficiently retrieve a file through the peer-to-peer communication method in the ad-hook network. The file routing table maintains path information for the desired files, reducing traffic on the ad-hook network and improving network reliability with accurate file retrieval.

도 2는 종래 ORION 프로토콜을 사용하여 애드-훅 네트워크에서 파일을 검색하는 일 예를 설명하기 위한 도면으로서, 도 2를 참고로 보다 구체적으로 살펴보면, 애드-훅 네트워크를 구성하는 모든 이동 노드들은 자신의 보유 파일 정보를 주변 이웃 노드들에게 브로딩캐스팅한다. 예를 들어, 이동 노드(B)는 파일 "1", "2" 를 보유하고 있으며, 이동 노드(C)는 파일 "1", "2", "3"을 보유하고 있으며, 이동 노드(D)는 파일 "2", "3", "4"를 보유하고 있다. 각 이동 노드들은 주변 이웃 노드들로부터 수신한 보유 파일 정보에 기초하여 파일 라우팅 테이블을 생성 관리한다. 예를 들어, 이동 노드(B)는 주변 이동 노드(C, D)로부터 수신한 보유 파일 정보에 기초하여 a와 같은 파일 라우팅 테이블을 생성한다. 한편, 이동 노드(A)는 주변 이동 노드(B, C, D)로부터 수신한 파일 정보와 주변 이동 노드(B)로부터 수신한 파일 라우팅 테이블 정보에 기초하여 b와 같은 파일 라우팅 테이블을 생성한다. FIG. 2 is a view for explaining an example of searching for a file in an ad-hook network using a conventional ORION protocol. Referring to FIG. 2, in detail, all mobile nodes constituting the ad-hook network have their own. Browsing retained file information to neighboring neighbor nodes. For example, mobile node B holds files "1", "2", mobile node C holds files "1", "2", "3", and mobile node D ) Holds files "2", "3", and "4". Each mobile node generates and manages a file routing table based on retained file information received from neighboring neighbor nodes. For example, mobile node B generates a file routing table such as a based on retained file information received from peripheral mobile nodes C and D. Meanwhile, the mobile node A generates a file routing table such as b based on the file information received from the neighboring mobile nodes B, C, and D and the file routing table information received from the neighboring mobile node B. FIG.

이동 노드(A)가 애드-훅 네트워크에서 파일 "4"를 요청하기 위하여 먼저 파일 라우팅 테이블에서 파일 "4"를 보유하고 있는 이동 노드(B)로 파일요청메시지를 송신한다. 이동 노드(B)는 파일요청메시지에 응답하여 이동 노드(A)가 요구하는 파일 "4"를 이동 노드(B)의 파일 라우팅 테이블에서 검색하여 다시 이동 노드(D)에 파일요청메시지를 송신한다. 이동 노드(D)는 파일요청메시지에 응답하여 파일"4"를 이동 노드(A)로 송신한다.Mobile node A first sends a file request message to mobile node B, which holds file "4" in the file routing table, in order to request file "4" in the ad-hook network. In response to the file request message, the mobile node B searches for the file " 4 " requested by the mobile node A in the file routing table of the mobile node B, and sends the file request message to the mobile node D again. . Mobile node D sends file " 4 " to mobile node A in response to the file request message.

ORION 프로토콜을 사용하여 애드-훅 네트워크에서 파일을 검색하는 종래 방법은 각 이동 노드들이 주변 이동 노드들로부터 수신한 파일 정보와 파일 라우팅 데이블에 기초하여 자신의 파일 라우팅 테이블를 갱신하기 때문에, 주변 이동 노드가 이동하는 경우 정확하게 파일을 검색하기 곤란하다는 문제점을 가진다.The conventional method of retrieving files in an ad-hook network using the ORION protocol is that neighboring mobile nodes update their file routing table based on the file routing table and file information received from neighboring mobile nodes. The problem is that it is difficult to retrieve the file correctly when moving.

또한 ORION 프로토콜을 사용하여 애드-훅 네트워크에서 파일을 검색하기 위해서는 사전에 각 이동 노드들이 파일 라우팅 테이블을 생성하고 갱신하여야 하는데, 각 이동 노드들은 파일 라우팅 테이블을 생성하기 위하여 주변 이동 노드들로 파일 정보 또는 파일 라우팅 테이블을 브로딩캐스팅함으로써, 여전히 애드-훅 네트워크에 큰 부하를 준다는 문제점을 가진다.In addition, in order to retrieve files in the ad-hook network using the ORION protocol, each mobile node must create and update a file routing table in advance. Each mobile node can provide file information to neighboring mobile nodes in order to create a file routing table. Or by casting the file routing table, there is still a problem that puts a heavy load on the ad-hook network.

본 발명이 이루고자 하는 목적은 위에서 설명한 애드-훅 네트워크가 가지는 문제점들을 해결하기 위한 것으로, 본 발명은 애드-훅 네트워크에서 파일 검색시에 네트워크에 큰 부하를 주지 않는 파일 검색 방법을 제공하는 것이다.An object of the present invention is to solve the problems of the ad-hook network described above, the present invention is to provide a file retrieval method that does not put a heavy load on the network when searching the file in the ad-hook network.

본 발명이 이루고자 하는 다른 목적은 애드-훅 네트워크를 구성하는 다수의 이동 노드들을 다수의 그룹으로 그룹화하여 네트워크에 큰 부하를 주지 않으며 파일을 검색하는 방법을 제공하는 것이다.Another object of the present invention is to provide a method for retrieving a file without placing a heavy load on the network by grouping a plurality of mobile nodes constituting an ad-hook network into a plurality of groups.

본 발명이 이루고자 하는 또 다른 목적은 애드-훅 네트워크에서 빠르고 저렴한 비용으로 파일을 검색하는 방법을 제공하는 것이다.Another object of the present invention is to provide a method for searching files in a fast and low cost in an ad-hook network.

본 발명에 따른, 모바일 ad-hoc 네크워크에서 피투피 방식으로 파일을 검색하는 방법은 자식 노드에서 요청하는 파일의 정보를 담고 있는 파일요청메시지(FRM)를 부모 노드로 송신하는 단계와, 부모 노드의 파일정보테이블에서 요청 파일이 존재하는지 판단하고 부모 노드의 파일정보테이블에 요청 파일이 존재하지 않는 경우 요청 파일을 검색하기 위한 검색 메시지(FSM)를 부모 노드의 주변 부모 노드로 브로딩캐스팅하는 단계와, 브로딩캐스팅된 검색 메시지에 기초하여 주변 부모 노드의 파일정보테이블에 검색 파일이 존재하는지 판단하는 단계 및 주변 부모 노드들 중 적어도 어느 하나의 주변 부모 노드의 파일정보테이블에 검색 파일이 존재하는 경우 검색응답메시지(SRM)를 부모 노드로 송신하는 단계를 포함한다.According to the present invention, a method for searching a file in a peer-to-peer manner in a mobile ad-hoc network includes transmitting a file request message (FRM) containing information of a file requested from a child node to a parent node, and a file of the parent node. Determining whether the request file exists in the information table, and if the request file does not exist in the parent node's file information table, broadcasting a search message (FSM) for searching the request file to the neighboring parent node of the parent node; Determining whether a search file exists in the file information table of the neighboring parent node based on the broadcasted search message and searching if the search file exists in the file information table of at least one of the neighboring parent nodes Sending a response message (SRM) to the parent node.

바람직하게, 새로운 노드가 부모 노드에 가입하는 경우, 새로운 노드로부터 새로운 노드의 파일정보메시지를 수신하며, 수신한 파일정보메시지에 기초하여 부모 노드의 파일정보테이블을 추가 갱신한다.Preferably, when the new node joins the parent node, the new node receives the file information message of the new node from the new node, and further updates the file information table of the parent node based on the received file information message.

바람직하게, 부모 노드의 자식 노드가 탈퇴하는 경우, 자식 노드는 부모 노드로 탈퇴 메시지를 송신하며, 부모 노드는 탈퇴 메시지에 기초하여 부모 노드의 파일정보테이블을 삭제 갱신한다.Preferably, when a child node of the parent node leaves, the child node sends a leave message to the parent node, and the parent node deletes and updates the file information table of the parent node based on the leave message.

본 발명에 따른, 모바일 ad-hoc 네크워크에서 피투피 방식으로 파일을 검색하기 위한 노드의 그룹화 방법은 다수 그룹의 부모 노드로부터 각각 송신되는 파일 정보 메시지를 수신하고 수신한 파일 정보 메시지의 신호 세기를 측정하는 단계와, 각 그룹으로부터 수신한 파일 정보 메시지의 신호 세기와 각 그룹의 부모 노드에 접속되어 있는 자식 노드의 수에 기초하여 가입 그룹을 결정하는 단계와, 결정한 가입 그룹의 부모 노드 또는 자식 노드로부터 수신하는 파일 정보 메시지의 신호 세기와 부모 노드에 접속되어 있는 자식 노드의 수 또는 자식 노드에 접속되어 있는 손자 노드의 수에 기초하여 가입 노드를 결정하는 단계 및 결정한 가입 노드로 가입되는 노드의 파일 정보 메시지를 송신하는 단계를 포함한다.According to an embodiment of the present invention, a method of grouping nodes for searching a file in a peer-to-peer manner in a mobile ad-hoc network includes receiving a file information message transmitted from a plurality of parent nodes and measuring signal strength of the received file information message. Determining a joining group based on a signal strength of a file information message received from each group and the number of child nodes connected to a parent node of each group, and receiving from a parent node or a child node of the determined joining group. Determining the joining node based on the signal strength of the file information message and the number of child nodes connected to the parent node or the number of grandchild nodes connected to the child node, and the file information message of the node joined with the determined joining node. Transmitting a step.

본 발명에 따라 모바일 ad-hoc 네크워크에서 피투피 방식으로 파일을 검색하는 방법은 종래 기술과 비교하여 다음과 같은 다양한 효과들을 가진다.According to the present invention, a method of searching a file in a P2P manner in a mobile ad-hoc network has various effects as follows.

첫째, 본 발명에 따른 파일 검색 방법은 파일정보테이블을 이용하여 주변 이동 노드의 파일 정보를 관리함으로써, 다량의 검색 메시지가 송수신되는 것을 방지하여 네트워크에 큰 부하를 주지 않는다.First, the file retrieval method according to the present invention manages file information of neighboring mobile nodes using a file information table, thereby preventing a large amount of retrieval messages from being transmitted and received, thus not placing a heavy load on the network.

둘째, 본 발명에 따른 파일 검색 방법은 애드-훅 네트워크를 구성하는 다수의 이동 노드들을 부모 노드와 부모 노드에 가입되는 자식 노드로 그룹화하여 관리함으로써, 특정 파일을 검색하기 위한 검색 메시지를 부모 노드 사이에서만 송수신하여 네트워크에 큰 부하를 주지 않는다.Second, the file search method according to the present invention manages a plurality of mobile nodes constituting the ad-hook network into a parent node and child nodes joined to the parent node, thereby managing a search message for searching for a specific file between the parent nodes. Sending and receiving only does not put a heavy load on the network.

셋째, 본 발명에 따른 파일 검색 방법은 애드-훅 네트워크를 구성하는 다수의 이동 노드들을 부모 노드와 부모 노드에 가입되는 자식 노드로 그룹화하여 관리함으로써, 자식 노드가 이동 가입, 이동 탈퇴하는 경우에도 그룹내에서만 파일라우팅테이블을 갱신하여 정확하고 용이하게 파일을 검색할 수 있다.Third, the file retrieval method according to the present invention manages a plurality of mobile nodes constituting an ad-hook network by grouping them into parent nodes and child nodes joined to the parent node, even when the child nodes move and leave the group. You can update the file routing table only from within to retrieve files accurately and easily.

이하 첨부한 도면을 참고로 본 발명에 따른, 모바일 ad-hoc 네크워크에서 피 투피 방식으로 파일을 검색하는 방법에 대해 보다 구체적으로 설명한다.Hereinafter, with reference to the accompanying drawings, a method of searching for a file in a P2P method in a mobile ad-hoc network will be described in more detail.

도 3은 본 발명의 일 실시예에 따른 애드-훅 네트워크를 도시하고 있는 기능 블록도이다.3 is a functional block diagram illustrating an ad-hook network according to an embodiment of the present invention.

도 3을 참고로 살펴보면, 애드-훅 네트워크는 다수의 부모 노드(PN)와 다수의 자식 노드(CN)로 구성되어 있다. 다수의 자식 노드들(CN)들은 각각 하나의 부모 노드(PN)에 가입되어 있으며, 다수의 자식 노드들(CN)과 하나의 부모 노드(PN)는 1개의 그룹을 구성한다. 도 3에 도시되어 있는 것과 같이, 부모 노드1(PN1)에는 자식 노드 1 내지 자식 노드 4(CN1, CN2, CN3, CN4)가 가입되어 있으며, 부모 노드1(PN1)과 자식 노드 1 내지 자식 노드 4(CN1, CN2, CN3, CN4)는 그룹1을 구성한다. 한편, 부모 노드2(PN2)에는 자식 노드 1 내지 자식 노드 6(CN1, CN2, CN3, CN4, CN5, CN6)가 가입되어 있으며, 부모 노드2(PN2)과 자식 노드 1 내지 자식 노드 6(CN1, CN2, CN3, CN4, CN5, CN6)는 그룹2를 구성한다. 한편, 부모 노드3(PN3)에는 자식 노드 1 내지 자식 노드 3(CN1, CN2, CN3)이 가입되어 있으며, 부모 노드3(PN3)과 자식 노드 1 내지 자식 노드 3(CN1, CN2, CN3)은 그룹3를 구성한다. Referring to FIG. 3, the ad-hook network includes a plurality of parent nodes PN and a plurality of child nodes CN. Each of the plurality of child nodes CN is joined to one parent node PN, and the plurality of child nodes CN and one parent node PN constitute one group. As shown in Fig. 3, parent node 1 (PN1) is joined with child nodes 1 through 4 (CN1, CN2, CN3, CN4), and parent node 1 (PN1) and child nodes 1 through child node. 4 (CN1, CN2, CN3, CN4) constitute group 1. On the other hand, child nodes 1 through 6 (CN1, CN2, CN3, CN4, CN5, CN6) are joined to parent node 2 (PN2), and parent node 2 (PN2) and child nodes 1 through 6 (CN1). , CN2, CN3, CN4, CN5, CN6) constitute Group 2. On the other hand, child nodes 1 through 3 (CN1, CN2, CN3) are joined to parent node 3 (PN3), and parent nodes 3 (PN3) and child nodes 1 through 3 (CN1, CN2, CN3) Configure group 3.

각 그룹의 부모 노드는 고정 노드로 이동하지 못하는 반면, 부모 노드에 가입되어 있는 자식 노드들은 이동 노드로서 부모 노드에 가입하거나 탈퇴할 수 있다. 이동 노드가 새로운 부모 노드에 가입하는 경우 부모 노드와 이동 노드는 서로 부모 노드와 자식 노드의 관계를 가지며 부모 노드는 자식 노드로 가입한 이동 노드의 파일 정보를 관리하는 그룹에서 추가 갱신한다. 한편, 자식 노드가 기존에 가입되어 있는 부모 노드를 탈퇴하는 경우 부모 노드는 자신이 관리하는 그룹에서 탈퇴한 자식 노드에 대한 정보를 삭제 갱신한다.While the parent node of each group cannot move to the fixed node, the child nodes joined to the parent node can join or leave the parent node as the mobile node. When the mobile node joins a new parent node, the parent node and the mobile node have a relationship between the parent node and the child node, and the parent node is further updated by a group managing file information of the mobile node joined as the child node. Meanwhile, when a child node leaves a parent node to which a child node has previously joined, the parent node deletes and updates information on the child node that has left the group managed by the parent node.

각 그룹 사이의 데이터 통신은 각 그룹을 관리하는 부모 노드 사이에서만 이루어 진다. 따라서, 그룹에 가입되어 있는 자식 노드가 특정 파일을 부모 노드에게 요청하면 부모 노드는 다른 그룹의 각 주변 부모 노드에게 특정 파일을 검색 요청하기 위한 검색 메시지를 브로딩캐스팅하며, 특정 파일을 보유하고 있는 그룹의 주변 부모 노드는 검색 메시지에 응답하여 부모 노드에게 검색 응답 메시지를 송신한다. Data communication between each group is performed only between the parent nodes managing each group. Therefore, when a child node joined to a group requests a specific file from a parent node, the parent node broadcasts a search message to each neighboring parent node of another group to request the search for a specific file. Peripheral parent nodes of the group send a search response message to the parent node in response to the search message.

즉, 본 발명에 따른 애드-훅 네트워크에서는 특정 파일을 요청하기 위한 메시지를 주변 이동 노드로 브로딩캐스팅하는 것이 아니고 단지 부모 노드로만 송신하며, 특정 파일이 그룹 내에 존재하지 않는 경우 부모 노드를 통해 주변 부모 노드로만 검색 메시지가 브로딩캐스팅된다.That is, in the ad-hook network according to the present invention, a message for requesting a specific file is not broadcasted to a neighboring mobile node, but only transmitted to a parent node, and when a specific file does not exist in the group, the neighboring node is transmitted through the parent node. Search messages are only broadcast to the parent node.

도 4는 본 발명의 일 실시예에 따라 자식 노드와 부모 노드 사이에서 송수신되는 메시지와 부모 노드와 주변 부모 노드 사이에서 송수신되는 메시지의 흐름도를 도시하고 있다. 4 is a flowchart illustrating a message transmitted and received between a child node and a parent node and a message transmitted and received between a parent node and a neighboring parent node according to an embodiment of the present invention.

도 4를 참고로 살펴보면, 자식 노드는 자신이 가입되어 있는 그룹의 부모 노드에게만 특정 파일을 요청하기 위한 메시지(FRM:File Request Message)를 송신한다. 부모 노드는 자식 노드로부터 파일요청메시지(FRM)를 수신하는 경우 주변 부모 노드들 모두에게 파일을 검색요청하기 위한 메시지(FSM:File Search Message)를 브로딩캐스팅한다. 주변 부모 노드들은 파일정보테이블에서 검색 요청하는 파일이 존재하는지 판단하고, 판단 결과에 따라 검색 요청 파일이 존재하는 경우 부모 노 드로 검색응답메시지(SRM:Search Response Message)를 송신한다. 부모 노드는 주변 부모 노드2로부터 검색응답메시지를 수신하는 경우, 파일을 요청하기 위한 메시지(FRM)를 송신한다. 파일요청메시지에 응답하여 주변 부모 노드2는 자신이 보유하거나 또는 주변 부모 노드2가 관리하는 그룹에 가입되어 있는 자식 노드가 보유하는 파일을 부모 노드로 송신한다. 파일을 수신한 부모 노드는 파일을 요청한 자식 노드에게 수신한 파일을 전달한다.Referring to FIG. 4, the child node transmits a file request message (FRM) for requesting a specific file only to the parent node of the group to which the child node is subscribed. When a parent node receives a file request message (FRM) from a child node, the parent node broadcasts a message (FSM: File Search Message) for requesting a file search to all neighboring parent nodes. Peripheral parent nodes determine whether a file to be searched for exists in the file information table, and if a search request file exists according to the determination result, transmits a search response message (SRM) to the parent node. When the parent node receives a search response message from the neighboring parent node 2, it sends a message (FRM) to request a file. In response to the file request message, the peripheral parent node 2 transmits to the parent node a file held by the child node owned by the child node that is owned or joined to the group managed by the peripheral parent node 2. The parent node receiving the file delivers the received file to the child node that requested the file.

도 5는 본 발명의 일 실시예에 따라 모바일 애드-훅 네크워크에서 피투피 방식으로 파일을 검색하기 위한 이동 노드의 그룹화 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a grouping method of a mobile node for searching for a file in a peer-to-peer manner in a mobile ad-hook network according to an embodiment of the present invention.

도 5를 참고로 보다 구체적으로 살펴보면, 이동 노드가 부모 노드에 가입하기 위하여, 먼저 이동 노드는 다수의 부모 노드로부터 송신되는 파일 정보 메시지를 수신하고 수신한 파일 정보 메시지의 신호 세기를 측정한다(S1). 파일 정보 메시지는 부모 노드가 관리하는 그룹이 보유하고 있는 파일 정보 테이블로서, 부모 노드를 식별하기 위한 식별자와 부모 노드가 보유하는 파일 정보, 부모 노드가 관리하는 그룹에 가입되어 있는 자식 노드의 식별자와 자식 노드가 보유하고 있는 파일 정보가 포함되어 있다. 다수의 부노 노드로부터 수신한 파일 정보 메시지의 신호 세기와 부모 노드가 관리하는 그룹에 가입되어 있는 자식 노드의 수에 기초하여 가입 그룹을 결정한다(S3). 가입 그룹의 결정은 아래의 수학식(1)에 따라 결정한다.Referring to FIG. 5 in more detail, in order for a mobile node to join a parent node, the mobile node first receives a file information message transmitted from a plurality of parent nodes and measures the signal strength of the received file information message (S1). ). The file information message is a file information table held by a group managed by a parent node. The file information message includes an identifier for identifying a parent node, file information held by a parent node, an identifier of a child node joined to a group managed by the parent node, and a file information table. Contains file information held by child nodes. The joining group is determined based on the signal strength of the file information message received from the plurality of buno nodes and the number of child nodes joined to the group managed by the parent node (S3). The decision of the joining group is determined according to Equation (1) below.

[수학식 1][Equation 1]

SPN=MAX(PN(i)), PN(i)=a×RSSI(i)+b×nc(i)SPN = MAX (PN (i)), PN (i) = a × RSSI (i) + b × nc (i)

여기서 SPN는 결정된 가입 그룹의 부모 노드를 의미하며, PN(i)는 각 그룹의 부모 노드의 선택값을 의미하며, a와 b는 각각 파일정보메시지 신호의 수신세기(RSSI)와 각 부모 노드가 관리하는 그룹에 가입되어 있는 자식 노드의 수(nc)에 대한 가중치를 의미한다. 즉, 이동 노드는 선택값이 가장 큰 부모 노드가 관리하는 그룹을 가입 그룹으로 결정한다. 바람직하게 파일 정보 메시지 신호의 수신 세기에 대한 가중치가 각 부모 노드가 관리하는 그룹에 가입되어 있는 자식 노드의 수(nc)에 대한 가중치보다 크다. 이동 노드에서 부모 노드를 통해 데이터를 검색하거나 또는 데이터를 전송할 때 가장 중요한 것은 부모 노드와 이동 노드 사이의 실제 거리이고 파일정보메시지 신호의 수신 세기(RSSI)는 부모 노드와 이동 노드 사이의 거리에 반비례한다. 따라서 파일정보메시지 신호의 수신 세기(RSSI) 값이 클수록 이동 노드와 부모 노드 사이의 거리는 가깝다는 것을 의미한다.Here, SPN means the parent node of the determined joining group, PN (i) means the selection value of the parent node of each group, and a and b indicate that the RSSI of the file information message signal and each parent node It means the weight of the number (nc) of child nodes joined to the managing group. That is, the mobile node determines a group managed by the parent node having the largest selection value as a joining group. Preferably, the weight for the reception strength of the file information message signal is greater than the weight for the number nc of child nodes joined to the group managed by each parent node. When retrieving or transmitting data through a parent node in a mobile node, the most important thing is the actual distance between the parent node and the mobile node, and the reception strength (RSSI) of the file information message signal is inversely proportional to the distance between the parent node and the mobile node. do. Therefore, the larger the received strength (RSSI) value of the file information message signal, the closer the distance between the mobile node and the parent node.

이동 노드가 가입하고자 하는 그룹이 결정되면, 이동 노드가 부모 노드의 자식 노드로 그룹에 가입할 것인지 아니면 부모 노드에 기가입되어 있는 자식 노드에 손자 노드로 가입할 것인지를 결정한다(S5). 가입 노드의 결정은 아래의 수학식(2)에 따라 결정한다.When the group to which the mobile node intends to join is determined, it is determined whether the mobile node joins the group as a child node of the parent node or as a grandchild node to a child node previously subscribed to the parent node (S5). The decision of the joining node is made according to the following equation (2).

[수학식 2][Equation 2]

SJN=MAX(JN(i))SJN = MAX (JN (i))

여기서 SJN는 결정된 가입 노드를 의미하며, JN(i)는 상기 결정된 가입 그룹에 존재하는 부모 노드 또는 자식 노드로부터 수신한 파일정보메시지 신호의 수신 세기(RSSI)를 의미하는 것이다. 즉, 결정한 그룹 내에 존재하는 부모 노드 또는 자식 노드로부터 각각 파일정보메시지를 수신하고, 수신한 파일정보메시지의 수신 세기(RSSI)가 가장 큰 노드에 자식 노드 또는 손자 노드로 가입한다.Here, SJN refers to the determined joining node, and JN (i) refers to a reception strength (RSSI) of a file information message signal received from a parent node or a child node existing in the determined joining group. That is, the file information message is received from the parent node or the child node existing in the determined group, and the child or grandchild node is subscribed to the node having the largest RSSI of the received file information message.

가입 그룹과 가입 노드가 결정되면, 이동 노드는 가입 노드로 가입 메시지를 송신한다(S7). 가입 메시지에는 가입되는 이동 노드의 식별자와 이동 노드가 보유하는 파일에 대한 정보가 포함되어 있다. 부모 노드 또는 자식 노드는 이동 노드로부터 수신한 가입 메시지에 기초하여 부모 노드 또는 자식 노드의 파일정보테이블을 갱신한다(S9). 이동 노드가 결정한 가입 노드가 부모 노드인 경우, 부모 노드는 이동 노드로부터 수신한 가입 메시지의 파일 정보에 기초하여 부모 노드의 파일정보테이블을 갱신한다. 한편, 이동 노드가 결정한 가입 노드가 자식 노드인 경우, 자식 노드는 이동 노드로부터 수신한 가입 메시지의 파일 정보에 기초하여 자식 노드의 파일정보테이블을 갱신하고, 갱신한 파일정보테이블을 부모 노드로 송신한다. 부모 노드는 자식 노드로부터 수신한 파일 정보 테이블에 기초하여 부모 노드가 관리하는 그룹의 파일정보테이블을 갱신한다.When the joining group and the joining node are determined, the mobile node sends a joining message to the joining node (S7). The subscription message includes an identifier of a mobile node to be subscribed to and information about a file held by the mobile node. The parent node or child node updates the file information table of the parent node or child node based on the subscription message received from the mobile node (S9). If the subscription node determined by the mobile node is the parent node, the parent node updates the file information table of the parent node based on the file information of the subscription message received from the mobile node. On the other hand, if the subscription node determined by the mobile node is a child node, the child node updates the file information table of the child node based on the file information of the subscription message received from the mobile node, and sends the updated file information table to the parent node. do. The parent node updates the file information table of the group managed by the parent node based on the file information table received from the child node.

한편, 자식 노드가 부모 노드로부터 탈퇴하는 경우, 자식 노드는 부모 노드로 탈퇴 메시지를 송신하고, 부모 노드는 탈퇴 메시지에 기초하여 부모 노드의 파일정보테이블을 갱신한다.On the other hand, when the child node leaves the parent node, the child node sends a leave message to the parent node, and the parent node updates the file information table of the parent node based on the leave message.

도 6은 부모 노드 또는 자식 노드의 파일정보테이블의 일 예를 도시하고 있다.6 shows an example of a file information table of a parent node or a child node.

도 6(a)를 참고로 부모 노드의 파일정보테이블을 보다 구체적으로 살펴보면, 부모 노드의 파일정보테이블에는 부모 노드의 식별자(ID)와 부모 노드가 보유하고 있는 파일, 부모 노드가 관리하는 그룹에 가입되어 있는 자식 노드의 식별자와 각 자식 노드들이 보유하고 있는 파일에 대한 정보가 포함되어 있다. 부모 노드 또는 자식 노드의 식별자로 부모 노드와 자식 노드의 주소(0x00011, 0x0001101, 0x0001110, 0x0001111)가 사용될 수 있으며, 부모 노드와 자식 노드가 보유하고 있는 파일 정보는 파일명(1, 2, 3, 4, 5, 7, 8)이 사용될 수 있다.Referring to FIG. 6 (a), the file information table of the parent node is described in more detail. The file information table of the parent node includes an identifier (ID) of the parent node, a file held by the parent node, and a group managed by the parent node. It contains the identifiers of the child nodes joined and information about the files held by each child node. Parent node and child node address (0x00011, 0x0001101, 0x0001110, 0x0001111) can be used as identifier of parent node or child node, and file information held by parent node and child node is file name (1, 2, 3, 4). , 5, 7, 8) can be used.

한편, 도 6(b)를 참고로 자식 노드의 파일정보테이블을 보다 구체적으로 살펴보면, 자식 노드의 파일정보테이블에는 부모 노드의 식별자(0x00011)와 자식 노드가 보유하고 있는 파일(1, 2, 5), 자식 노드에 손자 노드가 가입되는 있는 경우 손자 노드의 식별자(0x000110101)와 손자 노드가 보유하고 있는 파일(9, 10, 12)에 대한 정보가 포함되어 있다. Meanwhile, referring to FIG. 6 (b), the file information table of the child node will be described in more detail. In the file information table of the child node, the identifier (0x00011) of the parent node and the files (1, 2, 5) held by the child node are shown. ), When a grandchild node is joined to a child node, information about an identifier (0x000110101) of the grandchild node and files (9, 10, 12) held by the grandchild node is included.

도 7은 본 발명의 일 실시예에 따라, 모바일 ad-hoc 네크워크에서 피투피 방식으로 파일 검색하는 방법을 설명하기 위한 흐름도이다.FIG. 7 is a flowchart illustrating a method of searching for a file in a peer-to-peer manner in a mobile ad-hoc network according to an embodiment of the present invention.

도 7을 참고로 보다 구체적으로 살펴보면, 부모 노드는 자신이 관리하는 그룹에 가입되어 있는 자식 노드들 중 하나의 자식 노드로부터 파일요청메시지를 수신하는 경우(S11), 부모 노드는 부모 노드의 파일정보테이블에 기초하여 자식 노드가 요청하는 파일이 부모 노드 또는 부모 노드가 관리하는 그룹에 가입된 다른 자식 노드가 보유하고 있는 파일인지를 판단한다(S12). S12 단계의 판단 결과, 자식 노드가 요청하는 파일이 부모 노드 또는 부모 노드가 관리하는 그룹에 가입된 다른 자식 노드가 보유하고 있는 파일인 경우, 부모 노드는 파일정보테이블에서 요청 파 일을 보유하고 있는 다른 자식 노드에 파일을 요청하여 자식 노드로 전송한다(S19). 한편, S12의 판단 결과, 자식 노드가 요청하는 파일이 부모 노드 또는 부모 노드가 관리하는 그룹에 가입된 다른 자식 노드가 보유하고 있지 않은 파일인 경우, 부모 노드는 요청 파일을 검색하기 위한 검색 메시지를 생성하여 주변 부모 노드에게 브로딩캐스팅한다(S13). 주변 부모 노드는 브로딩캐스팅된 검색 메시지에 응답하여, 주변 부모 노드의 파일정보테이블에 기초하여 주변 부모 노드가 관리하는 그룹에서 요청 파일을 보유하고 있는지 판단한다(S16). 주변 부모 노드는 관리하는 그룹에서 요청 파일을 보유하고 있다고 판단하는 경우, 부모 노드로 요청 파일을 보유하고 있다는 사실을 알려주기 위한 검색응답메시지를 전송한다(S18).Referring to FIG. 7 in more detail, when a parent node receives a file request message from one child node among child nodes joined to a group managed by the parent node (S11), the parent node receives file information of the parent node. Based on the table, it is determined whether the file requested by the child node is a file held by the parent node or another child node joined to the group managed by the parent node (S12). As a result of the determination in step S12, when the file requested by the child node is a file held by the parent node or another child node joined to the group managed by the parent node, the parent node holds the request file in the file information table. The file is requested to another child node and transmitted to the child node (S19). On the other hand, if the file requested by the child node is not a file owned by the parent node or another child node joined to the group managed by the parent node, the parent node receives a search message for searching for the request file. It generates and casts the surrounding parent node (S13). The peripheral parent node determines whether the request file is held in the group managed by the neighboring parent node based on the file information table of the neighboring parent node, in response to the broadcast message. If it is determined that the neighboring parent node holds the request file in the managing group, the neighboring parent node transmits a search response message for informing that the parent node holds the request file (S18).

한편, 상술한 본 발명의 실시 예들은 컴퓨터에서 실행될 수 있는 프로그램으로 작성 가능하고, 컴퓨터로 읽을 수 있는 기록 매체를 이용하여 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다.Meanwhile, the above-described embodiments of the present invention can be written as a program that can be executed in a computer, and can be implemented in a general-purpose digital computer that operates the program using a computer-readable recording medium.

상기 컴퓨터로 읽을 수 있는 기록 매체는 마그네틱 저장 매체(예를 들어, 롬, 플로피 디스크, 하드디스크 등), 광학적 판독 매체(예를 들면, 시디롬, 디브이디 등) 및 캐리어 웨이브(예를 들면, 인터넷을 통한 전송)와 같은 저장 매체를 포함한다.The computer-readable recording medium may be a magnetic storage medium (for example, a ROM, a floppy disk, a hard disk, etc.), an optical reading medium (for example, a CD-ROM, DVD, etc.) and a carrier wave (for example, the Internet). Storage medium).

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술 적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다. Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

도 1는 종래 애드-훅 네트워크의 일 예를 설명하기 위한 기능 블록도이다.1 is a functional block diagram illustrating an example of a conventional ad-hook network.

도 2는 종래 ORION 프로토콜을 사용하여 애드-훅 네트워크에서 파일을 검색하는 일 예를 설명하기 위한 도면이다.2 is a diagram illustrating an example of searching for a file in an ad-hook network using a conventional ORION protocol.

도 3은 본 발명의 일 실시예에 따른 애드-훅 네트워크를 도시하고 있는 기능 블록도이다.3 is a functional block diagram illustrating an ad-hook network according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따라 자식 노드와 부모 노드 사이에서 송수신되는 메시지와 부모 노드와 주변 부모 노드 사이에서 송수신되는 메시지의 흐름도를 도시하고 있다. 4 is a flowchart illustrating a message transmitted and received between a child node and a parent node and a message transmitted and received between a parent node and a neighboring parent node according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따라 모바일 ad-hoc 네크워크에서 피투피 방식으로 파일을 검색하기 위한 이동 노드의 그룹화 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a grouping method of a mobile node for searching for a file in a peer-to-peer manner in a mobile ad-hoc network according to an embodiment of the present invention.

도 6은 부모 노드 또는 자식 노드의 파일정보테이블의 일 예를 도시하고 있다.6 shows an example of a file information table of a parent node or a child node.

도 7은 본 발명의 일 실시예에 따라, 모바일 ad-hoc 네크워크에서 피투피 방식으로 파일 검색하는 방법을 설명하기 위한 흐름도이다.FIG. 7 is a flowchart illustrating a method of searching for a file in a peer-to-peer manner in a mobile ad-hoc network according to an embodiment of the present invention.

Claims (9)

모바일 애드-훅 네크워크에서 피투피 방식으로 파일을 검색하기 위한 노드의 그룹화 방법에 있어서,In the method of grouping nodes to retrieve files in a peer-to-peer manner in a mobile ad-hook network, (a) 다수 그룹의 부모 노드로부터 각각 송신되는 파일 정보 메시지를 수신하고, 상기 수신한 파일 정보 메시지의 신호 세기를 측정하는 단계;(a) receiving a file information message each transmitted from a plurality of groups of parent nodes, and measuring signal strength of the received file information message; (b) 각 그룹으로부터 수신한 파일 정보 메시지의 신호 세기와 각 그룹의 부모 노드에 접속되어 있는 자식 노드의 수에 기초하여 가입 그룹을 결정하는 단계;(b) determining a joining group based on the signal strength of the file information message received from each group and the number of child nodes connected to the parent node of each group; (c) 상기 결정한 가입 그룹의 부모 노드 또는 자식 노드로부터 수신하는 파일 정보 메시지의 신호 세기와 부모 노드에 접속되어 있는 자식 노드의 수 또는 자식 노드에 접속되어 있는 손자 노드의 수에 기초하여 가입 노드를 결정하는 단계; 및(c) subscribing nodes based on the signal strength of the file information message received from the parent node or child node of the determined joining group and the number of child nodes connected to the parent node or the number of grandchild nodes connected to the child node. Determining; And (d) 상기 결정한 가입 노드로 가입되는 노드의 파일 정보를 송신하는 단계를 포함하는 노드의 그룹화 방법.and (d) transmitting the file information of the node subscribed to the determined subscription node. 제 1 항에 있어서, 상기 결정한 가입 노드가 부모 노드인 경우,The method of claim 1, wherein the determined joining node is a parent node. 상기 부모 노드의 파일 정보 메시지를 상기 가입되는 노드의 파일 정보에 기초하여 갱신하는 단계를 더 포함하는 것을 특징으로 하는 노드의 그룹화 방법.And updating the file information message of the parent node based on the file information of the subscribing node. 제 1 항에 있어서, 상기 결정한 가입 노드가 자식 노드인 경우,The method of claim 1, wherein the determined joining node is a child node. 상기 자식 노드의 파일 정보 메시지를 상기 가입되는 노드의 파일 정보에 기초하여 갱신하고, 상기 갱신한 자식 노드의 파일 정보 메시지를 상기 부모 노드로 송신하는 단계; 및Updating the file information message of the child node based on the file information of the subscribing node, and transmitting the file information message of the updated child node to the parent node; And 상기 부모 노드의 파일 정보 메시지를 상기 갱신한 자식 노드의 파일 정보 메시지에 기초하여 갱신하는 단계를 더 포함하는 것을 특징으로 하는 노드의 그룹화 방법. And updating the file information message of the parent node based on the updated file information message of the child node. 제 2 항 또는 제 3 항에 있어서,The method according to claim 2 or 3, 상기 파일 정보 메시지에는 부모 노드의 식별자, 보유하고 있는 파일 정보, 자식 노드의 ID, 자식 노드가 보유하고 있는 파일 정보를 포함하는 것을 특징으로 하는 노드의 그룹화 방법. And the file information message includes an identifier of a parent node, file information held, an ID of a child node, and file information held by the child node. 제 1 항에 있어서, 상기 가입 그룹의 결정은 아래의 수학식(1)에 의해 결정되며,According to claim 1, wherein the determination of the joining group is determined by the following equation (1), [수학식 1][Equation 1] SPN=MAX(PN(i)), PN(i)=a×RSSI(i)+b×nc(i)SPN = MAX (PN (i)), PN (i) = a × RSSI (i) + b × nc (i) 여기서 SPN는 결정된 가입 그룹의 부모 노드를 의미하며, PN(i)는 각 그룹의 부모 노드의 선택값을 의미하며, a와 b는 각각 파일정보메시지 신호의 수신세기(RSSI)와 자식 노드의 수(nc)에 대한 가중치를 의미하는 것을 특징으로 하는 노드의 그룹화 방법.Here, SPN means the parent node of the determined joining group, PN (i) means the selection value of the parent node of each group, and a and b are the RSSI of the file information message signal and the number of child nodes, respectively. (nc) means a weighting group. 제 1 항에 있어서, 상기 가입 노드의 결정은 아래의 수학식(2)에 의해 결정되며,The method of claim 1, wherein the determination of the joining node is determined by Equation (2) below. [수학식 2][Equation 2] SJN=MAX(JN(i))SJN = MAX (JN (i)) 여기서 SJN는 결정된 가입 노드를 의미하며, JN(i)는 상기 결정된 가입 그룹에 존재하는 부모 노드 또는 자식 노드로부터 수신한 파일정보메시지 신호의 수신세기(RSSI)를 의미하는 것을 특징으로 하는 노드의 그룹화 방법.Here, SJN means a determined joining node, and JN (i) refers to a reception strength (RSSI) of a file information message signal received from a parent node or a child node existing in the determined joining group. Way. 모바일 애드-훅 네크워크에서 피투피 방식으로 파일을 검색하는 방법에 있어서,In a method of searching a file in a peer-to-peer manner in a mobile ad-hook network, 자식 노드에서 요청하는 파일의 정보를 담고 있는 파일요청메시지(FRM)를 부모 노드로 송신하는 단계;Sending a file request message (FRM) containing information of a file requested by a child node to a parent node; 상기 부모 노드의 파일정보테이블에서 요청 파일이 존재하는지 판단하고, 상기 부모 노드의 파일정보테이블에 상기 요청 파일이 존재하지 않는 경우 상기 요청 파일을 검색하기 위한 검색 메시지(FSM)를 상기 부모 노드의 주변 부모 노드로 브로딩캐스팅하는 단계;It is determined whether a request file exists in the file information table of the parent node, and if a request file does not exist in the file information table of the parent node, a search message (FSM) for searching for the request file is located around the parent node. Broadcasting to a parent node; 상기 브로딩캐스팅된 검색 메시지에 기초하여 상기 주변 부모 노드의 파일정보테이블에 상기 검색 파일이 존재하는지 판단하는 단계; 및Determining whether the search file exists in the file information table of the neighboring parent node based on the browsing casted search message; And 상기 주변 부모 노드들 중 적어도 어느 하나의 주변 부모 노드의 파일정보테 이블에 상기 검색 파일이 존재하는 경우, 검색응답메시지(SRM)를 상기 부모 노드로 송신하는 단계를 포함하는 파일 검색 방법. And transmitting a search response message (SRM) to the parent node when the search file exists in the file information table of at least one neighboring parent node among the neighboring parent nodes. 제 7 항에 있어서, 새로운 노드가 상기 부모 노드에 가입하는 경우, 8. The method of claim 7, wherein when a new node joins the parent node, 상기 새로운 노드로부터 상기 새로운 노드의 파일정보메시지를 수신하며,Receiving a file information message of the new node from the new node, 상기 수신한 파일정보메시지에 기초하여 상기 부모 노드의 파일정보테이블을 추가 갱신하는 것을 특징으로 하는 파일 검색 방법.And updating the file information table of the parent node based on the received file information message. 제 7 항에 있어서, 상기 부모 노드의 자식 노드가 탈퇴하는 경우,The method of claim 7, wherein when a child node of the parent node leaves 상기 자식 노드는 상기 부모 노드로 탈퇴 메시지를 송신하며,The child node sends a leave message to the parent node, 상기 부모 노드는 상기 탈퇴 메시지에 기초하여 상기 부모 노드의 파일정보테이블을 삭제 갱신하는 것을 특징으로 하는 파일 검색 방법.And the parent node deletes and updates the file information table of the parent node based on the withdrawal message.
KR1020090035532A 2009-04-23 2009-04-23 Method for searching file based peer-2-peer in mobile ad-hoc network KR101033064B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090035532A KR101033064B1 (en) 2009-04-23 2009-04-23 Method for searching file based peer-2-peer in mobile ad-hoc network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090035532A KR101033064B1 (en) 2009-04-23 2009-04-23 Method for searching file based peer-2-peer in mobile ad-hoc network

Publications (2)

Publication Number Publication Date
KR20100116884A true KR20100116884A (en) 2010-11-02
KR101033064B1 KR101033064B1 (en) 2011-05-06

Family

ID=43403676

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090035532A KR101033064B1 (en) 2009-04-23 2009-04-23 Method for searching file based peer-2-peer in mobile ad-hoc network

Country Status (1)

Country Link
KR (1) KR101033064B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101338696B1 (en) * 2011-01-10 2013-12-06 명지대학교 산학협력단 Method of providing a differential contents service according to level in a p2p network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100349420B1 (en) * 1999-08-10 2002-08-19 정보통신연구진흥원 An adaptive tree-based recovery method for reliable multicast
KR100625659B1 (en) * 2004-03-10 2006-09-20 에스케이 텔레콤주식회사 Peer to Peer File Searching Method between Mobile Communication Terminals in Wireless Environment
KR20050098203A (en) * 2004-04-06 2005-10-11 에스케이 텔레콤주식회사 Method for searching information and file by peer to peer process at wireless environment and mobile ad-hoc network using gps information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101338696B1 (en) * 2011-01-10 2013-12-06 명지대학교 산학협력단 Method of providing a differential contents service according to level in a p2p network

Also Published As

Publication number Publication date
KR101033064B1 (en) 2011-05-06

Similar Documents

Publication Publication Date Title
US9160571B2 (en) Requesting a service from a multicast network
US8073978B2 (en) Proximity guided data discovery
JP6302050B2 (en) System and method for improved discovery
US8321539B2 (en) Peer-to-peer (P2P) network system and method of operating the same
US20050201278A1 (en) Reconfiguring a multicast tree
US20080086464A1 (en) Efficient method of location-based content management and delivery
US7643458B1 (en) Communicating between wireless communities
Wang et al. Hierarchical cooperative caching in mobile opportunistic social networks
EP1719331B1 (en) Determining location information for a node in a network using at least one local landmark node
Hu et al. Supporting mobile devices in Gnutella file sharing network with mobile agents
Zulhasnine et al. Towards an effective integration of cellular users to the structured peer-to-peer network
EP2514173B1 (en) Localization of peer to peer traffic
Shen et al. A scalable and mobility-resilient data search system for large-scale mobile wireless networks
Messina et al. Decentralised resource finding in cloud/grid computing environments: A performance evaluation
CN102821115B (en) A kind of method and apparatus of point-to-point P2P transfer resource
Picone et al. Evaluating the robustness of the DGT approach for smartphone-based vehicular networks
RU2586598C2 (en) Data replication
KR101033064B1 (en) Method for searching file based peer-2-peer in mobile ad-hoc network
Cherbal et al. A survey of DHT solutions in fixed and mobile networks
Tetarave et al. V-Chord: an efficient file sharing on LTE/GSM network
Mahmood et al. Autonomous pull-push community construction technology for high-assurance
Tran et al. A content-guided publish/subscribe mechanism for sensor networks without location information
KR100625659B1 (en) Peer to Peer File Searching Method between Mobile Communication Terminals in Wireless Environment
CN104580287A (en) Data communication equipment and data communication method
Al-Arnaout et al. A divide-and-conquer approach for content replication in WMNs

Legal Events

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

Payment date: 20140414

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160405

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20170327

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20180406

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20190402

Year of fee payment: 9