Electronic device, method, and non-transitory computer readable storage medium for displaying execution window including execution screen

By generating multiple workspaces with controlled switching and seamless display across devices, the electronic device addresses multitasking challenges, enhancing user experience and productivity in multi-screen environments.

US20260377124A1Pending Publication Date: 2026-11-26SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/559160
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-07-15
Filing Date
2026-03-06
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing electronic devices struggle with efficient multitasking and seamless multi-screen environments, particularly when connected to external display devices, leading to degraded user experience and reduced productivity due to limitations in workspace management and linkage operations.

Method used

The implementation of a display mode that generates multiple workspaces, allowing for independent and parallel operation of execution windows with control buttons, and the ability to switch between these workspaces based on user inputs, while supporting single-instance and multi-instance application programs, and enabling seamless display across internal and external displays.

Benefits of technology

Enhances user productivity by providing a multi-screen environment with efficient workspace utilization, supporting multitasking and maintaining a consistent user experience across devices, thereby improving overall device functionality and productivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377124A1-D00000_ABST
    Figure US20260377124A1-D00000_ABST
Patent Text Reader

Abstract

An electronic device includes a display, memory storing instructions, and at least one processor including processing circuitry. The instructions that, when executed by the at least one processor individually or collectively, cause the electronic device to activate a display mode that provides one or more workspaces, generate a first workspace and a second workspace, display the first workspace including an execution window of an application program, based on a first input being received while the first workspace is displayed, switch a workspace displayed via the display from the first workspace to the second workspace, display the second workspace, while the second workspace is displayed, receive a second input for displaying, in the second workspace, the execution window, change a workspace including the execution window from the first workspace to the second workspace, and display, via the display, in the second workspace, the execution window.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATION(S)

[0001] This application is a continuation application, claiming priority under 35 U.S.C. § 365(c), of an International application No. PCT / KR2026 / 002816, filed on Feb. 13, 2026, which is based on and claims the benefit of a Korean patent application number 10-2025-0066093, filed on May 21, 2025, in the Ministry of Intellectual Property (MOIP), and of a Korean patent application number 10-2025-0095649, filed on Jul. 15, 2025, in the Ministry of Intellectual Property (MOIP), the disclosure of each of which is incorporated by reference herein in its entirety.BACKGROUND1. Field

[0002] The disclosure relates to an electronic device, a method, and a non-transitory computer readable storage medium for displaying an execution window including an execution screen.2. Description of Related Art

[0003] The electronic device may include communication circuitry. The electronic device may be connected to an external electronic device by wire via the communication circuitry. As a non-limiting example, the electronic device may be connected to the external electronic device wirelessly via the communication circuitry. The electronic device may transmit data to the external electronic device via the communication circuitry by using the wired connection or the wireless connection. For example, the data may include data for displaying a screen in the external electronic device.

[0004] The above information is presented background information only to assist with an understanding of the disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as a prior art with regard to the disclosure.SUMMARY

[0005] Aspects of the disclosure are to address at least the above-mentioned problems and / or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide an electronic device, a method, and a non-transitory computer readable storage medium for displaying an execution window including an execution screen.

[0006] Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the presented embodiments.

[0007] In accordance with an aspect the disclosure, an electronic device is provided. The electronic device may include a display. The electronic device may include memory including one or more storage media storing instructions. The electronic device may include at least one processor including processing circuitry. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the display mode is activated, generate a first workspace and a second workspace, wherein the activated display mode may be configured to disallow concurrently displaying both the first workspace and the second workspace via the display. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to display, via the display, the first workspace including an execution window of an application program. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on a first input being received while the first workspace is displayed via the display, switch a workspace displayed via the display from the first workspace to the second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on switching a workspace displayed via the display from the first workspace to the second workspace, display the second workspace via the display. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the second workspace is displayed via the display, receive a second input for displaying, in the second workspace, the execution window of the application program that is being included in the first workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the second input, change a workspace including the execution window of the application program from the first workspace to the second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on changing a workspace including the execution window of the application program from the first workspace to the second workspace, display, via the display, in the second workspace, the execution window of the application program.

[0008] In accordance with an aspect the disclosure, a method for displaying, on a display, an execution window including an execution screen is provided. The method may include activating a display mode that provides one or more workspaces each configured to display the execution screen in the execution window having execution window control buttons. The method may include, while the display mode is activated, generating a first workspace and a second workspace, wherein the activated display mode may be configured to disallow concurrently displaying both the first workspace and the second workspace via the display. The method may include displaying, via the display, the first workspace including an execution window of an application program. The method may include, based on a first input being received while the first workspace is displayed via the display, switching a workspace displayed via the display from the first workspace to the second workspace. The method may include, based on switching a workspace displayed via the display from the first workspace to the second workspace, displaying the second workspace via the display. The method may include, while the second workspace is displayed via the display, receiving a second input for displaying, in the second workspace, the execution window of the application program that is being included in the first workspace. The method may include, based on the second input, changing a workspace including the execution window of the application program from the first workspace to the second workspace. The method may include, based on changing a workspace including the execution window of the application program from the first workspace to the second workspace, displaying, via the display, in the second workspace, the execution window of the application program.

[0009] In accordance with an aspect the disclosure, one or more non-transitory computer-readable storage media is provided. The one or more non-transitory computer-readable storage media may store one or more computer programs. The one or more computer programs, when executed by at least one processor of an electronic device having a display individually or collectively, may include computer-executable instructions that cause the electronic device to activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, while the display mode is activated, generate a first workspace and a second workspace, wherein the activated display mode is configured to disallow concurrently displaying both the first workspace and the second workspace via the display. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to display, via the display, the first workspace including an execution window of an application program. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, based on a first input being received while the first workspace is displayed via the display, switch a workspace displayed via the display from the first workspace to the second workspace. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, based on switching a workspace displayed via the display from the first workspace to the second workspace, display the second workspace via the display. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, while the second workspace is displayed via the display, receive a second input for displaying, in the second workspace, the execution window of the application program that is being included in the first workspace. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, based on the second input, change a workspace including the execution window of the application program from the first workspace to the second workspace. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, based on changing a workspace including the execution window of the application program from the first workspace to the second workspace, display, via the display, in the second workspace, the execution window of the application program.

[0010] In accordance with an aspect the disclosure, an electronic device is provided. The electronic device may include a display. The electronic device may include communication circuitry. The electronic device may include memory including one or more storage media storing instructions. The electronic device may include at least one processor including processing circuitry. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the display mode is activated, generate a first workspace and a second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to display, via the display, the first workspace including a first execution window of a first application program configured to support a single-instance and a second execution window of a second application program configured to support a multi-instance. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to transmit data for displaying the second workspace in an external display device, to the external display device, via the communication circuitry. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the first workspace including the first execution window and the second execution window is displayed via the display and the second workspace is displayed in the external display device, identify an input for displaying an execution window of one of the first application program and the second application program in the second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the input for displaying an execution window of the first application program in second workspace being identified, display a visual effect in the first workspace, for guiding that displaying an execution window of the first application program in the second workspace is disallowed. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the input for displaying an execution window of the second application program in the second workspace being identified, transmit data for displaying the second workspace including an execution window of the second application program in the external display device, to the external display device, via the communication circuitry.

[0011] In accordance with an aspect the disclosure, a method for displaying an execution window including an execution screen in an electronic device having a display and communication circuitry is provided. The method may include activating a display mode that provides one or more workspaces each configured to display the execution screen in the execution window having execution window control buttons. The method may include, while the display mode is activated, generating a first workspace and a second workspace. The method may include displaying, via the display, the first workspace including a first execution window of a first application program configured to support a single-instance and a second execution window of a second application program configured to support a multi-instance. The method may include transmitting data for displaying the second workspace in an external display device, to the external display device, via the communication circuitry. The method may include, while the first workspace including the first execution window and the second execution window is displayed via the display and the second workspace is displayed in the external display device, identifying an input for displaying an execution window of one of the first application program and the second application program in the second workspace. The method may include, based on the input for displaying an execution window of the first application program in second workspace being identified, displaying a visual effect in the first workspace, for guiding that displaying an execution window of the first application program in the second workspace is disallowed. The method may include, based on the input for displaying an execution window of the second application program in the second workspace being identified, transmitting data for displaying the second workspace including an execution window of the second application program in the external display device, to the external display device, via the communication circuitry.

[0012] In accordance with an aspect the disclosure, one or more non-transitory computer readable storage media is provided. The one or more non-transitory computer readable storage media may store one or more computer programs. The one or more computer programs, when executed by at least one processor of an electronic device having a display and communication circuitry individually or collectively, may include computer-executable instructions that cause the electronic device to activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, while the display mode is activated, generate a first workspace and a second workspace. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, display, via the display, the first workspace including a first execution window of a first application program configured to support a single-instance and a second execution window of a second application program configured to support a multi-instance. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, transmit data for displaying the second workspace in an external display device, to the external display device, via the communication circuitry. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, while the first workspace including the first execution window and the second execution window is displayed via the display and the second workspace is displayed in the external display device, identify an input for displaying an execution window of one of the first application program and the second application program in the second workspace. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, based on the input for displaying an execution window of the first application program in second workspace being identified, display a visual effect in the first workspace, for guiding that displaying an execution window of the first application program in the second workspace is disallowed. The one or more computer programs, when executed by the at least one processor individually or collectively, may include computer-executable instructions that cause the electronic device to, based on the input for displaying an execution window of the second application program in the second workspace being identified, transmit data for displaying the second workspace including an execution window of the second application program in the external display device, to the external display device, via the communication circuitry.

[0013] Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure.BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other aspects, features, and advantages of certain embodiments of the disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:

[0015] FIG. 1 illustrates an example of an electronic device and an external display device connected to the electronic device.

[0016] FIGS. 2A and 2B illustrate an example of a simplified block diagram of an electronic device.

[0017] FIG. 3A illustrates an example of a workspace generated in an electronic device.

[0018] FIG. 3B illustrates an example of an electronic device displaying a workspace and an external display device displaying a workspace.

[0019] FIG. 4 illustrates an example of operations of an electronic device for changing a workspace including an execution window of an application program.

[0020] FIGS. 5A and 5B illustrate an example of an electronic device that identifies an input related to an application object in a second workspace while an execution window of an application program is included in a first workspace.

[0021] FIG. 6 illustrates an example of operations of an electronic device that maintains that a first workspace includes a first execution window of an application program and displays a second execution window of the application program in a second workspace.

[0022] FIGS. 7A and 7B illustrate an example of an electronic device that identifies an input related to an application object in a second workspace while an execution window of an application program is included in a first workspace.

[0023] FIG. 8 illustrates an example of operations of an electronic device that identify an input for displaying an execution window of an application program in a second workspace while a first workspace is displayed in the electronic device and the second workspace is displayed in an external display device.

[0024] FIG. 9 illustrates an example of an electronic device that identifies an input related to an application object in a second workspace while a first workspace is displayed in the electronic device and the second workspace is displayed in an external display device.

[0025] FIGS. 10A and 10B illustrate an example of an animation with respect to an execution window of an application program.

[0026] FIG. 11 is a block diagram of an electronic device in a network environment according to various embodiments of the disclosure.

[0027] Throughout the drawings, like reference numerals will be understood to refer to like parts, components, and structures.DETAILED DESCRIPTION

[0028] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of various embodiments of the disclosure as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the various embodiments described herein can be made without departing from the scope and spirit of the disclosure. In addition, descriptions of well-known functions and constructions may be omitted for clarity and conciseness.

[0029] The terms and words used in the following description and claims are not limited to the bibliographical meanings, but, are merely used by the inventor to enable a clear and consistent understanding of the disclosure. Accordingly, it should be apparent to those skilled in the art that the following description of various embodiments of the disclosure is provided for illustration purpose only and not for the purpose of limiting the disclosure as defined by the appended claims and their equivalents.

[0030] It is to be understood that the singular forms “a,”“an,” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a component surface” includes reference to one or more of such surfaces.

[0031] In various embodiments of the disclosure described below, a hardware approach will be described as an example. However, since the various embodiments of the disclosure include technology that uses both hardware and software, the various embodiments of the disclosure do not exclude a software-based approach.

[0032] A term referring to data (e.g., data, information, biometric information, a signal, sensor data, movement data, motion data, pressure data, reference sensing data, reference pressure data), a term referring to a value (e.g., a threshold, reference information, a reference count, a failure count, an amount of distance change, an amount of pressure data change), a term for a calculation status (e.g., an operation, a process), a term referring to an object (e.g., a visual object, an application object), a term referring to an network entity, a term referring to a component of a device, and the like, used in the following description, are exemplified for convenience of explanation. Therefore, the disclosure is not limited to terms to be described below, and another term having an equivalent technical meaning may be used. In addition, a term, such as ‘. . . unit’, ‘. . . device’, ‘. . . object’, and ‘. . . structure’, and the like used below may mean at least one shape structure or may mean a unit processing a function.

[0033] In addition, in the disclosure, the term ‘greater than’ or ‘less than’ may be used to determine whether a particular condition is satisfied or fulfilled, but this is only a description to express an example and does not exclude description of ‘greater than or equal to’ or ‘less than or equal to’. A condition described as ‘greater than or equal to’ may be replaced with ‘greater than’, a condition described as ‘less than or equal to’ may be replaced with ‘less than’, and a condition described as ‘greater than or equal to and less than’ may be replaced with ‘greater than and less than or equal to’. In addition, hereinafter, ‘A’ to ‘B’ refers to at least one of elements from A (including A) to B (including B). Hereinafter, ‘C’ and / or ‘D’ means including at least one of ‘C’ or ‘D’, that is, {‘C’, ‘D’, and ‘C’and ‘D’}.

[0034] It should be appreciated that the blocks in each flowchart and combinations of the flowcharts may be performed by one or more computer programs which include computer-executable instructions. The entirety of the one or more computer programs may be stored in a single memory device or the one or more computer programs may be divided with different portions stored in different multiple memory devices.

[0035] Any of the functions or operations described herein can be processed by one processor or a combination of processors. The one processor or the combination of processors is circuitry performing processing and includes circuitry like an application processor (AP, e.g., a central processing unit (CPU)), a communication processor (CP, e.g., a modem), a graphical processing unit (GPU), a neural processing unit (NPU) (e.g., an artificial intelligence (AI) chip), a wireless-fidelity (Wi-Fi) chip, a BluetoothTM chip, a global positioning system (GPS) chip, a near field communication (NFC) chip, connectivity chips, a sensor controller, a touch controller, a finger-print sensor controller, a display drive integrated circuit (IC), an audio CODEC chip, a universal serial bus (USB) controller, a camera controller, an image processing IC, a microprocessor unit (MPU), a system on chip (SoC), an IC, or the like.

[0036] FIG. 1 illustrates an example of an electronic device and an external display device connected to the electronic device.

[0037] Referring to FIG. 1, an electronic device 101 may be one of various types of mobile devices, such as smartphones having various form factors (e.g., a bar-type smartphone, a foldable-type smartphone, or a rollable-type smartphone), a tablet, a cellular phone, and other similar computing devices. The electronic device 101 may be referred to as a user device, a multifunctional device, or a portable device.

[0038] The electronic device 101 may include a display 120. The electronic device 101 may display a screen 121 via the display 120. The screen 121 may be referred to as a home screen. For example, the home screen may be referred to as a basic screen displayed by the electronic device 101 via the display 120. For example, the home screen may be referred to as a basic user interface (UI) displayed by the electronic device 101 via the display 120. For example, in order to display the home screen, a launcher application program may be executed in the electronic device 101. For example, the screen 121 may include a widget. For example, the screen 121 may include a plurality of application objects. For example, the plurality of application objects may be disposed in a central region of the screen 121. As a non-limiting example, a disposition of the plurality of application objects may be determined by a user. For example, the screen 121 may include an application object 123.

[0039] The electronic device 101 may receive a user input 125 for the application object 123. For example, the electronic device 101 may identify the user input 125 for the application object 123. For example, the user input 125 may include a touch input, but an embodiment is not limited thereto. The electronic device 101 may execute an application (e.g., an A application) indicated by the application object 123 according to the user input 125. For example, the electronic device 101 may display an execution screen 130 of the application via the display 120 according to execution of the application. For example, the execution screen 130 may be displayed in full screen. As a non-limiting example, although not illustrated in FIG. 1, according to an additional user input for the execution screen 130, the execution screen 130 may be displayed in at least a portion of a display region of the display 120.

[0040] The electronic device 101 may display the execution screen 130 via the display 120 according to a first display mode from among the first display mode and a second display mode. For example, the electronic device 101 may display the execution screen 130 using the entire display region of the display 120 according to the first display mode.

[0041] In the disclosure, the first display mode may be referred to as a mode for displaying, according to execution of the application (e.g., the A application), an execution screen (e.g., the execution screen 130) of the application basically in full screen. The first display mode may be related to a basic UI setting of a mobile device. For example, the mobile device may include a smartphone, a tablet, and / or a wearable device, but the embodiment is not limited thereto. For example, the basic UI setting of the mobile device may be referred to as a UI setting designed or configured for a display region of a relatively small display (e.g., the display 120) of the mobile device. For example, the basic UI setting of the mobile device may be referred to as a UI setting designed or configured for a user experience of controlling the electronic device 101 via a touch input and / or an input using a stylus pen. For example, the first display mode may be implemented to improve a user experience in an environment where a touch input, an input using the stylus pen, and / or a gesture input are mainly received rather than an input from an input device (e.g., a mouse, or a keyboard). For example, the first display mode may be referred to as a mobile mode, a tablet mode, and / or an equivalent technical term thereto. For example, the first display mode may be distinguished from the second display mode to be described later, but a standard for distinguishing between the first display mode and the second display mode may be different from a standard for distinguishing between a portrait mode of the electronic device and a landscape mode of the electronic device.

[0042] The electronic device 101 may establish a connection 110 with an external display device 102. For example, the connection 110 may include a wireless connection and / or a wired connection. The electronic device 101 may transmit or provide data to the external display device 102 via the connection 110. For example, the electronic device 101 may transmit data for displaying a screen 141 in a display 140 of the external display device 102, to the external display device 102, via the connection 110. For example, the data may include an image frame (or a video frame). For example, rendering on the screen 141 may be performed in the electronic device 101. For example, the external display device 102 may be used to output the screen 141 rendered by the electronic device 101 and may not perform an operation related to the rendering of the screen 141. In an embodiment of the disclosure, the external display device 102 may function as a simple manual output device.

[0043] The screen 141 may correspond to the screen 121. For example, the screen 121 may be based on the first display mode, and the screen 141 may be based on the second display mode to be described later. For example, the screen 141 may be a screen rendered according to the second display mode.

[0044] In an embodiment of the disclosure, the second display mode may be referred to as a mode for displaying an execution window 150 including both an execution screen 151 of the application and execution window control buttons 152, according to the execution of the application (e.g., the A application). For example, the second display mode may be referred to as a mode for providing a desktop-style UI. For example, the second display mode may be provided for a user experience similar to a user experience using a desktop computer. For example, the UI according to the second display mode may be referred to as a UI designed or configured for a user experience of controlling the electronic device 101 via a keyboard input and / or a mouse input. For example, the second display mode may provide a UI for multi-tasking of the application and / or a UI for a multi-window function. For example, in a screen 142 based on the second display mode, another execution window may be displayed together with the execution window 150 according to execution of another application. For example, at least a portion of the other execution window may be displayed superimposed on the execution window 150. For example, the second display mode may be referred to as a desktop mode, a desktop windowing mode, a multi-window mode, a desktop experience (Dex) mode, and / or an equivalent technical term thereto.

[0045] The screen 141 may be a screen reconstructed or edited from the screen 121 based on the second display mode. For example, an arrangement of application objects in the screen 141 and an arrangement of application objects in the screen 121 may be different. Nevertheless, at least a portion of application programs indicated by the application objects in the screen 141 may correspond to application programs indicated by the application objects in the screen 121. For example, the screen 141 may include an application object 143. For example, an application program (e.g., an A application program) indicated by the application object 143 in the screen 141 may be the same as an application program (e.g., the A application program) indicated by the application object 123 in the screen 121.

[0046] The screen 141 may be substantially similar to a background screen of the desktop. A UI of the screen 141 may be configured to provide the user with a user experience substantially similar to a fixed device (e.g., the desktop computer). The UI of the screen 141 may be configured to provide a user experience substantially similar to a non-portable device. For example, in screen 141, the application objects may be arranged from an upper left region of the screen 141. For example, the screen 141 may include a taskbar in a lower region of the screen 141.

[0047] The electronic device 101 may identify or receive a user input 145 for the application object 143 included in the screen 141. For example, the user input 145 may include input using a pointer, but the embodiment is not limited thereto. The electronic device 101 may execute an application program (e.g., the A application program) corresponding to the application object 143 via at least one processor of the electronic device 101 based on identifying the user input 145 for the application object 143.

[0048] Based on executing the application program according to the user input 145 for the application object 143, the electronic device 101 may transmit or provide data for displaying the screen 142 in the display 140 to the external display device 102 via the connection 110. For example, the screen 142 may be displayed in the display 140 of the external display device 102.

[0049] The screen 142 may include the execution window 150 according to the execution of the application program (e.g., the A application program) indicated by the application object 143. The screen 142 may be represented as a screen in which the execution window 150 is displayed superimposed on the screen 141. For example, the screen 142 may be displayed via the display 140 according to the second display mode from among the first display mode and the second display mode. For example, the execution window 150 may include both the execution screen 151 of the application program and the execution window control buttons 152. For example, the execution window control buttons 152 may be related to a function of changing a size of the execution window 150 and / or a function of terminating the execution window 150. For example, a function of the execution window control buttons 152 may be related to enlargement of the execution window 150, minimization of the execution window 150, and / or removal of the execution window 150, but the embodiment is not limited thereto. For example, in the execution window 150, the execution window control buttons 152 may be located above the execution screen 151 of the application program.

[0050] According to a comparative example, the electronic device 101 may execute an external output application program (e.g., a Dex application program) to output the screens 141 and 142 via the display 140 of the external display device 102. For example, the external output application program may be different from the launcher application program of the electronic device 101. For example, since the external output application program and the launcher application program are different, the electronic device 101 may display the screens 121 and 130 according to the first display mode via the display 120 while the screens 141 and 142 according to the second display mode are displayed via the display 140 by the electronic device 101. For example, while the screens 141 and 142 according to the second display mode are displayed via the display 140 of the external display device 102, the electronic device 101 may be restricted from displaying a screen according to the second display mode via the display 120. For example, while a work environment according to the second display mode is provided via the display 140 of the external display device 102, the electronic device 101 may be restricted from providing the work environment according to the second display mode via the display 120. For example, the electronic device 101 may not support a linkage operation between the electronic device 101 and the external display device 102 while the screens 141 and 142 according to the second display mode are displayed via the display 140. For example, using the display 120 of the electronic device 101 as an auxiliary screen of the external display device 102 may be restricted. For example, the user's multi-screen experience may be degraded. A method for providing an environment in which multitasking is possible to the user of the electronic device 101 may be required.

[0051] In the disclosure, while the screens according to the second display mode are displayed via the display 140 of the external display device 102 by the electronic device, a technology for displaying a screen according to the second display mode via the display of the electronic device is described. According to an embodiment of the disclosure, the electronic device may provide the environment in which the multitasking is possible to the user of the electronic device. According to an embodiment of the disclosure, the electronic device may generate one or more workspaces based on activating the second display mode.

[0052] A workspace may be referred to as an independent work environment. The workspace may be referred to as an independent UI environment (or space). Each workspace may be configured to include an execution window of an application program. Each workspace may be logically divided. For example, each workspace may be configured to operate in parallel with another workspace. For example, each workspace may be referred to as a logically separated display context in one system. For example, memory resource may be independently allocated to each workspace. The workspace will be described and illustrated in FIG. 3A.

[0053] The electronic device according to the disclosure may generate one or more workspaces. The electronic device may display a second workspace via the display of the electronic device while a first workspace is displayed in the display 140. For example, the electronic device may provide data for displaying the first workspace to the external display device 102 and display the second workspace via the display. As the workspace is displayed on each of the display of the electronic device and the display 140 of the external display device 102, a multi-screen environment may be provided to the user of the electronic device. As the multi-screen environment is provided to the user of the electronic device, work productivity of the user of the electronic device may be increased. The linkage operation performed between the electronic device 101 and the external display device 102 may be supported.

[0054] In the disclosure, a method of displaying a workspace in each of the display of the electronic device and the display 140 of the external display device 102 may be executed in the electronic device. In addition, a method for efficiently utilizing workspaces provided by the electronic device may be executed in the electronic device. For example, the method for efficiently utilizing the provided workspaces may include a method for displaying an execution window of an application program. For example, the electronic device may include components (or hardware components) for providing these methods. The components are described and illustrated with reference to FIG. 2A.

[0055] FIGS. 2A and 2B illustrate an example of a simplified block diagram of an electronic device. An electronic device 201 may be an example of the electronic device 101 of FIG. 1.

[0056] Referring to FIG. 2A, the electronic device 201 may include at least one processor 200, memory 210, a display 220, and / or communication circuitry 230. For example, the at least one processor 200, the memory 210, the display 220, and / or the communication circuitry 230 may be electronically and / or operably coupled with each other by a communication bus. In the following, hardware components being coupled may mean that a direct connection or an indirect connection between the hardware components is established by wire or wirelessly such that a second hardware component among the hardware components is controlled by a first hardware component. The hardware components illustrated in FIG. 2A have been illustrated based on different blocks, but the disclosure is not limited thereto. For example, a portion (e.g., the at least one processor 200, the memory 210, and the communication circuitry 230) of the hardware components illustrated in FIG. 2A may be included in a single integrated circuit, such as a system on chip (SoC) or a system in package (SIP). A type and / or number of the hardware components included in the electronic device 201 is not limited as illustrated in FIG. 2A. For example, the electronic device 101 may include only a portion of the hardware components illustrated in FIG. 2A.

[0057] The at least one processor 200 may include a hardware component for processing data based on executing instructions. The at least one processor 200 may include processing circuitry. The at least one processor 200 may be configured to execute instructions stored in the memory 210 individually or collectively. The at least one processor 200 may include processing circuitry. For example, the hardware component for processing data may include an arithmetic and logic unit (ALU), a floating point unit (FPU), and a field programmable gate array (FPGA). For example, the hardware component for processing data may include a central processing unit (CPU), a graphic processing unit (GPU), a display processing unit (DPU), a neural processing unit (NPU), a digital signal processor (DSP), an application processor (AP), and / or a microcontroller (MCU). The at least one processor 200 may include one or more cores. For example, the at least one processor 200 may have a structure of a multi-core processor, such as a dual core, a quad core, or a hexa core. The at least one processor 200 of FIG. 2A may be applied in substantially the same manner with respect to a processor 1120 of FIG. 11. The at least one processor 200 may be configured to control the memory 210, the display 220, and / or the communication circuitry 230.

[0058] The memory 210 may include a hardware component for storing data and / or instructions inputted to and / or outputted from the at least one processor 200. For example, the instructions may indicate a calculation and / or an operation performed by the at least one processor 200 of the electronic device 201 on data. The memory 210 may include one or more storage media. The memory 210 may include, for example, volatile memory, such as random-access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM). The volatile memory may include, for example, at least one of dynamic RAM (DRAM), static RAM (SRAM), cache RAM, or pseudo SRAM (PSRAM). The non-volatile memory may include, for example, at least one of programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, hard disk, compact disk, or embedded multimedia card (EMMC). A specific content for the memory 210 of FIG. 2A may be substantially equally applied to a content for memory 1130 of FIG. 11.

[0059] In an embodiment of the disclosure, in the memory 210 of the electronic device 201, one or more instructions (or commands) indicating a calculation and / or an operation performed by the at least one processor 200 of the electronic device 201 on data may be stored. A set of the one or more instructions may be referred to as a program, firmware, an operating system, a process, a routine, a sub-routine, an application and / or an application program.

[0060] The display 220 may include a hardware component of the electronic device 201 used to display a screen. For example, the display 220 may include light emitting elements, and circuits (e.g., transistors) that control the light emitting elements to emit light. For example, each of the light emitting elements may include an organic light emitting diode (OLED) or a micro light emitting diode (LED). However, it is not limited thereto. For example, the display 220 may include a liquid crystal display (LCD).

[0061] The display 220 according to an embodiment may include a sensor (e.g., a touch sensor panel (TSP)) for detecting an external object (e.g., a finger of a user) on the display 220. For example, based on the TSP, the electronic device 201 may detect the external object contacting the display 220 or floating on the display 220. In response to detecting the external object, the electronic device 201 may execute a function associated with a specific visual object displayed at a position on the display 220 to which the external object is contacted from among visual objects displayed on the display 220.

[0062] The communication circuitry 230 may include a hardware component for supporting transmission and / or reception of signals between the electronic device 201 and an external electronic device (e.g., an external display device 102). For example, the communication circuitry 230 may be used to establish a wired connection between the electronic device 201 and the external electronic device. As a non-limiting example, the communication circuitry 230 may be used to establish a wireless connection between the electronic device 201 and the external electronic device. For example, the communication circuitry 230 may include first communication circuitry supporting communication performed in a wireless and / or second communication circuitry supporting communication performed in a wire.

[0063] The communication circuitry 230 may include, for example, at least one of a modem, an antenna, or an optic / electronic (O / E) converter. The communication circuitry 230 may support transmission and / or reception of electrical signals based on various types of protocols, such as Ethernet, a local area network (LAN), a wide area network (WAN), wireless fidelity (WiFi), Bluetooth, Bluetooth low energy (BLE), Zigbee, long term evolution (LTE), and fifth-generation (5G) new radio (NR).

[0064] The communication circuitry 230 may support one or more designated protocols that may be used for the electronic device 201 to be directly connected to the external electronic device in a wire. For example, the communication circuitry 230 may include a high definition multimedia interface (HDMI) and / or a universal serial bus (USB) interface.

[0065] A specific content for the communication circuitry 230 of FIG. 2A may be substantially equally applied to an interface 1177, a communication module 1190, and / or an antenna module 1197 of FIG. 11.

[0066] The electronic device 201 exemplified in a description of FIG. 2A may execute at least a portion of operations exemplified in a description of FIGS. 2B, 3A, 3B, 4, 5A, 5B, 6, 7A, 7B, 8, 9, 10A, 10B, and 11. For example, the operations exemplified in the description of FIGS. 2B, 3A, 3B, 4, 5A, 5B, 6, 7A, 7B, 8, 9, 10A, 10B, and 11 may be performed, controlled, executed, or caused by (or in) the electronic device 201 according to a control of the at least one processor 200.

[0067] Referring to FIG. 2B, the electronic device 201 may include a launcher application program 271, an execution window management module 273, an application program type identification module 275, a UI management module 277, and / or one or more application programs 279.

[0068] The launcher application program 271 may be referred to as an application program used to configure, generate, or manage a home screen of the electronic device 201. For example, the home screen may be referred to as a basic screen of the electronic device 201. The launcher application program 271 may be referred to as a program (or a UI module) for managing or executing an application program, a function, and / or a service. For example, the launcher application program 271 may be referred to as a home application program, a basic UI application program, an application launcher, a UI launcher, and / or an equivalent technical term thereto. For example, for the launcher application program 271, descriptions of the launcher application program of FIG. 1 may be referred to.

[0069] The launcher application program 271 may be used to display a screen indicating a list of application program(s) in the electronic device 201 via a display (e.g., a display 220). For example, the screen indicating the list of the application programs may include a home screen and / or an application drawer screen. For example, the screen indicating the list of the application programs may include an application object corresponding to the application program. For example, according to a user input for the application object, the electronic device 201 may execute the application program (e.g., the one or more application programs 279) corresponding to the application object using the launcher application program 271.

[0070] The execution window management module 273 may be used to manage information of an execution window including an execution screen of the application program. For example, the information of the execution window may include a location of the execution window, a size of the execution window, a shape of the execution window, and / or a time when the execution window was rendered (or generated). The information of the execution window may be added, removed, or updated according to a request and / or a policy of an external module. The execution window management module 273 may provide the information of the execution window corresponding to the request to the external module according to the request of the external module. The execution window management module 273 may include information on the display (e.g., the display 220) and / or information on a workspace generated by the electronic device 201. The execution window management module 273 may be referred to as a window manager.

[0071] The application program type identification module 275 may be used to identify a type of an application program in the one or more application programs 279. For example, identifying the type of the application program may be referred to as identifying whether the application program is configured to support a single-instance or is configured to support a multi-instance. An application program configured to support the single-instance may be referred to as an application program restricted to generate only one instance at the same time point. An instance may be referred to as a specific execution object of the application program. For example, an instance of the application program may be referred to as a state in which the application program is executed and exists in memory (e.g., memory 210). In the application program configured to support the single-instance, an execution window of the corresponding application program may be included in one of one or more workspaces. An application program configured to support the multi-instance may be referred to as an application program in which a plurality instances may be generated at the same time point. As a non-limiting example, the number of instances may be 5 or less. For example, in the application program configured to support the multi-instance, an execution window of the corresponding application program may be included in one of one or more workspaces. However, an embodiment is not limited thereto. For example, one or more execution windows of the application program configured to support multi-instance may be included in one workspace. For example, each of the one or more execution windows of the application program configured to support the multi-instance may display different execution screens. The multi-instance may be referred to as multiple instances.

[0072] The electronic device 201 may identify metadata of the application program by using the application program type identification module 275. The electronic device 201 may identify a type of the application program from the metadata of the application program. The electronic device 201 may adaptively perform an operation according to the type of the application program based on an input for displaying an execution window of the application program. For example, the electronic device 201 may perform an operation of reusing an existing instance of the application program based on the application program configured to support the single-instance. As a non-limiting example, the electronic device 201 may request the UI management module 277 to display an animation using the application program type identification module 275 based on reusing the existing instance of the application program. For example, the electronic device 201 may perform an operation of generating an instance different from the existing instance of the application program based on the application program configured to support the multi-instance.

[0073] The UI management module 277 may be used to manage a workspace according to the request and / or the policy of the external module. For example, the UI management module 277 may be used to generate or remove (or destroy) the workspace. For example, the UI management module 277 may be used to add an instance of the application program to memory space of the workspace. For example, as the instance of the application program is added to the memory space of the workspace, an execution window of the application program may be included or displayed in the workspace. For example, the UI management module 277 may be used to remove the instance of the application program from the memory space of the workspace. For example, as the instance of the application program is removed from the memory space of the workspace, the execution window of the application program may be excluded from the workspace. For example, the UI management module 277 may be used to move the instance of the application program from memory space of a first workspace to memory space of a second workspace. For example, as the instance of the application program is moved from the memory space of the first workspace to the memory space of the second workspace, a workspace including the execution window of the application program may be changed from the first workspace to the second workspace. For example, the UI management module 277 may be used to display a visual effect related to the execution window. For example, the visual effect may include an animation. For example, the visual effect will be described and illustrated with reference to FIGS. 9, 10A, and / or 10B.

[0074] The one or more application programs 279 may be referred to as software programs executed in the electronic device 201. The electronic device 201 may execute the one or more application programs 279, thereby providing a function corresponding to the one or more application programs 279. The one or more application programs 279 may include the application program configured to support the single-instance and / or the application program configured to support the multi-instance.

[0075] As a non-limiting example, a module of the electronic device 201 is not limited to an embodiment of the disclosure, and at least one module may be integrated or may further include an additional module to perform an operation, and the at least one module may be implemented as hardware or software.

[0076] FIG. 3A illustrates an example of a workspace generated in an electronic device.

[0077] An electronic device 201 may generate one or more workspaces based on activation of a second display mode from among a first display mode and the second display mode. For example, for the first display mode and the second display mode, descriptions of the first display mode and descriptions of the second display mode of FIG. 1 may be referred to. For the one or more workspace, descriptions of the workspace of FIG. 1 may be referred to.

[0078] A workspace may be referred to as an independent work environment. The workspace may be referred to as an independent UI environment (or space). Each workspace may be configured to include an execution window of an application program. Each workspace may be logically divided. Each workspace in the one or more workspaces may be configured to include a plurality of execution windows for the independent work environment. For example, the workspace may be configured to display an execution screen (e.g., an execution screen 151) in an execution window (e.g., an execution window 150) having execution window buttons (e.g., execution window control buttons 152). For example, the workspace may be referred to as a UI environment configured to include the execution window of the application program. For example, memory resource may be independently allocated to each workspace. For example, memory space occupied by each workspace may be divided. For example, the memory resource may be independently allocated to each workspace. For example, each workspace may be managed by a system as a separate activity stack and a separate task. However, an embodiment is not limited thereto.

[0079] As the workspace is logically divided, density (or congestion) related to the UI may be relatively reduced. For example, the execution window (or the execution screen) of the application program may be separately managed for each workspace. For example, the execution window of the application program displayed in each workspace may be determined or configured by a user. For example, by determining the execution window of the application program displayed in each workspace by the user, productivity for the user's work may be improved. For example, the workspace may be referred to as a virtual desktop.

[0080] Referring to FIG. 3A, the electronic device 201 may provide the one or more workspaces based on the activated second display mode. For example, the one or more workspaces may include a first workspace 310 and a second workspace 340. The electronic device 201 may render the first workspace 310. The electronic device 201 may render the second workspace 340. The electronic device 201 may display one of the first workspace 310 and the second workspace 340 via a display 220. For example, concurrently displaying the first workspace 310 and the second workspace 340 via the display 220 may be disallowed.

[0081] Each of the first workspace 310 and the second workspace 340 may indicate an independent work environment. For example, each of the first workspace 310 and the second workspace 340 may independently indicate a UI. For example, the first workspace 310 may display execution windows 312 and 313, and the second workspace 340 may display execution windows 342 and 343. For example, the first workspace 310 may be used to manage the execution windows 312 and 313, and the second workspace 340 may be used to manage the execution windows 342 and 343. For example, a resource of memory (e.g., memory 210) used for the rendering of the execution windows 312 and 313 in the first workspace 310 and a resource of the memory used for the rendering of the execution windows 342 and 343 in the second workspace 340 may be distinguished.

[0082] As a non-limiting example, exchange of data indicating content between the first workspace 310 and the second workspace 340 may be basically restricted. For example, sharing of data between the first workspace 310 and the second workspace 340 may be restricted. For example, the exchange of data between the first workspace 310 and the second workspace 340 being basically restricted may be understood in terms of the first workspace 310 and the second workspace 340 being managed as the separate activity stack and the separate task by an operating system of the electronic device 201. For example, since the first workspace 310 and the second workspace 340 are managed as the separate activity stack and the separate task by the operating system of the electronic device 201, exchange of data performed at a level higher than a layer level corresponding to the operating system of the electronic device 201 may be restricted. In other words, the exchange of data between the first workspace 310 and the second workspace 340 may be possible by exchange of data performed at a level lower than the layer level corresponding to the operating system level of the electronic device 201.

[0083] The electronic device 201 may determine a workspace to be displayed via the display 220 from among the workspaces 310 and 340 according to a user input. For example, the electronic device 201 may display the determined workspace via the display 220. For example, the electronic device 201 may determine a workspace to be displayed in an external display device (e.g., an external display device 102) form among the workspaces 310 and 340 according to the user input. For example, the electronic device 201 may provide data for displaying the determined workspace to the external display device via communication circuitry (e.g., communication circuitry 230).

[0084] FIG. 3B illustrates an example of an electronic device displaying a workspace and an external display device displaying a workspace.

[0085] Referring to FIG. 3B, the electronic device 201 may display the first workspace 310 via the display 220. For example, the electronic device 201 may display the first workspace 310 via the display 220 according to the second display mode from among the first display mode and the second display mode. The first workspace 310 may display a plurality of application objects 311, an execution window 312, and / or an execution window 313. The execution window 312 may be displayed according to a user input for one of the plurality of application objects 311. The execution window 312 may include an execution screen of an application program (e.g., a B application program) and execution window control buttons (e.g., execution window control buttons 152). For example, the execution window control buttons may include a button for minimizing a size of the execution window 312, a button for maximizing the size of the execution window 312, and / or a termination button of the execution window 312.

[0086] The execution window 313 may be displayed according to a user input for one of the plurality of application objects 311. The execution window 313 may include an execution screen of an application program (e.g., an C application program) and execution window control buttons. For example, the execution window control buttons may include a button for minimizing a size of the execution window 313, a button for maximizing the size of the execution window 313, and / or a termination button of the execution window 313.

[0087] The electronic device 201 may display a taskbar 320 via the display 220. For example, the taskbar 320 may be displayed below the first workspace 310. The taskbar 320 may be located at a periphery of the first workspace 310. The taskbar 320 may be displayed in a lower region of the first workspace 310. For example, the taskbar 320 may display time information. As a non-limiting example, the taskbar 320 may not be displayed in the first workspace 310.

[0088] The taskbar 320 may include one or more application objects 321. For example, an application object included in the one or more application objects 321 may indicate an application program being executed in the electronic device 201. As a non-limiting example, the application object included in the one or more application objects 321 may be determined by the user. For example, the application object included in the one or more application objects 321 may be related to a function for managing a workspace. For example, an appearance of the application object may represent an identification number of a workspace (e.g., the first workspace 310) displayed via the display 220.

[0089] The electronic device 201 may establish a connection 303 between the electronic device 201 and the external display device 102. For example, the connection 303 may include a wireless connection and / or a wired connection. For example, communication circuitry (e.g., the communication circuitry 230) may be used for the connection 303. The electronic device 201 may transmit, via the connection 303, data to the external display device 102 by using the communication circuitry. For example, the electronic device 201 may transmit or provide data for displaying the second workspace 340 to the external display device 102 while displaying the first workspace 310 via the display 220. For example, the data for displaying the second workspace 340 may be referred to as data for the second workspace 340 rendered according to the second display mode. For example, while the first workspace 310 is displayed in the electronic device 201 (or the display 220), the second workspace 340 may be displayed in the external display device 102 (or a display 140).

[0090] The electronic device 201 may be connected to an input device 354 via the communication circuitry (e.g., the communication circuitry 230). Although the connection between the electronic device 201 and the input device 354 is illustrated as the wireless connection in FIG. 3A, as a non-limiting example, the connection between the electronic device 201 and the input device 354 may include the wired connection. For example, the input device 354 may include a keyboard 354-1 and / or a mouse 354-2, but an embodiment is not limited thereto. For example, the electronic device 201 may identify a signal transmitted from the input device 354 as an input of the electronic device 201. For example, the electronic device 201 may display a pointer 305 corresponding to the input device 354 via the display 220. For example, the pointer 305 may indicate a location where a user input is provided. For example, the pointer 305 may move in the first workspace 310 according to the signal transmitted from the input device 354. For example, a movement of the pointer 305 may correspond to a movement of the input device 354 (e.g., the mouse 354-2). As a non-limiting example, the movement of the pointer 305 may be controlled according to a touch input received via the display 220. For example, a location of the pointer 305 may correspond to a location of a contact point of the touch input identified via the display 220. For example, the electronic device 201 may control elements included in the first workspace 310 by using the pointer 305.

[0091] As a non-limiting example, the pointer 305 may move from the second workspace 340 to the first workspace 310. For example, the pointer 305 located in the first workspace 310 may move to a right periphery of the second workspace 340. For example, as the pointer 305 moves to the right periphery of the first workspace 310, it may be displayed in a left periphery of the second workspace 340. For example, after the pointer 305 moves to the second workspace 340, the pointer 305 may be used to control elements included in the second workspace 340. For example, a multi-screen experience of the user of the electronic device 201 may be enhanced by moving between the workspaces 310 and 340 in which the pointer 305 is displayed.

[0092] The external display device 102 may display the second workspace 340 via the display 140. Rendering on the second workspace 340 may be performed in the electronic device 201. For example, the electronic device 201 may render the second workspace 340 according to the second display mode from among the first display mode and the second display mode. For example, the electronic device 201 may transmit data for the rendered second workspace 340 to the external display device 102 via the communication circuitry (e.g., the communication circuitry 230).

[0093] The second workspace 340 may display a plurality of application objects 341, the execution window 342, and / or the execution window 343. The execution window 342 may be displayed according to a user input for one of the plurality of application objects 341. The execution window 342 may include an execution screen of an application program (e.g., a D application program) and execution window control buttons (e.g., execution window control buttons 152). For example, the execution window control buttons may include a button for minimizing a size of the execution window 342, a button for maximizing the size of the execution window 342, and / or a termination button of the execution window 342.

[0094] The execution window 343 may be displayed according to a user input for one of the plurality of application objects 341. The execution window 343 may include an execution screen of an application program (e.g., an E application program) and execution window control buttons. For example, the execution window control buttons may include a button for minimizing a size of the execution window 343, a button for maximizing the size of the execution window 343, and / or a termination button of the execution window 343.

[0095] The electronic device 201 may transmit data for displaying a taskbar 350 via the connection 303 via the communication circuitry 230. The taskbar 350 may be displayed below the second workspace 340 via the display 140 of the external display device 102. As a non-limiting example, the taskbar 350 may not be displayed via the display 140 of the external display device 102. For example, the taskbar 350 may be substantially the same as the taskbar 320. Since the taskbar 350 may be substantially the same as the taskbar 320, a redundant description may be omitted. The taskbar 350 may share a portion of elements of the taskbar 320. For example, the taskbar 350 may include one or more application objects 351. For example, at least a portion of the one or more application objects 351 may correspond to the application objects 321. As a non-limiting example, an appearance of an application object related to a function for managing a workspace in the one or more application objects 351 may represent an identification number of a workspace (e.g., the second workspace 340) displayed via the display 140.

[0096] According to an embodiment of the disclosure, a first case where the first workspace 310 is displayed in the display 220 of the electronic device 201 and the second workspace 340 is displayed in the display 140 of the external display device 102 may be understood as being distinguished from a second case where a first screen corresponding to a first portion of one workspace is displayed in the display 220 of the electronic device 201 and a second screen corresponding to a second portion of the one workspace is displayed in the display 140 of the external display device 102. For example, a method for moving the execution windows 312 and 313 from the first workspace 310 to the second workspace 340 in the first case may differ from a method for moving an execution window in the first screen from the first screen to the second screen in the second case.

[0097] According to an embodiment of the disclosure, the execution windows 312 and 313 included in the first workspace 310 may move in the first workspace 310 according to a drag input using the pointer 305. However, the execution windows 312 and 313 included in the first workspace 310 may be disallowed to move from the first workspace 310 to the second workspace 340 according to the drag input using the pointer 305. For example, the windows 312 and 313 may be disallowed to move from the first workspace 310 to the workspace 340 according to a drag and drop input. For example, the first workspace 310 and the second workspace 340 may be logically separated from each other. The execution windows 312 and 313 in the first workspace 310 may be dependent on the first workspace 310. For example, since the first workspace 310 and the second workspace 340 are logically separated, the execution windows 312 and 313 may be restricted from moving from the first workspace 310 to the second workspace 340. For example, a region of the memory (e.g., the memory 210) allocated to render the first workspace 310 and a region of the memory allocated to render the second workspace 340 may be distinguished.

[0098] FIG. 4 illustrates an example of operations of an electronic device for changing a workspace including an execution window of an application program.

[0099] The operations of the electronic device (e.g., an electronic device 201) illustrated in FIG. 4 may be executed, performed, or controlled by at least one processor (e.g., at least one processor 200). For example, the application program may include an application program configured to support a single-instance.

[0100] Referring to FIG. 4, in operation 401, the electronic device 201 may activate a display mode that provides one or more workspaces. For example, the display mode that provides the one or more workspaces may be referred to as the second display mode illustrated in FIG. 1. For example, each workspace in the one or more workspaces may include an execution window (e.g., an execution window 150) according to execution of the application program. For example, the execution window may include or have execution window control buttons (e.g., execution window control buttons 152) and an execution screen (e.g., an execution screen 151) of the application program.

[0101] In operation 403, the electronic device 201 may generate a first workspace (e.g., a first workspace 310) and a second workspace (e.g., a second workspace 340). For example, the electronic device 201 may generate the first workspace and the second workspace while the display mode providing the one or more workspaces is activated.

[0102] According to an embodiment of the disclosure, the electronic device 201 may identify whether a pre-generated workspace remains based on the activation of the display mode. For example, the electronic device 201 may generate the first workspace based on identifying that the pre-generated workspace does not remain. For example, the electronic device 201 may generate the second workspace in response to a user input for generating a workspace. For example, the electronic device 201 may generate the second workspace in response to identifying an external display device (e.g., an external display device 102) via communication circuitry (e.g., communication circuitry 230). For example, the electronic device 201 may generate the second workspace based on identifying that it is connected to the external display device via the communication circuitry (e.g., the communication circuitry 230).

[0103] According to an embodiment of the disclosure, the electronic device 201 may utilize the pre-generated workspace as the first workspace based on identifying that the pre-generated workspace remains. For example, the electronic device 201 may generate the second workspace in response to the user input for generating the workspace. For example, the electronic device 201 may generate the second workspace in response to identifying the external display device (e.g., the external display device 102) via the communication circuitry (e.g., the communication circuitry 230). For example, the electronic device 201 may generate the second workspace based on identifying that it is connected to the external display device via the communication circuitry (e.g., the communication circuitry 230).

[0104] According to an embodiment of the disclosure, the electronic device 201 may display one of the first workspace and the second workspace via a display (e.g., a display 220). However, it may not be possible for the electronic device 201 to concurrently display both the first workspace and the second workspace via the display220. For example, the display mode that provides the one or more workspaces may be configured to disallow both the first workspace and the second workspace from concurrently displaying via display 220.

[0105] In operation 405, the electronic device 201 may display the first workspace including the execution window of the application program via the display (e.g., the display 220). For example, the execution window of the application program may be displayed in the first workspace.

[0106] In operation 407, the electronic device 201 may switch a workspace displayed via the display 220 from the first workspace to the second workspace based on a first input received while the first workspace is displayed via the display 220.

[0107] In operation 409, the electronic device 201 may display the second workspace via the display 220 based on switching the workspace displayed via the display 220 from the first workspace to the second workspace.

[0108] In operation 411, the electronic device 201 may receive a second input for displaying the execution window of the application program in the second workspace while the second workspace is displayed via the display 220. For example, the second input may include a user input for an application object in the second workspace. For example, the second input may include a user input for an application object (e.g., one of a plurality of application objects 341) in a home screen. For example, the second input may include a user input for an application object in a taskbar (e.g., a taskbar 320) displayed via display 220.

[0109] According to an embodiment of the disclosure, the electronic device 201 may obtain an application program execution request message by using a launcher application program 271, based on the second input. For example, the application program execution request message may include a code, such as ‘{app_ID: “B”, request: “launch”, supports_multi_instance: “false”}. For example, the launcher application program 271 may provide the application program execution request message to an application program type identification module 275.

[0110] A type of the application program may be identified by using the application program type identification module 275. For example, the electronic device 201 may identify the application program configured to support the single-instance. For example, based on identifying the application program configured to support the single-instance, the electronic device 201 may identify whether a pre-generated instance remains in another workspace. For example, the application program type identification module 275 may provide a confirmation message of the pre-generated instance to an execution window management module 273. For example, the confirmation message of the pre-generated instance may include a code, such as ‘{app_ID: “B”, request: “find”}’.

[0111] According to an embodiment of the disclosure, the electronic device 201 may identify that the execution window of the application program is included in the first workspace based on identifying the application program configured to support the single-instance. For example, the electronic device 201 may identify identification information (e.g., a workspace identifier (ID)) of the first workspace including the execution window of the application program and identification information (e.g., an instance ID) of the execution window of the application program by using the execution window management module 273. For example, the execution window management module 273 may provide an identification information message to the application program type identification module 275. For example, the identification information message may include a code, such as ‘{app_ID: “B”, instance_ID: “B1”, workspace_ID: “1”}’. For example, the electronic device 201 may identify identification information of the second workspace in which the execution window of the application program is to be included.

[0112] According to an embodiment of the disclosure, the electronic device 201 may identify a message requesting to move the execution window of the application program from the first workspace to the second workspace based on the identification information of the first workspace, the identification information of the second workspace, and the identification information of the execution window of the application program. For example, the message may include a code, such as ‘{instance_ID: “B1”, request: “move”, source_workspace: “1”, target_workspace: “2”}’. For example, the message may be provided from the application program type identification module 275 to a UI management module 277. For example, the electronic device 201 may perform operation 413 to be described later based on the message.

[0113] In the operation 413, the electronic device 201 may change a workspace including the execution window of the application program from the first workspace to the second workspace. For example, the execution window of the application program may be excluded from the first workspace. For example, the execution window of the application program may be added to the second workspace. For example, the electronic device 201 may move an instance of the application program from memory space of the first workspace to memory space of the second workspace.

[0114] In operation 415, based on changing the workspace including the execution window of the application program from the first workspace to the second workspace, the electronic device 201 may display the execution window of the application program in the second workspace via the display 220.

[0115] FIGS. 5A and 5B illustrate an example of an electronic device that identifies an input related to an application object in a second workspace while an execution window of an application program is included in a first workspace. For example, a display mode of an electronic device 201 may be a second display mode from among a first display mode and the second display mode.

[0116] Referring to FIG. 5A, in an example 501, the electronic device 201 may display a first workspace 510 via a display 220. For example, the first workspace 510 may include an execution window 511 and an execution window 512. For example, the execution window 511 and the execution window 512 may be displayed in the first workspace 510. For example, the execution window 511 may be superimposed on a portion of the execution window 512. For example, the execution window 511 may be displayed in front of the execution window 512. The electronic device 201 may identify or receive an input for switching a workspace displayed via the display 220 while the first workspace 510 is displayed. Based on the input for switching the workspace displayed via the display 220, the example 501 may be changed to an example 502. For example, the input for switching the workspace may be received while a recent view screen is displayed. For example, the recent view screen may include a user interface (UI) object corresponding to the first workspace 510 and a UI object corresponding to a second workspace 520 to be described later. For example, the input for switching the workspace may include a user input for the UI object corresponding to the second workspace 520.

[0117] In the example 502, the electronic device 201 may display the second workspace 520 via the display 220. For example, the second workspace 520 may include an execution window 513. For example, the execution window 513 may be displayed in the second workspace 520. For example, the electronic device 201 may display a taskbar 320 below the second workspace 520 via the display 220. For example, the taskbar 320 may include one or more application objects 321. For example, the one or more application objects 321 may include an application object 521, an application object 522, and / or an application object 523. For example, the application object 521 may correspond to the execution window 511 included in the first workspace 510. For example, while an application program (e.g., a B application program) corresponding to the execution window 511 is being executed in the electronic device 201, the application object 521 may be displayed in the taskbar 320. For example, the application object 522 may correspond to the execution window 512 included in the first workspace 510. For example, while an application program (e.g., a C application program) corresponding to the execution window 512 is being executed in the electronic device 201, the application object 522 may be displayed in the taskbar 320. For example, the application object 523 may correspond to the execution window 513 included in the second workspace 520. For example, while an application program (e.g., D application program) corresponding to the execution window 513 is being executed in the electronic device 201, the application object 523 may be displayed in the taskbar 320.

[0118] While the second workspace 520 is displayed, the electronic device 201 may receive or identify an input for displaying an execution window of the application program (e.g., the B application program) in the second workspace 520. For example, the input for displaying the execution window of the application program (e.g., the B application program) in the second workspace 520 may include an input for the application object 521. For example, the input for the application object 521 may include a user input 525 for the application object 521. As a non-limiting example, the input for displaying the execution window of the application program (e.g., the B application program) in the second workspace 520 may include a user input 525 for an application object (e.g., corresponding to the B application program) among a plurality of application objects (e.g., a plurality of application objects 341) included in the second workspace 520.

[0119] An application program (e.g., the B application program) corresponding to the application object 521 may be configured to support a single-instance. For example, an instance of the application program (e.g., the B application program) corresponding to the execution window 511 may be moved from memory space of the first workspace 510 to memory space of the second workspace 520. For example, the electronic device 201 may change a workspace including the execution window 511 from the first workspace 510 to the second workspace 520 based on receiving the input for displaying the execution window of the application program (e.g., the B application program) in the second workspace 520. For example, the execution window 511 may be excluded from the first workspace 510 and included in the second workspace 520. For example, as the workspace including the execution window 511 is changed from the first workspace 510 to the second workspace 520, the example 502 may be changed to an example 503.

[0120] In the example 503, the electronic device 201 may display the execution window 511 in the second workspace 520 via the display 220. For example, the second workspace 520 may include the execution window 511. For example, the execution window 513 may be displayed in the second workspace 520. The execution window 511 may be displayed in the second workspace 520 by being superimposed on at least a portion of the execution window 513. For example, the execution window 511 may be displayed in front of the execution window 513.

[0121] A size of the execution window 511 displayed in the second workspace 520 may correspond to a size of the execution window 511 that was displayed in the first workspace 510. For example, the size of the execution window 511 displayed in the second workspace 520 may be substantially the same as the size of the execution window 511 that was displayed in the first workspace 510. However, an embodiment is not limited thereto. For example, the size of the execution window 511 displayed in the second workspace 520 may be a predetermined size. As a non-limiting example, the size of the execution window 511 displayed in the second workspace 520 may be determined according to a region that is not occupied by another execution window (e.g., the execution window 513) from among a region of the second workspace displayed via the display 220. For example, the size of the execution window 511 may be determined as a size not to be superimposed on the other execution window (e.g., the execution window 513).

[0122] A location of the execution window 511 displayed in the second workspace 520 may correspond to a location of the execution window 511 that was displayed in the first workspace 510. For example, a coordinate of a reference point of the execution window 511 displayed in the second workspace 520 may be substantially the same as a coordinate of a reference point of the execution window 511 that was displayed in the first workspace 510. For example, the reference point may include a vertex of the execution window 511 and / or a center point of the execution window 511. However, the embodiment is not limited thereto. For example, the location of the execution window 511 displayed in the second workspace 520 may be a predetermined location. For example, the execution window 511 may be located in the second workspace 520, so that the center point of the execution window 511 corresponds to a center of a display region of the display 220. As a non-limiting example, the location of the execution window 511 displayed in the second workspace 520 may be determined according to a region that is not occupied by another execution window (e.g., the execution window 513) from among a region of the second workspace displayed via the display 220. For example, the location of the execution window 511 may be determined as a location not to be superimposed on the other execution window (e.g., the execution window 513).

[0123] An execution screen in the execution window 511 displayed in the second workspace 520 may correspond to an execution screen in the execution window 511 that was displayed in the first workspace 510. For example, the execution screen in the execution window 511 displayed in the second workspace 520 may be substantially the same as the execution screen in the execution window 511 that was displayed in the first workspace 510. For example, content indicated by the execution screen in the execution window 511 displayed in the second workspace 520 may be substantially the same as content indicated by the execution screen in the execution window 511 that was displayed in the first workspace 510.

[0124] The electronic device 201 may identify or receive an input for switching workspace displayed via the display 220 while the second workspace 520 is displayed. Based on the input for switching the workspace displayed via the display 220, the example 503 may be changed to an example 504.

[0125] In the example 504, the electronic device 201 may display the first workspace 510 from which the execution window 511 is excluded via the display 220. For example, the first workspace 510 may include the execution window 512 from among the execution window 511 and the execution window 512. For example, since the execution window 511 is included in the second workspace 520, the execution window 511 may be terminated in the first workspace 510. For example, unlike the example 501, in the example 504, the execution window 511 may be refrained from being displayed in the first workspace 510. For example, the execution window 511 may cease to be displayed in the first workspace 510. For example, the execution window 511 may be restricted from being displayed in the first workspace 510.

[0126] Referring to FIG. 5B, in an example 505, the electronic device 201 may display the first workspace 510 via the display 220. For example, the first workspace 510 may include the execution window 511 and the execution window 512. For example, the execution window 511 and the execution window 512 may be displayed in the first workspace 510. A screen displayed via the display 220 of the electronic device 201 in the example 505 may correspond to the screen displayed via the display 220 of the electronic device 201 in the example 501 of FIG. 5A.

[0127] The electronic device 201 may establish a connection 553 with an external display device 102. For example, the connection 553 may be established via communication circuitry (e.g., communication circuitry 230). For example, the connection 553 may be an example of the connection 303 of FIG. 3B. For example, the connection 553 may include a wireless connection and / or a wired connection.

[0128] The electronic device 201 may provide or transmit, via the communication circuitry 230 to the external display device 102, data for displaying the second workspace 520 in the external display device 102 by using the connection 553. For example, the data may include an image frame (or a video frame). For example, rendering on the second workspace 520 may be performed in the electronic device 201. For example, the external display device 102 may be used to output the rendered second workspace 520 rendered by the electronic device 201, and may not perform an operation related to the rendering of the second workspace. In an embodiment of the disclosure, the external display device 102 may function as a simple manual output device. For example, the second workspace 520 may be displayed via a display 140 of the external display device 102. For example, the second workspace 520 may include the execution window 513. For example, the execution window 513 may be displayed in the second workspace 520. In the example 505, a screen displayed via the display 140 of the external display device 102 may correspond to the screen displayed via the display 220 of the electronic device 201 in the example 502 of FIG. 5A.

[0129] The external display device 102 may display a taskbar 350 below the second workspace 520 via the display 140. The taskbar 350 may correspond to the taskbar 320 displayed via the display 220 of the electronic device 201. For example, the taskbar 350 may be substantially the same as the taskbar 320. For example, one or more application objects 351 in the taskbar 350 may share at least a portion of the one or more application objects 321 in the taskbar 320. For example, the one or more application objects 351 may include an application object 521, an application object 522, and / or an application object 523. For example, the application object 521 may correspond to the execution window 511 included in the first workspace 510. For example, while the application program (e.g., the B application program) corresponding to the execution window 511 is being executed in the electronic device 201, the application object 521 may be displayed in the taskbar 350.

[0130] The electronic device 201 may receive or identify an input for displaying the execution window of the application program (e.g., the B application program) in the second workspace 520. For example, the input for displaying the execution window of the application program (e.g., the B application program) in the second workspace 520 may include a user input 555 for an application object (e.g., corresponding to the B application program) among a plurality of application objects (e.g., the plurality of application objects 341) included in the second workspace 520.

[0131] The application program (e.g., the B application program) may be configured to support the single-instance. For example, an instance of the application program (e.g., the B application program) corresponding to the execution window 511 may be moved from the memory space of the first workspace 510 to the memory space of the second workspace 520. For example, the electronic device 201 may change a workspace including the execution window 511 from the first workspace 510 to the second workspace 520 based on receiving the input for displaying the execution window of the application program (e.g., the B application program) in the second workspace 520. For example, the execution window 511 may be excluded from the first workspace 510 and included in the second workspace 520. For example, as the workspace including the execution window 511 is changed from the first workspace 510 to the second workspace 520, the example 505 may be changed to an example 506.

[0132] According to an embodiment of the disclosure, although not illustrated, the electronic device 201 may identify a user input (e.g., the user input 555) for the application object 521. The electronic device 201 may perform minimization of the execution window 511 included in the first workspace 510 based on identifying the user input for the application object 521. For example, the minimization may be referred to as hiding processing.

[0133] In the example 506, the electronic device 201 may display the first workspace 510 from which the execution window 511 is excluded via the display 220. For example, the first workspace 510 may include the execution window 512 from among the execution window 511 and the execution window 512. For example, the execution window 511 may cease to be displayed in the first workspace 510. For example, the execution window 511 may be restricted from being displayed in the first workspace 510. A screen displayed via the display 220 of the electronic device 201 in the example 506 may correspond to the screen displayed via the display 220 of the electronic device 201 in the example 504 of FIG. 5A.

[0134] The electronic device 201 may provide or transmit, via the communication circuitry 230 to the external display device 102, data for displaying the second workspace 520 including the execution window 511 and the execution window 513 in the external display device 102 by using the connection 553. For example, the execution window 511 may be displayed in the second workspace 520 via the display 140 of the external display device 102. In the example 506, a screen displayed via the display 140 of the external display device 102 may correspond to the screen displayed via the display 220 of the electronic device 201 in the example 503 of FIG. 5A. For a size of the execution window 511 displayed in the second workspace 520, a location of the execution window 511 displayed in the second workspace 520, and / or an execution screen in the execution window 511 displayed in the second workspace 520, descriptions of the example 503 of FIG. 5A may be referred to.

[0135] FIG. 6 illustrates an example of operations of an electronic device that maintains that a first workspace includes a first execution window of an application program and displays a second execution window of the application program in a second workspace.

[0136] The operations of the electronic device (e.g., an electronic device 201) illustrated in FIG. 6 may be executed, performed, or controlled by at least one processor (e.g., at least one processor 200). For example, the application program may include an application program configured to support a multi-instance.

[0137] Referring to FIG. 6, in operation 601, the electronic device 201 may activate a display mode that provides one or more workspaces. The operation 601 may correspond to the operation 401 of FIG. 4. For the operation 601, descriptions of the operation 401 may be referred to.

[0138] In operation 603, the electronic device 201 may generate a first workspace and a second workspace. The operation 603 may correspond to the operation 403 of FIG. 4. For the operation 603, descriptions of the operation 403 may be referred to.

[0139] In operation 605, the electronic device 201 may display the first workspace including a first execution window (e.g., an execution window 512 of FIG. 7) of the application program via a display (e.g., a display 220). The operation 605 may correspond to the operation 405 of FIG. 4. For the operation 605, descriptions of the operation 405 may be referred to.

[0140] In operation 607, the electronic device 201 may switch a workspace displayed via the display 220 from the first workspace to the second workspace, based on a first input received while the first workspace is displayed via the display 220. The operation 607 may correspond to the operation 407 of FIG. 4. For the operation 607, descriptions of the operation 407 may be referred to.

[0141] In operation 609, the electronic device 201 may display the second workspace via the display 220, based on switching the workspace displayed via the display 220 from the first workspace to the second workspace. The operation 609 may correspond to the operation 409 of FIG. 4. For the operation 609, descriptions of the operation 409 may be referred to.

[0142] In operation 611, the electronic device 201 may receive a second input for displaying an execution window of the application program in the second workspace while the second workspace is displayed via the display 220. The operation 611 may correspond to the operation 411 of FIG. 4. For the operation 611, descriptions of the operation 411 may be referred to. For example, the application program may be configured to support the multi-instance.

[0143] According to an embodiment of the disclosure, the electronic device 201 may obtain an application program execution request message by using a launcher application program 271 based on the second input. For example, the application program execution request message may include a code, such as ‘{app_ID: “C”, request: “launch”, supports_multi_instance: “true”}’. For example, the launcher application program 271 may provide the application program execution request message to an application program type identification module 275.

[0144] A type of the application program may be identified by using the application program type identification module 275. For example, the electronic device 201 may identify the application program configured to support the multi-instance. For example, the electronic device 201 may request generation (or execution) of a new instance based on identifying the application program configured to support the multi-instance. For example, the application program type identification module 275 may provide a generation request message of an instance to the application program configured to support the multi-instance from among one or more application programs 279. For example, the generation request message of the instance may include a code, such as ‘{request: “new_instance”}’.

[0145] The electronic device 201 may generate or execute the new instance by using the application program configured to support the multi-instance. For example, the electronic device 201 may obtain identification information of the generated instance. For example, the application program configured to support the multi-instance may provide a message including the identification information of the instance to the application program type identification module 275. For example, the message may include a code, such as ‘{app_ID: “C”, instance_ID: “C2”}’.

[0146] According to an embodiment of the disclosure, the electronic device 201 may identify a message requesting to display the execution window of the application program in the second workspace based on the identification information of the generated instance and identification information of the second workspace. For example, the message may include a code, such as ‘{instance_ID: “C2”, request: “open”, target_workspace: “2”}’. For example, the electronic device 201 may perform operation 613 to be described later based on the message.

[0147] In the operation 613, the electronic device 201 may maintain that the first execution window of the application program is included in the first workspace based on the application program configured to support the multi-instance.

[0148] In operation 615, the electronic device 201 may display a second execution window of the application program in the second workspace via the display 220 based on the application program configured to support the multi-instance. For example, the electronic device 201 may render the second execution window (e.g., an execution window 731 of FIG. 7) of the application program. For example, the second execution window of the application program may be added or included in the second workspace. For example, the electronic device 201 may add an instance of the application program to memory space of the second workspace.

[0149] FIGS. 7A and 7B illustrate an example of an electronic device that identifies an input related to an application object in a second workspace while an execution window of an application program is included in a first workspace.

[0150] For example, a display mode of an electronic device 201 may be a second display mode from among a first display mode and the second display mode.

[0151] Referring to FIG. 7A, in an example 701, the electronic device 201 may display a first workspace 510 via a display 220. For example, the first workspace 510 may include an execution window 511 and an execution window 512. For example, the execution window 511 and the execution window 512 may be displayed in the first workspace 510. Since the example 701 may be substantially the same as the example 501 of FIG. 5A, a redundant description may be omitted. The electronic device 201 may identify or receive an input for switching a workspace displayed via the display 220 while the first workspace 510 is displayed. Based on the input for switching the workspace displayed via the display 220, the example 701 may be changed to an example 702.

[0152] In the example 702, the electronic device 201 may display a second workspace 520 via the display 220. For example, an execution window 513 may be displayed in the second workspace 520. For example, the second workspace 520 may include the execution window 513. The example 702 may correspond to the example 502 of FIG. 5A. Among the descriptions of the example 502, a redundant description may be omitted. While the second workspace 520 is displayed, the electronic device 201 may receive or identify an input for displaying an execution window of an application program (e.g., a C application program) in the second workspace 520. For example, the input for displaying the execution window of the application program (e.g., the C application program) in the second workspace 520 may include an input for an application object 522. For example, the input for the application object 522 may include a user input 721 for the application object 522.

[0153] The application program (e.g., the C application program) corresponding to the application object 522 may be configured to support a multi-instance. For example, an instance of the application program (e.g., the C application program) corresponding to the execution window 512 may be generated based on the input for displaying the execution window of the application program (e.g., the C application program) in the second workspace 520. For example, the generated instance may be added or included in memory space of the second workspace 520. For example, an existing instance of the application program may be included in memory space of the first workspace 510, and the generated instance may be included in the memory space of the second workspace 520.

[0154] The electronic device 201 may maintain a workspace including the execution window 511 as the first workspace 510 based on receiving the input for displaying the execution window of the application program (e.g., the C application program) in the second workspace 520. For example, an execution window 731 of the application program (e.g., the C application program) may be rendered. For example, as the execution window 731 is rendered, the example 702 may be changed to an example 703.

[0155] As a non-limiting example, one or more workspaces generated by the electronic device 201 may include the first workspace 510, the second workspace 520, and a third workspace. For example, in the example 702, a state of the first workspace 510 and a state of the third workspace may be a background state that is not displayed via the display 220. For example, a state of the second workspace 520 may be a foreground state displayed via the display 220. In an embodiment of the disclosure, there may be a case in which an execution window of the application program (e.g., the C application program) corresponding to the application object 522 is included in the third workspace. For example, the execution window of the application program (e.g., the C application program) included in the third workspace may be distinguished from the execution window 512. For example, the electronic device 201 may change a workspace including the execution window included in the third workspace based on an input for displaying the execution window of the application program (e.g., the C application program) in the second workspace 520. For example, based on the input for displaying the execution window of the application program (e.g., the C application program) in the second workspace 520, a framework of the electronic device 201 may request to display the execution window of the application program (e.g., the C application program) included in the third workspace, in the second workspace 520. For example, the request may be related to trampoline activity. For example, the electronic device 201 may change a workspace including the execution window from the third workspace to the second workspace 520. For example, the execution window may be excluded from the third workspace in the background state and included in the second workspace 520 in the foreground state. For example, the execution window may include the execution window 731 of the example 703. For example, as the execution window 731 is included in the second workspace 520, the example 702 may be changed to the example 703.

[0156] In the example 703, the electronic device 201 may display the execution window 731 in the second workspace 520 via the display 220. For example, the second workspace 520 may include the execution window 731 and the execution window 513. For example, the execution window 513 may be displayed in the second workspace 520. The execution window 731 may be displayed superimposed on at least a portion of the execution window 513, in the second workspace 520. For example, the execution window 731 may be displayed in front of the execution window 513.

[0157] According to an embodiment of the disclosure, a size of the execution window 731 displayed in the second workspace 520 may be a predetermined size. For example, the predetermined size may be determined by a user. For example, the size of the execution window 731 displayed in the second workspace 520 may be determined by a size of another execution window (e.g., the execution window 512) of the application program (e.g., the C application program) corresponding to the execution window 731. For example, the size of the execution window 731 displayed in the second workspace 520 may be substantially the same as the size of the execution window 512 that was displayed in the first workspace 510 of the example 701. As a non-limiting example, the size of the execution window 731 displayed in the second workspace 520 may be determined as a size not to be superimposed on another execution window (e.g., the execution window 513) displayed in the second workspace 520.

[0158] According to an embodiment of the disclosure, a location of the execution window 731 displayed in the second workspace 520 may be a predetermined location. For example, the execution window 731 may be located in the second workspace 520 to include a center point of a display region of the display 220. For example, the location of the execution window 731 displayed in the second workspace 520 may be determined according to an application program usage history. For example, the execution window 731 may be displayed at a location where the previous execution window of the application program (e.g., the C application program) corresponding to the execution window 731 was displayed. For example, the execution window 731 may be displayed at a location where the previous execution window is terminated. As a non-limiting example, a location of the execution window 511 may be determined as a location not to be superimposed on the other execution window (e.g., the execution window 513) displayed in the second workspace 520.

[0159] According to an embodiment of the disclosure, an execution screen in the execution window 731 displayed in the second workspace 520 may be an execution screen of a predetermined application (e.g., the C application program).

[0160] The electronic device 201 may identify or receive an input for switching workspace displayed via the display 220 while the second workspace 520 is displayed. Based on the input for switching the workspace displayed via the display 220, the example 703 may be changed to an example 704.

[0161] In the example 704, the electronic device 201 may display the first workspace 510 in which the execution window 511 is not excluded via the display 220. For example, the first workspace 510 may include the execution window 511 and the execution window 512.

[0162] Referring to FIG. 7B, in an example 705, the electronic device 201 may display the first workspace 510 via the display 220. For example, the first workspace 510 may include the execution window 511 and the execution window 512. Since the example 705 may be substantially the same as the example 505 of FIG. 5B, a redundant description may be omitted.

[0163] The electronic device 201 may establish a connection 553 with an external display device 102. For example, the connection 553 may be established via communication circuitry (e.g., communication circuitry 230). For example, the connection 553 may be an example of the connection 303 of FIG. 3B. For example, the connection 553 may include a wireless connection and / or a wired connection.

[0164] The electronic device 201 may provide or transmit, via the communication circuitry 230 to the external display device 102, data for displaying the second workspace 520 in the external display device 102 by using the connection 553. For example, the second workspace 520 may be displayed via a display 140 of the external display device 102. For example, the electronic device 201 may transmit, to external display device 102, the data for displaying the second workspace 520 including the execution window 513 in the external display device 102 by using the connection 553. For example, the second workspace 520 may include the execution window 513.

[0165] The external display device 102 may display a taskbar 350 below the second workspace 520 via the display 140. The electronic device 201 may receive or identify an input for displaying an execution window of the application program (e.g., the C application program) in the second workspace 520. For example, the input for displaying the execution window of the application program (e.g., the C application program) in the second workspace 520 may include a user input 751 for an application object (e.g., corresponding to the C application program) from among a plurality of application objects (e.g., a plurality of application objects 341) included in the second workspace 520.

[0166] The application program (e.g., the C application program) may be configured to support the multi-instance. For example, an instance of the application program (e.g., the C application program) corresponding to the execution window 512 may be generated. For example, the generated instance may be added to the memory space of the second workspace 520. For example, an existing instance of the application program may be included in the memory space of the first workspace 510, and the generated instance may be included in the memory space of the second workspace 520. For example, the electronic device 201 may maintain a workspace including the execution window 511 as the first workspace 510 based on receiving the input for displaying the execution window of the application program (e.g., the C application program) in the second workspace 520. For example, an execution window 761 of the application program (e.g., the C application program) may be rendered in the electronic device 201. For example, as the execution window 761 is rendered, the example 705 may be changed to an example 706.

[0167] According to an embodiment of the disclosure, although not illustrated, the electronic device 201 may identify a user input (e.g., the user input 751) for the application object 522. The electronic device 201 may perform minimization of the execution window 512 included in the first workspace 510 based on identifying the user input for the application object 522. For example, the minimization may be referred to as hiding processing.

[0168] As a non-limiting example, one or more workspaces generated by the electronic device 201 may include the first workspace 510, the second workspace 520, and a third workspace. For example, in the example 705, a state of the first workspace 510 and a state of the second workspace 520 may be a foreground state displayed via the display 220 and / or the external display device 102. For example, a state of the third workspace may be a background state that is not displayed via the display 220. In an embodiment of the disclosure, there may be a case in which an execution window of the application program (e.g., the C application program) is included in the third workspace. For example, the execution window of the application program (e.g., the C application program) included in the third workspace may be distinguished from the execution window 512. For example, the electronic device 201 may change a workspace including the execution window included in the third workspace based on an input for displaying the execution window of the application program (e.g., the C application program) in the second workspace 520. For example, the electronic device 201 may change a workspace including the execution window from the third workspace to the second workspace 520. For example, the execution window may be excluded from the third workspace in the background state and included in the second workspace 520 in the foreground state. For example, the execution window may include the execution window 761 of the example 706. For example, as the execution window 761 is included in the second workspace 520, the example 705 may be changed to the example 706.

[0169] In the example 706, the electronic device 201 may display the first workspace 510 in which the execution window 511 is not excluded via the display 220. For example, the first workspace 510 may include the execution window 511 and the execution window 512. The electronic device 201 may provide or transmit, via the communication circuitry 230 to the external display device 102, data for displaying the second workspace 520 including the execution window 761 and the execution window 513 in the external display device 102 by using the connection 553. For example, the execution window 761 may be displayed in the second workspace 520 via the display 140 of the external display device 102. As a non-limiting example, an execution screen in the execution window 761 may be different from an execution screen in the execution window 511. For example, the execution screen in the execution window 761 may be a start execution screen of the C application program. For example, the start execution screen may be referred to as an execution screen set to be displayed according to execution of the C application program.

[0170] FIG. 8 illustrates an example of operations of an electronic device that identify an input for displaying an execution window of an application program in a second workspace while a first workspace is displayed in the electronic device and the second workspace is displayed in an external display device.

[0171] The operations of the electronic device (e.g., an electronic device 201) illustrated in FIG. 8 may be executed, performed, or controlled by at least one processor (e.g., at least one processor 200).

[0172] Referring to FIG. 8, in operation 801, the electronic device 201 may activate a display mode that provides one or more workspaces. The operation 801 may correspond to the operation 401 of FIG. 4. For the operation 801, descriptions of the operation 401 may be referred to.

[0173] In operation 803, the electronic device 201 may generate a first workspace and a second workspace. The operation 803 may correspond to the operation 403 of FIG. 4. For the operation 803, descriptions of the operation 403 may be referred to.

[0174] In operation 805, the electronic device 201 may display the first workspace including a first execution window of a first application program and a second execution window of a second application program via a display (e.g., the display 220). The operation 805 may correspond to the operation 405 of FIG. 4. For the operation 805, descriptions of the operation 405 may be referred to. For example, the first application program (e.g., the B application program of FIG. 5A) may be configured to support a single-instance. For example, the second application program (e.g., the C application program of FIG. 7A) may be configured to support a multi-instance.

[0175] In operation 807, the electronic device 201 may transmit data for displaying the second workspace in an external display device (e.g., an external display device 102), via communication circuitry (e.g., communication circuitry 230) to the external display device 102. For example, the data for displaying the second workspace in the external display device 102 may be transmitted via the communication circuitry 230 by using a connection (e.g., a connection 553) established between the electronic device 201 and the external display device 102.

[0176] In operation 809, the electronic device 201 may identify an input for displaying one execution window of the first application program and the second application program in the second workspace. For example, the electronic device 201 may identify the input for displaying one execution window of the first application program and the second application program in the second workspace while the first workspace is displayed via the display 220. For example, the electronic device 201 may identify the input for displaying one execution window of the first application program and the second application program in the second workspace while the second workspace is displayed in the external display device 102.

[0177] In operation 811, the electronic device 201 may display a visual effect in the first workspace via the display 220 based on an input for displaying an execution window of the first application program in the second workspace being identified. The visual effect will be described and illustrated in FIGS. 9, 10A, and / or 10B.

[0178] As a non-limiting example, the electronic device 201 may output haptic feedback and / or an audio signal based on the input for displaying the execution window of the first application program in the second workspace being identified.

[0179] In operation 813, the electronic device 201 may transmit, via the communication circuitry 230 to the external display device 102, data for displaying the second workspace including an execution window of the second application program in the external display device 102, based on the input for displaying the execution window of the second application program in the second workspace being identified.

[0180] FIG. 9 illustrates an example of an electronic device that identifies an input related to an application object in a second workspace while a first workspace is displayed in the electronic device and the second workspace is displayed in an external display device.

[0181] Referring to FIG. 9, in an example 901, an electronic device 201 may display a first workspace 510 via a display 220. For example, the first workspace 510 may include an execution window 511. Since the example 901 may be substantially the same as the example 505 of FIG. 5B, a redundant description may be omitted.

[0182] The electronic device 201 may provide or transmit, via communication circuitry 230 to an external display device 102, data for displaying a second workspace 520 in the external display device 102 by using a connection 553. For example, the second workspace 520 may be displayed via a display 140 of the external display device 102. For example, the electronic device 201 may identify an input for displaying an execution window of an application program (e.g., a B application program) in the second workspace 520. For example, the input for displaying the execution window of the application program (e.g., the B application program) may include an input 911 for an application object indicating the application program.

[0183] According to an embodiment of the disclosure, as the electronic device 201 identifies the input for displaying the execution window of the application program (e.g., the B application program), a type of the application program may be identified. For example, the electronic device 201 may identify an application program configured to support a single-instance. As the electronic device 201 identifies the application program configured to support the single-instance, the example 901 may be changed to an example 902.

[0184] In the example 902, the electronic device 201 may display a visual effect via the display 220 in the first workspace 510 via the display 220, based on the application program (e.g., the B application program) configured to support the single-instance. For example, the visual effect may be referred to as an effect for guiding that displaying the execution window of the application program (e.g., the B application program) configured to support the single-instance in the second workspace 520 is disallowed. For example, the visual effect may be referred to as an effect for guiding that the execution window 511 of the application program (e.g., the B application program) configured to support the single-instance is being displayed in the first workspace 510.

[0185] According to an embodiment of the disclosure, although not illustrated, the electronic device 201 may provide a pinning function for the application program (e.g., the B application program) configured to support the single-instance. For example, the pinning function may be referred to as a function in which the execution window 511 of the application program (e.g., the B application program) is displayed only in a pre-determined workspace. For example, the electronic device 201 may determine to display the execution window 511 of the application program (e.g., the B application program) only in the first workspace 510. For example, the electronic device 201 may process grayscale conversion for an application object (e.g., corresponding to the B application program) included in the second workspace 520 based on determining that the execution window 511 is displayed only in the first workspace 510. For example, the grayscale conversion processed application object may be deactivated. For example, the grayscale conversion processed application object may not provide a function of the application object despite a user input.

[0186] According to an embodiment of the disclosure, the electronic device 201 may display a notification message 921 in the first workspace 510 via the display 220. For example, the notification message 921 may be displayed at a periphery of the first workspace 510, but an embodiment is not limited thereto. For example, the notification message 921 may be displayed in a central region of the first workspace 510. For example, the notification message 921 may include text and / or content indicating that the execution window 511 is being displayed in the first workspace 510.

[0187] According to an embodiment of the disclosure, the electronic device 201 may display an animation with respect to the execution window 511 in the first workspace 510 via the display 220. For example, the animation with respect to the execution window 511 will be illustrated and described in FIGS. 10A and / or 10B.

[0188] According to an embodiment of the disclosure, the electronic device 201 may provide or transmit, via communication circuitry (e.g., the communication circuitry 230) to the external display device 102, data for displaying the second workspace 520 including a notification message 925 in the external display device 102 by using the connection 553. For example, the notification message 925 may be displayed in the second workspace 520. For example, the notification message 925 may include text and / or content indicating that the execution window 511 is being displayed in the first workspace 510. For example, the notification message 925 may include text and / or content indicating that the execution window of the application program (e.g., the B application program) configured to support the single-instance is not displayed in the second workspace 520.

[0189] As a non-limiting example, in the example 902, the electronic device 201 may change a workspace including the execution window 511 from the first workspace 510 to the second workspace 520 according to satisfaction of a designated condition after displaying the visual effect in the first workspace 510. For example, the designated condition may include a condition in which a designated time elapses. For example, the electronic device 201 may transmit, via the communication circuitry 230 to the external display device 102, the data for displaying the second workspace 520 including the execution window 511 in the external display device 102, based on changing the workspace including the execution window 511 from the first workspace 510 to the second workspace 520.

[0190] FIGS. 10A and 10B illustrate an example of an animation with respect to an execution window of an application program.

[0191] An animation with respect to an execution window 511 may be an example of the visual effect illustrated in the operation 811 of FIG. 8 and / or the example 902 of FIG. 9.

[0192] Referring to FIG. 10A, an animation 1001 may be referred to as an animation in which the execution window 511 vibrates. For example, the animation 1001 may represent that the execution window 511 repeatedly moves in left and right directions and / or up and down directions.

[0193] An animation 1002 may be referred to as an animation showing a highlight effect with respect to the execution window 511. For example, the animation 1002 may represent a change in characteristics for an outline (or an outer boundary) of the execution window 511. For example, the characteristics for the outline may include brightness of the outline, transparency of the outline, color of the outline, and / or thickness of the outline. For example, the animation 1002 may represent that the thickness of the outline of the execution window 511 being increased. For example, the animation 1002 may represent that brightness of an outer periphery of the execution window 511 is increased or decreased. For example, the animation 1002 may represent a glow effect on the outline of the execution window 511. For example, the animation 1002 may represent that a shadow is displayed in the outer periphery of the execution window 511. For example, the animation 1002 may represent that the outline of the execution window 511 blinks.

[0194] An animation 1003 may be referred to as an animation in which the execution window 511 expands. For example, the animation 1003 may represent zoom-in of the execution window 511. For example, the animation 1003 may represent that a size of the execution window 511 is changed from a first size to a second size larger than the first size. In FIG. 10A, it has been described that the animation 1003 expands substantially the same as a ratio of the execution window 511, but an embodiment is not limited thereto. For example, an aspect ratio of the execution window 511 of the first size and an aspect ratio of the execution window 511 of the second size may be different.

[0195] Referring to FIG. 10B, an animation 1004 may be referred to as an animation in which the execution window 511 shrinks and expands again. For example, the animation 1004 may represent zoom-out for the execution window 511 and zoom-in for the execution window 511. For example, the animation 1004 may represent that the size of the execution window 511 shrinks and then increases again. For example, the animation 1004 may represent that the execution window 511 contracts and then expands again.

[0196] An animation 1005 may be referred to as an animation in which characteristics of the execution window 511 are changed and then restored. The characteristics of the execution window 511 may include transparency of the execution window 511, color of the execution window 511, and / or brightness of the execution window 511, but an embodiment is not limited thereto. For example, the animation 1005 may be referred to as an animation in which characteristics of an execution screen in the execution window 511 are changed and then restored. The characteristics of the execution screen may include transparency of the execution screen, color of the execution screen, and / or brightness of the execution screen, but the embodiment is not limited thereto. For example, the animation 1005 may represent that the execution screen blinks. For example, the animation 1005 may represent that the color of the execution screen is changed to a reference color and then restored.

[0197] Although the animation with respect to the execution window 511 has been illustrated in FIGS. 10A and 10B, this is only an example, and the disclosure is not limited. For example, the animation with respect to the execution window 511 may include a combination of one or more of the animations 1001, 1002, 1003, 1004, and 1005 illustrated in FIGS. 10A and 10B.

[0198] FIG. 11 is a block diagram illustrating an electronic device in a network environment according to various embodiments of the disclosure. For example, the electronic device 1101 of FIG. 11 includes the electronic device 201 of FIG. 2.

[0199] Referring to FIG. 11, an electronic device 1101 in a network environment 1100 may communicate with an electronic device 1102 via a first network 1198 (e.g., a short-range wireless communication network), or at least one of an electronic device 1104 or a server 1108 via a second network 1199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 1101 may communicate with the electronic device 1104 via the server 1108. According to an embodiment, the electronic device 1101 may include a processor 1120, memory 1130, an input module 1150, a sound output module 1155, a display module 1160, an audio module 1170, a sensor module 1176, an interface 1177, a connecting terminal 1178, a haptic module 1179, a camera module 1180, a power management module 1188, a battery 1189, a communication module 1190, a subscriber identification module(SIM) 1196, or an antenna module 1197. In some embodiments, at least one of the components (e.g., the connecting terminal 1178) may be omitted from the electronic device 1101, or one or more other components may be added in the electronic device 1101. In some embodiments, some of the components (e.g., the sensor module 1176, the camera module 1180, or the antenna module 1197) may be implemented as a single component (e.g., the display module 1160).

[0200] The processor 1120 may execute, for example, software (e.g., a program 1140) to control at least one other component (e.g., a hardware or software component) of the electronic device 1101 coupled with the processor 1120, and may perform various data processing or computation. According to an embodiment, as at least part of the data processing or computation, the processor 1120 may store a command or data received from another component (e.g., the sensor module 1176 or the communication module 1190) in volatile memory 1132, process the command or the data stored in the volatile memory 1132, and store resulting data in non-volatile memory 1134. According to an embodiment, the processor 1120 may include a main processor 1121 (e.g., a central processing unit (CPU) or an application processor (AP)), or an auxiliary processor 1123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction with, the main processor 1121. For example, when the electronic device 1101 includes the main processor 1121 and the auxiliary processor 1123, the auxiliary processor 1123 may be adapted to consume less power than the main processor 1121, or to be specific to a specified function. The auxiliary processor 1123 may be implemented as separate from, or as part of the main processor 1121.

[0201] The auxiliary processor 1123 may control at least some of functions or states related to at least one component (e.g., the display module 1160, the sensor module 1176, or the communication module 1190) among the components of the electronic device 1101, instead of the main processor 1121 while the main processor 1121 is in an inactive (e.g., sleep) state, or together with the main processor 1121 while the main processor 1121 is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor 1123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 1180 or the communication module 1190) functionally related to the auxiliary processor 1123. According to an embodiment, the auxiliary processor 1123 (e.g., the neural processing unit) may include a hardware structure specified for artificial intelligence model processing. An artificial intelligence model may be generated by machine learning. Such learning may be performed, e.g., by the electronic device 1101 where the artificial intelligence is performed or via a separate server (e.g., the server 1108). Learning algorithms may include, but are not limited to, e.g., supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model may include a plurality of artificial neural network layers. The artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), deep Q-network or a combination of two or more thereof but is not limited thereto. The artificial intelligence model may, additionally or alternatively, include a software structure other than the hardware structure.

[0202] The memory 1130 may store various data used by at least one component (e.g., the processor 1120 or the sensor module 1176) of the electronic device 1101. The various data may include, for example, software (e.g., the program 1140) and input data or output data for a command related thereto. The memory 1130 may include the volatile memory 1132 or the non-volatile memory 1134.

[0203] The program 1140 may be stored in the memory 1130 as software, and may include, for example, an operating system (OS) 1142, middleware 1144, or an application 1146.

[0204] The input module 1150 may receive a command or data to be used by another component (e.g., the processor 1120) of the electronic device 1101, from the outside (e.g., a user) of the electronic device 1101. The input module 1150 may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0205] The sound output module 1155 may output sound signals to the outside of the electronic device 1101. The sound output module 1155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing record. The receiver may be used for receiving incoming calls. According to an embodiment, the receiver may be implemented as separate from, or as part of the speaker.

[0206] The display module 1160 may visually provide information to the outside (e.g., a user) of the electronic device 1101. The display module 1160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector. According to an embodiment, the display module 1160 may include a touch sensor adapted to detect a touch, or a pressure sensor adapted to measure the intensity of force incurred by the touch.

[0207] The audio module 1170 may convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 1170 may obtain the sound via the input module 1150, or output the sound via the sound output module 1155 or a headphone of an external electronic device (e.g., an electronic device 1102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 1101.

[0208] The sensor module 1176 may detect an operational state (e.g., power or temperature) of the electronic device 1101 or an environmental state (e.g., a state of a user) external to the electronic device 1101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 1176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0209] The interface 1177 may support one or more specified protocols to be used for the electronic device 1101 to be coupled with the external electronic device (e.g., the electronic device 1102) directly (e.g., wiredly) or wirelessly. According to an embodiment, the interface 1177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

[0210] A connecting terminal 1178 may include a connector via which the electronic device 1101 may be physically connected with the external electronic device (e.g., the electronic device 1102). According to an embodiment, the connecting terminal 1178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0211] The haptic module 1179 may convert an electrical signal into a mechanical stimulus (e.g., a vibration or a movement) or electrical stimulus which may be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 1179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.

[0212] The camera module 1180 may capture a still image or moving images. According to an embodiment, the camera module 1180 may include one or more lenses, image sensors, image signal processors, or flashes.

[0213] The power management module 1188 may manage power supplied to the electronic device 1101. According to an embodiment, the power management module 1188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).

[0214] The battery 1189 may supply power to at least one component of the electronic device 1101. According to an embodiment, the battery 1189 may include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.

[0215] The communication module 1190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 1101 and the external electronic device (e.g., the electronic device 1102, the electronic device 1104, or the server 1108) and performing communication via the established communication channel. The communication module 1190 may include one or more communication processors that are operable independently from the processor 1120 (e.g., the application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication. According to an embodiment, the communication module 1190 may include a wireless communication module 1192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 1194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate with the external electronic device via the first network 1198 (e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 1199 (e.g., a long-range communication network, such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multi components (e.g., multi chips) separate from each other. The wireless communication module 1192 may identify and authenticate the electronic device 1101 in a communication network, such as the first network 1198 or the second network 1199, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module 1196.

[0216] The wireless communication module 1192 may support a 5G network, after a fourth-generation (4G) network, and next-generation communication technology, e.g., new radio (NR) access technology. The NR access technology may support enhanced mobile broadband (eMBB), massive machine type communications (mMTC), or ultra-reliable and low-latency communications (URLLC). The wireless communication module 1192 may support a high-frequency band (e.g., the millimeter wave (mmWave) band) to achieve, e.g., a high data transmission rate. The wireless communication module 1192 may support various technologies for securing performance on a high-frequency band, such as, e.g., beamforming, massive multiple-input and multiple-output (massive MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 1192 may support various requirements specified in the electronic device 1101, an external electronic device (e.g., the electronic device 1104), or a network system (e.g., the second network 1199). According to an embodiment, the wireless communication module 1192 may support a peak data rate (e.g., 20 Gbps or more) for implementing eMBB, loss coverage (e.g., 1164 dB or less) for implementing mMTC, or U-plane latency (e.g., 0.5 ms or less for each of downlink (DL) and uplink (UL), or a round trip of 11 ms or less) for implementing URLLC.

[0217] The antenna module 1197 may transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device 1101. According to an embodiment, the antenna module 1197 may include an antenna including a radiating element composed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 1197 may include a plurality of antennas (e.g., array antennas). In such a case, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network 1198 or the second network 1199, may be selected, for example, by the communication module 1190 (e.g., the wireless communication module 1192) from the plurality of antennas. The signal or the power may then be transmitted or received between the communication module 1190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 1197.

[0218] According to various embodiments, the antenna module 1197 may form a mmWave antenna module. According to an embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on a first surface (e.g., the bottom surface) of the printed circuit board, or adjacent to the first surface and capable of supporting a designated high-frequency band (e.g., the mmWave band), and a plurality of antennas (e.g., array antennas) disposed on a second surface (e.g., the top or a side surface) of the printed circuit board, or adjacent to the second surface and capable of transmitting or receiving signals of the designated high-frequency band.

[0219] At least some of the above-described components may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).

[0220] According to an embodiment, commands or data may be transmitted or received between the electronic device 1101 and the external electronic device 1104 via the server 1108 coupled with the second network 1199. Each of the electronic devices 1102 or 1104 may be a device of a same type as, or a different type, from the electronic device 1101. According to an embodiment, all or some of operations to be executed at the electronic device 1101 may be executed at one or more of the external electronic devices 1102, 1104, or 1108. For example, if the electronic device 1101 should perform a function or a service automatically, or in response to a request from a user or another device, the electronic device 1101, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service. The one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and transfer an outcome of the performing to the electronic device 1101. The electronic device 1101 may provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request. To that end, a cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device 1101 may provide ultra low-latency services using, e.g., distributed computing or mobile edge computing. In another embodiment, the external electronic device 1104 may include an internet-of-things (IoT) device. The server 1108 may be an intelligent server using machine learning and / or a neural network. According to an embodiment, the external electronic device 1104 or the server 1108 may be included in the second network 1199. The electronic device 1101 may be applied to intelligent services (e.g., a smart home, a smart city, a smart car, or healthcare) based on 5G communication technology or IoT-related technology.

[0221] In an embodiment according to the disclosure, an electronic device (e.g., the electronic device 201) may generate one or more workspaces. The electronic device 201 may flexibly manage an application program according to a connection environment of the electronic device 201 by using the one or more workspaces. For example, the electronic device 201 may display a first workspace via a display (e.g., the display 220) without a connection with an external display device (e.g., the external display device 102). As a non-limiting example, the electronic device 201 may be connected to the external display device 102. For example, the electronic device 201 may provide, to the external display device 102, data for displaying the first workspace in the display 220 and displaying a second workspace in the external display device 102. The first workspace may be displayed via the display 220 of the electronic device 201 and the second workspace may be displayed in the external display device 102. The electronic device 201 may provide a multi-screen environment capable of multi-working. The electronic device 201 may provide an adaptively optimized work environment according to the connection environment of the electronic device 201. Work productivity of a user of the electronic device 201 may be improved. A user experience of the electronic device 201 may be improved.

[0222] The electronic device 201 may perform operations for displaying an execution window of an application program in each workspace. The electronic device 201 may adaptively display the execution window according to whether the application program is configured to support a single-instance or a multi-instance. As the electronic device 201 adaptively displays the execution window according to whether the application program is configured to support the single-instance or the multi-instance, the user experience of the electronic device 201 may be improved.

[0223] The effects that can be obtained from the disclosure are not limited to those described above, and any other effects not mentioned herein will be clearly understood by those having ordinary knowledge in the art to which the disclosure belongs, from the following description.

[0224] The technical problems to be achieved in this document are not limited to those described above, and other technical problems not mentioned herein will be clearly understood by those having ordinary knowledge in the art to which the disclosure belongs, from the following description.

[0225] As described above, an electronic device may comprise a display. The electronic device may comprise memory comprising one or more storage media storing instructions. The electronic device may comprise at least one processor comprising processing circuitry. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the display mode is activated, generate a first workspace and a second workspace. The activated display mode may be configured to disallow concurrently displaying both the first workspace and the second workspace via the display. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to display, via the display, the first workspace including an execution window of an application program. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on a first input being received while the first workspace is displayed via the display, switch a workspace displayed via the display from the first workspace to the second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on switching a workspace displayed via the display from the first workspace to the second workspace, display the second workspace via the display. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the second workspace is displayed via the display, receive a second input for displaying, in the second workspace, the execution window of the application program that is being included in the first workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the second input, change a workspace including the execution window of the application program from the first workspace to the second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on changing a workspace including the execution window of the application program from the first workspace to the second workspace, display, via the display, in the second workspace, the execution window of the application program.

[0226] According to an embodiment, the instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on a third input being received while the execution window of the application program is displayed in the second workspace, switch a workspace displayed via the display from the second workspace to the first workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on switching a workspace displayed via the display from the second workspace to the first workspace, display, via the display, the first workspace from which the execution window of the application program is excluded.

[0227] According to an embodiment, an execution screen of the execution window of the application program displayed in the second workspace may correspond to an execution screen of the execution window of the application program that was displayed in the first workspace.

[0228] According to an embodiment, a size of the execution window of the application program displayed in the second workspace may correspond to a size of the execution window of the application program that was displayed in the first workspace.

[0229] According to an embodiment, a location of the execution window of the application program displayed in the second workspace may correspond to a location of the execution window of the application program that was displayed in the first workspace.

[0230] According to an embodiment, the electronic device may further comprise communication circuitry. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to generate a third workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to transmit, via the communication circuitry to an external display device, data for displaying the third workspace in the external display device. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the first workspace including the execution window of the application program is displayed via the display and the third workspace is displayed in the external display device, receive a third input for displaying the execution screen of the application program that is being included in the first workspace, in the third workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the third input, change a workspace including the execution window of the application program from the first workspace to the third workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on changing a workspace including the execution window of the application program from the first workspace to the third workspace, transmit, via the communication circuitry to the external display device, data for displaying the third workspace including the execution window of the application program, in the external display device.

[0231] According to an embodiment, an execution screen of the execution window of the application program displayed in the third workspace may correspond to an execution screen of the execution window of the application program that was displayed in the first workspace.

[0232] According to an embodiment, a size of the execution window of the application program displayed in the third workspace may correspond to a size of the execution window of the application program that was displayed in the first workspace.

[0233] According to an embodiment, a location of the execution window of the application program displayed in the third workspace may correspond to a location of the execution window of the application program that was displayed in the first workspace.

[0234] According to an embodiment, the application program may be a first application program configured to support a single-instance. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to display, via the display, the first workspace further including a first execution window of a second application program configured to support a multi-instance. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the first workspace including the first execution window of the second application program is displayed via the display and the third workspace is displayed in the external display device, identify a fourth input for displaying an execution window of the second application program, in the third workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the fourth input, maintain displaying the first execution window of the second application program in the first workspace via the display. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the fourth input, transmit, via the communication circuitry to the external display device, data for displaying the third workspace including a second execution window of the second application program in the external display device.

[0235] According to an embodiment, the execution window of the application program displayed in the second workspace may be displayed in front of another execution window that is being displayed in the second workspace.

[0236] According to an embodiment, the instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the second input, identify identification information of the first workspace including the execution window of the application program and identification information of the execution window of the application program. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to identify identification information of the second workspace in which the execution window of the application program is to be displayed. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the identification information of the first workspace, the identification information of the second workspace, and the identification information of the execution window of the application program, identify a message to request to move the execution window of the application program from the first workspace to the second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the message, change a workspace including the execution window of the application program from the first workspace to the second workspace.

[0237] As described above, a method performed in an electronic device having a display may comprise activating a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The method may comprise, while the display mode is activated, generating a first workspace and a second workspace. The activated display mode may be configured to disallow concurrently displaying both the first workspace and the second workspace via the display. The method may comprise displaying, via the display, the first workspace including an execution window of an application program. The method may comprise, based on a first input being received while the first workspace is displayed via the display, switching a workspace displayed via the display from the first workspace to the second workspace. The method may comprise, based on switching a workspace displayed via the display from the first workspace to the second workspace, displaying the second workspace via the display. The method may comprise, while the second workspace is displayed via the display, receiving a second input for displaying, in the second workspace, the execution window of the application program that is being included in the first workspace. The method may comprise, based on the second input, changing a workspace including the execution window of the application program from the first workspace to the second workspace. The method may comprise, based on changing a workspace including the execution window of the application program from the first workspace to the second workspace, displaying, via the display, in the second workspace, the execution window of the application program.

[0238] According to an embodiment, the method may comprise, based on a third input being received while the execution window of the application program is displayed in the second workspace, switching a workspace displayed via the display from the second workspace to the first workspace. The method may comprise, based on switching a workspace displayed via the display from the second workspace to the first workspace, displaying, via the display, the first workspace from which the execution window of the application program is excluded.

[0239] According to an embodiment, an execution screen of the execution window of the application program displayed in the second workspace may correspond to an execution screen of the execution window of the application program that was displayed in the first workspace.

[0240] According to an embodiment, a size of the execution window of the application program displayed in the second workspace may correspond to a size of the execution window of the application program that was displayed in the first workspace.

[0241] According to an embodiment, a location of the execution window of the application program displayed in the second workspace may correspond to a location of the execution window of the application program that was displayed in the first workspace.

[0242] According to an embodiment, the electronic device may further comprise communication circuitry. The method may comprise generating a third workspace. The method may comprise transmitting, via the communication circuitry to an external display device, data for displaying the third workspace in the external display device. The method may comprise, while the first workspace including the execution window of the application program is displayed via the display and the third workspace is displayed in the external display device, receiving a third input for displaying the execution screen of the application program that is being included in the first workspace, in the third workspace. The method may comprise, based on the third input, changing a workspace including the execution window of the application program from the first workspace to the third workspace. The method may comprise, based on changing a workspace including the execution window of the application program from the first workspace to the third workspace, transmitting, via the communication circuitry to the external display device, data for displaying the third workspace including the execution window of the application program, in the external display device.

[0243] According to an embodiment, an execution screen of the execution window of the application program displayed in the third workspace may correspond to an execution screen of the execution window of the application program that was displayed in the first workspace.

[0244] According to an embodiment, a size of the execution window of the application program displayed in the third workspace may correspond to a size of the execution window of the application program that was displayed in the first workspace.

[0245] According to an embodiment, a location of the execution window of the application program displayed in the third workspace may correspond to a location of the execution window of the application program that was displayed in the first workspace.

[0246] According to an embodiment, the application program may be a first application program configured to support a single-instance. The method may comprise displaying, via the display, the first workspace further including a first execution window of a second application program configured to support a multi-instance. The method may comprise, while the first workspace including the first execution window of the second application program is displayed via the display and the third workspace is displayed in the external display device, identifying a fourth input for displaying an execution window of the second application program, in the third workspace. The method may comprise, based on the fourth input, maintaining displaying the first execution window of the second application program in the first workspace via the display. The method may comprise, based on the fourth input, transmitting, via the communication circuitry to the external display device, data for displaying the third workspace including a second execution window of the second application program in the external display device.

[0247] According to an embodiment, the execution window of the application program displayed in the second workspace may be displayed in front of another execution window that is being displayed in the second workspace.

[0248] According to an embodiment, the method may comprise, based on the second input, identifying identification information of the first workspace including the execution window of the application program and identification information of the execution window of the application program. The method may comprise identifying identification information of the second workspace in which the execution window of the application program is to be displayed. The method may comprise, based on the identification information of the first workspace, the identification information of the second workspace, and the identification information of the execution window of the application program, identifying a message to request to move the execution window of the application program from the first workspace to the second workspace. The method may comprise, based on the message, changing a workspace including the execution window of the application program from the first workspace to the second workspace.

[0249] As described above, in a non-transitory computer readable storage medium in which one or more programs are stored, the one or more programs, when executed by an electronic device having a display, may comprise instructions that cause the electronic device to activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, while the display mode is activated, generate a first workspace and a second workspace. The activated display mode may be configured to disallow concurrently displaying both the first workspace and the second workspace via the display. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to display, via the display, the first workspace including an execution window of an application program. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on a first input being received while the first workspace is displayed via the display, switch a workspace displayed via the display from the first workspace to the second workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on switching a workspace displayed via the display from the first workspace to the second workspace, display the second workspace via the display. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, while the second workspace is displayed via the display, receive a second input for displaying, in the second workspace, the execution window of the application program that is being included in the first workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the second input, change a workspace including the execution window of the application program from the first workspace to the second workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on changing a workspace including the execution window of the application program from the first workspace to the second workspace, display, via the display, in the second workspace, the execution window of the application program.

[0250] According to an embodiment, the one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on a third input being received while the execution window of the application program is displayed in the second workspace, switch a workspace displayed via the display from the second workspace to the first workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on switching a workspace displayed via the display from the second workspace to the first workspace, display, via the display, the first workspace from which the execution window of the application program is excluded.

[0251] According to an embodiment, an execution screen of the execution window of the application program displayed in the second workspace may correspond to an execution screen of the execution window of the application program that was displayed in the first workspace.

[0252] According to an embodiment, a size of the execution window of the application program displayed in the second workspace may correspond to a size of the execution window of the application program that was displayed in the first workspace.

[0253] According to an embodiment, a location of the execution window of the application program displayed in the second workspace may correspond to a location of the execution window of the application program that was displayed in the first workspace.

[0254] According to an embodiment, the electronic device may further comprise communication circuitry. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to generate a third workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to transmit, via the communication circuitry to an external display device, data for displaying the third workspace in the external display device. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, while the first workspace including the execution window of the application program is displayed via the display and the third workspace is displayed in the external display device, receive a third input for displaying the execution screen of the application program that is being included in the first workspace, in the third workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the third input, change a workspace including the execution window of the application program from the first workspace to the third workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on changing a workspace including the execution window of the application program from the first workspace to the third workspace, transmit, via the communication circuitry to the external display device, data for displaying the third workspace including the execution window of the application program, in the external display device.

[0255] According to an embodiment, an execution screen of the execution window of the application program displayed in the third workspace may correspond to an execution screen of the execution window of the application program that was displayed in the first workspace.

[0256] According to an embodiment, a size of the execution window of the application program displayed in the third workspace may correspond to a size of the execution window of the application program that was displayed in the first workspace.

[0257] According to an embodiment, a location of the execution window of the application program displayed in the third workspace may correspond to a location of the execution window of the application program that was displayed in the first workspace.

[0258] According to an embodiment, the application program may be a first application program configured to support a single-instance. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to display, via the display, the first workspace further including a first execution window of a second application program configured to support a multi-instance. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, while the first workspace including the first execution window of the second application program is displayed via the display and the third workspace is displayed in the external display device, identify a fourth input for displaying an execution window of the second application program, in the third workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the fourth input, maintain displaying the first execution window of the second application program in the first workspace via the display. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the fourth input, transmit, via the communication circuitry to the external display device, data for displaying the third workspace including a second execution window of the second application program in the external display device.

[0259] According to an embodiment, the execution window of the application program displayed in the second workspace may be displayed in front of another execution window that is being displayed in the second workspace.

[0260] According to an embodiment, the one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the second input, identify identification information of the first workspace including the execution window of the application program and identification information of the execution window of the application program. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to identify identification information of the second workspace in which the execution window of the application program is to be displayed. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the identification information of the first workspace, the identification information of the second workspace, and the identification information of the execution window of the application program, identify a message to request to move the execution window of the application program from the first workspace to the second workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the message, change a workspace including the execution window of the application program from the first workspace to the second workspace.

[0261] As described above, an electronic device may comprise a display. The electronic device may comprise communication circuitry. The electronic device may comprise memory comprising one or more storage media storing instructions. The electronic device may comprise at least one processor comprising processing circuitry. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the display mode is activated, generate a first workspace and a second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to display, via the display, the first workspace including a first execution window of a first application program configured to support a single-instance and a second execution window of a second application program configured to support a multi-instance. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to transmit data for displaying the second workspace in an external display device, to the external display device, via the communication circuitry. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, while the first workspace including the first execution window and the second execution window is displayed via the display and the second workspace is displayed in the external display device, identify an input for displaying an execution window of one of the first application program and the second application program in the second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the input for displaying an execution window of the first application program in second workspace being identified, display a visual effect in the first workspace, for guiding that displaying an execution window of the first application program in the second workspace is disallowed. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the input for displaying an execution window of the second application program in the second workspace being identified, transmit data for displaying the second workspace including an execution window of the second application program in the external display device, to the external display device, via the communication circuitry.

[0262] According to an embodiment, the visual effect may include a notification message for guiding that displaying an execution window of the first application program in the second workspace is disallowed.

[0263] According to an embodiment, the visual effect may include an animation with respect to the first execution window displayed in the first workspace.

[0264] According to an embodiment, the animation with respect to the first execution window may include at least one of an animation in which the first execution window displayed in the first workspace vibrates or an animation in which the first execution window displayed in the first workspace shrinks and then expands.

[0265] According to an embodiment, the instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on the input being identified for displaying an execution window of the first application program in second workspace, transmit, via the communication circuitry to the external display device, data for displaying the second workspace including a notification message for guiding that displaying an execution window of the first application program in the second workspace is disallowed in the external display device.

[0266] According to an embodiment, the instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, after displaying the visual effect in the first workspace, change a workspace including the first execution window of the first application program from the first workspace to the second workspace. The instructions, when executed by the at least one processor individually or collectively, may cause the electronic device to, based on changing a workspace including the first execution window of the first application program from the first workspace to the second workspace, transmit, via the communication circuitry to the external display device, data for displaying the second workspace including the first execution window of the first application program in the external display device.

[0267] As described above, a method performed in an electronic device having a display and communication circuitry may comprise activating a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The method may comprise, while the display mode is activated, generating a first workspace and a second workspace. The method may comprise displaying, via the display, the first workspace including a first execution window of a first application program configured to support a single-instance and a second execution window of a second application program configured to support a multi-instance. The method may comprise transmitting data for displaying the second workspace in an external display device, to the external display device, via the communication circuitry. The method may comprise, while the first workspace including the first execution window and the second execution window is displayed via the display and the second workspace is displayed in the external display device, identifying an input for displaying an execution window of one of the first application program and the second application program in the second workspace. The method may comprise, based on the input for displaying an execution window of the first application program in second workspace being identified, displaying a visual effect in the first workspace, for guiding that displaying an execution window of the first application program in the second workspace is disallowed. The method may comprise, based on the input for displaying an execution window of the second application program in the second workspace being identified, transmitting data for displaying the second workspace including an execution window of the second application program in the external display device, to the external display device, via the communication circuitry.

[0268] According to an embodiment, the visual effect may include a notification message for guiding that displaying an execution window of the first application program in the second workspace is disallowed.

[0269] According to an embodiment, the visual effect may include an animation with respect to the first execution window displayed in the first workspace.

[0270] According to an embodiment, the animation with respect to the first execution window may include at least one of an animation in which the first execution window displayed in the first workspace vibrates or an animation in which the first execution window displayed in the first workspace shrinks and then expands.

[0271] According to an embodiment, the method may comprise, based on the input being identified for displaying an execution window of the first application program in second workspace, transmitting, via the communication circuitry to the external display device, data for displaying the second workspace including a notification message for guiding that displaying an execution window of the first application program in the second workspace is disallowed in the external display device.

[0272] According to an embodiment, the method may comprise, after displaying the visual effect in the first workspace, changing a workspace including the first execution window of the first application program from the first workspace to the second workspace. The method may comprise, based on changing a workspace including the first execution window of the first application program from the first workspace to the second workspace, transmitting, via the communication circuitry to the external display device, data for displaying the second workspace including the first execution window of the first application program in the external display device.

[0273] As described above, in a non-transitory computer readable storage medium in which one or more programs are stored, the one or more programs, when executed by an electronic device having a display and communication circuitry, may comprise instructions that cause the electronic device to activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, while the display mode is activated, generate a first workspace and a second workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to display, via the display, the first workspace including a first execution window of a first application program configured to support a single-instance and a second execution window of a second application program configured to support a multi-instance. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to transmit data for displaying the second workspace in an external display device, to the external display device, via the communication circuitry. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, while the first workspace including the first execution window and the second execution window is displayed via the display and the second workspace is displayed in the external display device, identify an input for displaying an execution window of one of the first application program and the second application program in the second workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the input for displaying an execution window of the first application program in second workspace being identified, display a visual effect in the first workspace, for guiding that displaying an execution window of the first application program in the second workspace is disallowed. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the input for displaying an execution window of the second application program in the second workspace being identified, transmit data for displaying the second workspace including an execution window of the second application program in the external display device, to the external display device, via the communication circuitry.

[0274] According to an embodiment, the visual effect may include a notification message for guiding that displaying an execution window of the first application program in the second workspace is disallowed.

[0275] According to an embodiment, the visual effect may include an animation with respect to the first execution window displayed in the first workspace.

[0276] According to an embodiment, the animation with respect to the first execution window may include at least one of an animation in which the first execution window displayed in the first workspace vibrates or an animation in which the first execution window displayed in the first workspace shrinks and then expands.

[0277] According to an embodiment, the one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on the input being identified for displaying an execution window of the first application program in second workspace, transmit, via the communication circuitry to the external display device, data for displaying the second workspace including a notification message for guiding that displaying an execution window of the first application program in the second workspace is disallowed in the external display device.

[0278] According to an embodiment, the one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, after displaying the visual effect in the first workspace, change a workspace including the first execution window of the first application program from the first workspace to the second workspace. The one or more programs, when executed by the electronic device, may comprise instructions that cause the electronic device to, based on changing a workspace including the first execution window of the first application program from the first workspace to the second workspace, transmit, via the communication circuitry to the external display device, data for displaying the second workspace including the first execution window of the first application program in the external display device.

[0279] For one or more embodiments of the disclosure, at least one of components described in one or more preceding drawings may be configured to perform one or more operations, techniques, processes, and / or methods as described in the disclosure. As an example, a processor (e.g., a baseband processor) described in the disclosure in connection with one or more preceding drawings may be configured to operate according to one or more examples described in the disclosure. As another example, circuitry related to a user equipment (UE), a base station, a network element, and the like, as described above in connection with one or more preceding drawings, may be configured to operate according to one or more examples described herein.

[0280] Any of the embodiments described above may be combined with any other embodiment (or a combination of embodiments), unless expressly stated otherwise. The above-described description regarding one or more implementations provides an example and a description, but is not intended to be exhaustive or to limit the scope of the embodiments to the precise forms disclosed. Modification and variation may be possible, or may be obtained from practicing various embodiments, in light of the above teachings.

[0281] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic devices may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment of the disclosure, the electronic devices are not limited to those described above.

[0282] It should be appreciated that various embodiments of the disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things unless the relevant context clearly indicates otherwise. As used herein, each of such phrases as “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 “at least one of A, B, or C,” may include any one of or all possible combinations of the items enumerated together in a corresponding one of the phrases. As used herein, such terms as “1st” and “2nd,” or “first” and “second” may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order). It is to be understood that if an element (e.g., a first element) is referred to, with or without the term “operatively” or “communicatively”, as “coupled with,” or “connected with” another element (e.g., a second element), it means that the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.

[0283] As used in connection with various embodiments of the disclosure, the term “module” may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, “logic,”“logic block,”“part,” or “circuitry”. A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to an embodiment, the module may be implemented in a form of an application-specific integrated circuit (ASIC).

[0284] Various embodiments as set forth herein may be implemented as software (e.g., the program 1140) including one or more instructions that are stored in a storage medium (e.g., internal memory 1136 or external memory 1138) that is readable by a machine (e.g., the electronic device 1101). For example, a processor (e.g., the processor 1120) of the machine (e.g., the electronic device 1101) may invoke at least one of the one or more instructions stored in the storage medium, and execute it, with or without using one or more other components under the control of the processor. This allows the machine to be operated to perform at least one function according to the at least one instruction invoked. The one or more instructions may include a code generated by a compiler or a code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Wherein, the term “non-transitory” simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between a case in which data is semi-permanently stored in the storage medium and a case in which the data is temporarily stored in the storage medium.

[0285] According to an embodiment, a method according to various embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., PlayStore™), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.

[0286] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities, and some of the multiple entities may be separately disposed in different components. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, according to various embodiments, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to various embodiments, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.

[0287] It will be appreciated that various embodiments of the disclosure according to the claims and description in the specification can be realized in the form of hardware, software or a combination of hardware and software.

[0288] Any such software may be stored in non-transitory computer readable storage media. The non-transitory computer readable storage media store one or more computer programs (software modules), the one or more computer programs include computer-executable instructions that, when executed by one or more processors of an electronic device, cause the electronic device to perform a method of the disclosure.

[0289] Any such software may be stored in the form of volatile or non-volatile storage, such as, for example, a storage device like read only memory (ROM), whether erasable or rewritable or not, or in the form of memory, such as, for example, random access memory (RAM), memory chips, device or integrated circuits or on an optically or magnetically readable medium, such as, for example, a compact disk (CD), digital versatile disc (DVD), magnetic disk or magnetic tape or the like. It will be appreciated that the storage devices and storage media are various embodiments of non-transitory machine-readable storage that are suitable for storing a computer program or computer programs comprising instructions that, when executed, implement various embodiments of the disclosure. Accordingly, various embodiments provide a program comprising code for implementing apparatus or a method of any one of the claims of this specification and a non-transitory machine-readable storage storing such a program.

[0290] While the disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents.

[0291] No claim element is to be construed under the provisions of 35 U.S.C. § 112, sixth paragraph, unless the element is expressly recited using the phrase “means for” or “means”.

Claims

1. An electronic device comprising:a display;at least one processor comprising processing circuitry; andmemory comprising one or more storage media storing instructions that, when executed by the at least one processor individually or collectively, cause the electronic device to:activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons,while the display mode is activated, generate a first workspace and a second workspace, wherein the activated display mode is configured to disallow concurrently displaying both the first workspace and the second workspace via the display,display, via the display, the first workspace including an execution window of an application program,based on a first input being received while the first workspace is displayed via the display, switch a workspace displayed via the display from the first workspace to the second workspace,based on switching a workspace displayed via the display from the first workspace to the second workspace, display the second workspace via the display,while the second workspace is displayed via the display, receive a second input for displaying, in the second workspace, the execution window of the application program that is being included in the first workspace,based on the second input, change a workspace including the execution window of the application program from the first workspace to the second workspace, andbased on changing a workspace including the execution window of the application program from the first workspace to the second workspace, display, via the display, in the second workspace, the execution window of the application program.

2. The electronic device of claim 1, wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:based on a third input being received while the execution window of the application program is displayed in the second workspace, switch a workspace displayed via the display from the second workspace to the first workspace, andbased on switching a workspace displayed via the display from the second workspace to the first workspace, display, via the display, the first workspace from which the execution window of the application program is excluded.

3. The electronic device of claim 1, wherein an execution screen of the execution window of the application program displayed in the second workspace corresponds to an execution screen of the execution window of the application program that was displayed in the first workspace.

4. The electronic device of claim 1, wherein a size of the execution window of the application program displayed in the second workspace corresponds to a size of the execution window of the application program that was displayed in the first workspace.

5. The electronic device of claim 1, wherein a location of the execution window of the application program displayed in the second workspace corresponds to a location of the execution window of the application program that was displayed in the first workspace.

6. The electronic device of claim 1, further comprising:communication circuitry,wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:generate a third workspace,transmit, via the communication circuitry to an external display device, data for displaying the third workspace in the external display device,while the first workspace including the execution window of the application program is displayed via the display and the third workspace is displayed in the external display device, receive a third input for displaying the execution screen of the application program that is being included in the first workspace, in the third workspace,based on the third input, change a workspace including the execution window of the application program from the first workspace to the third workspace, andbased on changing a workspace including the execution window of the application program from the first workspace to the third workspace, transmit, via the communication circuitry to the external display device, data for displaying the third workspace including the execution window of the application program, in the external display device.

7. The electronic device of claim 6, wherein an execution screen of the execution window of the application program displayed in the third workspace corresponds to an execution screen of the execution window of the application program that was displayed in the first workspace.

8. The electronic device of claim 6, wherein a size of the execution window of the application program displayed in the third workspace corresponds to a size of the execution window of the application program that was displayed in the first workspace.

9. The electronic device of claim 6, wherein a location of the execution window of the application program displayed in the third workspace corresponds to a location of the execution window of the application program that was displayed in the first workspace.

10. The electronic device of claim 6,wherein the application program is a first application program configured to support a single-instance, andwherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:display, via the display, the first workspace further including a first execution window of a second application program configured to support a multi-instance,while the first workspace including the first execution window of the second application program is displayed via the display and the third workspace is displayed in the external display device, identify a fourth input for displaying an execution window of the second application program, in the third workspace,based on the fourth input:maintain displaying the first execution window of the second application program in the first workspace via the display, andtransmit, via the communication circuitry to the external display device, data for displaying the third workspace including a second execution window of the second application program in the external display device.

11. The electronic device of claim 1, wherein the execution window of the application program displayed in the second workspace is displayed in front of another execution window that is being displayed in the second workspace.

12. The electronic device of claim 1, wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:based on the second input, identify identification information of the first workspace including the execution window of the application program and identification information of the execution window of the application program,identify identification information of the second workspace in which the execution window of the application program is to be displayed,based on the identification information of the first workspace, the identification information of the second workspace, and the identification information of the execution window of the application program, identify a message to request to move the execution window of the application program from the first workspace to the second workspace, andbased on the message, change a workspace including the execution window of the application program from the first workspace to the second workspace.

13. An electronic device comprising:a display;communication circuitry;at least one processor comprising processing circuitry; andmemory comprising one or more storage media storing instructions that, when executed by the at least one processor individually or collectively, cause the electronic device to:activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons,while the display mode is activated, generate a first workspace and a second workspace,display, via the display, the first workspace including a first execution window of a first application program configured to support a single-instance and a second execution window of a second application program configured to support a multi-instance,transmit data for displaying the second workspace in an external display device, to the external display device, via the communication circuitry,while the first workspace including the first execution window and the second execution window is displayed via the display and the second workspace is displayed in the external display device, identify an input for displaying an execution window of one of the first application program and the second application program in the second workspace,based on the input for displaying an execution window of the first application program in second workspace being identified, display a visual effect in the first workspace, for guiding that displaying an execution window of the first application program in the second workspace is disallowed, andbased on the input for displaying an execution window of the second application program in the second workspace being identified, transmit data for displaying the second workspace including an execution window of the second application program in the external display device, to the external display device, via the communication circuitry.

14. The electronic device of claim 13, wherein the visual effect includes a notification message for guiding that displaying an execution window of the first application program in the second workspace is disallowed.

15. The electronic device of claim 13, wherein the visual effect includes an animation with respect to the first execution window displayed in the first workspace.

16. The electronic device of claim 15, wherein the animation with respect to the first execution window includes at least one of an animation in which the first execution window displayed in the first workspace vibrates or an animation in which the first execution window displayed in the first workspace shrinks and then expands.

17. The electronic device of claim 13, wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:based on the input being identified for displaying an execution window of the first application program in second workspace, transmit, via the communication circuitry to the external display device, data for displaying the second workspace including a notification message for guiding that displaying an execution window of the first application program in the second workspace is disallowed in the external display device.

18. The electronic device of claim 13, wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:after displaying the visual effect in the first workspace, change a workspace including the first execution window of the first application program from the first workspace to the second workspace, andbased on changing a workspace including the first execution window of the first application program from the first workspace to the second workspace, transmit, via the communication circuitry to the external display device, data for displaying the second workspace including the first execution window of the first application program in the external display device.

19. One or more non-transitory computer-readable storage media storing one or more computer programs, the one or more computer programs including computer-executable instructions to, when executed by at least one processor of an electronic device with a display individually or collectively, cause the electronic device to:activate a display mode that provides one or more workspaces each configured to display an execution screen in an execution window having execution window control buttons,while the display mode is activated, generate a first workspace and a second workspace, wherein the activated display mode is configured to disallow concurrently displaying both the first workspace and the second workspace via the display,display, via the display, the first workspace including an execution window of an application program,based on a first input being received while the first workspace is displayed via the display, switch a workspace displayed via the display from the first workspace to the second workspace,based on switching a workspace displayed via the display from the first workspace to the second workspace, display the second workspace via the display,while the second workspace is displayed via the display, receive a second input for displaying in the second workspace the execution window of the application program that is being included in the first workspace,based on the second input, change a workspace including the execution window of the application program from the first workspace to the second workspace, andbased on changing a workspace including the execution window of the application program from the first workspace to the second workspace, display, via the display, in the second workspace, the execution window of the application program.

20. The non-transitory computer readable storage medium of claim 19, wherein the one or more computer programs include computer-executable instructions to, when executed by the at least one processor individually or collectively, cause the electronic device to:based on a third input being received while the execution window of the application program is displayed in the second workspace, switch a workspace displayed via the display from the second workspace to the first workspace, andbased on switching a workspace displayed via the display from the second workspace to the first workspace, display, via the display, the first workspace from which the execution window of the application program is excluded.