Movatterモバイル変換


[0]ホーム

URL:


KR20220000720A - Electronice device and method for performing function - Google Patents

Electronice device and method for performing function
Download PDF

Info

Publication number
KR20220000720A
KR20220000720AKR1020200078711AKR20200078711AKR20220000720AKR 20220000720 AKR20220000720 AKR 20220000720AKR 1020200078711 AKR1020200078711 AKR 1020200078711AKR 20200078711 AKR20200078711 AKR 20200078711AKR 20220000720 AKR20220000720 AKR 20220000720A
Authority
KR
South Korea
Prior art keywords
electronic device
motion
external device
content
sensor
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
KR1020200078711A
Other languages
Korean (ko)
Other versions
KR102788098B1 (en
Inventor
채호창
국효정
김진익
김충훈
박남준
박성현
이성희
임준학
강두석
이선기
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사filedCritical삼성전자주식회사
Priority to KR1020200078711ApriorityCriticalpatent/KR102788098B1/en
Priority to PCT/KR2021/008086prioritypatent/WO2021261972A1/en
Publication of KR20220000720ApublicationCriticalpatent/KR20220000720A/en
Application grantedgrantedCritical
Publication of KR102788098B1publicationCriticalpatent/KR102788098B1/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The present invention relates to an electronic device capable of performing a function of transmitting content to an external device, and a method for performing a function thereof. According to various embodiments, the electronic device includes: a display; a short-range wireless communication module performing short-range wireless communication with an external device; a sensor sensing a motion of the electronic device; a memory; and a processor operatively connected to the display, the short-range wireless communication module, the sensor, and the memory. The processor may be configured to activate the sensor, in response to a specific event, transmit a signal corresponding to the event to the external device through the short-range wireless communication module, generate information on a first motion associated with the motion of the electronic device, when the sensed motion of the electronic device satisfies a specific condition through the sensor, receive information on a second motion associated with a motion of the external device and information on an operating state of the electronic device, through the short-range wireless communication module from the external device, and perform a function corresponding to the operating state of the electronic device and the operating state of the external device, when the information on the first motion and the information on the second motion are acquired.

Description

Translated fromKorean
전자 장치 및 전자 장치의 기능 수행 방법 {ELECTRONICE DEVICE AND METHOD FOR PERFORMING FUNCTION}ELECTRONICE DEVICE AND METHOD FOR PERFORMING FUNCTION

본 문서의 다양한 실시예들은 전자 장치에 관한 것이며, 예를 들어 근거리 무선 통신을 지원하는 휴대용 전자 장치에서 인접하는 외부 장치에 컨텐츠 전송의 기능을 수행하는 방법에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device, and for example, a method of performing a content transmission function from a portable electronic device supporting short-range wireless communication to an adjacent external device.

이동통신 및 하드웨어/소프트웨어 기술의 발달에 따라, 스마트폰으로 대표되는 휴대용 전자 장치(이하, 전자 장치)는 다양한 기능들을 탑재할 수 있게 되었다. 예를 들어, 전자 장치는 다양한 어플리케이션을 이용하여, 비디오/오디오 컨텐츠(이하, 컨텐츠)를 재생할 수 있으며, 컨텐츠를 외부 장치에 공유할 수도 있다.With the development of mobile communication and hardware/software technology, a portable electronic device (hereinafter, referred to as an electronic device) represented by a smart phone can be equipped with various functions. For example, the electronic device may reproduce video/audio content (hereinafter, content) by using various applications, and may share the content with an external device.

전자 장치는 무선 통신을 이용하여 외부 장치와 컨텐츠 공유 또는 화면 공유와 같은 다양한 기능을 실행할 수 있다. 예를 들어, 전자 장치는 블루투스(Bluetooth), 또는 와이파이 다이렉트(Wi-Fi direct)와 같은 근거리 무선 통신을 이용하여 외부 장치에 컨텐츠를 직접 전송하거나, 표시되는 화면을 미러링 할 수 있다.The electronic device may execute various functions such as content sharing or screen sharing with an external device using wireless communication. For example, the electronic device may directly transmit content to an external device or mirror a displayed screen using short-range wireless communication such as Bluetooth or Wi-Fi direct.

전자 장치가 근거리 무선 통신을 이용해 외부 장치와 기능을 실행하기 위해서는, 근거리 무선 통신을 지원하는 외부 장치를 검색한 후, 특정 장치와 연결을 수행해야 한다. 사용자는 이와 같은 외부 장치와 연결의 전 또는 후에 수행할 기능을 선택할 수 있다. 이와 같은 전자 장치의 기능 수행 방법은 통신 수단의 선택, 외부 장치의 검색 및 선택과 같은 다양한 조작이 필요하며, 이는 사용성이 떨어질 수 있다.In order for the electronic device to execute a function with an external device using short-range wireless communication, it must search for an external device supporting short-range wireless communication and then establish a connection with a specific device. A user may select a function to be performed before or after connection with such an external device. Such a method of performing a function of an electronic device requires various manipulations such as selection of a communication means and search and selection of an external device, which may deteriorate usability.

본 문서의 다양한 실시예들은 전자 장치 및 외부 장치의 지정된 조건(예: 움직임(motion))의 발생 시, 전자 장치 및 외부 장치의 동작 상태에 기반하여, 동작 상태에 대응하는 기능을 수행할 수 있는 전자 장치 및 전자 장치의 기능 수행 방법을 제공할 수 있다.According to various embodiments of the present disclosure, when a specified condition (eg, motion) of the electronic device and the external device occurs, based on the operating state of the electronic device and the external device, a function corresponding to the operating state may be performed. An electronic device and a method for performing a function of the electronic device may be provided.

다양한 실시예에 따른 전자 장치는, 디스플레이, 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈, 전자 장치의 움직임을 감지하는 센서, 메모리, 및 상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 지정된 이벤트에 대응하여, 상기 센서를 활성화 하고, 상기 근거리 통신 모듈을 통해 상기 외부 장치에 상기 이벤트에 대응하는 신호를 전송하고, 상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하도록 설정될 수 있다.An electronic device according to various embodiments includes a display, a short-range communication module for performing short-distance communication with an external device, a sensor for detecting a movement of the electronic device, a memory, and the display, the short-range communication module, the sensor, and the memory; a processor operatively connected, wherein the processor activates the sensor in response to a specified event, transmits a signal corresponding to the event to the external device through the short-range communication module, and When the motion of the electronic device sensed through the sensor satisfies a specified condition, first motion information related to the motion of the electronic device is generated, and the motion information related to the motion of the external device is generated from the external device through the short-range communication module. A function of receiving second motion information and information related to the operating state of the external device, and corresponding to the operating state of the electronic device and the operating state of the external device when the first motion information and the second motion information are obtained can be set to perform.

다양한 실시예에 따른 전자 장치의 기능 수행 방법은, 지정된 이벤트에 대응하여, 센서를 활성화 하는 동작, 외부 장치에 상기 이벤트에 대응하는 신호를 전송하는 동작, 상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하는 동작, 상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하는 동작, 및 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a method for performing a function of an electronic device includes activating a sensor in response to a specified event, transmitting a signal corresponding to the event to an external device, and movement of the electronic device detected through the sensor When this specified condition is satisfied, the operation of generating the first motion information related to the motion of the electronic device, the second motion information related to the motion of the external device from the external device through the short-range communication module, and the receiving information related to an operating state, and performing a function corresponding to an operating state of an electronic device and an operating state of the external device when the first motion information and the second motion information are obtained can

다양한 실시예에 따른 전자 장치는, 디스플레이, 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈, 전자 장치의 움직임을 감지하는 센서, 메모리, 및 상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 근거리 통신 모듈을 통해 상기 외부 장치로부터 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 외부 장치의 동작 상태에 대응하는 기능이 컨텐츠 공유 기능인 경우, 상기 센서를 활성화 하고, 상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 근거리 통신 모듈을 통해 상기 제1움직임 정보 및 전자 장치의 동작 상태와 관련된 정보를 상기 외부 장치로 전송하고, 및 상기 외부 장치로부터 컨텐츠를 수신하는 동작을 수행하도록 설정될 수 있다.An electronic device according to various embodiments includes a display, a short-range communication module for performing short-distance communication with an external device, a sensor for detecting a movement of the electronic device, a memory, and the display, the short-range communication module, the sensor, and the memory; a processor that is operatively connected, wherein the processor receives information related to an operating state of the external device from the external device through the short-range communication module, and functions corresponding to the operating state of the external device In the case of this content sharing function, the sensor is activated, and when the motion of the electronic device sensed through the sensor satisfies a specified condition, first motion information related to the motion of the electronic device is generated, and the short-distance communication module may be configured to transmit the first motion information and information related to the operation state of the electronic device to the external device and receive content from the external device through the .

본 문서의 다양한 실시예에 따르면, 전자 장치 및 외부 장치의 움직임에 기반하여 보다 직관적이고 간단하게 동작 상태에 대응하는 기능을 수행할 수 있는 전자 장치 및 전자 장치의 공유 방법을 제공할 수 있다.According to various embodiments of the present disclosure, it is possible to provide an electronic device and a sharing method of the electronic device capable of more intuitively and simply performing a function corresponding to an operating state based on the movement of the electronic device and the external device.

도 1은 다양한 실시예에 따른 네트워크 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 복수의 전자 장치를 도시한 것이다.
도 3은 다양한 실시예에 따른 전자 장치의 블록도이다.
도 4는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치의 기능 수행 방법의 흐름도이다.
도 5는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치의 기능 수행 방법의 흐름도이다.
도 6 및 도 7은 다양한 실시예에 따른 제2전자 장치가 제1전자 장치와 동일한 어플리케이션을 실행하고 있지 않은 상태에서 기능 수행 방법의 흐름도이다.
도 8 및 도 9는 다양한 실시예에 따른 제2전자 장치가 제1전자 장치와 동일한 어플리케이션을 실행 중인 상태에서 기능 수행 방법의 흐름도이다.
도 10a는 다양한 실시예에 따른 shake 동작의 일 예를 도시한 것이다.
도 10b는 다양한 실시예에 따른 tap 동작의 일 예를 도시한 것이다.
도 11a 및 도 11b는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치에서 표시되는 팝업 메시지를 도시한 것이다.
도 12는 다양한 실시예에 따른 이미지 컨텐츠를 공유하는 실시예를 도시한 것이다.
도 13a 및 13b는 다양한 실시예에 따른 리스트의 아이템을 공유하는 실시예를 도시한 것이다.
도 14는 다양한 실시예에 따른 화면 공유 실시예를 도시한 것이다.
도 15는 다양한 실시예에 따른 그룹 추가 실시예를 도시한 것이다.
도 16은 다양한 실시예에 따른 기능 수행 방법의 흐름도이다.
1 is a block diagram of an electronic device in a network according to various embodiments of the present disclosure;
2 illustrates a plurality of electronic devices according to various embodiments.
3 is a block diagram of an electronic device according to various embodiments of the present disclosure;
4 is a flowchart of a method for performing functions of a first electronic device and a second electronic device according to various embodiments of the present disclosure;
5 is a flowchart of a method for performing functions of a first electronic device and a second electronic device according to various embodiments of the present disclosure;
6 and 7 are flowcharts of a method of performing a function in a state in which the second electronic device is not executing the same application as the first electronic device, according to various embodiments of the present disclosure;
8 and 9 are flowcharts of a method of performing a function while the second electronic device is executing the same application as the first electronic device, according to various embodiments of the present disclosure;
10A illustrates an example of a shake operation according to various embodiments.
10B illustrates an example of a tap operation according to various embodiments.
11A and 11B illustrate pop-up messages displayed in a first electronic device and a second electronic device according to various embodiments of the present disclosure;
12 illustrates an embodiment of sharing image content according to various embodiments.
13A and 13B illustrate an embodiment of sharing an item of a list according to various embodiments.
14 illustrates a screen sharing embodiment according to various embodiments.
15 illustrates an example of adding a group according to various embodiments of the present disclosure;
16 is a flowchart of a method for performing a function according to various embodiments of the present disclosure;

도 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), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다1 is a block diagram of an electronic device 101 in anetwork environment 100 according to various embodiments. Referring to FIG. 1 , in anetwork environment 100 , an electronic device 101 communicates with anelectronic device 102 through a first network 198 (eg, a short-range wireless communication network) or asecond network 199 . It may communicate with theelectronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with theelectronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes aprocessor 120 , a memory 130 , aninput device 150 , asound output device 155 , adisplay device 160 , anaudio module 170 , and a sensor module ( 176 ,interface 177 ,haptic module 179 ,camera module 180 ,power management module 188 ,battery 189 , communication module 190 , subscriber identification module 196 , orantenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, thedisplay device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.The auxiliary processor 123 is, for example, on behalf of themain processor 121 while themain processor 121 is in an inactive (eg, sleep) state, or themain processor 121 is active (eg, executing an application). ), together with themain processor 121, at least one of the components of the electronic device 101 (eg, thedisplay device 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 an embodiment, the co-processor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, thecamera module 180 or the communication module 190). have.

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

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

음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.Thesound output device 155 may output a sound signal to the outside of the electronic device 101 . Thesound output device 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, and the receiver can be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

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

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

센서 모듈(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, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.Theinterface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, theinterface 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 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.Theconnection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, theconnection 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)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.Thehaptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, thehaptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

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

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

배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.Thebattery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment,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 direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(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, theelectronic device 102, theelectronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. 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, : It may include a LAN (local area network) 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, WiFi direct, or IrDA (infrared data association)) or a second network 199 (eg, a cellular network, the Internet, or It can communicate with an external electronic device through a computer network (eg, a telecommunication network such as a LAN or WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as thefirst network 198 or thesecond network 199 . The electronic device 101 may be identified and authenticated.

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

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 a signal ( eg 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)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the externalelectronic device 104 through the server 108 connected to thesecond network 199 . Each of theelectronic devices 102 and 104 may be the same or a different type of device from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more of the externalelectronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received 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 transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. 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 device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

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

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, 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) may be implemented as software (eg, the program 140) including For example, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(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 provided as included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play StoreTM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly or online between smartphones (eg: smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

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

도 2는 다양한 실시예에 따른 복수의 전자 장치를 도시한 것이다.2 illustrates a plurality of electronic devices according to various embodiments.

다양한 실시예에 따르면, 전자 장치(200)(예: 도 1의 전자 장치(101))는 어플리케이션을 실행하여 컨텐츠를 출력하고, 근거리 무선 통신(예: Bluetooth, 또는 Wi-Fi direct)을 지원하는 장치일 수 있다. 예를 들어, 전자 장치(200)는 스마트 폰, 태블릿 PC, 랩톱 PC, 휴대용 멀티미디어 장치, 카메라, 또는 웨어러블 장치일 수 있으나, 이에 한정되지는 않는다. 도 2에서 전자 장치들(200, 210, 220, 230)은 적어도 일부 동일한 구성을 포함하며, 도 3 이하에서 설명하는 실시예들은 각 전자 장치들(200, 210, 220, 230) 상에서 구현될 수 있다.According to various embodiments, the electronic device 200 (eg, the electronic device 101 of FIG. 1 ) executes an application, outputs content, and supports short-range wireless communication (eg, Bluetooth or Wi-Fi direct). It may be a device. For example, theelectronic device 200 may be a smart phone, a tablet PC, a laptop PC, a portable multimedia device, a camera, or a wearable device, but is not limited thereto. In FIG. 2 , theelectronic devices 200 , 210 , 220 , and 230 include at least some of the same configuration, and the embodiments described below in FIG. 3 may be implemented on each of theelectronic devices 200 , 210 , 220 , 230 . have.

다양한 실시예에 따르면, 전자 장치(200)는 근거리 무선 통신을 이용하여 외부 전자 장치(210, 220, 230)와 통신할 수 있으며, 메모리에 저장된 비디오/오디오 데이터, 화면에 표시되는 영상, 문서 파일, 또는 디지털 키와 같은 다양한 컨텐츠를 외부 전자 장치(210, 220, 230)에 전송할 수 있다. 예를 들어, 전자 장치(200)는 갤러리 어플리케이션에서 특정 이미지 컨텐츠를 선택하여 인접하는 외부 전자 장치(210, 220, 230)에 전송할 수 있다. 또는, 전자 장치(200)는 외부 전자 장치(210, 220, 230)로부터 컨텐츠를 수신할 수 있다. 또한, 전자 장치(200)는 외부 전자 장치(210, 220, 230)와 디스플레이에 표시 중인 화면의 공유, 게임과 같은 어플리케이션의 실행 시 그룹 참여, 디지털 키 및 파일의 공유, 또는 설정 정보의 공유와 같은 기능을 수행할 수 있다. 예를 들어, 설정 정보는 전자 장치(200)의 시스템 설정 정보, 네트워크 설정 정보 또는 사용자 설정 정보를 포함할 수 있다.According to various embodiments, theelectronic device 200 may communicate with the externalelectronic devices 210 , 220 , 230 using short-range wireless communication, and video/audio data stored in a memory, an image displayed on a screen, and a document file , or various contents such as a digital key may be transmitted to the externalelectronic devices 210 , 220 , and 230 . For example, theelectronic device 200 may select specific image content from the gallery application and transmit it to the adjacent externalelectronic devices 210 , 220 , 230 . Alternatively, theelectronic device 200 may receive content from the externalelectronic devices 210 , 220 , and 230 . In addition, theelectronic device 200 may be configured to share a screen being displayed on a display with the externalelectronic devices 210 , 220 , 230 , participate in a group when an application such as a game is executed, share a digital key and file, or share setting information can perform the same function. For example, the setting information may include system setting information, network setting information, or user setting information of theelectronic device 200 .

전자 장치(200)가 근거리 무선 통신을 이용하여 외부 전자 장치(210, 220, 230)와 통신하기 위해서는 이용하려는 서비스 또는 통신 수단의 선택, 외부 전자 장치(200)의 검색 및 선택, 및/또는 페어링(pairing)과 같은 과정이 요구될 수 있다. 예를 들어, 전자 장치(200)는 블루투스를 이용해 외부 전자 장치(210, 220, 230)를 검색한 후 연결을 시도해야 하고, 검색 및 외부 전자 장치(210, 220, 230)의 선택은 사용자가 직접 입력해야 한다. 또한, 전자 장치(200)는 Bluetooth 파일 전송, NFC를 사용하는 Android Beam, BLE 및 Wi-Fi를 사용하는 send to device, 또는 Wi-Fi direct와 같은 컨텐츠 전송을 위한 다양한 프로토콜 및 어플리케이션을 지원할 수 있는데, 사용자가 이와 같은 근거리 무선 통신 방식 중 어느 하나를 직접 선택해야 하는 것은 사용성이 떨어질 수 있다.In order for theelectronic device 200 to communicate with the externalelectronic devices 210 , 220 , and 230 using short-range wireless communication, selection of a service or communication means to be used, search and selection of the externalelectronic device 200 , and/or pairing (pairing) may be required. For example, theelectronic device 200 should attempt to connect after searching for the externalelectronic devices 210 , 220 , and 230 using Bluetooth. must be entered directly. In addition, theelectronic device 200 may support various protocols and applications for content transmission, such as Bluetooth file transmission, Android Beam using NFC, send to device using BLE and Wi-Fi, or Wi-Fi direct. , it may decrease usability if the user has to directly select any one of these short-range wireless communication methods.

이하에서는, 전자 장치(200)가 외부 전자 장치(210, 220, 230)와 서비스를 수행하는 경우, 전자 장치(200)의 지정된 조건(예: 움직임 또는 센서 값의 변화)을 만족하는 외부 전자 장치(210, 220, 230)를 서비스 대상으로 지정하고, 전자 장치(200) 및 외부 전자 장치(210, 220, 230)의 상태에 따라 서비스 동작을 결정할 수 있는 다양한 실시예들에 대해 설명하기로 한다.Hereinafter, when theelectronic device 200 performs a service with the externalelectronic devices 210 , 220 , and 230 , an external electronic device that satisfies a specified condition (eg, movement or change in a sensor value) of theelectronic device 200 . Various embodiments in which 210 , 220 , and 230 are designated as a service target and a service operation can be determined according to the states of theelectronic device 200 and the externalelectronic device 210 , 220 and 230 will be described. .

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

도 3을 참조 하면, 다양한 실시예에 따른 전자 장치(380)(예: 도 1의 전자 장치(101))는 디스플레이(330)(예: 도 1의 표시 장치(160)), 근거리 통신 모듈(310)(예: 도 1의 통신 모듈(190)), 센서(340)(예: 도 1의 센서 모듈(176)), 메모리(320)(예: 도 1의 메모리(130)) 및 프로세서(350)(예: 도 1의 프로세서(120))를 포함할 수 있으며, 도시된 구성 중 일부가 생략 또는 치환되더라도 본 문서의 다양한 실시예를 구현할 수 있다. 전자 장치(380)는 도 1의 전자 장치(101)의 구성 및/또는 기능 중 적어도 일부를 더 포함할 수 있다.Referring to FIG. 3 , an electronic device 380 (eg, the electronic device 101 of FIG. 1 ) according to various embodiments includes a display 330 (eg, thedisplay device 160 of FIG. 1 ), a short-range communication module ( 310) (eg, communication module 190 in FIG. 1 ), sensor 340 (eg, sensor module 176 in FIG. 1 ), memory 320 (eg, memory 130 in FIG. 1 ) and processor ( 350) (eg, theprocessor 120 of FIG. 1 ), and even if some of the illustrated components are omitted or substituted, various embodiments of the present document may be implemented. Theelectronic device 380 may further include at least some of the configuration and/or functions of the electronic device 101 of FIG. 1 .

도 3에 도시된 구성 및/또는 도시되지 않은 전자 장치(380)의 다른 구성 중 적어도 일부(예: 근거리 통신 모듈(310), 센서(340), 메모리(320), 프로세서(350))는 하우징(housing) 내에 배치될 수 있고, 다른 적어도 일부(예: 디스플레이(330))는 하우징의 외부로 노출될 수 있다.At least some of the configuration shown in FIG. 3 and/or other configurations of the electronic device 380 (eg, the short-range communication module 310 , thesensor 340 , thememory 320 , and the processor 350 ) may include a housing It may be disposed within the housing, and at least a portion (eg, the display 330 ) may be exposed to the outside of the housing.

다양한 실시예에 따르면, 디스플레이(330)는 영상을 표시하며, 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 유기 발광 다이오드(organic light-emitting diode(OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(micro electro mechanical systems(MEMS)) 디스플레이, 또는 전자종이(electronic paper) 디스플레이 중 어느 하나로 구현될 수 있으나, 이에 한정되지는 않는다. 디스플레이(330)는 도 1의 표시 장치(160)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다. 일 실시예에 따르면, 디스플레이(330)는 롤러블(rollable) 또는 폴더블(foldable) 가능할 수 있다. 본 발명의 다양한 실시예들에서 롤러블(rollable) 동작 및/또는 폴더블(foldable) 동작은 디스플레이(330)의 적어도 일부 또는 디스플레이(330)를 포함하는 하우징의 적어도 일부가 변경(예: 형태의 변화 또는 크기의 변화)되는 것을 포함할 수 있다.According to various embodiments, thedisplay 330 displays an image, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode ( OLED)) display, micro electro mechanical systems (MEMS) display, or electronic paper display may be implemented as any one, but is not limited thereto. Thedisplay 330 may include at least some of the configuration and/or functions of thedisplay device 160 of FIG. 1 . According to an embodiment, thedisplay 330 may be rollable or foldable. In various embodiments of the present disclosure, a rollable operation and/or a foldable operation is performed when at least a portion of thedisplay 330 or at least a portion of a housing including thedisplay 330 is changed (eg, the shape of the display 330 ). change or change in size).

다양한 실시예에 따르면, 디스플레이(330)는 터치 또는 호버링(hovering) 입력을 감지하는 터치 스크린을 포함할 수 있다. 터치 스크린은 인셀(in-cell) 방식, 온셀(on-cell) 방식을 포함하는 다양한 방식 중 어느 하나로 구현될 수 있다.According to various embodiments, thedisplay 330 may include a touch screen that detects a touch or hovering input. The touch screen may be implemented in any one of various methods including an in-cell method and an on-cell method.

다양한 실시예에 따르면, 근거리 통신 모듈(310)은 외부 장치(예: 도 2의 외부 장치(210, 220, 230))와 근거리 무선 통신을 지원하는 안테나, RF 프론트 엔드, 통신 프로세서(예: 도 1의 보조 프로세서(123))와 같은 다양한 구성을 포함할 수 있다. 근거리 통신 모듈(310)은 다양한 근거리 무선 통신 방식(예: 블루투스(bluetooth), BLE(bluetooth low energy), 또는 Wi-Fi)을 지원할 수 있으며, 각각의 무선 통신 방식을 지원하기 위한 독립적인 하드웨어/소프트웨어 구성을 포함할 수 있다. 근거리 통신 모듈(310)은 도 1의 통신 모듈(190)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다.According to various embodiments, the short-range communication module 310 includes an external device (eg, theexternal devices 210 , 220 , 230 of FIG. 2 ) and an antenna supporting short-range wireless communication, an RF front end, and a communication processor (eg, FIG. 2 ). 1 co-processor 123)). The short-distance communication module 310 may support various short-range wireless communication methods (eg, Bluetooth, Bluetooth low energy, or Wi-Fi), and independent hardware / for supporting each wireless communication method It may include software configuration. The short-range communication module 310 may include at least some of the configuration and/or functions of the communication module 190 of FIG. 1 .

다양한 실시예에 따르면, 센서(340)는 전자 장치(380)의 움직임을 감지할 수 있다. 예를 들어, 전자 장치(380)는 가속도 센서(acceleration sensor), 자이로 센서(gyroscope), 지자기 센서, 근접 센서, 및/또는 조도 센서와 같은 전자 장치(380)의 움직임을 감지하기 위한 다양한 물리적 센서를 포함할 수 있으며, 전자 장치(380)의 움직임의 타입(예: shake 동작, tap 동작)에 따라서 서로 다른 센서(340)의 센싱 값을 이용해 움직임을 감지할 수 있다. 일 실시예에 따르면, 센서(340)는 디스플레이(330)의 롤러블 상태 또는 폴더블 상태를 감지할 수 있다. 예를 들어, 센서(340)는 디스플레이(330)의 적어도 일부가 롤러블 되거나 폴더블 되는 것을 감지할 수 있다. 센서(340)는 도 1의 센서 모듈(176) 중 적어도 일부를 포함할 수 있다. 다양한 실시예에 따르면, 센서(340)는 지정된 이벤트의 발생 시 활성화될 수 있다.According to various embodiments, thesensor 340 may detect the movement of theelectronic device 380 . For example, theelectronic device 380 may include various physical sensors for detecting movement of theelectronic device 380, such as an acceleration sensor, a gyroscope, a geomagnetic sensor, a proximity sensor, and/or an illuminance sensor. may be included, and the movement may be detected using sensing values of thedifferent sensors 340 according to the type of movement of the electronic device 380 (eg, a shake operation or a tap operation). According to an embodiment, thesensor 340 may detect a rollable state or a foldable state of thedisplay 330 . For example, thesensor 340 may detect that at least a portion of thedisplay 330 is rolled or folded. Thesensor 340 may include at least a portion of the sensor module 176 of FIG. 1 . According to various embodiments, thesensor 340 may be activated when a specified event occurs.

다양한 실시예에 따르면, 가속도 센서(미도시)는 전자 장치(380)의 내부(예: 전자 장치(380)의 하우징 내)에 위치되고, 전자 장치(380)에 연관된 가속도(예: 충격량)를 측정하도록 설정될 수 있다. 예를 들어, 가속도 센서(미도시)는 3축(예: x축, y축, 및 z축)에 대한 가속도를 측정하도록 설정될 수 있다.According to various embodiments, an acceleration sensor (not shown) is located inside the electronic device 380 (eg, in a housing of the electronic device 380 ) and detects an acceleration (eg, an amount of impact) associated with theelectronic device 380 . It can be set to measure. For example, the acceleration sensor (not shown) may be set to measure acceleration with respect to three axes (eg, an x-axis, a y-axis, and a z-axis).

다양한 실시예에 따르면, 자이로 센서(미도시)는 전자 장치(380)의 내부(예: 전자 장치(380)의 하우징 내)에 위치되고, 전자 장치(380)에 연관된 회전을 측정하도록 설정될 수 있다. 예를 들어, 자이로 센서(미도시)는 3축(예: x축, y축, 및 z축)에 대한 회전을 측정하도록 설정될 수 있다.According to various embodiments, a gyro sensor (not shown) may be located inside the electronic device 380 (eg, in a housing of the electronic device 380 ) and set to measure a rotation associated with theelectronic device 380 . have. For example, a gyro sensor (not shown) may be set to measure rotation about three axes (eg, an x-axis, a y-axis, and a z-axis).

일 실시예에 따르면, 전자 장치(380)는 적어도 하나의 센서(340)(예: 가속도 센서 및/또는 자이로 센서)로부터 획득된 센싱 값(예: 가속도 충격량, 회전 정보 및/또는 가속도 충격량 및 회전 정보의 다양한 조합에 의해 획득된 값) 및/또는 센싱 값 패턴(예: 충격량 패턴)에 기반하여 지정된 움직임(예: shake 동작, 및/또는 tap 동작)의 발생을 감지할 수 있다.According to an embodiment, theelectronic device 380 provides a sensed value (eg, acceleration impulse, rotation information, and/or acceleration impulse and rotation) obtained from at least one sensor 340 (eg, an acceleration sensor and/or a gyro sensor). The occurrence of a specified movement (eg, a shake motion, and/or a tap motion) may be detected based on a value obtained by various combinations of information) and/or a pattern of sensed values (eg, an impulse pattern).

일 실시예에 따르면, 전자 장치(380)는 적어도 하나의 센서(340)(예: 가속도 센서 및/또는 자이로 센서)로부터 획득된 센싱 값에 기반하여 디스플레이(330)의 롤러블 상태 또는 폴더블 상태 및/또는 롤러블 동작 또는 폴더블 동작을 감지할 수 있다.According to an embodiment, theelectronic device 380 may display a rollable state or a foldable state of thedisplay 330 based on a sensed value obtained from at least one sensor 340 (eg, an acceleration sensor and/or a gyro sensor). and/or detect a rollable motion or a foldable motion.

일 실시예에 따르면, 전자 장치(380)의 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)의 발생을 감지하는 동작은 프로세서(350)가 수행하거나 또는 센서(340)가 수행할 수 있다. 예를 들어, 센서(340)는 획득한 센싱 값에 기반하여 프로세서(350)로 지정된 움직임이 발생하였음을 알려 줄 수 있다. 다른 예를 들어, 센서(340)는 획득한 센싱 값을 프로세서(350)로 전달하고, 프로세서(350)는 수신된 센싱 값에 기반하여 지정된 움직임이 발생하였음을 확인할 수 있다.According to an embodiment, an operation for detecting occurrence of a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) of theelectronic device 380 is performed by theprocessor 350 or thesensor 340 . can be performed For example, thesensor 340 may notify theprocessor 350 that a designated movement has occurred based on the acquired sensing value. As another example, thesensor 340 may transmit the acquired sensing value to theprocessor 350 , and theprocessor 350 may confirm that a designated motion has occurred based on the received sensing value.

다양한 실시예에 따르면, 메모리(320)는 한정되지 않은 디지털 데이터들을 일시적 또는 영구적으로 저장하기 위한 것으로써, 도 1의 메모리(130)의 구성 및/또는 기능 중 적어도 하나를 포함할 수 있다. 메모리는 OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, 플래시 메모리(예: NAND flash 또는 NOR flash), 하드 드라이브, 또는 솔리드 스테이트 드라이브(solid state drive(SSD))와 같은 비휘발성 메모리 및 DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM)과 같은 휘발성 메모리를 포함할 수 있다. 메모리(320)는 프로세서(350)에서 수행될 수 있는 다양한 인스트럭션(instruction)들을 저장할 수 있다. 이와 같은 인스트럭션들은 프로세서(350)에 의해 인식될 수 있는 산술 및 논리 연산, 데이터 이동, 또는 입출력을 포함하는 다양한 제어 명령을 포함할 수 있다.According to various embodiments, thememory 320 is for temporarily or permanently storing non-limited digital data, and may include at least one of the configuration and/or function of the memory 130 of FIG. 1 . Memory is one time programmable ROM (OTPROM), programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, flash memory (such as NAND flash or NOR flash). , a hard drive, or non-volatile memory, such as a solid state drive (SSD), and volatile memory, such as dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM). . Thememory 320 may store various instructions that may be executed by theprocessor 350 . Such instructions may include various control commands including arithmetic and logical operations, data movement, or input/output that can be recognized by theprocessor 350 .

다양한 실시예에 따르면, 프로세서(350)는 전자 장치(380)의 각 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있는 구성으로써, 도 1의 프로세서(120)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다. 프로세서(350)는 디스플레이(330), 근거리 통신 모듈(310), 센서(340), 및/또는 메모리(320)와 같은 전자 장치(380)의 각 구성요소와 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로(electrically) 연결될 수 있다.According to various embodiments, theprocessor 350 is a configuration capable of performing an operation or data processing related to control and/or communication of each component of theelectronic device 380 , and includes the configuration of theprocessor 120 of FIG. 1 and / or may include at least some of the functions. Theprocessor 350 is operatively and functionally with each component of theelectronic device 380 , such as thedisplay 330 , the short-range communication module 310 , thesensor 340 , and/or thememory 320 . (functionally) and/or electrically (electrically) connected.

다양한 실시예에 따르면, 프로세서(350)가 전자 장치(380) 내에서 구현할 수 있는 연산 및 데이터 처리 기능에는 한정됨이 없을 것이나, 본 문서에서는 센서(340)의 센싱 값을 이용해 전자 장치(380)의 움직임을 감지하고, 감지된 움직임에 기반하여 외부 장치와 컨텐츠 공유 기능을 수행하기 위한 다양한 실시예들에 대해 설명하기로 한다. 후술할 프로세서(350)의 동작들은 메모리(320)에 저장된 인스트럭션들을 로딩함으로써 수행될 수 있다.According to various embodiments, there will be no limitations on the arithmetic and data processing functions that theprocessor 350 can implement in theelectronic device 380 , but in this document, theelectronic device 380 is Various embodiments for detecting a motion and performing a content sharing function with an external device based on the detected motion will be described. Operations of theprocessor 350 to be described later may be performed by loading instructions stored in thememory 320 .

다양한 실시예에 따르면, 프로세서(350)는 지정된 이벤트에 대응하여 센서(340)를 활성화 할 수 있다. 여기서, 센서(340)의 활성화를 트리거 하는 이벤트는 지정된 어플리케이션의 실행, 디스플레이(330)에 대한 터치 입력 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함할 수 있다. 예를 들어, 전자 장치에서 파일, 또는 갤러리와 같이 파일 공유를 위한 어플리케이션이 실행 되거나, 음악, 또는 녹음과 같이 오디오 재생을 위한 어플리케이션이 실행되는 경우, 센서(340)를 활성화 할 수 있다. 다른 예를 들어, 프로세서(350)는 갤러리 어플리케이션이 실행되어 특정 파일이 디스플레이에 표시된 상태에서, 지정된 음성(예: 공유)이 마이크로폰으로 입력되는 경우, 센서(340)를 활성화 할 수 있다.According to various embodiments, theprocessor 350 may activate thesensor 340 in response to a specified event. Here, the event triggering the activation of thesensor 340 may include at least one of execution of a specified application, a touch input to thedisplay 330, or a user input to an external key. For example, when an application for file sharing such as a file or gallery is executed in the electronic device or an application for audio reproduction such as music or recording is executed, thesensor 340 may be activated. As another example, theprocessor 350 may activate thesensor 340 when a specified voice (eg, share) is input through the microphone while the gallery application is executed and a specific file is displayed on the display.

다양한 실시예에 따르면, 프로세서(350)는 근거리 통신 모듈(310)을 이용해 발생한 이벤트에 대응하는 신호를 외부 장치(예: 도 2의 외부 전자 장치(210, 220, 230))에 전송할 수 있다. 상기 전송되는 신호는 지정된 서비스(예: 어플리케이션, 또는 파일 공유 기능)에 대한 정보를 포함하고, 외부 장치가 센서를 활성화 하여 외부 장치의 움직임을 감지하도록 할 수 있다. 다양한 실시예에 따르면, 근거리 통신 모듈(310)은 이벤트에 대응하는 BLE(Bluetooth low energy) 신호를 브로드캐스팅(broadcasting) 또는 애드버타이징(advertising)할 수 있다.According to various embodiments, theprocessor 350 may transmit a signal corresponding to an event generated using the short-range communication module 310 to an external device (eg, the externalelectronic devices 210 , 220 , 230 of FIG. 2 ). The transmitted signal may include information on a specified service (eg, an application or a file sharing function), and an external device may activate a sensor to detect a movement of the external device. According to various embodiments, the short-range communication module 310 may broadcast or advertise a Bluetooth low energy (BLE) signal corresponding to the event.

다양한 실시예에 따르면, 외부 장치는 전자 장치(380)가 브로드캐스팅 한 신호를 수신하고, 센서(예: 센서(340))를 활성화 할 수 있다. 이 때, 외부 장치의 센서가 이미 활성화 된 상태인 경우, 활성화 상태를 유지할 수 있다.According to various embodiments, the external device may receive a signal broadcast by theelectronic device 380 and activate a sensor (eg, the sensor 340 ). At this time, if the sensor of the external device is already activated, the activated state may be maintained.

다양한 실시예에 따르면, 외부 장치는 전자 장치(380)로부터 신호를 수신했을 때의 동작 상태에 따라 센서의 활성화 여부를 결정할 수 있다. 예를 들어, 외부 장치의 디스플레이(예: 디스플레이(330))의 화면이 off 되어 있거나, 사용자가 사용 중이지 않은 상태인 경우, 외부 장치는 센서를 활성화하지 않을 수 있다. 이 경우, 이 후 외부 장치의 사용자에 의해 외부 장치가 동작할 때, 전자 장치에서 지정된 서비스의 동작이 지속되고 있는지 여부, 또는 센서의 활성화 필요를 확인 후, 센서를 활성화 할 수 있다.According to various embodiments, the external device may determine whether to activate the sensor according to an operation state when receiving a signal from theelectronic device 380 . For example, when the screen of the display (eg, the display 330 ) of the external device is turned off or the user is not in use, the external device may not activate the sensor. In this case, when the external device is operated by the user of the external device thereafter, the sensor may be activated after checking whether the operation of the service specified in the electronic device is continuing or the need to activate the sensor.

다양한 실시예에 따르면, 프로세서(350)는, 근거리 통신 모듈(310)을 통하여, 지정된 서비스와 연관된 신호를 전송하고 BLE 스캔 동작을 개시할 수 있다.According to various embodiments, theprocessor 350 may transmit a signal related to a designated service through the short-range communication module 310 and initiate a BLE scan operation.

다양한 실시예에 따르면, 프로세서(350)는 센서(340)를 이용해 전자 장치(380)의 움직임을 감지하고, 움직임이 지정된 조건을 만족하는 경우, 전자 장치(380)의 움직임에 관련된 제1움직임 정보를 생성할 수 있다. 프로세서(350)는 센서(340)의 센싱 값에 기초하여 전자 장치(380)의 움직임이 지정된 타입(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)인지 확인하고, 지정된 타입에 속하는 경우, 제1움직임 정보를 생성할 수 있다.According to various embodiments, theprocessor 350 detects a motion of theelectronic device 380 using thesensor 340 , and when the motion satisfies a specified condition, first motion information related to the motion of theelectronic device 380 . can create Theprocessor 350 determines whether the movement of theelectronic device 380 is of a specified type (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) based on the sensed value of thesensor 340 and belongs to the specified type. In this case, the first motion information may be generated.

다양한 실시예에 따르면, 프로세서(350)는 센서(340)의 센싱 값에 기초하여, 전자 장치(380)의 움직임에 대응하는 충격량을 확인하고, 충격량에 따라 shake 동작의 발생 여부를 판단할 수 있다. 예를 들어, 프로세서(350)는 자이로 센서의 센싱 값에 따라 충격량을 확인하고, 1차적으로 충격량이 제1임계값 이상인 경우, shake 동작의 감시를 개시할 수 있다. 이 후, shake 동작의 감시가 개시된 상태에서 지정된 시간 동안 제1방향의 움직임 및 제2방향의 움직임이 지정된 횟수 이상 감지되는 경우, shake 동작이 발생한 것으로 판단할 수 있다.According to various embodiments, theprocessor 350 may determine the amount of impact corresponding to the movement of theelectronic device 380 based on the sensed value of thesensor 340 , and determine whether a shake operation occurs according to the amount of impact . For example, theprocessor 350 may check the amount of impact according to the value sensed by the gyro sensor, and when the amount of impact is greater than or equal to the first threshold value, the shake operation may be monitored. Thereafter, when the movement in the first direction and the movement in the second direction are sensed more than a specified number of times for a specified time in a state in which the monitoring of the shake operation is started, it may be determined that the shake operation has occurred.

다양한 실시예에 따르면, 프로세서(350)는 shake 동작의 감지와 다른 센서(예: 가속도 센서) 및 알고리즘에 따라 tap 동작의 발생 여부를 판단할 수 있다. 예를 들어, 프로세서(350)는 가속도 센서(340)의 센싱 값에 기초하여 충격량을 확인하고, 충격량이 제2임계값인 이후 지정된 시간 동안 제3임계값 이하로 지속되는 경우 tap 동작으로 판단할 수 있다. 다양한 실시예에 따르면, 정확성을 위해 tap 동작은 2회 이상의 tap 동작(예: tap 동작)으로 정의될 수 있다. 이 경우, 프로세서(350)는 상기 제3임계값 이하 지속 횟수가 지정된 횟수(예: 2회) 이상인 경우, tap 동작(또는 double tap 동작)이 발생한 것으로 판단할 수 있다.According to various embodiments, theprocessor 350 may determine whether a tap operation occurs according to a sensor (eg, an acceleration sensor) and an algorithm other than the detection of the shake motion. For example, theprocessor 350 checks the amount of impact based on the value sensed by theacceleration sensor 340 , and when the amount of impact continues below the third threshold for a specified time after the second threshold is the second threshold, it is determined as a tap operation. can According to various embodiments, for accuracy, a tap operation may be defined as two or more tap operations (eg, a tap operation). In this case, theprocessor 350 may determine that a tap operation (or a double tap operation) has occurred when the number of sustain times equal to or less than the third threshold is greater than or equal to a specified number of times (eg, two times).

다양한 실시예에 따르면, 전자 장치(380) 및 외부 장치의 신호 송수신 동작은 수신된 신호가 지정된 세기 이상인 경우, 또는 UWB 통신을 이용하여 확인된 지정된 거리 이내인 경우와 같이 특정 조건을 만족하는 경우에 동작할 수 있다. 전자 장치(380) 및 외부 장치는 상기 조건을 만족하지 않는 경우에는 신호를 수신하더라도 연관된 기능을 수행하지 않을 수 있다.According to various embodiments, the signal transmission/reception operation of theelectronic device 380 and the external device is performed when a specific condition is satisfied, such as when a received signal is greater than or equal to a specified strength or within a specified distance confirmed using UWB communication. can work When the above condition is not satisfied, theelectronic device 380 and the external device may not perform a related function even when receiving a signal.

다양한 실시예에 따르면, BLE를 통해 전자 장치(380)와 연결된 외부 장치도 센서를 활성화 하여 외부 장치의 움직임을 감지할 수 있다. 외부 장치는 감지된 움직임이 지정된 조건을 만족하는 경우, 외부 장치의 움직임에 관련된 제2움직임 정보를 생성할 수 있다. 외부 장치에서 마련된 센서의 센싱 방법 및 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 결정하는 방법은 전자 장치(380)와 동일할 수 있다.According to various embodiments, the external device connected to theelectronic device 380 through BLE may also activate the sensor to detect the movement of the external device. When the detected motion satisfies a specified condition, the external device may generate second motion information related to the motion of the external device. A sensing method and a method of determining a movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) of a sensor provided in the external device may be the same as that of theelectronic device 380 .

다양한 실시예에 따르면, 프로세서(350)는 제1움직임 정보를 근거리 통신 모듈(310)을 이용해 외부 장치로 전송할 수 있다. 다양한 실시예에 따르면,, 프로세서(350)는 전자 장치(380)의 제1사용자 정보를 외부 장치로 전송할 수 있다. 예를 들어, 제1사용자 정보는 전자 장치(380)의 전화 번호(예: IMEI), 어플리케이션(또는 기능)에서 설정된 ID, 및/또는 디바이스 정보(예: MAC 어드레스)와 같이 전자 장치(380)(또는 사용자)를 특정할 수 있는 다양한 정보를 포함할 수 있다.According to various embodiments, theprocessor 350 may transmit the first motion information to an external device using the short-range communication module 310 . According to various embodiments, theprocessor 350 may transmit the first user information of theelectronic device 380 to an external device. For example, the first user information may include a phone number (eg, IMEI) of theelectronic device 380, an ID set in an application (or function), and/or device information (eg, MAC address) of theelectronic device 380 such as a MAC address. (or a user) may include various information that can be specified.

다양한 실시예에 따르면, 프로세서(350)는 근거리 통신 모듈(310)을 이용해 외부 장치로부터 제2움직임 정보 및 제2사용자 정보를 수신할 수 있다. 예를 들어, 제2움직임 정보 및 제2사용자 정보는 외부 장치에서 전자 장치(380)와 동일한 방식으로 생성된 것일 수 있다. 다양한 실시예에 따르면, 프로세서(350)는 외부 장치로부터 외부 장치에서 실행 중인 서비스 및 가능한 서비스의 정보를 수신할 수 있다.According to various embodiments, theprocessor 350 may receive the second motion information and the second user information from the external device using the short-range communication module 310 . For example, the second motion information and the second user information may be generated by an external device in the same manner as theelectronic device 380 . According to various embodiments, theprocessor 350 may receive information on a service running in the external device and available services from the external device.

다양한 실시예에 따르면, 프로세서(350)는 근거리 통신 모듈(310)을 이용해 외부 장치로부터 외부 장치의 동작 상태와 관련된 정보를 더 수신할 수 있다. 여기서, 동작 상태는 외부 장치에서 지정된 서비스, 기능 또는 어플리케이션의 실행 여부를 포함할 수 있다.According to various embodiments, theprocessor 350 may further receive information related to the operating state of the external device from the external device using the short-range communication module 310 . Here, the operation state may include whether a specified service, function, or application is executed in the external device.

다양한 실시예에 따르면, 프로세서(380)는 전자 장치(380)의 동작 상태 및 외부 장치의 동작 상태에 따라 수행할 기능을 결정할 수 있다. 예를 들어, 프로세서(380)는 외부 장치가 갤러리 어플리케이션(또는 컨텐츠 공유 기능)을 실행하고 있는 경우 선택된 컨텐츠를 외부 장치로 전송하고, 외부 장치에서도 특정 컨텐츠가 선택된 경우 각 장치에서 선택된 컨텐츠를 서로 송수신하는 기능을 수행하도록 결정할 수 있다.According to various embodiments, theprocessor 380 may determine a function to be performed according to the operating state of theelectronic device 380 and the operating state of the external device. For example, theprocessor 380 transmits the selected content to the external device when the external device is executing the gallery application (or the content sharing function), and transmits/receives the selected content to and from each device when a specific content is also selected in the external device You can decide to perform a function.

다양한 실시예에 따르면, 전자 장치(380) 및 외부 장치는 여러 종류의 근거리 무선 통신(예: 블루투스, BLE, 및/또는 Wi-Fi)을 지원할 수 있으며, 서비스 및 어플리케이션에서 요구하는 기능을 수행할 수 있는 통신 기술이 복수로 존재할 수 있다. 전자 장치(380)는 외부 장치와 서로를 구별할 수 있는 식별자(예: 제1사용자 정보 및 제2사용자 정보), 전자 장치(380) 및 외부 장치에서 지원하는 근거리 통신 방식의 종류 및 특성 정보를 교환함으로써, 서비스 및 어플리케이션의 요구 사항(예: 전송 속도, 전송 거리 또는 연결 안정성)에 가장 부합되는 근거리 통신 방식을 선택할 수 있다. 또한, 가장 적합 하다고 판단되는 근거리 통신 방식이라고 하더라도, 외부 장치가 해당 근거리 통신 방식을 현재 다른 목적으로 사용 중이거나(예: 블루투스 이어폰), 일시적으로 사용이 어려운 상태인지 여부를 알림으로써, 서비스를 수행할 수 있는 다른 근거리 무선 통신 방식을 선택할 수 있다.According to various embodiments, theelectronic device 380 and the external device may support various types of short-range wireless communication (eg, Bluetooth, BLE, and/or Wi-Fi) and perform functions required by services and applications. A plurality of possible communication technologies may exist. Theelectronic device 380 collects an identifier (eg, first user information and second user information) that can distinguish the external device from each other, and information about the type and characteristic of a short-range communication method supported by theelectronic device 380 and the external device. By exchanging, the short-distance communication method that best meets the requirements of the service and application (eg, transmission speed, transmission distance or connection stability) can be selected. In addition, even if it is a short-distance communication method that is judged to be the most suitable, the service is performed by notifying whether the external device is currently using the short-range communication method for another purpose (eg, Bluetooth earphone) or is temporarily in a difficult state to use. Other available short-range wireless communication methods can be selected.

다양한 실시예에 따르면, 프로세서(350)는 전자 장치(380)의 제1움직임 정보 및 외부 장치의 제2움직임 정보가 획득되는 경우, 전자 장치(380)의 동작 상태 및/또는 외부 장치의 동작 상태에 대응하는 기능을 수행할 수 있다.According to various embodiments of the present disclosure, when the first motion information of theelectronic device 380 and the second motion information of the external device are obtained, theprocessor 350 determines the operating state of theelectronic device 380 and/or the operating state of the external device. A corresponding function can be performed.

예를 들어, 프로세서(350)는 전자 장치(380)에서 갤러리 어플리케이션의 컨텐츠 전송 기능이 실행 중인 경우, 외부 장치로의 컨텐츠 전송 기능을 수행하도록 결정할 수 있다. 이 때, 프로세서(350)는 외부 장치의 동작 상태도 확인하여, 외부 장치가 컨텐츠의 수신 기능을 실행하고 있거나, 또는 컨텐츠의 전송 기능을 실행하지 않는 경우, 외부 장치로의 컨텐츠 전송 기능을 수행할 수 있다.For example, when the content transmission function of the gallery application is being executed in theelectronic device 380 , theprocessor 350 may determine to perform the content transmission function to an external device. At this time, theprocessor 350 also checks the operating state of the external device, and when the external device executes the content reception function or does not execute the content transmission function, the content transmission function to the external device is performed. can

다른 예를 들어, 외부 장치에서 갤러리 어플리케이션의 컨텐츠 공유가 실행 중인 경우, 전자 장치(380)는 외부 장치로부터의 컨텐츠 수신 기능을 수행하도록 결정할 수 있다.For another example, when content sharing of the gallery application is being executed in the external device, theelectronic device 380 may determine to perform a content receiving function from the external device.

다른 실시예에 따르면, 프로세서(350)는 지정된 어플리케이션이 실행 중인 경우, 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 실행 중인 어플리케이션의 컨텐츠를 외부 장치로 전송할 수 있다. 예를 들어, 프로세서(350)는 음악 어플리케이션이 실행 중인 상태에서 공유 아이템이 선택되거나, 음악 재생 중에 전자 장치(380) 및 외부 장치의 움직임이 감지되는 경우, 음악 어플리케이션의 아이템(예: 음악 파일)의 공유 기능을 실행할 수 있다.According to another embodiment, when a specified application is being executed, theprocessor 350 may transmit the contents of the running application to the external device in response to acquisition of the first motion information and the second motion information. For example, when a shared item is selected while a music application is running, or when a movement of theelectronic device 380 and an external device is detected during music playback, theprocessor 350 may control an item of the music application (eg, a music file). of sharing function can be executed.

다른 실시예에 따르면, 프로세서(350)는 외부 장치와 화면 공유 기능을 실행할 수 있다. 예를 들어, 전자 장치(380)와 외부 장치에서 문서(또는 메모) 작성을 하고 있는 상태에서, 전자 장치(380)와 외부 장치에서 대응되는 움직임이 감지되는 경우, 전자 장치(380)의 디스플레이(330)에 표시되고 있는 문서 작성 화면을 외부 장치에 전송할 수 있다. 이 때, 전자 장치(380) 및 외부 장치는 사용자 입력에 따라 편집된 문서 정보를 전달하여, 작성된 문서 내용을 동기화 할 수 있다.According to another embodiment, theprocessor 350 may execute a screen sharing function with an external device. For example, when a corresponding movement is detected between theelectronic device 380 and the external device while writing a document (or memo) in theelectronic device 380 and the external device, the display ( 330) may be transmitted to the external device. In this case, theelectronic device 380 and the external device may transmit the edited document information according to a user input to synchronize the prepared document contents.

다른 실시예에 따르면, 프로세서(350)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 실행 중인 어플리케이션에서 생성된 그룹에 외부 장치를 추가할 수 있다. 예를 들어, 전자 장치(380)에서 게임 어플리케이션이 실행 중인 경우, 움직임 감지를 통해 외부 장치에서 동일한 게임을 실행 하거나, 게임 실행 중 동일한 게임 그룹에 참여 할 수 있다.According to another embodiment, theprocessor 350 may add the external device to the group created by the running application in response to the acquisition of the first motion information and the second motion information. For example, when a game application is running on theelectronic device 380, the same game may be executed on the external device through motion detection, or the same game may be participated in the same game group while the game is running.

다른 실시예에 따르면, 프로세서(350)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 외부 장치에서 실행 중인 어플리케이션을 전자 장치(380)에서 실행할 수 있다.According to another embodiment, theprocessor 350 may execute an application being executed in the external device in theelectronic device 380 in response to the acquisition of the first motion information and the second motion information.

다른 실시예에 따르면, 프로세서(350)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 메모리(320)에 저장된 디지털 키를 외부 장치에 전송할 수 있다. 이 때, 디지털 키의 유효 기간을 설정하여 전송할 수 있다.According to another embodiment, theprocessor 350 may transmit the digital key stored in thememory 320 to the external device in response to the acquisition of the first motion information and the second motion information. In this case, the validity period of the digital key can be set and transmitted.

다른 실시예에 따르면, 프로세서(350)는 공유 가능한 파일이나, 컨택, 일정, 또는 노트 어플리케이션에서 특정 컨텐츠를 선택 또는 오픈 한 상태에서, 움직임이 감지되는 경우, 해당 컨텐츠를 공유할 수 있다. 프로세서(350)는 외부 장치로부터 수신한 컨텐츠를 정해진 폴더에 저장할 수 있다.According to another embodiment, theprocessor 350 may share the corresponding content when a motion is detected while selecting or opening a shareable file, a contact, a schedule, or a specific content in a note application. Theprocessor 350 may store the content received from the external device in a predetermined folder.

다른 실시예에 따르면, 프로세서(350)는 외부 장치로부터 수신한 파일을 전자 장치(380)에 저장된 파일과 합성하여 하나의 파일로 생성할 수 있다.According to another embodiment, theprocessor 350 may generate one file by combining a file received from the external device with a file stored in theelectronic device 380 .

다른 실시예에 따르면, 프로세서(350)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 전자 장치(380)의 설정 정보, 데이터 또는 어플리케이션을 외부 장치에 전송할 수 있다.According to another embodiment, theprocessor 350 may transmit setting information, data, or an application of theelectronic device 380 to an external device in response to acquisition of the first motion information and the second motion information.

다양한 실시예에 따르면, 프로세서(350)는 동작 상태에 기반하여 결정된 기능을 수행할 수 있다. 프로세서(350)는 결정된 기능과 관련된 정보를 근거리 통신(예: BLE 통신)을 통해 외부 장치에 전송하고, 외부 장치는 수신한 정보에 기초하여 기능을 수행할 수 있다.According to various embodiments, theprocessor 350 may perform a function determined based on an operating state. Theprocessor 350 may transmit information related to the determined function to an external device through short-range communication (eg, BLE communication), and the external device may perform a function based on the received information.

다양한 실시예에 따르면, 프로세서(350)는 지정된 기능을 실행하는 경우, 실행 여부를 확인하기 위한 UI(예: 팝업 메시지)를 디스플레이(330)에 표시할 수 있다. 프로세서(350)는 UI 상의 사용자 선택에 따라 컨텐츠 전송 동작 상태에 대응하는 기능을 수행할 수 있다.According to various embodiments, when a specified function is executed, theprocessor 350 may display a UI (eg, a pop-up message) for checking whether the function is executed on thedisplay 330 . Theprocessor 350 may perform a function corresponding to a content transmission operation state according to a user selection on the UI.

다양한 실시예에 따르면, 전자 장치(380)(예: 근거리 통신 모듈(310))는 복수의 근거리 무선 통신 방식을 지원할 수 있으며, 예를 들어, BLE를 이용해 외부 장치와의 GATT(generic attribute profile) 연결, BLE 페어링, 및/또는 사용자 인증 과정을 수행할 수 있다. 이 후, 연결이 완료되는 경우, 전자 장치(380)는 수행할 기능의 특성에 따라 복수의 근거리 무선 통신 방식 중 하나를 선택할 수 있다. 예를 들어, 전자 장치(380)는 BLE 통신으로 외부 장치와 연결 이후, Wi-Fi direct를 이용해 컨텐츠를 전송할 수 있다. 이 때, 외부 장치로부터 수신되는 신호의 세기(또는 신호의 품질), 각 무선 근거리 무선 통신의 사용 여부, 및/또는 사용자의 선택 중 적어도 하나에 기초하여 컨텐츠 전송에 사용할 근거리 무선 통신 방식을 선택할 수 있다.According to various embodiments, the electronic device 380 (eg, short-range communication module 310 ) may support a plurality of short-range wireless communication methods, for example, GATT (generic attribute profile) with an external device using BLE. Connection, BLE pairing, and/or user authentication may be performed. Thereafter, when the connection is completed, theelectronic device 380 may select one of a plurality of short-range wireless communication methods according to the characteristics of the function to be performed. For example, theelectronic device 380 may transmit content using Wi-Fi direct after connecting with an external device through BLE communication. At this time, a short-range wireless communication method to be used for content transmission can be selected based on at least one of the strength (or signal quality) of a signal received from an external device, whether to use each wireless short-range wireless communication, and/or a user's selection. have.

다양한 실시예에 따르면, 전자 장치(380)는 복수의 외부 전자 장치의 동작 상태에 따라 복수의 외부 전자 장치와 적어도 일부 동시에 또는 순차적으로 지정된 기능을 실행할 수 있다. 예를 들어, 전자 장치(380)는 복수의 외부 전자 장치에서 지정된 동작이 지정된 시간 이내에 감지되는 경우, 각 외부 전자 장치의 동작 상태를 확인하고, 동작 상태에 대응되는 기능(예: 각 외부 전자 장치로 선택된 컨텐츠의 전송)을 수행할 수 있다.According to various embodiments, theelectronic device 380 may execute a specified function at least partially simultaneously or sequentially with the plurality of external electronic devices according to the operating states of the plurality of external electronic devices. For example, when a specified operation is detected from a plurality of external electronic devices within a specified time, theelectronic device 380 checks the operation state of each external electronic device and performs a function corresponding to the operation state (eg, each external electronic device). to transmit the selected content).

도 4는 다양한 실시예에 따른 제1전자 장치(480) 및 제2전자 장치(490)의 기능 수행 방법의 흐름도이다.4 is a flowchart of a method of performing functions of the firstelectronic device 480 and the secondelectronic device 490 according to various embodiments of the present disclosure.

도 4의 제1전자 장치(480) 및 제2전자 장치(490)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.The firstelectronic device 480 and the secondelectronic device 490 of FIG. 4 may be devices including the same components as the electronic device 101 of FIG. 1 or theelectronic device 380 of FIG. 3 .

동작 401에서, 제1전자 장치(480)는 지정된 이벤트에 대응하여 근거리 무선 신호를 브로드캐스팅 할 수 있다. 이하에서는, 제1전자 장치(480)가 브로드캐스팅하는 근거리 무선 신호를 BLE 신호로 예를 들어 설명하나, 이에 한정되지 않으며, Wi-Fi aware와 같은 제2전자 장치(490)의 탐색, 연결을 지원하는 다른 근거리 무선 통신 방식이 사용될 수도 있다.Inoperation 401, the firstelectronic device 480 may broadcast a short-range wireless signal in response to a specified event. Hereinafter, a short-range wireless signal broadcast by the firstelectronic device 480 will be described as an example as a BLE signal, but the present invention is not limited thereto, and discovery and connection of the secondelectronic device 490 such as Wi-Fi aware Other supported short-range wireless communication methods may be used.

다양한 실시예에 따르면, 지정된 이벤트는 지정된 어플리케이션의 실행, 디스플레이(330)에 대한 터치 입력 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함할 수 있다. 예를 들어, 제1전자 장치(480)는 갤러리 어플리케이션에서 특정 이미지 컨텐츠가 선택되고, 해당 이미지 컨텐츠의 공유 기능이 실행되는 경우, BLE 신호를 브로드캐스팅 할 수 있다. 제1전자 장치(480)에서 전송하는 BLE 신호는 제1전자 장치의 동작 상태(예: 이미지 컨텐츠의 공유 기능 실행)와 관련된 정보 및 제1전자 장치의 전화 번호(예: IMEI), 어플리케이션(또는 기능)에서 설정된 ID, 및/또는 디바이스 정보(예: MAC 어드레스)와 같이 제1전자 장치(480)(또는 사용자)를 특정할 수 있는 다양한 정보를 포함하는 제1사용자 정보를 포함할 수 있다.According to various embodiments, the specified event may include at least one of execution of a specified application, a touch input to thedisplay 330, or a user input to an external key. For example, when a specific image content is selected in the gallery application and a sharing function of the image content is executed, the firstelectronic device 480 may broadcast a BLE signal. The BLE signal transmitted from the firstelectronic device 480 includes information related to an operation state (eg, execution of a sharing function of image content) of the first electronic device, and a phone number (eg, IMEI) of the first electronic device, an application (or function) and/or the first user information including various information for specifying the first electronic device 480 (or the user) such as device information (eg, MAC address).

제1전자 장치(480)가 BLE 신호를 브로드캐스팅하는 경우, BLE의 감지 거리 내에 위치한 다른 장치들(예: 제2전자 장치(490))이 BLE 신호를 감지할 수 있다. 제1전자 장치(480)는 제1전자 장치(480)의 움직임을 감지하기 위해, 센서(예: 도 3의 센서(340), 예를 들어, 가속도 센서, 및/또는 자이로 센서)를 활성화 할 수 있다.When the firstelectronic device 480 broadcasts the BLE signal, other devices (eg, the second electronic device 490) located within the BLE detection distance may detect the BLE signal. The firstelectronic device 480 may activate a sensor (eg, thesensor 340 of FIG. 3 , for example, an acceleration sensor, and/or a gyro sensor) to detect the movement of the firstelectronic device 480 . can

동작 402에서, 제1전자 장치(480)는 센서를 이용하여 제1전자 장치(480)의 움직임을 감지할 수 있다. 예를 들어, 제1전자 장치(480)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같이 지정된 움직임을 감지할 수 있고, 움직임이 지정된 조건을 만족하는 경우 제1움직임 정보를 생성할 수 있다. 다양한 실시예에 따르면, 제1움직임 정보는 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)의 발생 여부에 따라 flag 0 또는 1로 설정될 수 있다. 또한, 제1전자 장치(480)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작의 횟수, 지속 시간 및/또는 발생 시간에 대한 정보를 획득할 수 있다.Inoperation 402 , the firstelectronic device 480 may detect the movement of the firstelectronic device 480 using a sensor. For example, the firstelectronic device 480 may detect a specified motion such as a shake motion, a tap motion, a rollable motion, or a folding motion, and may generate first motion information when the motion satisfies a specified condition. can According to various embodiments, the first motion information may be set toflag 0 or 1 according to whether a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) occurs. Also, the firstelectronic device 480 may obtain information on the number, duration, and/or occurrence time of the shake operation, the tap operation, the rollable operation, or the foldable operation.

동작 404에서, 제2전자 장치(490)는 센서(예: 도 3의 센서(340))를 이용해 제2전자 장치(490)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다. 제2전자 장치(490)는 제1전자 장치(480)로부터 브로드캐스팅 되는 BLE 신호를 수신하는 경우, 제2전자 장치(490)의 센서를 활성화 하고 움직임을 감지할 수 있다.Inoperation 404 , the secondelectronic device 490 uses a sensor (eg, thesensor 340 of FIG. 3 ) to move the second electronic device 490 (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation). motion) can be detected. When receiving the BLE signal broadcast from the firstelectronic device 480 , the secondelectronic device 490 may activate a sensor of the secondelectronic device 490 and detect a movement.

동작 405에서, 제2전자 장치(490)는 획득한 제2움직임 정보를 제1전자 장치(480)에 전송할 수 있다. 일 실시예에서, 제2전자 장치(490)는 제2전자 장치(490)의 제2사용자 정보를 더 전송할 수 있다. 제2전자 장치(490)는 제2전자 장치(490)의 동작 상태(예: 이미지 컨텐츠의 공유 기능 실행)와 관련된 정보를 제1전자 장치(480)로 전송할 수 있다.Inoperation 405 , the secondelectronic device 490 may transmit the acquired second motion information to the firstelectronic device 480 . In an embodiment, the secondelectronic device 490 may further transmit second user information of the secondelectronic device 490 . The secondelectronic device 490 may transmit information related to an operation state of the second electronic device 490 (eg, execution of a sharing function of image content) to the firstelectronic device 480 .

다양한 실시예에 따르면, 제1전자 장치(480) 및 제2전자 장치(490)는 제1움직임 정보 및 제2움직임 정보가 공유되는 경우, GATT(generic attribute profile) 연결, BLE 페어링, 및/또는 사용자 인증 과정을 통해 상호 연결을 수행할 수 있다.According to various embodiments, when the firstelectronic device 480 and the secondelectronic device 490 share the first motion information and the second motion information, a GATT (generic attribute profile) connection, BLE pairing, and/or Interconnection can be performed through the user authentication process.

도 4에서는 동작 402 이후에 동작 404 및 동작 405가 수행되는 것으로 도시되어 있으나, 그 순서에는 정함이 없다. 예를 들어, 제2전자 장치(490)의 사용자에 의해 제1전자 장치(480)보다 먼저 shake 동작, tab 동작, 롤러블 동작 또는 폴더블 동작과 같은 움직임이 감지되는 경우, 동작 404 및 동작 405는 동작 402보다 적어도 일부 먼저 수행될 수 있다.4 shows thatoperations 404 and 405 are performed afteroperation 402, but the order is not determined. For example, when a motion such as a shake motion, a tab motion, a rollable motion, or a folding motion is detected by the user of the secondelectronic device 490 before the firstelectronic device 480 ,operations 404 and 405 . may be performed at least partially prior tooperation 402 .

동작 406에서, 제1전자 장치(480)는 제2전자 장치(490)로부터 전송되는 제2움직임 정보를 확인할 수 있다. 일 실시예에서, 제1전자 장치(480)는 전자 장치의 shake 동작 tab 동작, 롤러블 동작 또는 폴더블 동작의 감지 후 지정된 시간 이내에 수신되는 제2움직임 정보를 확인할 수 있다.Inoperation 406 , the firstelectronic device 480 may identify second motion information transmitted from the secondelectronic device 490 . In an embodiment, the firstelectronic device 480 may check the second motion information received within a specified time after detecting the shake motion tab motion, the rollable motion, or the foldable motion of the electronic device.

동작 407에서, 제1전자 장치(480)는 제1전자 장치(480) 및/또는 제2전자 장치(490)의 동작 상태를 확인할 수 있다. 여기서, 동작 상태는 지정된 서비스, 어플리케이션, 또는 기능의 수행 상태를 포함할 수 있다.Inoperation 407 , the firstelectronic device 480 may check the operating state of the firstelectronic device 480 and/or the secondelectronic device 490 . Here, the operation state may include a performance state of a specified service, application, or function.

동작 408에서, 제1전자 장치(480)는 동작 상태에 맵핑된 기능을 확인할 수 있다. 예를 들어, 제1전자 장치(480)에서 갤러리 어플리케이션의 컨텐츠 공유가 실행 중인 경우, 제2전자 장치(490)로의 컨텐츠 전송 기능을 수행하도록 결정할 수 있다. 다른 예를 들어, 제2전자 장치(490)에서 갤러리 어플리케이션의 컨텐츠 공유가 실행 중인 경우, 제2전자 장치(490)로부터의 컨텐츠 수신 기능을 수행하도록 결정할 수 있다.Inoperation 408, the firstelectronic device 480 may identify a function mapped to an operation state. For example, when content sharing of the gallery application is being executed in the firstelectronic device 480 , it may be determined to perform a content transmission function to the secondelectronic device 490 . As another example, when content sharing of the gallery application is being executed in the secondelectronic device 490 , it may be determined to perform a content receiving function from the secondelectronic device 490 .

동작 409에서, 제1전자 장치(480) 및 제2전자 장치(490)는 확인된 기능(예: 컨텐츠의 전송 또는 수신)을 수행할 수 있다. 이 때, 제1전자 장치(480) 및 제2전자 장치(490)는 복수의 근거리 통신 방식 중 어느 하나(예: Wi-Fi direct)로 연결되어 기능을 수행할 수 있다.Inoperation 409 , the firstelectronic device 480 and the secondelectronic device 490 may perform a confirmed function (eg, transmission or reception of content). In this case, the firstelectronic device 480 and the secondelectronic device 490 may be connected to one of a plurality of short-range communication methods (eg, Wi-Fi direct) to perform a function.

도 5는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치의 컨텐츠 공유 방법의 흐름도이다.5 is a flowchart of a content sharing method of a first electronic device and a second electronic device according to various embodiments of the present disclosure;

도 5의 제1전자 장치(580) 및 제2전자 장치(590)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.The firstelectronic device 580 and the secondelectronic device 590 of FIG. 5 may be devices including the same components as the electronic device 101 of FIG. 1 or theelectronic device 380 of FIG. 3 .

도 5를 참조 하면, 다양한 실시예에 따른 제1전자 장치(580)(예: 도 2의 전자 장치(200), 도 3의 전자 장치(380) 또는 도 4의 제1전자 장치(480))는 어플리케이션(581), 연결 서비스 프레임워크(582), 서비스 모듈(583)를 포함하고, 제2전자 장치는 어플리케이션(591), 연결 서비스 프레임워크(592), 서비스 모듈(593)을 포함할 수 있다. 어플리케이션(591, 592)은 컨텐츠 공유 기능을 지원하는 어플리케이션 중 하나이고, 예를 들어, 갤러리 어플리케이션일 수 있다. 이하에서는 도 5를 통해 제1전자 장치(580)가 제2전자 장치(590)(예: 도 4의 제2전자 장치(490))에 갤러리 어플리케이션(581)의 이미지 컨텐츠를 전송하는 동작에서 각 구성의 동작 및 통신에 대해 설명하기로 한다. 연결 서비스 프레임워크(connectivity service framework)(582, 592)(또는 공유 모듈)는 갤러리 어플리케이션(581)에서 구현되는 컨텐츠 공유 기능(예: Insync, 또는 quick share)을 수행하는 소프트웨어 모듈이고, 서비스 모듈(583, 593)(또는 BT advanced OPP(object push profile))는 컨텐츠 공유에 사용되는 프로파일일 수 있다. 후술할 어플리케이션(581, 591), 연결 서비스 프레임워크(582, 592), 서비스 모듈(583, 593)의 동작 중 적어도 일부는 제1전자 장치(580) 및/또는 제2전자 장치(590)의 프로세서(예: 도 3의 프로세서(350))에 의해 수행될 수 있다.Referring to FIG. 5 , a first electronic device 580 (eg, theelectronic device 200 of FIG. 2 , theelectronic device 380 of FIG. 3 , or the firstelectronic device 480 of FIG. 4 ) according to various embodiments of the present disclosure. may include an application 581 , aconnection service framework 582 , and aservice module 583 , and the second electronic device may include an application 591 , a connection service framework 592 , and aservice module 593 . have. The applications 591 and 592 are one of applications supporting a content sharing function, and may be, for example, a gallery application. Hereinafter, in the operation of the firstelectronic device 580 transmitting the image content of the gallery application 581 to the second electronic device 590 (eg, the secondelectronic device 490 of FIG. 4 ) through FIG. 5 , each The operation and communication of the configuration will be described. Connection service framework (connectivity service framework) (582, 592) (or sharing module) is a software module that performs a content sharing function (eg, Insync, or quick share) implemented in the gallery application 581, the service module ( 583 and 593 (or BT advanced object push profile (OPP)) may be a profile used for content sharing. At least some of the operations of the applications 581 and 591 , theconnection service frameworks 582 and 592 , and theservice modules 583 and 593 to be described later are performed by the firstelectronic device 580 and/or the secondelectronic device 590 . It may be performed by a processor (eg, theprocessor 350 of FIG. 3 ).

동작 501에서, 제1전자 장치(580)의 어플리케이션(581)은 컨텐츠 선택을 위한 사용자 입력(또는 user action)을 감지할 수 있다. 예를 들어, 갤러리 어플리케이션(581)에서 특정 이미지 컨텐츠를 선택한 후 메뉴에서 컨텐츠 공유 메뉴를 선택하거나, 롱 터치와 같은 지정된 터치 입력, 또는 detail view 의 선택 시 해당 컨텐츠를 선택하고 외부 장치(예: 제2전자 장치(590))와 공유를 위한 동작을 수행할 수 있다.Inoperation 501 , the application 581 of the firstelectronic device 580 may detect a user input (or user action) for content selection. For example, after selecting a specific image content in the gallery application 581, select the content sharing menu from the menu, or select the corresponding content when selecting a specified touch input such as a long touch or detail view and selecting an external device (eg, An operation for sharing with the secondelectronic device 590 may be performed.

동작 502에서, 갤러리 어플리케이션(581)은 선택된 이미지 컨텐츠를 제1전자 장치(580)의 연결 서비스 프레임워크(582)에 공유할 컨텐츠로 등록 할 수 있다. 예를 들어, 갤러리 어플리케이션(581)은 연결 서비스 프레임워크(582)에 컨텐츠 공유 요청할 수 있다. 일 실시예에 따르면, 갤러리 어플리케이션(581)은 선택된 이미지 컨텐츠에 대한 정보(예: 파일명, 파일 크기 및/또는 파일 위치)를 연결 서비스 프레임워크(582)로 전달할 수 있다.Inoperation 502 , the gallery application 581 may register the selected image content as content to be shared in theconnection service framework 582 of the firstelectronic device 580 . For example, the gallery application 581 may request theconnection service framework 582 to share content. According to an embodiment, the gallery application 581 may transmit information about the selected image content (eg, a file name, a file size, and/or a file location) to theconnection service framework 582 .

동작 503에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 컨텐츠 선택에 대응하여, 센서(예: 가속도 센서 및/또는 자이로 센서)를 활성화 시킬 수 있다. 다른 실시예에 따르면, 제1전자 장치(580)는 컨텐츠 선택을 위한 사용자 입력의 감지(501) 이전에 사용자 입력에 따라 센서를 활성화 하거나, BLE 신호를 애드버타이징(504)한 이후에 센서를 활성화 할 수도 있다.Inoperation 503 , theconnection service framework 582 of the firstelectronic device 580 may activate a sensor (eg, an acceleration sensor and/or a gyro sensor) in response to content selection. According to another embodiment, the firstelectronic device 580 activates the sensor according to the user input before thedetection 501 of the user input for content selection, or after advertising theBLE signal 504 , the sensor can also be activated.

동작 504에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 컨텐츠 선택에 대응하여 근거리 통신 모듈(예: 도 3의 근거리 통신 모듈(310))을 통한 근거리 무선 통신 신호(예: BLE 신호)의 애드버타이징(advertising)(또는 브로드캐스팅)을 개시 할 수 있다.Inoperation 504, theconnection service framework 582 of the firstelectronic device 580 transmits a short-range wireless communication signal (eg: It is possible to start advertising (or broadcasting) of the BLE signal).

동작 505에서, 애드버타이징 된 BLE 신호는 제2전자 장치(590)에 수신될 수 있다. 여기서, BLE 신호는 센서의 활성화 요청을 포함하며, 제1전자 장치(580)와 제2전자 장치(590)의 연결(예: 페어링)을 위한 정보는 포함하지 않을 수 있다. (예: non-connectable BLE advertising)Inoperation 505 , the advertised BLE signal may be received by the secondelectronic device 590 . Here, the BLE signal may include a sensor activation request, and may not include information for connection (eg, pairing) between the firstelectronic device 580 and the secondelectronic device 590 . (e.g. non-connectable BLE advertising)

동작 506에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 BLE 신호의 스캐닝을 개시할 수 있다.Inoperation 506 , theconnection service framework 582 of the firstelectronic device 580 may initiate scanning of a BLE signal.

동작 507에서, 제2전자 장치(590)의 연결 서비스 프레임워크(592)는 onScan 상태로 동작할 수 있다.Inoperation 507 , the connection service framework 592 of the secondelectronic device 590 may operate in an onScan state.

동작 508에서, 제2전자 장치(590)의 연결 서비스 프레임워크(592)는 제1전자 장치(580)로부터 수신한 BLE 신호에 기초하여 센서를 활성화 할 수 있다.Inoperation 508 , the connection service framework 592 of the secondelectronic device 590 may activate the sensor based on the BLE signal received from the firstelectronic device 580 .

동작 509에서, 제1전자 장치(580)는 센서를 통해 지정된 움직임을 감지하고, 제2전자 장치(590)는 센서를 통해 지정된 움직임을 감지할 수 있다. 예를 들어, 지정된 움직임은 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작을 포함할 수 있다. 제1전자 장치(580)는 감지된 움직임에 대응하여 제1움직임 정보를 생성하여 제2전자 장치(590)에 전송하고, 제2전자 장치(590)는 감지된 움직임에 대응하여 제2움직임 정보를 생성하여 제1전자 장치(580)에 전송할 수 있다. 또한, 제1전자 장치(580)의 제1사용자 정보 및 제2전자 장치(590)의 제2사용자 정보가 서로 교환될 수 있다.Inoperation 509 , the firstelectronic device 580 detects a designated movement through a sensor, and the secondelectronic device 590 detects a designated movement through a sensor. For example, the designated motion may include a shake motion, a tap motion, a rollable motion, or a foldable motion. The firstelectronic device 580 generates first motion information in response to the sensed motion and transmits it to the secondelectronic device 590 , and the secondelectronic device 590 generates second motion information in response to the detected motion. may be generated and transmitted to the firstelectronic device 580 . Also, the first user information of the firstelectronic device 580 and the second user information of the secondelectronic device 590 may be exchanged with each other.

동작 510에서, 제2전자 장치(590)의 연결 서비스 프레임워크(592)는 근거리 무선 통신 신호(예: BLE 신호)의 애드버타이징을 개시할 수 있다.Inoperation 510 , the connection service framework 592 of the secondelectronic device 590 may start advertising a short-range wireless communication signal (eg, a BLE signal).

동작 511에서, 제2전자 장치(590)에서 애드버타이징 된 BLE 신호는 제1전자 장치(580)에서 수신될 수 있다. 여기서, BLE 신호는 제1전자 장치(580)와 제2전자 장치(590)의 연결(예: 페어링)을 위한 정보를 포함할 수 있다. (예: connectable BLE advertising for interaction)Inoperation 511 , the BLE signal advertised by the secondelectronic device 590 may be received by the firstelectronic device 580 . Here, the BLE signal may include information for connection (eg, pairing) between the firstelectronic device 580 and the secondelectronic device 590 . (Example: connectable BLE advertising for interaction)

동작 512에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 onScan 상태로 동작하고, 제2전자 장치(590)로부터 전송되는 BLE 신호를 수신할 수 있다.Inoperation 512 , theconnection service framework 582 of the firstelectronic device 580 may operate in an onScan state and receive a BLE signal transmitted from the secondelectronic device 590 .

동작 513에서, 제1전자 장치(580) 및 제2전자 장치(590)는 BLE 연결을 수행할 수 있다.Inoperation 513 , the firstelectronic device 580 and the secondelectronic device 590 may perform BLE connection.

다양한 실시에 따르면, 제1전자 장치(580) 및 제2전자 장치(590)는 BLE 연결 과정 또는 그 이후에 상호 인증 및 이후 데이터 교환을 위해 필요한 데이터를 교환할 수 있다.According to various implementations, the firstelectronic device 580 and the secondelectronic device 590 may exchange data necessary for mutual authentication and subsequent data exchange during or after the BLE connection process.

다양한 실시예에 따르면, 제1전자 장치(580) 및 제2전자 장치(590)는 상호 인증 없이, BLE 신호를 이용해 각 장치의 동작 상태 및 움직임 정보를 교환할 수 있다.According to various embodiments, the firstelectronic device 580 and the secondelectronic device 590 may exchange operation state and motion information of each device using a BLE signal without mutual authentication.

동작 515에서, 제1전자 장치(80)의 연결 서비스 프레임워크(582)는 제2전자 장치(590)로부터 수신한 데이터(예: 제2사용자 정보)의 유효성(validity)을 검증할 수 있다. 예를 들어, 제2전자 장치(590)의 전화 번호가 제1전자 장치(580)의 컨택 어플리케이션에 저장되어 있거나, 연결 서비스 프레임워크(582) 또는 특정 어플리케이션에 제2전자 장치(590)의 ID가 기록되어 있는 경우, 유효한 것으로 판단할 수 있다.Inoperation 515 , theconnection service framework 582 of the first electronic device 80 may verify the validity of data (eg, second user information) received from the secondelectronic device 590 . For example, the phone number of the secondelectronic device 590 is stored in the contact application of the firstelectronic device 580 , or the ID of the secondelectronic device 590 is stored in theconnection service framework 582 or a specific application. If is recorded, it can be judged to be valid.

동작 516에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 유효성 확인에 따라, 어플리케이션(581)에 제2전자 장치(590)가 확인됨(device found)을 전송할 수 있다.Inoperation 516 , theconnection service framework 582 of the firstelectronic device 580 may transmit device found to the application 581 according to validation.

동작 517에서, 어플리케이션(581)은 연결 서비스 프레임워크(582)에 컨텐츠 공유를 위한 URI(uniform resource identifier)를 전송할 수 있다.Inoperation 517 , the application 581 may transmit a uniform resource identifier (URI) for content sharing to theconnection service framework 582 .

동작 518에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 디스플레이(예: 도 3의 디스플레이(330))를 통해 컨텐츠 공유의 실행 여부를 확인하기 위한 UI(예: 팝업 메시지)를 표시하고, 사용자 입력을 수신할 수 있다.Inoperation 518, theconnection service framework 582 of the firstelectronic device 580 performs a UI (eg, a pop-up message) for confirming whether content sharing is executed through a display (eg, thedisplay 330 of FIG. 3 ). may be displayed, and a user input may be received.

동작 519에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 컨텐츠 공유를 위해 지정된 근거리 무선 통신 방식(예: 블루투스, 또는 Wi-Fi)을 활성화 하기 위한 메시지를 제2전자 장치(590)의 연결 서비스 프레임워크(592)에 전송할 수 있다.Inoperation 519, theconnection service framework 582 of the firstelectronic device 580 sends a message for activating a short-range wireless communication method (eg, Bluetooth or Wi-Fi) designated for content sharing to the second electronic device ( 590 may be transmitted to the connection service framework 592 .

동작 520에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 서비스 모듈(object push profile)(583)에 컨텐츠 전송을 요청할 수 있다.Inoperation 520 , theconnection service framework 582 of the firstelectronic device 580 may request the service module (object push profile) 583 to transmit content.

동작 521에서, 제1전자 장치(580)의 서비스 모듈(583)는 제2전자 장치(590)와 컨텐츠 공유 기능 실행에 사용될 근거리 무선 통신 방식(예: 블루투스, Wi-Fi direct)을 선택하고, 선택된 근거리 무선 통신 방식을 이용해 상호 연결을 시도하고, 상기 연결을 통해 선택된 컨텐츠를 제2전자 장치(590)에 전송할 수 있다. 도 5에서는 제1전자 장치(580) 및 제2전자 장치(590)가 블루투스(또는 BLE)를 이용해 컨텐츠 공유를 수행하기 위해 서비스 모듈 과정을 수행하는 것으로 설명 하였으나, Wi-Fi Direct를 이용하는 경우 제1전자 장치(580) 및 제2전자 장치(590)는 Wi-Fi Direct 연결을 위한 동작을 수행할 수 있다.Inoperation 521, theservice module 583 of the firstelectronic device 580 selects a short-range wireless communication method (eg, Bluetooth, Wi-Fi direct) to be used for executing a content sharing function with the secondelectronic device 590, Interconnection may be attempted using the selected short-range wireless communication method, and the selected content may be transmitted to the secondelectronic device 590 through the connection. In FIG. 5, the firstelectronic device 580 and the secondelectronic device 590 perform the service module process to share content using Bluetooth (or BLE). However, when using Wi-Fi Direct, The firstelectronic device 580 and the secondelectronic device 590 may perform an operation for Wi-Fi Direct connection.

동작 522에서, 제2전자 장치(590)의 연결 서비스 프레임워크(592)는 디스플레이를 통해 컨텐츠 수신 여부를 확인하기 위한 UI(예: 팝업 메시지)를 표시하고, 사용자 입력이 수신되는 경우, 컨텐츠를 수신하여 메모리에 저장할 수 있다. 제1전자 장치(580) 및 제2전자 장치(590)가 각각 컨텐츠를 송신 및 수신하는 경우, 각 장치의 디스플레이에 컨텐츠의 송수신과 관련된 정보가 표시될 수 있다.Inoperation 522, the connection service framework 592 of the secondelectronic device 590 displays a UI (eg, a pop-up message) for confirming whether the content is received through the display, and when a user input is received, the content is provided received and stored in memory. When the firstelectronic device 580 and the secondelectronic device 590 transmit and receive content, respectively, information related to content transmission/reception may be displayed on a display of each device.

동작 523에서, 컨텐츠 전송이 완료됨에 따라, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 어플리케이션(581)에 결과를 전송할 수 있다.Inoperation 523 , as the content transmission is completed, theconnection service framework 582 of the firstelectronic device 580 may transmit the result to the application 581 .

동작 524에서, 제1전자 장치(580)의 어플리케이션(581)은 연결 서비스 프레임워크(582)에 등록 해제(unregister)를 요청할 수 있다. 이에 따라, 제1전자 장치(580)의 센서도 비활성화 될 수 있다. 일 실시예에 따르면, 제2전자 장치(590)도 동작 508에서 활성화한 센서를 비활성화 할 수 있다.Inoperation 524 , the application 581 of the firstelectronic device 580 may request unregister from theconnection service framework 582 . Accordingly, the sensor of the firstelectronic device 580 may also be deactivated. According to an embodiment, the secondelectronic device 590 may also deactivate the sensor activated inoperation 508 .

도 6 내지 도 9는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치의 기능 수행 방법의 흐름도이다. 이하에서는, 제1전자 장치 및 제2전자 장치가 컨텐츠 공유 기능을 수행하는 예에 대해 설명하기로 하나, 수행할 수 있는 기능은 이에 한정되지 않고, 화면 공유 기능, 어플리케이션에서 생성된 그룹 추가, 어플리케이션의 실행과 같은 다양한 기능이 수행될 수 있다.6 to 9 are flowcharts of methods of performing functions of a first electronic device and a second electronic device according to various embodiments of the present disclosure; Hereinafter, an example in which the first electronic device and the second electronic device perform the content sharing function will be described, but the functions that can be performed are not limited thereto, and the screen sharing function, the addition of a group created in the application, and the application Various functions may be performed, such as the execution of

도 6은 제2전자 장치가 제1전자 장치와 동일한 기능을 수행하지 않는 경우의 기능 수행 방법의 흐름도이다.6 is a flowchart of a method for performing a function when the second electronic device does not perform the same function as that of the first electronic device.

도 6의 제1전자 장치(680) 및 제2전자 장치(690)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.The firstelectronic device 680 and the secondelectronic device 690 of FIG. 6 may be devices including the same components as the electronic device 101 of FIG. 1 or theelectronic device 380 of FIG. 3 .

도 6은 제1전자 장치(680)는 컨텐츠 공유 기능을 지원하는 어플리케이션(또는 기능)을 실행하고, 제2전자 장치(690)는 해당 어플리케이션(또는 기능)을 실행하지 않은 상태에서 각 장치의 동작을 도시하고 있다.6 shows the operation of each device when the firstelectronic device 680 executes an application (or function) supporting the content sharing function, and the secondelectronic device 690 does not execute the corresponding application (or function) is showing

동작 601에서, 제1전자 장치(680)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 예를 들어, 제1전자 장치(680)는 어플리케이션 상에서 컨텐츠 공유 메뉴를 선택하거나, 컨텐츠 상에서 롱 터치와 같은 지정된 터치 입력 또는 detail view의 선택 시, 공유할 컨텐츠를 선택할 수 있다. 또한, 제1전자 장치(680)는 컨텐츠 공유를 위한 움직임 동작(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 결정하는 메뉴를 추가로 제공할 수 있다. 제1전자 장치(680)의 어플리케이션은 공유 모듈(예: 도 5의 공유 모듈(582))에 선택된 컨텐츠를 공유할 컨텐츠로 등록할 수 있다.Inoperation 601 , the firstelectronic device 680 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running. . For example, the firstelectronic device 680 may select a content to be shared when a content sharing menu is selected on an application or a specified touch input such as a long touch or a detail view is selected on the content. In addition, the firstelectronic device 680 may additionally provide a menu for determining a movement operation (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) for content sharing. The application of the firstelectronic device 680 may register the selected content in the sharing module (eg, thesharing module 582 of FIG. 5 ) as content to be shared.

제1전자 장치(680)는 컨텐츠의 선택 시, 제1전자 장치(680)의 움직임을 감지하기 위해, 센서(예: 도 3의 센서(340))가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.The firstelectronic device 680 may activate the sensor when the sensor (eg, thesensor 340 of FIG. 3 ) is in an inactive state in order to detect the movement of the firstelectronic device 680 when content is selected. have.

동작 602에서, 제1전자 장치(680)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 이하에서는, 제1전자 장치(680)가 브로드캐스팅하는 근거리 무선 신호를 BLE 신호를 예를 들어 설명하나, 이에 한정되지 않으며, Wi-Fi aware와 같은 제2전자 장치(690)의 탐색 및/또는 연결을 지원하는 다른 근거리 무선 통신 방식이 사용될 수도 있다. 다양한 실시예에 따르면, 제1전자 장치(680)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함할 수 있다. 예를 들어, 서비스 활성화 요청은, 제1전자 장치(680)가 컨텐츠 선택에 기반한 컨텐츠 공유 기능을 활성화함에 따라, 인접한 다른 장치(예: 제2전자 장치(690))에 컨텐츠 공유 기능을 위한 어플리케이션의 실행 여부의 확인을 요청하는 정보를 포함할 수 있다. 다양한 실시예에 따르면, BLE 신호는 제1전자 장치(680)의 동작 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 동작 상태와 관련된 정보는 제1전자 장치(680)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보를 포함할 수 있다. BLE 신호는 제1전자 장치(580)와 제2전자 장치(590)의 연결(예: 페어링)을 위한 정보를 포함할 수 있다.Inoperation 602, the firstelectronic device 680 may broadcast a short-range wireless signal (eg, a BLE signal). Hereinafter, the short-range wireless signal broadcast by the firstelectronic device 680 will be described as an example of a BLE signal, but the present invention is not limited thereto. Other short-range wireless communication methods supporting the connection may be used. According to various embodiments, the BLE signal broadcast from the firstelectronic device 680 may include a service activation request. For example, as the service activation request activates the content sharing function based on the content selection by the firstelectronic device 680, an application for the content sharing function is transmitted to another adjacent device (eg, the second electronic device 690). may include information requesting confirmation of whether or not the According to various embodiments, the BLE signal may include information related to the operating state of the firstelectronic device 680 . For example, the information related to the operating state may include information related to an application or service being executed in the firstelectronic device 680 . The BLE signal may include information for connection (eg, pairing) between the firstelectronic device 580 and the secondelectronic device 590 .

다양한 실시예에 따르면, 제2전자 장치(690)는 BLE 신호의 수신에 대응하여, 제2전자 장치(690)의 움직임을 감지하기 위해, 센서가 비활성화된 상태인 경우, 센서를 활성화 할 수 있다.According to various embodiments, in response to reception of the BLE signal, the secondelectronic device 690 may activate the sensor when the sensor is in an inactive state in order to detect a movement of the secondelectronic device 690 . .

일 실시예에 따르면, 동작 602는 지정된 어플리케이션의 실행에 기반하여 수행될 수 있다. 예를 들어, 제1전자 장치(680)에서 지정된 어플리케이션이 실행되거나 지정된 메뉴가 선택되는 경우, 제1전자 장치(680)는 동작 602를 수행할 수 있다. 이 경우, 동작 601은 동작 602 이후에 수행되거나 동작 609(예: 통신 연결) 이후에 수행될 수 있다.According to an embodiment,operation 602 may be performed based on execution of a specified application. For example, when a specified application is executed or a specified menu is selected in the firstelectronic device 680 , the firstelectronic device 680 may performoperation 602 . In this case,operation 601 may be performed afteroperation 602 or after operation 609 (eg, communication connection).

동작 603에서, 제1전자 장치(680)는 활성화 된 센서를 이용하여 제1전자 장치(680)의 움직임을 감지할 수 있다. 제1전자 장치(680)는 shake 동작, 또는 tap 동작과 같이 지정된 움직임을 감지할 수 있고, 움직임이 지정된 조건을 만족하는 경우 제1움직임 정보를 생성할 수 있다. 다양한 실시예에 따르면, 제1움직임 정보는 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)의 발생 여부에 따라 flag 0 또는 1로 설정될 수 있다. 또한, 제1전자 장치(680)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작의 횟수, 지속 시간 및/또는 발생 시간에 대한 정보를 획득할 수 있다. 일 실시예에 따르면, 제1전자 장치(680)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제1전자 장치(680)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다. 또는, 제1전자 장치(680) 및 제2전자 장치(690)가 무선 통신(예: UWB)을 통해 각 장치가 지시하는 방향 및/또는 2 장치 사이의 거리를 감지할 수 있는 경우, 상기 방향 및/또는 거리에 기초하여 움직임 감지에 대응하는 기능을 수행할 수 있다.Inoperation 603 , the firstelectronic device 680 may detect the movement of the firstelectronic device 680 using the activated sensor. The firstelectronic device 680 may detect a specified motion, such as a shake motion or a tap motion, and may generate first motion information when the motion satisfies a specified condition. According to various embodiments, the first motion information may be set toflag 0 or 1 according to whether a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) occurs. Also, the firstelectronic device 680 may acquire information on the number, duration, and/or occurrence time of the shake operation, the tap operation, the rollable operation, or the foldable operation. According to an embodiment, the detection of the movement of the firstelectronic device 680 includes not only detection of a specified movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) using the activated sensor, but also the detection of the first electronic device ( 680) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch). . Alternatively, when the firstelectronic device 680 and the secondelectronic device 690 can detect a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB), the direction and/or a function corresponding to motion detection may be performed based on the distance.

동작 604에서, 제2전자 장치(690)는 활성화 된 센서를 이용하여 제2전자 장치(690)의 움직임을 감지할 수 있다. 예를 들어, 제2전자 장치(690)는 컨텐츠 공유 기능을 활성화하기 위한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 발생되는지 감지할 수 있다. 일 실시예에 따르면, 제2전자 장치(690)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제2전자 장치(690)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다. 또는, 제1전자 장치(680) 및 제2전자 장치(690)가 무선 통신(예: UWB)을 통해 각 장치가 지시하는 방향 및/또는 2 장치 사이의 거리를 감지할 수 있는 경우, 상기 방향 및/또는 거리에 기초하여 움직임 감지에 대응하는 기능을 수행할 수 있다.Inoperation 604 , the secondelectronic device 690 may detect the movement of the secondelectronic device 690 using the activated sensor. For example, the secondelectronic device 690 may detect whether a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) for activating the content sharing function occurs. According to an embodiment, the detection of the motion of the secondelectronic device 690 includes not only detection of a designated motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) using the activated sensor, but also the second electronic device ( 690) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch). . Alternatively, when the firstelectronic device 680 and the secondelectronic device 690 can detect a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB), the direction and/or a function corresponding to motion detection may be performed based on the distance.

동작 605에서, 제2전자 장치(690)는 제2전자 장치(690)의 동작 상태를 확인할 수 있다. 예를 들어, 제1전자 장치(680)의 동작 상태가 컨텐츠 공유 기능을 지원하는 갤러리 어플리케이션이 실행 중인 경우, 제2전자 장치(690)에서 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인지 여부를 확인할 수 있다. 본 실시예에서는 제2전자 장치(690)가 해당 어플리케이션을 실행하고 있지 않은 것을 확인할 수 있다. 다른 실시예에서는, 제2전자 장치(690)는 제1전자 장치(680)에서 컨텐츠 공유 기능을 위해 실행 중인 갤러리 어플리케이션이 설치되지 않은 상태일 수 있다.Inoperation 605 , the secondelectronic device 690 may check the operating state of the secondelectronic device 690 . For example, when the operating state of the firstelectronic device 680 indicates that a gallery application supporting a content sharing function is running, it is determined whether the same application or another application capable of content sharing is running on the secondelectronic device 690 . can be checked In the present embodiment, it may be confirmed that the secondelectronic device 690 is not executing the corresponding application. In another embodiment, in the secondelectronic device 690 , the gallery application running for the content sharing function in the firstelectronic device 680 may not be installed.

동작 606에서, 제2전자 장치(690)는 BLE 신호를 브로드캐스팅 할 수 있다. 여기서, BLE 신호는 제1전자 장치(680)와의 컨텐츠 공유 기능 실행을 위한 통신 연결 요청을 포함할 수 있다. 또한, BLE 신호는 제2전자 장치(690)의 움직임에 대응되는 제2움직임 정보 및/또는 제2전자 장치(690)의 동작 상태와 관련된 정보를 포함할 수 있다. 일 실시예에 따르면, 제1전자 장치(680)는 제2전자 장치(690)가 전송하는 BLE 신호에 기반하여 제2전자 장치(690)와 BLE 연결을 수립할 수 있다. 예를 들어, 제1전자 장치(680) 및 제2전자 장치(690)는 GATT(generic attribute profile) 연결, BLE 페어링 및 사용자 인증 동작과 같은 상호 연결 동작에 기반하여 BLE 연결을 수립할 수 있다.Inoperation 606, the secondelectronic device 690 may broadcast a BLE signal. Here, the BLE signal may include a communication connection request for executing a content sharing function with the firstelectronic device 680 . Also, the BLE signal may include second motion information corresponding to the motion of the secondelectronic device 690 and/or information related to the operating state of the secondelectronic device 690 . According to an embodiment, the firstelectronic device 680 may establish a BLE connection with the secondelectronic device 690 based on the BLE signal transmitted by the secondelectronic device 690 . For example, the firstelectronic device 680 and the secondelectronic device 690 may establish a BLE connection based on an interconnection operation such as a generic attribute profile (GATT) connection, BLE pairing, and user authentication operation.

다양한 실시예에 따르면, 제1전자 장치(680)는 제2전자 장치(690)로부터 제2전자 장치(690)의 제2사용자 정보를 더 수신하고, 제2사용자 정보의 유효성을 검증할 수 있다. 예를 들어, 제2전자 장치(690)의 전화 번호가 제1전자 장치(680)의 컨택 어플리케이션에 저장되어 있거나, 공유 모듈 또는 특정 어플리케이션에 제2전자 장치(690)의 ID가 기록되어 있는 경우, 유효한 것으로 판단할 수 있다.According to various embodiments, the firstelectronic device 680 may further receive the second user information of the secondelectronic device 690 from the secondelectronic device 690 and verify the validity of the second user information. . For example, when the phone number of the secondelectronic device 690 is stored in the contact application of the firstelectronic device 680 or the ID of the secondelectronic device 690 is recorded in a sharing module or a specific application , can be considered valid.

동작 607에서, 제1전자 장치(680)는 제2전자 장치(690)로부터 수신한 BLE 신호에 기초하여, 제2전자 장치(690)의 제2움직임 정보 및/또는 동작 상태를 확인할 수 있다. 일 실시예에서, 제1전자 장치(680)는 제1전자 장치(680)의 shake 동작, tab 동작, 롤러블 동작 또는 폴더블 동작의 감지 후 지정된 시간 이내에 수신되는 제2움직임 정보를 확인할 수 있다. 일 실시예에서, 제1전자 장치(680)는 제2전자 장치(690)의 동작 상태에 기반하여, 제2전자 장치(690)가 갤러리 어플리케이션을 실행한 상태가 아님을 확인하고, 제1전자 장치(680)에서 선택된 컨텐츠의 제2전자 장치(690)로의 일방향 전송을 수행할 기능으로 결정할 수 있다.Inoperation 607 , the firstelectronic device 680 may check the second motion information and/or the operation state of the secondelectronic device 690 based on the BLE signal received from the secondelectronic device 690 . In an embodiment, the firstelectronic device 680 may check the second motion information received within a specified time after detecting a shake motion, a tab motion, a rollable motion, or a foldable motion of the firstelectronic device 680 . . In an embodiment, the firstelectronic device 680 confirms that the secondelectronic device 690 is not in a state in which the gallery application is executed, based on the operation state of the secondelectronic device 690 , and It may be determined as a function to perform one-way transmission of the selected content from thedevice 680 to the secondelectronic device 690 .

동작 608에서, 제1전자 장치(680)는 컨텐츠의 공유를 위해 근거리 무선 통신 연결과 관련된 정보를 제2전자 장치(690)에 전송할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(680)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct)을 선택하고, 해당 근거리 무선 통신 방식의 연결 및/또는 인증을 위해 필요한 정보를 제2전자 장치(690)에 전송할 수 있다.Inoperation 608 , the firstelectronic device 680 may transmit information related to a short-range wireless communication connection to the secondelectronic device 690 for content sharing. According to various embodiments, the firstelectronic device 680 selects a short-range wireless communication method (eg, Wi-Fi Direct) to be used for content sharing, and information necessary for connection and/or authentication of the short-range wireless communication method. may be transmitted to the secondelectronic device 690 .

동작 609에서, 제1전자 장치(680) 및 제2전자 장치(690)는 근거리 무선 통신 연결을 수립할 수 있다. 다양한 실시예에 따르면, 동작 608에서 선택된 근거리 무선 통신 방식(예: Wi-Fi Direct)으로 컨텐츠 공유가 불가능하거나 전송 실패가 발생하는 경우, 제1전자 장치(680)는 다른 근거리 무선 통신 방식(예: Bluetooth)을 이용해 제2전자 장치(690)와 연결을 시도할 수 있다. 이 경우, 제1전자 장치(680)는 Wi-Fi Direct를 이용한 전송 실패와 같은 수발신 상태를 알림 패널 또는 팝업으로 표시할 수 있다.Inoperation 609, the firstelectronic device 680 and the secondelectronic device 690 may establish a short-range wireless communication connection. According to various embodiments, when content sharing is impossible or transmission failure occurs in the short-range wireless communication method (eg, Wi-Fi Direct) selected inoperation 608 , the firstelectronic device 680 uses another short-range wireless communication method (eg, Wi-Fi Direct). : A connection with the secondelectronic device 690 may be attempted using Bluetooth). In this case, the firstelectronic device 680 may display a transmission/reception state such as transmission failure using Wi-Fi Direct as a notification panel or a pop-up.

동작 610에서, 제1전자 장치(680)는 수립된 근거리 무선 통신 연결을 이용하여, 선택된 컨텐츠를 제2전자 장치(690)에 전송할 수 있다. 선택된 컨텐츠의 전송이 완료되는 경우, 제1전자 장치(680)는 어플리케이션에 결과를 전송할 수 있다. 또한, 제1전자 장치(680) 및 제2전자 장치(690)는 센서를 비활성화 할 수 있다.Inoperation 610 , the firstelectronic device 680 may transmit the selected content to the secondelectronic device 690 using the established short-range wireless communication connection. When the transmission of the selected content is completed, the firstelectronic device 680 may transmit the result to the application. Also, the firstelectronic device 680 and the secondelectronic device 690 may deactivate the sensor.

도 7은 제2전자 장치가 제1전자 장치와 동일한 기능을 수행하지 않는 경우의 기능 수행 방법의 흐름도이다. 도 7은 제1전자 장치(780)는 컨텐츠 공유 기능을 지원하는 어플리케이션(또는 기능)을 실행하고, 제2전자 장치(790)는 해당 어플리케이션(또는 기능)을 실행하지 않은 상태에서 각 장치의 동작을 도시하고 있다. 도 7의 제1전자 장치(780) 및 제2전자 장치(790)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.7 is a flowchart of a method for performing a function when the second electronic device does not perform the same function as that of the first electronic device. 7 shows the operation of each device when the firstelectronic device 780 executes an application (or function) supporting the content sharing function, and the secondelectronic device 790 does not execute the corresponding application (or function) is showing The firstelectronic device 780 and the secondelectronic device 790 of FIG. 7 may be devices including the same components as the electronic device 101 of FIG. 1 or theelectronic device 380 of FIG. 3 .

이하에서는 도 6에서 설명한 바 있는 기술적 특징에 대해서는 그 설명을 생략하기로 한다.Hereinafter, the description of the technical features described with reference to FIG. 6 will be omitted.

동작 701에서, 제1전자 장치(780)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 제1전자 장치(780)는 컨텐츠의 선택에 대응하여 움직임 감지를 위해, 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.Inoperation 701, the firstelectronic device 780 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running . The firstelectronic device 780 may activate the sensor when the sensor is in an inactive state to detect a motion in response to selection of content.

동작 702에서, 제1전자 장치(780)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(780)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함할 수 있다. 예를 들어, 제1전자 장치(780)는 컨텐츠 선택에 기반하여 컨텐츠 공유 기능을 활성화함에 따라, 인접한 다른 장치(예: 제2전자 장치(790))에 컨텐츠 공유 기능의 활성화를 요청하는 정보를 포함할 수 있다.Inoperation 702, the firstelectronic device 780 may broadcast a short-range wireless signal (eg, a BLE signal). According to various embodiments, the BLE signal broadcast from the firstelectronic device 780 may include a service activation request. For example, as the firstelectronic device 780 activates the content sharing function based on content selection, the firstelectronic device 780 transmits information requesting activation of the content sharing function to another adjacent device (eg, the second electronic device 790 ). may include

다양한 실시예에 따르면, BLE 신호는 제1전자 장치(780)의 동작 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 동작 상태와 관련된 정보는 제1전자 장치(780)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보를 포함할 수 있다. 일 실시 예에서, 제2전자 장치(790)는 제1전자 장치(780)로부터 수신된 BLE 신호에 기반하여 센서를 활성화 할 수 있다. 일 실시예에 따르면, 동작 702는 지정된 어플리케이션의 실행에 기반하여 수행될 수 있다. 예를 들어, 제1전자 장치(780)에서 지정된 어플리케이션이 실행되거나 지정된 메뉴가 선택되는 경우, 제1전자 장치(780)는 동작 702를 수행할 수 있다. 이 경우, 동작 701은 동작 702 이후 내지 동작 710 수행 전(예: 통신 연결 후)에 수행될 수 있다.According to various embodiments, the BLE signal may include information related to the operating state of the firstelectronic device 780 . For example, the information related to the operating state may include information related to an application or service being executed in the firstelectronic device 780 . In an embodiment, the secondelectronic device 790 may activate the sensor based on the BLE signal received from the firstelectronic device 780 . According to an embodiment,operation 702 may be performed based on execution of a specified application. For example, when a specified application is executed or a specified menu is selected in the firstelectronic device 780 , the firstelectronic device 780 may performoperation 702 . In this case,operation 701 may be performed afteroperation 702 to before operation 710 (eg, after communication connection).

동작 703에서, 제1전자 장치(780)는 활성화 된 센서를 이용하여 제1전자 장치(780)의 움직임을 감지할 수 있다. 제1전자 장치(780)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같이 지정된 움직임을 감지할 수 있고, 움직임이 지정된 조건을 만족하는 경우 제1움직임 정보를 생성할 수 있다. 일 실시예에 따르면, 제1전자 장치(780)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제1전자 장치(780)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다. 또는, 제1전자 장치(780) 및 제2전자 장치(790)가 무선 통신(예: UWB)을 통해 각 장치가 지시하는 방향 및/또는 2 장치 사이의 거리를 감지할 수 있는 경우, 상기 방향 및/또는 거리에 기초하여 움직임 감지에 대응하는 기능을 수행할 수 있다.Inoperation 703 , the firstelectronic device 780 may detect the movement of the firstelectronic device 780 using the activated sensor. The firstelectronic device 780 may detect a designated motion, such as a shake motion, a tap motion, a rollable motion, or a folding motion, and may generate first motion information when the motion satisfies a specified condition. According to an embodiment, the detection of the movement of the firstelectronic device 780 includes not only detection of a designated movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) using the activated sensor, but also the detection of the first electronic device ( 780) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch). . Alternatively, when the firstelectronic device 780 and the secondelectronic device 790 can detect a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB), the direction and/or a function corresponding to motion detection may be performed based on the distance.

동작 704에서, 제2전자 장치(790)는 활성화 된 센서를 이용하여 제2전자 장치(790)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다. 일 실시예에 따르면, 제2전자 장치(790)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제2전자 장치(790)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다.Inoperation 704 , the secondelectronic device 790 detects a motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) of the secondelectronic device 790 using the activated sensor. According to an embodiment, the detection of the motion of the secondelectronic device 790 includes not only detecting a designated motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) using the activated sensor, but also the second electronic device ( 790) may include menu input in the application being executed, input of a designated HW button (eg, key button), or a designated SW input (eg, touch input, swipe input, long press input, or force touch). .

동작 705에서, 제2전자 장치(790)는 제1전자 장치(780)의 동작 상태와 관련하여, 실행 가능한 기능을 확인할 수 있다. 예를 들어, 제1전자 장치(780)가 선택된 컨텐츠의 공유 기능 또는 어플리케이션이 실행된 경우, 해당 컨텐츠의 수신을 지원하는 어플리케이션 또는 기능을 확인할 수 있다. 다양한 실시예에 따르면, 제2전자 장치(790)에서 실행 가능한 기능이 없거나, 하나 이상일 수 있으며, 실행 가능한 기능이 복수 인 경우, 제2 전자 장치(790)의 디바이스 상태, 및/또는 현재 해당 어플리케이션 또는 기능 실행 여부에 따라 우선 순위가 지정될 수 있다.Inoperation 705 , the secondelectronic device 790 may check an executable function with respect to the operating state of the firstelectronic device 780 . For example, when a sharing function or application of the selected content is executed by the firstelectronic device 780, an application or function supporting reception of the corresponding content may be checked. According to various embodiments, there may be no functions executable in the secondelectronic device 790 or there may be one or more functions, and when there are a plurality of functions executable, the device state of the secondelectronic device 790 and/or the current corresponding application Alternatively, priority may be assigned according to whether a function is executed or not.

동작 706에서, 제2전자 장치(790)는 BLE 신호를 브로드캐스팅 할 수 있다. 여기서, BLE 신호는 제1전자 장치(780)의 동작 상태와 관련하여, 제2전자 장치(790)에서 감지한 제2움직임 정보 및/또는 실행 가능한 기능에 대한 정보를 포함할 수 있다. 예를 들어, 제2전자 장치(790)는 제1전자 장치(780)에서 실행 중인 갤러리 어플리케이션에 대응하는 제2전자 장치(790)의 갤러리 어플리케이션에 관련된 정보를 전송할 수 있다. 다른 예를 들어, 제2전자 장치(790)는 제1전자 장치(780)에서 실행 중인 갤러리 어플리케이션에 대응하는 제2전자 장치(790)의 다른 어플리케이션(예: 이미지 편집 어플리케이션)에 관련된 정보를 전송할 수 있다.Inoperation 706, the secondelectronic device 790 may broadcast a BLE signal. Here, the BLE signal may include second motion information detected by the secondelectronic device 790 and/or information on an executable function in relation to the operating state of the firstelectronic device 780 . For example, the secondelectronic device 790 may transmit information related to the gallery application of the secondelectronic device 790 corresponding to the gallery application being executed in the firstelectronic device 780 . As another example, the secondelectronic device 790 transmits information related to another application (eg, an image editing application) of the secondelectronic device 790 corresponding to the gallery application being executed on the firstelectronic device 780 . can

동작 707에서, 제1전자 장치(780)는 제2전자 장치(790)로부터 수신한 BLE 신호에 기초하여, 제2전자 장치(790)의 제2움직임 정보 및 실행 가능한 기능을 확인할 수 있다. 일 실시예에 따르면, 제1전자 장치(780)는 제1전자 장치(780)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지한 시간에 기반하여 지정된 시간 이내에 제2전자 장치(790)에서 동일한 타입의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 발생 하였는지 확인할 수 있다. 예를 들어, 제2전자 장치(790)가 전송하는 제2움직임 정보는 제2움직임이 감지된 시간에 대한 정보를 포함할 수 있고, 제1전자 장치(780)는 제2움직임이 감지된 시간에 대한 정보에 기반하여, 제2전자 장치(790)로 선택된 컨텐츠를 공유할지 여부를 확인할 수 있다. 다양한 실시예에 따르면, 제2전자 장치(790)는 제2전자 장치(790)의 제2사용자 정보를 더 전송할 수 있으며, 제1전자 장치(780)는 제2사용자 정보의 유효성을 검증할 수 있다. 일 실시예에 따르면, 제2전자 장치(790)가 동작 706에서 전송하는 BLE 신호는 제2전자 장치(790)의 실행 가능한 기능에 대한 정보만을 포함할 수 있다. 예를 들어, 제2전자 장치(790)가 실행 가능한 기능에 대한 정보만을 전송하는 경우, 제1전자 장치(780)는 제1전자 장치(780)의 동작 상태와 관련된 정보(예: 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태)에 기반하여 제2전자 장치(790)로 선택된 컨텐츠를 공유할지 여부를 확인할 수 있다.Inoperation 707 , the firstelectronic device 780 may identify second motion information and executable functions of the secondelectronic device 790 based on the BLE signal received from the secondelectronic device 790 . According to an embodiment, the firstelectronic device 780 detects a movement of the first electronic device 780 (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) within a specified time based on the detection time. It may be checked whether the same type of movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) occurs in the secondelectronic device 790 . For example, the second motion information transmitted by the secondelectronic device 790 may include information on a time at which the second motion is sensed, and the firstelectronic device 780 transmits the time at which the second motion is sensed. Whether to share the selected content with the secondelectronic device 790 may be checked based on the information on . According to various embodiments, the secondelectronic device 790 may further transmit the second user information of the secondelectronic device 790 , and the firstelectronic device 780 may verify the validity of the second user information. have. According to an embodiment, the BLE signal transmitted by the secondelectronic device 790 inoperation 706 may include only information on executable functions of the secondelectronic device 790 . For example, when the secondelectronic device 790 transmits only information on an executable function, the firstelectronic device 780 transmits information related to the operating state of the first electronic device 780 (eg, a content sharing function). It may be checked whether to share the selected content with the secondelectronic device 790 based on an application (eg, a state in which a gallery application) supporting .

동작 708에서, 제1전자 장치(780)는 제2전자 장치(790)에 컨텐츠의 공유를 위해 근거리 무선 통신 연결과 관련된 정보를 제2전자 장치(790)에 전송할 수 있다. 또한, 제1전자 장치(780)는 컨텐츠 공유 기능의 실행을 위해 제2전자 장치(790)에 의해 확인된 실행 가능한 기능(예: 갤러리 어플리케이션의 실행)의 실행(예: 갤러리 어플리케이션의 실행)을 요청할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(780)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct)을 선택하고, 해당 근거리 무선 통신 방식의 연결 및/또는 인증을 위해 필요한 정보를 제2전자 장치(790)에 전송할 수 있다.Inoperation 708 , the firstelectronic device 780 may transmit information related to a short-range wireless communication connection to the secondelectronic device 790 to share content with the secondelectronic device 790 . In addition, the firstelectronic device 780 executes an executable function (eg, execution of a gallery application) checked by the second electronic device 790 (eg, execution of a gallery application) to execute a content sharing function. you can request According to various embodiments, the firstelectronic device 780 selects a short-range wireless communication method (eg, Wi-Fi Direct) to be used for content sharing, and information required for connection and/or authentication of the short-range wireless communication method may be transmitted to the secondelectronic device 790 .

동작 709에서, 제1전자 장치(780) 및 제2전자 장치(790)는 근거리 무선 통신 연결을 수립할 수 있다. 다양한 실시예에 따르면, 동작 708에서 선택된 근거리 무선 통신 방식(예: Wi-Fi Direct)으로 컨텐츠 공유가 불가능하거나 전송 실패가 발생하는 경우, 제1전자 장치(780)는 다른 근거리 무선 통신 방식(예: Bluetooth)을 이용해 제2전자 장치(790)와 연결을 시도할 수 있다. 이 경우, 제1전자 장치(780)는 Wi-Fi Direct를 이용한 전송 실패와 같은 수발신 상태를 알림 패널 또는 팝업으로 표시할 수 있다.Inoperation 709, the firstelectronic device 780 and the secondelectronic device 790 may establish a short-range wireless communication connection. According to various embodiments, when content sharing is impossible or transmission failure occurs in the short-range wireless communication method (eg, Wi-Fi Direct) selected inoperation 708 , the firstelectronic device 780 uses another short-range wireless communication method (eg, Wi-Fi Direct). : A connection with the secondelectronic device 790 may be attempted using Bluetooth). In this case, the firstelectronic device 780 may display a transmission/reception status such as transmission failure using Wi-Fi Direct as a notification panel or a pop-up.

동작 710에서, 제1전자 장치(780)는 수립된 근거리 무선 통신 연결을 이용하여, 선택된 컨텐츠를 제2전자 장치(790)에 전송할 수 있다.Inoperation 710 , the firstelectronic device 780 may transmit the selected content to the secondelectronic device 790 using the established short-range wireless communication connection.

도 8은 제1전자 장치 및 제2전자 장치와 동일한 어플리케이션을 실행하고 있는 경우의 기능 수행 방법의 흐름도이다. 도 8은 제1전자 장치(880) 및 제2전자 장치(890)가 동일한 어플리케이션을 실행 중인 상태에서 제1전자 장치(880)의 컨텐츠를 제2전자 장치(890)에 전송하는 실시예에 대해 도시하고 있다. 도 8의 제1전자 장치(880) 및 제2전자 장치(890)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.8 is a flowchart of a method for performing a function when the same application as that of the first electronic device and the second electronic device is being executed. 8 illustrates an embodiment in which the content of the firstelectronic device 880 is transmitted to the secondelectronic device 890 while the firstelectronic device 880 and the secondelectronic device 890 are executing the same application. is showing The firstelectronic device 880 and the secondelectronic device 890 of FIG. 8 may be devices including the same components as the electronic device 101 of FIG. 1 or theelectronic device 380 of FIG. 3 .

이하에서는 도 6 및/또는 도 7에서 설명한 바 있는 기술적 특징에 대해서는 그 설명을 생략하기로 한다.Hereinafter, descriptions of the technical features described with reference to FIGS. 6 and/or 7 will be omitted.

동작 801에서, 제1전자 장치(880)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 제1전자 장치(880)는 컨텐츠의 선택에 기반하여, 움직임 감지를 위해 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.Inoperation 801, the firstelectronic device 880 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running. . Based on the selection of content, the firstelectronic device 880 may activate the sensor when the sensor is in an inactive state for motion detection.

동작 802에서, 제1전자 장치(880)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(880)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함할 수 있다. 예를 들어, 컨텐츠 선택에 의해 제1전자 장치(880)가 컨텐츠 공유 기능을 활성화함에 따라, 인접한 다른 장치(예: 제2전자 장치(890))에 컨텐츠 공유 기능을 위한 어플리케이션의 실행 여부의 확인을 요청하는 정보를 포함할 수 있다. 다양한 실시예에 따르면, BLE 신호는 제1전자 장치(880)의 동작 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 동작 상태와 관련된 정보는 제1전자 장치(880)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보를 포함할 수 있다. 제2전자 장치(890)는 BLE 신호의 수신에 대응하여 움직임 감지를 위해, 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다. 일 실시예에 따르면, 동작 802는 지정된 어플리케이션의 실행에 기반하여 수행될 수 있다. 예를 들어, 제1전자 장치(880)에서 지정된 어플리케이션이 실행되거나 지정된 메뉴가 선택되는 경우, 제1전자 장치(880)는 동작 802를 수행할 수 있다. 이 경우, 동작 801은 동작 802 이후 내지 동작 810 수행 전(예: 통신 연결 후)에 수행될 수 있다.Inoperation 802, the firstelectronic device 880 may broadcast a short-range wireless signal (eg, a BLE signal). According to various embodiments, the BLE signal broadcast from the firstelectronic device 880 may include a service activation request. For example, as the firstelectronic device 880 activates the content sharing function by selecting the content, it is checked whether an application for the content sharing function is executed in another adjacent device (eg, the second electronic device 890 ). It may include information requesting it. According to various embodiments, the BLE signal may include information related to the operating state of the firstelectronic device 880 . For example, the information related to the operating state may include information related to an application or service being executed in the firstelectronic device 880 . The secondelectronic device 890 may activate the sensor when the sensor is in an inactive state to detect motion in response to reception of the BLE signal. According to an embodiment,operation 802 may be performed based on execution of a specified application. For example, when a specified application is executed or a specified menu is selected in the firstelectronic device 880 , the firstelectronic device 880 may performoperation 802 . In this case,operation 801 may be performed afteroperation 802 to before operation 810 (eg, after communication connection).

동작 803에서, 제1전자 장치(880)는 활성화 된 센서를 이용하여 제1전자 장치(880)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다. 일 실시예에 따르면, 제1전자 장치(880)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제1전자 장치(880)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다.Inoperation 803 , the firstelectronic device 880 detects a movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) of the firstelectronic device 880 using the activated sensor. According to an embodiment, the detection of the motion of the firstelectronic device 880 includes not only detection of a specified motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) using the activated sensor, but also the first electronic device ( 880) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch). .

동작 804에서, 제2전자 장치(890)는 활성화 된 센서를 이용하여 제2전자 장치(890)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다. 일 실시예에 따르면, 제2전자 장치(890)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제2전자 장치(890)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다. 또는, 제1전자 장치(880) 및 제2전자 장치(890)가 무선 통신(예: UWB)을 통해 각 장치가 지시하는 방향 및/또는 2 장치 사이의 거리를 감지할 수 있는 경우, 상기 방향 및/또는 거리에 기초하여 움직임 감지에 대응하는 기능을 수행할 수 있다.Inoperation 804 , the secondelectronic device 890 detects a motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) of the secondelectronic device 890 using the activated sensor. According to an embodiment, the detection of the motion of the secondelectronic device 890 includes not only detecting a designated motion (eg, a shake motion, a tap motion, a rollable motion, or a folding motion) using the activated sensor, but also the second electronic device ( 890) may include menu input in the application being executed, input of a designated HW button (eg, key button), or a designated SW input (eg, touch input, swipe input, long press input, or force touch). . Alternatively, when the firstelectronic device 880 and the secondelectronic device 890 can detect a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB), the direction and/or a function corresponding to motion detection may be performed based on the distance.

동작 805에서, 제2전자 장치(890)는 제2전자 장치(890)의 동작 상태를 확인할 수 있다. 예를 들어, 제1전자 장치(880)의 동작 상태가 컨텐츠 공유 기능을 지원하는 갤러리 어플리케이션이 실행 중인 경우, 제2전자 장치(890)에서 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인지 여부를 확인할 수 있다. 본 실시예에서는 제2전자 장치(890)가 해당 어플리케이션을 현재 실행하고 있는 것을 확인할 수 있다.Inoperation 805 , the secondelectronic device 890 may check the operating state of the secondelectronic device 890 . For example, when the operating state of the firstelectronic device 880 indicates that a gallery application supporting a content sharing function is running, it is determined whether the same application or another application capable of content sharing is running on the secondelectronic device 890 . can be checked In this embodiment, it can be confirmed that the secondelectronic device 890 is currently executing the corresponding application.

동작 806에서, 제2전자 장치(890)는 BLE 신호를 브로드캐스팅 할 수 있다. 예를 들어, BLE 신호는 제1전자 장치(880)와의 컨텐츠 공유 기능 실행을 위한 통신 연결 요청을 포함할 수 있다. 또한, BLE 신호는 제2전자 장치(890)의 움직임에 대응되는 제2움직임 정보 및/또는 제2전자 장치(890)의 동작 상태와 관련된 정보를 포함할 수 있다. 제2전자 장치(890)는 컨텐츠 공유 기능의 실행을 위한 어플리케이션이 현재 실행 중임을 포함하는 동작 상태 정보를 제1전자 장치(880)에 전송할 수 있다.Inoperation 806, the secondelectronic device 890 may broadcast a BLE signal. For example, the BLE signal may include a communication connection request for executing a content sharing function with the firstelectronic device 880 . Also, the BLE signal may include second motion information corresponding to the motion of the secondelectronic device 890 and/or information related to the operating state of the secondelectronic device 890 . The secondelectronic device 890 may transmit operation state information including that an application for executing the content sharing function is currently running to the firstelectronic device 880 .

동작 807에서, 제1전자 장치(880)는 제2전자 장치(890)로부터 수신한 BLE 신호에 기초하여, 제2전자 장치(890)의 제2움직임 정보 및/또는 동작 상태를 확인할 수 있다. 제1전자 장치(880)는 제2전자 장치(890)가 컨텐츠 공유 기능의 수행을 지원하는 갤러리 어플리케이션을 실행 중인 것을 확인할 수 있다. 일 실시예에 따르면, 제2전자 장치(890)가 동작 806에서 전송하는 BLE 신호는 제2전자 장치(890)의 동작 상태 정보만을 포함할 수 있다. 예를 들어, 제2전자 장치(790)가 제2전자 장치(890)에서 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인 정보만을 전송하는 경우, 제1전자 장치(880)는 제1전자 장치(880)의 동작 상태와 관련된 정보(예: 제1전자 장치(880)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보)에 기반하여 제2전자 장치(890)로 선택된 컨텐츠를 공유할지 여부를 확인할 수 있다.Inoperation 807 , the firstelectronic device 880 may check the second motion information and/or the operation state of the secondelectronic device 890 based on the BLE signal received from the secondelectronic device 890 . The firstelectronic device 880 may confirm that the secondelectronic device 890 is executing a gallery application supporting execution of a content sharing function. According to an embodiment, the BLE signal transmitted by the secondelectronic device 890 inoperation 806 may include only operation state information of the secondelectronic device 890 . For example, when the secondelectronic device 790 transmits only information that the same application or another application capable of sharing content is running in the secondelectronic device 890 , the firstelectronic device 880 may Whether to share the selected content with the secondelectronic device 890 may be checked based on information related to the operation state of the 880 (eg, information related to an application or service being executed on the first electronic device 880). .

동작 808에서, 제1전자 장치(880)는 컨텐츠의 공유를 위해 근거리 무선 통신 연결과 관련된 정보를 제2전자 장치(890)에 전송할 수 있다. 제1전자 장치(880)는 컨텐츠 공유 기능을 지원하는 동일한 어플리케이션이 실행 중임을 알리는 정보를 제2전자 장치(890)에 전송할 수 있다. 일 실시예에 따르면, 제1전자 장치(880)와 제2전자 장치(890)가 컨텐츠 공유 기능을 지원하는 동일한 어플리케이션을 실행 중인 경우, 제1전자 장치(880)와 제2전자 장치(890)는 상호간에 컨텐츠 공유를 수행할 수 있다. 예를 들어, 제1전자 장치(880)와 제2전자 장치(890)는 지정된 폴더에 저장된 컨텐츠들을 상호 간에 공유할 수 있다.Inoperation 808 , the firstelectronic device 880 may transmit information related to a short-range wireless communication connection to the secondelectronic device 890 for content sharing. The firstelectronic device 880 may transmit information indicating that the same application supporting the content sharing function is running to the secondelectronic device 890 . According to an embodiment, when the firstelectronic device 880 and the secondelectronic device 890 are executing the same application supporting the content sharing function, the firstelectronic device 880 and the secondelectronic device 890 can perform content sharing with each other. For example, the firstelectronic device 880 and the secondelectronic device 890 may share contents stored in a designated folder with each other.

동작 809에서, 제1전자 장치(880) 및 제2전자 장치(890)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct)의 근거리 무선 통신 연결을 수립할 수 있다.Inoperation 809, the firstelectronic device 880 and the secondelectronic device 890 may establish a short-range wireless communication connection using a short-range wireless communication method (eg, Wi-Fi Direct) to be used for content sharing.

동작 810에서, 제1전자 장치(880)는 수립된 근거리 무선 통신 연결을 이용하여, 선택된 컨텐츠를 제2전자 장치(890)에 전송할 수 있다.Inoperation 810 , the firstelectronic device 880 may transmit the selected content to the secondelectronic device 890 using the established short-range wireless communication connection.

다양한 실시예에 따르면, 제1전자 장치(880)는 동작 809 및 810과 같이 근거리 무선 통신을 이용하지 않고, 외부 서버에 공유할 컨텐츠를 업로드 하고, 해당 컨텐츠를 다운로드 할 수 있는 정보(예: URL)를 제2전자 장치(890)에 전송할 수 있다.According to various embodiments, the firstelectronic device 880 uploads content to be shared to an external server without using short-range wireless communication as inoperations 809 and 810, and provides information (eg, URL) for downloading the content. ) may be transmitted to the secondelectronic device 890 .

다양한 실시예에 따르면, 제1전자 장치(880) 및 제2전자 장치(890)는 갤러리 어플리케이션 상에서 하나의 공유 앨범을 생성하여 공유되는 이미지 컨텐츠를 저장하거나, 공유되는 이미지 컨텐츠를 이용하여 합성 이미지를 생성할 수 있다. 다른 실시예에 따르면, 미디어 컨텐츠(예: 음악 파일) 공유되는 경우, 제1전자 장치(880) 및 제2전자 장치(890)는 공유된 미디어 컨텐츠를 플레이 리스트에 추가하여 공유 플레이 리스트를 생성할 수 있다.According to various embodiments, the firstelectronic device 880 and the secondelectronic device 890 create one shared album on the gallery application and store the shared image content, or create a composite image using the shared image content. can create According to another embodiment, when media content (eg, a music file) is shared, the firstelectronic device 880 and the secondelectronic device 890 add the shared media content to the playlist to create a shared playlist. can

도 9는 제1전자 장치 및 제2전자 장치와 동일한 어플리케이션을 실행하고 있는 경우의 기능 수행 방법의 흐름도이다. 도 9는 제1전자 장치(980) 및 제2전자 장치(990)가 동일한 어플리케이션을 실행 중인 상태에서 제1전자 장치(980) 및 제2전자 장치(990)의 컨텐츠를 상호 송수신하는 실시예에 대해 도시하고 있다. 도 9의 제1전자 장치(980) 및 제2전자 장치(990)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.9 is a flowchart of a method for performing a function when the same application as that of the first electronic device and the second electronic device is being executed. 9 is an exemplary embodiment in which the firstelectronic device 980 and the secondelectronic device 990 transmit and receive contents of the firstelectronic device 980 and the secondelectronic device 990 while the same application is being executed. is shown about The firstelectronic device 980 and the secondelectronic device 990 of FIG. 9 may be devices including the same components as the electronic device 101 of FIG. 1 or theelectronic device 380 of FIG. 3 .

이하에서는 도 6 내지 도 8에서 설명한 바 있는 기술적 특징에 대해서는 그 설명을 생략하기로 한다.Hereinafter, descriptions of the technical features described with reference to FIGS. 6 to 8 will be omitted.

동작 901에서, 제1전자 장치(980)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 제1전자 장치(980)는 컨텐츠의 선택에 기반하여, 움직임 감지를 위해 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.Inoperation 901 , the firstelectronic device 980 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running. . Based on the selection of content, the firstelectronic device 980 may activate the sensor when the sensor is in an inactive state for motion detection.

동작 902에서, 제1전자 장치(980)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(980)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함하고, 제1전자 장치(980)의 동작 상태와 관련된 정보를 포함할 수 있다. 일 실시예에서, 제2전자 장치(990)는 BLE 신호의 수신에 기반하여, 움직임 감지를 위해 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.Inoperation 902, the firstelectronic device 980 may broadcast a short-range wireless signal (eg, a BLE signal). According to various embodiments, the BLE signal broadcast from the firstelectronic device 980 may include a service activation request and may include information related to an operating state of the firstelectronic device 980 . In an embodiment, the secondelectronic device 990 may activate the sensor when the sensor is in an inactive state for motion detection based on the reception of the BLE signal.

동작 903에서, 제1전자 장치(980)는 활성화 된 센서를 이용하여 제1전자 장치(980)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다.Inoperation 903 , the firstelectronic device 980 detects a movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) of the firstelectronic device 980 using the activated sensor.

동작 904에서, 제2전자 장치(990)는 활성화 된 센서를 이용하여 제2전자 장치(990)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다.Inoperation 904 , the secondelectronic device 990 detects a motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) of the secondelectronic device 990 using the activated sensor.

동작 905에서, 제2전자 장치(990)는 제2전자 장치(990)의 동작 상태를 확인할 수 있다. 예를 들어, 제1전자 장치(980)의 동작 상태가 컨텐츠 공유 기능을 지원하는 갤러리 어플리케이션이 실행 중인 경우, 제2전자 장치(990)에서 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인 지 여부를 확인할 수 있다. 본 실시예에서는 제2전자 장치(990)가 해당 어플리케이션을 현재 실행하고 있는 것을 확인할 수 있다. 일 실시예에 따르면, 제2전자 장치(990)는 제1전자 장치(980)에서 실행중인 어플리케이션과 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션에 기반하여 제1전자 장치(980)로 컨텐츠를 공유할 수 있다. 예를 들어, 제2전자 장치(990)는 사용자 입력에 기반하여 제1전자 장치(980)로 전송할 컨텐츠를 선택 받을 수 있다.Inoperation 905 , the secondelectronic device 990 may check an operation state of the secondelectronic device 990 . For example, if the operating state of the firstelectronic device 980 indicates that a gallery application supporting a content sharing function is running, whether the same application or another application capable of sharing content is running on the secondelectronic device 990 . can be checked. In this embodiment, it can be confirmed that the secondelectronic device 990 is currently executing the corresponding application. According to an embodiment, the secondelectronic device 990 may share content with the firstelectronic device 980 based on the same application as the application running on the firstelectronic device 980 or another application capable of content sharing. can For example, the secondelectronic device 990 may receive a selection of content to be transmitted to the firstelectronic device 980 based on a user input.

동작 906에서, 제2전자 장치(990)는 BLE 신호를 브로드캐스팅 할 수 있다. 여기서, BLE 신호는 제1전자 장치(980)와의 컨텐츠 공유 기능 실행을 위한 통신 연결 요청을 포함할 수 있다. 또한, BLE 신호는 제2전자 장치(990)의 움직임에 대응되는 제2움직임 정보 및 제2전자 장치(990)의 동작 상태와 관련된 정보를 포함할 수 있다. 제2전자 장치(990)는 컨텐츠 공유 기능의 실행을 위한 어플리케이션이 현재 실행 중임을 포함하는 동작 상태 정보를 제1전자 장치(980)에 전송할 수 있다.Inoperation 906, the secondelectronic device 990 may broadcast a BLE signal. Here, the BLE signal may include a communication connection request for executing a content sharing function with the firstelectronic device 980 . Also, the BLE signal may include second motion information corresponding to the motion of the secondelectronic device 990 and information related to the operating state of the secondelectronic device 990 . The secondelectronic device 990 may transmit operation state information including that an application for executing the content sharing function is currently running to the firstelectronic device 980 .

동작 907에서, 제1전자 장치(980)는 제2전자 장치(990)의 BLE 신호 브로드캐스팅과 적어도 일부 동시에 BLE 신호를 브로드캐스팅 할 수 있다. 여기서, BLE 신호는 제1전자 장치(980)의 동작 상태 및 제1전자 장치(980)에서 감지된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)과 관련된 제1움직임 정보를 포함할 수 있다.Inoperation 907 , the firstelectronic device 980 may broadcast the BLE signal at least partially simultaneously with the BLE signal broadcasting of the secondelectronic device 990 . Here, the BLE signal is first motion information related to an operation state of the firstelectronic device 980 and a motion detected by the first electronic device 980 (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion). may include

동작 911에서, 제1전자 장치(980)는 제2전자 장치(990)로부터 수신한 BLE 신호에 기초하여, 제2전자 장치(990)의 제2움직임 정보 및 동작 상태를 확인할 수 있다. 예를 들어, 제1전자 장치(980)는 제2전자 장치(990)에서 정해진 시간 이내에 동일한 타입의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 발생 하였는지 여부 및/또는 동일한 또는 유사한 어플리케이션인지 실행 중인지 여부를 확인할 수 있다. 제2전자 장치(990)가 컨텐츠 공유 기능의 수행을 지원하는 갤러리 어플리케이션을 실행 중인 것을 확인할 수 있다.Inoperation 911 , the firstelectronic device 980 may check the second motion information and the operation state of the secondelectronic device 990 based on the BLE signal received from the secondelectronic device 990 . For example, the firstelectronic device 980 determines whether the same type of movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) occurs within a predetermined time in the secondelectronic device 990 and/ Alternatively, you can check whether the same or similar application is running or not. It may be confirmed that the secondelectronic device 990 is executing a gallery application supporting execution of a content sharing function.

동작 912에서, 제2전자 장치(990)는 제1전자 장치(980)로부터 수신한 BLE 신호에 기초하여, 제1전자 장치(980)의 제1움직임 정보 및 동작 상태를 확인할 수 있다. 예를 들어, 제2전자 장치(990)는 제1전자 장치(980)와 제2전자 장치(990)가 정해진 시간 이내에 동일한 타입의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 발생 하였는지, 동일한 또는 유사한 어플리케이션인지 실행 중인지 여부를 확인할 수 있다.Inoperation 912 , the secondelectronic device 990 may check the first motion information and the operation state of the firstelectronic device 980 based on the BLE signal received from the firstelectronic device 980 . For example, in the secondelectronic device 990 , the firstelectronic device 980 and the secondelectronic device 990 perform the same type of movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) within a predetermined time. operation) has occurred, and whether the same or similar application is running.

동작 913에서, 제1전자 장치(980) 및 제2전자 장치(990)는 컨텐츠의 공유를 위해 근거리 무선 통신 연결과 관련된 정보를 서로 교환할 수 있다.Inoperation 913 , the firstelectronic device 980 and the secondelectronic device 990 may exchange information related to a short-range wireless communication connection to share content.

동작 914에서, 제1전자 장치(980) 및 제2전자 장치(990)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct)의 근거리 무선 통신 연결을 수립할 수 있다.Inoperation 914 , the firstelectronic device 980 and the secondelectronic device 990 may establish a short-range wireless communication connection using a short-range wireless communication method (eg, Wi-Fi Direct) to be used for content sharing.

동작 915에서, 제1전자 장치(980)는 수립된 근거리 무선 통신 연결을 이용하여, 선택된 컨텐츠를 제2전자 장치(990)에 전송하고, 이와 적어도 일부 동시에 또는 순차적으로 제2전자 장치(990)는 제2전자 장치(990)에서 선택된 컨텐츠를 제1전자 장치(980)에 전송할 수 있다. 예를 들어, 제1전자 장치(980) 및 제2전자 장치(990)는 서로 다른 채널을 통해 컨텐츠를 상대방 장치에 전송하거나, 동일 채널 상에서 순차적으로 컨텐츠를 송수신할 수 있다.Inoperation 915 , the firstelectronic device 980 transmits the selected content to the secondelectronic device 990 using the established short-range wireless communication connection, and at least a part thereof simultaneously or sequentially to the secondelectronic device 990 . may transmit the content selected by the secondelectronic device 990 to the firstelectronic device 980 . For example, the firstelectronic device 980 and the secondelectronic device 990 may transmit content to a counterpart device through different channels or sequentially transmit/receive content on the same channel.

다양한 실시예에 따르면, 제1전자 장치(980) 및 제2전자 장치(990)는 근거리 무선 통신을 이용하지 않고, 외부 서버에 공유할 컨텐츠를 업로드 하고, 해당 컨텐츠를 다운로드 할 수 있는 정보(예: URL)를 상대방 장치에 전송할 수 있다.According to various embodiments, the firstelectronic device 980 and the secondelectronic device 990 upload content to be shared to an external server without using short-range wireless communication, and information (eg, download the content) : URL) to the counterpart device.

다양한 실시예에 따르면, 제1전자 장치(980) 및 제2전자 장치(990)는 상대방 장치로부터 수신한 컨텐츠를 정해진 폴더에 저장할 수 있다.According to various embodiments, the firstelectronic device 980 and the secondelectronic device 990 may store content received from the counterpart device in a predetermined folder.

다양한 실시예에 따르면, 제1전자 장치(980) 및 제2전자 장치(990)는 갤러리 어플리케이션 상에서 하나의 공유 앨범을 생성하여 공유되는 이미지 컨텐츠를 저장하거나, 공유되는 이미지 컨텐츠를 이용하여 합성 이미지를 생성할 수 있다. 다른 실시예에 따르면, 미디어 컨텐츠(예: 음악 파일) 공유되는 경우, 제1전자 장치(980) 및 제2전자 장치(990)는 공유된 미디어 컨텐츠를 플레이 리스트에 추가하여 공유 플레이 리스트를 생성할 수 있다.According to various embodiments, the firstelectronic device 980 and the secondelectronic device 990 create one shared album on the gallery application and store the shared image content, or create a composite image using the shared image content. can create According to another embodiment, when media content (eg, a music file) is shared, the firstelectronic device 980 and the secondelectronic device 990 add the shared media content to the playlist to create a shared playlist. can

도 10a는 다양한 실시예에 따른 shake 동작의 일 예를 도시한 것이다.10A illustrates an example of a shake operation according to various embodiments.

다양한 실시예에 따르면, 전자 장치(1080)(예: 도 3의 전자 장치(380), 도 4의 제1전자 장치(480))는 센서(예: 도 3의 센서(340)를 이용해 움직임을 감지하고, 감지된 전자 장치의 움직임이 지정된 종류인 경우, 제1움직임 정보를 생성하여 외부 장치(예: 도 4의 제2전자 장치(490))에 전송할 수 있다. 여기서, 지정된 움직임의 타입은 shake 동작을 포함할 수 있다.According to various embodiments, the electronic device 1080 (eg, theelectronic device 380 of FIG. 3 , the firstelectronic device 480 of FIG. 4 ) detects movement using a sensor (eg, thesensor 340 of FIG. 3 ). When the detected motion of the electronic device is of a specified type, first motion information may be generated and transmitted to an external device (eg, the secondelectronic device 490 of FIG. 4 ), where the specified type of motion is Shake motions may be included.

도 10a를 참조 하면, shake 동작은 사용자가 전자 장치(1080)를 파지한 상태에서 앞/뒤 방향(또는 위/아래 방향)으로 흔드는 동작일 수 있다. 예를 들어, 참조 번호 1081과 같이, shake 동작 시 사용자는 전자 장치를 천천히 뒤 방향(backward)으로 움직인 후 참조 번호 1082와 같이 앞 방향(forward)으로 힘을 가하면서 움직이는 shake 모션을 수행할 수 있다. 다른 예를 들어, shake 동작 시 사용자는 전자 장치를, 참조 번호 1082와 같이, 앞방향(forward)으로 움직인 후, 참조 번호 1081과 같이, 뒤 방향(backward)으로 움직이는 shake 모션을 수행할 수 있다.Referring to FIG. 10A , the shake operation may be an operation of shaking theelectronic device 1080 in the forward/backward direction (or up/down direction) while the user holds theelectronic device 1080 . For example, as shown inreference number 1081, during a shake operation, the user can slowly move the electronic device in a backward direction and then perform a moving shake motion while applying a force in a forward direction, as shown inreference number 1082. have. As another example, during a shake operation, the user may perform a shake motion of moving the electronic device forward, as shown byreference numeral 1082, and then moving the electronic device in a backward direction, as shown byreference numeral 1081 .

다양한 실시예에 따르면, 전자 장치(1080)는 센서(예: 자이로 센서)의 센싱 값을 통해 shake 동작에 대한 특징점 및 동작 패턴을 추출하여 shake 동작을 인식할 수 있다.According to various embodiments, theelectronic device 1080 may recognize the shake motion by extracting feature points and motion patterns for the shake motion through a sensing value of a sensor (eg, a gyro sensor).

도 10b은 다양한 실시예에 따른 tap 동작의 일 예를 도시한 것이다.10B illustrates an example of a tap operation according to various embodiments.

도 10b을 참조 하면, tap 동작은 사용자가 전자 장치(1080)를 다른 물체(예: 외부 장치(1090)(예: 도 4의 제2전자 장치(490)))와 부딪치는 제스처 일 수 있다. 예를 들어, 사용자는 전자 장치(1080)와 외부 장치(1090)를 각각 왼손 및 오른손으로 파지하여, 전자 장치(1080) 및 외부 장치(1090)의 측면이 서로 부딪치도록 조작할 수 있다.Referring to FIG. 10B , the tap operation may be a gesture in which the user collides theelectronic device 1080 with another object (eg, the external device 1090 (eg, the secondelectronic device 490 of FIG. 4 )). For example, the user may hold theelectronic device 1080 and theexternal device 1090 with the left hand and the right hand, respectively, and manipulate the side surfaces of theelectronic device 1080 and theexternal device 1090 to collide with each other.

전자 장치(1080)를 tap 하여 발생하는 충격량이 비슷하여 일상 생활에서 발생하는 충격량과 tap 동작의 구분이 어렵기 때문에, 전자 장치(1080)는 소정 횟수(예: 2회) 이상 tap 동작의 패턴을 갖는 센싱 값이 인식되는 경우 tap 동작(또는 double tap)으로 판단할 수 있다. 예를 들어, double tap 동작의 경우, 센서의 센싱 값은 첫번째 충격량이 감지가 되고 일정 시간 silent 구간이 지속된 후, 두번째 충격량이 감지되고 다시 일정 시간 silent 구간이 발생하는 패턴일 수 있다.Since the amount of impact generated by tapping theelectronic device 1080 is similar, it is difficult to distinguish between the amount of impact generated in daily life and the tap operation. When the sensed value is recognized, it can be determined as a tap operation (or double tap). For example, in the case of a double tap operation, the sensing value of the sensor may be a pattern in which the first impulse is detected and a silent period is continued for a certain period of time, then the second impulse is detected and a silent period occurs again for a certain period of time.

본 명세서에서는 전자 장치(1080)와 외부 장치(1090)가 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같은 동일한 타입의 움직임을 감지하는 경우에, 컨텐츠 공유 기능을 실행하는 것으로 설명하고 있으나, 다른 실시예들에 따르면, 컨텐츠 공유 기능은 UI 상의 선택, 사용자의 음성 인식, UWB를 이용한 방향 및/또는 거리 인식과 같은 다양한 수단에 의해 트리거 될 수 있다.In this specification, when theelectronic device 1080 and theexternal device 1090 detect the same type of motion, such as a shake motion, a tap motion, a rollable motion, or a foldable motion, it is described that the content sharing function is executed. , according to other embodiments, the content sharing function may be triggered by various means, such as selection on the UI, user's voice recognition, direction and/or distance recognition using UWB.

도 11a 및 도 11b는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치에서 표시되는 팝업 메시지를 도시한 것이다.11A and 11B illustrate pop-up messages displayed in a first electronic device and a second electronic device according to various embodiments of the present disclosure;

도 11a를 참조하면, 다양한 실시예에 따르면, 제1전자 장치(1180)는 센서로부터 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지하고, 제2전자 장치(1190)로부터 제1전자 장치(1180)의 움직임과 동일한 타입의 움직임에 대응하는 움직임 정보를 수신하는 경우, 컨텐츠 전송 여부를 선택하기 위한 UI(1185)를 디스플레이(예: 도 3의 디스플레이(330)) 상에 표시할 수 있다. 예를 들어, 제1전자 장치(1180)는 선택된 컨텐츠를 외부 장치(예: 제2전자 장치(1190))로 전송 또는 공유하기 위한 사용자의 입력에 기반하여 외부로 컨텐츠 전송 동작에 관련된 정보 및/또는 제1전자 장치(1180)의 정보(예: 제1전자 장치(1180)의 전화 번호(예: IMEI), 어플리케이션(또는 기능)에서 설정된 ID, 및/또는 디바이스 정보(예: MAC 어드레스)와 같이 제1전자 장치(1180)(또는 사용자)를 특정할 수 있는 다양한 정보를 포함하는 정보)를 포함하는 신호(예: BLE 신호 또는 WiFi aware 신호)를 전송할 수 있다.Referring to FIG. 11A , according to various embodiments, the firstelectronic device 1180 detects a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) from a sensor, and the second electronic device ( When motion information corresponding to the same type of motion as the motion of the firstelectronic device 1180 is received from 1190), aUI 1185 for selecting whether to transmit content is displayed (eg, thedisplay 330 of FIG. 3 ). ) can be displayed on the For example, the firstelectronic device 1180 transmits or shares the selected content to an external device (eg, the second electronic device 1190) based on a user input to transmit or share information related to a content transmission operation to the outside and/or Alternatively, information on the first electronic device 1180 (eg, a phone number (eg, IMEI) of the first electronic device 1180), an ID set in an application (or function), and/or device information (eg, MAC address) and Similarly, a signal (eg, a BLE signal or a WiFi aware signal) including information including various information for specifying the first electronic device 1180 (or a user) may be transmitted.

다양한 실시예에 따르면, UI(1185)는 컨텐츠를 전송할 제2전자 장치(1190)의 사용자 정보(예: 전화 번호, ID, 또는 어플리케이션에 저장된 사용자 이름), 근거리 무선 통신 방식(예: Bluetooth 또는 Wi-Fi Direct)을 포함할 수 있다. 제1전자 장치(1180)는 사용자가 컨텐츠 전송 확인을 선택하는 경우, 제2전자 장치(1190)에 컨텐츠 수신 여부의 확인을 요청할 수 있다. 예를 들어, 제2전자 장치(1190)는 제1전자 장치(1180)가 컨텐츠를 전송하는 동작에 관련된 신호(예: BLE 신호 또는 WiFi aware 신호)를 수신하고, 제1전자 장치(1180)로 컨텐츠 전송 요청 및 제2전자 장치(1190)의 정보(예: 제2전자 장치(1190)의 전화 번호(예: IMEI), 어플리케이션(또는 기능)에서 설정된 ID, 및/또는 디바이스 정보(예: MAC 어드레스)와 같이 제2전자 장치(1190)(또는 사용자)를 특정할 수 있는 다양한 정보를 포함하는 정보)를 전송할 수 있다.도 11b를 참조하면, 다양한 실시예에 따르면, 제2전자 장치(1190)는 컨텐츠 수신 확인 요청에 응답하여, 디스플레이에 컨텐츠 수신 여부를 선택하기 위한 UI(1195)를 표시할 수 있다. UI(1195) 상에서 사용자가 컨텐츠 수신 확인을 선택하는 경우, 제1전자 장치(1180)에 컨텐츠 전송을 요청할 수 있다. 제1전자 장치(1180)는 컨텐츠 전송 요청에 응답하여, 지정된 근거리 무선 통신 방식을 이용하여 선택된 컨텐츠를 제2전자 장치(1190)에 전송할 수 있다.According to various embodiments, theUI 1185 may include user information (eg, a phone number, ID, or a user name stored in an application) of the secondelectronic device 1190 to transmit content, a short-range wireless communication method (eg, Bluetooth or Wi-Fi). -Fi Direct). When the user selects the content transmission confirmation, the firstelectronic device 1180 may request the secondelectronic device 1190 to confirm whether the content is received. For example, the secondelectronic device 1190 receives a signal (eg, a BLE signal or a WiFi aware signal) related to an operation of the firstelectronic device 1180 to transmit content, and sends it to the firstelectronic device 1180 . A content transmission request and information of the second electronic device 1190 (eg, a phone number (eg, IMEI) of the second electronic device 1190 ), an ID set in an application (or function), and/or device information (eg, MAC) address), such as information including various types of information for specifying the second electronic device 1190 (or the user). Referring to FIG. 11B , according to various embodiments, the secondelectronic device 1190 may be transmitted. ) may display aUI 1195 for selecting whether to receive content on the display in response to the content reception confirmation request. When the user selects content reception confirmation on theUI 1195 , a content transmission request may be made to the firstelectronic device 1180 . The firstelectronic device 1180 may transmit the selected content to the secondelectronic device 1190 using a designated short-range wireless communication method in response to the content transmission request.

다양한 실시예에 따르면, 제1전자 장치(1180) 및 제2전자 장치(1190)는 수행하는 기능에 따라서 대응되는 UI를 표시할 수 있다. 예를 들어, 제1전자 장치(1180) 및 제2전자 장치(1190)가 각각 컨텐츠를 상호 교환 하는 경우(예: 도 9) 제1전자 장치(1180) 및 제2전자 장치(1190)는 각각 컨텐츠 전송 여부를 선택하기 위한 UI(1185) 및 컨텐츠 수신 여부를 선택하기 위한 UI(1195)를 모두 표시하거나, 상기 2가지 UI가 통합된 형태의 UI를 표시할 수 있다.According to various embodiments, the firstelectronic device 1180 and the secondelectronic device 1190 may display a corresponding UI according to a function to be performed. For example, when the firstelectronic device 1180 and the secondelectronic device 1190 exchange content with each other (eg, FIG. 9 ), the firstelectronic device 1180 and the secondelectronic device 1190 respectively Both aUI 1185 for selecting whether to transmit content and aUI 1195 for selecting whether to receive content may be displayed, or a UI in which the two UIs are integrated may be displayed.

다양한 실시예에 따르면, 제1전자 장치(1180) 및 제2전자 장치(1190)는 송수신 되는 컨텐츠를 지정된 폴더에 저장할 수 있다.According to various embodiments, the firstelectronic device 1180 and the secondelectronic device 1190 may store transmitted/received content in a designated folder.

도 12는 다양한 실시예에 따른 이미지 컨텐츠를 공유하는 실시예를 도시한 것이다.12 illustrates an embodiment of sharing image content according to various embodiments.

다양한 실시예에 따르면, 제1전자 장치(1280)는 제1전자 장치(1280)의 제1움직임 정보 및 제2전자 장치(1290)의 제2움직임 정보의 획득 시, 현재 동작 상태를 확인하고, 동작 상태에 대응하는 기능을 수행할 수 있다.According to various embodiments, the firstelectronic device 1280 checks a current operation state when acquiring the first motion information of the firstelectronic device 1280 and the second motion information of the secondelectronic device 1290, A function corresponding to the operating state may be performed.

다양한 실시예에 따르면, 움직임 감지 및 동작 상태에 따라 수행할 제1전자 장치(1280)의 기능은 제2전자 장치(1290)로의 컨텐츠 전송 또는 제2전자 장치(1290)로부터의 컨텐츠 수신을 포함할 수 있다.According to various embodiments, the function of the firstelectronic device 1280 to be performed according to the motion detection and operation state may include content transmission to the secondelectronic device 1290 or content reception from the secondelectronic device 1290 . can

도 12를 참조 하면, 제1전자 장치(1280)는 갤러리 어플리케이션을 실행하고, 특정 이미지 컨텐츠(1201)를 선택할 수 있다. 이에 응답하여, 제1전자 장치(1280)는 제1전자 장치(1280)의 움직임을 감지하기 위해, 센서가 비활성화 상태인 경우, 센서를 활성화 하고, 외부 장치(예: 제2전자 장치(1290))로 제1전자 장치(1280)의 동작 상태를 포함하는 BLE 신호를 전송할 수 있다. 제2전자 장치(1290)는 BLE 신호의 수신에 대응하여, 센서를 활성화 하고, 제2전자 장치(1290)의 움직임을 감지할 수 있다.Referring to FIG. 12 , the firstelectronic device 1280 may execute a gallery application and selectspecific image content 1201 . In response, the firstelectronic device 1280 activates the sensor when the sensor is in an inactive state in order to detect the movement of the firstelectronic device 1280, and an external device (eg, the second electronic device 1290) ) to transmit the BLE signal including the operating state of the firstelectronic device 1280 . In response to the reception of the BLE signal, the secondelectronic device 1290 may activate a sensor and detect a movement of the secondelectronic device 1290 .

소정 시간 이내에 제1전자 장치(1280) 및 제2전자 장치(1290)에서 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 감지되는 경우, 제1전자 장치(1280)는 맵핑된 기능인 이미지 컨텐츠(1201)의 전송을 수행할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(1280) 및 제2전자 장치(1290)는 제1전자 장치(1280)의 동작 상태 및 제2전자 장치(1290)의 동작 상태에 따라 대응되는 기능을 수행할 수 있다. 예를 들어, 제1전자 장치(1280)는 제2전자 장치(1290)가 동일 또는 유사한 어플리케이션을 실행하고 있는 경우, 해당 어플리케이션의 컨텐츠를 공유하는 기능을 실행하고, 제2전자 장치(1290)가 해당 어플리케이션을 설치하지 않은 경우 컨텐츠 공유 기능의 실행을 중단하거나, 해당 어플리케이션을 다운로드 할 수 있는 경로를 제공할 수 있다.When a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) is detected by the firstelectronic device 1280 and the secondelectronic device 1290 within a predetermined time, the firstelectronic device 1280 may transmit theimage content 1201, which is a mapped function. According to various embodiments, the firstelectronic device 1280 and the secondelectronic device 1290 perform corresponding functions according to the operating state of the firstelectronic device 1280 and the operating state of the secondelectronic device 1290 . can do. For example, when the secondelectronic device 1290 is executing the same or similar application, the firstelectronic device 1280 executes a function of sharing the content of the corresponding application, and the secondelectronic device 1290 If the corresponding application is not installed, the execution of the content sharing function may be stopped or a path for downloading the corresponding application may be provided.

일 실시예에 따르면, 제2전자 장치(1290)도 갤러리 어플리케이션을 실행하고 이미지 컨텐츠(1202)를 선택한 상태인 경우, 제2전자 장치(1290)에서 선택된 이미지 컨텐츠(1202)도 제1전자 장치(1280)로 전송될 수 있다. 제2전자 장치가 이미지 컨텐츠를 선택하지 않은 경우, 제1전자 장치에서 선택된 컨텐츠만 제2전자 장치로 전송될 수 있다.According to an embodiment, when the secondelectronic device 1290 also executes the gallery application and selects theimage content 1202 , theimage content 1202 selected by the secondelectronic device 1290 is also displayed on the first electronic device ( 1280) may be transmitted. When the second electronic device does not select the image content, only the content selected by the first electronic device may be transmitted to the second electronic device.

이미지 컨텐츠(1201, 1202)의 송수신이 완료되는 경우, 지정된 폴더 내에 공유 된 이미지 컨텐츠(1201, 1202)가 저장될 수 있다.When the transmission/reception of theimage contents 1201 and 1202 is completed, the sharedimage contents 1201 and 1202 may be stored in a designated folder.

일 실시예에 따르면, 제1전자 장치(1280)와 제2전자 장치(1290)는 지정된 폴더에 포함된 복수의 컨텐츠를 전송하거나 지정된 폴더의 동기화를 수행할 수 있다. 예를 들어, 제1전자 장치(1280)가 지정된 폴더를 선택하고 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 감지되는 경우, 제1전자 장치(1280)는 지정된 폴더에 포함된 복수의 컨텐츠를 제2전자 장치(1290)로 전송할 수 있다. 다른 예를 들어, 제2전자 장치(1290)에서 지정된 폴더를 선택하고 지정된 움직임(예: shake 동작, 또는 tap 동작, 롤러블 동작 또는 폴더블 동작)이 감지되는 경우, 제2전자 장치(1290)는 지정된 폴더에 포함된 복수의 컨텐츠를 제1전자 장치(880)로 전송할 수 있다. 제1전자 장치(1280)와 제2전자 장치(1290)는 지정된 폴더에 상대방 장치로부터 수신한 컨텐츠를 저장할 수 있으며, 이에 따라 제1전자 장치(1280)와 제2전자 장치(1290)의 지정된 폴더의 컨텐츠가 상호 동기화 될 수 있다. 다른 실시예에 따르면, 제1전자 장치(1280) 및 제2전자 장치(1290)는 새로운 폴더를 생성하여, 송신 및 수신되는 컨텐츠를 생성된 폴더에 저장할 수 있다.According to an embodiment, the firstelectronic device 1280 and the secondelectronic device 1290 may transmit a plurality of contents included in a specified folder or perform synchronization of the specified folder. For example, when the firstelectronic device 1280 selects a designated folder and a designated motion (eg, a shake action, a tap action, a rollable action, or a foldable action) is detected, the firstelectronic device 1280 selects a designated folder. A plurality of contents included in the folder may be transmitted to the secondelectronic device 1290 . As another example, when a designated folder is selected by the secondelectronic device 1290 and a designated motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) is detected, the secondelectronic device 1290 may transmit a plurality of contents included in the designated folder to the firstelectronic device 880 . The firstelectronic device 1280 and the secondelectronic device 1290 may store content received from the counterpart device in a designated folder, and accordingly, designated folders of the firstelectronic device 1280 and the secondelectronic device 1290 . content can be synchronized with each other. According to another embodiment, the firstelectronic device 1280 and the secondelectronic device 1290 may create a new folder and store transmitted and received content in the created folder.

도 13a 및 13b는 다양한 실시예에 따른 리스트의 아이템을 공유하는 실시예를 도시한 것이다.13A and 13B illustrate an embodiment of sharing an item of a list according to various embodiments.

다양한 실시예에 따르면, 제1전자 장치(1380) 및 제2전자 장치(1390)의 움직임 및 동작 상태에 대응하여 수행되는 기능은 아이템의 공유일 수 있다.According to various embodiments, a function performed in response to the movement and operating state of the firstelectronic device 1380 and the secondelectronic device 1390 may be item sharing.

도 13a 및 도 13b를 참조 하면, 제1전자 장치(1380)는 음악 어플리케이션을 실행하고, 플레이 리스트에서 하나 이상의 아이템(1301, 1302, 및 1303)을 선택할 수 있다. 이에 응답하여, 제1전자 장치(1380)는 센서를 활성화 하여 제1전자 장치(1380)의 움직임을 감지하고, 제2전자 장치(1390)로 제1전자 장치(1380)의 동작 상태를 포함하는 BLE 신호를 전송할 수 있다. 예를 들어, 동작 상태는 제1전자 장치(1380)에서 실행중인 어플리케이션 정보(예: 어플리케이션 이름 또는 어플리케이션 ID) 및/또는 하나 이상의 아이템(1301, 1302, 및 1303)의 정보(예: 파일명, 파일 포맷 또는 아이템 수)를 포함할 수 있다. 제2전자 장치(1390)는 BLE 신호의 수신에 대응하여, 센서가 비활성화 상태인 경우, 센서를 활성화 하고, 제2전자 장치(1390)의 움직임을 감지할 수 있다.13A and 13B , the firstelectronic device 1380 may execute a music application and select one ormore items 1301 , 1302 , and 1303 from a play list. In response, the firstelectronic device 1380 detects the movement of the firstelectronic device 1380 by activating the sensor, and includes the operation state of the firstelectronic device 1380 as the secondelectronic device 1390. A BLE signal can be transmitted. For example, the operation state may include information about an application (eg, an application name or an application ID) being executed in the firstelectronic device 1380 and/or information (eg, a file name, a file) of one ormore items 1301 , 1302 , and 1303 . format or number of items). In response to the reception of the BLE signal, the secondelectronic device 1390 may activate the sensor and detect the movement of the secondelectronic device 1390 when the sensor is in an inactive state.

다양한 실시예에 따르면, 제1전자 장치(1380)는 제2전자 장치(1390)의 동작 상태에 따라 지정된 기능을 실행할 수 있다. 예를 들어, 제1전자 장치(1380)는 제2전자 장치(1390)가 음악 어플리케이션을 실행 중인 경우, 제1전자 장치(1380)의 플레이 리스트의 아이템과 제2전자 장치(1390)의 플레이 리스트의 아이템을 서로 공유 하는 기능을 수행하고, 제2전자 장치(1390)가 음악 어플리케이션을 실행 중이지 않은 경우, 제1전자 장치(1380)의 플레이 리스트의 아이템을 제2전자 장치(1390)에 일 방향으로 전송할 수 있다.According to various embodiments, the firstelectronic device 1380 may execute a specified function according to the operating state of the secondelectronic device 1390 . For example, when the secondelectronic device 1390 is executing a music application, the firstelectronic device 1380 includes an item in the play list of the firstelectronic device 1380 and the play list of the secondelectronic device 1390 . , and when the secondelectronic device 1390 is not running the music application, sends the item of the play list of the firstelectronic device 1380 to the secondelectronic device 1390 direction can be transmitted.

도 13a를 참조 하면, 제1전자 장치(1380) 및 제2전자 장치(1390)가 음악 어플리케이션을 실행하고 있는 상태에서 소정 시간 이내에 제1전자 장치(1380) 및 제2전자 장치(1390)에서 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 감지되는 경우, 제1전자 장치(1380)는 선택된 아이템(1301, 1302, 및 1303)을 제2전자 장치(1390)로 전송할 수 있다. 제2전자 장치(1390)는 제2전자 장치(1390)의 플레이 리스트 상에서 선택된 아이템(1304, 1305)을 제1전자 장치(1380)로 전송할 수 있다. 제1전자 장치(1380) 및 제2전자 장치(1390)는 플레이 리스트에 상대방 장치로부터 수신한 아이템을 추가하여 플레이 리스트를 상호 동기화 할 수 있다(1320).Referring to FIG. 13A , in a state in which the firstelectronic device 1380 and the secondelectronic device 1390 are executing a music application, within a predetermined time When a movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) is detected, the firstelectronic device 1380 transfers the selecteditems 1301 , 1302 , and 1303 to the secondelectronic device 1390 . can be transmitted The secondelectronic device 1390 may transmit theitems 1304 and 1305 selected from the play list of the secondelectronic device 1390 to the firstelectronic device 1380 . The firstelectronic device 1380 and the secondelectronic device 1390 may synchronize the play list with each other by adding an item received from the counterpart device to the play list ( 1320 ).

도 13b를 참조 하면, 제2전자 장치(1390)가 음악 어플리케이션을 실행하고 있지 않은 경우, 제1전자 장치(1380)는 선택된 아이템을 제2전자 장치(1390)로 전송할 수 있다. 제2전자 장치(1390)는 백그라운드로 음악 어플리케이션을 실행하고, 제1전자 장치(1380)로부터 수신한 아이템(1301, 1302, 1303)을 플레이 리스트에 추가할 수 있다.Referring to FIG. 13B , when the secondelectronic device 1390 is not executing the music application, the firstelectronic device 1380 may transmit the selected item to the secondelectronic device 1390 . The secondelectronic device 1390 may execute a music application in the background, and may additems 1301 , 1302 , and 1303 received from the firstelectronic device 1380 to the playlist.

다른 실시예로써, 제1전자 장치(1380) 및 제2전자 장치(1390)는 shake 동작, tab 동작, 롤러블 동작 또는 폴더블 동작에 따라 저장된 음악 플레이 리스트를 조합하여 하나의 플레이 리스트를 생성하거나, 음악 컨텐츠를 믹싱 하는 동작을 수행할 수도 있다.As another embodiment, the firstelectronic device 1380 and the secondelectronic device 1390 create one playlist by combining the stored music playlists according to a shake operation, a tab operation, a rollable operation, or a fold operation. , an operation of mixing music content may be performed.

다양한 실시예에 따르면, 제1전자 장치(1380) 및 제2전자 장치(1390)는 공유된 아이템과 관련된 곡 정보를 전송하고, 미리 듣기 기능을 제공할 수 있다. 또한, 제1전자 장치(1380)의 음원 파일이 제2전자 장치(1390)에 공유되는 경우, 제1전자 장치(1380) 및 제2전자 장치(1390)는 각각 스테레오 기능의 L/R 로 동작하여 음원을 재생할 수 있다.According to various embodiments, the firstelectronic device 1380 and the secondelectronic device 1390 may transmit song information related to a shared item and provide a preview function. Also, when the sound source file of the firstelectronic device 1380 is shared with the secondelectronic device 1390 , the firstelectronic device 1380 and the secondelectronic device 1390 operate as L/R of the stereo function, respectively. to play the sound source.

다양한 실시예에 따르면, 제1전자 장치(1380) 및 제2전자 장치(1390)는 음원 서비스 서버(미도시)에 저장된 플레이 리스트를 공유할 수 있다. 예를 들어, 제1전자 장치(1380) 및 제2전자 장치(1390)는 스트리밍 서비스를 제공하는 음원 서비스 서버에 플레이 리스트를 저장할 수 있으며, 지정된 움직임 감지에 대응하여, 음원 서비스 서버에 저장된 플레이 리스트의 음원을 공유할 수 있다. 이 경우, 제1전자 장치(1380) 및 제2전자 장치(1390)는 BLE 신호를 이용해 해당 음원 서비스의 ID를 송수신 하고, 선택된 음원, 수신된 ID 및 각 장치의 위치 정보를 음원 서비스 서버에 전송하여, 음원 서비스 서버 상에서 플레이 리스트의 음원이 서로 공유되도록 할 수 있다.According to various embodiments, the firstelectronic device 1380 and the secondelectronic device 1390 may share a playlist stored in a sound source service server (not shown). For example, the firstelectronic device 1380 and the secondelectronic device 1390 may store a playlist in a sound source service server that provides a streaming service, and in response to a designated motion detection, the playlist stored in the sound source service server of music can be shared. In this case, the firstelectronic device 1380 and the secondelectronic device 1390 transmit and receive the ID of the corresponding sound source service using the BLE signal, and transmit the selected sound source, the received ID, and location information of each device to the sound source service server Thus, the sound source of the play list can be shared with each other on the sound source service server.

다양한 실시예에 따르면, 제1전자 장치(1380) 및 제2전자 장치(1390)는 공유한 파일을 합성(merge) 하여 하나의 파일로 생성할 수 있다.According to various embodiments, the firstelectronic device 1380 and the secondelectronic device 1390 may create a single file by merging the shared files.

도 14는 다양한 실시예에 따른 화면 공유 실시예를 도시한 것이다.14 illustrates a screen sharing embodiment according to various embodiments.

다양한 실시예에 따르면, 제1전자 장치(1480) 및 제2전자 장치(1490)의 움직임 및 동작 상태에 대응하여 수행되는 기능은 화면 공유일 수 있다.According to various embodiments, a function performed in response to the movement and operating state of the firstelectronic device 1480 and the secondelectronic device 1490 may be screen sharing.

도 14를 참조 하면, 제1전자 장치(1480)는 문서(또는 메모) 작성을 하고 있는 상태에서, 제1전자 장치(1480)와 제2전자 장치(1490)에서 대응되는 움직임이 감지되는 경우, 제1전자 장치(1480)의 디스플레이에 표시되고 있는 문서 작성 화면(1410)을 제2전자 장치(1490)에 전송할 수 있다. 예를 들어, 제1전자 장치(1480) 및 제2전자 장치(1490)는 사용자 입력에 따라 편집된 문서 정보를 전달하여, 작성된 문서 내용을 동기화 할 수 있다. 일 실시예에서, 제2전자 장치(1490)에서 문서 어플리케이션이 실행 중이지 않은 경우, 제2전자 장치(1490)의 움직임 감지에 대응하여 제2전자 장치(1490)는 문서 어플리케이션을 실행할 수 있다. 예를 들어, 제2전자 장치(1490)는 제1전자 장치(1480)로부터 수신된 제1전자 장치(1480)의 동작 상태 정보에 기반하여, 제1전자 장치에서 실행 중인 문서 어플리케이션과 동일한 문서 어플리케이션 또는 제1전자 장치에서 실행 중인 문서 어플리케이션과 유사한 어플리케이션(예: 공유된 문서를 표시 가능한 어플리케이션)을 실행할 수 있다.Referring to FIG. 14 , when the firstelectronic device 1480 is writing a document (or memo), when corresponding motions are detected in the firstelectronic device 1480 and the secondelectronic device 1490, Thedocument creation screen 1410 displayed on the display of the firstelectronic device 1480 may be transmitted to the secondelectronic device 1490 . For example, the firstelectronic device 1480 and the secondelectronic device 1490 may transmit edited document information according to a user input to synchronize the created document content. In an embodiment, when the document application is not being executed in the secondelectronic device 1490 , the secondelectronic device 1490 may execute the document application in response to the motion detection of the secondelectronic device 1490 . For example, based on the operation state information of the firstelectronic device 1480 received from the firstelectronic device 1480 , the secondelectronic device 1490 may have the same document application as the document application being executed in the firstelectronic device 1480 . Alternatively, an application similar to the document application being executed in the first electronic device (eg, an application capable of displaying a shared document) may be executed.

다양한 실시예에 따르면, 제1전자 장치(1480) 및/또는 제2전자 장치(1490)는 화면 공유 기능의 실행 이전에 표시되던 어플리케이션 화면과 상대방 장치로부터 수신된 공유 화면을 멀티 윈도우로 표시할 수 있다.According to various embodiments, the firstelectronic device 1480 and/or the secondelectronic device 1490 may display the application screen displayed before execution of the screen sharing function and the shared screen received from the counterpart device in a multi-window. have.

도 15는 다양한 실시예에 따른 그룹 추가 실시예를 도시한 것이다.15 illustrates an example of adding a group according to various embodiments of the present disclosure;

다양한 실시예에 따르면, 제1전자 장치(1580) 및 제2전자 장치(1590)의 움직임 및 동작 상태에 대응하여 수행되는 기능은 실행 중인 어플리케이션에서 생성된 그룹에 다른 장치를 추가하는 것일 수 있다.According to various embodiments, a function performed in response to the movement and operating state of the firstelectronic device 1580 and the secondelectronic device 1590 may be to add another device to a group created by the running application.

예를 들어, 제1전자 장치(1580) 및 제2전자 장치(1590)에서 게임 어플리케이션이 실행 중인 경우, shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작 이 발생하는 경우, 게임 어플리케이션에서 생성된 그룹에 상대방 장치를 추가할 수 있다. 또는, 지정된 동작의 발생 시, 게임 어플리케이션에서 제1전자 장치(1580) 및 제2전자 장치(1590)의 유저가 참여하는 공통 방을 생성하거나, 게임 내에서 같은 팀을 구성할 수도 있다.For example, when a game application is running on the firstelectronic device 1580 and the secondelectronic device 1590 , when a shake operation, a tap operation, a rollable operation, or a fold operation occurs, the game application generated You can add other devices to the group. Alternatively, when a specified action occurs, a common room in which the users of the firstelectronic device 1580 and the secondelectronic device 1590 participate in the game application may be created, or the same team may be formed in the game.

다른 예를 들어, 제1전자 장치(1580) 및 제2전자 장치(1590)에서 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작이 발생했을 때, 제2전자 장치(1590)가 게임 어플리케이션을 실행하고 있지 않은 경우, 제2전자 장치(1590)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작의 감지에 대응하여, 해당 게임 어플리케이션을 실행할 수 있다. 다른 실시예에 따르면, 제2전자 장치(1590)가 해당 게임 어플리케이션을 설치하지 않은 경우, 제1전자 장치(1580)는 제2전자 장치(1590)에 해당 게임 어플리케이션의 설치를 위한 정보(예: 게임을 다운로드 받을 수 있는 URL, 또는 마켓 링크)를 전송할 수 있다.As another example, when a shake operation, a tap operation, a rollable operation, or a folding operation occurs in the firstelectronic device 1580 and the secondelectronic device 1590 , the secondelectronic device 1590 executes the game application. When not being executed, the secondelectronic device 1590 may execute a corresponding game application in response to detection of a shake operation, a tap operation, a rollable operation, or a foldable operation. According to another embodiment, when the secondelectronic device 1590 does not install the corresponding game application, the firstelectronic device 1580 provides information for installing the corresponding game application on the second electronic device 1590 (eg: You can send a URL where you can download the game, or a link to the market).

다른 실시예에 따르면, 제1전자 장치(1580)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 제2전자 장치(1590)에서 실행 중인 어플리케이션을 제1전자 장치(1580)에서 실행할 수 있다.According to another embodiment, the firstelectronic device 1580 executes the application being executed on the secondelectronic device 1590 in the firstelectronic device 1580 in response to the acquisition of the first and second motion information. can

다른 실시예에 따르면, 제1전자 장치(1580)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 메모리에 저장된 디지털 키를 제2전자 장치(1590)에 전송할 수 있다. 이 때, 디지털 키의 유효 기간을 설정하여 전송할 수 있다.According to another embodiment, the firstelectronic device 1580 may transmit the digital key stored in the memory to the secondelectronic device 1590 in response to the acquisition of the first motion information and the second motion information. In this case, the validity period of the digital key can be set and transmitted.

다른 실시예에 따르면, 제1전자 장치(1580)는 공유 가능한 파일이나, 컨택, 일정, 또는 노트 어플리케이션에서 특정 컨텐츠를 선택 또는 오픈 한 상태에서, 움직임이 감지되는 경우, 해당 컨텐츠를 공유할 수 있다.According to another embodiment, the firstelectronic device 1580 may share the corresponding content when a motion is detected in a state in which a shareable file or a specific content is selected or opened in a contact, schedule, or note application. .

다른 실시예에 따르면, 제1전자 장치(1580)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 제1전자 장치(1580)의 설정 정보, 데이터 및 어플리케이션을 제2전자 장치(1590)에 전송할 수 있다.According to another embodiment, the firstelectronic device 1580 transmits the setting information, data, and applications of the firstelectronic device 1580 to the secondelectronic device 1590 in response to the acquisition of the first motion information and the second motion information. ) can be sent to

도 16은 다양한 실시예에 따른 기능 수행 방법의 흐름도이다.16 is a flowchart of a method for performing a function according to various embodiments of the present disclosure;

도 16은 전자 장치(1690)(예: 도 3의 전자 장치(380), 도 4의 제1전자 장치(480))가 인접하여 위치하는 복수 개의 외부 장치(1691, 1692, 1693)(예: 도 2의 전자 장치들(210, 220, 230))와 컨텐츠 공유 기능을 실행하는 실시예에 대해 도시하고 있다.16 illustrates a plurality ofexternal devices 1691 , 1692 , 1693 (eg, theelectronic device 380 of FIG. 3 , and the firstelectronic device 480 of FIG. 4 ) adjacent to each other. An embodiment of executing a content sharing function with theelectronic devices 210 , 220 , 230 of FIG. 2 is illustrated.

다양한 실시예에 따르면, 전자 장치(1690)는 복수 개의 외부 장치(1691, 1692, 1693) 중 지정된 움직임이 감지된 외부 장치로 선택된 컨텐츠를 공유할 수 있다.According to various embodiments, theelectronic device 1690 may share the selected content with an external device in which a specified motion is detected among the plurality ofexternal devices 1691 , 1692 , and 1693 .

동작 1601에서, 전자 장치(1690)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 전자 장치(1690)는 움직임을 감지하기 위해, 센서(예: 도 3의 센서(340))가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.Inoperation 1601, theelectronic device 1690 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running. Theelectronic device 1690 may activate the sensor when a sensor (eg, thesensor 340 of FIG. 3 ) is in an inactive state in order to detect a movement.

동작 1602에서, 전자 장치(1690)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 브로드캐스팅 되는 BLE 신호는 제1외부 장치(1691), 제2외부 장치(1692) 및 제3외부 장치(1693)에서 수신될 수 있다.Inoperation 1602, theelectronic device 1690 may broadcast a short-range wireless signal (eg, a BLE signal). The broadcast BLE signal may be received by the firstexternal device 1691 , the secondexternal device 1692 , and the thirdexternal device 1693 .

전자 장치(1690)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함할 수 있다. 예를 들어, 서비스 활성화 요청은, 전자 장치(1690)가 컨텐츠 선택에 기반한 컨텐츠 공유 기능을 활성화함에 따라, 인접한 외부 장치(1691, 1692, 1693)에 컨텐츠 공유 기능을 위한 어플리케이션의 실행 여부의 확인을 요청하는 정보를 포함할 수 있다. 다양한 실시예에 따르면, BLE 신호는 전자 장치(1690)의 동작 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 동작 상태와 관련된 정보는 전자 장치(1690)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보를 포함할 수 있다.The BLE signal broadcast from theelectronic device 1690 may include a service activation request. For example, in the service activation request, as theelectronic device 1690 activates a content sharing function based on content selection, the adjacentexternal devices 1691 , 1692 , and 1693 check whether an application for the content sharing function is executed. It may include requested information. According to various embodiments, the BLE signal may include information related to the operating state of theelectronic device 1690 . For example, the information related to the operating state may include information related to an application or service being executed in theelectronic device 1690 .

다양한 실시예에 따르면, 제1외부 장치(1691), 제2외부 장치(1692) 및 제3외부 장치(1693)는 BLE 신호의 수신에 대응하여, 각 장치의 움직임을 감지하기 위해, 센서가 비활성화된 상태인 경우, 각각 센서를 활성화 할 수 있다.According to various embodiments, the sensors of the firstexternal device 1691 , the secondexternal device 1692 , and the thirdexternal device 1693 are deactivated to detect a movement of each device in response to the reception of the BLE signal. In this state, each sensor can be activated.

동작 1611에서, 전자 장치(1690)는 활성화 된 센서를 이용하여 전자 장치(1690)의 움직임을 감지할 수 있다. 전자 장치(1690)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같이 지정된 움직임을 감지할 수 있고, 움직임이 지정된 조건을 만족하는 경우 움직임 정보를 생성할 수 있다.Inoperation 1611 , theelectronic device 1690 may detect a movement of theelectronic device 1690 using an activated sensor. Theelectronic device 1690 may detect a specified motion, such as a shake motion, a tap motion, a rollable motion, or a folding motion, and may generate motion information when the motion satisfies a specified condition.

동작 1612에서, 제1외부 장치(1691)는 센서를 이용해 제1외부 장치(1691)의 움직임을 감지할 수 있다. 제1외부 장치(1691)에서 감지하는 지정된 움직임은 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같이 전자 장치(1690)에서 감지하는 지정된 움직임과 동일할 수 있다.Inoperation 1612 , the firstexternal device 1691 may detect a movement of the firstexternal device 1691 using a sensor. The designated movement detected by the firstexternal device 1691 may be the same as the designated movement detected by theelectronic device 1690, such as a shake operation, a tap operation, a rollable operation, or a folding operation.

동작 1613에서, 제2외부 장치(1692)는 센서를 이용해 제2외부 장치(1692)의 움직임을 감지할 수 있다. 제2외부 장치(1692)에서 감지하는 지정된 움직임은 전자 장치(1690) 및 제1외부 장치(1691)에서 감지하는 지정된 움직임과 동일할 수 있다.Inoperation 1613 , the secondexternal device 1692 may detect a movement of the secondexternal device 1692 using a sensor. The designated motion detected by the secondexternal device 1692 may be the same as the designated motion detected by theelectronic device 1690 and the firstexternal device 1691 .

동작 1621에서, 제1외부 장치(1691)는 제1외부 장치(1691)의 동작 상태를 확인할 수 있다. 예를 들어, 제1외부 장치(1691)에서 전자 장치(1690)에서 실행 중인 어플리케이션과 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인지 여부를 확인할 수 있다. 본 실시예에서는 제1외부 장치(1691)는 전자 장치(1690)와 동일한 어플리케이션 또는 기능을 실행한 상태일 수 있다.Inoperation 1621 , the firstexternal device 1691 may check an operation state of the firstexternal device 1691 . For example, the firstexternal device 1691 may check whether the same application as the application running on theelectronic device 1690 or another application capable of sharing content is running. In the present embodiment, the firstexternal device 1691 may be in a state in which the same application or function as theelectronic device 1690 has been executed.

동작 1622에서, 제2외부 장치(1692)는 제2외부 장치(1692)의 동작 상태를 확인할 수 있다. 본 실시예에서는 제2외부 장치(1692)는 전자 장치(1690)와 동일한 어플리케이션 또는 기능을 실행하지 않은 상태일 수 있다.동작 1631에서, 제1외부 장치(1691)는 움직임 정보 및/또는 제1외부 장치(1691)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보와 관련된 정보를 포함한 BLE 신호를 브로드캐스팅 할 수 있다. 제1외부 장치(1691)가 전송한 BLE 신호는 제1외부 장치(1691)의 움직임에 대응되는 정보 및 제1외부 장치(1691)의 동작 상태와 관련된 정보를 포함할 수 있다.Inoperation 1622 , the secondexternal device 1692 may check an operation state of the secondexternal device 1692 . In the present embodiment, the secondexternal device 1692 may be in a state in which the same application or function as that of theelectronic device 1690 has not been executed. Inoperation 1631 , the firstexternal device 1691 transmits motion information and/or first A BLE signal including information related to information related to an application or service being executed in theexternal device 1691 may be broadcast. The BLE signal transmitted by the firstexternal device 1691 may include information corresponding to the movement of the firstexternal device 1691 and information related to the operating state of the firstexternal device 1691 .

동작 1632에서, 제2외부 장치(1692)는 움직임 정보 및/또는 제2외부 장치(1692)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보와 관련된 정보를 포함한 BLE 신호를 브로드캐스팅 할 수 있다. 제2외부 장치(1692)가 전송한 BLE 신호는 제2외부 장치(1692)의 움직임에 대응되는 정보 및 제2외부 장치(1692)의 동작 상태와 관련된 정보를 포함할 수 있다.Inoperation 1632 , the secondexternal device 1692 may broadcast a BLE signal including motion information and/or information related to information related to an application or service being executed in the secondexternal device 1692 . The BLE signal transmitted by the secondexternal device 1692 may include information corresponding to the movement of the secondexternal device 1692 and information related to the operating state of the secondexternal device 1692 .

본 실시예에서는 제3외부 장치(1693)는 BLE 신호를 수신하고 센서를 활성화 하여 제3외부 장치(1693)의 움직임을 모니터링 하였으나, 지정된 움직임이 감지되지 않을 수 있다. 이에 따라, 제3외부 장치(1693)는 지정된 움직임 감지에 따른 동작 상태의 확인 및 BLE 신호의 브로드캐스팅을 수행하지 않을 수 있다.In the present embodiment, the thirdexternal device 1693 receives the BLE signal and activates a sensor to monitor the movement of the thirdexternal device 1693, but a designated motion may not be detected. Accordingly, the thirdexternal device 1693 may not check the operation state according to the designated motion detection and broadcast the BLE signal.

동작 1641에서, 전자 장치(1690)는 제1외부 장치(1691) 및 제2외부 장치(1692)로부터 수신한 BLE 신호에 기초하여, 제1외부 장치(1691) 및 제2외부 장치(1692)의 움직임 정보 및 동작 상태를 확인할 수 있다. 전자 장치(1690)는 제1외부 장치(1691) 및 제2외부 장치(1692) 각각이 전송한 움직임 정보 및 동작 상태에 기반하여 컨텐츠를 공유할 적어도 하나의 장치를 확인할 수 있다. 예를 들어, 전자 장치(1690)가 감지한 움직임과 지정한 시간 내에 동일한 움직임을 감지한 장치를 확인할 수 있다. 전자 장치(1690)는 제1외부 장치(1691) 및 제2외부 장치(1692)로부터 수신한 움직임 정보 및 동작 상태에 기초하여, 수행할 기능을 결정할 수 있다. 예를 들어, 전자 장치(1690)는 동일한 어플리케이션 또는 컨텐츠 공유 기능을 실행 중인 제1외부 장치(1691)에 대해 컨텐츠의 양방향 송수신 기능의 수행을 결정할 수 있고, 동일한 어플리케이션 또는 컨텐츠 공유 기능을 실행 중이지 않은 제2외부 장치(1692)에 대해서는 전자 장치(1690)에서 컨텐츠를 제2외부 장치(1692)로 단방향 전송하는 기능의 수행을 결정할 수 있다.Inoperation 1641 , theelectronic device 1690 controls the firstexternal device 1691 and the secondexternal device 1692 based on the BLE signal received from the firstexternal device 1691 and the secondexternal device 1692 . You can check motion information and operation status. Theelectronic device 1690 may identify at least one device to share content with based on the motion information and operation state transmitted by each of the firstexternal device 1691 and the secondexternal device 1692 . For example, a device that detects the same motion as the motion detected by theelectronic device 1690 within a specified time may be identified. Theelectronic device 1690 may determine a function to be performed based on motion information and an operation state received from the firstexternal device 1691 and the secondexternal device 1692 . For example, theelectronic device 1690 may determine to perform a content two-way transmission/reception function with respect to the firstexternal device 1691 executing the same application or content sharing function, and not executing the same application or content sharing function. With respect to the secondexternal device 1692 , it may be determined that theelectronic device 1690 performs a function of unidirectionally transmitting content to the secondexternal device 1692 .

전자 장치(1690)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct 또는 Bluetooth)을 선택하고, 해당 근거리 무선 통신 방식의 연결 및/또는 인증을 위해 필요한 정보를 컨텐츠를 공유할 적어도 하나의 장치로 전송할 수 있다. 동작 1651에서, 전자 장치(1690)는 제1외부 장치(1691)와 통신 연결 관련 정보를 송수신할 수 있다. 여기서, 통신 연결 관련 정보는 동일 기능이 실행 중임을 알리는 정보를 포함할 수 있다. 동작 1652에서, 전자 장치(1690)는 제2외부 장치(1692)와 통신 연결 관련 정보를 송수신할 수 있다.Theelectronic device 1690 selects a short-range wireless communication method (eg, Wi-Fi Direct or Bluetooth) to be used for sharing content, and transmits at least information necessary for connection and/or authentication of the short-range wireless communication method to share the content. It can be sent to one device. Inoperation 1651 , theelectronic device 1690 may transmit and receive communication connection related information with the firstexternal device 1691 . Here, the communication connection related information may include information indicating that the same function is being executed. Inoperation 1652 , theelectronic device 1690 may transmit and receive communication connection related information with the secondexternal device 1692 .

동작 1661에서, 전자 장치(1690)는 제1외부 장치(1691)와 근거리 무선 통신 연결을 수립할 수 있다. 동작 1662에서, 전자 장치(1690)는 제2외부 장치(1692)와 근거리 무선 통신 연결을 수립할 수 있다.Inoperation 1661 , theelectronic device 1690 may establish a short-range wireless communication connection with the firstexternal device 1691 . Inoperation 1662 , theelectronic device 1690 may establish a short-range wireless communication connection with the secondexternal device 1692 .

예를 들어, 전자 장치(1690)는 컨텐츠를 공유할 제1외부 장치(1691) 및 제2외부 장치(1692)와 동시에 근거리 무선 통신을 연결하거나 순차적으로 무선 통신을 연결할 수 있다.For example, theelectronic device 1690 may simultaneously connect short-range wireless communication with the firstexternal device 1691 and the secondexternal device 1692 to share content or sequentially connect wireless communications.

동작 1671에서, 전자 장치(1690)는 수립된 근거리 무선 통신 연결을 이용하여 제1외부 장치(1691)와 양방향 컨텐츠 전송을 수행할 수 있다. 전자 장치(1690)는 어플리케이션에서 선택된 컨텐츠를 제1외부 장치(1691)로 전송하고, 제1외부 장치(1691)에서 선택된 컨텐츠를 수신할 수 있다.Inoperation 1671 , theelectronic device 1690 may perform interactive content transmission with the firstexternal device 1691 using the established short-range wireless communication connection. Theelectronic device 1690 may transmit the content selected in the application to the firstexternal device 1691 and receive the content selected from the firstexternal device 1691 .

동작 1672에서, 전자 장치(1690)는 수립된 근거리 무선 통신 연결을 이용하여 제2외부 장치(1692)에 선택된 컨텐츠를 전송할 수 있다.Inoperation 1672 , theelectronic device 1690 may transmit the selected content to the secondexternal device 1692 using the established short-range wireless communication connection.

다양한 실시예에 따른 전자 장치(380)는, 디스플레이(330), 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈(310), 전자 장치(380)의 움직임을 감지하는 센서(340), 메모리(320), 및 상기 디스플레이(330), 상기 근거리 통신 모듈(310), 상기 센서(340) 및 상기 메모리(320)와 작동적으로(operatively) 연결되는 프로세서(350)를 포함하고, 상기 프로세서(350)는, 지정된 이벤트에 대응하여, 상기 센서(340)를 활성화 하고, 상기 근거리 통신 모듈(310)을 통해 상기 외부 장치에 상기 이벤트에 대응하는 신호를 전송하고, 상기 센서(340)를 통해 상기 감지된 전자 장치(380)의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치(380)의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 외부 장치로부터 상기 근거리 통신 모듈(310)을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치(380)의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하도록 설정될 수 있다.Theelectronic device 380 according to various embodiments includes adisplay 330 , a short-range communication module 310 for performing short-range communication with an external device, asensor 340 for detecting movement of theelectronic device 380, and a memory ( 320), and a processor (350) operatively coupled to the display (330), the short-range communication module (310), the sensor (340) and the memory (320), the processor (350) ), in response to a specified event, activates thesensor 340 , transmits a signal corresponding to the event to the external device through the short-range communication module 310 , and detects thesensor 340 through thesensor 340 . When the movement of theelectronic device 380 satisfies a specified condition, first motion information related to the movement of theelectronic device 380 is generated, and the external device is communicated from the external device through the short-range communication module 310 . When receiving the second motion information related to the motion of the user and the information related to the operating state of the external device, and obtaining the first motion information and the second motion information, the operating state of theelectronic device 380 and the external device It can be set to perform a function corresponding to the operating state of the

다양한 실시예에 따르면, 상기 이벤트는 지정된 어플리케이션의 실행, 상기 디스플레이(330) 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함할 수 있다.According to various embodiments, the event may include at least one of an execution of a specified application, a user input to thedisplay 330 or an external key.

다양한 실시예에 따르면, 상기 동작 상태는 지정된 어플리케이션의 실행 여부를 포함할 수 있다.According to various embodiments, the operation state may include whether a specified application is being executed.

다양한 실시예에 따르면, 상기 기능은 상기 외부 장치로의 컨텐츠 전송 또는 상기 외부 장치로부터의 컨텐츠 수신을 포함할 수 있다.According to various embodiments, the function may include content transmission to the external device or content reception from the external device.

다양한 실시예에 따르면, 상기 프로세서(350)는, 지정된 어플리케이션이 실행 중인 경우, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 실행 중인 어플리케이션의 컨텐츠를 상기 외부 장치로 전송하도록 설정될 수 있다.According to various embodiments, when a specified application is running, theprocessor 350 transmits the content of the running application to the external device in response to acquisition of the first motion information and the second motion information. can be set.

다양한 실시예에 따르면, 상기 프로세서(350)는, 상기 외부 장치로 전송한 컨텐츠 및 상기 외부 장치로부터 수신된 컨텐츠를 하나의 폴더에 저장하도록 설정될 수 있다.According to various embodiments, theprocessor 350 may be configured to store the content transmitted to the external device and the content received from the external device in one folder.

다양한 실시예에 따르면, 상기 프로세서(350)는, 상기 컨텐츠의 전송 여부를 선택하기 위한 팝업창을 상기 디스플레이(330)에 표시하도록 설정될 수 있다.According to various embodiments, theprocessor 350 may be set to display a pop-up window for selecting whether to transmit the content on thedisplay 330 .

다양한 실시예에 따르면, 상기 기능은 상기 외부 장치와의 화면 공유를 포함하고, 상기 프로세서(350)는, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 디스플레이(330)에 표시 중인 화면을 상기 외부 장치로 전송하도록 설정될 수 있다.According to various embodiments, the function includes screen sharing with the external device, and theprocessor 350 displays the first motion information and the second motion information on thedisplay 330 in response to the acquisition. The screen being displayed may be set to be transmitted to the external device.

다양한 실시예에 따르면, 상기 기능은 그룹 참가를 포함하고, 상기 프로세서(350)는, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 실행 중인 어플리케이션에서 생성된 그룹에 상기 외부 장치를 추가하도록 설정될 수 있다.According to various embodiments, the function includes joining a group, and theprocessor 350, in response to the acquisition of the first motion information and the second motion information, joins the external device to the group created by the running application. can be set to add

다양한 실시예에 따르면, 상기 기능은 설정 정보의 공유를 포함하고, 상기 프로세서(350)는, 전자 장치(380) 상에서 설정된 설정 정보를 상기 외부 장치에 전송하도록 설정될 수 있다.According to various embodiments, the function may include sharing of setting information, and theprocessor 350 may be configured to transmit setting information set on theelectronic device 380 to the external device.

다양한 실시예에 따르면, 상기 기능은 파일의 공유를 포함하고, 상기 프로세서(350)는, 상기 외부 장치로부터 수신된 파일을 상기 메모리(320)에 저장된 파일과 합성하도록 설정될 수 있다.According to various embodiments, the function may include file sharing, and theprocessor 350 may be configured to combine the file received from the external device with the file stored in thememory 320 .

다양한 실시예에 따르면, 상기 프로세서(350)는, 상기 제1움직임 정보 및 상기 제2움직임 정보가 동일한 타입의 움직임인 경우, 상기 지정된 기능을 수행하도록 설정될 수 있다.According to various embodiments, when the first motion information and the second motion information are the same type of motion, theprocessor 350 may be configured to perform the specified function.

다양한 실시예에 따르면, 상기 움직임의 타입은 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작을 포함할 수 있다.According to various embodiments, the type of movement may include a shake operation, a tap operation, a rollable operation, or a foldable operation.

다양한 실시예에 따른 전자 장치(380)의 기능 수행 방법은, 지정된 이벤트에 대응하여, 센서(340)를 활성화 하는 동작, 외부 장치에 상기 이벤트에 대응하는 신호를 전송하는 동작, 상기 센서(340)를 통해 상기 감지된 전자 장치(380)의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치(380)의 움직임에 관련된 제1움직임 정보를 생성하는 동작, 상기 외부 장치로부터 상기 근거리 통신 모듈(310)을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하는 동작, 및 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치(380)의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하는 동작을 포함할 수 있다.The method of performing a function of theelectronic device 380 according to various embodiments includes an operation of activating thesensor 340 in response to a specified event, an operation of transmitting a signal corresponding to the event to an external device, and thesensor 340 . When the detected movement of theelectronic device 380 satisfies a specified condition through an operation of generating first motion information related to the movement of theelectronic device 380, the short-range communication module 310 from the external device In the case of receiving the second motion information related to the motion of the external device and information related to the operating state of the external device, and the first motion information and the second motion information are obtained through and performing a function corresponding to the operating state of the external device and the operating state of the external device.

다양한 실시예에 따르면, 상기 이벤트는 지정된 어플리케이션의 실행, 디스플레이(330) 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함할 수 있다.According to various embodiments, the event may include at least one of an execution of a specified application, a user input to thedisplay 330 or an external key.

다양한 실시예에 따르면, 상기 동작 상태는 지정된 어플리케이션의 실행 여부를 포함할 수 있다.According to various embodiments, the operation state may include whether a specified application is running.

다양한 실시예에 따르면, 상기 기능은 상기 외부 장치로의 컨텐츠 전송 또는 상기 외부 장치로부터의 컨텐츠 수신을 포함할 수 있다.According to various embodiments, the function may include content transmission to the external device or content reception from the external device.

다양한 실시예에 따르면, 상기 기능을 수행하는 동작은, 지정된 어플리케이션이 실행 중인 경우, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 실행 중인 어플리케이션의 컨텐츠를 상기 외부 장치로 전송하는 동작을 포함할 수 있다.According to various embodiments, the performing of the function includes, when a specified application is running, transmitting the contents of the running application to the external device in response to obtaining the first motion information and the second motion information It may include an action to

다양한 실시예에 따르면, 상기 제1움직임 정보 및 상기 제2움직임 정보가 동일한 타입의 움직임인지 확인하는 동작을 더 포함할 수 있다.According to various embodiments, the method may further include checking whether the first motion information and the second motion information are of the same type of motion.

다양한 실시예에 따른 전자 장치(380)는, 디스플레이(330), 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈(310), 전자 장치(380)의 움직임을 감지하는 센서(340), 메모리(320), 및 상기 디스플레이(330), 상기 근거리 통신 모듈(310), 상기 센서(340) 및 상기 메모리(320)와 작동적으로(operatively) 연결되는 프로세서(350)를 포함하고, 상기 프로세서(350)는, 상기 근거리 통신 모듈(310)을 통해 상기 외부 장치로부터 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 외부 장치의 동작 상태에 대응하는 기능이 컨텐츠 공유 기능인 경우, 상기 센서(340)를 활성화 하고, 상기 센서(340)를 통해 상기 감지된 전자 장치(380)의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치(380)의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 근거리 통신 모듈(310)을 통해 상기 제1움직임 정보 및 상기 전자 장치(380)의 동작 상태와 관련된 정보를 상기 외부 장치로 전송하고, 및 상기 외부 장치로부터 컨텐츠를 수신하는 동작을 수행하도록 설정될 수 있다.Theelectronic device 380 according to various embodiments includes adisplay 330 , a short-range communication module 310 for performing short-range communication with an external device, asensor 340 for detecting movement of theelectronic device 380, and a memory ( 320), and a processor (350) operatively coupled to the display (330), the short-range communication module (310), the sensor (340) and the memory (320), the processor (350) ) receives information related to the operating state of the external device from the external device through the short-range communication module 310, and when the function corresponding to the operating state of the external device is a content sharing function, thesensor 340 , and when the motion of theelectronic device 380 sensed through thesensor 340 satisfies a specified condition, first motion information related to the motion of theelectronic device 380 is generated, and the short-distance communication Themodule 310 may be configured to transmit the first motion information and information related to the operation state of theelectronic device 380 to the external device and to receive content from the external device.

Claims (20)

Translated fromKorean
전자 장치에 있어서,
디스플레이;
외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈;
전자 장치의 움직임을 감지하는 센서;
메모리; 및
상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고,
상기 프로세서는,
지정된 이벤트에 대응하여, 상기 센서를 활성화 하고,
상기 근거리 통신 모듈을 통해 상기 외부 장치에 상기 이벤트에 대응하는 신호를 전송하고,
상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고,
상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고,
상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하도록 설정된 전자 장치.
In an electronic device,
display;
a short-range communication module for performing short-range communication with an external device;
a sensor for detecting the movement of the electronic device;
Memory; and
a processor operatively coupled to the display, the short-range communication module, the sensor, and the memory;
The processor is
In response to a specified event, activating the sensor,
Transmitting a signal corresponding to the event to the external device through the short-range communication module,
When the motion of the electronic device sensed through the sensor satisfies a specified condition, generating first motion information related to the motion of the electronic device,
receiving second motion information related to a motion of the external device and information related to an operating state of the external device from the external device through the short-range communication module;
An electronic device configured to perform a function corresponding to an operating state of the electronic device and an operating state of the external device when the first motion information and the second motion information are acquired.
제 1항에 있어서,
상기 이벤트는 지정된 어플리케이션의 실행, 상기 디스플레이 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함하는 전자 장치.
The method of claim 1,
The event includes at least one of an execution of a specified application and a user input to the display or an external key.
제 1항에 있어서,
상기 전자 장치의 동작 상태는 지정된 어플리케이션의 실행 여부를 포함하는 전자 장치.
The method of claim 1,
The operating state of the electronic device includes whether a specified application is executed or not.
제 1항에 있어서,
상기 프로세서는,
상기 외부 장치의 동작 상태에 기초하여 상기 외부 장치가 상기 전자 장치에서 실행 중인 어플리케이션과 대응되는 적어도 하나의 어플리케이션을 설치 또는 실행하고 있는지 확인하고, 상기 확인에 기초하여 상기 수행할 기능을 결정하도록 설정된 전자 장치.
The method of claim 1,
The processor is
an electronic device configured to determine whether the external device is installing or executing at least one application corresponding to the application being executed in the electronic device based on the operation state of the external device, and to determine the function to be performed based on the confirmation Device.
제 1항에 있어서,
상기 기능은 상기 외부 장치로의 컨텐츠 전송 또는 상기 외부 장치로부터의 컨텐츠 수신 중 적어도 하나를 포함하는 전자 장치.
The method of claim 1,
The function includes at least one of transmitting content to the external device or receiving content from the external device.
제 5항에 있어서,
상기 프로세서는,
지정된 어플리케이션이 실행 중인 경우, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 실행 중인 어플리케이션에 기반한 컨텐츠를 상기 외부 장치로 전송하도록 설정된 전자 장치.
6. The method of claim 5,
The processor is
An electronic device configured to transmit content based on the running application to the external device in response to acquisition of the first motion information and the second motion information when a specified application is running.
제 6항에 있어서,
상기 프로세서는,
상기 컨텐츠의 전송 여부를 선택하기 위한 팝업창을 상기 디스플레이에 표시하도록 설정된 전자 장치.
7. The method of claim 6,
The processor is
An electronic device configured to display a pop-up window for selecting whether to transmit the content on the display.
제 5항에 있어서,
상기 프로세서는,
상기 외부 장치로 전송한 컨텐츠 및 상기 외부 장치로부터 수신된 컨텐츠를 하나의 폴더에 저장하도록 설정된 전자 장치.
6. The method of claim 5,
The processor is
An electronic device configured to store the content transmitted to the external device and the content received from the external device in one folder.
제 1항에 있어서,
상기 기능은 상기 외부 장치와의 화면 공유를 포함하고,
상기 프로세서는,
상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 디스플레이에 표시 중인 화면의 적어도 일부를 상기 외부 장치로 전송하도록 설정된 전자 장치.
The method of claim 1,
The function includes screen sharing with the external device,
The processor is
an electronic device configured to transmit at least a portion of the screen being displayed on the display to the external device in response to acquisition of the first motion information and the second motion information.
제 1항에 있어서,
상기 기능은 그룹 참가를 포함하고,
상기 프로세서는,
상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 실행 중인 어플리케이션에서 생성된 그룹에 상기 외부 장치를 추가하도록 설정된 전자 장치.
The method of claim 1,
The function includes group participation,
The processor is
an electronic device configured to add the external device to a group created by an application being executed in response to the acquisition of the first motion information and the second motion information.
제 1항에 있어서,
상기 기능은 설정 정보의 공유를 포함하고,
상기 프로세서는,
전자 장치 상에서 설정된 설정 정보를 상기 외부 장치에 전송하도록 설정된 전자 장치.
The method of claim 1,
The function includes sharing of setting information,
The processor is
An electronic device configured to transmit setting information set on the electronic device to the external device.
제 1항에 있어서,
상기 기능은 파일의 공유를 포함하고,
상기 프로세서는,
상기 외부 장치로부터 수신된 파일을 상기 메모리에 저장된 파일과 합성하도록 설정된 전자 장치.
The method of claim 1,
The function includes sharing of files,
The processor is
An electronic device configured to synthesize a file received from the external device with a file stored in the memory.
제 1항에 있어서,
상기 프로세서는,
상기 제1움직임 정보 및 상기 제2움직임 정보가 동일한 타입의 움직임인 경우, 상기 지정된 기능을 수행하도록 설정된 전자 장치.
The method of claim 1,
The processor is
The electronic device configured to perform the specified function when the first motion information and the second motion information are the same type of motion.
제 13항에 있어서,
상기 움직임의 타입은 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작을 포함하는 전자 장치.
14. The method of claim 13,
The type of movement includes a shake operation, a tap operation, a rollable operation, or a foldable operation.
전자 장치의 기능 수행 방법에 있어서,
지정된 이벤트에 대응하여, 센서를 활성화 하는 동작;
외부 장치에 상기 이벤트에 대응하는 신호를 전송하는 동작;
상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하는 동작;
상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하는 동작; 및
상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하는 동작을 포함하는 방법.
A method for performing a function of an electronic device, comprising:
activating a sensor in response to a specified event;
transmitting a signal corresponding to the event to an external device;
generating first motion information related to the motion of the electronic device when the motion of the electronic device sensed through the sensor satisfies a specified condition;
receiving second motion information related to a motion of the external device and information related to an operating state of the external device from the external device through the short-range communication module; and
and performing a function corresponding to an operating state of an electronic device and an operating state of the external device when the first motion information and the second motion information are acquired.
제 15항에 있어서,
상기 동작 상태는 지정된 어플리케이션의 실행 여부를 포함하는 방법.
16. The method of claim 15,
The operation state includes whether a specified application is running.
제 15항에 있어서,
상기 기능은 상기 외부 장치로의 컨텐츠 전송 또는 상기 외부 장치로부터의 컨텐츠 수신을 포함하는 방법.
16. The method of claim 15,
The function includes transmitting content to the external device or receiving content from the external device.
제 15항에 있어서,
상기 기능을 수행하는 동작은,
지정된 어플리케이션이 실행 중인 경우, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 실행 중인 어플리케이션의 컨텐츠를 상기 외부 장치로 전송하는 동작을 포함하는 방법.
16. The method of claim 15,
The operation to perform the above function is,
and transmitting the contents of the running application to the external device in response to acquisition of the first motion information and the second motion information when a specified application is running.
제 15항에 있어서,
상기 제1움직임 정보 및 상기 제2움직임 정보가 동일한 타입의 움직임인지 확인하는 동작을 더 포함하는 방법.
16. The method of claim 15,
The method further comprising the step of confirming whether the first motion information and the second motion information are the same type of motion.
전자 장치에 있어서,
디스플레이;
외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈;
전자 장치의 움직임을 감지하는 센서;
메모리; 및
상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고,
상기 프로세서는,
상기 근거리 통신 모듈을 통해 상기 외부 장치로부터 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고,
상기 외부 장치의 동작 상태에 대응하는 기능이 컨텐츠 공유 기능인 경우, 상기 센서를 활성화 하고,
상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고,
상기 근거리 통신 모듈을 통해 상기 제1움직임 정보 및 상기 전자 장치의 동작 상태와 관련된 정보를 상기 외부 장치로 전송하고, 및
상기 외부 장치로부터 컨텐츠를 수신하는 동작을 수행하도록 설정된 전자 장치.
In an electronic device,
display;
a short-range communication module for performing short-range communication with an external device;
a sensor for detecting the movement of the electronic device;
Memory; and
a processor operatively coupled to the display, the short-range communication module, the sensor, and the memory;
The processor is
receiving information related to an operating state of the external device from the external device through the short-range communication module;
When the function corresponding to the operation state of the external device is a content sharing function, the sensor is activated,
When the motion of the electronic device sensed through the sensor satisfies a specified condition, generating first motion information related to the motion of the electronic device,
transmitting the first motion information and information related to an operation state of the electronic device to the external device through the short-range communication module, and
An electronic device configured to receive content from the external device.
KR1020200078711A2020-06-262020-06-26Electronice device and method for performing functionActiveKR102788098B1 (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
KR1020200078711AKR102788098B1 (en)2020-06-262020-06-26Electronice device and method for performing function
PCT/KR2021/008086WO2021261972A1 (en)2020-06-262021-06-28Electronic device, and function performing method of electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
KR1020200078711AKR102788098B1 (en)2020-06-262020-06-26Electronice device and method for performing function

Publications (2)

Publication NumberPublication Date
KR20220000720Atrue KR20220000720A (en)2022-01-04
KR102788098B1 KR102788098B1 (en)2025-03-31

Family

ID=79281555

Family Applications (1)

Application NumberTitlePriority DateFiling Date
KR1020200078711AActiveKR102788098B1 (en)2020-06-262020-06-26Electronice device and method for performing function

Country Status (2)

CountryLink
KR (1)KR102788098B1 (en)
WO (1)WO2021261972A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2023153743A1 (en)*2022-02-092023-08-17삼성전자주식회사Electronic device and operating method therefor
KR20230152512A (en)*2022-04-272023-11-03경일대학교산학협력단Electronic device including virtual keyboard

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20100121997A (en)*2009-05-112010-11-19한국과학기술원Method for short-range data transmmition between mobile terminals based on intuitive hand gestures and the mobile terminal
KR20140042188A (en)*2012-09-282014-04-07주식회사 엘지유플러스Method for sharing function between terminals, terminal, and recording medium thereof
KR20150114360A (en)*2014-03-312015-10-12엘지전자 주식회사Content sharing device, content sharing system and operating method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR101759912B1 (en)*2011-01-042017-07-20삼성전자주식회사Method and apparatus for transmitting data in a mobile terminal
KR101951473B1 (en)*2012-10-152019-02-22엘지전자 주식회사Mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20100121997A (en)*2009-05-112010-11-19한국과학기술원Method for short-range data transmmition between mobile terminals based on intuitive hand gestures and the mobile terminal
KR20140042188A (en)*2012-09-282014-04-07주식회사 엘지유플러스Method for sharing function between terminals, terminal, and recording medium thereof
KR20150114360A (en)*2014-03-312015-10-12엘지전자 주식회사Content sharing device, content sharing system and operating method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2023153743A1 (en)*2022-02-092023-08-17삼성전자주식회사Electronic device and operating method therefor
KR20230152512A (en)*2022-04-272023-11-03경일대학교산학협력단Electronic device including virtual keyboard

Also Published As

Publication numberPublication date
KR102788098B1 (en)2025-03-31
WO2021261972A1 (en)2021-12-30

Similar Documents

PublicationPublication DateTitle
US11487558B2 (en)Electronic device and screen sharing method using same
US11366584B2 (en)Method for providing function or content associated with application, and electronic device for carrying out same
KR102523826B1 (en)Electronic device using a bluetooth communication and method of operating the same
US11726647B2 (en)Content sharing method and electronic device therefor
KR20200067567A (en)Electronic device for performing operation based on status information of the electronic device and a method for the same
CN113874828B (en) Electronic device, method, and computer-readable medium for providing screen sharing service through an external electronic device
KR20210044025A (en)Electronic device and method processing pop-up window using multi-window thereof
KR20210040701A (en)Electronic device for synchronizing modification of screen between screens and method for the same
KR20190069877A (en)Electronic device and method for controlling input thereof
KR20210044975A (en)Method for providing screen using foldable display and electronic device for supporting the same
US11234113B2 (en)Electronic device and method for providing service by electronic device
EP3772681B1 (en)Electronic device and method for sharing data thereof
KR102731087B1 (en)Electronic device for displaying inquiry list of external electronic device in bluetooth network environment and method thereof
KR20210101496A (en)Method for communication based on state of external electronic apparatus and electronic appratus thereof
KR20190112406A (en)A mobile electronic device and a method for forwarding user input to an application according to input means
KR102527896B1 (en)Method for controlling notification and electronic device thereof
KR20200072727A (en)An electornic devid and a method for displaying web contents in augmented reality mode
KR20200058157A (en)Electronic device and method for providing in-vehicle infortainment service
KR20210050398A (en)Electronic device for trnasmitting data to external electronic device not connected to the electronic device and method for the same
KR20190095784A (en)Electronic device for connecting external devices based on connection information and operating method thereof
KR102788098B1 (en)Electronice device and method for performing function
KR20200093346A (en)Electronic apparatus and method for displaying contextual information of application
KR102424930B1 (en)Electronic device for providing different service according to external devices
KR102697163B1 (en)An electronic device transmitting audio data to a plurality of external devices and method thereof
KR20210101075A (en)Electronic device and method for operating clipboard thereof

Legal Events

DateCodeTitleDescription
PA0109Patent application

Patent event code:PA01091R01D

Comment text:Patent Application

Patent event date:20200626

PG1501Laying open of application
E902Notification of reason for refusal
PE0902Notice of grounds for rejection

Comment text:Notification of reason for refusal

Patent event date:20240812

Patent event code:PE09021S01D

E701Decision to grant or registration of patent right
PE0701Decision of registration

Patent event code:PE07011S01D

Comment text:Decision to Grant Registration

Patent event date:20250107

GRNTWritten decision to grant
PR0701Registration of establishment

Comment text:Registration of Establishment

Patent event date:20250325

Patent event code:PR07011E01D

PR1002Payment of registration fee

Payment date:20250326

End annual number:3

Start annual number:1

PG1601Publication of registration

[8]ページ先頭

©2009-2025 Movatter.jp