KR20230089507A - Electronic device for performing communication of neighbor awareness networking and method for the same - Google Patents

Electronic device for performing communication of neighbor awareness networking and method for the same Download PDF

Info

Publication number
KR20230089507A
KR20230089507A KR1020220013727A KR20220013727A KR20230089507A KR 20230089507 A KR20230089507 A KR 20230089507A KR 1020220013727 A KR1020220013727 A KR 1020220013727A KR 20220013727 A KR20220013727 A KR 20220013727A KR 20230089507 A KR20230089507 A KR 20230089507A
Authority
KR
South Korea
Prior art keywords
electronic device
communication mode
external electronic
operating
information
Prior art date
Application number
KR1020220013727A
Other languages
Korean (ko)
Inventor
정부섭
이선기
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2022/019667 priority Critical patent/WO2023113351A1/en
Priority to US18/095,683 priority patent/US20230189118A1/en
Publication of KR20230089507A publication Critical patent/KR20230089507A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/182Network node acting on behalf of an other network entity, e.g. proxy
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

In an electronic device and a method for operating the electronic device according to various embodiments, the electronic device comprises a communication circuit and a processor operatively connected to the communication circuit. The processor is configured to: synchronize with neighbor awareness networking (NAN) on the basis of NAN cluster information included in a signal broadcasted by an external electronic device included in the NAN; determine whether or not to switch to a second communication mode, which enables operation by lower power than a first communication mode, on the basis of the state of the electronic device, during the operation in the first communication mode which enables data transmission and/or reception at intervals of a first value; search for an external electronic device capable of performing a proxy server function from among external electronic devices included in the NAN, in accordance with that the processor has decided to switch to the second communication mode; transmit a proxy registration request signal to the found external electronic device; and switch to the second communication mode in accordance with that the processor has finished the registration to the external electronic device. The proxy registration request signal may comprise information associated with a function to be performed by the external electronic device in place of the electronic device while operating in the second communication mode. Other various embodiments are possible. According to the present invention, an electronic device can transmit and/or receive data by means of a competition-based method (e.g. CSMA/CA).

Description

NAN 통신을 수행하는 전자 장치 및 전자 장치의 동작 방법{ELECTRONIC DEVICE FOR PERFORMING COMMUNICATION OF NEIGHBOR AWARENESS NETWORKING AND METHOD FOR THE SAME}Electronic device performing NAN communication and method of operating the electronic device

본 발명의 다양한 실시예는, 전자 장치 및 전자 장치의 동작 방법에 관한 것으로, NAN(neighbor awareness networking) 통신을 수행하는 전자 장치에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device and an operating method of the electronic device, and relates to an electronic device that performs neighbor awareness networking (NAN) communication.

다양한 전자 장치들의 보급과 함께, 다양한 전자 장치들이 사용할 수 있는 무선 통신에 대한 속도 향상이 구현되었다. With the spread of various electronic devices, speed improvements for wireless communication that various electronic devices can use have been implemented.

또한 최근에는 저전력 디스커버리(discovery) 기술을 활용한 다양한 유형의 근접 서비스(proximity service)가 개발되고 있다. 예를 들면, 주변에 인접한 전자 장치들이 근접 네트워크를 통해 신속하게 데이터를 교환할 수 있는 근접 서비스(또는 근접 통신 서비스)가 개발되고 있다. 근접 서비스는, BLE(Bluetooth low energy) 비콘(Beacon)을 이용한 저전력(low power) 근접 서비스, 또는 무선 랜(WLAN, wireless local area network)을 기반으로 하는 저전력 근거리 통신 기술(예: NAN(neighbor awareness networking), Wi-Fi aware)(이하, 'NAN'이라 한다) 기반의 저전력 근접 서비스를 포함할 수 있다. In addition, various types of proximity services using low-power discovery technology have recently been developed. For example, a proximity service (or proximity communication service) through which nearby electronic devices can quickly exchange data through a proximity network is being developed. The proximity service is a low power proximity service using a Bluetooth low energy (BLE) beacon, or a low power short distance communication technology based on a wireless local area network (WLAN) (e.g., NAN (neighbor awareness) networking), Wi-Fi aware) (hereinafter referred to as 'NAN') based low power proximity service.

일 실시예에 따라, NAN 기반의 저전력 근접 서비스(이하, '근접 서비스'라 한다)는 전자 장치의 이동에 따라 동적으로 변화되는 근접 네트워크를 구성하여 이용하는 서비스를 나타내며, 근접 네트워크를 구성한 전자 장치들의 집합을 클러스터(cluster)라 지칭할 수 있다. 근접 서비스의 경우, 클러스터 내에 포함되는 전자 장치들이 서로 동기화된 시구간(time duration)(또는 통신 구간) 내에서 디스커버리(discovery)를 위한 신호(예: 비콘(beacon)) 및 서비스 디스커버리 프레임(SDF, service discovery frame)(이하, 'SDF'라 한다)을 송수신할 수 있다. 예를 들면, 클러스터 내의 적어도 하나의 전자 장치는, 클러스터의 존재를 알리기 위한 신호를 송신할 수 있고, 클러스터에 참여하려는 새로운 전자 장치는 해당 신호를 수신할 수 있다.According to an embodiment, a NAN-based low-power proximity service (hereinafter referred to as 'proximity service') represents a service configured and used in a proximity network that dynamically changes according to the movement of an electronic device, A set may be referred to as a cluster. In the case of proximity service, a signal (e.g., beacon) and a service discovery frame (SDF, A service discovery frame) (hereinafter referred to as 'SDF') may be transmitted and received. For example, at least one electronic device in the cluster may transmit a signal for notifying the existence of the cluster, and a new electronic device intending to participate in the cluster may receive the signal.

클러스터 내의 각 전자 장치들은, 전류 소모(또는 전력 소모)를 줄이기 위해, 신호를 송수신할 수 있는 액티브 구간(active duration)을 서로 다르게 설정할 수 있다. NAN 통신에서, 신호를 송수신할 수 있는 액티브 구간을, 디스커버리 윈도우(DW, discovery window)라고 지칭할 수 있다. 또한, 클러스터 내에 포함되는 전자 장치들은 동기화된 시구간 이외의 구간에서 저전력 상태(예: 슬립(sleep) 상태)를 유지하여 전류 소모를 줄일 수 있다. 이에 더하여, 최근 NAN에서는 소모 전류를 줄이기 위한 방안들에 대한 연구가 진행 중에 있다.In order to reduce current consumption (or power consumption), each electronic device in the cluster may set different active durations for transmitting and receiving signals. In NAN communication, an active period in which signals can be transmitted and received may be referred to as a discovery window (DW). In addition, electronic devices included in the cluster may reduce current consumption by maintaining a low power state (eg, a sleep state) in a section other than the synchronized time section. In addition to this, research on ways to reduce current consumption is currently underway in NAN.

전자 장치는, 디스커버리 윈도우 내에서 데이터를 전송하거나, 수신할 수 있다. 디스커버리 윈도우는 NAN 클러스터에 포함된 전자 장치들이 활성화되는 구간일 수 있으며, 전자 장치는 경쟁 기반의 방식(예: CSMA/CA)에 의해 데이터 전송 및/또는 수신을 수행할 수 있다. 전자 장치는, 디스커버리 윈도우 내에서 데이터 전송 및/또는 수신을 수행하지 못한 경우, 디스커버리 윈도우 사이의 추가적인 기간 동안 데이터를 전송 및/또는 수신함으로써, 전력 소모가 증가하는 문제가 발생할 수 있다.The electronic device may transmit or receive data within the discovery window. The discovery window may be a period in which electronic devices included in the NAN cluster are activated, and the electronic devices may transmit and/or receive data using a contention-based method (eg, CSMA/CA). When the electronic device fails to transmit and/or receive data within the discovery window, power consumption may increase by transmitting and/or receiving data during an additional period between discovery windows.

프록시 클라이언트로 동작하는 전자 장치는, 프록시 서버로 동작하는 외부 전자 장치가 서비스 디스커버리 동작을 수행하도록 할 수 있으며, 다른 기능(예: post initiation communication, NDP, 또는 ranging)은 전자 장치가 직접 수행할 수 있다. 다른 기능을 전자 장치가 직접 수행함으로써, 전자 장치의 전력 소모가 더 증가하는 문제가 발생할 수 있다. An electronic device operating as a proxy client may allow an external electronic device operating as a proxy server to perform a service discovery operation, and the electronic device may directly perform other functions (eg, post initiation communication, NDP, or ranging). there is. When the electronic device directly performs other functions, power consumption of the electronic device may further increase.

본 발명의 다양한 실시예에 따른 전자 장치는 통신 회로, 상기 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 프로세서는 NAN(neighbor awareness networking)에 포함된 외부 전자 장치가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN과 동기화를 수행하고, 제 1 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 제 1 통신 모드로 동작하는 동안, 상기 제 1 통신 모드보다 낮은 전력으로 동작 가능한 제 2 통신 모드로 전환 여부를 상기 전자 장치의 상태에 기반하여 결정하고, 상기 제 2 통신 모드로 전환할 것을 결정함에 대응하여, 상기 NAN에 포함된 외부 전자 장치 중 프록시 서버(proxy server)의 기능을 수행할 수 있는 외부 전자 장치를 검색하고, 상기 검색된 외부 전자 장치로 프록시 등록 요청 신호를 전송하고, 상기 외부 전자 장치로 등록이 완료됨에 대응하여, 상기 제 2 통신 모드로 동작하도록 설정되고, 상기 프록시 등록 요청 신호는 상기 제 2 통신 모드로 동작하는 동안 상기 외부 전자 장치가 상기 전자 장치 대신 수행될 기능과 관련된 정보를 포함할 수 있다.An electronic device according to various embodiments of the present invention includes a communication circuit and a processor operatively connected to the communication circuit, wherein the processor is included in a signal broadcast by an external electronic device included in NAN (neighbor awareness networking). While operating in a first communication mode capable of performing synchronization with the NAN based on NAN cluster information and transmitting and/or receiving data at intervals having a first value, capable of operating at lower power than the first communication mode Whether to switch to the second communication mode is determined based on the state of the electronic device, and in response to the decision to switch to the second communication mode, a function of a proxy server among external electronic devices included in the NAN Searching for an external electronic device capable of performing the search, transmitting a proxy registration request signal to the searched external electronic device, and setting to operate in the second communication mode in response to completion of registration with the external electronic device, The proxy registration request signal may include information related to a function to be performed by the external electronic device instead of the electronic device while operating in the second communication mode.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 NAN(neighbor awareness networking)에 포함된 외부 전자 장치가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN과 동기화를 수행하는 동작, 제 1 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 제 1 통신 모드로 동작하는 동안, 상기 제 1 통신 모드보다 낮은 전력으로 동작 가능한 제 2 통신 모드로 전환 여부를 상기 전자 장치의 상태에 기반하여 결정하는 동작, 상기 제 2 통신 모드로 전환할 것을 결정함에 대응하여, 상기 NAN에 포함된 외부 전자 장치 중 프록시 서버(proxy server)의 기능을 수행할 수 있는 외부 전자 장치를 검색하는 동작, 상기 검색된 외부 전자 장치로 프록시 등록 요청 신호를 전송하는 동작, 상기 외부 전자 장치로 등록이 완료됨에 대응하여, 상기 제 2 통신 모드로 동작하는 동작을 포함하고, 상기 프록시 등록 요청 신호는 상기 제 2 통신 모드로 동작하는 동안 상기 외부 전자 장치가 상기 전자 장치 대신 수행될 기능과 관련된 정보를 포함할 수 있다.An operating method of an electronic device according to various embodiments of the present invention includes performing synchronization with NAN based on NAN cluster information included in a signal broadcast by an external electronic device included in NAN (neighbor awareness networking); Based on a state of the electronic device whether to switch to a second communication mode capable of operating with lower power than the first communication mode while operating in a first communication mode capable of transmitting and/or receiving data at intervals having a value of 1 Searching for an external electronic device capable of performing a function of a proxy server among external electronic devices included in the NAN in response to a decision to switch to the second communication mode, the Transmitting a proxy registration request signal to the searched external electronic device, and operating in the second communication mode in response to completion of registration with the external electronic device, wherein the proxy registration request signal corresponds to the second communication mode While operating as , the external electronic device may include information related to a function to be performed instead of the electronic device.

본 발명의 다양한 실시예에 따른 전자 장치는 통신 회로, 상기 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 프로세서는 NAN(neighbor awareness networking)에 포함된 외부 전자 장치가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN과 동기화를 수행하고, 상기 NAN 클러스터 내의 프록시 서버로 동작하는 동안, 상기 NAN에 포함된 외부 전자 장치 중 프록시 클라이언트(proxy client)로 동작하고자 하는 외부 전자 장치가 전송하는 신호에 기반하여, 상기 외부 전자 장치를 상기 프록시 클라이언트로 등록하고, 프록시 서버로 동작하는 다른 외부 전자 장치를 검색함에 따라, 상기 외부 전자 장치의 정보를 상기 다른 외부 전자 장치로 전송하도록 설정될 수 있다.An electronic device according to various embodiments of the present invention includes a communication circuit and a processor operatively connected to the communication circuit, wherein the processor is included in a signal broadcast by an external electronic device included in NAN (neighbor awareness networking). While synchronizing with the NAN based on NAN cluster information and operating as a proxy server in the NAN cluster, an external electronic device that wants to operate as a proxy client among external electronic devices included in the NAN transmits Based on the signal, the external electronic device may be configured to be registered as the proxy client and to transmit information of the external electronic device to the other external electronic device as another external electronic device operating as a proxy server is searched for. .

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은, 프록시 클라이언트로 동작하는 전자 장치가, 지정된 조건을 만족하는 경우, 전자 장치가 수행하는 기능 중 일부의 기능을 프록시 서버로써 동작하는 외부 전자 장치가 수행하는 통신 모드로 동작함으로써, 전자 장치의 전력 소모를 감소시킬 수 있다.An electronic device and a method for operating the electronic device according to various embodiments of the present disclosure include operating some of the functions performed by the electronic device as a proxy server when the electronic device operating as a proxy client satisfies a specified condition. By operating in a communication mode performed by an external electronic device, power consumption of the electronic device may be reduced.

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은, 프록시 서버로 동작하는 전자 장치가, 프록시 클라이언트로써 동작하는 외부 전자 장치의 정보를, 프록시 서버로 동작하는 다른 외부 전자 장치로 전송할 수 있다. 따라서, 프록시 클라이언트로써 동작하는 외부 전자 장치가, 다른 외부 전자 장치에 연결되더라도, 별도의 등록 절차 없이 프록시 서버로 동작하도록 함으로써, 추가적인 등록 절차로 인해 발생하는 외부 전자 장치의 전력 소모를 감소시킬 수 있다.An electronic device and a method of operating the electronic device according to various embodiments of the present disclosure, wherein an electronic device operating as a proxy server transmits information of an external electronic device operating as a proxy client to another external electronic device operating as a proxy server. can Therefore, even if an external electronic device operating as a proxy client is connected to another external electronic device, power consumption of the external electronic device caused by an additional registration procedure can be reduced by operating as a proxy server without a separate registration procedure. .

도 1은 본 발명의 다양한 실시예에 따른, 전자 장치의 블록도이다.
도 2는 본 다양한 실시예들에 따른 NAN(neighbor awareness network) 클러스터를 도시한 도면이다.
도 3은 본 발명의 다양한 실시예들에 따른 NAN 클러스터에 포함된 전자 장치의 신호를 전송하는 프로토콜을 도시한 도면이다.
도 4는 본 발명의 다양한 실시예들에 따른 NAN 클러스터 내의 데이터 송수신의 예를 도시하는 도면이다.
도 5는 본 발명의 다양한 실시예들에 따른, NAN 클러스터 내의 프록시 서버 및 프록시 클라이언트를 도시한 도면이다.
도 6은 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
도 8은 본 발명의 다양한 실시예에 따른 전자 장치가 제 2 통신 모드로 동작하면서, 전자 장치가 수행할 기능을 외부 전자 장치가 대신 수행하도록 하는 실시예를 도시한 도면이다.
도 9는 본 발명의 다양한 실시예에 따른 전자 장치가, 수동 스캔(passive scan)을 수행하지 않고, 클러스터의 병합을 수행하는 실시예를 도시한 도면이다.
도 10은 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 11은 본 발명의 다양한 실시예예 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
도 12a 및 도 12b는 본 발명의 다양한 실시예에 따른 전자 장치가, 프록시 클라이언트로써 동작하는 외부 전자 장치의 정보를 다른 외부 전자 장치로 전송하는 실시예를 도시한 도면이다.
1 is a block diagram of an electronic device according to various embodiments of the present disclosure.
2 is a diagram illustrating a neighbor awareness network (NAN) cluster according to various embodiments.
3 is a diagram illustrating a protocol for transmitting a signal of an electronic device included in a NAN cluster according to various embodiments of the present disclosure.
4 is a diagram illustrating an example of data transmission and reception in a NAN cluster according to various embodiments of the present invention.
5 is a diagram illustrating a proxy server and proxy client in a NAN cluster, according to various embodiments of the present invention.
6 is a block diagram of an electronic device according to various embodiments of the present disclosure.
7 is an operation flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
8 is a diagram illustrating an embodiment in which an external electronic device performs a function to be performed by the electronic device instead of the electronic device while the electronic device operates in the second communication mode according to various embodiments of the present disclosure.
9 is a diagram illustrating an embodiment in which an electronic device according to various embodiments of the present disclosure performs cluster merging without performing a passive scan.
10 is a block diagram of an electronic device according to various embodiments of the present disclosure.
11 is an operation flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
12A and 12B are diagrams illustrating an example in which an electronic device according to various embodiments of the present disclosure transmits information of an external electronic device operating as a proxy client to another external electronic device.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited. The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user). The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

도 2는 본 다양한 실시예들에 따른 NAN(neighbor awareness network) 클러스터를 도시한 도면이다.2 is a diagram illustrating a neighbor awareness network (NAN) cluster according to various embodiments.

예를 들면, 도 2는 다양한 실시 예에 따른 근접 네트워크를 위한 NAN(neighbor awareness networking) 클러스터(cluster)(200)의 구성 예를 나타낼 수 있다. 이하 설명에서, 클러스터(200)는 각 전자 장치들(또는 NAN 장치들)(예: 도 1의 전자 장치(101))(210, 220, 230, 또는 240)이 상호 데이터를 송신 및 수신할 수 있도록 근접 네트워크를 구성한 전자 장치들(210, 220, 230, 또는 240)의 집합을 의미할 수 있다. 예를 들면, 클러스터(200)는 NAN 규격(또는 표준)에 따라 NAN 클러스터라고 지칭될 수 있다.For example, FIG. 2 may show a configuration example of a neighbor awareness networking (NAN) cluster 200 for a proximity network according to various embodiments. In the following description, in the cluster 200, each electronic device (or NAN device) (eg, the electronic device 101 of FIG. 1) 210, 220, 230, or 240 can mutually transmit and receive data. It may refer to a set of electronic devices 210, 220, 230, or 240 configuring a proximity network to For example, cluster 200 may be referred to as a NAN cluster according to NAN specifications (or standards).

도 2를 참조하면, 클러스터(200)는 다수의 전자 장치들(210, 220, 230, 또는 240)로 구성될 수 있다. 클러스터(200) 내에 포함되는 전자 장치들(210, 220, 230, 또는 240)은 동기화된 시구간(time duration)(또는 통신 구간)(예: 디스커버리(또는 탐색, 발견) 윈도우(DW, discovery window)) 내에서 비콘(beacon)(또는 탐색 비콘(discovery beacon)) 및/또는 서비스 디스커버리 프레임(SDF, service discovery frame)(이하, 'SDF'라 한다)을 송수신할 수 있다. Referring to FIG. 2 , a cluster 200 may include a plurality of electronic devices 210, 220, 230, or 240. The electronic devices 210, 220, 230, or 240 included in the cluster 200 have a synchronized time duration (or communication interval) (eg, a discovery (or search, discovery) window (DW, discovery window) )), a beacon (or a discovery beacon) and/or a service discovery frame (SDF) (hereinafter referred to as 'SDF') may be transmitted and received.

클러스터(200) 내에 있는 전자 장치들(210, 220, 230, 또는 240)은 서로 시간 클럭(time clock)이 동기화될 수 있다. 예를 들면, 전자 장치들(210, 220, 230, 240)은 하나의 전자 장치(예: 전자 장치(210))의 시간 클럭(time clock)에 동기화되고, 동일한 디스커버리 윈도우에서 서로 비콘 및 SDF를 주고받을 수 있다. The electronic devices 210, 220, 230, or 240 in the cluster 200 may synchronize their time clocks with each other. For example, the electronic devices 210, 220, 230, and 240 are synchronized with a time clock of one electronic device (eg, the electronic device 210) and transmit beacons and SDFs to each other in the same discovery window. can be exchanged.

일 실시예에 따르면, NAN 기반의 저전력 근거리 통신 기술을 지원하는 전자 장치는 미리 설정된 제1 주기(예: 약 100msec)마다 다른 전자 장치를 발견하기 위한 탐색 신호(예: beacon)를 브로드캐스트(broadcast) 하고, 미리 설정된 제2 주기(예: 약 10msec)마다 스캐닝을 수행하여 다른 전자 장치로부터 브로드캐스트 되는 탐색 신호를 수신할 수 있다. According to an embodiment, an electronic device supporting a NAN-based low-power short-range communication technology broadcasts a search signal (eg, a beacon) for discovering other electronic devices at every first predetermined period (eg, about 100 msec). ), and scanning is performed every second preset period (eg, about 10 msec) to receive a discovery signal broadcast from another electronic device.

전자 장치(210, 220, 230, 240)는 스캐닝을 통해 수신된 탐색 신호를 기반으로 전자 장치 주변에 위치한 적어도 하나의 다른 전자 장치를 탐지하고, 탐지된 적어도 하나의 다른 전자 장치와 NAN 클러스터 동기화를 수행할 수 있다. NAN 클러스터 동기화는, NAN 클러스터에 포함된 전자 장치들이 동일한 채널 및/또는 동일한 시간동안 데이터 전송 및/또는 수신하도록, NAN 클러스터를 대표하는 전자 장치의 시간 클록 정보를 수신하는 동작을 포함할 수 있다.The electronic devices 210, 220, 230, and 240 detect at least one other electronic device located around the electronic device based on the discovery signal received through scanning, and synchronize the NAN cluster with the detected at least one other electronic device. can be done NAN cluster synchronization may include an operation of receiving time clock information of an electronic device representing the NAN cluster so that the electronic devices included in the NAN cluster transmit and/or receive data on the same channel and/or during the same time period.

예를 들면, 도 2에 예시한 바와 같이, 다수의 전자 장치들(210, 220, 230, 또는 240) 각각은 비콘을 전송하고, 다른 전자 장치들(210, 220, 230, 또는 240)로부터 비콘을 수신함으로써, 동기화된 시간 클록에 따라 동작하는 하나의 클러스터(200)를 형성할 수 있고, 클러스터(200) 내 전자 장치들(210, 220, 230, 또는 240)은 NAN 클러스터 동기화를 수행할 수 있다. For example, as illustrated in FIG. 2 , each of the plurality of electronic devices 210, 220, 230, or 240 transmits a beacon, and another electronic device 210, 220, 230, or 240 transmits a beacon. By receiving , one cluster 200 operating according to a synchronized time clock can be formed, and the electronic devices 210, 220, 230, or 240 in the cluster 200 can perform NAN cluster synchronization. there is.

NAN 클러스터 동기화는, 클러스터(200) 내에서 마스터 선호도(master preference)가 가장 높은 전자 장치의 시간 및 채널을 기준으로 수행될 수 있다. 예를 들면, 디스커버리를 통해 형성된 클러스터(200) 내 전자 장치들(210, 220, 230, 또는 240)은 앵커 마스터(anchor master)로 동작하는 것에 대한 선호도를 나타내는 마스터 선호도 정보에 관한 신호를 교환할 수 있으며, 교환된 신호를 통해 마스터 선호도가 가장 높은 전자 장치를 앵커 마스터(또는 마스터 전자 장치(master device))로 결정할 수 있다. NAN cluster synchronization may be performed based on the time and channel of an electronic device having the highest master preference within the cluster 200 . For example, the electronic devices 210, 220, 230, or 240 in the cluster 200 formed through discovery exchange signals regarding master preference information indicating a preference for operating as an anchor master. An electronic device having the highest master preference may be determined as an anchor master (or master electronic device) through the exchanged signal.

앵커 마스터는 클러스터(200) 내 전자 장치들(210, 220, 230, 또는 240)의 시간 및 채널 동기화의 기준이 되는 전자 장치를 의미할 수 있다. 앵커 마스터는 전자 장치의 마스터 선호도에 따라 변경될 수 있다. 시간 및 채널 동기화된 전자 장치들(210, 220, 230, 또는 240) 각각은 미리 설정된 주기에 따라 반복되는 디스커버리 윈도우(또는 탐색 구간) 내에서, 비콘을 및 SDF 전송하고, 클러스터(200) 내 다른 전자 장치들로부터 비콘 및 SDF를 수신할 수 있다. 일 실시예에 따라, 비콘은 클러스터(200) 내 전자 장치들(210, 220, 230, 또는 240)의 시간 및 채널 동기화를 계속하여 유지하기 위해 디스커버리 윈도우 마다 주기적으로 송수신될 수 있다. SDF는 탐색된 전자 장치들(210, 220, 230, 또는 240)과의 서비스를 제공하기 위해 필요에 따라 디스커버리 윈도우에서 송수신될 수 있다. 일 실시예에 따르면, 시간 및 채널 동기화된 전자 장치들(210, 220, 230, 또는 240) 중에서 앵커 마스터로 동작하는 전자 장치는 디스커버리 윈도우들 사이의 구간에서, 새로운 전자 장치를 감지하기 위해 비콘을 송신할 수 있다. The anchor master may refer to an electronic device that is a standard for time and channel synchronization of the electronic devices 210 , 220 , 230 , or 240 in the cluster 200 . The anchor master may be changed according to the master preference of the electronic device. Each of the time- and channel-synchronized electronic devices 210, 220, 230, or 240 transmits a beacon and an SDF within a discovery window (or discovery period) that is repeated according to a preset period, and transmits a beacon and an SDF to other devices within the cluster 200. Beacons and SDFs may be received from electronic devices. According to an embodiment, a beacon may be periodically transmitted and received for each discovery window in order to continuously maintain time and channel synchronization of the electronic devices 210, 220, 230, or 240 in the cluster 200. The SDF may be transmitted and received in the discovery window as needed to provide a service with the discovered electronic devices 210 , 220 , 230 , or 240 . According to an embodiment, an electronic device operating as an anchor master among time and channel synchronized electronic devices 210, 220, 230, or 240 transmits a beacon to detect a new electronic device in a section between discovery windows. can be sent

클러스터(200) 내 전자 장치들(210, 220, 230, 또는 240) 각각은 디스커버리 윈도우 동안에만 액티브 상태로 동작하고, 디스커버리 윈도우 이외의 나머지 구간 동안에는 저전력 상태(예: 슬립(sleep) 상태)로 동작하여, 전류 소모를 감소시킬 수 있다. Each of the electronic devices 210, 220, 230, or 240 in the cluster 200 operates in an active state only during the discovery window, and operates in a low power state (eg, sleep state) during the remaining period other than the discovery window. Thus, current consumption can be reduced.

예를 들면, 디스커버리 윈도우는 전자 장치가 액티브 상태(또는 웨이크(wake) 상태)가 되는 시간(예: millisecond)이며, 전류 소모가 많이 일어나는 반면, 디스커버리 윈도우 이외의 구간에서는 전자 장치가 슬립 상태를 유지하여, 저전력 디스커버리가 가능할 수 있다. For example, the discovery window is the time (e.g., millisecond) that the electronic device is in an active state (or wake state), and a large amount of current is consumed. Thus, low-power discovery may be possible.

클러스터(200) 내 전자 장치들(210, 220, 230, 또는 240)은 동기화된 디스커버리 윈도우의 시작 시점(예: DW start)에 동시에 활성화되고, 디스커버리 윈도우의 종료 시점(예: DW end)에 동시에 슬립 상태로 전환할 수 있다. The electronic devices 210, 220, 230, or 240 in the cluster 200 are simultaneously activated at the start time of the synchronized discovery window (eg, DW start), and simultaneously activated at the end time of the discovery window (eg, DW end). Can switch to sleep state.

클러스터(200)에 포함되는 전자 장치들(210, 220, 230, 또는 240)은 후술하는 도 3에 도시된 프로토콜(protocol)을 이용하여 디스커버리(discovery), 동기화(synchronize), 및 데이터(data) 교환 동작을 수행할 수 있다.The electronic devices 210, 220, 230, or 240 included in the cluster 200 perform discovery, synchronization, and data processing using a protocol shown in FIG. 3 described later. Exchange operations can be performed.

도 3은 본 발명의 다양한 실시예들에 따른 NAN 클러스터에 포함된 전자 장치의 신호를 전송하는 프로토콜을 도시한 도면이다.3 is a diagram illustrating a protocol for transmitting a signal of an electronic device included in a NAN cluster according to various embodiments of the present disclosure.

예를 들면, 도 3은 다양한 실시예들에 따른 디스커버리 윈도우에 대한 예시 도면을 나타낼 수 있다. 도 3에서는, 하나의 클러스터에 포함된 전자 장치들이 NAN 규격에 기반하여 특정 채널(예: 채널6(Ch6))을 통해 신호를 송신하는 것을 예시로 설명한다.For example, FIG. 3 may represent an example diagram for a discovery window according to various embodiments. In FIG. 3, electronic devices included in one cluster transmit signals through a specific channel (eg, channel 6 (Ch6)) based on the NAN standard as an example.

도 3을 참조하면, 하나의 클러스터에 포함된 전자 장치들은 동기화된 디스커버리 윈도우(DW)(325)에서 동기 비콘(synchronization beacon)(310) 및 SDF(320)를 송신할 수 있다. 디스커버리 윈도우(325) 이외의 다른 구간(340)(예: 디스커버리 윈도우들 사이의 인터벌(interval))에서 적어도 하나의 전자 장치에 의해 디스커버리 비콘(discovery beacon)(330)이 송신될 수 있다. 일 실시예에 따라, 전자 장치들은 동기 비콘(310) 및 SDF(320)를 경쟁(contention) 기반으로 송신할 수 있다. 예를 들면, 동기 비콘(310)과 SDF(320)는, 클러스터에 속한 각 전자 장치들 간의 경쟁 기반으로 송신될 수 있다. Referring to FIG. 3 , electronic devices included in one cluster may transmit a synchronization beacon 310 and an SDF 320 in a synchronized discovery window (DW) 325 . A discovery beacon 330 may be transmitted by at least one electronic device in a period 340 other than the discovery window 325 (eg, an interval between discovery windows). According to an embodiment, electronic devices may transmit the synchronization beacon 310 and the SDF 320 based on contention. For example, the synchronization beacon 310 and the SDF 320 may be transmitted based on contention between electronic devices belonging to a cluster.

디스커버리 윈도우(325)는 각 전자 장치들 간의 데이터 교환을 위해, 해당 전자 장치가 절전 모드인 슬립 상태에서 웨이크업(wake-up) 상태로 액티브 되는 구간일 수 있다. 예를 들면, 디스커버리 윈도우(325)는 밀리세컨드(millisecond) 단위의 시간 유닛(TU, time unit)으로 구분될 수 있다. 일 실시예에 따라, 동기 비콘(310)과 SDF(320)를 송수신하기 위한 디스커버리 윈도우(325)는 16개의 시간 유닛들(TUs, time units)(16 TUs)을 점유할 수 있고, 512개의 시간 유닛들(512 TUs)로 반복되는 주기(cycle)(또는 간격)를 가질 수 있다.The discovery window 325 may be a period in which a corresponding electronic device is active in a wake-up state from a sleep state, which is a power saving mode, for data exchange between respective electronic devices. For example, the discovery window 325 may be divided into time units (TUs) in units of milliseconds. According to one embodiment, the discovery window 325 for transmitting and receiving the synchronization beacon 310 and the SDF 320 may occupy 16 time units (TUs, time units) (16 TUs), and 512 time units The units 512 TUs may have a repeating cycle (or interval).

디스커버리 비콘(330)은 클러스터에 참여(join)하지 못한 다른 전자 장치가 클러스터를 발견할 수 있도록 송신되는 신호를 나타낼 수 있다. 예를 들면, 디스커버리 비콘(330)은 클러스터의 존재를 알리기 위한 신호로서, 클러스터에 참여하지 않은 전자 장치들이 패시브 스캔(passive scan)을 수행하여, 디스커버리 비콘(330)을 수신함으로써, 클러스터를 발견 및 참여할 수 있다.The discovery beacon 330 may represent a signal transmitted so that other electronic devices that have not joined the cluster can discover the cluster. For example, the discovery beacon 330 is a signal for notifying the existence of a cluster, and electronic devices that do not participate in the cluster perform a passive scan and receive the discovery beacon 330 to discover and discover the cluster. can participate

디스커버리 비콘(330)은 클러스터에 동기화하기 위해 필요한 정보를 포함할 수 있다. 예를 들면, 디스커버리 비콘(330)은 신호의 기능(function)(예: 비콘)을 지시하는 FC(frame control) 필드(field), 방송 주소(broadcast address), 송신 전자 장치의 MAC(media access control) 주소, 클러스터 식별자(ID, identifier), 시퀀스 제어(sequence control) 필드, 비콘 프레임에 대한 타임 스탬프(time stamp), 디스커버리 비콘(330)의 송신 간격을 나타내는 비콘 인터벌(beacon interval), 또는 디스커버리 비콘(330)을 전송하는 전자 장치에 대한 능력(capability) 정보 중 적어도 하나를 포함할 수 있다. The discovery beacon 330 may include information required for synchronization with the cluster. For example, the discovery beacon 330 includes a frame control (FC) field indicating a function (eg, beacon) of a signal, a broadcast address, and a media access control (MAC) field of a transmitting electronic device. ) Address, cluster identifier (ID, identifier), sequence control field, time stamp for the beacon frame, beacon interval indicating the transmission interval of the discovery beacon 330, or discovery beacon It may include at least one of capability information about the electronic device transmitting 330.

디스커버리 비콘(330)은 적어도 하나의 근접 네트워크(또는 클러스터) 관련 정보 요소(information element)를 포함할 수 있다. 일 실시예에서, 근접 네트워크 관련 정보는 속성(attribute) 정보라 지칭될 수 있다.The discovery beacon 330 may include at least one proximity network (or cluster) related information element. In one embodiment, proximity network related information may be referred to as attribute information.

동기 비콘(310)은 클러스터 내의 동기화된 전자 장치들 간 동기를 유지하기 위한 신호를 나타낼 수 있다. 동기 비콘(310)은 클러스터 내의 전자 장치들 중 동기화 장치에 의해 전송될 수 있다. 예를 들면, 동기화 장치는 NAN 규격에 정의된 앵커 마스터 전자 장치(anchor master device), 마스터 전자 장치(master device), 또는 비 마스터 동기 장치(non-master sync device)를 포함할 수 있다.The synchronization beacon 310 may represent a signal for maintaining synchronization between synchronized electronic devices in a cluster. The synchronization beacon 310 may be transmitted by a synchronization device among electronic devices in a cluster. For example, the synchronization device may include an anchor master device defined in the NAN standard, a master device, or a non-master sync device.

동기 비콘(310)은 클러스터 내에서 전자 장치들이 동기화하기 위해 필요한 정보를 포함할 수 있다. 예를 들면, 동기 비콘(310)은 신호의 기능(예: 비콘)을 지시하는 FC 필드, 방송 주소, 송신 전자 장치의 MAC 주소, 클러스터 식별자, 시퀀스 제어 필드, 비콘 프레임에 대한 타임 스탬프, 디스커버리 윈도우(325)의 시작 지점 간의 간격을 나타내는 비콘 인터벌, 또는 송신 전자 장치에 대한 능력 정보 중 적어도 하나를 포함할 수 있다. 일 실시예에 따라, 동기 비콘(310)은 적어도 하나의 근접 네트워크(또는 클러스터) 관련 정보 요소를 포함할 수 있다. 예를 들면, 근접 네트워크 관련 정보는 근접 네트워크를 통해 제공되는 서비스를 위한 컨텐츠(contents)를 포함할 수 있다.The synchronization beacon 310 may include information necessary for electronic devices to synchronize within a cluster. For example, the synchronization beacon 310 includes an FC field indicating a signal function (eg, a beacon), a broadcasting address, a MAC address of a transmitting electronic device, a cluster identifier, a sequence control field, a time stamp for a beacon frame, and a discovery window. It may include at least one of a beacon interval indicating an interval between start points of 325 and capability information on a transmitting electronic device. According to an embodiment, the synchronization beacon 310 may include at least one proximity network (or cluster) related information element. For example, proximity network related information may include contents for a service provided through a proximity network.

SDF(320)는 근접 네트워크를 통해 데이터를 교환하기 위한 신호를 나타낼 수 있다. 일 실시예에 따르면, SDF(320)는 벤더 특정 공개 액션 프레임(vender specific public action frame)을 나타내며, 다양한 필드들을 포함할 수 있다. 예를 들면, SDF(320)는 카테고리(category), 또는 액션(action) 필드를 포함할 수 있으며, 적어도 하나의 근접 네트워크 관련 정보를 포함할 수 있다.SDF 320 may represent a signal for exchanging data through a proximity network. According to one embodiment, the SDF 320 represents a vendor specific public action frame and may include various fields. For example, the SDF 320 may include a category or action field, and may include at least one piece of proximity network related information.

동기 비콘(310), SDF(320), 및 디스커버리 비콘(330)은 근접 네트워크 관련 정보를 포함할 수 있다. 일 실시예에서, 근접 네트워크 관련 정보는 정보의 종류를 나타내는 식별자, 정보의 길이, 및 대응하는 정보인 바디(body) 필드를 포함할 수 있다. 일 실시예에 따라, 대응하는 정보는, 마스터 지시(master indication) 정보, 클러스터 정보, 서비스 식별자 목록 정보, 서비스 서술(descriptor) 정보, 연결 능력 정보, 무선 랜 인프라스트럭쳐(infrastructure) 정보, P2P(peer to peer) 동작 정보, IBSS(independent basic service set) 정보, 매쉬(mesh) 정보, 추가 근접 네트워크 서비스 디스커버리 정보, 추가 가용성 맵(further availability map) 정보, 국가 코드(country code) 정보, 레인징 정보, 클러스터 디스커버리 정보, 또는 벤더 특정 정보 중 적어도 하나를 포함할 수 있다.The synchronization beacon 310, the SDF 320, and the discovery beacon 330 may include proximity network related information. In one embodiment, the proximity network related information may include an identifier representing the type of information, a length of the information, and a body field that is corresponding information. According to an embodiment, the corresponding information includes master indication information, cluster information, service identifier list information, service descriptor information, connection capability information, wireless LAN infrastructure information, P2P (peer to peer) operation information, independent basic service set (IBSS) information, mesh information, additional proximity network service discovery information, further availability map information, country code information, ranging information, It may include at least one of cluster discovery information and vendor specific information.

도 4는 본 발명의 다양한 실시예들에 따른 NAN 클러스터 내의 데이터 송수신의 예를 도시하는 도면이다.4 is a diagram illustrating an example of data transmission and reception in a NAN cluster according to various embodiments of the present invention.

예를 들면, 도 4에서는, 제1 전자 장치(410), 제2 전자 장치(420), 및 제3 전자 장치(430)가 무선 근거리 통신 기술을 통해 하나의 클러스터를 형성한 예를 나타내며, 전자 장치들(410, 420, 또는 430) 각각은 비콘 및/또는 SDF를 서로 간에 송수신할 수 있다. 일 실시예에 따라, 도 4에서는, 클러스터를 구성하는 전자 장치들(410, 420, 또는 430) 중 제1 전자 장치(410)가 마스터(master) 전자 장치의 역할을 수행하는 것을 예로 할 수 있다.For example, FIG. 4 shows an example in which the first electronic device 410, the second electronic device 420, and the third electronic device 430 form one cluster through wireless short-range communication technology. Each of the devices 410, 420, or 430 may transmit and receive beacons and/or SDFs to and from each other. According to an embodiment, in FIG. 4 , a first electronic device 410 among electronic devices 410, 420, or 430 constituting a cluster may serve as a master electronic device as an example. .

도 4를 참조하면, 제1 전자 장치(410)는 디스커버리 윈도우(450) 내에서 비콘 및 SDF를 송신할 수 있다. 제1 전자 장치(410)는 미리 설정된 구간(예: 인터벌(460))마다 반복되는 디스커버리 윈도우(450)마다 비콘 및 SDF를 브로드캐스트 할 수 있다. Referring to FIG. 4 , the first electronic device 410 may transmit a beacon and an SDF within a discovery window 450 . The first electronic device 410 may broadcast a beacon and an SDF for each discovery window 450 that is repeated every preset interval (eg, the interval 460).

제2 전자 장치(420) 및 제3 전자 장치(430)는 제1 전자 장치(410)에 의해 송신된 비콘 및 SDF를 수신할 수 있다. 일 실시예에 따르면, 제2 전자 장치(420) 및 제3 전자 장치(430) 각각은 디스커버리 윈도우(450)마다 제1 전자 장치(410)로부터 브로드캐스트 되는 비콘 및 SDF를 수신할 수 있다. The second electronic device 420 and the third electronic device 430 may receive the beacon and SDF transmitted by the first electronic device 410 . According to an embodiment, each of the second electronic device 420 and the third electronic device 430 may receive a beacon and an SDF broadcast from the first electronic device 410 every discovery window 450 .

디스커버리 윈도우(450) 내에서 송신되는 비콘은 동기 비콘을 포함할 수 있으며, 전자 장치들(410, 420, 또는 430) 간 동기를 유지하기 위한 정보를 포함할 수 있다. 예를 들면, 제 2 전자 장치(420) 및/또는 제 3 전자 장치(430)는 마스터로 동작하는 제 1 전자 장치(410)가 전송하는 비콘에 포함된 제 1 전자 장치(410)의 시간 클록 정보에 기반하여 NAN 클러스터 동기화를 수행할 수 있다. 제 2 전자 장치(420) 및/또는 제 3 전자 장치(430)는, 동기화되어, 동일한 시간에 디스커버리 윈도우(450)가 활성화될 수 있다.The beacon transmitted within the discovery window 450 may include a synchronization beacon and may include information for maintaining synchronization between the electronic devices 410, 420, or 430. For example, the second electronic device 420 and/or the third electronic device 430 use the time clock of the first electronic device 410 included in a beacon transmitted by the first electronic device 410 operating as a master. NAN cluster synchronization can be performed based on the information. The second electronic device 420 and/or the third electronic device 430 may be synchronized so that the discovery window 450 is activated at the same time.

디스커버리 윈도우(450) 이외의 구간(예: 인터벌(460))에서, 전자 장치들(410, 420, 또는 430)은 전류 소모를 줄이기 위해 슬립 상태를 유지할 수 있다. 예를 들면, 전자 장치들(410, 420, 또는 430)은 동기화된 시간 클럭에 기반하여 디스커버리 윈도우(450) 구간에서만 웨이크 상태로 동작하여 전류 소모를 줄일 수 있다.In a period other than the discovery window 450 (eg, the interval 460), the electronic devices 410, 420, or 430 may maintain a sleep state to reduce current consumption. For example, the electronic devices 410, 420, or 430 operate in an awake state only during the discovery window 450 period based on the synchronized time clock, thereby reducing current consumption.

도 5는 본 발명의 다양한 실시예들에 따른, NAN 클러스터 내의 프록시 서버 및 프록시 클라이언트를 도시한 도면이다.5 is a diagram illustrating a proxy server and proxy client in a NAN cluster, according to various embodiments of the present invention.

NAN 클러스터는, NAN 클러스터에 포함된 전자 장치들(예: 도 4의 제 1 전자 장치(410), 제 2 전자 장치(420) 및/또는 제 3 전자 장치(430))의 전류 소모를 감소시킬 수 있는 다양한 기술을 지원할 수 있다. 예를 들면, NAN 클러스터는 트래픽(traffic)의 부하분산을 제어하여 소모 전류를 줄이도록 하는 NAN 서비스 디스커버리 프록시(service discovery proxy)(이하, '서비스 디스커버리 프록시'라 한다) 기능을 지원할 수 있다. The NAN cluster can reduce current consumption of electronic devices included in the NAN cluster (eg, the first electronic device 410, the second electronic device 420, and/or the third electronic device 430 of FIG. 4). A variety of technologies can be supported. For example, the NAN cluster may support a NAN service discovery proxy (hereinafter, referred to as 'service discovery proxy') function to reduce current consumption by controlling traffic load balancing.

서비스 디스커버리 프록시를 지원하는 NAN 클러스터에 포함된 전자 장치들 중 하나의 전자 장치는, NAN 프록시 서버(proxy server)(이하, '프록시 서버'라 한다)로 동작하고, 다른 전자 장치는, NAN 프록시 클라이언트(proxy client)(이하, '프록시 클라이언트'라 한다)로 동작(또는 기능을 수행)하도록 할 수 있다. One of the electronic devices included in the NAN cluster supporting the service discovery proxy operates as a NAN proxy server (hereinafter referred to as a 'proxy server'), and the other electronic device operates as a NAN proxy client. (Proxy client) (hereinafter referred to as 'proxy client') to operate (or perform functions).

클러스터 내의 전자 장치들은 동일한 디스커버리 윈도우에 동기화 되어 있을 수 있고, 전자 장치들 간에 프록시 서버 협상(proxy server negotiation)을 수행하고, 프록시 서버 협상에 기반하여, 전자 장치들 간에 프록시 서버로 동작할 지, 또는 프록시 클라이언트로 동작할 지 여부를 결정할 수 있다. 프록시 서버로 지정된 전자 장치는 프록시 클라이언트에 대한 데이터 통신(예: 서비스 디스커버리 동작)에 대한 절차를 대신 수행하도록 하여, 프록시 클라이언트의 전류 소모를 줄일 수 있다. 이하에서는, 설명의 편의를 위해, 제 1 전자 장치(410)가 프록시 서버로 동작하고, 제 2 전자 장치(420) 및/또는 제 3 전자 장치(430)는 프록시 클라이언트로 동작하는 것을 가정한다.Electronic devices in a cluster may be synchronized in the same discovery window, perform proxy server negotiation between electronic devices, and act as a proxy server between electronic devices based on proxy server negotiation, or You can decide whether to act as a proxy client. An electronic device designated as a proxy server may instead perform a procedure for data communication (eg, a service discovery operation) with respect to a proxy client, thereby reducing current consumption of the proxy client. Hereinafter, for convenience of explanation, it is assumed that the first electronic device 410 operates as a proxy server, and the second electronic device 420 and/or the third electronic device 430 operate as proxy clients.

제 1 전자 장치(410)는, 동작 501에서, 프록시 서버 기능을 지원하는지 여부를 지시하는 정보를 포함하는 SDF를 디스커버리 윈도우 구간 동안 브로드캐스팅할 수 있다.In operation 501, the first electronic device 410 may broadcast an SDF including information indicating whether the proxy server function is supported during the discovery window period.

프록시 서버 기능을 지원하는지 여부를 지시하는 정보는, 프록시 서버 능력(proxy server capability) 정보 및/또는 어웨이크 인터벌 정보(예: 디스커버리 윈도우 어웨이크(DW awake) 인터벌)을 포함할 수 있다.Information indicating whether the proxy server function is supported may include proxy server capability information and/or awake interval information (eg, discovery window awake (DW awake) interval).

제 2 전자 장치(420)는, 제 1 전자 장치(410)가 브로드캐스팅하는 SDF에 포함된 프록시 서버 기능을 지원하는지 여부를 지시하는 정보를 확인하고, 제 1 전자 장치(410)가 프록시 서버로 동작하는지 여부를 확인할 수 있다.The second electronic device 420 checks information indicating whether or not the proxy server function included in the SDF broadcast by the first electronic device 410 is supported, and the first electronic device 410 acts as a proxy server. You can check whether it works or not.

제 3 전자 장치(430)는, 제 1 전자 장치(410)가 브로드캐스팅하는 SDF에 포함된 프록시 서버 기능을 지원하는지 여부를 지시하는 정보를 확인하고, 제 1 전자 장치(410)가 프록시 서버로 동작하는지 여부를 확인할 수 있다.The third electronic device 430 checks information indicating whether or not the proxy server function included in the SDF broadcast by the first electronic device 410 is supported, and the first electronic device 410 acts as a proxy server. You can check whether it works or not.

제 2 전자 장치(420)는, 동작 503에서, 프록시 서버 기능을 수행하는 제 1 전자 장치(410)로 프록시 클라이언트 등록을 요청하는 요청 메시지(예: 프록시 등록 요청(proxy registration request) 메시지)를 전송할 수 있다.In operation 503, the second electronic device 420 transmits a request message requesting proxy client registration (eg, a proxy registration request message) to the first electronic device 410 performing a proxy server function. can

프록시 등록 요청 메시지는 제 2 전자 장치(420)가 획득하고자 하는 서비스 정보 및 어웨이크 인터벌 정보(예: awake interval B = 3)를 포함할 수 있다. 일 실시예에 따르면, 제 2 전자 장치(420)는 프록시 클라이언트로 동작 시에 전류 소모를 줄이기 위하여 증가된 어웨이크 인터벌을 포함하는 프록시 등록 요청 메시지를 제 1 전자 장치(410)로 전송할 수 있다. The proxy registration request message may include service information that the second electronic device 420 intends to acquire and awake interval information (eg, awake interval B = 3). According to an embodiment, the second electronic device 420 may transmit a proxy registration request message including an increased awake interval to the first electronic device 410 in order to reduce current consumption when operating as a proxy client.

제 2 전자 장치(420)는 프록시 클라이언트로 동작 시에, 현재 설정된 어웨이크 인터벌(예: awake interval B = 1)을 증가시켜(또는 재설정하여)(예: awake interval B = 3), 프록시 클라이언트로 동작하는 동안 전류 소모를 줄이도록 할 수 있다.When operating as a proxy client, the second electronic device 420 increases (or resets) the currently set awake interval (eg, awake interval B = 1) (eg, awake interval B = 3), and acts as a proxy client. During operation, current consumption can be reduced.

제 3 전자 장치(430)는, 동작 505에서, 프록시 서버 기능을 수행하는 제 1 전자 장치(410)로 프록시 클라이언트 등록을 요청하는 요청 메시지(예: 프록시 등록 요청(proxy registration request) 메시지)를 전송할 수 있다.In operation 505, the third electronic device 430 transmits a request message requesting proxy client registration (eg, a proxy registration request message) to the first electronic device 410 performing a proxy server function. can

프록시 등록 요청 메시지는 제 3 전자 장치(430)가 획득하고자 하는 서비스 정보 및 어웨이크 인터벌 정보(예: awake interval B = 1)를 포함할 수 있다. 도 5에서는 제 3 전자 장치(430)가 디스커버리 윈도우마다 활성화되는 것으로 도시하고 있으나, 제 3 전자 장치(430)는 다른 인터벌(예: awake interval B=2)마다 활성화될 수도 있다. 일 실시예에 따르면, 제 3 전자 장치(430)는 프록시 클라이언트로 동작 시에 전류 소모를 줄이기 위하여 증가된 어웨이크 인터벌을 포함하는 프록시 등록 요청 메시지를 제 1 전자 장치(410)로 전송할 수 있다. 제 3 전자 장치(430)는, 프록시 클라이언트로 동작하지 않을 수도 있다. 프록시 클라이언트로 동작하지 않는 제 3 전자 장치(430)는, 제 1 전자 장치(410)가 브로드캐스팅한 SDF에 포함된 어웨이크 인터벌에 기반하여, 제 1 전자 장치(410)의 전송 및/또는 수신 기능이 활성화된 구간에 데이터(예: 동작 515의 탐색 결과(discovery result))를 제 1 전자 장치(410)로 전송할 수 있다.The proxy registration request message may include service information and awake interval information (eg, awake interval B = 1) that the third electronic device 430 intends to acquire. Although FIG. 5 illustrates that the third electronic device 430 is activated every discovery window, the third electronic device 430 may be activated every other interval (eg, awake interval B=2). According to an embodiment, the third electronic device 430 may transmit a proxy registration request message including an increased awake interval to the first electronic device 410 in order to reduce current consumption when operating as a proxy client. The third electronic device 430 may not operate as a proxy client. The third electronic device 430, which does not operate as a proxy client, transmits and/or receives the first electronic device 410 based on the awake interval included in the SDF broadcast by the first electronic device 410. Data (eg, the discovery result of operation 515) may be transmitted to the first electronic device 410 in a section in which the function is activated.

제 1 전자 장치(410)는, 동작 507에서, 제 2 전자 장치(420) 의 프록시 등록 요청에 대한 응답으로, 제 2 전자 장치(420) 의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 제 2 전자 장치(420)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 제 2 전자 장치(420)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 제 1 전자 장치(410)가 제 2 전자 장치(420)의 프록시 등록 요청을 수락하게 되는 경우, 응답 메시지는, 제 2 전자 장치(420)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B))를 포함할 수 있다.In operation 507, the first electronic device 410, in response to the proxy registration request of the second electronic device 420, sends a response message about whether the second electronic device 420 is registered as a proxy (eg, a proxy registration response). (proxy registration response) message) may be transmitted to the second electronic device 420 . According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the second electronic device 420 . According to an embodiment, when the first electronic device 410 accepts the proxy registration request of the second electronic device 420, the response message includes registration information assigned to the second electronic device 420 (eg: It may include registration ID information (eg, registration id B).

제 1 전자 장치(410)는, 동작 509에서, 제 3 전자 장치(430)의 프록시 등록 요청에 대한 응답으로, 제 3 전자 장치(430)의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 제 3 전자 장치(430)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 제 3 전자 장치(430)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 제 1 전자 장치(410)가 제 3 전자 장치(430)의 프록시 등록 요청을 수락하게 되는 경우, 응답 메시지는, 제 3 전자 장치(430)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id C))를 포함할 수 있다.In operation 509, the first electronic device 410 sends, in response to the proxy registration request of the third electronic device 430, a response message about whether or not the third electronic device 430 is registered as a proxy (eg, a proxy registration response). (proxy registration response) message) may be transmitted to the third electronic device 430 . According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the third electronic device 430 . According to an embodiment, when the first electronic device 410 accepts the proxy registration request of the third electronic device 430, the response message may include registration information assigned to the third electronic device 430 (eg: It may include registration ID information (eg, registration id C).

제 2 전자 장치(420)는, 동작 511에서, 프록시 클라이언트로 동작할 수 있다. 제 2 전자 장치(420)는 자신이 요청한 어웨이크 인터벌(예: awake interval = 4)에 기반하여, 4번의 디스커버리 윈도우 마다 데이터 전송 및/또는 수신을 수행할 수 있다. In operation 511, the second electronic device 420 may operate as a proxy client. The second electronic device 420 may transmit and/or receive data every four discovery windows based on the awake interval (eg, awake interval = 4) requested by the second electronic device 420 .

제 1 전자 장치(410)는, 동작 513에서, 매 디스커버리 윈도우 마다(예: awake interval A = 1) 활성화되어, 서비스 디스커버리를 수행할 수 있다. In operation 513, the first electronic device 410 is activated every discovery window (eg, awake interval A = 1) to perform service discovery.

제 1 전자 장치(410)는, 제 2 전자 장치(420)가 전송한 프록시 등록 요청 메시지에 포함된 서비스 정보(또는, 제 1 전자 장치(410)에 등록된 서비스 정보)를 포함하는 서비스 디스커버리 프레임(SDF)을 브로드캐스팅할 수 있다.The first electronic device 410 sends a service discovery frame including service information included in the proxy registration request message transmitted by the second electronic device 420 (or service information registered in the first electronic device 410). (SDF) can be broadcast.

제 2 전자 장치(420)는, 동작 513에서는, 비활성화된 상태로 존재할 수 있고, 제 1 전자 장치(410)가 브로드캐스팅하는 SDF를 수신하지 못할 수 있다.The second electronic device 420, in operation 513, may exist in an inactive state and may not receive the SDF broadcast by the first electronic device 410.

제 3 전자 장치(430)는, 제 1 전자 장치(410)가 동작 509에서 브로드캐스팅한 SDF를 수신하고, SDF에 포함된 서비스 정보를 확인할 수 있다. 제 3 전자 장치(430)는, 동작 515에서, 서비스 정보와 연관된 정보(또는, 제 2 전자 장치(420)가 획득하고자 하는 정보)를 제 1 전자 장치(410)로 전송할 수 있다.The third electronic device 430 may receive the SDF broadcast by the first electronic device 410 in operation 509 and check service information included in the SDF. In operation 515, the third electronic device 430 may transmit information related to service information (or information that the second electronic device 420 intends to acquire) to the first electronic device 410.

제 1 전자 장치(410)는, 제 2 전자 장치(420)가 활성화된 디스커버리 윈도우에서, 제 3 전자 장치(430)가 전송한 정보를 포함하는 서비스 디스커버리 프레임을 브로드캐스팅할 수 있다. 제 2 전자 장치(420)는, 서비스 디스커버리 프레임에 포함된 제 3 전자 장치(430)가 전송한 정보를 수신 및/또는 획득할 수 있다. 상기와 같은 방식을 통해, 제 2 전자 장치(420)는, 일부 디스커버리 윈도우에서만 활성화된 상태에서도, 제 3 전자 장치(430)가 제공하는 서비스 정보를 제 1 전자 장치(410)를 통해 획득할 수 있다.The first electronic device 410 may broadcast a service discovery frame including information transmitted by the third electronic device 430 in a discovery window in which the second electronic device 420 is activated. The second electronic device 420 may receive and/or obtain information transmitted by the third electronic device 430 included in the service discovery frame. Through the above method, the second electronic device 420 can acquire service information provided by the third electronic device 430 through the first electronic device 410 even when only some discovery windows are activated. there is.

제 2 전자 장치(420)는, 동작 517에서, 다른 서비스와 관련된 정보를 획득하거나, 어웨이크 인터벌을 변경하기 위해서, 프록시 등록 업데이트 요청(proxy registration update request) 메시지를 제 1 전자 장치(410)로 전송할 수 있다.In operation 517, the second electronic device 420 sends a proxy registration update request message to the first electronic device 410 in order to obtain information related to another service or to change an awake interval. can transmit

프록시 등록 업데이트 요청 메시지는 제 2 전자 장치(420)가 획득하고자 하는 업데이트된 서비스 정보 및 업데이트된 어웨이크 인터벌 정보(예: awake interval B = 3)를 포함할 수 있다.The proxy registration update request message may include updated service information that the second electronic device 420 intends to acquire and updated awake interval information (eg, awake interval B = 3).

제 1 전자 장치(410)는, 동작 519에서, 프록시 등록 업데이트 요청 메시지에 대한 응답으로, 제1 외부 전자 장치(620)의 프록시 등록 업데이트 여부에 대한 응답 메시지(예: 프록시 등록 업데이트 응답(proxy registration update response) 메시지)를 제 2 전자 장치(420)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 제 2 전자 장치(420)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 제 1 전자 장치(410)가 제 2 전자 장치(420)의 프록시 등록 업데이트 요청을 수락하게 되는 경우, 응답 메시지는, 제 2 전자 장치(420)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: 기존의 등록 식별자 정보 (registration id B) 또는 새로운 등록 식별자 정보(registration id C)))를 포함할 수 있다.In operation 519, in response to the proxy registration update request message, the first electronic device 410 sends a response message about whether or not the proxy registration of the first external electronic device 620 is updated (eg, a proxy registration update response). update response message) may be transmitted to the second electronic device 420 . According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the second electronic device 420 . According to an embodiment, when the first electronic device 410 accepts the proxy registration update request of the second electronic device 420, the response message includes registration information assigned to the second electronic device 420 (eg : May include registration ID information (eg, existing registration ID information (registration id B) or new registration ID information (registration id C))).

상기에 기재된 실시예를 참조하면, NAN 표준에서 정의된 내용으로써, 프록시 서버로써 동작하는 제 1 전자 장치(410)는, 프록시 클라이언트로써 동작하는 제 2 전자 장치(420)가 수행할 수 있는 기능 중 서비스 탐색(service discovery) 기능을 제 2 전자 장치(420) 대신 수행할 수 있다. 이하에서는, 제 1 전자 장치(410)가, 제 2 전자 장치(420)가 수행하는 다른 기능들을 대신 수행함으로써, 제 2 전자 장치(420)의 소모 전력을 더욱 감소시킬 수 있는 실시예들을 후술한다.Referring to the embodiment described above, as defined in the NAN standard, the first electronic device 410 operating as a proxy server is one of the functions that the second electronic device 420 operating as a proxy client can perform. A service discovery function may be performed instead of the second electronic device 420 . Hereinafter, embodiments in which the power consumption of the second electronic device 420 can be further reduced by the first electronic device 410 performing other functions instead of the second electronic device 420 will be described below. .

도 6은 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.6 is a block diagram of an electronic device according to various embodiments of the present disclosure.

본 발명의 다양한 실시예에 따르면, 전자 장치(600)(예: 도 4의 제 2 전자 장치(420))는 통신 회로(610)(예: 도 1의 무선 통신 모듈(192)), 및 프로세서(620)(예: 도 1의 프로세서(120))를 포함할 수 있다.According to various embodiments of the present disclosure, an electronic device 600 (eg, the second electronic device 420 of FIG. 4 ) includes a communication circuit 610 (eg, the wireless communication module 192 of FIG. 1 ), and a processor. 620 (eg, processor 120 of FIG. 1).

통신 회로(610)는 전자 장치(600) 내에서 신호의 변조 및/또는 복조에 사용되는 다양한 회로 구조를 포함할 수 있다. 예를 들어, 통신 회로(610)는 기저대역(baseband)의 신호를 안테나(미도시)를 통해 출력하도록 RF(radio frequency) 대역의 신호로 변조 하거나, 안테나를 통해 수신되는 RF 대역의 신호를 기저대역의 신호로 복조하여 프로세서(620)에 전송할 수 있다.The communication circuit 610 may include various circuit structures used for modulation and/or demodulation of signals within the electronic device 600 . For example, the communication circuit 610 modulates a baseband signal into a radio frequency (RF) band signal to output a baseband signal through an antenna (not shown), or transmits an RF band signal received through an antenna to a baseband signal. It may be demodulated into a signal of a band and transmitted to the processor 620.

통신 회로(610)는 NAN 클러스터(예: 도 2의 NAN 클러스터(200))의 전자 장치들이 사용하는 주파수 대역(예: 2.4 GHz, 5GHz 및/또는 6GHz)을 통해 다양한 데이터를 외부 전자 장치(예: 도 4의 제 1 전자 장치(410))로 전송하거나, 수신할 수 있다.The communication circuit 610 transmits various data to an external electronic device (eg, the NAN cluster 200 of FIG. 2) through a frequency band (eg, 2.4 GHz, 5 GHz, and/or 6 GHz) used by the electronic devices of the NAN cluster (eg, the NAN cluster 200 of FIG. 2). : Can be transmitted or received by the first electronic device 410 of FIG. 4).

프로세서(620)는, 어플리케이션 프로세서(예: 도 1의 프로세서(120))가 전송한 데이터를 수신하고, 수신한 데이터를 외부 전자 장치(예: 도 5의 제 1 전자 장치(410))로 전송하기 위한 패킷을 생성하는 동작을 수행할 수 있다. 외부 전자 장치는, 도 5의 제 1 전자 장치(410)를 의미할 수 있다. 프로세서(620)는, 통신 모듈(예: 도 1의 무선 통신 모듈(192))에 포함된 통신 프로세서(또는, 커뮤니케이션 프로세서)로 정의될 수 있다. 일 실시예에 따르면, 프로세서(620)는, 어플리케이션 프로세서(예: 도 1의 어플리케이션 프로세서(120))가 전송한 데이터에 기반한 채널 코딩을 수행함으로써, 패킷을 생성하거나, 외부 전자 장치(410)가 전송한 데이터의 적어도 일부가 오류가 있는지 여부를 확인하거나, 오류가 발생한 경우, 오류를 복구하는 동작(예: HARQ(hybrid auto repeat request))을 수행할 수 있다.The processor 620 receives data transmitted by the application processor (eg, the processor 120 of FIG. 1 ) and transmits the received data to an external electronic device (eg, the first electronic device 410 of FIG. 5 ). It is possible to perform an operation of generating a packet for The external electronic device may refer to the first electronic device 410 of FIG. 5 . The processor 620 may be defined as a communication processor (or communication processor) included in a communication module (eg, the wireless communication module 192 of FIG. 1 ). According to an embodiment, the processor 620 generates a packet by performing channel coding based on data transmitted by the application processor (eg, the application processor 120 of FIG. 1 ), or the external electronic device 410 It is possible to check whether at least part of the transmitted data has an error or, if an error occurs, to perform an operation to recover the error (eg, hybrid auto repeat request (HARQ)).

프로세서(620)는, NAN(neighbor awareness networking) 방식으로 구현된 클러스터(또는, 네트워크)(예: 도 2의 NAN 클러스터(200))에 포함된 외부 전자 장치(410)가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수 있다. 또는, 프로세서(620)는, NAN 기반이 아닌 다른 통신 방식(예: 블루투스, 또는 Wi-Fi를 포함하는 근거리 무선 통신)을 통해 NAN 클러스터 정보를 수신할 수도 있다. 예를 들면, 프로세서(620)는, Wi-Fi를 통해 연결될 외부 전자 장치(410)를 찾기 위한 probe request 신호를 전송하고, probe request 신호에 대응하여, 외부 전자 장치(410)가 전송하는 probe response 메시지에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터 동기화를 수행할 수도 있다. The processor 620 is included in a signal broadcast by an external electronic device 410 included in a cluster (or network) (eg, the NAN cluster 200 of FIG. 2) implemented in a neighbor awareness networking (NAN) method. Synchronization with the NAN cluster may be performed based on the received NAN cluster information. Alternatively, the processor 620 may receive NAN cluster information through a non-NAN-based communication method (eg, short-range wireless communication including Bluetooth or Wi-Fi). For example, the processor 620 transmits a probe request signal for finding an external electronic device 410 to be connected via Wi-Fi, and responds to the probe request signal, and a probe response transmitted by the external electronic device 410. NAN cluster synchronization may be performed based on NAN cluster information included in the message.

NAN 클러스터 동기화는, NAN 클러스터에 포함된 전자 장치들이 동일한 채널 및/또는 동일한 시간동안 데이터 전송 및/또는 수신하도록, NAN 클러스터를 대표하는 전자 장치(예: 외부 전자 장치(410))의 시간 클록 정보를 수신하는 동작을 포함할 수 있다. 예를 들면, 프로세서(620)는, 외부 전자 장치(410)가 브로드캐스팅하는 비콘을 수신하고, 비콘에 포함된 외부 전자 장치(410)의 시간 클록 정보에 기반하여 NAN 클러스터 동기화를 수행할 수 있다. NAN cluster synchronization is the time clock information of an electronic device (e.g., the external electronic device 410) representing the NAN cluster so that the electronic devices included in the NAN cluster transmit and/or receive data on the same channel and/or during the same time. It may include an operation of receiving. For example, the processor 620 may receive a beacon broadcast by the external electronic device 410 and perform NAN cluster synchronization based on time clock information of the external electronic device 410 included in the beacon. .

NAN 클러스터 동기화가 완료된 후, 프로세서(620)는, 제 1 통신 모드로 동작할 수 있다. 제 1 통신 모드는, 제 1 값을 갖는 인터벌을 갖는 디스커버리 윈도우마다 데이터 전송 및/또는 수신을 수행하는 모드일 수 있다. 제 1 통신 모드로 동작하는 프로세서(620)는, 지정된 구간(예: 제 1 값을 갖는 인터벌을 갖는 디스커버리 윈도우의 크기)마다 통신 회로(610)를 활성화하고, 지정된 구간마다 NAN 클러스터에 포함된 전자 장치들(예: 외부 전자 장치(410))이 전송하는 데이터를 수신하거나, 데이터를 외부 전자 장치(410)로 전송할 수 있다. After NAN cluster synchronization is complete, the processor 620 may operate in the first communication mode. The first communication mode may be a mode in which data transmission and/or reception is performed for each discovery window having an interval having a first value. The processor 620 operating in the first communication mode activates the communication circuit 610 for each designated period (eg, the size of the discovery window having the interval having the first value), and activates the electronic data included in the NAN cluster for each designated period. Devices (eg, the external electronic device 410) may receive data transmitted or transmit data to the external electronic device 410.

제 1 통신 모드로 동작하는 프로세서(620)는, 다양한 조건의 만족 여부에 기반하여 제 2 통신 모드로 전환하기 위한 일련의 동작을 수행할 수 있다. 제 2 통신 모드는 제 1 통신 모드보다 낮은 전력 소모를 가질 수 있는 통신 모드 또는, 제 1 통신 모드에서 전자 장치(600)가 수행하는 기능 중 일부의 기능을 외부 전자 장치(410)가 전자 장치(600) 대신 수행하는 통신 모드를 의미할 수 있다. The processor 620 operating in the first communication mode may perform a series of operations for switching to the second communication mode based on whether various conditions are satisfied. The second communication mode is a communication mode that may have lower power consumption than the first communication mode, or the external electronic device 410 performs some of the functions performed by the electronic device 600 in the first communication mode. 600) may mean a communication mode performed instead.

제 2 통신 모드는, 제 1 통신 모드의 어웨이크 인터벌의 길이인 제 1 값(예: awake interval = 3)보다 더 큰 제 2 값(예: awake interval = 4)을 갖는 어웨이크 인터벌로 동작하는 모드일 수 있다. 예를 들면, 프로세서(620)는, 제 1 통신 모드 상에서, 4개의 디스커버리 윈도우 중 1개의 디스커버리 윈도우 상에서(예: 4개의 디스커버리 윈도우 간격마다) 통신 회로(610)를 활성화시킬 수 있다. 프로세서(620)는, 제 2 통신 모드 상에서, 8개의 디스커버리 윈도우 중 1 개의 디스커버리 윈도우 상에서(예: 8개의 디스커버리 윈도우 간격마다) 통신 회로(610)를 활성화시킬 수 있다.The second communication mode operates as an awake interval having a second value (eg, awake interval = 4) greater than the first value (eg, awake interval = 3), which is the length of the awake interval of the first communication mode. can be a mod For example, the processor 620 may activate the communication circuit 610 on one of the four discovery windows (eg, every four discovery window intervals) in the first communication mode. In the second communication mode, the processor 620 may activate the communication circuit 610 on one of the eight discovery windows (eg, every eight discovery window intervals).

제 2 통신 모드는, 제 1 통신 모드가 사용하는 주파수 대역보다 낮은 주파수 대역을 이용하여 데이터를 전송하거나, 수신하는 모드일 수 있다. 예를 들면, 프로세서(620)는, 제 1 통신 모드 상에서, 2.4GHz의 주파수 대역의 채널 및 5GHz의 주파수 대역의 채널을 모두 이용하여 데이터를 전송하거나, 수신하도록 통신 회로(610)를 제어할 수 있다. 프로세서(620)는, 제 2 통신 모드 상에서, 2.4GHz의 주파수 대역의 채널을 이용하여 데이터를 전송하거나, 수신하도록 통신 회로(610)를 제어할 수 있다.The second communication mode may be a mode in which data is transmitted or received using a frequency band lower than the frequency band used by the first communication mode. For example, the processor 620 may control the communication circuit 610 to transmit or receive data using both a 2.4 GHz frequency band channel and a 5 GHz frequency band channel in the first communication mode. there is. The processor 620 may control the communication circuit 610 to transmit or receive data using a channel of a frequency band of 2.4 GHz in the second communication mode.

제 2 통신 모드는, 제 1 통신 모드를 통해 운용되는 서비스 중 일부 서비스만 운용하는 통신 모드일 수 있다. 예를 들면, 제 1 통신 모드를 통해 운용되는 서비스 중 화면 공유 서비스는 제 2 통신 모드에서 지원하지 않는 서비스일 수 있다. The second communication mode may be a communication mode in which only some of the services operated through the first communication mode are operated. For example, among services operated through the first communication mode, a screen sharing service may be a service not supported by the second communication mode.

제 2 통신 모드는, 제 1 통신 모드가 지원하는 동작 중, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)을 지원하지 않을 수도 있다. The second communication mode may not support post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and/or receiving data between discovery windows, among operations supported by the first communication mode. may be

제 2 통신 모드는, 제 1 통신 모드가 지원하는 동작 중, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)과 관련해서, 전자 장치(600)가 post initiation communication을 설정하는 동작을 외부 전자 장치(410)가 전자 장치(600) 대신 수행하는 통신 모드를 의미할 수 있다. The second communication mode is related to post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and receiving data between discovery windows, among operations supported by the first communication mode. This may refer to a communication mode in which the external electronic device 410 performs an operation in which the electronic device 600 establishes post initiation communication instead of the electronic device 600 .

제 2 통신 모드는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔(예: 다른 외부 전자 장치가 전송하는 신호를 스캔하는 수동 스캔(passive scan) 또는 다른 외부 전자 장치에 신호를 전송하는 방식으로 외부 전자 장치를 스캔하는 능동 스캔(active scan))을 수행하지 않는 모드일 수 있다. 반면에, 제 1 통신 모드는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 모드일 수 있다. The second communication mode scans other external electronic devices to perform synchronization of NAN clusters or merging of NAN clusters (eg, passive scan in which signals transmitted by other external electronic devices are scanned) or other external electronic devices are scanned. It may be a mode in which an active scan for scanning an external electronic device is not performed by transmitting a signal to the external electronic device. On the other hand, the first communication mode may be a mode in which another external electronic device is scanned in order to perform NAN cluster synchronization or NAN cluster merging.

일 실시예에 따르면, 프로세서(620)는, 전자 장치(600)의 상태에 기반하여 제 2 통신 모드로 전환할 수 있다.According to an embodiment, the processor 620 may switch to the second communication mode based on the state of the electronic device 600 .

예를 들면, 전자 장치(600)의 상태는, 전자 장치(600)의 배터리의 잔여 용량, 전자 장치(600)의 일부분의 온도, 전자 장치(600)의 특정 부품(예: 디스플레이(예: 도 1의 디스플레이 모듈(160))의 활성화 여부, 전자 장치(600)의 저전력 모드의 실행 여부를 포함하는 다양한 상태를 의미할 수 있다. For example, the state of the electronic device 600 may include a remaining capacity of a battery of the electronic device 600, a temperature of a part of the electronic device 600, a specific part of the electronic device 600 (eg, a display (eg, a diagram) 1 may mean various states including whether the display module 160 is activated and whether the electronic device 600 executes the low power mode.

프로세서(620)는, 전자 장치(600)의 배터리의 잔여 용량이 지정된 값 이하임을 확인하고, 제 1 통신 모드에서 제 2 통신 모드로 전환할 것을 결정할 수 있다.The processor 620 may determine that the remaining capacity of the battery of the electronic device 600 is equal to or less than a specified value, and switch from the first communication mode to the second communication mode.

프로세서(620)는, 전자 장치(600)의 온도가 지정된 값 이상임을 확인하고, 제 1 통신 모드에서 제 2 통신 모드로 전환할 것을 결정할 수 있다.The processor 620 may confirm that the temperature of the electronic device 600 is equal to or greater than a specified value, and may determine to switch from the first communication mode to the second communication mode.

프로세서(620)는, 전자 장치(600)의 특정 부품(예: 디스플레이(160))이 비활성화됨을 확인하고, 제 1 통신 모드에서 제 2 통신 모드로 전환할 것을 결정할 수 있다.The processor 620 may determine that a specific component (eg, the display 160) of the electronic device 600 is inactivated, and switch from the first communication mode to the second communication mode.

프로세서(620)는, 전자 장치(600)가 사용자 입력에 의해 저전력 모드가 활성화됨을 확인하고, 제 1 통신 모드에서 제 2 통신 모드로 전환할 것을 결정할 수 있다.The processor 620 may determine that the electronic device 600 confirms that the low power mode is activated by a user input and switches from the first communication mode to the second communication mode.

프로세서(620)는, 제 2 통신 모드로 전환하는 동작의 일부로써, NAN 클러스터에 포함된 전자 장치들 중 프록시 서버로 동작 가능한 전자 장치(예: 외부 전자 장치(410))를 탐색(또는, 검색)할 수 있다. As part of an operation of switching to the second communication mode, the processor 620 searches (or searches for) an electronic device (eg, the external electronic device 410) capable of operating as a proxy server among electronic devices included in the NAN cluster. )can do.

프로세서(620)는, NAN 클러스터에 포함된 전자 장치(예: 외부 전자 장치(410))가 디스커버리 윈도우에서 브로드캐스팅하는 신호을 수신하고, 신호에 포함된 프록시 서버 기능을 지원하는지 여부를 지시하는 정보를 확인할 수 있다. 신호는, 디스커버리 윈도우에서 브로드캐스팅되는 비콘, 서비스 디스커버리 프레임 및/또는 NAN 액션 프레임 중 하나일 수 있다. 프로세서(620)는, 프록시 서버 기능을 지원하는지 여부를 지시하는 정보의 확인 결과에 기반하여 프록시 서버로 동작 가능한 외부 전자 장치(410)를 탐색할 수 있다.The processor 620 receives a signal broadcast in a discovery window by an electronic device (eg, the external electronic device 410) included in the NAN cluster, and transmits information indicating whether the proxy server function included in the signal is supported. You can check. The signal may be one of a beacon, a service discovery frame, and/or a NAN action frame broadcast in a discovery window. The processor 620 may search for an external electronic device 410 operable as a proxy server based on a result of checking information indicating whether or not the proxy server function is supported.

프로세서(620)는, 탐색된 외부 전자 장치(410)로, 프록시 등록 요청 신호를 전송할 수 있다. The processor 620 may transmit a proxy registration request signal to the searched external electronic device 410 .

프록시 등록 요청 신호는, 제 2 통신 모드와 관련된 정보를 포함할 수 있다. The proxy registration request signal may include information related to the second communication mode.

프록시 등록 요청 신호는, 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The proxy registration request signal may include awake interval information of the second communication mode. The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

프록시 등록 요청 신호는, 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The proxy registration request signal may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode.

일 실시예에 따르면, 프록시 등록 요청 신호는, 전자 장치(600)가, 제 2 통신 모드로 동작하는 동안, 외부 전자 장치(410)가 전자 장치(600) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 외부 전자 장치(410)가 전자 장치(600) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, 및/또는 Post initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 통신 회로(610)가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.According to an embodiment, the proxy registration request signal includes functions (or services) that the external electronic device 410 can perform instead of the electronic device 600 while the electronic device 600 operates in the second communication mode. May contain relevant information. Information related to functions that the external electronic device 410 can perform instead of the electronic device 600 includes the type of function (eg, identification information of passive scan and/or post initiation communication), and/or performing post initiation communication. setting information (eg, further availability window (FAW) information indicating a time at which the communication circuit 610 is activated at other times than the discovery window) may be included.

일 실시예에 따르면, 프록시 등록 요청 신호는, 전자 장치(600)의 성능 정보를 포함할 수 있다. 전자 장치(600)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 전자 장치(600)의 성능 정보는, 전자 장치(600)의 동작 모드(예: 제 1 통신 모드, 또는 제 2 통신 모드)를 지시하는 정보 및/또는 전자 장치(600)가 사용하는 안테나의 수를 포함할 수 있다.According to an embodiment, the proxy registration request signal may include performance information of the electronic device 600 . The performance information of the electronic device 600 may include performance information of the proxy client. For example, the performance information of the electronic device 600 is information indicating an operation mode (eg, a first communication mode or a second communication mode) of the electronic device 600 and/or used by the electronic device 600. It may include the number of antennas that

제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보 및 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보는 다를 수 있다. 일 실시예에 따르면, 제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보에 포함된 안테나의 수(예: 4개)와 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보에 포함된 안테나의 수(예: 2개)가 다를 수 있다. Performance information of the electronic device 600 included in the proxy registration request signal transmitted in the first communication mode and performance information included in the proxy registration request signal transmitted in the second communication mode may be different. According to an embodiment, the number of antennas (eg, 4) included in the performance information of the electronic device 600 included in the proxy registration request signal transmitted in the first communication mode and the proxy registration transmitted in the second communication mode The number of antennas (eg, two) included in the performance information of the electronic device 600 included in the request signal may be different.

일 실시예에 따르면, 프록시 등록 요청 신호는, 프록시 등록 요청 신호에 포함된 정보 중 적어도 일부 정보의 유효 시간(timeout) 정보를 포함할 수 있다. 예를 들면, 프록시 등록 요청 신호를 수신한 외부 전자 장치(410)는, 유효 시간 정보가 만료됨에 따라, 프록시 등록 요청 신호에 포함된 정보를 삭제(또는, 무시)하고, 전자 장치(600)에 대한 프록시 서버 동작을 종료할 수 있다. 외부 전자 장치(410)는, 프록시 등록 종료(proxy registration termination) 메시지를 전자 장치(600)로 전송할 수 있다. According to an embodiment, the proxy registration request signal may include valid timeout information of at least some information among information included in the proxy registration request signal. For example, upon receiving the proxy registration request signal, the external electronic device 410 deletes (or ignores) information included in the proxy registration request signal as valid time information expires, and sends the electronic device 600 You can terminate the proxy server operation for The external electronic device 410 may transmit a proxy registration termination message to the electronic device 600 .

외부 전자 장치(410)는, 프록시 등록 요청 신호를 수신하고, 프록시 등록 요청에 대한 응답으로, 전자 장치(600)의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 전자 장치(600)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 전자 장치(600)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 외부 전자 장치(410)가 전자 장치(600)의 프록시 등록 요청을 수락하게 되는 경우, 응답 메시지는, 전자 장치(600)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B))를 포함할 수 있다.The external electronic device 410 receives a proxy registration request signal, and as a response to the proxy registration request, a response message (eg, a proxy registration response message) indicating whether the electronic device 600 is registered as a proxy. may be transmitted to the electronic device 600. According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the electronic device 600 . According to an embodiment, when the external electronic device 410 accepts the proxy registration request of the electronic device 600, the response message is the registration information assigned to the electronic device 600 (eg, a registration ID). ) information (eg, registration id B)).

프로세서(620)는, 프록시 클라이언트 등록이 완료됨에 따라, 제 2 통신 모드로 동작하도록 통신 회로(610)를 제어할 수 있다.The processor 620 may control the communication circuit 610 to operate in the second communication mode as proxy client registration is completed.

프로세서(620)는, 제 2 통신 모드에서, 제 1 통신 모드에서 전자 장치(600)가 수행하는 기능 중 일부를 외부 전자 장치(410)가 수행하도록 할 수 있다. In the second communication mode, the processor 620 may allow the external electronic device 410 to perform some of the functions performed by the electronic device 600 in the first communication mode.

일 실시예에 따르면, 프로세서(620)는, 제 2 통신 모드에서, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 동작을 수행하지 않을 수 있다. 외부 전자 장치(410)는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하고, 스캔 결과에 기반하여 NAN 클러스터의 병합 여부를 결정할 수 있다. 외부 전자 장치(410)는, NAN 클러스터를 다른 클러스터와 병합하기로 함에 대응하여, 병합을 지시하는 정보를 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 전자 장치(600)로 전송할 수 있다. 프로세서(620)는, 병합을 지시하는 정보를 수신함에 따라, 다른 NAN 클러스터와 병합하기 위한 일련의 동작을 수행할 수 있다. 프로세서(620)는, 전자 장치(600)가 이전에 포함된 NAN 클러스터와 다른 NAN 클러스터가 병합된 새로운 NAN 클러스터 상에서 프록시 기능을 수행할 수 있다. According to an embodiment, in the second communication mode, the processor 620 may not perform an operation of scanning another external electronic device to perform NAN cluster synchronization or NAN cluster merging. The external electronic device 410 may scan another external electronic device to perform NAN cluster synchronization or NAN cluster merging, and determine whether to merge the NAN clusters based on the scan result. In response to merging the NAN cluster with another cluster, the external electronic device 410 may transmit information indicating merging to the electronic device 600 within a discovery window period in which the electronic device 600 is activated. Upon receiving information indicating merging, the processor 620 may perform a series of operations for merging with another NAN cluster. The processor 620 may perform a proxy function on a new NAN cluster in which a NAN cluster previously included in the electronic device 600 and another NAN cluster are merged.

따라서, 전자 장치(600)는, 전자 장치(600)가 새로운 클러스터에 병합되지 않고, 외부 전자 장치(410)가 새로운 클러스터에 병합됨으로써, 프록시 서버로써 동작하는 다른 외부 전자 장치를 찾기 위한 스캔 동작으로 인한 전력 소모를 방지할 수 있다.Accordingly, the electronic device 600 is not merged into a new cluster and the external electronic device 410 is merged into the new cluster, so that the electronic device 600 performs a scanning operation to find another external electronic device operating as a proxy server. power consumption can be avoided.

일 실시예에 따르면, 프로세서(620)는, 제 2 통신 모드에서, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)과 관련해서, 전자 장치(600)가 post initiation communication을 설정하는 동작을 수행하지 않을 수 있다. 외부 전자 장치(410)는, post initiation communication을 설정하는 동작을 전자 장치(600) 대신 수행할 수 있다. 예를 들면, 외부 전자 장치(410)는, 전자 장치(600)와 연결될 다른 외부 전자 장치와 post initiation communication 설정(또는, 협상)을 수행하고, 설정 정보를 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 전자 장치(600)로 전송할 수 있다. 프로세서(620)는, 수신한 설정 정보에 기반하여, post initiation communication을 수행할 수 있다. 따라서, 전자 장치(600)는, post initiation communication의 설정 동작으로 인한 전력 소모를 방지할 수 있다.According to an embodiment, the processor 620 is related to post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and/or receiving data between discovery windows in the second communication mode. Thus, the electronic device 600 may not perform an operation of establishing post initiation communication. The external electronic device 410 may perform an operation of setting post initiation communication instead of the electronic device 600 . For example, the external electronic device 410 performs post initiation communication setup (or negotiation) with another external electronic device to be connected to the electronic device 600, and transfers the setting information to a discovery window in which the electronic device 600 is activated. It can be transmitted to the electronic device 600 within the section. The processor 620 may perform post initiation communication based on the received configuration information. Accordingly, the electronic device 600 can prevent power consumption due to the setting operation of post initiation communication.

프로세서(620)는, 제 2 통신 모드로 동작하는 동안, 지정된 주기마다, 외부 전자 장치(410)와 전자 장치(600) 사이의 연결 상태를 확인하기 위한 신호를 외부 전자 장치(410)로 전송할 수 있다. 외부 전자 장치(410)와 전자 장치(600) 사이의 연결 상태를 확인하기 위한 신호는, 전자 장치(600)가 데이터 전송 및/또는 수신이 가능한 구간인 디스커버리 윈도우 구간 상에서 전송되고, 수신될 수 있다. 프로세서(620)는, 외부 전자 장치(410)와 전자 장치(600) 사이의 연결 상태를 확인하기 위한 신호의 응답 신호를 수신하지 못함을 확인하고, 프록시 서버의 역할을 수행할 수 있는 다른 외부 전자 장치를 탐색(또는, 검색)하고, 탐색된 외부 전자 장치로 프록시 등록 요청 메시지를 전송 및 등록하는 방식으로, 제 2 통신 모드를 유지할 수 있다. 일 실시예에 따르면, 프로세서(620)는, 외부 전자 장치를 탐색하는 과정에서 어웨이크 인터벌을 유지하면서, 외부 전자 장치를 탐색할 수 있다. 또는, 프로세서(620)는, 외부 전자 장치를 탐색하는 과정에서 어웨이크 인터벌을 감소시키고, 외부 전자 장치를 탐색할 수도 있다. 프로세서(620)는, 탐색된 외부 전자 장치가 존재하지 않는 경우, 제 2 통신 모드에서 제 1 통신 모드로 전환할 수 있다. While operating in the second communication mode, the processor 620 may transmit a signal for checking a connection state between the external electronic device 410 and the electronic device 600 to the external electronic device 410 every designated period. there is. A signal for confirming a connection state between the external electronic device 410 and the electronic device 600 may be transmitted and received on a discovery window section in which the electronic device 600 is capable of transmitting and/or receiving data. . The processor 620 confirms that the response signal of the signal for confirming the connection state between the external electronic device 410 and the electronic device 600 is not received, and other external electronic devices capable of serving as a proxy server. The second communication mode may be maintained by searching for (or searching for) a device and transmitting and registering a proxy registration request message to the searched external electronic device. According to an embodiment, the processor 620 may search for an external electronic device while maintaining an awake interval in the process of searching for an external electronic device. Alternatively, the processor 620 may reduce the awake interval and search for the external electronic device in the process of searching for the external electronic device. The processor 620 may switch from the second communication mode to the first communication mode when the searched external electronic device does not exist.

일 실시예예 따르면, 프로세서(620)는, 전자 장치(600)의 상태에 기반하여 제 2 통신 모드에서 제 1 통신 모드로 다시 전환할 수도 있다. According to an embodiment, the processor 620 may switch from the second communication mode to the first communication mode again based on the state of the electronic device 600 .

예를 들면, 전자 장치(600)의 상태는, 전자 장치(600)의 배터리의 잔여 용량, 전자 장치(600)의 일부분의 온도, 전자 장치(600)의 특정 부품(예: 디스플레이(예: 도 1의 디스플레이 모듈(160))의 활성화 여부, 전자 장치(600)의 저전력 모드의 종료 여부를 포함하는 다양한 상태를 의미할 수 있다. For example, the state of the electronic device 600 may include a remaining capacity of a battery of the electronic device 600, a temperature of a part of the electronic device 600, a specific part of the electronic device 600 (eg, a display (eg, a diagram) 1 may mean various states including whether the display module 160 is activated and whether the low power mode of the electronic device 600 is terminated.

프로세서(620)는, 전자 장치(600)의 배터리의 잔여 용량이 지정된 값 이상임을 확인하고, 제 2 통신 모드에서 제 1 통신 모드로 전환할 것을 결정할 수 있다.The processor 620 may determine whether the remaining capacity of the battery of the electronic device 600 is greater than or equal to a specified value, and switch from the second communication mode to the first communication mode.

프로세서(620)는, 전자 장치(600)의 온도가 지정된 값 이하임을 확인하고, 제 2 통신 모드에서 제 1 통신 모드로 전환할 것을 결정할 수 있다.The processor 620 may confirm that the temperature of the electronic device 600 is equal to or less than a specified value, and may determine to switch from the second communication mode to the first communication mode.

프로세서(620)는, 전자 장치(600)의 특정 부품(예: 디스플레이(160))이 활성화됨을 확인하고, 제 2 통신 모드에서 제 1 통신 모드로 전환할 것을 결정할 수 있다.The processor 620 may determine that a specific component (eg, the display 160) of the electronic device 600 is activated and switch from the second communication mode to the first communication mode.

프로세서(620)는, 전자 장치(600)가 사용자 입력에 의해 저전력 모드가 죵료됨을 확인하고, 제 2 통신 모드에서 제 1 통신 모드로 전환할 것을 결정할 수 있다.The processor 620 may determine that the electronic device 600 confirms that the low power mode is terminated by a user input and switches from the second communication mode to the first communication mode.

도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.7 is an operation flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.

전자 장치(예: 도 6의 전자 장치(600))는, 동작 710에서, NAN(neighbor awareness networking) 방식으로 구현된 클러스터(또는, 네트워크)(예: 도 2의 NAN 클러스터(200))에 포함된 외부 전자 장치(예: 도 4의 제 1 전자 장치(410))가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수 있다.The electronic device (eg, the electronic device 600 of FIG. 6 ) is included in a cluster (or network) (eg, the NAN cluster 200 of FIG. 2 ) implemented in operation 710 using a neighbor awareness networking (NAN) scheme. Synchronization with the NAN cluster may be performed based on NAN cluster information included in a signal broadcast by an external electronic device (eg, the first electronic device 410 of FIG. 4 ).

NAN 클러스터 동기화는, NAN 클러스터에 포함된 전자 장치들이 동일한 채널 및/또는 동일한 시간동안 데이터 전송 및/또는 수신하도록, NAN 클러스터를 대표하는 전자 장치의 시간 클록 정보를 수신하는 동작을 포함할 수 있다. 예를 들면, 전자 장치(600)는, 외부 전자 장치(410)가 브로드캐스팅하는 비콘을 수신하고, 비콘에 포함된 외부 전자 장치(410)의 시간 클록 정보에 기반하여 NAN 클러스터 동기화를 수행할 수 있다. NAN cluster synchronization may include an operation of receiving time clock information of an electronic device representing the NAN cluster so that the electronic devices included in the NAN cluster transmit and/or receive data on the same channel and/or during the same time period. For example, the electronic device 600 may receive a beacon broadcast by the external electronic device 410 and perform NAN cluster synchronization based on time clock information of the external electronic device 410 included in the beacon. there is.

NAN 클러스터 동기화가 완료된 후, 전자 장치(600)는, 제 1 통신 모드로 동작할 수 있다. 제 1 통신 모드는, 제 1 값을 갖는 인터벌을 갖는 디스커버리 윈도우마다 데이터 전송 및/또는 수신을 수행하는 모드일 수 있다. 제 1 통신 모드로 동작하는 전자 장치(600)는, 지정된 구간(예: 제 1 값을 갖는 인터벌을 갖는 디스커버리 윈도우의 크기)마다 통신 회로(610)를 활성화하고, 지정된 구간마다 NAN 클러스터에 포함된 전자 장치들(예: 외부 전자 장치(410))이 전송하는 데이터를 수신하거나, 데이터를 외부 전자 장치(410)로 전송할 수 있다. After NAN cluster synchronization is completed, the electronic device 600 may operate in the first communication mode. The first communication mode may be a mode in which data transmission and/or reception is performed for each discovery window having an interval having a first value. The electronic device 600 operating in the first communication mode activates the communication circuit 610 for each designated period (eg, the size of the discovery window having the interval having the first value), and the information included in the NAN cluster for each designated period. Data transmitted by electronic devices (eg, the external electronic device 410) may be received or data may be transmitted to the external electronic device 410.

전자 장치(600)는, 동작 720에서, 제 1 통신 모드로 동작하는 동안, 제 2 통신 모드로의 전환 여부를 결정할 수 있다.In operation 720, the electronic device 600 may determine whether to switch to the second communication mode while operating in the first communication mode.

제 1 통신 모드로 동작하는 전자 장치(600)는, 다양한 조건의 만족 여부에 기반하여 제 2 통신 모드로 전환하기 위한 일련의 동작을 수행할 수 있다. 제 2 통신 모드는 제 1 통신 모드보다 낮은 전력 소모를 가질 수 있는 통신 모드 또는, 제 1 통신 모드에서 전자 장치(600)가 수행하는 기능 중 일부의 기능을 외부 전자 장치(410)가 전자 장치(600) 대신 수행하는 통신 모드를 의미할 수 있다. The electronic device 600 operating in the first communication mode may perform a series of operations for switching to the second communication mode based on whether various conditions are satisfied. The second communication mode is a communication mode that may have lower power consumption than the first communication mode, or the external electronic device 410 performs some of the functions performed by the electronic device 600 in the first communication mode. 600) may mean a communication mode performed instead.

제 2 통신 모드는, 제 1 통신 모드의 어웨이크 인터벌의 길이인 제 1 값(예: awake interval = 3)보다 더 큰 제 2 값(예: awake interval = 4)을 갖는 어웨이크 인터벌로 동작하는 모드일 수 있다. 예를 들면, 전자 장치(600)는, 제 1 통신 모드 상에서, 4개의 디스커버리 윈도우 중 1개의 디스커버리 윈도우 상에서(예: 4개의 디스커버리 윈도우 간격마다) 통신 회로(610)를 활성화시킬 수 있다. 프로세서(620)는, 제 2 통신 모드 상에서, 8개의 디스커버리 윈도우 중 1 개의 디스커버리 윈도우 상에서(예: 8개의 디스커버리 윈도우 간격마다) 통신 회로(610)를 활성화시킬 수 있다.The second communication mode operates as an awake interval having a second value (eg, awake interval = 4) greater than the first value (eg, awake interval = 3), which is the length of the awake interval of the first communication mode. can be a mod For example, the electronic device 600 may activate the communication circuit 610 on one of the four discovery windows (eg, every four discovery window intervals) in the first communication mode. In the second communication mode, the processor 620 may activate the communication circuit 610 on one of the eight discovery windows (eg, every eight discovery window intervals).

제 2 통신 모드는, 제 1 통신 모드가 사용하는 주파수 대역보다 낮은 주파수 대역을 이용하여 데이터를 전송하거나, 수신하는 모드일 수 있다. 예를 들면, 프로세서(620)는, 제 1 통신 모드 상에서, 2.4GHz의 주파수 대역의 채널 및 5GHz의 주파수 대역의 채널을 모두 이용하여 데이터를 전송하거나, 수신하도록 통신 회로(610)를 제어할 수 있다. 전자 장치(600)는, 제 2 통신 모드 상에서, 2.4GHz의 주파수 대역의 채널을 이용하여 데이터를 전송하거나, 수신하도록 통신 회로(610)를 제어할 수 있다.The second communication mode may be a mode in which data is transmitted or received using a frequency band lower than the frequency band used by the first communication mode. For example, the processor 620 may control the communication circuit 610 to transmit or receive data using both a 2.4 GHz frequency band channel and a 5 GHz frequency band channel in the first communication mode. there is. The electronic device 600 may control the communication circuit 610 to transmit or receive data using a channel of a frequency band of 2.4 GHz in the second communication mode.

제 2 통신 모드는, 제 1 통신 모드를 통해 운용되는 서비스 중 일부 서비스만 운용하는 통신 모드일 수 있다. 예를 들면, 제 1 통신 모드를 통해 운용되는 서비스 중 화면 공유 서비스는 제 2 통신 모드에서 지원하지 않는 서비스일 수 있다. The second communication mode may be a communication mode in which only some of the services operated through the first communication mode are operated. For example, among services operated through the first communication mode, a screen sharing service may be a service not supported by the second communication mode.

제 2 통신 모드는, 제 1 통신 모드가 지원하는 동작 중, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)을 지원하지 않을 수도 있다. The second communication mode may not support post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and/or receiving data between discovery windows, among operations supported by the first communication mode. may be

제 2 통신 모드는, 제 1 통신 모드가 지원하는 동작 중, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)과 관련해서, 전자 장치(600)가 post initiation communication을 설정하는 동작을 외부 전자 장치(410)가 전자 장치(600) 대신 수행하는 통신 모드를 의미할 수 있다. The second communication mode is related to post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and receiving data between discovery windows, among operations supported by the first communication mode. This may refer to a communication mode in which the external electronic device 410 performs an operation in which the electronic device 600 establishes post initiation communication instead of the electronic device 600 .

제 2 통신 모드는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔(예: 다른 외부 전자 장치가 전송하는 신호를 스캔하는 수동 스캔(passive scan) 또는 다른 외부 전자 장치에 신호를 전송하는 방식으로 외부 전자 장치를 스캔하는 능동 스캔(active scan))을 수행하지 않는 모드일 수 있다. 반면에, 제 1 통신 모드는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 모드일 수 있다. The second communication mode scans other external electronic devices to perform synchronization of NAN clusters or merging of NAN clusters (eg, passive scan in which signals transmitted by other external electronic devices are scanned) or other external electronic devices are scanned. It may be a mode in which an active scan for scanning an external electronic device is not performed by transmitting a signal to the external electronic device. On the other hand, the first communication mode may be a mode in which another external electronic device is scanned in order to perform NAN cluster synchronization or NAN cluster merging.

일 실시예에 따르면, 전자 장치(600)는, 전자 장치(600)의 상태에 기반하여 제 2 통신 모드로 전환할 수 있다.According to an embodiment, the electronic device 600 may switch to the second communication mode based on the state of the electronic device 600 .

예를 들면, 전자 장치(600)의 상태는, 전자 장치(600)의 배터리의 잔여 용량, 전자 장치(600)의 일부분의 온도, 전자 장치(600)의 특정 부품(예: 디스플레이(예: 도 1의 디스플레이 모듈(160))의 활성화 여부, 전자 장치(600)의 저전력 모드의 실행 여부를 포함하는 다양한 상태를 의미할 수 있다. For example, the state of the electronic device 600 may include a remaining capacity of a battery of the electronic device 600, a temperature of a part of the electronic device 600, a specific part of the electronic device 600 (eg, a display (eg, a diagram) 1 may mean various states including whether the display module 160 is activated and whether the electronic device 600 executes the low power mode.

전자 장치(600)는, 전자 장치(600)의 배터리의 잔여 용량이 지정된 값 이하임을 확인하고, 제 1 통신 모드에서 제 2 통신 모드로 전환할 것을 결정할 수 있다.The electronic device 600 may determine that the remaining capacity of the battery of the electronic device 600 is equal to or less than a specified value, and switch from the first communication mode to the second communication mode.

전자 장치(600)는, 전자 장치(600)의 온도가 지정된 값 이상임을 확인하고, 제 1 통신 모드에서 제 2 통신 모드로 전환할 것을 결정할 수 있다.The electronic device 600 may confirm that the temperature of the electronic device 600 is equal to or greater than a specified value, and may determine to switch from the first communication mode to the second communication mode.

전자 장치(600)는, 전자 장치(600)의 특정 부품(예: 디스플레이(160))이 비활성화됨을 확인하고, 제 1 통신 모드에서 제 2 통신 모드로 전환할 것을 결정할 수 있다.The electronic device 600 may determine that a specific part (eg, the display 160) of the electronic device 600 is inactivated and switch from the first communication mode to the second communication mode.

전자 장치(600)는, 전자 장치(600)가 사용자 입력에 의해 저전력 모드가 활성화됨을 확인하고, 제 1 통신 모드에서 제 2 통신 모드로 전환할 것을 결정할 수 있다.The electronic device 600 may confirm that the low power mode is activated by a user input and determine to switch from the first communication mode to the second communication mode.

전자 장치(600)는, 동작 730에서, 프록시 서버의 기능을 수행할 수 있는 외부 전자 장치(410)를 탐색할 수 있다.In operation 730, the electronic device 600 may search for an external electronic device 410 capable of serving as a proxy server.

전자 장치(600)는, NAN 클러스터에 포함된 전자 장치(예: 외부 전자 장치(410))가 디스커버리 윈도우에서 브로드캐스팅하는 신호를 수신하고, 신호에 포함된 프록시 서버 기능을 지원하는지 여부를 지시하는 정보를 확인할 수 있다. 신호는, 디스커버리 윈도우에서 브로드캐스팅되는 비콘, 서비스 디스커버리 프레임 및/또는 NAN 액션 프레임 중 하나일 수 있다. 전자 장치(600)는, 프록시 서버 기능을 지원하는지 여부를 지시하는 정보의 확인 결과에 기반하여 프록시 서버로 동작 가능한 외부 전자 장치(410)를 탐색할 수 있다.The electronic device 600 receives a signal broadcast in a discovery window by an electronic device (eg, the external electronic device 410) included in the NAN cluster, and indicates whether the proxy server function included in the signal is supported. information can be checked. The signal may be one of a beacon, a service discovery frame, and/or a NAN action frame broadcast in a discovery window. The electronic device 600 may search for an external electronic device 410 operable as a proxy server based on a result of checking information indicating whether or not the proxy server function is supported.

전자 장치(600)는, 동작 740에서, 외부 전자 장치(410)가 전자 장치(600) 대신 수행할 수 있는 기능과 관련된 정보를 포함하는 프록시 등록 요청 신호를 전송할 수 있다.In operation 740, the electronic device 600 may transmit a proxy registration request signal including information related to functions that the external electronic device 410 may perform instead of the electronic device 600.

프록시 등록 요청 신호는, 제 2 통신 모드와 관련된 정보를 포함할 수 있다. The proxy registration request signal may include information related to the second communication mode.

프록시 등록 요청 신호는, 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The proxy registration request signal may include awake interval information of the second communication mode. The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

프록시 등록 요청 신호는, 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The proxy registration request signal may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode.

일 실시예에 따르면, 프록시 등록 요청 신호는, 전자 장치(600)가, 제 2 통신 모드로 동작하는 동안, 외부 전자 장치(410)가 전자 장치(600) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 외부 전자 장치(410)가 전자 장치(600) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, 및/또는 Post initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 통신 회로(610)가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.According to an embodiment, the proxy registration request signal includes functions (or services) that the external electronic device 410 can perform instead of the electronic device 600 while the electronic device 600 operates in the second communication mode. May contain relevant information. Information related to functions that the external electronic device 410 can perform instead of the electronic device 600 includes the type of function (eg, identification information of passive scan and/or post initiation communication), and/or performing post initiation communication. setting information (eg, further availability window (FAW) information indicating a time at which the communication circuit 610 is activated at other times than the discovery window) may be included.

일 실시예에 따르면, 프록시 등록 요청 신호는, 전자 장치(600)의 성능 정보를 포함할 수 있다. 전자 장치(600)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 전자 장치(600)의 성능 정보는, 전자 장치(600)의 동작 모드(예: 제 1 통신 모드, 또는 제 2 통신 모드)를 지시하는 정보 및/또는 전자 장치(600)가 사용하는 안테나의 수를 포함할 수 있다.According to an embodiment, the proxy registration request signal may include performance information of the electronic device 600 . The performance information of the electronic device 600 may include performance information of the proxy client. For example, the performance information of the electronic device 600 is information indicating an operation mode (eg, a first communication mode or a second communication mode) of the electronic device 600 and/or used by the electronic device 600. It may include the number of antennas that

제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보 및 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보는 다를 수 있다. Performance information of the electronic device 600 included in the proxy registration request signal transmitted in the first communication mode and performance information included in the proxy registration request signal transmitted in the second communication mode may be different.

일 실시예에 따르면, 프록시 등록 요청 신호는, 프록시 등록 요청 신호에 포함된 정보 중 적어도 일부 정보의 유효 시간(timeout) 정보를 포함할 수 있다. 예를 들면, 프록시 등록 요청 신호를 수신한 외부 전자 장치(410)는, 유효 시간 정보가 만료됨에 따라, 프록시 등록 요청 신호에 포함된 정보를 삭제(또는, 무시)하고, 전자 장치(600)에 대한 프록시 서버 동작을 종료할 수 있다. 외부 전자 장치(410)는, 프록시 등록 종료(proxy registration termination) 메시지를 전자 장치(600)로 전송할 수 있다. According to an embodiment, the proxy registration request signal may include valid timeout information of at least some information among information included in the proxy registration request signal. For example, upon receiving the proxy registration request signal, the external electronic device 410 deletes (or ignores) information included in the proxy registration request signal as valid time information expires, and sends the electronic device 600 You can terminate the proxy server operation for The external electronic device 410 may transmit a proxy registration termination message to the electronic device 600 .

외부 전자 장치(410)는, 프록시 등록 요청 신호를 수신하고, 프록시 등록 요청에 대한 응답으로, 전자 장치(600)의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 전자 장치(600)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 전자 장치(600)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. The external electronic device 410 receives a proxy registration request signal, and as a response to the proxy registration request, a response message (eg, a proxy registration response message) indicating whether the electronic device 600 is registered as a proxy. may be transmitted to the electronic device 600. According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the electronic device 600 .

전자 장치(600)는, 동작 750에서, 프록시 클라이언트의 등록이 완료됨에 따라, 제 2 통신 모드로 동작할 수 있다.In operation 750, the electronic device 600 may operate in the second communication mode as registration of the proxy client is completed.

전자 장치(600)는, 제 2 통신 모드에서, 제 1 통신 모드에서 전자 장치(600)가 수행하는 기능 중 일부를 외부 전자 장치(410)가 수행하도록 할 수 있다. In the second communication mode, the electronic device 600 may allow the external electronic device 410 to perform some of the functions performed by the electronic device 600 in the first communication mode.

일 실시예에 따르면, 전자 장치(600)는, 제 2 통신 모드에서, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 동작을 수행하지 않을 수 있다. 외부 전자 장치(410)는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하고, 스캔 결과에 기반하여 NAN 클러스터의 병합 여부를 결정할 수 있다. 외부 전자 장치(410)는, NAN 클러스터를 다른 클러스터와 병합하기로 함에 대응하여, 병합을 지시하는 정보를 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 전자 장치(600)로 전송할 수 있다. 전자 장치(600)는, 병합을 지시하는 정보를 수신함에 따라, 병합을 수행하고, 다른 NAN 클러스터와 병합하기 위한 일련의 동작을 수행할 수 있다. 전자 장치(600)는, 전자 장치(600)가 이전에 포함된 NAN 클러스터와 다른 NAN 클러스터가 병합된 새로운 NAN 클러스터 상에서 프록시 기능을 수행할 수 있다. 따라서, 전자 장치(600)는, 전자 장치(600)가 새로운 클러스터에 병합되지 않고, 외부 전자 장치(410)가 새로운 클러스터에 병합됨으로써, 프록시 서버로써 동작하는 다른 외부 전자 장치를 찾기 위한 스캔 동작으로 인한 전력 소모를 방지할 수 있다.According to an embodiment, in the second communication mode, the electronic device 600 may not perform an operation of scanning another external electronic device to perform NAN cluster synchronization or NAN cluster merging. The external electronic device 410 may scan another external electronic device to perform NAN cluster synchronization or NAN cluster merging, and determine whether to merge the NAN clusters based on the scan result. In response to merging the NAN cluster with another cluster, the external electronic device 410 may transmit information indicating merging to the electronic device 600 within a discovery window period in which the electronic device 600 is activated. Upon receiving information instructing merging, the electronic device 600 may perform merging and perform a series of operations for merging with another NAN cluster. The electronic device 600 may perform a proxy function on a new NAN cluster in which a NAN cluster previously included in the electronic device 600 and another NAN cluster are merged. Accordingly, the electronic device 600 is not merged into a new cluster and the external electronic device 410 is merged into the new cluster, so that the electronic device 600 performs a scanning operation to find another external electronic device operating as a proxy server. power consumption can be avoided.

일 실시예에 따르면, 전자 장치(600)는, 제 2 통신 모드에서, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)과 관련해서, 전자 장치(600)가 post initiation communication을 설정하는 동작을 수행하지 않을 수 있다. 외부 전자 장치(410)는, post initiation communication을 설정하는 동작을 전자 장치(600) 대신 수행할 수 있다. 예를 들면, 외부 전자 장치(410)는, 전자 장치(600)와 연결될 다른 외부 전자 장치와 post initiation communication 설정(또는, 협상)을 수행하고, 설정 정보를 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 전자 장치(600)로 전송할 수 있다. 전자 장치(600)는, 수신한 설정 정보에 기반하여, post initiation communication을 수행할 수 있다. 따라서, 전자 장치(600)는, post initiation communication의 설정 동작으로 인한 전력 소모를 방지할 수 있다.According to an embodiment, the electronic device 600 performs post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and/or receiving data between discovery windows, in the second communication mode. In this regard, the electronic device 600 may not perform an operation of establishing post initiation communication. The external electronic device 410 may perform an operation of setting post initiation communication instead of the electronic device 600 . For example, the external electronic device 410 performs post initiation communication setup (or negotiation) with another external electronic device to be connected to the electronic device 600, and transfers the setting information to a discovery window in which the electronic device 600 is activated. It can be transmitted to the electronic device 600 within the section. The electronic device 600 may perform post initiation communication based on the received configuration information. Accordingly, the electronic device 600 can prevent power consumption due to the setting operation of post initiation communication.

도 8은 본 발명의 다양한 실시예에 따른 전자 장치가 제 2 통신 모드로 동작하면서, 전자 장치가 수행할 기능을 외부 전자 장치가 대신 수행하도록 하는 실시예를 도시한 도면이다.8 is a diagram illustrating an embodiment in which an external electronic device performs a function to be performed by the electronic device instead of the electronic device while the electronic device operates in the second communication mode according to various embodiments of the present disclosure.

전자 장치(예: 도 6의 전자 장치(600))는, 동작 801에서, 프록시 등록 요청 신호를 외부 전자 장치(예: 도 4의 제 1 전자 장치(410))로 전송할 수 있다. In operation 801, the electronic device (eg, the electronic device 600 of FIG. 6) may transmit a proxy registration request signal to an external electronic device (eg, the first electronic device 410 of FIG. 4).

프록시 등록 요청 신호는, 제 2 통신 모드와 관련된 정보를 포함할 수 있다. The proxy registration request signal may include information related to the second communication mode.

프록시 등록 요청 신호는, 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The proxy registration request signal may include awake interval information of the second communication mode. The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

프록시 등록 요청 신호는, 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The proxy registration request signal may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode.

일 실시예에 따르면, 프록시 등록 요청 신호는, 전자 장치(600)가, 제 2 통신 모드로 동작하는 동안, 외부 전자 장치(410)가 전자 장치(600) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 외부 전자 장치(410)가 전자 장치(600) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, 및/또는 Post initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 통신 회로(610)가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.According to an embodiment, the proxy registration request signal includes functions (or services) that the external electronic device 410 can perform instead of the electronic device 600 while the electronic device 600 operates in the second communication mode. May contain relevant information. Information related to functions that the external electronic device 410 can perform instead of the electronic device 600 includes the type of function (eg, identification information of passive scan and/or post initiation communication), and/or performing post initiation communication. setting information (eg, further availability window (FAW) information indicating a time at which the communication circuit 610 is activated at other times than the discovery window) may be included.

일 실시예에 따르면, 프록시 등록 요청 신호는, 전자 장치(600)의 성능 정보를 포함할 수 있다. 전자 장치(600)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 전자 장치(600)의 성능 정보는, 전자 장치(600)의 동작 모드(예: 제 1 통신 모드, 또는 제 2 통신 모드)를 지시하는 정보 및/또는 전자 장치(600)가 사용하는 안테나의 수를 포함할 수 있다.According to an embodiment, the proxy registration request signal may include performance information of the electronic device 600 . The performance information of the electronic device 600 may include performance information of the proxy client. For example, the performance information of the electronic device 600 is information indicating an operation mode (eg, a first communication mode or a second communication mode) of the electronic device 600 and/or used by the electronic device 600. It may include the number of antennas that

제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보 및 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보는 다를 수 있다. 일 실시예에 따르면, 제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보에 포함된 안테나의 수(예: 4개)와 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보에 포함된 안테나의 수(예: 2개)가 다를 수 있다. Performance information of the electronic device 600 included in the proxy registration request signal transmitted in the first communication mode and performance information included in the proxy registration request signal transmitted in the second communication mode may be different. According to an embodiment, the number of antennas (eg, 4) included in the performance information of the electronic device 600 included in the proxy registration request signal transmitted in the first communication mode and the proxy registration transmitted in the second communication mode The number of antennas (eg, two) included in the performance information of the electronic device 600 included in the request signal may be different.

일 실시예에 따르면, 프록시 등록 요청 신호는, 프록시 등록 요청 신호에 포함된 정보 중 적어도 일부 정보의 유효 시간(timeout) 정보를 포함할 수 있다. 예를 들면, 프록시 등록 요청 신호를 수신한 외부 전자 장치(410)는, 유효 시간 정보가 만료됨에 따라, 프록시 등록 요청 신호에 포함된 정보를 삭제(또는, 무시)하고, 전자 장치(600)에 대한 프록시 서버 동작을 종료할 수 있다. 외부 전자 장치(410)는, 프록시 등록 종료(proxy registration termination) 메시지를 전자 장치(600)로 전송할 수 있다. According to an embodiment, the proxy registration request signal may include valid timeout information of at least some information among information included in the proxy registration request signal. For example, upon receiving the proxy registration request signal, the external electronic device 410 deletes (or ignores) information included in the proxy registration request signal as valid time information expires, and sends the electronic device 600 You can terminate the proxy server operation for The external electronic device 410 may transmit a proxy registration termination message to the electronic device 600 .

외부 전자 장치(410)는, 동작 803에서, 프록시 등록 요청 신호에 대응하는 응답 신호를 전송할 수 있다.In operation 803, the external electronic device 410 may transmit a response signal corresponding to the proxy registration request signal.

외부 전자 장치(410)는, 프록시 등록 요청 신호를 수신하고, 프록시 등록 요청에 대한 응답으로, 전자 장치(600)의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 전자 장치(600)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 전자 장치(600)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 외부 전자 장치(410)가 전자 장치(600)의 프록시 등록 요청을 수락하게 되는 경우, 응답 메시지는, 전자 장치(600)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B))를 포함할 수 있다.The external electronic device 410 receives a proxy registration request signal, and as a response to the proxy registration request, a response message (eg, a proxy registration response message) indicating whether the electronic device 600 is registered as a proxy. may be transmitted to the electronic device 600. According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the electronic device 600 . According to an embodiment, when the external electronic device 410 accepts the proxy registration request of the electronic device 600, the response message is the registration information assigned to the electronic device 600 (eg, a registration ID). ) information (eg, registration id B)).

전자 장치(600)는, 동작 805에서, 제 2 통신 모드로 동작할 수 있다. 외부 전자 장치(410)는, 동작 807에서, 전자 장치(600)가 수행할 기능 중 일부 기능을 수행할 수 있다.In operation 805, the electronic device 600 may operate in the second communication mode. In operation 807, the external electronic device 410 may perform some of the functions to be performed by the electronic device 600.

전자 장치(600)는, 제 2 통신 모드에서, 제 1 통신 모드에서 전자 장치(600)가 수행하는 기능 중 일부를 외부 전자 장치(410)가 수행하도록 할 수 있다. In the second communication mode, the electronic device 600 may allow the external electronic device 410 to perform some of the functions performed by the electronic device 600 in the first communication mode.

일 실시예에 따르면, 전자 장치(600)는, 제 2 통신 모드에서, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 동작을 수행하지 않을 수 있다. 외부 전자 장치(410)는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하고, 스캔 결과에 기반하여 NAN 클러스터의 병합 여부를 결정할 수 있다. 외부 전자 장치(410)는, NAN 클러스터를 다른 클러스터와 병합하기로 함에 대응하여, 병합을 지시하는 정보를 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 전자 장치(600)로 전송할 수 있다. 전자 장치(600)는, 병합을 지시하는 정보를 수신함에 따라, 다른 NAN 클러스터와 병합하기 위한 일련의 동작을 수행할 수 있다. 전자 장치(600)는, 전자 장치(600)가 이전에 포함된 NAN 클러스터와 다른 NAN 클러스터가 병합된 새로운 NAN 클러스터 상에서 프록시 기능을 수행할 수 있다. 따라서, 전자 장치(600)는, 전자 장치(600)가 새로운 클러스터에 병합되지 않고, 외부 전자 장치(410)가 새로운 클러스터에 병합됨으로써, 프록시 서버로써 동작하는 다른 외부 전자 장치를 찾기 위한 스캔 동작으로 인한 전력 소모를 방지할 수 있다.According to an embodiment, in the second communication mode, the electronic device 600 may not perform an operation of scanning another external electronic device to perform NAN cluster synchronization or NAN cluster merging. The external electronic device 410 may scan another external electronic device to perform NAN cluster synchronization or NAN cluster merging, and determine whether to merge the NAN clusters based on the scan result. In response to merging the NAN cluster with another cluster, the external electronic device 410 may transmit information indicating merging to the electronic device 600 within a discovery window period in which the electronic device 600 is activated. Upon receiving information indicating merging, the electronic device 600 may perform a series of operations for merging with another NAN cluster. The electronic device 600 may perform a proxy function on a new NAN cluster in which a NAN cluster previously included in the electronic device 600 and another NAN cluster are merged. Accordingly, the electronic device 600 is not merged into a new cluster and the external electronic device 410 is merged into the new cluster, so that the electronic device 600 performs a scanning operation to find another external electronic device operating as a proxy server. power consumption can be avoided.

일 실시예에 따르면, 전자 장치(600)는, 제 2 통신 모드에서, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)과 관련해서, 전자 장치(600)가 post initiation communication을 설정하는 동작을 수행하지 않을 수 있다. 외부 전자 장치(410)는, post initiation communication을 설정하는 동작을 전자 장치(600) 대신 수행할 수 있다. 예를 들면, 외부 전자 장치(410)는, 전자 장치(600)와 연결될 다른 외부 전자 장치와 post initiation communication 설정(또는, 협상)을 수행하고, 설정 정보를 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 전자 장치(600)로 전송할 수 있다. 전자 장치(600)는, 수신한 설정 정보에 기반하여, post initiation communication을 수행할 수 있다. 따라서, 전자 장치(600)는, post initiation communication의 설정 동작으로 인한 전력 소모를 방지할 수 있다.According to an embodiment, the electronic device 600 performs post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and/or receiving data between discovery windows, in the second communication mode. In this regard, the electronic device 600 may not perform an operation of establishing post initiation communication. The external electronic device 410 may perform an operation of setting post initiation communication instead of the electronic device 600 . For example, the external electronic device 410 performs post initiation communication setup (or negotiation) with another external electronic device to be connected to the electronic device 600, and transfers the setting information to a discovery window in which the electronic device 600 is activated. It can be transmitted to the electronic device 600 within the section. The electronic device 600 may perform post initiation communication based on the received setting information. Accordingly, the electronic device 600 can prevent power consumption due to the setting operation of post initiation communication.

전자 장치(600)는, 동작 809에서, 프록시 등록 업데이트 요청 신호를 외부 전자 장치(410)로 전송할 수 있다.The electronic device 600 may transmit a proxy registration update request signal to the external electronic device 410 in operation 809 .

전자 장치(600)는, 다른 서비스와 관련된 정보를 획득하거나, 어웨이크 인터벌을 변경하기 위해서, 프록시 등록 업데이트 요청(proxy registration update request) 메시지를 외부 전자 장치(410)로 전송할 수 있다.The electronic device 600 may transmit a proxy registration update request message to the external electronic device 410 in order to obtain information related to another service or change an awake interval.

프록시 등록 업데이트 요청 메시지는 전자 장치(600)가 획득하고자 하는 업데이트된 서비스 정보 및 업데이트된 어웨이크 인터벌 정보를 포함할 수 있다.The proxy registration update request message may include updated service information and updated awake interval information that the electronic device 600 intends to acquire.

외부 전자 장치(410)는, 동작 811에서, 프록시 등록 업데이트 요청 신호에 대응하는 응답 신호를 전송할 수 있다.In operation 811, the external electronic device 410 may transmit a response signal corresponding to the proxy registration update request signal.

일 실시예에 따르면, 응답 메시지에는 전자 장치(600)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 외부 전자 장치(410)가 전자 장치(600)의 프록시 등록 업데이트 요청을 수락하게 되는 경우, 응답 메시지는, 전자 장치(600)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B))를 포함할 수 있다.According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the electronic device 600 . According to an embodiment, when the external electronic device 410 accepts the proxy registration update request of the electronic device 600, the response message is transmitted with registration information assigned to the electronic device 600 (eg, a registration identifier (registration identifier)). ID) information (eg, registration id B)).

외부 전자 장치(410)는, 동작 813에서, 시간 만료 후 프록시 서버의 동작을 중단할 수 있다. The external electronic device 410, in operation 813, may stop the operation of the proxy server after the time expires.

일 실시예에 따르면, 프록시 등록 업데이트 요청 신호는, 프록시 등록 요청 신호에 포함된 정보 중 적어도 일부 정보의 업데이트된 유효 시간(timeout) 정보를 포함할 수 있다. 예를 들면, 프록시 등록 업데이트 요청 신호를 수신한 외부 전자 장치(410)는, 유효 시간 정보가 만료됨에 따라, 프록시 등록 요청 신호에 포함된 정보를 삭제(또는, 무시)하고, 전자 장치(600)에 대한 프록시 서버 동작을 종료할 수 있다. 외부 전자 장치(410)는, 프록시 등록 종료(proxy registration termination) 메시지를 전자 장치(600)로 전송할 수 있다. According to an embodiment, the proxy registration update request signal may include updated valid timeout information of at least some information among information included in the proxy registration request signal. For example, upon receiving the proxy registration update request signal, the external electronic device 410 deletes (or ignores) information included in the proxy registration request signal as valid time information expires, and the electronic device 600 You can terminate the proxy server operation for . The external electronic device 410 may transmit a proxy registration termination message to the electronic device 600 .

도 9는 본 발명의 다양한 실시예에 따른 전자 장치가, 수동 스캔(passive scan)을 수행하지 않고, 클러스터의 병합을 수행하는 실시예를 도시한 도면이다.9 is a diagram illustrating an embodiment in which an electronic device according to various embodiments of the present disclosure performs cluster merging without performing a passive scan.

외부 전자 장치(예: 도 4의 제 1 전자 장치(410))는, 동작 901에서, 서비스 디스커버리 프레임(service discovery frame, SDF)를 전자 장치(예: 도 6의 전자 장치(600))로 전송(또는, 브로드캐스팅)할 수 있다.In operation 901, the external electronic device (eg, the first electronic device 410 of FIG. 4) transmits a service discovery frame (SDF) to the electronic device (eg, the electronic device 600 of FIG. 6) (or broadcast).

SDF는 프록시 서버 기능을 지원하는지 여부를 지시하는 정보를 포함할 수 있다. 외부 전자 장치(410)는 SDF를 디스커버리 윈도우(DW) 구간 동안 브로드캐스팅할 수 있다.The SDF may include information indicating whether the proxy server function is supported. The external electronic device 410 may broadcast the SDF during the discovery window (DW) period.

프록시 서버 기능을 지원하는지 여부를 지시하는 정보는, 프록시 서버 능력(proxy server capability) 정보 및/또는 어웨이크 인터벌 정보(예: 디스커버리 윈도우 어웨이크(DW awake) 인터벌)을 포함할 수 있다.Information indicating whether the proxy server function is supported may include proxy server capability information and/or awake interval information (eg, discovery window awake (DW awake) interval).

전자 장치(600)는, 외부 전자 장치(420)가 브로드캐스팅하는 SDF에 포함된 프록시 서버 기능을 지원하는지 여부를 지시하는 정보를 확인하고, 외부 전자 장치(600)가 프록시 서버로 동작하는지 여부를 확인할 수 있다.The electronic device 600 checks information indicating whether the external electronic device 420 supports the proxy server function included in the broadcast SDF, and determines whether the external electronic device 600 operates as a proxy server. You can check.

전자 장치(600)는, 제 1 통신 모드로 동작할 수 있다. 제 1 통신 모드는, 제 1 값을 갖는 인터벌을 갖는 디스커버리 윈도우마다 데이터 전송 및/또는 수신을 수행하는 모드일 수 있다. 제 1 통신 모드로 동작하는 전자 장치(600)는, 지정된 구간(예: 제 1 값을 갖는 인터벌을 갖는 디스커버리 윈도우의 크기)마다 통신 회로(610)를 활성화하고, 지정된 구간마다 NAN 클러스터에 포함된 전자 장치들(예: 외부 전자 장치(410))이 전송하는 데이터를 수신하거나, 데이터를 외부 전자 장치(410)로 전송할 수 있다. The electronic device 600 may operate in the first communication mode. The first communication mode may be a mode in which data transmission and/or reception is performed for each discovery window having an interval having a first value. The electronic device 600 operating in the first communication mode activates the communication circuit 610 for each designated period (eg, the size of the discovery window having the interval having the first value), and the information included in the NAN cluster for each designated period. Data transmitted by electronic devices (eg, the external electronic device 410) may be received or data may be transmitted to the external electronic device 410.

전자 장치(600)는, 제 1 통신 모드로 동작하는 동안, 제 2 통신 모드로의 전환 여부를 결정할 수 있다.The electronic device 600 may determine whether to switch to the second communication mode while operating in the first communication mode.

제 1 통신 모드로 동작하는 전자 장치(600)는, 다양한 조건의 만족 여부에 기반하여 제 2 통신 모드로 전환하기 위한 일련의 동작을 수행할 수 있다. 제 2 통신 모드는 제 1 통신 모드보다 낮은 전력 소모를 가질 수 있는 통신 모드 또는, 제 1 통신 모드에서 전자 장치(600)가 수행하는 기능 중 일부의 기능을 외부 전자 장치(410)가 전자 장치(600) 대신 수행하는 통신 모드를 의미할 수 있다. The electronic device 600 operating in the first communication mode may perform a series of operations for switching to the second communication mode based on whether various conditions are satisfied. The second communication mode is a communication mode that may have lower power consumption than the first communication mode, or the external electronic device 410 performs some of the functions performed by the electronic device 600 in the first communication mode. 600) may mean a communication mode performed instead.

제 2 통신 모드는, 제 1 통신 모드의 어웨이크 인터벌의 길이인 제 1 값(예: awake interval = 3)보다 더 큰 제 2 값(예: awake interval = 4)을 갖는 어웨이크 인터벌로 동작하는 모드일 수 있다. 예를 들면, 전자 장치(600)는, 제 1 통신 모드 상에서, 4개의 디스커버리 윈도우 중 1개의 디스커버리 윈도우 상에서(예: 4개의 디스커버리 윈도우 간격마다) 통신 회로(610)를 활성화시킬 수 있다. 프로세서(620)는, 제 2 통신 모드 상에서, 8개의 디스커버리 윈도우 중 1 개의 디스커버리 윈도우 상에서(예: 8개의 디스커버리 윈도우 간격마다) 통신 회로(610)를 활성화시킬 수 있다.The second communication mode operates as an awake interval having a second value (eg, awake interval = 4) greater than the first value (eg, awake interval = 3), which is the length of the awake interval of the first communication mode. can be a mod For example, the electronic device 600 may activate the communication circuit 610 on one of the four discovery windows (eg, every four discovery window intervals) in the first communication mode. In the second communication mode, the processor 620 may activate the communication circuit 610 on one of the eight discovery windows (eg, every eight discovery window intervals).

제 2 통신 모드는, 제 1 통신 모드가 사용하는 주파수 대역보다 낮은 주파수 대역을 이용하여 데이터를 전송하거나, 수신하는 모드일 수 있다. 예를 들면, 프로세서(620)는, 제 1 통신 모드 상에서, 2.4GHz의 주파수 대역의 채널 및 5GHz의 주파수 대역의 채널을 모두 이용하여 데이터를 전송하거나, 수신하도록 통신 회로(610)를 제어할 수 있다. 전자 장치(600)는, 제 2 통신 모드 상에서, 2.4GHz의 주파수 대역의 채널을 이용하여 데이터를 전송하거나, 수신하도록 통신 회로(610)를 제어할 수 있다.The second communication mode may be a mode in which data is transmitted or received using a frequency band lower than the frequency band used by the first communication mode. For example, the processor 620 may control the communication circuit 610 to transmit or receive data using both a 2.4 GHz frequency band channel and a 5 GHz frequency band channel in the first communication mode. there is. The electronic device 600 may control the communication circuit 610 to transmit or receive data using a channel of a frequency band of 2.4 GHz in the second communication mode.

제 2 통신 모드는, 제 1 통신 모드를 통해 운용되는 서비스 중 일부 서비스만 운용하는 통신 모드일 수 있다. 예를 들면, 제 1 통신 모드를 통해 운용되는 서비스 중 화면 공유 서비스는 제 2 통신 모드에서 지원하지 않는 서비스일 수 있다. The second communication mode may be a communication mode in which only some of the services operated through the first communication mode are operated. For example, among services operated through the first communication mode, a screen sharing service may be a service not supported by the second communication mode.

제 2 통신 모드는, 제 1 통신 모드가 지원하는 동작 중, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)을 지원하지 않을 수도 있다. The second communication mode may not support post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and/or receiving data between discovery windows, among operations supported by the first communication mode. may be

제 2 통신 모드는, 제 1 통신 모드가 지원하는 동작 중, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)과 관련해서, 전자 장치(600)가 post initiation communication을 설정하는 동작을 외부 전자 장치(410)가 전자 장치(600) 대신 수행하는 통신 모드를 의미할 수 있다. The second communication mode is related to post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and receiving data between discovery windows, among operations supported by the first communication mode. This may refer to a communication mode in which the external electronic device 410 performs an operation in which the electronic device 600 establishes post initiation communication instead of the electronic device 600 .

제 2 통신 모드는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔(예: 다른 외부 전자 장치가 전송하는 신호를 스캔하는 수동 스캔(passive scan) 또는 다른 외부 전자 장치에 신호를 전송하는 방식으로 외부 전자 장치를 스캔하는 능동 스캔(active scan))을 수행하지 않는 모드일 수 있다. 반면에, 제 1 통신 모드는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 모드일 수 있다. The second communication mode scans other external electronic devices to perform synchronization of NAN clusters or merging of NAN clusters (eg, passive scan in which signals transmitted by other external electronic devices are scanned) or other external electronic devices are scanned. It may be a mode in which an active scan for scanning an external electronic device is not performed by transmitting a signal to the external electronic device. On the other hand, the first communication mode may be a mode in which another external electronic device is scanned in order to perform NAN cluster synchronization or NAN cluster merging.

일 실시예에 따르면, 전자 장치(600)는, 전자 장치(600)의 상태에 기반하여 제 2 통신 모드로 전환할 수 있다.According to an embodiment, the electronic device 600 may switch to the second communication mode based on the state of the electronic device 600 .

전자 장치(600)는, 동작 903에서, 프록시 등록 요청 메시지를 외부 전자 장치(600)로 전송할 수 있다.The electronic device 600 may transmit a proxy registration request message to the external electronic device 600 in operation 903 .

프록시 등록 요청 신호는, 제 2 통신 모드와 관련된 정보를 포함할 수 있다. The proxy registration request signal may include information related to the second communication mode.

프록시 등록 요청 신호는, 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The proxy registration request signal may include awake interval information of the second communication mode. The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

프록시 등록 요청 신호는, 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The proxy registration request signal may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode.

일 실시예에 따르면, 프록시 등록 요청 신호는, 전자 장치(600)가, 제 2 통신 모드로 동작하는 동안, 외부 전자 장치(410)가 전자 장치(600) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 외부 전자 장치(410)가 전자 장치(600) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, 및/또는 Post initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 통신 회로(610)가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.According to an embodiment, the proxy registration request signal includes functions (or services) that the external electronic device 410 can perform instead of the electronic device 600 while the electronic device 600 operates in the second communication mode. May contain relevant information. Information related to functions that the external electronic device 410 can perform instead of the electronic device 600 includes the type of function (eg, identification information of passive scan and/or post initiation communication), and/or performing post initiation communication. setting information (eg, further availability window (FAW) information indicating a time at which the communication circuit 610 is activated at other times than the discovery window) may be included.

일 실시예에 따르면, 프록시 등록 요청 신호는, 전자 장치(600)의 성능 정보를 포함할 수 있다. 전자 장치(600)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 전자 장치(600)의 성능 정보는, 전자 장치(600)의 동작 모드(예: 제 1 통신 모드, 또는 제 2 통신 모드)를 지시하는 정보 및/또는 전자 장치(600)가 사용하는 안테나의 수를 포함할 수 있다.According to an embodiment, the proxy registration request signal may include performance information of the electronic device 600 . The performance information of the electronic device 600 may include performance information of the proxy client. For example, the performance information of the electronic device 600 is information indicating an operation mode (eg, a first communication mode or a second communication mode) of the electronic device 600 and/or used by the electronic device 600. It may include the number of antennas that

제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보 및 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보는 다를 수 있다. 일 실시예에 따르면, 제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보에 포함된 안테나의 수(예: 4개)와 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 전자 장치(600)의 성능 정보에 포함된 안테나의 수(예: 2개)가 다를 수 있다. Performance information of the electronic device 600 included in the proxy registration request signal transmitted in the first communication mode and performance information included in the proxy registration request signal transmitted in the second communication mode may be different. According to an embodiment, the number of antennas (eg, 4) included in the performance information of the electronic device 600 included in the proxy registration request signal transmitted in the first communication mode and the proxy registration transmitted in the second communication mode The number of antennas (eg, two) included in the performance information of the electronic device 600 included in the request signal may be different.

일 실시예에 따르면, 프록시 등록 요청 신호는, 프록시 등록 요청 신호에 포함된 정보 중 적어도 일부 정보의 유효 시간(timeout) 정보를 포함할 수 있다. 예를 들면, 프록시 등록 요청 신호를 수신한 외부 전자 장치(410)는, 유효 시간 정보가 만료됨에 따라, 프록시 등록 요청 신호에 포함된 정보를 삭제(또는, 무시)하고, 전자 장치(600)에 대한 프록시 서버 동작을 종료할 수 있다. 외부 전자 장치(410)는, 프록시 등록 종료 (proxy registration termination) 메시지를 전자 장치(600)로 전송할 수 있다. According to an embodiment, the proxy registration request signal may include valid timeout information of at least some information among information included in the proxy registration request signal. For example, upon receiving the proxy registration request signal, the external electronic device 410 deletes (or ignores) information included in the proxy registration request signal as valid time information expires, and sends the electronic device 600 You can terminate the proxy server operation for The external electronic device 410 may transmit a proxy registration termination message to the electronic device 600 .

외부 전자 장치(410)는, 동작 905에서, 응답 신호를 전자 장치(600)로 전송할 수 있다.The external electronic device 410 may transmit a response signal to the electronic device 600 in operation 905 .

외부 전자 장치(410)는, 프록시 등록 요청 신호를 수신하고, 프록시 등록 요청에 대한 응답으로, 전자 장치(600)의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 전자 장치(600)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 전자 장치(600)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 외부 전자 장치(410)가 전자 장치(600)의 프록시 등록 요청을 수락하게 되는 경우, 응답 메시지는, 전자 장치(600)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B))를 포함할 수 있다.The external electronic device 410 receives a proxy registration request signal, and as a response to the proxy registration request, a response message (eg, a proxy registration response message) indicating whether the electronic device 600 is registered as a proxy. may be transmitted to the electronic device 600. According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the electronic device 600 . According to an embodiment, when the external electronic device 410 accepts the proxy registration request of the electronic device 600, the response message is the registration information assigned to the electronic device 600 (eg, a registration ID). ) information (eg, registration id B)).

전자 장치(600)는, 동작 907에서, 제 2 통신 모드로 전환할 수 있다.In operation 907, the electronic device 600 may switch to the second communication mode.

전자 장치(600)는, 프록시 클라이언트의 등록이 완료됨에 따라, 제 2 통신 모드로 동작할 수 있다. 전자 장치(600)는, 제 2 통신 모드에서, 제 1 통신 모드에서 전자 장치(600)가 수행하는 기능 중 일부를 외부 전자 장치(410)가 수행하도록 할 수 있다. As registration of the proxy client is completed, the electronic device 600 may operate in the second communication mode. In the second communication mode, the electronic device 600 may allow the external electronic device 410 to perform some of the functions performed by the electronic device 600 in the first communication mode.

일 실시예에 따르면, 전자 장치(600)는, 제 2 통신 모드에서, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 동작을 수행하지 않을 수 있다. 외부 전자 장치(410)는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔할 수 있다. According to an embodiment, in the second communication mode, the electronic device 600 may not perform an operation of scanning another external electronic device to perform NAN cluster synchronization or NAN cluster merging. The external electronic device 410 may scan other external electronic devices to perform NAN cluster synchronization or NAN cluster merging.

외부 전자 장치(410)는, 동작 909에서, 클러스터의 병합을 결정할 수 있다.The external electronic device 410 may determine cluster merging in operation 909 .

외부 전자 장치(410)는, 다른 외부 전자 장치를 스캔하는 동안, 다른 외부 전자 장치가 전송하는 SDF를 수신할 수 있다. 수신한 SDF는, 다른 외부 전자 장치가 포함되는 NAN 클러스터의 선호도를 포함할 수 있다. 외부 전자 장치(410)는, 수신한 SDF에 포함된 NAN 클러스터의 선호도와, 외부 전자 장치(410) 및 전자 장치(600)가 포함된 NAN 클러스터의 선호도를 비교하고, 비교 결과에 기반하여 NAN 클러스터의 병합 여부를 결정할 수 있다. 외부 전자 장치(410)는, 수신한 SDF에 포함된 NAN 클러스터의 선호도가, 외부 전자 장치(410) 및 전자 장치(600)가 포함된 NAN 클러스터의 선호도보다 높음을 확인함에 대응하여, NAN 클러스터를 병합할 것으로 결정할 수 있다.The external electronic device 410 may receive an SDF transmitted by another external electronic device while scanning another external electronic device. The received SDF may include preferences of NAN clusters including other external electronic devices. The external electronic device 410 compares the preference of the NAN cluster included in the received SDF with the preference of the NAN cluster including the external electronic device 410 and the electronic device 600, and based on the comparison result, the NAN cluster can decide whether to merge. In response to confirming that the preference of the NAN cluster included in the received SDF is higher than the preference of the NAN cluster including the external electronic device 410 and the electronic device 600, the external electronic device 410 selects the NAN cluster. may decide to merge.

외부 전자 장치(410)는, 동작 911에서, 클러스터 병합을 지시하는 신호를 전자 장치(600)로 전송할 수 있다.The external electronic device 410 may transmit a signal instructing cluster merging to the electronic device 600 in operation 911 .

외부 전자 장치(410)는, NAN 클러스터를 다른 클러스터와 병합하기로 함에 대응하여, 병합을 지시하는 정보를 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 전자 장치(600)로 전송할 수 있다. In response to merging the NAN cluster with another cluster, the external electronic device 410 may transmit information indicating merging to the electronic device 600 within a discovery window period in which the electronic device 600 is activated.

외부 전자 장치(410) 및 전자 장치(600)는, 동작 913에서, 클러스터 병합을 진행할 수 있다.The external electronic device 410 and the electronic device 600 may perform cluster merging in operation 913 .

전자 장치(600)는, 병합을 지시하는 정보를 수신함에 따라, 병합을 수행하고, 다른 프록시 서버를 통해 프록시 기능을 수행할 수 있다. 따라서, 전자 장치(600)는, 스캔 동작으로 인한 전력 소모를 방지할 수 있다.Upon receiving information instructing merging, the electronic device 600 may perform merging and perform a proxy function through another proxy server. Accordingly, the electronic device 600 can prevent power consumption due to the scan operation.

도 10은 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.10 is a block diagram of an electronic device according to various embodiments of the present disclosure.

본 발명의 다양한 실시예에 따르면, 전자 장치(예: 도 4의 제 1 전자 장치(410))(1000)는 통신 회로(1010)(예: 도 1의 무선 통신 모듈(192)), 프로세서(1020)(예: 도 1의 프로세서(120))를 포함할 수 있다.According to various embodiments of the present disclosure, an electronic device (eg, the first electronic device 410 of FIG. 4 ) 1000 includes a communication circuit 1010 (eg, the wireless communication module 192 of FIG. 1 ), a processor ( 1020) (eg, the processor 120 of FIG. 1).

통신 회로(1010)는 전자 장치(1000) 내에서 신호의 변조 및/또는 복조에 사용되는 다양한 회로 구조를 포함할 수 있다. 예를 들어, 통신 회로(1010)는 기저대역(baseband)의 신호를 안테나(미도시)를 통해 출력하도록 RF(radio frequency) 대역의 신호로 변조 하거나, 안테나를 통해 수신되는 RF 대역의 신호를 기저대역의 신호로 복조하여 프로세서(1020)에 전송할 수 있다.The communication circuit 1010 may include various circuit structures used for modulation and/or demodulation of signals within the electronic device 1000 . For example, the communication circuit 1010 modulates a baseband signal into a radio frequency (RF) band signal to output a baseband signal through an antenna (not shown), or transmits an RF band signal received through an antenna to a baseband signal. It can be demodulated into a signal of the band and transmitted to the processor 1020.

통신 회로(1010)는 NAN 클러스터(예: 도 2의 NAN 클러스터(200))의 전자 장치들이 사용하는 주파수 대역(예: 2.4 GHz, 5GHz 및/또는 6GHz)을 통해 다양한 데이터를 외부 전자 장치(예: 도 6의 전자 장치(600))로 전송하거나, 수신할 수 있다.The communication circuit 1010 transmits various data to an external electronic device (eg, the NAN cluster 200 of FIG. 2) through a frequency band (eg, 2.4 GHz, 5 GHz, and/or 6 GHz) used by electronic devices of the NAN cluster (eg, the NAN cluster 200 of FIG. 2). : Can be transmitted or received by the electronic device 600 of FIG. 6).

프로세서(1020)는, 어플리케이션 프로세서(예: 도 1의 프로세서(120))가 전송한 데이터를 수신하고, 수신한 데이터를 외부 전자 장치(예: 도 6의 전자 장치(600))로 전송하기 위한 패킷을 생성하는 동작을 수행할 수 있다. 프로세서(1020)는, 통신 모듈(예: 도 1의 무선 통신 모듈(192))에 포함된 통신 프로세서(또는, 커뮤니케이션 프로세서)로 정의될 수 있다. 일 실시예에 따르면, 프로세서(1020)는, 어플리케이션 프로세서(예: 도 1의 어플리케이션 프로세서(120))가 전송한 데이터에 기반한 채널 코딩을 수행함으로써, 패킷을 생성하거나, 외부 전자 장치(예: 전자 장치(600))가 전송한 데이터의 적어도 일부가 오류가 있는지 여부를 확인하거나, 오류가 발생한 경우, 오류를 복구하는 동작(예: HARQ(hybrid auto repeat request))을 수행할 수 있다.The processor 1020 receives data transmitted by the application processor (eg, the processor 120 of FIG. 1 ) and transmits the received data to an external electronic device (eg, the electronic device 600 of FIG. 6 ). An operation of generating a packet may be performed. The processor 1020 may be defined as a communication processor (or communication processor) included in a communication module (eg, the wireless communication module 192 of FIG. 1 ). According to an embodiment, the processor 1020 generates a packet by performing channel coding based on data transmitted by an application processor (eg, the application processor 120 of FIG. 1 ), or an external electronic device (eg, an electronic device). The device 600 may check whether at least part of transmitted data has an error or, if an error occurs, perform an operation to recover the error (eg, hybrid auto repeat request (HARQ)).

프로세서(1020)는, NAN(neighbor awareness networking) 방식으로 구현된 클러스터(또는, 네트워크)(예: 도 2의 NAN 클러스터(200))에 포함된 외부 전자 장치(600)가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수 있다. 또는, 프로세서(1020)는, NAN 기반이 아닌 다른 통신 방식(예: 블루투스, Wi-Fi를 포함하는 근거리 무선 통신)을 통해 NAN 클러스터 정보를 수신할 수도 있다. 예를 들면, 프로세서(1020)는, Wi-Fi를 통해 연결될 외부 전자 장치(600)를 찾기 위한 probe request 신호를 전송하고, probe request 신호에 대응하여, 외부 전자 장치(600)가 전송하는 probe response 메시지에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수도 있다. The processor 1020 is included in a signal broadcast by an external electronic device 600 included in a cluster (or network) (eg, the NAN cluster 200 of FIG. 2) implemented in a NAN (neighbor awareness networking) method. Synchronization with the NAN cluster may be performed based on the received NAN cluster information. Alternatively, the processor 1020 may receive NAN cluster information through a non-NAN-based communication method (eg, short-range wireless communication including Bluetooth and Wi-Fi). For example, the processor 1020 transmits a probe request signal for finding the external electronic device 600 to be connected via Wi-Fi, and responds to the probe request signal to a probe response transmitted by the external electronic device 600. Synchronization with the NAN cluster may be performed based on the NAN cluster information included in the message.

NAN 클러스터 동기화는, NAN 클러스터에 포함된 전자 장치들이 동일한 채널 및/또는 동일한 시간동안 데이터 전송 및/또는 수신하도록, NAN 클러스터를 대표하는 전자 장치의 시간 클록 정보를 수신하는 동작을 포함할 수 있다. 예를 들면, 프로세서(1020)는, 외부 전자 장치(600)가 브로드캐스팅하는 비콘을 수신하고, 비콘에 포함된 외부 전자 장치(600)의 시간 클록 정보에 기반하여 NAN 클러스터 동기화를 수행할 수 있다. NAN cluster synchronization may include an operation of receiving time clock information of an electronic device representing the NAN cluster so that the electronic devices included in the NAN cluster transmit and/or receive data on the same channel and/or during the same time period. For example, the processor 1020 may receive a beacon broadcast by the external electronic device 600 and perform NAN cluster synchronization based on time clock information of the external electronic device 600 included in the beacon. .

NAN 클러스터 동기화가 완료된 후, 프로세서(1020)는, 프록시 서버로써 동작 가능한지 여부를 지시하는 정보를 포함하는 서비스 디스커버리 프레임을 브로드캐스팅할 수 있다. 서비스 디스커버리 프레임은, 프록시 서버로써 동작하는 전자 장치(1000)의 성능 정보를 포함할 수 있다. After NAN cluster synchronization is completed, the processor 1020 may broadcast a service discovery frame including information indicating whether or not the server can operate as a proxy server. The service discovery frame may include performance information of the electronic device 1000 operating as a proxy server.

프록시 서버 기능을 지원하는지 여부를 지시하는 정보는, 프록시 서버 능력(proxy server capability) 정보 및/또는 어웨이크 인터벌 정보(예: 디스커버리 윈도우 어웨이크(DW awake) 인터벌)을 포함할 수 있다.Information indicating whether the proxy server function is supported may include proxy server capability information and/or awake interval information (eg, discovery window awake (DW awake) interval).

프로세서(1020)는, 프록시 서버로써 동작 가능한지 여부를 지시하는 정보를 포함하는 서비스 디스커버리 프레임을 브로드캐스팅하고, 외부 전자 장치(600)가 전송한 프록시 등록 요청 메시지를 수신할 수 있다. 도 6 내지 도 9에서 전술한 바와 같이, 외부 전자 장치(600)는, 제 1 통신 모드에서 제 2 통신 모드로의 전환을 결정함에 따라, 프록시 클라이언트로써 동작하기 위해 프록시 등록 요청 메시지를 전송할 수 있다.The processor 1020 may broadcast a service discovery frame including information indicating whether the electronic device can operate as a proxy server, and may receive a proxy registration request message transmitted by the external electronic device 600 . As described above with reference to FIGS. 6 to 9 , the external electronic device 600 may transmit a proxy registration request message in order to operate as a proxy client upon determining to switch from the first communication mode to the second communication mode. .

프록시 등록 요청 신호는, 외부 전자 장치(600)의 제 2 통신 모드와 관련된 정보를 포함할 수 있다. The proxy registration request signal may include information related to the second communication mode of the external electronic device 600 .

프록시 등록 요청 신호는, 외부 전자 장치(600)의 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The proxy registration request signal may include awake interval information of the second communication mode of the external electronic device 600 . The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

프록시 등록 요청 신호는, 외부 전자 장치(600)의 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The proxy registration request signal may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode of the external electronic device 600 .

일 실시예에 따르면, 프록시 등록 요청 신호는, 외부 전자 장치(600)가, 제 2 통신 모드로 동작하는 동안, 전자 장치(1000)가 외부 전자 장치(600) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 전자 장치(1000)가 외부 전자 장치(600) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, Post 및/또는 initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 외부 전자 장치(600)의 통신 회로(예: 도 6의 통신 회로(610))가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.According to an embodiment, the proxy registration request signal is a function (or service) that the electronic device 1000 can perform on behalf of the external electronic device 600 while the external electronic device 600 operates in the second communication mode. may contain relevant information. Information related to functions that the electronic device 1000 can perform instead of the external electronic device 600 includes the type of function (eg, passive scan, identification information of post and/or initiation communication), and/or performing post initiation communication. setting information (eg, FAW (further availability window) information indicating a time when the communication circuit of the external electronic device 600 (eg, the communication circuit 610 of FIG. 6) is activated at other times than the discovery window) can include

일 실시예에 따르면, 프록시 등록 요청 신호는, 외부 전자 장치(600)의 성능 정보를 포함할 수 있다. 외부 전자 장치(600)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 외부 전자 장치(600)의 성능 정보는, 외부 전자 장치(600)의 동작 모드(예: 제 1 통신 모드, 또는 제 2 통신 모드)를 지시하는 정보 및/또는 외부 전자 장치(600)가 사용하는 안테나의 수를 포함할 수 있다.According to an embodiment, the proxy registration request signal may include performance information of the external electronic device 600 . The performance information of the external electronic device 600 may include performance information of the proxy client. For example, the performance information of the external electronic device 600 may include information indicating an operation mode (eg, a first communication mode or a second communication mode) of the external electronic device 600 and/or the external electronic device 600 ) may include the number of antennas used.

일 실시예에 따르면, 프록시 등록 요청 신호는, 프록시 등록 요청 신호에 포함된 정보 중 적어도 일부 정보의 유효 시간(timeout) 정보를 포함할 수 있다. 예를 들면, 프록시 등록 요청 신호를 수신한 전자 장치(1000)는, 유효 시간 정보가 만료됨에 따라, 프록시 등록 요청 신호에 포함된 정보를 삭제(또는, 무시)하고, 외부 전자 장치(600)에 대한 프록시 서버 동작을 종료할 수 있다. 프로세서(1020)는, 프록시 등록 종료(proxy registration termination) 메시지를 외부 전자 장치(600)로 전송하도록 통신 회로(1010)를 제어할 수 있다. According to an embodiment, the proxy registration request signal may include valid timeout information of at least some information among information included in the proxy registration request signal. For example, upon receiving the proxy registration request signal, the electronic device 1000 deletes (or ignores) information included in the proxy registration request signal as valid time information expires, and sends the external electronic device 600 You can terminate the proxy server operation for The processor 1020 may control the communication circuit 1010 to transmit a proxy registration termination message to the external electronic device 600 .

프로세서(1020)는, 프록시 등록 요청 신호에 대응하는 응답 신호를 외부 전자 장치(600)로 전송하도록 통신 회로(1010)를 제어할 수 있다. The processor 1020 may control the communication circuit 1010 to transmit a response signal corresponding to the proxy registration request signal to the external electronic device 600 .

프로세서(1020)는, 프록시 등록 요청 신호를 수신하고, 프록시 등록 요청에 대한 응답으로, 외부 전자 장치(600)의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 외부 전자 장치(600)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 외부 전자 장치(600)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 전자 장치(1000)가 외부 전자 장치(600)의 프록시 등록 요청을 수락하게 되는 경우, 응답 메시지는, 외부 전자 장치(600)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B))를 포함할 수 있다.The processor 1020 receives a proxy registration request signal, and as a response to the proxy registration request, a response message (eg, a proxy registration response message) about whether the external electronic device 600 is registered as a proxy. It can be transmitted to the external electronic device 600. According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the external electronic device 600 . According to an embodiment, when the electronic device 1000 accepts the proxy registration request of the external electronic device 600, the response message may include registration information (eg, registration identifier) assigned to the external electronic device 600. ID) information (eg, registration id B)).

프로세서(1020)는, 응답 신호를 전송한 후, 프록시 등록 요청 신호에 포함된 기능을 외부 전자 장치(600) 대신 수행할 수 있다. After transmitting the response signal, the processor 1020 may perform a function included in the proxy registration request signal instead of the external electronic device 600 .

일 실시예에 따르면, 외부 전자 장치(600)는, 제 2 통신 모드에서, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 동작을 수행하지 않을 수 있다. 프로세서(1020)는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하고, 스캔 결과에 기반하여 NAN 클러스터의 병합 여부를 결정할 수 있다. 프로세서(1020)는, NAN 클러스터를 다른 클러스터와 병합하기로 함에 대응하여, 병합을 지시하는 정보를 외부 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 외부 전자 장치(600)로 전송할 수 있다. 외부 전자 장치(600)는, 병합을 지시하는 정보를 수신함에 따라, 다른 NAN 클러스터와 병합하기 위한 일련의 동작을 수행할 수 있다. 외부 전자 장치(600)는, 외부 전자 장치(600)가 이전에 포함된 NAN 클러스터와 다른 NAN 클러스터가 병합된 새로운 NAN 클러스터 상에서 프록시 기능을 수행할 수 있다. According to an embodiment, in the second communication mode, the external electronic device 600 may not perform an operation of scanning another external electronic device to perform NAN cluster synchronization or NAN cluster merging. . The processor 1020 may scan other external electronic devices to perform NAN cluster synchronization or NAN cluster merging, and determine whether to merge the NAN clusters based on a scan result. In response to merging the NAN cluster with another cluster, the processor 1020 may transmit information indicating merging to the external electronic device 600 within a discovery window period in which the external electronic device 600 is activated. Upon receiving information instructing merging, the external electronic device 600 may perform a series of operations for merging with another NAN cluster. The external electronic device 600 may perform a proxy function on a new NAN cluster in which a NAN cluster previously included in the external electronic device 600 and another NAN cluster are merged.

일 실시예에 따르면, 외부 전자 장치(600)는, 제 2 통신 모드에서, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)과 관련해서, post initiation communication을 설정하는 동작을 수행하지 않을 수 있다. 프로세서(1020)는, post initiation communication을 설정하는 동작을 전자 장치(600) 대신 수행할 수 있다. 예를 들면, 프로세서(1020)는, 외부 전자 장치(600)와 연결될 다른 외부 전자 장치와 post initiation communication 설정(또는, 협상)을 수행하고, 설정 정보를 외부 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 외부 전자 장치(600)로 전송할 수 있다. 외부 전자 장치(600)는, 수신한 설정 정보에 기반하여, post initiation communication을 수행할 수 있다.According to an embodiment, the external electronic device 600 performs post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and/or receiving data between discovery windows, in the second communication mode. In relation to , the operation of establishing post initiation communication may not be performed. The processor 1020 may perform an operation of setting post initiation communication instead of the electronic device 600 . For example, the processor 1020 performs post initiation communication setup (or negotiation) with another external electronic device to be connected to the external electronic device 600, and transfers the setting information to a discovery window in which the external electronic device 600 is activated. It can be transmitted to the external electronic device 600 within the section. The external electronic device 600 may perform post initiation communication based on the received configuration information.

프로세서(1020)는, 외부 전자 장치(600)가 제 2 통신 모드로 동작하는 동안, 지정된 주기마다, 외부 전자 장치(600)와 전자 장치(1000) 사이의 연결 상태를 확인하기 위한 신호를 외부 전자 장치(600)로 전송할 수 있다. 외부 전자 장치(600)와 전자 장치(1000) 사이의 연결 상태를 확인하기 위한 신호는, 전자 장치(1000) 및 외부 전자 장치(600)가 데이터 전송 및/또는 수신이 가능한 구간인 디스커버리 윈도우 구간 상에서 전송되고, 수신될 수 있다. 예를 들어, 외부 전자 장치(600)와 전자 장치(1000) 사이의 연결 상태를 확인하기 위한 신호는 외부 전자 장치(600)의 제 2 통신 모드의 어웨이크 인터벌 정보에 기반한 디스커버리 윈도우 구간 상에서 전송되고, 수신될 수 있다. 프로세서(1020)는, 외부 전자 장치(600)와 전자 장치(1000) 사이의 연결 상태를 확인하기 위한 신호의 응답 신호를 수신하지 못함을 확인하고, 외부 전자 장치(600)가 요청한 기능의 수행을 중단(또는, 종료)할 수 있다. While the external electronic device 600 operates in the second communication mode, the processor 1020 transmits a signal for checking a connection state between the external electronic device 600 and the electronic device 1000 every designated period. device 600. The signal for checking the connection state between the external electronic device 600 and the electronic device 1000 is a discovery window period in which the electronic device 1000 and the external electronic device 600 can transmit and/or receive data. can be transmitted and received. For example, a signal for checking a connection state between the external electronic device 600 and the electronic device 1000 is transmitted on a discovery window period based on the awake interval information of the second communication mode of the external electronic device 600 , can be received. The processor 1020 confirms that the response signal of the signal for confirming the connection state between the external electronic device 600 and the electronic device 1000 is not received, and performs the function requested by the external electronic device 600. can be suspended (or terminated).

프로세서(1020)는, 외부 전자 장치(600)가 다양한 원인에 따라 다른 프록시 서버에 연결되는 상황을 고려하여, 외부 전자 장치(600)의 정보를 다른 외부 전자 장치로 전송할 수도 있다.The processor 1020 may transmit information of the external electronic device 600 to another external electronic device in consideration of a situation in which the external electronic device 600 is connected to another proxy server according to various causes.

프로세서(1020)는, 서비스 디스커버리 절차를 통해, 다른 외부 전자 장치(미도시)가 전송하는 서비스 디스커버리 프레임을 수신할 수 있다. 프로세서(1020)는, 서비스 디스커버리 프레임에 포함된 프록시 서버로 동작 가능한지 여부를 지시하는 정보를 확인하고, 다른 외부 전자 장치가 프록시 서버로 동작가능한지 여부를 확인할 수 있다. The processor 1020 may receive a service discovery frame transmitted by another external electronic device (not shown) through a service discovery procedure. The processor 1020 may check information indicating whether the service discovery frame can operate as a proxy server, and check whether other external electronic devices can operate as a proxy server.

프로세서(1020)는, 프록시 서버로 동작 가능한 다른 외부 전자 장치로, 전자 장치(1000)에 등록된 프록시 클라이언트로써 동작하는 외부 전자 장치(600)의 정보를 전송할 수 있다. The processor 1020 may transmit information of the external electronic device 600 operating as a proxy client registered with the electronic device 1000 to another external electronic device capable of operating as a proxy server.

외부 전자 장치(600)의 정보는, 외부 전자 장치(600)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B)), 외부 전자 장치(600)의 성능 정보를 포함할 수 있다. 등록 식별자 정보는 외부 전자 장치(600)를 다른 전자 장치와 구별 가능한 고유의 정보(예: 외부 전자 장치(600)의 MAC 어드레스, IMSI(international mobile subscriber identity)) 또는 고유의 정보에 기반하여 생성된 정보일 수도 있다. The information of the external electronic device 600 includes registration information (eg, registration ID information (eg, registration id B)) assigned to the external electronic device 600 and performance information of the external electronic device 600. can include The registration identifier information is generated based on unique information that can distinguish the external electronic device 600 from other electronic devices (eg, MAC address of the external electronic device 600, international mobile subscriber identity (IMSI)) or unique information. may be information.

외부 전자 장치(600)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 외부 전자 장치(600)의 성능 정보는, 외부 전자 장치(600)의 동작 모드(예: 제 1 통신 모드, 또는 제 2 통신 모드)를 지시하는 정보 및/또는 외부 전자 장치(600)가 사용하는 안테나의 수를 포함할 수 있다.The performance information of the external electronic device 600 may include performance information of the proxy client. For example, the performance information of the external electronic device 600 may include information indicating an operation mode (eg, a first communication mode or a second communication mode) of the external electronic device 600 and/or the external electronic device 600 ) may include the number of antennas used.

외부 전자 장치(600)의 성능 정보는 외부 전자 장치(600)의 제 2 통신 모드와 관련된 정보를 포함할 수 있다.The performance information of the external electronic device 600 may include information related to the second communication mode of the external electronic device 600 .

외부 전자 장치(600)의 성능 정보는 외부 전자 장치(600)의 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The performance information of the external electronic device 600 may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode of the external electronic device 600 .

외부 전자 장치(600)의 성능 정보는 외부 전자 장치(600)의 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The performance information of the external electronic device 600 may include awake interval information of the second communication mode of the external electronic device 600 . The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

외부 전자 장치(600)의 성능 정보는, 외부 전자 장치(600)가, 제 2 통신 모드로 동작하는 동안, 전자 장치(1000)가 외부 전자 장치(600) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 전자 장치(1000)가 외부 전자 장치(600) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, 및/또는 Post initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 외부 전자 장치(600)의 통신 회로(예: 도 6의 통신 회로(610))가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.The performance information of the external electronic device 600 includes functions (or services) that the electronic device 1000 can perform instead of the external electronic device 600 while the external electronic device 600 operates in the second communication mode. May contain relevant information. Information related to functions that can be performed by the electronic device 1000 instead of the external electronic device 600 includes the type of function (eg, identification information of passive scan and/or post initiation communication), and/or performing post initiation communication. setting information (eg, FAW (further availability window) information indicating a time when the communication circuit of the external electronic device 600 (eg, the communication circuit 610 of FIG. 6) is activated at other times than the discovery window) can include

전자 장치(1000)는, 프록시 클라이언트로써 동작하는 외부 전자 장치(600)의 정보를 프록시 서버로써 동작하는 다른 외부 전자 장치로 전송함으로써, 외부 전자 장치(600)가 다른 외부 전자 장치에 프록시 클라이언트 등록 절차를 수행하지 않고도, 프록시 기능을 사용할 수 있도록 할 수 있다.The electronic device 1000 transmits information of the external electronic device 600 operating as a proxy client to another external electronic device operating as a proxy server, so that the external electronic device 600 registers a proxy client with another external electronic device. It is possible to use the proxy function without performing

도 11은 본 발명의 다양한 실시예예 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.11 is an operation flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.

전자 장치(예: 도 10의 전자 장치(1000))는, 동작 1110에서, NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수 있다.The electronic device (eg, the electronic device 1000 of FIG. 10 ) may perform synchronization with the NAN cluster based on the NAN cluster information in operation 1110 .

전자 장치(1000)는, NAN(neighbor awareness networking) 방식으로 구현된 클러스터(또는, 네트워크)(예: 도 2의 NAN 클러스터(200))에 포함된 외부 전자 장치(600)가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수 있다. 또는, 전자 장치(1000)는, NAN 기반이 아닌 다른 통신 방식(예: 블루투스, Wi-Fi를 포함하는 근거리 무선 통신)을 통해 NAN 클러스터 정보를 수신할 수도 있다. 예를 들면, 전자 장치(1000)는, Wi-Fi를 통해 연결될 외부 전자 장치(600)를 찾기 위한 probe request 신호를 전송하고, probe request 신호에 대응하여, 외부 전자 장치(600)가 전송하는 probe response 메시지에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수도 있다. The electronic device 1000 responds to a signal broadcast by an external electronic device 600 included in a cluster (or network) (eg, the NAN cluster 200 of FIG. 2 ) implemented in a neighbor awareness networking (NAN) method. Synchronization with the NAN cluster can be performed based on the included NAN cluster information. Alternatively, the electronic device 1000 may receive NAN cluster information through a non-NAN-based communication method (eg, short-range wireless communication including Bluetooth and Wi-Fi). For example, the electronic device 1000 transmits a probe request signal for finding an external electronic device 600 to be connected via Wi-Fi, and responds to the probe request signal, a probe transmitted by the external electronic device 600. Synchronization with the NAN cluster may be performed based on the NAN cluster information included in the response message.

NAN 클러스터 동기화는, NAN 클러스터에 포함된 전자 장치들이 동일한 채널 및/또는 동일한 시간동안 데이터 전송 및/또는 수신하도록, NAN 클러스터를 대표하는 전자 장치의 시간 클록 정보를 수신하는 동작을 포함할 수 있다. 예를 들면, 전자 장치(1000)는, 외부 전자 장치(600)가 브로드캐스팅하는 비콘을 수신하고, 비콘에 포함된 외부 전자 장치(600)의 시간 클록 정보에 기반하여 NAN 클러스터 동기화를 수행할 수 있다. NAN cluster synchronization may include an operation of receiving time clock information of an electronic device representing the NAN cluster so that the electronic devices included in the NAN cluster transmit and/or receive data on the same channel and/or during the same time period. For example, the electronic device 1000 may receive a beacon broadcast by the external electronic device 600 and perform NAN cluster synchronization based on time clock information of the external electronic device 600 included in the beacon. there is.

전자 장치(1000)는, 동작 1120에서, 동기화를 수행한 후, 프록시 서버로 동작할 수 있다.In operation 1120, the electronic device 1000 may perform synchronization and then operate as a proxy server.

NAN 클러스터 동기화가 완료된 후, 전자 장치(1000)는, 프록시 서버로써 동작 가능한지 여부를 지시하는 정보를 포함하는 서비스 디스커버리 프레임을 브로드캐스팅할 수 있다. 서비스 디스커버리 프레임은, 프록시 서버로써 동작하는 전자 장치(1000)의 성능 정보를 포함할 수 있다. After NAN cluster synchronization is completed, the electronic device 1000 may broadcast a service discovery frame including information indicating whether the electronic device 1000 can operate as a proxy server. The service discovery frame may include performance information of the electronic device 1000 operating as a proxy server.

프록시 서버 기능을 지원하는지 여부를 지시하는 정보는, 프록시 서버 능력(proxy server capability) 정보 및/또는 어웨이크 인터벌 정보(예: 디스커버리 윈도우 어웨이크(DW awake) 인터벌)을 포함할 수 있다.Information indicating whether the proxy server function is supported may include proxy server capability information and/or awake interval information (eg, discovery window awake (DW awake) interval).

전자 장치(1000)는, 동작 1130에서, 프록시 등록 요청 신호에 기반하여 외부 전자 장치(예: 도 6의 전자 장치(600))를 프록시 클라이언트로 등록할 수 있다.In operation 1130, the electronic device 1000 may register an external electronic device (eg, the electronic device 600 of FIG. 6) as a proxy client based on the proxy registration request signal.

도 6 내지 도 9에서 전술한 바와 같이, 외부 전자 장치(600)는, 제 1 통신 모드에서 제 2 통신 모드로의 전환을 결정함에 따라, 프록시 클라이언트로써 동작하기 위해 프록시 등록 요청 메시지를 전송할 수 있다.As described above with reference to FIGS. 6 to 9 , the external electronic device 600 may transmit a proxy registration request message in order to operate as a proxy client upon determining to switch from the first communication mode to the second communication mode. .

프록시 등록 요청 신호는, 외부 전자 장치(600)의 제 2 통신 모드와 관련된 정보를 포함할 수 있다. The proxy registration request signal may include information related to the second communication mode of the external electronic device 600 .

프록시 등록 요청 신호는, 외부 전자 장치(600)의 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The proxy registration request signal may include awake interval information of the second communication mode of the external electronic device 600 . The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

프록시 등록 요청 신호는, 외부 전자 장치(600)의 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The proxy registration request signal may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode of the external electronic device 600 .

일 실시예에 따르면, 프록시 등록 요청 신호는, 외부 전자 장치(600)가, 제 2 통신 모드로 동작하는 동안, 전자 장치(1000)가 외부 전자 장치(600) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 전자 장치(1000)가 외부 전자 장치(600) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, 및/또는 Post initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 외부 전자 장치(600)의 통신 회로(예: 도 6의 통신 회로(610))가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.According to an embodiment, the proxy registration request signal is a function (or service) that the electronic device 1000 can perform on behalf of the external electronic device 600 while the external electronic device 600 operates in the second communication mode. may contain relevant information. Information related to functions that can be performed by the electronic device 1000 instead of the external electronic device 600 includes the type of function (eg, identification information of passive scan and/or post initiation communication), and/or performing post initiation communication. setting information (eg, FAW (further availability window) information indicating a time when the communication circuit of the external electronic device 600 (eg, the communication circuit 610 of FIG. 6) is activated at other times than the discovery window) can include

일 실시예에 따르면, 프록시 등록 요청 신호는, 외부 전자 장치(600)의 성능 정보를 포함할 수 있다. 외부 전자 장치(600)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 외부 전자 장치(600)의 성능 정보는, 외부 전자 장치(600)의 동작 모드(예: 제 1 통신 모드, 제 2 통신 모드)를 지시하는 정보 및/또는 외부 전자 장치(600)가 사용하는 안테나의 수를 포함할 수 있다.According to an embodiment, the proxy registration request signal may include performance information of the external electronic device 600 . The performance information of the external electronic device 600 may include performance information of the proxy client. For example, the performance information of the external electronic device 600 may include information indicating an operation mode (eg, a first communication mode, a second communication mode) of the external electronic device 600 and/or the external electronic device 600. may include the number of antennas used.

일 실시예에 따르면, 프록시 등록 요청 신호는, 프록시 등록 요청 신호에 포함된 정보 중 적어도 일부 정보의 유효 시간(timeout) 정보를 포함할 수 있다. 예를 들면, 프록시 등록 요청 신호를 수신한 전자 장치(1000)는, 유효 시간 정보가 만료됨에 따라, 프록시 등록 요청 신호에 포함된 정보를 삭제(또는, 무시)하고, 외부 전자 장치(600)에 대한 프록시 서버 동작을 종료할 수 있다. 프로세서(1020)는, 프록시 등록 종료(proxy registration termination) 메시지를 외부 전자 장치(600)로 전송하도록 통신 회로(1010)를 제어할 수 있다. According to an embodiment, the proxy registration request signal may include valid timeout information of at least some information among information included in the proxy registration request signal. For example, upon receiving the proxy registration request signal, the electronic device 1000 deletes (or ignores) information included in the proxy registration request signal as valid time information expires, and sends the external electronic device 600 You can terminate the proxy server operation for The processor 1020 may control the communication circuit 1010 to transmit a proxy registration termination message to the external electronic device 600 .

전자 장치(1000)는, 프록시 등록 요청 신호에 대응하는 응답 신호를 외부 전자 장치(600)로 전송하도록 통신 회로(1010)를 제어할 수 있다. The electronic device 1000 may control the communication circuit 1010 to transmit a response signal corresponding to the proxy registration request signal to the external electronic device 600 .

전자 장치(1000)는, 프록시 등록 요청 신호를 수신하고, 프록시 등록 요청에 대한 응답으로, 외부 전자 장치(600)의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 외부 전자 장치(600)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 외부 전자 장치(600)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 전자 장치(1000)가 외부 전자 장치(600)의 프록시 등록 요청을 수락하게 되는 경우, 응답 메시지는, 외부 전자 장치(600)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B))를 포함할 수 있다.The electronic device 1000 receives a proxy registration request signal, and in response to the proxy registration request, a response message (eg, a proxy registration response message) indicating whether the external electronic device 600 is registered as a proxy. may be transmitted to the external electronic device 600. According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the external electronic device 600 . According to an embodiment, when the electronic device 1000 accepts the proxy registration request of the external electronic device 600, the response message may include registration information (eg, registration identifier) assigned to the external electronic device 600. ID) information (eg, registration id B)).

전자 장치(1000)는, 응답 신호를 전송한 후, 프록시 등록 요청 신호에 포함된 기능을 외부 전자 장치(600) 대신 수행할 수 있다. After transmitting the response signal, the electronic device 1000 may perform a function included in the proxy registration request signal instead of the external electronic device 600 .

일 실시예에 따르면, 외부 전자 장치(600)는, 제 2 통신 모드에서, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하는 동작을 수행하지 않을 수 있다. 전자 장치(1000)는, NAN 클러스터의 동기화 또는 NAN 클러스터의 병합(merging)을 수행하기 위해서 다른 외부 전자 장치를 스캔하고, 스캔 결과에 기반하여 NAN 클러스터의 병합 여부를 결정할 수 있다. 전자 장치(1000)는, NAN 클러스터를 다른 클러스터와 병합하기로 함에 대응하여, 병합을 지시하는 정보를 외부 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 외부 전자 장치(600)로 전송할 수 있다. 외부 전자 장치(600)는, 병합을 지시하는 정보를 수신함에 따라, 다른 프록시 서버를 통해 프록시 기능을 수행할 수 있다. According to an embodiment, in the second communication mode, the external electronic device 600 may not perform an operation of scanning another external electronic device to perform NAN cluster synchronization or NAN cluster merging. . The electronic device 1000 may scan another external electronic device to perform NAN cluster synchronization or NAN cluster merging, and determine whether to merge the NAN clusters based on the scan result. In response to merging the NAN cluster with another cluster, the electronic device 1000 may transmit information instructing merging to the external electronic device 600 within a discovery window period in which the external electronic device 600 is activated. . The external electronic device 600 may perform a proxy function through another proxy server upon receiving information instructing merging.

일 실시예에 따르면, 외부 전자 장치(600)는, 제 2 통신 모드에서, 디스커버리 윈도우 사이에서 데이터 전송 및/또는 수신을 수행하는 동작인 post initiation communication(예: further service discovery, ranging, 또는 NDP)과 관련해서, post initiation communication을 설정하는 동작을 수행하지 않을 수 있다. 전자 장치(1000)는, post initiation communication을 설정하는 동작을 전자 장치(600) 대신 수행할 수 있다. 예를 들면, 전자 장치(1000)는, 외부 전자 장치(600)와 연결될 다른 외부 전자 장치와 post initiation communication 설정(또는, 협상)을 수행하고, 설정 정보를 외부 전자 장치(600)가 활성화되는 디스커버리 윈도우 구간 내에서 외부 전자 장치(600)로 전송할 수 있다. 외부 전자 장치(600)는, 수신한 설정 정보에 기반하여, post initiation communication을 수행할 수 있다. According to an embodiment, the external electronic device 600 performs post initiation communication (eg, further service discovery, ranging, or NDP), which is an operation of transmitting and/or receiving data between discovery windows, in the second communication mode. In relation to , the operation of establishing post initiation communication may not be performed. The electronic device 1000 may perform an operation of setting post initiation communication instead of the electronic device 600 . For example, the electronic device 1000 performs post initiation communication setup (or negotiation) with another external electronic device to be connected to the external electronic device 600, and discovery of activation of the external electronic device 600 with setting information. It can be transmitted to the external electronic device 600 within the window period. The external electronic device 600 may perform post initiation communication based on the received configuration information.

전자 장치(1000)는, 동작 1140에서, 프록시 서버로 동작하는 다른 외부 전자 장치가 존재하는지 여부를 확인할 수 있다.In operation 1140, the electronic device 1000 may check whether another external electronic device operating as a proxy server exists.

전자 장치(1000)는, 서비스 디스커버리 절차를 통해, 다른 외부 전자 장치(미도시)가 전송하는 서비스 디스커버리 프레임을 수신할 수 있다. 전자 장치(1000)는, 서비스 디스커버리 프레임에 포함된 프록시 서버로 동작 가능한지 여부를 지시하는 정보를 확인하고, 다른 외부 전자 장치가 프록시 서버로 동작가능한지 여부를 확인할 수 있다. The electronic device 1000 may receive a service discovery frame transmitted by another external electronic device (not shown) through a service discovery procedure. The electronic device 1000 can check information indicating whether it can operate as a proxy server included in the service discovery frame, and can check whether other external electronic devices can operate as a proxy server.

전자 장치(1000)는, 동작 1150에서, 프록시 서버로 동작하는 다른 외부 전자 장치가 존재함에 대응하여(동작 1140-Y), 등록된 외부 전자 장치(600)의 정보를 다른 외부 전자 장치로 전송할 수 있다.In operation 1150, the electronic device 1000 may transmit information of the registered external electronic device 600 to another external electronic device in response to the existence of another external electronic device operating as a proxy server (operation 1140-Y). there is.

전자 장치(1000)는, 프록시 서버로 동작 가능한 다른 외부 전자 장치로, 전자 장치(1000)에 등록된 프록시 클라이언트로써 동작하는 외부 전자 장치(600)의 정보를 전송할 수 있다. The electronic device 1000 may transmit information of the external electronic device 600 operating as a proxy client registered with the electronic device 1000 to another external electronic device capable of operating as a proxy server.

전자 장치(1000)는, 다른 외부 전자 장치의 성능 정보를 수신한 경우, 다른 외부 전자 장치의 성능 정보에 기반하여 등록된 외부 전자 장치(600)의 정보를 다른 외부 전자 장치로 전송할 수 있다. 예를 들면, 전자 장치(1000)는, 다른 외부 전자 장치에 등록된 프록시 클라이언트의 수가 지정된 수 이상임을 다른 외부 전자 장치의 성능 정보에 기반하여 확인하고, 등록된 외부 전자 장치(600)의 정보를 다른 외부 전자 장치로 전송하지 않을 수 있다.When receiving performance information of another external electronic device, the electronic device 1000 may transmit information about the external electronic device 600 registered based on the performance information of the other external electronic device to the other external electronic device. For example, the electronic device 1000 confirms that the number of proxy clients registered in the other external electronic device is greater than or equal to a specified number based on the performance information of the other external electronic device, and retrieves the information of the registered external electronic device 600. It may not be transmitted to other external electronic devices.

외부 전자 장치(600)의 정보는, 외부 전자 장치(600)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B)), 외부 전자 장치(600)의 성능 정보를 포함할 수 있다. The information of the external electronic device 600 includes registration information (eg, registration ID information (eg, registration id B)) assigned to the external electronic device 600 and performance information of the external electronic device 600. can include

외부 전자 장치(600)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 외부 전자 장치(600)의 성능 정보는, 외부 전자 장치(600)의 동작 모드(예: 제 1 통신 모드, 제 2 통신 모드)를 지시하는 정보 및/또는 외부 전자 장치(600)가 사용하는 안테나의 수를 포함할 수 있다.The performance information of the external electronic device 600 may include performance information of the proxy client. For example, the performance information of the external electronic device 600 may include information indicating an operation mode (eg, a first communication mode, a second communication mode) of the external electronic device 600 and/or the external electronic device 600. may include the number of antennas used.

외부 전자 장치(600)의 성능 정보는 외부 전자 장치(600)의 제 2 통신 모드와 관련된 정보를 포함할 수 있다.The performance information of the external electronic device 600 may include information related to the second communication mode of the external electronic device 600 .

외부 전자 장치(600)의 성능 정보는 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The performance information of the external electronic device 600 may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode.

외부 전자 장치(600)의 성능 정보는 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The performance information of the external electronic device 600 may include awake interval information of the second communication mode. The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

외부 전자 장치(600)의 성능 정보는, 외부 전자 장치(600)가, 제 2 통신 모드로 동작하는 동안, 전자 장치(1000)가 외부 전자 장치(600) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 전자 장치(1000)가 외부 전자 장치(600) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, 및/또는 Post initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 외부 전자 장치(600)의 통신 회로(예: 도 6의 통신 회로(610))가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.The performance information of the external electronic device 600 includes functions (or services) that the electronic device 1000 can perform instead of the external electronic device 600 while the external electronic device 600 operates in the second communication mode. May contain relevant information. Information related to functions that can be performed by the electronic device 1000 instead of the external electronic device 600 includes the type of function (eg, identification information of passive scan and/or post initiation communication), and/or performing post initiation communication. setting information (eg, FAW (further availability window) information indicating a time when the communication circuit of the external electronic device 600 (eg, the communication circuit 610 of FIG. 6) is activated at other times than the discovery window) can include

전자 장치(1000)는, 동작 1160에서, 등록된 외부 전자 장치(600)의 정보를 다른 외부 전자 장치로 전송한 후, 또는, 프록시 서버로 동작하는 다른 외부 전자 장치가 존재하지 않음에 대응하여(동작 1140-N), 등록된 외부 전자 장치의 정보를 다른 외부 전자 장치로 전송하지 않고, 프록시 서버로 동작할 수 있다.In operation 1160, the electronic device 1000 transmits information of the registered external electronic device 600 to another external electronic device, or in response to the absence of another external electronic device operating as a proxy server ( Operation 1140-N), the registered external electronic device may operate as a proxy server without transmitting information of the external electronic device to other external electronic devices.

전자 장치(1000)는, 프록시 클라이언트로써 동작하는 외부 전자 장치(600)의 정보를 프록시 서버로써 동작하는 다른 외부 전자 장치로 전송하고, 외부 전자 장치(600)에 대한 프록시 서버로 동작할 수 있다. 외부 전자 장치(600)는, 전자 장치(1000)가 전송한 외부 전자 장치(600)의 정보를 이용하여, 외부 전자 장치(600)에 대한 프록시 서버의 기능을 수행할 수 있다. 외부 전자 장치(600)는, 전자 장치(1000)가 아닌 다른 외부 전자 장치를 이용하여 프록시 동작을 수행하는 경우(또는, 외부 전자 장치(600)가 전자 장치(1000)의 커버리지를 벗어나고, 다른 외부 전자 장치의 커버리지로 진입한 경우), , 외부 전자 장치(600)가 다른 외부 전자 장치에 프록시 클라이언트 등록 절차를 수행하지 않고도, 프록시 기능을 사용할 수 있도록 할 수 있다.The electronic device 1000 may transmit information of the external electronic device 600 operating as a proxy client to another external electronic device operating as a proxy server and may operate as a proxy server for the external electronic device 600 . The external electronic device 600 may perform a function of a proxy server for the external electronic device 600 by using the information of the external electronic device 600 transmitted by the electronic device 1000 . When the external electronic device 600 performs a proxy operation using an external electronic device other than the electronic device 1000 (or when the external electronic device 600 is out of coverage of the electronic device 1000, another external electronic device 600 When entering the coverage of the electronic device), the external electronic device 600 can use the proxy function without performing a proxy client registration procedure with other external electronic devices.

도 12a는 본 발명의 다양한 실시예에 따른 전자 장치가, 프록시 클라이언트로써 동작하는 외부 전자 장치의 정보를 다른 외부 전자 장치로 전송하는 실시예를 도시한 도면이다.12A is a diagram illustrating an example in which an electronic device according to various embodiments of the present disclosure transmits information of an external electronic device operating as a proxy client to another external electronic device.

도 12a를 참조하면, 제 1 전자 장치(1210)(예: 도 10의 전자 장치(1000))는, 프록시 서버로써 동작하고, 제 2 전자 장치(1220)(예: 도 6의 전자 장치(600))는, 프록시 클라이언트로써 동작할 수 있다. Referring to FIG. 12A , a first electronic device 1210 (eg, the electronic device 1000 of FIG. 10 ) operates as a proxy server, and a second electronic device 1220 (eg, the electronic device 600 of FIG. 6 ) )) can act as a proxy client.

도 12a를 참조하면, 제 1 전자 장치(1210)는 제 2 전자 장치(1220)의 커버리지(1221) 내부에 위치하고, 제 3 전자 장치(1230)는, 제 2 전자 장치(1220)의 커버리지(1221) 외부에 위치할 수 있다. 제 3 전자 장치(1230)는 제 1 전자 장치(1210)의 커버리지(1222)의 내부에 위치할 수 있다. Referring to FIG. 12A , the first electronic device 1210 is located within the coverage 1221 of the second electronic device 1220, and the third electronic device 1230 is located within the coverage 1221 of the second electronic device 1220. ) can be located outside. The third electronic device 1230 may be located inside the coverage 1222 of the first electronic device 1210 .

제 1 전자 장치(1210)는, 프록시 서버로써 동작 가능한지 여부를 지시하는 정보를 포함하는 서비스 디스커버리 프레임을 브로드캐스팅할 수 있다. 서비스 디스커버리 프레임은, 프록시 서버로써 동작하는 제 1 전자 장치(1210)의 성능 정보를 포함할 수 있다. The first electronic device 1210 may broadcast a service discovery frame including information indicating whether the first electronic device 1210 can operate as a proxy server. The service discovery frame may include performance information of the first electronic device 1210 operating as a proxy server.

프록시 서버 기능을 지원하는지 여부를 지시하는 정보는, 프록시 서버 능력(proxy server capability) 정보 및/또는 어웨이크 인터벌 정보(예: 디스커버리 윈도우 어웨이크(DW awake) 인터벌)을 포함할 수 있다.Information indicating whether the proxy server function is supported may include proxy server capability information and/or awake interval information (eg, discovery window awake (DW awake) interval).

제 2 전자 장치(1220)는, NAN(neighbor awareness networking) 방식으로 구현된 클러스터(또는, 네트워크)(예: 도 2의 NAN 클러스터(200))에 포함된 제 1 전자 장치(1210)가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수 있다.In the second electronic device 1220, the first electronic device 1210 included in a cluster (or network) (eg, the NAN cluster 200 of FIG. 2) implemented in the NAN (neighbor awareness networking) method broadcasts Synchronization with the NAN cluster may be performed based on the NAN cluster information included in the signal.

제 2 전자 장치(1220)는, NAN 기반이 아닌 다른 통신 방식(예: 블루투스, Wi-Fi를 포함하는 근거리 무선 통신)을 통해 NAN 클러스터 정보를 수신할 수도 있다. 예를 들면, 제 2 전자 장치(1220)는, Wi-Fi를 통해 연결될 제 1 전자 장치(1210)를 찾기 위한 probe request 신호를 전송하고, probe request 신호에 대응하여, 제 1 전자 장치(1210)가 전송하는 probe response 메시지에 포함된 NAN 클러스터 정보에 기반하여 NAN 클러스터와 동기화를 수행할 수도 있다. The second electronic device 1220 may receive NAN cluster information through a communication method other than NAN-based (eg, short-range wireless communication including Bluetooth and Wi-Fi). For example, the second electronic device 1220 transmits a probe request signal for finding the first electronic device 1210 to be connected through Wi-Fi, and in response to the probe request signal, the first electronic device 1210 Synchronization with the NAN cluster may be performed based on the NAN cluster information included in the probe response message transmitted by .

NAN 클러스터 동기화는, NAN 클러스터에 포함된 전자 장치들이 동일한 채널 및/또는 동일한 시간동안 데이터 전송 및/또는 수신하도록, NAN 클러스터를 대표하는 전자 장치의 시간 클록 정보를 수신하는 동작을 포함할 수 있다. 예를 들면, 제 2 전자 장치(1220)는, 제 1 전자 장치(1210)가 브로드캐스팅하는 비콘을 수신하고, 비콘에 포함된 제 1 전자 장치(1210)의 시간 클록 정보에 기반하여 NAN 클러스터 동기화를 수행할 수 있다. NAN cluster synchronization may include an operation of receiving time clock information of an electronic device representing the NAN cluster so that the electronic devices included in the NAN cluster transmit and/or receive data on the same channel and/or during the same time period. For example, the second electronic device 1220 receives a beacon broadcast by the first electronic device 1210 and synchronizes a NAN cluster based on time clock information of the first electronic device 1210 included in the beacon. can be performed.

NAN 클러스터 동기화가 완료된 후, 제 2 전자 장치(1220)는, 제 1 통신 모드로 동작할 수 있다. 제 1 통신 모드는, 제 1 값을 갖는 인터벌을 갖는 디스커버리 윈도우마다 데이터 전송 및/또는 수신을 수행하는 모드일 수 있다. 제 1 통신 모드로 동작하는 제 2 전자 장치(1220)는, 지정된 구간(예: 제 1 값을 갖는 인터벌을 갖는 디스커버리 윈도우의 크기)마다 통신 회로(예: 도 6의 통신 회로(610))를 활성화하고, 지정된 구간마다 NAN 클러스터에 포함된 전자 장치들(예: 제 1 전자 장치(1210))이 전송하는 데이터를 수신하거나, 데이터를 제 1 전자 장치(1210)로 전송할 수 있다.After NAN cluster synchronization is completed, the second electronic device 1220 may operate in the first communication mode. The first communication mode may be a mode in which data transmission and/or reception is performed for each discovery window having an interval having a first value. The second electronic device 1220 operating in the first communication mode uses a communication circuit (eg, the communication circuit 610 of FIG. 6 ) for each designated period (eg, the size of a discovery window having an interval having a first value). After activation, data transmitted by electronic devices (eg, the first electronic device 1210) included in the NAN cluster may be received or data may be transmitted to the first electronic device 1210 in each designated period.

제 2 전자 장치(1220)는 제 1 통신 모드로 동작하는 동안, 제 2 통신 모드로의 전환 여부를 결정할 수 있다. 제 2 통신 모드는 제 1 통신 모드보다 낮은 전력 소모를 가질 수 있는 통신 모드 또는, 제 1 통신 모드에서 제 2 전자 장치(1220)가 수행하는 기능 중 일부의 기능을 제 1 전자 장치(1210)가 제 2 전자 장치(1220) 대신 수행하는 통신 모드를 의미할 수 있다. 제 2 전자 장치(1220)는, 제 2 통신 모드로 전환하는 동작의 일부로써, 프록시 서버의 역할을 수행하는 제 1 전자 장치(1210)에 프록시 클라이언트 등록을 할 수 있다.The second electronic device 1220 may determine whether to switch to the second communication mode while operating in the first communication mode. The second communication mode is a communication mode that may have lower power consumption than the first communication mode, or the first electronic device 1210 performs some of the functions performed by the second electronic device 1220 in the first communication mode. It may refer to a communication mode performed instead of the second electronic device 1220. As part of an operation of switching to the second communication mode, the second electronic device 1220 may register a proxy client with the first electronic device 1210 serving as a proxy server.

제 2 전자 장치(1220)는 제 1 전자 장치(1210)가 제 2 전자 장치(1220) 대신 수행할 수 있는 기능과 관련된 정보를 포함하는 프록시 등록 요청 신호를 전송할 수 있다.The second electronic device 1220 may transmit a proxy registration request signal including information related to functions that the first electronic device 1210 may perform instead of the second electronic device 1220 .

프록시 등록 요청 신호는, 제 2 전자 장치(1220)의 제 2 통신 모드와 관련된 정보를 포함할 수 있다. The proxy registration request signal may include information related to the second communication mode of the second electronic device 1220 .

프록시 등록 요청 신호는, 제 2 전자 장치(1220)의 제 2 통신 모드의 어웨이크 인터벌 정보를 포함할 수 있다. 제 2 통신 모드의 어웨이크 인터벌의 크기는, 제 1 통신 모드의 어웨이크 인터벌의 크기보다 클 수 있다.The proxy registration request signal may include awake interval information of the second communication mode of the second electronic device 1220 . The size of the awake interval of the second communication mode may be greater than the size of the awake interval of the first communication mode.

프록시 등록 요청 신호는, 제 2 전자 장치(1220)의 제 2 통신 모드에서 지원 가능한 주파수 대역(예: 2.4GHz)의 정보(또는, 채널의 정보)를 포함할 수 있다.The proxy registration request signal may include information (or channel information) of a frequency band (eg, 2.4 GHz) supportable in the second communication mode of the second electronic device 1220 .

일 실시예에 따르면, 프록시 등록 요청 신호는, 제 2 전자 장치(1220)가, 제 2 통신 모드로 동작하는 동안, 제 1 전자 장치(1210)가 제 2 전자 장치(1220) 대신 수행 가능한 기능(또는, 서비스)과 관련된 정보를 포함할 수 있다. 제 1 전자 장치(1210)가 제 2 전자 장치(1220) 대신 수행 가능한 기능과 관련된 정보는, 기능의 종류(예: passive scan, 및/또는 Post initiation communication의 식별 정보), 및/또는 post initiation communication을 수행하기 위한 설정 정보(예: 디스커버리 윈도우를 제외한 다른 시간에서 통신 회로(610)가 활성화되는 시간을 의미하는 FAW(further availability window) 정보)를 포함할 수 있다.According to an embodiment, the proxy registration request signal is a function that the first electronic device 1210 can perform instead of the second electronic device 1220 while the second electronic device 1220 operates in the second communication mode ( Alternatively, information related to the service) may be included. Information related to a function that the first electronic device 1210 can perform instead of the second electronic device 1220 may include the type of function (eg, identification information of passive scan and/or post initiation communication), and/or post initiation communication. may include setting information (eg, further availability window (FAW) information indicating a time at which the communication circuit 610 is activated at other times than the discovery window).

일 실시예에 따르면, 프록시 등록 요청 신호는, 제 2 전자 장치(1220)의 성능 정보를 포함할 수 있다. 제 2 전자 장치(1220)의 성능 정보는, 프록시 클라이언트의 성능 정보를 포함할 수 있다. 예를 들면, 제 2 전자 장치(1220)의 성능 정보는, 제 2 전자 장치(1220)의 동작 모드(예: 제 1 통신 모드, 또는 제 2 통신 모드)를 지시하는 정보 및/또는 제 2 전자 장치(1220)가 사용하는 안테나의 수를 포함할 수 있다.According to an embodiment, the proxy registration request signal may include performance information of the second electronic device 1220 . The performance information of the second electronic device 1220 may include performance information of the proxy client. For example, the performance information of the second electronic device 1220 may include information indicating an operation mode (eg, a first communication mode or a second communication mode) of the second electronic device 1220 and/or information indicating a second electronic device 1220. It may include the number of antennas used by device 1220.

제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 제 2 전자 장치(1220)의 성능 정보 및 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 제 2 전자 장치(1220)의 성능 정보는 다를 수 있다. 일 실시예에 따르면, 제 1 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 제 2 전자 장치(1220)의 성능 정보에 포함된 안테나의 수(예: 4개)와 제 2 통신 모드에서 전송되는 프록시 등록 요청 신호에 포함된 제 2 전자 장치(1220)의 성능 정보에 포함된 안테나의 수(예: 2개)가 다를 수 있다. Performance information of the second electronic device 1220 included in the proxy registration request signal transmitted in the first communication mode and performance information of the second electronic device 1220 included in the proxy registration request signal transmitted in the second communication mode can be different. According to an embodiment, the number of antennas (eg, 4) included in the performance information of the second electronic device 1220 included in the proxy registration request signal transmitted in the first communication mode and the number of antennas transmitted in the second communication mode The number of antennas (eg, two) included in the performance information of the second electronic device 1220 included in the proxy registration request signal may be different.

일 실시예에 따르면, 프록시 등록 요청 신호는, 프록시 등록 요청 신호에 포함된 정보 중 적어도 일부 정보의 유효 시간(timeout) 정보를 포함할 수 있다. 예를 들면, 프록시 등록 요청 신호를 수신한 제 1 전자 장치(1210)는, 유효 시간 정보가 만료됨에 따라, 프록시 등록 요청 신호에 포함된 정보를 삭제(또는, 무시)하고, 제 2 전자 장치(1220)에 대한 프록시 서버 동작을 종료할 수 있다. 제 1 전자 장치(1210)는, 프록시 등록 종료(proxy registration termination) 메시지를 제 2 전자 장치(1220)로 전송할 수 있다. According to an embodiment, the proxy registration request signal may include valid timeout information of at least some information among information included in the proxy registration request signal. For example, upon receiving the proxy registration request signal, the first electronic device 1210 deletes (or ignores) information included in the proxy registration request signal as valid time information expires, and the second electronic device ( 1220) may terminate the proxy server operation. The first electronic device 1210 may transmit a proxy registration termination message to the second electronic device 1220 .

제 1 전자 장치(1210)는, 프록시 등록 요청 신호를 수신하고, 프록시 등록 요청에 대한 응답으로, 제 2 전자 장치(1220)의 프록시 등록 여부에 대한 응답 메시지(예: 프록시 등록 응답(proxy registration response) 메시지)를 제 2 전자 장치(1220)에 전송할 수 있다. 일 실시예에 따르면, 응답 메시지에는 제 2 전자 장치(1220)의 프록시 등록 요청에 대한 수락 또는 거부에 관한 정보(예: status)를 포함할 수 있다. 일 실시예에 따라, 제 1 전자 장치(1210)가 제 2 전자 장치(1220)의 프록시 등록 요청을 수락하게 되는 경우, 응답 메시지는, 제 2 전자 장치(1220)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id B))를 포함할 수 있다.The first electronic device 1210 receives the proxy registration request signal, and in response to the proxy registration request, a response message (eg, proxy registration response) indicating whether the second electronic device 1220 is registered as a proxy. ) message) to the second electronic device 1220. According to an embodiment, the response message may include information (eg, status) regarding acceptance or rejection of the proxy registration request of the second electronic device 1220 . According to an embodiment, when the first electronic device 1210 accepts the proxy registration request of the second electronic device 1220, the response message includes registration information assigned to the second electronic device 1220 (eg, It may include registration ID information (eg, registration id B).

제 2 전자 장치(1220)는, 프록시 클라이언트의 등록이 완료됨에 따라, 제 2 통신 모드로 동작할 수 있다.As registration of the proxy client is completed, the second electronic device 1220 may operate in the second communication mode.

제 2 전자 장치(1220)는, 제 2 통신 모드에서, 제 1 통신 모드에서 제 2 전자 장치(1220)가 수행하는 기능 중 일부를 제 1 전자 장치(1210)가 수행하도록 할 수 있다. In the second communication mode, the second electronic device 1220 may allow the first electronic device 1210 to perform some of the functions performed by the second electronic device 1220 in the first communication mode.

제 1 전자 장치(1210)는 프록시 서버로 동작하는 다른 외부 전자 장치(예: 제 3 전자 장치(1230))가 존재하는지 여부를 확인할 수 있다.The first electronic device 1210 may check whether another external electronic device (eg, the third electronic device 1230) operating as a proxy server exists.

제 1 전자 장치(1210)는, 서비스 디스커버리 절차를 통해, 제 3 전자 장치(1230)가 전송하는 서비스 디스커버리 프레임을 수신할 수 있다. 제 1 전자 장치(1210)는, 서비스 디스커버리 프레임에 포함된 프록시 서버로 동작 가능한지 여부를 지시하는 정보를 확인하고, 제 3 전자 장치(1230)가 프록시 서버로 동작가능한지 여부를 확인할 수 있다. The first electronic device 1210 may receive a service discovery frame transmitted by the third electronic device 1230 through a service discovery procedure. The first electronic device 1210 may check information indicating whether it can operate as a proxy server included in the service discovery frame, and check whether the third electronic device 1230 can operate as a proxy server.

제 1 전자 장치(1210)는, 프록시 서버로 동작 가능한 제 3 전자 장치(1230)로, 제 1 전자 장치(1210)에 등록된 프록시 클라이언트로써 동작하는 제 2 전자 장치(1220)의 정보를 전송할 수 있다. The first electronic device 1210 may transmit information on the second electronic device 1220 operating as a proxy client registered with the first electronic device 1210 to the third electronic device 1230 capable of operating as a proxy server. there is.

제 2 전자 장치(1220)의 정보는, 제 1 전자 장치(1210)에 할당된 등록 정보(예: 등록 식별자(registration ID) 정보(예: registration id)), 외부 전자 장치(600)의 성능 정보를 포함할 수 있다.The information of the second electronic device 1220 includes registration information (eg, registration ID information (eg, registration id)) assigned to the first electronic device 1210, and performance information of the external electronic device 600. can include

제 1 전자 장치(1210)는, 프록시 클라이언트로써 동작하는 제 2 전자 장치(1220)의 정보를 프록시 서버로써 동작하는 제 3 전자 장치(1230)로 전송함으로써, 제 2 전자 장치(1220)가 제 3 전자 장치(1230)에 프록시 클라이언트 등록 절차를 수행하지 않고도, 제 3 전자 장치(1230)가 제 2 전자 장치(1220)의 정보를 획득하고, 제 2 전자 장치(1220)에 대한 프록시 서버로 동작할 수 있다.The first electronic device 1210 transmits information of the second electronic device 1220 operating as a proxy client to the third electronic device 1230 operating as a proxy server, so that the second electronic device 1220 is able to access the third electronic device 1220. The third electronic device 1230 acquires information of the second electronic device 1220 and operates as a proxy server for the second electronic device 1220 without performing a proxy client registration procedure on the electronic device 1230. can

도 12a를 참조하면, 제 2 전자 장치(1220)는, 제 1 전자 장치(1210)를 탐색가능한 상태에서, 이동할 수 있다. 제 2 전자 장치(1220)가 이동한 후, 제 1 전자 장치(1210)는 제 2 전자 장치(1220)의 커버리지(1223) 내에 존재하지 않을 수 있다. 다만, 제 2 전자 장치(1220)의 커버리지(1223) 내에, 제 2 전자 장치(1220)에 대한 프록시 서버로 동작 가능한 제 3 전자 장치(1230)가 존재할 수 있다. 또는, 제 3 전자 장치(1230)의 커버리지(1224) 내에 제 2 전자 장치(1220)가 존재할 수 있다. 따라서, 제 2 전자 장치(1220)는, 이동 후에도, 별도의 프록시 클라이언트 등록 절차를 수행하지 않고도, 제 2 통신 모드로 동작할 수 있다.Referring to FIG. 12A , the second electronic device 1220 may move while the first electronic device 1210 is searchable. After the second electronic device 1220 moves, the first electronic device 1210 may not exist within the coverage 1223 of the second electronic device 1220 . However, a third electronic device 1230 capable of operating as a proxy server for the second electronic device 1220 may exist within the coverage 1223 of the second electronic device 1220 . Alternatively, the second electronic device 1220 may exist within the coverage 1224 of the third electronic device 1230 . Accordingly, the second electronic device 1220 can operate in the second communication mode even after moving, without performing a separate proxy client registration procedure.

상기에 기재된 실시예는, NAN 클러스터를 생성하는 복수의 AP(access point)에도 적용될 수 있으며, 구체적인 예시는 도 12b에서 후술한다.The embodiment described above can also be applied to a plurality of access points (APs) that create a NAN cluster, and a specific example will be described later with reference to FIG. 12B.

도 12b는 본 발명의 다양한 실시예에 따른 전자 장치가, 프록시 클라이언트로써 동작하는 외부 전자 장치의 정보를 다른 외부 전자 장치로 전송하는 실시예를 도시한 도면이다.12B is a diagram illustrating an example in which an electronic device according to various embodiments of the present disclosure transmits information of an external electronic device operating as a proxy client to another external electronic device.

도 12b를 참조하면, 제 1 AP(1251), 제 2 AP(1252), 제 3 AP(1253), 제 4AP(1254), 제 5 AP(1255), 제 6 AP(1256) 및/또는 제 7 AP(1257)을 포함하는 복수의 AP(access point)은 서로 다른 NAN 클러스터를 구성할 수 있다.Referring to FIG. 12B, a first AP 1251, a second AP 1252, a third AP 1253, a fourth AP 1254, a fifth AP 1255, a sixth AP 1256, and/or a A plurality of access points (APs) including 7 APs 1257 may configure different NAN clusters.

제 1 AP(1251), 제 2 AP(1252), 제 3 AP(1253), 제 4AP(1254), 제 5 AP(1255), 제 6 AP(1256) 및/또는 제 7 AP(1257)는 모두 NAN 프록시 서버로써 동작하고, 각각의 AP의 커버리지 내에 존재하는 프록시 클라이언트가 요청하는 프록시 기능을 수행할 수 있다.The first AP 1251, the second AP 1252, the third AP 1253, the fourth AP 1254, the fifth AP 1255, the sixth AP 1256, and/or the seventh AP 1257 All of them operate as NAN proxy servers and can perform proxy functions requested by proxy clients existing within the coverage of each AP.

전자 장치(예: 도 12a의 제 2 전자 장치(1220))는, 제 1 AP(1251)가 제공할 수 있는 NAN 클러스터 내에 존재할 수 있다. 전자 장치(1220)는, 제 1 AP(1251)에 프록시 등록 요청 신호를 전송하고, 프록시 클라이언트로써 동작할 수 있다.An electronic device (eg, the second electronic device 1220 of FIG. 12A ) may exist in a NAN cluster that the first AP 1251 can provide. The electronic device 1220 may transmit a proxy registration request signal to the first AP 1251 and operate as a proxy client.

제 1 AP(1251)는, 프록시 등록 요청 신호에 포함된, 전자 장치(1220)의 정보를 다른 AP(예: 제 2 AP(1252), 제 3 AP(1253), 제 4AP(1254), 제 5 AP(1255), 제 6 AP(1256) 및/또는 제 7 AP(1257))로 전송할 수 있다. 제 1 AP(1251)는, 프록시 클라이언트로써 동작하는 전자 장치(1220)의 정보를 프록시 서버로써 동작하는 다른 AP(예: 제 2 AP(1252), 제 3 AP(1253), 제 4AP(1254), 제 5 AP(1255), 제 6 AP(1256) 및/또는 제 7 AP(1257))로 전송함으로써, 전자 장치(1220)가 다른 AP(예: 제 2 AP(1252), 제 3 AP(1253), 제 4AP(1254), 제 5 AP(1255), 제 6 AP(1256) 및/또는 제 7 AP(1257))에 프록시 클라이언트 등록 절차를 수행하지 않고도, 다른 AP(예: 제 2 AP(1252), 제 3 AP(1253), 제 4AP(1254), 제 5 AP(1255), 제 6 AP(1256) 및/또는 제 7 AP(1257))가 전자 장치(1220)의 정보를 획득하고, 전자 장치(1220)에 대한 프록시 서버로 동작할 수 있다.The first AP 1251 transmits the information of the electronic device 1220 included in the proxy registration request signal to other APs (eg, the second AP 1252, the third AP 1253, the fourth AP 1254, 5 AP 1255, 6 AP 1256 and/or 7 AP 1257). The first AP 1251 transmits information of the electronic device 1220 operating as a proxy client to other APs operating as proxy servers (eg, the second AP 1252, the third AP 1253, and the fourth AP 1254). , to the 5th AP 1255, the 6th AP 1256 and/or the 7th AP 1257), so that the electronic device 1220 can send the other APs (eg, the 2nd AP 1252, the 3rd AP ( 1253), the 4th AP 1254, the 5th AP 1255, the 6th AP 1256 and/or the 7th AP 1257) without performing a proxy client registration procedure, other APs (eg, the 2nd AP) 1252, the third AP 1253, the fourth AP 1254, the fifth AP 1255, the sixth AP 1256, and/or the seventh AP 1257) obtain information of the electronic device 1220. and may operate as a proxy server for the electronic device 1220.

도 12b를 참조하면, 전자 장치(1220)는, 제 1 AP(1251)를 탐색 가능한 위치(예: 도 12b의 ①)에 존재하는 상태에서, 이동할 수 있다. 전자 장치(1220)가 이동한 후, 전자 장치(1220)는 제 1 AP(1251)의 커버리지 밖의 위치(예: 도 12b의 ②)에 존재할 수 있다. 전자 장치(1220)가, 제 1 AP(1251)의 커버리지 밖의 위치에 존재하는 경우, 전자 장치(1220)와 제 1 AP(1251) 사이의 연결이 해제될 수 있고, 전자 장치(1220)는, 제 1 AP(1251)에 대한 프록시 클라이언트로써 동작을 수행하지 못하는 상황이 발생할 수 있다.Referring to FIG. 12B , the electronic device 1220 may move while existing in a location where the first AP 1251 can be searched for (eg, ① in FIG. 12B ). After the electronic device 1220 moves, the electronic device 1220 may exist in a location outside the coverage of the first AP 1251 (eg, ② in FIG. 12B ). When the electronic device 1220 exists in a location outside the coverage of the first AP 1251, the connection between the electronic device 1220 and the first AP 1251 may be released, and the electronic device 1220: A situation in which an operation cannot be performed as a proxy client for the first AP 1251 may occur.

다만, 전자 장치(1220)는 전자 장치(1220)의 프록시 서버로 동작 가능한 제 5 AP(1251)의 커버리지 내에 존재할 수 있다. 제 5 AP(1251)는 제 1 AP(1251)로부터 전자 장치(1220)의 정보를 수신하고, 전자 장치(1220)의 정보를 이용하여 프록시 서버로써 동작할 수 있다. 따라서, 전자 장치(1220)는, 이동 후에도, 별도의 프록시 클라이언트 등록 절차를 통해 전자 장치(1220)의 정보를 제 5 AP(1251)로 전송하지 않고도, 제 2 통신 모드로 동작할 수 있다. However, the electronic device 1220 may exist within the coverage of the fifth AP 1251 that can operate as a proxy server for the electronic device 1220 . The fifth AP 1251 may receive information on the electronic device 1220 from the first AP 1251 and operate as a proxy server by using the information on the electronic device 1220 . Accordingly, even after moving, the electronic device 1220 can operate in the second communication mode without transmitting information of the electronic device 1220 to the fifth AP 1251 through a separate proxy client registration procedure.

일 실시예에 따르면, 전자 장치(예: 도 12a의 제 2 전자 장치(1220))는 복수의 외부 전자 장치(예: 제 1 AP(1251), 제 2 AP(1252), 제 3 AP(1253), 제 4AP(1254), 제 5 AP(1255), 제 6 AP(1256) 및/또는 제 7 AP(1257))로부터 프록시 서버로써 동작 가능한지 여부를 지시하는 정보를 포함하는 서비스 디스커버리 프레임을 수신할 수 있다. 예를 들어, 전자 장치는 제 1 AP(1251), 제 2 AP(1252), 제 3 AP(1253), 제 4AP(1254), 제 5 AP(1255), 제 6 AP(1256) 및/또는 제 7 AP(1257) 중 둘 이상으로부터 프록시 서버로써 동작 가능한지 여부를 지시하는 정보를 포함하는 서비스 디스커버리 프레임을 수신할 수 있다. 일 실시예에 따르면, 전자 장치(1220)가 프록시 서버로써 동작 가능한지 여부를 지시하는 정보를 포함하는 서비스 디스커버리 프레임을 둘 이상의 외부 전자 장치로부터 수신하는 경우, 서비스 디스커버리 프레임을 전송한 복수의 외부 전자 장치로 프록시 등록 요청 신호를 전송하고, 각각의 외부 전자 장치와 프록시 클라이언트 등록 절차를 수행할 수 있다. 전자 장치(1220)는 복수의 외부 전자 장치와 프록시 클라이언트 등록 절차를 수행한 결과에 기반하여 하나의 외부 전자 장치를 프록시 서버로 결정할 수 있다.According to an embodiment, an electronic device (eg, the second electronic device 1220 of FIG. 12A ) includes a plurality of external electronic devices (eg, a first AP 1251 , a second AP 1252 , and a third AP 1253 ). ), the 4th AP 1254, the 5th AP 1255, the 6th AP 1256 and/or the 7th AP 1257) Receive a service discovery frame including information indicating whether or not it can operate as a proxy server can do. For example, the electronic device may include a first AP 1251, a second AP 1252, a third AP 1253, a fourth AP 1254, a fifth AP 1255, a sixth AP 1256, and/or A service discovery frame including information indicating whether or not it can operate as a proxy server may be received from two or more of the seventh APs 1257 . According to an embodiment, when a service discovery frame including information indicating whether the electronic device 1220 can operate as a proxy server is received from two or more external electronic devices, a plurality of external electronic devices that have transmitted the service discovery frame A proxy registration request signal may be transmitted, and proxy client registration procedures may be performed with each external electronic device. The electronic device 1220 may determine one external electronic device as a proxy server based on a result of performing a proxy client registration procedure with a plurality of external electronic devices.

본 발명의 다양한 실시예에 따른 전자 장치(예: 도 6의 전자 장치(600))는 통신 회로(예: 도 6의 통신 회로(610)), 상기 통신 회로(610)와 작동적으로 연결된 프로세서(예: 도 6의 프로세서(620))를 포함하고, 상기 프로세서는 NAN(neighbor awareness networking)(예: 도 2의 NAN 클러스터(200))에 포함된 외부 전자 장치(예: 도 2의 전자 장치(210, 220, 230, 240), 도 10의 전자 장치(1000))가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN(200)과 동기화를 수행하고, 제 1 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 제 1 통신 모드로 동작하는 동안, 상기 제 1 통신 모드보다 낮은 전력으로 동작 가능한 제 2 통신 모드로 전환 여부를 상기 전자 장치(600)의 상태에 기반하여 결정하고, 상기 제 2 통신 모드로 전환할 것을 결정함에 대응하여, 상기 NAN에 포함된 외부 전자 장치 (210, 220, 230, 240, 1000)중 프록시 서버(proxy server)의 기능을 수행할 수 있는 외부 전자 장치(1000)를 검색하고, 상기 검색된 외부 전자 장치(1000)로 프록시 등록 요청 신호를 전송하고, 상기 외부 전자 장치(1000)로 등록이 완료됨에 대응하여, 상기 제 2 통신 모드로 동작하도록 설정되고, 상기 프록시 등록 요청 신호는 상기 제 2 통신 모드로 동작하는 동안 상기 외부 전자 장치(1000)가 상기 전자 장치(600) 대신 수행될 기능과 관련된 정보를 포함할 수 있다.An electronic device (eg, the electronic device 600 of FIG. 6 ) according to various embodiments of the present disclosure includes a communication circuit (eg, the communication circuit 610 of FIG. 6 ) and a processor operatively connected to the communication circuit 610 . (eg, the processor 620 of FIG. 6), and the processor includes an external electronic device (eg, the electronic device of FIG. 2) included in a neighbor awareness networking (NAN) (eg, the NAN cluster 200 of FIG. 2) (210, 220, 230, 240), synchronization with the NAN 200 is performed based on the NAN cluster information included in the signal broadcast by the electronic device 1000 of FIG. 10, and an interval having a first value While operating in the first communication mode capable of transmitting and/or receiving data every time, whether to switch to the second communication mode capable of operating with lower power than the first communication mode is determined based on the state of the electronic device 600 and, in response to the decision to switch to the second communication mode, an external electronic device (210, 220, 230, 240, 1000) included in the NAN that can function as a proxy server Searching for the electronic device 1000, transmitting a proxy registration request signal to the searched external electronic device 1000, and setting to operate in the second communication mode in response to completion of registration with the external electronic device 1000 The proxy registration request signal may include information related to a function to be performed by the external electronic device 1000 instead of the electronic device 600 while operating in the second communication mode.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 제 2 통신 모드는 상기 제 1 값보다 더 큰 제 2 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 통신 모드일 수 있다.In the electronic device 600 according to various embodiments of the present disclosure, the second communication mode may be a communication mode capable of transmitting and/or receiving data at intervals having a second value greater than the first value.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 프로세서(620)는 상기 제 2 통신 모드로 동작하는 동안, 상기 제 2 값을 갖는 인터벌 사이에 상기 통신 회로(610)를 이용하여 수행되는 다른 통신 방식을 통한 데이터 전송 및/또는 수신을 수행하는 통신 방식을 지원하지 않을 수 있다. In the electronic device 600 according to various embodiments of the present disclosure, the processor 620 is performed using the communication circuit 610 between intervals having the second value while operating in the second communication mode. may not support a communication method that performs data transmission and/or reception through another communication method.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 프로세서(620)는 상기 제 2 통신 모드로 동작하는 동안, 상기 제 2 값을 갖는 인터벌 사이에 상기 통신 회로(610)를 통해 다른 통신 방식을 통한 데이터 전송 및/또는 수신을 수행하기 위한 설정 절차를 상기 외부 전자 장치(1000)가 대신 수행하도록 설정될 수 있다.In the electronic device 600 according to various embodiments of the present disclosure, while the processor 620 operates in the second communication mode, other communication is performed through the communication circuit 610 between intervals having the second value. The external electronic device 1000 may instead perform a setting procedure for transmitting and/or receiving data through the method.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 프로세서(620)는 상기 제 2 통신 모드로 동작하는 동안, 상기 NAN과 관련된 다른 외부 전자 장치(210, 220, 230, 240)를 검색하기 위한 스캔(scan) 동작을 상기 외부 전자 장치(1000)가 대신 수행하도록 설정될 수 있다.In the electronic device 600 according to various embodiments of the present disclosure, while operating in the second communication mode, the processor 620 searches for other external electronic devices 210, 220, 230, and 240 related to the NAN. The external electronic device 1000 may be set to perform a scan operation to do this instead.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 프로세서(620)는 상기 외부 전자 장치(1000)가 수행한 스캔 결과에 기반하여, 상기 NAN을 다른 네트워크와 병합(merging)하는 동작을 수행하도록 설정될 수 있다.In the electronic device 600 according to various embodiments of the present disclosure, the processor 620 performs an operation of merging the NAN with another network based on a scan result performed by the external electronic device 1000. can be set to do so.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 프로세서(620)는 상기 제 2 통신 모드로 동작하는 동안, 지정된 주기마다, 상기 외부 전자 장치(1000)와 상기 전자 장치(600) 사이의 연결 상태를 확인하기 위한 신호를 상기 외부 전자 장치(1000)로 전송하고, 상기 신호에 대응하는 응답 신호를 수신 여부에 기반하여 상기 제 2 통신 모드의 유지 여부를 결정하도록 설정될 수 있다.In the electronic device 600 according to various embodiments of the present disclosure, while the processor 620 operates in the second communication mode, the external electronic device 1000 and the electronic device 600 are connected at each designated period. It may be configured to transmit a signal for checking the connection state of the external electronic device 1000 and determine whether to maintain the second communication mode based on whether a response signal corresponding to the signal is received.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 프로세서(620)는 상기 제 2 통신 모드로 동작하는 동안, 상기 전자 장치(600)의 성능 정보를 상기 외부 전자 장치(1000)로 전송하고, 상기 제 2 통신 모드로 동작하는 동안 전송되는 전자 장치(600)의 성능 정보는 상기 제 1 통신 모드로 동작하는 전자 장치(600)의 성능 정보와 다를 수 있다.In the electronic device 600 according to various embodiments of the present disclosure, the processor 620 transmits performance information of the electronic device 600 to the external electronic device 1000 while operating in the second communication mode. And, performance information of the electronic device 600 transmitted while operating in the second communication mode may be different from performance information of the electronic device 600 operating in the first communication mode.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 제 2 통신 모드로 동작하는 동안 상기 통신 회로(610)가 지원하는 주파수 대역의 수는 상기 제 1 통신 모드로 동작하는 동안 상기 통신 회로(610)가 지원하는 주파수 대역의 수보다 작도록 설정될 수 있다.In the electronic device 600 according to various embodiments of the present disclosure, the number of frequency bands supported by the communication circuit 610 while operating in the second communication mode is 610 may be set to be smaller than the number of frequency bands supported.

본 발명의 다양한 실시예에 따른 전자 장치(600)에서, 상기 제 2 통신 모드로 동작하는 동안 상기 전자 장치(600)가 사용 가능한 안테나의 수는 상기 제 1 통신 모드로 동작하는 동안 상기 통신 회로(610)가 지원하는 안테나의 수보다 작도록 설정될 수 있다.In the electronic device 600 according to various embodiments of the present disclosure, the number of antennas available for the electronic device 600 while operating in the second communication mode is determined by the communication circuit ( 610) may be set to be smaller than the number of antennas supported.

본 발명의 다양한 실시예에 따른 전자 장치(예: 도 6의 전자 장치(600))의 동작 방법은 NAN(neighbor awareness networking)(예: 도 2의 NAN 클러스터(200))에 포함된 외부 전자 장치(예: 도 2의 전자 장치(210, 220, 230, 240) 또는 도 10의 전자 장치(1000))가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN(200)과 동기화를 수행하는 동작, 제 1 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 제 1 통신 모드로 동작하는 동안, 상기 제 1 통신 모드보다 낮은 전력으로 동작 가능한 제 2 통신 모드로 전환 여부를 상기 전자 장치(600)의 상태에 기반하여 결정하는 동작, 상기 제 2 통신 모드로 전환할 것을 결정함에 대응하여, 상기 NAN(200)에 포함된 외부 전자 장치(210, 220, 230, 240, 1000) 중 프록시 서버(proxy server)의 기능을 수행할 수 있는 외부 전자 장치(1000)를 검색하는 동작, 상기 검색된 외부 전자 장치(1000)로 프록시 등록 요청 신호를 전송하는 동작 및 상기 외부 전자 장치(1000)로 등록이 완료됨에 대응하여, 상기 제 2 통신 모드로 동작하는 동작을 포함하고, 상기 프록시 등록 요청 신호는 상기 제 2 통신 모드로 동작하는 동안 상기 외부 전자 장치(1000)가 상기 전자 장치(600) 대신 수행될 기능과 관련된 정보를 포함할 수 있다.An operating method of an electronic device (eg, the electronic device 600 of FIG. 6 ) according to various embodiments of the present invention is an external electronic device included in a neighbor awareness networking (NAN) (eg, the NAN cluster 200 of FIG. 2 ). (Example: the electronic device 210, 220, 230, 240 of FIG. 2 or the electronic device 1000 of FIG. 10) performs synchronization with the NAN 200 based on NAN cluster information included in a signal broadcast. operation, while operating in a first communication mode capable of transmitting and/or receiving data at intervals having a first value, whether to switch to a second communication mode capable of operating with lower power than the first communication mode, the electronic device Operation of determining based on the state of 600, proxy among the external electronic devices 210, 220, 230, 240, 1000 included in the NAN 200 in response to the decision to switch to the second communication mode An operation of searching for an external electronic device 1000 capable of performing a function of a server (proxy server), an operation of transmitting a proxy registration request signal to the searched external electronic device 1000, and an operation of registering with the external electronic device 1000 Corresponding to completion of the above, an operation of operating in the second communication mode, wherein the proxy registration request signal is performed by the external electronic device 1000 instead of the electronic device 600 while operating in the second communication mode. It may contain information related to the function to be performed.

본 발명의 다양한 실시예에 따른 전자 장치(600)의 동작 방법에서, 상기 제 2 통신 모드는 상기 제 2 값을 갖는 인터벌 사이에 상기 통신 회로(예: 도 6의 통신 회로(610))를 이용하여 다른 통신 방식을 통한 데이터 전송 및/또는 수신을 수행하는 통신 방식을 지원하지 않는 모드일 수 있다.In the operating method of the electronic device 600 according to various embodiments of the present disclosure, the second communication mode uses the communication circuit (eg, the communication circuit 610 of FIG. 6) between intervals having the second value. It may be a mode that does not support a communication method for transmitting and/or receiving data through another communication method.

본 발명의 다양한 실시예에 따른 전자 장치(600)의 동작 방법에서, 상기 제 2 통신 모드는 상기 제 2 값을 갖는 인터벌 사이에 상기 통신 회로(610)를 통해 다른 통신 방식을 통한 데이터 전송 및/또는 수신을 수행하기 위한 설정 절차를 상기 외부 전자 장치가 대신 수행하는 모드일 수 있다.In the operating method of the electronic device 600 according to various embodiments of the present disclosure, the second communication mode includes data transmission and/or data transmission through another communication method through the communication circuit 610 between intervals having the second value. Alternatively, it may be a mode in which the external electronic device instead performs a setting procedure for performing reception.

본 발명의 다양한 실시예에 따른 전자 장치(600)의 동작 방법은 상기 제 2 통신 모드로 동작하는 동안, 상기 NAN(200)과 관련된 다른 외부 전자 장치(210, 220, 230, 240)를 검색하기 위한 스캔(scan) 동작을 상기 전자 장치(600) 대신 수행한 결과를 상기 외부 전자 장치(1000)로부터 수신하는 동작 및 상기 외부 전자 장치(1000)가 수행한 스캔 결과에 기반하여, 상기 NAN(200)을 다른 네트워크와 병합(merging)하는 동작을 수행하는 동작을 더 포함할 수 있다.An operating method of the electronic device 600 according to various embodiments of the present disclosure is to search for other external electronic devices 210, 220, 230, and 240 related to the NAN 200 while operating in the second communication mode. Based on an operation of receiving a result of performing a scan operation for the purpose of a scan operation instead of the electronic device 600 from the external electronic device 1000 and a scan result performed by the external electronic device 1000, the NAN 200 ) may further include an operation of merging with another network.

본 발명의 다양한 실시예에 따른 전자 장치(600)의 동작 방법은 상기 제 2 통신 모드로 동작하는 동안, 지정된 주기마다, 상기 외부 전자 장치(1000)와 상기 전자 장치(600) 사이의 연결 상태를 확인하기 위한 신호를 상기 외부 전자 장치(1000)로 전송하는 동작 및 상기 신호에 대응하는 응답 신호를 수신 여부에 기반하여 상기 제 2 통신 모드의 유지 여부를 결정하는 동작을 더 포함할 수 있다.An operating method of the electronic device 600 according to various embodiments of the present disclosure determines a connection state between the external electronic device 1000 and the electronic device 600 at each designated period while operating in the second communication mode. An operation of transmitting a signal for confirmation to the external electronic device 1000 and an operation of determining whether to maintain the second communication mode based on whether a response signal corresponding to the signal is received may be further included.

본 발명의 다양한 실시예에 따른 전자 장치(600)의 동작 방법은 상기 제 2 통신 모드로 동작하는 동안, 상기 전자 장치(600)의 성능 정보를 상기 외부 전자 장치(1000)로 전송하는 동작을 더 포함하고, 상기 제 2 통신 모드로 동작하는 동안 전송되는 전자 장치(600)의 성능 정보는 상기 제 1 통신 모드로 동작하는 전자 장치(600)의 성능 정보와 다를 수 있다.The operation method of the electronic device 600 according to various embodiments of the present disclosure further includes an operation of transmitting performance information of the electronic device 600 to the external electronic device 1000 while operating in the second communication mode. and the performance information of the electronic device 600 transmitted while operating in the second communication mode may be different from the performance information of the electronic device 600 operating in the first communication mode.

본 발명의 다양한 실시예에 따른 전자 장치(600)의 동작 방법에서, 상기 제 2 통신 모드로 동작하는 동안 전자 장치(600)가 지원하는 주파수 대역의 수는 상기 제 1 통신 모드로 동작하는 동안 상기 전자 장치(600)가 지원하는 주파수 대역의 수보다 작도록 설정될 수 있다.In the operating method of the electronic device 600 according to various embodiments of the present disclosure, the number of frequency bands supported by the electronic device 600 while operating in the second communication mode may be set to the number of frequency bands while operating in the first communication mode. It may be set to be smaller than the number of frequency bands supported by the electronic device 600 .

본 발명의 다양한 실시예에 따른 전자 장치(예: 도 10의 전자 장치(1000) 또는 도 12a의 제 1 전자 장치(1210)))는, 통신 회로(예: 도 10의 통신 회로(1010)), 상기 통신 회로(1010)와 작동적으로 연결된 프로세서(예: 도 10의 프로세서(1020))를 포함하고, 상기 프로세서(1020)는 NAN(neighbor awareness networking)(예: 도 2의 NAN 클러스터(200))에 포함된 외부 전자 장치(예: 도 2의 전자 장치(210, 220, 230, 240), 도 6의 전자 장치(600) 또는 도 12a의 제 2 전자 장치(1220)))가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN(200)과 동기화를 수행하고, 상기 NAN 클러스터(200) 내의 프록시 서버로 동작하는 동안, 상기 NAN(200)에 포함된 외부 전자 장치(210, 220, 230, 240, 600) 중 프록시 클라이언트(proxy client)로 동작하고자 하는 외부 전자 장치(600)가 전송하는 신호에 기반하여, 상기 외부 전자 장치(600, 1220)를 상기 프록시 클라이언트로 등록하고, 프록시 서버로 동작하는 다른 외부 전자 장치(예: 도 12a의 제 3 전자 장치(1230))를 검색함에 따라, 상기 외부 전자 장치(600, 1220)의 정보를 상기 다른 외부 전자 장치(1230)로 전송하도록 설정될 수 있다.An electronic device (eg, the electronic device 1000 of FIG. 10 or the first electronic device 1210 of FIG. 12A) according to various embodiments of the present disclosure may include a communication circuit (eg, the communication circuit 1010 of FIG. 10 ) , and a processor (eg, the processor 1020 of FIG. 10) operatively connected to the communication circuit 1010, wherein the processor 1020 includes a neighbor awareness networking (NAN) (eg, the NAN cluster 200 of FIG. 2 ). )) (eg, the electronic device 210, 220, 230, 240 of FIG. 2, the electronic device 600 of FIG. 6 or the second electronic device 1220 of FIG. 12A) included in the broadcasting The external electronic device 210 included in the NAN 200 performs synchronization with the NAN 200 based on the NAN cluster information included in the signal to 220, 230, 240, 600), the external electronic device 600, 1220 is registered as a proxy client based on a signal transmitted by the external electronic device 600 to operate as a proxy client, When another external electronic device operating as a proxy server (eg, the third electronic device 1230 of FIG. 12A ) is searched for, the information of the external electronic device 600 or 1220 is transmitted to the other external electronic device 1230 can be set to

본 발명의 다양한 실시예에 따른 전자 장치(1000)에서, 상기 프로세서(1220)는 상기 다른 외부 전자 장치(1230)에 등록된 프록시 클라이언트로 동작하는 외부 전자 장치의 정보를 상기 다른 외부 전자 장치(1230)로부터 수신하고, 상기 다른 외부 전자 장치(1230)에 등록된 프록시 클라이언트로 동작하는 외부 전자 장치의 정보에 기반하여 프록시 서버의 기능을 수행하도록 설정될 수 있다.In the electronic device 1000 according to various embodiments of the present disclosure, the processor 1220 transmits information of an external electronic device operating as a proxy client registered to the other external electronic device 1230 to the other external electronic device 1230. ) and functions as a proxy server based on information about an external electronic device operating as a proxy client registered in the other external electronic device 1230.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", “A 또는 B 중 적어도 하나,”"A, B 또는 C," "A, B 및 C 중 적어도 하나,”및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, “A or B”, “at least one of A and B”, “at least one of A or B,” “A, B or C,” “at least one of A, B and C,” and “A Each of the phrases such as “at least one of , B, or C” may include all possible combinations of items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g. first) component is said to be “coupled” or “connected” to another (e.g. second) component, with or without the terms “functionally” or “communicatively”. When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in this document may include a unit implemented by hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. Device-readable storage media may be provided in the form of non-transitory storage media. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store™) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smartphones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the components described above may include a singular entity or a plurality of entities. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

Claims (20)

전자 장치에 있어서,
통신 회로;
상기 통신 회로와 작동적으로 연결된 프로세서를 포함하고,
상기 프로세서는
NAN(neighbor awareness networking)에 포함된 외부 전자 장치가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN과 동기화를 수행하고,
제 1 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 제 1 통신 모드로 동작하는 동안, 상기 제 1 통신 모드보다 낮은 전력으로 동작 가능한 제 2 통신 모드로 전환 여부를 상기 전자 장치의 상태에 기반하여 결정하고,
상기 제 2 통신 모드로 전환할 것을 결정함에 대응하여, 상기 NAN에 포함된 외부 전자 장치 중 프록시 서버(proxy server)의 기능을 수행할 수 있는 외부 전자 장치를 검색하고,
상기 검색된 외부 전자 장치로 프록시 등록 요청 신호를 전송하고,
상기 외부 전자 장치로 등록이 완료됨에 대응하여, 상기 제 2 통신 모드로 동작하도록 설정되고,
상기 프록시 등록 요청 신호는
상기 제 2 통신 모드로 동작하는 동안 상기 외부 전자 장치가 상기 전자 장치 대신 수행될 기능과 관련된 정보를 포함하는 전자 장치.
In electronic devices,
communication circuit;
a processor operatively connected with the communication circuitry;
The processor
Performing synchronization with the NAN based on NAN cluster information included in a signal broadcast by an external electronic device included in NAN (neighbor awareness networking);
Whether to switch to a second communication mode capable of operating at lower power than the first communication mode while operating in a first communication mode capable of transmitting and/or receiving data at intervals having a first value depends on a state of the electronic device decide based on
Searching for an external electronic device capable of performing a proxy server function among external electronic devices included in the NAN in response to determining to switch to the second communication mode;
Transmitting a proxy registration request signal to the searched external electronic device;
In response to completion of registration with the external electronic device, it is set to operate in the second communication mode;
The proxy registration request signal is
The electronic device including information related to a function to be performed by the external electronic device instead of the electronic device while operating in the second communication mode.
제 1항에 있어서,
상기 제 2 통신 모드는 상기 제 1 값보다 더 큰 제 2 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 통신 모드인 전자 장치.
According to claim 1,
The second communication mode is a communication mode capable of transmitting and/or receiving data at intervals having a second value greater than the first value.
제 2 항에 있어서,
상기 프로세서는
상기 제 2 통신 모드로 동작하는 동안, 상기 제 2 값을 갖는 인터벌 사이에 상기 통신 회로를 이용하여 수행되는 다른 통신 방식을 통한 데이터 전송 및/또는 수신을 수행하는 통신 방식을 지원하지 않는 전자 장치.
According to claim 2,
The processor
While operating in the second communication mode, the electronic device does not support a communication method for transmitting and/or receiving data through another communication method performed using the communication circuit between intervals having the second value.
제 2 항에 있어서,
상기 프로세서는
상기 제 2 통신 모드로 동작하는 동안, 상기 제 2 값을 갖는 인터벌 사이에 상기 통신 회로를 통해 다른 통신 방식을 통한 데이터 전송 및/또는 수신을 수행하기 위한 설정 절차를 상기 외부 전자 장치가 대신 수행하도록 설정된 전자 장치.
According to claim 2,
The processor
While operating in the second communication mode, cause the external electronic device to instead perform a setting procedure for transmitting and/or receiving data through another communication method through the communication circuit between intervals having the second value set electronics.
제 1항에 있어서,
상기 프로세서는
상기 제 2 통신 모드로 동작하는 동안, 상기 NAN과 관련된 다른 외부 전자 장치를 검색하기 위한 스캔(scan) 동작을 상기 외부 전자 장치가 대신 수행하도록 설정된 전자 장치.
According to claim 1,
The processor
The electronic device configured so that the external electronic device instead performs a scan operation for searching for another external electronic device related to the NAN while operating in the second communication mode.
제 5항에 있어서,
상기 프로세서는
상기 외부 전자 장치가 수행한 스캔 결과에 기반하여, 상기 NAN을 다른 네트워크와 병합(merging)하는 동작을 수행하도록 설정된 전자 장치.
According to claim 5,
The processor
An electronic device configured to perform an operation of merging the NAN with another network based on a scan result performed by the external electronic device.
제 1항에 있어서,
상기 프로세서는
상기 제 2 통신 모드로 동작하는 동안, 지정된 주기마다, 상기 외부 전자 장치와 상기 전자 장치 사이의 연결 상태를 확인하기 위한 신호를 상기 외부 전자 장치로 전송하고,
상기 신호에 대응하는 응답 신호를 수신 여부에 기반하여 상기 제 2 통신 모드의 유지 여부를 결정하도록 설정된 전자 장치.
According to claim 1,
The processor
While operating in the second communication mode, transmits a signal for checking a connection state between the external electronic device and the external electronic device to the external electronic device every designated period;
An electronic device configured to determine whether to maintain the second communication mode based on whether a response signal corresponding to the signal is received.
제 1항에 있어서,
상기 프로세서는
상기 제 2 통신 모드로 동작하는 동안, 상기 전자 장치의 성능 정보를 상기 외부 전자 장치로 전송하고,
상기 제 2 통신 모드로 동작하는 동안 전송되는 전자 장치의 성능 정보는 상기 제 1 통신 모드로 동작하는 전자 장치의 성능 정보와 다른 전자 장치.
According to claim 1,
The processor
Transmitting performance information of the electronic device to the external electronic device while operating in the second communication mode;
Performance information of the electronic device transmitted while operating in the second communication mode is different from performance information of the electronic device operating in the first communication mode.
제 1 항에 있어서,
상기 제 2 통신 모드로 동작하는 동안 상기 통신 회로가 지원하는 주파수 대역의 수는 상기 제 1 통신 모드로 동작하는 동안 상기 통신 회로가 지원하는 주파수 대역의 수보다 작도록 설정된 전자 장치.
According to claim 1,
The number of frequency bands supported by the communication circuit while operating in the second communication mode is set to be smaller than the number of frequency bands supported by the communication circuit while operating in the first communication mode.
제 1 항에 있어서,
상기 제 2 통신 모드로 동작하는 동안 상기 전자 장치가 사용 가능한 안테나의 수는 상기 제 1 통신 모드로 동작하는 동안 상기 통신 회로가 지원하는 안테나의 수보다 작도록 설정된 전자 장치.
According to claim 1,
The electronic device of claim 1 , wherein the number of antennas available for use by the electronic device while operating in the second communication mode is smaller than the number of antennas supported by the communication circuit while operating in the first communication mode.
전자 장치의 동작 방법에 있어서,
NAN(neighbor awareness networking)에 포함된 외부 전자 장치가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN과 동기화를 수행하는 동작;
제 1 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 제 1 통신 모드로 동작하는 동안, 상기 제 1 통신 모드보다 낮은 전력으로 동작 가능한 제 2 통신 모드로 전환 여부를 상기 전자 장치의 상태에 기반하여 결정하는 동작;
상기 제 2 통신 모드로 전환할 것을 결정함에 대응하여, 상기 NAN에 포함된 외부 전자 장치 중 프록시 서버(proxy server)의 기능을 수행할 수 있는 외부 전자 장치를 검색하는 동작;
상기 검색된 외부 전자 장치로 프록시 등록 요청 신호를 전송하는 동작;
상기 외부 전자 장치로 등록이 완료됨에 대응하여, 상기 제 2 통신 모드로 동작하는 동작을 포함하고,
상기 프록시 등록 요청 신호는
상기 제 2 통신 모드로 동작하는 동안 상기 외부 전자 장치가 상기 전자 장치 대신 수행될 기능과 관련된 정보를 포함하는 전자 장치의 동작 방법.
In the operating method of the electronic device,
performing synchronization with the NAN based on NAN cluster information included in a signal broadcast by an external electronic device included in neighbor awareness networking (NAN);
Whether to switch to a second communication mode capable of operating at lower power than the first communication mode while operating in a first communication mode capable of transmitting and/or receiving data at intervals having a first value depends on a state of the electronic device action to make a decision based on;
searching for an external electronic device capable of performing a function of a proxy server among external electronic devices included in the NAN, in response to determining to switch to the second communication mode;
transmitting a proxy registration request signal to the searched external electronic device;
In response to completion of registration with the external electronic device, operating in the second communication mode;
The proxy registration request signal is
The method of operating an electronic device including information related to a function to be performed by the external electronic device instead of the electronic device while operating in the second communication mode.
제 11항에 있어서,
상기 제 2 통신 모드는 상기 제 1 값보다 더 큰 제 2 값을 갖는 인터벌마다 데이터를 전송 및/또는 수신이 가능한 통신 모드인 전자 장치의 동작 방법.
According to claim 11,
The second communication mode is a communication mode capable of transmitting and/or receiving data at intervals having a second value greater than the first value.
제 12 항에 있어서,
상기 제 2 통신 모드는 상기 제 2 값을 갖는 인터벌 사이에 상기 통신 회로를 이용하여 다른 통신 방식을 통한 데이터 전송 및/또는 수신을 수행하는 통신 방식을 지원하지 않는 모드인 전자 장치의 동작 방법.
According to claim 12,
The second communication mode is a mode that does not support a communication method for transmitting and/or receiving data through another communication method using the communication circuit between intervals having the second value.
제 12 항에 있어서,
상기 제 2 통신 모드는
상기 제 2 값을 갖는 인터벌 사이에 상기 통신 회로를 통해 다른 통신 방식을 통한 데이터 전송 및/또는 수신을 수행하기 위한 설정 절차를 상기 외부 전자 장치가 대신 수행하는 모드인 전자 장치의 동작 방법.
According to claim 12,
The second communication mode is
A mode in which the external electronic device instead performs a setting procedure for transmitting and/or receiving data through another communication method through the communication circuit between intervals having the second value.
제 11항에 있어서,
상기 전자 장치의 동작 방법은
상기 제 2 통신 모드로 동작하는 동안, 상기 NAN과 관련된 다른 외부 전자 장치를 검색하기 위한 스캔(scan) 동작을 상기 전자 장치 대신 수행한 결과를 상기 외부 전자 장치로부터 수신하는 동작;
상기 외부 전자 장치가 수행한 스캔 결과에 기반하여, 상기 NAN을 다른 네트워크와 병합(merging)하는 동작을 수행하는 동작을 더 포함하는 전자 장치의 동작 방법.
According to claim 11,
A method of operating the electronic device
receiving, from the external electronic device, a result of performing a scan operation for searching for another external electronic device related to the NAN instead of the electronic device while operating in the second communication mode;
The method of operating the electronic device further comprising performing an operation of merging the NAN with another network based on a scan result performed by the external electronic device.
제 11항에 있어서,
상기 전자 장치의 동작 방법은
상기 제 2 통신 모드로 동작하는 동안, 지정된 주기마다, 상기 외부 전자 장치와 상기 전자 장치 사이의 연결 상태를 확인하기 위한 신호를 상기 외부 전자 장치로 전송하는 동작;
상기 신호에 대응하는 응답 신호를 수신 여부에 기반하여 상기 제 2 통신 모드의 유지 여부를 결정하는 동작을 더 포함하는 전자 장치의 동작 방법.
According to claim 11,
A method of operating the electronic device
transmitting a signal for checking a connection state between the external electronic device and the external electronic device to the external electronic device every designated period while operating in the second communication mode;
The method of operating an electronic device further comprising determining whether to maintain the second communication mode based on whether a response signal corresponding to the signal is received.
제 11항에 있어서,
상기 전자 장치의 동작 방법은
상기 제 2 통신 모드로 동작하는 동안, 상기 전자 장치의 성능 정보를 상기 외부 전자 장치로 전송하는 동작을 더 포함하고,
상기 제 2 통신 모드로 동작하는 동안 전송되는 전자 장치의 성능 정보는 상기 제 1 통신 모드로 동작하는 전자 장치의 성능 정보와 다른 전자 장치의 동작 방법.
According to claim 11,
A method of operating the electronic device
Transmitting performance information of the electronic device to the external electronic device while operating in the second communication mode;
Performance information of the electronic device transmitted while operating in the second communication mode is different from performance information of the electronic device operating in the first communication mode.
제 11 항에 있어서,
상기 제 2 통신 모드로 동작하는 동안 전자 장치가 지원하는 주파수 대역의 수는
상기 제 1 통신 모드로 동작하는 동안 상기 전자 장치가 지원하는 주파수 대역의 수보다 작도록 설정된 전자 장치의 동작 방법.
According to claim 11,
The number of frequency bands supported by the electronic device while operating in the second communication mode is
The operating method of the electronic device set to be smaller than the number of frequency bands supported by the electronic device while operating in the first communication mode.
전자 장치에 있어서,
통신 회로;
상기 통신 회로와 작동적으로 연결된 프로세서를 포함하고,
상기 프로세서는
NAN(neighbor awareness networking)에 포함된 외부 전자 장치가 브로드캐스팅하는 신호에 포함된 NAN 클러스터 정보에 기반하여 상기 NAN과 동기화를 수행하고,
상기 NAN 클러스터 내의 프록시 서버로 동작하는 동안, 상기 NAN에 포함된 외부 전자 장치 중 프록시 클라이언트(proxy client)로 동작하고자 하는 외부 전자 장치가 전송하는 신호에 기반하여, 상기 외부 전자 장치를 상기 프록시 클라이언트로 등록하고,
프록시 서버로 동작하는 다른 외부 전자 장치를 검색함에 따라, 상기 외부 전자 장치의 정보를 상기 다른 외부 전자 장치로 전송하도록 설정된 전자 장치.
In electronic devices,
communication circuit;
a processor operatively connected with the communication circuitry;
The processor
Performing synchronization with the NAN based on NAN cluster information included in a signal broadcast by an external electronic device included in NAN (neighbor awareness networking);
While operating as a proxy server in the NAN cluster, based on a signal transmitted by an external electronic device that intends to operate as a proxy client among external electronic devices included in the NAN, the external electronic device becomes the proxy client. register,
An electronic device configured to transmit information of the external electronic device to the other external electronic device when another external electronic device operating as a proxy server is searched for.
제 19항에 있어서,
상기 프로세서는
상기 다른 외부 전자 장치에 등록된 프록시 클라이언트로 동작하는 외부 전자 장치의 정보를 상기 다른 외부 전자 장치로부터 수신하고,
상기 다른 외부 전자 장치에 등록된 프록시 클라이언트로 동작하는 외부 전자 장치의 정보에 기반하여 프록시 서버의 기능을 수행하도록 설정된 전자 장치.
According to claim 19,
The processor
Receiving information of an external electronic device operating as a proxy client registered with the other external electronic device from the other external electronic device;
An electronic device configured to perform a function of a proxy server based on information of an external electronic device operating as a proxy client registered with the other external electronic device.
KR1020220013727A 2021-12-13 2022-01-28 Electronic device for performing communication of neighbor awareness networking and method for the same KR20230089507A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/KR2022/019667 WO2023113351A1 (en) 2021-12-13 2022-12-06 Electronic device establishing nan communication, and method for operating electronic device
US18/095,683 US20230189118A1 (en) 2021-12-13 2023-01-11 Electronic device for performing neighbor awareness networking communication and method of operating the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20210177660 2021-12-13
KR1020210177660 2021-12-13

Publications (1)

Publication Number Publication Date
KR20230089507A true KR20230089507A (en) 2023-06-20

Family

ID=86995049

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220013727A KR20230089507A (en) 2021-12-13 2022-01-28 Electronic device for performing communication of neighbor awareness networking and method for the same

Country Status (1)

Country Link
KR (1) KR20230089507A (en)

Similar Documents

Publication Publication Date Title
EP3837894B1 (en) Apparatus and method for communication between devices in close proximity in wireless network
US20230269723A1 (en) Electronic device supporting plurality of wi-fi-based communication schemes, and method for controlling same
KR20210050353A (en) Electronic device supporting proximity communication service and method for obtaining information of short-range communication device using the same
US11503137B2 (en) Electronic device and method for scheduling of communication data link thereof
US20240015209A1 (en) Electronic device for performing wi-fi direct group communication, and method therefor
US20220103332A1 (en) Electronic device performing neighbor awareness networking communication and method for operation thereof
US20230189118A1 (en) Electronic device for performing neighbor awareness networking communication and method of operating the same
KR20230089507A (en) Electronic device for performing communication of neighbor awareness networking and method for the same
KR20230099319A (en) Wireless communication method in wi-fi network and electronic device for performing the same
US20240007838A1 (en) Electronic device for performing cluster merging in nan communication and operation method of electronic device
KR20240052573A (en) Electronic device for setting communication of neighbor awareness networking and method for the same
EP4373194A1 (en) Electronic device for scheduling data link, and operating method therefor
KR20240003679A (en) Electronic device for performing cluster merging of communication of neighbor awareness networking and method for the same
EP4358606A1 (en) Electronic device and nan-based communication method
KR20240045033A (en) Electronic device for scheduling of data link and method for the same
KR20240063713A (en) Electronic device for merging clusters of communication of neighbor awareness networking and method for the same
KR20240063723A (en) Electronic device for supporting device discovery based on device to device communication and method for the same
KR20240034068A (en) Electronic devices and nan-based communication methods
US20230063981A1 (en) Electronic device and method for scheduling of data link
KR20240011059A (en) Electronic device for performing connection of device to device communication based on capability information of an external electronic device and method for the same
US20230389097A1 (en) Electronic device for switching connection of device to device communication
KR20230166813A (en) Electronic device for switching connection of device to device communication
US20240056875A1 (en) Electronic device and integrated control method of mlo and r-twt
US20230354218A1 (en) Electronic device and method for controlling transmission power based on bluetooth communication in electronic device
KR20240050108A (en) Method and apparatus to communicate discovery and data in a wireless communication system