KR100625659B1 - Peer to Peer File Searching Method between Mobile Communication Terminals in Wireless Environment - Google Patents
Peer to Peer File Searching Method between Mobile Communication Terminals in Wireless Environment Download PDFInfo
- Publication number
- KR100625659B1 KR100625659B1 KR1020040016285A KR20040016285A KR100625659B1 KR 100625659 B1 KR100625659 B1 KR 100625659B1 KR 1020040016285 A KR1020040016285 A KR 1020040016285A KR 20040016285 A KR20040016285 A KR 20040016285A KR 100625659 B1 KR100625659 B1 KR 100625659B1
- Authority
- KR
- South Korea
- Prior art keywords
- search
- file
- mobile communication
- group
- peer
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
- H04W4/08—User group management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
본 발명은 무선 환경에서 이동 통신 단말 간의 피어 투 피어 파일 검색 방법에 관한 것이다.The present invention relates to a peer-to-peer file retrieval method between mobile communication terminals in a wireless environment.
본 발명의 피어 투 피어 파일 검색 방법은 검색 요청자인 검색 이동 통신 단말이 신호 강도에 따라 검색 가능 단말을 인식하여 파일 검색 그룹을 형성하는 제1단계와; 상기 검색 이동 통신 단말이 상기 형성된 검색 그룹 내에서의 파일 검색을 위한 그룹 내의 일부 노드들로 구성되는 파일 검색 리스트를 작성하는 제2단계와; 검색 이동 통신 단말이 상기 파일 검색 리스트 내의 각 노드로 검색 요청 신호를 전송하는 제3단계와; 상기 검색 요청 신호를 수신한 노드의 피검색 이동 통신 단말로부터 검색 요청한 데이터를 수신하는 제4단계;를 포함하여 이루어짐에 기술적 특징이 있다.A peer-to-peer file search method of the present invention includes a first step of a search mobile communication terminal, which is a search requester, recognizing a searchable terminal according to signal strength to form a file search group; Generating, by the search mobile communication terminal, a file search list consisting of some nodes in the group for file search in the formed search group; A third step of, by the search mobile communication terminal, transmitting a search request signal to each node in the file search list; And a fourth step of receiving the search request data from the searched mobile communication terminal of the node which has received the search request signal.
파일 검색 그룹, 파일 검색 리스트, 그룹 검색 대리자 선출 서버File Search Group, File Search List, Group Search Delegate Elect Server
Description
도 1은 종래의 코드(Chord) 방식을 이용한 파일 검색 방법을 설명하기 위한 개념도,1 is a conceptual diagram illustrating a file search method using a conventional chord method;
도 2는 본 발명의 일 실시예에 따른 파일 검색 방법의 그룹 형성 방법을 설명하기 위한 개념도,2 is a conceptual diagram illustrating a group forming method of a file searching method according to an embodiment of the present invention;
도 3은 본 발명의 일 실시예에 따른 파일 검색 방법의 그룹 내 파일 검색 방법을 설명하기 위한 개념도,3 is a conceptual diagram illustrating a file searching method within a group of a file searching method according to an embodiment of the present invention;
도 4는 본 발명의 일 실시예에 따른 파일 검색 방법의 그룹 이동 검색 방법을 설명하기 위한 개념도,4 is a conceptual diagram illustrating a group movement search method of a file search method according to an embodiment of the present invention;
도 5는 본 발명의 일 실시예에 따른 파일 검색 방법의 리스트 내 파일 검색 과정을 나타낸 흐름도,5 is a flowchart illustrating a file searching process in a list of a file searching method according to an embodiment of the present invention;
도 6은 본 발명의 일 실시예에 따른 파일 검색 방법에서 노드 이탈 시 파일 검색 과정을 나타낸 흐름도,6 is a flowchart illustrating a file searching process when a node leaves in a file searching method according to an embodiment of the present invention;
도 7은 본 발명의 일 실시예에 따른 파일 검색 방법의 그룹 이동 검색 과정을 나타낸 흐름도이다.7 is a flowchart illustrating a group movement search process of a file search method according to an embodiment of the present invention.
< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>
100 : 검색 이동 통신 단말100: search mobile communication terminal
101, 201 : 기지국101, 201: base station
110~140 : 피검색 이동 통신 단말110 ~ 140: searched mobile communication terminal
200 : 그룹 검색 대리자 이동 통신 단말200: group search delegate mobile communication terminal
300 : 그룹 검색 대리자 선출 서버300: group search delegate election server
본 발명은 무선 환경에서 이동 통신 단말 간의 피어 투 피어 파일 검색 방법에 관한 것으로, 보다 자세하게는 무선 환경 또는 무선 애드혹(Ad hoc) 환경에서 이동 통신 단말 간의 정보 검색을 가능하게 하는 피어 투 피어 파일 검색 방법에 관한 것이다.The present invention relates to a peer-to-peer file retrieval method between mobile communication terminals in a wireless environment, and more particularly, to a peer-to-peer file retrieval method for enabling information retrieval between mobile communication terminals in a wireless environment or a wireless ad hoc environment. It is about.
피투피(P2P)라고 불리우는 피어 투 피어(Peer to Peer) 서비스는 컴퓨터와 컴퓨터를 직접 연결해 서버 없이도 파일과 정보를 공유할 수 있는 서비스를 말한다. Peer-to-peer service, called peer-to-peer (P2P), is a service that connects computers directly and shares files and information without a server.
기존의 유선 인터넷 환경 하의 피어 투 피어 서비스 중 대표적인 기술로서, 냅스터 방식과, 그누텔라 방식 및 코드 방식에 대해 살펴보면 다음과 같다.As a representative technology of peer-to-peer services in the existing wired Internet environment, the Napster method, the Gnutella method, and the code method are as follows.
냅스터 방식은, 중앙에 색인을 갖는 검색 서버가 존재하고, 사용자는 이 검색 서버에 접속하여 파일을 주고받아 파일을 공유하는 서비스 방식으로서, 음악 파 일을 공유하는 서비스의 경우 사용자는 가수명과 노래명으로 중앙 서버에 접속하여 검색을 하고, 서버는 적절한 음악 파일의 위치를 찾아준다.In the Napster method, a search server with an index exists in the center, and a user connects to the search server to exchange files and share files. In the case of a service that shares music files, the user uses a singer name and a song name. The server connects to the central server and searches, and the server locates the appropriate music file.
이러한 냅스터 방식은 중앙 검색 서버가 존재하기 때문에 검색할 수 있는 클라이언트의 수가 넓고, 검색의 속도가 매우 빠르며, 이에 따라 응용 프로그램의 범위가 넓다는 장점이 있으나, 중앙 검색 서버에 이상이 생길 경우 전체 서비스가 중단될 수 있으며, 모든 검색을 중앙 서버에만 의존하므로 쿼리 즉, 컴퓨터간의 파일 존재 여부 질문의 수가 많을 경우 서버의 과부하를 가져올 수 있다.This Napster method has the advantage of having a large number of clients that can search because of the existence of a central search server, a very fast search speed, and a wide range of applications accordingly. Can be aborted, and all searches rely solely on the central server, which can overload the server if there are a large number of queries, ie file existence questions between computers.
그누텔라 방식은, 각 노드가 서버이자 클라이언트인 구조로서 각 피어가 직접 연결되는 방식이다. 즉, 사용자 PC에 설치되어 있는 프로그램 자체가 피어 투 피어 검색 기능을 내장하고 있어, 특정 파일을 보유하고 있는 컴퓨터에 직접 연결되는 방식을 말한다.The Gnutella method is a structure in which each node is a server and a client, and each peer is directly connected. In other words, the program installed in the user's PC itself has a built-in peer-to-peer search function, which means that the program is directly connected to the computer that holds the specific file.
예를 들어, 사용자 A가 사용자 B에게 특정 파일명의 검색을 요청하면, B의 피어 투 피어 프로그램은 자신이 보유한 인덱스에서 관련 파일을 찾아보고, 자료가 있으면 A한테 전송하고, 그렇지 않으면 또 다른 사용자 C에게 상기 검색 요청을 전달한다.For example, if user A requests user B to retrieve a specific file name, B's peer-to-peer program looks for the relevant file in its own index, sends data to A if it exists, or another user C Forward the search request to.
이러한 그누텔라 방식은 중앙 검색 서버를 이용하지 않기 때문에, 서버의 부하 문제 등을 해결할 수는 있으나, 불필요한 다량의 검색 요청으로 네트웍 과부하의 가능성이 높고 검색 시간이 길다는 단점이 있다.Since the Gnutella method does not use a central search server, the server load problem can be solved. However, the Gnutella method has a disadvantage of high network overload and long search time due to unnecessary large number of search requests.
다음, 코드(Chord) 방식은, 상기 냅스터 방식과 그누텔라 방식의 단점을 보완한 피어 투 피어 파일 검색 방식으로서, 그누텔라의 분산형 파일 검색을 이용하 되, 분산형 검색 방식의 단점인 오랜 검색 시간을 해결한 방식이다.Next, the code method is a peer-to-peer file search method that compensates for the shortcomings of the Napster method and the Gnutella method, and uses Gnutella's distributed file search to solve a long search time which is a disadvantage of the distributed search method. One way.
코드 방식을 설명하면, 우선 파일 검색 그룹에 가입한 각각의 노드들에게는 가상의 아이디가 부여되고, 이를 통해 가상적 파일 검색 그룹인 아이디 스페이스를 형성한다. 각 아이디 스페이스 내의 노드는 번호를 갖게 되며, 아이디가 자신보다 같거나 큰 노드들 중 가장 작은 노드에 매핑되는데 이 노드를 포인터(Successor)라고 한다.Referring to the code method, each node joining the file search group is given a virtual ID, thereby forming an ID space which is a virtual file search group. Nodes in each ID space are numbered and are mapped to the smallest of the nodes whose IDs are greater than or equal to itself. This node is called a pointer.
포인터 함수를 구현하기 위해, 모든 노드들은 m-엔트리의 라우팅 테이블을 유지하며, 이 테이블은 시스템 내의 다른 노드들의 정보를 담고 있다. 엔트리는 노드 아이디와 네트워크 주소(아이피 주소, 포트 넘버)를 가지고 있고, 엔트리를 가지고 있는 노드들은 포인터 함수에 의해 검색자 테이블을 형성한다. 이 검색자 테이블은 그룹 내의 몇 개의 노드들로만 구성된다.To implement the pointer function, all nodes maintain a routing table of m-entries, which contain information about other nodes in the system. The entry has a node ID and a network address (IP address, port number), and the nodes with the entry form a searcher table by a pointer function. This searcher table consists of only a few nodes in the group.
따라서, 검색 요청 시 리스트 내의 소수 노드로만 검색을 요청하고, 검색 요청을 받은 노드들은 또 다른 노드들로 검색을 요청하는 릴레이 검색을 하게 되어 검색 시간이 단축된다.Therefore, when a search request is requested, only a few nodes in the list are searched, and nodes receiving the search request a relay search requesting search to other nodes, thereby reducing the search time.
도 1을 예로 들어 설명하면, 1번 노드가 7번 키의 데이터를 찾으려면, 7번 키가 있는 노드에게 검색 요청을 하는 것이 아니라, 자신의 검색자 테이블(Succ. Table)의 포인터 노드들에게 검색을 요청한 후, 데이터가 없으면 도 1과 같이 6번 노드가 6번 노드의 검색자 테이블을 이용하여 다른 노드들에게 검색을 요청하는 것이다.Referring to FIG. 1 as an example, in order for
도 1에서, 아이디 스페이스의 크기는 8(0~7)로 지정하였고, 이렇게 지정된 아이디 스페이스 중 실제 존재하는 노드는 4개(0,1,2,6) 뿐이다. 코드(Chord) 알고리즘의 해싱 함수에 의해 4개의 각 노드는 각각의 아이디(0,1,2,6)를 부여받고, 또한 검색자 테이블(Successor Table)을 생성한다.In FIG. 1, the size of the ID space is set to 8 (0 to 7), and only four nodes (0,1,2,6) actually exist among the designated ID spaces. By hashing function of the Chord algorithm, each of the four nodes is given a respective ID (0, 1, 2, 6), and also generates a Successor Table.
도 1에서와 같이, 검색자 테이블은 [i(0,1,2)/finger(id+2i)/successor]로 구성되고, 핑거(finger)와 검색자(successor)는 0 과 7 사이의 값을 가지며, 여기서 검색자는 핑거(finger)보다 같거나 큰 실존 노드 아이디 중 가장 작은 값으로 지정된다.As shown in Fig. 1, the searcher table is composed of [i (0,1,2) / finger (id + 2i) / successor], and the finger and searcher are values between 0 and 7. Where the searcher is specified as the smallest value of the existing node ID equal to or greater than the finger.
각 노드는 기본적으로 자기 자신이 소유한 아이템(파일)에 대한 인덱스 정보를 유지하고, 자신의 검색자 테이블에 있는 검색자가 소유한 아이템에 대한 인덱스 정보를 유지한다.Each node basically maintains index information for items (files) owned by itself, and maintains index information for items owned by searchers in its searcher table.
이때, 도 1의 노드 아이디 1이 아이템(item) 7을 검색하고자 하면, 우선 자신은 아이템7을 가지고 있지 않고, 검색자의 인덱스 정보를 가지고 있으므로 검색자인 노드2와 노드6도 아이템7을 가지고 있지 않은 것을 알 수 있다.At this time, when
따라서, 아이템7에 대한 검색 요청이 검색자 6에게 전달되면, 검색자 노드 6의 검색자 중 아이템7을 소유하는 노드0이 있으므로, 검색자 6을 통한 검색이 완료된다.Thus, when a search request for
한편, 상기와 같은 기존의 피어 투 피어 서비스가 이루어지던 PC의 경우, 유선 통신망을 통하여 통신을 하기 때문에 각 피어(PC)의 위치가 고정되어 있으며, 전력선을 사용하기 때문에 갑작스러운 시스템 꺼짐의 현상이 드물다.On the other hand, in the case of the conventional peer-to-peer service PCs as described above, the position of each peer (PC) is fixed because it communicates through a wired communication network, and sudden power off occurs because of the power line. rare.
그러나, 무선 환경과 무선 애드혹 환경의 경우, 각각의 피어(무선 단말기)는 배터리를 전원으로 사용하고 있기 때문에, 배터리가 소모될 경우 갑작스럽게 전원이 꺼질 가능성이 높고, 이동성을 갖는 무선 단말기의 특성 상 갑작스럽게 통신 가능 영역에서 벗어날 가능성이 높다. 또한, 전파의 특성 상 기지국 간의 핸드오프 현상이 필수적으로 발생하기 때문에, 일시적으로 피어 투 피어 서비스로부터 이탈될 가능성도 높다.However, in the wireless environment and the wireless ad hoc environment, since each peer (wireless terminal) uses a battery as a power source, it is highly likely that the power is suddenly turned off when the battery is exhausted. There is a high possibility of sudden departure from the communication area. In addition, since the handoff phenomenon between the base stations occurs essentially due to the nature of radio waves, there is a high possibility of temporarily leaving the peer-to-peer service.
이에 따라, 상기와 같은 유선 환경의 피어 투 피어 검색 방법들을 모바일 환경(무선, 무선 애드혹 환경)에 적용시켜 실험한 결과, 파일 검색이 성공적으로 이루어지지 않았다. 먼저, 코드 방식의 경우 질문 메시지를 보내 성공적으로 찾을 수 있는 확률이 0.5 이하로 작았고, 코드 방식의 장점인 검색 시간의 단축도 모바일 환경에서는 이루어지지 않았다.Accordingly, as a result of applying the above-described peer-to-peer search methods in the wired environment to the mobile environment (wireless, wireless ad hoc environment), the file search was not successful. First, in the case of the code method, the probability of finding a successful message by sending a question message was less than 0.5, and the search time, which is an advantage of the code method, was not achieved in the mobile environment.
이는, 모바일 환경에서 노드들의 이동성으로 인해, 중간의 노드가 갑자기 꺼지거나 전파 범위에서 벗어남으로써 갑자기 사라질 경우 더 이상 검색이 이루어지지 않고, 무한한 검색 시간이 걸리거나 아예 검색이 이루어지지 않는 경우가 발생하기 때문이다. 즉, 기존의 피어 투 피어 서비스는 유선 환경에 최적화되어 있어 이동성이 큰 무선 환경에 그대로 적용하는 데에는 한계가 있을 수 밖에 없다.This is because, due to the mobility of the nodes in the mobile environment, if the intermediate node suddenly turns off or suddenly disappears by moving out of the propagation range, the search is no longer performed, the search may take an infinite search time, or the search may not be performed at all. Because. In other words, the existing peer-to-peer service is optimized for wired environments, so there is a limit to applying it to a mobile environment with high mobility.
따라서, 무선 환경 그리고 무선 애드혹 환경에서도 무선 단말기 간의 파일 및 정보 검색 서비스와 그와 관련된 기술 개발이 요구되고 있는 실정이다.Therefore, there is a demand for a file and information retrieval service between wireless terminals and related technologies in a wireless environment and a wireless ad hoc environment.
따라서, 본 발명은 상기와 같은 종래 기술의 제반 단점과 문제점을 해결하기 위한 것으로, 무선 환경 및 무선 애드혹 환경에 적합한 이동 통신 단말기 간의 파 일 검색을 가능하게 하는 무선 환경에서 이동 통신 단말 간의 피어 투 피어 파일 검색 방법을 제공함에 본 발명의 목적이 있다.Accordingly, the present invention is to solve the above disadvantages and problems of the prior art, peer-to-peer between the mobile communication terminal in a wireless environment that enables the file search between the mobile communication terminal suitable for wireless environment and wireless ad hoc environment It is an object of the present invention to provide a file retrieval method.
본 발명의 상기 목적은 무선 환경에서 이동 통신 단말 간의 정보 공유와 파일 교환을 위한 피어 투 피어(P2P) 파일 검색 방법으로서, 검색 요청자인 검색 이동 통신 단말이 신호 강도에 따라 검색 가능 단말을 인식하여 파일 검색 그룹을 형성하는 제1단계와; 상기 검색 이동 통신 단말이 상기 형성된 검색 그룹 내에서의 파일 검색을 위한 그룹 내의 일부 노드들로 구성되는 파일 검색 리스트를 작성하는 제2단계와; 검색 이동 통신 단말이 상기 파일 검색 리스트 내의 각 노드로 검색 요청 신호를 전송하는 제3단계와; 상기 검색 요청 신호를 수신한 노드의 피검색 이동 통신 단말로부터 검색 요청한 데이터를 수신하는 제4단계;를 포함하여 이루어지는 무선 환경에서 이동 통신 단말 간의 피어 투 피어 파일 검색 방법에 의해 달성된다.The above object of the present invention is a peer-to-peer (P2P) file search method for information sharing and file exchange between mobile communication terminals in a wireless environment, wherein a search mobile communication terminal, which is a search requester, recognizes a searchable terminal according to a signal strength Forming a search group; Generating, by the search mobile communication terminal, a file search list consisting of some nodes in the group for file search in the formed search group; A third step of, by the search mobile communication terminal, transmitting a search request signal to each node in the file search list; And a fourth step of receiving search request data from a searched mobile communication terminal of the node that has received the search request signal.
본 발명에서, 무선 애드혹 환경이란, 인프라 구조망에 반대되는 개념으로서 일반 이동 통신망이 이동 통신 단말 간에는 무선으로 통신하나, 기지국은 유선으로 연결되어 있어 유선 기반을 가지고 있는 것과는 달리, 유선 기반 없이 이동 통신 단말 끼리 무선으로만 연결하여 신호를 서로 중계하는 방식으로 통신을 하게 되는 환경을 말한다.In the present invention, a wireless ad hoc environment is a concept opposite to an infrastructure network, but a general mobile communication network communicates wirelessly between mobile communication terminals, but a base station is connected by wire and thus has a wired base. It refers to an environment in which terminals communicate wirelessly with each other by relaying signals.
본 발명의 상기 목적과 기술적 구성 및 그에 따른 작용 효과에 관한 자세한 사항은 본 발명의 명세서에 첨부된 도면에 의거한 이하 상세한 설명에 의해 보다 명확하게 이해될 것이다.Details of the above object and technical configuration of the present invention and the resulting effects thereof will be more clearly understood from the following detailed description based on the accompanying drawings.
본 발명의 피어 투 피어 파일 검색 방법은, 파일 검색 그룹의 형성 방법과, 파일 검색 리스트 내의 노드 이탈 시의 파일 검색 방법 및 그룹 내 파일 검색의 실패 시 검색 방법을 제공하며, 이를 도 2 내지 도 4를 통해 개념적으로 설명하면 다음과 같다.The peer-to-peer file search method of the present invention provides a method for forming a file search group, a file search method when a node leaves a file search list, and a search method when a file search within a group fails. Conceptually described through the following.
먼저, 도 2는 본 발명의 일 실시예에 따른 파일 검색 방법의 그룹 형성 방법을 설명하기 위한 개념도이다.First, FIG. 2 is a conceptual diagram illustrating a group forming method of a file retrieval method according to an embodiment of the present invention.
도시된 바와 같이, 무선 애드혹 환경에서 파일 검색 그룹 형성 방법은, 모든 이동 통신 단말의 신호 강도를 파악하여 일정한 신호 세기의 응답을 받는 범위 내의 이동 통신 단말을 파일 검색 그룹으로 형성하는 것이다.As illustrated, the file search group forming method in a wireless ad hoc environment is to identify the signal strengths of all the mobile communication terminals and form the mobile communication terminal as a file search group within a range that receives a response of a certain signal strength.
즉, 검색 하고자 하는 검색 이동 통신 단말(100)은 파일 검색 그룹을 형성하기 위해 기존에 기지국과 단말기 간의 통신 초기화를 위해 사용한 파일럿 신호를 상호 전파가 미치는 범위 내의 인접한 단말들(110~140)로 전송하고, 이를 수신한 복수의 피검색 이동 통신 단말(110~140)로부터의 응답 신호에 따라 검색 가능 그룹을 인식한다.That is, the search
상기 파일롯 신호를 수신한 복수의 피검색 이동 통신 단말(110~140)은 응답 신호로서, 파일럿 신호에 배터리 상태를 함께 전송한다. 이때, 배터리 상태는 배터리의 전력에 의한 신호 도달 감도 계산 함수를 통해 단말의 파워로서 산출될 수 있다.The plurality of searched
상기 응답 신호를 수신한 검색 이동 통신 단말(100)은 자신이 신호를 전송한 시각으로부터 응답 신호를 수신한 시각까지의 시간을 측정하여 일정 시간 내에 응답 신호를 전송한 이동 통신 단말을 선택하여 검색 그룹을 형성한다.The search
다음, 도 3은 본 발명의 일 실시예에 따른 파일 검색 방법의 그룹 내 파일 검색 방법을 설명하기 위한 개념도이다.Next, FIG. 3 is a conceptual diagram illustrating a file searching method within a group of a file searching method according to an embodiment of the present invention.
도시된 바와 같이, 도 2를 통해 설명한 대로 파일 검색 그룹(노드0~노드7)이 형성되면, 각 노드들은 종래의 코드 방식에서와 마찬가지로 포인터 함수에 의해 그룹 내의 몇 개의 노드들로만 구성되는 파일 검색 리스트(검색자 테이블:Succ Table)를 형성한다.As shown in FIG. 2, when the file search group (
또한, 각 노드들은 기본적으로 자기 자신이 소유한 파일에 대한 인덱스 정보 및 자신의 파일 검색 리스트에 있는 각 노드가 소유한 파일에 대한 인덱스 정보를 유지한다.In addition, each node basically maintains index information on a file owned by itself and index information on a file owned by each node in its file search list.
이때, 도 3의 검색하고자 하는 검색 이동 통신 단말의 노드 1이 아이템(item) 7을 검색하고자 하면, 우선 자신은 아이템 7을 가지고 있지 않고, 검색자의 인덱스 정보를 가지고 있으므로 검색자인 노드 2와 노드 6도 아이템 7을 가지고 있지 않은 것을 알 수 있다.In this case, when
따라서, 아이템 7에 대한 검색 요청이 검색자 6에게 전달되면, 검색자 노드 6의 검색자 중 아이템 7을 소유하는 노드 0이 있으므로, 검색자 6을 통한 검색이 완료된다.Thus, when a search request for
그러나, 무선 환경의 이동성에 따라, 상기 검색 완료를 수행하여야 하는 검 색자인 노드 6이 갑자기 사라지게 되면, 검색 요청자인 검색 이동 통신 단말은 일정한 시간을 기다린 후 새로운 검색 노드로서 상기 노드 6의 이전 번호 노드인 노드 5로 검색을 요청하여, 노드 5의 파일 검색 리스트를 통해 노드 7을 경유하여 아이템 7을 가지고 있는 노드 0을 찾을 수 있게 된다.However, according to the mobility of the wireless environment, when the
만약, 노드 5도 위의 경우와 마찬가지로 갑자기 사라지게 되면, 상기 검색 이동 통신 단말인 노드 1은 다시 바로 앞의 노드인 노드 4로 새로운 검색 요청을 하게 되어 릴레이 검색 경로를 형성한다.If
한편, 상기와 같이 그룹 내에서의 검색을 시도하여 검색이 이루어지지 않은 경우, 본 발명에서는 자신이 속한 그룹 이외의 그룹을 통해 검색을 수행할 수 있도록 하며, 이를 도 4를 통해 설명하면 다음과 같다.On the other hand, if the search is not made by attempting a search in the group as described above, the present invention allows to perform a search through a group other than the group to which it belongs, as described with reference to FIG. .
도 4는 본 발명의 일 실시예에 따른 파일 검색 방법의 그룹 이동 검색 방법을 설명하기 위한 개념도이다.4 is a conceptual diagram illustrating a group movement search method of a file search method according to an embodiment of the present invention.
도시된 바와 같이, 검색 이동 통신 단말(100)이 자신이 속한 그룹인 그룹A 내에서 파일 검색을 실패한 경우, 상기 검색 이동 통신 단말(100)은 기지국(101)으로 검색 요청 신호를 전송한다.As illustrated, when the search
상기 기지국(101)은 파일 검색을 위한 또 다른 그룹 내의 검색 대리자 이동 통신 단말(200)을 선택하는 그룹 검색 대리자 선출 서버(300)로 상기 검색 요청 신호를 전달하며, 상기 그룹 검색 대리자 선출 서버(300)는 일정한 규칙에 의해 또는 임의로 그룹 검색 대리자 이동 통신 단말(200)을 선출하고, 상기 그룹 검색 대리자 이동 통신 단말(200)이 속한 기지국(201)을 통해 상기 그룹 검색 대리자 이동 통신 단말(200)로 검색 요청 신호를 전달한다.The
상기와 같이 검색 요청 신호를 수신한 검색 대리자 이동 통신 단말(200)은 앞서 검색 이동 통신 단말(100)이 자신이 속한 그룹 내에서의 파일 검색 과정과 마찬가지로, 자신이 속한 그룹B에서 파일 검색을 수행한다.As described above, the search agent
상기와 같은 본 발명의 파일 검색 방법의 각 파일 검색 과정을 도 5 내지 도 7을 통해 다시 한번 순차적으로 설명하면 다음과 같다.Each file search process of the file search method of the present invention as described above will be described again sequentially through FIGS. 5 to 7 as follows.
먼저, 도 5는 본 발명의 일 실시예에 따른 파일 검색 방법의 리스트 내 파일 검색 과정을 나타낸 흐름도이다.First, FIG. 5 is a flowchart illustrating a file searching process in a list of a file searching method according to an embodiment of the present invention.
도시된 바와 같이, 검색 이동 통신 단말(100)은 각 단말들의 신호 강도를 파악하여 파일 검색 그룹을 형성하고(S101), 상기 형성한 파일 검색 그룹 내의 노드들 중 몇 개의 노드들로 구성되는 파일 검색 리스트를 작성하며(S102), 그룹 내의 각 노드들은 각자의 파일 검색 리스트를 작성하여 유지한다.As shown, the search
다음, 상기 파일 검색 리스트의 검색자 노드가 세 개인 경우를 예로 들면, 우선, 상기 검색 이동 통신 단말(100)은 상기 작성한 자신의 파일 검색 리스트 내의 단말1(노드1)로 검색을 요청하고(S103), 상기 단말1은 자신의 파일 검색 리스트를 통해 순차적인 파일 검색을 수행한다(S104).Next, for example, when there are three searcher nodes in the file search list, first, the search
이때, 각 단말은 자신이 소유하고 있는 파일의 인덱스 정보 및 자신의 파일 검색 리스트에 있는 각 단말이 소유하고 있는 파일의 인덱스 정보를 유지하여, 상 기 파일의 인덱스 정보를 검색함으로써 파일 검색을 수행한다.At this time, each terminal maintains the index information of the file owned by itself and the index information of the file owned by each terminal in its file search list, and performs file search by searching the index information of the file. .
상기 단말1 또는 단말1의 검색 리스트를 통한 파일 검색이 성공적으로 이루어지면(S105), 상기 검색 이동 통신 단말(100)은 해당 파일을 소유한 단말로부터 파일을 수신한다(S112).When a file search is successfully performed through the search list of the
만약, 단말1 또는 단말1의 검색 리스트를 통한 파일 검색이 이루어지지 않으면, 검색 이동 통신 단말(100)은 다시 리스트 내의 단말2(노드2)로 검색을 요청하고(S106), 상기 단말2는 자신의 파일 검색 리스트를 통해 순차적인 파일 검색을 수행한다(S107).If the file search is not performed through the search list of the
그리고, 상기 단말2 또는 단말2의 검색 리스트를 통한 파일 검색이 이루어지지 않으면(S108), 다시 검색 이동 통신 단말(100)은 리스트 내의 마지막 노드인 단말3으로 검색을 요청하고(S109), 상기 단말3은 자신의 파일 검색 리스트를 통해 순차적 파일 검색을 수행한다(S110).When the file search is not performed through the search list of the
한편, 상기와 같이 검색 이동 통신 단말(100)이 유지하고 있는 파일 검색 리스트의 모든 노드로 검색 요청을 하여, 파일 검색이 이루어지지 않은 경우(S111), 상기 검색 이동 통신 단말(100)은 자신의 파일 검색 그룹 내의 몇 개의 노드들로 구성된 파일 검색 리스트를 다시 작성하고(S102) 상기 과정을 반복할 수 있다.On the other hand, when the search request is made to all nodes of the file search list maintained by the search
다음, 도 6은 본 발명의 일 실시예에 따른 파일 검색 방법에서 노드 이탈 시 파일 검색 과정을 나타낸 흐름도로서, 상기 도 5에서와 같은 파일 검색 과정 수행 시 특정 노드의 이탈 시 검색 방법을 설명한다.Next, FIG. 6 is a flowchart illustrating a file searching process when a node leaves in the file searching method according to an embodiment of the present invention, and describes a searching method when the specific node leaves when performing the file searching process as shown in FIG. 5.
도시된 바와 같이, 검색 이동 통신 단말(100)은 파일 검색 그룹을 형성하고(S201), 그룹 내 파일 검색 리스트를 작성한 후(S202), 리스트 내의 단말로 검색을 요청한다(S203).As shown, the search
이때, 검색 이동 통신 단말(100)은 일정 시간 내에 상기 검색을 요청한 단말로부터 응답이 없는 경우(S204), 상기 검색을 요청하여 응답이 없는 단말의 바로 앞 노드 번호를 갖는 이동 통신 단말로 검색 요청 신호를 전송한다(S205).At this time, if there is no response from the terminal requesting the search within a predetermined time (S204), the search
그리고, 상기 검색을 요청한 단말을 통한 검색이 성공적으로 이루어지면(S206), 상기 검색 이동 통신 단말(100)은 검색을 요청한 단말로부터 파일을 수신한다(S207).If the search is successfully performed through the terminal requesting the search (S206), the search
마지막으로, 도 7은 본 발명의 일 실시예에 따른 파일 검색 방법의 그룹 이동 검색 과정을 나타낸 흐름도이다.Finally, FIG. 7 is a flowchart illustrating a group movement search process of a file search method according to an embodiment of the present invention.
도시된 바와 같이, 검색을 요청하고자 하는 검색 이동 통신 단말(100)은 파일 검색 그룹을 형성하고(S301), 다시 상기 파일 검색 그룹 내의 몇 개의 노드들로만 구성되는 파일 검색 리스트를 작성하여(S302) 도 5 및 도 6을 통해 설명한 바와 같이 상기 파일 검색 리스트를 통한 그룹 내 파일 검색을 수행한다(S303).As shown, the search
이때, 상기 자신이 속한 파일 검색 그룹 내에서 파일 검색이 성공적으로 이루어지면(S304) 상기 검색 이동 통신 단말(100)은 해당 파일을 소유한 이동 통신 단말로부터 파일을 수신하여 파일 검색 과정을 종료한다(S305).In this case, when a file search is successfully performed in the file search group to which the file belongs, the search
그러나, 상기 자신이 속한 파일 검색 그룹 내에서 파일 검색이 성공적으로 이루어지지 않은 경우(S304), 상기 이동 통신 단말(100)은 기지국(101)으로 파일 검색 요청 신호를 전송한다(S306).However, if the file search is not successfully performed in the file search group to which it belongs (S304), the
상기 파일 검색 요청 신호를 수신한 기지국(101)은 다른 그룹을 통해 검색을 수행할 수 있는 검색 대리자 이동 통신 단말(200)을 선출하는 그룹 검색 대리자 선출 서버(300)로 상기 파일 검색 요청 신호를 전달하고, 상기 그룹 검색 대리자 선출 서버(300)는 다른 그룹을 형성하고 있는 이동 통신 단말(200)을 파일 검색 대리자 단말로서 선출한다(S307).Upon receiving the file search request signal, the
다음, 상기 파일 검색 대리자 단말(200)은 검색 이동 통신 단말(100)이 자신의 그룹 내에서 파일 검색을 수행하는 것과 마찬가지로, 자신이 형성하고 있는 검색 그룹 내에서 파일 검색 리스트를 작성하고(S308), 자신의 그룹 내에서 순차적인 파일 검색을 수행한다(S309).Next, the file
본 발명이 속하는 기술분야의 당업자는 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있으므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로서 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 등가개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.As those skilled in the art to which the present invention pertains may implement the present invention in other specific forms without changing the technical spirit or essential features, the embodiments described above should be understood as illustrative and not restrictive in all aspects. Should be. The scope of the present invention is shown by the following claims rather than the detailed description, and all changes or modifications derived from the meaning and scope of the claims and their equivalents should be construed as being included in the scope of the present invention. do.
따라서, 본 발명의 무선 환경에서 이동 통신 단말 간의 피어 투 피어 파일 검색 방법은, 무선 환경 또는 무선 애드혹(Ad-hoc) 환경에서 피어 투 피어(Peer-to-Peer) 파일 검색을 가능하게 함으로써 이동 통신 단말을 가지고 있는 사용자가 자유롭게 다른 사용자가 가지고 있는 정보와 파일을 공유할 수 있고, 무선 기지국의 신호가 미치지 않는 곳에서도 이동 통신 단말 간의 파일 공유 및 정보 교환이 가능하다는 효과가 있다.Therefore, the peer-to-peer file search method between mobile communication terminals in the wireless environment of the present invention enables mobile communication by enabling peer-to-peer file search in a wireless environment or a wireless ad-hoc environment. A user having a terminal can freely share information and files owned by other users, and the file sharing and information exchange between mobile communication terminals can be performed even where a signal of a wireless base station does not reach.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040016285A KR100625659B1 (en) | 2004-03-10 | 2004-03-10 | Peer to Peer File Searching Method between Mobile Communication Terminals in Wireless Environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040016285A KR100625659B1 (en) | 2004-03-10 | 2004-03-10 | Peer to Peer File Searching Method between Mobile Communication Terminals in Wireless Environment |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050090923A KR20050090923A (en) | 2005-09-14 |
KR100625659B1 true KR100625659B1 (en) | 2006-09-20 |
Family
ID=37272802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040016285A KR100625659B1 (en) | 2004-03-10 | 2004-03-10 | Peer to Peer File Searching Method between Mobile Communication Terminals in Wireless Environment |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100625659B1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100807305B1 (en) * | 2006-12-05 | 2008-02-28 | 한국전자통신연구원 | Method for sharing information between mobile terminals on the mobile telecommunication system based on multi-hop relay |
KR101030095B1 (en) * | 2009-02-03 | 2011-04-20 | 주식회사 웰게이트 | Method of distributed peer-discovery in wireless peer to peer network |
KR101033064B1 (en) * | 2009-04-23 | 2011-05-06 | 경희대학교 산학협력단 | Method for searching file based peer-2-peer in mobile ad-hoc network |
KR101581678B1 (en) | 2009-10-14 | 2016-01-04 | 삼성전자주식회사 | System for sharing data using transmitting order |
KR101602294B1 (en) | 2010-08-06 | 2016-03-11 | 삼성전자주식회사 | Method and apprautus of using hierachical searching scheme between virtual private communities |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0993163A1 (en) | 1998-10-05 | 2000-04-12 | Backweb Technologies Ltd. | Distributed client-based data caching system and method |
KR20020095706A (en) * | 2001-06-15 | 2002-12-28 | 아라정보기술 주식회사 | Method for searching search terms by P2P(Peer to Peer) system |
KR20040006758A (en) * | 2002-07-15 | 2004-01-24 | 주식회사 하이닉스반도체 | Method providing group communication between mobile phone within buletooth |
KR20040087216A (en) * | 2003-04-04 | 2004-10-13 | 엘지전자 주식회사 | Device and the Method for controlling the data sharing of mobile phone |
-
2004
- 2004-03-10 KR KR1020040016285A patent/KR100625659B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0993163A1 (en) | 1998-10-05 | 2000-04-12 | Backweb Technologies Ltd. | Distributed client-based data caching system and method |
KR20020095706A (en) * | 2001-06-15 | 2002-12-28 | 아라정보기술 주식회사 | Method for searching search terms by P2P(Peer to Peer) system |
KR20040006758A (en) * | 2002-07-15 | 2004-01-24 | 주식회사 하이닉스반도체 | Method providing group communication between mobile phone within buletooth |
KR20040087216A (en) * | 2003-04-04 | 2004-10-13 | 엘지전자 주식회사 | Device and the Method for controlling the data sharing of mobile phone |
Also Published As
Publication number | Publication date |
---|---|
KR20050090923A (en) | 2005-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Li et al. | Dynamic resource discovery based on preference and movement pattern similarity for large-scale social internet of things | |
Ratnasamy et al. | A scalable content-addressable network | |
US7222160B2 (en) | Object search and retrieval service for an ad hoc data communication system | |
US20040010553A1 (en) | Peer to peer location based services | |
Shen et al. | A distributed spatial-temporal similarity data storage scheme in wireless sensor networks | |
CN101378409A (en) | Optimal operation of hierarchical peer-to-peer networks | |
da Hora et al. | Enhancing peer-to-peer content discovery techniques over mobile ad hoc networks | |
Shah et al. | A survey of P2P content sharing in MANETs | |
Chen et al. | Maximizing P2P file access availability in mobile ad hoc networks though replication for efficient file sharing | |
Flocchini et al. | Enhancing peer-to-peer systems through redundancy | |
Bok et al. | A resource discovery with data dissemination over unstructured mobile P2P networks | |
Papadopouli et al. | Design and implementation of a peer-to-peer data dissemination and prefetching tool for mobile users | |
Shen et al. | A geographically aware poll-based distributed file consistency maintenance method for P2P systems | |
KR100625659B1 (en) | Peer to Peer File Searching Method between Mobile Communication Terminals in Wireless Environment | |
Peng et al. | M-CAN: a lookup protocol for mobile peer-to-peer environment | |
Barriere et al. | Dynamic construction of bluetooth scatternets of fixed degree and low diameter | |
Cherbal et al. | A survey of DHT solutions in fixed and mobile networks | |
Bhagat et al. | Content-based file sharing in peer-to-peer networks using threshold | |
Shah et al. | Searching in internet of things using VCS | |
Shah et al. | Merging of P2P Overlays Over Mobile Ad Hoc Network: Evaluation of Three Approaches. | |
Arunachalam | A study of the resource discovery approaches in Mobile Peer-to-Peer Networks | |
Chen et al. | Efficient file search in delay tolerant networks with social content and contact awareness | |
Zhang et al. | Efficient Search Scheme in Mobile Peer-to-Peer Network | |
Kotak et al. | A new approach to efficient bluetooth scatternet formation in adhoc wireless network | |
Miyoshi et al. | G-LocOn: A P2P-based communication framework for geo-location oriented networks |
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: 20120823 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20130821 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20140820 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20150821 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20160905 Year of fee payment: 11 |
|
FPAY | Annual fee payment |
Payment date: 20170831 Year of fee payment: 12 |
|
LAPS | Lapse due to unpaid annual fee |