KR20210121923A - Methods for control a background application and an electronic device supporting the same - Google Patents

Methods for control a background application and an electronic device supporting the same Download PDF

Info

Publication number
KR20210121923A
KR20210121923A KR1020200039382A KR20200039382A KR20210121923A KR 20210121923 A KR20210121923 A KR 20210121923A KR 1020200039382 A KR1020200039382 A KR 1020200039382A KR 20200039382 A KR20200039382 A KR 20200039382A KR 20210121923 A KR20210121923 A KR 20210121923A
Authority
KR
South Korea
Prior art keywords
application
electronic device
user input
processor
display
Prior art date
Application number
KR1020200039382A
Other languages
Korean (ko)
Inventor
강지영
노연희
안수정
이진아
최윤정
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020200039382A priority Critical patent/KR20210121923A/en
Priority to PCT/KR2021/003655 priority patent/WO2021201490A1/en
Publication of KR20210121923A publication Critical patent/KR20210121923A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Abstract

Disclosed is an electronic device includes: a display; at least one sensor; a processor; and a memory operatively coupled to the display, the sensor, and the processor, wherein the memory stores instructions that cause, when executed, the processor to: display an execution screen of a first application among a plurality of applications on the display while the applications installed in the electronic device are executed; detect a first user input that does not make contact with the electronic device through the sensor; display a first user interface related to control of a second application running in a background among the applications on a designated region of the display based on the detected first user input; detect a second user input through the at least one sensor; change the first user interface into a second user interface related to control of a third application running in the background among the applications based on the detected second user input; and perform control of the third application based on a third user input when the third user input is detected through the at least one sensor. Various other embodiments identified through the present disclosure are possible.

Description

백 그라운드 어플리케이션의 제어 방법 및 이를 지원하는 전자 장치{Methods for control a background application and an electronic device supporting the same}A method for controlling a background application and an electronic device supporting the same

본 발명의 다양한 실시예들은, 백 그라운드에서 실행되는 어플리케이션의 제어 방법 및 이를 지원하는 전자 장치에 관한 것이다.Various embodiments of the present invention relate to a method of controlling an application executed in a background and an electronic device supporting the same.

스마트 폰과 같은 전자 장치는 복수의 어플리케이션을 실행할 수 있다. 예를 들어, 전자 장치는 음악 재생 어플리케이션을 실행하여, 음악을 재생할 수 있다. 전자 장치가 음악 재생 어플리케이션을 실행한 상태에서 e-book과 같은 전자 책 어플리케이션을 실행하는 경우, 기존에 음악을 재생 중이던 음악 재생 어플리케이션은 백 그라운드(back ground) 상태로 음악을 재생할 수 있다. 또한, 전자 책 어플리케이션은 포어 그라운드(fore ground) 상태가 될 수 있으며, 포어 그라운드 상태의 전자 책 어플리케이션은 전자 장치가 현재 수신한 사용자 입력으로 제어되는 포커싱(focusing) 상태로 디스플레이에 표시될 수 있다.An electronic device such as a smart phone may execute a plurality of applications. For example, the electronic device may play music by executing a music playback application. When the electronic device executes an e-book application such as an e-book in a state in which the music playback application is running, the music playback application that was previously playing music may play music in a background state. Also, the e-book application may be in a foreground state, and the e-book application in the foreground state may be displayed on the display in a focusing state controlled by a user input currently received by the electronic device.

그러나, 기존의 전자 장치는 키 입력이나 터치 입력과 같은 사용자 입력을 통해 포어 그라운드 상태로 실행되고 있는 어플리케이션을 제어할 수 있으나, 백 그라운드에서 실행 중인 어플리케이션을 제어하기 어려웠다. 예를 들어, 전자 장치는 백 그라운드 상태로 실행 중인 어플리케이션을 제어하기 위하여 포어 그라운드로 호출할 수 있다. 백 그라운드 상태로 실행 중인 포어 그라운드로 호출함에 따라, 기존에 사용하고 있는 포어 그라운드 어플리케이션의 사용 흐름이 끊기는 현상이 발생할 수 있다. However, the conventional electronic device can control an application running in the foreground state through a user input such as a key input or a touch input, but it is difficult to control an application running in the background. For example, the electronic device may make a foreground call to control an application running in the background state. As the call is made to the foreground that is running in the background state, the flow of use of the foreground application being used may be interrupted.

본 발명의 다양한 실시 예들은, 전자 장치에 접촉되지 않은 사용자 입력(예: 제스쳐 또는 호버링 입력)을 통해 백 그라운드 어플리케이션을 제어하는 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.Various embodiments of the present disclosure may provide a method of controlling a background application through a user input (eg, a gesture or a hovering input) that is not in contact with the electronic device and an electronic device supporting the method.

본 발명의 다양한 실시예에 따른 전자 장치는, 디스플레이, 적어도 하나의 센서, 프로세서, 상기 디스플레이, 상기 센서 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 전자 장치에 설치된 복수 개의 어플리케이션이 실행된 상태에서, 상기 복수 개의 어플리케이션 중 제1 어플리케이션의 실행 화면을 상기 디스플레이에 표시하고, 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하고, 상기 검출한 제1 사용자 입력을 기반으로, 상기 복수의 어플리케이션 중 백 그라운드로 실행 중인 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하고, 상기 적어도 하나의 센서를 통해 제2 사용자 입력을 검출하고, 상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 사용자 인터페이스를 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하고, 상기 적어도 하나의 센서를 통해 제3 사용자 입력을 검출하면, 상기 제3 사용자 입력을 기반으로, 상기 제3 어플리케이션에 대한 제어를 수행하도록 하는 인스트럭션들을 저장하는 전자 장치를 포함할 수 있다.An electronic device according to various embodiments of the present disclosure includes a display, at least one sensor, a processor, the display, the sensor, and a memory operatively connected to the processor, wherein the memory, when executed, causes the processor to , in a state in which a plurality of applications installed in the electronic device are executed, an execution screen of a first application among the plurality of applications is displayed on the display, and a first user input not in contact with the electronic device is detected through the sensor and, based on the detected first user input, display a first user interface related to control of a second application running in the background among the plurality of applications on a designated area of the display, and use the at least one sensor detecting a second user input through the user interface, and changing the first user interface to a second user interface related to control of a third application running in the background among the plurality of applications based on the detected second user input; , when a third user input is detected through the at least one sensor, an electronic device storing instructions for controlling the third application based on the third user input.

본 발명의 다양한 실시예에 따른 전자 장치는 디스플레이, 적어도 하나의 센서, 통신 모듈, 프로세서, 상기 디스플레이, 상기 센서, 상기 통신 모듈 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 전자 장치에 설치된 제1 어플리케이션의 실행 화면과 관련된 데이터를 상기 통신 모듈을 통해 상기 외부 전자 장치에 전송하고, 상기 전자 장치에 설치된 제2 어플리케이션의 실행 화면을 상기 디스플레이에 표시하고, 상기 적어도 하나의 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하고, 상기 검출한 제1 사용자 입력을 기반으로, 상기 제1 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하고, 상기 적어도 하나의 센서를 통해 제2 사용자 입력을 검출하고, 상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 어플리케이션에 대한 제어 신호를 상기 통신 모듈을 통해 상기 외부 전자 장치에 전송하도록 하는 인스트럭션들을 저장하는 전자 장치를 포함할 수 있다.An electronic device according to various embodiments of the present disclosure includes a display, at least one sensor, a communication module, a processor, the display, the sensor, the communication module, and a memory operatively connected to the processor, wherein the memory includes: When the processor transmits data related to an execution screen of a first application installed in the electronic device to the external electronic device through the communication module, the processor transmits an execution screen of a second application installed in the electronic device to the display. display, detect a first user input that is not in contact with the electronic device through the at least one sensor, and display a first user interface related to control of the first application based on the detected first user input The display is displayed on a designated area of the display, a second user input is detected through the at least one sensor, and a control signal for the first application is transmitted through the communication module based on the detected second user input. The electronic device may include an electronic device that stores instructions to be transmitted to the electronic device.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은, 상기 전자 장치에 설치된 복수 개의 어플리케이션이 실행된 상태에서, 상기 복수의 개의 어플리케이션 중 제1 어플리케이션의 실행 화면을 상기 전자 장치의 디스플레이에 표시하는 동작, 상기 전자 장치의 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하는 동작, 상기 검출한 제1 사용자 입력을 기반으로, 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하는 동작, 상기 센서를 통해 제2 사용자 입력을 검출하는 동작, 상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 사용자 인터페이스를 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하는 동작 및 상기 센서를 통해 제3 사용자 입력을 검출하면, 상기 제3 사용자 입력을 기반으로, 상기 제3 어플리케이션에 대한 제어를 수행하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments of the present disclosure, in a state in which a plurality of applications installed in the electronic device are executed, an execution screen of a first application among the plurality of applications is displayed on a display of the electronic device. operation, detecting a first user input that is not in contact with the electronic device through a sensor of the electronic device, and detecting a second application running in the background among the plurality of applications based on the detected first user input Based on an operation of displaying a control-related first user interface on a designated area of the display, an operation of detecting a second user input through the sensor, and an operation of the detected second user input, the plurality of first user interfaces When a third user input is detected through an operation of changing to a second user interface related to control of a third application running in the background among applications, and a third user input is detected through the sensor, based on the third user input, the third application is accessed. It may include an operation for performing control of the .

본 발명의 다양한 실시예들에 따르면, 전자 장치에 접촉되지 않은 입력을 기반으로 백 그라운드 어플리케이션을 제어할 수 있다.According to various embodiments of the present disclosure, a background application may be controlled based on an input that is not in contact with the electronic device.

또한, 본 발명의 다양한 실시예들에 따르면, 전자 장치와 통신적으로 연결된 외부 전자 장치에 전자 장치의 백 그라운드 어플리케이션에 대한 데이터를 전송하여, 외부 전자 장치가 백 그라운드 어플리케이션의 실행 화면을 표시하면, 전자 장치에서 검출되는 사용자 입력을 기반으로, 외부 전자 장치에서 실행중인 백 그라운드 어플리케이션을 제어할 수 있다.Further, according to various embodiments of the present disclosure, when data on a background application of the electronic device is transmitted to an external electronic device communicatively connected to the electronic device, and the external electronic device displays an execution screen of the background application, A background application running in the external electronic device may be controlled based on a user input detected by the electronic device.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.

도 1은 본 발명의 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 백 그라운드에서 실행되는 어플리케이션을 제어하는 전자 장치의 블록도이다.
도 3은 본 발명의 일 실시예에 따른 백 그라운드에서 실행되는 복수의 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시예에 따른 외부 전자 장치와 연결된 상태에서, 백 그라운드에서 실행되는 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.
도 5는 본 발명의 일 실시예에 따른 사용자 입력을 기반으로 전자 장치에서 실행되고 있는 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.
도 6은 본 발명의 일 실시예에 따른 사용자 인터페이스를 설명하기 위한 도면이다.
도 7은 본 발명의 일 실시예에 따른 터치 스크린을 통해 사용자 입력을 수신하는 방법을 설명하기 위한 도면이다.
도 8은 본 발명의 일 실시예에 따른 백 그라운드 어플리케이션의 기능을 제어하는 방법을 설명하기 위한 도면이다.
도 9는 본 발명의 일 실시예에 따른 백 그라운드에서 실행 중인 복수의 어플리케이션 중 하나를 선택하여 제어하는 방법을 설명하기 위한 도면이다.
도 10은 본 발명의 일 실시예에 따른 센서의 활성화를 중지하는 방법을 설명하기 위한 도면이다.
도 11은 본 발명의 일 실시예에 따른 외부 전자 장치와 연결된 상태에서, 백 그라운드 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.
도 12는 본 발명의 일 실시예에 따른 멀티 윈도우를 통해 표시되는 복수의 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.
도 13은 본 발명의 일 실시예에 따른 외부 전자 장치와 연결된 상태에서 멀티 윈도우를 통해 표시되는 복수의 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
2 is a block diagram of an electronic device for controlling an application executed in the background according to an embodiment of the present invention.
3 is a diagram for explaining a method of controlling a plurality of applications executed in the background according to an embodiment of the present invention.
4 is a diagram for explaining a method of controlling an application executed in a background while being connected to an external electronic device according to an embodiment of the present invention.
5 is a diagram for explaining a method of controlling an application being executed in an electronic device based on a user input according to an embodiment of the present invention.
6 is a diagram for explaining a user interface according to an embodiment of the present invention.
7 is a diagram for explaining a method of receiving a user input through a touch screen according to an embodiment of the present invention.
8 is a diagram for explaining a method of controlling a function of a background application according to an embodiment of the present invention.
9 is a diagram for explaining a method of selecting and controlling one of a plurality of applications running in a background according to an embodiment of the present invention.
10 is a diagram for explaining a method of stopping activation of a sensor according to an embodiment of the present invention.
11 is a diagram for explaining a method of controlling a background application while connected to an external electronic device according to an embodiment of the present invention.
12 is a diagram for explaining a method of controlling a plurality of applications displayed through a multi-window according to an embodiment of the present invention.
13 is a diagram for explaining a method of controlling a plurality of applications displayed through a multi-window while connected to an external electronic device according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시예들이 설명된다. 설명의 편의를 위하여 도면에 도시된 구성요소들은 그 크기가 과장 또는 축소될 수 있으며, 본 발명이 반드시 도시된 바에 의해 한정되는 것은 아니다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. For convenience of description, the sizes of the components shown in the drawings may be exaggerated or reduced, and the present invention is not necessarily limited to the illustrated ones.

도 1은 본 발명의 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;

도 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)(예: 디스플레이)에 임베디드된 채 구현될 수 있다.Referring to FIG. 1 , in a network environment 100 , the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic 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 the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio 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 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display 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)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 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 the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 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 , 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, the processor 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 the main 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 the main processor 121 or to be specialized for a designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

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

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

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

표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.The display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display 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, the display 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))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.

센서 모듈(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 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카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 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, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

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

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert 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, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

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

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power 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차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi 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, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication 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 local area network (LAN) communication module, or a power line communication module). Among these communication modules, a corresponding communication module may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with an external electronic device via 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 may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified and authenticated.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna 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 197 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, the antenna 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 the first network 198 or the second 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 the antenna 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 ( e.g. commands or data) can be exchanged with each other.

일 실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the electronic devices 102 and 104 may be the same or a different type of 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 external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs 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. The 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.

도 2는 본 발명의 일 실시예에 따른 백 그라운드 어플리케이션을 제어하는 전자 장치의 블록도이다.2 is a block diagram of an electronic device for controlling a background application according to an embodiment of the present invention.

도 2를 참조하면, 상기 전자 장치(200)(예: 도 1의 전자 장치(101))는 메모리(204)(예: 도 1의 메모리(130))에 저장되어 있는 복수의 어플리케이션을 실행할 수 있다. 상기 전자 장치(200)는 디스플레이(201)(예: 도 1의 표시 장치(160))를 통해 실행중인 복수의 어플리케이션 중 적어도 하나를 표시할 수 있다. 상기 전자 장치(200)는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 포어 그라운드(fore ground) 상태로 상기 디스플레이에 표시할 수 있다. 상기 포어 그라운드 상태로 실행되는 어플리케이션은 상기 디스플레이(201)를 통해 표시되면서, 상기 전자 장치(200)가 수신하는 사용자 입력을 기반으로 제어되는 포커싱(focusing) 상태의 어플리케이션일 수 있다. 이하, 발명의 다양한 실시예들은 설명할 때, 상기 포어 그라운드 상태의 어플리케이션은 포어 그라운드 어플리케이션으로 설명하도록 한다. 상기 전자 장치(200)는 상기 포어 그라운드 어플리케이션이 실행 또는 전환되면, 상기 포어 그라운드 어플리케이션을 제외한 복수의 어플리케이션은 백 그라운드 상태로 실행 또는 전환될 수 있다. 상기 백 그라운드 상태로 실행 또는 전환되는 어플리케이션은 상기 디스플레이(201)에 표시되는 것과 상관없이, 상기 전자 장치(200)가 수신하는 사용자 입력을 기반으로 제어되지 않는 포커싱 상태가 아닌 어플리케이션일 수 있다. 이하, 발명의 다양한 실시예들은 설명할 때, 상기 백 그라운드 상태의 어플리케이션은 백 그라운드 어플리케이션으로 설명하도록 한다. 상기 포어 그라운드에서 실행 중인 데이터는 상기 복수의 어플리케이션과 관련된 데이터에 한정되지 않으며, 상기 디스플레이(201)에 표시되면서, 현재 수신한 사용자 입력을 기반으로 제어되는 포커스(focus)된 컨텐츠(텍스트, 이미지, 비디오, 아이콘 또는 심볼) 데이터를 포함할 수 있다. Referring to FIG. 2 , the electronic device 200 (eg, the electronic device 101 of FIG. 1 ) may execute a plurality of applications stored in a memory 204 (eg, the memory 130 of FIG. 1 ). have. The electronic device 200 may display at least one of a plurality of applications being executed through the display 201 (eg, the display device 160 of FIG. 1 ). The electronic device 200 may display one application among the plurality of applications in a foreground state on the display. The application executed in the foreground state may be an application in a focusing state that is displayed through the display 201 and controlled based on a user input received by the electronic device 200 . Hereinafter, when various embodiments of the present invention are described, the application in the foreground state will be described as a foreground application. In the electronic device 200 , when the foreground application is executed or switched, a plurality of applications other than the foreground application may be executed or switched to a background state. The application executed or switched to the background state may be an application that is not in a focusing state that is not controlled based on a user input received by the electronic device 200 regardless of whether the application is displayed on the display 201 . Hereinafter, when various embodiments of the present invention are described, the application in the background state will be described as a background application. The data being executed in the foreground is not limited to the data related to the plurality of applications, and while being displayed on the display 201, focused content (text, image, video, icon or symbol) data.

일 실시예에 따르면, 상기 전자 장치(200)는 상기 포어 그라운드 어플리케이션을 상기 디스플레이(201)에 표시하는 동안, 센서(202)(예: 도 1의 센서 모듈(176))를 통해 상기 전자 장치(200)에 접촉되지 않은 사용자 입력을 수신할 수 있다. 일 예로, 상기 전자 장치(200)에 접촉되지 않은 사용자 입력은 제스처, 호버링(hovering) 또는 근접 입력일 수 있다. 상기 전자 장치(200)는 상기 센서(202)를 통해 상기 수신한 상기 전자 장치(200)에 접촉되지 않은 사용자 입력을 기반으로, 복수의 백 그라운드(back ground) 어플리케이션 중 하나의 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스를 상기 디스플레이(201)의 지정된 영역에 표시할 수 있다. According to an embodiment, while the electronic device 200 displays the foreground application on the display 201, through a sensor 202 (eg, the sensor module 176 of FIG. 1 ), the electronic device ( 200) may receive a user input that is not in contact. For example, the user input that is not in contact with the electronic device 200 may be a gesture, hovering, or proximity input. The electronic device 200 controls one of a plurality of background applications based on a user input that is not in contact with the electronic device 200 received through the sensor 202 . A user interface related to may be displayed on a designated area of the display 201 .

일 실시예에 따르면, 상기 전자 장치(200)는 상기 지정된 영역에 상기 사용자 인터페이스를 표시하고 있는 동안, 상기 센서(202)를 통해 다른 사용자 입력(예: 전자 장치에 접촉되지 않은 사용자 입력 또는 사용자 인터페이스 상에서 검출되는 사용자 입력)을 검출할 수 있다. 상기 전자 장치(200)는 상기 센서(202)를 통해 검출한 다른 사용자 입력을 기반으로, 상기 사용자 인터페이스를 상기 복수의 백 그라운드 어플리케이션 중 다른 하나의 백 그라운드 어플리케이션의 제어와 관련된 다른 사용자 인터페이스로 변경할 수 있다. 상기 전자 장치(200)는 상기 지정된 영역에 상기 다른 사용자 인터페이스를 표시하고 있는 동안 또 다른 사용자 입력(예: 전자 장치에 접촉되지 않은 사용자 입력 또는 사용자 인터페이스 상에서 검출되는 사용자 입력)을 검출할 수 있다. 상기 전자 장치(200)는 상기 검출한 또 다른 사용자 입력을 기반으로, 상기 백 그라운드에서 실행되고 있는 상기 다른 하나의 백 그라운드 어플리케이션을 제어할 수 있다.According to an embodiment, while the electronic device 200 is displaying the user interface in the designated area, another user input (eg, a user input not in contact with the electronic device or a user interface) through the sensor 202 . user input detected on the screen) can be detected. The electronic device 200 may change the user interface to another user interface related to control of another background application among the plurality of background applications based on another user input detected through the sensor 202 . have. The electronic device 200 may detect another user input (eg, a user input not in contact with the electronic device or a user input detected on the user interface) while the other user interface is displayed in the designated area. The electronic device 200 may control the other background application running in the background based on the detected another user input.

상기 전자 장치(200)는 상기 디스플레이(201), 상기 센서(202), 통신 모듈(203)(예: 도 1의 통신 모듈(190)), 메모리(204)(예: 도 1의 메모리(130)) 및 프로세서(205)(예: 도 1의 프로세서(120))를 포함할 수 있다. 그러나, 상기 전자 장치(200)의 구성이 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 상기 전자 장치(200)는 상술한 구성요소들 중 적어도 하나를 생략할 수 있으며, 적어도 하나의 다른 구성요소를 더 포함할 수 있다. 일 예로, 상기 전자 장치(200)는 스피커(예: 도 1의 음향 출력 장치(155))를 포함할 수 있다.The electronic device 200 includes the display 201 , the sensor 202 , a communication module 203 (eg, the communication module 190 of FIG. 1 ), and a memory 204 (eg, the memory 130 of FIG. 1 ). )) and a processor 205 (eg, the processor 120 of FIG. 1 ). However, the configuration of the electronic device 200 is not limited thereto. According to various embodiments, the electronic device 200 may omit at least one of the above-described components, and may further include at least one other component. For example, the electronic device 200 may include a speaker (eg, the sound output device 155 of FIG. 1 ).

상기 디스플레이(201)는 상기 전자 장치(200)에 설치되어 있는 복수의 어플리케이션 중 적어도 하나가 실행되면, 실행되는 적어도 하나의 어플리케이션을 표시할 수 있다. 상기 디스플레이(201)는 상기 실행되는 상기 어플리케이션뿐만 아니라, 유/무선 네트워크를 통해 획득한 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘 또는 심볼)를 표시할 수 있다. 상기 디스플레이(201)는 터치스크린을 포함할 수 있다. 예를 들면, 상기 디스플레이(201)는 사용자의 신체 일부를 이용한 터치, 제스쳐, 근접 또는 호버링(hovering) 입력을 수신할 수 있다.When at least one of a plurality of applications installed in the electronic device 200 is executed, the display 201 may display the at least one executed application. The display 201 may display various contents (eg, text, image, video, icon or symbol) acquired through a wired/wireless network as well as the executed application. The display 201 may include a touch screen. For example, the display 201 may receive a touch, gesture, proximity, or hovering input using a body part of the user.

상기 센서(202)는 상기 전자 장치(200)에 접촉하거나 접촉하지 않는 사용자 입력을 검출할 수 있다. 상기 센서(202)는 터치 센서, 이미지 센서, 및 모션 센서 중 적어도 하나를 포함할 수 있다. 그러나, 상기 센서(202)의 구성이 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 상기 센서(202)는 상술한 구성요소들 중 적어도 하나를 생략할 수 있으며, 적어도 하나의 다른 구성요소를 더 포함할 수 있다. 일 예로, 상기 센서(202)는 압력 센서를 포함할 수 있다. 상기 전자 장치(200)는 상기 센서(202)를 통해 사용자 입력을 검출하고, 검출한 사용자 입력을 기반으로 상기 복수의 어플리케이션 중 적어도 하나의 어플리케이션을 제어할 수 있다. 예를 들면, 상기 센서(202)는 상기 복수의 어플리케이션을 제어하려는 사용자의 신체 일부를 이용한 터치, 제스쳐, 근접 또는 호버링 입력을 검출할 수 있다. The sensor 202 may detect a user input that is in contact with or not in contact with the electronic device 200 . The sensor 202 may include at least one of a touch sensor, an image sensor, and a motion sensor. However, the configuration of the sensor 202 is not limited thereto. According to various embodiments, the sensor 202 may omit at least one of the above-described components, and may further include at least one other component. As an example, the sensor 202 may include a pressure sensor. The electronic device 200 may detect a user input through the sensor 202 and control at least one of the plurality of applications based on the detected user input. For example, the sensor 202 may detect a touch, gesture, proximity, or hovering input using a body part of a user who wants to control the plurality of applications.

상기 통신 모듈(203)은 상기 전자 장치(200)와 외부 전자 장치 간의 통신을 지원할 수 있다. 일 실시예에 따르면, 상기 통신 모듈(203)을 통해 상기 외부 전자 장치로부터 상기 복수의 어플리케이션 중 적어도 하나의 어플리케이션과 관련된 데이터를 송수신할 수 있다. 그러나, 상기 통신 모듈(203)의 기능은 이에 한정되는 것은 아니다. 일 예로, 상기 통신 모듈(203)은 상기 외부 전자 장치로부터 상기 적어도 하나의 어플리케이션을 제어하기 위한 신호를 송수신할 수 있다.The communication module 203 may support communication between the electronic device 200 and an external electronic device. According to an embodiment, data related to at least one application among the plurality of applications may be transmitted/received from the external electronic device through the communication module 203 . However, the function of the communication module 203 is not limited thereto. For example, the communication module 203 may transmit/receive a signal for controlling the at least one application from the external electronic device.

상기 메모리(204)는 상기 전자 장치(200)의 적어도 하나의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 상기 메모리(204)는 상기 디스플레이(201)를 통해 표시되는 상기 사용자 인터페이스와 관련된 정보를 저장할 수 있다. 또한, 상기 메모리(204)는 상기 복수의 어플리케이션 중 적어도 하나의 어플리케이션을 제어하기 위한 제스처와 관련된 정보를 저장할 수 있다. 일 예로, 상기 제스처와 관련된 정보는 상기 복수의 어플리케이션 중 적어도 하나의 어플리케이션의 기능을 실행하기 위하여 상기 어플리케이션의 기능과 매칭되어 있는 제스처의 형태와 관련된 정보일 수 있다.The memory 204 may store various data used by at least one component of the electronic device 200 . According to an embodiment, the memory 204 may store information related to the user interface displayed through the display 201 . Also, the memory 204 may store information related to a gesture for controlling at least one application among the plurality of applications. For example, the information related to the gesture may be information related to a shape of a gesture matched with a function of the application in order to execute a function of at least one of the plurality of applications.

상기 프로세서(205)는 상기 전자 장치(200)의 적어도 하나의 다른 구성요소를 제어할 수 있고, 다양한 데이터를 처리 또는 연산할 수 있다. 상기 프로세서(205)는 상기 전자 장치(200)에 설치된 복수의 어플리케이션을 실행할 수 있다.The processor 205 may control at least one other component of the electronic device 200 and may process or operate various data. The processor 205 may execute a plurality of applications installed in the electronic device 200 .

일 실시예에 따르면, 상기 프로세서(205)는 상기 메모리(204)에 저장된 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서(205)는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 현재 수신한 사용자 입력으로 제어할 수 있는 포커싱 상태의 포어 그라운드(fore ground) 어플리케이션(예: 제1 어플리케이션)으로 실행할 수 있다. 상기 프로세서(205)는 상기 포어 그라운드 어플리케이션을 상기 디스플레이(201)에 표시할 수 있다. 상기 프로세서(205)는 상기 포어 그라운드 어플리케이션을 상기 디스플레이(201)에 표시하는 동안, 상기 센서(202)를 통해 상기 전자 장치(200)에 접촉되지 않은 사용자 입력(예: 제1 사용자 입력)을 수신할 수 있다. 상기 전자 장치(200)에 접촉되지 않은 사용자 입력 제스처, 호버링 또는 근접 입력을 포함할 수 있다. 상기 프로세서(205)는 상기 수신한 사용자 입력을 기반으로 상기 백 그라운드에서 실행 중인 상기 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션(예: 제2 어플리케이션)의 제어와 관련된 사용자 인터페이스(예: 제1 사용자 인터페이스)를 상기 디스플레이(201)의 지정된 영역에 표시할 수 있다. According to an embodiment, the processor 205 may execute a plurality of applications stored in the memory 204 . The processor 205 may execute one of the plurality of applications as a foreground application (eg, a first application) in a focused state that can be controlled by a currently received user input. The processor 205 may display the foreground application on the display 201 . The processor 205 receives a user input (eg, a first user input) that is not in contact with the electronic device 200 through the sensor 202 while the foreground application is displayed on the display 201 . can do. It may include a user input gesture, hovering, or proximity input not in contact with the electronic device 200 . The processor 205 is configured to control a user interface (eg, a first application) related to control of one background application (eg, a second application) among the plurality of background applications running in the background based on the received user input. user interface) may be displayed on a designated area of the display 201 .

일 실시예에 따르면, 상기 프로세서(205)가 상기 디스플레이(201)를 통해 상기 포어 그라운드 어플리케이션을 표시하는 동안, 상기 디스플레이(201)의 지정된 영역에 상기 사용자 인터페이스를 표시할 수 있다. 상기 프로세서(205)는 상기 사용자 인터페이스를 표시하는 동안 상기 센서(202) 또는 상기 디스플레이(201)를 통해 상기 전자 장치(200)에 접촉되지 않거나, 상기 사용자 인터페이스 상에서 검출되는 다른 사용자 입력(예: 제2 사용자 입력)을 수신할 수 있다. 상기 프로세서(205)는 상기 수신한 다른 사용자 입력을 기반으로, 상기 하나의 백 그라운드 어플리케이션을 제어할 수 있다. 상기 프로세서(205)는 상기 다른 사용자 입력이 상기 전자 장치(200)에 접촉되는 입력인 경우, 상기 전자 장치(200)에 접촉한 다른 사용자 입력을 기반으로 상기 디스플레이(201)에서 표시되고 있는 상기 포어 그라운드 어플리케이션을 제어할 수 있다.According to an embodiment, while the processor 205 displays the foreground application through the display 201 , the user interface may be displayed on a designated area of the display 201 . The processor 205 does not contact the electronic device 200 through the sensor 202 or the display 201 while displaying the user interface, or other user input detected on the user interface (eg, second 2 user input). The processor 205 may control the one background application based on the received other user input. When the other user input is an input that comes into contact with the electronic device 200 , the processor 205 determines that the pore is displayed on the display 201 based on another user input that comes into contact with the electronic device 200 . Ground applications can be controlled.

일 실시예에 따르면, 상기 전자 장치(200)에 접촉되지 않거나 상기 사용자 인터페이스 상에서 수신한 상기 다른 사용자 입력은 상기 하나의 백 그라운드 어플리케이션을 제어하려고 하는 사용자 입력이 아닌 상기 백 그라운드에서 실행 중인 복수의 어플리케이션 중 또 다른 백 그라운드 어플리케이션(예: 제3 어플리케이션)을 선택하려는 사용자 입력일 수 있다. 상기 프로세서(205)는 상기 또 다른 백 그라운드 어플리케이션을 제어하기 위하여, 상기 또 다른 백 그라운드 어플리케이션으로 전환하는 상기 다른 사용자 입력(전자 장치에 접촉하지 않은 사용자 입력 또는 사용자 인터페이스 상에서 검출된 입력)을 수신할 수 있다. 상기 프로세서(205)는 상기 수신한 다른 사용자 입력을 기반으로, 상기 지정된 영역에서 표시하는 상기 사용자 인터페이스를 상기 또 다른 어플리케이션의 제어와 관련된 다른 사용자 인터페이스(예: 제2 사용자 인터페이스)로 변경할 수 있다. 일 예로, 상기 디스플레이(201)의 상단 중 적어도 일부 영역(예: 지정된 영역)에 표시되는 사용자 인터페이스를 다른 사용자 인터페이스로 변경할 수 있다.According to an embodiment, the other user input that is not in contact with the electronic device 200 or received on the user interface is not a user input for controlling the one background application, but a plurality of applications running in the background. Among them, it may be a user input for selecting another background application (eg, a third application). The processor 205 may receive the other user input (a user input not in contact with the electronic device or an input detected on a user interface) for switching to the other background application in order to control the another background application. can The processor 205 may change the user interface displayed in the designated area to another user interface (eg, a second user interface) related to control of the other application based on the received other user input. As an example, a user interface displayed on at least a partial area (eg, a designated area) of the upper end of the display 201 may be changed to another user interface.

일 실시예에 따르면, 상기 프로세서(205)는 상기 디스플레이(201) 또는 상기 센서(202)를 통해 또 다른 사용자 입력(전자 장치에 접촉되지 않은 입력 또는 제2 사용자 인터페이스 상에서 검출된 입력)(예: 제3 사용자 입력)을 수신할 수 있다. 상기 또 다른 사용자 입력을 수신한 상기 프로세서(205)는 상기 또 다른 사용자 입력을 기반으로, 상기 또 다른 어플리케이션을 제어할 수 있다. According to an embodiment, the processor 205 is configured to provide another user input via the display 201 or the sensor 202 (input not in contact with the electronic device or input detected on a second user interface) (eg: a third user input). Upon receiving the another user input, the processor 205 may control the another application based on the another user input.

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))는 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201)), 적어도 하나의 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 센서(202)), 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205)), 상기 디스플레이, 상기 센서 및 상기 프로세서와 작동적으로 연결된 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 전자 장치에 설치된 복수 개의 어플리케이션이 실행된 상태에서, 상기 복수 개의 어플리케이션 중 제1 어플리케이션의 실행 화면을 상기 디스플레이에 표시하고, 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하고, 상기 검출한 제1 사용자 입력을 기반으로, 상기 복수의 어플리케이션 중 백 그라운드로 실행 중인 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하고, 상기 적어도 하나의 센서를 통해 제2 사용자 입력을 검출하고, 상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 사용자 인터페이스를 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하고, 상기 적어도 하나의 센서를 통해 제3 사용자 입력을 검출하면, 상기 제3 사용자 입력을 기반으로, 상기 제3 어플리케이션에 대한 제어를 수행하도록 하는 인스트럭션들을 저장할 수 있다.As described above, according to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) may include a display (eg, the display device 160 of FIG. 1 or FIG. 2 ). display 201 of FIG. ), at least one sensor (eg, sensor module 176 of FIG. 1 or sensor 202 of FIG. 2 ), a processor (eg, processor 120 of FIG. 1 or processor 205 of FIG. 2 ) )), the display, the sensor, and a memory operatively coupled with the processor (eg, memory 130 of FIG. 1 or memory 204 of FIG. 2 ), wherein the memory, when executed, includes In a state in which a plurality of applications installed in the electronic device are executed, an execution screen of a first application among the plurality of applications is displayed on the display, and a first user input that is not in contact with the electronic device is received through the sensor. detecting, and displaying a first user interface related to control of a second application running in the background among the plurality of applications on a designated area of the display based on the detected first user input, and the at least one sensor detects a second user input through , and changes the first user interface to a second user interface related to control of a third application running in the background among the plurality of applications based on the detected second user input and, when a third user input is detected through the at least one sensor, instructions for controlling the third application based on the third user input may be stored.

다양한 실시예에 따르면, 상기 제1 사용자 인터페이스는, 상기 제2 어플리케이션의 기능과 관련된 제1 제어 정보를 나타내는 객체를 포함하고, 상기 제2 사용자 인터페이스는, 상기 제3 어플리케이션의 기능과 관련된 제2 제어 정보를 나타내는 객체를 포함할 수 있다.According to various embodiments, the first user interface includes an object representing first control information related to a function of the second application, and the second user interface includes a second control related to a function of the third application It may contain objects representing information.

다양한 실시예에 따르면, 상기 제1 제어 정보는, 제4 사용자 입력을 가이드(guide)하는 객체를 포함하고, 상기 제2 제어 정보는, 상기 제3 사용자 입력을 가이드 하는 객체를 포함할 수 있다.According to various embodiments, the first control information may include an object guiding a fourth user input, and the second control information may include an object guiding the third user input.

다양한 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 복수 개의 어플리케이션의 실행 화면 각각을 상기 디스플레이의 화면에 분할하여 표시하고, 상기 제1 어플리케이션의 실행 화면을 포커싱(focusing)할 수 있다.According to various embodiments, the instructions may cause the processor to divide and display each of the execution screens of the plurality of applications on the screen of the display, and focus the execution screen of the first application.

다양한 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 제1 사용자 입력을 검출하면, 상기 제1 사용자 인터페이스를 상기 제2 어플리케이션의 실행 화면 상에 표시할 수 있다.According to various embodiments, when the processor detects the first user input, the instructions may display the first user interface on the execution screen of the second application.

다양한 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 제2 사용자 입력을 검출하면, 상기 제2 사용자 인터페이스를 제3 어플리케이션의 실행 화면 상에 표시할 수 있다.According to various embodiments, when the processor detects the second user input, the instructions may display the second user interface on an execution screen of a third application.

다양한 실시예에 따르면, 상기 센서는, 터치 센서, 이미지 센서 및 모션 센서 중 적어도 하나를 포함할 수 있다.According to various embodiments, the sensor may include at least one of a touch sensor, an image sensor, and a motion sensor.

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))는 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201)), 적어도 하나의 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 센서(202)), 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205)), 상기 디스플레이, 상기 센서 및 상기 프로세서와 작동적으로 연결된 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 전자 장치에 설치된 제1 어플리케이션의 실행 화면과 관련된 데이터를 상기 통신 모듈을 통해 상기 외부 전자 장치에 전송하고, 상기 전자 장치에 설치된 제2 어플리케이션의 실행 화면을 상기 디스플레이에 표시하고, 상기 적어도 하나의 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하고, 상기 검출한 제1 사용자 입력을 기반으로, 상기 제1 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하고, 상기 적어도 하나의 센서를 통해 제2 사용자 입력을 검출하고, 상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 어플리케이션에 대한 제어 신호를 상기 통신 모듈을 통해 상기 외부 전자 장치에 전송하도록 하는 인스트럭션들을 저장할 수 있다.As described above, according to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) may include a display (eg, the display device 160 of FIG. 1 or FIG. 2 ). display 201 of FIG. ), at least one sensor (eg, sensor module 176 of FIG. 1 or sensor 202 of FIG. 2 ), a processor (eg, processor 120 of FIG. 1 or processor 205 of FIG. 2 ) )), the display, the sensor, and a memory operatively coupled with the processor (eg, memory 130 of FIG. 1 or memory 204 of FIG. 2 ), wherein the memory, when executed, includes (a) transmits data related to an execution screen of a first application installed in the electronic device to the external electronic device through the communication module, and displays an execution screen of a second application installed in the electronic device on the display; A first user input not in contact with the electronic device is detected through one sensor, and a first user interface related to control of the first application is displayed on a designated area of the display based on the detected first user input. display, detect a second user input through the at least one sensor, and transmit a control signal for the first application to the external electronic device through the communication module based on the detected second user input instructions can be stored.

다양한 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 제3 사용자 입력을 검출하고, 상기 검출한 제3 사용자 입력을 기반으로, 상기 전자 장치에 설치된 적어도 하나의 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하고, 상기 제2 사용자 인터페이스로 변경하는 것에 응답하여, 상기 제3 어플리케이션의 실행 화면과 관련된 데이터를 상기 외부 전자 장치에 전송할 수 있다.According to various embodiments of the present disclosure, the instructions may include: the processor detects a third user input, and based on the detected third user input, the second In response to changing to the user interface and changing to the second user interface, data related to the execution screen of the third application may be transmitted to the external electronic device.

다양한 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 제1 어플리케이션, 상기 제2 어플리케이션 및 상기 제3 어플리케이션의 실행 화면 각각을 상기 디스플레이의 화면에 분할하여 표시하고, 상기 제2 어플리케이션의 실행 화면을 포커싱(focusing)할 수 있다.According to various embodiments, in the instructions, the processor divides and displays each of the execution screens of the first application, the second application, and the third application on the screen of the display, and the execution screen of the second application can be focused.

다양한 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 검출한 제1 사용자 입력을 기반으로, 상기 제1 사용자 인터페이스를 상기 제1 어플리케이션의 실행 화면 상에 표시할 수 있다.According to various embodiments, the instructions may display the first user interface on the execution screen of the first application based on the detected first user input by the processor.

다양한 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 검출한 제3 사용자 입력을 기반으로, 상기 제2 사용자 인터페이스를 상기 적어도 하나의 제3 어플리케이션의 실행 화면 상에 표시할 수 있다.According to various embodiments, the instructions may cause the processor to display the second user interface on the execution screen of the at least one third application based on the detected third user input.

다양한 실시예에 따르면, 상기 제1 사용자 인터페이스는, 상기 제2 어플리케이션의 기능과 관련된 제1 제어 정보를 나타내는 객체를 포함하고, 상기 제2 사용자 인터페이스는, 상기 제3 어플리케이션의 기능과 관련된 제2 제어 정보를 나타내는 객체를 포함할 수 있다.According to various embodiments, the first user interface includes an object representing first control information related to a function of the second application, and the second user interface includes a second control related to a function of the third application It may contain objects representing information.

다양한 실시예에 따르면, 상기 제1 제어 정보는, 제4 사용자 입력을 가이드(guide)하는 객체를 포함하고, 상기 제2 제어 정보는, 상기 제3 사용자 입력을 가이드 하는 객체를 포함할 수 있다.According to various embodiments, the first control information may include an object guiding a fourth user input, and the second control information may include an object guiding the third user input.

다양한 실시예에 따르면, 상기 센서는, 터치 센서, 이미지 센서 및 모션 센서 중 적어도 하나를 포함할 수 있다.According to various embodiments, the sensor may include at least one of a touch sensor, an image sensor, and a motion sensor.

도 3은 본 발명의 일 실시예에 따른 백 그라운드에서 실행되는 복수의 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.3 is a diagram for explaining a method of controlling a plurality of applications executed in the background according to an embodiment of the present invention.

도 3을 참조하면, 301 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 상기 전자 장치가 수신한 사용자 입력으로 제어되는 포커싱 상태의 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 상기 전자 장치의 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))에 표시할 수 있다. 상기 프로세서는 포어 그라운드 어플리케이션을 제외한 복수의 어플리케이션을 백 그라운드(back ground) 어플리케이션으로 실행 또는 전환할 수 있다. 상기 백 그라운드 어플리케이션은 복수의 어플리케이션 중 포어 그라운드 어플리케이션을 제외한 포커싱 되지 못한 어플리케이션으로 상기 전자 장치가 수신한 사용자 입력을 기반으로 제어되지 않는 어플리케이션일 수 있다.Referring to FIG. 3 , in operation 301 , a processor (eg, the processor 120 of FIG. 1 or the processor of FIG. 2 ) of an electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) 205) may execute the plurality of applications based on data related to the plurality of applications stored in the memory of the electronic device (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2). have. The processor may execute or switch one application among the plurality of applications to a foreground application in a focusing state controlled by a user input received by the electronic device. The processor may display the foreground application on a display of the electronic device (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ). The processor may execute or convert a plurality of applications other than the foreground application as a background application. The background application is an unfocused application other than a foreground application among a plurality of applications, and may be an application that is not controlled based on a user input received by the electronic device.

일 실시예에 따르면, 상기 프로세서는 복수의 어플리케이션 중 제1 어플리케이션을 상기 디스플레이에 포커스 상태로 표시할 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 제1 어플리케이션(예: 포어 그라운드 어플리케이션)을 실행 또는 전환하면, 상기 제1 어플리케이션을 상기 디스플레이에 표시할 수 있다.According to an embodiment, the processor may execute or switch a first application among a plurality of applications as a foreground application to be displayed in a focus state on the display. When the processor executes or switches the first application (eg, a foreground application), the processor may display the first application on the display.

303 동작에서, 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 포어 그라운드 어플리케이션으로 상기 디스플레이를 통해 표시하면, 상기 포어 그라운드 어플리케이션을 제외한 복수의 어플리케이션을 백 그라운드 어플리케이션으로 실행 또는 전환할 수 있다.In operation 303, if one of the plurality of applications is displayed as a foreground application through the display, the processor may execute or convert a plurality of applications excluding the foreground application as a background application.

305 동작에서, 상기 프로세서는 상기 전자 장치의 센서(예: 도 1의 센서 모듈(176) 또는 센서(202))를 통해 상기 전자 장치(200)에 접촉되지 않은 사용자 입력을 검출할 수 있다. 상기 프로세서는 상기 검출한 사용자 입력을 기반으로 상기 백 그라운드에서 실행 중인 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시할 수 있다.In operation 305 , the processor may detect a user input that is not in contact with the electronic device 200 through a sensor of the electronic device (eg, the sensor module 176 or the sensor 202 of FIG. 1 ). The processor may display a user interface related to control of one background application among a plurality of background applications running in the background on the designated area of the display based on the detected user input.

일 실시예에 따르면, 상기 프로세서는 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 입력(예: 호버링 입력 또는 제스쳐)인 제1 사용자 입력(예: 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 사용자 입력을 기반으로, 상기 디스플레이의 백 그라운드에서 실행 중인 복수의 백 그라운드 어플리케이션 중 제2 어플리케이션(예: 하나의 백 그라운드 어플리케이션)의 제어와 관련된 제1 사용자 인터페이스(예: 사용자 인터페이스)를 상기 디스플레이의 지정된 영역에 표시할 수 있다.According to an embodiment, the processor may receive a first user input (eg, a user input) that is an input (eg, a hovering input or a gesture) that is not in contact with the electronic device through the sensor. The processor is configured to control a first user interface (eg, one background application) related to control of a second application (eg, one background application) among a plurality of background applications running in the background of the display based on the received first user input. : user interface) can be displayed in a designated area of the display.

다른 실시예에 따르면, 상기 제1 사용자 입력이 상기 전자 장치에 접촉된 입력(예: 키 입력 또는 터치 입력)인 경우, 상기 프로세서는 상기 전자 장치에 접촉된 제1 사용자 입력을 기반으로, 상기 디스플레이를 통해 표시되고 있는 상기 제1 어플리케이션을 제어할 수 있다.According to another embodiment, when the first user input is an input (eg, a key input or a touch input) made in contact with the electronic device, the processor is configured to display the display based on the first user input made into contact with the electronic device. It is possible to control the first application being displayed through .

307 동작에서, 상기 프로세서는 상기 지정된 영역에 상기 사용자 인터페이스를 표시하는 동안, 상기 센서 또는 상기 디스플레이를 통해 다른 사용자 입력(전자 장치에 접촉하지 않은 사용자 입력 또는 사용자 인터페이스 상에서 검출되는 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 다른 사용자 입력을 기반으로, 상기 지정된 영역에서 표시되고 있는 사용자 인터페이스를 상기 백 그라운드에서 실행 중인 복수의 백 그라운드 어플리케이션 중 다른 백 그라운드 어플리케이션의 제어와 관련된 다른 사용자 인터페이스로 변경할 수 있다.In operation 307, the processor is configured to receive another user input (a user input not in contact with the electronic device or a user input detected on the user interface) through the sensor or the display while the user interface is displayed in the designated area. can The processor may change the user interface displayed in the designated area to another user interface related to control of another background application among a plurality of background applications running in the background based on the received other user input. .

일 실시예에 따르면, 상기 프로세서는 상기 센서를 통해 제2 사용자 입력(전자 장치에 접촉되지 않은 사용자 입력 또는 제1 사용자 인터페이스 상에서 검출한 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 제2 사용자 입력을 기반으로 상기 지정된 영역에서 표시되고 있는 제1 사용자 인터페이스를 제2 사용자 인터페이스(다른 사용자 인터페이스)로 변경할 수 있다. 상기 제2 사용자 인터페이스는 상기 디스플레이의 백 그라운드에서 실행 중인 복수의 어플리케이션 중 제3 어플리케이션(다른 백 그라운드 어플리케이션)의 제어와 관련된 인터페이스일 수 있다.According to an embodiment, the processor may receive a second user input (a user input not in contact with the electronic device or a user input detected on the first user interface) through the sensor. The processor may change the first user interface displayed in the designated area to a second user interface (another user interface) based on the received second user input. The second user interface may be an interface related to control of a third application (another background application) among a plurality of applications running in the background of the display.

다른 실시예에 따르면, 상기 프로세서가 수신한 상기 제2 사용자 입력은 상기 제3 어플리케이션을 제어하려는 사용자 입력이 아닌 상기 제2 어플리케이션을 제어하려는 사용자 입력일 수 있다. 상기 프로세서는 상기 수신한 전자 장치에 접촉되지 않은 사용자 입력을 기반으로, 백 그라운드 어플리케이션 중 제2 어플리케이션을 제어할 지, 제3 어플리케이션을 제어하기 위한 제2 사용자 인터페이스를 호출할지 결정하는 동작은 도 6에서 자세하게 설명하도록 한다.According to another embodiment, the second user input received by the processor may be a user input for controlling the second application, not a user input for controlling the third application. The operation of the processor determining whether to control the second application among the background applications or to call the second user interface for controlling the third application based on the received user input not in contact with the electronic device is illustrated in FIG. 6 . to be explained in detail in

309 동작에서 상기 프로세서는 상기 지정된 영역에 상기 다른 사용자 인터페이스를 표시하는 동안, 상기 디스플레이 또는 상기 센서를 통해 또 다른 사용자 입력(전자 장치에 접촉되지 않은 사용자 입력 또는 다른 사용자 인터페이스 상에서 검출된 사용자 입력)을 수신할 수 있다.In operation 309, the processor receives another user input (a user input not in contact with the electronic device or a user input detected on another user interface) through the display or the sensor while displaying the other user interface in the designated area. can receive

311 동작에서 상기 프로세서는 상기 수신한 또 다른 사용자 입력을 기반으로 상기 디스플레이의 백 그라운드에서 실행 중인 상기 다른 백 그라운드 어플리케이션을 제어할 수 있다. In operation 311, the processor may control the other background application running in the background of the display based on the received another user input.

일 실시예에 따르면, 상기 프로세서는 상기 센서 또는 상기 디스플레이를 통해 제3 사용자 입력(예: 또 다른 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 제2 사용자 인터페이스를 표시하는 동안 상기 수신한 제3 사용자 입력을 기반으로 상기 디스플레이의 백 그라운드에서 실행 중인 복수의 어플리케이션 중 제3 어플리케이션을 제어할 수 있다.According to an embodiment, the processor may receive a third user input (eg, another user input) through the sensor or the display. The processor may control a third application among a plurality of applications running in the background of the display based on the received third user input while displaying the second user interface.

다른 실시예에 따르면, 상기 프로세서는 상기 제2 사용자 인터페이스 상에 표시되고 있는 제어 정보를 나타내는 객체를 터치 입력하여, 상기 제3 어플리케이션을 제어할 수 있다. 상기 제어 정보를 나타내는 객체에 대한 설명은 도 6에서 자세하게 설명하도록 한다.According to another embodiment, the processor may control the third application by touch-inputting an object representing control information displayed on the second user interface. An object representing the control information will be described in detail with reference to FIG. 6 .

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 동작 방법은, 상기 전자 장치에 설치된 복수 개의 어플리케이션이 실행된 상태에서, 상기 복수의 개의 어플리케이션 중 제1 어플리케이션의 실행 화면을 상기 전자 장치의 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))에 표시하는 동작, 상기 전자 장치의 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 센서(202))를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하는 동작, 상기 검출한 제1 사용자 입력을 기반으로, 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하는 동작, 상기 센서를 통해 제2 사용자 입력을 검출하는 동작, 상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 사용자 인터페이스를 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하는 동작 및 상기 센서를 통해 제3 사용자 입력을 검출하면, 상기 제3 사용자 입력을 기반으로, 상기 제3 어플리케이션에 대한 제어를 수행하는 동작을 포함할 수 있다.As described above, according to various embodiments, in the method of operating an electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ), a plurality of applications installed in the electronic device are executed. state, displaying an execution screen of a first application among the plurality of applications on a display (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ) of the electronic device, An operation of detecting a first user input that is not in contact with the electronic device through a sensor (eg, the sensor module 176 of FIG. 1 or the sensor 202 of FIG. 2 ), based on the detected first user input, Displaying a first user interface related to control of a second application running in the background among the plurality of applications in a designated area of the display, detecting a second user input through the sensor, and the detected second Changing the first user interface to a second user interface related to control of a third application running in the background among the plurality of applications based on a user input and detecting a third user input through the sensor, and performing control of the third application based on the third user input.

다양한 실시예에 따르면, 상기 제1 어플리케이션의 실행 화면을 상기 전자 장치의 디스플레이에 표시하는 동작은, 상기 복수 개의 어플리케이션의 실행 화면 각각을 상기 디스플레이의 화면에 분할하여 표시하고, 상기 제1 어플리케이션의 실행 화면을 포커싱(focusing)하는 동작을 더 포함할 수 있다.According to various embodiments, the displaying of the execution screen of the first application on the display of the electronic device includes dividing and displaying each of the execution screens of the plurality of applications on the screen of the display, and executing the first application An operation of focusing the screen may be further included.

다양한 실시예에 따르면, 상기 제1 사용자 입력을 검출하면, 상기 제1 사용자 인터페이스를 상기 제2 어플리케이션의 실행 화면 상에 표시하는 동작을 포함할 수 있다.According to various embodiments, when the first user input is detected, the method may include displaying the first user interface on an execution screen of the second application.

다양한 실시예에 따르면, 상기 제2 사용자 입력을 검출하면, 상기 제2 사용자 인터페이스를 상기 제3 어플리케이션의 실행 화면 상에 표시하는 동작을 포함할 수 있다.According to various embodiments, upon detecting the second user input, the method may include displaying the second user interface on an execution screen of the third application.

다양한 실시예에 따르면, 상기 제1 사용자 인터페이스는, 상기 제2 어플리케이션의 기능과 관련된 제1 제어 정보를 나타내는 객체를 표시하는 동작을 포함하고, 상기 제2 사용자 인터페이스는, 상기 제3 어플리케이션의 기능과 관련된 제2 제어 정보를 나타내는 객체를 표시하는 동작을 포함할 수 있다.According to various embodiments, the first user interface includes displaying an object representing first control information related to a function of the second application, and the second user interface includes a function of the third application and a function of the third application. and displaying an object indicating related second control information.

도 4는 본 발명의 일 실시예에 따른 외부 전자 장치와 연결된 상태에서, 백 그라운드에서 실행되는 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.4 is a diagram for explaining a method of controlling an application executed in a background while being connected to an external electronic device according to an embodiment of the present invention.

도 4를 참조하면, 401 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 상기 전자 장치가 수신한 사용자 입력으로 제어되는 포커싱 상태의 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 상기 전자 장치의 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))에 포커싱 상태로 표시할 수 있다. 상기 프로세서는 통신 모듈(예: 도 1의 통신 모듈(190) 또는 도 2의 통신 모듈(203))을 통해 외부 전자 장치(예: 도 1의 전자 장치(102 또는 104))와 통신적으로 연결되어 상기 디스플레이를 통해 표시되고 있는 포어 그라운드 어플리케이션의 실행 화면과 관련된 데이터를 전송할 수 있다. Referring to FIG. 4 , in operation 401 , a processor (eg, the processor 120 of FIG. 1 or the processor of FIG. 2 ) of the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) 205) may execute the plurality of applications based on data related to the plurality of applications stored in the memory of the electronic device (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2). have. The processor may execute or switch one application among the plurality of applications to a foreground application in a focusing state controlled by a user input received by the electronic device. The processor may display the foreground application on the display of the electronic device (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ) in a focused state. The processor is communicatively connected to an external electronic device (eg, the electronic device 102 or 104 of FIG. 1 ) through a communication module (eg, the communication module 190 of FIG. 1 or the communication module 203 of FIG. 2 ) data related to the execution screen of the foreground application being displayed through the display may be transmitted.

일 실시예에 따르면, 상기 프로세서는 복수의 어플리케이션 중 제1 어플리케이션(예: 포어 그라운드 어플리케이션)을 상기 디스플레이에 표시하면서 수신한 사용자 입력을 기반으로 제어할 수 있다. 상기 프로세서는 상기 디스플레이를 통해 상기 포어 그라운드 어플리케이션을 표시하는 동안, 상기 통신 모듈을 통해 상기 포어 그라운드 어플리케이션의 실행 화면과 관련된 데이터를 상기 외부 전자 장치에 전송할 수 있다. 상기 외부 전자 장치는 상기 수신한 포어 그라운드 어플리케이션의 실행 화면과 관련된 데이터를 기반으로 상기 외부 전자 장치의 디스플레이에 상기 포어 그라운드 어플리케이션을 표시할 수 있다.According to an embodiment, the processor may control a first application (eg, a foreground application) among a plurality of applications based on a received user input while displaying it on the display. The processor may transmit data related to an execution screen of the foreground application to the external electronic device through the communication module while displaying the foreground application through the display. The external electronic device may display the foreground application on the display of the external electronic device based on the received data related to the execution screen of the foreground application.

403 동작에서 상기 전자 장치의 프로세서는 상기 복수의 어플리케이션 중 다른 어플리케이션을 실행할 수 있다. 상기 프로세서가 상기 다른 어플리케이션을 실행하면, 기존에 실행 중인 포어 그라운드 어플리케이션을 백 그라운드에서 실행되도록 백 그라운드 어플리케이션으로 전환할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션이 백 그라운드 어플리케이션으로 전환함에 따라, 상기 다른 어플리케이션을 포커스 상태의 포어 그라운드 어플리케이션으로 상기 디스플레이를 통해 표시할 수 있다. 즉, 상기 프로세서는 상기 다른 어플리케이션을 수신하는 사용자 입력을 기반으로 제어하기 위하여, 상기 포어 그라운드 어플리케이션으로 상기 디스플레이를 통해 포커싱 상태로 표시하고, 기존에 디스플레이에서 표시 중이던 포어 그라운드 어플리케이션의 포커싱을 해제하고, 백 그라운드 어플리케이션으로 전환할 수 있다.In operation 403, the processor of the electronic device may execute another application among the plurality of applications. When the processor executes the other application, the previously executed foreground application may be converted into a background application to be executed in the background. When the foreground application is switched to a background application, the processor may display the other application as a foreground application in a focus state through the display. That is, the processor displays the foreground application in a focused state through the display in order to control it based on a user input for receiving the other application, and releases the focus of the foreground application that is being displayed on the display; You can switch to a background application.

일 실시예에 따르면, 상기 프로세서는 복수의 어플리케이션 중 제2 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 제2 어플리케이션을 실행하면, 상기 제2 어플리케이션을 포커싱 상태로 상기 디스플레이를 통해 표시하기 위하여, 상기 기존에 실행 중이던 상기 제1 어플리케이션의 포커싱 상태를 해제하고, 백 그라운드 어플리케이션으로 전환할 수 있다. 다만, 상기 제1 어플리케이션이 백 그라운드 어플리케이션으로 전환되어도 상기 외부 전자 장치는 상기 제1 어플리케이션의 실행 화면을 표시할 수 있다.According to an embodiment, the processor may execute a second application among a plurality of applications. When the processor executes the second application, in order to display the second application in a focused state through the display, the processor may release the focusing state of the previously executed first application and switch to a background application. have. However, even when the first application is switched to a background application, the external electronic device may display an execution screen of the first application.

다른 실시예에 따르면, 상기 401 동작과 상기 403 동작은 수행하는 순서가 서로 뒤 바뀐 상태로 수행될 수 있다. 상기 프로세서는 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 실행된 복수의 어플리케이션 중 제2 어플리케이션을 포커싱 상태의 포어 그라운드 어플리케이션으로 상기 디스플레이를 통해 표시할 수 있다. According to another embodiment, the operation 401 and the operation 403 may be performed in a state in which the order in which they are performed is reversed. The processor may execute a plurality of applications. The processor may display a second application among the plurality of executed applications as a foreground application in a focused state through the display.

상기 프로세서는 상기 디스플레이를 통해 상기 제2 어플리케이션을 표시하는 동안, 백 그라운드(back ground)에서 실행되고 있는 상기 복수의 백 그라운드 어플리케이션 중 제1 어플리케이션의 실행화면과 관련된 데이터를 상기 외부 전자 장치에 전송할 수 있다.The processor may transmit data related to an execution screen of a first application among the plurality of background applications being executed in a background to the external electronic device while displaying the second application through the display. have.

405 동작에서, 상기 프로세서는 상기 전자 장치의 센서(예: 도 1의 센서 모듈(176) 또는 센서(202))를 통해 상기 전자 장치에 접촉되지 않은 사용자 입력을 검출할 수 있다. 상기 프로세서는 상기 검출한 사용자 입력을 기반으로 상기 백 그라운드에서 실행 중인 상기 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시할 수 있다.In operation 405 , the processor may detect a user input that is not in contact with the electronic device through a sensor (eg, the sensor module 176 or the sensor 202 of FIG. 1 ) of the electronic device. The processor may display a user interface related to control of one background application among the plurality of background applications running in the background on the designated area of the display based on the detected user input.

일 실시예에 따르면, 상기 프로세서는 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 입력(예: 호버링 입력 또는 제스쳐)인 제1 사용자 입력(예: 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 사용자 입력을 기반으로, 상기 디스플레이의 백 그라운드에서 실행 중인 복수의 백 그라운드 어플리케이션 중 제1 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시할 수 있다.According to an embodiment, the processor may receive a first user input (eg, a user input) that is an input (eg, a hovering input or a gesture) that is not in contact with the electronic device through the sensor. The processor may display a first user interface related to control of a first application among a plurality of background applications running in the background of the display on a designated area of the display based on the received first user input. .

다른 실시예에 따르면, 상기 제1 사용자 입력이 상기 전자 장치에 접촉된 입력인 경우, 상기 프로세서는 상기 전자 장치에 접촉된 제1 사용자 입력을 기반으로, 상기 제2 어플리케이션(예: 포어 그라운드 어플리케이션)을 제어할 수 있다.According to another embodiment, when the first user input is an input in contact with the electronic device, the processor is configured to perform the second application (eg, a foreground application) based on the first user input in contact with the electronic device can be controlled.

407 동작에서 상기 프로세서는 상기 지정된 영역에 상기 사용자 인터페이스를 표시하는 동안, 상기 디스플레이 또는 상기 센서를 통해 다른 사용자 입력을 수신할 수 있다.In operation 407, the processor may receive another user input through the display or the sensor while displaying the user interface in the designated area.

409 동작에서 상기 프로세서는 상기 수신한 다른 사용자 입력에 응답하여 상기 통신 모듈을 통해 상기 하나의 백 그라운드 어플리케이션에 대한 제어 신호를 상기 외부 전자 장치에 전송할 수 있다. In operation 409, the processor may transmit a control signal for the one background application to the external electronic device through the communication module in response to the received other user input.

일 실시예에 따르면, 상기 전자 장치의 프로세서는 상기 센서 또는 상기 디스플레이를 통해 제2 사용자 입력(예: 다른 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 지정된 영역에 제1 사용자 인터페이스(예: 사용자 인터페이스)를 표시하고 있는 동안, 상기 수신한 제2 사용자 입력을 기반으로 상기 디스플레이의 백 그라운드에서 실행 중인 복수의 백 그라운드 어플리케이션 중 제1 어플리케이션을 제어할 수 있다. 상기 프로세서는 상기 백 그라운드에서 실행 중인 상기 제1 어플리케이션을 제어하는 것에 대응하여, 상기 외부 전자 장치에서 표시하는 상기 제1 어플리케이션을 제어하기 위한 제어 신호를 상기 통신 모듈을 통해 상기 외부 전자 장치에 전송할 수 있다. 상기 제2 사용자 입력이 상기 제1 어플리케이션의 음량을 조절하는 사용자 입력인 경우, 상기 프로세서는 상기 외부 전자 장치에서 출력되고 있는 상기 제1 어플리케이션의 음량을 조절하는 제어 신호를 전송하여, 상기 외부 전자 장치가 상기 외부 전자 장치에서 출력하고 있는 상기 제1 어플리케이션의 음량을 조절하도록 할 수 있다.According to an embodiment, the processor of the electronic device may receive a second user input (eg, another user input) through the sensor or the display. While the processor displays a first user interface (eg, a user interface) in the designated area, a first application among a plurality of background applications running in the background of the display based on the received second user input can be controlled. The processor may transmit a control signal for controlling the first application displayed on the external electronic device to the external electronic device through the communication module in response to controlling the first application running in the background. have. When the second user input is a user input for adjusting the volume of the first application, the processor transmits a control signal for adjusting the volume of the first application output from the external electronic device to the external electronic device may control the volume of the first application being output from the external electronic device.

다른 실시예에 따르면, 상기 프로세서는 상기 제1 사용자 인터페이스 상에 표시되고 있는 제어 정보를 나타내는 객체를 터치 입력하여, 백 그라운드에서 실행 중인 상기 제1 어플리케이션을 제어할 수 있다. 상기 프로세서는 제어 정보를 나타내는 객체를 터치한 입력을 기반으로 백 그라운드에서 상기 음 실행 중인 상기 제1 어플리케이션을 제어할 수 있다. 상기 프로세서는 상기 제1 어플리케이션을 제어하는 것에 대응하여, 상기 외부 전자 장치에서 음성 신호를 출력하고 있는 제1 어플리케이션의 음량 기능을 제어하기 위한 제어 신호를 상기 외부 전자 장치에 전송할 수 있다. 상기 제어 정보를 나타내는 객체에 대한 설명은 도 6에서 자세하게 설명하도록 한다.According to another embodiment, the processor may control the first application running in the background by touch-inputting an object representing control information displayed on the first user interface. The processor may control the first application that is running in the background based on an input of touching an object representing control information. In response to controlling the first application, the processor may transmit a control signal for controlling a volume function of the first application outputting a voice signal from the external electronic device to the external electronic device. An object representing the control information will be described in detail with reference to FIG. 6 .

도 5는 본 발명의 일 실시예에 따른 사용자 입력을 기반으로 전자 장치에서 실행되고 있는 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.5 is a diagram for explaining a method of controlling an application being executed in an electronic device based on a user input according to an embodiment of the present invention.

도 5를 참조하면, 510 상태에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 상기 전자 장치가 수신한 사용자 입력으로 제어되는 포커싱 상태의 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션의 적어도 일부 실행 화면(500)을 상기 전자 장치의 터치 스크린(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))를 통해 표시할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 상기 디스플레이에 표시하는 동안, 상기 포어 그라운드 어플리케이션을 제외한 복수의 어플리케이션을 포커스 상태가 아닌 백 그라운드 어플리케이션으로 실행 또는 전환할 수 있다.Referring to FIG. 5 , in a state 510 , a processor (eg, the processor 120 of FIG. 1 or the processor of FIG. 2 ) of an electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) 205) may execute the plurality of applications based on data related to the plurality of applications stored in the memory of the electronic device (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2). have. The processor may execute or switch one application among the plurality of applications to a foreground application in a focusing state controlled by a user input received by the electronic device. The processor may display at least a partial execution screen 500 of the foreground application through a touch screen of the electronic device (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ). While displaying the foreground application on the display, the processor may execute or switch a plurality of applications other than the foreground application to a background application that is not in a focus state.

530 상태와 같이, 상기 프로세서는 상기 터치 스크린을 통해 상기 전자 장치에 접촉되는 입력(513)(예: 키 입력 또는 터치 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 전자 장치에 접촉되는 입력(513)을 기반으로 상기 터치 스크린에서 포커싱 상태로 표시중인 포어 그라운드 어플리케이션을 상기 전자 장치에 접촉되는 사용자 입력(513)을 기반으로 제어할 수 있다.As in the state 530 , the processor may receive an input 513 (eg, a key input or a touch input) that comes into contact with the electronic device through the touch screen. The processor may control the foreground application being displayed in a focused state on the touch screen based on the received input 513 in contact with the electronic device based on the user input 513 in contact with the electronic device.

일 실시예에 따르면, 상기 프로세서는 상기 복수의 어플리케이션 중 제1 어플리케이션을 포커싱 상태로 상기 터치 스크린을 통해 표시할 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 제1 어플리케이션을 포커싱 상태로 터치 스크린에 표시하는 동안, 상기 제1 어플리케이션을 제외한 상기 복수의 어플리케이션을 포커싱 되지 않은 상태의 백 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. According to an embodiment, the processor may execute or switch a first application among the plurality of applications to a foreground application to be displayed through the touch screen in a focused state. While the first application is displayed on the touch screen in a focused state, the processor may execute or switch the plurality of applications excluding the first application to a non-focused background application.

일 실시예에 따르면, 상기 프로세서는 상기 터치 스크린을 통해 제1 사용자 입력(513)을 수신할 수 있다. 상기 프로세서는 상기 수신한 상기 제1 사용자 입력(513)(상기 전자 장치에 접촉되는 사용자 입력(예: 키 입력 또는 터치 입력))을 기반으로 현재 터치 스크린에 표시되고 있는 상기 제1 어플리케이션의 일부 화면(500)을 스크롤하여 다른 화면(531)으로 표시할 수 있다.According to an embodiment, the processor may receive a first user input 513 through the touch screen. The processor is configured to generate a partial screen of the first application currently being displayed on the touch screen based on the received first user input 513 (a user input (eg, a key input or a touch input) contacting the electronic device). By scrolling 500 , another screen 531 may be displayed.

또한, 상기 전자 장치의 프로세서는 상기 터치 스크린의 적어도 일부 영역에 센서(예: 도 1의 센서 모듈(176) 또는 센서(202))가 활성화되었음을 알리는 센서 아이콘(512)을 표시할 수 있다. 상기 프로세서는 상기 센서 아이콘(512)이 표시되는 동안, 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 입력(511)(예: 제스처 또는 호버링)을 수신할 수 있다. Also, the processor of the electronic device may display a sensor icon 512 indicating that a sensor (eg, the sensor module 176 or the sensor 202 of FIG. 1 ) is activated on at least a partial area of the touch screen. The processor may receive an input 511 (eg, gesture or hovering) that is not in contact with the electronic device through the sensor while the sensor icon 512 is displayed.

550 상태에서 상기 프로세서가 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 입력(511)을 수신한 경우, 상기 터치 스크린의 적어도 일부 영역에 현재 전자 장치에 접촉되지 않은 사용자 입력(511)이 검출되고 있음을 알리는 제스처 아이콘(551)을 표시할 수 있다. 상기 프로세서는 상기 제스처 아이콘(551)을 표시하면서, 상기 백 그라운드에서 실행 중인 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스 상에서 검출한 사용자 입력을 기반으로 제어할 수 있다.When the processor receives an input 511 that is not in contact with the electronic device through the sensor in state 550, a user input 511 that is not currently in contact with the electronic device is detected in at least a partial area of the touch screen A gesture icon 551 notifying the user may be displayed. The processor may control based on a user input detected on a user interface related to control of a background application running in the background while displaying the gesture icon 551 .

일 실시예에 따르면, 상기 프로세서는 제1 어플리케이션(예: 포어 그라운드 어플리케이션)의 적어도 일부 화면(500)을 표시하는 동안, 상기 센서 아이콘이 표시된 상태에서 상기 센서를 통해 제2 사용자 입력(예: 다른 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 제2 사용자 입력을 수신하고 있음을 나타내는 제스처 아이콘(551)을 상기 터치 스크린의 적어도 일부 영역에 표시할 수 있다. 상기 프로세서는 상기 수신한 제2 사용자 입력을 기반으로, 상기 백 그라운드에서 실행되고 있는 복수의 어플리케이션 중 제2 어플리케이션을 제어할 수 있다.According to an embodiment, while the processor displays at least a partial screen 500 of a first application (eg, a foreground application), a second user input (eg, other user input). The processor may display a gesture icon 551 indicating that the second user input is being received on at least a partial area of the touch screen. The processor may control a second application among a plurality of applications running in the background based on the received second user input.

도 6은 본 발명의 일 실시예에 따른 사용자 인터페이스를 설명하기 위한 도면이다.6 is a diagram for explaining a user interface according to an embodiment of the present invention.

도 6을 참조하면, 전자 장치(600)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 상기 전자 장치가 수신한 사용자 입력으로 제어되는 포커싱 상태의 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션의 적어도 일부 실행 화면(610)(예: 도 5의 제1 어플리케이션의 적어도 일부 실행 화면(500))을 상기 전자 장치의 터치 스크린(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))에 표시할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 실행 또는 전환함에 따라, 상기 포어 그라운드 어플리케이션을 제외한 복수의 어플리케이션을 포커싱 상태가 아닌 백 그라운드 어플리케이션으로 실행 또는 전환할 수 있다.Referring to FIG. 6 , a processor (eg, the processor 120 of FIG. 1 or the processor of FIG. 2 ) of an electronic device 600 (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) 205)) may execute the plurality of applications based on data related to the plurality of applications stored in the memory of the electronic device (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2 ). . The processor may execute or switch one application among the plurality of applications to a foreground application in a focusing state controlled by a user input received by the electronic device. The processor displays at least a partial execution screen 610 of the foreground application (eg, at least a partial execution screen 500 of the first application of FIG. 5 ) on the touch screen of the electronic device (eg, the display device 160 of FIG. 1 ). ) or on the display 201 of FIG. 2 ). As the processor executes or switches the foreground application, the processor may execute or switch a plurality of applications other than the foreground application to a background application that is not in a focused state.

상기 프로세서는 상기 전자 장치의 센서(예: 도 1의 센서 모듈(176) 또는 센서(202))를 통해 상기 전자 장치(600)에 접촉되지 않은 사용자 입력을 검출할 수 있다. 상기 프로세서는 상기 검출한 전자 장치에 접촉되지 않은 사용자 입력을 기반으로 상기 백 그라운드에서 실행 중인 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스(650)를 상기 디스플레이의 지정된 영역에 표시할 수 있다.The processor may detect a user input that is not in contact with the electronic device 600 through a sensor of the electronic device (eg, the sensor module 176 or the sensor 202 of FIG. 1 ). The processor displays a user interface 650 related to control of one background application among a plurality of background applications running in the background based on the detected user input not in contact with the electronic device on the designated area of the display. can be displayed

일 실시예에 따르면, 상기 사용자 인터페이스(650)는 상기 하나의 백 그라운드 어플리케이션의 아이콘(651), 상기 하나의 백 그라운드 어플리케이션의 제목 정보(652), 제어 정보를 나타내는 객체(653) 및 상기 하나의 백 그라운드 어플리케이션을 제어하기 위한 가이드 아이콘(654) 중 적어도 하나를 포함할 수 있다. 상기 하나의 백 그라운드 어플리케이션의 아이콘(651)은 상기 전자 장치에 설치된 백 그라운드 어플리케이션을 나타내는 아이콘일 수 있다. 상기 하나의 백 그라운드 어플리케이션의 제목 정보(652)는 상기 전자 장치에 설치된 상기 하나의 백 그라운드 어플리케이션의 제목 또는 상기 하나의 백 그라운드 어플리케이션에서 실행 중인 컨텐츠의 제목일 수 있다. According to an embodiment, the user interface 650 includes an icon 651 of the one background application, title information 652 of the one background application, an object 653 representing control information, and the one background application. At least one of guide icons 654 for controlling a background application may be included. The icon 651 of the one background application may be an icon representing a background application installed in the electronic device. The title information 652 of the one background application may be the title of the one background application installed in the electronic device or the title of content being executed in the one background application.

일 실시예에 따르면, 상기 제어 정보를 나타내는 객체(653)는 상기 제2 어플리케이션(다른 하나의 백 그라운드 어플리케이션)에 포함된 적어도 하나의 기능과 대응하는 객체로, 사용자는 상기 제어 정보를 나타내는 객체(653)를 통해 상기 제2 어플리케이션에 포함된 기능들 중 어떤 기능을 제어할지를 확인할 수 있다. 예를 들어, 상기 제어 정보를 나타내는 객체(653)는 상기 제2 어플리케이션의 볼륨 조절 기능, 되감기 기능, 빨리 감기 기능, 정지 기능을 나타낼 수 있다. 또한, 상기 제어 정보를 나타내는 객체(653)는 상기 제2 어플리케이션 대신 제3 어플리케이션을 제어하기 위하여, 상기 제1 사용자 인터페이스(650)를 상기 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하는 스왑(swap) 기능을 나타내는 객체를 포함할 수 있다. According to an exemplary embodiment, the object 653 representing the control information is an object corresponding to at least one function included in the second application (another background application), and the user is an object representing the control information ( 653), it is possible to check which function among the functions included in the second application is to be controlled. For example, the object 653 representing the control information may represent a volume control function, a rewind function, a fast forward function, and a stop function of the second application. In addition, the object 653 representing the control information is a swap for changing the first user interface 650 to a second user interface related to the control of the third application in order to control a third application instead of the second application. (swap) may contain an object representing a function.

일 실시예에 따르면, 상기 제2 어플리케이션을 제어하기 위한 가이드 아이콘(654)은 상기 제2 어플리케이션의 기능들을 제어하기 위하여, 상기 제2 어플리케이션의 각각의 기능을 가이드 하는 객체를 포함할 수 있다. 예를 들어, 상기 가이드 아이콘(654)은 상기 제2 어플리케이션의 기능과 매칭되어 있는 제스처의 형태를 나타내는 아이콘일 수 있다. 상기 프로세서는 상기 센서를 통해 상기 제2 어플리케이션을 제어하기 위한 가이드 아이콘(654)의 형태와 유사한 제스처(사용자 입력)를 검출하는 경우, 상기 검출한 가이드 아이콘과 매칭되어 있는 상기 제2 어플리케이션의 기능을 실행할 수 있다. According to an embodiment, the guide icon 654 for controlling the second application may include an object guiding each function of the second application in order to control the functions of the second application. For example, the guide icon 654 may be an icon indicating a shape of a gesture matched with a function of the second application. When the processor detects a gesture (user input) similar to the shape of the guide icon 654 for controlling the second application through the sensor, the processor determines the function of the second application matching the detected guide icon. can run

도 7은 본 발명의 일 실시예에 따른 터치 스크린을 통해 사용자 입력을 수신하는 방법을 설명하기 위한 도면이다.7 is a diagram for explaining a method of receiving a user input through a touch screen according to an embodiment of the present invention.

도 7을 참조하면, 710 상태에서 전자 장치(700)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 사용자 입력을 수신할 수 있다. 상기 전자 장치의 프로세서는 터치 스크린(711)(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))를 통해 키 입력이나 터치 입력과 같은 상기 전자 장치(700)에 접촉하는 사용자 입력을 수신할 수 있다. 또한, 상기 전자 장치(700)의 프로세서는 상기 터치 스크린(711)을 통해 상기 전자 장치(700)에 접촉되지 않은 사용자 입력을 수신할 수 있다.Referring to FIG. 7 , in a state 710 , a processor (eg, the processor 120 of FIG. 1 or FIG. 2 ) of the electronic device 700 (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) The processor 205 of the may receive user input. The processor of the electronic device is a user contacting the electronic device 700 such as a key input or a touch input through a touch screen 711 (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ). input can be received. Also, the processor of the electronic device 700 may receive a user input that is not in contact with the electronic device 700 through the touch screen 711 .

730 상태에서, 상기 전자 장치(700)의 프로세서는 상기 터치 스크린(711)의 적어도 일부 영역(731)에서 상기 전자 장치(700)에 접촉되지 않은 사용자 입력을 수신할 수 있다. 예를 들면, 상기 전자 장치(700)의 프로세서는 상기 터치 스크린(711)의 적어도 일부 영역(731)에서 감지되는 정전용량의 변화를 기반으로 상기 전자 장치(700)에 접촉되지 않은 사용자 입력을 검출할 수 있다.In state 730 , the processor of the electronic device 700 may receive a user input that is not in contact with the electronic device 700 in at least a partial area 731 of the touch screen 711 . For example, the processor of the electronic device 700 detects a user input that is not in contact with the electronic device 700 based on a change in capacitance sensed in at least a partial region 731 of the touch screen 711 . can do.

750 상태에서, 상기 전자 장치(700)의 프로세서가 상기 터치 스크린(711)의 적어도 일부 영역(731)에서 상기 전자 장치(700)에 접촉되지 않은 사용자 입력을 수신하면, 상기 터치 스크린(711) 상에 제스처 아이콘(752) 및 프로세싱 오브젝트(751)를 표시할 수 있다. 상기 제스처 아이콘(752) 및 프로세싱 오브젝트(751)는 상기 터치 스크린(711)의 적어도 일부 영역에서 표시되는 사용자 인터페이스의 다른 형태일 수 있다. 상기 제스처 아이콘(752)은 현재 상기 전자 장치(700)가 상기 전자 장치(700)에 접촉되지 않은 사용자 입력을 수신하고 있음을 나타내는 아이콘일 수 있다. 상기 프로세싱 오브젝트(751)는 상기 수신한 전자 장치(700)에 접촉되지 않은 사용자 입력을 기반으로 수행하는 작업의 진행도를 나타내는 오브젝트일 수 있다. 상기 프로세싱 오브젝트(751)는 수행하고 있는 작업의 진행도에 따라 컬러가 변경될 수 있고, 형태가 변경될 수 있다.In state 750 , when the processor of the electronic device 700 receives a user input that is not in contact with the electronic device 700 in at least a partial area 731 of the touch screen 711 , the touch screen 711 is displayed. may display a gesture icon 752 and a processing object 751 . The gesture icon 752 and the processing object 751 may be other types of user interfaces displayed on at least a portion of the touch screen 711 . The gesture icon 752 may be an icon indicating that the electronic device 700 is currently receiving a user input that is not in contact with the electronic device 700 . The processing object 751 may be an object indicating the progress of a task performed based on a user input that is not in contact with the received electronic device 700 . The color of the processing object 751 may be changed according to the progress of the work being performed, and the shape of the processing object 751 may be changed.

도 8은 본 발명의 일 실시예에 따른 백 그라운드 어플리케이션의 기능을 제어하는 방법을 설명하기 위한 도면이다.8 is a diagram for explaining a method of controlling a function of a background application according to an embodiment of the present invention.

도 8을 참조하면, 810 상태에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 상기 전자 장치가 수신한 사용자 입력으로 제어되는 포커싱 상태의 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 실행한 포어 그라운드 어플리케이션을 상기 전자 장치의 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))에 표시할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 제외한 복수의 어플리케이션을 포커싱 상태가 아닌 백 그라운드 어플리케이션으로 실행 또는 전환할 수 있다.Referring to FIG. 8 , in state 810 , a processor (eg, the processor 120 of FIG. 1 or the processor of FIG. 2 ) of the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) 205) may execute the plurality of applications based on data related to the plurality of applications stored in the memory of the electronic device (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2). have. The processor may execute or switch one application among the plurality of applications to a foreground application in a focusing state controlled by a user input received by the electronic device. The processor may display the executed foreground application on the display of the electronic device (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ). The processor may execute or switch a plurality of applications other than the foreground application to a background application that is not in a focused state.

일 실시예에 따르면, 상기 프로세서는 복수의 어플리케이션 중 제1 어플리케이션을 포커싱 상태로 상기 디스플레이에 표시할 포어 그라운드 어플리케이션으로 지정할 수 있다. 상기 제1 어플리케이션은 상기 디스플레이에 포커싱 상태로 표시되어, 상기 프로세서가 수신한 사용자 입력을 기반으로 제어할 수 있는 어플리케이션일 수 있다. 상기 프로세서는 상기 제1 어플리케이션을 포어 그라운드 어플리케이션으로 선택하면, 상기 제1 어플리케이션을 제외한 복수의 어플리케이션은 백 그라운드 어플리케이션으로 전환 또는 실행할 수 있다.According to an embodiment, the processor may designate a first application among a plurality of applications as a foreground application to be displayed on the display in a focused state. The first application may be an application that is displayed on the display in a focused state and can be controlled based on a user input received by the processor. When the processor selects the first application as a foreground application, the plurality of applications other than the first application may be switched or executed as a background application.

상기 프로세서는 상기 포어 그라운드 어플리케이션을 상기 디스플레이를 통해 표시할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 표시하는 동안, 상기 센서를 통해 상기 전자 장치 인근에서 지정된 시간 동안 상기 전자 장치에 접촉되지 않은 사용자 입력(예: 제스처 또는 호버링 입력)을 수신하는 경우, 상기 디스플레이의 적어도 일부 영역에 센서 아이콘(811)을 표시할 수 있다. 상기 센서 아이콘(811)은 상기 센서가 상기 전자 장치에 접촉되지 않은 입력을 검출할 수 있음을 나타내는 아이콘일 수 있다.The processor may display the foreground application through the display. When the processor receives a user input (eg, a gesture or a hovering input) that is not in contact with the electronic device for a specified time in the vicinity of the electronic device through the sensor while displaying the foreground application, at least A sensor icon 811 may be displayed in some area. The sensor icon 811 may be an icon indicating that the sensor can detect an input that is not in contact with the electronic device.

830 상태에서, 상기 프로세서는 상기 센서 아이콘(811)이 상기 디스플레이의 적어도 일부 영역에 표시되는 동안, 상기 전자 장치에 접촉되지 않은 사용자 입력을 상기 센서를 통해 수신할 수 있다. 상기 프로세서는 상기 수신한 전자 장치에 접촉되지 않은 사용자 입력을 기반으로 상기 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스(831)(예: 도 6의 사용자 인터페이스(650))를 상기 디스플레이의 지정된 영역에 표시할 수 있다. 상기 사용자 인터페이스(831)는 상기 하나의 백 그라운드 어플리케이션의 아이콘, 하나의 백 그라운드 어플리케이션의 제목 정보, 제어 정보를 나타내는 객체 및 하나의 백 그라운드 어플리케이션을 제어하기 위한 가이드 아이콘 중 적어도 하나를 포함할 수 있다.In state 830 , the processor may receive a user input that is not in contact with the electronic device through the sensor while the sensor icon 811 is displayed on at least a partial area of the display. The processor uses a user interface 831 (eg, the user interface 650 of FIG. 6 ) related to control of one background application among the plurality of background applications based on the received user input not in contact with the electronic device. may be displayed on a designated area of the display. The user interface 831 may include at least one of an icon of one background application, title information of one background application, an object representing control information, and a guide icon for controlling one background application. .

일 실시예에 따르면, 상기 프로세서가 상기 포커싱 상태의 제1 어플리케이션을 상기 디스플레이를 통해 표시하는 동안, 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 입력인 제1 사용자 입력을 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 사용자 입력을 기반으로, 복수의 백 그라운드 어플리케이션 중 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스(831)를 상기 디스플레이의 지정된 영역에 표시할 수 있다. 상기 프로세서는 상기 제1 사용자 인터페이스(831)를 통해 상기 제2 어플리케이션의 아이콘을 표시할 수 있다. 상기 프로세서는 상기 사용자 인터페이스(831)를 통해 상기 제2 어플리케이션이 재생하고 있는 컨텐츠의 제목(예: My station)을 표시할 수 있다. 상기 프로세서는 상기 제2 어플리케이션의 제어 정보를 나타내는 객체를 표시할 수 있다. 상기 제어 정보를 나타내는 객체는 상기 제2 어플리케이션의 기능인 음량 조절 기능, 되감기 기능, 빨리 감기 기능, 정지 기능을 나타내는 객체일 수 있다.According to an embodiment, while the processor displays the first application in the focusing state through the display, a first user input that is not in contact with the electronic device may be received through the sensor. The processor may display a first user interface 831 related to control of a second application among a plurality of background applications on a designated area of the display based on the received first user input. The processor may display the icon of the second application through the first user interface 831 . The processor may display a title (eg, My station) of the content being reproduced by the second application through the user interface 831 . The processor may display an object representing control information of the second application. The object representing the control information may be an object representing a volume control function, a rewind function, a fast forward function, and a stop function, which are functions of the second application.

일 실시예에 따르면, 상기 프로세서는 상기 제1 사용자 인터페이스(831)를 통해 제2 어플리케이션을 제어하기 위한 가이드 아이콘을 표시할 수 있다. 상기 가이드 아이콘은 상기 제2 어플리케이션의 기능을 제어하기 위하여 제2 어플리케이션의 기능과 매칭된 제스처 아이콘일 수 있다. 상기 프로세서는 상기 센서를 통해 상기 가이드 아이콘과 유사한 제스처의 형태를 수신하는 경우, 상기 제스처의 형태와 매칭된 제2 어플리케이션의 기능을 제어할 수 있다. According to an embodiment, the processor may display a guide icon for controlling a second application through the first user interface 831 . The guide icon may be a gesture icon matched with the function of the second application in order to control the function of the second application. When receiving a shape of a gesture similar to the guide icon through the sensor, the processor may control a function of a second application matching the shape of the gesture.

850 상태에서, 상기 프로세서는 상기 센서를 통해 다른 사용자 입력(852)을 수신할 수 있다. 상기 다른 사용자 입력(852)은 상기 전자 장치에 접촉되지 않은 사용자 입력 또는 상기 사용자 인터페이스(831) 상에서 검출된 사용자 입력을 포함할 수 있다. In state 850 , the processor may receive another user input 852 through the sensor. The other user input 852 may include a user input not in contact with the electronic device or a user input detected on the user interface 831 .

870 상태에서, 상기 프로세서는 상기 수신한 다른 사용자 입력(852)을 기반으로 상기 백 그라운드에서 실행 중인 상기 하나의 백 그라운드 어플리케이션을 제어할 수 있다. 상기 프로세서는 상기 하나의 백 그라운드 어플리케이션의 사운드를 증가시키는 것에 대응하여, 상기 디스플레이의 적어도 일부 영역에 상기 하나의 백 그라운드 어플리케이션의 사운드를 나타내는 오브젝트(871)를 표시할 수 있다. In state 870 , the processor may control the one background application running in the background based on the received other user input 852 . In response to increasing the sound of the one background application, the processor may display an object 871 representing the sound of the one background application on at least a partial area of the display.

일 실시예에 따르면, 상기 프로세서는 상기 센서를 통해 제2 어플리케이션을 제어하기 위한 제2 사용자 입력(852)(전자 장치에 접촉되지 않은 사용자 입력 또는 제1 사용자 인터페이스 상에서 검출한 사용자 입력)을 검출할 수 있다. 상기 프로세서는 상기 검출한 제2 사용자 입력(852)을 기반으로 복수의 백 그라운드 어플리케이션 중 상기 제2 어플리케이션을 제어할 수 있다. 상기 프로세서는 상기 수신한 제2 사용자 입력(852)이 상기 제2 어플리케이션의 기능 중 사운드를 증가시키는 기능과 매칭된 가이드 아이콘을 선택하는 사용자 입력인 경우, 상기 제2 어플리케이션이 재생하고 있는 컨텐츠의 사운드를 증가시킬 수 있다. 상기 프로세서는 상기 제2 어플리케이션이 재생하고 있는 컨텐츠의 사운드를 증가시키는 것에 대응하여 상기 컨텐츠의 사운드 정도를 나타내는 오브젝트(871)를 상기 디스플레이의 적어도 일부 영역에 표시할 수 있다.According to an embodiment, the processor is configured to detect a second user input 852 (a user input not in contact with the electronic device or a user input detected on the first user interface) for controlling the second application through the sensor. can The processor may control the second application among a plurality of background applications based on the detected second user input 852 . When the received second user input 852 is a user input for selecting a guide icon matched with a sound increasing function among functions of the second application, the processor is configured to provide a sound of content being played by the second application. can increase The processor may display an object 871 indicating a sound level of the content on at least a partial area of the display in response to increasing the sound of the content being reproduced by the second application.

도 9는 본 발명의 일 실시예에 따른 백 그라운드에서 실행 중인 복수의 어플리케이션 중 하나를 선택하여 제어하는 방법을 설명하기 위한 도면이다.9 is a diagram for explaining a method of selecting and controlling one of a plurality of applications running in a background according to an embodiment of the present invention.

도 9를 참조하면, 910 상태에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 상기 전자 장치가 수신한 사용자 입력으로 제어되는 포커싱 상태의 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 상기 전자 장치의 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))를 통해 포커싱 상태로 표시하여, 상기 전자 장치가 수신한 사용자 입력을 기반으로 제어할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 제외한 상기 복수의 어플리케이션을 포커싱 되지 않은 백 그라운드에서 포커스 되지 않은 상태로 실행 또는 전환할 수 있다.Referring to FIG. 9 , in state 910 , a processor (eg, the processor 120 of FIG. 1 or the processor of FIG. 2 ) of the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) 205) may execute the plurality of applications based on data related to the plurality of applications stored in the memory of the electronic device (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2). have. The processor may execute or switch one application among the plurality of applications to a foreground application in a focusing state controlled by a user input received by the electronic device. The processor displays the foreground application in a focused state through a display of the electronic device (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ), so as to receive the user input received by the electronic device. can be controlled based on The processor may execute or switch the plurality of applications other than the foreground application from the unfocused background to the unfocused state.

일 실시예에 따르면, 상기 프로세서는 복수의 어플리케이션 중 제1 어플리케이션을 포커싱 상태로 상기 디스플레이를 통해 표시할 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 제1 어플리케이션을 제외한 상기 복수의 어플리케이션을 포커싱 되지 않은 백 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 센서를 통해 상기 전자 장치 인근에서 지정된 시간 동안 상기 전자 장치에 접촉되지 않은 사용자 입력(예: 제스처 또는 호버링 입력)을 검출하는 경우, 상기 디스플레이의 적어도 일부 영역에 센서 아이콘(911)을 표시할 수 있다. 상기 센서 아이콘(911)은 상기 센서가 상기 전자 장치에 접촉되지 않은 사용자 입력을 검출할 수 있음을 나타내는 아이콘일 수 있다.According to an embodiment, the processor may execute or switch a first application among a plurality of applications to a foreground application to be displayed through the display in a focused state. The processor may execute or convert the plurality of applications other than the first application to an unfocused background application. When the processor detects a user input (eg, a gesture or a hovering input) that has not touched the electronic device for a specified period of time in the vicinity of the electronic device through the sensor, a sensor icon 911 is displayed on at least a partial area of the display. can be displayed The sensor icon 911 may be an icon indicating that the sensor can detect a user input that is not in contact with the electronic device.

930 상태에서, 상기 프로세서는 상기 센서 아이콘(911)을 상기 디스플레이 상에 표시하는 동안, 상기 전자 장치에 접촉되지 않은 사용자 입력을 상기 센서를 통해 수신할 수 있다. 상기 프로세서는 상기 수신한 사용자 입력을 기반으로 상기 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스(931)(예: 도 6의 사용자 인터페이스(650))를 상기 디스플레이의 지정된 영역에 표시할 수 있다. 상기 사용자 인터페이스(931)는 상기 하나의 백 그라운드 어플리케이션의 아이콘, 상기 하나의 백 그라운드 어플리케이션의 제목 정보, 제어 정보를 나타내는 객체 및 상기 하나의 백 그라운드 어플리케이션을 제어하기 위한 가이드 아이콘 중 적어도 하나를 포함할 수 있다.In state 930 , the processor may receive a user input that is not in contact with the electronic device through the sensor while the sensor icon 911 is displayed on the display. The processor displays a user interface 931 (eg, the user interface 650 of FIG. 6 ) related to control of one background application among the plurality of background applications based on the received user input on the designated area of the display. can be displayed in The user interface 931 may include at least one of an icon of the one background application, title information of the one background application, an object representing control information, and a guide icon for controlling the one background application. can

일 실시예에 따르면, 상기 프로세서는 상기 디스플레이에 상기 제1 어플리케이션을 표시하는 동안, 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 사용자 입력을 기반으로, 상기 백 그라운드 어플리케이션 중 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스(931)를 상기 디스플레이의 지정된 영역을 통해 표시할 수 있다. 상기 프로세서는 상기 제1 사용자 인터페이스(931) 상에 상기 제2 어플리케이션의 기능과 관련된 제1 제어 정보(932)를 표시할 수 있다. 상기 프로세서는 상기 제1 사용자 인터페이스(931)를 통해 상기 제2 어플리케이션이 재생하고 있는 컨텐츠의 제목(예: Black Car)을 표시할 수 있다. 상기 제1 제어 정보를 나타내는 객체는 상기 제2 어플리케이션의 기능인 음량 조절 기능, 되감기 기능, 빨리 감기 기능, 정지 기능을 나타내는 객체일 수 있다.According to an embodiment, the processor may receive a first user input that is not in contact with the electronic device through the sensor while the first application is displayed on the display. The processor may display a first user interface 931 related to control of a second application among the background applications through a designated area of the display based on the received first user input. The processor may display first control information 932 related to a function of the second application on the first user interface 931 . The processor may display a title (eg, Black Car) of the content being reproduced by the second application through the first user interface 931 . The object representing the first control information may be an object representing a volume control function, a rewind function, a fast forward function, and a stop function, which are functions of the second application.

930 상태에서 상기 프로세서는 상기 사용자 인터페이스(931)가 상기 디스플레이의 지정된 영역에 표시되는 동안, 상기 센서 또는 상기 디스플레이를 통해 다른 사용자 입력(전자 장치에 접촉되지 않은 사용자 입력 또는 사용자 인터페이스 상에서 검출한 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 다른 사용자 입력을 기반으로 상기 하나의 백 그라운드 어플리케이션을 제어할 수 있다. 다만, 상기 수신한 다른 사용자 입력이 상기 복수의 백 그라운드 어플리케이션 중 다른 백 그라운드 어플리케이션을 제어하기 위하여 상기 다른 백 그라운드 어플리케이션을 선택하려는 입력일 수 있다. 상기 프로세서는 상기 센서를 통해 상기 검출한 다른 사용자 입력의 형태가 상기 하나의 백 그라운드 어플리케이션을 상기 다른 백 그라운드 어플리케이션으로 변경하는 기능의 제어 정보가 나타내고 있는 형태와 유사한 경우, 사용자 인터페이스(931)를 다른 사용자 인터페이스(951)로 변경할 수 있다. 상기 프로세서는 상기 센서를 통해 사용자 입력(제스처)을 획득하고, 획득한 사용자 입력의 특징 점(예: 제스처의 테두리 점)을 기반으로 획득한 사용자 입력의 형태를 식별할 수 있다. In the 930 state, the processor determines that while the user interface 931 is displayed on the designated area of the display, other user input (user input not in contact with the electronic device or user input detected on the user interface) through the sensor or the display ) can be received. The processor may control the one background application based on the received other user input. However, the received other user input may be an input for selecting another background application in order to control another background application among the plurality of background applications. When the form of the other user input detected through the sensor is similar to the form indicated by the control information of the function for changing the one background application to the other background application, the processor displays the user interface 931 to another The user interface 951 can be changed. The processor may obtain a user input (gesture) through the sensor, and identify a form of the acquired user input based on characteristic points of the acquired user input (eg, edge points of a gesture).

일 실시예에 따르면, 상기 프로세서는 상기 디스플레이의 지정된 영역에서 상기 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스(931)를 표시할 수 있다. 상기 프로세서는 상기 제1 사용자 인터페이스(931)를 표시하는 동안, 상기 센서를 통해 제2 사용자 입력(전자 장치에 접촉되지 않은 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 센서를 통해 수신한 제2 사용자 입력의 특징 점을 추출하고, 추출한 특징 점을 기반으로 제2 사용자 입력(제스처)의 형태를 식별할 수 있다.According to an embodiment, the processor may display a first user interface 931 related to control of the second application in a designated area of the display. The processor may receive a second user input (a user input not in contact with the electronic device) through the sensor while the first user interface 931 is displayed. The processor may extract feature points of the second user input received through the sensor, and identify the shape of the second user input (gesture) based on the extracted feature points.

일 실시예 따르면, 상기 프로세서는 상기 식별한 제2 사용자 입력의 형태와 상기 제1 사용자 인터페이스(931) 상에서 표시되고 있는 제1 제어 정보(932)에 포함된 가이드 아이콘의 형태를 비교할 수 있다. 상기 가이드 아이콘은 제2 어플리케이션에서 제3 어플리케이션으로 변경하는 기능과 매칭되어 있는 아이콘일 수 있다. 상기 제2 사용자 입력의 형태가 상기 가이드 아이콘이 나타내고 있는 형태와 지정된 값 유사한 경우, 상기 프로세서는 상기 가이드 아이콘에 매칭되어 있는 기능(제어하려는 어플리케이션을 동영상 재생 어플리케이션(제3 어플리케이션))으로 선택)을 실행할 수 있다. 상기 프로세서는 상기 디스플레이의 지정된 영역에서 표시되고 있는 상기 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스(931)를 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스(951)로 변경할 수 있다.According to an embodiment, the processor may compare the identified shape of the second user input with the shape of the guide icon included in the first control information 932 displayed on the first user interface 931 . The guide icon may be an icon matching the function of changing from the second application to the third application. When the shape of the second user input is similar to the shape indicated by the guide icon, the processor selects a function matching the guide icon (selecting an application to be controlled as a video playback application (third application)) can run The processor may change the first user interface 931 related to the control of the second application displayed in the designated area of the display to the second user interface 951 related to the control of the third application.

950 상태에서 상기 프로세서는 상기 디스플레이의 지정된 영역에 복수의 백 그라운드 어플리케이션 중 다른 백 그라운드 어플리케이션의 제어와 관련된 다른 사용자 인터페이스(951)를 표시할 수 있다. 상기 프로세서는 상기 다른 사용자 인터페이스(951)를 표시하고 있는 동안, 상기 센서를 통해 사용자 입력(952)을 수신할 수 있다. 상기 프로세서는 상기 수신한 제3 사용자 입력(952)을 기반으로 상기 전자 장치의 다른 백 그라운드 어플리케이션을 제어할 수 있다. 상기 프로세서는 상기 수신한 사용자 입력(952)이 상기 다른 백 그라운드 어플리케이션의 볼륨을 증가시키는 입력인 경우, 다른 백 그라운드 어플리케이션의 볼륨을 증가시킬 수 있다.In state 950, the processor may display another user interface 951 related to control of another background application among a plurality of background applications in a designated area of the display. The processor may receive a user input 952 through the sensor while displaying the other user interface 951 . The processor may control another background application of the electronic device based on the received third user input 952 . When the received user input 952 is an input for increasing the volume of the other background application, the processor may increase the volume of the other background application.

970 상태에서, 상기 프로세서는 상기 수신한 사용자 입력(952)을 기반으로 상기 다른 백 그라운드 어플리케이션을 제어하고, 상기 다른 백 그라운드 어플리케이션을 제어하고 있음을 나타내는 오브젝트(971)를 표시할 수 있다. In state 970, the processor may control the other background application based on the received user input 952 and display an object 971 indicating that the other background application is being controlled.

일 실시예에 따르면, 상기 프로세서는 상기 디스플레이의 지정된 영역에서 제3 어플리케이션(다른 백 그라운드 어플리케이션)의 제어와 관련된 제2 사용자 인터페이스(951)를 표시할 수 있다. 상기 프로세서는 상기 제2 사용자 인터페이스(951)를 표시하는 동안, 상기 센서를 통해 제3 사용자 입력(952)을 수신할 수 있다. 상기 제3 사용자 입력(952)은 상기 전자 장치에 접촉되지 않은 입력(예: 제스처 또는 호버링 입력)일 수 있으며, 상기 제2 사용자 인터페이스(951) 영역 상에서 검출되는 입력(예: 키 입력 또는 터치 입력)일 수 있다. 상기 수신한 제3 사용자 입력(952)이 상기 복수의 백 그라운드 어플리케이션 중 다른 백 그라운드 어플리케이션의 볼륨을 증가시키는 입력인 경우, 상기 프로세서는 상기 제3 사용자 입력(952)을 기반으로 상기 다른 백 그라운드 어플리케이션의 볼륨을 증가시킬 수 있다. According to an embodiment, the processor may display a second user interface 951 related to control of a third application (another background application) in a designated area of the display. The processor may receive a third user input 952 through the sensor while displaying the second user interface 951 . The third user input 952 may be an input that is not in contact with the electronic device (eg, a gesture or a hovering input), and an input detected on the area of the second user interface 951 (eg, a key input or a touch input). ) can be When the received third user input 952 is an input for increasing the volume of another background application among the plurality of background applications, the processor determines the other background application based on the third user input 952 . can increase the volume of

일 실시예에 따르면, 상기 프로세서는 상기 다른 백 그라운드 어플리케이션의 볼륨을 증가시키는 것과 대응하여 상기 디스플레이의 적어도 일부 영역에 상기 다른 백 그라운드 어플리케이션의 볼륨 게이지를 나타내는 오브젝트(971)를 표시할 수 있다. 상기 오브젝트(971)는 상기 볼륨 게이지뿐만 아니라, 상기 프로세서가 수신한 사용자 입력을 기반으로 백 그라운드에서 실행 중인 복수의 어플리케이션 중 하나의 어플리케이션의 기능을 제어하는 경우, 제어하고 있는 기능과 관련된 오브젝트일 수도 있다.According to an embodiment, in response to increasing the volume of the other background application, the processor may display an object 971 indicating a volume gauge of the other background application on at least a partial area of the display. The object 971 may be an object related not only to the volume gauge but also to the function being controlled when the function of one of a plurality of applications running in the background is controlled based on the user input received by the processor. have.

도 10은 본 발명의 일 실시예에 따른 센서의 활성화를 중지하는 방법을 설명하기 위한 도면이다.10 is a diagram for explaining a method of stopping activation of a sensor according to an embodiment of the present invention.

도 10을 참조하면, 1010 상태에서, 전자 장치(1000)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치(1000)의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. . 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 상기 전자 장치가 수신한 사용자 입력으로 제어되는 포커싱 상태의 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 상기 전자 장치(1000)의 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))에 표시할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 포커싱 상태로 상기 디스플레이에 표시하는 동안, 상기 포어 그라운드 어플리케이션을 제외한 복수의 어플리케이션을 상기 포커싱 되지 않은 상태의 백 그라운드 어플리케이션으로 실행 또는 전환할 수 있다.Referring to FIG. 10 , in a state 1010 , a processor (eg, the processor 120 of FIG. 1 or FIG. 1 ) of the electronic device 1000 (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) The processor 205 of 2 ) based on data related to a plurality of applications stored in the memory (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2 ) of the electronic device 1000 , Multiple applications can be executed. . The processor may execute or switch one application among the plurality of applications to a foreground application in a focusing state controlled by a user input received by the electronic device. The processor may display the foreground application on the display of the electronic device 1000 (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ). While displaying the foreground application on the display in a focused state, the processor may execute or convert a plurality of applications excluding the foreground application to the non-focused background application.

일 실시예에 따르면, 상기 프로세서는 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 센서(202))를 통해 사용자 입력을 수신할 수 있다. 상기 사용자 입력은 전자 장치에 접촉되거나 접촉하지 않는 사용자 입력일 수 있다. 상기 프로세서는 상기 센서(예: 이미지 센서)를 통해 전자 장치에 접촉되지 않은 입력(예: 제스처 또는 호버링 입력)인 사용자 입력을 수신할 수 있다. 상기 프로세서는 상기 센서가 활성화 중일 때, 상기 전자 장치에 접촉되지 않은 사용자 입력을 수신할 수 있다. 상기 프로세서는 상기 센서가 활성화 중이라는 것을 알리는 센서 아이콘(1001)(예: 도 5의 센서 아이콘(512))을 상기 디스플레이의 적어도 일부 영역에 표시할 수 있다. According to an embodiment, the processor may receive a user input through a sensor (eg, the sensor module 176 of FIG. 1 or the sensor 202 of FIG. 2 ). The user input may be a user input that is in contact with or not in contact with the electronic device. The processor may receive a user input that is an input (eg, a gesture or a hovering input) that is not in contact with the electronic device through the sensor (eg, an image sensor). The processor may receive a user input that is not in contact with the electronic device when the sensor is being activated. The processor may display a sensor icon 1001 (eg, the sensor icon 512 of FIG. 5 ) indicating that the sensor is being activated on at least a partial area of the display.

일 실시예에 다르면, 상기 프로세서는 상기 센서 아이콘(1001)이 표시되는 상태에서 제1 사용자 입력(전자 장치에 접촉되지 않은 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 센서를 통해 상기 제1 사용자 입력을 수신하는 경우, 전자 장치에 접촉되지 않은 사용자 입력을 수신하고 있는 상태임을 알리는 제스처 아이콘(1002)(예: 도 5의 제스처 아이콘(551))을 상기 디스플레이에 표시할 수 있다. 상기 제스처 아이콘(1002)은 상기 프로세서가 상기 센서를 통해 상기 전자 장치(1000)에 접촉되지 않은 입력을 수신하는 경우 표시하는 아이콘일 수 있다. 상기 제스처 아이콘(1002)은 사용자 인터페이스의 다른 형태일 수 있다.According to an embodiment, the processor may receive a first user input (a user input not in contact with the electronic device) while the sensor icon 1001 is displayed. When the processor receives the first user input through the sensor, the processor generates a gesture icon 1002 (eg, a gesture icon 551 in FIG. 5 ) indicating that a user input that is not in contact with the electronic device is being received. can be displayed on the display. The gesture icon 1002 may be an icon displayed when the processor receives an input that is not in contact with the electronic device 1000 through the sensor. The gesture icon 1002 may be another type of user interface.

일 실시예에 따르면, 상기 제1 사용자 입력이 센서의 활성화를 종료하는 입력인 경우, 상기 프로세서는 1030 상태와 같이 상기 센서 아이콘(1001) 및 상기 제스처 아이콘(1002)을 상기 디스플레이에서 표시되지 않도록 할 수 있다.According to an embodiment, when the first user input is an input for terminating the activation of the sensor, the processor is configured to not display the sensor icon 1001 and the gesture icon 1002 on the display as in the state 1030. can

다른 실시예에 따르면, 상기 프로세서는 상기 센서(예: 이미지 센서)를 재 활성화할 수 있다. 상기 프로세서는 상기 센서 인근에서 상기 센서를 활성화시키는 제스처를 다른 센서(예: 모션 센서)를 통해 수신하거나, 지정된 시간 이상 유지되는 제스처를 수신한 경우, 상기 센서를 재 활성화할 수 있다. 상기 프로세서는 상기 다른 센서가 상기 전자 장치(1000)의 전원이 온(on) 상태일 때, 상기 다른 센서의 활성화를 유지하도록 제어할 수 있고, 별도로 센서 아이콘(1001)을 표시하지 않을 수 있다.According to another embodiment, the processor may re-activate the sensor (eg, an image sensor). The processor may re-activate the sensor when a gesture for activating the sensor is received near the sensor through another sensor (eg, a motion sensor) or when a gesture maintained for a specified time or longer is received. The processor may control the other sensor to maintain activation of the other sensor when the power of the electronic device 1000 is in an on state, and may not separately display the sensor icon 1001 .

도 11은 본 발명의 일 실시예에 따른 외부 전자 장치와 연결된 상태에서, 백 그라운드 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.11 is a diagram for explaining a method of controlling a background application while connected to an external electronic device according to an embodiment of the present invention.

도 11을 참조하면, 1110 상태에서, 전자 장치(1111)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치(1111)의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션 중 하나의 어플리케이션을 상기 전자 장치가 수신한 사용자 입력으로 제어되는 포커싱 상태의 포어 그라운드 어플리케이션으로 실행 또는 전환할 수 있다. 상기 프로세서는 상기 포어 그라운드 어플리케이션을 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))를 통해 포커싱 상태로 표시할 수 있다. Referring to FIG. 11 , in a state 1110 , a processor (eg, the processor 120 of FIG. 1 or FIG. 1 ) of an electronic device 1111 (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) The processor 205 of 2 ) based on data related to a plurality of applications stored in the memory (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2 ) of the electronic device 1111 , Multiple applications can be executed. The processor may execute or switch one application among the plurality of applications to a foreground application in a focusing state controlled by a user input received by the electronic device. The processor may display the foreground application in a focused state through a display (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ).

일 실시예에 따르면, 상기 프로세서는 상기 포어 그라운드 어플리케이션의 실행 화면 적어도 일부 영역(1112)을 상기 디스플레이에 표시하는 동안, 상기 포어 그라운드 어플리케이션을 제외한 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 실행 화면과 관련된 데이터를 통신 모듈(예: 도 1의 통신 모듈(190) 또는 도 2의 통신 모듈(203))을 통해 외부 전자 장치(1115)(예: 도 1의 전자 장치(102 또는 104))에 전송할 수 있다. 상기 프로세서는 유/무선 네트워크를 이용하여, 상기 통신 모듈을 통해 데이터를 송수신할 수 있다. 상기 유/무선 네트워크는 와이파이(wifi-direction), 블루투스(bluetooth), NFC(near field communication), USB(universal serial bus) 중 적어도 하나를 포함할 수 있으며, 이에 한정되지 않는다. 상기 하나의 백 그라운드 어플리케이션은 포커싱 상태가 아닌 어플리케이션으로 상기 프로세서가 수신한 사용자 입력에 제어되지 않는 어플리케이션일 수 있다.According to an embodiment, while the processor displays at least a partial area 1112 of the execution screen of the foreground application on the display, the execution screen of one background application among a plurality of background applications excluding the foreground application data related to the external electronic device 1115 (eg, the electronic device 102 or 104 of FIG. 1) through a communication module (eg, the communication module 190 of FIG. 1 or the communication module 203 of FIG. 2) can be transmitted The processor may transmit/receive data through the communication module using a wired/wireless network. The wired/wireless network may include at least one of wifi-direction, Bluetooth, near field communication (NFC), and universal serial bus (USB), but is not limited thereto. The one background application may be an application that is not in a focused state and is not controlled by a user input received by the processor.

일 실시예에 따르면, 1130 상태에서 상기 전자 장치(1111)의 프로세서는 상기 센서를 통해 상기 전자 장치(1111)에 접촉되지 않은 사용자 입력(1113)을 수신할 수 있다. 상기 전자 장치(1111)의 프로세서는 상기 사용자 입력(1113)을 수신하면, 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시할 수 있다. 상기 전자 장치(1111)의 프로세서는 상기 하나의 백 그라운드 어플리케이션의 제어와 관련된 사용자 인터페이스를 출력하는 동안 상기 센서 또는 디스플레이를 통해 다른 사용자 입력(전자 장치에 접촉되지 않은 사용자 입력 또는 사용자 인터페이스 상에서 검출되는 사용자 입력)을 수신할 수 있다. 상기 전자 장치의 프로세서는 상기 수신한 다른 사용자 입력을 기반으로 상기 하나의 백 그라운드 어플리케이션을 제어할 수 있다.According to an embodiment, in the state 1130 , the processor of the electronic device 1111 may receive a user input 1113 that is not in contact with the electronic device 1111 through the sensor. Upon receiving the user input 1113 , the processor of the electronic device 1111 may display a user interface related to control of one background application among a plurality of background applications on a designated area of the display. While the processor of the electronic device 1111 outputs a user interface related to control of the one background application, another user input (a user input not in contact with the electronic device or a user detected on the user interface) through the sensor or display input) can be received. The processor of the electronic device may control the one background application based on the received other user input.

일 실시예에 따르면, 상기 전자 장치(1111)의 프로세서가 수신한 상기 다른 사용자 입력이 상기 하나의 백 그라운드 어플리케이션의 볼륨을 조절하는 입력인 경우, 상기 전자 장치(1111)의 프로세서는 상기 하나의 백 그라운드 어플리케이션의 볼륨을 조절할 수 있다. 상기 프로세서는 상기 하나의 백 그라운드 어플리케이션의 볼륨을 조절함에 따라, 상기 전자 장치(1111)의 디스플레이 적어도 일부 영역에 상기 하나의 백 그라운드 어플리케이션의 볼륨과 관련된 오브젝트(1132)를 표시할 수 있다.According to an embodiment, when the other user input received by the processor of the electronic device 1111 is an input for adjusting the volume of the one background application, the processor of the electronic device 1111 is the one back You can adjust the volume of the ground application. As the volume of the one background application is adjusted, the processor may display an object 1132 related to the volume of the one background application on at least a partial area of the display of the electronic device 1111 .

상기 프로세서는 상기 전자 장치(1111)에 접촉되지 않은 사용자 입력(1113)을 기반으로, 상기 하나의 백 그라운드 어플리케이션의 볼륨을 조절하는 것에 대응하여, 상기 하나의 백 그라운드 어플리케이션의 실행 화면을 표시하고 있는 상기 외부 전자 장치(1115)에 볼륨을 조절하라는 신호를 상기 통신 모듈을 통해 전송할 수 있다. 상기 외부 전자 장치(1115)는 상기 수신한 신호에 기반하여 상기 오브젝트(1132)와 대응하는 별도의 오브젝트(1131)를 상기 외부 전자 장치(1115)의 디스플레이에 표시하면서, 상기 외부 전자 장치(1115)가 표시하고 있는 상기 하나의 백 그라운드 어플리케이션의 볼륨을 제어할 수 있다. The processor displays an execution screen of the one background application in response to adjusting the volume of the one background application based on a user input 1113 that is not in contact with the electronic device 1111 A signal to adjust the volume may be transmitted to the external electronic device 1115 through the communication module. The external electronic device 1115 displays a separate object 1131 corresponding to the object 1132 on the display of the external electronic device 1115 based on the received signal, while the external electronic device 1115 It is possible to control the volume of the one background application displayed by .

일 실시예에 따르면, 1150 상태에서, 상기 프로세서는 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 센서(202)) 또는 상기 디스플레이를 통해 상기 전자 장치(1111)에 접촉되는 사용자 입력(1114)을 수신할 수 있다. 상기 프로세서는 상기 수신한 전자 장치(1111)에 접촉되는 사용자 입력(1114)을 기반으로, 상기 전자 장치(1111)의 디스플레이를 통해 표시되고 있는 포어 그라운드 어플리케이션을 제어할 수 있다. 예를 들어, 상기 수신한 전자 장치(1111)에 접촉되는 사용자 입력(1114)이 상기 디스플레이를 통해 표시되고 있는 포어 그라운드 어플리케이션의 화면 일부를 스크롤하는 입력인 경우, 상기 프로세서는 상기 수신한 전자 장치(1111)에 접촉되는 사용자 입력(1114)을 기반으로, 상기 포어 그라운드 어플리케이션의 화면을 스크롤할 수 있다. 상기 프로세서는 상기 전자 장치(1111)에 접촉된 사용자 입력(1114)을 기반으로 상기 디스플레이에서 포커싱 상태로 표시중인 포어 그라운드 어플리케이션을 제어하기 때문에, 상기 백 그라운드 어플리케이션을 표시하고 있는 상기 외부 전자 장치(1115)에 별도로 상기 백 그라운드 어플리케이션을 제어하라는 신호를 전송하지 않을 수 있다. According to an embodiment, in the 1150 state, the processor receives a user input contacting the electronic device 1111 through a sensor (eg, the sensor module 176 of FIG. 1 or the sensor 202 of FIG. 2 ) or the display. (1114) can be received. The processor may control a foreground application displayed through the display of the electronic device 1111 based on the received user input 1114 contacting the electronic device 1111 . For example, when the user input 1114 contacting the received electronic device 1111 is an input for scrolling a part of a screen of a foreground application displayed through the display, the processor Based on the user input 1114 in contact with 1111 , the screen of the foreground application may be scrolled. Since the processor controls a foreground application displayed in a focused state on the display based on a user input 1114 contacted to the electronic device 1111 , the external electronic device 1115 displaying the background application ) may not separately transmit a signal to control the background application.

도 12는 본 발명의 일 실시예에 따른 멀티 윈도우를 통해 표시되는 복수의 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.12 is a diagram for explaining a method of controlling a plurality of applications displayed through a multi-window according to an embodiment of the present invention.

도 12를 참조하면, 1210 상태에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 실행한 복수의 어플리케이션을 상기 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))의 분할된 화면(예: 멀티 윈도우)을 통해 표시할 수 있다.Referring to FIG. 12 , in a state 1210 , a processor (eg, the processor 120 of FIG. 1 or the processor of FIG. 2 ) of an electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) 205) may execute the plurality of applications based on data related to the plurality of applications stored in the memory of the electronic device (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2). have. The processor may display the plurality of executed applications through a divided screen (eg, a multi-window) of the display (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ).

일 실시예에 따르면, 1210 상태에서 상기 프로세서는 상기 복수의 어플리케이션 중 제1 어플리케이션(1213), 제2 어플리케이션(1214), 제3 어플리케이션(1215) 및 제4 어플리케이션(1216) 각각을 실행하여, 상기 디스플레이의 분할된 화면을 통해 표시할 수 있다. 상기 프로세서는 상기 제1 어플리케이션(1213)을 포커싱 상태의 포어 그라운드 어플리케이션으로 지정할 수 있다. 상기 프로세서는 상기 제1 어플리케이션(1213)을 포어 그라운드 어플리케이션으로 지정함에 따라, 상기 제1 어플리케이션(1213)(포어 그라운드 어플리케이션)을 제외한 상기 어플리케이션들(제2 어플리케이션(1214), 제3 어플리케이션(1215) 및 제4 어플리케이션(1216))은 백 그라운드 어플리케이션으로 지정할 수 있다. 상기 프로세서는 포어 그라운드 어플리케이션(예: 제1 어플리케이션(1213))과 백 그라운드 어플리케이션들(1214, 1215 및 1216)과 구분하기 위한 그래픽 효과(1211)를 상기 디스플레이의 적어도 일부 영역에 적용할 수 있다. 상기 그래픽 효과는 상기 포어 그라운드 어플리케이션(1213)을 표시하고 있는 화면 테두리에 컬러를 적용된 빗금 처리를 하거나, 상기 백 그라운드 어플리케이션들(1214, 1215 및 1216)에 반 투명 효과를 적용할 수 있으며, 포커스된 어플리케이션을 구분할 수 있는 다양한 그래픽 효과를 적용할 수 있다. According to an embodiment, in the 1210 state, the processor executes each of the first application 1213 , the second application 1214 , the third application 1215 , and the fourth application 1216 among the plurality of applications, so that the It can be displayed through the split screen of the display. The processor may designate the first application 1213 as a foreground application in a focused state. As the processor designates the first application 1213 as a foreground application, the applications (the second application 1214 and the third application 1215) except for the first application 1213 (foreground application). and the fourth application 1216) may be designated as a background application. The processor may apply a graphic effect 1211 for distinguishing a foreground application (eg, the first application 1213 ) and the background applications 1214 , 1215 , and 1216 to at least a partial area of the display. For the graphic effect, a color shading may be applied to a screen border displaying the foreground application 1213 , or a semi-transparent effect may be applied to the background applications 1214 , 1215 and 1216 , and the focused Various graphic effects that can distinguish applications can be applied.

일 실시예에 따르면, 상기 프로세서는 상기 포커싱 상태의 포어 그라운드 어플리케이션(제1 어플리케이션(1213))이 표시되는 화면 상에 센서(예: 도 1의 센서 모듈(176) 또는 센서(202))가 활성화되었음을 알리는 센서 아이콘(1212)을 표시할 수 있다. 상기 프로세서는 상기 센서 아이콘(1212)이 활성화된 상태에서 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 사용자 입력(예: 제1 사용자 입력)을 수신할 수 있다. 상기 전자 장치에 접촉되지 않은 사용자 입력은 제스처 입력 또는 호버링 입력일 수 있다. 상기 프로세서는 상기 수신한 전자 장치에 접촉되지 않은 사용자 입력을 기반으로 상기 디스플레이의 분할된 화면 중 하나의 화면에서 표시되고 있는 어플리케이션 중 하나의 백 그라운드 어플리케이션(제2 어플리케이션(1214))의 제어와 관련된 사용자 인터페이스(1231)(예: 제1 사용자 인터페이스)를 표시할 수 있다. 상기 제2 어플리케이션(1214)은 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션일 수 있다. 상기 프로세서는 상기 사용자 인터페이스(1231)를 상기 제2 어플리케이션(1214)의 실행 화면 적어도 일부 영역에 표시할 수 있다. According to an embodiment, the processor activates a sensor (eg, the sensor module 176 or the sensor 202 of FIG. 1 ) on a screen on which the foreground application (the first application 1213) in the focusing state is displayed. A sensor icon 1212 indicating that it has been completed may be displayed. The processor may receive a user input (eg, a first user input) that is not in contact with the electronic device through the sensor while the sensor icon 1212 is activated. The user input not in contact with the electronic device may be a gesture input or a hovering input. The processor is related to the control of one of the background applications (the second application 1214) among the applications being displayed on one of the divided screens of the display based on the received user input not in contact with the electronic device. A user interface 1231 (eg, a first user interface) may be displayed. The second application 1214 may be one background application among a plurality of background applications. The processor may display the user interface 1231 on at least a partial area of the execution screen of the second application 1214 .

1230 상태에서, 상기 프로세서는 상기 사용자 인터페이스(1231)를 표시하는 동안, 다른 사용자 입력(예: 제2 사용자 입력)을 수신할 수 있다. 상기 다른 사용자 입력은 전자 장치에 접촉되지 않은 입력 또는 제2 어플리케이션(1214)의 제어와 관련된 사용자 인터페이스 상에서 검출한 사용자 입력일 수 있다. In state 1230 , the processor may receive another user input (eg, a second user input) while displaying the user interface 1231 . The other user input may be an input not in contact with the electronic device or a user input detected on a user interface related to control of the second application 1214 .

상기 프로세서는 상기 수신한 다른 사용자 입력을 기반으로, 상기 하나의 백 그라운드 어플리케이션(1214)을 제어할 수 있다. 상기 프로세서가 상기 수신한 다른 사용자 입력이 상기 하나의 백 그라운드 어플리케이션(제2 어플리케이션(1214))의 볼륨 기능을 제어하는 입력인 경우, 상기 프로세서는 상기 하나의 백 그라운드 어플리케이션(제2 어플리케이션(1214))의 볼륨을 제어할 수 있다. 반면에, 상기 프로세서가 상기 수신한 다른 사용자 입력은 상기 디스플레이의 분할된 화면에서 표시되고 있는 어플리케이션 중 다른 백 그라운드 어플리케이션(제3 어플리케이션(1215))을 제어하기 위한 사용자 입력일 수 있다. 상기 프로세서가 상기 다른 백 그라운드 어플리케이션을 제어하기 위하여, 선택하는 상기 사용자 입력을 수신한 경우, 상기 프로세서는 상기 다른 백 그라운드 어플리케이션을 표시하고 있는 화면의 적어도 일부 영역에서 상기 다른 백 그라운드 어플리케이션의 제어와 관련된 다른 사용자 인터페이스(1251)를 표시할 수 있다.The processor may control the one background application 1214 based on the received other user input. When the other user input received by the processor is an input for controlling a volume function of the one background application (second application 1214), the processor processes the one background application (second application 1214). ) can be controlled. On the other hand, the other user input received by the processor may be a user input for controlling another background application (the third application 1215 ) among applications being displayed on the divided screen of the display. When the processor receives the user input for selecting the other background application to control the other background application, the processor is related to the control of the other background application in at least a partial area of a screen displaying the other background application. Another user interface 1251 may be displayed.

다른 실시 예에 따르면, 상기 프로세서는 상기 사용자 인터페이스(1231)를 표시하는 동안, 상기 전자 장치에 접촉되는 사용자 입력인 사용자 입력(예: 키 입력 또는 터치 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 전자 장치에 접촉되는 사용자 입력을 기반으로 상기 디스플레이를 통해 포커싱 상태로 표시 중인 포어 그라운드 어플리케이션(제1 어플리케이션(1213))을 제어할 수 있다. According to another embodiment, while the user interface 1231 is displayed, the processor may receive a user input (eg, a key input or a touch input) that is a user input that comes into contact with the electronic device. The processor may control the foreground application (the first application 1213 ) being displayed in a focused state through the display based on the received user input contacting the electronic device.

1250 상태에서, 상기 프로세서는 상기 센서 또는 상기 디스플레이를 통해 또 다른 사용자 입력(예: 제3 사용자 입력)을 수신할 수 있다. 상기 또 다른 사용자 입력은 상기 전자 장치에 접촉되지 않은 사용자 입력 또는 상기 다른 사용자 인터페이스 상에서 검출된 사용자 입력일 수 있다.In state 1250, the processor may receive another user input (eg, a third user input) through the sensor or the display. The another user input may be a user input not in contact with the electronic device or a user input detected on the other user interface.

일 실시예에 따르면, 상기 프로세서가 상기 수신한 또 다른 사용자 입력이 상기 다른 백 그라운드 어플리케이션의 볼륨을 조절하는 기능과 관련된 입력인 경우, 상기 프로세서는 상기 또 다른 사용자 입력을 기반으로, 상기 다른 백 그라운드 어플리케이션의 볼륨을 제어할 수 있다.According to an embodiment, when the other user input received by the processor is an input related to a function of adjusting the volume of the other background application, the processor is configured to perform the other background application based on the other user input. You can control the volume of the application.

1270 상태에서, 상기 프로세서는 상기 수신한 또 다른 사용자 입력을 기반으로 상기 다른 백 그라운드 어플리케이션(제3 어플리케이션(1215))의 볼륨을 제어하는 것에 대응하여, 상기 전자 장치의 디스플레이가 표시하고 있는 화면 적어도 일부 영역에 볼륨 게이지 오브젝트(1271)를 표시할 수 있다. 상기 볼륨 게이지 오브젝트(1271)는 상기 사용자 인터페이스의 다른 형태일 수 있다.In state 1270, in response to controlling the volume of the other background application (the third application 1215) based on the received another user input, the processor performs at least a screen displayed on the display of the electronic device. A volume gauge object 1271 may be displayed in a partial area. The volume gauge object 1271 may be another form of the user interface.

도 13은 본 발명의 일 실시예에 따른 외부 전자 장치와 연결된 상태에서 멀티 윈도우를 통해 표시되는 복수의 어플리케이션을 제어하는 방법을 설명하기 위한 도면이다.13 is a diagram for explaining a method of controlling a plurality of applications displayed through a multi-window while connected to an external electronic device according to an embodiment of the present invention.

도 13a을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(205))는 상기 전자 장치의 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(204))에 저장되어 있는 복수의 어플리케이션과 관련된 데이터를 기반으로, 상기 복수의 어플리케이션을 실행할 수 있다. 상기 프로세서는 상기 실행한 복수의 어플리케이션을 상기 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))의 분할된 화면 각각에 표시할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션 중 제1 어플리케이션(1313), 제2 어플리케이션(1314), 제3 어플리케이션(1315) 및 제4 어플리케이션(1316)의 실행 화면을 상기 디스플레이의 분할된 화면 각각을 통해 표시할 수 있다. 상기 프로세서는 상기 복수의 어플리케이션들(제1 어플리케이션(1313), 상기 제2 어플리케이션(1314), 상기 제3 어플리케이션(1315) 및 상기 제4 어플리케이션(1316)) 중 상기 제1 어플리케이션(1312)을 포커싱 상태의 포어 그라운드 어플리케이션으로 지정할 수 있다. 상기 프로세서는 상기 포커싱 된 제1 어플리케이션의 실행 화면이 표시되는 화면 중 적어도 일부 화면에 센서(예: 도 1의 센서 모듈(176) 또는 도 2의 센서(202))가 활성화되었음을 알리는 센서 아이콘(1312)을 표시할 수 있다. 또한, 상기 프로세서는 포어 그라운드 어플리케이션과 포커싱 상태가 아닌 백 그라운드 어플리케이션들을 구분하기 위해 상기 디스플레이의 적어도 일부 영역에 그래픽 효과를 적용할 수 있다.Referring to FIG. 13A , a processor (eg, the processor 120 of FIG. 1 or the processor 205 of FIG. 2 ) of an electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) may execute the plurality of applications based on data related to the plurality of applications stored in the memory of the electronic device (eg, the memory 130 of FIG. 1 or the memory 204 of FIG. 2 ). The processor may display the plurality of executed applications on each of the divided screens of the display (eg, the display device 160 of FIG. 1 or the display 201 of FIG. 2 ). The processor is configured to display execution screens of the first application 1313 , the second application 1314 , the third application 1315 , and the fourth application 1316 among the plurality of applications through each of the divided screens of the display. can The processor focuses the first application 1312 among the plurality of applications (the first application 1313 , the second application 1314 , the third application 1315 , and the fourth application 1316 ). It can be specified as the foreground application of the state. The processor is configured to display a sensor icon 1312 indicating that a sensor (eg, the sensor module 176 of FIG. 1 or the sensor 202 of FIG. 2 ) is activated on at least some of the screens on which the execution screen of the focused first application is displayed. ) can be displayed. Also, the processor may apply a graphic effect to at least a partial area of the display to distinguish a foreground application from a background application that is not in a focused state.

일 실시예에 따르면, 상기 전자 장치의 프로세서는 상기 센서를 통해 상기 전자 장치에 접촉되지 않은 사용자 입력을 수신할 수 있다. 상기 전자 장치에 접촉되지 않은 사용자 입력은 제스처 입력 또는 호버링 입력 중 하나를 포함할 수 있다. 상기 프로세서는 상기 수신한 전자 장치에 접촉되지 않은 사용자 입력을 기반으로 상기 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 실행 화면 상에 사용자 인터페이스(1317a)를 표시할 수 있다. 상기 사용자 인터페이스(1317a)는 상기 전자 장치에 접촉되지 않은 사용자 입력을 기반으로 선택한 복수의 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 제어와 관련된 인터페이스일 수 있다. 상기 프로세서는 상기 사용자 인터페이스(1317a)를 통해 제어하려고 하는 백 그라운드 어플리케이션 중 하나의 백 그라운드 어플리케이션의 실행 화면과 관련된 데이터를 외부 전자 장치(1320)에 전송할 수 있다. According to an embodiment, the processor of the electronic device may receive a user input that is not in contact with the electronic device through the sensor. The user input not in contact with the electronic device may include one of a gesture input and a hovering input. The processor may display the user interface 1317a on the execution screen of one of the plurality of background applications based on the received user input that is not in contact with the electronic device. The user interface 1317a may be an interface related to control of one background application among a plurality of background applications selected based on a user input that is not in contact with the electronic device. The processor may transmit data related to an execution screen of one of the background applications to be controlled through the user interface 1317a to the external electronic device 1320 .

일 실시예에 따르면, 상기 프로세서는 상기 센서를 통해 제1 사용자 입력(전자 장치에 접촉되지 않은 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 사용자 입력을 기반으로 복수의 백 그라운드 어플리케이션들 중 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시할 수 있다. 예를 들어, 상기 프로세서는 상기 제1 사용자 인터페이스를 상기 디스플레이의 상단 영역에 표시할 수 있다. 또 다른 예를 들면, 상기 프로세서는 상기 제1 사용자 인터페이스를 상기 제1 사용자 인터페이스를 통해 제어하려고 하는 제2 어플리케이션의 실행 화면 상에 표시할 수 있다. 상기 프로세서는 상기 제1 사용자 인터페이스를 통해 제어하려고 하는 제2 어플리케이션의 실행 화면과 관련된 데이터를 상기 외부 전자 장치(1320)에 전송할 수 있다. According to an embodiment, the processor may receive a first user input (an input not in contact with the electronic device) through the sensor. The processor may display a first user interface related to control of a second application among a plurality of background applications in a designated area of the display based on the received first user input. For example, the processor may display the first user interface on an upper region of the display. As another example, the processor may display the first user interface on an execution screen of a second application to be controlled through the first user interface. The processor may transmit data related to an execution screen of a second application to be controlled through the first user interface to the external electronic device 1320 .

도 13b를 참조하면, 상기 프로세서는 상기 센서를 통해 다른 사용자 입력을 수신할 수 있다. 상기 다른 사용자 입력은 상기 전자 장치에 접촉되지 않은 사용자 입력 또는 상기 사용자 인터페이스(1317a) 상에서 검출된 사용자 입력일 수 있다. 또한, 상기 다른 사용자 입력은 상기 복수의 백 그라운드 어플리케이션 중 다른 백 그라운드 어플리케이션(예: 제3 어플리케이션(1315))을 제어하기 위하여 상기 다른 백 그라운드 어플리케이션을 선택하는 사용자 입력일 수 있다. 상기 프로세서는 상기 수신한 다른 사용자 입력을 기반으로, 상기 사용자 인터페이스(1317a)를 다른 사용자 인터페이스(1317b)로 변경하여 상기 디스플레이의 지정된 영역을 통해 표시할 수 있다. 일 예로, 상기 프로세서는 상기 다른 사용자 인터페이스(1317b)를 통해 제어할 상기 다른 백 그라운드 어플리케이션의 실행 화면 상에 상기 다른 사용자 인터페이스(1317b)를 표시할 수 있다. 상기 프로세서는 상기 사용자 인터페이스(1317a)가 상기 다른 사용자 인터페이스(1317b)로 변경됨에 따라, 상기 다른 백 그라운드 어플리케이션의 실행 화면과 관련된 데이터를 상기 통신 모듈을 통해 상기 외부 전자 장치(1320)에 전송할 수 있다.Referring to FIG. 13B , the processor may receive another user input through the sensor. The other user input may be a user input not in contact with the electronic device or a user input detected on the user interface 1317a. Also, the other user input may be a user input for selecting another background application to control another background application (eg, the third application 1315) among the plurality of background applications. The processor may change the user interface 1317a to another user interface 1317b based on the received other user input and display it through a designated area of the display. For example, the processor may display the other user interface 1317b on the execution screen of the other background application to be controlled through the other user interface 1317b. As the user interface 1317a is changed to the other user interface 1317b, the processor may transmit data related to the execution screen of the other background application to the external electronic device 1320 through the communication module. .

일 실시예에 따르면, 상기 프로세서는 상기 센서를 통해 제2 사용자 입력(상기 전자 장치에 접촉되지 않은 사용자 입력 또는 상기 제1 사용자 인터페이스 상에서 검출된 사용자 입력)을 수신할 수 있다. 상기 프로세서는 상기 수신한 제2 사용자 입력을 기반으로 복수의 백 그라운드 어플리케이션 중 제3 어플리케이션(다른 백 그라운드 어플리케이션)의 제어와 관련된 제2 사용자 인터페이스(1317b)를 표시할 수 있다. 상기 프로세서는 상기 제2 사용자 인터페이스(1317b)를 상기 제3 어플리케이션의 실행 화면 상에 표시할 수 있다. 상기 프로세서는 상기 제2 사용자 인터페이스(1317b)를 표시하는 것에 대응하여, 상기 통신 모듈을 통해 상기 외부 전자 장치(1320)에 상기 제3 어플리케이션의 실행 화면과 관련된 데이터를 전송할 수 있다.According to an embodiment, the processor may receive a second user input (a user input not in contact with the electronic device or a user input detected on the first user interface) through the sensor. The processor may display a second user interface 1317b related to control of a third application (another background application) among a plurality of background applications based on the received second user input. The processor may display the second user interface 1317b on the execution screen of the third application. The processor may transmit data related to the execution screen of the third application to the external electronic device 1320 through the communication module in response to displaying the second user interface 1317b.

도 13c를 참조하면, 상기 프로세서는 상기 센서를 통해 또 다른 사용자 입력(예: 제3 사용자 입력)을 수신할 수 있다. 상기 또 다른 사용자 입력은 상기 전자 장치에 접촉되지 않은 사용자 입력 또는 상기 다른 사용자 인터페이스(1317b) 상에서 검출된 사용자 입력일 수 있다. 상기 프로세서는 상기 수신한 또 다른 사용자 입력을 기반으로, 상기 다른 사용자 인터페이스(1317b)에 포함되어 있는 상기 다른 백 그라운드 어플리케이션의 기능 중 하나의 기능을 제어할 수 있다. 상기 프로세서는 상기 다른 사용자 인터페이스(1317b)의 제어 정보 중 상기 다른 백 그라운드 어플리케이션의 기능과 매칭되어 있는 가이드 아이콘의 형태와 유사한 상기 또 다른 사용자 입력을 수신할 수 있다. 일 예로, 상기 프로세서는 상기 검출한 또 다른 사용자 입력의 형태가 상기 다른 사용자 인터페이스(1317b)를 통해 표시되고 있는 제어 정보 중 상기 다른 백 그라운드 어플리케이션의 볼륨을 조절하는 기능과 매칭되어 있는 가이드 아이콘의 형태와 유사하면, 상기 다른 백 그라운드 어플리케이션의 볼륨을 조절할 수 있다. Referring to FIG. 13C , the processor may receive another user input (eg, a third user input) through the sensor. The other user input may be a user input not in contact with the electronic device or a user input detected on the other user interface 1317b. The processor may control one of the functions of the other background applications included in the other user interface 1317b based on the received another user input. The processor may receive the other user input similar to the shape of the guide icon matched with the function of the other background application among the control information of the other user interface 1317b. For example, the processor determines that the detected form of another user input matches the function of adjusting the volume of the other background application among the control information displayed through the other user interface 1317b. Similarly to , it is possible to adjust the volume of the other background application.

상기 프로세서는 상기 다른 백 그라운드 어플리케이션의 볼륨을 조절하는 것에 대응하여, 상기 다른 백 그라운드 어플리케이션의 볼륨 조절과 관련된 볼륨 게이지 오브젝트(1317c)를 표시할 수 있다. 상기 프로세서는 상기 다른 백 그라운드 어플리케이션의 볼륨을 조절하는 것에 대응하여, 상기 외부 전자 장치(1320)에 상기 외부 전자 장치(1320)가 표시하고 있는 다른 백 그라운드 어플리케이션의 볼륨을 제어하라는 신호를 전송할 수 있다. 상기 신호를 수신한 외부 전자 장치(1320)는 상기 볼륨 게이지 오브젝트(1317c)와 대응하는 별도의 오브젝트(1321)를 표시할 수 있다. The processor may display a volume gauge object 1317c related to volume control of the other background application in response to adjusting the volume of the other background application. The processor may transmit a signal to control the volume of another background application displayed by the external electronic device 1320 to the external electronic device 1320 in response to adjusting the volume of the other background application. . The external electronic device 1320 receiving the signal may display a separate object 1321 corresponding to the volume gauge object 1317c.

일 실시예에 따르면, 상기 프로세서는 상기 센서를 통해 제3 사용자 입력을 수신할 수 있다. 상기 프로세서는 제3 사용자 입력을 기반으로 상기 제3 어플리케이션의 기능을 제어할 수 있다. 상기 프로세서는 상기 제3 사용자 입력이 상기 제3 어플리케이션의 볼륨을 제어하는 입력인 경우, 상기 제3 어플리케이션의 볼륨을 조절하면서, 상기 제3 어플리케이션의 볼륨과 관련된 볼륨 게이지 오브젝트를 상기 디스플레이를 통해 표시할 수 있다. 상기 프로세서는 상가 제3 어플리케이션의 볼륨을 제어하는 것에 대응하여, 상기 외부 전자 장치에 상기 제3 어플리케이션의 볼륨을 제어하라는 신호를 전송할 수 있다. 상기 외부 전자 장치는 상기 수신한 신호를 기반으로, 표시하고 있는 제3 어플리케이션의 볼륨을 조절할 수 있다.According to an embodiment, the processor may receive a third user input through the sensor. The processor may control a function of the third application based on a third user input. When the third user input is an input for controlling the volume of the third application, the processor is configured to display a volume gauge object related to the volume of the third application through the display while adjusting the volume of the third application. can The processor may transmit a signal to control the volume of the third application to the external electronic device in response to controlling the volume of the third application in the shopping mall. The external electronic device may adjust the volume of the displayed third application based on the received signal.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.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 the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and 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 , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first", "second" may simply be used 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more stored in a storage medium (eg, the internal memory 136 or the external memory 138) readable by a machine (eg, the electronic device 101). It may be implemented as software (eg, program 140) including instructions. For example, the processor (eg, the processor 120 ) of the device (eg, the 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 refers to the case 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 through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, 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 created 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.

Claims (20)

전자 장치에 있어서,
디스플레이;
적어도 하나의 센서;
프로세서;
상기 디스플레이, 상기 센서 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가,
상기 전자 장치에 설치된 복수 개의 어플리케이션이 실행된 상태에서, 상기 복수 개의 어플리케이션 중 제1 어플리케이션의 실행 화면을 상기 디스플레이에 표시하고,
상기 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하고,
상기 검출한 제1 사용자 입력을 기반으로, 상기 복수의 어플리케이션 중 백 그라운드로 실행 중인 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하고,
상기 적어도 하나의 센서를 통해 제2 사용자 입력을 검출하고,
상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 사용자 인터페이스를 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하고,
상기 적어도 하나의 센서를 통해 제3 사용자 입력을 검출하면, 상기 제3 사용자 입력을 기반으로, 상기 제3 어플리케이션에 대한 제어를 수행하도록 하는 인스트럭션들을 저장하는 전자 장치.
In an electronic device,
display;
at least one sensor;
processor;
a memory operatively coupled to the display, the sensor, and the processor;
The memory, when executed, causes the processor to:
displaying an execution screen of a first application among the plurality of applications on the display in a state in which a plurality of applications installed in the electronic device are executed;
detecting a first user input that is not in contact with the electronic device through the sensor;
based on the detected first user input, displaying a first user interface related to control of a second application running in the background among the plurality of applications on a designated area of the display;
detecting a second user input through the at least one sensor,
changing the first user interface to a second user interface related to control of a third application running in the background among the plurality of applications based on the detected second user input;
When a third user input is detected through the at least one sensor, the electronic device stores instructions for controlling the third application based on the third user input.
제1항에 있어서,
상기 제1 사용자 인터페이스는, 상기 제2 어플리케이션의 기능과 관련된 제1 제어 정보를 나타내는 객체를 포함하고,
상기 제2 사용자 인터페이스는, 상기 제3 어플리케이션의 기능과 관련된 제2 제어 정보를 나타내는 객체를 포함하는 전자 장치.
According to claim 1,
The first user interface includes an object representing first control information related to a function of the second application,
The second user interface includes an object representing second control information related to a function of the third application.
제2항에 있어서,
상기 제1 제어 정보는, 제4 사용자 입력을 가이드(guide)하는 객체를 포함하고,
상기 제2 제어 정보는, 상기 제3 사용자 입력을 가이드 하는 객체를 포함하는 전자 장치.
3. The method of claim 2,
The first control information includes an object for guiding a fourth user input,
The second control information includes an object for guiding the third user input.
제1항에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 복수 개의 어플리케이션의 실행 화면 각각을 상기 디스플레이의 화면에 분할하여 표시하고, 상기 제1 어플리케이션의 실행 화면을 포커싱(focusing)하는 전자 장치.
According to claim 1,
The instructions, the processor,
The electronic device divides and displays each of the execution screens of the plurality of applications on the screen of the display, and focuses the execution screen of the first application.
제4항에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 제1 사용자 입력을 검출하면, 상기 제1 사용자 인터페이스를 상기 제2 어플리케이션의 실행 화면 상에 표시하는 전자 장치.
5. The method of claim 4,
The instructions, the processor,
When detecting the first user input, the electronic device displays the first user interface on an execution screen of the second application.
제5항에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 제2 사용자 입력을 검출하면, 상기 제2 사용자 인터페이스를 제3 어플리케이션의 실행 화면 상에 표시하는 전자 장치.
6. The method of claim 5,
The instructions, the processor,
When detecting the second user input, the electronic device displays the second user interface on an execution screen of a third application.
제1항에 있어서,
상기 센서는,
터치 센서, 이미지 센서 및 모션 센서 중 적어도 하나를 포함하도록 하는 전자 장치.
According to claim 1,
The sensor is
An electronic device comprising at least one of a touch sensor, an image sensor, and a motion sensor.
전자 장치에 있어서,
디스플레이;
적어도 하나의 센서;
통신 모듈;
프로세서;
상기 디스플레이, 상기 센서, 상기 통신 모듈 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가,
상기 전자 장치에 설치된 제1 어플리케이션의 실행 화면과 관련된 데이터를 상기 통신 모듈을 통해 상기 외부 전자 장치에 전송하고,
상기 전자 장치에 설치된 제2 어플리케이션의 실행 화면을 상기 디스플레이에 표시하고,
상기 적어도 하나의 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하고,
상기 검출한 제1 사용자 입력을 기반으로, 상기 제1 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하고,
상기 적어도 하나의 센서를 통해 제2 사용자 입력을 검출하고,
상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 어플리케이션에 대한 제어 신호를 상기 통신 모듈을 통해 상기 외부 전자 장치에 전송하도록 하는 인스트럭션들을 저장하는 전자 장치.
In an electronic device,
display;
at least one sensor;
communication module;
processor;
a memory operatively coupled to the display, the sensor, the communication module, and the processor;
The memory, when executed, causes the processor to:
transmitting data related to an execution screen of a first application installed in the electronic device to the external electronic device through the communication module;
displaying an execution screen of a second application installed in the electronic device on the display;
detecting a first user input that is not in contact with the electronic device through the at least one sensor,
based on the detected first user input, displaying a first user interface related to control of the first application in a designated area of the display;
detecting a second user input through the at least one sensor,
An electronic device storing instructions for transmitting a control signal for the first application to the external electronic device through the communication module based on the detected second user input.
제8항에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
제3 사용자 입력을 검출하고,
상기 검출한 제3 사용자 입력을 기반으로, 상기 전자 장치에 설치된 적어도 하나의 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하고,
상기 제2 사용자 인터페이스로 변경하는 것에 응답하여, 상기 제3 어플리케이션의 실행 화면과 관련된 데이터를 상기 외부 전자 장치에 전송하는 전자 장치.
9. The method of claim 8,
The instructions, the processor,
detecting a third user input;
changing to a second user interface related to control of at least one third application installed in the electronic device based on the detected third user input;
In response to changing to the second user interface, the electronic device transmits data related to the execution screen of the third application to the external electronic device.
제9항에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 제1 어플리케이션, 상기 제2 어플리케이션 및 상기 제3 어플리케이션의 실행 화면 각각을 상기 디스플레이의 화면에 분할하여 표시하고, 상기 제2 어플리케이션의 실행 화면을 포커싱(focusing)하는 전자 장치.
10. The method of claim 9,
The instructions, the processor,
The electronic device divides and displays the execution screens of the first application, the second application, and the third application on the screen of the display, and focuses the execution screen of the second application.
제10항에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 검출한 제1 사용자 입력을 기반으로, 상기 제1 사용자 인터페이스를 상기 제1 어플리케이션의 실행 화면 상에 표시하는 전자 장치.
11. The method of claim 10,
The instructions, the processor,
An electronic device that displays the first user interface on an execution screen of the first application based on the detected first user input.
제11항에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 검출한 제3 사용자 입력을 기반으로, 상기 제2 사용자 인터페이스를 상기 적어도 하나의 제3 어플리케이션의 실행 화면 상에 표시하는 전자 장치.
12. The method of claim 11,
The instructions, the processor,
The electronic device displays the second user interface on an execution screen of the at least one third application based on the detected third user input.
제9항에 있어서,
상기 제1 사용자 인터페이스는, 상기 제2 어플리케이션의 기능과 관련된 제1 제어 정보를 나타내는 객체를 포함하고,
상기 제2 사용자 인터페이스는, 상기 제3 어플리케이션의 기능과 관련된 제2 제어 정보를 나타내는 객체를 포함하는 전자 장치.
10. The method of claim 9,
The first user interface includes an object representing first control information related to a function of the second application,
The second user interface includes an object representing second control information related to a function of the third application.
제13항에 있어서,
상기 제1 제어 정보는, 제4 사용자 입력을 가이드(guide)하는 객체를 포함하고,
상기 제2 제어 정보는, 상기 제3 사용자 입력을 가이드 하는 객체를 포함하는 전자 장치.
14. The method of claim 13,
The first control information includes an object for guiding a fourth user input,
The second control information includes an object for guiding the third user input.
제8항에 있어서,
상기 센서는,
터치 센서, 이미지 센서 및 모션 센서 중 적어도 하나를 포함하도록 하는 전자 장치.
9. The method of claim 8,
The sensor is
An electronic device comprising at least one of a touch sensor, an image sensor, and a motion sensor.
전자 장치의 동작 방법에 있어서,
상기 전자 장치에 설치된 복수 개의 어플리케이션이 실행된 상태에서, 상기 복수의 개의 어플리케이션 중 제1 어플리케이션의 실행 화면을 상기 전자 장치의 디스플레이에 표시하는 동작;
상기 전자 장치의 센서를 통해 상기 전자 장치에 접촉되지 않은 제1 사용자 입력을 검출하는 동작;
상기 검출한 제1 사용자 입력을 기반으로, 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제2 어플리케이션의 제어와 관련된 제1 사용자 인터페이스를 상기 디스플레이의 지정된 영역에 표시하는 동작;
상기 센서를 통해 제2 사용자 입력을 검출하는 동작;
상기 검출한 제2 사용자 입력을 기반으로, 상기 제1 사용자 인터페이스를 상기 복수 개의 어플리케이션 중 백 그라운드로 실행 중인 제3 어플리케이션의 제어와 관련된 제2 사용자 인터페이스로 변경하는 동작; 및
상기 센서를 통해 제3 사용자 입력을 검출하면, 상기 제3 사용자 입력을 기반으로, 상기 제3 어플리케이션에 대한 제어를 수행하는 동작을 포함하는 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
displaying an execution screen of a first application among the plurality of applications on a display of the electronic device while a plurality of applications installed in the electronic device are running;
detecting a first user input that is not in contact with the electronic device through a sensor of the electronic device;
displaying a first user interface related to control of a second application running in a background among the plurality of applications on a designated area of the display based on the detected first user input;
detecting a second user input through the sensor;
changing the first user interface to a second user interface related to control of a third application running in a background among the plurality of applications based on the detected second user input; and
and performing control on the third application based on the third user input when detecting a third user input through the sensor.
제16항에 있어서,
상기 제1 어플리케이션의 실행 화면을 상기 전자 장치의 디스플레이에 표시하는 동작은,
상기 복수 개의 어플리케이션의 실행 화면 각각을 상기 디스플레이의 화면에 분할하여 표시하고, 상기 제1 어플리케이션의 실행 화면을 포커싱(focusing)하는 동작을 더 포함하는 전자 장치의 동작 방법.
17. The method of claim 16,
The operation of displaying the execution screen of the first application on the display of the electronic device includes:
The method of operating an electronic device further comprising: dividing and displaying each of the execution screens of the plurality of applications on the screen of the display, and focusing the execution screen of the first application.
제17항에 있어서,
상기 제1 사용자 입력을 검출하면, 상기 제1 사용자 인터페이스를 상기 제2 어플리케이션의 실행 화면 상에 표시하는 동작을 포함하는 전자 장치의 동작 방법.
18. The method of claim 17,
and displaying the first user interface on an execution screen of the second application when the first user input is detected.
제18항에 있어서,
상기 제2 사용자 입력을 검출하면, 상기 제2 사용자 인터페이스를 상기 제3 어플리케이션의 실행 화면 상에 표시하는 동작을 포함하는 전자 장치의 동작 방법.
19. The method of claim 18,
and displaying the second user interface on an execution screen of the third application when the second user input is detected.
제16항에 있어서,
상기 제1 사용자 인터페이스는, 상기 제2 어플리케이션의 기능과 관련된 제1 제어 정보를 나타내는 객체를 표시하는 동작을 포함하고,
상기 제2 사용자 인터페이스는, 상기 제3 어플리케이션의 기능과 관련된 제2 제어 정보를 나타내는 객체를 표시하는 동작을 포함하는 전자 장치의 동작 방법.
17. The method of claim 16,
The first user interface includes an operation of displaying an object representing first control information related to a function of the second application,
and displaying, in the second user interface, an object representing second control information related to a function of the third application.
KR1020200039382A 2020-03-31 2020-03-31 Methods for control a background application and an electronic device supporting the same KR20210121923A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200039382A KR20210121923A (en) 2020-03-31 2020-03-31 Methods for control a background application and an electronic device supporting the same
PCT/KR2021/003655 WO2021201490A1 (en) 2020-03-31 2021-03-24 Method for controlling background application and electronic device supporting same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200039382A KR20210121923A (en) 2020-03-31 2020-03-31 Methods for control a background application and an electronic device supporting the same

Publications (1)

Publication Number Publication Date
KR20210121923A true KR20210121923A (en) 2021-10-08

Family

ID=77929499

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200039382A KR20210121923A (en) 2020-03-31 2020-03-31 Methods for control a background application and an electronic device supporting the same

Country Status (2)

Country Link
KR (1) KR20210121923A (en)
WO (1) WO2021201490A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101019335B1 (en) * 2008-11-11 2011-03-07 주식회사 팬택 Method and system for controlling application of mobile terminal using gesture
US8886976B2 (en) * 2011-04-11 2014-11-11 Microsoft Corporation Management of background tasks
US20140282272A1 (en) * 2013-03-15 2014-09-18 Qualcomm Incorporated Interactive Inputs for a Background Task
EP2983080A1 (en) * 2014-08-07 2016-02-10 Nokia Technologies OY Audio source control
KR20160026141A (en) * 2014-08-29 2016-03-09 삼성전자주식회사 Controlling Method based on a communication status and Electronic device supporting the same

Also Published As

Publication number Publication date
WO2021201490A1 (en) 2021-10-07

Similar Documents

Publication Publication Date Title
US11366584B2 (en) Method for providing function or content associated with application, and electronic device for carrying out same
EP3674881B1 (en) Electronic device and screen sharing method using same
KR20200067567A (en) Electronic device for performing operation based on status information of the electronic device and a method for the same
KR102088215B1 (en) Elelctronic device for controlling a plurality of applications
KR102492560B1 (en) Electronic device and method for controlling input thereof
KR20210044025A (en) Electronic device and method processing pop-up window using multi-window thereof
US20200201515A1 (en) Method and electronic device for controlling augmented reality device
US11696013B2 (en) Electronic device and recording method thereof
KR20200085531A (en) An electronic device, a protecting case for the electronic device, and dispalying method thereof
KR102436435B1 (en) Electronic device for executing various functions based on a signal recevied from an electric pen
US20200053195A1 (en) Method for processing incoming call and electronic device for supporting the same
US11340780B2 (en) Electronic device and method for performing function of electronic device
US11334152B2 (en) Electronic device and content executing method using sight-line information thereof
KR102527824B1 (en) Electronic apparatus for controlling display of virtual input interface in environment of a plurality of output screens and operating method thereof
KR20210082910A (en) Electronic device including flexible display and method of operating the same
US20190227705A1 (en) Method for displaying user interface of application and electronic device thereof
KR20200117183A (en) Electronic device for displaying message and operating method thereof
KR20210121923A (en) Methods for control a background application and an electronic device supporting the same
KR102539578B1 (en) Method for mapping function of application and electronic device thereof
KR20210016875A (en) Method for operating based on touch input and electronic device thereof
KR20200125244A (en) An electronic apparatus comprising a display device which comprises a touch sensor
KR20210017138A (en) Foldable electronic device for displaying user interface and method thereof
EP3608911A1 (en) Method for processing dynamic image and electronic device thereof
KR20210121918A (en) Electronic apparatus and method for controlling thereof
KR20210101858A (en) Method for operating function based on gesture recognition and electronic device supporting the same