KR20230041935A - Electronic device for controlling displaying of screen to be shared based on user authentication and method thereof - Google Patents

Electronic device for controlling displaying of screen to be shared based on user authentication and method thereof Download PDF

Info

Publication number
KR20230041935A
KR20230041935A KR1020210131976A KR20210131976A KR20230041935A KR 20230041935 A KR20230041935 A KR 20230041935A KR 1020210131976 A KR1020210131976 A KR 1020210131976A KR 20210131976 A KR20210131976 A KR 20210131976A KR 20230041935 A KR20230041935 A KR 20230041935A
Authority
KR
South Korea
Prior art keywords
electronic device
screen
state
input
external electronic
Prior art date
Application number
KR1020210131976A
Other languages
Korean (ko)
Inventor
이경렬
김영현
최아름
권소은
김학주
박상호
서운용
양지용
이성준
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of KR20230041935A publication Critical patent/KR20230041935A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43076Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4753End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for user identification, e.g. by entering a PIN or password
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/631Multimode Transmission, e.g. transmitting basic layers and enhancement layers of the content over different transmission paths or transmitting with different error corrections, different keys or with different transmission protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Telephone Function (AREA)

Abstract

According to one embodiment, an electronic device comprises: a display; a communication circuitry; a memory configured to store a plurality of instructions; and a processor operably coupled with the display, the communication circuitry, and the memory, wherein the processor may access a first external electronic device distinct from the electronic device along a network connected by the communication circuit when executing the plurality of instructions, display a second screen distinct from a first screen on the display while providing the first screen related to an application running on the electronic device, receive a first input for switching from the second screen to the first screen while displaying the second screen, be provided by a second external electronic device distinct from the first external electronic device in the network in response to receiving the first input, identify whether the first external electronic device has been accessed using the location of the first external electronic device in the network, switch from the second screen to the first screen in response to receiving the first input in a first state accessing the first external electronic device using the location, distinguish the first screen from the second screen in response to receiving the first input in a second state distinct from the first state, and switch to a third screen requesting a second input distinct from the first input. According to one embodiment, the electronic device may control the display of content shared with another electronic device based on user authentication.

Description

사용자 인증에 기반하여 공유될 화면의 표시를 제어하기 위한 전자 장치 및 그 방법{ELECTRONIC DEVICE FOR CONTROLLING DISPLAYING OF SCREEN TO BE SHARED BASED ON USER AUTHENTICATION AND METHOD THEREOF}Electronic device and method for controlling the display of a screen to be shared based on user authentication

아래의 설명들은 사용자 인증에 기반하여 공유될 화면의 표시를 제어하기 위한 전자 장치 및 그 방법에 관한 것이다. The descriptions below relate to an electronic device and method for controlling display of a screen to be shared based on user authentication.

디지털 기술의 발달과 함께 이동통신 단말기, PDA(personal digital assistant), 전자 수첩, 스마트폰, 태블릿(tablet) PC(personal computer), 또는 웨어러블 디바이스(wearable device) 등과 같이 이동성(mobility)을 가지면서 통신 및/또는 정보 처리를 수행할 수 있는 전자 장치들이 보급되고 있다. 이러한 전자 장치는 음성 통화, 문자 메시지 송신 등과 같은 서비스 뿐만 아니라 사진 촬영, 길 찾기, 또는 웹 인터페이스 제공 등과 같은 다양한 서비스들을 제공하고 있다. With the development of digital technology, communication while having mobility such as a mobile communication terminal, PDA (personal digital assistant), electronic notebook, smartphone, tablet PC (personal computer), or wearable device and/or electronic devices capable of performing information processing are becoming widespread. These electronic devices provide not only services such as voice calls and text messages, but also various services such as taking pictures, finding directions, and providing web interfaces.

한편, 통신 기술의 발달로 인하여 사진, 동영상 등과 같은 콘텐트(content)에 대한 접근도가 증가함에 따라 이러한 콘텐트를 공유하는 다양한 기술(technology)들이 개발되고 있다. Meanwhile, as the degree of access to content such as photos and videos increases due to the development of communication technology, various technologies for sharing such content are being developed.

전자 장치들 사이에서 공유되는 콘텐트가, 전자 장치들 전부에서 표시됨에 따라, 콘텐트가 유출되는 것을 보호하기 위한 방안이 요구될 수 있다.As content shared between electronic devices is displayed on all of the electronic devices, a method for protecting the content from being leaked may be required.

본 문서에서 이루고자 하는 기술적 과제는 상술한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다. The technical problem to be achieved in this document is not limited to the above-mentioned technical problem, and other technical problems not mentioned will be clearly understood by those skilled in the art from the description below. .

일 실시예(an embodiment)에 따른 전자 장치(electronic device)는, 디스플레이, 통신 회로, 복수의 인스트럭션들을 저장하도록 구성된 메모리, 및 상기 디스플레이, 상기 통신 회로 및 상기 메모리와 작동적으로 결합된 프로세서를 포함하고, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 통신 회로에 의해 연결된 네트워크를 따라 상기 전자 장치와 구별되는 제1 외부 전자 장치에 액세스하여, 상기 전자 장치에서 실행되는 어플리케이션과 관련된 제1 화면을 제공하는 동안, 상기 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하고, 상기 제2 화면을 표시하는 동안, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하기 위한 제1 입력을 수신하고, 상기 제1 입력을 수신하는 것에 응답하여, 상기 네트워크 내에서, 상기 제1 외부 전자 장치와 구별되는 제2 외부 전자 장치로부터 제공되고, 상기 제1 외부 전자 장치의 상기 네트워크 내에서의 위치를 이용하여 상기 제1 외부 전자 장치에 액세스하였는지 여부를 식별하고, 상기 위치를 이용하여 상기 제1 외부 전자 장치에 액세스한 제1 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하고, 및 상기 제1 상태와 구별되는 제2 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭할 수 있다.An electronic device according to an embodiment includes a display, communication circuitry, a memory configured to store a plurality of instructions, and a processor operatively coupled with the display, communication circuitry, and memory. and the processor, when executing the plurality of instructions, accesses a first external electronic device that is distinguished from the electronic device along a network connected by the communication circuit to obtain a first external electronic device associated with an application executed in the electronic device. While providing a screen, displaying a second screen distinct from the first screen on the display, and receiving a first input for switching from the second screen to the first screen while displaying the second screen and, in response to receiving the first input, provided from a second external electronic device that is distinct from the first external electronic device within the network, and the position of the first external electronic device within the network In a first state in which the first external electronic device is accessed using the location, and in a first state in which the first external electronic device is accessed using the location, in response to receiving the first input, the second external electronic device is identified. In response to switching from a screen to the first screen, and receiving the first input in a second state distinct from the first state, from the second screen, distinct from the first screen, the first state It is possible to switch to a third screen requesting a second input distinct from the first input.

일 실시예에 따른 전자 장치(electronic device)는, 디스플레이, 통신 회로, 복수의 인스트럭션들을 저장하도록 구성된 메모리, 상기 디스플레이, 상기 통신 회로 및 상기 메모리와 작동적으로 결합된 프로세서를 포함하고, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 통신 회로를 통하여 다른 전자 장치로, 상기 전자 장치에서 실행되고 있는 하나 이상의 어플리케이션들에 기반하는 제1 화면을 표시하는 동안, 상기 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하고, 상기 제2 화면을 표시하는 상태에서, 상기 제1 화면으로 스위칭 하기 위한 제1 입력을 수신하고, 상기 디스플레이의 제1 부분에 제1 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제1 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하고, 및 상기 제1 부분에 상기 제1 네트워크와 구별되는 제2 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제2 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭할 수 있다.An electronic device according to one embodiment includes a display, communication circuitry, a memory configured to store a plurality of instructions, and a processor operatively coupled with the display, the communication circuitry, and the memory, the processor comprising: , When executing the plurality of instructions, while displaying a first screen based on one or more applications running in the electronic device to another electronic device through the communication circuit, the first screen on the display Displays a second screen distinct from the second screen, receives a first input for switching to the first screen in a state of displaying the second screen, and receives the other electronic device through a first network in the first part of the display. In response to receiving the first input while displaying a first visual object indicating communication with a device, switching from the second screen to the first screen, and in the first portion, the first network and the Distinguished from the first screen from the second screen in response to receiving the first input in a state of displaying a second visual object indicating communication with the other electronic device through a distinct second network; It is possible to switch to a third screen requesting a second input distinct from the first input.

일 실시예에 따른 전자 장치의 방법은, 상기 전자 장치의 통신 회로에 의해 연결된 네트워크를 따라 상기 전자 장치와 구별되는 제1 외부 전자 장치에 액세스하여, 상기 전자 장치에서 실행되는 어플리케이션과 관련된 제1 화면을 제공하는 동안, 상기 전자 장치의 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하는 동작, 상기 제2 화면을 표시하는 동안, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하기 위한 제1 입력을 수신하는 동작, 상기 제1 입력을 수신하는 것에 응답하여, 상기 네트워크 내에서, 상기 제1 외부 전자 장치와 구별되는 제2 외부 전자 장치로부터 제공되고, 상기 제1 외부 전자 장치와 상기 네트워크 내에서의 위치를 이용하여 상기 제1 외부 전자 장치에 액세스하였는지 여부를 식별하는 동작, 상기 위치를 이용하여 상기 제1 외부 전자 장치에 액세스한 제1 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 동작, 및 상기 제1 상태와 구별되는 제2 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭하는 동작을 포함할 수 있다.A method of an electronic device according to an embodiment includes accessing a first external electronic device distinguished from the electronic device along a network connected by a communication circuit of the electronic device, and displaying a first screen related to an application executed in the electronic device. While providing, an operation of displaying a second screen distinct from the first screen on the display of the electronic device, a first step for switching from the second screen to the first screen while displaying the second screen. 1 operation of receiving an input, in response to receiving the first input, provided from a second external electronic device that is different from the first external electronic device within the network, and the first external electronic device and the network Identifying whether or not the first external electronic device is accessed using a location within the home, responding to receiving the first input in a first state in which the first external electronic device is accessed using the location and switching from the second screen to the first screen, and in response to receiving the first input in a second state distinct from the first state, from the second screen to the first screen and switching to a third screen requesting a second input distinct from the first input.

일 실시예에 따른 전자 장치(electronic device)의 방법은, 상기 전자 장치의 통신 회로를 통하여 다른 전자 장치로, 상기 전자 장치에서 실행되고 있는 하나 이상의 어플리케이션들에 기반하는 제1 화면을 표시하는 동안, 상기 전자 장치의 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하는 동작, 상기 제2 화면을 표시하는 상태에서, 상기 제1 화면으로 스위칭 하기 위한 제1 입력을 수신하는 동작, 상기 디스플레이의 제1 부분에 제1 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제1 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 동작, 및 상기 제1 부분에 상기 제1 네트워크와 구별되는 제2 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제2 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭하는 동작을 포함할 수 있다.A method of an electronic device according to an embodiment includes, while displaying a first screen based on one or more applications running in the electronic device to another electronic device through a communication circuit of the electronic device, Displaying a second screen distinct from the first screen on the display of the electronic device, receiving a first input for switching to the first screen while the second screen is displayed, the display Switching from the second screen to the first screen in response to receiving the first input while displaying a first visual object indicating communication with the other electronic device through a first network on a first part of In response to receiving the first input in a state of displaying a second visual object indicating communication with the other electronic device through a second network distinct from the first network, An operation of switching from the second screen to a third screen that requests a second input that is distinct from the first screen and that is different from the first input.

일 실시예에 따른 전자 장치는, 다른 전자 장치로 공유되는 콘텐트를 표시하는 것을, 사용자 인증에 기반하여 제어할 수 있다.An electronic device according to an embodiment may control display of content shared with other electronic devices based on user authentication.

본 개시에서 얻을 수 있는 효과는 상술한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다. Effects obtainable in the present disclosure are not limited to the above effects, and other effects not mentioned will be clearly understood by those skilled in the art from the description below.

도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a 내지 2b는, 일 실시예에 따른 전자 장치들 사이의 연결의 서로 다른 상태들을 설명하기 위한 예시적인 도면들이다.
도 3은 일 실시예에 따른 전자 장치들의 블록도이다.
도 4는 일 실시예에 따른 전자 장치들 각각에서 실행되는 프로그램들을 설명하기 위한 도면이다.
도 5는 일 실시예에 따른 전자 장치들의, 미러링 기능과 관련된 상태들과 관련된 상태 천이도(state transition diagram)이다.
도 6a 내지 6b는 일 실시예에 따른 전자 장치들 각각에 표시되는 UI(User Interface)의 일 예를 도시한 도면들이다.
도 7a 내지 7b는 일 실시예에 따른 전자 장치가 외부 전자 장치로 화면을 송신하는 상태에서 표시하는 하나 이상의 다른 화면들을 설명하기 위한 도면들이다.
도 8은 일 실시예에 따른 전자 장치가 외부 전자 장치로 화면을 송신하는 상태에서 수행하는 동작을 설명하기 위한 흐름도이다.
도 9는 일 실시예에 따른 전자 장치가 제1 외부 전자 장치로 화면을 송신하는 상태에서, 전자 장치 및 제1 외부 전자 장치 사이의 네트워크의 타입에 기반하여 수행하는 동작을 설명하기 위한 흐름도이다.
도 10은 일 실시예에 따른 전자 장치가, 외부 전자 장치의 화면을 수신하는 상태에서 수행하는 동작을 설명하기 위한 흐름도이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2A and 2B are exemplary diagrams for explaining different states of connection between electronic devices according to an embodiment.
3 is a block diagram of electronic devices according to an exemplary embodiment.
4 is a diagram for describing programs executed in each of electronic devices according to an exemplary embodiment.
5 is a state transition diagram related to states related to a mirroring function of electronic devices according to an embodiment.
6A to 6B are diagrams illustrating an example of a user interface (UI) displayed on each electronic device according to an embodiment.
7A to 7B are diagrams for explaining one or more other screens displayed in a state in which an electronic device transmits a screen to an external electronic device according to an exemplary embodiment.
8 is a flowchart illustrating an operation performed in a state in which an electronic device transmits a screen to an external electronic device according to an exemplary embodiment.
9 is a flowchart illustrating an operation performed based on a network type between the electronic device and the first external electronic device in a state in which the electronic device transmits a screen to the first external electronic device according to an embodiment.
10 is a flowchart illustrating an operation performed by an electronic device in a state of receiving a screen of an external electronic device according to an exemplary embodiment.

이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 설명된다.Hereinafter, various embodiments of this document will be described with reference to the accompanying drawings.

본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및/또는 B 중 적어도 하나", "A, B 또는 C" 또는 "A, B 및/또는 C 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", "첫째" 또는 "둘째" 등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다.Various embodiments of this document and terms used therein are not intended to limit the technology described in this document to a specific embodiment, and should be understood to include various modifications, equivalents, and/or substitutes of the embodiments. In connection with the description of the drawings, like reference numerals may be used for like elements. Singular expressions may include plural expressions unless the context clearly dictates otherwise. In this document, expressions such as "A or B", "at least one of A and/or B", "A, B or C" or "at least one of A, B and/or C" refer to all of the items listed together. Possible combinations may be included. Expressions such as "first", "second", "first" or "second" may modify the elements in any order or importance, and are used only to distinguish one element from another. The components are not limited. When a (e.g., first) element is referred to as being "(functionally or communicatively) coupled to" or "connected to" another (e.g., second) element, that element refers to the other (e.g., second) element. It may be directly connected to the component or connected through another component (eg, a third component).

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 모듈은 ASIC(application-specific integrated circuit)으로 구성될 수 있다.The term "module" used in this document includes a unit composed of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integral part or a minimum unit or part thereof that performs one or more functions. For example, the module may be composed of an application-specific integrated circuit (ASIC).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), terminal power minimization and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

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

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

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

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

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

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

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

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

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

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

도 2a 내지 2b는, 일 실시예에 따른 전자 장치들(101, 210) 사이의 연결(220)의 서로 다른 상태들(200, 205)을 설명하기 위한 예시적인 도면들이다. 도 2a 내지 2b를 참고하면, 전자 장치들(101, 210)이 유선 네트워크 및/또는 무선 네트워크에 기반하는 네트워크(250)를 따라 연결된 서로 다른 상태들(200, 205)이 도시된다. 일 실시예에 따른 전자 장치들(101, 210)은, 네트워크(250)를 통해 서로 연결된 상태에서, 화면을 공유하는 동작을 수행할 수 있다. 전자 장치들(101, 210) 각각에 포함된 하드웨어 컴포넌트는 도 3을 참고하여 설명한다. 상기 유선 네트워크는, 인터넷, LAN(Local Area Network), WAN(Wide Area Network), 이더넷 또는 이들의 조합과 관련될 수 있다. 상기 무선 네트워크는, LTE(Long Term Evolution), 5g NR(New Radio), WiFi(Wireless Fidelity), Zigbee, NFC(Near Field Communication), Bluetooth, BLE(Bluetooth Low-Energy) 또는 이들의 조합과 관련될 수 있다.2A to 2B are exemplary diagrams for explaining different states 200 and 205 of a connection 220 between electronic devices 101 and 210 according to an embodiment. Referring to FIGS. 2A and 2B , different states 200 and 205 in which electronic devices 101 and 210 are connected along a network 250 based on a wired network and/or a wireless network are shown. The electronic devices 101 and 210 according to an embodiment may perform a screen sharing operation while connected to each other through the network 250 . Hardware components included in each of the electronic devices 101 and 210 will be described with reference to FIG. 3 . The wired network may relate to the Internet, a local area network (LAN), a wide area network (WAN), Ethernet, or a combination thereof. The wireless network may be related to Long Term Evolution (LTE), 5g New Radio (NR), Wireless Fidelity (WiFi), Zigbee, Near Field Communication (NFC), Bluetooth, Bluetooth Low-Energy (BLE), or a combination thereof. can

일 실시예에 따른 전자 장치들(101, 210)은 사용자에 의해 소유되는(be owned by) 단말일 수 있다. 단말은, 예를 들어, 랩톱 및 데스크톱과 같은 개인용 컴퓨터(Personal Computer, PC), 스마트폰(smartphone), 스마트패드(smartpad), 태블릿 PC(Personal Computer), 스마트워치(smartwatch) 및 HMD(Head-Mounted Device)와 같은 스마트액세서리를 포함할 수 있다. 도 2를 참고하면, 전자 장치(101)는 스마트폰, 스마트패드, 태블릿 PC에 대응하고, 전자 장치(210)는 데스크톱과 같은 개인용 컴퓨터에 대응하는 일 예가 도시된다. 실시예는 도 2a 내지 2b의 일 예에 제한되지 않는다.The electronic devices 101 and 210 according to an embodiment may be terminals owned by users. The terminal is, for example, a personal computer (PC) such as a laptop and desktop, a smartphone, a smart pad, a tablet PC (Personal Computer), a smart watch, and an HMD (Head- Mounted Device) may include smart accessories. Referring to FIG. 2 , an example in which the electronic device 101 corresponds to a smart phone, a smart pad, and a tablet PC, and the electronic device 210 corresponds to a personal computer such as a desktop is shown. The embodiment is not limited to the example of FIGS. 2A to 2B .

상기 유선 네트워크 및 상기 무선 네트워크를 포함하는 네트워크(250)는, 하나 이상의 전기 신호들(예, 패킷)을 중계하기 위한 복수의 중계 노드들을 포함할 수 있다. 중계 노드는, 공유기(router), 기지국, AP(Access Point), 기지국(예, eNB(eNode B) 및/또는 gNB(gNode B))을 포함할 수 있다. 도 2a 내지 2b를 참고하면, 전자 장치들(101, 210) 및 네트워크(250) 사이에 배치되는 중계 노드의 일 예로써, AP(260) 및/또는 기지국(270)이 도시된다. 일 실시예에 따른 전자 장치들(101, 210)은 AP(260) 및 기지국(270)과 같은 중계 노드를 통하여, 네트워크(250)에 연결될 수 있다. 네트워크(250)에 포함된 중계 노드 및/또는 전자 장치들(101, 210) 각각은 네트워크(250) 내에서 노드로 참조될 수 있다. 네트워크(250) 내에 포함된 노드들은, 네트워크(250) 내에서 노드의 위치를 나타내는 데이터에 기반하여, 서로 통신할 수 있다. 상기 데이터는, 상기 위치를 나타내는 네트워크 주소로써, IP(Internet Protocol) 주소 및/또는 MAC(Media Access Control) 주소를 포함할 수 있다. 상기 IP 주소는, 예를 들어, IPv4(IP version 4) 및/또는 IPv6와 같은 지정된 포맷에 기반하여 전자 장치들(101, 210) 각각에 할당된 텍스트일 수 있다.The network 250 including the wired network and the wireless network may include a plurality of relay nodes for relaying one or more electrical signals (eg, packets). The relay node may include a router, a base station, an access point (AP), and a base station (eg, an eNode B (eNB) and/or a gNode B (gNB)). Referring to FIGS. 2A and 2B , an AP 260 and/or a base station 270 are illustrated as an example of a relay node disposed between the electronic devices 101 and 210 and the network 250 . The electronic devices 101 and 210 according to an embodiment may be connected to the network 250 through a relay node such as the AP 260 and the base station 270 . Each of the relay node and/or the electronic devices 101 and 210 included in the network 250 may be referred to as a node within the network 250 . Nodes included in network 250 may communicate with each other based on data indicating the location of the node within network 250 . The data, as a network address indicating the location, may include an Internet Protocol (IP) address and/or a Media Access Control (MAC) address. The IP address may be text assigned to each of the electronic devices 101 and 210 based on a designated format such as, for example, IP version 4 (IPv4) and/or IPv6.

네트워크(250)에 배치된 복수의 중계 노드들에 기반하여, 네트워크(250)의 일부분인 서브-네트워크(subnetwork)가 형성될 수 있다. 예를 들어, 단일 서브-네트워크가 중계 노드에 의하여 네트워크(250) 내에서 형성될 수 있다. 서브-네트워크는, 서브-네트워크에 대응하는 중계 노드에 의한 네트워크 주소의 변환에 기반하여 구별되는 네트워크(250)의 일부분을 의미할 수 있다. 예를 들어, 중계 노드에 의해 구별되는 일 서브-네트워크 내에서, 노드들은 중계 노드에 의해 노드들에 고유하게 할당된 네트워크 주소들(예, IP 주소)에 기반하여 직접적으로 통신할 수 있다. 서브-네트워크에 포함된 노드들이 네트워크 주소에 기반하여 직접적으로 통신함에 따라, 노드들 사이의 연결이 중계 노드에 의한 네트워크 주소의 변환과 독립적으로 수립될 수 있다.Based on the plurality of relay nodes deployed in the network 250, a sub-network that is part of the network 250 may be formed. For example, a single sub-network may be formed within network 250 by means of relay nodes. A sub-network may refer to a part of the network 250 that is distinguished based on a translation of a network address by a relay node corresponding to the sub-network. For example, within a sub-network distinguished by a relay node, nodes may communicate directly based on network addresses (eg, IP addresses) uniquely assigned to nodes by the relay node. As nodes included in the sub-network communicate directly based on network addresses, connections between nodes can be established independently of translation of network addresses by relay nodes.

상이한 서브-네트워크들에 포함된 노드들은, 서브-네트워크들 각각에 대응하는 중계 노드들에 의한 네트워크 주소의 변환에 기반하여 서로 통신할 수 있다. 예를 들어, 특정 서브-네트워크 내에 포함된 특정 노드는, 다른 서브-네트워크에 포함된 다른 노드에 부여된 네트워크 주소와 구별되고, 다른 서브-네트워크의 중계 노드의 포트들 중에서 상기 다른 노드에 대응하는 포트로 액세스하여, 상기 다른 노드에 액세스할 수 있다. 예를 들어, 네트워크 주소를 변환하는 것은, 중계 노드의 포트들 중 적어도 하나의 포트들을, 상기 중계 노드에 의해 구별되는 서브-네트워크에 포함된 노드에 할당하는 동작을 포함할 수 있다.Nodes included in different sub-networks can communicate with each other based on translation of network addresses by relay nodes corresponding to each of the sub-networks. For example, a specific node included in a specific sub-network is distinguished from a network address given to other nodes included in other sub-networks, and a corresponding node among ports of relay nodes of other sub-networks is provided. By accessing the port, it is possible to access the other node. For example, converting a network address may include allocating at least one port among ports of a relay node to a node included in a sub-network distinguished by the relay node.

일 실시예에 따른 전자 장치(101)는, 전자 장치(210)로, 전자 장치(101)에서 실행되고 있는 하나 이상의 어플리케이션들로부터 획득된 비디오(예, 어플리케이션으로부터 획득된 화면) 및/또는 오디오(예, 어플리케이션으로부터 제공된 오디오)를 송신할 수 있다. 이하에서, 미러링 기능은, 전자 장치(101)의 기능으로써, 전자 장치(101)와 구별되는 다른 전자 장치(예, 전자 장치(210))로, 상기 비디오 및/또는 상기 오디오를 송신하는 기능을 의미할 수 있다. 상기 미러링 기능은, 캐스트(cast) 기능, 및/또는 미러링크(mirrorlink) 기능으로 참조될 수 있다. 상기 비디오 및/또는 상기 오디오를 수신하는 전자 장치(210)는, 디스플레이 및/또는 스피커를 이용하여, 상기 비디오 및/또는 상기 오디오를 출력할 수 있다. 미러링 기능을 수행하는 상태에서, 스트리밍에 기반하여, 전자 장치(210)는 상기 비디오 및/또는 상기 오디오의 송신 및 출력을 실질적으로 동시에 수행할 수 있다. 일 실시예에 다른 전자 장치들(101, 210)이 미러링 기능을 지원하기 위하여 실행하는 하나 이상의 프로그램들은, 도 4를 참고하여 후술된다.The electronic device 101 according to an embodiment is the electronic device 210, and video (eg, a screen obtained from the application) and/or audio (eg, obtained from one or more applications running on the electronic device 101) eg audio provided by the application). Hereinafter, as a function of the electronic device 101, the mirroring function is a function of transmitting the video and/or the audio to another electronic device (eg, the electronic device 210) that is distinguished from the electronic device 101. can mean The mirroring function may be referred to as a cast function and/or a mirrorlink function. The electronic device 210 receiving the video and/or the audio may output the video and/or the audio using a display and/or a speaker. In a state of performing the mirroring function, based on streaming, the electronic device 210 may substantially simultaneously transmit and output the video and/or the audio. One or more programs executed by the other electronic devices 101 and 210 to support the mirroring function according to an embodiment will be described later with reference to FIG. 4 .

일 실시예에 따른 전자 장치(101)로부터 비디오 및/또는 오디오를 수신하는 상태에서, 전자 장치(210)는, 전자 장치(210)의 입력 수단(예, 키보드 및/또는 마우스)을 통해 입력된 사용자 입력을, 전자 장치(101)로 송신할 수 있다. 상기 사용자 입력은, 전자 장치(210)로부터 출력되고, 전자 장치(101)로부터 제공된, 상기 비디오 및/또는 상기 오디오와 관련될 수 있다. 전자 장치(210)에 의하여 탐지된 상기 사용자 입력에 응답하여, 전자 장치(101)는 전자 장치(210)로 송신되는 상기 비디오 및/또는 상기 오디오를 변경할 수 있다. 도 2a 내지 2b를 참고하면, 일 실시예에 따른 전자 장치들(101, 210) 사이에 수립된 연결(220)에 기반하여, 상기 비디오, 상기 오디오 및/또는 상기 사용자 입력을 나타내는 신호가 송신될 수 있다. 이하에서, 연결(220)은, 세션과 같이 네트워크 내에서 수립된 종단간 연결(End-to-End connection) 및/또는 P2P 연결(Peer-to-Peer connection)을 의미할 수 있다. 이하에서, 연결(220)은, 전자 장치들(101, 210) 사이에 수립된 미러링 세션으로 참조될 수 있다.In a state in which video and/or audio is received from the electronic device 101 according to an embodiment, the electronic device 210 receives input through an input means (eg, a keyboard and/or a mouse) of the electronic device 210. User input may be transmitted to the electronic device 101 . The user input may be related to the video and/or the audio output from the electronic device 210 and provided from the electronic device 101 . In response to the user input detected by the electronic device 210 , the electronic device 101 may change the video and/or the audio transmitted to the electronic device 210 . Referring to FIGS. 2A and 2B , based on a connection 220 established between electronic devices 101 and 210 according to an embodiment, signals representing the video, audio, and/or user input may be transmitted. can Hereinafter, the connection 220 may mean an end-to-end connection and/or a peer-to-peer connection established within a network, such as a session. Hereinafter, the connection 220 may be referred to as a mirroring session established between the electronic devices 101 and 210 .

일 실시예에 따른 전자 장치들(101, 210)은, 미러링 기능과 관련된 서비스 제공자의 서버(230)에 적어도 기반하여, 도 2a 내지 2b의 연결(220)을 수립할 수 있다. 일 실시예에 따른 전자 장치들(101, 210)은, 상이한 서브-네트워크들을 횡단하는(traversing) 연결의 수립을 지원하기 위한 서버(240)를 이용하여, 도 2a 내지 2b의 연결(220)을 수립할 수 있다. 예를 들어, 서버(240)는 STUN(Session Traversal Utilities for NAT) 서버 및/또는 TURN(Traversal Using Relays around NAT) 서버를 포함할 수 있다. 상기 STUN 서버는, 전자 장치들(101, 210) 사이의 P2P 연결을 위한 정보(예, 중계 노드에서의 네트워크 주소 변환에 의해 노드에 매핑되는 공용 IP(public IP) 및/또는 포트)를 저장 및/또는 제공할 수 있다. 상기 TURN 서버는, 종단점들 사이에서 데이터의 중계를 수행하기 위한 서버일 수 있다.The electronic devices 101 and 210 according to an embodiment may establish the connection 220 of FIGS. 2A to 2B based at least on the server 230 of the service provider related to the mirroring function. The electronic devices 101 and 210 according to an embodiment establish the connection 220 of FIGS. 2A and 2B using the server 240 for supporting establishment of a connection traversing different sub-networks. can be established For example, the server 240 may include a Session Traversal Utilities for NAT (STUN) server and/or a Traversal Using Relays around NAT (TURN) server. The STUN server stores information for P2P connection between the electronic devices 101 and 210 (eg, a public IP and/or port mapped to a node by network address translation in a relay node) and / or can be provided. The TURN server may be a server for relaying data between endpoints.

일 실시예에 따른 전자 장치들(101, 210)은, 연결(220)의 타입에 기반하여, 미러링 기능의 실행을 제어할 수 있다. 예를 들어, 연결(220)이 서버들(230, 240) 중 어느 서버(which server)를 이용하여 수립되었는지에 따라, 전자 장치들(101, 210)은 미러링 기능의 실행을 제어할 수 있다. 미러링 기능의 실행을 제어하는 것은, 예를 들어, 전자 장치들(101, 210) 중 적어도 하나의 상태를 스위칭하거나, 및/또는 전자 장치들(101, 210) 사이의 화면 및/또는 오디오의 스트리밍을 적어도 일시적으로 중단하는 동작을 포함할 수 있다. 이하에서는, 도 2a 내지 2b를 참고하여, 전자 장치들(101, 210) 사이의 연결(220)이 수립되는 프로세스가 설명된다. 상기 프로세스는, 예를 들어, 전자 장치들(101, 210)이 미러링 기능의 실행을 제어하는 것에 이용될 수 있다.The electronic devices 101 and 210 according to an embodiment may control execution of a mirroring function based on the type of connection 220 . For example, the electronic devices 101 and 210 may control execution of the mirroring function according to which server among the servers 230 and 240 the connection 220 is established with. Controlling the execution of the mirroring function may, for example, switch the state of at least one of the electronic devices 101 and 210 and/or stream screen and/or audio between the electronic devices 101 and 210. It may include an operation of at least temporarily stopping. Hereinafter, a process for establishing a connection 220 between the electronic devices 101 and 210 will be described with reference to FIGS. 2A and 2B. The above process may be used, for example, to control execution of a mirroring function by the electronic devices 101 and 210 .

일 실시예에 따른 전자 장치들(101, 210)은, 네트워크(250)에 액세스한 이후, 상기 서버(230)로 전자 장치들(101, 210) 각각에 할당된 네트워크 주소를 알릴 수 있다. 상기 네트워크 주소는, 전자 장치들(101, 210) 각각에 연결된 중계 노드에 의해 결정될 수 있다. 일 실시예에 따른 전자 장치(210)는, 전자 장치(101)와 관련된 미러링 기능을 실행하기 위한 사용자 입력을 식별하는 것에 응답하여, 서버(230)로 전자 장치(101)의 네트워크 주소를 송신할 것을 요청할 수 있다. 서버(230)는 상기 요청에 응답하여, 전자 장치(210)로, 전자 장치(101)에 할당되고, 전자 장치(101)에 연결된 중계 노드에 의해 결정된, 네트워크 주소를 송신할 수 있다. 상기 네트워크 주소에 기반하여, 전자 장치(210)는 단일 서브-네트워크 내에서의 연결(220)의 수립을 시도할 수 있다. 상기 사용자 입력과 관련된 전자 장치들(101, 210)의 동작이 도 6a 내지 6b를 참고하여 후술된다.After accessing the network 250, the electronic devices 101 and 210 according to an embodiment may inform the server 230 of the network address assigned to each of the electronic devices 101 and 210. The network address may be determined by a relay node connected to each of the electronic devices 101 and 210 . The electronic device 210 according to an embodiment transmits the network address of the electronic device 101 to the server 230 in response to identifying a user input for executing a mirroring function related to the electronic device 101. you can ask for In response to the request, the server 230 may transmit, to the electronic device 210, a network address assigned to the electronic device 101 and determined by a relay node connected to the electronic device 101. Based on the network address, the electronic device 210 may attempt to establish a connection 220 within a single sub-network. Operations of the electronic devices 101 and 210 related to the user input will be described later with reference to FIGS. 6A and 6B.

도 2a를 참고하면, 일 실시예에 따른 전자 장치들(101, 210)이 단일 중계 노드(예, AP(260))에 의하여 단일 서브-네트워크를 통해 네트워크(250)에 연결된 상태(200)가 도시된다. 상태(200)에서, 전자 장치들(101, 210) 전부는, AP(260)에 의하여 생성되고, 전자 장치들(101, 210) 각각에 상이한, 네트워크 주소들을 가질 수 있다. 상태(200)에서, 전자 장치(210)가 서버(230)로 전자 장치(101)의 네트워크 주소를 송신할 것을 요청하는 경우, 서버(230)는 AP(260)에 의하여 전자 장치(101)에 할당된 네트워크 주소를, 전자 장치(210)로 송신할 수 있다. 이 경우, 전자 장치(210)는 전자 장치(210)의 서브-네트워크 내에서, 서버(230)로부터 수신한 네트워크 주소를 따라 전자 장치(101)에 액세스할 수 있다. 상태(200)에서, 전자 장치들(101, 210) 사이의 연결(220)은, 전자 장치(210)가 서버(230)로부터 수신한 네트워크 주소를 따라 전자 장치(101)에 액세스함에 따라 수립될 수 있다.Referring to FIG. 2A , a state 200 in which electronic devices 101 and 210 according to an embodiment are connected to a network 250 through a single sub-network by a single relay node (eg, AP 260). is shown In state 200, all of the electronic devices 101 and 210 may have network addresses generated by the AP 260 and different for each of the electronic devices 101 and 210. In state 200, when the electronic device 210 requests the server 230 to transmit the network address of the electronic device 101, the server 230 sends the electronic device 101 by the AP 260. The assigned network address may be transmitted to the electronic device 210 . In this case, the electronic device 210 may access the electronic device 101 according to the network address received from the server 230 within the sub-network of the electronic device 210 . In state 200, a connection 220 between the electronic devices 101 and 210 is established as the electronic device 210 accesses the electronic device 101 according to the network address received from the server 230. can

도 2b를 참고하면, 일 실시예에 따른 전자 장치들(101, 210)이 상이한 중계 노드들(예, 기지국(270) 및 AP(260)) 각각에 대응하는 상이한 서브-네트워크들을 통하여 네트워크(250)에 연결된 상태(205)가 도시된다. 상태(205)에서, 전자 장치(101)는 기지국(270)에 의하여 생성된 네트워크 주소를 가질 수 있다. 전자 장치(210)는 기지국(270)과 구별되는 AP(260)에 의하여 생성된 네트워크 주소를 가질 수 있다. 상태(205)에서, 전자 장치(210)가 서버(230)로 전자 장치(101)의 네트워크 주소를 송신할 것을 요청하는 경우, 서버(230)는 기지국(270)에 의하여 전자 장치(101)에 할당된 네트워크 주소를, 전자 장치(210)로 송신할 수 있다. 이 경우, 상기 네트워크 주소가 전자 장치(210)를 포함하는 서브-네트워크의 AP(260)와 구별되는 기지국(270)에 의해 생성됨에 따라, 전자 장치(210)는 서브-네트워크 내에서 상기 네트워크 주소를 가지는 전자 장치(101)를 식별하지 못할 수 있다. 서브-네트워크로부터 전자 장치(101)를 식별하지 못한 경우, 전자 장치(210)는 서버(230)와 구별되는 서버(240)를 이용하여 전자 장치(210)의 서브-네트워크와 구별되는 다른 서브-네트워크(예, 기지국(270)에 의해 형성된 서브-네트워크) 내 전자 장치(101)에 액세스할 수 있다. 상태(205)에서, 전자 장치들(101, 210) 사이의 연결(220)은, 전자 장치들(101, 210)의 네트워크 주소를 저장하는 서버(230)와 구별되는 다른 서버(240)(예, STUN 서버 및/또는 TURN 서버)에 기반하여 수립될 수 있다.Referring to FIG. 2B , the electronic devices 101 and 210 according to an embodiment are connected to a network 250 through different sub-networks corresponding to different relay nodes (eg, a base station 270 and an AP 260), respectively. A state 205 connected to ) is shown. In state 205 , electronic device 101 may have a network address generated by base station 270 . The electronic device 210 may have a network address generated by the AP 260 that is distinct from that of the base station 270 . In state 205, when the electronic device 210 requests the server 230 to transmit the network address of the electronic device 101, the server 230 sends the electronic device 101 by the base station 270. The assigned network address may be transmitted to the electronic device 210 . In this case, as the network address is generated by the base station 270 that is distinct from the AP 260 of the sub-network including the electronic device 210, the electronic device 210 has the network address within the sub-network. The electronic device 101 having the may not be identified. If the electronic device 101 is not identified from the sub-network, the electronic device 210 uses a server 240 that is distinct from the server 230 to use another sub-network distinct from the sub-network of the electronic device 210. Electronic device 101 within a network (eg, a sub-network formed by base station 270 ) may be accessed. In state 205, the connection 220 between the electronic devices 101 and 210 is established by another server 240 (e.g., , STUN server and / or TURN server).

일 실시예에 따른 전자 장치들(101, 210)은, 전자 장치들(101, 210)의 근접도(proximity)에 기반하여, 미러링 기능의 실행을 제어할 수 있다. 상기 근접도는, 상태들(200, 205)과 같이, 네트워크(250) 내에서 전자 장치들(101, 210)이 동일한 서브-네트워크 내에 포함되는지 여부에 따라 구별될 수 있다. 전자 장치들(101, 210)이 멀리 떨어진 경우, 전자 장치들(101, 210)이 상이한 서브-네트워크들 각각에 포함될 수 있다. 전자 장치들(101, 210)이 상이한 서브-네트워크들 각각에 포함되는 경우, 전자 장치들(101, 210)은 미러링 기능에 기반하여 공유되는 화면 및/또는 오디오의 유출을 방지하기 위하여, 사용자 인증을 수행할 수 있다.The electronic devices 101 and 210 according to an embodiment may control execution of a mirroring function based on proximity of the electronic devices 101 and 210 . The proximity can be distinguished according to whether the electronic devices 101 and 210 are included in the same sub-network within the network 250, as in states 200 and 205. When the electronic devices 101 and 210 are far apart, the electronic devices 101 and 210 may be included in different sub-networks, respectively. When the electronic devices 101 and 210 are included in each of the different sub-networks, the electronic devices 101 and 210 perform user authentication in order to prevent leakage of screen and/or audio shared based on the mirroring function. can be performed.

일 실시예에서, 상기 사용자 인증은, 전자 장치들(101, 210) 중 적어도 하나를 이용하는 사용자가 전자 장치들(101, 210) 중 적어도 하나에 기-등록된(preregistered) 사용자에 대응하는지 여부를 식별하는 동작을 포함할 수 있다. 예를 들어, 전자 장치들(101, 210)은, 사용자로부터 PIN 및/또는 패스워드, 및/또는 지문, 홍채 및/또는 음성과 같은 데이터를 포함하는 인증 정보를 저장할 수 있다. 상기 인증 정보를 저장한 이후, 전자 장치들(101, 210)은 사용자로부터 획득되는 정보가 상기 인증 정보와 일치하는지 여부에 기반하여, 사용자 인증을 수행할 수 있다. 이하에서, 승인된 사용자(authorized user)는, 전자 장치들(101, 210) 중 적어도 하나에서 수행된 사용자 인증에 기반하여, 기-등록된 사용자와 일치하는 것으로 결정된 사용자를 의미할 수 있다. 이하에서, 미승인 사용자(unauthorized user)는, 전자 장치들(101, 210) 중 적어도 하나에 의한 상기 사용자 인증을 수행하기 이전의 사용자, 또는 상기 사용자 인증에 의하여 기-등록된 사용자와 상이한 것으로 결정된 사용자를 의미할 수 있다. In one embodiment, the user authentication determines whether a user using at least one of the electronic devices 101 and 210 corresponds to a user pre-registered in at least one of the electronic devices 101 and 210. It may include actions to identify. For example, the electronic devices 101 and 210 may store authentication information including data such as a PIN and/or password, and/or fingerprint, iris and/or voice from the user. After storing the authentication information, the electronic devices 101 and 210 may perform user authentication based on whether information obtained from the user matches the authentication information. Hereinafter, an authorized user may mean a user determined to match a pre-registered user based on user authentication performed in at least one of the electronic devices 101 and 210 . Hereinafter, an unauthorized user is a user before performing the user authentication by at least one of the electronic devices 101 and 210, or a user determined to be different from a pre-registered user through the user authentication. can mean

도 2a 내지 2b에서 상술된 프로세스와 같이, 전자 장치들(101, 210)은 서버들(230, 240)에 순차적으로 액세스하여, 연결(220)을 수립할 수 있다. 연결(220)을 수립하는 프로세스 내에서, 서브-네트워크들을 횡단하는 연결의 수립을 지원하기 위한 서버(240)에 기반하여 연결(220)이 수립되었는지 여부에 기반하여, 전자 장치들(101, 210)은 미러링 기능의 실행을 제어할 수 있다. 예를 들어, 상태(205)와 같이 상이한 서브-네트워크들 사이의 연결(220)이 수립된 경우, 전자 장치들(101, 210)은 미러링 기능을 실행하는 동안, 사용자 인증을 수행할 수 있다. 한편, 상태(200)와 같이, 연결(220)이 단일 서브-네트워크 내에서 수립된 경우, 전자 장치들(101, 210)은 상기 사용자 인증과 독립적으로 미러링 기능을 실행할 수 있다. 일 실시예에 따른 전자 장치들(101, 210)이 미러링 기능을 실행함에 따라 진입하는 상태들은 도 5를 참고하여 후술될 것이다.Like the process described above with reference to FIGS. 2A and 2B , the electronic devices 101 and 210 may sequentially access the servers 230 and 240 to establish a connection 220 . Within the process of establishing the connection 220, based on whether the connection 220 is established based on the server 240 for supporting establishment of the connection across sub-networks, the electronic devices 101, 210 ) may control the execution of the mirroring function. For example, when a connection 220 between different sub-networks is established as in state 205, the electronic devices 101 and 210 may perform user authentication while executing a mirroring function. Meanwhile, as in state 200, when the connection 220 is established within a single sub-network, the electronic devices 101 and 210 may execute the mirroring function independently of the user authentication. States entered as the electronic devices 101 and 210 execute the mirroring function according to an embodiment will be described later with reference to FIG. 5 .

상술한 바와 같이, 하나 이상의 화면들이 미러링 기능에 기반하여 전자 장치들(101, 210) 전부에서 표시되는 상태에서, 미승인 사용자(unauthorized user)가 전자 장치들(101, 210) 중 어느 하나에서 표시되는 상기 하나 이상의 화면들에 액세스하는 것을 방지하기 위하여, 일 실시예에 따른 전자 장치들(101, 210)은 사용자 인증과 관련된 동작을 수행할 수 있다. 예를 들어, 전자 장치들(101, 210)이 상태(205)와 같이 상이한 서브-네트워크들에 포함된 경우, 미승인 사용자가 전자 장치들(101, 210) 중 어느 하나에 액세스할 가능성이 증가될 수 있다. 상기 예시에서, 전자 장치들(101, 210)이 상이한 서브-네트워크들에 포함됨을 식별하는 것에 응답하여, 전자 장치들(101, 210)은, 전자 장치들(101, 210) 각각의 화면에 액세스하는 사용자에 대한 사용자 인증을 수행할 수 있다. 일 실시예에 따른 전자 장치들(101, 210)이 사용자 인증을 수행하는 동작은 도 7a 내지 7b를 참고하여 후술된다.As described above, in a state in which one or more screens are displayed on all of the electronic devices 101 and 210 based on the mirroring function, an unauthorized user is displayed on one of the electronic devices 101 and 210. In order to prevent access to the one or more screens, the electronic devices 101 and 210 according to an embodiment may perform an operation related to user authentication. For example, if the electronic devices 101 and 210 are included in different sub-networks, as in state 205, the likelihood that an unauthorized user will access any one of the electronic devices 101 and 210 will increase. can In the above example, in response to identifying that the electronic devices 101 and 210 are included in different sub-networks, the electronic devices 101 and 210 access the respective screens of the electronic devices 101 and 210, respectively. User authentication can be performed for users who An operation of performing user authentication by the electronic devices 101 and 210 according to an embodiment will be described later with reference to FIGS. 7A to 7B .

이하에서는 도 3을 참고하여, 일 실시예에 따른 전자 장치들(101, 210) 각각에 포함되고, 미러링 기능과 관련된, 하나 이상의 하드웨어 컴포넌트들이 설명된다.Hereinafter, with reference to FIG. 3 , one or more hardware components included in each of the electronic devices 101 and 210 according to an embodiment and related to a mirroring function will be described.

도 3은 일 실시예에 따른 전자 장치들(101, 210)의 블록도이다. 도 3의 전자 장치(101)는 도 1 내지 도 2의 전자 장치(101)의 일 예에 대응할 수 있다. 도 3의 전자 장치(210)는 도 2의 전자 장치(210)의 일 예에 대응할 수 있다.3 is a block diagram of electronic devices 101 and 210 according to an exemplary embodiment. The electronic device 101 of FIG. 3 may correspond to an example of the electronic device 101 of FIGS. 1 and 2 . The electronic device 210 of FIG. 3 may correspond to an example of the electronic device 210 of FIG. 2 .

도 3을 참고하면, 일 실시예에 따른 전자 장치들(101, 210) 각각은, 프로세서들(312, 314), 메모리들(322, 324), 디스플레이들(342, 344), 스피커들(352, 354) 또는 통신 회로들(362, 364) 중 적어도 하나를 포함할 수 있다. 전자 장치(101) 및 전자 장치(210) 각각에 포함된 하드웨어 컴포넌트들은 통신 버스(a communication bus)와 같은 전자 소자(electronical component)에 의해 서로 전기적으로 및/또는 작동적으로 연결될 수 있다(electronically and/or operably coupled with each other). 전자 장치(101) 및 전자 장치(210) 각각에 포함된 하드웨어 컴포넌트의 타입 및/또는 개수는 도 3에 도시된 바에 제한되지 않는다. 프로세서들(312, 314), 메모리들(322, 324), 디스플레이들(342, 344), 스피커들(352, 354) 및 통신 회로들(362, 364)은 도 1의 프로세서(120), 메모리(130), 디스플레이 모듈(160) 및 오디오 모듈(170) 각각에 대응할 수 있다. 통신 회로들(362, 364) 각각은 도 1의 통신 모듈(190), 안테나 모듈(197), 가입자 식별 모듈(196) 또는 이들의 조합(or a combination thereof)에 대응할 수 있다.Referring to FIG. 3 , each of the electronic devices 101 and 210 according to an embodiment includes processors 312 and 314, memories 322 and 324, displays 342 and 344, and speakers 352. , 354) or at least one of the communication circuits 362 and 364. Hardware components included in each of the electronic device 101 and the electronic device 210 may be electrically and/or operatively connected to each other by an electronic component such as a communication bus. /or operably coupled with each other). The type and/or number of hardware components included in each of the electronic device 101 and the electronic device 210 are not limited to those shown in FIG. 3 . Processors 312 and 314, memories 322 and 324, displays 342 and 344, speakers 352 and 354, and communication circuits 362 and 364 are the processor 120 of FIG. 1, memory 130, the display module 160, and the audio module 170 may correspond to each. Each of the communication circuits 362 and 364 may correspond to the communication module 190 of FIG. 1 , the antenna module 197 , the subscriber identity module 196 , or a combination thereof.

도 3을 참고하면, 메모리들(322, 324) 각각에 저장된 프로그램들(372, 374)은, 프로세서들(312, 314) 각각이 데이터를 처리하기 위하여 수행할 하나 이상의 동작들을 나타내는 인스트럭션들의 집합에 대응할 수 있다. 프로그램들(372, 374)은, 펌웨어, 운영 체제(예, 도 1의 운영 체제(142)), 미들웨어(예, 도 1의 미들 웨어(144)), 프로세스, 루틴, 서브-루틴 및/또는 어플리케이션(예, 도 1의 어플리케이션(146))으로 참조될 수 있다. 일 실시예에 따른 전자 장치들(101, 210) 각각은, 프로그램들(372, 374)을 실행하여, 후술되는 동작들, 예를 들어, 도 8 내지 10의 동작들 중 적어도 하나를 수행할 수 있다. 프로그램들(372, 374) 각각에 포함된 하나 이상의 인스턴스들 및/또는 하나 이상의 객체들은 도 4를 참고하여 후술된다.Referring to FIG. 3 , the programs 372 and 374 stored in each of the memories 322 and 324 are a set of instructions representing one or more operations to be performed by each of the processors 312 and 314 to process data. can respond Programs 372 and 374 may include firmware, an operating system (eg, operating system 142 of FIG. 1 ), middleware (eg, middleware 144 of FIG. 1 ), processes, routines, sub-routines, and/or It may be referred to as an application (eg, application 146 of FIG. 1 ). Each of the electronic devices 101 and 210 according to an embodiment may execute the programs 372 and 374 to perform at least one of operations described below, for example, operations of FIGS. 8 to 10 . there is. One or more instances and/or one or more objects included in each of the programs 372 and 374 are described below with reference to FIG. 4 .

예를 들어, 전자 장치들(101, 210) 각각은, 프로그램들(372, 374)을 실행하여 통신 회로들(362, 364) 각각을 제어하여, 전자 장치들(101, 210) 사이의 연결(220)을 수립할 수 있다. 상기 연결(220)은, 예를 들어, 도 2a 내지 2b의 연결(220)을 포함할 수 있다. 일 실시예에서, 미러링 세션에 기반하는 연결(220)을 통하여, 전자 장치(101)는 디스플레이(342) 상에 표시되고 있는 화면을 나타내는 비디오 및/또는 스피커(352)에서 출력되고 있는 오디오를, 전자 장치(210)로 송신할 수 있다. 전자 장치(210)는 디스플레이(344) 상에 전자 장치(101)로부터 수신된 상기 비디오를 표시할 수 있다. 전자 장치(210)는 스피커(354)를 통하여 전자 장치(101)로부터 수신된 상기 오디오를 출력할 수 있다. 전자 장치(210)에서 상기 미러링 기능과 관련된 이벤트를 탐지하는 것에 응답하여, 전자 장치(210)는 연결(220)을 통하여 전자 장치(101)로 탐지된 이벤트를 알릴 수 있다. 전자 장치(101)는 상기 이벤트에 대한 응답으로, 전자 장치(210)로 송신되는 상기 비디오 및/또는 상기 오디오를 변경할 수 있다.For example, each of the electronic devices 101 and 210 executes the programs 372 and 374 to control each of the communication circuits 362 and 364 to establish a connection between the electronic devices 101 and 210 ( 220) can be established. The connection 220 may include, for example, the connection 220 of FIGS. 2A to 2B. In one embodiment, through the connection 220 based on the mirroring session, the electronic device 101 transmits video representing a screen displayed on the display 342 and/or audio output from the speaker 352, It can be transmitted to the electronic device 210. The electronic device 210 may display the video received from the electronic device 101 on the display 344 . The electronic device 210 may output the audio received from the electronic device 101 through the speaker 354 . In response to the electronic device 210 detecting an event related to the mirroring function, the electronic device 210 may notify the electronic device 101 of the detected event through a connection 220 . The electronic device 101 may change the video and/or the audio transmitted to the electronic device 210 in response to the event.

일 실시예에 따른 전자 장치(101)는, 디스플레이(342)에서 표시되는 제1 화면을, 전자 장치(210)로 송신하기 위한 미러링 세션을 생성할 수 있다. 상기 미러링 세션은, 전자 장치들(101, 210) 사이의 연결(220)에 기반하여 생성될 수 있다. 미러링 세션을 생성하기 위하여 연결(220)을 수립하는 상태에서, 전자 장치(101)는 전자 장치(210) 및 전자 장치(101) 사이의 근접도를 식별할 수 있다. 연결(220)이 도 2b의 상태(205)에서의 연결(220)과 같이 상이한 서브-네트워크들을 횡단하여 수립되는 경우, 전자 장치(101)는 다른 전자 장치(210)로 상기 제1 화면을 송신하는 것을 유지하는 동안, 디스플레이(342) 상에 상기 제1 화면과 구별되는 제2 화면을 표시할 수 있다. 예를 들어, 상기 제2 화면은, 디스플레이(342)의 표시 영역 전체에 대응하는 크기를 가질 수 있다. 예를 들어, 상기 제2 화면은 디스플레이(342) 상에서 상기 제1 화면의 노출을 중단하기 위하여, 전자 장치(101)에서 실행되는 하나 이상의 어플리케이션들에 변경되는 상기 제1 화면과 구별되는 화면일수 있다.The electronic device 101 according to an embodiment may create a mirroring session for transmitting the first screen displayed on the display 342 to the electronic device 210 . The mirroring session may be created based on the connection 220 between the electronic devices 101 and 210 . In a state of establishing a connection 220 to create a mirroring session, the electronic device 101 may identify proximity between the electronic device 210 and the electronic device 101 . When a connection 220 is established across different sub-networks, such as the connection 220 in state 205 of FIG. 2B, the electronic device 101 transmits the first screen to another electronic device 210. While maintaining this, a second screen distinct from the first screen may be displayed on the display 342 . For example, the second screen may have a size corresponding to the entire display area of the display 342 . For example, the second screen may be a screen different from the first screen that is changed in one or more applications running on the electronic device 101 in order to stop exposure of the first screen on the display 342. .

일 실시예에 따른 전자 장치(101)는, 연결(220)에 포함된 미러링 세션이 복수의 서브-네트워크들을 횡단하여 수립됨을 식별하는 것에 응답하여, 전자 장치(101)의 상태를, 적어도 일시적으로(at least temporarily) 잠금 상태로 스위칭할 수 있다. 상기 잠금 상태는, 전자 장치(101) 내에서 이용가능한(available) 모든 기능들 중 적어도 하나의 지정된 기능들(예, 비상 전화(emergency call) 기능, 알람 기능, 촬영 기능, 및/또는 사용자 인증 기능)을 제외한 다른 기능들의 실행을 제한하는 상태를 포함할 수 있다. 상기 잠금 상태는, 전자 장치(101)가 상기 잠금 상태로 스위칭 하기 이전에 획득한 콘텐트에 액세스하는 것을 제한하는 상태를 포함할 수 있다.In response to identifying that the mirroring session included in the connection 220 is established across a plurality of sub-networks, the electronic device 101 according to an embodiment changes the state of the electronic device 101, at least temporarily. (at least temporarily) can be switched to a locked state. The locked state is determined by at least one designated function among all functions available in the electronic device 101 (e.g., an emergency call function, an alarm function, a photographing function, and/or a user authentication function). ) may include a state that restricts the execution of other functions. The locked state may include a state in which access to content obtained before the electronic device 101 switches to the locked state is restricted.

일 실시예에 따른 전자 장치(101)는, 잠금 상태 내에서, 디스플레이(342) 상에 잠금 화면을 표시할 수 있다. 잠금 상태 내에서 제공되는 하나 이상의 화면들이 잠금 화면으로 참조될 수 있다. 잠금 상태는, 예를 들어, 잠금 화면과 같은 적어도 하나 지정된 화면들을 제외한 다른 화면으로 스위칭 되는 것이 제한되는 상태를 포함할 수 있다. 잠금 화면은, 사용자 인증을 가이드하는 정보를 포함할 수 있다. 일 실시예에 따른 전자 장치(101)는, 잠금 상태 내에서, 전자 장치(101)에 액세스하는 사용자로부터 제공된 제1 정보, 및 상기 잠금 상태와 구별되는 잠금 해제 상태에서 획득되었던(has been obtained) 제2 정보를 비교하는 동작에 기반하여, 상기 잠금 해제 상태와 같이 상기 잠금 상태와 구별되는 다른 상태로 스위칭할 수 있다. 상기 제1 정보 및 상기 제2 정보를 비교하는 동작은, 예를 들어, 잠금 상태 내 전자 장치(101)에 액세스하는 사용자를 인증하는 동작의 적어도 일부분에 대응할 수 있다. 상기 제2 정보는, 예를 들어, PIN(Personal Identification Number), 패스워드, OTP(One-Time-Password), 홍채 및/또는 지문과 같은 생체 정보를 포함할 수 있다.The electronic device 101 according to an embodiment may display a lock screen on the display 342 in a locked state. One or more screens provided in the locked state may be referred to as a lock screen. The locked state may include, for example, a state in which switching to other screens other than at least one designated screen such as the lock screen is restricted. The lock screen may include information guiding user authentication. The electronic device 101 according to an embodiment includes, within a locked state, first information provided from a user accessing the electronic device 101 and has been obtained in an unlocked state distinct from the locked state. Based on the operation of comparing the second information, it is possible to switch to another state distinct from the locked state, such as the unlocked state. The operation of comparing the first information and the second information may correspond to, for example, at least a part of an operation of authenticating a user accessing the electronic device 101 in a locked state. The second information may include, for example, personal identification number (PIN), password, one-time-password (OTP), biometric information such as iris and/or fingerprint.

일 실시예에서, 잠금 해제 상태는, 상기 잠금 상태와 구별되는 상태로써, 전자 장치(101) 내에서 이용가능한 모든 기능들의 실행을 허용하는 상태를 포함할 수 있다. 상기 잠금 해제 상태는, 사용자 인증을 선행하는(preceding) 기능들의 개수가 잠금 상태에서 사용자 인증을 선행하는 기능들의 개수 보다 줄어든 상태를 포함할 수 있다. 상기 잠금 해제 상태는, 전자 장치(101) 내에서 액세스 가능한 콘텐트의 범위가, 잠금 상태 내에서의 전자 장치(101) 내에서 액세스 가능한 콘텐트의 범위보다 증가된 상태를 포함할 수 있다.In one embodiment, the lock release state is a state distinct from the lock state and may include a state allowing execution of all functions available in the electronic device 101 . The unlocked state may include a state in which the number of functions preceding user authentication is reduced compared to the number of functions preceding user authentication in the locked state. The unlocked state may include a state in which the range of accessible content within the electronic device 101 is increased than the range of accessible content within the electronic device 101 within the locked state.

전자 장치들(101, 210) 사이의 종단간 연결(220)이 복수의 서브-네트워크들을 연접하여 수립된 경우, 일 실시예에 따른 전자 장치(101)는, 전자 장치들(101, 210) 중에서 전자 장치(101)로 액세스하는 사용자 입력을 식별하는 것에 응답하여, 전자 장치(210)로 제공되는 화면을 표시하는 것과 독립적으로, 잠금 상태로 스위칭할 수 있다. 한편, 전자 장치들(101, 210) 사이의 종단간 연결(220)이 단일 서브-네트워크 내에서 수립된 경우, 전자 장치(101)는 상기 사용자 입력을 식별하는 것에 응답하여, 잠금 해제 상태를 유지할 수 있다. 예를 들어, 전자 장치(101)는 전자 장치(210)로 제공되는 화면을, 디스플레이(342) 상에 표시할 수 있다.When the end-to-end connection 220 between the electronic devices 101 and 210 is established by connecting a plurality of sub-networks, the electronic device 101 according to an embodiment, among the electronic devices 101 and 210 In response to identifying a user input accessing the electronic device 101 , the electronic device 210 may switch to a locked state independently of displaying a screen provided to the electronic device 210 . Meanwhile, when the end-to-end connection 220 between the electronic devices 101 and 210 is established within a single sub-network, the electronic device 101 maintains an unlocked state in response to identifying the user input. can For example, the electronic device 101 may display a screen provided to the electronic device 210 on the display 342 .

전자 장치(101)가 잠금 상태로 스위칭됨에 따라, 전자 장치(101)는 상기 식별된 사용자 입력에 대응하는 기능을 실행하는 것을 적어도 일시적으로 중단할 수 있다. 상기 기능을 실행하기 이전에, 전자 장치(101)는 디스플레이(342) 상에 사용자를 인증하기 위한 잠금 화면을 표시할 수 있다. 예를 들어, 전자 장치(101)의 사용자는 디스플레이(342)에 표시되는 잠금 화면에 기반하여, 상기 사용자가 전자 장치(101)에 기-등록된 사용자에 대응함을 증명하는 프로세스로써, 예를 들어, 자격 증명 및/또는 사용자 인증을 수행할 수 있다. 일 실시예에 따른 전자 장치(101)는 잠금 화면에 기반하는 사용자 인증이 성공함을 식별하는 것에 응답하여, 상기 잠금 상태에서 잠금 해제 상태로 스위칭할 수 있다. 잠금 해제 상태로 스위칭한 이후, 전자 장치(101)는 디스플레이(342) 상에 전자 장치(210)로 제공되는 화면을 표시하는 것을 재개할 수 있다.As the electronic device 101 is switched to the locked state, the electronic device 101 may at least temporarily stop executing a function corresponding to the identified user input. Before executing the function, the electronic device 101 may display a lock screen for user authentication on the display 342 . For example, the user of the electronic device 101 is a process of proving that the user corresponds to a pre-registered user of the electronic device 101 based on the lock screen displayed on the display 342, for example , credential and/or user authentication. The electronic device 101 according to an embodiment may switch from the locked state to the unlocked state in response to identifying that user authentication based on the lock screen succeeds. After switching to the unlock state, the electronic device 101 may resume displaying the screen provided to the electronic device 210 on the display 342 .

일 실시예에 따른 전자 장치(101)는, 전자 장치들(101, 210) 중에서 전자 장치(101)를 이용하여 제공되는 사용자 인터페이스(User Interface, UI)에 기반하여 사용자 인증을 수행하는 것과 유사하게, 전자 장치들(101, 210) 중에서 전자 장치(210)를 이용하여 제공되는 UI에 기반하여 사용자 인증을 수행할 수 있다. 예를 들어, 전자 장치(101)가 잠금 상태로 스위칭 된 이후, 전자 장치(210)는 디스플레이(344) 상에, 전자 장치(101)가 상기 잠금 상태로 스위칭됨에 따라 전자 장치(101)와 관련된 미러링 기능의 멈춤(paused)을 알리는 지정된 화면을 표시할 수 있다. 상기 지정된 화면은, 전자 장치(210)를 이용하여 전자 장치(101)와 관련된 사용자 인증을 수행하기 위한 UI를 더 포함할 수 있다. 상기 지정된 화면에 기반하여, 전자 장치(210)에 액세스하는 사용자가 전자 장치(101)에 기-등록된 사용자에 대응함을 식별하는 것에 응답하여, 전자 장치(101)는 전자 장치(210)로 디스플레이(342)에 기반하는 화면을 송신하는 것을 재개 및/또는 개시할 수 있다.The electronic device 101 according to an embodiment similarly performs user authentication based on a user interface (UI) provided using the electronic device 101 among the electronic devices 101 and 210. , User authentication may be performed based on the UI provided using the electronic device 210 among the electronic devices 101 and 210 . For example, after the electronic device 101 is switched to the locked state, the electronic device 210 is displayed on the display 344, and related to the electronic device 101 as the electronic device 101 is switched to the locked state. A designated screen notifying that the mirroring function is paused may be displayed. The designated screen may further include a UI for performing user authentication related to the electronic device 101 using the electronic device 210 . In response to identifying that the user accessing the electronic device 210 corresponds to a pre-registered user in the electronic device 101 based on the designated screen, the electronic device 101 is displayed on the electronic device 210. Resume and/or initiate transmission of the screen based on 342 .

일 실시예에 따른 전자 장치들(101, 210)은, 미러링 기능을 실행하는 상태에서, 전자 장치들(101, 210) 중에서 사용자 인증이 수행된 전자 장치를 식별할 수 있다. 식별된 전자 장치는 전자 장치들(101, 210) 중에서 인증된 사용자에 의해 이용되는 전자 장치이므로, 전자 장치들(101, 210) 중에서 사용자 인증이 수행된 전자 장치는 잠금 해제 상태를 유지할 수 있다. 전자 장치들(101, 210) 중에서 사용자 인증이 수행된 전자 장치는, 예를 들어, 상기 전자 장치와 구별되는 다른 전자 장치에서 사용자 인증이 다시 수행되기 이전까지, 및/또는 상기 전자 장치가 지정된 시간 동안 사용자 입력을 수신하지 않음에 따라 상기 전자 장치의 디스플레이가 비활성화되기 이전까지, 잠금 해제 상태를 유지할 수 있다. The electronic devices 101 and 210 according to an embodiment may identify an electronic device for which user authentication has been performed among the electronic devices 101 and 210 in a state of executing the mirroring function. Since the identified electronic device is used by an authenticated user among the electronic devices 101 and 210, the electronic device on which user authentication has been performed among the electronic devices 101 and 210 can maintain an unlocked state. Among the electronic devices 101 and 210, the electronic device on which user authentication has been performed is, for example, until user authentication is performed again on another electronic device that is distinct from the electronic device and/or for a specified time. The unlock state may be maintained until the display of the electronic device is deactivated as a user input is not received during the period.

상술한 바와 같이, 일 실시예에 따른 전자 장치들(101, 210)은, 미러링 기능을 실행함에 따라 화면을 공유하는 상태에서, 미승인 사용자가 상기 공유되는 화면을 열람하는 것을 방지하기 위하여, 화면을 열람하기 위한 사용자 입력을 수신하는 것에 응답하여, 잠금 상태로 스위칭할 수 있다. 상기 잠금 상태로 스위칭 되는 것은, 전자 장치들(101, 210) 사이의 연결(220)과 관련된 서브-네트워크, 전자 장치들(101, 210) 사이의 근접도 또는 전자 장치들(101, 210) 각각에서 사용자 인증이 성공한 이력 중 적어도 하나에 기반하여 수행될 수 있다.As described above, the electronic devices 101 and 210 according to an embodiment, in a screen sharing state by executing a mirroring function, in order to prevent an unauthorized user from viewing the shared screen, the screen is displayed. In response to receiving user input to browse, it may switch to a locked state. Switching to the locked state is the sub-network related to the connection 220 between the electronic devices 101 and 210, the proximity between the electronic devices 101 and 210, or the electronic devices 101 and 210, respectively. User authentication may be performed based on at least one of successful histories.

이하에서는 도 4를 참고하여, 일 실시예에 따른 전자 장치들(101, 210)이 미러링 기능을 지원하기 위하여 실행하는 프로그램들(372, 374)이 상세히 설명된다.Hereinafter, with reference to FIG. 4 , programs 372 and 374 executed by the electronic devices 101 and 210 to support the mirroring function according to an exemplary embodiment will be described in detail.

도 4는 일 실시예에 따른 전자 장치들 각각에서 실행되는 프로그램들(372, 374)을 설명하기 위한 도면이다. 도 4의 전자 장치들은, 도 1 내지 도 3의 전자 장치(101) 및 도 2 내지 도 3의 전자 장치(210)를 포함할 수 있다. 도 4의 프로그램들(372, 374)은, 도 3의 프로그램들(372, 374) 각각에 대응할 수 있다. 도 4를 참고하면, 프로그램들(372, 374) 각각에 포함된 하나 이상의 객체들 및/또는 하나 이상의 인스턴스들이 도시된다. 객체 및/또는 인스턴스는 프로그램들(372, 374)에 의해 실행된 전자 장치에 의해 수행되는 하나 이상의 동작들의 단위를 의미한다.4 is a diagram for explaining programs 372 and 374 executed in each of electronic devices according to an exemplary embodiment. The electronic devices of FIG. 4 may include the electronic device 101 of FIGS. 1 to 3 and the electronic device 210 of FIGS. 2 to 3 . The programs 372 and 374 of FIG. 4 may correspond to the programs 372 and 374 of FIG. 3 , respectively. Referring to FIG. 4 , one or more objects and/or one or more instances included in each of the programs 372 and 374 are shown. An object and/or instance refers to a unit of one or more operations performed by an electronic device executed by the programs 372 and 374 .

도 4를 참고하면, 프로그램(372)은, 예를 들어, 도 1 내지 도 3의 전자 장치(101)에 의해 실행되는 프로그램(예, 도 3의 프로그램(372))의 일 예에 대응할 수 있다. 예를 들어, 프로그램(372)은, 프로그램(372)을 실행하는 전자 장치가 다른 전자 장치로, 미러링 기능에 기반하여 상기 전자 장치에서 생성된 화면 및/또는 오디오를 송신하기 위한 인스트럭션들을 포함할 수 있다. 프로그램(374)은, 예를 들어, 도 2 내지 도 3의 전자 장치(210)에 의해 실행되는 프로그램(예, 도 3의 프로그램(374))의 일 예에 대응할 수 있다. 예를 들어, 프로그램(374)은, 프로그램(374)을 실행하는 전자 장치가, 프로그램(372)을 실행한 다른 전자 장치로부터 수신된 화면 및/또는 오디오를, 상기 전자 장치의 디스플레이 및/또는 스피커를 통해 출력하기 위한 인스트럭션들을 포함할 수 있다. 이하에서, 프로그램(372)을 실행하는 전자 장치는, 화면 및/또는 오디오의 소스가 되는 전자 장치로써, 예를 들어, 소스 전자 장치 및/또는 제1 전자 장치로 참조될 수 있다. 이하에서, 프로그램(374)을 실행하는 전자 장치는, 화면 및/또는 오디오를 송신하는 전자 장치와 원격으로 연결된(remotely connected) 전자 장치로써, 예를 들어, 리모트 전자 장치 및/또는 제2 전자 장치로 참조될 수 있다.Referring to FIG. 4 , a program 372 may correspond to an example of a program (eg, the program 372 of FIG. 3 ) executed by the electronic device 101 of FIGS. 1 to 3 . . For example, the program 372 may include instructions for an electronic device executing the program 372 to transmit a screen and/or audio generated by the electronic device based on a mirroring function to another electronic device. there is. The program 374 may correspond to an example of a program (eg, the program 374 of FIG. 3 ) executed by the electronic device 210 of FIGS. 2 to 3 . For example, the program 374 allows an electronic device executing the program 374 to transmit a screen and/or audio received from another electronic device executing the program 372 to a display and/or speaker of the electronic device. It may include instructions for outputting through. Hereinafter, an electronic device that executes the program 372 may be referred to as a source electronic device and/or a first electronic device as an electronic device that becomes a source of a screen and/or audio. Hereinafter, the electronic device executing the program 374 is an electronic device that is remotely connected to an electronic device that transmits a screen and/or audio, and is, for example, a remote electronic device and/or a second electronic device. can be referred to as

일 실시예에서, 프로그램(372)은, 운영 체제 및/또는 미들 웨어의 적어도 일부분으로써, 소스 전자 장치가 상기 운영 체제 및/또는 상기 미들 웨어에 기반하여 구동함에 따라 상기 소스 전자 장치에 의하여 실행될 수 있다. 도 4를 참고하면, 소스 전자 장치가 프로그램(372)을 실행함에 따라 활성화되는 객체 및/또는 인스턴스로써, 소스 연결 매니저(410), 소스 컨테이너 매니저(420), 미러링 가이드 화면 매니저(430), 콘텐트 보호 매니저(440), 입력 매니저(450) 및 시스템 서비스(460)가 도시된다. 일 실시예에서, 소스 전자 장치는, 소스 컨테이너 매니저(420)에 기반하여 미러링 기능을 실행함에 따라, 하나 이상의 소스 어플리케이션 컨테이너들을 생성할 수 있다. 도 4를 참고하면, 소스 전자 장치가 소스 컨테이너 매니저(420)에 기반하여 생성한 N 개의 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N)이 도시된다. N 개의 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N)은 소스 전자 장치에서 실행되고 있고, 적어도 하나의 어플리케이션으로부터 획득된 N 개의 화면들 각각에 대응할 수 있다. 일 실시예에 따른 소스 전자 장치는, 리모트 전자 장치로부터 화면을 공유하라는 요청을 수신하는 것에 응답하여, 상기 N 개의 화면들을 획득할 수 있다. 일 실시예에서, 프로그램(372)은, 소스 연결 매니저(410), 소스 컨테이너 매니저(420), 미러링 가이드 화면 매니저(430), 콘텐트 보호 매니저(440), 입력 매니저(450) 및 시스템 서비스(460) 각각에 대응하는 인스트럭션들을 포함할 수 있다. In one embodiment, the program 372 is at least a part of an operating system and/or middleware, and may be executed by the source electronic device as the source electronic device runs based on the operating system and/or the middleware. there is. Referring to FIG. 4 , as objects and/or instances activated as the source electronic device executes the program 372, a source connection manager 410, a source container manager 420, a mirroring guide screen manager 430, and content Protection manager 440 , input manager 450 and system services 460 are shown. In one embodiment, the source electronic device may create one or more source application containers by executing a mirroring function based on the source container manager 420 . Referring to FIG. 4 , N source application containers 422-1, 422-2, ..., 422-N generated by the source electronic device based on the source container manager 420 are shown. The N source application containers 422-1, 422-2, ..., 422-N are executed in the source electronic device and may correspond to N screens obtained from at least one application. The source electronic device according to an embodiment may acquire the N number of screens in response to receiving a screen sharing request from a remote electronic device. In one embodiment, program 372 includes source connection manager 410, source container manager 420, mirroring guide screen manager 430, content protection manager 440, input manager 450, and system services 460. ) may include instructions corresponding to each.

일 실시예에서, 프로그램(374)은, 미러링 기능과 관련된 어플리케이션의 적어도 일부분으로써, 상기 어플리케이션을 실행하는 사용자 입력에 기반하여 리모트 전자 장치에 의하여 실행될 수 있다. 도 4를 참고하면, 리모트 전자 장치가 프로그램(374)을 실행함에 따라 활성화되는 객체 및/또는 인스턴스로써, 리모트 연결 매니저(415) 및 리모트 컨테이너 매니저(425)가 도시된다. 일 실시예에서, 리모트 전자 장치는, 리모트 컨테이너 매니저(425)에 기반하여 미러링 기능을 실행함에 따라, 하나 이상의 리모트 어플리케이션 컨테이너들을 생성할 수 있다. 도 4를 참고하면, 리모트 전자 장치가 리모트 컨테이너 매니저(425)에 기반하여 생성한 N 개의 리모트 어플리케이션 컨테이너들(427-1, 427-2, ..., 427-N)이 도시된다. 예를 들어, 프로그램(374)은 리모트 연결 매니저(415) 및 리모트 컨테이너 매니저(425) 각각에 대응하는 인스트럭션들을 포함할 수 있다.In one embodiment, the program 374, as at least a portion of an application related to the mirroring function, may be executed by the remote electronic device based on a user input for executing the application. Referring to FIG. 4 , a remote connection manager 415 and a remote container manager 425 are illustrated as objects and/or instances that are activated when a remote electronic device executes a program 374 . In one embodiment, the remote electronic device may create one or more remote application containers by executing a mirroring function based on the remote container manager 425 . Referring to FIG. 4 , N remote application containers 427-1, 427-2, ..., 427-N created by the remote electronic device based on the remote container manager 425 are shown. For example, the program 374 may include instructions corresponding to each of the remote connection manager 415 and the remote container manager 425 .

도 4에 도시된 프로그램들(372, 374) 각각에 의해 활성화되는 인스턴스들은, 인스턴스들 각각의 타입에 따라 서로 대응할 수 있다. 소스 전자 장치 및 리모트 전자 장치는, 연결(220) 내에서 인스턴스들 사이의 대응 관계에 따라 데이터를 송신 및/또는 수신할 수 있다. 예를 들어, 소스 전자 장치에서 활성화된 소스 연결 매니저(410)가, 리모트 전자 장치에서 활성화된 리모트 연결 매니저(415)에 대응할 수 있다. 소스 컨테이너 매니저(420)는 리모트 컨테이너 매니저(425)에 대응할 수 있다. N 개의 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N)이 N 개의 리모트 어플리케이션 컨테이너들(427-1, 427-2, ..., 427-N) 각각에 대응할 수 있다.Instances activated by each of the programs 372 and 374 shown in FIG. 4 may correspond to each other according to the type of each instance. The source electronic device and the remote electronic device may transmit and/or receive data according to a correspondence relationship between instances within the connection 220 . For example, the source connection manager 410 activated in the source electronic device may correspond to the remote connection manager 415 activated in the remote electronic device. The source container manager 420 may correspond to the remote container manager 425 . N source application containers 422-1, 422-2, ..., 422-N correspond to N remote application containers 427-1, 427-2, ..., 427-N, respectively. can

도 4를 참고하면, 소스 전자 장치는 소스 연결 매니저(410)를 이용하여, 리모트 전자 장치에서 실행되고 있는 인스턴스인 리모트 연결 매니저(415)와 통신할 수 있다. 소스 연결 매니저(410) 및 리모트 연결 매니저(415)는, 프로그램들(372, 374)을 실행하는 소스 전자 장치 및 리모트 전자 장치에서 상기 대응 관계에 따라 실행되는 하나 이상의 인스턴스들 사이의 통신을 제어하는데 이용될 수 있다. 일 실시예에 따른 소스 전자 장치는 소스 연결 매니저(410)를 이용하여, 소스 전자 장치 및 리모트 전자 장치 사이의 연결(220)을 수립하거나, 및/또는 해제할 수 있다. 소스 전자 장치는 미러링 기능의 실행을 제어하기 위하여, 소스 연결 매니저(410)를 이용하여 연결(220)의 수립에 이용된 서버(예, 도 2a 내지 2b의 서버들(230, 240) 중 적어도 하나) 및/또는 연결(220)과 관련된 하나 이상의 서브-네트워크들을 식별할 수 있다. 연결(220)의 수립에 이용된 서버 및/또는 연결(220)과 관련된 하나 이상의 서브-네트워크들을 식별하는 것에 응답하여, 일 실시예에 따른 소스 전자 장치는 미러링 가이드 화면 매니저(430) 및/또는 콘텐트 보호 매니저(440)와 관련된 이벤트를 발생할 수 있다. 상기 이벤트는, 소스 전자 장치 및 리모트 전자 장치 사이의 근접도와 관련된 이벤트로써, 예를 들어, 소스 전자 장치 및 리모트 전자 장치가 서로 다른 서브-네트워크들에 배치됨을 알리는 이벤트를 포함할 수 있다.Referring to FIG. 4 , the source electronic device may use the source connection manager 410 to communicate with a remote connection manager 415 that is an instance running on the remote electronic device. The source connection manager 410 and the remote connection manager 415 control communication between one or more instances executed according to the corresponding relationship in the source electronic device and the remote electronic device executing the programs 372 and 374. can be used The source electronic device according to an embodiment may establish and/or disconnect the connection 220 between the source electronic device and the remote electronic device using the source connection manager 410 . In order to control the execution of the mirroring function, the source electronic device uses the source connection manager 410 to establish the connection 220 (e.g., at least one of the servers 230 and 240 of FIGS. 2A and 2B). ) and/or identify one or more sub-networks associated with connection 220 . In response to identifying the server used to establish the connection 220 and/or one or more sub-networks associated with the connection 220, the source electronic device according to an embodiment may display the mirroring guide screen manager 430 and/or An event related to the content protection manager 440 may occur. The event is related to the proximity between the source electronic device and the remote electronic device, and may include, for example, an event notifying that the source electronic device and the remote electronic device are disposed on different sub-networks.

일 실시예에 따른 소스 전자 장치는 소스 컨테이너 매니저(420)에 기반하여, 미러링 기능에 기반하여 실행되는 하나 이상의 어플리케이션들 전부를 관리할 수 있다. 예를 들어, 소스 컨테이너 매니저(420)를 이용하여, 소스 전자 장치는 상기 하나 이상의 어플리케이션들 각각에 대응하는 인스턴스인 소스 어플리케이션 컨테이너를 생성하거나, 및/또는 제거할 수 있다. 예를 들어, 소스 전자 장치는 소스 컨테이너 매니저(420)를 이용하여, 리모트 전자 장치로부터 수신되고, 소스 전자 장치에 저장된 어플리케이션의 실행 및/또는 종료와 관련된, 요청을 처리할 수 있다. 일 실시예에서, 소스 컨테이너 매니저(420)는 어플리케이션 실행 컨테이너 매니저(application execution container manager)로 참조될 수 있다. 상기 이벤트는, 예를 들어, 소스 전자 장치에 저장된 어플리케이션을 실행하라는 요청을 수신하는 이벤트를 포함할 수 있다. 소스 컨테이너 매니저(420)가 리모트 컨테이너 매니저(425)에 대응하므로, 리모트 전자 장치는 리모트 컨테이너 매니저(425)에 기반하여, 소스 원격 장치에서 실행되는 소스 컨테이너 매니저(420)로, 리모트 전자 장치의 사용자에 의해 선택된 어플리케이션을 실행하라는 요청을 송신할 수 있다. 소스 전자 장치는, 소스 컨테이너 매니저(420)를 이용하여 상기 요청에 대응하는 소스 어플리케이션 컨테이너를 획득할 수 있다.The source electronic device according to an embodiment may manage all of one or more applications executed based on the mirroring function based on the source container manager 420 . For example, by using the source container manager 420, the source electronic device may create and/or remove a source application container, which is an instance corresponding to each of the one or more applications. For example, the source electronic device may use the source container manager 420 to process a request received from a remote electronic device and related to execution and/or termination of an application stored in the source electronic device. In one embodiment, the source container manager 420 may be referred to as an application execution container manager. The event may include, for example, an event of receiving a request to execute an application stored in the source electronic device. Since the source container manager 420 corresponds to the remote container manager 425, the remote electronic device is the source container manager 420 executed in the source remote device based on the remote container manager 425, and the user of the remote electronic device A request to execute the application selected by may be transmitted. The source electronic device may obtain a source application container corresponding to the request using the source container manager 420 .

예를 들어, 상기 요청에 응답하여, 소스 어플리케이션 컨테이너(422-1)를 생성한 경우, 소스 전자 장치는 소스 컨테이너 매니저(420)를 이용하여 리모트 전자 장치의 리모트 컨테이너 매니저(425)로, 소스 어플리케이션 컨테이너(422-1)와 관련된 정보를 송신할 수 있다. 상기 정보는 소스 어플리케이션 컨테이너(422-1)에 할당된 식별자로써, 예를 들어, 상기 요청에 대응하는 어플리케이션의 패키지 명칭(package name), 시스템 서비스(460)에 의해 상기 어플리케이션에 할당된 UID(user ID) 또는 태스크 ID(task ID) 중 적어도 하나를 포함할 수 있다.For example, when the source application container 422-1 is created in response to the request, the source electronic device uses the source container manager 420 to transfer the source application to the remote container manager 425 of the remote electronic device. Information related to the container 422-1 may be transmitted. The information is an identifier assigned to the source application container 422-1, for example, a package name of the application corresponding to the request, and a UID (user user) assigned to the application by the system service 460. ID) or a task ID.

일 실시예에서, 소스 전자 장치는 소스 컨테이너 매니저(420)에 기반하여, 미러링 기능을 수행함에 따라 리모트 전자 장치에서 탐지되는 사용자 입력의 적어도 일부분을 처리할 수 있다. 예를 들어, 리모트 전자 장치의 사용자가, 리모트 전자 장치를 통해 제공되고 있고, 소스 어플리케이션 컨테이너(422-1)에 기반하여 소스 전자 장치에서 실행되고 있는, 어플리케이션을 제어하기 위한 사용자 입력을 수행하는 경우, 리모트 전자 장치는, 상기 소스 어플리케이션 컨테이너(422-1)에 대응하는 리모트 어플리케이션 컨테이너(427-1)를 이용하여, 소스 전자 장치로 상기 사용자 입력을 알리는 신호를 송신할 수 있다.In one embodiment, based on the source container manager 420, the source electronic device may process at least a portion of the user input detected by the remote electronic device as it performs a mirroring function. For example, when a user of the remote electronic device performs a user input for controlling an application provided through the remote electronic device and being executed in the source electronic device based on the source application container 422-1. , The remote electronic device may transmit a signal notifying the user input to the source electronic device using the remote application container 427-1 corresponding to the source application container 422-1.

상기 신호를 수신하는 것에 응답하여, 소스 전자 장치는 소스 컨테이너 매니저(420)에 기반하여, 소스 어플리케이션 컨테이너(422-1)에 상기 신호에 따른 상기 사용자 입력의 발생을 알릴 수 있다. 유사하게, 소스 전자 장치의 사용자가 소스 어플리케이션 컨테이너(422-1)에 대응하는 어플리케이션을 제어하기 위한 사용자 입력을 수행하는 경우, 소스 전자 장치는 소스 컨테이너 매니저(420)에 기반하여, 상기 사용자 입력에 대응하는 이벤트를 처리하기 위한 소스 어플리케이션 컨테이너(422-1)를 식별할 수 있다.In response to receiving the signal, the source electronic device may inform the source application container 422-1 of the occurrence of the user input according to the signal based on the source container manager 420. Similarly, when a user of the source electronic device performs a user input for controlling an application corresponding to the source application container 422-1, the source electronic device responds to the user input based on the source container manager 420. A source application container 422-1 for processing a corresponding event may be identified.

일 실시예에 따른 소스 전자 장치는, 하나 이상의 소스 어플리케이션 컨테이너들을 이용하여, 소스 전자 장치 및 리모트 전자 장치 사이에서 연결(220)에 기반하여 형성되는 하나 이상의 세션들을 제어할 수 있다. 일 실시예에서, 상기 소스 어플리케이션 컨테이너는 어플리케이션 실행 컨테이너(Application Execution Container)로 참조될 수 있다. 상기 하나 이상의 세션들은, 리모트 전자 장치가 미러링 기능에 기반하여 실행하는 소스 전자 장치의 하나 이상의 어플리케이션들 각각에 대응하여 수립된 논리적 링크로써, 예를 들어, 미러링 세션, 화면 미러링 세션 및/또는 화면 스트리밍 세션으로 참조될 수 있다. 도 4를 참고하면, 소스 컨테이너 매니저(420)가 실행된 소스 전자 장치에 의해 생성된 N 개의 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N)은, N 개의 미러링 세션들로써, 소스 전자 장치에서 실행되고, 리모트 전자 장치로 제공되는 N 개의 어플리케이션들에 대응할 수 있다. N 개의 미러링 세션들 각각을 통하여, 소스 전자 장치가 소스 어플리케이션 컨테이너에 기반하여 어플리케이션의 화면을 캡쳐하여 생성된 비디오 신호가 송신될 수 있다.The source electronic device according to an embodiment may control one or more sessions formed based on the connection 220 between the source electronic device and the remote electronic device using one or more source application containers. In one embodiment, the source application container may be referred to as an application execution container. The one or more sessions are logical links established in correspondence with each of one or more applications of the source electronic device executed by the remote electronic device based on the mirroring function, and are, for example, mirroring sessions, screen mirroring sessions, and/or screen streaming. can be referred to as a session. Referring to FIG. 4 , N source application containers 422-1, 422-2, ..., 422-N created by the source electronic device in which the source container manager 420 is executed are N mirroring Sessions may correspond to N applications executed in the source electronic device and provided to the remote electronic device. Through each of the N mirroring sessions, a video signal generated when the source electronic device captures the screen of an application based on the source application container may be transmitted.

일 실시예에서, 소스 전자 장치는 하나 이상의 소스 어플리케이션 컨테이너들 각각에 대응하는 정보를, 메모리(예, 도 3의 전자 장치(101)의 메모리(322)) 내에 저장할 수 있다. 상기 정보는, 대응하는 소스 어플리케이션 컨테이너에 할당된 메모리의 일부분 내에 저장될 수 있다. 예를 들어, 소스 전자 장치에서 실행되는 소스 어플리케이션 컨테이너는, 소스 전자 장치가 소스 컨테이너 매니저(420)를 이용하여 고유하게 할당한(uniquely assigned) 정보로써, 식별자(ID), 대응하는 어플리케이션의 패키지 명칭, 태스크 ID 또는 UID 중 적어도 하나를 포함할 수 있다. 소스 어플리케이션 컨테이너에 할당된 정보는, 예를 들어, 리모트 전자 장치로 송신될 신호에 대응하는 소스 어플리케이션 컨테이너를 나타내기 위하여 이용될 수 있다. 소스 어플리케이션 컨테이너에 할당된 정보는, 리모트 전자 장치에서 상기 소스 어플리케이션 컨테이너에 대응하는 리모트 어플리케이션 컨테이너를 식별하기 위해 이용될 수 있다. 예를 들어, 소스 어플리케이션 컨테이너에 할당된 정보는, 소스 어플리케이션 컨테이너 및 리모트 어플리케이션 컨테이너 사이의 매핑(mapping)을 나타낼 수 있다.In an embodiment, the source electronic device may store information corresponding to each of one or more source application containers in a memory (eg, the memory 322 of the electronic device 101 of FIG. 3 ). The information may be stored in a portion of memory allocated to the corresponding source application container. For example, a source application container executed in a source electronic device is information uniquely assigned by the source electronic device using the source container manager 420, and includes an identifier (ID) and a package name of a corresponding application. , task ID or UID. Information allocated to the source application container may be used to indicate a source application container corresponding to a signal to be transmitted to the remote electronic device, for example. Information allocated to the source application container may be used to identify a remote application container corresponding to the source application container in the remote electronic device. For example, the information allocated to the source application container may indicate mapping between the source application container and the remote application container.

일 실시예에 따른 소스 전자 장치는 미러링 가이드 화면 매니저(430)를 이용하여, 미러링 기능을 실행하는 동안에 소스 전자 장치의 디스플레이(예, 도 3의 디스플레이(342)) 상에 표시될 화면을 획득할 수 있다. 소스 전자 장치가 미러링 가이드 화면 매니저(430)에 기반하여 획득하는 상기 화면은, 리모트 전자 장치로 화면을 송신함을 알리기 위한 메시지를 포함할 수 있다. 이하에서, 소스 전자 장치가 미러링 가이드 화면 매니저(430)에 기반하여 디스플레이 상에 표시되는 화면은, 미러링 가이드 화면 및/또는 블랙 스크린(black screen)으로 참조될 수 있다. 일 실시예에 따른 소스 전자 장치가 표시하는 미러링 가이드 화면의 일 예는, 도 6b, 도 7a 내지 7b를 참고하여 후술된다. The source electronic device according to an embodiment uses the mirroring guide screen manager 430 to acquire a screen to be displayed on the display of the source electronic device (eg, the display 342 of FIG. 3 ) while executing the mirroring function. can The screen acquired by the source electronic device based on the mirroring guide screen manager 430 may include a message for notifying that the screen is transmitted to the remote electronic device. Hereinafter, a screen displayed on the display of the source electronic device based on the mirroring guide screen manager 430 may be referred to as a mirroring guide screen and/or a black screen. An example of a mirroring guide screen displayed by a source electronic device according to an embodiment will be described later with reference to FIGS. 6B and 7A to 7B.

일 실시예에 따른 소스 전자 장치는 미러링 가이드 화면 매니저(430)를 이용하여, 미러링 가이드 화면과 관련된 이벤트를 처리할 수 있다. 예를 들어, 미러링 가이드 화면과 구별되는 다른 화면으로 전환하기 위한 사용자 입력을 식별하는 것에 응답하여, 소스 전자 장치는 미러링 가이드 화면 매니저(430)를 이용하여 상기 식별된 사용자 입력에 대응하는 동작을 수행할 수 있다. 예를 들어, 소스 전자 장치가 미러링 가이드 화면 매니저(430)를 이용하여 수행하는 상기 동작은, 디스플레이 내에서 미러링 가이드 화면의 표시를 중단하는 동작을 포함할 수 있다. 예를 들어, 소스 전자 장치가 미러링 가이드 화면 매니저(430)를 이용하여 수행하는 상기 동작은, 미러링 가이드 화면과 구별되는 다른 화면으로, 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N) 중 어느 하나에 대응하는 화면을 표시하는 동작을 포함할 수 있다. 예를 들어, 상기 동작은, 미러링 가이드 화면과 구별되는 다른 화면으로, 소스 전자 장치의 상태가 잠금 상태로 스위칭됨에 따라 생성되는 잠금 화면을 표시하는 동작을 포함할 수 있다. 예를 들어, 상기 동작은, 프로그램(372)에 기반하여 소스 전자 장치에 의해 실행되고 있는 다른 인스턴스(예, 콘텐트 보호 매니저(440))로 미러링 가이드 화면의 해제를 알리는 것을 포함할 수 있다.The source electronic device according to an embodiment may process an event related to the mirroring guide screen using the mirroring guide screen manager 430 . For example, in response to identifying a user input for switching to another screen distinct from the mirroring guide screen, the source electronic device performs an operation corresponding to the identified user input using the mirroring guide screen manager 430. can do. For example, the operation performed by the source electronic device using the mirroring guide screen manager 430 may include an operation of stopping the display of the mirroring guide screen in the display. For example, the operation performed by the source electronic device using the mirroring guide screen manager 430 is another screen distinct from the mirroring guide screen, and the source application containers 422-1, 422-2, ... , 422-N) may include an operation of displaying a screen corresponding to any one of them. For example, the operation may include an operation of displaying a lock screen generated when the state of the source electronic device is switched to a locked state, as another screen different from the mirroring guide screen. For example, the operation may include notifying release of the mirroring guide screen to another instance (eg, the content protection manager 440) being executed by the source electronic device based on the program 372.

일 실시예에 따른 소스 전자 장치는 콘텐트 보호 매니저(440)를 이용하여, 소스 전자 장치가 미러링 기능을 실행하는 상태에서 소스 전자 장치에 의해 생성되는 하나 이상의 화면들(예, 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N) 각각에 대응하고, 리모트 전자 장치로 송신되는, N 개의 화면들)의 표시를 제한하기 위한 동작을 수행할 수 있다. 소스 전자 장치가 콘텐트 보호 매니저(440)를 이용하여 수행하는 상기 동작은, 예를 들어, 미러링 가이드 화면 매니저(430)로 미러링 가이드 화면의 표시를 요청하는 동작을 포함할 수 있다. 소스 전자 장치가 콘텐트 보호 매니저(440)를 이용하여 수행하는 상기 동작은, 예를 들어, 소스 전자 장치의 상태를 잠금 상태로 스위칭하는 동작을 포함할 수 있다.The source electronic device according to an embodiment uses the content protection manager 440 to view one or more screens (eg, the source application containers 422 -1, 422-2, ..., 422-N) and may perform an operation for limiting the display of N screens) transmitted to the remote electronic device. The operation performed by the source electronic device using the content protection manager 440 may include, for example, requesting the mirroring guide screen manager 430 to display the mirroring guide screen. The operation performed by the source electronic device using the content protection manager 440 may include, for example, switching the state of the source electronic device to a locked state.

일 실시예에 따른 소스 전자 장치는, 소스 연결 매니저(410)를 이용하여 소스 전자 장치 및 리모트 전자 장치가 서로 다른 서브-네트워크들에 배치됨을 식별하는 것에 응답하여, 콘텐트 보호 매니저(440)를 이용하여 미러링 가이드 화면 매니저(430)를 제어할 수 있다. 예를 들어, 소스 전자 장치는 콘텐트 보호 매니저(440)를 이용하여 미러링 가이드 화면 매니저(430)로부터 획득된 미러링 가이드 화면을, 디스플레이 상에 추가할 수 있다. 소스 전자 장치는 콘텐트 보호 매니저(440)를 이용하여 상기 미러링 가이드 화면에서 발생하는 이벤트를 탐지할 수 있다.The source electronic device according to an embodiment uses the content protection manager 440 in response to identifying that the source electronic device and the remote electronic device are located on different sub-networks using the source connection manager 410. Thus, the mirroring guide screen manager 430 can be controlled. For example, the source electronic device may add the mirroring guide screen obtained from the mirroring guide screen manager 430 to the display using the content protection manager 440 . The source electronic device may detect an event occurring on the mirroring guide screen using the content protection manager 440 .

일 실시예에 따른 소스 전자 장치는, 콘텐트 보호 매니저(440)를 이용하여, 소스 전자 장치 및 리모트 전자 장치 각각에서 잠금 상태로부터 잠금 해제 상태로 스위칭된 이력을 식별할 수 있다. 예를 들어, 콘텐트 보호 매니저(440)를 이용하여 소스 전자 장치에 기반하여 사용자 인증이 완료된 이력을 식별한 상태에서, 소스 전자 장치는 미러링 가이드 화면을 해제하는 사용자 입력에 응답하여, 잠금 화면의 표시를 바이패스할 수 있다. 잠금 화면의 표시를 바이패스함에 따라, 소스 전자 장치는 리모트 전자 장치로 송신되는 화면을 표시할 수 있다. 예를 들어, 콘텐트 보호 매니저(440)를 이용하여 소스 전자 장치 및 리모트 전자 장치 중 리모트 전자 장치에 기반하여 사용자 인증이 완료된 이력을 식별한 상태에서, 소스 전자 장치는 미러링 가이드 화면을 해제하는 사용자 입력에 응답하여, 잠금 화면을 표시할 수 있다.The source electronic device according to an embodiment may use the content protection manager 440 to identify a history of switching from a locked state to an unlocked state in each of the source electronic device and the remote electronic device. For example, in a state in which user authentication has been completed based on the source electronic device is identified using the content protection manager 440, the source electronic device displays a lock screen in response to a user input for releasing the mirroring guide screen. can be bypassed. By bypassing the display of the lock screen, the source electronic device may display a screen transmitted to the remote electronic device. For example, in a state in which user authentication has been completed based on a remote electronic device among a source electronic device and a remote electronic device is identified using the content protection manager 440, the source electronic device receives a user input for releasing the mirroring guide screen. In response, the lock screen may be displayed.

일 실시예에 따른 소스 전자 장치는 시스템 서비스(460)에 포함된 서피스 플린저(480)를 이용하여, 미러링 가이드 화면 매니저(430)에 의해 표시되는 미러링 가이드 화면 또는 콘텐트 보호 매니저(440)에 의해 표시되는 잠금 화면 중 적어도 하나가 렌더링되는 객체(예, 프리젠테이션 윈도우(Presentation Window) 영역에 대응하는 서피스)를 생성할 수 있다. 상기 객체는, 소스 전자 장치가 시스템 서비스(460)에 기반하여 식별한 메모리의 일부분으로, 예를 들어, 프레임 버퍼에 대응할 수 있다. 소스 전자 장치는 서피스 플린저(480)를 이용하여, 미러링 가이드 화면 매니저(430) 및 콘텐트 보호 매니저(440)로, 미러링 가이드 화면 및 잠금 화면 중 적어도 하나를, 디스플레이 상에 표시할 수 있다. 소스 전자 장치가 상기 미러링 가이드 화면 및 상기 잠금 화면 중 적어도 하나를 표시하는 것은, 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N)이 대응하는 화면을 획득하는 것과 독립적으로 수행될 수 있다.The source electronic device according to an embodiment uses the surface plunger 480 included in the system service 460 to display the mirroring guide screen displayed by the mirroring guide screen manager 430 or the content protection manager 440. An object (eg, a surface corresponding to a presentation window area) to which at least one of the displayed lock screens is rendered may be created. The object is a part of memory identified by the source electronic device based on the system service 460, and may correspond to, for example, a frame buffer. The source electronic device may display at least one of the mirroring guide screen and the lock screen on the display using the surface plunger 480 and the mirroring guide screen manager 430 and the content protection manager 440 . Displaying at least one of the mirroring guide screen and the lock screen by the source electronic device is independent of the acquisition of corresponding screens by the source application containers 422-1, 422-2, ..., 422-N. can be performed with

일 실시예에 따른 소스 전자 장치는 입력 매니저(450)를 이용하여, 소스 전자 장치가 미러링 기능에 기반하여 소스 전자 장치 또는 리모트 전자 장치에서 탐지된 사용자 입력을 처리할 수 있다. 예를 들어, 소스 전자 장치는 입력 매니저(450)를 이용하여, 상기 사용자 입력이 소스 전자 장치 또는 리모트 전자 장치 중 어느 전자 장치에 의하여 탐지되었는지를 식별할 수 있다. 상기 사용자 입력은, 예를 들어, 잠금 화면에서 수행되는 PIN의 입력과 같이, 사용자가 사용자 인증과 관련된 정보를 입력하는 동작을 포함할 수 있다. 일 실시예에 따른 소스 전자 장치는 입력 매니저(450)를 이용하여, 상기 사용자 입력과 관련된 화면의 식별자(예, 화면 ID)를 식별할 수 있다. 입력 매니저(450)에 의해 식별되고, 사용자 입력과 관련된, 화면ID와 같은 화면의 식별자는, 소스 전자 장치에 의하여 미러링 가이드 화면 매니저(430) 및/또는 콘텐트 보호 매니저(440)로 송신될 수 있다. 예를 들어, 소스 전자 장치는 콘텐트 보호 매니저(440)를 이용하여, 상기 화면 ID에 기반하여, 상기 사용자 입력이 수행된 전자 장치를 식별할 수 있다.The source electronic device according to an embodiment may process a user input detected by the source electronic device or the remote electronic device based on the mirroring function by using the input manager 450 . For example, the source electronic device may use the input manager 450 to identify which electronic device among the source electronic device and the remote electronic device detected the user input. The user input may include, for example, a user inputting information related to user authentication, such as a PIN input performed on a lock screen. The source electronic device according to an embodiment may use the input manager 450 to identify an identifier (eg, screen ID) of a screen related to the user input. An identifier of a screen, such as a screen ID, identified by the input manager 450 and associated with a user input, may be transmitted to the mirroring guide screen manager 430 and/or the content protection manager 440 by the source electronic device. . For example, the source electronic device may use the content protection manager 440 to identify the electronic device on which the user input was performed based on the screen ID.

일 실시예에 따른 소스 전자 장치는 시스템 서비스(460)에 포함된 키 입력 매니저(470)를 이용하여, 소스 전자 장치의 상태를 잠금 상태로 스위칭할 수 있다. 소스 전자 장치의 상태를 잠금 상태로 스위칭하는 것은, 예를 들어, 연결(220)이 소스 연결 매니저(410)에 의하여 복수의 서브-네트워크들을 횡단하도록 수립되었는지 여부 및/또는 미러링 가이드 화면 매니저(430)로부터 잠금 상태로 스위창하라는 요청을 수신하였는지 여부와 같은 지정된 조건에 기반하여 수행될 수 있다.The source electronic device according to an embodiment may switch the state of the source electronic device to a locked state by using the key input manager 470 included in the system service 460 . Switching the state of the source electronic device to the locked state may, for example, determine whether a connection 220 has been established by the source connection manager 410 to traverse multiple sub-networks and/or the mirroring guide screen manager 430 ), it may be performed based on specified conditions, such as whether or not a request to switch to a locked state is received.

도 4를 참고하면, 일 실시예에 따른 리모트 전자 장치는 리모트 연결 매니저(415)를 이용하여, 소스 전자 장치에서 실행되고 있는 소스 연결 매니저(410)에 액세스할 수 있다. 예를 들어, 리모트 전자 장치는 리모트 연결 매니저(415)를 이용하여 소스 전자 장치에 할당된 네트워크 주소를 식별할 수 있다. 상기 식별된 네트워크 주소에 기반하여, 리모트 전자 장치는, 리모트 전자 장치의 서브-네트워크 내에서 소스 전자 장치에 액세스할 수 있다. 리모트 전자 장치의 서브-네트워크 내에서 소스 전자 장치에 액세스하지 못한 경우, 리모트 전자 장치는, 소스 전자 장치 및 리모트 전자 장치가 상이한 서브-네트워크들 각각에 배치됨을 식별할 수 있다. 소스 전자 장치 및 리모트 전자 장치가 상이한 서브-네트워크들 각각에 배치됨을 식별하는 것에 응답하여, 리모트 전자 장치는 STUN 서버 및/또는 TURN 서버(예, 도 2a 내지 2b의 서버(240))에 기반하여, 리모트 전자 장치 및 소스 전자 장치 사이의 연결(220)을 수립할 수 있다. STUN 서버 및/또는 TURN 서버 연결(220)을 수립하는 것에 응답하여, 리모트 전자 장치는, 리모트 전자 장치 및 소스 전자 장치가 상이한 서브-네트워크들에 의해 이격된 것으로 결정할 수 있다.Referring to FIG. 4 , a remote electronic device according to an embodiment may use a remote connection manager 415 to access a source connection manager 410 running in a source electronic device. For example, the remote electronic device may use the remote connection manager 415 to identify the network address assigned to the source electronic device. Based on the identified network address, the remote electronic device may access the source electronic device within a sub-network of the remote electronic device. If the source electronic device is not accessed within the sub-network of the remote electronic device, the remote electronic device may identify that the source electronic device and the remote electronic device are disposed in different sub-networks, respectively. In response to identifying that the source electronic device and the remote electronic device are located on different sub-networks, respectively, the remote electronic device, based on the STUN server and/or TURN server (e.g., server 240 of FIGS. 2A-2B) , may establish a connection 220 between the remote electronic device and the source electronic device. In response to establishing the STUN server and/or TURN server connection 220, the remote electronic device may determine that the remote electronic device and the source electronic device are separated by different sub-networks.

일 실시예에 따른 리모트 전자 장치는 리모트 컨테이너 매니저(425)에 기반하여, 미러링 기능에 기반하여 소스 전자 장치에서 실행되는 하나 이상의 어플리케이션들 각각에 대응하는 하나 이상의 미러링 세션들을 관리할 수 있다. 리모트 전자 장치에서 실행되는 상기 리모트 컨테이너 매니저(425)는 소스 전자 장치에서 실행되는 소스 컨테이너 매니저(420)에 대응할 수 있다. 일 실시예에서, 리모트 컨테이너 매니저(425)는 리모트 어플리케이션 컨테이너 매니저(remote application container manager)로 참조될 수 있다.The remote electronic device according to an embodiment may manage one or more mirroring sessions corresponding to each of one or more applications executed in the source electronic device based on the mirroring function based on the remote container manager 425 . The remote container manager 425 executed in the remote electronic device may correspond to the source container manager 420 executed in the source electronic device. In one embodiment, remote container manager 425 may be referred to as a remote application container manager.

예를 들어, 리모트 컨테이너 매니저(425)를 이용하여, 리모트 전자 장치는 상기 하나 이상의 어플리케이션들 각각에 대응하는 인스턴스인 리모트 어플리케이션 컨테이너를 생성하거나, 및/또는 제거할 수 있다. 예를 들어, 리모트 전자 장치는 리모트 컨테이너 매니저(425)를 이용하여, 소스 전자 장치로 어플리케이션의 실행, 상기 어플리케이션의 화면을 공유하거나, 및/또는 상기 어플리케이션의 실행을 중단하라는 요청을 송신할 수 있다. 예를 들어, 어플리케이션을 실행하라는 요청을 수신하는 것에 응답하여, 소스 전자 장치는 상기 리모트 컨테이너 매니저(425)에 대응하는 소스 컨테이너 매니저(420)를 이용하여 획득된 소스 어플리케이션 컨테이너와 관련된 정보를 송신할 수 있다. 상기 정보를 수신하는 것에 응답하여, 리모트 전자 장치는 리모트 컨테이너 매니저(425)를 이용하여 상기 정보에 기반하여 상기 소스 어플리케이션 컨테이너에 대응하는 리모트 어플리케이션 컨테이너를 생성할 수 있다. 리모트 전자 장치는, 리모트 컨테이너 매니저(425)에 의해 나타나는 리모트 어플리케이션 컨테이너 및 소스 어플리케이션 컨테이너 사이의 매핑에 기반하여, 소스 전자 장치가 특정 소스 어플리케이션 컨테이너에 기반하여 송신하는 데이터를, 특정 소스 어플리케이션 컨테이너에 대응하는 리모트 어플리케이션 컨테이너로 송신할 수 있다.For example, by using the remote container manager 425, the remote electronic device can create and/or delete a remote application container, which is an instance corresponding to each of the one or more applications. For example, the remote electronic device may transmit a request to the source electronic device to execute an application, share a screen of the application, and/or stop the execution of the application by using the remote container manager 425. . For example, in response to receiving a request to execute an application, the source electronic device may transmit information related to a source application container acquired using the source container manager 420 corresponding to the remote container manager 425. can In response to receiving the information, the remote electronic device may create a remote application container corresponding to the source application container based on the information using the remote container manager 425 . The remote electronic device, based on the mapping between the remote application container and the source application container indicated by the remote container manager 425, corresponds to the data transmitted by the source electronic device based on the specific source application container to the specific source application container. can be sent to a remote application container that

일 실시예에 따른 리모트 전자 장치는, 하나 이상의 리모트 어플리케이션 컨테이너들을 이용하여, 소스 전자 장치 및 리모트 전자 장치 사이의 연결(220)에 기반하여 형성되는 하나 이상의 미러링 세션들에 기반하는 통신을 수행할 수 있다. 도 4를 참고하면, 소스 전자 장치에 의해 생성된 N 개의 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N) 각각에 대응하는, N 개의 리모트 어플리케이션 컨테이너들(427-1, 427-2, ..., 427-N)이 도시된다. 예를 들어, 리모트 전자 장치는 리모트 컨테이너 매니저(425)에 적어도 기반하여, 소스 전자 장치에서 실행되고 있는 하나 이상의 소스 어플리케이션 컨테이너들과 일대일 대응을 가지는 하나 이상의 리모트 어플리케이션 컨테이너들을 획득할 수 있다. 일 실시예에 따른 리모트 전자 장치는, 리모트 컨테이너 매니저(425)에 기반하여, N 개의 리모트 어플리케이션 컨테이너들(427-1, 427-2, ..., 427-N) 각각에 고유한 식별자를 할당할 수 있다. 상기 식별자에 기반하여, N 개의 리모트 어플리케이션 컨테이너들(427-1, 427-2, ..., 427-N)은 N 개의 소스 어플리케이션 컨테이너들(422-1, 422-2, ..., 422-N) 각각에 대응할 수 있다.The remote electronic device according to an embodiment may perform communication based on one or more mirroring sessions formed based on the connection 220 between the source electronic device and the remote electronic device using one or more remote application containers. there is. Referring to FIG. 4 , N remote application containers 427-N corresponding to each of the N source application containers 422-1, 422-2, ..., 422-N generated by the source electronic device. 1, 427-2, ..., 427-N) are shown. For example, the remote electronic device may acquire one or more remote application containers having a one-to-one correspondence with one or more source application containers being executed in the source electronic device based at least on the remote container manager 425 . The remote electronic device according to an embodiment assigns a unique identifier to each of the N remote application containers 427-1, 427-2, ..., 427-N based on the remote container manager 425. can do. Based on the identifier, N remote application containers 427-1, 427-2, ..., 427-N are N source application containers 422-1, 422-2, ..., 422 -N) can correspond to each.

일 실시예에 따른 소스 전자 장치 및 리모트 전자 장치는, 소스 연결 매니저(410) 및 리모트 연결 매니저(415)를 이용하여 소스 전자 장치 및 리모트 전자 장치 사이의 연결(220)과 관련된 하나 이상의 서브-네트워크들을 식별할 수 있다. 연결(220)이 TCP/IP 소켓에 기반하여 수립된 상태에서, 소스 전자 장치 및 리모트 전자 장치는, 소스 연결 매니저(410) 및 리모트 연결 매니저(415)를 이용하여, 상기 TCP/IP 소켓에 할당된 네트워크 주소가 소스 전자 장치 및/또는 리모트 전자 장치의 네트워크 주소와 일치하는지 여부를 식별할 수 있다.According to an embodiment, the source electronic device and the remote electronic device use the source connection manager 410 and the remote connection manager 415 to connect one or more sub-networks associated with the connection 220 between the source electronic device and the remote electronic device. can identify them. In the state where the connection 220 is established based on the TCP/IP socket, the source electronic device and the remote electronic device assign to the TCP/IP socket using the source connection manager 410 and the remote connection manager 415. It is possible to identify whether the specified network address matches the network address of the source electronic device and/or the remote electronic device.

예를 들어, TCP/IP 소켓에 할당된 네트워크 주소가 소스 전자 장치 및/또는 리모트 전자 장치의 네트워크 주소와 일치하는 경우, 소스 전자 장치 및 리모트 전자 장치는 단일 서브-네트워크 내에서 수립된 연결(220)에 기반하여 서로 연결됨을 식별할 수 있다. TCP/IP 소켓에 할당된 네트워크 주소가 소스 전자 장치 및 리모트 전자 장치의 네트워크 주소들 전부와 일치하지 않는 경우, 소스 전자 장치 및 리모트 전자 장치는, 소스 전자 장치 및 리모트 전자 장치가 서로 다른 서브-네트워크들에 포함됨을 식별할 수 있다. 예를 들어, 소스 전자 장치 및 리모트 전자 장치는 상이한 서브-네트워크들에 의하여, 네트워크 내에서 복수의 중계 노드들을 이용하여 연결(220)을 수립할 수 있다.For example, if the network address assigned to the TCP/IP socket matches the network address of the source electronic device and/or remote electronic device, the source electronic device and remote electronic device establish a connection (220) within a single sub-network. ), it can be identified that they are connected to each other based on If the network address assigned to the TCP/IP socket does not match all of the network addresses of the source electronic device and the remote electronic device, then the source electronic device and the remote electronic device are connected to different sub-networks. included in can be identified. For example, the source electronic device and the remote electronic device may establish a connection 220 using a plurality of relay nodes within the network, by means of different sub-networks.

예를 들어, 소스 전자 장치 및 리모트 전자 장치는, 소스 전자 장치 및 리모트 전자 장치 각각에 연결된 AP의 식별자(예, SSID(Service Set Identifier))를 비교하여, 소스 전자 장치 및 리모트 전자 장치가 단일 서브-네트워크 내에서 연결되었는지 여부를 식별할 수 있다. 예를 들어, 소스 전자 장치에 연결된 제1 AP의 식별자 및 리모트 전자 장치에 연결된 제2 AP의 식별자가 일치하는 경우(즉, 제1 AP 및 제2 AP가 일치함), 소스 전자 장치 및 리모트 전자 장치는 동일한 서브-네트워크 내에 배치되는 것으로 결정될 수 있다. 상기 제1 AP의 식별자 및 상기 제2 AP의 식별자가 일치하지 않는 경우, 소스 전자 장치 및 리모트 전자 장치가 별개의 서브-네트워크들에 배치되는 것으로 결정될 수 있다.For example, the source electronic device and the remote electronic device compare identifiers (eg, Service Set Identifier (SSID)) of APs connected to the source electronic device and the remote electronic device, respectively, so that the source electronic device and the remote electronic device are configured as a single subsystem. -It can identify whether or not it is connected within the network. For example, when an identifier of a first AP connected to the source electronic device and an identifier of a second AP connected to the remote electronic device match (ie, the first AP and the second AP match), the source electronic device and the remote electronic device Devices may be determined to be located within the same sub-network. When the identifier of the first AP and the identifier of the second AP do not match, it may be determined that the source electronic device and the remote electronic device are disposed in separate sub-networks.

예를 들어, 소스 전자 장치는 소스 연결 매니저(410)를 이용하여, Bluetooth, BLE(Bluetooth LE)와 같은 단거리 D2D(device-to-device) 연결을 이용하여, 소스 전자 장치 및 리모트 전자 장치 사이의 거리를 식별할 수 있다. 예를 들어, 소스 전자 장치는 BLE의 광고 패킷(advertisement packet)의 수신 신호 세기(Received Signal Strength, RSS)를 식별할 수 있다. 식별된 RSS에 기반하여, 소스 전자 장치는, 소스 전자 장치 및 리모트 전자 장치 사이의 거리를 식별할 수 있다. 일 실시예에 따른 소스 전자 장치는 미러링 가이드 화면 매니저(430) 및/또는 콘텐트 보호 매니저(440)로, 소스 전자 장치 및 리모트 전자 장치 사이의 거리를 알릴 수 있다. 상기 거리는, 예를 들어, 단거리 D2D 연결에 기반하여 식별될 수 있다. 상기 거리는, 예를 들어, 연결(220)을 수립하는데 이용되는 서브-네트워크의 수와 관련될 수 있다.For example, the source electronic device uses the source connection manager 410 to establish a connection between the source electronic device and the remote electronic device using a short-range device-to-device (D2D) connection such as Bluetooth or BLE (Bluetooth LE). distance can be discerned. For example, the source electronic device may identify received signal strength (RSS) of an advertisement packet of BLE. Based on the identified RSS, the source electronic device can identify the distance between the source electronic device and the remote electronic device. The source electronic device according to an embodiment may notify the distance between the source electronic device and the remote electronic device to the mirroring guide screen manager 430 and/or the content protection manager 440 . The distance may be identified based on, for example, a short-range D2D connection. The distance may be related, for example, to the number of sub-networks used to establish connections 220 .

일 실시예에 따른 소스 전자 장치는, 미러링 기능이 실행되는 것에 응답하여, 소스 전자 장치 및 리모트 전자 장치 사이의 거리에 기반하는 동작을 수행할 수 있다. 예를 들어, 상기 거리가 지정된 임계치를 초과함을 식별하는 것에 응답하여, 소스 전자 장치는 콘텐트 보호 매니저(440)를 이용하여 미러링 가이드 화면 매니저(430)를 제어하여, 미러링 가이드 화면을 표시할 수 있다. 예를 들어, 소스 전자 장치는 미러링 가이드 화면 매니저(430)를 이용하여, 디스플레이와 관련된 복수의 영역들(또는 복수의 레이어들) 중에서, 미러링 기능에 기반하는 화면의 캡쳐와 구별되는 영역인 지정된 영역(예, 프리젠테이션 윈도우 영역)에, 미러링 가이드 화면을 렌더링할 수 있다. 상기 미러링 가이드 화면이 상기 지정된 영역에 렌더링 됨에 따라, 소스 전자 장치는 미러링 기능에 기반하는 화면의 캡쳐와 독립적으로, 디스플레이 상에 상기 미러링 가이드 화면을 표시할 수 있다. 소스 전자 장치가 디스플레이 상에 미러링 가이드 화면을 표시함에 따라, 미승인 사용자가 소스 전자 장치의 디스플레이를 통해 리모트 전자 장치로 공유되는 화면을 관찰하는 것이 방지될 수 있다.The source electronic device according to an embodiment may perform an operation based on a distance between the source electronic device and the remote electronic device in response to execution of the mirroring function. For example, in response to identifying that the distance exceeds a specified threshold, the source electronic device may display a mirroring guide screen by controlling the mirroring guide screen manager 430 using the content protection manager 440. there is. For example, the source electronic device uses the mirroring guide screen manager 430 to designate a region that is distinguished from screen capture based on a mirroring function among a plurality of regions (or a plurality of layers) related to a display. (eg, the presentation window area), a mirroring guide screen may be rendered. As the mirroring guide screen is rendered in the designated area, the source electronic device can display the mirroring guide screen on the display independently of screen capture based on the mirroring function. As the source electronic device displays the mirroring guide screen on the display, an unauthorized user may be prevented from observing the screen shared by the remote electronic device through the display of the source electronic device.

상술한 바와 같이, 일 실시예에 따른 소스 전자 장치는 미러링 가이드 화면 및/또는 잠금 화면을 이용하여, 소스 전자 장치의 디스플레이를 이용하여 리모트 전자 장치로 공유되는 화면에 액세스하려는 사용자를 인증할 수 있다. 예를 들어, 소스 전자 장치 및 리모트 전자 장치가 상대적으로 멀리 이격된 경우, 미러링 기능을 이용하는 사용자는 소스 전자 장치 또는 리모트 전자 장치 중 하나의 전자 장치를 선택하여 액세스할 수 있다. 이 경우, 사용자에 의해 선택된 전자 장치와 구별되는 나머지 전자 장치에 의한 콘텐트의 유출을 방지하기 위하여, 일 실시예에 따른 소스 전자 장치는 잠금 상태로 조건부(conditionally) 스위칭을 수행할 수 있다.As described above, the source electronic device according to an embodiment may use the mirroring guide screen and/or the lock screen to authenticate a user who wants to access the screen shared by the remote electronic device using the display of the source electronic device. . For example, when the source electronic device and the remote electronic device are relatively far apart, a user using the mirroring function may select and access one of the source electronic device and the remote electronic device. In this case, in order to prevent leakage of content by other electronic devices that are distinguished from the electronic device selected by the user, the source electronic device according to an embodiment may conditionally switch to a locked state.

이하에서는, 도 5를 참고하여, 일 실시예에 따른 전자 장치들이 미러링 기능을 제어하기 위하여 선택하는 한정된 상태들(finite states)에 기반하여, 전자 장치들의 동작을 설명한다.Hereinafter, with reference to FIG. 5 , operations of electronic devices according to an exemplary embodiment will be described based on finite states selected by electronic devices to control a mirroring function.

도 5는 일 실시예에 따른 전자 장치들의, 미러링 기능과 관련된 상태들과 관련된 상태 천이도(state transition diagram)(500)이다. 도 5의 전자 장치는, 도 1 내지 도 3의 전자 장치(101) 및 도 4의 소스 전자 장치에 대응할 수 있다. 도 5의 외부 전자 장치는, 전자 장치로부터 제공된 화면을 표시하는 전자 장치로써, 도 1 내지 도 3의 전자 장치(210) 및 도 4의 리모트 전자 장치에 대응할 수 있다. 5 is a state transition diagram 500 related to states related to a mirroring function of electronic devices according to an embodiment. The electronic device of FIG. 5 may correspond to the electronic device 101 of FIGS. 1 to 3 and the source electronic device of FIG. 4 . The external electronic device of FIG. 5 is an electronic device that displays a screen provided from the electronic device, and may correspond to the electronic device 210 of FIGS. 1 to 3 and the remote electronic device of FIG. 4 .

도 5의 상태 천이도(500)를 참고하면, 상태들(510, 520, 530, 540, 550)은, 전자 장치 및 외부 전자 장치 사이의 연결(예, 도 2a 내지 2b 및/또는 도 3의 연결(220))이 수립된 이후, 전자 장치 및 외부 전자 장치가 진입하는 상태를 나타낸다. 상태들(510, 520, 530, 540, 550) 사이의 화살표는, 전자 장치 및 외부 전자 장치가 미러링 기능을 실행한 이후 발생된 이벤트에 따른 상태들(510, 520, 530, 540, 550) 사이의 스위칭을 나타낸다.Referring to the state transition diagram 500 of FIG. 5 , states 510, 520, 530, 540, and 550 are connected between an electronic device and an external electronic device (eg, FIGS. 2A to 2B and/or FIG. 3 ). After the connection 220) is established, it represents a state in which the electronic device and the external electronic device enter. Arrows between the states 510, 520, 530, 540, and 550 indicate states 510, 520, 530, 540, and 550 according to events generated after the electronic device and the external electronic device execute the mirroring function. represents the switching of

도 5의 상태(510)는, 전자 장치 및 외부 전자 장치가 미러링 기능을 개시하는(initiating) 상태로써, 전자 장치 및 외부 전자 장치 사이의 연결이 수립되는 상태를 나타낸다. 연결이 수립됨에 따라, 전자 장치 및 외부 전자 장치는 상태(510)로부터 상태(520)로 스위칭할 수 있다. 일 실시예에 따른 전자 장치 및 외부 전자 장치는, 도 2b의 예시적인 연결(220)과 같이, 상이한 서브-네트워크들에 기반하여 서로 연결되거나, 및/또는 지정된 임계치 이상의 거리만큼 이격된 경우, 상태(510)로부터 상태(520)로 스위칭할 수 있다. State 510 of FIG. 5 is a state in which the electronic device and the external electronic device initiate a mirroring function, and represents a state in which a connection between the electronic device and the external electronic device is established. As the connection is established, the electronic device and the external electronic device may switch from state 510 to state 520 . When an electronic device and an external electronic device according to an embodiment are connected to each other based on different sub-networks, and/or are spaced apart by a distance greater than or equal to a specified threshold, as in the exemplary connection 220 of FIG. 2B, the state It can switch from 510 to state 520.

도 5를 참고하면, 상태(520)에서, 일 실시예에 따른 전자 장치는, 예를 들어, 도 4의 미러링 가이드 화면 매니저(430)를 실행하여, 전자 장치의 디스플레이(예, 도 3의 디스플레이(344)) 내에 미러링 가이드 화면을 표시할 수 있다. 상기 미러링 가이드 화면은, 전자 장치가 외부 전자 장치로 송신하는 화면과 구별될 수 있다. 예를 들어, 상태(520)에서, 외부 전자 장치는, 상기 미러링 가이드 화면과 구별되고, 전자 장치에서 실행되는 하나 이상의 어플리케이션들에 기반하여 상기 전자 장치로부터 제공된, 하나 이상의 화면들을 표시할 수 있다. 상태(520)에서, 전자 장치는 미러링 가이드 화면을 이용하여, 외부 전자 장치로 제공되고 있는 화면이 전자 장치의 디스플레이 상에 노출되는 것을 방지할 수 있다. 상태(520)에서, 전자 장치 및 외부 전자 장치 각각이 디스플레이 상에 표시하는 화면은, 도 6a를 참고하여 후술된다.Referring to FIG. 5 , in state 520, the electronic device according to an embodiment executes, for example, the mirroring guide screen manager 430 of FIG. 4 to display the electronic device (eg, the display of FIG. 3). (344)), the mirroring guide screen can be displayed. The mirroring guide screen may be distinguished from a screen transmitted by an electronic device to an external electronic device. For example, in state 520, the external electronic device may display one or more screens that are distinguished from the mirroring guide screen and provided from the electronic device based on one or more applications running on the electronic device. In state 520, the electronic device may prevent the screen being provided to the external electronic device from being exposed on the display of the electronic device by using the mirroring guide screen. In state 520, a screen displayed on the display by each of the electronic device and the external electronic device will be described later with reference to FIG. 6A.

도 5를 참고하면, 상태(520)에 기반하여 동작하는 전자 장치 및 외부 전자 장치는, 미러링 가이드 화면으로부터 다른 화면으로 스위칭 하기 위한 사용자 입력에 대응하는 이벤트의 발생에 적어도 기반하여, 상태(530)로 스위칭할 수 있다. 상기 사용자 입력은, 예를 들어, 전자 장치 상에서 표시되고 있는 미러링 가이드 화면에 의해 지시되는 제스쳐를 포함할 수 있다. 상태(530)에서, 일 실시예에 따른 전자 장치는 잠금 상태로 스위칭할 수 있다. 전자 장치가 잠금 상태로 스위칭됨에 따라, 전자 장치는 사용자에게 잠금 해제 상태로 스위칭되기 위한 정보를 요구하는 잠금 화면을 표시할 수 있다. 예를 들어, 상태(530)는, 하나 이상의 화면들을 생성하는 전자 장치에서 상기 정보를 수신하기 위한 상태에 대응할 수 있다. 상태(530)에서, 일 실시예에 따른 외부 전자 장치는, 전자 장치로부터 제공되는 화면을 표시하는 것을 중단할 수 있다. 상태(530)에서, 일 실시예에 따른 외부 전자 장치는, 전자 장치가 잠금 상태에 기반하여 동작함을 나타내는 메시지 및/또는 상기 메시지를 포함하는 화면을 표시할 수 있다. 예를 들어, 상태(530)에서, 전자 장치 및 외부 전자 장치에서 수행되고 있는 미러링 기능이, 적어도 일시적으로 중단될 수 있다.Referring to FIG. 5 , an electronic device and an external electronic device that operate based on state 520, state 530, at least based on the occurrence of an event corresponding to a user input for switching from a mirroring guide screen to another screen. can be switched to The user input may include, for example, a gesture indicated by a mirroring guide screen being displayed on the electronic device. In state 530, the electronic device according to an embodiment may switch to a locked state. As the electronic device switches to the locked state, the electronic device may display a lock screen requesting information for switching to the unlocked state to the user. For example, state 530 may correspond to a state for receiving the information in an electronic device generating one or more screens. In state 530, the external electronic device according to an embodiment may stop displaying a screen provided from the electronic device. In state 530, the external electronic device according to an embodiment may display a message indicating that the electronic device operates based on the locked state and/or a screen including the message. For example, in state 530, the mirroring function being performed in the electronic device and the external electronic device may be stopped at least temporarily.

도 5를 참고하면, 상태(530)에서, 전자 장치를 이용하는 사용자에 대한 사용자 인증이 성공하는 경우, 일 실시예에 따른 전자 장치는 상태(530)로부터 상태(550)로 스위칭할 수 있다. 상태(530)는, 전자 장치 및 외부 전자 장치 전부가 승인된 사용자에 의하여 제어되는 상태에 대응할 수 있다. 상태(530)에서, 전자 장치 및 외부 전자 장치 사이에서 미러링 기능에 기반하고, 상태(530)에 의하여 적어도 일시적으로 중단된 하나 이상의 화면들의 공유가 재개될 수 있다. 상태(530)에서, 하나 이상의 화면들의 공유가 재개됨에 따라, 외부 전자 장치는 전자 장치로부터 제공된 하나 이상의 화면들을 표시할 수 있다. 상태(530)가 전자 장치를 이용하는 사용자에 대한 사용자 인증이 완료된 상태이므로, 상태(530)로 스위칭된 전자 장치는 미러링 가이드 화면을 표시하는 것을 중단할 수 있다. 예를 들어, 전자 장치는 외부 전자 장치로 송신될 하나 이상의 화면들을, 전자 장치의 디스플레이 내에 표시할 수 있다. 예를 들어, 상태(550)로 스위칭됨에 따라, 전자 장치는 잠금 상태로부터 잠금 해제 상태로 스위칭할 수 있다.Referring to FIG. 5 , in state 530, when user authentication for a user using the electronic device succeeds, the electronic device according to an embodiment may switch from state 530 to state 550. State 530 may correspond to a state in which all electronic devices and external electronic devices are controlled by an authorized user. In state 530, based on the mirroring function between the electronic device and the external electronic device, sharing of one or more screens temporarily suspended by state 530 may be resumed. In state 530, as sharing of one or more screens resumes, the external electronic device may display one or more screens provided from the electronic device. Since state 530 is a state in which user authentication for a user using the electronic device has been completed, the electronic device switched to state 530 may stop displaying the mirroring guide screen. For example, the electronic device may display one or more screens to be transmitted to an external electronic device on a display of the electronic device. For example, as the state 550 is switched, the electronic device may switch from a locked state to an unlocked state.

도 5를 참고하면, 상태(550)에서, 사용자 입력의 수신이 지정된 시간 동안 중단된 경우, 일 실시예에 따른 전자 장치는 상태(550)로부터 상태(520)로 스위칭할 수 있다. 상태(550)로부터 상태(520)로 스위칭함에 따라, 전자 장치는 잠금 해제 상태를 유지하면서, 미러링 가이드 화면을 표시하는 것을 재개할 수 있다. 미러링 가이드 화면을 표시하는 것과 독립적으로, 전자 장치는 외부 전자 장치로, 미러링 가이드 화면과 구별되고, 전자 장치에서 실행되고 있는 하나 이상의 어플리케이션들로부터 획득된 하나 이상의 화면들을 스트리밍하는 것을 유지할 수 있다.Referring to FIG. 5 , in state 550, when reception of a user input is stopped for a specified time, the electronic device according to an embodiment may switch from state 550 to state 520. As switching from state 550 to state 520, the electronic device may resume displaying the mirroring guide screen while maintaining the unlocked state. Independently of displaying the mirroring guide screen, the electronic device may keep streaming one or more screens acquired from one or more applications running on the electronic device to an external electronic device, which are distinguished from the mirroring guide screen.

예를 들어, 전자 장치에서 수행된 사용자 인증에 의하여 상태(530)로부터 상태(550)로의 스위칭된 이후의 상태(520)에서, 전자 장치는, 미러링 가이드 화면으로부터 다른 화면으로 스위칭 하기 위한 사용자 입력을 식별하는 것에 응답하여, 상태들(530, 550) 중에서 상태(550)로 스위칭할 수 있다. 예를 들어, 사용자 인증에 의하여 상태(530)로부터 상태(550)로 스위칭한 제1 시점 및 상기 사용자 입력을 식별한 제2 시점 사이의 차이가 지정된 임계치 미만임을 식별하는 것에 응답하여, 전자 장치는 상태들(530, 550) 중에서 상태(550)로 스위칭할 수 있다. 예를 들어, 상기 제1 시점에서 성공하였던 사용자 인증이, 미러링 가이드 화면을 해제하기 위한 제2 시점에서의 사용자 입력을 수행한 사용자를 인증하는데 이용될 수 있다. 이 경우, 사용자는 사용자 인증을 반복적으로 수행하지 않으면서 전자 장치에 표시되고 있는 미러링 가이드 화면을 해제하여, 전자 장치 및 외부 전자 장치 전부를 동시에 제어할 수 있다.For example, in state 520 after being switched from state 530 to state 550 by user authentication performed by the electronic device, the electronic device receives a user input for switching from a mirroring guide screen to another screen. In response to identifying, it may switch to state 550 among states 530 and 550 . For example, in response to identifying that a difference between a first time point of switching from state 530 to state 550 due to user authentication and a second time point of identifying the user input is less than a specified threshold, the electronic device Among states 530 and 550, state 550 may be switched. For example, user authentication that was successful at the first time point may be used to authenticate a user who performed a user input at a second time point for unlocking the mirroring guide screen. In this case, the user can simultaneously control both the electronic device and the external electronic device by releasing the mirroring guide screen displayed on the electronic device without repeatedly performing user authentication.

상태(530)에서, 전자 장치의 사용자가 사용자 인증을 완료하지 못하는 경우, 전자 장치는 상태(530) 내에서 동작하는 것을 유지할 수 있다. 전자 장치가 상태(530) 내에서 동작함에 따라, 전자 장치는 전자 장치에 저장된 콘텐트와 관련된 사용자의 액세스를 차단할 수 있다. 상태(530)에서, 외부 전자 장치의 사용자는, 외부 전자 장치의 디스플레이의 적어도 일부분에서 표시되는 화면을 통하여, 전자 장치가 잠금 상태로 스위칭됨을 나타내는 메시지를 식별할 수 있다. 예를 들어, 외부 전자 장치의 사용자는 상기 화면을 통하여, 전자 장치에서 표시되고 있는 잠금 화면의 송신을 요청하는 사용자 입력을 수행할 수 있다.In state 530, if the user of the electronic device does not complete user authentication, the electronic device may continue to operate within state 530. As the electronic device operates within state 530, the electronic device may block the user's access to content stored on the electronic device. In state 530, the user of the external electronic device may identify a message indicating that the electronic device is switched to a locked state through a screen displayed on at least a portion of the display of the external electronic device. For example, a user of an external electronic device may perform a user input requesting transmission of a lock screen displayed on the electronic device through the screen.

상기 사용자 입력을 식별하는 것에 응답하여, 일 실시예에 따른 전자 장치 및 외부 전자 장치는 상태(530)로부터 상태(540)로 스위칭할 수 있다. 상태(540)는, 외부 전자 장치의 사용자에 의한 사용자 인증이 수행되는 상태에 대응할 수 있다. 예를 들어, 상태(540)는, 전자 장치의 잠금 화면을, 미러링 기능에 기반하여 외부 전자 장치로 송신하는 상태에 대응할 수 있다. 전자 장치의 잠금 화면이 외부 전자 장치로 송신됨에 따라, 상태(540)에서, 외부 전자 장치는 전자 장치의 잠금 화면을, 외부 전자 장치의 디스플레이 내에 표시할 수 있다. 이 경우, 외부 전자 장치의 사용자가 상기 잠금 화면을 제어하여, 전자 장치에 의한 사용자 인증을 진행할 수 있다(may proceed). 이 경우, 외부 전자 장치의 사용자에 의해 제어되는 잠금 화면이 전자 장치의 다른 사용자에게 노출되지 않도록, 전자 장치는 상기 잠금 화면의 적어도 일부분에 중첩되는 다른 화면을 표시할 수 있다. 예를 들어, 상태(540)에서, 전자 장치는 잠금 상태 내에서, 잠금 상태에 대응하는 잠금 화면과 구별되는 다른 화면(예, 미러링 가이드 화면)을 표시할 수 있다.In response to identifying the user input, the electronic device and the external electronic device according to an embodiment may switch from state 530 to state 540 . State 540 may correspond to a state in which user authentication is performed by a user of the external electronic device. For example, state 540 may correspond to a state in which a lock screen of the electronic device is transmitted to an external electronic device based on a mirroring function. As the lock screen of the electronic device is transmitted to the external electronic device, in state 540, the external electronic device may display the lock screen of the electronic device on the display of the external electronic device. In this case, the user of the external electronic device may proceed with user authentication by controlling the lock screen. In this case, the electronic device may display another screen overlapping at least a portion of the lock screen so that the lock screen controlled by the user of the external electronic device is not exposed to other users of the electronic device. For example, in state 540, the electronic device may display another screen (eg, a mirroring guide screen) distinct from a lock screen corresponding to the locked state within the locked state.

상태(540)에서, 전자 장치의 사용자가 미러링 가이드 화면으로부터 다른 화면으로 스위칭 하기 위한 사용자 입력을 수행하는 경우, 전자 장치 및 외부 전자 장치는 상태(540)로부터 상태(530)로 스위칭할 수 있다. 전자 장치 및 외부 전자 장치가 상태(540)로부터 상태(530)로 스위칭함에 따라, 상태(540)에 의한 잠금 화면의 공유가 중단될 수 있다. 일 실시예에 따른 전자 장치는, 상기 사용자 입력의 반복적인 수행에 의한 잠금 화면의 공유가 반복적으로 중단 및 재개되는 것을 방지하기 위하여, 잠금 화면에 의한 사용자 인증이 실패할 때마다, 사용자 인증의 수행을 지정된 시간 동안 중단할 수 있다. 상기 지정된 시간은 사용자 인증의 실패 횟수에 따라 증가(예, 기하급수적으로 증가)할 수 있다.In state 540, when the user of the electronic device performs a user input for switching from the mirroring guide screen to another screen, the electronic device and the external electronic device may switch from state 540 to state 530. As the electronic device and the external electronic device switch from state 540 to state 530, sharing of the lock screen by state 540 may be stopped. According to an embodiment, the electronic device performs user authentication whenever user authentication by the lock screen fails in order to prevent repeated interruption and resumption of sharing of the lock screen due to repetitive execution of the user input. can be suspended for a specified period of time. The specified time may increase (eg, increase exponentially) according to the number of user authentication failures.

상태(540)에서, 외부 전자 장치의 사용자가 외부 전자 장치의 디스플레이를 통해 표시되는 전자 장치의 잠금 화면에 기반하여 사용자 인증을 성공하는 경우, 일 실시예에 따른 전자 장치 및 외부 전자 장치는 상태(540)로부터 상태(520)로 스위칭할 수 있다. 상태(540)로부터 상태(520)로 스위칭함에 따라, 전자 장치는 미러링 가이드 화면을 표시하는 것을 유지할 수 있다.In state 540, when the user of the external electronic device succeeds in user authentication based on the lock screen of the electronic device displayed through the display of the external electronic device, the electronic device and the external electronic device according to an embodiment state ( From 540 to state 520 may be switched. As switching from state 540 to state 520, the electronic device may keep displaying the mirroring guide screen.

예를 들어, 외부 전자 장치에서 수행된 사용자 인증에 의하여 상태(540)로부터 상태(520)로 스위칭된 이후의 상태에서, 전자 장치는 미러링 가이드 화면으로부터 다른 화면으로 스위칭 하기 위한 사용자 입력을 식별하는 것에 응답하여, 상태(530)로 스위칭할 수 있다. 예를 들어, 사용자 인증이 제1 시점에서 전자 장치에 기반하여 성공한 경우, 상기 제1 시점 이후 지정된 시간 구간에 포함되고, 상태(520)에 대응하는, 제2 시점에서, 전자 장치 및 외부 전자 장치는 상기 사용자 입력을 식별하는 것에 응답하여, 상태(520)로부터 상태(550)로 스위칭할 수 있다. 예를 들어, 사용자 인증이 제1 시점에서 외부 전자 장치에 기반하여 성공한 경우, 상기 제1 시점 이후 지정된 시간 구간에 포함되고, 상태(520)에 대응하는, 제2 시점에서, 전자 장치 및 외부 전자 장치는 상기 사용자 입력을 식별하는 것에 응답하여, 상태(520)로부터 상태(530)로 스위칭할 수 있다. For example, in a state after being switched from state 540 to state 520 by user authentication performed by an external electronic device, the electronic device is responsible for identifying a user input for switching from a mirroring guide screen to another screen. In response, it may switch to state 530. For example, if user authentication is successful based on the electronic device at a first time point, the electronic device and the external electronic device at a second time point included in a designated time interval after the first time point and corresponding to state 520. may switch from state 520 to state 550 in response to identifying the user input. For example, if user authentication is successful based on the external electronic device at a first time point, the electronic device and the external electronic device at a second time point included in a designated time interval after the first time point and corresponding to state 520. The device may switch from state 520 to state 530 in response to identifying the user input.

상태(520)에서, 전자 장치는 잠금 상태로 스위칭 하기 위한 사용자 입력을 수신할 수 있다. 상기 사용자 입력은, 예를 들어, 전자 장치에 포함되고, 상기 잠금 상태와 관련된 버튼을 누르는 제스쳐를 포함할 수 있다. 상기 사용자 입력을 수신하는 것에 응답하여, 일 실시예에 따른 전자 장치는 상태(520)로부터 상태(540)로 스위칭할 수 있다.In state 520, the electronic device may receive a user input for switching to a locked state. The user input may include, for example, a gesture of pressing a button included in the electronic device and related to the locked state. In response to receiving the user input, the electronic device according to an embodiment may switch from state 520 to state 540 .

상술한 바와 같이, 일 실시예에 따른 전자 장치 및 외부 전자 장치는 상태 천이도(500)에 기반하여 동작함에 따라, 전자 장치에 대한 사용자 인증이 전자 장치 및/또는 외부 전자 장치에서 선택적으로 수행될 수 있다. 상기 사용자 인증은, 전자 장치 및/또는 외부 전자 장치가 상이한 서브-네트워크들에 배치되는 상태에서, 전자 장치 및 외부 전자 장치 중 어느 하나의 전자 장치를 이용하는 승인된 사용자가 나머지 전자 장치의 디스플레이에 의한 콘텐트의 누출을 차단하도록 수행될 수 있다.As described above, as the electronic device and the external electronic device according to an embodiment operate based on the state transition diagram 500, user authentication for the electronic device may be selectively performed in the electronic device and/or the external electronic device. can The user authentication is performed by an authorized user using one electronic device among the electronic device and/or the external electronic device through the display of the other electronic device in a state where the electronic device and/or the external electronic device are deployed in different sub-networks. It can be performed to block leakage of content.

이하에서는 도 6a 내지 6b 및 도 7a 내지 7b를 참고하여, 도 5의 상태 천이도(500)에 기반하여 동작하는 전자 장치 및 외부 전자 장치가 표시하는 UI가 설명된다.Hereinafter, a UI displayed by an electronic device operating based on the state transition diagram 500 of FIG. 5 and an external electronic device will be described with reference to FIGS. 6A to 6B and 7A to 7B.

도 6a 내지 6b는 일 실시예에 따른 전자 장치들 각각에 표시되는 UI(User Interface)의 일 예를 도시한 도면들이다. 도 6a 내지 6b의 전자 장치들은, 도 1 내지 도 3의 전자 장치(101) 및 도 2 내지 도 3의 전자 장치(210), 및/또는 도 4의 소스 전자 장치 및 리모트 전자 장치를 포함할 수 있다.6A to 6B are diagrams illustrating an example of a user interface (UI) displayed on each electronic device according to an embodiment. The electronic devices of FIGS. 6A to 6B may include the electronic device 101 of FIGS. 1 to 3 and the electronic device 210 of FIGS. 2 to 3 , and/or the source electronic device and remote electronic device of FIG. 4 . there is.

도 6a를 참고하면, 전자 장치(101)와 연결된 외부 전자 장치(예, 도 4의 리모트 전자 장치 및/또는 도 2 내지 도 3의 전자 장치(210))가 미러링 기능에 기반하여 전자 장치(101)를 제어하기 위하여 표시하는 화면(610)이 도시된다. 화면(610) 내에서, 외부 전자 장치는 전자 장치(101)를 나타내기 위한 정보(예, 전자 장치(101)의 사용자에 할당된 식별자 및/또는 전자 장치(101)의 타입), 전자 장치(101)에 저장된 정보의 적어도 일부분을 표시할 수 있다. 예를 들어, 시각적 객체(620)를 터치 및/또는 클릭하는 사용자 입력을 수신하는 것에 응답하여, 외부 전자 장치는 화면(610) 내에, 전자 장치(101)에 저장됨에 따라 전자 장치(101)에 의해 실행 가능한, 하나 이상의 어플리케이션들의 리스트(640)를 표시할 수 있다. 도 6a의 일 예에서, 외부 전자 장치는 리스트(640) 내에, 전자 장치(101)에 저장된 복수의 어플리케이션들 각각의 아이콘 및 명칭과 같은 식별자를 표시할 수 있다.Referring to FIG. 6A , an external electronic device connected to the electronic device 101 (eg, the remote electronic device of FIG. 4 and/or the electronic device 210 of FIGS. 2 and 3 ) is connected to the electronic device 101 based on a mirroring function. ) A screen 610 displayed to control is shown. Within the screen 610, the external electronic device includes information for representing the electronic device 101 (eg, an identifier assigned to a user of the electronic device 101 and/or a type of the electronic device 101), an electronic device ( 101) may display at least a portion of the stored information. For example, in response to receiving a user input of touching and/or clicking the visual object 620 , the external electronic device is stored in the electronic device 101 within the screen 610 and is stored in the electronic device 101 . A list 640 of one or more applications that can be executed by In the example of FIG. 6A , the external electronic device may display identifiers such as icons and names of each of a plurality of applications stored in the electronic device 101 in the list 640 .

도 6a를 참고하면, 화면(610) 내에서, 외부 전자 장치는 리스트(640)와 함께, 전자 장치(101)에 저장된 복수의 어플리케이션들 중 적어도 하나의 어플리케이션들을 검색하기 위한 사용자 입력을 획득하는 시각적 객체(650)를 표시할 수 있다. 시각적 객체(650) 내에서 입력되는 키워드에 기반하여, 외부 전자 장치는 리스트(640) 내에서, 복수의 어플리케이션들 중 적어도 하나의 표시를 일시적으로 중단할 수 있다. 외부 전자 장치는, 리스트(640) 내에서, 어플리케이션을 선택하는 사용자 입력(예, 리스트(640)에 포함된 아이콘을 터치 및/또는 클릭하는 사용자 입력)을 수신하는 것에 응답하여, 전자 장치(101)로 상기 사용자 입력에 의해 선택된 어플리케이션에 기반하는 화면 및 오디오의 송신을 요청할 수 있다. 상기 사용자 입력을 수신하는 것에 응답하여, 외부 전자 장치는 상기 어플리케이션에 대응하는 리모트 어플리케이션 컨테이너를 획득할 수 있다. 상기 요청을 수신한 전자 장치(101)는, 상기 어플리케이션을 실행하면서, 상기 어플리케이션과 관련된 소스 어플리케이션 컨테이너를 획득할 수 있다. 상기 소스 어플리케이션 컨테이너 및 상기 리모트 어플리케이션 컨테이너에 기반하여, 전자 장치(101) 및 외부 전자 장치 사이를 연결하는 미러링 세션(예, 도 2 내지 도 4의 연결(220))이 수립될 수 있다.Referring to FIG. 6A , within a screen 610, an external electronic device obtains a user input for searching for at least one application among a plurality of applications stored in the electronic device 101 together with a list 640, and obtains a visual input. The object 650 may be displayed. Based on the keyword input in the visual object 650 , the external electronic device may temporarily stop displaying at least one of the plurality of applications in the list 640 . The external electronic device, in response to receiving a user input for selecting an application in the list 640 (eg, a user input for touching and/or clicking an icon included in the list 640), the electronic device 101 ), it is possible to request transmission of screen and audio based on the application selected by the user input. In response to receiving the user input, the external electronic device may obtain a remote application container corresponding to the application. Upon receiving the request, the electronic device 101 may obtain a source application container related to the application while executing the application. Based on the source application container and the remote application container, a mirroring session connecting the electronic device 101 and an external electronic device (eg, connection 220 of FIGS. 2 to 4 ) may be established.

상기 요청에 대응하는 비디오 신호 및 오디오 신호를 수신하는 것에 응답하여, 외부 전자 장치는 화면(610)과 구별되는 디스플레이의 적어도 일부분에, 상기 비디오 신호에 의해 나타나고, 상기 전자 장치(101)로부터 제공된, 상기 어플리케이션의 화면을 표시할 수 있다. 상기 요청에 대응하는 오디오 신호를 수신하는 것에 응답하여, 외부 전자 장치는 스피커를 통하여 상기 오디오 신호에 의해 나타나고, 상기 전자 장치(101)에서 실행되는 상기 어플리케이션에 의해 생성된, 오디오를 출력할 수 있다.In response to receiving the video signal and the audio signal corresponding to the request, the external electronic device appears by the video signal on at least a portion of the display distinct from the screen 610, provided from the electronic device 101, The screen of the application may be displayed. In response to receiving the audio signal corresponding to the request, the external electronic device may output audio, indicated by the audio signal through a speaker and generated by the application running on the electronic device 101. .

도 6b를 참고하면, 화면(610) 내에서 전자 장치(101)의 화면을 요청하기 위한 시각적 객체(630)와 관련된 사용자 입력을 수신한 이후, 외부 전자 장치 및 전자 장치(101)에 표시되는 화면들(660, 670, 680)이 도시된다. 도 6b의 화면들(660, 670, 680)은, 예를 들어, 전자 장치(101) 및 외부 전자 장치 각각이 도 5의 상태들(520, 550) 중 어느 하나의 상태에 기반하여 표시할 수 있다. 일 실시예에 따른 전자 장치(101)는, 외부 전자 장치로부터 상기 사용자 입력의 탐지를 알리는 신호를 수신하는 것에 응답하여, 디스플레이 상에 표시되고 있는 화면(660)을 나타내는 비디오 신호를, 외부 전자 장치로 송신할 수 있다. 도 6b를 참고하면, 외부 전자 장치가 상기 비디오 신호를 수신하는 것에 응답하여, 디스플레이의 적어도 일부분에 표시하는 화면(670)이 도시된다. 화면(670)은, 전자 장치(101)의 디스플레이에서 표시되고 있는 화면(660)을 포함할 수 있다. 화면(670) 내에서, 외부 전자 장치는 디스플레이 내에서의 화면(670)의 위치를 제어하기 위한 하나 이상의 시각적 객체들을 더 표시할 수 있다.Referring to FIG. 6B , after receiving a user input related to the visual object 630 for requesting the screen of the electronic device 101 within the screen 610, the external electronic device and the screen displayed on the electronic device 101 Fields 660, 670 and 680 are shown. The screens 660, 670, and 680 of FIG. 6B may be displayed, for example, based on any one of the states 520 and 550 of FIG. 5 by the electronic device 101 and the external electronic device, respectively. there is. The electronic device 101 according to an embodiment, in response to receiving a signal notifying the detection of the user input from the external electronic device, transmits a video signal representing a screen 660 being displayed on the display to the external electronic device. can be sent to Referring to FIG. 6B , a screen 670 displayed on at least a portion of the display in response to the external electronic device receiving the video signal is shown. The screen 670 may include the screen 660 being displayed on the display of the electronic device 101 . Within the screen 670, the external electronic device may further display one or more visual objects for controlling the location of the screen 670 within the display.

예를 들어, 도 5의 상태(520)와 같이, 일 실시예에 따른 전자 장치(101)는 외부 전자 장치로 화면(660)을 제공하는 상태에서, 미러링 가이드 화면에 대응하는 화면(680)을 표시할 수 있다. 상기 화면(680) 내에서, 전자 장치(101)의 디스플레이가 열화됨에 따라 발생되는 번인(burn-in)을 줄이기 위하여, 흑색과 같은 지정된 색상을 가지는 면적이 다른 색상을 가지는 다른 면적 보다 클 수 있다. 도 6b를 참고하면, 전자 장치(101)는 알림 바(notification bar)(682)(또는 상태 바(status bar))와 같은 화면들(660, 680)의 지정된 일부분에, 전자 장치(101)의 하나 이상의 파라미터들 각각에 대응하는 하나 이상의 시각적 객체들을 표시할 수 있다. 예를 들어, 전자 장치(101)는 아이콘(690)과 같이 전자 장치(101)가 연결된 네트워크의 타입(예, LTE, NR 및/또는 WiFi와 같은 통신 프로토콜에 기반하는 무선 네트워크)을 알리는 시각적 객체를 표시할 수 있다.For example, as in state 520 of FIG. 5 , the electronic device 101 according to an embodiment displays a screen 680 corresponding to a mirroring guide screen in a state of providing the screen 660 to an external electronic device. can be displayed In the screen 680, in order to reduce burn-in caused by deterioration of the display of the electronic device 101, an area having a designated color such as black may be larger than other areas having other colors. . Referring to FIG. 6B , the electronic device 101 is displayed on a designated part of screens 660 and 680, such as a notification bar 682 (or a status bar), of the electronic device 101. One or more visual objects corresponding to each of the one or more parameters may be displayed. For example, the electronic device 101 is a visual object notifying the type of network to which the electronic device 101 is connected (eg, a wireless network based on a communication protocol such as LTE, NR, and/or WiFi), such as an icon 690 can be displayed.

일 실시예에 따른 전자 장치(101)는 아이콘(690)과 같이 전자 장치(101)에 연결된 네트워크의 타입 및/또는 전자 장치(101) 및 외부 전자 장치 사이의 연결과 관련된 서브-네트워크들의 개수에 기반하여, 화면(680)의 표시를 중단하기 위해 수행되는 사용자 입력에 응답하여 표시될 화면을 변경할 수 있다. 상기 사용자 입력은, 예를 들어, 화면(680) 내에서 수행되는 스와이프 제스쳐 및/또는 전자 장치(101)의 지정된 버튼(예, 전원 버튼)을 누르는 제스쳐를 포함할 수 있다. 예를 들어, 전자 장치(101) 및 외부 전자 장치가 동일한 서브-네트워크(예를 들어, 아이콘(690)과 구별되고, WiFi를 나타내는 다른 아이콘이 알림 바(682) 내에 표시되는 상태) 내에 포함되거나, 및/또는 상기 사용자 입력의 수신 이전에 전자 장치(101)에 기반하는 사용자 인증이 성공한 경우, 상기 사용자 입력을 수신하는 것에 응답하여, 전자 장치(101)는 디스플레이 상에 표시되고 있는 화면(680)의 표시를 중단하고, 화면(660)을 표시할 수 있다.The electronic device 101 according to an embodiment may be configured according to the type of network connected to the electronic device 101 and/or the number of sub-networks related to the connection between the electronic device 101 and an external electronic device, as indicated by an icon 690. Based on this, a screen to be displayed may be changed in response to a user input performed to stop displaying the screen 680 . The user input may include, for example, a swipe gesture performed within the screen 680 and/or a gesture of pressing a designated button (eg, a power button) of the electronic device 101 . For example, the electronic device 101 and the external electronic device are included in the same sub-network (eg, a state in which an icon 690 and another icon representing WiFi are displayed in the notification bar 682), or , and/or if user authentication based on the electronic device 101 succeeds prior to receiving the user input, in response to receiving the user input, the electronic device 101 displays a screen 680 displayed on the display. ) may be stopped, and the screen 660 may be displayed.

도 7a 내지 7b는 일 실시예에 따른 전자 장치(101)가 외부 전자 장치로 화면을 송신하는 상태에서 표시하는 하나 이상의 다른 화면들을 설명하기 위한 도면들이다. 도 7a 내지 7b의 전자 장치(101)는 도 1 내지 도 3의 전자 장치(101), 및/또는 도 4의 소스 전자 장치를 포함할 수 있다. 도 7a 내지 7b의 외부 전자 장치는 도 2 내지 도 3의 전자 장치(210), 및/또는 도 4의 리모트 전자 장치를 포함할 수 있다.7A to 7B are diagrams for describing one or more other screens displayed in a state in which the electronic device 101 transmits screens to an external electronic device according to an exemplary embodiment. The electronic device 101 of FIGS. 7A to 7B may include the electronic device 101 of FIGS. 1 to 3 and/or the source electronic device of FIG. 4 . The external electronic device of FIGS. 7A to 7B may include the electronic device 210 of FIGS. 2 to 3 and/or the remote electronic device of FIG. 4 .

도 7a를 참고하면, 일 실시예에 따른 외부 전자 장치가 전자 장치(101)로부터 수신된 비디오 신호에 기반하여 화면(670)을 표시하는 상태에서, 전자 장치(101)가 디스플레이 상에 표시하는 화면들(660, 680, 710, 720)이 도시된다. 예를 들어, 도 5의 상태(520)에서, 외부 전자 장치로 비디오 신호를 송신함에 따라 외부 전자 장치에서의 화면(670)의 표시를 유지하는 동안, 전자 장치(101)는 화면(680)을 표시할 수 있다. 화면(680)이 전자 장치(101)의 디스플레이 내에 표시된 상태에서, 전자 장치(101)의 사용자가 화면(680)의 표시를 중단하기 위한 사용자 입력을 수행하는 경우, 전자 장치(101)는 화면들(710, 720, 660) 중 일 화면을 표시할 수 있다. Referring to FIG. 7A , while an external electronic device displays a screen 670 based on a video signal received from the electronic device 101 according to an embodiment, a screen displayed on the display by the electronic device 101 Fields 660, 680, 710, and 720 are shown. For example, in state 520 of FIG. 5 , the electronic device 101 displays the screen 680 while maintaining the display of the screen 670 on the external electronic device as a video signal is transmitted to the external electronic device. can be displayed In a state where the screen 680 is displayed in the display of the electronic device 101, when the user of the electronic device 101 performs a user input to stop displaying the screen 680, the electronic device 101 displays the screens One screen among (710, 720, 660) can be displayed.

예를 들어, 상기 사용자 입력을 수신하는 것에 응답하여, 전자 장치(101)의 상태가 도 5의 상태(520)로부터 상태(530)로 스위칭되는 경우, 전자 장치(101)는 화면들(710, 720) 중 일 화면을 표시할 수 있다. 예를 들어, 전자 장치(101)가 표시하는 화면(710)은, 전자 장치(101)가 잠금 상태로 스위칭됨에 따라, 잠금 화면에 기반하는 사용자 인증을 가이드하기 위한 메시지를 포함할 수 있다. 전자 장치(101)는 화면(710) 내에서, 잠금 화면에 대응하는 화면(720)으로 스위칭하기 위한 시각적 객체(예, 버튼(715))를 표시할 수 있다.For example, when the state of the electronic device 101 is switched from state 520 in FIG. 5 to state 530 in response to receiving the user input, the electronic device 101 displays screens 710, 720), one screen may be displayed. For example, the screen 710 displayed by the electronic device 101 may include a message for guiding user authentication based on the lock screen as the electronic device 101 is switched to a locked state. The electronic device 101 may display a visual object (eg, a button 715) for switching to the screen 720 corresponding to the lock screen within the screen 710.

도 7a를 참고하면, 화면(710) 내에서 버튼(715)을 클릭 및/또는 터치하는 사용자 입력을 식별하는 것에 응답하여, 전자 장치(101)는 화면(720)을 표시할 수 있다. 화면(720)은, 잠금 상태에서 표시되는 잠금 화면으로써, 예를 들어, PIN 및/또는 패스워드와 같이 사용자에 의하여 기-등록된 정보와 일치하는 정보를 입력할 것을 요청하는 하나 이상의 시각적 객체들을 포함할 수 있다. 실시예가 이에 제한되는 것은 아니며, 예를 들어, 화면(720)은, 디스플레이와 구별되는 센서를 이용하여, 지문 및/또는 홍채와 같은 생체 정보를 입력할 것을 요청하는 메시지를 포함할 수 있다.Referring to FIG. 7A , in response to identifying a user input of clicking and/or touching a button 715 within a screen 710, the electronic device 101 may display a screen 720. The screen 720 is a lock screen displayed in a locked state, and includes one or more visual objects requesting input of information matching pre-registered information by the user, such as a PIN and/or password, for example. can do. The embodiment is not limited thereto, and for example, the screen 720 may include a message requesting input of biometric information such as a fingerprint and/or an iris using a sensor distinct from a display.

일 실시예에 따른 전자 장치(101)는, 예를 들어, 도 5의 상태(530)에서, 화면(720)에 기반하는 사용자 인증이 완료됨을 식별하는 것에 응답하여, 외부 전자 장치로 송신되는 화면(660)을 표시할 수 있다. 상기 화면(660)은, 예를 들어, 전자 장치(101)가 도 5의 상태(530)로부터 상태(550)로 스위칭 됨에 따라, 전자 장치(101)의 디스플레이 상에 표시될 수 있다. 상기 화면(660)은, 예를 들어, 전자 장치(101)가 잠금 해제 상태로 스위칭 됨에 따라, 전자 장치(101)의 디스플레이 상에 표시될 수 있다. 전자 장치(101)가 표시하는 화면(660) 및 외부 전자 장치가 표시하는 화면(670)은, 전자 장치(101) 및 외부 전자 장치가 미러링 기능을 실행함에 따라 일치된 콘텐트를 포함할 수 있다.The electronic device 101 according to an embodiment, in response to identifying that user authentication based on the screen 720 is completed, for example, in state 530 of FIG. 5 , is a screen transmitted to an external electronic device. (660) can be displayed. The screen 660 may be displayed on the display of the electronic device 101, for example, as the electronic device 101 is switched from the state 530 of FIG. 5 to the state 550. The screen 660 may be displayed on the display of the electronic device 101, for example, as the electronic device 101 is switched to an unlocked state. The screen 660 displayed by the electronic device 101 and the screen 670 displayed by the external electronic device may include matched content as the electronic device 101 and the external electronic device execute a mirroring function.

화면(660)을 표시하는 상태에서, 지정된 시간 동안 사용자 입력을 수신하지 못한 경우, 전자 장치(101)는, 예를 들어, 도 5의 상태(550)로부터 상태(520)로 스위칭할 수 있다. 도 5의 상태(550)로부터 상태(520)로 스위칭함에 따라, 전자 장치(101)는 화면(680)을 표시할 수 있다. 전자 장치(101)가 디스플레이에서 표시되고 있는 화면을, 화면(660)으로부터 화면(680)으로 스위칭 하는 동안, 전자 장치(101)가 외부 전자 장치로 송신하는 비디오 신호에 기반하여, 외부 전자 장치가 화면(670)을 표시하는 것이 유지될 수 있다. 일 실시예에서, 화면(720)에 기반하는 사용자 인증이 완료됨에 따라 화면(660)을 표시한 다음, 사용자 입력이 지정된 시간 동안 수행되지 않음에 따라, 화면(680)이 표시된 이후, 전자 장치(101)는 화면(680)에서 수행되는 사용자 입력에 응답하여, 화면들(710, 720)에 기반하는 사용자 인증을 바이패스하여, 화면(660)을 표시할 수 있다. 전자 장치(101)가 화면들(710, 720)에 기반하는 사용자 인증을 바이패스하여, 화면(660)을 표시하는 것은, 예를 들어, 화면(720)에 기반하여 사용자 인증이 완료된 이후 지정된 시간 구간 내에서 수행될 수 있다. 상기 지정된 시간 구간 내에서, 전자 장치(101)는 잠금 상태로 스위칭하는 것을 차단하거나, 및/또는 잠금 해제 상태를 유지할 수 있다.In a state in which the screen 660 is displayed, when a user input is not received for a specified time, the electronic device 101 may switch from the state 550 of FIG. 5 to the state 520, for example. As the state 550 of FIG. 5 is switched to the state 520, the electronic device 101 may display the screen 680. While the electronic device 101 switches the screen being displayed on the display from the screen 660 to the screen 680, based on the video signal transmitted by the electronic device 101 to the external electronic device, the external electronic device Displaying the screen 670 may be maintained. In one embodiment, after displaying the screen 660 as the user authentication based on the screen 720 is completed, and then as the user input is not performed for a specified time, after the screen 680 is displayed, the electronic device ( In step 101 , the screen 660 may be displayed by bypassing user authentication based on the screens 710 and 720 in response to a user input performed on the screen 680 . The electronic device 101 bypasses user authentication based on the screens 710 and 720 and displays the screen 660, for example, for a specified time after user authentication based on the screen 720 is completed. It can be done within intervals. Within the specified time interval, the electronic device 101 may block switching to the locked state and/or maintain the unlocked state.

일 실시예에 따른 전자 장치(101)는, 예를 들어, 화면(720)에 기반하는 사용자 인증이 실패하는 경우, 디스플레이에 표시되는 화면을, 화면(720)으로부터 화면(710)으로 스위칭할 수 있다. 화면(720)으로부터 화면(710)으로 스위칭하면서, 전자 장치(101)는 버튼(715)과 같이 화면(720)의 표시를 야기하는 시각적 객체를 표시하는 것을, 지정된 시간 동안 중지할 수 있다. 상기 지정된 시간은, 전자 장치(101)가 잠금 상태를 유지하는 동안, 화면(720)으로부터 화면(710)으로 스위칭 하는 시간에 비례하여 증가될 수 있다.For example, if user authentication based on the screen 720 fails, the electronic device 101 according to an embodiment may switch the screen displayed on the display from the screen 720 to the screen 710. there is. While switching from the screen 720 to the screen 710, the electronic device 101 may stop displaying a visual object that causes the display of the screen 720, such as a button 715, for a specified time. The designated time may increase in proportion to a time for switching from the screen 720 to the screen 710 while the electronic device 101 maintains a locked state.

일 실시예에 따른 전자 장치(101)는, 사용자 인증이 화면(720)을 표시한 이후 지정된 시간 동안 완료되지 않은 경우, 화면(710)을 다시 표시할 수 있다. 화면(710)을 다시 표시하면서, 전자 장치(101)는 화면(720)으로 스위칭하기 위한 버튼(715)의 표시를 중단할 수 있다. 상기 지정된 시간은, 사용자 입력이 중단된 이후 전자 장치(101)가 디스플레이의 활성화를 유지하는 시간과 관련될 수 있다. 예를 들어, 상기 지정된 시간은, 전자 장치(101)가 디스플레이의 활성화를 유지하는 상기 시간에 지정된 비율(예, 2/3)을 적용한 시간일 수 있다.The electronic device 101 according to an embodiment may display the screen 710 again when user authentication is not completed for a specified time after displaying the screen 720 . While displaying the screen 710 again, the electronic device 101 may stop displaying the button 715 for switching to the screen 720. The designated time may be related to a time during which the electronic device 101 maintains activation of the display after the user input is stopped. For example, the designated time may be a time obtained by applying a designated ratio (eg, 2/3) to the time during which the electronic device 101 maintains display activation.

상술한 바와 같이, 일 실시예에 따른 전자 장치(101)는, 전자 장치(101)에 액세스하는 사용자가 승인된 사용자인지 여부에 기반하여 화면(660)을 표시하기 위하여, 잠금 상태로 스위칭하여 사용자 인증을 위한 화면(720)을 표시할 수 있다. 화면(720)에 기반하는 사용자 인증이 성공한 이후, 전자 장치(101)는 미러링 기능에 기반하여 외부 전자 장치로 제공되는 화면(660)을, 전자 장치(101)의 디스플레이 상에 표시할 수 있다. 사용자 인증이 성공하기 이전에, 전자 장치(101)는 화면들(680, 710, 720)을 이용하여 전자 장치(101)에 액세스하는 미승인 사용자에 의한 화면(660)의 유출을 방지할 수 있다.As described above, in order to display the screen 660 based on whether a user accessing the electronic device 101 is an authorized user, the electronic device 101 according to an embodiment switches to a locked state to allow the user to access the electronic device 101. A screen 720 for authentication may be displayed. After user authentication based on the screen 720 succeeds, the electronic device 101 can display the screen 660 provided to the external electronic device based on the mirroring function on the display of the electronic device 101 . Before user authentication succeeds, the electronic device 101 may prevent leakage of the screen 660 by an unauthorized user accessing the electronic device 101 using the screens 680 , 710 , and 720 .

도 7a를 참고하면, 화면들(660, 680, 710)은, 전자 장치(101)가 잠금 해제 상태에서 표시하는 화면에 대응할 수 있다. 화면(720)은, 전자 장치(101)가 잠금 상태에서 표시하는 화면에 대응할 수 있다. 예를 들어, 전자 장치(101)는 화면들(680, 710)을, 디스플레이의 표시 영역과 관련된 복수의 영역(또는 레이어)들 중에서, 외부 전자 장치로 스트리밍될 화면을 캡쳐하기 위한 하나 이상의 영역들과 구별되는 지정된 영역(예, 프리젠테이션 윈도우 영역)에 렌더링될 수 있다. 화면들(680, 710)이 상기 지정된 영역에 렌더링 됨에 따라, 화면들(680, 710)은 외부 전자 장치로 송신될 화면(660)과 독립적으로, 전자 장치(101)의 디스플레이 상에 표시될 수 있다. 화면들(680, 710)이 외부 전자 장치로 송신될 화면(660)과 독립적으로 전자 장치(101)의 디스플레이 상에 표시됨에 따라, 미승인 사용자가 전자 장치(101)의 디스플레이를 통하여 화면(660)을 열람하는 것이 방지될 수 있다.Referring to FIG. 7A , screens 660 , 680 , and 710 may correspond to screens displayed by the electronic device 101 in an unlocked state. The screen 720 may correspond to a screen displayed by the electronic device 101 in a locked state. For example, the electronic device 101 displays the screens 680 and 710, among a plurality of areas (or layers) related to the display area of the display, one or more areas for capturing a screen to be streamed to an external electronic device. It can be rendered in a designated area (eg, presentation window area) distinct from As the screens 680 and 710 are rendered in the designated area, the screens 680 and 710 may be displayed on the display of the electronic device 101 independently of the screen 660 to be transmitted to the external electronic device. there is. As the screens 680 and 710 are displayed on the display of the electronic device 101 independently of the screen 660 to be transmitted to the external electronic device, an unauthorized user may view the screen 660 through the display of the electronic device 101. reading can be prevented.

도 7b를 참고하면, 전자 장치(101)가 도 7a의 화면들(660, 680, 710, 720) 중 어느 하나를 표시하는 상태에서, 일 실시예에 따른 외부 전자 장치가 디스플레이 상에 표시하는 화면들(670, 730, 740)이 도시된다. 예를 들어, 화면(670)은 전자 장치(101)로부터 스트리밍되는 화면에 대응하고, 도 5의 상태들(520, 550) 중 하나에서의 외부 전자 장치에 의해 표시될 수 있다.Referring to FIG. 7B , while the electronic device 101 displays any one of the screens 660, 680, 710, and 720 of FIG. 7A, a screen displayed on the display by an external electronic device according to an embodiment. Fields 670, 730 and 740 are shown. For example, the screen 670 may correspond to a screen streamed from the electronic device 101 and may be displayed by the external electronic device in one of the states 520 and 550 of FIG. 5 .

전자 장치(101)가 잠금 상태로 스위칭함에 따라 화면(720)을 표시하는 상태(예, 도 5의 상태(530))에서, 화면(720)이 외부 전자 장치로 스트리밍 됨에 따라 화면(720)에 기반하는 사용자 입력의 유출을 방지하기 위하여, 전자 장치(101)는 외부 전자 장치와 관련된 미러링 기능의 실행을 적어도 일시적으로 중단할 수 있다. 일 실시예에 따른 외부 전자 장치는, 전자 장치(101)가 잠금 상태로 스위칭함에 따라 미러링 기능의 실행이 중단됨을 식별하는 것에 응답하여, 디스플레이의 적어도 일부분에 화면(730)을 표시할 수 있다. 상기 화면(730)은, 예를 들어, 도 5의 상태(530)에서 외부 전자 장치에 의해 표시될 수 있다. 외부 전자 장치는 화면(730) 내에서, 잠금 상태의 전자 장치(101)에 의해 표시되는 화면(예, 화면(720))을 요청하기 위한 시각적 객체(예, 버튼(735))를 표시할 수 있다.In a state of displaying the screen 720 as the electronic device 101 switches to the locked state (eg, state 530 of FIG. 5), as the screen 720 is streamed to the external electronic device, the screen 720 In order to prevent leakage of the based user input, the electronic device 101 may at least temporarily suspend the execution of the mirroring function related to the external electronic device. The external electronic device according to an embodiment may display the screen 730 on at least a portion of the display in response to identifying that execution of the mirroring function is stopped as the electronic device 101 switches to a locked state. The screen 730 may be displayed, for example, by an external electronic device in state 530 of FIG. 5 . The external electronic device may display a visual object (eg, a button 735) for requesting a screen (eg, the screen 720) displayed by the electronic device 101 in a locked state within the screen 730. there is.

도 7b를 참고하면, 화면(730) 내에서 버튼(735)을 클릭 및/또는 터치하는 사용자 입력을 식별하는 것에 응답하여, 외부 전자 장치는 화면(740)을 표시할 수 있다. 예를 들어, 외부 전자 장치는 미러링 기능에 기반하여 전자 장치(101)에서 표시되는 잠금 화면을 획득하여, 획득된 잠금 화면에 대응하는 화면(740)을 표시할 수 있다. 외부 전자 장치가 화면(740)을 표시하는 것은, 예를 들어, 도 5의 상태(530)로부터 상태(540)로 스위칭하는 것을 야기할 수 있다. 이 경우, 전자 장치(101)는 화면(720)과 같은 잠금 화면의 스트리밍을 개시하면서, 전자 장치(101)의 디스플레이 상에 화면(720)과 구별되는 다른 화면(예, 화면(710) 및/또는 화면(680))을 표시할 수 있다. 예를 들어, 도 5의 상태들(530, 540) 각각에서, 전자 장치(101)와 관련된 잠금 화면이 전자 장치(101) 및 외부 전자 장치 중 하나에서 선택적으로 표시될 수 있다. 잠금 화면이 전자 장치(101) 및 외부 전자 장치 중 하나에서 선택적으로 표시됨에 따라, 잠금 화면에 기반하는 사용자 인증을 수행하는 과정에서, 사용자에 의해 입력되는 정보의 유출이 최소화될 수 있다.Referring to FIG. 7B , in response to identifying a user input of clicking and/or touching a button 735 within a screen 730 , the external electronic device may display a screen 740 . For example, the external electronic device may acquire a lock screen displayed on the electronic device 101 based on the mirroring function and display a screen 740 corresponding to the acquired lock screen. Displaying the screen 740 by the external electronic device may cause, for example, a transition from state 530 to state 540 in FIG. 5 . In this case, while the electronic device 101 initiates streaming of a lock screen such as the screen 720, another screen (eg, screen 710 and/or Alternatively, the screen 680) may be displayed. For example, in each of states 530 and 540 of FIG. 5 , a lock screen related to the electronic device 101 may be selectively displayed on one of the electronic device 101 and the external electronic device. As the lock screen is selectively displayed on one of the electronic device 101 and the external electronic device, leakage of information input by the user can be minimized during user authentication based on the lock screen.

도 7b를 참고하면, 외부 전자 장치의 사용자가 화면(740)에 기반하여 사용자 인증을 완료함에 따라, 외부 전자 장치는 전자 장치(101)에서 실행되고 있는 어플리케이션에 기반하는 화면(670)을 표시하는 것을 재개할 수 있다. 예를 들어, 외부 전자 장치의 사용자가 화면(740)에 기반하여 사용자 인증을 완료함에 따라, 전자 장치(101) 및 외부 전자 장치가 도 5의 상태(540)로부터 상태(520)로 스위칭할 수 있다. 외부 전자 장치의 사용자가 화면(740)에 기반하여 사용자 인증을 실패하는 경우, 외부 전자 장치는 화면(740)의 표시를 중단하고, 화면(730)을 표시할 수 있다. 화면(740)의 표시를 중단하고, 화면(730)을 표시한 이후, 외부 전자 장치는 지정된 시간 동안 화면(740)으로 스위칭을 야기하는 버튼(735)을 표시하는 것을 중단할 수 있다. 상기 지정된 시간은, 전자 장치(101)가 잠금 상태를 유지하는 동안, 화면(740)에 기반하는 사용자 인증이 실패하는 횟수에 비례하여 증가될 수 있다.Referring to FIG. 7B , as the user of the external electronic device completes user authentication based on a screen 740, the external electronic device displays a screen 670 based on an application running on the electronic device 101. can resume For example, as the user of the external electronic device completes user authentication based on the screen 740, the electronic device 101 and the external electronic device may switch from the state 540 of FIG. 5 to the state 520. there is. If the user of the external electronic device fails user authentication based on the screen 740, the external electronic device may stop displaying the screen 740 and display the screen 730. After stopping the display of the screen 740 and displaying the screen 730, the external electronic device may stop displaying the button 735 causing switching to the screen 740 for a specified period of time. The designated time may increase in proportion to the number of times that user authentication based on the screen 740 fails while the electronic device 101 maintains a locked state.

상술한 바와 같이, 사용자 인증을 위한 잠금 화면(예, 화면들(720, 740))이, 버튼들(715, 735) 중 일 버튼을 선택하는 사용자 입력에 응답하여, 전자 장치(101) 및 외부 전자 장치 중에서 선택적으로 표시할 수 있다. 잠금 화면이 전자 장치(101) 및 외부 전자 장치 중 하나를 통하여 배타적으로 표시됨에 따라, 잠금 화면이 미러링 기능에 기반하여 전자 장치(101) 및 외부 전자 장치 모두에서 표시되는 것이 방지될 수 있다.As described above, the lock screen (eg, the screens 720 and 740) for user authentication responds to a user input for selecting one of the buttons 715 and 735, and the electronic device 101 and the external It can be selectively displayed among electronic devices. As the lock screen is exclusively displayed through one of the electronic device 101 and the external electronic device, the lock screen may be prevented from being displayed on both the electronic device 101 and the external electronic device based on the mirroring function.

도 8은 일 실시예에 따른 전자 장치가 외부 전자 장치로 화면을 송신하는 상태에서 수행하는 동작을 설명하기 위한 흐름도이다. 도 8의 전자 장치는 도 1 내지 도 3의 전자 장치(101), 및/또는 도 4의 소스 전자 장치를 포함할 수 있다. 도 8의 외부 전자 장치는 도 2 내지 도 3의 전자 장치(210), 및/또는 도 4의 리모트 전자 장치를 포함할 수 있다. 도 8의 동작은, 예를 들어, 도 3의 전자 장치(101) 및/또는 도 3의 프로세서(312)에 의해 수행될 수 있다. 8 is a flowchart illustrating an operation performed in a state in which an electronic device transmits a screen to an external electronic device according to an exemplary embodiment. The electronic device of FIG. 8 may include the electronic device 101 of FIGS. 1 to 3 and/or the source electronic device of FIG. 4 . The external electronic device of FIG. 8 may include the electronic device 210 of FIGS. 2 to 3 and/or the remote electronic device of FIG. 4 . The operation of FIG. 8 may be performed by, for example, the electronic device 101 of FIG. 3 and/or the processor 312 of FIG. 3 .

도 8을 참고하면, 동작(805)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치로 전자 장치의 제1 화면을 제공하는 것을 시작할 수 있다. 상기 제1 화면은, 예를 들어, 도 6b 및/또는 도 7a 내지 7b의 화면(660)을 포함할 수 있다. 상기 제1 화면은, 전자 장치 및 외부 전자 장치 사이에 수립된 미러링 세션에 기반하여, 전자 장치로부터 외부 전자 장치로 스트리밍될 수 있다.Referring to FIG. 8 , in operation 805, the electronic device according to an embodiment may start providing a first screen of the electronic device to an external electronic device. The first screen may include, for example, the screen 660 of FIGS. 6B and/or 7A to 7B. The first screen may be streamed from the electronic device to the external electronic device based on a mirroring session established between the electronic device and the external electronic device.

도 8을 참고하면, 동작(810)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치로 제1 화면을 제공하는 동안, 전자 장치의 디스플레이 상에 제1 화면과 구별되는 제2 화면을 표시할 수 있다. 상기 제2 화면은 미러링 가이드 화면으로써, 예를 들어, 도 6b 및/또는 도 7a 내지 7b의 화면(680)을 포함할 수 있다. 제2 화면을 표시하는 동안, 전자 장치는 동작(815)에 기반하여, 제2 화면에서 제1 화면으로 스위칭하기 위한 제1 입력을 수신하였는지 여부를 판단할 수 있다. 상기 제1 입력을 수신하지 못한 경우(815-아니오), 전자 장치는 동작(810)에 기반하여 제2 화면을 표시하는 것을 유지할 수 있다. Referring to FIG. 8 , in operation 810, the electronic device according to an embodiment displays a second screen distinct from the first screen on the display of the electronic device while providing the first screen to the external electronic device. can do. The second screen is a mirroring guide screen, and may include, for example, the screen 680 of FIGS. 6B and/or 7A to 7B. While displaying the second screen, the electronic device may determine whether a first input for switching from the second screen to the first screen is received based on operation 815 . If the first input is not received (815-No), the electronic device may maintain displaying the second screen based on operation 810.

상기 제1 입력을 수신하는 것에 응답하여(815-예), 동작(820)에서, 일 실시예에 따른 전자 장치는 외부 전자 장치에 할당된 네트워크 주소에 기반하여, 외부 전자 장치에 액세스 가능한지 여부를 판단할 수 있다. 상기 네트워크 주소는, 상기 외부 전자 장치의 중계 노드(예, 도 2a 내지 2b의 AP(260))로부터 할당된 네트워크 주소로써, 서브-네트워크에 기반하는 외부 전자 장치의 네트워크 주소에 대응할 수 있다. 동작(820)은, 전자 장치 및 외부 전자 장치가 도 4의 소스 연결 매니저(410) 및 리모트 연결 매니저(415) 각각을 실행함에 따라 수행될 수 있다.In response to receiving the first input (815-yes), in operation 820, the electronic device according to an embodiment determines whether or not the external electronic device is accessible based on the network address assigned to the external electronic device. can judge The network address is a network address allocated from a relay node (eg, the AP 260 of FIGS. 2A and 2B ) of the external electronic device and may correspond to a network address of an external electronic device based on a sub-network. Operation 820 may be performed as the electronic device and the external electronic device execute each of the source connection manager 410 and the remote connection manager 415 of FIG. 4 .

전자 장치가 외부 전자 장치에 할당된 네트워크 주소에 기반하여 외부 전자 장치에 액세스하지 못한 경우(820-아니오), 동작(825)에서, 일 실시예에 따른 전자 장치는 외부 전자 장치와 독립적으로 전자 장치에 제공된 제2 입력에 의하여, 전자 장치가 잠금 상태로부터 스위칭된 이력이 존재하는지 여부를 판단할 수 있다. 예를 들어, 전자 장치는 제1 입력을 수신하기 이전에, 전자 장치에서 사용자 인증이 성공하였는지 여부를 판단할 수 있다. 잠금 상태로부터 스위칭된 이력은, 전자 장치에서 사용자 인증이 성공함에 따라, 전자 장치가 잠금 상태로부터 잠금 해제 상태로 스위칭된 이력을 나타낼 수 있다.If the electronic device fails to access the external electronic device based on the network address assigned to the external electronic device (820-No), in operation 825, the electronic device according to an embodiment independently of the external electronic device Based on the second input provided to , it may be determined whether there is a history of switching the electronic device from the lock state. For example, before receiving the first input, the electronic device may determine whether user authentication has succeeded in the electronic device. The history of switching from the locked state may indicate a history of switching the electronic device from the locked state to the unlocked state when user authentication is successful in the electronic device.

도 8을 참고하면, 외부 전자 장치에 할당된 네트워크 주소에 기반하여 외부 전자 장치에 액세스한 경우(820-예), 또는 전자 장치가 잠금 상태로부터 스위칭된 이력이 존재하는 경우(825-예), 동작(830)에서, 일 실시예에 따른 전자 장치는 제2 화면에서 제1 화면으로 스위칭할 수 있다. 예를 들어, 제1 입력을 수신하기 이전에, 전자 장치에서 사용자 인증이 성공한 경우, 전자 장치는 동작(830)에 기반하여, 제2 화면에서 제1 화면으로 스위칭할 수 있다.Referring to FIG. 8 , when an external electronic device is accessed based on a network address assigned to the external electronic device (820-yes), or when a history of switching the electronic device from a locked state exists (825-yes), In operation 830, the electronic device according to an embodiment may switch from the second screen to the first screen. For example, if user authentication is successful in the electronic device before receiving the first input, the electronic device may switch from the second screen to the first screen based on operation 830 .

전자 장치가 잠금 상태로부터 스위칭된 이력이 존재하지 않는 경우(825-아니오), 동작(835)에서, 일 실시예에 따른 전자 장치는 잠금 상태로 스위칭할 수 있다. 잠금 상태로 스위칭함에 따라, 동작(840)에서, 일 실시예에 따른 전자 장치는 외부 전자 장치로 동작(805)의 제1 화면을 제공하는 것을 중단할 수 있다. 제1 화면의 제공이 중단되는 것은, 전자 장치 및 외부 전자 장치 사이의 화면의 스트리밍이 적어도 일시적으로 중단되는 동작을 포함할 수 있다. 제1 화면의 제공이 중단됨에 따라, 외부 전자 장치는 제1 화면과 구별되고, 제1 화면의 제공이 중단됨을 나타내는, 화면(예, 도 7b의 화면(730))을 표시할 수 있다. 동작(840)의 제1 화면의 제공을 중단하는 것은, 예를 들어, 도 4의 소스 컨테이너 매니저(410) 및 리모트 컨테이너 매니저(415) 사이의 통신에 기반하여 수행될 수 있다.When the history of switching the electronic device from the locked state does not exist (825-No), in operation 835, the electronic device according to an embodiment may switch to the locked state. Upon switching to the locked state, in operation 840, the electronic device according to an embodiment may stop providing the first screen of operation 805 to the external electronic device. Stopping the provision of the first screen may include an operation of at least temporarily stopping streaming of the screen between the electronic device and the external electronic device. As the provision of the first screen is stopped, the external electronic device may display a screen (eg, the screen 730 of FIG. 7B ) that is distinguished from the first screen and indicates that the provision of the first screen is stopped. Stopping the provision of the first screen of operation 840 may be performed based on communication between the source container manager 410 and the remote container manager 415 of FIG. 4 , for example.

도 8을 참고하면, 동작(845)에서, 일 실시예에 따른 전자 장치는 잠금 상태에 대응하는 제3 화면을, 전자 장치의 디스플레이 상에 표시할 수 있다. 상기 제3 화면은 사용자 인증을 요구하는 잠금 화면으로써, 예를 들어, 도 7a의 화면(720)을 포함할 수 있다. 상기 제3 화면의 표시는, 예를 들어, 전자 장치에서 실행되는 콘텐트 보호 매니저(440)에 기반하여 수행될 수 있다. 동작(845)의 제3 화면을 표시하는 동작이, 동작(840)의 제1 화면의 제공이 중단된 이후 수행됨에 따라, 동작(845)의 제3 화면은 외부 전자 장치 및 전자 장치 중 전자 장치에서 표시될 수 있다.Referring to FIG. 8 , in operation 845, the electronic device according to an embodiment may display a third screen corresponding to a locked state on the display of the electronic device. The third screen is a lock screen requiring user authentication, and may include, for example, the screen 720 of FIG. 7A. The display of the third screen may be performed, for example, based on the content protection manager 440 executed in the electronic device. As the operation of displaying the third screen of operation 845 is performed after the provision of the first screen of operation 840 is stopped, the third screen of operation 845 is an electronic device among external electronic devices and electronic devices. can be displayed in

도 8을 참고하면, 동작(850)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치가, 잠금 상태에 대응하는 제3 화면의 미러링 및/또는 송신을 요청하였는지 여부를 판단할 수 있다. 예를 들어, 도 7b의 버튼(735)과 관련된 사용자 입력을 수신한 외부 전자 장치는, 전자 장치로 상기 제3 화면의 송신을 요청할 수 있다. 외부 전자 장치가 제3 화면의 송신을 요청하기 이전에(850-아니오), 전자 장치는 외부 전자 장치 및 전자 장치 중 전자 장치에서 제3 화면을 표시할 수 있다. Referring to FIG. 8 , in operation 850, the electronic device according to an embodiment may determine whether the external electronic device has requested mirroring and/or transmission of a third screen corresponding to a locked state. For example, an external electronic device receiving a user input related to the button 735 of FIG. 7B may request transmission of the third screen to the electronic device. Before the external electronic device requests transmission of the third screen (850 - No), the electronic device may display the third screen on the electronic device among the external electronic device and the electronic device.

외부 전자 장치가 제3 화면의 송신을 요청한 경우(850-예), 동작(855)에서, 일 실시예에 따른 전자 장치는 외부 전자 장치로 제3 화면을 송신할 수 있다. 동작(855)에 기반하여 외부 전자 장치로 제3 화면을 송신하는 상태에서, 전자 장치는 동작(845)에 기반하여 전자 장치의 디스플레이 상에 제3 화면을 표시하는 것을 중단할 수 있다. 예를 들어, 동작(845)는, 잠금 상태에 대응하는 제3 화면이 전자 장치 및 외부 전자 장치 중 전자 장치에서 표시되는 상태에 대응할 수 있다. 예를 들어, 동작(855)는, 잠금 상태에 대응하는 제3 화면이 전자 장치 및 외부 전자 장치 중 외부 전자 장치에서 표시되는 상태에 대응할 수 있다.When the external electronic device requests transmission of the third screen (850-Yes), in operation 855, the electronic device according to an embodiment may transmit the third screen to the external electronic device. In a state of transmitting the third screen to the external electronic device based on operation 855, the electronic device may stop displaying the third screen on the display of the electronic device based on operation 845. For example, operation 845 may correspond to a state in which a third screen corresponding to a locked state is displayed on an electronic device among electronic devices and external electronic devices. For example, operation 855 may correspond to a state in which an external electronic device among electronic devices and external electronic devices displays a third screen corresponding to a locked state.

잠금 상태에 대응하는 제3 화면이 동작들(845, 855) 중 하나에 의하여 전자 장치 및 외부 전자 장치 중 하나에서 표시되는 동안, 동작(860)에서, 전자 장치는 제3 화면에 기반하는 사용자 인증이 성공하였는지 여부를 판단할 수 있다. 예를 들어, 전자 장치는 도 4의 콘텐트 보호 매니저(440)를 이용하여, 제3 화면에 의한 사용자 인증이 완료되는지 여부를 식별할 수 있다. 사용자 인증이 실패한 경우(860-아니오), 전자 장치는 제3 화면을, 전자 장치 또는 외부 전자 장치에 표시하는 것을 유지할 수 있다.While a third screen corresponding to the locked state is displayed on one of the electronic device and the external electronic device by one of operations 845 and 855, in operation 860, the electronic device performs user authentication based on the third screen. You can judge whether this was successful or not. For example, the electronic device may use the content protection manager 440 of FIG. 4 to identify whether user authentication by the third screen is completed. If user authentication fails (860 - No), the electronic device may keep displaying the third screen on the electronic device or an external electronic device.

제3 화면에 기반하는 사용자 인증이 성공한 경우(860-예), 동작(865)에서, 일 실시예에 따른 전자 장치는 잠금 상태와 상이한 다른 상태(예, 잠금 해제 상태)로 스위칭할 수 있다. 잠금 상태와 상이한 다른 상태로 스위칭함에 따라, 동작(870)에서, 일 실시예에 따른 전자 장치는 외부 전자 장치로 제1 화면을 제공하는 것을 재개할 수 있다. 동작(845)에 기반하여, 제3 화면이 전자 장치에서 표시되는 동안, 사용자 인증이 성공한 경우, 전자 장치는 외부 전자 장치로 제1 화면을 제공함과 동시에, 전자 장치의 디스플레이 상에 상기 제1 화면을 표시할 수 있다. 이 경우, 상기 제1 화면이 전자 장치 및 외부 전자 장치 전부에서 표시될 수 있다. 동작(855)에 기반하여, 제3 화면이 외부 전자 장치에서 표시되는 동안, 사용자 인증이 성공한 경우, 전자 장치는 외부 전자 장치로 제1 화면을 제공함과 동시에, 전자 장치의 디스플레이 상에 상기 제1 화면과 구별되는 다른 화면(예, 동작(810)의 제2 화면)을 표시할 수 있다. If user authentication based on the third screen is successful (860-Yes), in operation 865, the electronic device according to an embodiment may switch to another state different from the locked state (eg, unlocked state). Upon switching to another state different from the lock state, in operation 870, the electronic device according to an embodiment may resume providing the first screen to the external electronic device. Based on operation 845, if user authentication is successful while the third screen is displayed on the electronic device, the electronic device provides the first screen to the external electronic device and simultaneously displays the first screen on the display of the electronic device. can be displayed. In this case, the first screen may be displayed on both the electronic device and the external electronic device. Based on operation 855, if user authentication is successful while the third screen is displayed on the external electronic device, the electronic device provides the first screen to the external electronic device and simultaneously displays the first screen on the display of the electronic device. Another screen distinguished from the screen (eg, the second screen of operation 810) may be displayed.

도 9는 일 실시예에 따른 전자 장치가 제1 외부 전자 장치로 화면을 송신하는 상태에서, 전자 장치 및 다른 전자 장치 사이의 네트워크의 타입에 기반하여 수행하는 동작을 설명하기 위한 흐름도이다. 도 9의 전자 장치는 도 1 내지 도 3의 전자 장치(101), 및/또는 도 4의 소스 전자 장치를 포함할 수 있다. 도 9의 제1 외부 전자 장치는 도 2 내지 도 3의 전자 장치(210), 및/또는 도 4의 리모트 전자 장치를 포함할 수 있다. 도 9의 동작은, 예를 들어, 도 3의 전자 장치(101) 및/또는 도 3의 프로세서(312)에 의해 수행될 수 있다. 9 is a flowchart illustrating an operation performed based on a network type between an electronic device and another electronic device in a state in which an electronic device transmits a screen to a first external electronic device according to an embodiment. The electronic device of FIG. 9 may include the electronic device 101 of FIGS. 1 to 3 and/or the source electronic device of FIG. 4 . The first external electronic device of FIG. 9 may include the electronic device 210 of FIGS. 2 to 3 and/or the remote electronic device of FIG. 4 . The operation of FIG. 9 may be performed by, for example, the electronic device 101 of FIG. 3 and/or the processor 312 of FIG. 3 .

도 9를 참고하면, 동작(910)에서, 일 실시예에 따른 전자 장치는, 제1 외부 전자 장치로 제1 화면을 제공하는 상태에서, 제1 화면과 구별되는 제2 화면을 표시할 수 있다. 예를 들어, 전자 장치 및 제1 외부 전자 장치가 미러링 기능을 실행함에 따라, 전자 장치에서 생성된 제1 화면이 제1 외부 전자 장치로 송신될 수 있다. 상기 제2 화면은, 예를 들어, 도 4의 미러링 가이드 화면 매니저(430)에 기반하여 제공되는 미러링 가이드 화면을 포함할 수 있다. 전자 장치는, 전자 장치 및 제1 외부 전자 장치 사이의 미러링 세션을 통하여 상기 제1 화면에 대응하는 비디오 신호를 송신하여, 제1 외부 전자 장치로 제1 화면을 제공할 수 있다.Referring to FIG. 9 , in operation 910, the electronic device according to an embodiment may display a second screen distinct from the first screen in a state in which the first screen is provided to the first external electronic device. . For example, as the electronic device and the first external electronic device execute a mirroring function, a first screen generated by the electronic device may be transmitted to the first external electronic device. The second screen may include, for example, a mirroring guide screen provided based on the mirroring guide screen manager 430 of FIG. 4 . The electronic device may provide the first screen to the first external electronic device by transmitting a video signal corresponding to the first screen through a mirroring session between the electronic device and the first external electronic device.

도 9를 참고하면, 동작(920)에서, 일 실시예에 따른 전자 장치는, 제1 외부 전자 장치로 전자 장치의 제1 화면을 제공하기 위하여, 제2 외부 전자 장치를 이용하여 제1 외부 전자 장치에 할당된 네트워크 주소를 식별할 수 있다. 상기 네트워크 주소는, 예를 들어, 도 2a 내지 2b의 서버(230)로부터 획득될 수 있다. 상기 네트워크 주소는, 제1 외부 전자 장치에 연결된 중계 노드에 의해 구별되는 서브-네트워크 내에서의 제1 외부 전자 장치의 위치를 나타낼 수 있다.Referring to FIG. 9 , in operation 920, the electronic device according to an embodiment uses a second external electronic device to provide a first screen of the electronic device to the first external electronic device. You can identify the network address assigned to the device. The network address may be obtained from, for example, the server 230 of FIGS. 2A to 2B. The network address may indicate a location of the first external electronic device within a sub-network distinguished by a relay node connected to the first external electronic device.

도 9를 참고하면, 동작(930)에서, 일 실시예에 따른 전자 장치는, 동작(920)에서 식별된 네트워크 주소에 기반하여, 제1 외부 전자 장치에 액세스 가능한지 여부를 판단할 수 있다. 예를 들어, 전자 장치는 상기 네트워크 주소에 기반하는 TCP/IP 소켓을 생성하여 제1 외부 전자 장치에 액세스할 수 있다. 예를 들어, 전자 장치는 상기 네트워크 주소에 기반하여, 상기 전자 장치의 서브-네트워크에 포함된 하나 이상의 노드들을 탐색하여, 상기 노드들 중에서 제1 외부 전자 장치를 식별할 수 있다. 동작(920)에서 식별된 네트워크 주소에 기반하여 제1 외부 전자 장치에 액세스하는 것은, 전자 장치 및 제1 외부 전자 장치가 네트워크 내에서 동일한 서브-네트워크 내에 존재함을 의미할 수 있다. 동작(920)에서 식별된 네트워크 주소에 기반하여 제1 외부 전자 장치에 액세스하지 못한 것은, 전자 장치 및 제1 외부 전자 장치가 네트워크 내에서 상이한 서브-네트워크들에 존재함을 의미할 수 있다.Referring to FIG. 9 , in operation 930, the electronic device according to an embodiment may determine whether the first external electronic device is accessible based on the network address identified in operation 920. For example, the electronic device may access the first external electronic device by creating a TCP/IP socket based on the network address. For example, the electronic device may search for one or more nodes included in a sub-network of the electronic device based on the network address and identify a first external electronic device among the nodes. Accessing the first external electronic device based on the network address identified in operation 920 may mean that the electronic device and the first external electronic device exist in the same sub-network within the network. Failing to access the first external electronic device based on the network address identified in operation 920 may mean that the electronic device and the first external electronic device exist in different sub-networks within the network.

동작(920)에서 식별된 네트워크 주소에 기반하여 제1 외부 전자 장치에 액세스한 상태에서(930-예), 동작(940)에서, 일 실시예에 따른 전자 장치는, 제2 화면에서 제1 화면으로 스위칭하기 위한 제1 입력을 수신하는 것에 응답하여, 제2 화면에서 제1 화면으로 스위칭할 수 있다. 예를 들어, 동작(920)에서 식별된 네트워크 주소에 기반하여 제1 외부 전자 장치에 액세스하는 것은, 전자 장치 및 제1 외부 전자 장치가 네트워크 내에서 동일한 서브-네트워크 내에 존재함을 의미하므로, 전자 장치 및 제1 외부 전자 장치가 상대적으로 가까이 존재함을 의미할 수 있다. 이 경우, 전자 장치는 사용자 인증을 바이패스하여, 제2 화면에서 제1 화면으로 스위칭할 수 있다.In a state in which the first external electronic device is accessed based on the network address identified in operation 920 (930-Yes), in operation 940, the electronic device according to an embodiment displays the first screen in the second screen. In response to receiving the first input for switching to , it is possible to switch from the second screen to the first screen. For example, accessing the first external electronic device based on the network address identified in operation 920 means that the electronic device and the first external electronic device exist within the same sub-network within the network, so that the electronic device It may mean that the device and the first external electronic device are relatively close. In this case, the electronic device may bypass user authentication and switch from the second screen to the first screen.

동작(920)에서 식별된 네트워크 주소에 기반하여 제1 외부 전자 장치에 액세스하지 못한 상태에서(930-아니오), 동작(950)에서, 일 실시예에 따른 전자 장치는, STUN 서버 및/또는 TURN 서버에게 대응하는 제3 외부 전자 장치(예, 도 2a 내지 2b의 서버(240))를 이용하여 제1 외부 전자 장치에 액세스할 수 있다. 동작(920)에서 식별된 네트워크 주소에 기반하여 제1 외부 전자 장치에 액세스하지 못한 것은, 전자 장치 및 제1 외부 전자 장치가 네트워크 내에서 상이한 서브-네트워크들에 존재함을 의미하므로, 전자 장치 및 제1 외부 전자 장치가 상대적으로 멀리 있음을 의미할 수 있다. 이 경우, 전자 장치는 제1 외부 전자 장치에 액세스하기 위하여, 전자 장치는 제2 외부 전자 장치와 구별되는 제3 외부 전자 장치로, 제1 외부 전자 장치로 신호(예, 제1 화면을 나타내는 비디오 신호)를 송신할 것을 요청할 수 있다.In a state in which the first external electronic device is not accessed based on the network address identified in operation 920 (930-No), in operation 950, the electronic device according to an embodiment performs a STUN server and/or TURN The first external electronic device may be accessed using a third external electronic device corresponding to the server (eg, the server 240 of FIGS. 2A and 2B ). Failure to access the first external electronic device based on the network address identified in operation 920 means that the electronic device and the first external electronic device exist in different sub-networks within the network, and thus the electronic device and the first external electronic device exist in different sub-networks. This may mean that the first external electronic device is relatively far away. In this case, in order to access the first external electronic device, the electronic device is a third external electronic device that is distinct from the second external electronic device, and signals to the first external electronic device (eg, a video displaying the first screen). signal) may be requested to be transmitted.

동작(950)의 제3 외부 전자 장치를 이용하여 제1 외부 전자 장치에 액세스하는 상태에서, 동작(960)에서, 일 실시예에 따른 전자 장치는, 제2 화면에서 제1 화면으로 스위칭하기 위한 제1 입력을 수신하는 것에 응답하여, 잠금 상태에 대응하는 제3 화면을 표시할 수 있다. 상기 제3 화면은, 잠금 화면으로써, 도 7a의 화면(720)을 포함할 수 있다. 상기 제3 화면을 표시함에 따라, 전자 장치는 사용자 인증의 성공을 조건으로 제1 화면을 표시할 수 있다.In a state in which the first external electronic device is accessed using the third external electronic device in operation 950, in operation 960, the electronic device according to an embodiment performs a method for switching from a second screen to a first screen. In response to receiving the first input, a third screen corresponding to the locked state may be displayed. The third screen, as a lock screen, may include the screen 720 of FIG. 7A. As the third screen is displayed, the electronic device may display the first screen on condition that user authentication is successful.

상술한 바와 같이, 일 실시예에 따른 전자 장치는, 미러링 기능을 실행함에 따라, 제1 외부 전자 장치에 액세스할 수 있다. 전자 장치는 제2 외부 전자 장치 및/또는 제3 외부 전자 장치를 이용하여, 제1 외부 전자 장치와 하나 이상의 서브-네트워크들을 횡단하는(traversing) 연결을 수립할 수 있다. 하나 이상의 서브-네트워크들을 횡단하는 연결을 수립한 상태에서, 전자 장치는 상기 연결에 의해 탐지되는 전자 장치 및 제1 외부 전자 장치 사이의 근접도에 기반하여, 미러링 기능에 기반하여 공유되는 화면을 열람하기 위한 사용자에 대한 사용자 인증을 바이패스할지 여부를 결정할 수 있다.As described above, the electronic device according to an embodiment may access the first external electronic device as the mirroring function is executed. The electronic device may establish a connection traversing one or more sub-networks with the first external electronic device by using the second external electronic device and/or the third external electronic device. In a state in which a connection traversing one or more sub-networks is established, the electronic device views a shared screen based on a mirroring function based on the proximity between the electronic device and the first external electronic device detected by the connection. It is possible to determine whether or not to bypass user authentication for a user to do so.

도 10은 일 실시예에 따른 전자 장치가, 외부 전자 장치의 화면을 수신하는 상태에서 수행하는 동작을 설명하기 위한 흐름도이다. 도 10의 전자 장치는 도 2 내지 도 3의 전자 장치(210), 및/또는 도 4의 리모트 전자 장치를 포함할 수 있다. 도 10의 외부 전자 장치는 도 1 내지 도 3의 전자 장치(101), 및/또는 도 4의 소스 전자 장치를 포함할 수 있다. 도 10의 동작은, 예를 들어, 도 3의 전자 장치(210) 및/또는 도 3의 프로세서(314)에 의해 수행될 수 있다. 10 is a flowchart illustrating an operation performed by an electronic device in a state of receiving a screen of an external electronic device according to an exemplary embodiment. The electronic device of FIG. 10 may include the electronic device 210 of FIGS. 2 to 3 and/or the remote electronic device of FIG. 4 . The external electronic device of FIG. 10 may include the electronic device 101 of FIGS. 1 to 3 and/or the source electronic device of FIG. 4 . The operation of FIG. 10 may be performed by, for example, the electronic device 210 of FIG. 3 and/or the processor 314 of FIG. 3 .

도 10을 참고하면, 동작(1010)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치로부터 제공된 제1 화면을, 디스플레이 내에 표시할 수 있다. 예를 들어, 외부 전자 장치는 도 9의 동작(910)을 수행하여, 외부 전자 장치에서 실행되고 있는 어플리케이션의 화면을 나타내는 신호를, 전자 장치로 송신할 수 있다. 상기 신호를 수신하는 것에 응답하여, 전자 장치는 수신된 신호에 기반하는 화면을, 디스플레이 내에 표시할 수 있다. 동작(1010)의 제1 화면은 상기 신호에 의해 나타나는 화면을 포함할 수 있다.Referring to FIG. 10 , in operation 1010, the electronic device according to an embodiment may display a first screen provided from an external electronic device on the display. For example, the external electronic device may transmit a signal indicating a screen of an application being executed on the external electronic device to the electronic device by performing operation 910 of FIG. 9 . In response to receiving the signal, the electronic device may display a screen based on the received signal on the display. The first screen of operation 1010 may include a screen displayed by the signal.

도 10을 참고하면, 동작(1015)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치의 상태를 잠금 상태로 스위칭하기 위한 지정된 제1 입력을 수신하였는지 여부를 판단할 수 있다. 상기 제1 입력은 전자 장치의 사용자로부터 제공된 지정된 입력을 포함할 수 있다. 예를 들어, 전자 장치의 사용자는 외부 전자 장치의 상태를 잠금 상태로 스위칭 하기 위한 제1 입력을 수행할 수 있다.Referring to FIG. 10 , in operation 1015, the electronic device according to an embodiment may determine whether a first input designated for switching the state of the external electronic device to the locked state is received. The first input may include a designated input provided by a user of the electronic device. For example, the user of the electronic device may perform a first input for switching the state of the external electronic device to a locked state.

외부 전자 장치의 상태를 잠금 상태로 스위칭하기 위한 지정된 제1 입력을 수신하는 것에 응답하여(1015-예), 동작(1020)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치로 잠금 상태로 전환할 것을 요청할 수 있다. 외부 전자 장치로 잠금 상태로 전환할 것을 요청한 이후, 동작(1025)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치로부터 제공되고, 잠금 상태에 기반하는 제3 화면을 표시할 수 있다. 상기 제3 화면은, 외부 전자 장치에 의한 사용자 인증을 수행하기 위한 잠금 화면에 대응할 수 있다. 상기 제3 화면은, 예를 들어, 도 7b의 화면(740)을 포함할 수 있다.In response to receiving a designated first input for switching the state of the external electronic device to the locked state (1015-yes), in operation 1020, the electronic device according to an embodiment places the external electronic device in the locked state. You can request a conversion. After requesting the external electronic device to switch to the locked state, in operation 1025, the electronic device according to an embodiment may display a third screen provided from the external electronic device and based on the locked state. The third screen may correspond to a lock screen for performing user authentication by an external electronic device. The third screen may include, for example, the screen 740 of FIG. 7B.

외부 전자 장치의 상태를 잠금 상태로 스위칭하기 위한 지정된 제1 입력을 수신하기 이전에(1015-아니오), 동작(1030)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치로부터 잠금 상태로 스위칭됨을 나타내는 알림을 수신하였는지 여부를 판단할 수 있다. 예를 들어, 외부 전자 장치는, 도 5의 상태(520)로부터 상태(530)로 스위칭하는 동작, 도 8의 동작(835) 및/또는 도 9의 동작(960)에 기반하여, 잠금 상태로 스위칭할 수 있다. 외부 전자 장치는 잠금 상태로 스위칭됨을, 전자 장치로 알릴 수 있다.Prior to receiving a designated first input for switching the state of the external electronic device to the locked state (1015-No), in operation 1030, the electronic device according to an embodiment switches the external electronic device to the locked state. It is possible to determine whether or not a notification indicating that it has been received is received. For example, the external electronic device is in a locked state based on an operation of switching from state 520 to state 530 in FIG. 5 , operation 835 in FIG. 8 and/or operation 960 in FIG. 9 . can switch The external electronic device may notify the electronic device that it is switched to the locked state.

상기 제1 입력을 수신하기 이전에(1015-아니오), 및 외부 전자 장치로부터 잠금 상태로 스위칭됨을 나타내는 알림을 수신하기 이전에(1030-아니오), 전자 장치는 동작(1010)에 기반하여, 제1 화면을 디스플레이 내에 표시하는 것을 유지할 수 있다. 외부 전자 장치로부터 잠금 상태로 스위칭됨을 나타내는 알림을 수신하는 것에 응답하여(1030-예), 동작(1035)에서, 일 실시예에 따른 전자 장치는, 동작(1010)의 제1 화면을 표시하는 것을 중단할 수 있다. 예를 들어, 외부 전자 장치는 잠금 상태로 스위칭함에 따라, 전자 장치로 동작(1010)의 제1 화면을 제공하는 것을 중단할 수 있다. 외부 전자 장치로부터 제1 화면의 제공이 중단됨에 따라, 전자 장치는 제1 화면을 표시하는 것을 중단할 수 있다.Before receiving the first input (1015-No) and before receiving a notification indicating that the external electronic device is switched to a locked state (1030-No), the electronic device, based on operation 1010, 1 It is possible to keep displaying the screen in the display. In response to receiving a notification indicating that the external electronic device has switched to a locked state (1030-yes), in operation 1035, the electronic device according to an embodiment displays the first screen of operation 1010. can be stopped For example, as the external electronic device switches to a locked state, providing the first screen of operation 1010 to the electronic device may be stopped. As the provision of the first screen from the external electronic device is stopped, the electronic device may stop displaying the first screen.

제1 화면의 표시를 중단한 상태에서, 동작(1040)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치가 잠금 상태임을 나타내는 제2 화면을 표시할 수 있다. 상기 제2 화면은, 예를 들어, 도 7b의 화면(730)을 포함할 수 있다. 도 10을 참고하면, 동작(1045)에서, 일 실시예에 따른 전자 장치는, 제2 화면 내에서, 잠금 상태를 해제하기 위한 지정된 제2 입력을 수신하였는지 여부를 판단할 수 있다. 상기 제2 입력은, 예를 들어, 도 7b의 화면(730)에 포함된 버튼(735)을 선택하는 동작을 포함할 수 있다.In a state in which the display of the first screen is stopped, in operation 1040, the electronic device according to an embodiment may display a second screen indicating that the external electronic device is in a locked state. The second screen may include, for example, the screen 730 of FIG. 7B. Referring to FIG. 10 , in operation 1045, the electronic device according to an embodiment may determine whether a designated second input for releasing the locked state is received within the second screen. The second input may include, for example, an operation of selecting a button 735 included in the screen 730 of FIG. 7B.

지정된 제2 입력을 수신하기 이전에(1045-아니오), 동작(1050)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치의 잠금 상태가 해제되었는지 여부를 판단할 수 있다. 지정된 제2 입력을 수신하기 이전에(1045-아니오), 및 외부 전자 장치의 잠금 상태가 해제되기 이전에(1050-아니오), 전자 장치는 동작(1040)에 기반하여 제2 화면을 표시하는 것을 유지할 수 있다.Before receiving the designated second input (1045 - No), in operation 1050, the electronic device according to an embodiment may determine whether the lock state of the external electronic device is released. Before receiving the designated second input (1045-No) and before the lock state of the external electronic device is released (1050-No), the electronic device stops displaying the second screen based on operation 1040. can keep

외부 전자 장치의 잠금 상태가 해제됨을 식별한 상태에서(1050-예), 일 실시예에 따른 전자 장치는 동작(1010)에 기반하여, 제1 화면을 디스플레이 내에 표시하는 것을 재개할 수 있다. 예를 들어, 제2 화면을 표시하는 상태에서, 외부 전자 장치에서 사용자 인증이 완료됨에 따라, 외부 전자 장치의 잠금 상태가 해제될 수 있다. 외부 전자 장치가 잠금 상태로부터 잠금 해제 상태로 스위칭 됨에 따라, 외부 전자 장치가 전자 장치로 제1 화면을 제공하는 것이 재개될 수 있다.In a state in which it is identified that the lock state of the external electronic device is released (1050 - Yes), the electronic device according to an embodiment may resume displaying the first screen on the display based on operation 1010. For example, in a state in which the second screen is displayed, as user authentication is completed in the external electronic device, the locked state of the external electronic device may be released. As the external electronic device is switched from the locked state to the unlocked state, the external electronic device may resume providing the first screen to the electronic device.

지정된 제2 입력을 수신한 상태에서(1045-예), 동작(1055)에서, 일 실시예에 따른 전자 장치는, 전자 장치에 의하여, 외부 전자 장치의 상태가 잠금 상태에서 다른 상태로 스위칭된 이력이 존재하는지 여부를 판단할 수 있다. 예를 들어, 전자 장치는, 예를 들어, 도 7b의 화면(740)을 통해 입력된 정보에 기반하여 외부 전자 장치의 상태가 잠금 해제 상태로 스위칭된 이력을 식별할 수 있다.In a state in which the designated second input is received (1045-yes), in operation 1055, the electronic device according to an embodiment records a history of switching the state of the external electronic device from the locked state to another state by the electronic device. You can determine whether it exists or not. For example, the electronic device may identify a history of switching the state of the external electronic device to the unlocked state based on information input through the screen 740 of FIG. 7B .

전자 장치에 의하여 외부 전자 장치의 상태가 잠금 상태에서 다른 상태로 스위칭된 이력이 존재하지 않는 경우(1055-아니오), 일 실시예에 따른 전자 장치는 동작(1025)에 기반하여 제3 화면을 표시할 수 있다. 예를 들어, 상기 제3 화면은, 도 7b의 화면(740)을 포함할 수 있다. 제3 화면을 표시한 이후, 제3 화면에 기반하는 사용자 인증을 수행한 결과에 기반하여, 전자 장치 및 외부 전자 장치 사이의 제1 화면의 공유가 재개될 수 있다. 전자 장치에 의하여 외부 전자 장치의 상태가 잠금 상태에서 다른 상태로 스위칭된 이력이 존재하는 경우(1055-예), 동작(1060)에서, 일 실시예에 따른 전자 장치는, 외부 전자 장치로, 잠금 상태와 구별되는 다른 상태에 기반하여, 제1 화면의 제공을 재개할 것을 요청할 수 있다. 예를 들어, 전자 장치는 동작(1060)을, 동작(1010)과 유사하게 수행할 수 있다.When the electronic device does not have a history of switching the state of the external electronic device from the lock state to another state (1055-No), the electronic device according to an embodiment displays a third screen based on operation 1025. can do. For example, the third screen may include the screen 740 of FIG. 7B. After displaying the third screen, sharing of the first screen between the electronic device and the external electronic device may be resumed based on a result of user authentication based on the third screen. If there is a history of switching the state of the external electronic device from the locked state to another state by the electronic device (1055-Yes), in operation 1060, the electronic device according to an embodiment locks the external electronic device to the external electronic device. Resumption of provision of the first screen may be requested based on another state distinguished from the state. For example, the electronic device may perform operation 1060 similar to operation 1010 .

상술한 바와 같이, 일 실시예에 따른 전자 장치는, 전자 장치에서 실행되고 있는 하나 이상의 어플리케이션들에 기반하는 화면을, 다른 전자 장치로 송신하기 위한 연결을 수립할 수 있다. 상기 연결은, 전자 장치 및 다른 전자 장치 사이의 종단간 연결로써, 하나 이상의 서브-네트워크를 횡단하여 수립될 수 있다. 상기 연결이 복수의 서브-네트워크들을 횡단하여 수립됨에 따라, 전자 장치 및 다른 전자 장치가 상대적으로 멀리 이격된 상태에서, 일 실시예에 따른 전자 장치는 다른 전자 장치로 공유되는 화면을 덮는(covering) 다른 화면을 표시하거나, 및/또는 사용자 인증을 조건으로 다른 전자 장치로 공유되는 화면을 표시할 수 있다.As described above, an electronic device according to an embodiment may establish a connection for transmitting a screen based on one or more applications running on the electronic device to another electronic device. The connection may be established across one or more sub-networks as an end-to-end connection between an electronic device and another electronic device. As the connection is established across a plurality of sub-networks, in a state where the electronic device and other electronic devices are relatively far apart, the electronic device according to an embodiment covers a screen shared by other electronic devices. A different screen may be displayed and/or a screen shared with other electronic devices may be displayed on condition of user authentication.

상술한 바와 같은, 일 실시예에 따른 전자 장치(electronic device)는, 디스플레이, 통신 회로, 복수의 인스트럭션들을 저장하도록 구성된 메모리, 및 상기 디스플레이, 상기 통신 회로 및 상기 메모리와 작동적으로 결합된 프로세서를 포함하고, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 통신 회로에 의해 연결된 네트워크를 따라 상기 전자 장치와 구별되는 제1 외부 전자 장치에 액세스하여, 상기 전자 장치에서 실행되는 어플리케이션과 관련된 제1 화면을 제공하는 동안, 상기 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하고, 상기 제2 화면을 표시하는 동안, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하기 위한 제1 입력을 수신하고, 상기 제1 입력을 수신하는 것에 응답하여, 상기 네트워크 내에서, 상기 제1 외부 전자 장치와 구별되는 제2 외부 전자 장치로부터 제공되고, 상기 제1 외부 전자 장치의 상기 네트워크 내에서의 위치를 이용하여 상기 제1 외부 전자 장치에 액세스하였는지 여부를 식별하고, 상기 위치를 이용하여 상기 제1 외부 전자 장치에 액세스한 제1 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하고, 및 상기 제1 상태와 구별되는 제2 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭할 수 있다. As described above, an electronic device according to an embodiment includes a display, communication circuitry, a memory configured to store a plurality of instructions, and a processor operatively coupled with the display, the communication circuitry, and the memory. and, when executing the plurality of instructions, the processor accesses a first external electronic device distinct from the electronic device along a network connected by the communication circuit to obtain a first external electronic device related to an application executed in the electronic device. A first input for displaying a second screen distinct from the first screen on the display while providing the first screen, and switching from the second screen to the first screen while displaying the second screen. and, in response to receiving the first input, provided from a second external electronic device that is different from the first external electronic device within the network, the first external electronic device within the network It is identified whether the first external electronic device is accessed using the location, and in response to receiving the first input in a first state in which the first external electronic device is accessed using the location, the first external electronic device is accessed. Switching from the second screen to the first screen, and in a second state distinct from the first state, in response to receiving the first input, from the second screen, distinguished from the first screen, the It is possible to switch to a third screen requesting a second input distinct from the first input.

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 제3 화면으로 스위칭하는 것에 응답하여, 상기 전자 장치의 상태를, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로 스위칭할 수 있다. For example, when executing the plurality of instructions, the processor, in response to switching to the third screen, changes the state of the electronic device to at least one of a plurality of functions available in the electronic device. It can switch to a locked state that restricts the execution of other functions except for the designated functions.

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 제3 화면에 기반하여, 상기 제1 입력을 제공한 사용자가 지정된 사용자에 대응하는지 여부를 식별하기 위한 상기 제2 입력을 획득하고, 및 상기 제2 입력에 기반하여, 상기 사용자가 상기 지정된 사용자에 대응함을 식별하는 것에 응답하여, 상기 잠금 상태와 구별되는 다른 상태로 스위칭할 수 있다. For example, the processor, when executing the plurality of instructions, obtains the second input for identifying whether a user who provided the first input corresponds to a specified user, based on the third screen. and, based on the second input, in response to identifying that the user corresponds to the designated user, switching to another state distinct from the locked state.

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 제3 화면으로 스위칭하는 것에 응답하여, 상기 제1 외부 전자 장치로 상기 제1 화면을 제공하는 것을 적어도 일시적으로 중단(cease at least temporarily)할 수 있다. For example, when executing the plurality of instructions, the processor at least temporarily suspends providing the first screen to the first external electronic device in response to switching to the third screen. at least temporarily).

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 제1 외부 전자 장치로, 상기 제3 화면이 상기 전자 장치에서 표시됨을 나타내는 제4 화면의 표시를 요청할 수 있다. For example, when executing the plurality of instructions, the processor may request the first external electronic device to display a fourth screen indicating that the third screen is displayed on the electronic device.

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 네트워크와 구별되는 다른 네트워크를 통하여 상기 제1 외부 전자 장치를 식별하는 것에 응답하여, 상기 제2 상태에서, 상기 제3 화면 및 상기 제1 화면 중에서 상기 제1 화면으로 스위칭할 수 있다. For example, the processor, when executing the plurality of instructions, in response to identifying the first external electronic device through another network distinct from the network, in the second state, the third screen and It is possible to switch to the first screen among the first screens.

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 제2 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제1 입력을 수신하기 이전에, 상기 전자 장치의 상태가, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로부터, 상기 잠금 상태와 구별되는 다른 상태로 전환된 시점을 식별하고, 상기 식별된 시점 및 상기 제1 입력을 수신한 시점의 차이가 지정된 임계치 미만임을 식별하는 것에 응답하여, 상기 제3 화면으로 스위칭하는 것을 중단하고, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭할 수 있다. For example, the processor, when executing the plurality of instructions, in response to receiving the first input in the second state, prior to receiving the first input, the state of the electronic device is: Identifying a time point at which a transition is made from a locked state in which execution of other functions other than one or more designated functions among all of the plurality of functions available in the electronic device is restricted to another state distinct from the locked state, and the identified time point and in response to identifying that the difference between the time points at which the first input is received is less than a specified threshold, stopping switching to the third screen and switching from the second screen to the first screen.

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 제2 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 전자 장치에서 지정된 사용자와 관련된 인증이 수행된 제1 시점 및 상기 제1 외부 전자 장치에서 상기 지정된 사용자와 관련된 인증이 수행된 제2 시점을 식별하고, 및 상기 제1 시점이 제2 시점 이후임을 식별하는 것에 응답하여, 상기 제3 화면으로 스위칭하는 것을 중단하고, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭할 수 있다. For example, when executing the plurality of instructions, the processor may, in response to receiving the first input in the second state, perform authentication related to a designated user in the electronic device at a first time point and the A first external electronic device identifies a second time point in which authentication related to the designated user has been performed, and stops switching to the third screen in response to identifying that the first time point is after the second time point, It is possible to switch from the second screen to the first screen.

예를 들어, 상기 제1 상태는, 상기 제2 외부 전자 장치로부터 제공되고, 상기 제1 외부 전자 장치에 할당된 IP 주소에 기반하여, 상기 제1 외부 전자 장치와 직접적으로(directly) 액세스하는 상태에 대응할 수 있다. For example, the first state is a state of directly accessing the first external electronic device based on an IP address provided from the second external electronic device and allocated to the first external electronic device. can respond to

예를 들어, 상기 제2 상태는, 상기 제2 외부 전자 장치와 구별되는 제3 외부 전자 장치를 이용하여, 상기 제1 외부 전자 장치에 할당된 IP 주소와 구별되는 다른 주소에 기반하여, 상기 제1 외부 전자 장치에 액세스하는 상태에 대응할 수 있다. For example, the second state is based on an address different from an IP address assigned to the first external electronic device by using a third external electronic device distinct from the second external electronic device. 1 may correspond to a state of accessing an external electronic device.

상술한 바와 같은, 일 실시예에 따른 전자 장치(electronic device)는, 디스플레이, 통신 회로, 복수의 인스트럭션들을 저장하도록 구성된 메모리, 상기 디스플레이, 상기 통신 회로 및 상기 메모리와 작동적으로 결합된 프로세서를 포함하고, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 통신 회로를 통하여 다른 전자 장치로, 상기 전자 장치에서 실행되고 있는 하나 이상의 어플리케이션들에 기반하는 제1 화면을 표시하는 동안, 상기 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하고, 상기 제2 화면을 표시하는 상태에서, 상기 제1 화면으로 스위칭 하기 위한 제1 입력을 수신하고, 상기 디스플레이의 제1 부분에 제1 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제1 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하고, 및 상기 제1 부분에 상기 제1 네트워크와 구별되는 제2 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제2 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭할 수 있다. As described above, an electronic device according to an embodiment includes a display, communication circuitry, a memory configured to store a plurality of instructions, and a processor operatively coupled with the display, the communication circuitry, and the memory. and, when executing the plurality of instructions, the processor, while displaying a first screen based on one or more applications being executed in the electronic device, to another electronic device through the communication circuit, on the display. displaying a second screen distinct from the first screen, receiving a first input for switching to the first screen in a state in which the second screen is displayed, and displaying a first network in the first part of the display. In response to receiving the first input in a state of displaying a first visual object indicating communication with the other electronic device through, switching from the second screen to the first screen, and in the first part In response to receiving the first input in a state of displaying a second visual object indicating communication with the other electronic device through a second network distinct from the first network, from the second screen, the first It is possible to switch to a third screen that is distinct from the screen and requests a second input that is distinct from the first input.

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 제3 화면으로 스위칭한 이후, 상기 전자 장치의 사용자를 인증한 결과에 적어도 기반하여, 상기 제3 화면과 구별되는 다른 화면으로 전환할 수 있다. For example, the processor, when executing the plurality of instructions, after switching to the third screen, displays another screen distinct from the third screen, at least based on a result of authenticating the user of the electronic device. can switch

예를 들어, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에, 상기 제3 화면으로 스위칭하는 것에 응답하여, 상기 전자 장치의 상태를, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로 스위칭할 수 있다. For example, when executing the plurality of instructions, the processor, in response to switching to the third screen, changes the state of the electronic device to at least one of a plurality of functions available in the electronic device. It can switch to a locked state that restricts the execution of other functions except for the designated functions.

예를 들어, 상기 제1 네트워크를 통하여 상기 다른 전자 장치와 통신하는 상태는, 상기 다른 전자 장치가 연결된 액세스 포인트(access point)에 연결된 상태를 포함할 수 있다.For example, the state of communicating with the other electronic device through the first network may include a state of being connected to an access point to which the other electronic device is connected.

예를 들어, 상기 제2 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 전자 장치에서 지정된 사용자와 관련된 인증이 수행된 제1 시점 및 상기 다른 전자 장치에서 상기 지정된 사용자와 관련된 인증이 수행된 제2 시점을 식별하고, 및 상기 제1 시점이 상기 제2 시점 이후임을 식별하는 것에 응답하여, 상기 제3 화면으로 스위칭하는 것을 중단하고, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭할 수 있다. For example, in response to receiving the first input while displaying the second visual object, a first time point in which authentication related to a designated user is performed in the electronic device and the designated user in the other electronic device. identifying a second time point at which relevant authentication was performed, and in response to identifying that the first time point is later than the second time point, stopping switching to the third screen from the second screen to the first screen can be switched to

상술한 바와 같은, 일 실시예에 따른 전자 장치의 방법은, 상기 전자 장치의 통신 회로에 의해 연결된 네트워크를 따라 상기 전자 장치와 구별되는 제1 외부 전자 장치에 액세스하여, 상기 전자 장치에서 실행되는 어플리케이션과 관련된 제1 화면을 제공하는 동안, 상기 전자 장치의 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하는 동작, 상기 제2 화면을 표시하는 동안, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하기 위한 제1 입력을 수신하는 동작, 상기 제1 입력을 수신하는 것에 응답하여, 상기 네트워크 내에서, 상기 제1 외부 전자 장치와 구별되는 제2 외부 전자 장치로부터 제공되고, 상기 제1 외부 전자 장치와 상기 네트워크 내에서의 위치를 이용하여 상기 제1 외부 전자 장치에 액세스하였는지 여부를 식별하는 동작, 상기 위치를 이용하여 상기 제1 외부 전자 장치에 액세스한 제1 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 동작, 및 상기 제1 상태와 구별되는 제2 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭하는 동작을 포함할 수 있다.As described above, the method of an electronic device according to an embodiment includes accessing a first external electronic device distinct from the electronic device along a network connected by a communication circuit of the electronic device, and an application running in the electronic device. An operation of displaying a second screen distinct from the first screen on the display of the electronic device while providing a first screen related to, while displaying the second screen, from the second screen to the first screen An operation of receiving a first input for switching to , in response to receiving the first input, provided from a second external electronic device distinct from the first external electronic device within the network, the first external electronic device Identifying whether or not the first external electronic device is accessed using the location of the electronic device and the network, and in a first state in which the first external electronic device is accessed using the location, the first input In response to receiving the operation of switching from the second screen to the first screen, and in response to receiving the first input in a second state distinct from the first state, from the second screen , Switching to a third screen that is distinct from the first screen and requests a second input that is distinct from the first input.

예를 들어, 상기 제3 화면으로 스위칭하는 동작은, 상기 전자 장치의 상태를, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로 스위칭하는 동작을 더 포함할 수 있다. For example, the operation of switching to the third screen changes the state of the electronic device to a locked state in which execution of other functions except for one or more designated functions among all of a plurality of functions available in the electronic device is restricted. A switching operation may be further included.

예를 들어, 상기 제3 화면으로 스위칭하는 동작은, 상기 제3 화면에 기반하여, 상기 제1 입력을 제공한 사용자가 지정된 사용자에 대응하는지 여부를 식별하기 위한 상기 제2 입력을 획득하는 동작, 및 상기 제2 입력에 기반하여, 상기 사용자가 상기 지정된 사용자에 대응함을 식별하는 것에 응답하여, 상기 잠금 상태와 구별되는 다른 상태로 스위칭하는 동작을 더 포함할 수 있다.For example, the operation of switching to the third screen may include, based on the third screen, obtaining the second input for identifying whether a user who provided the first input corresponds to a designated user; and switching to another state distinct from the locked state in response to identifying that the user corresponds to the designated user based on the second input.

예를 들어, 상기 제3 화면으로 스위칭하는 동작은, 상기 제3 화면으로 스위칭하는 것에 응답하여, 상기 제1 외부 전자 장치로 상기 제1 화면을 제공하는 것을 적어도 일시적으로 중단하는 동작을 더 포함할 수 있다.For example, the operation of switching to the third screen may further include an operation of at least temporarily stopping providing the first screen to the first external electronic device in response to switching to the third screen. can

예를 들어, 상기 전자 장치의 방법은, 상기 제2 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제1 입력을 수신하기 이전에, 상기 전자 장치의 상태가, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 중 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로부터, 상기 잠금 상태와 구별되는 다른 상태로 전환된 시점을 식별하는 동작, 및 상기 식별된 시점 및 상기 제1 입력을 수신한 시점의 차이가 지정된 임계치 미만임을 식별하는 것에 응답하여, 상기 제3 화면으로 스위칭하는 것을 중단하고, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 동작을 더 포함할 수 있다. For example, the method of the electronic device may include, in response to receiving the first input in the second state, prior to receiving the first input, the state of the electronic device is used in the electronic device. An operation of identifying a time point of transition from a locked state in which execution of other functions other than one or more designated functions among all of a plurality of possible functions is restricted to another state distinct from the locked state, and the identified time point and the second function The method may further include stopping switching to the third screen and switching from the second screen to the first screen in response to identifying that the difference between the times at which input 1 is received is less than a specified threshold.

상술한 바와 같은, 일 실시예에 따른 전자 장치(electronic device)의 방법은, 상기 전자 장치의 통신 회로를 통하여 다른 전자 장치로, 상기 전자 장치에서 실행되고 있는 하나 이상의 어플리케이션들에 기반하는 제1 화면을 표시하는 동안, 상기 전자 장치의 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하는 동작, 상기 제2 화면을 표시하는 상태에서, 상기 제1 화면으로 스위칭 하기 위한 제1 입력을 수신하는 동작, 상기 디스플레이의 제1 부분에 제1 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제1 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 동작, 및 상기 제1 부분에 상기 제1 네트워크와 구별되는 제2 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제2 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭하는 동작을 포함할 수 있다.As described above, in the method of an electronic device according to an embodiment, a first screen based on one or more applications being executed in the electronic device is transferred to another electronic device through a communication circuit of the electronic device. While displaying, displaying a second screen distinct from the first screen on the display of the electronic device, receiving a first input for switching to the first screen while displaying the second screen. In response to receiving the first input while displaying a first visual object representing communication with the other electronic device through a first network on the first part of the display, The operation of switching to a first screen and receiving the first input in a state in which a second visual object representing communication with the other electronic device is displayed on the first part through a second network distinct from the first network In response to doing so, it may include an operation of switching from the second screen to a third screen that is distinct from the first screen and requests a second input that is distinct from the first input.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 어플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The devices described above may be implemented as hardware components, software components, and/or a combination of hardware components and software components. For example, devices and components described in the embodiments include a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), and a programmable PLU (programmable logic unit). logic unit), microprocessor, or any other device capable of executing and responding to instructions. The processing device may run an operating system (OS) and one or more software applications running on the operating system. A processing device may also access, store, manipulate, process, and generate data in response to execution of software. For convenience of understanding, there are cases in which one processing device is used, but those skilled in the art will understand that the processing device includes a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that it can include. For example, a processing device may include a plurality of processors or a processor and a controller. Other processing configurations are also possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.Software may include a computer program, code, instructions, or a combination of one or more of the foregoing, which configures a processing device to operate as desired or processes independently or collectively. You can command the device. The software and/or data may be embodied in any tangible machine, component, physical device, computer storage medium or device to be interpreted by or to provide instructions or data to a processing device. there is. Software may be distributed on networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer readable media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 이때, 매체는 컴퓨터로 실행 가능한 프로그램을 계속 저장하거나, 실행 또는 다운로드를 위해 임시 저장하는 것일 수도 있다. 또한, 매체는 단일 또는 수 개의 하드웨어가 결합된 형태의 다양한 기록수단 또는 저장수단일 수 있는데, 어떤 컴퓨터 시스템에 직접 접속되는 매체에 한정되지 않고, 네트워크 상에 분산 존재하는 것일 수도 있다. 매체의 예시로는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical medium), 및 ROM, RAM, 플래시 메모리 등을 포함하여 프로그램 명령어가 저장되도록 구성된 것이 있을 수 있다. 또한, 다른 매체의 예시로, 어플리케이션을 유통하는 앱 스토어나 기타 다양한 소프트웨어를 공급 내지 유통하는 사이트, 서버 등에서 관리하는 기록매체 내지 저장매체도 들 수 있다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer readable medium. In this case, the medium may continuously store a program executable by a computer or temporarily store the program for execution or download. In addition, the medium may be various recording means or storage means in the form of a single or combined hardware, but is not limited to a medium directly connected to a certain computer system, and may be distributed on a network. Examples of the medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical recording media such as CD-ROM and DVD, magneto-optical media such as floptical disks, and ROM, RAM, flash memory, etc. configured to store program instructions. In addition, examples of other media include recording media or storage media managed by an app store that distributes applications, a site that supplies or distributes various other software, and a server.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with limited examples and drawings, those skilled in the art can make various modifications and variations from the above description. For example, the described techniques may be performed in an order different from the method described, and/or components of the described system, structure, device, circuit, etc. may be combined or combined in a different form than the method described, or other components may be used. Or even if it is replaced or substituted by equivalents, appropriate results can be achieved.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다. Therefore, other implementations, other embodiments, and equivalents of the claims are within the scope of the following claims.

Claims (20)

전자 장치(electronic device)에 있어서,
디스플레이;
통신 회로;
복수의 인스트럭션들을 저장하도록 구성된 메모리; 및
상기 디스플레이, 상기 통신 회로 및 상기 메모리와 작동적으로 결합된 프로세서를 포함하고, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 통신 회로에 의해 연결된 네트워크를 따라 상기 전자 장치와 구별되는 제1 외부 전자 장치에 액세스하여, 상기 전자 장치에서 실행되는 어플리케이션과 관련된 제1 화면을 제공하는 동안, 상기 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하고;
상기 제2 화면을 표시하는 동안, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하기 위한 제1 입력을 수신하고;
상기 제1 입력을 수신하는 것에 응답하여, 상기 네트워크 내에서, 상기 제1 외부 전자 장치와 구별되는 제2 외부 전자 장치로부터 제공되고, 상기 제1 외부 전자 장치의 상기 네트워크 내에서의 위치를 이용하여 상기 제1 외부 전자 장치에 액세스하였는지 여부를 식별하고;
상기 위치를 이용하여 상기 제1 외부 전자 장치에 액세스한 제1 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하고; 및
상기 제1 상태와 구별되는 제2 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭하는 전자 장치.
In an electronic device,
display;
communication circuit;
a memory configured to store a plurality of instructions; and
a processor operatively coupled with the display, the communication circuitry, and the memory, wherein the processor, when executing the plurality of instructions:
While accessing a first external electronic device distinct from the electronic device along a network connected by the communication circuit and providing a first screen related to an application running on the electronic device, the first screen and the first screen are displayed on the display. display a distinct second screen;
receiving a first input for switching from the second screen to the first screen while displaying the second screen;
In response to receiving the first input, provided from a second external electronic device different from the first external electronic device within the network, using a location of the first external electronic device within the network identify whether the first external electronic device is accessed;
In a first state in which the first external electronic device is accessed using the location, switching from the second screen to the first screen in response to receiving the first input; and
In a second state distinct from the first state, requesting a second input distinct from the first screen and distinct from the first input from the second screen in response to receiving the first input. An electronic device that switches to a third screen.
제1항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 제3 화면으로 스위칭하는 것에 응답하여, 상기 전자 장치의 상태를, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로 스위칭하는 전자 장치.
According to claim 1,
The processor, when executing the plurality of instructions,
In response to switching to the third screen, the electronic device switches a state of the electronic device to a locked state in which execution of other functions except for one or more designated functions among all of a plurality of functions available in the electronic device is restricted. Device.
제2항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 제3 화면에 기반하여, 상기 제1 입력을 제공한 사용자가 지정된 사용자에 대응하는지 여부를 식별하기 위한 상기 제2 입력을 획득하고; 및
상기 제2 입력에 기반하여, 상기 사용자가 상기 지정된 사용자에 대응함을 식별하는 것에 응답하여, 상기 잠금 상태와 구별되는 다른 상태로 스위칭하는 전자 장치.
According to claim 2,
The processor, when executing the plurality of instructions,
based on the third screen, obtain the second input for identifying whether a user who provided the first input corresponds to a designated user; and
An electronic device that switches to another state distinct from the locked state in response to identifying that the user corresponds to the designated user based on the second input.
제1항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 제3 화면으로 스위칭하는 것에 응답하여, 상기 제1 외부 전자 장치로 상기 제1 화면을 제공하는 것을 적어도 일시적으로 중단(cease at least temporarily)하는 전자 장치.
According to claim 1,
The processor, when executing the plurality of instructions,
In response to switching to the third screen, the electronic device at least temporarily suspends providing the first screen to the first external electronic device.
제4항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 제1 외부 전자 장치로, 상기 제3 화면이 상기 전자 장치에서 표시됨을 나타내는 제4 화면의 표시를 요청하는 전자 장치.
According to claim 4,
The processor, when executing the plurality of instructions,
An electronic device requesting display of a fourth screen indicating that the third screen is displayed on the electronic device, by the first external electronic device.
제1항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 네트워크와 구별되는 다른 네트워크를 통하여 상기 제1 외부 전자 장치를 식별하는 것에 응답하여, 상기 제2 상태에서, 상기 제3 화면 및 상기 제1 화면 중에서 상기 제1 화면으로 스위칭하는 전자 장치.
According to claim 1,
The processor, when executing the plurality of instructions,
An electronic device that switches to the first screen among the third screen and the first screen in the second state in response to identifying the first external electronic device through another network distinct from the network.
제1항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 제2 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제1 입력을 수신하기 이전에, 상기 전자 장치의 상태가, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로부터, 상기 잠금 상태와 구별되는 다른 상태로 전환된 시점을 식별하고,
상기 식별된 시점 및 상기 제1 입력을 수신한 시점의 차이가 지정된 임계치 미만임을 식별하는 것에 응답하여, 상기 제3 화면으로 스위칭하는 것을 중단하고, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 전자 장치.
According to claim 1,
The processor, when executing the plurality of instructions,
In response to receiving the first input in the second state, prior to receiving the first input, a state of the electronic device determines one or more designated functions among all of a plurality of functions available in the electronic device. Identifying a time point of transition from a locked state that restricts the execution of other functions except for the locked state to another state distinct from the locked state;
In response to identifying that the difference between the identified time point and the time point at which the first input is received is less than a specified threshold, stopping switching to the third screen and switching from the second screen to the first screen Device.
제1항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 제2 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 전자 장치에서 지정된 사용자와 관련된 인증이 수행된 제1 시점 및 상기 제1 외부 전자 장치에서 상기 지정된 사용자와 관련된 인증이 수행된 제2 시점을 식별하고; 및
상기 제1 시점이 제2 시점 이후임을 식별하는 것에 응답하여, 상기 제3 화면으로 스위칭하는 것을 중단하고, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 전자 장치.
According to claim 1,
The processor, when executing the plurality of instructions,
In response to receiving the first input in the second state, a first point in time when authentication related to the specified user is performed in the electronic device and a second point in time when authentication related to the specified user is performed in the first external electronic device. identify a point in time; and
In response to identifying that the first time point is after the second time point, the electronic device stops switching to the third screen and switches from the second screen to the first screen.
제1항에 있어서,
상기 제1 상태는,
상기 제2 외부 전자 장치로부터 제공되고, 상기 제1 외부 전자 장치에 할당된 IP 주소에 기반하여, 상기 제1 외부 전자 장치와 직접적으로(directly) 액세스하는 상태에 대응하는, 전자 장치.
According to claim 1,
The first state,
Corresponding to a state of directly accessing the first external electronic device based on an IP address provided from the second external electronic device and allocated to the first external electronic device.
제9항에 있어서,
상기 제2 상태는,
상기 제2 외부 전자 장치와 구별되는 제3 외부 전자 장치를 이용하여, 상기 제1 외부 전자 장치에 할당된 IP 주소와 구별되는 다른 주소에 기반하여, 상기 제1 외부 전자 장치에 액세스하는 상태에 대응하는, 전자 장치.
According to claim 9,
The second state,
Corresponds to a state of accessing the first external electronic device by using a third external electronic device distinct from the second external electronic device, based on an address different from the IP address assigned to the first external electronic device to do, electronic devices.
전자 장치(electronic device)에 있어서,
디스플레이;
통신 회로;
복수의 인스트럭션들을 저장하도록 구성된 메모리;
상기 디스플레이, 상기 통신 회로 및 상기 메모리와 작동적으로 결합된 프로세서를 포함하고, 상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 통신 회로를 통하여 다른 전자 장치로, 상기 전자 장치에서 실행되고 있는 하나 이상의 어플리케이션들에 기반하는 제1 화면을 표시하는 동안, 상기 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하고;
상기 제2 화면을 표시하는 상태에서, 상기 제1 화면으로 스위칭 하기 위한 제1 입력을 수신하고;
상기 디스플레이의 제1 부분에 제1 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제1 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하고; 및
상기 제1 부분에 상기 제1 네트워크와 구별되는 제2 네트워크를 통하여 상기 다른 전자 장치와 통신함을 나타내는 제2 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭하는 전자 장치.
In an electronic device,
display;
communication circuit;
a memory configured to store a plurality of instructions;
a processor operatively coupled with the display, the communication circuitry, and the memory, wherein the processor, when executing the plurality of instructions:
displaying a second screen distinct from the first screen on the display to another electronic device through the communication circuit while displaying a first screen based on one or more applications running on the electronic device;
receiving a first input for switching to the first screen while the second screen is displayed;
In response to receiving the first input while displaying a first visual object representing communication with the other electronic device through a first network on the first portion of the display, the first screen from the second screen switch to; and
In response to receiving the first input in a state in which a second visual object representing communication with the other electronic device is displayed on the first portion through a second network distinct from the first network, the second screen , switching to a third screen that is distinct from the first screen and requests a second input that is distinct from the first input.
제11항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 제3 화면으로 스위칭한 이후, 상기 전자 장치의 사용자를 인증한 결과에 적어도 기반하여, 상기 제3 화면과 구별되는 다른 화면으로 전환하는 전자 장치.
According to claim 11,
The processor, when executing the plurality of instructions,
After switching to the third screen, the electronic device switches to another screen distinct from the third screen, based at least on a result of authenticating the user of the electronic device.
제11항에 있어서,
상기 프로세서는, 상기 복수의 인스트럭션들을 실행할 시에,
상기 제3 화면으로 스위칭하는 것에 응답하여, 상기 전자 장치의 상태를, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로 스위칭하는 전자 장치.
According to claim 11,
The processor, when executing the plurality of instructions,
In response to switching to the third screen, the electronic device switches a state of the electronic device to a locked state in which execution of other functions except for one or more designated functions among all of a plurality of functions available in the electronic device is restricted. Device.
제11항에 있어서,
상기 제1 네트워크를 통하여 상기 다른 전자 장치와 통신하는 상태는, 상기 다른 전자 장치가 연결된 액세스 포인트(access point)에 연결된 상태를 포함하는 전자 장치.
According to claim 11,
The state of communicating with the other electronic device through the first network includes a state of being connected to an access point to which the other electronic device is connected.
제11항에 있어서,
상기 제2 시각적 객체를 표시하는 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 전자 장치에서 지정된 사용자와 관련된 인증이 수행된 제1 시점 및 상기 다른 전자 장치에서 상기 지정된 사용자와 관련된 인증이 수행된 제2 시점을 식별하고; 및
상기 제1 시점이 상기 제2 시점 이후임을 식별하는 것에 응답하여, 상기 제3 화면으로 스위칭하는 것을 중단하고, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 전자 장치.
According to claim 11,
In response to receiving the first input while displaying the second visual object, a first point in time when authentication related to the specified user is performed in the electronic device and authentication related to the specified user is performed in the other electronic device identify a second time point; and
In response to identifying that the first time point is after the second time point, the electronic device stops switching to the third screen and switches from the second screen to the first screen.
전자 장치의 방법에 있어서,
상기 전자 장치의 통신 회로에 의해 연결된 네트워크를 따라 상기 전자 장치와 구별되는 제1 외부 전자 장치에 액세스하여, 상기 전자 장치에서 실행되는 어플리케이션과 관련된 제1 화면을 제공하는 동안, 상기 전자 장치의 디스플레이 상에 상기 제1 화면과 구별되는 제2 화면을 표시하는 동작;
상기 제2 화면을 표시하는 동안, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하기 위한 제1 입력을 수신하는 동작;
상기 제1 입력을 수신하는 것에 응답하여, 상기 네트워크 내에서, 상기 제1 외부 전자 장치와 구별되는 제2 외부 전자 장치로부터 제공되고, 상기 제1 외부 전자 장치와 상기 네트워크 내에서의 위치를 이용하여 상기 제1 외부 전자 장치에 액세스하였는지 여부를 식별하는 동작;
상기 위치를 이용하여 상기 제1 외부 전자 장치에 액세스한 제1 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 동작; 및
상기 제1 상태와 구별되는 제2 상태에서, 상기 제1 입력을 수신하는 것에 응답하여, 상기 제2 화면으로부터, 상기 제1 화면과 구별되고, 상기 제1 입력과 구별되는 제2 입력을 요청하는 제3 화면으로 스위칭하는 동작을 포함하는 방법.
In the method of electronic device,
While accessing a first external electronic device distinct from the electronic device along a network connected by a communication circuit of the electronic device and providing a first screen related to an application running on the electronic device, on the display of the electronic device displaying a second screen distinct from the first screen on the screen;
receiving a first input for switching from the second screen to the first screen while displaying the second screen;
In response to receiving the first input, it is provided from a second external electronic device that is different from the first external electronic device within the network, and uses the location of the first external electronic device and the network identifying whether or not the first external electronic device has been accessed;
switching from the second screen to the first screen in response to receiving the first input in a first state in which the first external electronic device is accessed using the location; and
In a second state distinct from the first state, requesting a second input distinct from the first screen and distinct from the first input from the second screen in response to receiving the first input. A method comprising switching to a third screen.
제16항에 있어서,
상기 제3 화면으로 스위칭하는 동작은,
상기 전자 장치의 상태를, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로 스위칭하는 동작을 더 포함하는 방법.
According to claim 16,
The operation of switching to the third screen,
and switching the state of the electronic device to a locked state that restricts execution of other functions except for one or more designated functions among all of a plurality of functions available in the electronic device.
제17항에 있어서,
상기 제3 화면으로 스위칭하는 동작은,
상기 제3 화면에 기반하여, 상기 제1 입력을 제공한 사용자가 지정된 사용자에 대응하는지 여부를 식별하기 위한 상기 제2 입력을 획득하는 동작; 및
상기 제2 입력에 기반하여, 상기 사용자가 상기 지정된 사용자에 대응함을 식별하는 것에 응답하여, 상기 잠금 상태와 구별되는 다른 상태로 스위칭하는 동작을 더 포함하는 방법.
According to claim 17,
The operation of switching to the third screen,
obtaining the second input for identifying whether the user who provided the first input corresponds to a designated user, based on the third screen; and
and switching to another state distinct from the locked state in response to identifying that the user corresponds to the designated user based on the second input.
제17항에 있어서,
상기 제3 화면으로 스위칭하는 동작은,
상기 제3 화면으로 스위칭하는 것에 응답하여, 상기 제1 외부 전자 장치로 상기 제1 화면을 제공하는 것을 적어도 일시적으로 중단하는 동작을 더 포함하는 방법.
According to claim 17,
The operation of switching to the third screen,
In response to switching to the third screen, at least temporarily stopping providing the first screen to the first external electronic device.
제16항에 있어서,
상기 제2 상태에서 상기 제1 입력을 수신하는 것에 응답하여, 상기 제1 입력을 수신하기 이전에, 상기 전자 장치의 상태가, 상기 전자 장치 내에서 이용 가능한 복수의 기능들 중 전부 중 하나 이상의 지정된 기능들을 제외한 다른 기능들의 실행을 제한하는 잠금 상태로부터, 상기 잠금 상태와 구별되는 다른 상태로 전환된 시점을 식별하는 동작; 및
상기 식별된 시점 및 상기 제1 입력을 수신한 시점의 차이가 지정된 임계치 미만임을 식별하는 것에 응답하여, 상기 제3 화면으로 스위칭하는 것을 중단하고, 상기 제2 화면으로부터 상기 제1 화면으로 스위칭하는 동작을 더 포함하는 방법.
According to claim 16,
In response to receiving the first input in the second state, prior to receiving the first input, a state of the electronic device is determined by one or more of all of a plurality of functions available in the electronic device. identifying a time point at which a transition is made from a locked state in which execution of functions other than the functions are restricted to another state distinct from the locked state; and
Stopping switching to the third screen and switching from the second screen to the first screen in response to identifying that the difference between the identified time point and the time point at which the first input is received is less than a specified threshold How to include more.
KR1020210131976A 2021-09-18 2021-10-05 Electronic device for controlling displaying of screen to be shared based on user authentication and method thereof KR20230041935A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210125320 2021-09-18
KR20210125320 2021-09-18

Publications (1)

Publication Number Publication Date
KR20230041935A true KR20230041935A (en) 2023-03-27

Family

ID=85799734

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210131976A KR20230041935A (en) 2021-09-18 2021-10-05 Electronic device for controlling displaying of screen to be shared based on user authentication and method thereof

Country Status (1)

Country Link
KR (1) KR20230041935A (en)

Similar Documents

Publication Publication Date Title
KR102657527B1 (en) Method for setting of a device based on information associated with account and electronic device thereof
US20230353555A1 (en) Iot device and method for onboarding iot device to server
KR102514692B1 (en) Electronic device suporting multiple wireless communication protocols and method therefor
KR20220012042A (en) Edge computing system and method
KR20210136794A (en) Electronic device establishing data session with network slice and method for operating thereof
KR20190101831A (en) Electronic device and method for connecting local communication
KR20220142774A (en) Electronic device and method for performing cloud onboarding of external electronic device
KR20220096725A (en) Electronic device performing wireless communication with accessary device and operating method thereof
US12074787B2 (en) Electronic device forming network slice and data session, and method for operating same
US12126998B2 (en) Electronic device for performing network management operation and operating method thereof
KR20230041935A (en) Electronic device for controlling displaying of screen to be shared based on user authentication and method thereof
US12107724B2 (en) Electronic device for managing network configuration information and operating method thereof
KR20220147458A (en) Electronic device for transmitting and/or receiving device identification information and operating method thereof
KR20220164313A (en) Electronic device and method for performing communication connection with external electronic device
KR20230012392A (en) Electronic device and method for connecting external electronic device using the same
US12206695B2 (en) Method of processing network security policy of electronic device
EP4210282A1 (en) Electronic device, and method for determining provisioning device in edge computing network
US20240129300A1 (en) Remote authorization method and electronic device for performing same method
WO2023075425A1 (en) Electronic device for determining application which controls external electronic device, and operation method thereof
US20220329615A1 (en) Method of processing network security policy of electronic device
US20240137349A1 (en) Electronic device and method for uploading data of external electronic device in electronic device
WO2022191540A1 (en) Electronic device for sharing application
KR20230157023A (en) Electronic device for controlling internet of things device and method of operating the same
KR20240062866A (en) Electronic device and method for connecting with an external electronic device in a network
KR20220139638A (en) Processing method of network security policy in electric device

Legal Events

Date Code Title Description
A201 Request for examination