KR20140020179A - Apparatus and method for connecting service reflected in user intent - Google Patents

Apparatus and method for connecting service reflected in user intent Download PDF

Info

Publication number
KR20140020179A
KR20140020179A KR1020130035357A KR20130035357A KR20140020179A KR 20140020179 A KR20140020179 A KR 20140020179A KR 1020130035357 A KR1020130035357 A KR 1020130035357A KR 20130035357 A KR20130035357 A KR 20130035357A KR 20140020179 A KR20140020179 A KR 20140020179A
Authority
KR
South Korea
Prior art keywords
terminal
file
service
direct connection
counterpart terminal
Prior art date
Application number
KR1020130035357A
Other languages
Korean (ko)
Other versions
KR102037256B1 (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 JP2015526469A priority Critical patent/JP6282651B2/en
Priority to CN201380041960.6A priority patent/CN104521289B/en
Priority to PCT/KR2013/007172 priority patent/WO2014025217A1/en
Priority to EP13179789.6A priority patent/EP2696643B1/en
Priority to US13/962,432 priority patent/US9167615B2/en
Publication of KR20140020179A publication Critical patent/KR20140020179A/en
Priority to US14/918,143 priority patent/US9872323B2/en
Application granted granted Critical
Publication of KR102037256B1 publication Critical patent/KR102037256B1/en

Links

Images

Classifications

    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The present invention relates to an apparatus and method for connecting a service by reflecting the intention of a user. For this, the method according to the present invention includes the steps of: determining a file to be transmitted through a direct Wi-Fi connection; selecting a counterpart terminal to which the file is transmitted through a terminal discovery process; transmitting a first frame including attribute information about the file to the counterpart terminal before the direct Wi-Fi connection with the counterpart terminal; and receiving a second frame including information which shows that the direct Wi-Fi connection with the counterpart terminal is accepted or refused from the counterpart terminal. [Reference numerals] (702) Transmission terminal(Sender); (704) Receiving terminal(Receiver)

Description

사용자 의향을 반영한 서비스 연결 장치 및 방법{APPARATUS AND METHOD FOR CONNECTING SERVICE REFLECTED IN USER INTENT}Device and method for connecting service reflecting user's intention {APPARATUS AND METHOD FOR CONNECTING SERVICE REFLECTED IN USER INTENT}

본 발명은 와이파이(Wi-Fi) 통신에 대한 것으로서, 특히 와이파이 다이렉트 통신을 위한 서비스 연결을 제공하는 장치 및 방법에 대한 것이다.The present invention relates to Wi-Fi communication, and more particularly to an apparatus and method for providing a service connection for Wi-Fi Direct communication.

전형적인 와이파이 네트워크는 무선 액세스 포인트(Wireless Access Point)로 알려진 제어 장비들, 즉 기지국(base station) 또는 핫스팟(hot spot)에 근거하여 이루어진다. 무선 액세스 포인트들은 일반적으로 유선 및 무선 네트워크를 위한 물리적 지원, 네트워크 장비들 간 브리징(bridging) 및 라우팅(routing), 네트워크 장비들 간 접속 및 접속해제에 대한 서비스 공급 등을 제공한다.A typical Wi-Fi network is based on control equipment known as a wireless access point, i.e. base station or hot spot. Wireless access points generally provide physical support for wired and wireless networks, bridging and routing between network devices, providing services for connecting and disconnecting between network devices, and the like.

반면 와이파이 다이렉트란 와이파이를 지원하는 단말 간 접속을 지원하는 와이파이 액세스 포인트(Access Point)를 거치지 않고, 와이파이를 탑재한 단말 간에 직접적으로 통신을 수행하는 기술을 의미한다. 와이파이 단말은 단말 디스커버리(Deice Discovery)를 통해 상대 단말을 감지하고, 서비스 디스커버리(Service Discovery)를 통해 수행하고자 하는 서비스의 종류를 검색함으로써, 상대 단말과 와이파이 다이렉트 통신을 위한 접속을 설정할 수 있다.On the other hand, Wi-Fi Direct refers to a technology that directly communicates between Wi-Fi-enabled terminals without going through a Wi-Fi Access Point that supports connection between Wi-Fi-enabled terminals. The Wi-Fi terminal may establish a connection for Wi-Fi Direct communication with the counterpart terminal by detecting the counterpart terminal through the device discovery and searching for the type of service to be performed through the service discovery.

이상과 같이 종래의 와이파이 다이렉트 연결은 단말 디스커버리 후, 검색된 상대 단말에 대한 서비스 디스커버리를 통해 상대 단말이 파일 전송과 같은 특정 서비스를 지원하는 지를 판단할 수 있다. 이때 서비스 디스커버리는 상대 단말이 지원 가능한 서비스 종류에 대한 정보만을 획득하도록 지원한다. 따라서 송신 단말은 수신 단말이 지원하는 서비스 정보를 획득하더라도, 특정 파일을 수신 단말이 수신하고자 하는지에 대한 의향(intent)를 알 수 없었다.As described above, in the conventional Wi-Fi Direct connection, after the terminal discovery, it may be determined whether the counterpart terminal supports a specific service such as file transfer through service discovery for the found counterpart terminal. In this case, the service discovery supports the counterpart terminal to acquire only information on a service type that can be supported. Therefore, even if the transmitting terminal acquires the service information supported by the receiving terminal, it cannot know the intent of whether the receiving terminal wants to receive a specific file.

수신 단말은 송신 단말에게 기기 연결을 허락한 후에, 송신 단말이 전송하는 파일의 수신을 실제로 시작한 이후에야 상기 파일에 대한 정보(파일 이름, 파일 종류 등)를 알 수 있었다. 따라서 수신 단말이 상기 파일을 수신하기를 원하지 않는 경우, 송신 단말과 수신 단말간 와이파이 다이렉트의 링크 연결이 완료된 이후 파일을 실제로 전송하던 도중에 수신 단말이 파일의 수신을 취소하는 경우가 발생하였다. 이와 같이 종래의 와이파이 다이렉트 연결에서는 수신 단말의 사용자 의향이 고려되지 않았기 때문에, 송신 단말과 수신 단말에서 불필요한 연결이 이루어진다는 문제점이 발생하였다.After the receiving terminal allowed the connection terminal to connect the device, the receiving terminal could know the information (file name, file type, etc.) of the file only after actually receiving the file transmitted by the transmitting terminal. Therefore, when the receiving terminal does not want to receive the file, the receiving terminal cancels the reception of the file while actually transmitting the file after the link connection between the transmitting terminal and the receiving terminal is completed. As described above, since the user's intention of the receiving terminal is not considered in the conventional Wi-Fi direct connection, there is a problem that unnecessary connection is made between the transmitting terminal and the receiving terminal.

본 발명은 와이파이 다이렉트 연결 절차에서 수신 단말의 사용자 의향을 적용하는 방법 및 장치를 제공한다.The present invention provides a method and apparatus for applying a user's intention of a receiving terminal in a Wi-Fi direct connection procedure.

본 발명은 와이파이 다이렉트 연결시 송신 단말이 전송하고자 하는 파일에 대한 속성 정보를 수신 단말에게 전송하는 방법 및 장치를 제공한다.The present invention provides a method and apparatus for transmitting attribute information on a file to be transmitted by a transmitting terminal to a receiving terminal during a Wi-Fi Direct connection.

본 발명은 와이파이 다이렉트 연결 도중에 수신 단말의 사용자 의향을 송신 단말로 전송하는 방법 및 장치를 제공한다.The present invention provides a method and apparatus for transmitting a user's intention of a receiving terminal to a transmitting terminal during a Wi-Fi direct connection.

본 발명은 와이파이 다이렉트 연결시 수신 단말이 와이파이 다이렉트 연결의 설정을 거부할 수 있도록 하는 방법 및 장치를 제공한다.The present invention provides a method and apparatus for allowing a receiving terminal to refuse to establish a Wi-Fi Direct connection during a Wi-Fi Direct connection.

상술한 바를 달성하기 위한 본 발명의 일 실시예에 따른 방법은, 사용자 의향을 반영한 서비스 연결 방법에 있어서, 와이파이 다이렉트 연결을 통해 전송하고자 하는 파일을 결정하는 과정과, 단말 디스커버리 절차를 수행하여 상기 파일을 전송할 상대 단말을 선택하는 과정과, 상기 상대 단말과의 와이파이 다이렉트 연결 이전에, 상기 파일에 대한 속성 정보를 포함하는 제1 프레임을 상기 상대 단말에게 전송하는 과정과, 상기 상대 단말로부터 상기 상대 단말과의 와이파이 다이렉트 연결을 수락할지 혹은 거부할지를 나타내는 정보를 포함하는 제2 프레임을 수신하는 과정을 포함한다.The method according to an embodiment of the present invention for achieving the above-mentioned, in the service connection method reflecting the user's intention, determining the file to be transmitted through the Wi-Fi direct connection, and performing the terminal discovery procedure Selecting a counterpart terminal to transmit a message to, transmitting a first frame including attribute information about the file to the counterpart terminal before the Wi-Fi Direct connection with the counterpart terminal, and transmitting the first frame to the counterpart terminal from the counterpart terminal; And receiving a second frame including information indicating whether to accept or reject the Wi-Fi Direct connection with the network.

본 발명의 일 실시예에 따른 방법은, 사용자 의향을 반영한 서비스 연결 방법에 있어서, 단말 디스커버리 절차를 수행하여 와이파이 다이렉트 연결을 통해 파일을 전송하고자 하는 상대 단말을 선택하는 과정과, 상기 상대 단말과의 와이파이 다이렉트 연결 이전에, 상기 파일에 대한 속성 정보를 포함하는 제1 프레임을 상기 상대 단말로부터 수신하는 과정과, 사용자 입력에 따라 상기 상대 단말과의 와이파이 다이렉트 연결을 수락할지 혹은 거부할지를 나타내는 정보를 포함하는 제2 프레임을 상기 상대 단말로 전송하는 과정을 포함한다.The method according to an embodiment of the present invention, in the service connection method reflecting the user's intention, performing a terminal discovery procedure to select a counterpart terminal to transmit a file through a Wi-Fi direct connection, and Prior to the Wi-Fi Direct connection, receiving the first frame including the attribute information on the file from the counterpart terminal, and information indicating whether to accept or reject the Wi-Fi Direct connection with the counterpart terminal according to a user input. And transmitting the second frame to the counterpart terminal.

본 발명의 일 실시예에 따른 장치는, 사용자 의향을 반영한 서비스 연결을 수행하는 단말 장치에 있어서, 와이파이 다이렉트 연결을 통해 전송하고자 하는 파일을 결정하고, 단말 디스커버리 절차를 수행하여 상기 파일을 전송할 상대 단말을 선택하는 제어부와, 상기 상대 단말과의 와이파이 다이렉트 연결 이전에, 상기 파일에 대한 속성 정보를 포함하는 제1 프레임을 상기 상대 단말에게 전송하는 송신부와, 상기 상대 단말로부터 상기 상대 단말과의 와이파이 다이렉트 연결을 수락할지 혹은 거부할지를 나타내는 정보를 포함하는 제2 프레임을 수신하는 수신부를 포함한다.An apparatus according to an embodiment of the present invention, in a terminal device performing a service connection reflecting a user's intention, determines a file to be transmitted through a Wi-Fi direct connection, and performs a terminal discovery procedure to perform a counterpart terminal to transmit the file. A control unit for selecting a transmission unit, a transmitter for transmitting a first frame including attribute information about the file to the counterpart terminal before the Wi-Fi direct connection with the counterpart terminal, and a Wi-Fi direct from the counterpart terminal to the counterpart terminal. And a receiver for receiving a second frame including information indicating whether to accept or reject the connection.

본 발명의 일 실시예에 따른 장치는, 사용자 의향을 반영한 서비스 연결을 수행하는 단말 장치에 있어서, 단말 디스커버리 절차를 수행하여 와이파이 다이렉트 연결을 통해 파일을 전송하고자 하는 상대 단말을 선택하는 제어부와, 상기 상대 단말과의 와이파이 다이렉트 연결 이전에, 상기 파일에 대한 속성 정보를 포함하는 제1 프레임을 상기 상대 단말로부터 수신하는 수신부와, 사용자 입력에 따라 상기 상대 단말과의 와이파이 다이렉트 연결을 수락할지 혹은 거부할지를 나타내는 정보를 포함하는 제2 프레임을 상기 상대 단말로 전송하는 송신부를 포함한다.An apparatus according to an embodiment of the present invention, in a terminal device for performing a service connection reflecting the user's intention, performing a terminal discovery procedure to select a counterpart terminal to transmit a file over a Wi-Fi direct connection, and Prior to the Wi-Fi Direct connection with the opposite terminal, whether to accept or reject the Wi-Fi Direct connection with the receiving terminal receiving the first frame including attribute information on the file from the opposite terminal and the counterpart terminal according to a user input. And a transmitting unit for transmitting the second frame including the indicated information to the counterpart terminal.

도 1은 본 발명의 일 실시예에 따른 와이파이 다이렉트 연결이 적용될 수 있는 시스템 구조의 일 예를 나타낸 것이다.
도 2는 본 발명의 일 실시예에 따른 와이파이 단말의 구성을 개략적으로 도시한 것이다.
도 3은 본 발명의 일 실시예에 따른 송신 단말과 수신 단말의 구조를 도시한 블록도이다.
도 4는 본 발명의 일 실시예에 따른 와이파이 다이렉트 연결을 통한 파일 전송 절차를 나타낸 흐름도이다.
도 5는 본 발명의 일 실시예에 따른 송신 단말과 수신 단말 간의 신호 흐름도,
도 6은 본 발명의 일 실시예에 따른 송신 단말과 수신 단말 간의 파일 속성 정보의 전달 절차를 상세히 나타낸 신호 흐름도이다.
도 7은 본 발명의 다른 실시예에 따른 파일 속성 정보의 전달 절차를 나타낸 신호 흐름도이다.
도 8은 본 발명의 일 실시예에 따른 송신 단말의 동작을 나타낸 흐름도이다.
도 9는 본 발명의 일 실시예에 따른 수신 단말의 동작을 나타낸 흐름도이다.
도 10은 본 발명의 일 실시예에 따른 수신 단말의 사용자 의향을 문의하는 화면을 나타낸 것이다.
도 11은 본 발명의 일 실시예에 따른 와이파이 다이렉트 서비스를 위한 프레임워크를 도시한 것이다.
도 12(도 12a 내지 도 12c를 포함함)는 본 발명의 일 실시예에 따른 와이파이 다이렉트 연결을 통한 파일 전송 서비스의 절차를 나타낸 것이다.
1 illustrates an example of a system structure to which a Wi-Fi Direct connection may be applied according to an embodiment of the present invention.
Figure 2 schematically shows the configuration of a Wi-Fi terminal according to an embodiment of the present invention.
3 is a block diagram showing the structure of a transmitting terminal and a receiving terminal according to an embodiment of the present invention.
4 is a flowchart illustrating a file transfer procedure through a Wi-Fi Direct connection according to an embodiment of the present invention.
5 is a signal flow diagram between a transmitting terminal and a receiving terminal according to an embodiment of the present invention;
6 is a signal flow diagram illustrating in detail a procedure for transferring file attribute information between a transmitting terminal and a receiving terminal according to an embodiment of the present invention.
7 is a signal flow diagram illustrating a transfer procedure of file attribute information according to another embodiment of the present invention.
8 is a flowchart illustrating the operation of a transmitting terminal according to an embodiment of the present invention.
9 is a flowchart illustrating the operation of a receiving terminal according to an embodiment of the present invention.
10 illustrates a screen for asking a user's intention of a receiving terminal according to an embodiment of the present invention.
11 illustrates a framework for Wi-Fi Direct service according to an embodiment of the present invention.
12 (including FIGS. 12A to 12C) illustrates a file transfer service procedure through a Wi-Fi Direct connection according to an embodiment of the present invention.

이하 본 발명의 바람직한 실시 예를 첨부된 도면을 참조하여 상세히 설명한다. 그리고, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The following terms are defined in consideration of the functions of the present invention, and these may be changed according to the intention of the user, the operator, or the like. Therefore, the definition should be based on the contents throughout this specification.

후술되는 본 발명의 실시예는 와이파이 다이렉트 통신을 위한 연결의 설정시 수신 단말의 사용자 의향을 확인하는 절차를 수행함으로써, 전송하고자 하는 파일의 파일정보 요약(Note), 전체 사이즈, 파일 개수, 파일 아이템 정보 등과 같은 메타데이터(Metadata) 정보를 송신 단말로부터 수신 단말로 전달한다. 수신 단말은 송신 단말로부터 제공된 메타데이터 정보를 사용자에게 제공하고, 그에 따른 사용자 의향을 담은 사용자 입력을 감지하며, 사용자 의향에 대한 정보를 송신 단말에게 응답할 수 있다.
An embodiment of the present invention to be described later, by performing a procedure for confirming the user's intention of the receiving terminal when establishing a connection for Wi-Fi direct communication, file information summary, total size, number of files, file item of the file to be transmitted Metadata information such as information is transmitted from the transmitting terminal to the receiving terminal. The receiving terminal may provide metadata information provided from the transmitting terminal to the user, detect a user input containing the user's intention, and respond to the transmitting terminal with information about the user's intention.

도 1은 본 발명의 일 실시예에 따른 와이파이 다이렉트 연결이 적용될 수 있는 시스템 구조의 일 예를 나타낸 것이다. 1 illustrates an example of a system structure to which a Wi-Fi Direct connection may be applied according to an embodiment of the present invention.

도 1을 참조하면, 송신기(Sender) 및 서비스 탐색자(Service Seeker)의 역할을 담당할 수 있는 와이파이 단말인 송신 단말(110)와, 수신기 및 서비스 광고자(Service Advertiser)의 역할을 담당할 수 있는 와이파이 단말인 수신 단말(120)이 도시되어 있다. 본 명세서에서 송신 단말과 수신 단말은 설명을 위하여 편의상 명명된 것이다. 수신 단말(120)은 하나 혹은 다수의 와이파이 단말들이 될 수 있다. 예를 들어, 송신 단말(110) 및 수신 단말(120)은 와이파이 모듈이 내장된 전자기기로서, 다양한 통신 시스템들에 대응되는 통신 프로토콜들(communication protocols) 중 적어도 하나에 근거하여 동작하는 이동통신 단말기(mobile communication terminal), 스마트폰, PMP(Portable Multimedia Player), 디지털방송 플레이어, PDA(Personal Digital Assistant), 음악재생 플레이어, 디스플레이 장치, 휴대게임기, 프린터, 카메라 등 다양한 전자기기가 될 수 있다. 또한 송신 및 수신 단말(110,120)은 텔레비전(Television: TV), LFD(Large Format Display), DS(Digital Signage), 미디어 폴(media pole), 퍼스널 컴퓨터(PC, Personal Computer), 노트북(Notebook), 프린터, 및 복합기 등의 중대형 단말에 포함되어 운용될 수 있다. Referring to FIG. 1, a transmitting terminal 110, which is a Wi-Fi terminal capable of serving as a transmitter and a service seeker, and a receiver and a service advertiser, may serve as a receiver. A receiving terminal 120 that is a Wi-Fi terminal is shown. In this specification, the transmitting terminal and the receiving terminal are named for convenience. The receiving terminal 120 may be one or a plurality of Wi-Fi terminals. For example, the transmitting terminal 110 and the receiving terminal 120 are electronic devices with a built-in Wi-Fi module, and operate based on at least one of communication protocols corresponding to various communication systems. (mobile communication terminal), smart phone, portable multimedia player (PMP), digital broadcasting player, personal digital assistant (PDA), music player, display device, a portable game machine, a printer, a camera can be a variety of electronic devices. In addition, the transmission and reception terminals 110 and 120 may include a television (TV), a large format display (LFD), a digital signage (DS), a media pole, a personal computer (PC), a notebook (Notebook), It can be included and operated in a medium-to-large terminal such as a printer and a multifunction device.

와이파이 기반의 시스템은 송신 단말(110)과 수신단말(120) 간에 와이파이 다이렉트(Wi-Fi Direct) 기능을 지원하고, 다이렉트 접속(Direct Access: DA) 모드로 상호 간에 와이파이 연결을 수립할 수 있다. 즉, 도 1은 와이파이 다이렉트 방식을 통해 와이파이 단말들(110, 120) 간에 연결이 설정되는 구조를 나타낸 것이다. 이러한 시스템에서 근거리에 위치한 와이파이 단말들(110, 120)은 액세스 포인트(AP)를 통하지 않고, 내장된(혹은 주변장치로서 접속된) 와이파이 모듈을 이용하여 직접적으로 상호간에 와이파이 연결을 수립할 수 있다.The Wi-Fi-based system may support a Wi-Fi Direct function between the transmitting terminal 110 and the receiving terminal 120 and establish a Wi-Fi connection with each other in a direct access (DA) mode. That is, FIG. 1 illustrates a structure in which a connection is established between Wi-Fi terminals 110 and 120 through a Wi-Fi direct method. In such a system, nearby Wi-Fi terminals 110 and 120 may establish a Wi-Fi connection with each other directly by using a built-in Wi-Fi module (or connected as a peripheral device), rather than through an access point (AP). .

와이파이 단말들(110, 120)은 자신들이 지원하는 기능에 대한 지원 정보를 상호 전달할 수 있다. 예를 들어, 송신 단말(100)에서 사용자가 와이파이 서비스 기반의 어플리케이션을 실행할 시 송신 단말(110)은 수신 단말(200)에서 전달된 지원 정보를 식별한다. 그리고 송신 단말(110)은 상기 지원 정보를 참조하여 소정 선별 조건에 따라, 일 예로서 송신 단말(100)과 동일한 제조사의 수신 단말(들)을 우선적으로 선별할 수 있다. 다수의 수신 단말들이 우선적으로 선별된 경우, 선별된 수신 단말들 중 송신 단말(110)에서 실행된 어플리케이션에 따른 와이파이 서비스를 지원할 수 있는 단말이 2차적으로 선별될 수 있다. 2차적으로 다수의 수신 단말들이 선별된 경우, 선별된 수신 단말들의 신호 품질 정보, 일 예로서 수신 신호 세기 등에 따라 와이파이 서비스를 위한 최적의 수신 단말이 결정될 수 있다. 송신 단말(110)은 최종적으로 결정된 수신 단말(120)에게 상기 실행된 어플리케이션에 대한 정보를 전달하여, 그에 관련된 어플리케이션의 실행을 수신 단말(120)에게 지시할 수 있다. The Wi-Fi terminals 110 and 120 may mutually transmit support information about a function they support. For example, when a user executes an application based on a Wi-Fi service in the transmitting terminal 100, the transmitting terminal 110 identifies support information transmitted from the receiving terminal 200. In addition, the transmission terminal 110 may preferentially select reception terminal (s) of the same manufacturer as the transmission terminal 100 according to a predetermined selection condition with reference to the support information. When a plurality of receiving terminals are preferentially selected, a terminal capable of supporting a Wi-Fi service according to an application executed in the transmitting terminal 110 among the selected receiving terminals may be secondarily selected. Secondarily, when a plurality of receiving terminals are selected, an optimal receiving terminal for the Wi-Fi service may be determined according to signal quality information of the selected receiving terminals, for example, received signal strength. The transmitting terminal 110 may deliver information about the executed application to the receiving terminal 120 finally determined, and instruct the receiving terminal 120 to execute an application related thereto.

한편, 도 1에서는 와이파이 단말들(110, 120) 간에 와이파이 다이렉트 방식으로 상호 연결되는 시스템 구성을 도시하였으나, 후술되는 본 발명의 실시예들은 와이파이 단말들(110, 120)이 반드시 와이파이 다이렉트에 의해 연결되는 경우에만 적용되는 것은 아니다. 즉, 후술되는 본 발명의 실시예들은, 와이파이 단말들(110, 120)이 무선 랜(WLAN, Wireless Local Area Network)을 이용하는 경우와, AP를 통하여 상호간에 연결되는 경우에도 적용될 수 있다.Meanwhile, although FIG. 1 illustrates a system configuration in which Wi-Fi terminals 110 and 120 are interconnected in a Wi-Fi direct manner, embodiments of the present invention to be described below are connected to Wi-Fi terminals 110 and 120 by Wi-Fi Direct. It does not apply only if That is, embodiments of the present invention to be described later may be applied to the case where the Wi-Fi terminals 110 and 120 use a wireless local area network (WLAN) and are connected to each other through an AP.

도 2는 본 발명의 일 실시예에 따른 와이파이 단말의 구성을 개략적으로 도시한 것이다. 도시한 와이파이 단말의 구성은 앞서 설명한 바와 같은 송신 단말(110)와 수신 단말(120)에 공통적으로 적용될 수 있다.Figure 2 schematically shows the configuration of a Wi-Fi terminal according to an embodiment of the present invention. The illustrated Wi-Fi terminal may be commonly applied to the transmitting terminal 110 and the receiving terminal 120 as described above.

도 2를 참조하면, 와이파이 단말(200)은 와이파이 모듈(210)과 사용자 인터페이스(User Interface: UI)(220)와 저장부(230) 및 제어부(240)를 포함하여 구성된다. 이 밖에도 와이파이 단말은 그 형태에 따라 다양한 구성요소들을 포함할 수 있다. 예를 들어, 와이파이 단말은 화면 표시를 위한 표시부, 이동통신 기능을 수행하기 위한 무선주파수(Radio Frequency: RF) 모듈과, 마이크(Microphone: MIC)와 스피커(Speaker: SPK)를 구비하는 오디오 처리부와, 사진 촬영 기능을 위한 카메라 모듈과, 디지털방송 모듈, 블루투스(BLUETOOTH) 통신 기능을 수행하기 위한 블루투스 통신 모듈 중 적어도 하나의 구성을 더 포함할 수 있으나, 그들에 대한 설명과 도시는 생략할 것이다.Referring to FIG. 2, the Wi-Fi terminal 200 includes a Wi-Fi module 210, a user interface (UI) 220, a storage 230, and a controller 240. In addition, the Wi-Fi terminal may include various components according to its form. For example, the Wi-Fi terminal may include an audio processing unit including a display unit for displaying a screen, a radio frequency (RF) module for performing a mobile communication function, a microphone (MIC), and a speaker (SPK); At least one of a camera module for photographing function, a digital broadcasting module, and a Bluetooth communication module for performing a Bluetooth communication function may be further included, but a description and illustration thereof will be omitted.

와이파이 모듈(210)은 와이파이 단말을 위한 인터넷 프로토콜(Internet Protocol: IP) 기반의 무선 통신을 지원한다. 와이파이 모듈(210)은 AP 모듈(212)과 단말(Station: STA) 모듈(214) 중 적어도 하나를 포함하여 구성된다. 와이파이 모듈(210)은 제어부(240)의 제어에 따라 AP 모듈(212)을 웨이크-업(wake-up) 하여 AP 모드로 동작하거나, STA 모듈(214)을 웨이크-업하여 비-AP(non-AP) 모드(즉, STA 모드)로 동작할 수 있다. 비-AP 모드(즉 STA 모드)는 와이파이 단말이 와이파이 기반의 서비스를 제공함에 있어서 단말 측 기능에 따라 동작을 수행하는 모드를 나타낸다. 예를 들어, 비-AP 모드는, 도 1에서 설명한 바와 같은 송신 단말(110)로서 동작하는 모드를 나타낼 수 있다. 또한 AP 모드는 와이파이 단말이 와이파이 기반의 서비스를 제공함에 있어서 AP 측 기능에 따라 동작을 수행하는 모드를 나타낸다. The Wi-Fi module 210 supports wireless communication based on an Internet Protocol (IP) for a Wi-Fi terminal. The Wi-Fi module 210 includes at least one of an AP module 212 and a station (STA) module 214. The Wi-Fi module 210 wakes up the AP module 212 under the control of the controller 240 to operate in the AP mode, or wakes up the STA module 214 to non-AP. -AP) mode (that is, STA mode). The non-AP mode (ie, STA mode) indicates a mode in which a Wi-Fi terminal performs an operation according to a terminal side function in providing a Wi-Fi based service. For example, the non-AP mode may indicate a mode operating as the transmitting terminal 110 as described with reference to FIG. 1. In addition, the AP mode indicates a mode in which a Wi-Fi terminal performs an operation according to an AP side function in providing a Wi-Fi based service.

와이파이 단말이 송신기로서 동작할 때, 와이파이 모듈(210)은 상대 단말과의 와이파이 다이렉트 연결 절차시 제어부(240)의 제어에 따라 전송하고자 하는 파일에 대한 속성(Attribute) 정보에 대한 송신을 처리한다. 상기 속성 정보는 와이파이 단말들 간의 접속(connectivity) 이전에 서비스 정보를 교환하기 위해 사용된다. 속성 정보는 서비스 세션의 유입(incoming)을 수락할지 혹은 거부할지에 대한 사전정보(hint)를 상대 단말에게 제공하기 위해 사용될 수 있다. 일 예로서 적어도 하나의 파일 혹은 컨텐트의 전송 서비스(Send service)인 경우, 상기 속성 정보는 파일(들)에 대한 요약, 전체 사이즈, 파일들의 개수, 파일(들)의 이름 중 적어도 하나를 포함할 수 있다.When the Wi-Fi terminal operates as a transmitter, the Wi-Fi module 210 processes transmission of attribute information on a file to be transmitted under the control of the controller 240 in the Wi-Fi Direct connection procedure with the counterpart terminal. The attribute information is used to exchange service information before connectivity between Wi-Fi terminals. The attribute information may be used to provide the counterpart terminal with hints as to whether to accept or reject an incoming service session. As an example, in the case of a Send service of at least one file or content, the attribute information may include at least one of a summary of the file (s), the total size, the number of files, and the name of the file (s). Can be.

와이파이 단말이 수신기로서 동작할 때, 와이파이 모듈(210)은 상대 단말과의 와이파이 다이렉트 연결 절차시 상대 단말로부터 전송하고자 하는 파일에 대한 속성 정보를 수신하여 제어부(240)로 전달한다. 제어부(240)는 상기 속성 정보를 사용자에게 제공하고, 사용자가 상기 속성 정보에 대응하는 적어도 하나의 파일들을 수신할 의향이 있는지를 사용자에게 문의한다. When the Wi-Fi terminal operates as a receiver, the Wi-Fi module 210 receives attribute information on a file to be transmitted from the counterpart terminal in the Wi-Fi Direct connection procedure with the counterpart terminal and transmits it to the controller 240. The controller 240 provides the attribute information to the user and inquires of the user whether the user is willing to receive at least one file corresponding to the attribute information.

사용자 인터페이스(220)는 사용자의 조작 행위를 감지하고 그에 따른 입력신호를 생성하여 제어부(240)로 전달하며, 제어부(240)의 제어 하에 사용자에게 보여질 정보를 디스플레이 혹은 출력한다. 이를 위해 사용자 인터페이스(220)는 적어도 하나의 논리적 혹은 물리적 버튼들, 디스플레이, 터치 스크린, 사용자 제스처의 감지 모듈, 스피커, 마이크 중 적어도 하나를 포함하여 구성될 수 있다. 특히 사용자 인터페이스(220)는 와이파이 기반의 서비스 이용을 위한 와이파이 기능 실행, 예를 들어, 와이파이 단말들 간 연결 설정을 위한 개시, 전송하고자 하는 파일의 선택, 파일 전송의 수락 혹은 거부와 관련된 사용자 입력 신호를 생성하는 하나 이상의 입력 수단을 구비할 수 있다. 또한 사용자 인터페이스(220)는 수신될 파일에 대한 정보를 표시하는 출력 수단을 구비할 수 있다.The user interface 220 detects a user's manipulation behavior, generates an input signal, transmits the generated input signal to the controller 240, and displays or outputs information to be displayed to the user under the control of the controller 240. To this end, the user interface 220 may include at least one of at least one logical or physical button, a display, a touch screen, a sensing module of a user gesture, a speaker, and a microphone. In particular, the user interface 220 is a user input signal associated with executing a Wi-Fi function for using a Wi-Fi-based service, for example, starting to establish a connection between Wi-Fi terminals, selecting a file to be transmitted, and accepting or rejecting a file transfer. It may be provided with one or more input means for generating a. The user interface 220 may also have output means for displaying information about the file to be received.

저장부(230)는 와이파이 단말에서 실행되고 처리되는 각종 프로그램 코드와 데이터를 저장하며, 하나 이상의 휘발성 메모리 소자 및/또는 비휘발성 메모리 소자로 구성될 수 있다. 예를 들어, 저장부(230)는 와이파이 단말의 운영체제, 와이파이 모듈(210)을 통해 교환되는 정보와 데이터, 전송하고자 하는 적어도 하나의 파일, 상기 파일에 대한 정보 등을 지속적으로 또는 일시적으로 저장할 수 있다. The storage unit 230 stores various program codes and data that are executed and processed in the Wi-Fi terminal, and may include one or more volatile memory devices and / or nonvolatile memory devices. For example, the storage unit 230 may continuously or temporarily store information and data exchanged through the operating system of the Wi-Fi terminal, the Wi-Fi module 210, at least one file to be transmitted, and information about the file. have.

제어부(240)는 와이파이 단말의 전반적인 동작을 제어한다. 제어부(240)는 와이파이 단말의 와이파이 기반 서비스를 제공하기 위한 기능 운용과 관련된 동작을 제어할 수 있다. 그리고 제어부(240)는 와이파이 단말의 파일 전송 서비스와 관련된 동작을 제어할 수 있다. 구체적으로 제어부(240)는 전송하고자 하는 파일에 대한 속성 정보를 상기 파일 자체 및/또는 사용자 입력을 기반으로 생성하거나 혹은 저장부(230)로부터 독출하며, 상기 속성 정보를 상대 단말로 전송하도록 와이파이 모듈(210)을 제어할 수 있다. 또한 제어부(240)는 상대 단말로부터 전송될 파일에 대한 속성 정보를 수신하여 해석하고, 상기 속성 정보를 사용자 인터페이스(220)를 통해 출력하며, 사용자의 의향에 대한 정보를 사용자 인터페이스(220)를 통해 입력받을 수 있다. 추가적으로 제어부(240)는 사용자가 파일 전송을 수락하지 않는 경우, 와이파이 모듈(210)에게 상대 단말과의 와이파이 다이렉트 연결을 중단하도록 지시할 수 있다. The controller 240 controls the overall operation of the Wi-Fi terminal. The controller 240 may control an operation related to a function operation for providing a Wi-Fi-based service of the Wi-Fi terminal. The controller 240 may control an operation related to a file transfer service of the Wi-Fi terminal. In more detail, the controller 240 generates the attribute information on the file to be transmitted based on the file itself and / or a user input or reads from the storage 230, and transmits the attribute information to the counterpart terminal. 210 can be controlled. In addition, the control unit 240 receives and interprets the attribute information on the file to be transmitted from the counterpart terminal, outputs the attribute information through the user interface 220, and outputs information on the user's intention through the user interface 220. Can be input. In addition, if the user does not accept the file transfer, the control unit 240 may instruct the Wi-Fi module 210 to stop the Wi-Fi Direct connection with the counterpart terminal.

본 발명의 실시예들에 따른 제어부(240)의 동작에 대한 상세한 설명은 후술될 것이다. 그 밖에도 제어부(240)는 와이파이 단말의 통상적인 기능과 관련된 각종 제어 동작을 수행한다. 예를 들어, 제어부(240)는 이동통신 네트워크를 이용하는 통신 기능의 어플리케이션 실행 시 그에 따른 통신 기능 운용을 제어할 수 있다. 또한 제어부(240)는 통신 기능의 어플리케이션 실행 시 그에 따른 통신 기능 운용을 제어할 수 있다.A detailed description of the operation of the control unit 240 according to embodiments of the present invention will be described later. In addition, the control unit 240 performs various control operations related to the normal functions of the Wi-Fi terminal. For example, the controller 240 may control the operation of the communication function when the application of the communication function using the mobile communication network is executed. In addition, the controller 240 may control the operation of the communication function according to the execution of the application of the communication function.

도 3은 본 발명의 일 실시예에 따른 송신 단말과 수신 단말의 구조를 도시한 블록도이다.3 is a block diagram showing the structure of a transmitting terminal and a receiving terminal according to an embodiment of the present invention.

도 3을 참조하면, 송신 단말(310)의 송신부(312)는, 수신 단말(310)과의 와이파이 다이렉트 연결 절차 도중에, 송신 단말이 전송하고자 하는 파일에 대한 속성 정보를 소정 메시지 혹은 프레임에 실어 수신 단말(320)에게 전달한다. 송신 단말(310)이 전송하고자 하는 파일의 속성 정보는, 와이파이 다이렉트 서비스를 위해 사용 가능한 메시지들, 일 예로 GAS(Generic Advertisement Service) 프로토콜에 기반한 GAS 초기 요청 명령 프레임(Initial Request Action frame), 혹은 P2P(Peer-to-Peer) 공개 명령 프레임(Public Action frame)에 포함되어 수신 단말(320)에게로 전송될 수 있다.Referring to FIG. 3, the transmitting unit 312 of the transmitting terminal 310 receives attribute information on a file to be transmitted by a transmitting terminal in a predetermined message or frame during a Wi-Fi Direct connection procedure with the receiving terminal 310. Transfer to the terminal 320. The attribute information of the file to be transmitted by the transmitting terminal 310 may be messages that can be used for the Wi-Fi Direct service, for example, a GAS Initial Request Action frame based on the GAS (Generic Advertisement Service) protocol, or P2P. A peer-to-peer may be included in a public action frame and transmitted to the receiving terminal 320.

송신 단말(310)의 수신부(314)는 수신 단말로부터 수신 단말(320)의 사용자가 파일 전송을 수락하는지 혹은 거부하는지에 대한 사용자 의향 정보를 수신한다. 상기 사용자 의향 정보는, 일 예로 GAS 프로토콜에 기반한 GAS 초기 요청 명령 프레임, 혹은 P2P 공개 명령 프레임에 포함되어 전송될 수 있다.The receiving unit 314 of the transmitting terminal 310 receives from the receiving terminal user intention information about whether the user of the receiving terminal 320 accepts or rejects the file transfer. The user intention information may be transmitted, for example, included in a GAS initial request command frame or a P2P public command frame based on the GAS protocol.

송신 단말(310)의 제어부(316)은 수신부(314)가 수신 단말(320)로부터 수신한 사용자 의향 정보에 기초하여 수신 단말(320)과의 와이파이 다이렉트 연결을 계속하여 진행할 것인지 혹은 중단할 것인지를 결정한다.The control unit 316 of the transmitting terminal 310 determines whether the receiving unit 314 will continue or stop the Wi-Fi Direct connection with the receiving terminal 320 based on the user intention information received from the receiving terminal 320. Decide

수신 단말(320)의 수신부(324)는 송신 단말(310)으로부터, 송신 단말(310)이 전송하고자 하는 파일에 관련된 속성 정보를 수신한다. 수신 단말(320)의 송신부(322)는 제어부(326)의 제어하에, 수신 단말(320)의 사용자가 파일 전송을 수락할 것인지 혹은 거부할 것인지를 나타내는 사용자 의향 정보를 송신 단말(310)에게 송신한다. 수신 단말(320)의 제어부(326)은 송신 단말(310)로부터 수신한 속성 정보에 기초하여 송신 단말(310)로부터의 전송 서비스를 수락할 것인지의 여부를 사용자에게 문의하고, 그 결과에 따라 사용자 의향 정보를 생성하여 송신부(322)로 제공한다.The receiving unit 324 of the receiving terminal 320 receives, from the transmitting terminal 310, attribute information related to a file to be transmitted by the transmitting terminal 310. Under the control of the control unit 326, the transmitting unit 322 of the receiving terminal 320 transmits to the transmitting terminal 310 user intention information indicating whether the user of the receiving terminal 320 accepts or rejects the file transfer. do. The control unit 326 of the receiving terminal 320 inquires of the user whether or not to accept the transmission service from the transmitting terminal 310 based on the attribute information received from the transmitting terminal 310, and the user according to the result. The intention information is generated and provided to the transmitter 322.

수신 단말(320)의 제어부(326)은 상기 생성한 사용자 의향 정보에 기초하여 송신 단말(310)과의 와이파이 다이렉트 연결의 설정을 계속하여 진행할 것인지 혹은 중단할 것인지를 결정할 수 있다.The controller 326 of the receiving terminal 320 may determine whether to continue or stop the establishment of the Wi-Fi Direct connection with the transmitting terminal 310 based on the generated user intention information.

도 4는 본 발명의 일 실시예에 따른 와이파이 다이렉트 연결을 통한 파일 전송 절차를 나타낸 흐름도이다.4 is a flowchart illustrating a file transfer procedure through a Wi-Fi Direct connection according to an embodiment of the present invention.

도 4를 참조하면, 과정 405에서 송신 단말은 전송하고자 하는 적어도 하나의 파일을 결정하고, 과정 410에서 단말 디스커버리 절차를 통해 와이파이 통신이 가능한 상대 단말, 즉 수신 단말을 검색한다. 상대 단말이 검색되면, 과정 415에서 송신 단말은 서비스 디스커버리를 통해 수신 단말과 연결할 서비스의 종류, 일 예로 와이파이 다이렉트 서비스를 결정하고, 과정 420에서 상기 파일을 전송할 수신 단말을 결정한 후, 과정 425에서 수신 단말에게 상기 파일에 대한 속성 정보를 전달하여 상기 파일을 수신할 의향이 있는지를 문의한다. 수신 단말이 상기 파일을 수신할 의향이 있음을 응답한 경우, 과정 430,435,440에서 송신 단말은 그룹 형성(Group Formation), 인증(Authentication) 및 연결(Association)를 진행하여 와이파이 다이렉트 연결을 수립한 후, 과정 445에서 상기 와이파이 다이렉트 연결 상에서 파일 전송 서비스 세션을 설정하고 상기 파일 전송 서비스 세션을 통해 상기 파일을 전송한다.Referring to FIG. 4, in step 405, the transmitting terminal determines at least one file to be transmitted and searches for a counterpart terminal, that is, a receiving terminal capable of Wi-Fi communication, through a terminal discovery procedure in step 410. When the counterpart terminal is found, the transmitting terminal determines the type of service to be connected with the receiving terminal through the service discovery, for example, a Wi-Fi Direct service, and in step 420 determines the receiving terminal to transmit the file. It transmits the attribute information about the file to the terminal to inquire whether it is willing to receive the file. When the receiving terminal responds that it is willing to receive the file, in step 430, 435, 440, the transmitting terminal establishes a Wi-Fi direct connection by performing group formation, authentication, and association. A file transfer service session is established at 445 on the Wi-Fi Direct connection and the file is transferred via the file transfer service session.

도 5는 본 발명의 일 실시예에 따른 송신 단말과 수신 단말 간의 신호 흐름도이다.5 is a signal flow diagram between a transmitting terminal and a receiving terminal according to an embodiment of the present invention.

도 5를 참조하면, 과정 510에서 송신 단말(502)은 전송할 적어도 하나의 파일을 결정하며,(Determine files) 과정 515에서 상기 파일을 수신할 수 있는 적어도 하나의 수신 단말(504)을 검색한다.(Device Discovery) 과정 520에서 송신 단말(502)은 적어도 하나의 수신 단말(504)과의 사이에 서비스 디스커버리를 수행하고,(Service Discovery) 과정 525에서 상기 파일을 전송하고자 하는 적어도 하나의 수신 단말(504)을 결정한다. (Determine Receiver) Referring to FIG. 5, in step 510, the transmitting terminal 502 determines at least one file to transmit, and searches for at least one receiving terminal 504 capable of receiving the file in step 515. In operation 520, the transmitting terminal 502 performs service discovery with at least one receiving terminal 504, and at least one receiving terminal to transmit the file in the process 525. 504). (Determine Receiver)

과정 530에서 송신 단말(502)은 수신 단말(504)과의 사이에 서비스 제휴를 통해 수신 단말(504)에게 상기 파일에 대한 속성 정보를 전달함으로써 수신 단말(504)이 상기 파일을 수신할 의향이 있는지를 확인한다. (Service Association) 수신 단말(504)이 상기 파일을 수신할 의향이 있음을 응답한 경우, 혹은 수신 단말(504)로부터 응답 없이 타임아웃이 발생된 경우, 송신 단말(502)은 과정 535에서 적어도 하나의 수신 단말(504)에 대한 그룹 형성을 수행하고,(Group Formation) 과정 540에서 그룹 내의 수신 단말(504)에 대한 인증을 수행하며, (Authentication) 과정 545에서 제휴를 통해 수신 단말(504)과의 연결을 설정한다. (Association) In step 530, the transmitting terminal 502 transmits the attribute information about the file to the receiving terminal 504 through a service alliance with the receiving terminal 504 so that the receiving terminal 504 receives the file. Check if it is. (Service Association) When the reception terminal 504 responds that it is willing to receive the file, or when a timeout occurs without a response from the reception terminal 504, the transmission terminal 502 includes at least one in step 535. Group formation for the receiving terminal 504 of the (Group Formation), and the authentication of the receiving terminal 504 in the group in step 540, (Authentication) in step 545 through the association with the receiving terminal 504 Set up the connection. (Association)

그러면 과정 550에서 상기 설정된 연결을 통해, 송신 단말(5020)로부터 수신 단말(504)로 파일이 전송된다. (File Transfer)Then, the file is transmitted from the transmitting terminal 5020 to the receiving terminal 504 through the established connection in step 550. (File Transfer)

이상과 같이 송신 단말(502)은 서비스 디스커버리를 통해 확인된 단말 중 파일을 전송하고자 하는 단말(504)을 선택하여, 전송하고자 하는 파일에 대한 속성 정보를 담은 메시지를 전송한다. 수신 단말(504)은 송신 단말(502)이 전송할 예정인 파일에 대한 사전정보를 미리 획득하여, 사용자의 수신 의향이 포함된 메시지를 전송한다. 그러면, 상기 수신 의향에 따라 송신 단말은 Wi-Fi 다이렉트 연결을 계속할 수 있다.As described above, the transmitting terminal 502 selects the terminal 504 to which a file is to be transmitted among the terminals identified through the service discovery, and transmits a message containing attribute information about the file to be transmitted. The receiving terminal 504 acquires the dictionary information about the file to be transmitted by the transmitting terminal 502 in advance, and transmits a message including the user's intention to receive. Then, according to the reception intention, the transmitting terminal can continue the Wi-Fi Direct connection.

도 6은 본 발명의 일 실시예에 따른 송신 단말과 수신 단말간의 파일 속성 정보의 전달 절차를 상세히 나타낸 신호 흐름도이다.6 is a signal flowchart illustrating in detail a procedure of transferring file attribute information between a transmitting terminal and a receiving terminal according to an embodiment of the present invention.

도 6을 참조하면, 송신 단말(602)은 과정 610에서 단말 디스커버리를 통해 수신 단말(604)를 발견한 후, 과정 615에서 서비스 디스커버리를 위한 서비스 디스커버리 요청을 수신 단말(604)로 전달하고, 과정 620에서 수신 단말(604)은 서비스 디스커버리 응답을 송신 단말(602)로 전달한다. Referring to FIG. 6, the transmitting terminal 602 discovers the receiving terminal 604 through the terminal discovery in step 610, and then transmits a service discovery request for service discovery to the receiving terminal 604 in step 615. At 620, the receiving terminal 604 forwards the service discovery response to the transmitting terminal 602.

이후 파일을 전송하고자 하는 수신 단말(604)을 선택한 송신 단말(602)은 과정 625에서 전송하고자 하는 파일에 대한 속성 정보를 담은 서비스 제휴 요청을 수신 단말(604)로 전달하고, 과정 630에서 수신 단말(604)은 사용자 의향을 담은 서비스 제휴 응답을 송신 단말(602)로 전달한다.Thereafter, the transmitting terminal 602 that has selected the receiving terminal 604 to transmit the file transmits a service association request containing attribute information about the file to be transmitted to the receiving terminal 604 in step 625, and receives the receiving terminal in step 630. 604 transmits the service alliance response containing the user intention to the transmitting terminal 602.

전송하고자 하는 파일에 대한 속성 정보는, 일 실시예로서 와이파이를 위한 GAS(Generic Advertisement Service) 프로토콜에 기반한 GAS 초기 요청 명령 프레임(Initial Request Action frame), 혹은 P2P(Point-to-Point) 공개 명령 프레임(Public Action frame)을 사용하여 전달될 수 있다.The attribute information of a file to be transmitted may be, for example, a GAS Initial Request Action frame based on the GAS protocol for Wi-Fi, or a Point-to-Point public command frame. Can be delivered using a (Public Action frame).

본 발명의 일 실시예에 따른 GAS Initial Request Action frame은 하기의 <표 1>에 나타낸 필드들 중 적어도 하나를 포함하여 구성될 수 있다. 하기에는 GAS Initial Request Action frame의 하나로서, GAS 초기 요청을 위한 판매자 특정 컨텐트(Vendor Specific content of GAS Initial Request) 프레임의 구조를 나타내었다.The GAS Initial Request Action frame according to an embodiment of the present invention may include at least one of the fields shown in Table 1 below. Hereinafter, as one of the GAS Initial Request Action frames, a structure of a Vendor Specific content of GAS Initial Request frame for a GAS initial request is shown.

Field NameField name Size (octets)Size (octets) ValueValue DescriptionDescription OUI SubtypeOUI Subtype 1One 0x100x10 WFA OUI Subtype indicated Service Associated FrameWFA OUI Subtype indicated Service Associated Frame Service Protocol TypeService Protocol Type 1One 0x050x05 Service protocol typesService protocol types LengthLength 22 VariableVariable Length of the Service Request InformationLength of the Service Request Information Service Transaction IDService Transaction ID 1One VariableVariable Service transaction ID is a nonzero value used to match the Service Request/ResponseService transaction ID is a nonzero value used to match the Service Request / Response ServiceService RequestRequest InformationInformation VariableVariable VariableVariable IncludeInclude thethe MetaMeta InformationInformation

여기서 OUI subtype 필드는 해당 프레임을 지시하는 WFA(WiFi Alliance) OUI(Organizationally Unique Identifier) 서브타입 값을 나타낸다. Service Protocol Type 필드는 해당 프레임이 송수신되는 무선 환경의 프로토콜 타입을 정의하는 정보 영역이다. Service Protocol Type 필드는 예를 들어, "00000000"인 경우 "All Service Protocol Type", "00000001"인 경우 "Bonjour", "00000010"인 경우 "UPnP (Universal Plug and Play)", "00000011"인 경우 "WSDiscovery (Web Service Discovery)", "11111111"인 경우 "Vendor Specific" 등으로 정의될 수 있다. 본 발명의 실시예에서 Service Protocol Type 필드는 와이파이 다이렉트 서비스를 나타내는 "00000101"으로 설정될 수 있다.Here, the OUI subtype field indicates a WFA (WiFi Alliance) Organizationally Unique Identifier (OUI) subtype value indicating the frame. The Service Protocol Type field is an information area that defines a protocol type of a wireless environment in which a corresponding frame is transmitted and received. For example, the Service Protocol Type field is "All Service Protocol Type" for "00000000", "Bonjour" for "00000001", "UPnP (Universal Plug and Play)" for "00000010", "00000011" In the case of "WSDiscovery (Web Service Discovery)" or "11111111", it may be defined as "Vendor Specific." In an embodiment of the present invention, the Service Protocol Type field may be set to "00000101" indicating a Wi-Fi direct service.

Length 필드는 해당 메시지의 전체 크기를 기록하는 필드를 나타내며, Service Transaction ID 필드는 서비스 요청과 그에 대응하는 응답을 매치시키기 위해 사용되는 넌제로 값으로 설정된다. The Length field represents a field for recording the total size of the message, and the Service Transaction ID field is set to a non-zero value used to match a service request with a corresponding response.

Service Request Information 필드는 전송하고자 하는 파일에 관련된 메타 정보를 포함한다.The Service Request Information field includes meta information related to a file to be transmitted.

일 실시예로서 Service Request Information 필드는 하기의 <표 2>에 나타낸 필드들 중 적어도 하나를 포함하여 구성된다. In one embodiment, the Service Request Information field includes at least one of the fields shown in Table 2 below.

Field Field sizeyou InterpretationInterpretation NoteNote 128128 Free text interpreted in ASCII formatFree text interpreted in ASCII format SizeSize 44 Total size in KbsTotal size in Kbs NoofItemsNoofitems 22 No of items includedNo of items included ItemItem 133133 Meta information shown in below tableMeta information shown in below table

여기서 Note 필드는 전송하고자 하는 파일에 관련된 설명의 텍스트를 ASCII(American Standard Code for Information Interchange) 포맷으로 자유롭게 기재할 수 있다. Size 필드는 전송하고자 하는 파일(들)의 전체 크기를 나타내며, No of Items 필드는 전송하고자 하는 파일 아이템들의 개수를 나타내고, Item 필드는 각 파일 아이템을 설명하는 메타 정보를 나타낸다.Here, the Note field may freely describe the text of the description related to the file to be transmitted in the American Standard Code for Information Interchange (ASCII) format. The Size field represents the total size of file (s) to be transmitted, the No of Items field represents the number of file items to be transmitted, and the Item field represents meta information describing each file item.

<표 2>에서 Item 필드는 일 실시예로서 하기의 <표 3>의 필드들 중 적어도 하나를 포함하여 구성된다.In Table 2, the Item field is configured to include at least one of the fields of Table 3 below.

Field Field size you Interpretation Interpretation Name Name 128 128 File Name File name Size Size 4 4 Total size in Kbs Total size in Kbs Type Type 1 One Bit 0: 1 file or 0 folder
Bit 1:7 Reserved
Bit 0: 1 file or 0 folder
Bit 1: 7 Reserved

여기서 Name 필드는 전송할 파일의 이름을 나타내며, Size 필드는 전송할 파일의 크기를 나타내며, Type 필드는 전송될 컨텐트의 타입, 일 예로서 파일 혹은 폴더를 나타낸다.Here, the Name field indicates the name of the file to be transmitted, the Size field indicates the size of the file to be transmitted, and the Type field indicates the type of content to be transmitted, for example, a file or a folder.

GAS Initial Request Action frame에 응답하는 프레임은 하기의 <표 4>에 나타낸 필드들 중 적어도 하나를 포함하여 구성될 수 있다. 여기에서는 GAS 초기 응답을 위한 판매자 특정 컨텐트(Vendor Specific content of GAS Initial Response) 프레임의 구조를 나타내었다.The frame responsive to the GAS Initial Request Action frame may include at least one of the fields shown in Table 4 below. Here, the structure of Vendor Specific Content of GAS Initial Response frame is shown.

Field Name Field name Size (octets) Size (octets) Value Value Description Description OUI Subtype OUI Subtype 1 One 0x10 0x10 WFA OUI Subtype indicated Service Associated Frame WFA OUI Subtype indicated Service Associated Frame Service Protocol Type Service Protocol Type 1 One 0x05 0x05 Service protocol types Service protocol types Length Length 2 2 Variable Variable Length of the Service Request Information Length of the Service Request Information Service Transaction ID Service Transaction ID 1 One Variable Variable Match request response Match request response StatusStatus CodeCode 1 One 0x00-00x00-0 xffxff 0: 0: AcceptAccept byby thethe receiverreceiver
4 : 4 : RejectedRejected byby UserUser
Service Response Information Service response information Variable Variable Additional information in response to service associated request Additional information in response to service associated request

여기서 Status Code 필드는 파일의 전송을 수락할지("0") 혹은 거부할지("4")를 나타내는 값을 포함한다. <표 4>의 Service Response Information 필드는 서비스 연결 요청에 응답하는 부가 정보를 포함하는 것으로서, 일 예로 하기의 <표 5>와 같이 구성될 수 있다. Here, the Status Code field includes a value indicating whether to accept ("0") or reject ("4") file transfer. The Service Response Information field of Table 4 includes additional information that responds to a service connection request, and may be configured as shown in Table 5 below as an example.

TransportInfo TransportInfo variable variable Protocol information : port number
For e.g. “tcp:1234”
Protocol information: port number
For eg “tcp: 1234”

본 발명의 다른 실시예에 따른 P2P Public Action Frame은 하기의 <표 6>에 나타낸 필드들 중 적어도 하나를 포함하여 구성될 수 있다. 일 실시예로서 P2P 공개 명령 프레임의 하나인 P2P 프로비젼 디스커버리 요청(P2P Provision Discovery Request) 프레임이 파일 속성 정보를 운반하기 위해 사용될 수 있다.The P2P Public Action Frame according to another embodiment of the present invention may include at least one of the fields shown in Table 6 below. In one embodiment, a P2P Provision Discovery Request frame, which is one of the P2P publish command frames, may be used to carry file attribute information.

FieldField Size (octets)Size (octets) Value (Hexadecimal)Value (Hexadecimal) DescriptionDescription Category Category 1One 0x7F0x7F IEEE 802.11 vendor specific usage IEEE 802.11 vendor specific usage OUIOUI 33 50 6F 9A50 6F 9A WFA specific OUIWFA specific OUI OUI typeOUI type 1One 0x09 (to be assigned)0x09 (to be assigned) Identifying the type or version of action frame. Setting to 09 indicates Wi-Fi P2P v1.0Identifying the type or version of action frame. Setting to 09 indicates Wi-Fi P2P v1.0 OUI SubtypeOUI Subtype 1One 0x0A (to be assigned)0x0A (to be assigned) Service Association Request (to be assigned)Service Association Request (to be assigned) Dialog TokenDialog Token 1One When set to a nonzero value, used to identify the request/response transactionWhen set to a nonzero value, used to identify the request / response transaction ElementsElements variablevariable ShouldShould includeinclude thethe MetaMeta InformationInformation

여기서 Category 필드, OUI 필드, OUI type 필드, OUI subtype 필드는 해당 프레임의 타입과 종류에 따라 지정되는 정보 영역들이다. Dialog Token 필드는 서비스 요청과 그에 대응하는 응답을 식별하기 위해 송신 단말에 의해 설정되는 값이다. Here, the Category field, OUI field, OUI type field, and OUI subtype field are information areas specified according to the type and type of the corresponding frame. The Dialog Token field is a value set by the transmitting terminal to identify a service request and a corresponding response.

Elements 필드는 본 발명의 일 실시예에 따라 전송하고자 하는 파일에 관련된 메타 정보를 포함한다. 일 예로서 Elements 필드는 하기의 <표 7>에 나타낸 필드들 중 적어도 하나를 포함하여 구성된다.The Elements field includes meta information related to a file to be transmitted according to an embodiment of the present invention. As an example, the Elements field includes at least one of the fields shown in Table 7 below.

FieldField Size (octets)Size (octets) Value (Hexadecimal)Value (Hexadecimal) DescriptionDescription Element IDElement ID 1One DDDD IEEE 802.11 vendor specific usageIEEE 802.11 vendor specific usage LengthLength 1One VariableVariable Length of the following fields in the IE in octetsLength of the following fields in the IE in octets OUIOUI 33 50 6F 9A50 6F 9A WFA Specific OUIWFA Specific OUI OUI TypeOUI Type 1One 0x090x09 Identifying the type or version of P2P IE. Setting to 0x09 indicates Wi-Fi P2P v1.0Identifying the type or version of P2P IE. Setting to 0x09 indicates Wi-Fi P2P v1.0 ServiceService AttributesAttributes VariableVariable ServiceService specificspecific attributesattributes ( ( toto bebe defineddefined ))

여기서 Element ID 필드, Length 필드, OUI 필드, OUI Type 필드는 해당 Element 필드의 타입과 종류에 따라 지정되는 정보 영역들이다. Service Attributes 필드는 본 발명의 일 실시예에 따라 전송하고자 하는 파일의 서비스 특정 속성을 나타낸다.Here, the Element ID field, the Length field, the OUI field, and the OUI Type field are information areas specified according to the type and type of the corresponding Element field. The Service Attributes field indicates a service specific attribute of a file to be transmitted according to an embodiment of the present invention.

일 실시예로서 <표 7>의 Service Attributes 필드는 하기의 <표 8>에 나타낸 필드들 중 적어도 하나를 포함하여 구성된다.In one embodiment, the Service Attributes field of Table 7 includes at least one of the fields shown in Table 8 below.

FieldField Size (octets)Size (octets) Value (Hexadecimal)Value (Hexadecimal) DescriptionDescription Attribute IDAttribute ID 1One 0x130x13 Identifying the type of Attribute (META DATA)Identifying the type of Attribute (META DATA) LengthLength 22 VariableVariable Length of the following fields in the subelementLength of the following fields in the subelement Attribute BodyAttribute Body VariableVariable Attribute BodyAttribute Body

<표 8>의 Attribute Body 필드는 전송하고자 하는 파일에 대한 속성 정보를 포함한다. 일 실시예로서 하기의 <표 9>에 나타낸 필드들 중 적어도 하나를 포함하여 구성된다.The Attribute Body field of Table 8 includes attribute information about a file to be transmitted. In an embodiment, the present invention is configured to include at least one of the fields shown in Table 9 below.

FieldField SizeSize InterpretationInterpretation Optional/Mandatory (O/M)Optional / Mandatory (O / M) NoteNote 128128 Free text interpreted in ASCII format Free text interpreted in ASCII format MM SizeSize 44 Total size in KbsTotal size in Kbs MM NoOfItemsNoOfItems 22 No of items includedNo of items included MM ItemItem 133133 MetaMeta informationinformation shownshown inin belowbelow tabletable OO

여기서 Note 필드는 전송하고자 하는 파일에 관련된 설명의 텍스트를 ASCII 포맷으로 자유롭게 기재할 수 있다. Size 필드는 전송하고자 하는 파일(들)의 전체 크기를 나타내며, No of Items 필드는 전송하고자 하는 파일 아이템들의 개수를 나타내고, Item 필드는 각 파일 아이템을 설명하는 메타 정보를 나타낸다.Here, the Note field can freely describe the text of the description related to the file to be transmitted in ASCII format. The Size field represents the total size of file (s) to be transmitted, the No of Items field represents the number of file items to be transmitted, and the Item field represents meta information describing each file item.

<표 9>의 Item 필드는 일 실시예로서 하기의 <표 10>의 필드들 중 적어도 하나를 포함하여 구성된다.The Item field of Table 9 includes at least one of the fields of Table 10 as an embodiment.

Field Field size you Interpretation Interpretation Name Name 128 128 File Name File name Size Size 4 4 Total size in Kbs Total size in Kbs Type Type 1 One Bit 0: 1 file or 0 folder
Bit 1:7 Reserved
Bit 0: 1 file or 0 folder
Bit 1: 7 Reserved

여기서 Name 필드는 전송할 파일의 이름을 나타내며, Size 필드는 전송할 파일의 크기를 나타내며, Type 필드는 전송될 컨텐트의 타입, 일 예로서 파일 혹은 폴더를 나타낸다.Here, the Name field indicates the name of the file to be transmitted, the Size field indicates the size of the file to be transmitted, and the Type field indicates the type of content to be transmitted, for example, a file or a folder.

다음의 <표 11> 및 <표 12>에 Attribute Body 필드에 포함되는 파일 속성 정보의 예들을 나타내었다. <표 11>은 Item 필드가 존재하지 않는 경우의 예를 나타내고, <표 12>는 Item 필드가 존재하는 경우의 예를 나타낸 것이다.Tables 11 and 12 show examples of file attribute information included in an Attribute Body field. <Table 11> shows an example when the Item field does not exist, and <Table 12> shows an example when the Item field exists.

Note: “wedding photos”Note: “wedding photos” Size: 4000Size: 4000 NoOfItems: 20NoOfItems: 20

Note: “wedding photos”Note: “wedding photos” Size: 200Size: 200 NoOfItems: 1NoOfItems: 1 Name: abcd.jpgName: abcd.jpg Size: 200Size: 200 Type: 0x01 fileType: 0x01 file

P2P Public Action Frame에 응답하는 프레임은 하기의 <표 13>에 나타낸 필드들 중 적어도 하나를 포함하여 구성될 수 있다. The frame responsive to the P2P public action frame may include at least one of the fields shown in Table 13 below.

Field Field Size (octets) Size (octets) Value
(Hexadecimal)
Value
(Hexadecimal)
Description Description
Category Category 1 One 0x7F 0x7F IEEE 802.11 vendor specific usage (IEEE Std 802.11-2007 [1] Table 7-24). IEEE 802.11 vendor specific usage (IEEE Std 802.11-2007 [1] Table 7-24). OUI OUI 3 3 50 6F 9A 50 6F 9A WFA specific OUI. WFA specific OUI. OUI type OUI type 1 One 0x09 (to be assigned) 0x09 (to be assigned) Identifying the type or version of action frame. Setting to 09 indicates Wi-Fi P2P v1.0. Identifying the type or version of action frame. Setting to 09 indicates Wi-Fi P2P v1.0. OUI Subtype OUI Subtype 1 One 0x0B (to be assigned) 0x0B (to be assigned) Service Association Response (to be assigned) Service Association Response (to be assigned) Dialog Token Dialog Token 1 One When set to a nonzero value, used to identify the request/response transaction. When set to a nonzero value, used to identify the request / response transaction. Elements Elements variable variable Response information
Status code and other information
Response information
Status code and other information

여기서 Elements 필드는 파일의 전송을 수락할지 혹은 거부할지를 나타내는 응답 정보, 상태 코드 및/또는 다른 정보를 포함한다.Here the Elements field contains response information, status code and / or other information indicating whether to accept or reject the file transfer.

이상에서는 단말 디스커버리 및 서비스 디스커버리 이후의 Service Association 절차를 통해 파일 속성 정보를 전달하는 실시예를 설명하였으나, 선택 가능한 다른 실시예로서 송신 단말은 서비스 디스커버리, 그룹 형성, 인증, 파일 전송 등 전체 서비스 설정 절차 중에 교환하게 되는 다른 메시지를 통해서 파일 속성 정보를 전달하고, 그에 대한 응답을 수신하여 수신자의 의향을 확인할 수 있다. In the above description, an embodiment of transmitting file attribute information through a service discovery procedure after a UE discovery and a service discovery has been described. However, as another selectable embodiment, a transmitting UE performs a whole service setting procedure such as service discovery, group formation, authentication, and file transmission. The file attribute information is transmitted through another message exchanged during the exchange, and the receiver's intention can be confirmed by receiving a response.

도 7은 본 발명의 다른 실시예에 따른 파일 속성 정보의 전달 절차를 나타낸 신호 흐름도이다.7 is a signal flow diagram illustrating a transfer procedure of file attribute information according to another embodiment of the present invention.

도 7을 참조하면, 과정 710에서 송신 단말(702)은 단말 디스커버리를 통해 적어도 하나의 주변 단말을 검출하고, 과정 715에서 서비스 디스커버리를 통해 실행하고자 하는 서비스의 이름, 서비스 정보 등을 확인하고, 검출된 적어도 하나의 주변 단말 중 실제로 파일을 전송할 적어도 하나의 수신 단말(704)을 선택한다. Referring to FIG. 7, in operation 710, the transmitting terminal 702 detects at least one neighboring terminal through terminal discovery. In operation 715, the transmitting terminal 702 checks the name of the service to be executed through service discovery, service information, and the like. The at least one receiving terminal 704 to actually transmit the file is selected from among the at least one neighboring terminal.

과정 720에서 송신 단말(702)은 P2P Provision Discovery Request 프레임에, 전송하고자 하는 파일에 대한 속성 정보, 일 예로서 파일들의 개수, 파일들의 전체 크기, 파일 이름을 포함시키고, 상기 프레임을 수신 단말(704)로 전송한다. 수신 단말(704)은 상기 P2P Provision Discovery Request 프레임이 성공적으로 수신되었음을 나타내는 P2P Provision Discovery Response 프레임을 송신 단말(702)로 전달할 수 있다. 일 실시예로서 P2P Provision Discovery Response 프레임은 송신 단말(702)에게, 사용자 의향에 대한 정보가 전달되기까지 이후 절차의 진행을 연기(defer)할 것을 지시하는 상태 코드를 포함할 수 있다. 이는 수신 단말(704)에서 사용자 입력을 대기할 수 있기 때문이다.In step 720, the transmitting terminal 702 includes attribute information about a file to be transmitted, for example, the number of files, the total size of the files, and the file name, in the P2P Provision Discovery Request frame, and receives the frame. To send). The receiving terminal 704 may transmit a P2P provisioning discovery response frame indicating that the P2P provisioning discovery request frame has been successfully received to the transmitting terminal 702. According to an embodiment, the P2P Provision Discovery Response frame may include a status code for instructing the transmitting terminal 702 to defer the progress of a subsequent procedure until information about user intention is delivered. This is because the receiving terminal 704 can wait for user input.

단일 파일을 전송하는 경우에, 상기 속성 필드는 전송할 파일의 이름을 나타낸다. 반면 다중 파일을 전송하는 경우에, 상기 속성 필드는 전송할 파일들을 대표하는 어느 하나의 파일에 대한 이름을 포함할 수 있다. 상기 대표하는 파일은 사용자에 의해 선택되거나, 혹은 구현에 따라, 일 예로서 가장 큰 크기를 가지는 파일이 될 수 있다. 사용자가 컨테이너를 통해 다수의 파일들을 전송하는 경우에, 상기 속성 필드는 파일 이름 대신 컨테이너 이름을 포함할 수 있다. In the case of transmitting a single file, the attribute field indicates the name of the file to be transmitted. On the other hand, in the case of transmitting multiple files, the attribute field may include a name of one file representing files to be transmitted. The representative file may be selected by a user or may be, for example, a file having the largest size according to an implementation. When the user transfers a plurality of files through the container, the attribute field may include a container name instead of a file name.

수신 단말(704)은 일 예로 UTF(Universal Transformation Format)-8과 같은 미리 지정된 방식에 따라, 상기 속성 필드에 포함된 텍스트를 확인하고, 상기 확인된 텍스트(즉 파일 개수, 크기, 이름 등)를 사용자 인터페이스 상에 디스플레이할 수 있다. 사용자 인터페이스를 통해 파일 전송을 위한 서비스 세션을 수락하거나 혹은 거부한다는 사용자 입력이 검출되면, 과정 720에서 수신 단말(704)은 상기 사용자 입력에 따라 수락 혹은 거부를 나타내는 상태 코드를 P2P Provision discovery Request 프레임에 포함시키고, 상기 프레임을 송신 단말(702)로 전송한다. 미리 정해지는 소정 시간의 타임아웃이 발생되기까지 사용자 입력이 검출되지 않으면, 수신 단말(704)은 사전 설정에 따라 상기 상태 코드를 수락 혹은 거부를 나타내는 값으로 설정할 수 있다. 송신 단말(702)은 상기 P2P Provision Discovery Request 프레임이 성공적으로 수신되었음을 나타내는 P2P Provision Discovery Response 프레임을 수신 단말(704)로 전달할 수 있다. 선택 가능한 실시예로서, 송신 단말(702)은 과정 720의 요청 프레임을 전송한 이후 소정 시간의 타임아웃이 발생하기까지 응답이 수신되지 않을 경우, 수신 단말(702)이 서비스 세션을 거부한 것으로 간주할 수 있다.The receiving terminal 704 checks the text included in the attribute field according to a predetermined method such as, for example, Universal Transformation Format (UTF-8) -8, and checks the checked text (ie, number of files, size, name, etc.). Display on the user interface. If a user input of accepting or rejecting a service session for file transfer is detected through the user interface, in step 720, the receiving terminal 704 transmits a status code indicating acceptance or rejection to the P2P Provision discovery Request frame according to the user input. And transmit the frame to the transmitting terminal 702. If a user input is not detected until a predetermined timeout occurs, the receiving terminal 704 may set the status code to a value indicating acceptance or rejection according to a preset. The transmitting terminal 702 may transmit a P2P provisioning discovery response frame indicating that the P2P provisioning discovery request frame has been successfully received to the receiving terminal 704. In a selectable embodiment, the transmitting terminal 702 considers that the receiving terminal 702 rejects the service session when the response is not received until the timeout occurs for a predetermined time after transmitting the request frame of step 720. can do.

서비스 세션이 수락되는 경우, 과정 730에서 송신 단말(702)와 수신 단말(704)는 그룹 형성 및 세션 접속을 수행하고, 과정 735에서 상기 세션을 통해 파일들이 송신 단말(702)로부터 수신 단말(704)로 전송된다.If the service session is accepted, in step 730, the transmitting terminal 702 and the receiving terminal 704 perform group formation and session access, and in step 735, files are transmitted from the transmitting terminal 702 through the receiving terminal 704 through the session. Is sent).

도 8은 본 발명의 일 실시예에 따른 송신 단말의 동작을 나타낸 흐름도이다.8 is a flowchart illustrating the operation of a transmitting terminal according to an embodiment of the present invention.

도 8을 참조하면, 과정 805에서 송신 단말은 와이파이 다이렉트 서비스를 위한 어플리케이션을 실행하고, 전송할 파일을 결정한다. 과정 810에서 송신 단말은 상기 결정된 파일에 근거하여, 혹은 추가적으로 사용자 입력에 근거하여 상기 파일에 대한 속성 정보를 생성한다. 과정 815에서 송신 단말은 단말 디스커버리 및 서비스 디스커버리를 수행하여, 상기 파일을 전송할 수신 단말을 결정한다. 여기서 과정 810과 과정 815는 순서에 관계없이 병렬적으로 수행될 수 있다. 과정 820에서 송신 단말은 상기 속성 정보를 포함하는 제1 프레임을 수신 단말로 전송하고, 과정 825에서 파일 전송 서비스의 수락 혹은 거부를 나타내는 상태 코드를 포함하는 제2 프레임을 수신 단말로부터 수신한다. Referring to FIG. 8, in step 805, the transmitting terminal executes an application for Wi-Fi Direct service and determines a file to be transmitted. In step 810, the transmitting terminal generates attribute information about the file based on the determined file or additionally based on a user input. In step 815, the transmitting terminal performs terminal discovery and service discovery to determine a receiving terminal to which the file is to be transmitted. Processes 810 and 815 may be performed in parallel regardless of the order. In step 820, the transmitting terminal transmits the first frame including the attribute information to the receiving terminal, and in step 825 receives a second frame including a status code indicating acceptance or rejection of the file transfer service.

과정 830에서 송신 단말은 수신 단말로부터 수신된 상태 코드가 파일 전송 서비스의 수락을 나타내는지 혹은 거부를 나타내는지를 판단하고, 만일 수락을 나타내면 과정 835로 진행하며, 거부를 나타내면 과정 845로 진행한다. 도시하지 않을 것이지만, 송신 단말은 제1 프레임을 전송한 이후 소정 시간 내에 제2 프레임이 수신되지 않은 경우, 수신 단말이 파일 전송 서비스를 거부한 것으로 간주하고 과정 845로 진행할 수 있다.In step 830, the transmitting terminal determines whether the status code received from the receiving terminal indicates acceptance or rejection of the file transfer service, and if it indicates acceptance, proceeds to step 835, and if it indicates rejection, proceeds to step 845. Although not shown, when the second frame is not received within a predetermined time after transmitting the first frame, the transmitting terminal may consider that the file transmission service is rejected by the receiving terminal and proceed to step 845.

과정 835에서 송신 단말은 정해진 절차에 따라 그룹 형성 및 세션 설정을 완료하고, 과정 840에서 설정된 세션을 통해 파일을 전송한다. In step 835, the transmitting terminal completes group formation and session setup according to a predetermined procedure, and transmits a file through the session set in step 840.

과정 845에서 송신 단말은 서비스 연결 절차를 중단하고, 사용자에게 수신 단말로부터 파일의 전송이 거부되었음을 나타내는 통지한다. 일 예로 송신 단말은 "파일 수신이 수락되지 않았습니다." 라는 텍스트를 화면에 표시할 수 있다.In step 845, the transmitting terminal stops the service connection procedure and notifies the user that the transmission of the file from the receiving terminal is denied. For example, the sending terminal "file reception was not accepted." Can be displayed on the screen.

도 9는 본 발명의 일 실시예에 따른 수신 단말의 동작을 나타낸 흐름도이다.9 is a flowchart illustrating the operation of a receiving terminal according to an embodiment of the present invention.

도 9를 참조하면, 과정 905에서 수신 단말은 와이파이 다이렉트 서비스를 위한 단말 디스커버리와 서비스 디스커버리를 수행하여, 파일 전송 서비스를 위한 서비스 세션의 설정을 원하는 송신 단말을 감지한다. 과정 910에서 수신 단말은 송신 단말로부터 전송하고자 하는 파일에 대한 속성 정보를 포함하는 제1 프레임을 수신한다. 과정 915에서 수신 단말은 필요하다면 와이파이 다이렉트 서비스를 위한 어플리케이션을 활성화한 후, 상기 속성 정보에 따른 파일 정보를 사용자에게 제공한다. 일 예로서 수신 단말은 송신 단말이 전송하고자 하는 파일에 대한 요약, 전체 크기, 파일 개수, 파일 이름 중 적어도 하나를 화면 상에 표시하고, 사용자에게 파일 전송 서비스의 수락 혹은 거부를 문의할 수 있다.Referring to FIG. 9, in step 905, a receiving terminal detects a transmitting terminal for establishing a service session for a file transfer service by performing a terminal discovery and a service discovery for a Wi-Fi Direct service. In step 910, the receiving terminal receives a first frame including attribute information about a file to be transmitted from the transmitting terminal. In step 915, the receiving terminal activates an application for Wi-Fi Direct service if necessary, and provides the user with file information according to the attribute information. As an example, the receiving terminal may display at least one of a summary, a total size, a number of files, and a file name of a file to be transmitted by the transmitting terminal on the screen, and may inquire of the user for acceptance or rejection of the file transfer service.

과정 920에서 수신 단말은 사용자 입력이 존재하는지를 판단한다. 만일 파일 전송 서비스를 수락하는 사용자 입력이 존재하면 과정 925로 진행하며, 파일 전송 서비스를 거부하는 사용자 입력이 검출되었거나 혹은 타임아웃 발생시까지 사용자 입력이 존재하지 않는 경우 과정 940으로 진행한다.In step 920, the receiving terminal determines whether a user input exists. If a user input for accepting the file transfer service exists, the process proceeds to step 925. If a user input for rejecting the file transfer service is detected or there is no user input until a timeout occurs, the process proceeds to step 940.

과정 925에서 수신 단말은 파일 전송 서비스의 수락을 나타내는 상태 코드를 포함하는 제2 메시지를 송신 단말로 전송하고, 과정 930에서 그룹 형성 및 세션 연결을 수행한 후, 과정 935에서 송신 단말로부터 파일을 수신한다. 파일 수신이 완료되면 세션은 자동적으로 종료될 수 있다. In step 925, the receiving terminal transmits a second message including a status code indicating acceptance of the file transfer service to the transmitting terminal. In step 930, after forming a group and connecting a session, the receiving terminal receives a file from the transmitting terminal. do. The session can be automatically terminated when the file reception is complete.

한편, 과정 940에서 수신 단말은 파일 전송 서비스의 거부를 나타내는 상태 코드를 포함하는 제2 메시지를 송신 단말로 전송하고, 과정 945에서 서비스 연결 절차를 중단한다.In operation 940, the receiving terminal transmits a second message including a status code indicating the rejection of the file transfer service to the transmitting terminal and stops the service connection procedure in operation 945.

도 10은 본 발명의 일 실시예에 따른 수신 단말의 사용자 의향을 문의하는 화면을 나타낸 것이다.10 illustrates a screen for asking a user's intention of a receiving terminal according to an embodiment of the present invention.

도 10을 참조하면, 와이파이 다이렉트 연결을 위한 서비스 화면(1000) 상에서, 수신 단말은 송신 단말로부터 수신한 파일의 속성 정보의 적어도 일부(1010)를 표시하고, 파일 전송 서비스를 수락할 것인지 혹은 거부할 것인지를 입력받기 위한 적어도 하나의 소프트 버튼(1030)을 표시한다. 여기에서는 일 예로 "Wedding Photo, Size: 400MB, Name: abcd.jpg"가 표시되었다. 사용자는 표시되는 정보에 따라 소프트 버튼(1030)을 입력함으로써, 파일 전송 서비스를 수락하거나 혹은 거부할 수 있다.Referring to FIG. 10, on the service screen 1000 for Wi-Fi Direct connection, the receiving terminal displays at least part 1010 of the attribute information of the file received from the transmitting terminal, and accepts or rejects the file transfer service. At least one soft button 1030 for receiving input is displayed. In this example, "Wedding Photo, Size: 400MB, Name: abcd.jpg" is displayed. The user may accept or reject the file transfer service by inputting the soft button 1030 according to the displayed information.

도 11은 본 발명의 일 실시예에 따른 와이파이 다이렉트 서비스를 위한 프레임워크를 도시한 것이다.11 illustrates a framework for Wi-Fi Direct service according to an embodiment of the present invention.

도 11을 참조하면, 프레임워크(1100)는 사용자 인터페이스 어플리케이션들(1110)과 서비스 프로세스들(1120)과 어플리케이션 서비스 플랫폼(Application Service Platform: ASP)과 와이파이 P2P 인터페이스(1140)를 포함한다.Referring to FIG. 11, the framework 1100 includes user interface applications 1110, service processes 1120, an application service platform (ASP), and a Wi-Fi P2P interface 1140.

사용자 인터페이스 어플리케이션들(1110)은 와이파이 연결 서비스를 지원하는 어플리케이션들을 의미한다. 서비스 프로세스들(1120)은 연결될 서비스의 타입, 즉 재생(Play), 전송(Send), 디스플레이 및 프린트 서비스들에 대한 표준화된 기능(standardized functionality)을 제공한다. 한 단말 상의 서비스 프로세스(1120)는 적어도 하나의 상대 단말 상의 유사한 서비스 프로세스와 공통의 프로토콜과 ASP(1130)를 통해 통신할 수 있다.The user interface applications 1110 refer to applications supporting a Wi-Fi connection service. The service processes 1120 provide standardized functionality for the type of service to be connected, namely Play, Send, Display and Print services. The service process 1120 on one terminal may communicate with a similar service process on at least one counterpart terminal and the common protocol through the ASP 1130.

ASP(1130)는 재생, 전송, 디스플레이 및 프린트 서비스들을 위해 필요한 공통의 기능들을 구현하는 논리적인 개체로서, 상기 공통의 기능들은 일 예로 서비스 및 단말 디스커버리, 세션 관리, 접속 토폴로지 관리, 보안 중 적어도 하나를 포함한다. ASP(1130)는 상대 단말의 ASP와의 사이에 논리적 링크인 ASP 세션을 연결한다. ASP 세션을 시작하기 위해서는 상대 단말들 간에 P2P 접속이 필요하며, P2P 접속은 와이파이 P2P 인터페이스부(1140)에 의해 실제로 생성된다.The ASP 1130 is a logical entity that implements common functions required for playback, transfer, display, and print services. The common functions include, for example, at least one of service and terminal discovery, session management, connection topology management, and security. It includes. The ASP 1130 connects an ASP session, which is a logical link, with the ASP of the counterpart terminal. In order to start an ASP session, a peer-to-peer connection between peer terminals is required, and the peer-to-peer connection is actually created by the Wi-Fi P2P interface unit 1140.

도 12(도 12a 내지 도 12c를 포함함)는 본 발명의 일 실시예에 따른 와이파이 다이렉트 연결을 통한 파일 전송 서비스의 절차를 나타낸 것이다. 여기에서는 서비스 광고자로서 동작하는 단말 A와 서비스 탐색자로서 동작하는 단말 B 간의 신호 흐름을 도시하였다. 파일 전송 서비스에 있어서, 단말 A는 수신 단말이 되며 단말 B는 송신 단말이 된다. 단말 A와 단말 B간의 물리적인 접속은 와이파이 P2P 인터페이스에 의해 수행될 것이나, 여기에서는 도시를 생략할 것이다.12 (including FIGS. 12A to 12C) illustrates a file transfer service procedure through a Wi-Fi Direct connection according to an embodiment of the present invention. Here, the signal flow between terminal A acting as a service advertiser and terminal B acting as a service searcher is shown. In the file transfer service, terminal A becomes a receiving terminal and terminal B becomes a transmitting terminal. The physical connection between terminal A and terminal B will be performed by a Wi-Fi P2P interface, but the illustration will be omitted here.

도 12를 참조하면, 단말 A의 서비스 프로세스는 AdvertiseService 명령을 통해 ASP에게 서비스(들)을 광고하여, 다른 단말, 일 예로서 단말 B가 광고된 서비스와 관련된 ASP 세션을 발견하고 초기화할 수 있도록 한다. 단말 B에서 어플리케이션이 실행되고 특정 파일을 전송하기 위한 서비스 사용 명령이 발생하면, 단말 B의 서비스 프로세스는 ASP에게 서비스 탐색을 요청하는 SeekService 명령을 전송한다. 단말 B의 ASP는 상기 명령에 응답하여, 과정 1205에서 서비스 이름에 근거하여 생성된 해시 값(hash value)을 포함하는 P2P 프로브 요청을 단말 A의 ASP로 전송한다. Referring to FIG. 12, the service process of the terminal A advertises the service (s) to the ASP through the AdvertiseService command, so that another terminal, for example, the terminal B, may discover and initialize an ASP session associated with the advertised service. . When the application is executed in the terminal B and a service use command for transmitting a specific file occurs, the service process of the terminal B transmits a SeekService command requesting a service search to the ASP. In response to the command, the ASP of the terminal B sends a P2P probe request including a hash value generated based on the service name in step 1205 to the ASP of the terminal A.

단말 A의 ASP는 광고되고 있는 서비스들 중 하나의 서비스 이름에 대한 해시 값이 상기 P2P 프로브 요청을 통해 수신된 해시 값과 일치하는지 판단하고, 만일 일치하는 경우, P2P 프로브 응답을 단말 B의 ASP로 전송한다. 상기 P2P 프로브 응답은 해시 매칭을 통해 확인된 서비스 이름과 단말 A에서 광고하고 있는 서비스에 대한 광고 ID를 포함한다.The ASP of the terminal A determines whether the hash value for the service name of one of the services being advertised matches the hash value received through the P2P probe request, and if so, sends the P2P probe response to the ASP of the terminal B. send. The P2P probe response includes a service name identified through hash matching and an advertisement ID for a service advertised in the terminal A.

과정 1210에서 단말 B의 ASP는 연결하기를 원하는 서비스 이름과, 서비스 디스커버리를 위해 필요한 부가 정보를 담은 서비스 정보 요청을 P2P 서비스 디스커버리 요청을 통해 단말 A에게 전송한다. 단말 A의 ASP는 상기 P2P 서비스 디스커버리 요청을 통해 전달된 서비스 이름과 서비스 정보와 일치하는 문자열(string)이 존재하는지를 판단하고, 만일 존재하는 경우, 서비스 이름과 광고 ID 및 서비스 상태를 포함하는 P2P 서비스 디스커버리 응답을 단말 B에게 전송한다. 여기서 서비스 상태는 단말 A에서 해당 서비스를 위한 접속을 수용하였는지 여부를 지시한다.In step 1210, the ASP of the terminal B transmits a service information request including a service name to be connected and additional information necessary for service discovery to the terminal A through a P2P service discovery request. The ASP of the terminal A determines whether a string matching the service name and the service information transmitted through the P2P service discovery request exists and, if present, the P2P service including the service name, the advertisement ID, and the service state. The discovery response is transmitted to the terminal B. Here, the service state indicates whether the terminal A has accepted a connection for the corresponding service.

단말 B의 ASP는 P2P 서비스 디스커버리 응답을 식별된 단말 A를 포함하는 적어도 하나의 단말을 포함하는 단말 리스트를 서비스 프로세스로 전달하며, 서비스 프로세스는 단말 리스트를 어플리케이션을 통해 사용자에게 통지한다. 과정 1215에서 어플리케이션은 단말 리스트 상의 적어도 하나의 단말을 선택하는 사용자 입력을 감지하고, 선택된 단말을 서비스 프로세스로 통보한다. 서비스 프로세스는 선택된 단말과의 세션을 연결할 것을 ASP에게 요청한다.The ASP of terminal B delivers the P2P service discovery response to the terminal list including the at least one terminal including the identified terminal A to the service process, and the service process notifies the user of the terminal list through the application. In operation 1215, the application detects a user input of selecting at least one terminal on the terminal list, and notifies the service terminal of the selected terminal. The service process requests the ASP to establish a session with the selected terminal.

과정 1220에서 단말 B의 ASP는 전송하고자 하는 파일에 대한 속성 정보를 나타내는 세션 정보와 접속 성능(Connection Capabilities)을 포함하는 P2P 프로비젼 디스커버리 요청을 단말 A의 ASP로 전송함과 함께, 단말 B의 서비스 프로세스에게 서비스 요청이 전송되었음을 알리는 접속 상태 이벤트를 전송한다. 상기 P2P 프로비젼 디스커버리 요청은, 파일에 대한 속성 정보로서, 파일들의 개수와, 파일들의 전체 크기와, 파일 이름 중 적어도 하나를 포함한다. 단말 A의 ASP는 상기 P2P 프로비젼 디스커버리 요청이 성공적으로 수신되었음을 나타내면서, 사용자 입력이 확인될 때까지 서비스 요청을 연기할 것을 요청하는 상태 코드를 포함하는 P2P 프로비젼 디스커버리 응답을 단말 B의 ASP로 전송할 수 있다. 단말 B의 ASP는 상기 P2P 프로비젼 디스커버리 응답이 수신됨에 따라 서비스 요청이 연기되었음을 나타내는 접속 상태 이벤트를 서비스 프로세스에게 전달한다. 단말 B의 서비스 프로세스는 상기 접속 상태 이벤트에 응답하여, 단말 A의 사용자 의향을 확인할 때까지 서비스 요청이 연기되었음을 인식하고, 타이머를 설정한다. 상기 타이머는 사용자 의향을 나타내는 P2P 프로비젼 디스커버리 요청이 단말 A로부터 수신되었을 때 리셋될 수 있다.In step 1220, the ASP of the terminal B transmits a P2P provisioning discovery request including session information and connection capabilities indicating the attribute information of the file to be transmitted to the ASP of the terminal A, and the service of the terminal B. Sends a connection status event to inform the process that a service request has been sent. The P2P provision discovery request, as attribute information about a file, includes at least one of a number of files, an overall size of files, and a file name. The ASP of the terminal A sends a P2P provisioning discovery response to the ASP of the terminal B including a status code requesting that the service request is postponed until a user input is confirmed, indicating that the P2P provision discovery request has been successfully received. Can be. The ASP of the terminal B sends a connection state event to the service process indicating that the service request has been postponed as the P2P provision discovery response is received. The service process of the terminal B, in response to the connection state event, recognizes that the service request has been postponed until it confirms the user's intention of the terminal A, and sets a timer. The timer may be reset when a P2P provision discovery request indicating user intention is received from terminal A.

단말 A의 ASP는 단말 B로부터 수신한 P2P 프로비젼 디스커버리 요청에 응답하여, 세션이 요청되었음을 서비스 프로세스에게 알린다. 단말 A의 서비스 프로세스는 필요한 경우 와이파이 다이렉트 서비스를 위한 어플리케이션을 활성화시키고, 단말 B가 전송하고자 하는 파일에 대한 속성 정보를 담은 세션 정보를 상기 어플리케이션으로 전달한다.The ASP of the terminal A, in response to the P2P provision discovery request received from the terminal B, informs the service process that the session has been requested. The terminal A's service process activates an application for Wi-Fi Direct service if necessary, and delivers session information containing attribute information about a file to be transmitted by the terminal B to the application.

과정 1225에서 단말 A의 어플리케이션은 상기 세션 정보로부터 독출된 속성 정보에 근거하여, 단말 B가 전송하고자 하는 파일에 대한 정보를 화면에 디스플레이하여 사용자 입력을 요청한다. 파일 전송 서비스에 대한 수락을 지시하는 사용자 입력이 검출되면, 어플리케이션은 사용자 수락을 서비스 프로세스에게 통지하며, 서비스 프로세스는 세션 설정이 확인되었음을 나타내는 세션 확인 명령을 ASP로 전달한다. 이때 단말 A의 서비스 프로세스는 어플리케이션으로 세션 정보를 전달하면서, 타이머를 설정하고, 사용자 입력이 수신될 때 상기 타이머를 리셋할 수 있다. 일 실시예로서 상기 타이머가 만기되기까지 사용자 입력이 감지되지 않으면, 단말 A의 서비스 프로세스는 사전 설정에 따라 파일 전송 서비스에 대한 수락을 나타내는 세션 확인 명령을 ASP로 전달할 수 있다.In operation 1225, the application of the terminal A requests information about a file to be transmitted by the terminal B based on the attribute information read from the session information and requests a user input. When a user input indicating acceptance of the file transfer service is detected, the application notifies the service process of user acceptance, and the service process sends a session confirmation command to the ASP indicating that session establishment has been confirmed. In this case, the service process of the terminal A may set a timer while transmitting session information to an application, and reset the timer when a user input is received. In one embodiment, if the user input is not detected until the timer expires, the service process of the terminal A may transmit a session confirmation command indicating the acceptance of the file transfer service to the ASP according to a preset.

과정 1230에서 단말 A의 ASP는 서비스 프로세스로부터의 세션 확인 명령에 응답하여, 수락을 나타내는 상태 코드와, 필요하다면 세션 정보를 포함하는 P2P 프로비젼 디스커버리 요청을 단말 B의 ASP에게 전송한다. 단말 B의 ASP는 서비스 요청이 수락되었음을 나타내는 접속 상태 이벤트를 서비스 프로세스에게 전달하고, 세션 연결 절차의 나머지를 계속하여 수행한다.In step 1230, the ASP of the terminal A, in response to the session confirmation command from the service process, sends a P2P provision discovery request including a status code indicating acceptance and, if necessary, session information to the ASP of the terminal B. The ASP of the terminal B sends a connection state event indicating that the service request has been accepted to the service process, and continues the rest of the session connection procedure.

구체적으로 과정 1235에서 단말 A와 단말 B의 ASP들은 P2P 그룹을 형성하거나, 혹은 기 존재하는 P2P 그룹에 참여하고, 각자의 서비스 프로세스에게 그룹 형성의 시작과 완료 이벤트를 각각 보고한다.In more detail, in step 1235, the ASPs of the UE A and the UE B form a P2P group or participate in an existing P2P group, and report the start and completion events of the group formation to their respective service processes.

과정 1240에서 단말 B의 ASP는 광고 ID와 해당 ASP 세션을 식별하기 위해 세션 ID와 결합될 MAC(Media Access Control) 주소, 단말 B의 ASP에 의해 할당되는 상기 세션 ID를 포함하는 세션 요청(REQUEST_SESSION)을 단말 A의 ASP에게 전송하며, 단말 A의 ASP는 ACK(Acknowledgement)로 응답한다. 이때 단말 B의 ASP는 자신의 서비스 프로세스에게 세션이 초기화됨을 알리는 세션 상태 이벤트를 전송하며, 단말 A의 ASP는 자신의 서비스 프로세스에게 세션이 요청되었음을 나타내는 세션 상태 이벤트를 전송한다. In step 1240, the ASP of the terminal B session request including a media access control (MAC) address to be combined with the session ID to identify an advertisement ID and the corresponding ASP session, and the session ID assigned by the ASP of the terminal B (REQUEST_SESSION). Is transmitted to the ASP of the terminal A, and the ASP of the terminal A responds with an acknowledgment (ACK). At this time, the ASP of the terminal B transmits a session state event indicating that the session is initiated to its service process, and the ASP of the terminal A transmits a session state event indicating that the session is requested to its service process.

과정 1245에서 단말 A의 ASP는 서비스 프로세스와 세션에 사용될 포트를 개방하기 위한 동작을 수행하고, MAC 주소와 세션 ID를 포함하는 세션 추가(ADDED_SESSION) 프레임을 단말 B의 ASP에게 전송한다. 단말 B의 ASP는 ACK로 단말 A에게 응답하고, 자신의 서비스 프로세스에게 세션이 개방되었음을 알리는 세션 상태 이벤트를 전송하여, 서비스 프로세스와 세션에 사용될 포트를 개방하기 위한 동작을 수행한다. 세션이 개방되었으면, 과정 1250에서 단말 B의 서비스 프로세스는 상기 세션을 통해 어플리케이션 소켓 접속 메시지를 전송한다.In step 1245, the ASP of the terminal A performs an operation for opening a port to be used for the service process and the session, and transmits a session addition (ADDED_SESSION) frame including the MAC address and the session ID to the ASP of the terminal B. The ASP of the terminal B responds to the terminal A with an ACK and transmits a session state event indicating that the session has been opened to its service process, and performs an operation for opening a port to be used for the service process and the session. If the session is open, the service process of the terminal B in step 1250 sends an application socket connection message over the session.

그러면 과정 1255에서 단말 B의 어플리케이션으로부터 단말 A의 어플리케이션으로 어플리케이션 데이터, 즉 파일의 전송이 이루어진다.Then, in step 1255, the application data, that is, the file is transmitted from the application of the terminal B to the application of the terminal A.

파일의 전송이 완료되었거나, 혹은 파일의 전송이 완료되기 이전에 단말 B의 어플리케이션이 서비스 프로세스에게 세션의 종료에 대한 입력을 전송한 경우에, 단말 B의 서비스 프로세스는 ASP에게 세션 폐쇄 및 포트 해제를 요청한다. 그러면 과정 1260에서 단말 B의 ASP는 단말 A의 ASP에게 제거할 세션을 식별하기 위한 광고 ID, MAC 주소 및 세션 ID를 포함하는 세션 제거(REMOVE_SESSION) 프레임을 전송한다. 단말 A의 ASP는 서비스 프로세스에게 세션 폐쇄를 요청하는 세션 상태 이벤트를 전송하며, 서비스 프로세스는 어플리케이션으로 세션 종료를 통지한 후, 포트 해제 명령을 ASP로 전달한다. 단말 A의 ASP로부터 단말 B의 ASP로 ACK가 수신된 후, 단말 B의 ASP는 세션 폐쇄를 알리는 세션 상태 이벤트를 서비스 프로세스에게 전송하고, 단말 A의 ASP에게 연결해제 요청(Dissociation Request)을 전송한 후 연결해제 응답(Dissociation Response)을 수신한다. 만일 활성화된 세션이 더 이상 존재하지 않는다면, 단말 B의 ASP는 유입 포트를 폐쇄하여 모든 세션을 종료한다.
If the transfer of the file is completed, or if the application of terminal B sends an input for terminating the session to the service process before the transfer of the file is completed, the service process of terminal B gives the ASP to close the session and release the port. request. Then, in step 1260, the ASP of the terminal B transmits a session removal (REMOVE_SESSION) frame including the advertisement ID, the MAC address, and the session ID to identify the session to be removed to the ASP of the terminal A. The ASP of the terminal A sends a session state event requesting the session to the service process, and the service process notifies the application of the end of the session, and then sends a port release command to the ASP. After the ACK is received from the ASP of the terminal A to the ASP of the terminal B, the ASP of the terminal B transmits a session state event indicating a session closure to the service process and sends a disconnect request to the ASP of the terminal A. After receiving the disconnection response (Dissociation Response). If the active session no longer exists, the ASP of the terminal B closes the inlet port to terminate all sessions.

상기에서 설명한 본 발명의 실시예들은 전송 예정 파일에 대한 정보를 수신 단말에게 미리 전달하여, 수신 단말이 해당 정보에 따라 와이파이 다이렉트 연결을 허용할지의 의향을 송신 단말에게 응답할 수 있다. 이로써 본 발명의 실시예들은 불필요한 와이파이 다이렉트 연결을 방지하고, 파일 전송의 취소를 줄일 수 있다.
In the above-described embodiments of the present invention, the information on the transmission schedule file is previously transmitted to the receiving terminal, so that the receiving terminal can respond to the transmitting terminal whether it will allow the Wi-Fi Direct connection according to the information. As a result, embodiments of the present invention can prevent unnecessary Wi-Fi Direct connection and reduce cancellation of file transfer.

한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능하다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. Therefore, the scope of the present invention should not be limited by the illustrated embodiments, but should be determined by the scope of the appended claims and equivalents thereof.

Claims (17)

사용자 의향을 반영한 서비스 연결 방법에 있어서,
와이파이 다이렉트 연결을 수행하여 전송하고자 하는 파일을 결정하는 과정과,
단말 디스커버리 절차를 통해 상기 파일을 전송할 상대 단말을 선택하는 과정과,
상기 상대 단말과의 와이파이 다이렉트 연결 이전에, 상기 파일에 대한 속성 정보를 포함하는 제1 프레임을 상기 상대 단말에게 전송하는 과정과,
상기 상대 단말로부터 상기 상대 단말과의 와이파이 다이렉트 연결을 수락할지 혹은 거부할지를 나타내는 정보를 포함하는 제2 프레임을 수신하는 과정을 포함하는 것을 특징으로 하는 서비스 연결 방법.
In the service connection method reflecting the user's intention,
Determining a file to be transferred by performing a Wi-Fi direct connection;
Selecting a counterpart terminal to which the file is to be transmitted through a terminal discovery procedure;
Transmitting a first frame including attribute information on the file to the counterpart terminal before the Wi-Fi Direct connection with the counterpart terminal;
And receiving a second frame including information indicating whether to accept or reject the Wi-Fi Direct connection with the counterpart terminal from the counterpart terminal.
제 1 항에 있어서, 상기 단말 디스커버리 절차 이후에 서비스 디스커버리 절차가 추가적으로 수행됨을 특징으로 하는 서비스 연결 방법.
The method of claim 1, wherein a service discovery procedure is additionally performed after the terminal discovery procedure.
제 1 항에 있어서, 상기 제2 프레임에 포함된 정보가 상기 와이파이 다이렉트 연결을 수락함을 나타내는 경우, 상기 상대 단말과 와이파이 다이렉트 연결의 나머지 절차를 수행하고 상기 와이파이 다이렉트 연결을 통해 상기 파일을 상기 상대 단말로 전달하는 과정을 더 포함하는 것을 특징으로 하는 서비스 연결 방법.
The method of claim 1, wherein when the information included in the second frame indicates that the Wi-Fi Direct connection is accepted, the remaining procedure of Wi-Fi Direct connection is performed with the counterpart terminal and the file is transmitted through the Wi-Fi Direct connection. The service connection method, characterized in that it further comprises the step of delivering to the terminal.
제 1 항에 있어서, 상기 제2 프레임에 포함된 정보가 상기 와이파이 다이렉트 연결을 거부함을 나타내는 경우, 상기 상대 단말과의 와이파이 다이렉트 연결을 중단하는 과정을 더 포함하는 것을 특징으로 하는 서비스 연결 방법.
The method of claim 1, further comprising stopping the Wi-Fi Direct connection with the counterpart terminal when the information included in the second frame indicates that the Wi-Fi Direct connection is rejected.
제 1 항에 있어서, 상기 속성 정보는,
전송하고자 하는 파일들의 개수와, 상기 파일들의 전체 크기와, 상기 파일들 중 적어도 하나의 이름 중 적어도 하나를 포함함을 특징으로 하는 서비스 연결 방법.
The method of claim 1, wherein the attribute information,
And at least one of a number of files to be transmitted, a total size of the files, and a name of at least one of the files.
제 1 항에 있어서, 상기 제1 및 제2 프레임 중 적어도 하나는,
P2P(Peer-to-Peer) 프로비젼 디스커버리 요청 프레임을 포함함을 특징으로 하는 서비스 연결 방법.
The method of claim 1, wherein at least one of the first and second frames,
Peer-to-peer provisioning discovery request frame, characterized in that the service connection method.
제 1 항에 있어서, 상기 제1 프레임을 전송한 이후, 상기 제2 프레임이 수신되거나 타임아웃이 발생하기까지 와이파이 다이렉트 연결의 나머지 절차를 연기하는 과정을 더 포함함을 특징으로 하는 서비스 연결 방법.
The method of claim 1, further comprising postponing the remaining procedure of the Wi-Fi Direct connection until the second frame is received or a timeout occurs after transmitting the first frame.
사용자 의향을 반영한 서비스 연결 방법에 있어서,
단말 디스커버리 절차를 수행하여 와이파이 다이렉트 연결을 통해 파일을 전송하고자 하는 상대 단말을 선택하는 과정과,
상기 상대 단말과의 와이파이 다이렉트 연결 이전에, 상기 파일에 대한 속성 정보를 포함하는 제1 프레임을 상기 상대 단말로부터 수신하는 과정과,
사용자 입력에 따라 상기 상대 단말과의 와이파이 다이렉트 연결을 수락할지 혹은 거부할지를 나타내는 정보를 포함하는 제2 프레임을 상기 상대 단말로 전송하는 과정을 포함하는 것을 특징으로 하는 서비스 연결 방법.
In the service connection method reflecting the user's intention,
Selecting a counterpart terminal to which a file is to be transmitted through a Wi-Fi direct connection by performing a terminal discovery procedure;
Receiving a first frame including attribute information of the file from the counterpart terminal before the Wi-Fi Direct connection with the counterpart terminal;
And transmitting a second frame including information indicating whether to accept or reject the Wi-Fi Direct connection with the counterpart terminal according to a user input to the counterpart terminal.
제 8 항에 있어서, 상기 단말 디스커버리 절차 이후에 서비스 디스커버리 절차가 추가적으로 수행됨을 특징으로 하는 서비스 연결 방법.
The method of claim 8, wherein a service discovery procedure is additionally performed after the terminal discovery procedure.
제 8 항에 있어서, 상기 제2 프레임에 포함된 정보가 상기 와이파이 다이렉트 연결을 수락함을 나타내는 경우, 상기 상대 단말과 와이파이 다이렉트 연결의 나머지 절차를 수행하고 상기 와이파이 다이렉트 연결을 통해 상기 파일을 상기 상대 단말로부터 수신하는 과정을 더 포함하는 것을 특징으로 하는 서비스 연결 방법.
The method of claim 8, wherein when the information included in the second frame indicates that the Wi-Fi Direct connection is accepted, the remaining procedure of Wi-Fi Direct connection is performed with the counterpart terminal and the file is transmitted through the Wi-Fi Direct connection. The service connection method further comprises the step of receiving from the terminal.
제 8 항에 있어서, 상기 제2 프레임에 포함된 정보가 상기 와이파이 다이렉트 연결을 거부함을 나타내는 경우, 상기 상대 단말과의 와이파이 다이렉트 연결을 중단하는 과정을 더 포함하는 것을 특징으로 하는 서비스 연결 방법.
The method of claim 8, further comprising stopping the Wi-Fi Direct connection with the counterpart terminal when the information included in the second frame indicates that the Wi-Fi Direct connection is rejected.
제 8 항에 있어서, 상기 속성 정보는,
전송하고자 하는 파일들의 개수와, 상기 파일들의 전체 크기와, 상기 파일들 중 적어도 하나의 이름 중 적어도 하나를 포함함을 특징으로 하는 서비스 연결 방법.
The method of claim 8, wherein the attribute information,
And at least one of a number of files to be transmitted, a total size of the files, and a name of at least one of the files.
제 8 항에 있어서, 상기 제1 및 제2 프레임 중 적어도 하나는,
P2P(Peer-to-Peer) 프로비젼 디스커버리 요청 프레임을 포함함을 특징으로 하는 서비스 연결 방법.
The method of claim 8, wherein at least one of the first and second frames,
Peer-to-peer provisioning discovery request frame, characterized in that the service connection method.
제 8 항에 있어서, 상기 제1 프레임을 수신한 이후, 상기 제2 프레임이 전송되거나 타임아웃이 발생하기까지 와이파이 다이렉트 연결의 나머지 절차를 연기할 것을 요청하는 제3 프레임을 상기 상대 단말로 전송하는 과정을 더 포함함을 특징으로 하는 서비스 연결 방법.
The method of claim 8, wherein after receiving the first frame, transmitting a third frame to the counterpart terminal requesting that the remaining procedure of the Wi-Fi Direct connection be delayed until the second frame is transmitted or a timeout occurs. Service connection method further comprising the process.
제 8 항에 있어서, 상기 속성 정보를 사용자에게 제공하고 상기 파일의 전송을 수락할지 혹은 거부할지를 나타내는 사용자 입력을 검출하는 과정과,
미리 설정된 시간의 타임아웃이 발생하기까지 상기 사용자 입력이 검출되지 않으면, 상기 와이파이 다이렉트 연결을 거부할 것으로 결정하는 과정 중 적어도 하나를 더 포함함을 특징으로 하는 서비스 연결 방법.
The method of claim 8, further comprising: detecting a user input indicating whether to provide the attribute information to a user and to accept or reject the transmission of the file;
And at least one of determining to reject the Wi-Fi Direct connection if the user input is not detected until a timeout of a preset time occurs.
사용자 의향을 반영한 서비스 연결을 수행하는 단말 장치에 있어서,
와이파이 다이렉트 연결을 통해 전송하고자 하는 파일을 결정하고, 단말 디스커버리 절차를 수행하여 상기 파일을 전송할 상대 단말을 선택하는 제어부와,
상기 상대 단말과의 와이파이 다이렉트 연결 이전에, 상기 파일에 대한 속성 정보를 포함하는 제1 프레임을 상기 상대 단말에게 전송하는 송신부와,
상기 상대 단말로부터 상기 상대 단말과의 와이파이 다이렉트 연결을 수락할지 혹은 거부할지를 나타내는 정보를 포함하는 제2 프레임을 수신하는 수신부를 포함하는 것을 특징으로 하는 단말 장치.
In the terminal device that performs the service connection reflecting the user's intention,
A controller for determining a file to be transmitted through a Wi-Fi direct connection and performing a terminal discovery procedure to select a counterpart terminal to which the file is to be transmitted;
A transmitter configured to transmit a first frame including attribute information of the file to the counterpart terminal before the Wi-Fi Direct connection with the counterpart terminal;
And a receiving unit which receives a second frame including information indicating whether to accept or reject the Wi-Fi Direct connection with the counterpart terminal from the counterpart terminal.
사용자 의향을 반영한 서비스 연결을 수행하는 단말 장치에 있어서,
단말 디스커버리 절차를 수행하여 와이파이 다이렉트 연결을 통해 파일을 전송하고자 하는 상대 단말을 선택하는 제어부와,
상기 상대 단말과의 와이파이 다이렉트 연결 이전에, 상기 파일에 대한 속성 정보를 포함하는 제1 프레임을 상기 상대 단말로부터 수신하는 수신부와,
사용자 입력에 따라 상기 상대 단말과의 와이파이 다이렉트 연결을 수락할지 혹은 거부할지를 나타내는 정보를 포함하는 제2 프레임을 상기 상대 단말로 전송하는 송신부를 포함하는 것을 특징으로 하는 단말 장치.
In the terminal device that performs the service connection reflecting the user's intention,
A control unit for selecting a counterpart terminal to which a file is to be transmitted through a Wi-Fi direct connection by performing a terminal discovery procedure;
A receiving unit receiving a first frame including attribute information of the file from the counterpart terminal before the Wi-Fi Direct connection with the counterpart terminal;
And a transmitter configured to transmit a second frame including information indicating whether to accept or reject the Wi-Fi Direct connection with the counterpart terminal according to a user input.
KR1020130035357A 2012-08-08 2013-04-01 Apparatus and method for connecting service reflected in user intent KR102037256B1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2015526469A JP6282651B2 (en) 2012-08-08 2013-08-08 Service connection apparatus and method reflecting user's intention
CN201380041960.6A CN104521289B (en) 2012-08-08 2013-08-08 It is intended to the device and method of connection service according to user
PCT/KR2013/007172 WO2014025217A1 (en) 2012-08-08 2013-08-08 Apparatus and method of connecting service according to user intention
EP13179789.6A EP2696643B1 (en) 2012-08-08 2013-08-08 Apparatus and method of connecting service, according to user intention
US13/962,432 US9167615B2 (en) 2012-08-08 2013-08-08 Apparatus and method of connecting service, according to user intention
US14/918,143 US9872323B2 (en) 2012-08-08 2015-10-20 Apparatus and method of connecting service, according to user intention

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20120086816 2012-08-08
KR1020120086816 2012-08-08

Publications (2)

Publication Number Publication Date
KR20140020179A true KR20140020179A (en) 2014-02-18
KR102037256B1 KR102037256B1 (en) 2019-10-29

Family

ID=50267336

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130035357A KR102037256B1 (en) 2012-08-08 2013-04-01 Apparatus and method for connecting service reflected in user intent

Country Status (3)

Country Link
JP (1) JP6282651B2 (en)
KR (1) KR102037256B1 (en)
CN (1) CN104521289B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016068632A1 (en) * 2014-10-29 2016-05-06 엘지전자 주식회사 Method and apparatus for performing discovery by device supporting wi-fi direct in wireless communication system
WO2016122209A3 (en) * 2015-01-29 2016-09-15 엘지전자 주식회사 Wireless lan station having platform capable of changing wireless lan connection technique
GB2537479A (en) * 2015-01-12 2016-10-19 Motorola Mobility Llc Method for peer-to-peer data transfer using wireless local area network radio equipment
US9717107B2 (en) 2015-01-12 2017-07-25 Motorola Mobility Llc Method for peer-to-peer data transfer using wireless local area network radio equipment
CN113572823A (en) * 2021-07-07 2021-10-29 维沃移动通信有限公司 File transmission system and transmission method and electronic equipment
US11979279B1 (en) * 2023-08-09 2024-05-07 Arista Networks, Inc. Allocated execution time adjustment for secure device provisioning

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2013352890B2 (en) * 2012-11-29 2015-09-10 Lg Electronics Inc. Method for setting communication in Wi-Fi direct service system, and apparatus therefor
EP2943032B1 (en) * 2013-01-03 2018-01-03 LG Electronics Inc. Method and apparatus for changing services in wireless communication system
JP6666669B2 (en) * 2015-08-11 2020-03-18 キヤノン株式会社 Communication device, control method therefor, and program
CN109168152A (en) * 2018-08-27 2019-01-08 优视科技新加坡有限公司 A kind of method and device thereof, the equipment/terminal/server of file transmission
CN115378930A (en) * 2021-05-17 2022-11-22 成都鼎桥通信技术有限公司 File distribution method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110081923A1 (en) * 2009-10-02 2011-04-07 Babak Forutanpour Device movement user interface gestures for file sharing functionality
US20120131133A1 (en) * 2010-11-22 2012-05-24 I O Interconnect, Ltd. File sharing method and file sharing system utilizing the same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060001033A (en) * 2004-06-30 2006-01-06 삼성전자주식회사 Apparatus for transmitting file to external device and method thereof
JP4721782B2 (en) * 2005-06-16 2011-07-13 パナソニック株式会社 Communication management apparatus and communication system
JP5718933B2 (en) * 2009-11-17 2015-05-13 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for searching WiFi display service in WiFiDirect network
KR101719161B1 (en) * 2010-05-13 2017-03-23 삼성전자주식회사 Wifi-based devices and a method of operating the same
EP3179818B1 (en) * 2010-12-24 2018-06-13 Samsung Electronics Co., Ltd Method and apparatus for protecting content in a wi-fi direct communication scheme
CN102412875B (en) * 2011-12-26 2017-05-10 中兴通讯股份有限公司 File sending and receiving method and device as well as file transmission method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110081923A1 (en) * 2009-10-02 2011-04-07 Babak Forutanpour Device movement user interface gestures for file sharing functionality
US20120131133A1 (en) * 2010-11-22 2012-05-24 I O Interconnect, Ltd. File sharing method and file sharing system utilizing the same

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016068632A1 (en) * 2014-10-29 2016-05-06 엘지전자 주식회사 Method and apparatus for performing discovery by device supporting wi-fi direct in wireless communication system
US10264441B2 (en) 2014-10-29 2019-04-16 Lg Electronics Inc. Method and apparatus for performing discovery by device supporting Wi-Fi Direct in wireless communication system
GB2537479A (en) * 2015-01-12 2016-10-19 Motorola Mobility Llc Method for peer-to-peer data transfer using wireless local area network radio equipment
US9717107B2 (en) 2015-01-12 2017-07-25 Motorola Mobility Llc Method for peer-to-peer data transfer using wireless local area network radio equipment
GB2537479B (en) * 2015-01-12 2020-10-07 Motorola Mobility Llc Method for peer-to-peer data transfer using wireless local area network radio equipment
WO2016122209A3 (en) * 2015-01-29 2016-09-15 엘지전자 주식회사 Wireless lan station having platform capable of changing wireless lan connection technique
US10172178B2 (en) 2015-01-29 2019-01-01 Lg Electronics Inc. Wireless LAN station having platform capable of changing wireless LAN connection technique
CN113572823A (en) * 2021-07-07 2021-10-29 维沃移动通信有限公司 File transmission system and transmission method and electronic equipment
US11979279B1 (en) * 2023-08-09 2024-05-07 Arista Networks, Inc. Allocated execution time adjustment for secure device provisioning

Also Published As

Publication number Publication date
JP6282651B2 (en) 2018-02-21
CN104521289A (en) 2015-04-15
CN104521289B (en) 2019-07-05
KR102037256B1 (en) 2019-10-29
JP2015531205A (en) 2015-10-29

Similar Documents

Publication Publication Date Title
US9872323B2 (en) Apparatus and method of connecting service, according to user intention
KR102037256B1 (en) Apparatus and method for connecting service reflected in user intent
US10506420B2 (en) Methods, systems, and devices for enabling multiple radio assisted discovery
US9307022B2 (en) Apparatus and method for determining group owner in establishment of Wi-Fi direct connection
KR101876533B1 (en) Dockee-centric wireless docking
CN109327825B (en) Communication apparatus, communication method, computer-readable medium, and communication system
US9980084B2 (en) Communication apparatus, method for controlling the same, and storage medium
EP3484196B1 (en) Method and apparatus for registering wireless device in wireless communication system
US9820130B2 (en) Method for creating Wi-Fi P2P group
RU2617928C2 (en) Method and device for forming peer group in direct communication system
JP6141006B2 (en) Communication device, control method, and program
KR102366312B1 (en) Electronic device for performing reconnection of near field communication and method for controlling thereof
CN110830968A (en) Networking method and device, Bluetooth equipment and computer readable medium
CN111050415B (en) Wireless data transmission method convenient to operate
US10455634B2 (en) Communication device and a non-transitory computer-readable recording medium
JP2020057866A (en) Application program, mobile terminal, and communication device
US10853008B2 (en) Non-transitory computer-readable medium storing program for communication apparatus, communication apparatus and method for controlling communication apparatus
JP6157190B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
RU2607248C1 (en) Communication device, its control method and program
JP2018007059A (en) Communication device, communication control method, and program

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant