KR20230022772A - Electronic device for changing screen based on swipe input and method of opearating the same - Google Patents

Electronic device for changing screen based on swipe input and method of opearating the same Download PDF

Info

Publication number
KR20230022772A
KR20230022772A KR1020210130711A KR20210130711A KR20230022772A KR 20230022772 A KR20230022772 A KR 20230022772A KR 1020210130711 A KR1020210130711 A KR 1020210130711A KR 20210130711 A KR20210130711 A KR 20210130711A KR 20230022772 A KR20230022772 A KR 20230022772A
Authority
KR
South Korea
Prior art keywords
activity
electronic device
image
swipe input
execution
Prior art date
Application number
KR1020210130711A
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 삼성전자주식회사
Publication of KR20230022772A publication Critical patent/KR20230022772A/en

Links

Images

Classifications

    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides an electronic device which reduces the use of system resources caused by executing a plurality of activities and reduces power consumption. According to various embodiments of the present invention, the electronic device comprises a touch screen and a processor. The processor can be configured to display a first execution screen of a first activity on the touch screen, terminate the first activity after capturing a first image corresponding to the first execution screen when user input requesting execution of a second activity is verified while executing the first activity, display a second execution screen of the second activity on the touch screen after terminating the first activity, display the first image on the touch screen while starting re-execution of the first activity when swipe input for the touch screen is verified while executing the second activity, and display the first execution screen of the first activity on the touch screen while terminating the second activity based on completion of the swipe input.

Description

스와이프 입력에 기반하여 화면을 변경하는 전자 장치와 이의 동작 방법 {ELECTRONIC DEVICE FOR CHANGING SCREEN BASED ON SWIPE INPUT AND METHOD OF OPEARATING THE SAME}An electronic device that changes a screen based on a swipe input and an operating method thereof

다양한 실시 예들은, 스와이프 입력에 기반하여 화면을 변경하는 전자 장치와 이의 동작 방법에 관한 것이다.Various embodiments relate to an electronic device that changes a screen based on a swipe input and an operating method thereof.

최근에는 전자 장치가 사용자의 편의를 위해 다양한 형태로 발전하고 있으며, 다양한 서비스 또는 기능을 제공되고 있다. Recently, electronic devices have been developed in various forms for the convenience of users, and various services or functions are provided.

웨어러블 전자 장치는, 사용자의 신체에 착용된 상태로 다양한 서비스 및 부가 기능들을 제공할 수 있다. 예컨대, 스마트 워치는, 워치와 전자 장치가 결합된 웨어러블 전자 장치의 일종이다. 스마트 워치는 단순히 시계로서의 기능 뿐만 아니라, 다양한 기능들을 수행할 수 있는 장치들을 탑재하여 여러가지 기능들을 수행할 수 있다.A wearable electronic device may provide various services and additional functions while being worn on a user's body. For example, a smart watch is a type of wearable electronic device in which a watch and an electronic device are combined. A smart watch not only functions as a simple watch, but also can perform various functions by being equipped with devices capable of performing various functions.

웨어러블 전자 장치는, 스마트 폰에 탑재된 운영체제(operating system(OS))와 다른 웨어러블 전자 장치에 맞게 설정된 운영체제를 포함할 수 있다. 웨어러블 전자 장치는, 웨어러블 전자 장치에 맞게 설정된 운영체제를 이용하여, 다양한 기능들을 수행할 수 있다.The wearable electronic device may include an operating system (OS) installed in a smart phone and an operating system set to suit other wearable electronic devices. A wearable electronic device may perform various functions using an operating system set appropriately for the wearable electronic device.

웨어러블 전자 장치에 탑재된 운영제체는, 사용자에 의해 입력된 스와이프 입력에 기반하여, 스와이프 투 디스미스(swipe to dismiss) 동작을 수행할 수 있다. 웨어러블 전자 장치는, 스와이프 투 디스미스 동작을 통해, 복수의 액티비티들의 실행 화면들을 신속하게 변경할 수 있다. An operating system installed in the wearable electronic device may perform a swipe to dismiss operation based on a swipe input input by a user. A wearable electronic device may quickly change execution screens of a plurality of activities through a swipe-to-dismiss operation.

종래의 일부 웨어러블 OS는 액티비티 스냅샷(activity snapshot) 기능을 제공하지 않을 수 있다. 즉, 일부 웨어러블 OS을 탑재한 웨어러블 전자 장치는 스와이프 투 디스미스 동작을 수행하기 위해, 화면 변경 시 기존에 실행되던 액티비티를 백그라운드에서 계속 실행할 수 있다. 이로 인해, 웨어러블 전자 장치는, 오버헤드가 증가하고, 리소스 부족과 전력의 빠른 전력 소비를 발생할 수 있다.Some conventional wearable OSs may not provide an activity snapshot function. That is, in order to perform a swipe-to-dismiss operation, a wearable electronic device equipped with some wearable OS may continue to run an activity previously executed in the background when a screen is changed. As a result, overhead of the wearable electronic device may increase, and resources may be insufficient and power may be rapidly consumed.

다양한 실시 예들은, 이전에 실행되던 액티비티를 종료하면서 액티비티의 실행 화면을 캡쳐하고, 스와이프 투 디스미스 동작을 위한 스와이프 입력이 확인되면 캡쳐된 실행 화면의 이미지를 이용하여 화면을 변경할 수 있는 전자 장치와 이의 동작 방법을 제공할 수 있다.In various embodiments, an electronic device capable of capturing an execution screen of an activity while ending a previously executed activity and changing the screen using an image of the captured execution screen when a swipe input for a swipe-to-dismiss operation is confirmed. The device and its operating method can be provided.

다양한 실시 예에 따라, 전자 장치는 터치 스크린 및 프로세서를 포함하고, 상기 프로세서는, 상기 터치 스크린에, 제1액티비티의 제1실행 화면을 표시하고, 상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐한 후 제1액티비티를 종료시키고, 제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하고, 상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 대한 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하고, 상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하도록 설정될 수 있다.According to various embodiments, an electronic device includes a touch screen and a processor, and the processor displays a first execution screen of a first activity on the touch screen, and displays a second activity while the first activity is being executed. If a user input requesting the execution of is confirmed, the first image corresponding to the first execution screen is captured, the first activity is terminated, and after the first activity is terminated, the second activity is displayed on the touch screen. displaying a second execution screen, and displaying the first image on the touch screen while re-executing the first activity when a swipe input to the touch screen is confirmed while the second activity is running; Based on the completion of the swipe input, the first execution screen of the first activity may be displayed on the touch screen while ending the second activity.

다양한 실시 예에 따라, 전자 장치의 동작 방법은, 상기 전자 장치에 포함된 터치 스크린에, 제1액티비티의 제1실행 화면을 표시하는 동작, 상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐한 후 제1액티비티를 종료시키는 동작, 제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하는 동작, 상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 대한 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하는 동작, 및 상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하는 동작을 포함할 수 있다.According to various embodiments, an operating method of an electronic device may include displaying a first execution screen of a first activity on a touch screen included in the electronic device, and executing a second activity while the first activity is running. If the user input requesting is confirmed, the operation of capturing the first image corresponding to the first execution screen and then terminating the first activity; 2Operation of displaying an execution screen, operation of displaying the first image on the touchscreen while restarting the execution of the first activity when a swipe input to the touch screen is confirmed while the second activity is running and displaying the first execution screen of the first activity on the touch screen while ending the second activity based on completion of the swipe input.

다양한 실시 예에 따라, 비일시적 기록 매체는, 전자 장치에 포함된 터치 스크린에, 제1액티비티의 제1실행 화면을 표시하는 동작, 상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐한 후 제1액티비티를 종료시키는 동작, 제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하는 동작, 상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 대한 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하는 동작, 및 상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하는 동작을 수행하는 프로그램을 저장할 수 있다.According to various embodiments of the present disclosure, a non-transitory recording medium may display a first execution screen of a first activity on a touch screen included in an electronic device, and request execution of a second activity while the first activity is running. If the user input to do is confirmed, the operation of capturing the first image corresponding to the first execution screen and then ending the first activity, and the second execution of the second activity on the touch screen after ending the first activity. displaying a screen, displaying the first image on the touch screen while restarting the first activity when a swipe input to the touch screen is confirmed while the second activity is running; and A program for performing an operation of displaying the first execution screen of the first activity on the touch screen while ending the second activity based on the completion of the swipe input may be stored.

다양한 실시 예에 따른, 전자 장치는, 터치 스크린에 표시되는 화면 변경 시 이전에 실행되던 액티비티를 백그라운드에서 실행하지 않을 수 있다. 이를 통해, 전자 장치는, 복수의 액티비티들의 실행으로 인한 시스템 리소스의 사용을 감소시키고, 전력 소모량을 감소시킬 수 있다.According to various embodiments of the present disclosure, when a screen displayed on the touch screen is changed, the previously executed activity may not be executed in the background. Through this, the electronic device can reduce the use of system resources due to the execution of a plurality of activities and reduce power consumption.

도 1은, 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a는, 다양한 실시 예들에 따른 전자 장치가 화면을 변경하는 동작에 대한 도면이다.
도 2b는, 다양한 실시 예들에 따른 전자 장치에 대한 개략적인 블록도이다.
도 3는, 다양한 실시 예들에 따른 전자 장치가 화면을 변경하는 동작을 설명하기 위한 플로우 차트이다.
도 4는, 다양한 실시 예들에 따른 전자 장치가 스와이프 입력에 기반하여 화면을 변경하는 동작을 설명하기 위한 플로우 차트이다.
도 5a는, 다양한 실시 예들에 따른 전자 장치가 제1실행 화면을 제2실행 화면으로 변경하는 동작을 설명하기 위한 도면이다.
도 5b와 도 5b는, 다양한 실시 예들에 따른 전자 장치가 스와이프 입력에 기반하여 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면이다.
도 6은, 다양한 실시 예들에 따른 전자 장치가 스와이프 입력에 기반하여 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 플로우 차트이다.
도 7a와 도 7b는, 다양한 실시 예들에 따른 전자 장치가 스와이프 입력에 기반하여 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.
도 8a는, 다양한 실시 예들에 따른 전자 장치가 제1실행 화면을 제2실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.
도 8b는, 다양한 실시 예들에 따른 전자 장치가 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.
도 9는, 다양한 실시 예들에 따른 전자 장치가 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.
도 10은, 다양한 실시 예들에 따른 전자 장치가 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2A is a diagram illustrating an operation of changing a screen of an electronic device according to various embodiments.
2B is a schematic block diagram of an electronic device according to various embodiments.
3 is a flowchart for explaining an operation of changing a screen by an electronic device according to various embodiments.
4 is a flowchart for explaining an operation of changing a screen based on a swipe input by an electronic device according to various embodiments of the present disclosure.
5A is a diagram for explaining an operation of changing a first execution screen to a second execution screen by an electronic device according to various embodiments of the present disclosure.
5B and 5B are views for explaining an operation of changing a second execution screen to a first execution screen based on a swipe input by an electronic device according to various embodiments of the present disclosure.
6 is a flowchart for explaining an operation of changing a second execution screen to a first execution screen based on a swipe input by an electronic device according to various embodiments of the present disclosure.
7A and 7B are diagrams for explaining an operation of changing a second execution screen to a first execution screen based on a swipe input by an electronic device according to various embodiments of the present disclosure.
8A is diagrams for explaining an operation of changing a first execution screen to a second execution screen by an electronic device according to various embodiments of the present disclosure.
8B is diagrams for explaining an operation of changing a second execution screen to a first execution screen by an electronic device according to various embodiments of the present disclosure.
9 is diagrams for explaining an operation of changing a second execution screen to a first execution screen by an electronic device according to various embodiments of the present disclosure.
10 is diagrams for explaining an operation of changing a second execution screen to a first execution screen by an electronic device according to various embodiments of the present disclosure.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.

무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 1eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 may be used to realize Peak data rate (eg, 20 Gbps or more) for realizing 1eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency (for realizing URLLC). Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

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

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

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

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

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

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

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

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

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

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

도 2a는, 다양한 실시 예들에 따른 전자 장치가 화면을 변경하는 동작에 대한 도면이다.2A is a diagram illustrating an operation of changing a screen of an electronic device according to various embodiments.

도 2a를 참조하면, 다양한 실시 예에 따라, 전자 장치(201)(예컨대, 도 1의 전자 장치(101))는, 현재 실행 중인 액티비티의 실행 화면을 전자 장치(201)에 포함된 터치 스크린(예컨대, 도 1의 디스플레이 모듈(160))에 표시할 수 있다. 예컨대, 액티비티는 특정 기능들을 수행하기 위한 작업의 단위를 의미할 수 있다. 예컨대, 액티비티는 어느 하나의 어플리케이션에 의해 제공될 수 있는 복수의 기능들 중 특정 기능을 수행하기 위한 특정 작업을 의미할 수 있다. 예컨대, 제1액티비티는 특정 어플리케이션의 제1기능을 수행하기 위한 작업을 의미하고, 제2액티비티는 상기 특정 어플리케이션의 제2기능을 수행하기 위한 작업을 의미할 수 있다. 또는, 액티비티는 특정 어플리케이션의 작업을 의미할 수도 있다. 예컨대, 제1액티비티는 제1어플리케이션의 작업을 의미하고, 제2액티비티는 제2어플리케이션의 작업을 의미할 수 있다.Referring to FIG. 2A , according to various embodiments, an electronic device 201 (eg, the electronic device 101 of FIG. 1 ) displays an execution screen of an activity currently being executed on a touch screen included in the electronic device 201 ( For example, it can be displayed on the display module 160 of FIG. 1 . For example, an activity may mean a unit of work for performing specific functions. For example, an activity may refer to a specific task for performing a specific function among a plurality of functions that may be provided by any one application. For example, a first activity may mean a task for performing a first function of a specific application, and a second activity may mean a task for performing a second function of the specific application. Alternatively, activity may refer to a task of a specific application. For example, the first activity may mean the work of the first application, and the second activity may mean the work of the second application.

다양한 실시 예에 따라, 전자 장치(201)는, 사용자 입력에 기반하여, 상기 터치 스크린에 표시된 화면을 변경할 수 있다. 예컨대, 전자 장치(201)는, 사용자 입력에 기반하여, 제1액티비티의 실행 화면을 제2액티비티의 실행 화면으로 변경할 수 있다. 또한, 전자 장치(201)는, 사용자 입력에 기반하여, 제2액티비티의 실행 화면을 제1액티비티의 실행 화면으로 변경할 수도 있다. 예컨대, 사용자 입력은, 터치 스크린에 대한 탭 입력, 스와이프 입력, 터치 앤 드래그 입력, 홀드 입력을 포함할 수 있다. 또는, 사용자 입력은, 전자 장치(201)에 포함된 입력 장치를 통한 사용자 입력을 포함할 수 있다.According to various embodiments, the electronic device 201 may change the screen displayed on the touch screen based on a user input. For example, the electronic device 201 may change the execution screen of the first activity to the execution screen of the second activity based on a user input. Also, the electronic device 201 may change the execution screen of the second activity to the execution screen of the first activity based on the user input. For example, the user input may include a tap input on a touch screen, a swipe input, a touch and drag input, and a hold input. Alternatively, the user input may include user input through an input device included in the electronic device 201 .

다양한 실시 예에 따라, 전자 장치(201)는, 터치 스크린에 표시된 화면을 변경할 경우, 기존에 표시되던 실행 화면에 대응하는 액티비티를 정지 또는 종료시킬 수 있다. 즉, 전자 장치(201)는, 화면 변경 시 이전에 실행되던 액티비티를 백그라운드에서 실행하지 않을 수 있다. 이를 통해, 전자 장치(201)는, 복수의 액티비티들의 실행으로 인한 시스템 리소스(예컨대, 프로세서(예컨대, CPU) 리소스 및/또는 메모리(예컨대, RAM)의 리소스)의 사용을 감소시킬 수 있다.According to various embodiments, when changing a screen displayed on the touch screen, the electronic device 201 may stop or terminate an activity corresponding to an execution screen previously displayed. That is, the electronic device 201 may not execute a previously executed activity in the background when the screen is changed. Through this, the electronic device 201 may reduce the use of system resources (eg, processor (eg, CPU) resources and/or memory (eg, RAM) resources) due to execution of a plurality of activities.

도 2b는, 다양한 실시 예들에 따른 전자 장치에 대한 개략적인 블록도이다.2B is a schematic block diagram of an electronic device according to various embodiments.

도 2b를 참조하면, 다양한 실시 예에 따라, 전자 장치(201)는, 프로세서(220), 메모리(230), 및 터치 스크린(260)을 포함할 수 있다.Referring to FIG. 2B , according to various embodiments, an electronic device 201 may include a processor 220, a memory 230, and a touch screen 260.

다양한 실시 예에 따라, 전자 장치(201)는, 도 1의 전자 장치(101)와 동일 내지 유사하게 구현될 수 있다. 예컨대, 전자 장치(201)는, 웨어러블 전자 장치(예컨대, 스마트 워치)로 구현될 수 있다. 또는, 전자 장치(201)는, 홈 디바이스(예컨대, 냉장고, 자동차, 또는 TV)나 스마트폰으로 구현될 수도 있다. According to various embodiments, the electronic device 201 may be implemented the same as or similar to the electronic device 101 of FIG. 1 . For example, the electronic device 201 may be implemented as a wearable electronic device (eg, a smart watch). Alternatively, the electronic device 201 may be implemented as a home device (eg, a refrigerator, a car, or a TV) or a smart phone.

다양한 실시 예에 따라, 프로세서(220)는, 전자 장치(201)의 전반적인 동작을 제어할 수 있다. 예컨대, 프로세서(220)는, 도 1의 프로세서(120)와 동일 내지 유사하게 구현될 수 있다. According to various embodiments, the processor 220 may control overall operations of the electronic device 201 . For example, the processor 220 may be implemented the same as or similar to the processor 120 of FIG. 1 .

다양한 실시 예에 따라, 메모리(230)는, 운영체제(예컨대, 일부 웨어러블 OS)를 저장할 수 있다. 예컨대, 프로세서(220)는, 메모리(230)에 저장된 운영체제를 이용하여 전자 장치(201)를 구동시킬 수 있다. 메모리(230)는, 복수의 어플리케이션들을 저장할 수 있다. 프로세서(220)는, 복수의 어플리케이션 중 적어도 하나의 어플리케이션을 실행할 수 있다. 프로세서(220)는, 적어도 하나의 어플리케이션을 실행함에 따라, 적어도 하나의 액티비티를 실행할 수 있다.According to various embodiments, the memory 230 may store an operating system (eg, some wearable OSs). For example, the processor 220 may drive the electronic device 201 using an operating system stored in the memory 230 . The memory 230 may store a plurality of applications. The processor 220 may execute at least one application among a plurality of applications. The processor 220 may execute at least one activity as at least one application is executed.

다양한 실시 예에 따라, 프로세서(220)는, 터치 스크린(260)(예컨대, 도 1의 디스플레이 모듈(160)), 제1액티비티의 제1실행 화면을 표시할 수 있다. 프로세서(220)는, 제1액티비티가 실행 중인 상태에서, 제2액티비티의 실행을 요청하는 사용자 입력(예컨대, 탭 입력)이 확인되면, 제1실행 화면에 대응하는 제1이미지를 캡쳐하고 제1액티비티를 종료시킬 수 있다. 예컨대, 제1이미지는, 제1실행 화면을 캡쳐한 이미지(예컨대, 액티비티 스냅샷)일 수 있다. 예컨대, 제1이미지는, 캡쳐된 시점의 제1실행 화면과 동일할 수 있다. 프로세서(220)는, 캡쳐한 제1이미지를 메모리(230)에 저장할 수 있다. 프로세서(220)는, 제1액티비티를 종료시킨 후, 터치 스크린(260)에 제2액티비티의 제2실행 화면을 표시할 수 있다. 예컨대, 제1액티비티와 제2액티비티는 서로 다른 어플리케이션의 작업을 의미할 수 있다. 또는, 제1액티비티와 제2액티비티는 동일한 어플리케이션에서 서로 다른 작업(예컨대, 서로 다른 기능을 수행하기 위한 작업)을 의미할 수도 있다.According to various embodiments, the processor 220 may display the first execution screen of the first activity on the touch screen 260 (eg, the display module 160 of FIG. 1 ). The processor 220 captures a first image corresponding to the first execution screen when a user input requesting execution of the second activity (eg, a tap input) is confirmed while the first activity is being executed. activity can be terminated. For example, the first image may be an image (eg, an activity snapshot) obtained by capturing a first execution screen. For example, the first image may be the same as the first execution screen at the time of being captured. The processor 220 may store the captured first image in the memory 230 . After ending the first activity, the processor 220 may display a second execution screen of the second activity on the touch screen 260 . For example, the first activity and the second activity may mean tasks of different applications. Alternatively, the first activity and the second activity may mean different tasks (eg, tasks for performing different functions) in the same application.

다양한 실시 예에 따라, 프로세서(220)는, 제2액티비티가 실행 중인 상태에서 터치 스크린(260)에 의해 스와이프 입력을 확인할 수 있다. 예컨대, 스와이프 입력은, 일부 웨어러블 OS에서 스와이프 투 디스미스(swipe to dismiss)를 위한 입력일 수 있다. 프로세서(220)는, 스와이프 입력이 확인되면, 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시할 수 있다. According to various embodiments, the processor 220 may check the swipe input by the touch screen 260 while the second activity is being executed. For example, the swipe input may be an input for swipe to dismiss in some wearable OSs. When the swipe input is confirmed, the processor 220 may display the first image on the touch screen while re-executing the first activity.

다양한 실시 예에 따라, 프로세서(220)는, 스와이프 입력이 완료되는지 여부를 확인할 수 있다. 예컨대, 스와이프 입력의 완료는, 터치 스크린(260)의 일 지점부터 지정된 지점까지 스와이프 입력이 이동된 것을 의미할 수 있다. According to various embodiments, the processor 220 may check whether the swipe input is completed. For example, completion of the swipe input may mean that the swipe input has moved from one point on the touch screen 260 to a designated point.

다양한 실시 예에 따라, 프로세서(220)는, 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 제1이미지와 제2실행 화면을 이용하여 애니메이션 효과를 제공할 수 있다. 예컨대, 프로세서(220)는, 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 스와이프 입력(또는 스와이프 입력의 이동)에 기반하여 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시할 수 있다. 예컨대, 프로세서(220)는, 제1이미지와 제2실행 화면의 일부가 중첩되게 표시할 수 있다. 프로세서(220)는, 스와이프 입력에 기반하여 터치 스크린(260)에 표시되는 제1이미지 또는 제2실행 화면 중 적어도 하나의 투명도를 조정할 수 있다. 또한, 프로세서(220)는, 스와이프 입력의 이동에 기반하여 터치 스크린(260)에 표시되는 제1이미지의 크기를 조정할 수 있다. 예컨대, 프로세서(220)는, 스와이프 입력이 이동된 위치에 기반하여 제1이미지의 크기를 증가시키거나 감소시킬 수 있다. According to various embodiments, the processor 220 may provide an animation effect by using the first image and the second execution screen after the start of the swipe input and before completion of the swipe input is confirmed. For example, after the start of the swipe input and before completion of the swipe input is confirmed, the processor 220 may perform at least a part of the first image and the second image based on the swipe input (or movement of the swipe input). At least a part of the execution screen may be displayed together. For example, the processor 220 may display the first image and a part of the second execution screen to overlap each other. The processor 220 may adjust the transparency of at least one of the first image and the second execution screen displayed on the touch screen 260 based on the swipe input. Also, the processor 220 may adjust the size of the first image displayed on the touch screen 260 based on the movement of the swipe input. For example, the processor 220 may increase or decrease the size of the first image based on the location where the swipe input is moved.

다양한 실시 예에 따라, 프로세서(220)는, 스와이프 입력이 취소(예컨대, 완료되기 전에 취소)된 것으로 확인되면, 제1액티비티의 실행을 중단할 수 있다. 예컨대, 스와이프 입력의 취소는 터치 스크린(260)의 일 지점부터 지정된 지점까지 스와이프 입력이 이동되기 전에 터치가 해제된 것을 의미할 수 있다. According to various embodiments, the processor 220 may stop execution of the first activity when it is determined that the swipe input is canceled (eg, canceled before being completed). For example, cancellation of the swipe input may mean that the touch is released before the swipe input is moved from one point on the touch screen 260 to a designated point.

다양한 실시 예에 따라, 프로세서(220)는, 스와이프 입력의 완료에 기반하여, 제2액티비티를 종료하고, 터치 스크린(260)에 제1액티비티의 제1실행 화면을 표시할 수 있다. 예컨대, 프로세서(220)는, 제2액티비티를 종료하면서 기존에 표시되던 제1이미지와 제2실행 화면 대신에 제1액티비티의 제1실행 화면을 터치 스크린(260)에 표시할 수 있다. 즉, 프로세서(220)는, 제1실행 화면을 캡쳐된 제1이미지으로 대체하므로써, 화면 변경 시 이전에 실행되던 제1액티비티를 백그라운드에서 실행하지 않을 수 있다.According to various embodiments, the processor 220 may terminate the second activity and display the first execution screen of the first activity on the touch screen 260 based on the completion of the swipe input. For example, the processor 220 may display a first execution screen of the first activity on the touch screen 260 instead of the previously displayed first image and second execution screen while ending the second activity. That is, the processor 220 may not execute the previously executed first activity in the background when the screen is changed by replacing the first execution screen with the captured first image.

이하에서 설명하는 전자 장치(201)의 동작은 프로세서(220)에 의해 제어될 수 있다. 다만, 설명의 편의를 위해, 전자 장치(201)가 아래의 동작들을 수행하는 것으로 설명될 것이다.The operation of the electronic device 201 described below may be controlled by the processor 220 . However, for convenience of description, it will be described that the electronic device 201 performs the following operations.

도 3는, 다양한 실시 예들에 따른 전자 장치가 화면을 변경하는 동작을 설명하기 위한 플로우 차트이다.3 is a flowchart for explaining an operation of changing a screen by an electronic device according to various embodiments.

도 3을 참조하면, 다양한 실시 예에 따라, 동작 301에서, 전자 장치(201)는, 제1액티비티를 실행하고, 터치 스크린(260)에 제1액비티비의 제1실행 화면을 표시할 수 있다.Referring to FIG. 3 , according to various embodiments, in operation 301, the electronic device 201 may execute a first activity and display a first execution screen of the first activity TV on the touch screen 260. .

다양한 실시 예에 따라, 동작 303에서, 전자 장치(201)는, 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 제1실행 화면에 대응하는 제1이미지를 캡쳐하고, 제1액티비티를 종료시킬 수 있다. 예컨대, 전자 장치(201)는, 제1이미지를 캡쳐하기 전, 제2액티비티의 속성을 확인할 수 있다. 예컨대, 제2액티비티의 제2실행 화면에 투명한 속성이 없는 경우, 제1실행 화면을 제1이미지로 캡쳐할 수 있다. 동작 305에서, 전자 장치(201)는 제1액티비티를 종료한 후, 터치 스크린(260)에 제2액티비티의 제2실행 화면을 표시할 수 있다. 예컨대, 사용자 입력은, 터치 스크린(260)에 대한 탭 입력 또는 홀드 입력일 수 있다.According to various embodiments of the present disclosure, in operation 303, when a user input requesting execution of the second activity is confirmed while the first activity is being executed, the electronic device 201 displays a first image corresponding to the first execution screen. Capture and terminate the first activity. For example, the electronic device 201 may check the property of the second activity before capturing the first image. For example, when the second execution screen of the second activity does not have a transparent property, the first execution screen may be captured as the first image. In operation 305, the electronic device 201 may display a second execution screen of the second activity on the touch screen 260 after ending the first activity. For example, the user input may be a tap input or a hold input to the touch screen 260 .

다양한 실시 예에 따라, 동작 307에서, 전자 장치(201)는 제2액티비티가 실행 중인 상태에서 스와이프 입력이 확인되면, 제1액티비티의 재실행을 시작하면서 제1이미지를 표시할 수 있다. 예컨대, 전자 장치(201)는, 스와이프 입력의 이동에 기반하여, 제1이미지의 적어도 일부와 제2실행 화면의 적어도 일부를 표시할 수 있다.According to various embodiments, in operation 307, when the swipe input is confirmed while the second activity is running, the electronic device 201 may display the first image while re-executing the first activity. For example, the electronic device 201 may display at least part of the first image and at least part of the second execution screen based on the movement of the swipe input.

다양한 실시 예에 따라, 동작 309에서, 전자 장치(201)는 스와이프 입력의 완료에 기반하여, 제2액티비티를 종료하면서 제1액티비티의 제1실행 화면을 표시할 수 있다. 전자 장치(201)는, 제1실행 화면이 표시된 후, 캡쳐된 제1이미지를 제거 또는 삭제할 수 있다.According to various embodiments, in operation 309, the electronic device 201 may display a first execution screen of the first activity while ending the second activity based on the completion of the swipe input. The electronic device 201 may remove or delete the captured first image after the first execution screen is displayed.

도 4는, 다양한 실시 예들에 따른 전자 장치가 스와이프 입력에 기반하여 화면을 변경하는 동작을 설명하기 위한 플로우 차트이다.4 is a flowchart for explaining an operation of changing a screen based on a swipe input by an electronic device according to various embodiments of the present disclosure.

다양한 실시 예에 따라, 동작 401에서, 전자 장치(201)는, 제2액티비티의 제2실행 화면이 표시된 상태에서 터치 스크린(260)에 대한 스와이프 입력을 확인할 수 있다. 전자 장치(201)는, 제2실행 화면을 표시하기 이전에, 상술한 동작 301에서 303에 기반하여 제1액티비티를 종료하면서 제1액티비티의 제1실행 화면에 대응하는 제1이미지를 획득 또는 캡쳐할 수 있다.According to various embodiments, in operation 401, the electronic device 201 may check a swipe input to the touch screen 260 while the second execution screen of the second activity is displayed. Before displaying the second execution screen, the electronic device 201 acquires or captures the first image corresponding to the first execution screen of the first activity while terminating the first activity based on operations 301 to 303 described above. can do.

다양한 실시 예에 따라, 동작 403에서, 전자 장치(201)는, 스와이프 입력의 확인에 기반하여, 제1액티비티를 시작하고, 제1액티비티의 제1실행 화면의 드로잉을 시작할 수 있다. According to various embodiments, in operation 403, the electronic device 201 may start a first activity and start drawing a first execution screen of the first activity based on confirmation of the swipe input.

다양한 실시 예에 따라, 동작 405에서, 전자 장치(201)는, 스와이프 입력의 이동에 기반하여, 제1액티비티의 제1이미지와 제2액티비티의 제2실행 화면을 이용하여 애니메이션 효과를 제공할 수 있다. 예컨대, 전자 장치(201)는, 스와이프 입력의 이동됨에 따라, 스와이프 입력의 이동 방향으로 제2실행 화면의 일부분이 사라지면서 제1이미지의 일부분이 표시되도록 애니메이션 동작을 수행할 수 있다. 또한, 전자 장치(201)는, 스와이프 입력의 이동이 진행됨에 따라, 제1이미지의 크기가 점진적으로 증가되는 애니메이션 동작을 수행할 수도 있다.According to various embodiments of the present disclosure, in operation 405, the electronic device 201 provides an animation effect by using the first image of the first activity and the second execution screen of the second activity based on the movement of the swipe input. can For example, as the swipe input moves, the electronic device 201 may perform an animation operation so that a part of the first image is displayed while a part of the second execution screen disappears in the direction of movement of the swipe input. Also, the electronic device 201 may perform an animation operation in which the size of the first image is gradually increased as the movement of the swipe input progresses.

다양한 실시 예에 따라, 동작 407에서, 전자 장치(201)는, 스와이프 입력이 완료되었는지 여부를 확인할 수 있다.According to various embodiments, in operation 407, the electronic device 201 may check whether the swipe input is completed.

다양한 실시 예에 따라, 스와이프 입력이 완료된 경우(동작 407의 예), 동작 409에서, 전자 장치(201)는, 제2액티비티의 실행을 종료하고, 제1액티비티의 제1실행 화면을 표시할 수 있다. 예컨대, 전자 장치(201)는, 스와이프 입력의 이동이 완료됨에 따라, 제2실행 화면이 사라지면서 제1이미지 대신 제1실행 화면을 표시할 수 있다. 동작 411에서, 전자 장치(201)는, 제1실행 화면이 표시된 후, 제1이미지를 삭제할 수 있다.According to various embodiments, when the swipe input is completed (YES in operation 407), in operation 409, the electronic device 201 terminates execution of the second activity and displays a first execution screen of the first activity. can For example, as the movement of the swipe input is completed, the electronic device 201 may display the first execution screen instead of the first image while the second execution screen disappears. In operation 411, the electronic device 201 may delete the first image after the first execution screen is displayed.

다양한 실시 예에 따라, 스와이프 입력이 완료되지 경우(또는 스와이프 입력이 취소된 경우)(동작 407의 아니오), 동작 413에서, 전자 장치(201)는, 제1액티비티의 실행을 중단시킬 수 있다. 동작 415에서, 전자 장치(201)는, 터치 스크린(260)에, 제1이미지를 더이상 표시하지 않으면서 제2실행 화면을 표시할 수 있다.According to various embodiments, when the swipe input is not completed (or the swipe input is canceled) (NO in operation 407), in operation 413, the electronic device 201 may stop execution of the first activity. there is. In operation 415, the electronic device 201 may display a second execution screen on the touch screen 260 without displaying the first image any longer.

도 5a는, 다양한 실시 예들에 따른 전자 장치가 제1실행 화면을 제2실행 화면으로 변경하는 동작을 설명하기 위한 도면이다. 도 5b와 도 5b는, 다양한 실시 예들에 따른 전자 장치가 스와이프 입력에 기반하여 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면이다.5A is a diagram for explaining an operation of changing a first execution screen to a second execution screen by an electronic device according to various embodiments of the present disclosure. 5B and 5B are views for explaining an operation of changing a second execution screen to a first execution screen based on a swipe input by an electronic device according to various embodiments of the present disclosure.

도 5a, 도 5b, 및 도 5c를 참조하면, 제1액티비티 모듈(501), 제2액티비티 모듈(502), 및 시스템(505)은, 프로세서(220)에 의해 동작될 수 있다. 예컨대, 제1액티비티 모듈(501)은, 제1액티비티를 제어하는 모듈일 수 있고, 제2액티비티 모듈(502)은, 제2액티비티를 제어하는 모듈일 수 있다. 시스템(505)은, 제1액티비티 모듈(501)과 제2액티비티 모듈(502)의 전반적인 동작을 제어하는 모듈일 수 있다.Referring to FIGS. 5A , 5B , and 5C , the first activity module 501 , the second activity module 502 , and the system 505 may be operated by the processor 220 . For example, the first activity module 501 may be a module that controls the first activity, and the second activity module 502 may be a module that controls the second activity. The system 505 may be a module that controls overall operations of the first activity module 501 and the second activity module 502 .

도 5a를 참조하면, 다양한 실시 예에 따라, 동작 511에서, 제1액티비티 모듈(501)은, 제1액티비티의 제1실행 화면이 표시된 상태에서, 사용자 입력에 의해 제2액티비티의 실행을 요청하는 명령을 수신할 수 있다. Referring to FIG. 5A , according to various embodiments, in operation 511, a first activity module 501 requests execution of a second activity by a user input in a state in which a first execution screen of the first activity is displayed. commands can be received.

다양한 실시 예에 따라, 동작 513에서, 제1액티비티 모듈(501)은, 시스템(505)으로 제2액티비티의 시작(또는 실행 시작)을 요청할 수 있다. According to various embodiments, in operation 513, the first activity module 501 may request the system 505 to start (or start execution of) the second activity.

다양한 실시 예에 따라, 동작 515에서, 시스템(505)은, 제1액티비티의 제1실행 화면에 대응하는 제1이미지를 캡쳐 및 저장할 수 있다. According to various embodiments, in operation 515, the system 505 may capture and store a first image corresponding to a first execution screen of the first activity.

다양한 실시 예에 따라, 동작 517에서, 시스템(505)은, 제1이미지를 캡쳐한 후, 제2액티비티 모듈(502)로 실행 명령을 전송할 수 있다. According to various embodiments, in operation 517, the system 505 may transmit an execution command to the second activity module 502 after capturing the first image.

다양한 실시 예에 따라, 동작 519에서, 시스템(505)은, 제1액티비티 모듈(501)로 실행 정지 명령을 전송할 수 있다. 이때, 시스템(505)은, 제1액티비티 모듈(501)로 제1이미지(또는 제1실행 화면)의 표시를 유지하도록 명령할 수 있다. According to various embodiments, in operation 519 , the system 505 may transmit an execution stop command to the first activity module 501 . At this time, the system 505 may command the first activity module 501 to maintain the display of the first image (or first execution screen).

다양한 실시 예에 따라, 동작 521에서, 제2액티비티 모듈(502)은, 제2액티비티의 실행이 완료된 경우, 시스템(505)으로 실행 완료를 보고할 수 있다. 이때, 제2액티비티의 실행 완료는, 제2액티비티의 제2실행 화면의 드로잉 완료를 포함할 수 있다. According to various embodiments, in operation 521, the second activity module 502 may report execution completion to the system 505 when execution of the second activity is completed. In this case, completion of execution of the second activity may include completion of drawing the second execution screen of the second activity.

다양한 실시 예에 따라, 동작 523에서, 시스템(505)은, 제1이미지(또는 제1실행 화면) 대신 제2실행 화면을 표시할 수 있다. According to various embodiments, in operation 523, the system 505 may display a second execution screen instead of the first image (or first execution screen).

다양한 실시 예에 따라, 동작 525에서, 시스템(505)은, 제1액티비티 모듈(525)로 제1액티비티의 실행 종료 명령을 전송할 수 있다. 이를 통해, 시스템(505)는, 제2실행 화면이 표시되는 상태에서, 이전에 실행되던 제1액티비티를 백그라운드에서 계속 실행하지 않을 수 있다.According to various embodiments, in operation 525, the system 505 may transmit an execution termination command of the first activity to the first activity module 525. Through this, the system 505 may not continue to execute the previously executed first activity in the background while the second execution screen is displayed.

도 5b를 참조하면, 다양한 실시 예에 따라, 동작 531에서, 제2액티비티 모듈(502)은, 제2액티비티의 제2실행 화면이 표시된 상태에서, 사용자에 의해 입력된 스와이프 입력을 확인할 수 있다. Referring to FIG. 5B , according to various embodiments, in operation 531, the second activity module 502 may check a swipe input input by the user while the second execution screen of the second activity is displayed. .

다양한 실시 예에 따라, 동작 533에서, 제2액티비티 모듈(502)은, 시스템(505)으로 스와이프 입력을 보고할 수 있다.According to various embodiments, in operation 533 , the second activity module 502 may report the swipe input to the system 505 .

다양한 실시 예에 따라, 동작 535에서, 시스템(505)은, 제1액티비티 모듈(501)로 실행 명령을 전송할 수 있다. 이때, 시스템(505)은, 제1액티비티 모듈(501)로 제1실행 화면의 표시(또는 드로잉)을 요청할 수 있다.According to various embodiments, in operation 535, the system 505 may transmit an execution command to the first activity module 501. At this time, the system 505 may request display (or drawing) of the first execution screen to the first activity module 501 .

다양한 실시 예에 따라, 동작 537에서, 시스템(505)은, 캡쳐한 제1이미지를 표시할 수 있다. According to various embodiments, in operation 537, the system 505 may display the captured first image.

다양한 실시 예에 따라, 동작 539에서, 시스템(505)은, 제2액티비티 모듈(502)로 제1이미지를 전송할 수 있다. 이때, 시스템(505)은, 제2액티비티 모듈(502)로 제2이미지의 제어 권한도 전송할 수 있다. According to various embodiments, in operation 539 , the system 505 may transmit the first image to the second activity module 502 . At this time, the system 505 may also transmit the control right of the second image to the second activity module 502 .

다양한 실시 예에 따라, 동작 541에서, 제2액티비티 모듈(502)은, 제1이미지와 제2실행 화면을 이용하여 스와이프 입력의 이동에 대응하는 애니메이션 효과를 제공할 수 있다. 예컨대, 제2액티비티 모듈(502)은, 슬라이드 입력의 이동에 따라 제1이미지의 적어도 일부와 제2실행 화면의 적어도 일부를 함께 표시할 수 있다. E또한, 제2액티비티 모듈(502)은, 슬라이드 입력의 이동됨에 따라 제1이미지의 크기를 증가시키거나 감소시킬 수 있다. 예컨대, 슬라이드 입력의 이동이 진행됨에 따라 제1이미지의 크기를 점진적으로 확대시킬 수 있다.According to various embodiments, in operation 541, the second activity module 502 may provide an animation effect corresponding to the movement of the swipe input by using the first image and the second execution screen. For example, the second activity module 502 may display at least a portion of the first image and at least a portion of the second execution screen together according to the movement of the slide input. E Also, the second activity module 502 may increase or decrease the size of the first image according to the movement of the slide input. For example, as the movement of the slide input proceeds, the size of the first image may be gradually enlarged.

다양한 실시 예에 따라, 동작 543에서, 제1액티비티 모듈(501)은, 스와이프 입력이 완료되고 제1액티비티의 실행이 완료되면, 시스템(505)으로 실행 완료를 보고할 수 있다. 이때, 제1액티비티의 실행 완료는, 제1액티비티의 제2실행 화면의 드로잉 완료를 포함할 수 있다.According to various embodiments, in operation 543, the first activity module 501 may report execution completion to the system 505 when the swipe input is completed and execution of the first activity is completed. In this case, completion of execution of the first activity may include completion of drawing a second execution screen of the first activity.

다양한 실시 예에 따라, 동작 545에서, 시스템(505)은, 제2액티비티 모듈(502)로 실행 종료 명령을 전송할 수 있다. According to various embodiments, in operation 545, the system 505 may transmit an execution termination command to the second activity module 502.

다양한 실시 예에 따라, 동작 547에서, 시스템(505)은, 제1이미지 및 제2실행 화면 대신 제1실행 화면을 표시할 수 있다. 다양한 실시 예에 따라, 동작 549에서, 시스템(505)은, 제1이미지를 제거 또는 삭제할 수 있다.According to various embodiments, in operation 547, the system 505 may display the first execution screen instead of the first image and the second execution screen. According to various embodiments, in operation 549, the system 505 may remove or delete the first image.

도 5c를 참조하면, 다양한 실시 예에 따라, 동작 531부터 541은, 도 5b에서 설명한 동작들과 동일하게 수행될 수 있다.Referring to FIG. 5C , according to various embodiments, operations 531 to 541 may be performed identically to the operations described in FIG. 5B.

다양한 실시 예에 따라, 동작 551에서, 제2액티비티 모듈(502)은, 사용자에 의해 입력된 스와이프 입력의 취소를 확인할 수 있다. According to various embodiments, in operation 551, the second activity module 502 may check cancellation of the swipe input input by the user.

다양한 실시 예에 따라, 동작 553에서, 제2액티비티 모듈(502)은, 시스템(505)으로 스와이프 입력의 취소를 보고할 수 있다. According to various embodiments, in operation 553 , the second activity module 502 may report cancellation of the swipe input to the system 505 .

다양한 실시 예에 따라, 동작 555에서, 시스템(505)은, 표시된 제1이미지를 제거하고(또는, 표시하지 않고), 제2실행 화면을 표시할 수 있다. 즉, 시스템(505)은, 제2액티비티을 실행하면서, 제2실행 화면만 표시할 수 있다. 시스템(505)은, 캡쳐된 제1이미지를 계속 저장할 수 있다. According to various embodiments, in operation 555, the system 505 may remove (or not display) the displayed first image and display a second execution screen. That is, the system 505 may display only the second execution screen while executing the second activity. System 505 may continue to store the captured first image.

다양한 실시 예에 따라, 동작 557에서, 시스템(505)은, 제1액티비티 모듈(501)로 실행 중단을 요청하는 명령을 전송할 수 있다. 제1액티비티 모듈(501)은, 수신된 명령에 기반하여 제1액티비티의 실행을 중단할 수 있다.According to various embodiments of the present disclosure, in operation 557, the system 505 may transmit a command requesting to stop execution to the first activity module 501. The first activity module 501 may stop execution of the first activity based on the received command.

도 6은, 다양한 실시 예들에 따른 전자 장치가 스와이프 입력에 기반하여 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 플로우 차트이다.6 is a flowchart for explaining an operation of changing a second execution screen to a first execution screen based on a swipe input by an electronic device according to various embodiments of the present disclosure.

도 6을 참조하면, 다양한 실시 예에 따라, 전자 장치(201)는, 제2액티비티의 제2실행 화면이 표시된 상태에서 터치 스크린(260)에 대한 스와이프 입력을 확인할 수 있다. 전자 장치(201)는, 제2실행 화면을 표시하기 이전에, 상술한 동작 301에서 303에 기반하여 제1액티비티를 종료하면서 제1액티비티의 제1실행 화면에 대응하는 제1이미지를 획득 또는 캡쳐할 수 있다.Referring to FIG. 6 , according to various embodiments, the electronic device 201 may check a swipe input to the touch screen 260 while the second execution screen of the second activity is displayed. Before displaying the second execution screen, the electronic device 201 acquires or captures the first image corresponding to the first execution screen of the first activity while terminating the first activity based on operations 301 to 303 described above. can do.

다양한 실시 예에 따라, 전자 장치(201)는, 스와이프 입력의 시작에 기반하여, 제1액티비티를 실행하고, 제1액티비티의 제1실행 화면의 드로잉을 시작할 수 있다. 이때, 전자 장치(201)는, 스와이프 입력의 이동에 기반하여 제1실행 화면 대신 제1이미지를 표시할 수 있다. According to various embodiments, the electronic device 201 may execute the first activity based on the start of the swipe input and start drawing the first execution screen of the first activity. In this case, the electronic device 201 may display the first image instead of the first execution screen based on the movement of the swipe input.

다양한 실시 예에 따라, 동작 601에서, 전자 장치(201)는, 제2실행 화면이 표시된 상태에서 스와이프 입력의 완료를 확인할 수 있다.According to various embodiments, in operation 601, the electronic device 201 may confirm completion of the swipe input while the second execution screen is displayed.

다양한 실시 예에 따라, 동작 603에서, 전자 장치(201)는, 스와이프 입력의 완료가 확인된 경우, 제1액티비티의 실행이 완료되었는지 여부를 확인할 수 있다. 예컨대, 전자 장치(201)는, 스와이프 입력이 완료될 때까지 제1액티비티 실행이 완료되는지 여부를 확인할 수 있다. 예컨대, 제1액티비티의 실행 완료는, 제1실행 화면의 드로잉 완료를 포함할 수 있다.According to various embodiments, in operation 603, when the completion of the swipe input is confirmed, the electronic device 201 may check whether execution of the first activity has been completed. For example, the electronic device 201 may check whether execution of the first activity is completed until the swipe input is completed. For example, completion of execution of the first activity may include completion of drawing the first execution screen.

다양한 실시 예에 따라, 제1액티비티의 실행이 완료된 경우(동작 603의 예), 동작 605에서, 전자 장치(201)는, 제1이미지를 삭제하고 제1실행 화면을 표시할 수 있다.According to various embodiments, when the execution of the first activity is completed (YES in operation 603), in operation 605, the electronic device 201 may delete the first image and display the first execution screen.

다양한 실시 예에 따라, 제1액티비티의 실행이 완료되지 않은 경우(동작 603의 아니오), 동작 607에서, 전자 장치(201)는, 제1액티비티의 실행이 완료될 때까지 제1이미지의 표시를 유지할 수 있다. 만일, 전자 장치(201)가 제1액티비티의 실행이 완료되기 전에 제1이미지를 삭제할 경우, 일시적으로 블랙 화면이 표시될 수 있다. 이에 따라, 전자 장치(201)는, 블랙 화면이 표시되는 것을 방지하기 위해, 제1액티비티의 실행이 완료될 때까지 제1실행 화면 대신 제1이미지를 표시할 수 있다.According to various embodiments, when the execution of the first activity is not completed (NO in operation 603), in operation 607, the electronic device 201 displays the first image until the execution of the first activity is completed. can keep If the electronic device 201 deletes the first image before the execution of the first activity is completed, a black screen may be temporarily displayed. Accordingly, in order to prevent a black screen from being displayed, the electronic device 201 may display the first image instead of the first execution screen until execution of the first activity is completed.

다양한 실시 예에 따라, 동작 609에서, 전자 장치(201)는, 제1액티비티의 실행이 완료된 후(또는 제1실행 화면의 드로잉이 완료된 후), 제1이미지 삭제하고 제1실행 화면을 표시할 수 있다.According to various embodiments of the present disclosure, in operation 609, the electronic device 201 deletes the first image and displays the first execution screen after execution of the first activity is completed (or drawing of the first execution screen is completed). can

도 7a와 도 7b는, 다양한 실시 예들에 따른 전자 장치가 스와이프 입력에 기반하여 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.7A and 7B are diagrams for explaining an operation of changing a second execution screen to a first execution screen based on a swipe input by an electronic device according to various embodiments of the present disclosure.

도 7a를 참조하면, 전자 장치(201)는, 일부 웨어러블 OS에서 지원하는 스와이프 투 디스미스(swipe to dismiss) 입력(이하, 스와이프 입력)에 기반하여, 복수의 액티비티들을 곧바로 보여지게 제어할 수 있다. 전자 장치(201)는, 터치 스크린(260)에 제1액티비티의 실행 화면(710)을 표시할 수 있다. 이때, 종래의 일부 웨어러블 OS에서는 제2액티비티와 제3액티비티를 백그라운드에서 실행하면서, 스와이프 입력이 확인되면 제2액티비티의 실행 화면과 제3액티비티의 실행 화면을 곧바로 보여지게 제어할 수 있었다. Referring to FIG. 7A , the electronic device 201 controls a plurality of activities to be displayed immediately based on a swipe to dismiss input (hereinafter referred to as a swipe input) supported by some wearable OSs. can The electronic device 201 may display the execution screen 710 of the first activity on the touch screen 260 . At this time, in some conventional wearable OSs, it is possible to control the execution screen of the second activity and the execution screen of the third activity to be displayed immediately when the swipe input is confirmed while the second activity and the third activity are executed in the background.

다양한 실시 예에 따라, 전자 장치(201)는 제1액티비티의 실행 화면(710)이 을 터치 스크린(260)에 표시된 상태에서, 즉, 제1액티비티가 실행된 상태에서, 제2액티비티와 제3액티비티를 실행하지 않을 수 있다. 전자 장치(201)는, 제2액티비티의 실행 화면 대신 제2액티비티의 실행 화면을 캡쳐한 이미지(720)를 저장할 수 있다. 또한, 전자 장치(201)는, 제3액티비티의 실행 화면 대신 제3액티비티의 실행 화면을 캡쳐한 이미지(730)를 저장할 수 있다. 이때, 전자 장치(201)는, 스와이프 입력이 확인되면 제2액티비티의 실행 화면 대신 제2이미지(720)와 제3액티비티의 실행 화면 대신 제3이미지(730)을 곧바로 보여지게 제어할 수 있다. According to various embodiments, the electronic device 201 performs a second activity and a third activity in a state in which the execution screen 710 of the first activity is displayed on the touch screen 260, that is, in a state in which the first activity is executed. The activity may not run. The electronic device 201 may store the captured image 720 of the execution screen of the second activity instead of the execution screen of the second activity. Also, the electronic device 201 may store an image 730 obtained by capturing the execution screen of the third activity instead of the execution screen of the third activity. In this case, when the swipe input is confirmed, the electronic device 201 can control the second image 720 instead of the execution screen of the second activity and the third image 730 instead of the execution screen of the third activity to be displayed immediately. .

도 7b를 참조하면, 다양한 실시 예에 따라, 전자 장치(201)는, 제1액티비티의 실행 화면(710)이 터치 스크린(260)에 표시된 상태에서 스와이프 입력을 확인할 수 있다. 전자 장치(201)는, 제2이미지(720)의 아래 레이어에 지정된 색(예컨대, 검정색)을 포함하는 배경 이미지(725)를 생성할 수 있다.Referring to FIG. 7B , according to various embodiments, the electronic device 201 may check a swipe input while the execution screen 710 of the first activity is displayed on the touch screen 260 . The electronic device 201 may create a background image 725 including a designated color (eg, black) in a layer below the second image 720 .

다양한 실시 예에 따라, 전자 장치(201)는, 스와이프 입력이 확인되면 제2이미지(720)가 곧바로 보여지게 제어할 수 있다. 예컨대, 전자 장치(201)는 스와이프 입력의 이동에 따라 제2이미지(720)의 크기를 증가시킬 수 있다. 전자 장치(201)는, 제2이미지(720)의 아래 레이어에 배경 이미지(725)를 배치하여, 제2이미지(720)의 외부 영역에 지정된 색(또는 지정된 색을 포함하는 배경 이미지(725))이 표시되도록 제어할 수 있다.According to various embodiments, the electronic device 201 may control the second image 720 to be displayed immediately when the swipe input is confirmed. For example, the electronic device 201 may increase the size of the second image 720 according to the movement of the swipe input. The electronic device 201 places the background image 725 on a layer below the second image 720, and displays a designated color (or a background image 725 including the designated color) outside the second image 720. ) can be controlled to be displayed.

다양한 실시 예에 따라, 전자 장치(201)는, 스와이프 입력에 기반하여, 제1실행 화면에서 제2이미지(720)를 곧바로 보여지게 제어할 수 있다. 이후, 전자 장치(201)는, 스와이프 입력이 완료되면, 제2이미지(720) 대신 제2액티비티의 실행 화면을 표시할 수 있다.According to various embodiments, the electronic device 201 may control the second image 720 to be immediately displayed on the first execution screen based on a swipe input. Thereafter, when the swipe input is completed, the electronic device 201 may display the execution screen of the second activity instead of the second image 720 .

도 8a는, 다양한 실시 예들에 따른 전자 장치가 제1실행 화면을 제2실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.8A is diagrams for explaining an operation of changing a first execution screen to a second execution screen by an electronic device according to various embodiments of the present disclosure.

도 8a를 참조하면, 다양한 실시 예에 따라, 전자 장치(201)는, 제1액티비티를 실행하고, 터치 스크린(260)에 제1액비티비의 제1실행 화면(810)을 표시할 수 있다.Referring to FIG. 8A , according to various embodiments, the electronic device 201 may execute a first activity and display a first execution screen 810 of the first activity on the touch screen 260 .

다양한 실시 예에 따라, 전자 장치(201)는, 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력(815)이 확인되면, 제1실행 화면에 대응하는 제1이미지를 캡쳐하고, 제1액티비티를 종료시킬 수 있다. 예컨대, 사용자 입력(815)은, 터치 스크린(260)에 대한 탭 입력 또는 홀드 입력일 수 있다.According to various embodiments, the electronic device 201 captures a first image corresponding to the first execution screen when a user input 815 requesting execution of the second activity is confirmed while the first activity is running. and terminate the first activity. For example, the user input 815 may be a tap input or a hold input to the touch screen 260 .

다양한 실시 예에 따라, 전자 장치(201)는, 제2액티비티를 실행하고, 터치 스크린(260)에 제2액티비티의 제2실행 화면(820)을 표시할 수 있다. According to various embodiments, the electronic device 201 may execute the second activity and display the second execution screen 820 of the second activity on the touch screen 260 .

도 8b는, 다양한 실시 예들에 따른 전자 장치가 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.8B is diagrams for explaining an operation of changing a second execution screen to a first execution screen by an electronic device according to various embodiments of the present disclosure.

도 8b를 참조하면, 다양한 실시 예에 따라, 전자 장치(201)는, 제2액티비티를 실행하고, 터치 스크린(260)에 제2액비티비의 제2실행 화면(820)을 표시할 수 있다.Referring to FIG. 8B , according to various embodiments, the electronic device 201 may execute a second activity and display a second execution screen 820 of the second activity on the touch screen 260 .

다양한 실시 예에 따라, 전자 장치(201)는 제2액티비티가 실행 중인 상태에서 제2실행 화면(820) 상에 스와이프 입력(825)이 확인되면, 제1액티비티의 재실행을 시작할 수 있다. 전자 장치(201)는, 제1실행 화면(810)의 드로잉 동작을 시작할 수 있다. According to various embodiments, when the swipe input 825 is confirmed on the second execution screen 820 while the second activity is running, the electronic device 201 may start re-executing the first activity. The electronic device 201 may start a drawing operation of the first execution screen 810 .

다양한 실시 예에 따라, 전자 장치(201)는, 스와이프 입력의 이동에 기반하여, 제2실행 화면(820)의 일부와 제1실행 화면(810)을 캡쳐한 제1이미지(811)의 일부를 함께 표시할 수 있다. 전자 장치(201)는, 제1실행 화면(810)의 드로잉 동작이 완료되기 전까지, 제1실행 화면(810) 대신 제1이미지(811)를 표시할 수 있다. According to various embodiments, the electronic device 201 displays a part of the second execution screen 820 and a part of the first image 811 capturing the first execution screen 810 based on the movement of the swipe input. can be displayed together. The electronic device 201 may display the first image 811 instead of the first execution screen 810 until the drawing operation of the first execution screen 810 is completed.

다양한 실시 예에 따라, 전자 장치(201)는 스와이프 입력의 완료에 기반하여, 제2액티비티의 제2실행 화면(820)을 제1액티비티의 제1실행 화면(810)으로 표시할 수 있다. 이때, 전자 장치(201)는, 제1이미지(811)을 제1실행 화면(810)으로 대체할 수 있다. 전자 장치(201)는, 제1실행 화면(810)이 표시된 후, 캡쳐된 제1이미지(811)를 제거 및/또는 삭제할 수 있다.According to various embodiments, the electronic device 201 may display the second execution screen 820 of the second activity as the first execution screen 810 of the first activity, based on the completion of the swipe input. In this case, the electronic device 201 may replace the first image 811 with the first execution screen 810 . The electronic device 201 may remove and/or delete the captured first image 811 after the first execution screen 810 is displayed.

도 9는, 다양한 실시 예들에 따른 전자 장치가 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.9 is diagrams for explaining an operation of changing a second execution screen to a first execution screen by an electronic device according to various embodiments of the present disclosure.

도 9를 참조하면, 전자 장치(901)는, 홈 디바이스(예컨대, 냉장고, 자동차, 또는 TV)나 스마트폰으로 구현될 수 있다. 예컨대, 전자 장치(901)는, 도 2의 전자 장치(201)와 동일 내지 유사하게 구현될 수 있다.Referring to FIG. 9 , the electronic device 901 may be implemented as a home device (eg, a refrigerator, a car, or a TV) or a smart phone. For example, the electronic device 901 may be implemented the same as or similar to the electronic device 201 of FIG. 2 .

다양한 실시 예에 따라, 전자 장치(901)는, 제2액티비티를 실행하고, 터치 스크린에 제2액비티비의 제2실행 화면(910)을 표시할 수 있다. 전자 장치(201)는, 제2실행 화면(910)을 표시하기 이전에, 제1액티비티를 종료하면서 제1액티비티의 제1실행 화면(920)에 대응하는 제1이미지(921)를 캡쳐할 수 있다.According to various embodiments, the electronic device 901 may execute the second activity and display the second execution screen 910 of the second activity on the touch screen. Before displaying the second execution screen 910, the electronic device 201 may capture the first image 921 corresponding to the first execution screen 920 of the first activity while ending the first activity. there is.

다양한 실시 예에 따라, 전자 장치(901)는 제2액티비티가 실행 중인 상태에서 제2실행 화면(910) 상에 스와이프 입력(915)이 확인되면, 제1액티비티의 재실행을 시작할 수 있다. 전자 장치(201)는, 제1실행 화면(920)의 드로잉 동작을 시작할 수 있다. According to various embodiments, when the swipe input 915 is confirmed on the second execution screen 910 while the second activity is running, the electronic device 901 may start re-executing the first activity. The electronic device 201 may start a drawing operation of the first execution screen 920 .

다양한 실시 예에 따라, 전자 장치(901)는, 스와이프 입력의 이동에 기반하여, 제2실행 화면(910)의 일부와 제1실행 화면(920)을 캡쳐한 제1이미지(921)의 일부를 함께 표시할 수 있다. 전자 장치(201)는, 제1실행 화면(920)의 드로잉 동작이 완료되기 전까지, 제1실행 화면(920) 대신 제1이미지(921)를 표시할 수 있다According to various embodiments, the electronic device 901 displays a part of the second execution screen 910 and a part of the first image 921 capturing the first execution screen 920 based on the movement of the swipe input. can be displayed together. The electronic device 201 may display the first image 921 instead of the first execution screen 920 until the drawing operation of the first execution screen 920 is completed.

다양한 실시 예에 따라, 전자 장치(901)는 스와이프 입력의 완료에 기반하여, 제2액티비티의 제2실행 화면(910)을 제1액티비티의 제1실행 화면(920)으로 변경할 수 있다. 이때, 전자 장치(901)는, 제1이미지(921)을 제1실행 화면(920)으로 대체할 수 있다. 전자 장치(901)는, 제1실행 화면(920)이 표시된 후, 캡쳐된 제1이미지(921)를 제거 및/또는 삭제할 수 있다.According to various embodiments, the electronic device 901 may change the second execution screen 910 of the second activity to the first execution screen 920 of the first activity based on the completion of the swipe input. In this case, the electronic device 901 may replace the first image 921 with the first execution screen 920 . After the first execution screen 920 is displayed, the electronic device 901 may remove and/or delete the captured first image 921 .

한편, 도 8b와 도 9에 도시된 스와이프 입력의 방향은 예시적인 것일 뿐, 본 발명의 기술적 사상은 이에 한정되지 않을 수 있다.Meanwhile, the direction of the swipe input shown in FIGS. 8B and 9 is only exemplary, and the technical spirit of the present invention may not be limited thereto.

도 10은, 다양한 실시 예들에 따른 전자 장치가 제2실행 화면을 제1실행 화면으로 변경하는 동작을 설명하기 위한 도면들이다.10 is diagrams for explaining an operation of changing a second execution screen to a first execution screen by an electronic device according to various embodiments of the present disclosure.

도 10을 참조하면, 전자 장치(1001)는, 스마트폰(예컨대, 폴더블 스마트폰)으로 구현될 수 있다. 예컨대, 전자 장치(1001)는, 도 2의 전자 장치(201)와 동일 내지 유사하게 구현될 수 있다. 전자 장치(1001)는, 전자 장치(1001)의 외부 디스플레이(예컨대, 커버 스크린)에 제1액티비티의 제1실행 화면(1010)을 표시할 수 있다. Referring to FIG. 10 , the electronic device 1001 may be implemented as a smart phone (eg, a foldable smart phone). For example, the electronic device 1001 may be implemented the same as or similar to the electronic device 201 of FIG. 2 . The electronic device 1001 may display the first execution screen 1010 of the first activity on an external display (eg, cover screen) of the electronic device 1001 .

다양한 실시 예에 따라, 전자 장치(1001)는, 스와이프 입력에 기반하여, 제1액티비티의 제1실행 화면(1010)을 다른 액티비티의 실행 화면(1020, 1030, 1040, 또는 1050)으로 변경할 수 있다. 예컨대, 전자 장치(201)는, 제1실행 화면(1010)을 표시하기 이전에, 다른 액티비티를 종료하면서 다른 액티비티의 실행 화면(1020, 1030, 1040, 또는 1050)에 대응하는 이미지를 캡쳐할 수 있다.According to various embodiments, the electronic device 1001 may change the first execution screen 1010 of the first activity to the execution screen 1020, 1030, 1040, or 1050 of another activity based on a swipe input. there is. For example, the electronic device 201 may capture an image corresponding to an execution screen 1020, 1030, 1040, or 1050 of another activity while ending another activity before displaying the first execution screen 1010. there is.

다양한 실시 예에 따라, 전자 장치(1001)는 제1액티비티가 실행 중인 상태에서 제1실행 화면(1010) 상에 스와이프 입력이 확인되면, 다른 액티비티의 재실행을 시작할 수 있다. 예컨대, 전자 장치(1001)는, 스와이프 방향에 기반하여 지정된 액티비티를 실행할 수 있다. According to various embodiments, when a swipe input is confirmed on the first execution screen 1010 while the first activity is running, the electronic device 1001 may start re-executing another activity. For example, the electronic device 1001 may execute a designated activity based on the swipe direction.

다양한 실시 예에 따라, 전자 장치(1001)는, 제1방향의 스와이프 입력이 확인되면, 제2액티비티의 제2실행 화면(1020)을 캡쳐한 제2이미지를 이용하여 제1실행 화면(1010)을 제2실행 화면(1020)으로 변경할 수 있다. 전자 장치(1001)는, 제2방향의 스와이프 입력이 확인되면, 제3액티비티의 제3실행 화면(1030)을 캡쳐한 제3이미지를 이용하여 제1실행 화면(1010)을 제3실행 화면(1030)으로 변경할 수 있다. 전자 장치(1001)는, 제3방향의 스와이프 입력이 확인되면, 제4액티비티의 제4실행 화면(1040)을 캡쳐한 제4이미지를 이용하여 제1실행 화면(1010)을 제4실행 화면(1040)으로 변경할 수 있다. 전자 장치(1001)는, 제4방향의 스와이프 입력이 확인되면, 제5액티비티의 제5실행 화면(1050)을 캡쳐한 제5이미지를 이용하여 제1실행 화면(1010)을 제5실행 화면(1050)으로 변경할 수 있다.According to various embodiments, when the swipe input in the first direction is confirmed, the electronic device 1001 displays the first execution screen 1010 using the second image captured of the second execution screen 1020 of the second activity. ) can be changed to the second execution screen 1020. When the swipe input in the second direction is confirmed, the electronic device 1001 displays the first execution screen 1010 using the third image captured of the third execution screen 1030 of the third activity. (1030). When the swipe input in the third direction is confirmed, the electronic device 1001 displays the first execution screen 1010 as the fourth execution screen using the fourth image captured of the fourth execution screen 1040 of the fourth activity. (1040). When the swipe input in the fourth direction is confirmed, the electronic device 1001 displays the first execution screen 1010 using the fifth image captured of the fifth execution screen 1050 of the fifth activity. (1050).

다양한 실시 예에 따라, 전자 장치(201)는 터치 스크린(260) 및 프로세서(220)를 포함하고, 상기 프로세서는, 상기 터치 스크린에, 제1액티비티의 제1실행 화면을 표시하고, 상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐한 후 제1액티비티를 종료시키고, 제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하고, 상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 대한 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하고, 상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하도록 설정될 수 있다.According to various embodiments, the electronic device 201 includes a touch screen 260 and a processor 220, and the processor displays a first execution screen of a first activity on the touch screen, and the first execution screen of the first activity. When a user input requesting the execution of the second activity is confirmed while the activity is running, the first image corresponding to the first execution screen is captured, the first activity is terminated, and the first activity is terminated, The second execution screen of the second activity is displayed on the touch screen, and when a swipe input to the touch screen is confirmed while the second activity is running, re-execution of the first activity starts and the touch screen The first image may be displayed on and, based on completion of the swipe input, the first execution screen of the first activity may be displayed on the touch screen while ending the second activity.

다양한 실시 예에 따라, 상기 프로세서는, 상기 스와이프 입력의 완료에 기반하여 상기 제1이미지를 삭제하도록 설정될 수 있다.According to various embodiments, the processor may be set to delete the first image based on completion of the swipe input.

다양한 실시 예에 따라, 상기 프로세서는, 상기 스와이프 입력의 완료될 때까지 상기 제1액티비티의 실행이 완료되지 않은 경우, 상기 터치 스크린에 상기 제1이미지의 표시를 유지하도록 설정될 수 있다.According to various embodiments of the present disclosure, the processor may be configured to maintain display of the first image on the touch screen when execution of the first activity is not completed until the swipe input is completed.

다양한 실시 예에 따라, 상기 프로세서는, 상기 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 상기 스와이프 입력에 기반하여 상기 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시하도록 설정될 수 있다.According to various embodiments of the present disclosure, after the start of the swipe input and before completion of the swipe input is confirmed, the processor determines at least a portion of the first image and the second execution screen based on the swipe input. It can be set to display at least some of them together.

다양한 실시 예에 따라, 상기 프로세서는, 상기 제1이미지와 상기 제2실행 화면의 일부가 중첩되게 표시하도록 설정될 수 있다.According to various embodiments, the processor may be set to display the first image and a part of the second execution screen to overlap.

다양한 실시 예에 따라, 상기 프로세서는, 상기 스와이프 입력에 기반하여 상기 터치 스크린에 표시되는 상기 제1이미지 또는 상기 제2실행 화면 중 적어도 하나의 투명도를 조정하도록 설정될 수 있다.According to various embodiments, the processor may be configured to adjust transparency of at least one of the first image and the second execution screen displayed on the touch screen based on the swipe input.

다양한 실시 예에 따라, 상기 프로세서는, 상기 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 상기 스와이프 입력의 이동에 기반하여 상기 터치 스크린에 표시되는 상기 제1이미지의 크기를 조정하도록 설정될 수 있다.According to various embodiments of the present disclosure, the processor determines the size of the first image displayed on the touch screen based on the movement of the swipe input after the start of the swipe input and before completion of the swipe input is confirmed. can be set to adjust

다양한 실시 예에 따라, 상기 프로세서는, 상기 스와이프 입력의 이동에 기반하여 상기 제1이미지의 크기가 상기 터치 스크린의 표시 영역의 크기보다 작은 경우, 상기 제1이미지의 외부 영역에 지정된색을 포함하는 배경 이미지를 표시하도록 설정될 수 있다.According to various embodiments of the present disclosure, when the size of the first image is smaller than the size of the display area of the touch screen based on the movement of the swipe input, the processor includes a designated color in an outer area of the first image. It can be set to display a background image that

다양한 실시 예에 따라, 상기 프로세서는, 상기 스와이프 입력이 취소된 것으로 확인되면, 상기 제1액티비티의 실행을 중단하도록 설정될 수 있다.According to various embodiments of the present disclosure, when it is determined that the swipe input is cancelled, the processor may be set to stop execution of the first activity.

다양한 실시 예에 따라, 상기 전자 장치는 웨어러블 전자 장치로 구현될 수 있다.According to various embodiments, the electronic device may be implemented as a wearable electronic device.

다양한 실시 예에 따라, 전자 장치(201)의 동작 방법은, 상기 전자 장치에 포함된 터치 스크린(260)에, 제1액티비티의 제1실행 화면을 표시하는 동작, 상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐한 후 제1액티비티를 종료시키는 동작, 제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하는 동작, 상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 대한 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하는 동작, 및 상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하는 동작을 포함할 수 있다.According to various embodiments, an operating method of the electronic device 201 includes an operation of displaying a first execution screen of a first activity on a touch screen 260 included in the electronic device, and a state in which the first activity is being executed. If a user input requesting the execution of the second activity is confirmed in , the operation of capturing the first image corresponding to the first execution screen and then terminating the first activity; Operation of displaying the second execution screen of the second activity, and when a swipe input to the touch screen is confirmed while the second activity is running, re-execution of the first activity starts and the first activity is displayed on the touch screen. An operation of displaying one image, and an operation of displaying the first execution screen of the first activity on the touch screen while ending the second activity based on completion of the swipe input.

다양한 실시 예에 따라, 전자 장치의 동작 방법은, 상기 스와이프 입력의 완료에 기반하여 상기 제1이미지를 삭제하는 동작을 더 포함할 수 있다.According to various embodiments, the operating method of the electronic device may further include deleting the first image based on completion of the swipe input.

다양한 실시 예에 따라, 전자 장치의 동작 방법은, 상기 스와이프 입력의 완료될 때까지 상기 제1액티비티의 실행이 완료되지 않은 경우, 상기 터치 스크린에 상기 제1이미지의 표시를 유지하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, the operating method of the electronic device may further include maintaining display of the first image on the touch screen when execution of the first activity is not completed until the swipe input is completed. can include

다양한 실시 예에 따라, 전자 장치의 동작 방법은, 상기 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 상기 스와이프 입력에 기반하여 상기 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, the operating method of the electronic device may include at least a part of the first image and the second image based on the swipe input after the start of the swipe input and before completion of the swipe input is confirmed. An operation of displaying at least a portion of the execution screen together may be further included.

다양한 실시 예에 따라, 상기 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시하는 동작은, 상기 제1이미지와 상기 제2실행 화면의 일부가 중첩되게 표시하는 동작을 포함할 수 있다.According to various embodiments, the operation of displaying at least a portion of the first image and at least a portion of the second execution screen together may include an operation of displaying the first image and a portion of the second execution screen in an overlapping manner. can

다양한 실시 예에 따라, 상기 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시하는 동작은, 상기 스와이프 입력에 기반하여 상기 터치 스크린에 표시되는 상기 제1이미지 또는 상기 제2실행 화면 중 적어도 하나의 투명도를 조정하는 동작을 포함할 수 있다.According to various embodiments, the operation of displaying at least a portion of the first image and at least a portion of the second execution screen together may include the first image displayed on the touch screen or the second execution screen based on the swipe input. An operation of adjusting the transparency of at least one of the execution screens may be included.

다양한 실시 예에 따라, 상기 전자 장치의 동작 방법은, 상기 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 상기 스와이프 입력의 이동에 기반하여 상기 터치 스크린에 표시되는 상기 제1이미지의 크기를 조정하는 동작을 더 포함할 수 있다.According to various embodiments, the operating method of the electronic device may include the first step displayed on the touch screen based on movement of the swipe input after the start of the swipe input and before completion of the swipe input is confirmed. An operation of adjusting the size of 1 image may be further included.

다양한 실시 예에 따라, 상기 제1이미지의 크기를 조정하는 동작은, 상기 스와이프 입력의 이동에 기반하여 상기 제1이미지의 크기가 상기 터치 스크린의 표시 영역의 크기보다 작은 경우, 상기 제1이미지의 외부 영역에 지정된색을 포함하는 배경 이미지를 표시하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the operation of adjusting the size of the first image may include, when the size of the first image is smaller than the size of the display area of the touch screen based on the movement of the swipe input, the first image It may include an operation of displaying a background image including a specified color in an outer area of the .

다양한 실시 예에 따라, 전자 장치의 동작 방법은, 상기 스와이프 입력이 취소된 것으로 확인되면, 상기 제1액티비티의 실행을 중단하는 동작을 더 포함할 수 있다.According to various embodiments, the operating method of the electronic device may further include stopping execution of the first activity when it is determined that the swipe input is cancelled.

다양한 실시 예에 따라, 비일시적 기록 매체는, 전자 장치(201)에 포함된 터치 스크린(260)에, 제1액티비티의 제1실행 화면을 표시하는 동작, 상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐한 후 제1액티비티를 종료시키는 동작, 제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하는 동작, 상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 대한 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하는 동작, 및 상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하는 동작을 수행하는 프로그램을 저장할 수 있다.According to various embodiments, the non-transitory recording medium may display a first execution screen of a first activity on the touch screen 260 included in the electronic device 201, and a first execution screen of the first activity while the first activity is running. 2If a user input requesting execution of the activity is confirmed, capturing the first image corresponding to the first execution screen and then terminating the first activity; Operation of displaying the second execution screen of 2 activities, if a swipe input to the touch screen is confirmed while the second activity is running, re-execution of the first activity is started and the first image is displayed on the touch screen A program for performing an operation of displaying and an operation of displaying the first execution screen of the first activity on the touch screen while ending the second activity based on the completion of the swipe input may be stored.

201: 전자 장치
220: 프로세서
230: 메모리
260: 터치 스크린
201 Electronic device
220: processor
230: memory
260: touch screen

Claims (20)

전자 장치에 있어서,
터치 스크린; 및
프로세서를 포함하고, 상기 프로세서는,
상기 터치 스크린에, 제1액티비티의 제1실행 화면을 표시하고,
상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐하고 제1액티비티를 종료시키고,
제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하고,
상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 의해 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하고,
상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하도록 설정된 전자 장치.
In electronic devices,
touch screen; and
It includes a processor, the processor comprising:
Displaying a first execution screen of a first activity on the touch screen;
When a user input requesting execution of the second activity is confirmed while the first activity is running, a first image corresponding to the first execution screen is captured and the first activity is terminated;
After terminating the first activity, a second execution screen of the second activity is displayed on the touch screen;
When the swipe input is confirmed by the touch screen while the second activity is running, re-execution of the first activity starts and the first image is displayed on the touch screen;
The electronic device configured to display the first execution screen of the first activity on the touch screen while ending the second activity based on completion of the swipe input.
제1항에 있어서, 상기 프로세서는,
상기 스와이프 입력의 완료에 기반하여 상기 제1이미지를 삭제하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
An electronic device configured to delete the first image based on completion of the swipe input.
제2항에 있어서, 상기 프로세서는,
상기 스와이프 입력의 완료될 때까지 상기 제1액티비티의 실행이 완료되지 않은 경우, 상기 터치 스크린에 상기 제1이미지의 표시를 유지하도록 설정된 전자 장치.
The method of claim 2, wherein the processor,
The electronic device configured to maintain display of the first image on the touch screen when execution of the first activity is not completed until the swipe input is completed.
제1항에 있어서, 상기 프로세서는,
상기 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 상기 스와이프 입력에 기반하여 상기 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
The electronic device configured to display at least a portion of the first image and at least a portion of the second execution screen together based on the swipe input after the start of the swipe input and before completion of the swipe input is confirmed.
제4항에 있어서, 상기 프로세서는,
상기 제1이미지와 상기 제2실행 화면의 일부가 중첩되게 표시하도록 설정된 전자 장치.
The method of claim 4, wherein the processor,
An electronic device configured to display a portion of the first image and the second execution screen overlapping each other.
제5항에 있어서, 상기 프로세서는,
상기 스와이프 입력에 기반하여 상기 터치 스크린에 표시되는 상기 제1이미지 또는 상기 제2실행 화면 중 적어도 하나의 투명도를 조정하도록 설정된 전자 장치.
The method of claim 5, wherein the processor,
An electronic device configured to adjust transparency of at least one of the first image and the second execution screen displayed on the touch screen based on the swipe input.
제1항에 있어서, 상기 프로세서는,
상기 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 상기 스와이프 입력의 이동에 기반하여 상기 터치 스크린에 표시되는 상기 제1이미지의 크기를 조정하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
The electronic device configured to adjust the size of the first image displayed on the touch screen based on the movement of the swipe input after the start of the swipe input and before completion of the swipe input is confirmed.
제7항에 있어서, 상기 프로세서는,
상기 스와이프 입력의 이동에 기반하여 상기 제1이미지의 크기가 상기 터치 스크린의 표시 영역의 크기보다 작은 경우, 상기 제1이미지의 외부 영역에 지정된색을 포함하는 배경 이미지를 표시하도록 설정된 전자 장치.
The method of claim 7, wherein the processor,
The electronic device configured to display a background image including a specified color in an area outside the first image when the size of the first image is smaller than the size of the display area of the touch screen based on the movement of the swipe input.
제1항에 있어서, 상기 프로세서는,
상기 스와이프 입력이 취소된 것으로 확인되면, 상기 제1액티비티의 실행을 중단하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
The electronic device configured to stop execution of the first activity when it is confirmed that the swipe input is cancelled.
제1항에 있어서,
상기 전자 장치는 웨어러블 전자 장치로 구현되는 전자 장치.
According to claim 1,
The electronic device is implemented as a wearable electronic device.
전자 장치의 동작 방법에 있어서,
상기 전자 장치에 포함된 터치 스크린에, 제1액티비티의 제1실행 화면을 표시하는 동작;
상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐하고 제1액티비티를 종료시키는 동작;
제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하는 동작;
상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 의해 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하는 동작; 및
상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하는 동작을 포함하는 전자 장치의 동작 방법.
In the operating method of the electronic device,
displaying a first execution screen of a first activity on a touch screen included in the electronic device;
capturing a first image corresponding to the first execution screen and terminating the first activity when a user input requesting execution of the second activity is confirmed while the first activity is being executed;
displaying a second execution screen of the second activity on the touch screen after the first activity ends;
displaying the first image on the touch screen while restarting the first activity when the swipe input is confirmed by the touch screen while the second activity is being executed; and
and displaying the first execution screen of the first activity on the touch screen while terminating the second activity based on completion of the swipe input.
제11항에 있어서,
상기 스와이프 입력의 완료에 기반하여 상기 제1이미지를 삭제하는 동작을 더 포함하는 전자 장치의 동작 방법.
According to claim 11,
The operating method of the electronic device further comprising an operation of deleting the first image based on completion of the swipe input.
제12항에 있어서,
상기 스와이프 입력의 완료될 때까지 상기 제1액티비티의 실행이 완료되지 않은 경우, 상기 터치 스크린에 상기 제1이미지의 표시를 유지하는 동작을 더 포함하는 전자 장치의 동작 방법.
According to claim 12,
and maintaining the display of the first image on the touch screen when the execution of the first activity is not completed until the swipe input is completed.
제11항에 있어서,
상기 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 상기 스와이프 입력에 기반하여 상기 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시하는 동작을 더 포함하는 전자 장치의 동작 방법.
According to claim 11,
After the start of the swipe input and before completion of the swipe input is confirmed, further comprising displaying at least a part of the first image and at least a part of the second execution screen together based on the swipe input A method of operating an electronic device that
제14항에 있어서, 상기 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시하는 동작은,
상기 제1이미지와 상기 제2실행 화면의 일부가 중첩되게 표시하는 동작을 포함하는 전자 장치의 동작 방법.
The method of claim 14, wherein displaying at least a portion of the first image and at least a portion of the second execution screen together comprises:
and displaying the first image and a part of the second execution screen so as to overlap each other.
제15항에 있어서, 상기 제1이미지의 적어도 일부와 상기 제2실행 화면의 적어도 일부를 함께 표시하는 동작은,
상기 스와이프 입력에 기반하여 상기 터치 스크린에 표시되는 상기 제1이미지 또는 상기 제2실행 화면 중 적어도 하나의 투명도를 조정하는 동작을 포함하는 전자 장치의 동작 방법.
The method of claim 15, wherein displaying at least a portion of the first image and at least a portion of the second execution screen together comprises:
and adjusting transparency of at least one of the first image and the second execution screen displayed on the touch screen based on the swipe input.
제11항에 있어서,
상기 스와이프 입력의 시작 이후 상기 스와이프 입력의 완료가 확인되기 이전에, 상기 스와이프 입력의 이동에 기반하여 상기 터치 스크린에 표시되는 상기 제1이미지의 크기를 조정하는 동작을 더 포함하는 전자 장치의 동작 방법.
According to claim 11,
The electronic device further comprising adjusting the size of the first image displayed on the touch screen based on the movement of the swipe input after the start of the swipe input and before completion of the swipe input is confirmed. how it works.
제17항에 있어서, 상기 제1이미지의 크기를 조정하는 동작은,
상기 스와이프 입력의 이동에 기반하여 상기 제1이미지의 크기가 상기 터치 스크린의 표시 영역의 크기보다 작은 경우, 상기 제1이미지의 외부 영역에 지정된색을 포함하는 배경 이미지를 표시하는 동작을 포함하는 전자 장치의 동작 방법.
The method of claim 17, wherein the operation of adjusting the size of the first image,
Based on the movement of the swipe input, when the size of the first image is smaller than the size of the display area of the touch screen, displaying a background image including a specified color on an outer area of the first image Methods of operating electronic devices.
제11항에 있어서,
상기 스와이프 입력이 취소된 것으로 확인되면, 상기 제1액티비티의 실행을 중단하는 동작을 더 포함하는 전자 장치의 동작 방법.
According to claim 11,
The method of operating the electronic device further comprising an operation of stopping execution of the first activity when it is determined that the swipe input is cancelled.
비일시적 기록 매체에 있어서,
전자 장치에 포함된 터치 스크린에, 제1액티비티의 제1실행 화면을 표시하는 동작;
상기 제1액티비티가 실행 중인 상태에서 제2액티비티의 실행을 요청하는 사용자 입력이 확인되면, 상기 제1실행 화면에 대응하는 제1이미지를 캡쳐한 후 제1액티비티를 종료시키는 동작;
제1액티비티를 종료한 후, 상기 터치 스크린에 상기 제2액티비티의 제2실행 화면을 표시하는 동작;
상기 제2액티비티가 실행 중인 상태에서 상기 터치 스크린에 대한 스와이프 입력이 확인되면, 상기 제1액티비티의 재실행을 시작하면서 상기 터치 스크린에 상기 제1이미지를 표시하는 동작; 및
상기 스와이프 입력의 완료에 기반하여, 상기 제2액티비티를 종료하면서 상기 터치 스크린에 상기 제1액티비티의 상기 제1실행 화면을 표시하는 동작을 수행하는 프로그램을 저장하는 기록 매체.

In the non-transitory recording medium,
displaying a first execution screen of a first activity on a touch screen included in the electronic device;
terminating the first activity after capturing a first image corresponding to the first execution screen when a user input requesting execution of the second activity is confirmed while the first activity is being executed;
displaying a second execution screen of the second activity on the touch screen after the first activity ends;
displaying the first image on the touch screen while re-executing the first activity when the swipe input to the touch screen is confirmed while the second activity is being executed; and
A recording medium storing a program for performing an operation of displaying the first execution screen of the first activity on the touch screen while terminating the second activity, based on completion of the swipe input.

KR1020210130711A 2021-08-09 2021-10-01 Electronic device for changing screen based on swipe input and method of opearating the same KR20230022772A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20210104694 2021-08-09
KR1020210104694 2021-08-09

Publications (1)

Publication Number Publication Date
KR20230022772A true KR20230022772A (en) 2023-02-16

Family

ID=85326096

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210130711A KR20230022772A (en) 2021-08-09 2021-10-01 Electronic device for changing screen based on swipe input and method of opearating the same

Country Status (1)

Country Link
KR (1) KR20230022772A (en)

Similar Documents

Publication Publication Date Title
KR20220016727A (en) Method for capturing images for multi windows and electronic device therefor
KR20230022772A (en) Electronic device for changing screen based on swipe input and method of opearating the same
US11829527B2 (en) Augmented reality device, electronic device interacting with augmented reality device, and controlling method thereof
US20230049967A1 (en) Electronic device and operation method thereof
US20240118857A1 (en) Electronic device, and method for reconstructing screen using external device
KR20230043549A (en) Method for displaying execution screen of application and electronic device supporting the same
KR20240056364A (en) Electronic device and mehtod controlling foldable display
KR20240050221A (en) Electronic device, method, and non-transitory computer readable storage medium displaying user interface for context-specific setting
KR20220072227A (en) Electronic device, and method for displaying contents in electronic device
KR20240030844A (en) Electronic device and method for magnifying continuous image in the electronic device
KR20240039549A (en) Electronic device and method for excluding broken area of display
KR20240039769A (en) Electronic device and the operation method thereof
KR20230030484A (en) Electronic device for providing a plurality of user interfaces to select data and method of operating the same
KR20240041762A (en) Electronic device and method for controlling screen displayed on flexible display
KR20240050951A (en) Electronic device and method of operation thereof
KR20230032273A (en) Method of controlling display and electronic device supporting the same
KR20240048432A (en) Electronic device for controlling release of plurality of processes and method thereof
KR20230154724A (en) Split screenshot creation method and electronic device thereof
KR20230115840A (en) Method for controlling multi-window screen and an electronic device thereof
KR20230052186A (en) Method for extending display of electronic device and electronic device supporting the same
KR20230023397A (en) Electronic device and operation method thereof
KR20230112303A (en) Electronic device method for controlling picture in picture window in the electronic device
KR20240076332A (en) Electronic device for controlling function of process corresponding to one or more messenger datasets and method thereof
KR20230116334A (en) Method for providing screen and electronic device supporting the same
KR20230089502A (en) Method and device for executing and canceling function using variable ui and user reaction in the automatic function execution process