KR101481150B1 - Device determination method for device to device communications - Google Patents

Device determination method for device to device communications Download PDF

Info

Publication number
KR101481150B1
KR101481150B1 KR20130062697A KR20130062697A KR101481150B1 KR 101481150 B1 KR101481150 B1 KR 101481150B1 KR 20130062697 A KR20130062697 A KR 20130062697A KR 20130062697 A KR20130062697 A KR 20130062697A KR 101481150 B1 KR101481150 B1 KR 101481150B1
Authority
KR
South Korea
Prior art keywords
terminal
information
candidate
terminals
communicated
Prior art date
Application number
KR20130062697A
Other languages
Korean (ko)
Other versions
KR20140141210A (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 KR20130062697A priority Critical patent/KR101481150B1/en
Publication of KR20140141210A publication Critical patent/KR20140141210A/en
Application granted granted Critical
Publication of KR101481150B1 publication Critical patent/KR101481150B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/18Interfaces between hierarchically similar devices between terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

본 발명은 기기 간 직접 통신 방법에 관한 것으로서, 통신할 단말을 탐색할 지 또는 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 지 결정하는 단계, 상기 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 것으로 결정한 경우, 상기 기 저장된 단말정보에서 후보단말이 있는지 판단하는 단계, 상기 후보단말이 있는 경우, 상기 기 저장된 단말정보를 이용하여 상기 후보단말 중 통신할 단말을 결정하는 단계, 상기 결정된 단말에 초대 요청 메시지를 송신하는 단계, 상기 초대 요청 메시지를 송신한 단말로부터 초대 응답 메시지를 수신하는 경우, 단말간 보안을 설정하는 단계, 및 상기 보안이 설정된 단말과 통신을 수행하는 단계를 포함함으로써, 단말이 통신을 시도할 때마다 발생하는 단말 탐색의 시간 및 전력의 소모를 줄일 수 있다.The present invention relates to a method for direct communication between devices, comprising the steps of: searching for a terminal to be communicated or using a previously stored terminal information to select a terminal to be communicated, selecting a terminal to communicate with using the previously stored terminal information Determining whether there is a candidate terminal in the pre-stored terminal information, if the candidate terminal exists, determining a terminal to communicate among the candidate terminals using the pre-stored terminal information, The method comprising: transmitting a request message; establishing security between terminals when receiving an invitation response message from a terminal that has transmitted the invitation request message; and performing communication with the secured terminal, It is possible to reduce the time and power consumption of the terminal search that occurs every time the communication is attempted.

Description

기기 간 직접 통신에서 통신하는 단말을 결정하기 위한 방법{Device determination method for device to device communications}[0001] The present invention relates to a method for determining a terminal to communicate in a direct communication between devices,

본 발명은 기기 간 직접 통신에서 통신하는 단말을 결정하기 위한 방법에 관한 것으로서, 더욱 상세하게는 기 저장된 단말정보를 이용하여 우선순위가 높은 단말을 통신할 단말로 결정하여 통신하는 기기 간 직접 통신 방법에 관한 것이다.The present invention relates to a method for determining a terminal communicating in direct communication between devices, and more particularly, to a method for determining a terminal having a high priority by using a previously stored terminal information, .

기기 간 통신(Machine to Machine, 이하 M2M)이란, 사물에 부착된 센서들을 통해 필요한 정보를 수집하고 사물에 부착된 통신 장치를 통해 사물간의 정보 상호 공유를 가능하게 할 수 있다. 즉, 사물이 소형 통신 장치를 이용하여 네트워크를 구성하고 수집한 정보를 공유하는 개념 및 기술을 M2M 통신이라고 한다.Machine to machine (M2M) can collect necessary information through sensors attached to an object and enable mutual sharing of information between objects through a communication device attached to the object. In other words, the concept and technology that objects construct a network using a small communication device and share collected information is called M2M communication.

M2M 통신은 Zigbee, bluetooth, Wi-Fi Direct 등과 같은 단거리 무선 기술을 이용하여 저비용, 저전력, 무선 단거리 데이터 전송이 가능하다. M2M communication is possible with low-cost, low-power, wireless short-range data transmission using short-range wireless technology such as Zigbee, bluetooth, and Wi-Fi Direct.

Zigbee, bluetooth, Wi-Fi Direct 등과 같은 단거리 무선 기술을 사용하여 기기 간 직접 통신하는 경우, 주변의 통신 단말 중 통신 가능한 단말을 검색하여 직접 통신을 할 단말을 결정하는 것이 중요한 문제이다. 종래의 Wi-Fi Direct나 bluetooth의 단말의 경우 직접통신을 하고자 하는 경우 단말을 탐색하게 된다. In the case of direct communication between devices using short-range wireless technology such as Zigbee, bluetooth, Wi-Fi Direct, etc., it is important to determine a terminal to communicate directly by searching for a terminal capable of communication among surrounding communication terminals. In case of conventional Wi-Fi Direct or bluetooth terminal, when searching for direct communication, the terminal is searched.

두 단말의 탐색과정에서 전송하는 채널과 수신하는 채널이 다른 경우, 혹은 동일 채널에서 시간차에 의하여 요청 프로브를 수신하지 못하는 경우 두 단말은 서로 탐색에 실패하게 되고, 프로브를 계속 전송함으로써 전력 및 시간을 소비하는 문제점이 발생하게 된다. In the case where a channel to be transmitted and a channel to be received are different from each other in the searching process of the two terminals, or if the request probe is not received due to a time difference in the same channel, the two terminals fail to search each other, There is a problem of consuming.

만약 동일한 그룹에 속해있는 M2M 단말이 데이터 전송을 수행하고자 할 때 마다 상기의 방법으로 단말의 탐색하게 되면 탐색 시간 소모 및 탐색에 단말의 전력 사용이 매우 비효율적일 수 있다. Whenever an M2M terminal belonging to the same group attempts to perform data transmission, searching for the terminal in the above manner may be very inefficient in terms of search time consumption and power consumption of the terminal for searching.

본 발명이 해결하고자 하는 첫 번째 과제는탐색 시간의 지연이나 단말 탐색 실패를 해결하고 단말의 탐색에 소모되는 단말의 전력 및 시간을 효율적으로 사용할 수 있는 기기 간 직접 통신 방법을 제공하는 것이다.The first problem to be solved by the present invention is to provide an apparatus-to-apparatus direct communication method capable of solving a delay in search time or a terminal search failure and efficiently using power and time of a terminal consumed in searching for a terminal.

본 발명이 해결하고자 하는 두 번째 과제는 시간의 지연이나 단말 탐색 실패를 해결하고 단말의 탐색에 소모되는 단말의 전력 및 시간을 효율적으로 사용할 수 있는 단말을 제공하는 것이다.A second problem to be solved by the present invention is to provide a terminal capable of effectively solving time delay or terminal search failure and efficiently using power and time of a terminal consumed in searching for a terminal.

또한, 상기된 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공하는데 있다.It is another object of the present invention to provide a computer-readable recording medium storing a program for causing a computer to execute the above-described method.

본 발명은 상기 첫 번째 과제를 달성하기 위하여, 통신할 단말을 탐색할 지 또는 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 지 결정하는 단계; 상기 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 것으로 결정한 경우, 상기 기 저장된 단말정보에서 후보단말이 있는지 판단하는 단계; 상기 후보단말이 있는 경우, 상기 기 저장된 단말정보를 이용하여 상기 후보단말 중 통신할 단말을 결정하는 단계; 상기 결정된 단말에 초대 요청 메시지를 송신하는 단계; 상기 초대 요청 메시지를 송신한 단말로부터 초대 응답 메시지를 수신하는 경우, 단말간 보안을 설정하는 단계; 및 상기 보안이 설정된 단말과 통신을 수행하는 단계를 포함하는 기기 간 직접 통신 방법을 제공한다.In order to accomplish the first object of the present invention, there is provided a method for controlling a mobile communication terminal, the method comprising the steps of: searching for a terminal to be communicated or using a previously stored terminal information; Determining whether there is a candidate terminal in the pre-stored terminal information if it is determined to select a terminal to be communicated using the pre-stored terminal information; If the candidate terminal exists, determining a terminal to communicate among the candidate terminals using the previously stored terminal information; Transmitting an invitation request message to the determined terminal; Setting an inter-terminal security when receiving an invite response message from a terminal that has transmitted the invite request message; And performing a communication with the security-enhanced terminal.

본 발명의 실시예에 의하면, 상기 통신할 단말을 탐색할 지 또는 기 저장된 단말정보를 이용하여 단말을 선택할 지 결정하는 단계에서 상기 통신할 단말을 탐색할 것으로 결정하는 경우, 프로브(probe)를 송수신함으로써 통신 가능한 단말을 탐색하는 단계; 상기 단말 탐색이 성공하면, 상기 탐색된 단말이 이전에 통신을 했던 단말인지 판단하는 단계; 및 상기 탐색된 단말이 이전에 통신을 했던 단말인 경우, 상기 탐색된 단말을 통신할 단말로 결정하는 단계를 포함하고, 상기 초대 요청 메시지를 송신하는 단계, 상기 단말간 보안을 설정하는 단계, 및 상기 통신을 수행하는 단계를 수행하는 것을 특징으로 하는 기기 간 직접 통신 방법일 수 있다.According to the embodiment of the present invention, when it is determined to search for the terminal to communicate in the step of determining whether to select the terminal using the terminal information to be communicated or the terminal information to be communicated, Thereby searching for a terminal capable of communication; Determining whether the discovered terminal is a terminal that has previously communicated if the terminal search is successful; And determining the searched terminal as a terminal to communicate with when the searched terminal has previously communicated, the method comprising the steps of transmitting the invitation request message, establishing the inter-terminal security, and And performing the step of performing the communication.

본 발명의 실시예에 의하면, 상기 탐색된 단말이 이전에 통신을 했던 단말이 아닌 경우, 단말 사이의 그룹 오너를 결정하는 단계를 더 포함하고, 상기 그룹 오너가 결정되면, 상기 단말간 보안을 설정하는 단계 및 상기 통신을 수행하는 단계를 수행하는 것을 특징으로 할 수 있으며, 상기 단말 사이의 그룹 오너를 결정하는 단계는, Wi-Fi direct를 지원하는 단말을 상기 그룹 오너로 결정하는 것을 특징으로 하는 기기 간 직접 통신 방법일 수 있다. According to an embodiment of the present invention, the method further includes a step of determining a group owner between terminals when the searched terminal is not a terminal that has previously communicated, and when the group owner is determined, Wherein the step of determining the group owner among the terminals determines the terminal supporting the Wi-Fi direct as the group owner, It may be a direct communication method between devices.

본 발명의 실시예에 의하면, 상기 후보단말 중 통신할 단말을 결정하는 단계는, 상기 후보단말 중 통신 가능한 단말을 분류하는 단계; 및 상기 통신 가능한 단말로 분류된 후보단말이 복수인 경우, 단말의 위치 또는 신호의 세기를 이용하여 우선순위를 부여하여, 상기 우선순위에 따라 통신할 단말을 결정하는 단계를 포함할 수 있고, 상기 우선순위는, 상기 단말의 위치가 가까운 순서대로 상기 우선순위를 부여하거나 또는 상기 신호의 세기가 높은 순서대로 상기 우선순위를 부여하는 것을 특징으로 할 수 있으며, 상기 후보단말 중 통신 가능한 단말을 분류하는 단계는, 신호의 재전송을 위한 ACK 신호를 수신한 후보단말을 상기 통신 가능한 단말로 분류하거나, 또는 상기 후보단말의 P2P IE(Peer to Peer Information-Element)에 포함된 단말의 위치정보 및 수신 신호의 세기를 이용하여 상기 통신 가능한 단말로 분류하는 것을 특징으로 하는 기기 간 직접 통신 방법일 수 있다.According to an embodiment of the present invention, the step of determining a terminal to communicate among the candidate terminals comprises: classifying terminals capable of communicating among the candidate terminals; And determining a terminal to be communicated according to the priority by assigning a priority to the candidate terminal classified as the communicatable terminal by using the position or signal strength of the terminal, The priorities may be given in order of priority to the terminals in descending order or in a descending order of the strength of the signals. , The candidate terminal that received the ACK signal for retransmission of the signal is classified as the communicatable terminal or the position information of the terminal included in the peer to peer information-element (P2P IE) of the candidate terminal and the position information of the terminal And classifying the terminal into the communicatable terminal by using the strength.

본 발명의 실시예에 의하면, 상기 초대 요청 메시지를 송신하는 단계 전에, 상기 통신할 단말을 결정된 후보단말에 송신요구(RTS, request to send)를 전송하는 단계를 더 포함하고, 상기 통신할 단말을 결정된 후보단말로부터 송신가능(CTS, clear to send)를 수신한 경우에 상기 초대 요청 메시지를 송신하는 것을 특징으로 할 수 있고, 상기 통신할 단말을 탐색할 지 또는 기 저장된 단말정보를 이용하여 단말을 선택할 지 결정하는 단계는, 상기 기 저장된 단말정보가 없는 최초 통신이거나 또는 새로운 단말을 탐색할 것으로 설정된 주기에 해당하는 경우 상기 통신할 단말을 탐색하는 것으로 결정하는 것을 특징으로 할 수 있으며, 상기 단말간 보안을 설정하는 단계는, WPS(Wi-Fi Protected Setup)을 통해 상기 단말간 보안을 설정하는 것을 특징으로 하는 기기 간 직접 통신 방법일 수 있다.According to an embodiment of the present invention, before transmitting the invitation request message, the method further comprises transmitting a request for transmission (RTS) to the candidate terminal to communicate with the terminal, And transmits the invitation request message when a CTS (clear to send) is received from the determined candidate terminal. The method of claim 1, further comprising: Wherein the step of determining whether to select the terminal determines to search for a terminal to be communicated if it is an initial communication without the previously stored terminal information or a period set to search for a new terminal, The security setting step sets security between the terminals through WPS (Wi-Fi Protected Setup). New methods can be.

본 발명은 상기 두 번째 과제를 달성하기 위하여, 단말정보를 저장하고 있는 저장부; 통신할 단말을 탐색하거나, 상기 저장부에 저장된 단말정보를 이용하여 통신할 단말을 선택할 지를 결정하고, 통신 가능한 단말로 분류된 후보단말에 단말의 위치 또는 신호의 세기를 이용하여 우선순위를 부여하여, 상기 우선순위에 따라 통신할 단말을 결정하는 제어부; 및 상기 통신 가능한 단말들과 상기 단말정보 및 신호를 송수신하는 통신부를 포함하고, 상기 제어부는, 신호의 재전송을 위한 ACK 신호를 수신한 후보단말을 상기 통신 가능한 단말로 분류하거나, 상기 후보단말의 P2P IE(Peer to Peer Information-Element)에 포함된 단말의 위치정보 및 수신 신호의 세기를 이용하여 상기 통신 가능한 단말로 분류하는 것을 특징으로 하는 통신 단말을 제공한다.According to another aspect of the present invention, there is provided an information processing apparatus including a storage unit storing terminal information; Determines whether to select a terminal to be communicated using the terminal information stored in the storage unit, assigns a priority to the candidate terminal classified as a communicable terminal by using the position of the terminal or the strength of the signal A controller for determining a terminal to communicate according to the priority; And a communication unit for transmitting and receiving the terminal information and the signal to and from the communicatable terminals, wherein the control unit classifies the candidate terminal that has received the ACK signal for retransmission of the signal as the communicable terminal, And classifies the terminal into the communicatable terminals by using the position information of the terminal and the strength of the received signal included in the Peer-to-Peer Information-Element (IE).

상기 다른 기술적 과제를 해결하기 위하여, 본 발명은 상기된 기기 간 직접 통신 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공한다.According to another aspect of the present invention, there is provided a computer-readable recording medium having recorded thereon a program for causing a computer to perform the direct communication method between the devices.

본 발명에 따르면, 기기 간 직접 통신에서 통신할 단말을 결정함으로써, 단말이 통신을 시도할 때마다 발생하는 단말 탐색의 시간 및 전력의 소모를 줄일 수 있다. 또한, 본 발명에 따르면, 단말이 서로의 위치 정보를 가지고 통신 가능한 단말 중 가장 먼 위치의 단말에게 데이터를 전송함으로써 통신이 원하는 단말까지의 노드를 줄일 수 있기 때문에 단말의 소모 전력 및 주파수 자원의 사용을 줄일 수 있다.According to the present invention, by determining a terminal to communicate in direct communication between the devices, it is possible to reduce the time and power consumption of the terminal search that occurs every time the terminal attempts to communicate. In addition, according to the present invention, by transmitting data to the terminal located at the farthest position among terminals capable of communicating with each other with the positional information of the terminals, it is possible to reduce the number of nodes to terminals desired to communicate. .

도 1은 본 발명의 일 실시예에 따른 단말의 블록도이다.
도 2는 본 발명의 다른 실시예에 따른 Wi-Fi direct의 통신절차 및 단말 탐색의 흐름도를 도시한 것이다.
도 3은 본 발명의 다른 실시예에 따른 P2P IE frame을 도시한 것이다.
도 4는 본 발명의 일 실시예에 따른 기기 간 직접 통신방법의 흐름도이다.
도 5는 본 발명의 다른 실시예에 따른 기기 간 직접 통신방법에서의 통신할 단말을 탐색하는 방법의 흐름도이다.
도 6은 본 발명의 또 다른 실시예에 따른 기기 간 직접 통신방법에서의 통신할 단말을 탐색하는 방법의 흐름도이다.
도 7은 본 발명의 다른 실시예에 따른 기기 간 직접 통신방법에서의 복수의 후보단말 중 통신할 단말을 결정하는 방법의 흐름도이다.
도 8은 본 발명의 다른 실시예에 따른 기기 간 직접 통신방법의 흐름도이다.
1 is a block diagram of a terminal according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating a Wi-Fi direct communication procedure and a terminal search according to another embodiment of the present invention.
FIG. 3 illustrates a P2P IE frame according to another embodiment of the present invention.
4 is a flowchart of a direct communication method between devices according to an embodiment of the present invention.
5 is a flowchart of a method of searching for a terminal to communicate in a direct communication method between devices according to another embodiment of the present invention.
6 is a flowchart of a method of searching for a terminal to communicate in a direct communication method between devices according to another embodiment of the present invention.
7 is a flowchart of a method of determining a terminal to communicate among a plurality of candidate terminals in a direct communication method between devices according to another embodiment of the present invention.
8 is a flowchart of a direct communication method between devices according to another embodiment of the present invention.

본 발명에 관한 구체적인 내용의 설명에 앞서 이해의 편의를 위해 본 발명이 해결하고자 하는 과제의 해결 방안의 개요 혹은 기술적 사상의 핵심을 우선 제시한다.Prior to the description of the concrete contents of the present invention, for the sake of understanding, the outline of the solution of the problem to be solved by the present invention or the core of the technical idea is first given.

본 발명의 일 실시예에 따른 기기 간 직접 통신 방법은 통신할 단말을 탐색할 지 또는 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 지 결정하는 단계, 상기 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 것으로 결정한 경우, 상기 기 저장된 단말정보에서 후보단말이 있는지 판단하는 단계, 상기 후보단말이 있는 경우, 상기 기 저장된 단말정보를 이용하여 상기 후보단말 중 통신할 단말을 결정하는 단계, 상기 결정된 단말에 초대 요청 메시지를 송신하는 단계, 상기 초대 요청 메시지를 송신한 단말로부터 초대 응답 메시지를 수신하는 경우, 단말간 보안을 설정하는 단계, 및 상기 보안이 설정된 단말과 통신을 수행하는 단계를 포함한다.A method for direct communication between devices according to an embodiment of the present invention includes the steps of: searching for a terminal to communicate with or selecting a terminal to communicate with using previously stored terminal information, Determining whether there is a candidate terminal in the pre-stored terminal information, if the candidate terminal exists, determining a terminal to communicate among the candidate terminals using the pre-stored terminal information, Setting an inter-terminal security when receiving an invitation response message from a terminal that has transmitted the invitation request message; and performing communication with the secured terminal.

이하 첨부된 도면을 참조하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있는 실시 예를 상세히 설명한다. 그러나 이들 실시예는 본 발명을 보다 구체적으로 설명하기 위한 것으로, 본 발명의 범위가 이에 의하여 제한되지 않는다는 것은 당업계의 통상의 지식을 가진 자에게 자명할 것이다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It will be apparent to those skilled in the art, however, that these examples are provided to further illustrate the present invention, and the scope of the present invention is not limited thereto.

본 발명이 해결하고자 하는 과제의 해결 방안을 명확하게 하기 위한 발명의 구성을 본 발명의 바람직한 실시예에 근거하여 첨부 도면을 참조하여 상세히 설명하되, 도면의 구성요소들에 참조번호를 부여함에 있어서 동일 구성요소에 대해서는 비록 다른 도면상에 있더라도 동일 참조번호를 부여하였으며 당해 도면에 대한 설명시 필요한 경우 다른 도면의 구성요소를 인용할 수 있음을 미리 밝혀둔다. 아울러 본 발명의 바람직한 실시 예에 대한 동작 원리를 상세하게 설명함에 있어 본 발명과 관련된 공지 기능 혹은 구성에 대한 구체적인 설명 그리고 그 이외의 제반 사항이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우, 그 상세한 설명을 생략한다.
BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings, in which: It is to be noted that components are denoted by the same reference numerals even though they are shown in different drawings, and components of different drawings can be cited when necessary in describing the drawings. In the following detailed description of the principles of operation of the preferred embodiments of the present invention, it is to be understood that the present invention is not limited to the details of the known functions and configurations, and other matters may be unnecessarily obscured, A detailed description thereof will be omitted.

도 1은 본 발명의 일 실시예에 따른 단말의 블록도이다.1 is a block diagram of a terminal according to an embodiment of the present invention.

본 발명의 일 실시예에 따른 단말(100)은 저장부(110), 제어부(120), 및 통신부(130)로 구성된다.The terminal 100 according to an exemplary embodiment of the present invention includes a storage unit 110, a control unit 120, and a communication unit 130.

저장부(110)는 단말정보를 저장한다.The storage unit 110 stores terminal information.

보다 구체적으로, 저장부(110)는 주변의 다른 단말들과의 통신을 통해 수신한 단말정보들을 저장한다. 상기 단말정보에는 P2P(Peer to Peer) IE(Information element), WSC(Wi-Fi Simple Configuration) IE 등을 포함될 수 있고, 상기 P2P IE에는 단말의 아이디(ID) 또는 Listen channel, Operation Channel 등이 포함될 수 있다. 또한, P2P IE에는 P2P Attribute information에 추가적으로 단말의 위치정보인 Device Positional information 및 수신 신호의 세기인 Signal Power information을 더 포함할 수 있다.More specifically, the storage unit 110 stores the received terminal information through communication with other nearby terminals. The terminal information may include a Peer to Peer (IE) information element, a Wi-Fi Simple Configuration (WSC) IE, and the P2P IE includes a terminal ID, Listen channel, Operation Channel, . In addition to the P2P attribute information, the P2P IE may further include Device Positional information, which is the location information of the terminal, and Signal Power information, which is the strength of the received signal.

저장부(110)에 저장된 단말정보는 통신 가능한 단말을 탐색하고, 상기 통신할 단말의 결정에 이용되는 추가 단말정보를 상기 탐색된 단말에 송수신하며, 상기 수신된 단말정보를 저장함으로써 저장부(110)에 저장될 수 있다. 단말이 통신을 수행하기 위해 통신 가능한 단말을 탐색함과 동시에 후에 단말 탐색 없이 통신할 단말을 결정하기 위하여 추가 단말정보를 상기 탐색된 단말과 송수신하여 저장할 수 있다.The terminal information stored in the storage unit 110 searches for a communicatable terminal, transmits / receives additional terminal information used for determination of the terminal to be communicated to the searched terminal, stores the received terminal information, ). ≪ / RTI > The terminal can search for a terminal capable of communication to perform communication and at the same time transmit / receive additional terminal information to / from the searched terminal so as to determine a terminal to communicate without searching for a terminal.

제어부(120)는 통신할 단말을 탐색하거나, 저장부(110)에 저장된 단말정보를 이용하여 통신할 단말을 선택할 지를 결정하고, 통신 가능한 단말로 분류된 후보단말에 단말의 위치 또는 신호의 세기를 이용하여 우선순위를 부여하여, 상기 우선순위에 따라 통신할 단말을 결정한다.The control unit 120 determines whether to select a terminal to communicate with by using the terminal information stored in the storage unit 110, and transmits the position or signal strength of the terminal to a candidate terminal classified as a communicable terminal And determines a terminal to communicate according to the priority.

보다 구체적으로, 제어부(120)는 저장부(110)에 저장된 단말정보를 이용하여 통신할 단말을 결정한다. 상기 통신할 단말을 결정하는 방법으로 저장부(110)에 저장된 단말정보를 이용하여 통신할 단말을 선택하여 결정하거나 또는 주변 단말을 탐색함으로써 통신할 단말을 결정할 수 있다. 제어부(120)는 신호의 재전송을 위한 ACK 신호를 수신한 후보단말을 상기 통신 가능한 단말로 분류하거나, 상기 후보단말의 P2P IE(Peer to Peer Information-Element)에 포함된 단말의 위치정보 및 수신 신호의 세기를 이용하여 상기 통신 가능한 단말로 분류한다.More specifically, the control unit 120 determines a terminal to communicate with by using the terminal information stored in the storage unit 110. A terminal to be communicated can be determined by selecting a terminal to be communicated using the terminal information stored in the storage unit 110 or by searching for a neighboring terminal. The control unit 120 classifies the candidate terminal that received the ACK signal for retransmission of the signal into the communicable terminal or transmits the location information of the terminal included in the peer to peer information-element (P2P IE) And classifies the terminal into the communicatable terminal using the strength of the terminal.

먼저, 저장부(110)에 저장된 단말정보를 이용하여 통신할 단말을 선택할 수 있다. 미리 정보를 알고 있는 단말의 정보를 이용하여 통신할 단말을 결정함으로써, 통신을 할 때마다 모든 단말을 탐색할 필요가 없고, 통신을 위해 새로운 정보를 송수신할 필요가 없는바, 단말 탐색의 시간 및 전력의 소모를 줄일 수 있다. 저장부(110)에 저장된 단말정보를 이용하여 통신할 단말을 선택할 것으로 결정한 경우, 상기 저장부(110)에 저장된 단말정보에서 후보단말이 있는지 판단한다. 상기 후보단말이 있는 경우, 상기 기 저장된 단말정보를 이용하여 상기 후보단말 중 통신할 단말을 결정한다. 만약, 상기 후보단말이 없는 경우, 저장부(110)에 저장된 단말정보가 아닌 단말 탐색을 통해 상기 통신할 단말을 결정한다. First, the terminal to be communicated can be selected by using the terminal information stored in the storage unit 110. It is not necessary to search all the terminals every time communication is performed by determining terminals to be communicated by using the information of the terminal that already knows the information in advance and it is not necessary to transmit and receive new information for communication, Power consumption can be reduced. When it is determined to select a terminal to be communicated using the terminal information stored in the storage unit 110, it is determined whether there is a candidate terminal in the terminal information stored in the storage unit 110. If there is the candidate terminal, the terminal to communicate among the candidate terminals is determined using the previously stored terminal information. If there is no candidate terminal, the terminal to be communicated is determined through terminal search rather than terminal information stored in the storage unit 110.

상기 후보단말 중 통신할 단말을 결정하기 위하여, 상기 후보단말 중 통신 가능한 단말을 분류하고, 상기 통신 가능한 단말로 분류된 후보단말이 복수인 경우, 단말의 위치 또는 신호의 세기를 이용하여 우선순위를 부여하여, 상기 우선순위에 따라 통신할 단말을 결정할 수 있다. 상기 후보단말이 하나인 경우, 해당 후보단말을 상기 통신할 단말로 결정할 수 있다. 하지만, 후보단말이 복수인 경우, 후보단말 중 우선순위가 높은 후보단말을 상기 통신할 단말로 결정한다. 상기 우선순위는 상기 단말의 위치가 가까운 순서대로 상기 우선순위를 부여하거나 또는 상기 신호의 세기가 높은 순서대로 상기 우선순위를 부여할 수 있다. Classifying a terminal capable of communicating among the candidate terminals to determine a terminal to be communicated among the candidate terminals, and when the number of candidate terminals classified as the communicable terminal is plural, And determine a terminal to communicate according to the priority. If there is one candidate terminal, the candidate terminal can be determined as the terminal to be communicated. However, when there are a plurality of candidate terminals, a candidate terminal having a higher priority among the candidate terminals is determined as the terminal to be communicated. The priorities may be given in order of closest to the locations of the terminals, or may be given priority in descending order of strength of the signals.

상기 후보단말 중 통신 가능한 단말로 분류하기 위하여, 두 가지 방법을 이용할 수 있다. 신호의 재전송을 위한 ACK 신호를 수신한 후보단말을 상기 통신 가능한 단말로 분류하거나, 또는 상기 후보단말의 P2P IE(Peer to Peer Information-Element)에 포함된 단말의 위치정보 및 수신 신호의 세기를 이용하여 상기 통신 가능한 단말로 분류할 수 있다.  In order to classify the candidate terminals as communicatable terminals, two methods can be used. Classifies the candidate terminal that received the ACK signal for retransmission of the signal into the communicatable terminal or uses the position information of the terminal and the strength of the received signal included in the peer to peer information-element (P2P IE) of the candidate terminal And classify it as the communicatable terminal.

우선, 통신과정을 이용하여 통신 가능한 단말을 분류할 수 있다. 무선 단말 간의 통신에서 데이터를 송수신 시, 신호의 재전송을 위해 데이터를 전송한 이후, Ack (acknowledgement) 또는 Nack(non-acknowledgement) 신호를 상기 데이터를 수신한 단말로부터 수신한다. 데이터 송수신 시 Ack을 수신하였고 단말이 고정된 위치에 설치되어 있다면, 채널 환경이나 거리가 동일할 것이기 때문에, Ack 신호를 수신한 단말은 통신이 가능하다고 판단할 수 있다. 상기 통신 가능한 것으로 판단된 단말의 아이디를 수신된 신호 세기와 함께 저장부(110)에 저장한 뒤, 통신 가능한 단말로 분류할 수 있다. 상기 Ack 신호를 받은 후보단말이 하나라면 상기 후보단말을 통신할 단말로 결정할 수 있다. 만일 Ack신호를 전송받은 후보단말이 복수일 경우, 상기 수신된 ACK 신호의 세기가 가장 큰 후보단말에 우선 순위를 부여하고 상기 통신할 단말로 결정할 수 있다.First, terminals capable of communicating can be classified using a communication process. An acknowledgment or a non-acknowledgment (Nack) signal is received from a terminal that has received the data after transmitting data for retransmission of the data in the communication between wireless terminals. If the Ack is received during data transmission / reception and the terminal is installed in a fixed location, the channel environment or the distance will be the same, so the terminal receiving the Ack signal can determine that communication is possible. It is possible to store the ID of the terminal determined to be communicable in the storage unit 110 together with the received signal strength, and classify it as a communicatable terminal. If the candidate terminal receiving the Ack signal is one, the candidate terminal can be determined as a terminal to communicate with. If there are a plurality of candidate terminals to which the ACK signal has been transmitted, the candidate terminals having the highest ACK signal strength may be given priority and determined to be the terminal to be communicated.

다음으로, P2P IE(Peer to Peer Information-Element)에 포함된 단말의 위치정보 및 수신 신호의 세기를 이용하여 상기 통신 가능한 단말로 분류할 수 있다. P2P IE의 P2P attribute information에서 추가적으로 전송한 Device Positional information과 Signal Power information을 이용하여 단말의 거리와 신호의 수신 신호 세기를 이용하여 단말이 통신이 가능하다고 판단하고, 통신 가능 단말로 분류하는 방법이다. 상기 단말의 거리가 임계 거리 이내이거나, 신호의 수신 신호 세기가 임계치 이상일 경우, 통신 가능한 단말로 분류할 수 있다. 단말의 거리를 이용하여 상기 통신할 단말을 결정할 경우, 노드를 줄이기 위하여, 단말과의 거리가 가장 먼 후보단말에 우선순위를 부여하거나, 적은 전력을 사용하기 위해 단말과의 거리가 가장 짧은 후보단말에 우선순위를 부여할 수 있다. 수신 신호의 세기로 후보단말을 분류할 경우, 수신 세기가 가장 높은 후보단말에게 우선 순위를 부여할 수 있다. Next, it can be classified into the communicatable terminals by using the position information of the terminal and the strength of the received signal included in the peer to peer information-element (P2P IE). It is judged that the terminal can communicate by using the distance of the terminal and the received signal strength of the signal by using the Device Positional information and the Signal Power information transmitted from the P2P attribute information of the P2P IE and classifies it as a communication capable terminal. When the distance of the terminal is within a critical distance or the received signal strength of the signal is equal to or greater than a threshold value, the terminal can be classified as a communicatable terminal. When determining a terminal to be communicated using the distance of the terminal, priority is given to a candidate terminal farthest from the terminal in order to reduce the number of nodes, or a candidate terminal having the shortest distance from the terminal Can be given priority. When a candidate terminal is classified by the strength of a received signal, priority can be given to a candidate terminal having the highest received power.

상기 통신할 단말을 결정한 후, 상기 결정된 단말에 초대 요청 메시지를 송신하고, 상기 초대 요청 메시지를 송신한 단말로부터 초대 응답 메시지를 수신하는 경우, 단말간 보안을 설정하며, 상기 보안이 설정된 단말과 통신을 수행한다. The base station sets security between the terminals when the terminal transmits the invite request message to the determined terminal after determining the terminal to be communicated and receives the invite response message from the terminal that has transmitted the invite request message, .

상기 초대 요청 메시지를 송신하기 전에, 상기 통신할 단말을 결정된 후보단말에 송신요구(RTS, request to send)를 전송하고, 상기 통신할 단말을 결정된 후보단말로부터 송신가능(CTS, clear to send)를 수신한 경우에 상기 초대 요청 메시지를 송신하도록 할 수 있다. 통신 가능한 단말로 분류된 단말에 데이터 송신 요구(RTS, Request to send) 메시지를 전송하고, 송신가능(CTS, Clear to send) 메시지를 수신 받은 다음, 초대 요청 메시지를 전송할 수 있다. 상기 통신 가능한 단말이 많은 경우, 초대 요청 메시지 전송 중에 초대 요청 메시지를 수신하는 단말의 채널 상황이나 다른 단말과의 통신 등의 영향으로 초대 요청 메시지를 수신하지 못하더라도, 다른 통신 가능한 단말에 초대 요청 메시지를 송신하여 통신이 가능할 수 있지만, 통신 가능한 단말이 적을 경우, 초대 요청 메시지를 수신하는 단말이 없을 경우를 대비하여 송신요구, 송신가능 메시지를 송수신함으로써, 불필요한 초대 요청 메시지 전송을 피할 수 있다. 송신요구 메시지 전송 후, 통신 가능한 단말 중 송신가능 메시지를 전송하는 단말이 없는 경우 단말의 탐색과정부터 다시 시작하게 된다. (RTS, request to send) to the determined candidate terminal before transmitting the invitation request message, and transmits a terminal to be communicated from the determined candidate terminal (CTS, clear to send) to the determined candidate terminal And to transmit the invitation request message when it is received. A request to send (RTS) message is transmitted to a terminal classified as a communicatable terminal, and an invitation request message is received after receiving a CTS (clear to send) message. Even if the invite request message is not received due to the channel status of the terminal receiving the invite request message or communication with another terminal during transmission of the invite request message, The mobile station can transmit the unnecessary invite request message by transmitting and receiving the transmission request and the transmittable message in case that there is no terminal receiving the invite request message. After transmitting the transmission request message, if there is no terminal transmitting a transmittable message among the terminals capable of communicating, the terminal starts the search process again.

상기 단말간 보안은 WPS(Wi-Fi Protected Setup)을 통해 설정될 수 있다. WPS는 무선 네트워크의 안전한 설치를 위한 표준으로 Wi-Fi 연합(Alliance)에 의해 제안되었으며, WPS를 통하여 단말간의 네트워크 연결과정을 단순화하고, 네트워크를 외부 공격으로부터 보호할 수 있다. WPS IE(Information Element)를 이용하여 단말은 서비스 탐색 요청 프레임 및 서비스 탐색 응답 프레임을 생성할 수 있고, 상기 프레임을 통하여 단말이 지원하는 서비스 정보를 판단할 수 있다.The inter-terminal security can be set through WPS (Wi-Fi Protected Setup). WPS was proposed by the Wi-Fi Alliance as a standard for the secure installation of wireless networks. WPS simplifies the network connection process between terminals and protects the network from external attacks. A terminal can generate a service search request frame and a service search response frame using a WPS IE (Information Element), and can determine service information supported by the terminal through the frame.

제어부(120)는 상기 통신할 단말을 탐색할 것으로 결정하는 경우, 프로브(probe)를 송수신함으로써 통신 가능한 단말을 탐색하고, 상기 단말 탐색이 성공하면, 상기 탐색된 단말이 이전에 통신을 했던 단말인지 판단하며, 상기 탐색된 단말이 이전에 통신을 했던 단말인 경우, 상기 탐색된 단말을 통신할 단말로 결정할 수 있다. 상기 통신할 단말이 결정되면, 초대 요청 메시지를 송신하고, 단말간 보안을 설정한 후, 통신을 수행할 수 있다.If the control unit 120 determines to search for a terminal to be communicated, the control unit 120 searches for a terminal capable of communicating by transmitting and receiving a probe, and if the terminal search is successful, And if the searched terminal has previously communicated with the terminal, it can determine the searched terminal as a terminal to communicate with. When the terminal to be communicated is determined, an invitation request message is transmitted, and communication is established after establishing security between the terminals.

통신할 단말을 탐색할 것으로 결정하는 경우, 단말 탐색과정을 수행하여 통신할 단말을 결정한다. 단말 탐색과정은 도 2를 이용하여 자세히 설명하도록 한다. 도 2a는 Wi-Fi direct의 단말 탐색 과정을 도시한 것으로, 단말 1(device 1)(210)과 단말 2(device 2)(220)은 데이터 전송의 필요로 주변 단말을 탐색하게 된다. 단말의 탐색에 사용되는 채널은 총 3개로 1,6,11번 채널(2412, 2437, 2462 MHz)을 사용하도록 정해져 있고, 단말은 3개의 채널을 통하여 서치(Search) 또는 리슨(Listen) 상태에서 프로브(probe)를 수신하거나 송신할 수 있다. 두 개의 단말(210,220)은 채널 1,6,11을 통하여 요청 프로브를 전송한다. 하지만 두 단말 모두 서치 상태에서 프로브를 송신하기 때문에 서로의 요청을 듣지 못한다. 그 후 단말 1은 채널 1,6,11에서 채널을 번갈아가며 리슨 상태에서 주변 단말이 요청 프로브의 수신을 대기한다. 단말 2(220)의 경우 채널 6번에서만 리슨 상태에서 단말의 요청 프로브의 수신을 대기한 후, 바로 채널 1,6,11을 통하여 요청 프로브를 전송한다. 채널 1,6,11에서 리슨 상태에서 대기 중이던 단말 1(210)은 다시 서치 상태로 돌아가 각 채널에서 요청 프로브를 전송한다. 이때 단말 2(220)가 채널 6번에서 단말 1(210)의 요청 프로브를 수신하고, 응답 프로브를 전송함으로써 두 단말이 서로 탐색에 성공하게 된다. 통신할 단말을 탐색하는 경우, 도 2a와 같이 두 단말의 탐색과정에서 전송하는 채널과 수신하는 채널이 다른 경우, 또는 동일 채널에서 시간차에 의하여 요청 프로브를 수신하지 못하는 경우 두 단말은 서로 탐색에 실패할 수 있고, 프로브를 계속 전송함으로써 전력 및 시간을 소비하는 문제점이 발생할 수 있다. 만약 동일한 그룹에 속해 있는 M2M 단말이 데이터 전송을 수행하고자 할 때마다 상기의 방법으로 단말의 탐색하게 되면 탐색 시간 소모 및 탐색에 단말의 전력 사용이 매우 비효율적일 수 있다. 따라서, 기 저장된 단말정보를 이용할 수 없는 경우, 단말 탐색을 수행하는 것이 효율적이다.When it is determined to search for a terminal to be communicated, a terminal searching process is performed to determine a terminal to communicate with. The terminal search process will be described in detail with reference to FIG. FIG. 2A shows a process of searching for a terminal of Wi-Fi direct. The terminal 1 (device 1) 210 and the terminal 2 (device 2) 220 search for a peripheral terminal in need of data transmission. The number of channels used for the search of the UE is three, and channels 1,6,11 (2412, 2437, and 2462 MHz) are set to be used, and the UE can search through three channels in a search or listen state It can receive or transmit probes. The two terminals 210 and 220 transmit the request probe through channels 1, 6 and 11. However, since both terminals transmit probes in the search state, they can not hear each other's requests. Then, the terminal 1 alternates channels on the channels 1, 6 and 11, and the peripheral terminal waits for the reception of the request probe in the listening state. In the case of the terminal 2 (220), only the channel 6 receives the request probe of the terminal in the listening state, and then transmits the request probe through the channels 1, 6 and 11 immediately. The terminal 1 210, which is in a listening state in the listen state on the channels 1, 6 and 11, returns to the search state and transmits a request probe on each channel. At this time, the terminal 2 (220) receives the request probe of the terminal 1 (210) on channel 6 and transmits a response probe, so that the two terminals succeed in searching each other. In the case of searching for a terminal to communicate, when the channel to be transmitted and the channel to be received are different from each other in the searching process of the two terminals or when the request probe is not received due to the time difference in the same channel as shown in FIG. And it is possible to consume power and time by continuously transmitting the probes. Whenever an M2M terminal belonging to the same group attempts to perform data transmission, searching for the terminal in the above manner may be very inefficient in terms of search time consumption and power consumption of the terminal for searching. Therefore, when the previously stored terminal information can not be used, it is effective to perform terminal search.

도 2b는 Wi-Fi direct 단말 탐색과정을 나타낸 흐름도이다. 230단계에서, 단말은 단말의 통신이 필요한 경우 단말 탐색을 시작하게 된다. 우선 IEEE 802.11의 모든 채널을 스캔(Scan) 함으로써, 주변에 이용 가능한 P2P(Pear to Pear) Group 및 IEEE 802.11 infrastructure network를 검색하게 된다. 240단계에서, 주변에 이용 가능한 P2P(Pear-to Pear) Group 및 IEEE 802.11 infrastructure network가 없을 경우 주변의 다른 단말을 통해 통신을 위해 probe request를 임의 채널에 전송하게 된다. 이때 고정된 채널에서 probe request를 전송하는 것을 Search state라고 한다. probe request에는 P2P(Pear-to-Pear) IE(Information Element), WSC(Wi-Fi Simple Configuration) IE 등의 정보가 포함될 수 있다. P2P IE는 단말의 ID 또는 Listen Channel, Operating Channel 등의 정보를 포함할 수 있다. probe request를 전송한 단말은 특정 채널에서 다른 단말의 probe request을 수신하기 위하여 채널에서 대기하게 된다. 이를 Listen state라고 한다. 상기 probe request를 전송한 단말은 prober request를 수신한 단말로부터 probe response 메시지를 수신하게 된다. probe response frame에는 Operating channel 혹은 Listen channel을 전송할 수 있고, probe response에도 역시 P2P IE와 WSC IE가 포함되어 단말에게 전송되게 된다. 상기 단말이 probe response를 수신함으로써 단말의 탐색은 종료되게 된다.2B is a flowchart illustrating a process of searching for a Wi-Fi direct terminal. In step 230, when the terminal requires communication, the terminal starts searching for the terminal. First, all the channels of the IEEE 802.11 are scanned to search for surrounding P2P (Pear- to Pear) group and IEEE 802.11 infrastructure network. In step 240, if there is no P2P (Peer-to-Pear) group and IEEE 802.11 infrastructure network available in the vicinity, a probe request is transmitted to an arbitrary channel for communication through other terminals in the vicinity. At this time, transmitting the probe request from the fixed channel is called Search state. The probe request may include information such as a Pear-to-Pear (IE) Information Element (IE) and a Wi-Fi Simple Configuration (WSC) IE. The P2P IE may include information such as ID of the terminal, Listen Channel, Operating Channel, and the like. The terminal transmitting the probe request waits on the channel to receive the probe request of the other terminal on the specific channel. This is called Listen state. The terminal transmitting the probe request receives the probe response message from the terminal receiving the prober request. In the probe response frame, an operating channel or a listener channel can be transmitted, and a probe response also includes a P2P IE and a WSC IE, and is transmitted to the UE. And the search for the terminal is terminated when the terminal receives the probe response.

M2M 통신에서는 단말이 주로 고정된 위치에서 통신을 하게 될 것을 가정한다. 따라서 단말간의 거리나 신호의 세기는 큰 변화가 없다. 또한, 동일한 사용자가 여러 개의 단말을 사용하여 기기 간 직접 통신을 이용하여 M2M 통신망을 이루는 경우, 단말 탐색의 편의성을 위하여 모든 단말을 동일한 채널로 설정할 수 있다. 상기와 같은 상황에서 단말의 탐색이 필요한 경우에만 단말의 탐색을 실시할 수 있다. 단말이 처음 설치 시 혹은 새로운 주변 단말의 출현을 알기 위해 주기적으로 단말을 탐색할 수 있다. In the M2M communication, it is assumed that the mobile station mainly communicates at a fixed position. Therefore, the distance between the terminals and the intensity of the signal do not change greatly. Also, when the same user uses the plurality of terminals to establish the M2M communication network by using the direct communication between the devices, all terminals can be set to the same channel for the convenience of terminal search. In such a situation, the terminal can be searched only when it is necessary to search for the terminal. The terminal can periodically search the terminal at the time of initial installation or in order to know the appearance of a new peripheral terminal.

상기 위의 두 가지 탐색의 요구사항이 발생할 경우 단말의 탐색을 시작하게 된다. 단말의 탐색을 위해 Probe Request 메시지를 전송하게 된다. Probe Request에는 P2P IE, WSC IE를 포함할 수 있다. 상기 P2P IE에 추가적으로 단말을 결정하기 위한 파라미터를 추가로 전송하게 된다. 상기 파라미터에는 단말의 거리 정보와 단말 간의 채널 정보를 포함하게 된다. When the requirements of the above two searches occur, the search of the terminal is started. A Probe Request message is transmitted to search for the UE. Probe Requests may include P2P IE, WSC IE. And additionally transmits a parameter for determining the terminal to the P2P IE. The parameter includes the distance information of the terminal and the channel information between the terminals.

상기 단말 탐색이 성공하면, 상기 탐색된 단말이 이전에 통신을 했던 단말인지 판단하며, 상기 탐색된 단말이 이전에 통신을 했던 단말인 경우, 상기 탐색된 단말을 통신할 단말로 결정하고, 초대 요청 메시지를 송신하며, 단말 간 보안을 설정한 후, 통신을 수행할 수 있다.If it is determined that the discovered terminal is a terminal that has previously communicated, if the detected terminal is a previously communicated terminal, the terminal is determined to be a terminal to communicate with, Message, and after establishing security between terminals, communication can be performed.

상기 탐색된 단말이 이전에 통신을 했던 단말이 아닌 경우, 단말 사이의 그룹 오너를 결정하고, 상기 그룹 오너가 결정되면, 상기 단말간 보안을 설정한 후,통신을 수행할 수 있다. Wi-Fi direct를 지원하는 단말을 상기 그룹 오너로 결정할 수 있다. 상기 탐색된 단말이 이전에 통신을 했던 단말이 아닐 경우, 두 단말사이에서 그룹 오너(GO,Group Owner)를 설정하게 된다. 그룹 오너란, Wi-Fi Direct에서 임시적으로 무선 랜과 마찬가지로 AP(Access Point) 역할을 할 단말을 의미한다. 상기 그룹 오너의 결정은 단말의 탐색을 마친 후에 Group Owner negotiation 메시지를 통하여 상기 메시지 안의 GO intent 정보를 통하여 결정할 수 있다. 상기 Go Intent 정보는 0~15의 값을 갖으며 값이 높을수록 그룹 오너가 될 가능성이 높다. 그룹 오너는 Wi-fi direct를 지원하는 단말만 형성될 수 있으며, 기존의 단말은 Client의 역할만 수행하게 된다.When the searched terminal is not a terminal that has previously communicated, the terminal determines a group owner between the terminals, and if the group owner is determined, the terminal can set security and then perform communication. A terminal supporting Wi-Fi direct may be determined as the group owner. If the searched terminal is not a terminal that has previously communicated, a group owner (GO) is set between the terminals. The group owner means a terminal that acts as an access point (AP) temporarily in Wi-Fi Direct like a wireless LAN. The determination of the group owner can be made through the GO intent information in the message through the Group Owner negotiation message after the search of the terminal is completed. The Go Intent information has a value ranging from 0 to 15, and the higher the value, the more likely it is the group owner. The group owner can only form a terminal supporting Wi-fi direct, and the existing terminal performs only the role of a client.

상기 통신할 단말을 탐색할지 또는 저장부(110)에 저장된 단말정보를 이용하여 단말을 선택할지 결정함에 있어서, 저장부(110)에 저장된 단말정보가 없는 최초 통신이거나 새로운 단말을 탐색할 것으로 설정된 주기에 해당하는 경우 상기 통신할 단말을 탐색할 수 있다. 최초 통신을 수행하는 단말의 경우, 다른 단말과 정보를 송수신한 것이 없는 바, 저장부(110)에 저장된 단말정보가 없는 바, 필연적으로 단말 탐색과정을 거쳐야 기기 간 직접 통신이 가능하다. 또한, 단말의 이동이나, 새로운 단말의 유입이 있는 경우, 단말의 변화를 감지하기 위하여 단말 탐색을 수행할 수 있다. 단말 환경에 변화가 있음에도 기존 저장된 단말정보만을 이용하는 경우, 효율성이 떨어질 수 있는바, 미리 설정된 주기마다 주기적으로 단말을 탐색할 수 있다.In determining whether to search for a terminal to be communicated or to select a terminal using terminal information stored in the storage unit 110, it is determined whether the initial communication with no terminal information stored in the storage unit 110 or the period set to search for a new terminal It is possible to search for the terminal to communicate with. In the case of the terminal performing the initial communication, since there is no information transmitted / received to / from other terminals, there is no terminal information stored in the storage unit 110, so that direct communication between the devices is possible only after the terminal searching process is inevitable. In addition, if there is movement of the terminal or entry of a new terminal, the terminal search can be performed to detect a change of the terminal. Even if there is a change in the terminal environment, efficiency can be reduced when using only the existing stored terminal information, so that the terminal can be periodically searched for every predetermined period.

통신부(130)는 상기 통신 가능한 단말들과 상기 단말정보 및 신호를 송수신한다.The communication unit 130 transmits and receives the terminal information and signals to and from the communicatable terminals.

보다 구체적으로, 통신부(130)는 다른 단말과 데이터 정보 또는 각종 신호를 송수신한다. 단말 탐색을 위한 프로브, 단말정보, 초대 요청 메시지, 초대 응답 메시지, 송신요구, 송신가능, ACK 신호 등을 송수신할 수 있다. 통신부(130)는 IEEE 802.11의 표준의 방식과 동일하게 데이터 통신을 할 수 있다.
More specifically, the communication unit 130 transmits / receives data information or various signals to / from other terminals. A probe request for terminal search, terminal information, an invitation request message, an invitation response message, a transmission request, a transmission enable, and an ACK signal. The communication unit 130 can perform data communication in the same manner as the IEEE 802.11 standard.

도 3은 본 발명의 다른 실시예에 따른 P2P IE frame을 도시한 것이다.FIG. 3 illustrates a P2P IE frame according to another embodiment of the present invention.

도 3a는 P2P IE format의 구성을 나타낸 것이다. P2P IE는 IEEE Std 802.11-2007에서 정의하였고, P2P IE의 구성 Field는 Element ID, Length, P2P Attributes 등으로 구성될 수 있다. P2P Attributes는 1 octet의 P2P Attribute ID field, 2 octets의 Length field, 가변 길이의 attribute-specific information field로 구성되어 있다. P2P IE frame은 최대 251 octets으로 구성된다. P2P IE에서 알 수 없는 또는 예약 속성 ID 값을 발견할 경우 P2P 장치는 해당 구문을 무시하고 나머지 필드의 구문을 해석한다. 하나 이상의 P2P IE는 하나의 프레임에 포함될 수 있다.3A shows a configuration of a P2P IE format. P2P IE is defined in IEEE Std 802.11-2007, and the configuration field of P2P IE can be composed of Element ID, Length, P2P Attributes, and so on. P2P Attributes consists of one octet of P2P Attribute ID field, two octets of Length field, and variable length of attribute-specific information field. The P2P IE frame consists of up to 251 octets. If the P2P IE finds an unknown or reserved property ID value, the P2P device will ignore the statement and interpret the syntax of the remaining fields. One or more P2P IEs may be included in one frame.

도 3b는 P2P Attribute ID definitions를 나태난 것이다. P2P Attribute ID는 P2P Capability, P2P Device ID, Group Owner Intent, Listen channel, P2P Device Info 등으로 구성되어 있고, 19-220, 222-255 ID는 예약 속성으로 사용자의 필요에 따라서 추가 정보를 구성하여 보낼 수 있다. P2P Device info에는 P2P Device address, Config Methods, Primary Device Type, Device Name등을 포함할 수 있다. FIG. 3B shows P2P Attribute ID definitions. P2P Attribute ID consists of P2P Capability, P2P Device ID, Group Owner Intent, Listen channel, P2P Device Info, etc. 19-220, 222-255 ID is reserved attribute, . P2P Device info may include P2P Device address, Config Method, Primary Device Type, Device Name and so on.

도 3c는 P2P Attribute ID definitions은 추가 정보의 사용을 나타내는 것이다. 도 3b에서 P2P Attribute ID definitions에서 19-220 및 222-225번의 Attribute ID는 Reserved로 추가적인 정보전송을 위해 예약되어 있다. 통신할 단말을 결정하기 위하여 19, 20번의 예약된 Attribute ID를 사용하여 Device Positional information, Signal Power Information을 추가로 전송한다. Device Positional Information에는 단말의 위치 정보가 포함되게 되고, Signal Power Information에는 채널을 통과한 후, 단말의 신호의 수신 파워 정보가 포함되어 전송되게 된다.
FIG. 3C shows that the P2P Attribute ID definitions indicate the use of additional information. In FIG. 3B, the attribute IDs 19-220 and 222-225 in the P2P attribute ID definitions are reserved and reserved for additional information transmission. In order to determine the terminal to be communicated, it transmits Device Positional information and Signal Power Information using the reserved Attribute IDs 19 and 20. The device position information includes the location information of the terminal, and the signal power information includes the reception power information of the terminal after passing through the channel.

도 4는 본 발명의 일 실시예에 따른 기기 간 직접 통신방법의 흐름도이다.4 is a flowchart of a direct communication method between devices according to an embodiment of the present invention.

410단계는 통신할 단말을 탐색할지 또는 기 저장된 단말정보를 이용하여 통신할 단말을 선택할지 결정하는 단계이다.In step 410, it is determined whether to search for a terminal to communicate with or to use a previously stored terminal information to select a terminal to communicate with.

보다 구체적으로, 통신할 단말을 탐색할지 또는 기 저장된 단말정보를 이용하여 단말의 탐색 없이 통신할 단말을 선택할지 결정한다. 상기 기 저장된 단말정보가 없는 최초 통신이거나 또는 새로운 단말을 탐색할 것으로 설정된 주기에 해당하는 경우 상기 통신할 단말을 탐색하는 것으로 결정할 수 있다. 상기 기 저장된 단말정보는 통신 가능한 단말을 탐색하는 단계, 상기 통신할 단말의 결정에 이용되는 추가 단말정보를 상기 탐색된 단말에 송수신하는 단계, 및 상기 수신된 단말정보를 저장하는 단계에 의해 저장될 수 있다. 본 단계에 대한 상세한 설명은 도 1의 저장부(110) 및 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 저장부(110) 및 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, it is determined whether to search for a terminal to communicate with or use the stored terminal information to select a terminal to communicate without searching for the terminal. It may be determined to search for a terminal to be communicated if it is the initial communication without the pre-stored terminal information, or corresponds to a period set to search for a new terminal. The pre-stored terminal information may include a step of searching for a terminal capable of communicating, transmitting / receiving additional terminal information used for determination of the terminal to be communicated to the searched terminal, and storing the received terminal information . The detailed description of this step corresponds to the detailed description of the storage unit 110 and the control unit 120 of FIG. 1 and is replaced with a detailed description of the storage unit 110 and the control unit 120 of FIG.

420단계는 상기 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 것으로 결정한 경우, 상기 기 저장된 단말정보에서 후보단말이 있는지 판단하는 단계이다.In step 420, if it is determined to select a terminal to communicate with using the previously stored terminal information, it is determined whether there is a candidate terminal in the previously stored terminal information.

보다 구체적으로, 상기 기 저장된 단말정보에 저장되어 있는 후보단말이 있는지 판단한다. 본 단계에 대한 상세한 설명은 도 1의 저장부(110) 및 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 저장부(110) 및 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, it is determined whether there is a candidate terminal stored in the previously stored terminal information. The detailed description of this step corresponds to the detailed description of the storage unit 110 and the control unit 120 of FIG. 1 and is replaced with a detailed description of the storage unit 110 and the control unit 120 of FIG.

430단계는 상기 후보단말이 있는 경우, 상기 기 저장된 단말정보를 이용하여 상기 후보단말 중 통신할 단말을 결정하는 단계이다.If there is the candidate terminal, step 430 is to determine a terminal to communicate among the candidate terminals using the pre-stored terminal information.

보다 구체적으로, 420단계의 판단결과, 후보단말이 존재하는 경우, 후보단말 중 어떤 단말과 통신할지 결정하는 단계이다. 상기 후보단말이 없는 경우, 상기 통신할 단말을 탐색한다. 본 단계에 대해서는 도 7에서 자세히 다루도록 한다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, if the candidate terminal exists as a result of the determination in step 420, it is determined which terminal among the candidate terminals to communicate with. If there is no candidate terminal, the terminal searching for the terminal to communicate with. This step will be described in detail in FIG. The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

440단계는 상기 결정된 단말에 초대 요청 메시지를 송신하는 단계이다.Step 440 is a step of transmitting an invitation request message to the determined mobile station.

보다 구체적으로, 430단계에서 통신할 단말로 결정된 단말에 초대 요청 메시지를 송신한다. 초대 요청 메시지를 송신하기 전에 상기 통신할 단말을 결정된 후보단말에 송신요구(RTS, request to send)를 전송하는 단계를 더 포함하고, 상기 통신할 단말을 결정된 후보단말로부터 송신가능(CTS, clear to send)를 수신한 경우에 상기 초대 요청 메시지를 송신할 수 있다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, in step 430, an invitation request message is transmitted to a terminal determined as a terminal to communicate with. Further comprising the step of transmitting a request for transmission (RTS) to the candidate terminal determined to be communicated before transmitting the invitation request message, and transmitting the request to send to the candidate terminal from the determined candidate terminal (CTS, clear to send the invitation request message. The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

450단계는 상기 초대 요청 메시지를 송신한 단말로부터 초대 응답 메시지를 수신하는 경우, 단말간 보안을 설정하는 단계이다.Step 450 is a step of establishing security between terminals when receiving an invitation response message from the terminal that has transmitted the invitation request message.

보다 구체적으로, 440단계에서 송신한 초대 요청 메시지를 수신한 단말로부터 초대 응답 메시지를 수신하는 경우, 통신시, 보안을 위하여 단말간 보안을 설정한다. WPS(Wi-Fi Protected Setup)을 통해 상기 단말간 보안을 설정할 수 있다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, when receiving the invitation response message from the terminal that received the invitation request message transmitted in step 440, it sets security between terminals for security during communication. Terminal security can be established through WPS (Wi-Fi Protected Setup). The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

460단계는 상기 보안이 설정된 단말과 통신을 수행하는 단계이다.Step 460 is a step of performing communication with the secure terminal.

보다 구체적으로, 통신할 단말과 보안이 설정된바, 해당 단말과 통신을 수행한다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.
More specifically, communication with the terminal is performed when security is established with the terminal to be communicated. The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

도 5는 본 발명의 다른 실시예에 따른 기기 간 직접 통신방법에서의 통신할 단말을 탐색하는 방법의 흐름도이다.5 is a flowchart of a method of searching for a terminal to communicate in a direct communication method between devices according to another embodiment of the present invention.

510단계는 프로브(probe)를 송수신함으로써 통신 가능한 단말을 탐색하는 단계이다.Step 510 is a step of searching for a terminal capable of communicating by transmitting and receiving a probe.

보다 구체적으로, 410단계에서 통신할 단말을 탐색할 것으로 결정하는 경우, 프로브를 송수신함으로써 단말 탐색을 수행한다. 본 단계에 대한 상세한 설명은 도 1의 저장부(110) 및 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 저장부(110) 및 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, when it is determined in step 410 that a terminal to be communicated is to be searched, terminal search is performed by transmitting and receiving a probe. The detailed description of this step corresponds to the detailed description of the storage unit 110 and the control unit 120 of FIG. 1 and is replaced with a detailed description of the storage unit 110 and the control unit 120 of FIG.

520단계는 상기 단말 탐색이 성공하면, 상기 탐색된 단말이 이전에 통신을 했던 단말인지 판단하는 단계이다.In step 520, if the terminal search is successful, it is determined whether the searched terminal has previously communicated with.

보다 구체적으로, 510단계의 단말 탐색이 성공하면, 이전 정보를 이용하여 통신을 수행할 수 있을지 판단하기 위하여, 상기 탐색된 단말이 이전에 통신을 했던 단말인지 판단한다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, if the terminal search in step 510 is successful, it is determined whether the searched terminal has previously communicated with, to determine whether communication can be performed using the previous information. The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

530단계는 상기 탐색된 단말이 이전에 통신을 했던 단말인 경우, 상기 탐색된 단말을 통신할 단말로 결정하는 단계이다.In step 530, when the searched terminal has previously communicated, it is determined that the searched terminal is a terminal to communicate with.

보다 구체적으로, 520단계의 판단 결과, 상기 탐색된 단말이 이전에 통신을 했던 단말인 경우, 기존 정보를 이용하여 통신을 수행할 수 있는바, 다른 과정 없이 상기 탐색된 단말을 통신할 단말로 결정한다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, if it is determined in step 520 that the discovered terminal has previously communicated with the terminal, communication can be performed using the existing information, and the terminal searching for the discovered terminal can be determined do. The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

530단계에서 통신할 단말이 결정되면, 440단계 내지 460단계, 즉, 상기 초대 요청 메시지를 송신하는 단계, 상기 단말간 보안을 설정하는 단계, 및 상기 통신을 수행하는 단계를 수행한다.
If it is determined in step 530 that a terminal to communicate with is determined, steps 440 through 460 are performed, that is, the invitation request message is transmitted, the inter-terminal security is established, and the communication is performed.

도 6은 본 발명의 또 다른 실시예에 따른 기기 간 직접 통신방법에서의 통신할 단말을 탐색하는 방법의 흐름도이다.6 is a flowchart of a method of searching for a terminal to communicate in a direct communication method between devices according to another embodiment of the present invention.

610단계는 탐색된 단말이 이전에 통신을 했던 단말이 아닌 경우, 단말 사이의 그룹 오너를 결정하는 단계이다.Step 610 is a step of determining a group owner between terminals when the discovered terminal is not a terminal that has previously communicated.

보다 구체적으로, 520단계의 판단 결과, 탐색된 단말이 이전에 통신을 했던 단말이 아닌 경우, 통신을 위하여 단말 사이의 그룹 오너를 결정한다. Wi-Fi direct를 지원하는 단말을 상기 그룹 오너로 결정할 수 있다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, if it is determined in step 520 that the discovered terminal is not a terminal that has previously communicated, a group owner between terminals is determined for communication. A terminal supporting Wi-Fi direct may be determined as the group owner. The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

상기 그룹 오너가 결정되면, 초대 요청 메시지의 송신 없이, 상기 단말간 보안을 설정하는 단계 및 상기 통신을 수행하는 단계를 수행한다.
If the group owner is determined, establishing the inter-terminal security without transmitting the invitation request message and performing the communication.

도 7은 본 발명의 다른 실시예에 따른 기기 간 직접 통신방법에서의 복수의 후보단말 중 통신할 단말을 결정하는 방법의 흐름도이다.7 is a flowchart of a method of determining a terminal to communicate among a plurality of candidate terminals in a direct communication method between devices according to another embodiment of the present invention.

710단계는 후보단말 중 통신 가능한 단말을 분류하는 단계이다.Step 710 is a step of classifying the terminals available for communication among the candidate terminals.

보다 구체적으로, 420단계의 판단 결과, 후보단말이 복수인 경우, 모든 후보단말이 통신 가능한 단말이 아닐 수 있는바, 후보단말 중 통신이 가능한 단말을 결정한다. 신호의 재전송을 위한 ACK 신호를 수신한 후보단말을 상기 통신 가능한 단말로 분류하거나, 또는 상기 후보단말의 P2P IE(Peer to Peer Information-Element)에 포함된 단말의 위치정보 및 수신 신호의 세기를 이용하여 상기 통신 가능한 단말로 분류할 수 있다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.More specifically, if it is determined in step 420 that there are a plurality of candidate terminals, all candidate terminals may not be capable of communicating with each other. Classifies the candidate terminal that received the ACK signal for retransmission of the signal into the communicatable terminal or uses the position information of the terminal and the strength of the received signal included in the peer to peer information-element (P2P IE) of the candidate terminal And classify it as the communicatable terminal. The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

720단계는 상기 통신 가능한 단말로 분류된 후보단말이 복수인 경우, 단말의 위치 또는 신호의 세기를 이용하여 우선순위를 부여하여, 상기 우선순위에 따라 통신할 단말을 결정하는 단계이다.In step 720, when there are a plurality of candidate terminals classified as the communicatable terminals, priority is given to them using the position or signal strength of the terminals, and the terminals to communicate are determined according to the priority.

보다 구체적으로, 710단계의 분류 결과, 상기 통신 가능한 단말로 분류된 후보단말이 복수인 경우, 통신할 단말을 결정하기 위하여, 단말의 위치 또는 신호의 세기를 이용하여 우선순위를 부여한다. 상기 우선순위에 따라 통신할 단말을 결정한다. 상기 우선순위는 상기 단말의 위치가 가까운 순서대로 상기 우선순위를 부여하거나 또는 상기 신호의 세기가 높은 순서대로 상기 우선순위를 부여할 수 있다. 본 단계에 대한 상세한 설명은 도 1의 제어부(120)에 대한 상세한 설명에 대응하는바, 도 1의 제어부(120)에 대한 상세한 설명으로 대신한다.
More specifically, as a result of the classification in step 710, when there are a plurality of candidate terminals classified as the communicatable terminals, priority is given to them using the position or signal strength of the terminals to determine the terminals to communicate with. And determines a terminal to communicate according to the priority. The priorities may be given in order of closest to the locations of the terminals, or may be given priority in descending order of strength of the signals. The detailed description of this step corresponds to the detailed description of the control unit 120 of FIG. 1, and is replaced with a detailed description of the control unit 120 of FIG.

도 8은 본 발명의 다른 실시예에 따른 기기 간 직접 통신방법의 흐름도이다.8 is a flowchart of a direct communication method between devices according to another embodiment of the present invention.

810단계에서 단말 탐색이 필요한지 판단한다. 810단계의 판단결과 단말 탐색이 필요하지 않은 경우, 822단계에서 후보 단말이 있는지 판단한다. 288단계의 판단결과, 후보단말이 존재하는 경우, 후보단말을 P2P Attribute information 또는 ACK(Acknowledgement)을 이용하여 통신 가능한 단말인지 분류하고, 통신할 단말을 결정한다. 통신할 단말로 결정된 단말에 대해 842단계에서 초대 요청 메시지를 전송하기 전에 handshaking을 통해 신호 전송 요청을 수행한다. handshaking을 통해 신호 전송 요청이 완료되면, 842단계에서 초대 요청 메시지를 전송한다. 초대 응답 메시지를 수신하면, 850단계에서 WPS를 이용하여 단말간 보안을 설정한 후, 860단계에서 통신을 수행한다.It is determined in step 810 whether a terminal search is necessary. If it is determined in step 810 that the terminal search is not required, it is determined in step 822 whether a candidate terminal exists. If it is determined in step 288 that a candidate terminal exists, the candidate terminal is classified as a terminal capable of communicating using P2P attribute information or ACK (Acknowledgment) to determine a terminal to communicate with. In step 842, the handover request message is transmitted to the terminal determined as a terminal to be communicated by handshaking before transmitting the invitation request message. When the signal transmission request is completed through handshaking, the invite request message is transmitted in step 842. Upon receipt of the invitation response message, security is established between the terminals using the WPS in step 850, and communication is performed in step 860.

810단계의 판단결과, 단말 탐색이 필요한 경우, 821단계에서 단말 탐색을 수행한다. 821단계의 단말 탐색이 성공하면, 830단계에서 탐색된 단말이 이전에 통신했던 단말인지 판단한다. 830단계의 판단 결과, 상기 탐색된 단말이 이전에 통신했던 단말인 경우, 842단계에서 초대 요청 메시지를 전송하고, 850단계에서 보안을 설정하여 860단계에서 통신을 수행한다.If it is determined in step 810 that the terminal search is required, the terminal search is performed in step 821. If the terminal search in step 821 is successful, it is determined whether the terminal discovered in step 830 has previously communicated. If it is determined in step 830 that the discovered terminal is a terminal that has previously communicated, the base station transmits an invite request message in step 842, establishes security in step 850, and performs communication in step 860.

830단계의 판단 결과, 상기 탐색된 단말이 이전에 통신했던 단말이 아닌 경우, 841단계에서 그룹 오너(GO)를 결정하고, 그룹 오너가 결정되면 850단계에서 보안을 설정하여 860단계에서 통신을 수행한다.If it is determined in step 830 that the discovered terminal is not a terminal that has previously communicated with, it determines a group owner (GO) in step 841, and sets security in step 850 when the group owner is determined. do.

822단계의 판단 결과, 후보단말이 존재하지 않는 경우, 821단계의 단말 탐색을 수행한다. If it is determined in step 822 that the candidate terminal does not exist, the terminal search in step 821 is performed.

M2M 통신을 위한 단말이 최초 설치되었을 경우 기존의 그룹 내의 속하는 단말들에 대한 탐색을 시작한다. 또는 주기적으로 단말을 탐색하여 설치된 단말을 찾거나 단말 정보를 업데이트하여 전송 단말의 순위를 바꿀 수 있다. 단말의 탐색은 821단계에서 이루어지게 되며, 기존 M2M 단말의 본포에 따라서 탐색되는 단말은 다수가 될 수도 소수가 될 수도 있다.When the terminal for the M2M communication is installed for the first time, searching for terminals belonging to the existing group is started. Alternatively, the order of transmission terminals can be changed by periodically searching for a terminal and searching for installed terminals or updating terminal information. The search for the terminal is performed in step 821. The number of terminals to be searched according to the base of the existing M2M terminal may be a large number or a small number.

기 저장된 단말정보를 이용하여 동일 그룹에 속한 M2M 단말들이 데이터는 전송할 때마다 수행하는 단말 탐색의 과정을 간략화하고, 순위에 따라서 통신 단말을 제어함으로써 통신 시 최소 노드를 통한 데이터 전송을 가능할 수 있다. 또한 단말 탐색의 주기는 M2M 단말 그룹을 관리하는 관리자가 설정할 수 있다.
It is possible to simplify the procedure of the terminal search performed every time data is transmitted by the M2M terminals belonging to the same group using the pre-stored terminal information, and to control the communication terminal according to the ranking, thereby enabling data transmission through the minimum node in communication. In addition, the period of terminal search can be set by the manager managing the M2M terminal group.

본 발명의 실시예들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Embodiments of the present invention may be implemented in the form of program instructions that can be executed on various computer means and recorded on a computer readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, the present invention has been described with reference to particular embodiments, such as specific elements, and specific embodiments and drawings. However, it should be understood that the present invention is not limited to the above- And various modifications and changes may be made thereto by those skilled in the art to which the present invention pertains.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .

100: 단말
110: 저장부
120: 제어부
130: 통신부
210: 단말 1
220: 단말 2
100: terminal
110:
120:
130:
210: terminal 1
220: Terminal 2

Claims (14)

통신할 단말을 탐색할 지 또는 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 지 결정하는 단계;
상기 기 저장된 단말정보를 이용하여 통신할 단말을 선택할 것으로 결정한 경우, 상기 기 저장된 단말정보에서 후보단말이 있는지 판단하는 단계;
상기 후보단말이 있는 경우, 상기 기 저장된 단말정보 중 단말의 위치 또는 신호의 세기를 이용하여 상기 후보단말 중 통신할 단말을 결정하는 단계;
상기 결정된 단말에 초대 요청 메시지를 송신하는 단계;
상기 초대 요청 메시지를 송신한 단말로부터 초대 응답 메시지를 수신하는 경우, 단말간 보안을 설정하는 단계; 및
상기 보안이 설정된 단말과 통신을 수행하는 단계를 포함하는 기기 간 직접 통신 방법.
Determining whether to select a terminal to communicate with by using the terminal information to be communicated or previously stored terminal information;
Determining whether there is a candidate terminal in the pre-stored terminal information if it is determined to select a terminal to be communicated using the pre-stored terminal information;
If the candidate terminal exists, determining a terminal to communicate among the candidate terminals using the position or signal strength of the terminal among the previously stored terminal information;
Transmitting an invitation request message to the determined terminal;
Setting an inter-terminal security when receiving an invite response message from a terminal that has transmitted the invite request message; And
And performing communication with the secure terminal.
제 1 항에 있어서,
상기 통신할 단말을 탐색할 지 또는 기 저장된 단말정보를 이용하여 단말을 선택할 지 결정하는 단계에서 상기 통신할 단말을 탐색할 것으로 결정하는 경우,
프로브(probe)를 송수신함으로써 통신 가능한 단말을 탐색하는 단계;
상기 단말 탐색이 성공하면, 상기 탐색된 단말이 이전에 통신을 했던 단말인지 판단하는 단계; 및
상기 탐색된 단말이 이전에 통신을 했던 단말인 경우, 상기 탐색된 단말을 통신할 단말로 결정하는 단계를 포함하고,
상기 초대 요청 메시지를 송신하는 단계, 상기 단말간 보안을 설정하는 단계, 및 상기 통신을 수행하는 단계를 수행하는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method according to claim 1,
When it is determined to search the terminal to communicate in the step of determining whether to select the terminal using the terminal information or the previously stored terminal information,
Searching for a terminal capable of communication by transmitting and receiving a probe;
Determining whether the discovered terminal is a terminal that has previously communicated if the terminal search is successful; And
And determining the searched terminal as a terminal to be communicated if the searched terminal is a terminal that has previously communicated,
The method comprising: transmitting the invitation request message; establishing the inter-terminal security; and performing the communication.
제 2 항에 있어서,
상기 탐색된 단말이 이전에 통신을 했던 단말이 아닌 경우, 단말 사이의 그룹 오너를 결정하는 단계를 더 포함하고,
상기 그룹 오너가 결정되면, 상기 단말간 보안을 설정하는 단계 및 상기 통신을 수행하는 단계를 수행하는 것을 특징으로 하는 기기 간 직접 통신 방법.
3. The method of claim 2,
Further comprising the step of determining a group owner between terminals when the searched terminal is not a terminal that has previously communicated,
And if the group owner is determined, performing the step of setting the inter-terminal security and performing the communication.
제 3 항에 있어서,
상기 단말 사이의 그룹 오너를 결정하는 단계는,
Wi-Fi direct를 지원하는 단말을 상기 그룹 오너로 결정하는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method of claim 3,
Wherein the step of determining a group owner between the terminals comprises:
And a terminal supporting Wi-Fi direct is determined as the group owner.
제 1 항에 있어서,
상기 기 저장된 단말정보에서 후보단말이 있는지 판단하는 단계에서 상기 후보단말이 없는 경우,
상기 통신할 단말을 탐색하는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method according to claim 1,
If there is no candidate terminal in the step of determining whether there is a candidate terminal in the previously stored terminal information,
And searching for a terminal to be communicated.
제 1 항에 있어서,
상기 후보단말 중 통신할 단말을 결정하는 단계는,
상기 후보단말 중 통신 가능한 단말을 분류하는 단계; 및
상기 통신 가능한 단말로 분류된 후보단말이 복수인 경우, 단말의 위치 또는 신호의 세기를 이용하여 우선순위를 부여하여, 상기 우선순위에 따라 통신할 단말을 결정하는 단계를 포함하는 기기 간 직접 통신 방법.
The method according to claim 1,
Wherein the step of determining a terminal to communicate among the candidate terminals comprises:
Classifying the terminals capable of communicating among the candidate terminals; And
Determining a terminal to communicate according to the priority by assigning a priority to the candidate terminal using the position or signal strength of the terminal when the number of candidate terminals classified as the communicatable terminal is plural, .
제 6 항에 있어서,
상기 후보단말 중 통신 가능한 단말을 분류하는 단계는,
신호의 재전송을 위한 ACK 신호를 수신한 후보단말을 상기 통신 가능한 단말로 분류하거나, 또는 상기 후보단말의 P2P IE(Peer to Peer Information-Element)에 포함된 단말의 위치정보 및 수신 신호의 세기를 이용하여 상기 통신 가능한 단말로 분류하는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method according to claim 6,
Wherein the step of classifying the terminals capable of communicating among the candidate terminals comprises:
Classifies the candidate terminal that received the ACK signal for retransmission of the signal into the communicatable terminal or uses the position information of the terminal and the strength of the received signal included in the peer to peer information-element (P2P IE) of the candidate terminal And classifying the terminal into the communicatable terminal.
제 6 항에 있어서,
상기 우선순위는,
상기 단말의 위치가 가까운 순서대로 상기 우선순위를 부여하거나 또는 상기 신호의 세기가 높은 순서대로 상기 우선순위를 부여하는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method according to claim 6,
The priority order may be,
Wherein the priorities are given in order of the closest position of the terminals or the priority is assigned in descending order of the intensity of the signals.
제 1 항에 있어서,
상기 기 저장된 단말정보는,
통신 가능한 단말을 탐색하는 단계;
상기 통신할 단말의 결정에 이용되는 추가 단말정보를 상기 탐색된 단말에 송수신하는 단계; 및
상기 수신된 단말정보를 저장하는 단계에 의해 저장되는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method according to claim 1,
The pre-
Searching for a terminal capable of communication;
Transmitting / receiving additional terminal information used for the determination of the terminal to be communicated to the searched terminal; And
And storing the received terminal information in the step of storing the received terminal information.
제 1 항에 있어서,
상기 초대 요청 메시지를 송신하는 단계 전에,
상기 통신할 단말을 결정된 후보단말에 송신요구(RTS, request to send)를 전송하는 단계를 더 포함하고,
상기 통신할 단말을 결정된 후보단말로부터 송신가능(CTS, clear to send)를 수신한 경우에 상기 초대 요청 메시지를 송신하는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method according to claim 1,
Before sending the invitation request message,
Further comprising the step of transmitting a request for transmission (RTS, request to send) to the candidate terminal determined to be communicating with the terminal,
Wherein the invite request message is transmitted when the terminal to be communicated is received from a determined candidate terminal (CTS, clear to send).
제 1 항에 있어서,
상기 통신할 단말을 탐색할 지 또는 기 저장된 단말정보를 이용하여 단말을 선택할 지 결정하는 단계는,
상기 기 저장된 단말정보가 없는 최초 통신이거나 또는 새로운 단말을 탐색할 것으로 설정된 주기에 해당하는 경우 상기 통신할 단말을 탐색하는 것으로 결정하는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method according to claim 1,
Wherein the step of searching for a terminal to be communicated or determining whether to select a terminal using previously stored terminal information comprises:
Determining whether to search for a terminal to be communicated if it is an initial communication without the pre-stored terminal information or a period set to search for a new terminal.
제 1 항에 있어서,
상기 단말간 보안을 설정하는 단계는,
WPS(Wi-Fi Protected Setup)을 통해 상기 단말간 보안을 설정하는 것을 특징으로 하는 기기 간 직접 통신 방법.
The method according to claim 1,
The step of establishing the inter-
And establishing the inter-terminal security through Wi-Fi Protected Setup (WPS).
제 1 항 내지 제 12 항 중에 어느 한 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium storing a program for causing a computer to execute the method according to any one of claims 1 to 12. 단말정보를 저장하고 있는 저장부;
통신할 단말을 탐색하거나, 상기 저장부에 저장된 단말정보를 이용하여 통신할 단말을 선택할 지를 결정하고, 통신 가능한 단말로 분류된 후보단말에 단말의 위치 또는 신호의 세기를 이용하여 우선순위를 부여하여, 상기 우선순위에 따라 통신할 단말을 결정하는 제어부; 및
상기 통신 가능한 단말들과 상기 단말정보 및 신호를 송수신하는 통신부를 포함하고,
상기 제어부는,
신호의 재전송을 위한 ACK 신호를 수신한 후보단말을 상기 통신 가능한 단말로 분류하거나, 상기 후보단말의 P2P IE(Peer to Peer Information-Element)에 포함된 단말의 위치정보 및 수신 신호의 세기를 이용하여 상기 통신 가능한 단말로 분류하는 것을 특징으로 하는 통신 단말.
A storage unit for storing terminal information;
Determines whether to select a terminal to be communicated using the terminal information stored in the storage unit, assigns a priority to the candidate terminal classified as a communicable terminal by using the position of the terminal or the strength of the signal A controller for determining a terminal to communicate according to the priority; And
And a communication unit for transmitting and receiving the terminal information and the signal with the communicatable terminals,
Wherein,
Classifying the candidate terminal that received the ACK signal for retransmission of the signal into the communicatable terminal or using the strength of the received signal and the location information of the terminal included in the peer to peer information-element (P2P IE) of the candidate terminal And classifies the communication terminal into the communicatable terminal.
KR20130062697A 2013-05-31 2013-05-31 Device determination method for device to device communications KR101481150B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20130062697A KR101481150B1 (en) 2013-05-31 2013-05-31 Device determination method for device to device communications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20130062697A KR101481150B1 (en) 2013-05-31 2013-05-31 Device determination method for device to device communications

Publications (2)

Publication Number Publication Date
KR20140141210A KR20140141210A (en) 2014-12-10
KR101481150B1 true KR101481150B1 (en) 2015-01-14

Family

ID=52458793

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130062697A KR101481150B1 (en) 2013-05-31 2013-05-31 Device determination method for device to device communications

Country Status (1)

Country Link
KR (1) KR101481150B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107439040A (en) * 2015-04-08 2017-12-05 Lg 电子株式会社 The link terminal system of selection performed in a wireless communication system by terminal and the terminal using its method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110125756A (en) * 2010-05-14 2011-11-22 삼성전자주식회사 Method and system for providing wi-fi service of wi-fi device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110125756A (en) * 2010-05-14 2011-11-22 삼성전자주식회사 Method and system for providing wi-fi service of wi-fi device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUGHES SYSTIQUE, "Wi-Fi Direct", White Paper, 2013.5.7 *
HUGHES SYSTIQUE, "Wi-Fi Direct", White Paper, 2013.5.7*

Also Published As

Publication number Publication date
KR20140141210A (en) 2014-12-10

Similar Documents

Publication Publication Date Title
RU2693592C1 (en) Method, device and a computer program product for a service detection proxy session for wireless communication
JP5985774B2 (en) Direct link configuration through extended service set
US9042829B2 (en) Method, apparatus, and computer program product for wireless short-range communication
EP2587848B1 (en) Method, apparatus, and computer program product for discovery of wireless networks
WO2016161867A1 (en) Method and device for determining and using d2d relay node
AU2014260672B2 (en) Method and apparatus for performing wireless docking service
US9294883B2 (en) Method, apparatus, and computer program product for probe request and response exchange
EP2672764B1 (en) Method, apparatus, and computer program product for wireless short-range communication disconnection
US20130109314A1 (en) Method, apparatus, and computer program product for stopping reception of discovery responses in wireless networks
US20130316705A1 (en) Method, apparatus, and computer program product for efficient network discovery
JP6143941B2 (en) Wireless communication system and wireless communication device
KR102167933B1 (en) Method and apparatus for scanning access point in wileless system
WO2017209005A1 (en) User device and network device
US20230363058A1 (en) Communication apparatus, control method, and computer-readable storage medium
US20120147870A1 (en) method for communication between a wlan terminal and a human interface device
TWI680685B (en) Information processing device, communication system, information processing method and program
KR101481150B1 (en) Device determination method for device to device communications
KR101542922B1 (en) M2M topology based on parameters
US9380401B1 (en) Signaling schemes allowing discovery of network devices capable of operating in multiple network modes
WO2016147670A1 (en) Communication terminal in wireless communication network, communication control method, and communication system

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: 20180103

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190102

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20200106

Year of fee payment: 6