Mobile electronic device and method for forwarding user input to application according to input means

A mobile electronic device for forwarding a user input to an application is provided. The mobile electronic device includes a connector, a touch screen display, a memory including a first area and a second area, a wireless communication circuit, and at least one processor. The at least one processor is configured to execute a first application included in the first area of the memory, display a screen of the first application on the touch screen display, execute a second application included in the second area of the memory when being connected to an external interface device through the connector, transmit data related to a screen of the second application through the connector to the external interface device, and forward a first user input through the touch screen display to the first application and not forward to the second application.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is based on and claims priority under 35 U.S.C. § 119 of a Korean patent application number 10-2018-0034354, filed on Mar. 26, 2018, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein its entirety.

BACKGROUND

The disclosure relates to a technology of displaying a screen of an application included in a separate area of a memory on a separate display and forwarding a user input to an application included in an area corresponding to input means.

2. Description of Related Art

The use of mobile electronic devices such as smart phones, tablet PCs, wearable devices, and the like has been increased. The electronic device may perform various functions such as a call, wireless communication, a video playback, a web search, and the like. The electronic device may be used independently or in connection with an external display device (e.g., a monitor, a television (TV), or the like). For example, the electronic device may be wired or wirelessly connected to a monitor or a TV to output contents (e.g., an image, a text, and the like) of the electronic device to an external display device.

SUMMARY

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 apparatus and method for an electronic device to connect to an external display device and outputs the contents of the electronic device, a user may receive a desktop environment by using the electronic device. However, according to the related art, the electronic device may provide only one using environment to the user.

Another aspect of the disclosure is to provide an apparatus and method is to provide a mobile electronic device that can simultaneously execute applications included in a general area and a security using environment, and display an application of each area on a separate display.

Another aspect of the disclosure is to provide an apparatus and method for an electronic device outputs a screen to both the display of the electronic device and an external display device, a user input through an input device cannot be distinguished and processed by display.

Another aspect of the disclosure is to provide a mobile electronic device that can forward a user input to an application displayed on a separate display according to input means.

In accordance with an aspect of the disclosure, a mobile electronic device may include a connector, a touch screen display, a memory including a first area and a second area, a wireless communication circuit, and at least one processor configured to execute a first application included in the first area of the memory, display a screen of the first application on the touch screen display, execute a second application included in the second area of the memory when being connected to an external interface device through the connector, transmit data related to a screen of the second application through the connector to the external interface device, forward a first user input through the touch screen display to the first application and not to the second application, and forward a second user input through a first external input device, which is operatively connected through at least one of the wireless communication circuit or the connector, to the second application and not to the first application.

In accordance with another aspect of the disclosure, a method of processing a user input by a mobile electronic device may include executing a first application included in a first area of a memory, displaying a screen of the first application on a touch screen display of the mobile electronic device, executing a second application included in a second area of the memory when the mobile electronic device is connected to an external interface device, transmitting data related to a screen of the second application to the external interface device, forwarding a first user input received through the touch screen display to the first application and not to the second application, and forwarding a second user input through an external input device, which is operatively connected with the mobile electronic device, to the second application and not to the first application.

In accordance with another aspect of the disclosure, a storage medium storing computer-readable instructions is provided, wherein, when the instructions are executed by a processor of a mobile electronic device, the instructions cause the mobile electronic device to execute a first application included in a first area of a memory, display a screen of the first application on a touch screen display, execute a second application included in a second area of the memory when the mobile electronic device is connected to an external interface device, transmit data related to a screen of the second application to the external interface device, forward a first user input received through the touch screen display to the first application and not to the second application, and forward a second user input through an external input device, which is operatively connected with the mobile electronic device, to the second application and not to the first application.

According to the embodiments, the screen of an application stored in a separate area of a memory may be simultaneously displayed on a separate display.

According to the embodiments, a user input may be forwarded to a separate application for each input device.

In addition, various effects that are directly or indirectly understood through the disclosure may be provided.

DETAILED DESCRIPTION

FIG. 1is a block diagram illustrating an electronic device101in a network environment100according to various embodiments.

The auxiliary processor123may control at least some of functions or states related to at least one component (e.g., the display device160, the sensor module176, or the communication module190) among the components of the electronic device101, instead of the main processor121while the main processor121is in an inactive (e.g., sleep) state, or together with the main processor121while the main processor121is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor123(e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module180or the communication module190) operatively related to the auxiliary processor123.

According to an embodiment of the disclosure, the mobile electronic device described below may correspond to an electronic device101ofFIG. 1.

FIG. 2illustrates an operating environment of a mobile electronic device according to an embodiment of the disclosure.

Referring toFIG. 2, a mobile electronic device210may be connected to an interface device220and an external display device230. The mobile electronic device210may be a mobile device whose display211is relatively small in size relative to the external display device230. For example, the mobile electronic device210may be a smart phone, a tablet PC, a wearable device, or the like.

According to various embodiments of the disclosure, the display211of the mobile electronic device210may include a touch panel (or a touch sensor) therein. The display211may receive a touch input of a user. The touch input of the user sensed through the display211may be converted to an electrical signal and forwarded to a processor in the mobile electronic device210. According to various embodiments, the display211of the mobile electronic device210may include a pressure sensor therein. The pressure sensor may sense the intensity with which the user presses the display211. The pressure sensor may convert a user input to an electrical signal according to the intensity of the pressure and may forward the electrical signal to a processor in the mobile electronic device210.

According to various embodiments of the disclosure, at least a portion of the display211may operate as an input device (e.g., a touch pad) under a specified condition (e.g., whether the external display device230is connected, an external pointing device240is connected, or the like). For example, when the display211operates as a touch pad, the touch input of a user may be reflected on a movement of a mouse pointer or a cursor or a click operation output onto a screen of the external display device230.

The interface device220may connect the mobile electronic device210and the external display device230. The interface device220may be, for example, a dock (or a docking station). The interface device220may include a mount for mounting the mobile electronic device210.FIG. 2illustrates the mobile electronic device210that is mounted on the interface device220in a portrait mode, but the embodiment is not limited thereto. For example, the mobile electronic device210may be mounted on the interface device220in a landscape mode. For example, the interface device220may be connected to the mobile electronic device210through an input/output interface such as a USB port, and the like.

According to various embodiments of the disclosure, the interface device220may include a port for a wired connection with an external input device (e.g., the pointing device240, a keyboard device250, and the like). When an external input device is connected to the port, information about the connection with the external input device may be provided to the mobile electronic device210.

The external display device230may be a device (e.g., a monitor, a TV, and the like) that outputs content provided from the mobile electronic device210. The external display device230may output the same screen as the display211of the mobile electronic device210(e.g., mirroring), or may output a screen that is at least partially different from the display211.

The external display device230may be connected to the mobile electronic device210through the interface device220.

According to various embodiments of the disclosure, the mobile electronic device210may output contents (e.g., an image, a text, a picture, and the like) through the external display device230when the mobile electronic device210is connected to the external display device230(or, when the mobile electronic device210is in a communication enable state). The mobile electronic device210may reconfigure at least a portion of the contents displayed on the display211and output the reconfigured screen through the external display device230. For example, the mobile electronic device210may output a user interface similar to that using a desktop PC through a display231of the external display device230.

The mobile electronic device210may be wired or wirelessly connected to an external input device such as an external pointing device (e.g., a mouse or a touchpad)240, an external keyboard device250, or the like. The mobile electronic device210may receive a user input through the external pointing device240or the external keyboard device250. The user may control the contents output through the mobile electronic device210or the external display device230by using the external pointing device240or the external keyboard device250.

FIG. 3is a block diagram illustrating a mobile electronic device according to an embodiment of the disclosure.

Referring toFIG. 3, a mobile electronic device may include a housing, a touch screen display310, a connector320, a wireless communication circuit330, a memory340, at least one processor350, and the like.

The housing is a frame that can accommodate the components310to350of the mobile electronic device.

The touch screen display310(e.g., the display device160and the display211) may output an execution screen of an application, or the like. In an embodiment, the touch screen display310may be implemented with a touch panel (e.g., a touch screen display, or the like). According to an embodiment of the disclosure, the touch screen display310may be exposed through the housing.

The connector320may be a connection port for connecting the mobile electronic device300to an interface device. For example, the mobile electronic device may be electrically connected to a connector of the interface device through the connector320. The connector320may be, for example, a USB—C type connector, a micro 5-pin connector, a lightning connector, or the like.

The wireless communication circuit330(e.g., the wireless communication module192) may allow the mobile electronic device300to wirelessly communicate with an external server, an external device, or the like.

According to various embodiments of the disclosure, the wireless communication circuit330may transmit a screen of an application output by the mobile electronic device300to an external display device.

The memory340(e.g., the memory130) may be electrically connected to the at least one processor350and may store instructions that are executed by the at least one processor350. According to an embodiment of the disclosure, the memory340may store an application that are executed by the processor350or resources for providing a service through the touch screen display310. According to an embodiment of the disclosure, the memory340may include a general area and a security area. The general area and the security area may be separated, and the applications included in the general area cannot access the security area without permission.

The at least one processor350(e.g., the processor120shown inFIG. 1) may execute instructions stored in the memory340to perform the operations described below.

According to various embodiments of the disclosure, the mobile electronic device300may further include a digitizer (not shown). According to various embodiments, the processor350may receive an input from a digitizer pen through the digitizer.

FIG. 4is a block diagram illustrating a mobile electronic device410, an interface device420, a display device430, and an input device440according to an embodiment of the disclosure.

Referring toFIG. 4, according to an embodiment of the disclosure, the mobile electronic device410may correspond to the mobile electronic device300described with reference toFIG. 3. According to an embodiment of the disclosure, the mobile electronic device410may include a touch screen display411, a mobile mode launcher412, a desktop mode launcher413, a security desktop mode launcher414, a first area415, a second area416, a connector417, a wireless communication circuit418, and the like. According to an embodiment, the mobile electronic device410may further include a wired communication circuit although not shown inFIG. 4.

According to an embodiment of the disclosure, the touch screen display411, the connector417, and the wireless communication circuit418may correspond to the touch screen display310, the connector320, and the wireless communication circuit330described with reference toFIG. 3.

According to an embodiment of the disclosure, the processor may execute instructions stored in the memory, thereby implementing the mobile mode launcher412, the desktop mode launcher413, the security desktop mode launcher414, one or more applications415aincluded in the first area415, and one or more applications416aincluded in the second area416. Thus, the operations performed by the modules may be understood to be performed by the processor.

The mobile mode launcher412may be a program that displays an initial screen displayed on the display of the mobile electronic device410and the list of applications included in the general area. According to an embodiment, the mobile mode launcher412may be included in the first area415of the memory.

The desktop mode launcher413may be a program that displays an initial screen displayed on the external display device430through the interface device420and the list of applications included in the general area. According to an embodiment, the desktop mode launcher413may be included in the first area415of the memory.

The security desktop mode launcher414may be a program that displays an initial screen displayed on the external display device430through the interface device420and the list of applications included in the security area of the memory. According to an embodiment, the security desktop mode launcher414may be included in the second area416of memory.

According to an embodiment of the disclosure, the processor may execute the desktop mode launcher413or the security desktop mode launcher414when the mobile electronic device410is connected to the interface device420through the connector417.

According to an embodiment of the disclosure, the first area415and the second area416may be included in the memory. According to an embodiment, the first area415may be a general area and the second area416may be a security area.

According to an embodiment of the disclosure, the applications included in each area may share data with each other, and the applications included in different areas cannot share data with each other without permission.

For example, the first area415may include first and third applications, and the second area416may include second and fourth applications. According to an embodiment of the disclosure, the first and third applications may share data with each other, and the second and fourth applications may share data with each other. To the contrary, the first and second applications may not share data with each other.

According to an embodiment of the disclosure, when the application included in the first area415and the application included in the second area416are applications specified in advance to provide the same function, the applications included in the first area415and the application included in the second area416may share data with each other.

For example, the first area415may include the first application and the second area416may include the second application. According to an embodiment of the disclosure, the first and second applications may provide a telephone function and may applications specified in advance to share data with each other. In this case, the first and second applications may share call list data with each other. According to an embodiment of the disclosure, the pre-specified application may include at least one of a telephone application, a contact application, a message application, or a calendar application.

According to an embodiment of the disclosure, the interface device420may include a connector421, a display port (DP) to HDMI module422, a USB hub423, an Ethernet module424, and the like.

The connector421may connect the interface device420to the mobile electronic device410. For example, the connector421of the interface device420may be electrically connected to the connector417of the mobile electronic device410. For example, the connector421may be a USB—C type connector, a micro 5-pin connector, a lightning connector, or the like.

The DP to HDMI module422may mirror a screen output by the mobile electronic device410connected through the connector421. For example, the DP to HDMI module422may convert a signal output from the mobile electronic device410into a signal complying with a high definition multimedia interface (HDMI) standard.

The USB hub423expands one USB port to a plurality of USB ports such that a plurality of USB devices may be connected to the interface device420.

One end of the Ethernet module424may be connected to the connector421and an opposite end thereof may be connected to an RJ45 port (not shown). According to an embodiment, the Ethernet module424may enable the mobile electronic device410to use wired internet.

According to an embodiment of the disclosure, the display device430may display a screen received through the interface device420and output by the mobile electronic device410.

According to an embodiment of the disclosure, the display device430may be connected to the DP to HDMI module422of the interface device420. According to an embodiment, the display device430may display a screen of the desktop mode launcher413and a screen of an application by using a signal complying with the HDMI standard and output by the DP to HDMI module422.

According to an embodiment of the disclosure, the display device430may receive a screen output by the mobile electronic device410through the wireless communication circuit418. According to an embodiment, the display device430may display a screen received through the wireless communication circuit418.

According to one embodiment of the disclosure, the input device440may forward a user input to the mobile electronic device410. According to an embodiment, the input device440may be connected to the mobile electronic device410through the interface device420or may be directly connected to the mobile electronic device410.

According to an embodiment of the disclosure, the input device440may be connected to the interface device420through a USB port (not shown) of the interface device420. According to an embodiment, the interface device420may enable the connected input device440to operatively connected to the mobile electronic device410. In other words, the interface device420may forward the user input received from the input device440to the mobile electronic device410through the connector421.

According to an embodiment of the disclosure, the input device440may be directly connected to the mobile electronic device410by using wireless communication (e.g., Bluetooth).

According to an embodiment of the disclosure, the input device440may include at least one of a mouse, a keyboard, or a tablet. According to an embodiment, the plurality of input devices440may be connected to the mobile electronic device410. For example, the first input device440of the plurality of input devices440may be connected to the mobile electronic device410through the interface device420and the second input device440may be connected to the mobile electronic device410by using wireless communication.

FIG. 5is a block diagram illustrating a software module for processing an input according to an embodiment of the disclosure.

Referring toFIG. 5, according to an embodiment of the disclosure, an input device driver510may process a user input through an input device. For example, the input device driver510may include information about driving schemes, properties, functions, and the like of a plurality of input devices. The input device driver510may use the included information to forward the user input received from the input device to an input stack520.

The input stack520may store a user input event received from the input device driver510.

An event hub530may perform the connection and disconnection of an input device, the input reading of the input device, and the like. According to an embodiment of the disclosure, the event hub530may search for an input device that forwards the user input to the input device driver510and may store the user input event stored in the input stack520in an event queue.

An input reader540may include a touch input mapper541, a keyboard input mapper542, a mouse input mapper543, and the like. However, the input mappers that the input reader540can include are not limited to the illustrated input mappers.

The input mapper included in the input reader540may process the user input event stored in the event queue.

According to an embodiment of the disclosure, the touch input mapper541may attach a tag to a touch input event such that the touch input event received through the touch screen display is forwarded to a pre-specified application. For example, the touch input mapper541may attach a tag to a touch input event such that the touch input event is forwarded to an application in the first area. According to various embodiments, the touch input mapper541may attach a tag to a touch input event such that the touch input event is forwarded to an application of the second area.

According to an embodiment of the disclosure, the keyboard input mapper542may attach a tag to a keyboard input event such that the keyboard input event received through the touch screen display is forwarded to a pre-specified application. For example, the keyboard input mapper542may attach a tag to a keyboard input event such that the keyboard input event is forwarded to an application in the second area. According to various embodiments of the disclosure, the keyboard input mapper542may attach a tag to a keyboard input event such that the keyboard input event is forwarded to an application in the first area.

According to an embodiment of the disclosure, the mouse input mapper543may attach a tag to a mouse input event such that the mouse input event received through the touch screen display is forwarded to a pre-specified application. For example, the mouse input mapper543may attach a tag to a mouse input event such that the mouse input event is forwarded to an application in the second area. According to various embodiments of the disclosure, the mouse input mapper543may attach a tag to a mouse input event such that the mouse input event is forwarded to an application in the first area.

An input dispatcher550may forward an input event processed by the input mapper stored in the event queue to an application through an input channel.

For example, the input dispatcher550may forward a touch input event processed by the touch input mapper541stored in the event queue to an application570ain the first area through a first input channel560a. As another example, the input dispatcher550may forward a touch input event processed by the keyboard input mapper542or mouse input mapper543stored in the event queue to an application570bin the second area through a second input channel560b.

According to an embodiment of the disclosure, in accordance with the process of processing the input described above, the processor may forward a received user input only to an application set according to an input device. In other words, according to the setting according to the input device, the user input may be forwarded only to the application included in a specified area.

FIG. 6is a flowchart600illustrating a method of forwarding a user input to an application according to an embodiment of the disclosure.

Referring toFIG. 6, hereinafter, it is assumed that the mobile electronic device300ofFIG. 3performs the process ofFIG. 6. The operations described as being performed by the mobile electronic device300may be implemented with instructions that may be performed (or executed) by the processor350of the mobile electronic device300. For example, the instructions may be stored in a computer recording medium or in the memory340of the mobile electronic device300shown inFIG. 3.

In operation601, the processor350may execute the first application included in the first area of the memory340.

According to an embodiment of the disclosure, the first area of the memory340may be a general area.

In operation603, the processor350may display a screen of the first application on the touch screen display310.

In operation605, the processor350may execute the second application included in the second area of the memory340when connected to the external interface device420through the connector320.

According to an embodiment of the disclosure, the external interface device420may be the interface device420described with reference toFIGS. 2 and 4.

According to an embodiment of the disclosure, the second area of the memory340may be a security area separated from the general area.

In operation607, the processor350may transmit data related to the screen of the second application to the external interface device420through the connector320.

According to an embodiment of the disclosure, the data related to the screen of the second application may include data for the external display device to display the screen of the second application.

In operation609, the processor350may forward the first user input through the touch screen display310to the first application.

According to an embodiment of the disclosure, the processor350may not forward the first user input through the touch screen display310to the second application.

In operation611, the processor350may forward the second user input through an external input device operatively connected through at least one of the wireless communication circuit330or the connector320, to the second application.

According to an embodiment of the disclosure, the processor350may not forward the second user input through the external input device to the first application.

According to various embodiments of the disclosure, before operation601, the processor350may display a screen of the first launcher included in the first area of the memory340on the touch screen display310. According to an embodiment, the screen of the first launcher may include an initial screen displayed on the touch screen display310and a list of applications included in the general area.

According to an embodiment of the disclosure, the processor350may execute the second launcher included in the second area of the memory340when connected to the external interface device420through the connector320.

According to an embodiment of the disclosure, the processor350may transmit data related to the screen of the second launcher to the external interface device420through the connector320. According to an embodiment, the screen of the second launcher may include an initial screen displayed on the external display device and a list of applications included in the security area.

According to one embodiment of the disclosure, the processor350may forward the first user input via the touch screen display310to the first launcher and not forward to the second launcher. According to an embodiment, the processor350may forward the second user input through an external input device operatively connected through at least one of the wireless communication circuit330or the connector320, to the second launcher and not forward to the first launcher.

According to an embodiment of the disclosure, when the processor350receives a user input through the touch screen display310for selecting an application included in the screen of the first launcher, the processor350may execute the selected application and may display the screen of the executed application on the touch screen display310.

According to an embodiment of the disclosure, when the processor350receives a user input through an external input device for selecting an application included in the screen of the second launcher, the processor350may execute the selected application and may transmit data related to the screen of the executed application to the external interface device420through the connector320.

According to various embodiments of the disclosure, the processor350may be operatively connected to a plurality of external input devices through at least one of the wireless communication circuit330or the connector320.

According to various embodiments of the disclosure, the processor350may forward the user input through the first input device of the plurality of input devices to the first application included in the first area of the memory340, and may forward the user input through the second input device to the second application included in the second area of the memory340. For example, the processor350may be connected to the wireless mouse and the wireless keyboard through the wireless communication circuit330. According to an embodiment, the processor350may forward the user input through the wireless mouse only to the second application included in the second area of the memory340, and may forward the user input through the wireless keyboard only to the first application included in the first area of the memory340.

According to various embodiments of the disclosure, the mobile electronic device300may further include a wired communication circuit.

According to an embodiment of the disclosure, the processor350may forward the data received through one of the wireless communication circuit330and the wired communication circuit to the first application and not forward to the second application. According to an embodiment of the disclosure, the processor350may forward the data received through the other of the wireless communication circuit330and the wired communication circuit to the second application and not forward to the first application.

For example, the processor350may forward the data received through Wi-Fi only to the first application included in the first area, and forward the data received through wired LAN communication only to the second application included in the second area.

According to various embodiments of the disclosure, the mobile electronic device300may be connected to a wired communication network through the interface device420. According to an embodiment, the processor350may forward the data received through the wireless communication circuit330only to the first application. According to an embodiment of the disclosure, the processor350may forward the data received from the wired communication network through the interface device420only to the second application.

FIG. 7is a view illustrating that an activity of an application according to an embodiment is loaded on an activity stack.

Referring toFIG. 7, according to an embodiment of the disclosure, the processor350may execute instructions stored in the memory340to implement an activity display.

According to an embodiment of the disclosure, the activity display may include an activity stack that manages the activity of an application.

The activity stack may keep an activity that is executed in an application. The activity stack may include consecutive activities. According to an embodiment of the disclosure, the activity stack may keep activities in a first-in last-out form, and the most recently loaded activity may be used first. For example, when activity1, activity2, and activity3are loaded in turn on the activity stack, activity3may be activated on the display. That is, the window corresponding to activity3in the display may be focused.

Referring toFIG. 7, the processor350may execute the instructions stored in the memory340to implement activity display171and activity display272.

According to an embodiment of the disclosure, the processor350may generate an activity display for each of the touch screen display310and the external display device. For example, the processor350may generate the activity display171for the touch screen display310and the activity display272for the external display device.

According to an embodiment of the disclosure, an application1710may be an application stored in the first area of the memory340and an application2730may be an application stored in the second area of the memory340. According to an embodiment of the disclosure, the application1710may include activity1-1711, activity1-2712, activity1-3713, and activity1-4714, and the application2730may include activity2-1731, activity2-2732, activity2-3733, and activity2-4734.

According to an embodiment of the disclosure, in activity display171, activity1-3713, activity1-2712, and activity1-1711of application1710may be sequentially loaded on activity stack1720. According to an embodiment, in activity display272, activity2-4734, activity2-2732and activity2-3733of application2730may be sequentially loaded on activity stack2740.

According to an embodiment of the disclosure, the processor350may implement both activity display171and activity display272simultaneously. Since the activity display171and the activity display272are simultaneously implemented, the activity1-1711which is the top activity of the activity stack1720and the activity2-3733which is the top activity of the activity stack2740may be activated at the same time. That is, while the window corresponding to activity1-1711remains in the focused state (e.g., a state where a window can receive a user input) on the touch screen display310of the mobile electronic device, the window corresponding to the activity2-3733may be maintained in the focused state on the external display device. In an embodiment, the user input through the touch screen display310may be forwarded to the activated activity1-1711of the application1710and the user input through the external input device may be forwarded to the activated activity2-3733of the application2730.

FIG. 8Ais a view illustrating a screen on which a list of input devices is displayed on a display according to an embodiment of the disclosure.

FIG. 8Bis a view illustrating a screen for setting a display device to which a mouse input is forwarded according to an embodiment is forwarded.

Referring toFIGS. 8A and 8B, the mobile electronic device300may receive a user input in various input schemes. According to an embodiment of the disclosure, the processor350may display a screen for setting a display to which a user input is transmitted for each input device as shown inFIG. 8A. In an embodiment, as shown inFIG. 8A, the processor350may display an input device list810. In an embodiment, the input device list may include a mouse811, a keyboard812, a touch pad813, an S-pen814, and a game controller815.

According to an embodiment of the disclosure, when a user input for selecting the mouse811is received, as shown inFIG. 8B, the processor350may include a display list820which a user input through the mouse811may be forwarded. According to an embodiment, the display list820may include “Galaxy 58®” (the display of a mobile electronic device)821, connected monitor1822and connected monitor2823. In an embodiment, the user input through the mouse811may be set to be forwarded to “Galaxy S8®”. According to an embodiment, a screen of an application included in the general area of the memory340may be displayed on the display of the mobile electronic device300, and the user input through the mouse811may be forwarded to the application included in the general area.

FIG. 9Ais a view illustrating a screen for setting a launcher displayed on each display device according to an embodiment of the disclosure.

Referring toFIG. 9A, according to an embodiment of the disclosure, a first display911ofFIG. 9Amay be the touch screen display310of the mobile electronic device300, and a second display912may be an external display device connected to the mobile electronic device300through the interface device420. According to an embodiment, a normal launcher911aincluded in the general area of the memory340may be displayed on the first display911, and a container launcher912aincluded in the security area of the memory340may be displayed on the second display912. According to an embodiment, the container launcher912amay be displayed on the first display911and the normal launcher911amay be displayed on the second display912by a setting change input of a user.

FIG. 9Bis a view illustrating a screen showing a list of applications displayed on each display device according to an embodiment of the disclosure.

Referring toFIG. 9B, according to an embodiment of the disclosure, an application displayed on each display may be set. For example, “Call” (a telephone application)921a“Alarm” (an alarm application)921b, and “Message” (a message application)921cmay be displayed on the first display921. “Internet” (an internet application)922a, “Youtube” (a YouTube application)922b, and “Gallery” (a gallery application)922cmay be displayed on the second display922.

According to an embodiment of the disclosure, an application displayed on each display may be changed by the setting change input of a user.

A mobile electronic device according to an embodiment of the disclosed in the disclosure may include a connector, a touch screen display, a memory including a first area and a second area, a wireless communication circuit, and at least one processor, wherein the at least one processor executes a first application included in the first area, displays a screen of the first application on the touch screen display, executes a second application included in the second area when being connected to an external interface device through the connector, transmits data related to a screen of the second application through the connector to the external interface device, forwards a first user input through the touch screen display to the first application and not forward to the second application, and forwards a second user input through a first external input device, which is operatively connected through at least one of the wireless communication circuit or the connector, to the second application and not forward to the first application.

In an embodiment of the disclosure, one of the first and second areas may be a security area.

In an embodiment of the disclosure, the first area may further include a third application, the second area may further include a fourth application, the first and third applications may share data with each other, and the second and fourth applications may share data with each other.

In an embodiment of the disclosure, the first and second applications may share data with each other when the first and second applications are applications specified in advance to provide a same function.

In an embodiment of the disclosure, the first and second applications may include at least one of a telephone application, a contact application, a message application, or a calendar application.

In an embodiment of the disclosure, the mobile electronic device may further include a wired communication circuit, wherein the at least one processor forwards data received through one of the wireless communication circuit and the wired communication circuit to the first application and not forward to the second application, and forwards data received through the other of the wireless communication circuit and the wired communication circuit to the second application and not forward to the first application.

In an embodiment of the disclosure, the first external input device may include at least one of a mouse, a keyboard, or a tablet.

In an embodiment of the disclosure, the at least one processor may display a screen of a first launcher, which is included in the first area, on the touch screen display before executing the first application, execute a second launcher included in the second area before executing the second application when being connected to the external interface device through the connector, transmit data related to a screen of the second launcher through the connector to the external interface device, forward the first user input through the touch screen display to the first launcher and not forward to the second launcher, and forward the second user input through the first external input device to the second launcher and not forward to the first launcher.

In an embodiment of the disclosure, the at least one processor may keep all windows of the first and second applications in a simultaneously focused state.

In an embodiment of the disclosure, the at least one processor may operatively connect with a second external input device through at least one of the wireless communication circuit or the connector, and may forward a third user input through the second external input device to the first application and not forward to the second application.

In addition, a method of processing a user input by a mobile electronic device according to another embodiment disclosed in the disclosure may include executing a first application included in a first area of a memory, displaying a screen of the first application on a touch screen display of the mobile electronic device, executing a second application included in a second area of the memory when the mobile electronic device is connected to an external interface device, transmitting data related to a screen of the second application to the external interface device, forwarding a first user input received through the touch screen display to not the second application but the first application, and forwarding a second user input through an external input device, which is operatively connected with the mobile electronic device, to not the first application but the second application.

In an embodiment of the disclosure, one of the first and second areas may be a security area.

In an embodiment of the disclosure, the method may further include forwarding data received through one of a wireless communication circuit and a wired communication circuit to not the second application but the first application, and forwarding data received through the other of the wireless communication circuit and the wired communication circuit to not the first application but the second application.

In an embodiment of the disclosure, the first external input device may include at least one of a mouse, a keyboard, or a tablet.

In an embodiment of the disclosure, the method may further include keeping all windows of the first and second applications in a simultaneously focused state.

In addition of the disclosure, according to another embodiment disclosed in the disclosure, a storage medium storing computer-readable instructions may be provided, wherein, when the instructions are executed by a processor of a mobile electronic device, the instructions cause the mobile electronic device to execute a first application included in a first area of a memory, display a screen of the first application on a touch screen display, execute a second application included in a second area of the memory when the mobile electronic device is connected to an external interface device, transmit data related to a screen of the second application to the external interface device, forward a first user input received through the touch screen display to not the second application but the first application, and forward a second user input through an external input device, which is operatively connected with the mobile electronic device, to not the first application but the second application.

In an embodiment of the disclosure, one of the first and second areas may be a security area.

In an embodiment of the disclosure, when the instructions are executed by the processor of the mobile electronic device, the instructions may cause the mobile electronic device to forward data received through one of a wireless communication circuit and a wired communication circuit to not the second application but the first application, and forward data received through the other the other of the wireless communication circuit and the wired communication circuit to not the first application but the second application.

In an embodiment of the disclosure, the first external input device may include at least one of a mouse, a keyboard, or a tablet.

In an embodiment of the disclosure, when the instructions are executed by the processor of the mobile electronic device, the instructions may further cause the mobile electronic device to keep all windows of the first and second applications in a simultaneously focused state.