KR20180025763A - Method and apparatus for providing miracast - Google Patents

Method and apparatus for providing miracast Download PDF

Info

Publication number
KR20180025763A
KR20180025763A KR1020160112874A KR20160112874A KR20180025763A KR 20180025763 A KR20180025763 A KR 20180025763A KR 1020160112874 A KR1020160112874 A KR 1020160112874A KR 20160112874 A KR20160112874 A KR 20160112874A KR 20180025763 A KR20180025763 A KR 20180025763A
Authority
KR
South Korea
Prior art keywords
electronic device
display
external electronic
information
various embodiments
Prior art date
Application number
KR1020160112874A
Other languages
Korean (ko)
Other versions
KR102614044B1 (en
Inventor
김민기
김태형
이명석
이영록
최용하
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020160112874A priority Critical patent/KR102614044B1/en
Publication of KR20180025763A publication Critical patent/KR20180025763A/en
Application granted granted Critical
Publication of KR102614044B1 publication Critical patent/KR102614044B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

According to various embodiments of the present invention, a method and an apparatus for providing a miracast service (function) in an electronic apparatus are disclosed. According to various embodiments of the present invention, the electronic apparatus comprises: a wireless communication unit for connecting miracast, and transmitting and receiving data; a display for displaying the data; and a processor for being functionally connected to the wireless communication unit and the display, and configured to obtain apparatus information from an external electronic apparatus connected to the miracast, to determine a display type and resolution of the external electronic apparatus based on the apparatus information, to generate data corresponding to a vertical display based on the resolution when the external electronic apparatus is the vertical display, and to transmit the data to the external electronic apparatus by using the wireless communication unit. Various embodiments are possible.

Description

미라캐스트 제공 장치 및 방법{METHOD AND APPARATUS FOR PROVIDING MIRACAST}METHOD AND APPARATUS FOR PROVIDING MIRACAST < RTI ID = 0.0 >

본 발명의 다양한 실시 예들은 전자 장치에서 미라캐스트(miracast) 서비스(기능)를 제공하는 방법 및 장치에 관하여 개시한다.Various embodiments of the present invention disclose methods and apparatus for providing a miracast service (function) in an electronic device.

최근 디지털 기술의 발달과 함께 이동통신 단말기, 스마트폰(smart phone), 태블릿(tablet) PC(personal computer), 전자수첩, 노트북(notebook), PDA(personal digital assistant), 웨어러블 장치(wearable device) 등과 같은 다양한 유형의 전자 장치가 널리 사용되고 있다.BACKGROUND ART Recently, with the development of digital technology, a mobile communication terminal, a smart phone, a tablet personal computer, an electronic notebook, a notebook, a personal digital assistant (PDA), a wearable device Various types of electronic devices are widely used.

전자 장치는, 복합적인 기능들을 갖춘 멀티미디어 기기(multimedia player) 형태로 구현되고 있다. 예를 들면, 전자 장치는 음성 통화 및 영상 통화 등과 같은 통화 기능, SMS(short message service)/MMS(multimedia message service) 및 전자메일(e-mail) 등과 같은 메시지 송수신 기능, 무선(예: 블루투스, 와이파이(Wi-Fi, wireless fidelity) 등) 통신 기능, 유선(예: HDMI, high definition multimedia interface) 통신 기능, 촬영 기능, 방송 재생 기능, 동영상 재생 기능, 음악 재생 기능, 인터넷 기능, 메신저 기능, 게임 기능, 또는 소셜 네트워크 서비스(SNS, social networking service) 기능 등을 제공할 수 있다. The electronic device is implemented in the form of a multimedia player having complex functions. For example, the electronic device can be used for communication functions such as voice call and video call, message sending and receiving functions such as SMS (short message service) / MMS (multimedia message service) and e-mail (e-mail) (Eg, HDMI, high definition multimedia interface) communication function, shooting function, broadcast playback function, video playback function, music playback function, internet function, messenger function, game Function, or a social networking service (SNS) function.

최근에는, 전자 장치와 외부 전자 장치(예: 디스플레이가 가능한 장치로, 일 예로, 텔레비전, 모니터 등)를 무선으로 연결(접속)하는 기술(예: 미라캐스트(miracast))을 이용한 서비스(또는 기능)의 사용이 증가하고 있다. 예를 들면, 사용자는 전자 장치에 표시된 화면을, 전자 장치가 무선으로 연결된 외부 전자 장치(예: 텔레비전, 모니터 등)의 디스플레이를 통해 표시하여 공유할 수 있다. 이러한 서비스(또는 기능)는 전자 장치의 제조사에 따라 미라캐스트, 스크린 미러링(screen mirroring), 에어플레이(airplay) 또는 WiDi(wireless display) 등과 같은 명칭으로 제공되고 있다.In recent years, there has been a demand for services (or functions) using technologies (e.g., miracast) that wirelessly connect (connect) an electronic device to an external electronic device (e.g., a displayable device such as a television, a monitor, ) Have been increasing. For example, a user can display and share a screen displayed on an electronic device through a display of an external electronic device (e.g., a television, a monitor, etc.) to which the electronic device is wirelessly connected. These services (or functions) are provided under the names of miracast, screen mirroring, airplay or WiDi (wireless display) depending on the manufacturer of the electronic device.

한편, 현재 미라캐스트에 의한 서비스(또는 기능)는, 외부 전자 장치(또는 디스플레이)가 가로 방향(landscape orientation)인 경우에 특화되어 있다. 따라서 현재 미라캐스트에서는 세로 방향(portrait orientation)의 디스플레이에 대해서는 지원되지 않거나, 또는 전자 장치의 데이터가 회전되어 제공될 수 있다. 예를 들면, 미라캐스트에서는 외부 전자 장치의 가로 방향의 해상도(resolution)(예: 1280x1024, 1920x1080, 2560x1440 등)를 기준으로 전자 장치로부터 전송되는 데이터가 디스플레이에 표시될 수 있다. 따라서 외부 전자 장치가 세로 방향의 디스플레이 형태인 경우, 데이터는 가로 방향의 해상도를 기준으로 회전되어 제공될 수 있다. 예를 들면, 전자 장치의 세로 레이아웃(portrait layout)의 데이터가 디스플레이를 통해 90도(또는 -90도) 회전되어 세로 방향으로 제공되거나, 전자 장치의 가로 레이아웃(landscape layout)의 데이터가 디스플레이를 통해 90도(또는 -90도) 회전되어 가로 방향으로 제공될 수 있다. 이를 보정하기 위하여, 종래에서는 데이터를 수신하는 외부 전자 장치(예: 싱크 장치(sink device))에서, 회전된 데이터를 다시 보정(예: 역회전)하는 처리(예: 이미지 프로세싱)를 통해, 전자 장치에 표시되는 레이아웃과 동일한 형태의 레이아웃을 가지도록 하고 있다. 하지만, 이는 외부 전자 장치가 반드시 이미지 프로세싱을 위한 기능을 지원해야 가능할 수 있다.On the other hand, the service (or function) by the current miracle cast is specialized when the external electronic device (or display) is in the landscape orientation. Therefore, in the current mirror cast, it is not supported for portrait orientation display, or data of the electronic device can be provided rotated. For example, in a mirror cast, data transmitted from an electronic device based on the resolution (e.g., 1280x1024, 1920x1080, 2560x1440, etc.) of the lateral direction of the external electronic device may be displayed on the display. Therefore, when the external electronic device is in the form of a portrait display, the data can be provided rotated in relation to the resolution in the horizontal direction. For example, the data of the portrait layout of the electronic device is rotated 90 degrees (or -90 degrees) through the display in the longitudinal direction, or the data of the landscape layout of the electronic device is displayed 90 degrees (or -90 degrees) to be provided in the transverse direction. In order to compensate for this, it is conventionally necessary to perform a correction (for example, image processing) in the external electronic device (for example, a sink device) And has the same layout as the layout displayed on the apparatus. However, this may be possible if the external electronic device necessarily supports the function for image processing.

다양한 실시 예들에서는, 전자 장치(예: 소스 장치)에서 외부 전자 장치(예: 싱크 장치)의 세로 방향의 디스플레이에 대응하는 공유 데이터(예: 화면 데이터, 재생 데이터)를 생성하여, 외부 전자 장치에 전송할 수 있는 방법 및 장치에 관하여 개시한다.In various embodiments, shared data (e.g., screen data, playback data) corresponding to a portrait display of an external electronic device (e.g., sink device) in an electronic device (e.g., a source device) A method and apparatus capable of transmitting data are disclosed.

다양한 실시 예들에서는, 전자 장치에서 외부 전자 장치의 디스플레이 타입(예: 세로 방향이 기본으로 고정된 세로형 디스플레이, 기본이 가로 방향인 디스플레이를 세로 방향으로 회전하여 사용되는 디스플레이)에 대응하여, 공유 데이터를 생성할 수 있는 방법 및 장치에 관하여 개시한다.In various embodiments, corresponding to the display type of the external electronic device in the electronic device (e.g., a vertical display in which the longitudinal direction is fixed on a basis of a base, a display in which the base is used by rotating the display in the vertical direction) And a method and an apparatus capable of generating a signal.

다양한 실시 예들에서는, 전자 장치에서 외부 전자 장치에 공유 데이터를 전송할 때, 특정 정보(예: 동작 모드 정보 또는 컨텐츠 방향 정보)의 추가 전송 없이, 외부 전자 장치의 디스플레이 타입에 대응하는 공유 데이터를 생성하여 전송할 수 있는 방법 및 장치에 관하여 개시한다.In various embodiments, when transferring shared data from an electronic device to an external electronic device, shared data corresponding to the display type of the external electronic device is generated, without further transmission of specific information (e.g., operating mode information or content direction information) A method and apparatus capable of transmitting data are disclosed.

다양한 실시 예들에서는, 외부 전자 장치에서 동작 모드에 따른 사용자 입력 백 채널(UIBC, user input back channel)에 대한 처리를 다르게 수행하지 않고, 인식된 좌표에 기반하여 전자 장치의 제어에 관련된 제어 메시지를 생성하여 전송할 수 있는 방법 및 장치에 관하여 개시한다.In various embodiments, a control message related to control of the electronic device is generated based on the recognized coordinates, without performing different processing on the user input back channel (UIBC) according to the operation mode in the external electronic device A method and an apparatus capable of transmitting data to and from the apparatus.

본 발명의 다양한 실시 예들에 따른 전자 장치는, 미라캐스트(miracast) 연결 및 데이터 송수신을 위한 무선 통신부, 데이터 표시를 위한 디스플레이, 및 상기 무선 통신부 및 상기 디스플레이와 기능적으로 연결된 프로세서를 포함하고, 상기 프로세서는, 미라캐스트 연결된 외부 전자 장치로부터 장치 정보를 획득하고, 상기 장치 정보에 기반하여 상기 외부 전자 장치의 해상도 및 디스플레이 타입을 판단하고, 상기 외부 전자 장치가 세로형 디스플레이이면, 세로형 디스플레이에 대응하는 데이터를 상기 해상도에 기반하여 생성하고, 및 상기 무선 통신부를 이용하여, 상기 데이터를 상기 외부 전자 장치에 전송하도록 구성할 수 있다.An electronic device according to various embodiments of the present invention includes a wireless communication unit for a miracast connection and data transmission and reception, a display for data display, and a processor functionally coupled to the wireless communication unit and the display, Determines the resolution and display type of the external electronic device based on the device information, and if the external electronic device is a vertical display, Generating data based on the resolution, and using the wireless communication unit to transmit the data to the external electronic device.

본 발명의 다양한 실시 예들에 따른 전자 장치의 동작 방법은, 미라캐스트 연결된 외부 전자 장치로부터 장치 정보를 획득하는 과정, 상기 장치 정보에 기반하여 상기 외부 전자 장치의 해상도 및 디스플레이 타입을 판단하는 과정, 상기 외부 전자 장치가 세로형 디스플레이이면, 세로형 디스플레이에 대응하는 데이터를 상기 해상도에 기반하여 생성하는 과정, 및 상기 무선 통신부를 이용하여, 상기 데이터를 상기 외부 전자 장치에 전송하는 과정을 포함할 수 있다.A method of operating an electronic device according to various embodiments of the present invention includes: acquiring device information from a mirror-connected external electronic device; determining a resolution and a display type of the external electronic device based on the device information; Generating the data corresponding to the vertical display based on the resolution when the external electronic device is a vertical display and transmitting the data to the external electronic device using the wireless communication unit .

상기와 같은 과제를 해결하기 위하여 본 발명의 다양한 실시 예들에서는, 상기 방법을 프로세서에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 판독 가능한 기록 매체를 포함할 수 있다.In order to solve the above problems, various embodiments of the present invention may include a computer-readable recording medium recording a program for causing the processor to execute the method.

다양한 실시 예들에 따른 전자 장치 및 그의 동작 방법에 따르면, 전자 장치(예: 소스 장치)에서 외부 전자 장치(예: 싱크 장치)의 세로 방향의 디스플레이에 대응하는 공유 데이터(예: 화면 데이터, 재생 데이터)를 생성하여 외부 전자 장치에 전송할 수 있다. 예를 들면, 다양한 실시 예들에 따르면, 전자 장치에 의해 외부 전자 장치의 디스플레이 타입(예: 세로 방향이 기본으로 고정된 세로형 디스플레이, 기본이 가로 방향인 디스플레이를 세로 방향으로 회전하여 사용되는 디스플레이)에 대응하여, 공유 데이터를 생성할 수 있다. 따라서, 외부 전자 장치는 수신된 공유 데이터에 대해 추가적인 처리(예: 공유 데이터 스케일링, 공유 데이터 회전 등) 동작 없이, 수신된 공유 데이터를 바로 표시할 수 있다. 다양한 실시 예들에 따르면, 전자 장치는 외부 전자 장치의 해상도와 디스플레이 타입에 맞추어 공유 데이터를 제공함에 따라, 외부 전자 장치에서 공유 데이터에 대한 추가 처리가 없으므로, 스케일링 또는 회전 등에 따른 화질 열화를 줄일 수 있다.According to the electronic device and its operating method according to various embodiments, shared data (e.g., screen data, playback data, etc.) corresponding to a longitudinal display of an external electronic device (e.g., a sink device) ) Can be generated and transmitted to the external electronic device. For example, according to various embodiments, a display type (e.g., a vertical display in which the longitudinal direction is fixed to the base, a display in which the base is used to rotate the display in the vertical direction in the vertical direction) The shared data can be generated. Thus, the external electronic device can immediately display the received shared data without further processing (e.g., shared data scaling, shared data rotation, etc.) on the received shared data. According to various embodiments, since the electronic device provides shared data in accordance with the resolution and display type of the external electronic device, there is no additional processing on the shared data in the external electronic device, so that image deterioration due to scaling or rotation can be reduced .

다양한 실시 예들에 따르면, 전자 장치는 외부 전자 장치에 공유 데이터를 전송할 때, 특정 정보(예: 동작 모드 정보 또는 컨텐츠 방향 정보)의 추가 전송 없이, 외부 전자 장치의 디스플레이 타입에 대응하는 공유 데이터를 생성하여 전송할 수 있다. 따라서, 전자 장치는 해상도 변경 등에 따른 처리(예: 인코더 변경(change) 등)를 수행하지 않을 수 있고, 그에 따른 전류 소모를 줄일 수 있다. 다양한 실시 예들에 따르면, 외부 전자 장치의 동작 모드에 따른 사용자 입력 백 채널(UIBC, user input back channel)에 대한 처리를 동일하게 처리함에 따라, 사용자 입력을 보다 빠르게 인식 및 처리할 수 있다. 다양한 실시 예들에 따른 전자 장치에 의해, 전자 장치의 사용성, 편의성 및 경쟁력을 향상시키는데 기여할 수 있다.According to various embodiments, the electronic device generates shared data corresponding to the display type of the external electronic device, without further transmission of specific information (e.g., operation mode information or content direction information) when transmitting the shared data to the external electronic device . Therefore, the electronic device may not perform processing (for example, encoder change, etc.) in accordance with the resolution change or the like, thereby reducing current consumption. According to various embodiments, processing of the user input back channel (UIBC) according to the operation mode of the external electronic device is processed in the same manner, so that user input can be recognized and processed more quickly. The electronic device according to various embodiments can contribute to improving usability, convenience, and competitiveness of the electronic device.

도 1은 본 발명의 다양한 실시 예들에 따른 전자 장치를 포함하는 네트워크 환경을 도시하는 도면이다.
도 2는 본 발명의 다양한 실시 예들에 따른 전자 장치의 블록도이다.
도 3은 본 발명의 다양한 실시 예들에 따른 프로그램 모듈의 블록도이다.
도 4는 본 발명의 다양한 실시 예들에 따른 전자 장치들의 예를 설명하기 위해 도시하는 도면들이다.
도 5는 본 발명의 다양한 실시 예들에 따른 전자 장치들 간에 미라캐스트를 이용한 서비스를 제공하는 예를 설명하기 위해 도시하는 도면이다.
도 6은 본 발명의 다양한 실시 예들에 따른 전자 장치의 미라캐스트 서비스를 제공하는 동작 방법을 도시하는 흐름도이다.
도 7 및 도 8은 본 발명의 다양한 실시 예들에 따른 미라캐스트 서비스의 동작 시나리오의 일 예를 설명하기 위해 도시하는 도면들이다.
도 9 및 도 10은 본 발명의 다양한 실시 예들에 따른 미라캐스트 서비스의 동작 시나리오의 다른 예를 설명하기 위해 도시하는 도면들이다.
도 11은 본 발명의 다양한 실시 예들에 따른 전자 장치의 미라캐스트 서비스를 제공하는 동작 방법을 도시하는 흐름도이다.
도 12는 본 발명의 다양한 실시 예들에 따른 미라캐스트 서비스 시 사용자 입력을 처리하는 동작 예를 설명하기 위해 도시하는 도면이다.
도 13은 본 발명의 다양한 실시 예들에 따른 전자 장치에서 사용자 입력을 처리하는 동작 방법을 도시하는 흐름도이다.
도 14는 본 발명의 다양한 실시 예들에 따른 전자 장치에서 사용자 입력을 처리하는 동작 방법을 도시하는 흐름도이다.
도 15 및 도 16은 본 발명의 다양한 실시 예들에 따른 미라캐스트 서비스 시 사용자 입력을 처리하는 동작 시나리오를 설명하기 위해 도시하는 도면들이다.
1 is a diagram illustrating a network environment including an electronic device according to various embodiments of the present invention.
2 is a block diagram of an electronic device in accordance with various embodiments of the present invention.
3 is a block diagram of a program module in accordance with various embodiments of the present invention.
4 is a diagram illustrating an example of electronic devices according to various embodiments of the present invention.
5 is a diagram illustrating an example of providing a service using miracast among electronic devices according to various embodiments of the present invention.
Figure 6 is a flow diagram illustrating an operational method for providing a mirror cast service of an electronic device in accordance with various embodiments of the present invention.
7 and 8 are diagrams illustrating an example of an operation scenario of a mirror cast service according to various embodiments of the present invention.
9 and 10 are diagrams illustrating another example of an operation scenario of a miracast service according to various embodiments of the present invention.
11 is a flow chart illustrating an operational method of providing a mirror cast service of an electronic device in accordance with various embodiments of the present invention.
12 is a diagram illustrating an exemplary operation for processing user input in a mirror cast service in accordance with various embodiments of the present invention.
13 is a flow diagram illustrating an operational method for processing user input in an electronic device in accordance with various embodiments of the present invention.
14 is a flow chart illustrating an operational method for processing user input in an electronic device in accordance with various embodiments of the present invention.
15 and 16 are diagrams illustrating operation scenarios for handling user input in a mirror cast service in accordance with various embodiments of the present invention.

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

본 문서에서, "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, 하드웨어(hardware)적 또는 소프트웨어(software)적으로 "~에 적합한", "~하는 능력을 가지는", "~하도록 변경된", "~하도록 만들어진", "~를 할 수 있는", 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다. 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU(central processing unit) 또는 AP(application processor))를 의미할 수 있다. In this document, the term "configured to" as used herein is intended to encompass all types of information, including, but not limited to, "hardware" or "software" Quot ;, " modified to ", "made to be "," capable of ", or "designed to" interchangeably. In some situations, the expression "a device configured to" may mean that the device can "do " with other devices or components. For example, a processor configured (or configured) to perform the phrases "A, B, and C" may be implemented by executing one or more software programs stored in a memory device or a dedicated processor (e.g., an embedded processor) And a generic-purpose processor (e.g., a central processing unit (CPU) or an application processor (AP)) capable of performing the corresponding operations.

본 문서의 다양한 실시 예들에 따른 전자 장치는, 예를 들면, 스마트폰, 태블릿 PC, 이동 전화기, 영상 전화기, 전자책 리더기, 데스크탑 PC, 랩탑 PC, 넷북 컴퓨터, 워크스테이션, 서버, PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 의료기기, 카메라, 또는 웨어러블 장치(wearable device) 중 적어도 하나를 포함할 수 있다. 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(HMD(head-mounted-device)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드(skin pad) 또는 문신), 또는 생체 이식형 회로(implantable circuit) 중 적어도 하나를 포함할 수 있다. 어떤 실시 예들에서, 전자 장치는, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스, 홈 오토매이션 컨트롤 패널, 보안 컨트롤 패널, 미디어 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.Electronic devices in accordance with various embodiments of the present document may be used in various applications such as, for example, smart phones, tablet PCs, mobile phones, videophones, electronic book readers, desktop PCs, laptop PCs, netbook computers, workstations, servers, personal digital assistants an assistant, a portable multimedia player (PMP), an MP3 player, a medical device, a camera, or a wearable device. Wearable devices may be of the accessory type (e.g., watches, rings, bracelets, braces, necklaces, glasses, contact lenses or head-mounted-devices), textile or garment- (E. G., A skin pad or tattoo), or a bio-implantable circuit. In some embodiments, the electronic device may include at least one of a television, a DVD (eg, Samsung HomeSync , Apple TV), digital video disc player, audio, refrigerator, air conditioner, vacuum cleaner, oven, microwave oven, washing machine, air purifier, set top box, home automation control panel, TM , or Google TV TM ), a game console (e.g., Xbox TM , PlayStation TM ), an electronic dictionary, an electronic key, a camcorder, or an electronic frame.

다른 실시 예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(예: 혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션 장치, 위성 항법 시스템(GNSS, global navigation satellite system), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 드론(drone), 금융 기관의 ATM(automated teller machine), 상점의 POS(point of sales), 또는 사물 인터넷(IoT, internet of things) 장치(예: 전구, 각종 센서, 스프링클러 장치, 화재 경보기, 온도조절기, 가로등, 토스터, 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다. 어떤 실시 예에 따르면, 전자 장치는 가구, 건물/구조물 또는 자동차의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터, 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시 예들에서, 전자 장치는 플렉서블(flexible)하거나, 또는 전술한 다양한 장치들 중 둘 이상의 조합일 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.In another embodiment, the electronic device may be used in a variety of medical devices (e.g., various portable medical measurement devices such as a blood glucose meter, a heart rate meter, a blood pressure meter, or a temperature meter), magnetic resonance angiography (MRA) A navigation system, a global navigation satellite system (GNSS), an event data recorder (EDR), a flight data recorder (FDR), an automobile infotainment device, a ship electronics Equipment such as marine navigation systems, gyro compass, avionics, security devices, head units for vehicles, industrial or home robots, drone, automated teller machines (ATMs) , Point of sale (POS) of shops, or internet items of things (eg light bulbs, sensors, sprinkler devices, fire alarms, thermostats, street lights, toasters, exercise equipment, hot water tanks,It may comprise at least one of a boiler, etc.). According to some embodiments, the electronic device may be a piece of furniture, a building / structure or part of an automobile, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (e.g., Gas, or radio wave measuring instruments, etc.). In various embodiments, the electronic device is flexible or may be a combination of two or more of the various devices described above. The electronic device according to the embodiment of the present document is not limited to the above-described devices. In this document, the term user may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).

도 1은 다양한 실시 예들에 따른 전자 장치를 포함하는 네트워크 환경을 도시하는 도면이다.1 is a diagram illustrating a network environment including an electronic device according to various embodiments.

도 1을 참조하여, 다양한 실시 예들에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 인터페이스(170)를 포함할 수 있다. 어떤 실시 예에서, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. Referring to Figure 1, in various embodiments, an electronic device 101 in a network environment 100 is described. The electronic device 101 may include a bus 110, a processor 120, a memory 130, an input / output interface 150, a display 160, and a communication interface 170. In some embodiments, the electronic device 101 may omit at least one of the components or additionally comprise other components.

버스(110)는 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 또는 데이터)을 전달하는 회로를 포함할 수 있다. The bus 110 may include circuitry to connect the components 110-170 to one another and to communicate communications (e.g., control messages or data) between the components.

프로세서(120)는, 중앙처리장치(CPU), 어플리케이션 프로세서(AP), 또는 커뮤니케이션 프로세서(CP(communication processor)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. 다양한 실시 예들에 따른 프로세서(120)의 처리(또는 제어) 동작은 후술하는 도면들을 참조하여 구체적으로 설명된다.Processor 120 may include one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processor 120 may perform computations or data processing related to, for example, control and / or communication of at least one other component of the electronic device 101. The processing (or control) operation of the processor 120 according to various embodiments is specifically described with reference to the following figures.

메모리(130)는, 휘발성 메모리(volatile memory) 및/또는 비휘발성 메모리(non-volatile memory)를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시 예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(kernel)(141), 미들웨어(middleware)(143), 어플리케이션 프로그래밍 인터페이스(API(application programming interface))(145), 및/또는 어플리케이션 프로그램(application program)(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템(OS, operating system)으로 지칭될 수 있다. The memory 130 may include volatile memory and / or non-volatile memory. Memory 130 may store instructions or data related to at least one other component of electronic device 101, for example. According to one embodiment, the memory 130 may store software and / or programs 140. The program 140 may include, for example, a kernel 141, a middleware 143, an application programming interface (API) 145, and / or an application program, (Or "application") 147 and the like. At least a portion of the kernel 141, middleware 143, or API 145 may be referred to as an operating system (OS).

메모리(130)는, 프로세서(120)에 의해 실행되는 하나 또는 그 이상의 프로그램들(one or more programs)을 저장할 수 있고, 입/출력되는 데이터들의 임시 저장을 위한 기능을 수행할 수도 있다. 다양한 실시 예들에 따라, 메모리(130)는 획득된 데이터를 저장하는 역할을 담당하며, 실시간으로 획득된 데이터는 일시적인 저장 장치(예: 버퍼)에 저장할 수 있고, 저장하기로 확정된 데이터는 오래 보관 가능한 저장 장치에 저장할 수 있다. 메모리(130)는, 다양한 실시 예들에 따른 방법을 프로세서(120)에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 판독 가능한 기록 매체를 포함할 수 있다. The memory 130 may store one or more programs executed by the processor 120 and may perform functions for temporary storage of input / output data. According to various embodiments, the memory 130 is responsible for storing the acquired data, the data acquired in real time may be stored in a temporary storage device (e.g., a buffer), and the data determined to be stored may be stored It can be stored in a storage device. The memory 130 may include a computer-readable recording medium having recorded thereon a program for causing the processor 120 to execute a method according to various embodiments.

커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다. The kernel 141 may include system resources used to execute an operation or function implemented in other programs (e.g., middleware 143, API 145, or application program 147) (E.g., bus 110, processor 120, or memory 130). The kernel 141 also provides an interface to control or manage system resources by accessing individual components of the electronic device 101 in the middleware 143, API 145, or application program 147 .

미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여하고, 상기 하나 이상의 작업 요청들을 처리할 수 있다. API(145)는 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일(file) 제어, 윈도우(window) 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(function)(예: 명령어)를 포함할 수 있다. The middleware 143 can perform an intermediary role such that the API 145 or the application program 147 can communicate with the kernel 141 to exchange data. In addition, the middleware 143 may process one or more task requests received from the application program 147 according to the priority order. For example, middleware 143 may use system resources (e.g., bus 110, processor 120, or memory 130, etc.) of electronic device 101 in at least one of application programs 147 Prioritize, and process the one or more task requests. The API 145 is an interface for the application 147 to control functions provided by the kernel 141 or the middleware 143 such as file control, window control, At least one interface or function (e.g., command) for character control and the like.

입출력 인터페이스(150)는, 예를 들면, 사용자 또는 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달하거나, 또는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 외부 기기로 출력할 수 있다. 예를 들면, 유/무선 헤드폰 포트(port), 외부 충전기 포트, 유/무선 데이터 포트, 메모리 카드(memory card) 포트, 오디오 입/출력(input/output) 포트, 비디오 입/출력 포트, 이어폰 포트 등이 입출력 인터페이스(150)에 포함될 수 있다.The input / output interface 150 may be configured to communicate commands or data entered from a user or an external device to another component (s) of the electronic device 101, ) To the user or an external device. For example, a wired / wireless headphone port, an external charger port, a wired / wireless data port, a memory card port, an audio input / output port, a video input / And the like may be included in the input / output interface 150.

디스플레이(160)는, 예를 들면, 액정 디스플레이(LCD, liquid crystal display), 발광 다이오드(LED, light emitting diode) 디스플레이, 유기 발광 다이오드(OLED, organic LED) 디스플레이, 능동형 OLED(AMOLED, active matrix OLED), 마이크로 전자기계 시스템(MEMS, micro-electromechanical systems) 디스플레이, 또는 전자종이(electronic paper) 디스플레이 등을 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 및/또는 심볼 등)를 표시할 수 있다. 디스플레이(160)는, 터치 스크린(touchscreen)을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스처, 근접, 또는 호버링 입력을 수신할 수 있다. The display 160 may be a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, an active OLED ), Micro-electromechanical systems (MEMS) displays, or electronic paper displays, and the like. Display 160 may display various content (e.g., text, images, video, icons, and / or symbols, etc.) to a user, for example. Display 160 may include a touchscreen and may receive touch, gesture, proximity, or hovering input, for example, using an electronic pen or a portion of the user's body.

디스플레이(160)는, 예를 들면, 사용자에게 시각적인 출력(visual output)을 보여줄 수 있다. 시각적 출력은 텍스트(text), 그래픽(graphic), 비디오(video)와 이들의 조합의 형태로 나타날 수 있다. 디스플레이(160)는 전자 장치(101)에서 처리되는 다양한 정보를 표시(출력)할 수 있다. 예를 들면, 디스플레이(160)는 전자 장치의 사용과 관련된 유저 인터페이스(UI, user interface) 또는 그래픽 유저 인터페이스(GUI, graphical UI)를 표시할 수 있다.Display 160 may, for example, show the user a visual output. The visual output may appear in the form of text, graphics, video, and combinations thereof. The display 160 can display (output) various information processed in the electronic device 101. [ For example, the display 160 may display a user interface (UI) or a graphical user interface (GUI) associated with use of the electronic device.

다양한 실시 예들에 따라, 디스플레이(160)는 전자 장치(101)에 의해 수행되는 동작과 관련된 다양한 UI 또는 GUI를 표시할 수 있다. 다양한 실시 예들에 따른 전자 장치(101)에서, 유저 인터페이스에 기반하여 제공하는 다양한 화면 예시들에 대해 후술하는 도면들을 참조하여 설명된다.In accordance with various embodiments, the display 160 may display various UIs or GUIs associated with operations performed by the electronic device 101. In the electronic device 101 according to various embodiments, various screen examples provided on the basis of the user interface will be described with reference to the following drawings.

통신 인터페이스(170)는, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.The communication interface 170 establishes communication between the electronic device 101 and an external device (e.g., the first external electronic device 102, the second external electronic device 104, or the server 106) . For example, communication interface 170 may be connected to network 162 via wireless or wired communication to communicate with an external device (e.g., second external electronic device 104 or server 106).

무선 통신은, 예를 들면, LTE(long term evolution), LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(wireless broadband), 또는 GSM(global system for mobile communications) 등 중 적어도 하나를 사용하는 셀룰러 통신을 포함할 수 있다. 한 실시 예에 따르면, 무선 통신은, 예를 들면, WiFi(wireless fidelity), WiGig(wireless gigabit alliance), 블루투스(Bluetooth), 블루투스 저전력(BLE, Bluetooth low energy), 지그비(Zigbee), NFC(near field communication), 자력 시큐어 트랜스미션(magnetic secure transmission), 라디오 프리퀀시(RF, radio frequency), 또는 보디 에어리어 네트워크(BAN, body area network) 중 적어도 하나를 포함할 수 있다. 한 실시 예에 따르면, 무선 통신은 GNSS를 포함할 수 있다. GNSS는, 예를 들면, GPS(global positioning system), Glonass(global navigation satellite system), Beidou Navigation Satellite System(이하 “Beidou”) 또는 Galileo, the European global satellite-based navigation system일 수 있다. 이하, 본 문서에서는, “GPS”는 “GNSS”와 상호 호환적으로 사용될 수 있다. Wireless communication may be, for example, long term evolution (LTE), LTE Advance, code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro) , Or global system for mobile communications (GSM), and the like. According to one embodiment, the wireless communication may include, for example, wireless fidelity, wireless gigabit alliance, Bluetooth, Bluetooth low energy, Zigbee, NFC field communication, a magnetic secure transmission, a radio frequency (RF), or a body area network (BAN). According to one embodiment, the wireless communication may comprise a GNSS. The GNSS may be, for example, a global positioning system (GPS), a global navigation satellite system (Glonass), a Beidou Navigation Satellite System (Beidou) or Galileo, the European global satellite-based navigation system. Hereinafter, in this document, " GPS " can be used interchangeably with " GNSS ".

유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard 232), 전력선 통신(power line communication), 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. The wired communication may include, for example, a universal serial bus (USB), a high definition multimedia interface (HDMI), a recommended standard 232 (RS-232), a power line communication, or a plain old telephone service And may include at least one.

네트워크(162)는 텔레커뮤니케이션 네트워크(telecommunications network), 예를 들면, 컴퓨터 네트워크(예: LAN(local area network) 또는 WAN(wide area network)), 인터넷, 또는 텔레폰 네트워크(telephone network) 중 적어도 하나를 포함할 수 있다.The network 162 may include at least one of a telecommunications network, e.g., a computer network (e.g., a local area network (LAN) or wide area network (WAN) .

제1 외부 전자 장치(102) 및 제2 외부 전자 장치(104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 다양한 실시 예들에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))에서 실행될 수 있다. 한 실시 예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅(cloud computing), 분산 컴퓨팅(distributed computing), 또는 클라이언트-서버 컴퓨팅(client-server computing) 기술이 이용될 수 있다.Each of the first external electronic device 102 and the second external electronic device 104 may be the same or a different kind of device as the electronic device 101. [ According to various embodiments, all or a portion of the operations performed in the electronic device 101 may be performed in another electronic device or multiple electronic devices (e.g., electronic device 102, 104, or server 106). According to one embodiment, in the event that the electronic device 101 has to perform certain functions or services automatically or on demand, the electronic device 101 may be capable of executing the function or service itself, (E. G., Electronic device 102, 104, or server 106) at least some of the associated functionality. Other electronic devices (e. G., Electronic device 102, 104, or server 106) may execute the requested function or additional function and deliver the result to electronic device 101. [ The electronic device 101 can directly or additionally process the received result to provide the requested function or service. For this purpose, for example, cloud computing, distributed computing, or client-server computing techniques may be used.

도 2는 다양한 실시 예들에 따른 전자 장치의 블록도이다.2 is a block diagram of an electronic device according to various embodiments.

전자 장치(201)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP)(210), 통신 모듈(220), 가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298) 등을 포함할 수 있다. 다양한 실시 예들에서, 전자 장치(201)는 도 2에 도시된 구성들이 필수적인 것은 아니어서, 도 2에 도시된 구성들보다 많은 구성들을 가지거나, 또는 그보다 적은 구성들을 가지는 것으로 구현될 수 있다. 예를 들어, 다양한 실시 예들에 따른 전자 장치(201)는 그 종류에 따라, 어느 일부 구성요소를 포함하지 않을 수 있다. 다양한 실시 예들에 따라, 전술한 전자 장치(201)의 구성들은 전자 장치(201)의 하우징(또는 베젤, 본체)에 안착되거나, 또는 그 외부에 형성될 수 있다.The electronic device 201 may include all or part of the electronic device 101 shown in Fig. 1, for example. The electronic device 201 may include one or more processors (e.g., AP) 210, a communication module 220, a subscriber identification module 224, a memory 230, a sensor module 240, an input device 250, a display 260, an interface 270, an audio module 280, a camera module 291, a power management module 295, a battery 296, an indicator 297, and a motor 298. In various embodiments, the electronic device 201 may be implemented with more configurations than the configurations shown in FIG. 2, or with fewer configurations, as the configurations shown in FIG. 2 are not essential. For example, the electronic device 201 according to various embodiments may not include any of some components depending on its type. According to various embodiments, the configurations of the above-described electronic device 201 may be seated on the housing (or bezel, body) of the electronic device 201, or formed on the outside thereof.

프로세서(210)는, 예를 들면, 운영 체제 또는 어플리케이션 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip)로 구현될 수 있다. 한 실시 예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 시그널 프로세서(ISP, image signal processor)를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210)는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 결과 데이터를 비휘발성 메모리에 저장할 수 있다.The processor 210 may, for example, drive an operating system or application program to control a number of hardware or software components coupled to the processor 210, and may perform various data processing and operations. The processor 210 may be implemented with, for example, a system on chip (SoC). According to one embodiment, the processor 210 may further include a graphics processing unit (GPU) and / or an image signal processor (ISP). Processor 210 may include at least some of the components shown in FIG. 2 (e.g., cellular module 221). Processor 210 may load and process instructions or data received from at least one of the other components (e.g., non-volatile memory) into volatile memory and store the resulting data in non-volatile memory.

다양한 실시 예들에서, 프로세서(210)는 전자 장치(201)의 전반적인 동작을 제어할 수 있다. 다양한 실시 예들에서, 프로세서(210)는, 하나 또는 그 이상의 프로세서들(one or more processors)을 포함할 수 있다. 예를 들면, 프로세서(210)는 커뮤니케이션 프로세서(CP), 어플리케이션 프로세서(AP), 인터페이스(예: GPIO, general purpose input/output), 또는 내부 메모리 등을 별개의 구성요소로 포함하거나, 또는 하나 이상의 집적화된 회로에 집적화될 수 있다. 한 실시 예에 따라, 어플리케이션 프로세서는 여러 가지의 소프트웨어 프로그램(software program)을 실행하여 전자 장치(201)를 위한 여러 기능을 수행할 수 있고, 커뮤니케이션 프로세서는 음성 통신 및 데이터 통신을 위한 처리 및 제어를 수행할 수 있다. 프로세서(210)는 메모리(230)에 저장되어 있는 특정한 소프트웨어 모듈(예: 명령어 세트(instruction set))을 실행하여 그 모듈에 대응하는 특정한 여러 가지의 기능을 수행하는 역할을 담당할 수 있다.In various embodiments, the processor 210 may control the overall operation of the electronic device 201. In various embodiments, the processor 210 may include one or more processors. For example, processor 210 may include a communications processor (CP), an application processor (AP), an interface (e.g., general purpose input / output (GPIO) Can be integrated into an integrated circuit. According to one embodiment, the application processor may execute various software programs to perform various functions for the electronic device 201, and the communication processor may perform processing and control for voice communication and data communication Can be performed. The processor 210 may execute a specific software module (e.g., an instruction set) stored in the memory 230 to perform various specific functions corresponding to the module.

다양한 실시 예들에서, 프로세서(210)는 오디오 모듈(280), 인터페이스(270), 디스플레이(260), 카메라 모듈(291), 통신 모듈(220) 등의 하드웨어적 모듈의 동작을 제어할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 전자 장치(201)의 디스플레이(260) 및 메모리(230)와 전기적으로 연결될 수 있다.Processor 210 may control the operation of hardware modules such as audio module 280, interface 270, display 260, camera module 291, communication module 220, and the like. According to various embodiments, the processor 210 may be electrically coupled to the display 260 and the memory 230 of the electronic device 201.

다양한 실시 예들에 따라, 프로세서(210)는 미라캐스트 연결된 외부 전자 장치(500)로부터 장치 정보를 획득하는 동작, 장치 정보에 기반하여 외부 전자 장치(500)의 해상도 및 디스플레이 타입을 판단하는 동작, 외부 전자 장치(500)가 세로형 디스플레이이면, 세로형 디스플레이에 대응하는 데이터를 해상도에 기반하여 생성하는 동작, 및 무선 통신부를 이용하여 데이터를 외부 전자 장치(500)에 전송하는 동작을 처리할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 장치 정보에 기반하여 외부 전자 장치(500)와 공통된 최적의 해상도 결정 및, 외부 전자 장치(500)의 디스플레이 타입을 판단하고, 디스플레이 타입이 세로형 디스플레이인 경우, 결정된 해상도를 가지는 세로 방향의 가상 디스플레이를 생성하고, 디스플레이 타입이 가로형 디스플레이인 경우, 결정된 해상도를 가지는 가로 방향의 가상 디스플레이를 생성하는 것과 관련된 동작을 처리할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 가상 디스플레이를 이용하여, 외부 전자 장치(500)의 해상도와 디스플레이 타입에 대응하는 데이터를 생성하는 것과 관련된 동작을 처리할 수 있다.According to various embodiments, the processor 210 may perform operations to obtain device information from a mirrored external electronic device 500, determine the resolution and display type of the external electronic device 500 based on the device information, If the electronic device 500 is a vertical display, it can handle operations to generate data corresponding to the vertical display based on the resolution, and to transmit data to the external electronic device 500 using the wireless communication unit . According to various embodiments, the processor 210 determines the optimal resolution common with the external electronic device 500 based on the device information, and determines the display type of the external electronic device 500, and determines whether the display type is a vertical display A vertical virtual display having a determined resolution, and, if the display type is a horizontal display, processing operations related to generating a horizontal virtual display having a determined resolution. In accordance with various embodiments, the processor 210 may utilize the virtual display to handle operations related to generating data corresponding to the resolution and display type of the external electronic device 500.

다양한 실시 예들에 따른 프로세서(210)의 처리(또는 제어) 동작은 후술하는 도면들을 참조하여 구체적으로 설명된다.The processing (or control) operation of the processor 210 in accordance with various embodiments is specifically described with reference to the following figures.

통신 모듈(220)은, 예를 들면, 도 1에 도시된 통신 인터페이스(170)와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227), NFC 모듈(228) 및 RF 모듈(229)을 포함할 수 있다. 도시하지는 않았으나, 통신 모듈(220)은, 예를 들면, WiGig 모듈(미도시)을 더 포함할 수도 있다. 한 실시 예에 따라, WiFi 모듈(223)과 WiGig 모듈(미도시)은 하나의 칩 형태로 통합 구현될 수도 있다.The communication module 220 may have the same or similar configuration as, for example, the communication interface 170 shown in Fig. The communication module 220 may include, for example, a cellular module 221, a WiFi module 223, a Bluetooth module 225, a GNSS module 227, an NFC module 228 and an RF module 229 have. Although not shown, the communication module 220 may further include, for example, a WiGig module (not shown). According to one embodiment, the WiFi module 223 and the WiGig module (not shown) may be integrated into one chip.

셀룰러 모듈(221)은, 예를 들면, 통신 네트워크를 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM(subscriber identification module) 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP)를 포함할 수 있다. 어떤 실시 예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 일부(예: 두 개 이상)는 하나의 IC(integrated chip) 또는 IC 패키지 내에 포함될 수 있다.The cellular module 221 may provide, for example, voice calls, video calls, text services, or Internet services over a communication network. According to one embodiment, the cellular module 221 may perform identification and authentication of the electronic device 201 within the communication network using a subscriber identification module (e.g., SIM (subscriber identification module) card 224) . According to one embodiment, the cellular module 221 may perform at least some of the functions that the processor 210 may provide. According to one embodiment, the cellular module 221 may comprise a communications processor (CP). At least some (e.g., two or more) of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228, according to some embodiments, integrated chip) or an IC package.

RF 모듈(229)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(229)은, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터, LNA(low noise amplifier), 또는 안테나(antenna) 등을 포함할 수 있다. 다른 실시 예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. The RF module 229 can, for example, send and receive communication signals (e.g., RF signals). The RF module 229 may include, for example, a transceiver, a power amplifier module (PAM), a frequency filter, a low noise amplifier (LNA), or an antenna. According to another embodiment, at least one of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 transmits / receives an RF signal through a separate RF module .

WiFi 모듈(223)은, 예를 들면, 무선 인터넷 접속 및 외부 장치(예: 다른 전자 장치(102) 또는 서버(106) 등)와 무선 랜 링크(link)를 형성하기 위한 모듈을 나타낼 수 있다. WiFi 모듈(223)은 전자 장치(201)에 내장되거나 외장될 수 있다. 무선 인터넷 기술로는 WiFi, WiGig, Wibro, WiMax(world interoperability for microwave access), HSDPA(high speed downlink packet access), 또는 mmWave(millimeter Wave) 등이 이용될 수 있다. WiFi 모듈(223)은 전자 장치와 직접(direct) 연결(예: P2P(peer to peer) 연결)되거나, 또는 네트워크(예: 무선 인터넷 네트워크)(예: 네트워크(162))를 통해 연결되어 있는 외부 장치(예: 다른 전자 장치(104) 등)와 연동하여, 전자 장치(201)의 다양한 데이터들을 외부로 전송하거나, 또는 외부로부터 수신할 수 있다. WiFi 모듈(223)은 상시 온(on) 상태를 유지하거나, 전자 장치의 설정 또는 사용자 입력에 따라 턴-온(turn-on)/턴-오프(turn-off) 될 수 있다.The WiFi module 223 may represent a module for forming a wireless LAN link with, for example, a wireless Internet connection and an external device (e.g., another electronic device 102 or a server 106, etc.). The WiFi module 223 may be embedded or enclosed in the electronic device 201. WiFi, WiGig, WiBro, world interoperability for microwave access (WiMax), high speed downlink packet access (HSDPA), or mmWave (millimeter wave) can be used as the wireless Internet technology. The WiFi module 223 may be connected to the electronic device via a direct connection (e.g., peer to peer connection) or an external connection (e.g., via a network 162) In association with a device (e.g., another electronic device 104), various data of the electronic device 201 can be transmitted to the outside or can be received from the outside. The WiFi module 223 may be kept on at all times or may be turned on / off according to the setting of the electronic device or user input.

블루투스 모듈(225) 및 NFC 모듈(228)은, 예를 들면, 근거리 통신(short range communication)을 수행하기 위한 근거리 통신 모듈을 나타낼 수 있다. 근거리 통신 기술로 블루투스, 저전력 블루투스(BLE), RFID(radio frequency identification), 적외선 통신(IrDA), UWB(ultra wideband), 지그비(Zigbee), 또는 NFC 등이 이용될 수 있다. 근거리 통신 모듈은 전자 장치(201)와 네트워크(예: 근거리 통신 네트워크)를 통해 연결되어 있는 외부 장치(예: 다른 전자 장치(102) 등)와 연동하여, 전자 장치(201)의 다양한 데이터들을 외부 장치로 전송하거나 수신 받을 수 있다. 근거리 통신 모듈(예: 블루투스 모듈(225) 및 NFC 모듈(228))은 상시 온 상태를 유지하거나, 전자 장치(201)의 설정 또는 사용자 입력에 따라 턴-온/턴-오프 될 수 있다.The Bluetooth module 225 and the NFC module 228 may represent, for example, a short range communication module for performing short range communication. Bluetooth, low power Bluetooth (BLE), radio frequency identification (RFID), infrared communication (IrDA), ultra wideband (UWB), Zigbee, or NFC may be used as a short distance communication technology. The short-range communication module is configured to interoperate with an external device (e.g., another electronic device 102 or the like) connected to the electronic device 201 via a network (e.g., a local area communication network) The device can be transmitted or received. The short range communication module (e.g., Bluetooth module 225 and NFC module 228) may be kept on all the time or may be turned on / off according to the setting of the electronic device 201 or the user input.

가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 또는 임베디드 SIM을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. The subscriber identification module 224 may include, for example, a card or an embedded SIM containing a subscriber identity module, and may include unique identification information (e.g., ICCID) or subscriber information (e.g., IMSI (international mobile subscriber identity).

메모리(230)(예: 메모리(130))는, 예를 들면, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 내장 메모리(232)는, 예를 들면, 휘발성 메모리(예: DRAM(dynamic RAM(random access memory)), SRAM(synchronous RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비휘발성 메모리(예: OTPROM(one time programmable ROM(read only memory)), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically EPROM), mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, 또는 솔리드 스테이트 드라이브(SSD(solid state drive)) 중 적어도 하나를 포함할 수 있다. 외장 메모리(234)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(multi-media card) 또는 메모리 스틱 등을 포함할 수 있다. 외장 메모리(234)는 다양한 인터페이스를 통하여 전자 장치(201)와 기능적으로 또는 물리적으로 연결될 수 있다.Memory 230 (e.g., memory 130) may include, for example, internal memory 232 or external memory 234. The built-in memory 232 may be implemented as, for example, volatile memory (e.g., dynamic random access memory (DRAM), synchronous random access memory (SRAM), or synchronous dynamic random access memory (SDRAM) (ROM), a flash ROM, a flash memory, a hard drive, or a solid state drive (SSD) such as a single time programmable read only memory (ROM), a programmable ROM (PROM), an erasable and programmable ROM (EPROM) and a solid state drive). The external memory 234 may be a flash drive, for example, a compact flash (CF), a secure digital (SD), a micro-SD, a Mini- An SD, an extreme digital (xD), a multi-media card (MMC), a memory stick, etc. The external memory 234 may be functionally or physically connected to the electronic device 201 through various interfaces.

메모리(230)는 다양한 실시 예들에서, 프로세서(210)가, 미라캐스트 연결된 외부 전자 장치(500)로부터 장치 정보를 획득하고, 장치 정보에 기반하여 외부 전자 장치(500)의 해상도 및 디스플레이 타입을 판단하고, 외부 전자 장치(500)가 세로형 디스플레이이면, 세로형 디스플레이에 대응하는 데이터를 해상도에 기반하여 생성하고, 무선 통신부를 이용하여 데이터를 외부 전자 장치(500)에 전송하도록 하는 것과 관련되는 하나 또는 그 이상의 프로그램들, 데이터 또는 인스트럭션들(instructions)을 저장할 수 있다. 다양한 실시 예들에 따라, 메모리(230)는 장치 정보에 기반하여 외부 전자 장치(500)와 공통된 최적의 해상도 결정 및 외부 전자 장치(500)의 디스플레이 타입을 판단하고, 디스플레이 타입이 세로형 디스플레이인 경우, 결정된 해상도를 가지는 세로 방향의 가상 디스플레이를 생성하고, 디스플레이 타입이 가로형 디스플레이인 경우, 결정된 해상도를 가지는 가로 방향의 가상 디스플레이를 생성하는 것과 관련되는 하나 또는 그 이상의 프로그램들, 데이터 또는 인스트럭션들을 저장할 수 있다. 다양한 실시 예들에 따라, 메모리(230)는 가상 디스플레이를 이용하여, 외부 전자 장치(500)의 해상도와 디스플레이 타입에 대응하는 데이터를 생성하는 것과 관련되는 하나 또는 그 이상의 프로그램들, 데이터 또는 인스트럭션들을 저장할 수 있다.The memory 230 may be used by the processor 210 to determine the resolution and display type of the external electronic device 500 based on the device information, One associated with generating the data corresponding to the vertical display based on the resolution and transmitting data to the external electronic device 500 using the wireless communication unit if the external electronic device 500 is a vertical display Or more programs, data, or instructions. According to various embodiments, the memory 230 determines the optimal resolution resolution common to the external electronic device 500 and the display type of the external electronic device 500 based on the device information, and if the display type is a vertical display Data, or instructions associated with generating a vertical virtual display having a determined resolution and generating a horizontal virtual display having a determined resolution if the display type is a horizontal display have. According to various embodiments, the memory 230 may store one or more programs, data, or instructions associated with generating data corresponding to the resolution and display type of the external electronic device 500 using the virtual display .

메모리(230)는 확장 메모리(예: 외장 메모리(234)) 또는 내부 메모리(예: 내장 메모리(232))를 포함할 수 있다. 전자 장치(201)는 인터넷 상에서 메모리(230)의 저장 기능을 수행하는 웹 스토리지(web storage)와 관련되어 동작할 수도 있다.The memory 230 may include an extended memory (e.g., external memory 234) or an internal memory (e.g., internal memory 232). The electronic device 201 may operate in association with web storage that performs the storage function of the memory 230 over the Internet.

메모리(230)는 하나 또는 그 이상의 소프트웨어(또는 소프트웨어 모듈)를 저장할 수 있다. 예를 들어, 소프트웨어 구성요소는 운영 체제(operating system) 소프트웨어 모듈, 통신 소프트웨어 모듈, 그래픽 소프트웨어 모듈, 유저 인터페이스 소프트웨어 모듈, MPEG(moving picture experts group) 모듈, 카메라 소프트웨어 모듈, 또는 하나 이상의 어플리케이션 소프트웨어 모듈 등을 포함할 수 있다. 또한 소프트웨어 구성요소인 모듈은 명령어들의 집합으로 표현할 수 있으므로, 모듈을 명령어 세트(instruction set)라고 표현하기도 한다. 모듈은 또한 프로그램으로 표현하기도 한다. 본 발명의 다양한 실시 예들에서 메모리(230)는 앞서 기술한 모듈 이외에 추가적인 모듈(명령어들)을 포함할 수 있다. 또는 필요에 따라, 일부의 모듈(명령어들)을 사용하지 않을 수도 있다.The memory 230 may store one or more software (or software modules). For example, a software component may be an operating system software module, a communications software module, a graphics software module, a user interface software module, a moving picture experts group (MPEG) module, a camera software module, . ≪ / RTI > A module, which is a software component, can also be expressed as a set of instructions, so a module is sometimes referred to as an instruction set. Modules can also be expressed as programs. In various embodiments of the present invention, the memory 230 may include additional modules (instructions) in addition to the modules described above. Or may not use some modules (commands) as needed.

운영 체제 소프트웨어 모듈은 일반적인 시스템 동작(system operation)을 제어하는 여러 가지의 소프트웨어 구성요소를 포함할 수 있다. 이러한 일반적인 시스템 작동의 제어는, 예를 들면, 메모리 관리 및 제어, 저장 하드웨어(장치) 제어 및 관리, 또는 전력 제어 및 관리 등을 의미할 수 있다. 또한 운영 체제 소프트웨어 모듈은 여러 가지의 하드웨어(장치)와 소프트웨어 구성요소(모듈) 사이의 통신을 원활하게 하는 기능도 수행할 수 있다.Operating system software modules may include various software components that control general system operations. Control of this general system operation may mean, for example, memory management and control, storage hardware (device) control and management, or power control and management. In addition, an operating system software module can also facilitate the communication between various hardware (devices) and software components (modules).

통신 소프트웨어 모듈은 통신 모듈(220) 또는 인터페이스(270)를 통해 웨어러블 장치, 스마트폰, 컴퓨터, 서버, 냉장고, 텔레비전, 모니터 또는 휴대용 단말기 등 다른 전자 장치와 통신을 가능하게 할 수 있다. 그리고, 통신 소프트웨어 모듈은 해당 통신 방식에 해당하는 프로토콜 구조로 구성될 수 있다.The communication software module may enable communication with other electronic devices, such as a wearable device, a smart phone, a computer, a server, a refrigerator, a television, a monitor or a portable terminal, via the communication module 220 or interface 270. The communication software module may be configured with a protocol structure corresponding to the communication method.

그래픽 소프트웨어 모듈은 디스플레이(260) 상에 그래픽(graphics)을 제공하고 표시하기 위한 여러 가지 소프트웨어 구성요소를 포함할 수 있다. 다양한 실시 예들에서, 그래픽이란 용어는 텍스트(text), 웹 페이지(web page), 아이콘(icon), 디지털 이미지(digital image), 비디오(video), 애니메이션(animation) 등을 포함하는 의미로 사용될 수 있다.The graphics software module may include various software components for providing and displaying graphics on the display 260. In various embodiments, the term graphic may be used to mean including text, a web page, an icon, a digital image, video, animation, etc. have.

유저 인터페이스 소프트웨어 모듈은 유저 인터페이스(UI)에 관련한 여러 가지 소프트웨어 구성요소를 포함할 수 있다. 예를 들어, 유저 인터페이스의 상태가 어떻게 변경되는지 또는 유저 인터페이스 상태의 변경이 어떤 조건에서 이루어지는지 등에 대한 내용을 포함할 수 있다.The user interface software module may include various software components related to the user interface (UI). For example, how the state of the user interface is changed or under which conditions the change of the user interface state is made, and the like.

MPEG 모듈은 디지털 콘텐츠(예: 비디오, 오디오) 관련 프로세스 및 기능들(예: 콘텐츠의 생성, 재생, 배포 및 전송 등)을 가능하게 하는 소프트웨어 구성요소를 포함할 수 있다.An MPEG module may include software components that enable processes and functions related to digital content (e.g., video, audio), such as creation, playback, distribution, and transmission of content.

카메라 소프트웨어 모듈은 카메라 관련 프로세스 및 기능들을 가능하게 하는 카메라 관련 소프트웨어 구성요소를 포함할 수 있다.The camera software module may include camera-related software components that enable camera-related processes and functions.

어플리케이션 모듈은 렌더링 엔진(rendering engine)을 포함하는 웹브라우저(browser), 이메일(email), 즉석 메시지(instant message), 워드 프로세싱(word processing), 키보드 에뮬레이션(keyboard emulation), 어드레스 북(address book), 터치 리스트(touch list), 위젯(widget), 디지털 저작권 관리(DRM, digital right management), 홍채 인식(iris scan), 상황 인지(context cognition), 음성 인식(voice recognition), 위치 결정 기능(position determining function), 위치기반 서비스(location based service) 등을 포함할 수 있다. 본 발명의 다양한 실시 예들에 따라, 어플리케이션 모듈은 전자 장치(201)에 표시된 화면(또는 컨텐츠)를, 전자 장치(210)가 무선으로 연결된 외부 전자 장치의 디스플레이를 통해 표시하여 공유하기 위한 명령어들을 포함할 수 있다.An application module may include a web browser, a email, an instant message, a word processing, a keyboard emulation, an address book, etc., including a rendering engine. Touch list, widget, digital right management (DRM), iris scan, context cognition, voice recognition, positioning (position) determining function, location based service, and the like. According to various embodiments of the present invention, the application module includes instructions for displaying and sharing the screen (or content) displayed on the electronic device 201 through the display of an external electronic device to which the electronic device 210 is wirelessly connected can do.

센서 모듈(240)은, 예를 들면, 물리량을 계측하거나 전자 장치(201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(240)은, 예를 들면, 제스처 센서(gesture sensor)(240A), 자이로 센서(gyro sensor)(240B), 기압 센서(barometer sensor)(240C), 마그네틱 센서(magnetic sensor)(240D), 가속도 센서(acceleration sensor)(240E), 그립 센서(grip sensor)(240F), 근접 센서(proximity sensor)(240G), 컬러 센서(color sensor)(240H)(예: RGB(red, green, blue) 센서), 생체 센서(medical sensor)(240I), 온/습도 센서(temperature-humidity sensor)(240J), 조도 센서(illuminance sensor)(240K), 또는 UV(ultra violet) 센서(240M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로(additionally or alternatively), 센서 모듈(240)은, 예를 들면, 후각(e-nose) 센서, 일렉트로마이오그라피(EMG, electromyography) 센서, 일렉트로엔씨팔로그램(EEG, electroencephalogram) 센서, 일렉트로카디오그램(ECG, electrocardiogram) 센서, IR(infrared) 센서, 홍채 센서(iris scan sensor) 및/또는 지문 센서(finger scan sensor)를 포함할 수 있다. 센서 모듈(240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(201)는 프로세서(210)의 일부로서 또는 별도로, 센서 모듈(240)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(210)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(240)을 제어할 수 있다.The sensor module 240 may, for example, measure a physical quantity or sense the operating state of the electronic device 201 to convert the measured or sensed information into an electrical signal. The sensor module 240 includes a gesture sensor 240A, a gyro sensor 240B, a barometer sensor 240C, a magnetic sensor 240D, An acceleration sensor 240E, a grip sensor 240F, a proximity sensor 240G, a color sensor 240H (e.g., RGB (red, green, blue) At least one of a temperature sensor 240J, a temperature-humidity sensor 240J, an illuminance sensor 240K, or a UV (ultra violet) sensor 240M. One can be included. Additionally or alternatively, the sensor module 240 may include sensors such as, for example, an e-nose sensor, an electromyography (EMG) sensor, an electroencephalogram (EEG) sensor An electrocardiogram (ECG) sensor, an infrared (IR) sensor, an iris scan sensor, and / or a finger scan sensor. The sensor module 240 may further include a control circuit for controlling at least one or more sensors belonging to the sensor module 240. In some embodiments, the electronic device 201 further includes a processor configured to control the sensor module 240, either as part of the processor 210 or separately, so that while the processor 210 is in a sleep state, The sensor module 240 can be controlled.

입력 장치(250)는, 예를 들면, 터치 패널(252), (디지털) 펜 센서(254), 키(256), 또는 초음파 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. (디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(288)를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다. 다양한 실시 예들에 따라, 입력 장치(250)는 전자 펜을 포함할 수 있다. 다양한 실시 예들에 따라, 입력 장치(250)는 포스 터치(force touch)를 입력 받을 수 있도록 구현될 수 있다.The input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, a key 256, or an ultrasonic input device 258. As the touch panel 252, for example, at least one of an electrostatic type, a pressure sensitive type, an infrared type, and an ultrasonic type can be used. Further, the touch panel 252 may further include a control circuit. The touch panel 252 may further include a tactile layer to provide a tactile response to the user. (Digital) pen sensor 254 may be part of, for example, a touch panel or may include a separate recognition sheet. Key 256 may include, for example, a physical button, an optical key, or a keypad. The ultrasonic input device 258 can sense the ultrasonic wave generated from the input tool through the microphone 288 and confirm the data corresponding to the ultrasonic wave detected. According to various embodiments, the input device 250 may include an electronic pen. According to various embodiments, the input device 250 may be implemented to receive a force touch.

디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 프로젝터(266), 및/또는 이들을 제어하기 위한 제어 회로를 포함할 수 있다. Display 260 (e.g., display 160) may include panel 262, hologram device 264, projector 266, and / or control circuitry for controlling them.

패널(262)은, 예를 들면, 유연하게, 투명하게, 또는 착용할 수 있게 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나 이상의 모듈로 구성될 수 있다. 한 실시 예에 따르면, 패널(262)은 사용자의 터치에 대한 압력의 세기를 측정할 수 있는 압력 센서(또는 포스 센서(force sensor))를 포함할 수 있다. 상기 압력 센서는 터치 패널(252)과 일체형으로 구현되거나, 또는 터치 패널(252)과는 별도의 하나 이상의 센서로 구현될 수 있다. 패널(262)은 디스플레이(260)에 안착될 수 있으며, 디스플레이(260) 표면에 접촉 또는 근접하는 사용자 입력을 감지할 수 있다. 사용자 입력은 싱글터치(single-touch), 멀티터치(multi-touch), 호버링(hovering), 또는 에어 제스처(air gesture) 중 적어도 하나에 기반하여 입력되는 터치 입력 또는 근접 입력을 포함할 수 있다. 패널(262)은 다양한 실시 예들에서 전자 장치(201)의 사용과 관련된 동작을 개시하기 위한 사용자 입력을 수신할 수 있고, 사용자 입력에 따른 입력 신호를 발생할 수 있다. 패널(262)은 디스플레이(260)의 특정 부위에 가해진 압력 또는 디스플레이(260)의 특정 부위에 발생하는 정전 용량 등의 변화를 전기적인 입력 신호로 변환하도록 구성될 수 있다. 패널(262)은 입력 도구(예: 사용자 손가락, 전자 펜 등)가 디스플레이(260)의 표면 상에 터치 또는 근접되는 위치 및 면적을 검출할 수 있다. 또한 패널(262)은 적용한 터치 방식에 따라 터치 시의 압력(예: 포스 터치)까지도 검출할 수 있도록 구현될 수 있다.The panel 262 may be embodied, for example, flexibly, transparently, or wearably. The panel 262 may comprise a touch panel 252 and one or more modules. According to one embodiment, the panel 262 may include a pressure sensor (or force sensor) capable of measuring the intensity of the pressure on the user's touch. The pressure sensor may be integrated with the touch panel 252 or may be implemented by one or more sensors separate from the touch panel 252. The panel 262 may be seated in the display 260 and may sense user input contacting or approaching the surface of the display 260. The user input may comprise a touch input or proximity input based on at least one of a single-touch, a multi-touch, a hovering, or an air gesture. The panel 262 may receive user input to initiate an operation associated with use of the electronic device 201 in various embodiments and may generate an input signal in accordance with the user input. The panel 262 may be configured to convert a change in capacitance, such as a pressure applied to a particular area of the display 260 or a specific area of the display 260, to an electrical input signal. The panel 262 can detect the location and area where an input tool (e.g., a user finger, an electronic pen, etc.) is touched or approximated on the surface of the display 260. In addition, the panel 262 can be configured to detect pressure (e.g., force touch) at the time of touch according to the applied touch method.

홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. The hologram device 264 can display a stereoscopic image in the air using interference of light. The projector 266 can display an image by projecting light onto a screen. The screen may be located, for example, inside or outside the electronic device 201.

인터페이스(270)는, 예를 들면, HDMI(272), USB(274), 광 인터페이스(optical interface)(276), 또는 D-sub(D-subminiature)(278)를 포함할 수 있다. 인터페이스(270)는, 예를 들면, 도 1에 도시된 통신 인터페이스(170)에 포함될 수 있다. 추가적으로 또는 대체적으로, 인터페이스(270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. The interface 270 may include, for example, an HDMI 272, a USB 274, an optical interface 276, or a D-sub (D-subminiature) 278. The interface 270 may, for example, be included in the communication interface 170 shown in FIG. Additionally or alternatively, the interface 270 may include, for example, a mobile high-definition link (MHL) interface, an SD card / multi-media card (MMC) interface, or an infrared data association have.

인터페이스(270)는, 다른 전자 장치로부터 데이터를 전송 받거나, 전원을 공급받아 전자 장치(201) 내부의 각 구성들에 전달할 수 있다. 인터페이스(270)는 전자 장치(201) 내부의 데이터가 다른 전자 장치로 전송되도록 할 수 있다. 예를 들어, 유/무선 헤드폰 포트(port), 외부 충전기 포트, 유/무선 데이터 포트, 메모리 카드(memory card) 포트, 오디오 입/출력(input/output) 포트, 비디오 입/출력 포트, 이어폰 포트 등이 인터페이스(270)에 포함될 수 있다.The interface 270 may receive data from another electronic device, or may receive power and communicate it to the respective configurations within the electronic device 201. [ The interface 270 may allow data within the electronic device 201 to be transmitted to other electronic devices. For example, a wired / wireless headphone port, an external charger port, a wired / wireless data port, a memory card port, an audio input / output port, a video input / Etc. may be included in the interface 270.

오디오 모듈(280)은, 예를 들면, 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(145)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. 오디오 모듈(280)은 프로세서(210)로부터 입력 받은 오디오 신호를 출력 장치(예: 스피커(282), 리시버(284) 또는 이어폰(286))로 전송하고, 입력 장치(예: 마이크(288))로부터 입력 받은 음성 등의 오디오 신호를 프로세서(210)에 전달하는 기능을 수행할 수 있다. 오디오 모듈(280)은 음성/음향 데이터를 프로세서(210)의 제어에 따라 출력 장치를 통해 가청음으로 변환하여 출력하고, 입력 장치로부터 수신되는 음성 등의 오디오 신호를 디지털 신호로 변환하여 프로세서(210)에게 전달할 수 있다.The audio module 280 can, for example, convert sound and electrical signals in both directions. At least some of the components of the audio module 280 may be included, for example, in the input / output interface 145 shown in FIG. The audio module 280 may process sound information input or output through, for example, a speaker 282, a receiver 284, an earphone 286, a microphone 288, or the like. The audio module 280 transmits the audio signal input from the processor 210 to an output device (e.g., a speaker 282, a receiver 284, or an earphone 286) And transmits an audio signal, such as a voice, received from the processor 210 to the processor 210. The audio module 280 converts audio / sound data into audible sound through an output device under the control of the processor 210, and converts the audio signal, such as voice, received from the input device into a digital signal, Lt; / RTI >

스피커(282) 또는 리시버(284)는 통신 모듈(220)로부터 수신되거나, 또는 메모리(230)에 저장된 오디오 데이터를 출력할 수 있다. 스피커(282) 또는 리시버(284)는 전자 장치에서 수행되는 다양한 동작(기능)과 관련된 음향 신호를 출력할 수도 있다. 마이크(288)는 외부의 음향 신호를 입력 받아 전기적인 음성 데이터로 처리할 수 있다. 마이크(288)에는 외부의 음향 신호를 입력 받는 과정에서 발생되는 잡음(noise)을 제거하기 위한 다양한 잡음 제거 알고리즘(noise reduction algorithm)이 구현될 수 있다. 마이크(288)는 음성 명령 등과 같은 오디오 스트리밍의 입력을 담당할 수 있다.The speaker 282 or the receiver 284 may receive audio data from the communication module 220 or stored in the memory 230. [ The speaker 282 or the receiver 284 may output an acoustic signal associated with various operations (functions) performed in the electronic device. The microphone 288 can receive an external acoustic signal and process it as electrical voice data. The microphone 288 may be implemented with various noise reduction algorithms for eliminating noise generated in receiving an external sound signal. The microphone 288 may be responsible for input of audio streaming such as voice commands or the like.

카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시 예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, 이미지 시그널 프로세서(ISP), 또는 플래시(예: LED 또는 xenon lamp 등)를 포함할 수 있다. The camera module 291 is, for example, a device capable of capturing still images and moving images, and according to one embodiment, one or more image sensors (e.g., a front sensor or a rear sensor), a lens, an image signal processor (ISP) , Or flash (e.g., an LED or xenon lamp, etc.).

다양한 실시 예들에 따라, 카메라 모듈(291)은, 예를 들면, 칼라 정보를 획득하기 제1 카메라(예: 칼라(RGB) 카메라)와 깊이 정보(depth information)(예: 피사체의 위치 정보, 거리 정보)를 획득하기 위한 제2 카메라(예: 적외선(IR, infrared) 카메라)를 포함할 수 있다. 예를 들면, 제1 카메라(예: 칼라 카메라)는 외부에서 입력되는 광을 영상 신호로 변환하여 피사체의 칼라 영상을 촬영할 수 있다. 카메라 모듈(291)은 이미지 센서를 포함할 수 있다. 이미지 센서는 CCD(charged coupled device) 또는 CMOS(complementary metal-oxide semiconductor)로 구현될 수 있다. 한 실시 예에 따라, 제1 카메라는 전자 장치(201)의 전면에 구비되는 전면 카메라일 수 있다. 다양한 실시 예들에 따라, 전면 카메라는 제2 카메라에 의해 대체될 수 있고, 전자 장치(201)의 전면에서 구비되지 않을 수 있다. 다양한 실시 예들에 따라, 제1 카메라는 제2 카메라와 함께 전자 장치(201)의 전면에 함께 배치될 수 있다. 한 실시 예에 따라, 제1 카메라는 전자 장치(201)의 후면에 구비되는 후면 카메라일 수 있다. 한 실시 예에 따라, 제1 카메라는 전자 장치(201)의 전면과 후면에 각각 구비되는 전면 카메라 및 후면 카메라를 모두 포함하는 형태일 수 있다.According to various embodiments, the camera module 291 may include, for example, a first camera (e.g., a color camera) to acquire color information and depth information (e.g., (E.g., an infrared (IR) camera) for acquiring information (e.g., information). For example, a first camera (e.g., a color camera) can convert a light input from the outside into a video signal and photograph a color image of the subject. The camera module 291 may include an image sensor. The image sensor may be implemented as a CCD (charged coupled device) or a CMOS (complementary metal-oxide semiconductor). According to one embodiment, the first camera may be a front camera provided on the front surface of the electronic device 201. [ In accordance with various embodiments, the front camera may be replaced by a second camera, and may not be provided at the front of the electronic device 201. According to various embodiments, the first camera may be placed together with the second camera on the front of the electronic device 201 together. According to one embodiment, the first camera may be a rear camera provided on the rear surface of the electronic device 201. [ According to one embodiment, the first camera may be configured to include both a front camera and a rear camera, which are provided on the front and back sides of the electronic device 201, respectively.

전력 관리 모듈(295)은, 예를 들면, 전자 장치(201)의 전력을 관리할 수 있다. 한 실시 예에 따르면, 전력 관리 모듈(295)은 PMIC(power management integrated circuit), 충전 IC, 배터리 또는 연료 게이지(fuel gauge)를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(296)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(296)는, 예를 들면, 충전식 전지(rechargeable battery) 및/또는 태양 전지(solar battery)를 포함할 수 있다. The power management module 295 can, for example, manage the power of the electronic device 201. [ According to one embodiment, the power management module 295 may include a power management integrated circuit (PMIC), a charger IC, a battery, or a fuel gauge. The PMIC may have a wired and / or wireless charging scheme. The wireless charging scheme may include, for example, a magnetic resonance scheme, a magnetic induction scheme, or an electromagnetic wave scheme, and may further include an additional circuit for wireless charging, for example, a coil loop, a resonant circuit, have. The battery gauge can measure, for example, the remaining amount of the battery 296, the voltage during charging, the current, or the temperature. The battery 296 may include, for example, a rechargeable battery and / or a solar battery.

인디케이터(297)는 전자 장치(201) 또는 그 일부(예: 프로세서(210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동, 또는 햅틱 효과 등을 발생시킬 수 있다. 전자 장치(201)는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있는 모바일 TV 지원 장치(예: GPU)를 포함할 수 있다. The indicator 297 may indicate a particular state of the electronic device 201 or a portion thereof (e.g., processor 210), e.g., a boot state, a message state, or a state of charge. The motor 298 can convert the electrical signal to mechanical vibration, and can generate vibration, haptic effects, and the like. Electronic device 201 is, for example, DMB Mobile TV-enabled devices capable of handling media data in accordance with standards such as (digital multimedia broadcasting), DVB (digital video broadcasting), or MediaFLO (mediaFlo TM) (for example, : GPU).

본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시 예들에서, 전자 장치(예: 전자 장치(101, 201))는 일부 구성요소가 생략되거나, 추가적인 구성요소를 더 포함하거나, 또는, 구성요소들 중 일부가 결합되어 하나의 개체로 구성되되, 결합 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.Each of the components described in this document may be composed of one or more components, and the name of the component may be changed according to the type of the electronic device. In various embodiments, an electronic device (e.g., electronic device 101, 201) may have some components omitted, additional components included, or some of the components being combined into one entity , The functions of the corresponding components before the combination can be performed in the same manner.

도 3은 다양한 실시 예들에 따른 프로그램 모듈의 블록도이다.3 is a block diagram of a program module in accordance with various embodiments.

한 실시 예에 따르면, 프로그램 모듈(310)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101, 201))에 관련된 자원을 제어하는 운영 체제 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. According to one embodiment, program module 310 (e.g., program 140) includes an operating system that controls resources associated with an electronic device (e.g., electronic device 101, 201) and / Application (e.g., application program 147). The operating system may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM .

도 3을 참조하면, 프로그램 모듈(310)은 커널(320)(예: 커널(141)), 미들웨어(330)(예: 미들웨어(143)), API(360)(예: API(145)), 및/또는 어플리케이션(370)(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 전자 장치 상에 프리로드(preload) 되거나, 외부 전자 장치(예: 전자 장치(102, 104), 서버(106) 등)로부터 다운로드(download) 가능하다.3, the program module 310 includes a kernel 320 (e.g., a kernel 141), a middleware 330 (e.g., middleware 143), an API 360 (e.g., API 145) , And / or an application 370 (e.g., an application program 147). At least a portion of the program module 310 may be preloaded on the electronic device or may be downloaded from an external electronic device such as the electronic device 102 104 or the server 106,

커널(320)은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수를 수행할 수 있다. 한 실시 예에 따르면, 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부를 포함할 수 있다. 디바이스 드라이버(323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다. 미들웨어(330)는, 예를 들면, 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 사용할 수 있도록 API(360)를 통해 다양한 기능들을 어플리케이션(370)으로 제공할 수 있다. The kernel 320 may include, for example, a system resource manager 321 and / or a device driver 323. The system resource manager 321 can perform control, allocation, or recovery of system resources. According to one embodiment, the system resource manager 321 may include a process manager, a memory manager, or a file system manager. The device driver 323 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an inter-process communication . The middleware 330 may provide various functions through the API 360, for example, to provide functions that are commonly needed by the application 370 or allow the application 370 to use limited system resources within the electronic device. Application 370 as shown in FIG.

한 실시 예에 따르면, 미들웨어(330)는 런타임 라이브러리(runtime library)(335), 어플리케이션 매니저(application manager)(341), 윈도우 매니저(window manager)(342), 멀티미디어 매니저(multimedia manager)(343), 리소스 매니저(resource manager)(344), 파워 매니저(power manager)(345), 데이터베이스 매니저(database manager)(346), 패키지 매니저(package manager)(347), 커넥티비티 매니저(connectivity manager)(348), 노티피케이션 매니저(notification manager)(349), 로케이션 매니저(location manager)(350), 그래픽 매니저(graphic manager)(351), 또는 시큐리티 매니저(security manager)(352) 중 적어도 하나를 포함할 수 있다.According to one embodiment, middleware 330 includes a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, A resource manager 344, a power manager 345, a database manager 346, a package manager 347, a connectivity manager 348, A notification manager 349, a location manager 350, a graphic manager 351, or a security manager 352, as shown in FIG. have.

런타임 라이브러리(335)는, 예를 들면, 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어(programming language)를 통해 새로운 기능을 추가하기 위해 컴파일러(compiler)가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수 처리를 수행할 수 있다. The runtime library 335 may include, for example, a library module that the compiler uses to add new functionality via a programming language while the application 370 is executing. The runtime library 335 may perform input / output management, memory management, or arithmetic function processing.

어플리케이션 매니저(341)는, 예를 들면, 어플리케이션(370)의 생명 주기(life cycle)를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용되는 GUI(graphical user interface) 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱을 이용하여 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370)의 소스 코드 또는 메모리의 공간을 관리할 수 있다. 파워 매니저(345)는, 예를 들면, 배터리의 용량 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보를 제공할 수 있다. 한 실시 예에 따르면, 파워 매니저(345)는 바이오스(BIOS(basic input/output system))와 연동할 수 있다. 데이터베이스 매니저(346)는, 예를 들면, 어플리케이션(370)에서 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. The application manager 341 can manage the life cycle of the application 370, for example. The window manager 342 can manage graphical user interface (GUI) resources used in the screen. The multimedia manager 343 can recognize the format required for reproducing the media files and can perform encoding or decoding of the media file using a codec according to the format. The resource manager 344 can manage the source code of the application 370 or the space of the memory. The power manager 345 may, for example, manage the capacity or power of the battery and provide the power information necessary for operation of the electronic device. According to one embodiment, the power manager 345 may interoperate with a BIOS (basic input / output system). The database manager 346 may create, retrieve, or modify the database to be used in the application 370, for example. The package manager 347 can manage installation or update of an application distributed in the form of a package file.

커넥티비티 매니저(348)는, 예를 들면, 무선 연결을 관리할 수 있다. 노티피케이션 매니저(349)는, 예를 들면, 도착 메시지, 약속, 근접성 알림 등의 이벤트를 사용자에게 제공할 수 있다. 로케이션 매니저(350)는, 예를 들면, 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(351)는, 예를 들면, 사용자에게 제공될 그래픽 효과 또는 이와 관련된 유저 인터페이스를 관리할 수 있다. 시큐리티 매니저(352)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. The connectivity manager 348 may, for example, manage the wireless connection. The notification manager 349 may provide the user with an event such as, for example, an arrival message, an appointment, a proximity notification, and the like. The location manager 350 can manage the location information of the electronic device, for example. The graphic manager 351 can manage, for example, a graphic effect to be provided to the user or a user interface related thereto. The security manager 352 may provide, for example, system security or user authentication.

한 실시 예에 따르면, 미들웨어(330)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화(telephony) 매니저 또는 전술된 구성요소들의 기능들의 조합을 형성할 수 있는 미들웨어 모듈을 포함할 수 있다. 한 실시 예에 따르면, 미들웨어(330)는 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. According to one embodiment, the middleware 330 may include a telephony manager for managing the voice or video call function of the electronic device, or a middleware module capable of forming a combination of the functions of the above-described components. According to one embodiment, the middleware 330 may provide a module specialized for each type of operating system. Middleware 330 may dynamically delete some existing components or add new ones.

API(360)는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.The API 360 may be provided in a different configuration depending on the operating system, for example, as a set of API programming functions. For example, for Android or iOS, you can provide a single API set for each platform, and for Tizen, you can provide two or more API sets for each platform.

어플리케이션(370)은, 예를 들면, 홈(371), 다이얼러(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 음성 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 와치(384), 헬스 케어(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보(예: 기압, 습도, 또는 온도 정보) 제공 어플리케이션을 포함할 수 있다. The application 370 may include a home 371, a dialer 372, an SMS / MMS 373, an instant message 374, a browser 375, a camera 376, an alarm 377, Contact 378, voice dial 379, email 380, calendar 381, media player 382, album 383, watch 384, healthcare (e.g., measuring exercise or blood glucose) , Or environmental information (e.g., air pressure, humidity, or temperature information) application.

한 실시 예에 따르면, 어플리케이션(370)은 전자 장치와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 노티피케이션 릴레이(notification relay) 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다. 예를 들면, 노티피케이션 릴레이 어플리케이션은 전자 장치의 다른 어플리케이션에서 발생된 알림 정보를 외부 전자 장치로 전달하거나, 또는 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온(turn-on)/턴-오프(turn-off) 또는 디스플레이의 밝기(또는, 해상도) 조절), 또는 외부 전자 장치에서 동작하는 어플리케이션을 설치, 삭제, 또는 갱신할 수 있다. 한 실시 예에 따르면, 어플리케이션(370)은 외부 전자 장치의 속성에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션)을 포함할 수 있다. According to one embodiment, the application 370 may include an information exchange application capable of supporting the exchange of information between the electronic device and the external electronic device. The information exchange application may include, for example, a notification relay application for communicating specific information to an external electronic device, or a device management application for managing an external electronic device. For example, the notification relay application may transmit notification information generated in another application of the electronic device to the external electronic device, or receive notification information from the external electronic device and provide the notification information to the user. The device management application may, for example, turn-on / turn-off the function of an external electronic device in communication with the electronic device (e.g., the external electronic device itself ) Or adjusting the brightness (or resolution) of the display), or installing, deleting, or updating an application running on an external electronic device. According to one embodiment, the application 370 may include an application (e.g., a healthcare application of a mobile medical device) designated according to the attributes of the external electronic device.

한 실시 예에 따르면, 어플리케이션(370)은 외부 전자 장치로부터 수신된 어플리케이션을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어(예: 프로세서(210)), 또는 이들 중 적어도 둘 이상의 조합으로 구현(예: 실행)될 수 있으며, 하나 이상의 기능을 수행하기 위한 모듈, 프로그램, 루틴, 명령어 세트 또는 프로세스를 포함할 수 있다.According to one embodiment, the application 370 may include an application received from an external electronic device. At least some of the program modules 310 may be implemented (e.g., executed) in software, firmware, hardware (e.g., processor 210), or a combination of at least two of the same, Program, routine, instruction set or process.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛(unit)을 포함하며, 예를 들면, 로직(logic), 논리 블록(logic block), 부품(component), 또는 회로(circuit) 등의 용어와 상호 호환적으로 사용될 수 있다. "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있으며, 예를 들면, 어떤 동작들을 수행하는, 알려졌거나 앞으로 개발될, ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays), 또는 프로그램 가능 논리 장치를 포함할 수 있다. 다양한 실시 예들에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는 프로그램 모듈의 형태로 컴퓨터로 판독 가능한 저장 매체(예: 메모리(130))에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. As used herein, the term "module" includes a unit of hardware, software or firmware and may be, for example, a logic, a logic block, a component, ) And the like can be used interchangeably. A "module" may be an integrally constructed component or a minimum unit or part thereof that performs one or more functions. "Module" may be implemented either mechanically or electronically, for example, by application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs) And may include programmable logic devices. At least a portion of a device (e.g., modules or functions thereof) or a method (e.g., operations) according to various embodiments includes instructions stored in a computer readable storage medium (e.g., memory 130) . ≪ / RTI > When the instruction is executed by a processor (e.g., processor 120), the processor may perform a function corresponding to the instruction.

컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(magnetic media)(예: 자기테이프), 광기록 매체(optical recording media)(예: CD-ROM(compact disc read only memory), DVD(digital versatile disc), 자기-광 매체(magneto-optical media)(예: 플롭티컬 디스크(floptical disk)), 내장 메모리 등을 포함할 수 있다. 명령어는 컴파일러에 의해 만들어지는 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 다양한 실시 예들에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 다른 구성요소를 더 포함할 수 있다. 다양한 실시 예들에 따른, 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.The computer readable recording medium may be a hard disk, a floppy disk, magnetic media (e.g., magnetic tape), optical recording media (e.g., compact disc read only memory (CD-ROM) a digital versatile disc, magneto-optical media (e.g., a floptical disk), internal memory, etc. The instructions may be executed by code or an interpreter generated by the compiler The module or program module according to various embodiments may include at least one or more of the elements described above, some of which may be omitted, or may further include other elements. Operations performed by a module, program module or other component, according to the examples, may be performed sequentially, in parallel, repetitively, or heuristically, May be executed in a different order, omitted, or other actions may be added.

다양한 실시 예들에 따르면, 기록 매체는, 후술되는 다양한 방법을 프로세서(120, 210)에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 판독 가능한 기록 매체를 포함할 수 있다.According to various embodiments, the recording medium may include a computer-readable recording medium having recorded thereon a program for causing the processor 120, 210 to execute the various methods described below.

다양한 실시 예들에서, 전자 장치는, AP, CP, GPU, 및 CPU 등의 다양한 프로세서 중 하나 또는 그 이상을 사용하는 모든 장치를 포함할 수 있다. 예를 들면, 다양한 실시 예들에 따른 전자 장치는, 정보통신기기, 멀티미디어기기, 웨어러블 장치(wearable device), IoT 장치, 또는 이들 장치에 대응하는 다양한 다른 기기를 포함할 수 있다.In various embodiments, the electronic device may include any device that uses one or more of a variety of processors, such as an AP, a CP, a GPU, and a CPU. For example, an electronic device according to various embodiments may include an information communication device, a multimedia device, a wearable device, an IoT device, or various other devices corresponding to those devices.

이하에서, 첨부 도면들을 참조하여 본 발명의 다양한 실시 예들에 따른 동작 방법 및 장치에 대하여 살펴보기로 한다. 하지만, 본 발명의 다양한 실시 예들이 하기에서 기술하는 내용에 의해 제한되거나 한정되는 것은 아니므로, 하기의 실시 예에 의거하여 다양한 실시 예들에 적용할 수 있음에 유의하여야 한다. 이하에서 설명되는 본 발명의 다양한 실시 예들에서는 하드웨어적인 접근 방법을 예시로서 설명한다. 하지만, 본 발명의 다양한 실시 예들에서는 하드웨어와 소프트웨어를 모두 사용하는 기술을 포함하고 있으므로, 본 발명의 다양한 실시 예들이 소프트웨어 기반의 접근 방법을 제외하는 것은 아니다.Hereinafter, an operation method and apparatus according to various embodiments of the present invention will be described with reference to the accompanying drawings. It should be noted, however, that the various embodiments of the present invention are not limited or limited by the following description, and can be applied to various embodiments based on the following embodiments. In the various embodiments of the present invention described below, a hardware approach will be described as an example. However, various embodiments of the present invention include techniques using both hardware and software, so that various embodiments of the present invention do not exclude a software-based approach.

도 4는 본 발명의 다양한 실시 예들에 따른 전자 장치들의 예를 설명하기 위해 도시하는 도면들이다.4 is a diagram illustrating an example of electronic devices according to various embodiments of the present invention.

도 4에 도시한 바와 같이, 본 발명의 다양한 실시 예들에 따른 시스템은, 전자 장치(400)(예: 제1 전자 장치 또는 소스(source) 장치)와 적어도 하나의 외부 전자 장치(500)(예: 제2 전자 장치 또는 싱크(sink) 장치)를 포함할 수 있다.4, a system in accordance with various embodiments of the present invention includes an electronic device 400 (e.g., a first electronic device or source device) and at least one external electronic device 500 : A second electronic device or sink device).

다양한 실시 예들에서, 전자 장치(400)는 디스플레이(417)와, 디스플레이(417)가 안착되어 체결되는 하우징(또는 본체)(450)과, 하우징(450)에 형성되어 전자 장치(400)의 기능 수행을 위한 부가 장치 등을 포함하여 구성될 수 있다. 다양한 실시 예들에서 부가 장치는 제1 스피커(401), 제2 스피커(403), 마이크(405), 센서(예: 전면 카메라(407), 조도 센서(409) 등), 통신 인터페이스(예: 충전 또는 데이터 입/출력(Input/Output) 포트(411), 오디오 입/출력 포트(413) 등), 버튼(415) 등을 포함할 수 있다.In various embodiments, the electronic device 400 includes a display 417, a housing (or body) 450 to which the display 417 is seated and fastened, An additional device for performing the operation, and the like. In various embodiments, the additional device may include a first speaker 401, a second speaker 403, a microphone 405, a sensor (e.g., a front camera 407, an illuminance sensor 409, etc.), a communication interface A data input / output port 411, an audio input / output port 413, etc.), a button 415, and the like.

다양한 실시 예들에서 디스플레이(417)는 평면형 디스플레이 또는 종이처럼 얇고 유연한 기판을 통해 손상 없이 휘거나 구부리거나 말 수 있는 커브드 디스플레이(curved display)(또는 벤디드 디스플레이(bended display))를 포함할 수 있다. 커브드 디스플레이는 하우징(450)(또는 베젤(bezel, 본체)에 체결되어 구부러진 형태를 유지할 수 있다. 다양한 실시 예들에서 전자 장치(400)는 커브드 디스플레이와 같은 형태를 비롯하여, 플렉서블 디스플레이와 같이 구부렸다가 폈다가를 자유자재로 할 수 있는 디스플레이 장치로 구현될 수도 있다. 다양한 실시 예들에서 디스플레이(417)는 액정 디스플레이(LCD), 발광 다이오드(LED), 유기 발광 다이오드(OLED), 또는 능동형 OLED(AMOLED, active matrix OLED) 등에서 액정을 싸고 있는 유리 기판을 플라스틱 필름으로 대체하여, 접고 펼 수 있는 유연성을 부여할 수 있다. 다양한 실시 예들에서 디스플레이(417)는 전자 장치(400)의 적어도 하나의 측면(side)(예: 좌측, 우측, 상측, 하측 중 적어도 하나의 면)까지 연장되어, 커브드 디스플레이가 동작 가능한 곡률 반경(radius of curvature)(예: 곡률 반경 5cm, 1cm, 7.5mm, 5mm, 4mm 등) 이하로 접혀 하우징(450)의 측면에 체결될 수 있다.In various embodiments, the display 417 may include a curved display (or a bended display) that can be bent, bent, or otherwise undamaged through a thin, flexible substrate, such as a planar display or paper . The curved display can be coupled to the housing 450 (or a bezel to maintain a curved shape). In various embodiments, the electronic device 400 is bent like a flexible display, such as a curved display. In various embodiments, the display 417 may be a liquid crystal display (LCD), a light emitting diode (LED), an organic light emitting diode (OLED), or an active OLED In various embodiments, the display 417 may be mounted on at least one side of the electronic device 400 (e.g., a front side of the electronic device 400), or alternatively may be replaced with a plastic film to replace the glass substrate wrapping the liquid crystal in an AMOLED, active matrix OLED (e.g., at least one of the left, right, upper, and lower sides) of the curved display so that the radius of curvature (e.g., curvature radius of 5 cm, 1 cm, 7.5 mm, 5 mm, 4 mm, and the like) or folded to the side of the housing 450.

다양한 실시 예들에서 전자 장치(400)는 지문 인식 센서를 이용하여 사용자의 지문을 인식할 수 있다. 다양한 실시 예들에서 전자 장치(400)는 홍채 인식 센서를 이용하여 사용자의 홍채를 인식할 수 있다. 다양한 실시 예들에 따르면, 전자 장치(400)는 사용자의 생체 정보(예: 지문 또는 홍채) 인식에 응답하여, 미라캐스트 기반의 서비스(또는 기능)를 자동으로 수행할 수도 있다.In various embodiments, the electronic device 400 can recognize a fingerprint of a user using a fingerprint recognition sensor. In various embodiments, the electronic device 400 can recognize the iris of the user using the iris recognition sensor. According to various embodiments, the electronic device 400 may automatically perform a miracast-based service (or function) in response to recognition of the user's biometric information (e.g. fingerprint or iris).

다양한 실시 예들에서 전자 장치(400)는 외부 전자 장치(500)와 연결할 수 있다. 다양한 실시 예들에서 전자 장치(400)는 무선 통신(예: 블루투스, 저전력 블루투스(BLE), WiFi 등)에 기반하여 외부 전자 장치(500)와 연결될 수 있다.In various embodiments, the electronic device 400 may be coupled to the external electronic device 500. In various embodiments, the electronic device 400 may be coupled to an external electronic device 500 based on wireless communications (e.g., Bluetooth, low power Bluetooth (BLE), WiFi, etc.).

다양한 실시 예들에서, 전자 장치(400)는 외부 전자 장치(500)와 무선 통신을 연결하고, 외부 전자 장치(500)에게 장치 정보 요청을 전송할 수 있다. 전자 장치(400)는 외부 전자 장치(500)에 장치 정보 요청에 응답하여, 외부 전자 장치(500)로부터 외부 전자 장치(500)에 연결에 관련된 장치 정보(예: 동작 모드(예: 가로 모드, 세로 모드) 정보, 해상도 정보, 디스플레이의 타입(예: 세로형, 가로형) 정보 등)를 획득할 수 있다. 전자 장치(400)는 획득된 장치 정보에 기반하여 외부 전자 장치에 대응하는 화면 또는 컨텐츠를 전송하여, 외부 전자 장치(500)의 디스플레이를 통해 표시할 수 있다. 다양한 실시 예들에서 전자 장치(400)가 외부 전자 장치(500)와 연동하여 통신 연결을 수행하고, 그에 따라 미라캐스트를 수행(제공)하는 것과 관련된 다양한 예시들에 대하여 후술하는 도면들을 참조하여 상세히 설명된다.In various embodiments, the electronic device 400 may connect wireless communication with the external electronic device 500 and send a device information request to the external electronic device 500. The electronic device 400 may respond to the device information request to the external electronic device 500 by sending device information related to the connection from the external electronic device 500 to the external electronic device 500, Vertical mode) information, resolution information, type of display (e.g., vertical and horizontal), and the like). The electronic device 400 can transmit a screen or contents corresponding to the external electronic device based on the acquired device information, and display it through the display of the external electronic device 500. Various examples relating to the electronic device 400 in various embodiments in conjunction with the external electronic device 500 to perform the communication connection and thus perform (provide) the miracast will be described in detail with reference to the drawings do.

다양한 실시 예들에서, 외부 전자 장치(500)는 전자 장치(400)와 무선 통신으로 연결될 수 있고, 디스플레이를 포함하는 다양한 장치를 포함할 수 있다. 다양한 실시 예들에서, 외부 전자 장치(500)는 전자 장치(400)와 무선으로 연결되어, 전자 장치(400)에서 표시되는 데이터(예: 화면, 컨텐츠 등)를 수신하여 구비된 디스플레이를 통해 출력(표시)하는 다양한 출력 디바이스를 포함할 수 있다. 예를 들면, 외부 전자 장치(500)는 모니터(510), 태블릿 PC(520), 랩탑 PC(530)(또는 노트북), 텔레비전(540) 또는 냉장고(550) 등과 같이 전자 장치(400)와 무선으로 연결될 수 있고 디스플레이를 포함하는 다양한 장치를 포함할 수 있다. 다양한 실시 예들에 따라, 외부 전자 장치(500)는 전술한 전자 장치(400)와 유사한 구성을 가질 수 있다. 예를 들면, 외부 전자 장치(500)는 도 2의 프로세서(210)에 대응하는 제어 회로(또는 프로세서)를 포함하며, 도 2에 도시된 전자 장치(201)의 구성들보다 많은 구성들을 가지거나, 또는 그보다 적은 구성들을 가지는 것으로 구현될 수 있다. 이하에서 다양한 실시 예들을 설명함에 있어서, 외부 전자 장치(500)가 냉장고인 것을 일 예로 하여 설명한다. In various embodiments, the external electronic device 500 may be in wireless communication with the electronic device 400 and may include various devices including a display. In various embodiments, the external electronic device 500 is wirelessly coupled to the electronic device 400 to receive data (e.g., screen, content, etc.) displayed on the electronic device 400 and output Lt; RTI ID = 0.0 > and / or < / RTI > For example, the external electronic device 500 may be coupled to the electronic device 400, such as a monitor 510, a tablet PC 520, a laptop PC 530 (or a notebook), a television 540 or a refrigerator 550, And may include various devices including a display. According to various embodiments, the external electronic device 500 may have a configuration similar to the electronic device 400 described above. For example, the external electronic device 500 includes control circuitry (or a processor) corresponding to the processor 210 of FIG. 2 and has more configurations than the configurations of the electronic device 201 shown in FIG. 2 , ≪ / RTI > or fewer configurations. In the following description of various embodiments, the external electronic device 500 is a refrigerator.

다양한 실시 예들에서, 외부 전자 장치(500)는 어느 일 영역에 디스플레이가 장착될 수 있고, 전자 장치(400)와 무선 통신을 연결할 수 있는 통신 회로(예: 통신 모듈)을 포함할 수 있다. 다양한 실시 예들에서 외부 전자 장치(500)는 통신 모듈을 이용하여 전자 장치(400)가 전송하는 데이터를 수신하고, 수신된 데이터를 디스플레이를 이용하여 표시할 수 있다.In various embodiments, the external electronic device 500 may include a communication circuit (e.g., a communication module) that can be mounted with a display in one area and can couple wireless communication with the electronic device 400. In various embodiments, the external electronic device 500 may utilize a communication module to receive data transmitted by the electronic device 400 and to display the received data using a display.

다양한 실시 예들에서, 외부 전자 장치(500)는 전자 장치(400)의 연결 요청에 응답하여 무선 통신을 연결할 수 있다. 외부 전자 장치(500)는 무선 통신이 연결되면, 전자 장치(400)의 장치 정보 요청에 응답하여 장치 정보를 전자 장치(400)에 제공할 수 있다.In various embodiments, the external electronic device 500 may connect the wireless communication in response to a connection request of the electronic device 400. The external electronic device 500 may provide the device information to the electronic device 400 in response to the device information request of the electronic device 400 when the wireless communication is connected.

다양한 실시 예들에서, 외부 전자 장치(500)가 전자 장치(400)와 연동하여 통신 연결을 수행하고, 그에 따라 수신된 데이터에 기초하여 동작하는 것과 관련된 다양한 예시들에 대하여 후술하는 도면들을 참조하여 상세히 설명된다.In various embodiments, various examples related to the external electronic device 500 performing a communication connection in conjunction with the electronic device 400 and thus operating based on the received data will be described in detail with reference to the following drawings .

다양한 실시 예들에 따르면, 전자 장치(400)와 외부 전자 장치(500)는 무선 통신으로 직접 연결될 수 있다. 다양한 실시 예들에 따라, 전자 장치(400)와 외부 전자 장치(500)는 공통으로 접속되는 액세스 포인트(AP, access point)를 통해 연결될 수 있다.According to various embodiments, the electronic device 400 and the external electronic device 500 may be connected directly to the wireless communication. According to various embodiments, the electronic device 400 and the external electronic device 500 may be connected through an access point (AP) that is connected in common.

다양한 실시 예들에 따르면, 전자 장치(400)와 외부 전자 장치(500)는 사용자 입력 백 채널(UIBC, user input back channel)을 통해 메시지를 교환할 수 있다. 다양한 실시 예들에 따르면, 전자 장치(400)는 외부 전자 장치(500)와 미라캐스트 연결 시에 협상(negotiation) 절차를 통해, 외부 전자 장치(500)에 관련된 장치 정보를 획득할 수 있다. 다양한 실시 예들에 따라, 전자 장치(400)는 장치 정보에 기반하여 외부 전자 장치(500)에 관련된 해상도와 디스플레이 타입 등을 확인할 수 있다. 다양한 실시 예들에 따르면, 전자 장치(400)는 적어도 하나의 기능(또는 어플리케이션) 수행 중에, 사용자 요청에 대응하여 미라캐스트를 수행하고, 획득된 장치 정보에 기반하여 외부 전자 장치(500)의 해상도에 디스플레이의 방향에 대응하는 공유 데이터를 생성하여 외부 전자 장치(500)에 전송할 수 있다.According to various embodiments, the electronic device 400 and the external electronic device 500 may exchange messages via a user input back channel (UIBC). According to various embodiments, the electronic device 400 may obtain device information related to the external electronic device 500 through a negotiation procedure when the mirrored connection with the external electronic device 500 is performed. According to various embodiments, the electronic device 400 can determine the resolution, display type, etc. associated with the external electronic device 500 based on the device information. According to various embodiments, the electronic device 400 performs a miracast in response to a user request during at least one function (or application), and performs a mirror cast on the resolution of the external electronic device 500 based on the acquired device information Shared data corresponding to the direction of the display may be generated and transmitted to the external electronic device 500.

이상에서 살펴본 바와 같이, 다양한 실시 예들에 따른 전자 장치는, 미라캐스트(miracast) 연결 및 데이터 송수신을 위한 무선 통신부, 데이터 표시를 위한 디스플레이, 및 상기 무선 통신부 및 상기 디스플레이와 기능적으로 연결된 프로세서를 포함하고, 상기 프로세서는, 미라캐스트 연결된 외부 전자 장치로부터 장치 정보를 획득하고, 상기 장치 정보에 기반하여 상기 외부 전자 장치의 해상도 및 디스플레이 타입을 판단하고, 상기 외부 전자 장치가 세로형 디스플레이이면, 세로형 디스플레이에 대응하는 데이터를 상기 해상도에 기반하여 생성하고, 및 상기 무선 통신부를 이용하여, 상기 데이터를 상기 외부 전자 장치에 전송하도록 구성할 수 있다.As described above, an electronic device according to various embodiments includes a wireless communication unit for a miracast connection and data transmission / reception, a display for data display, and a processor functionally coupled to the wireless communication unit and the display Wherein the processor is configured to: obtain device information from a mirrored external electronic device; determine a resolution and a display type of the external electronic device based on the device information; and if the external electronic device is a vertical display, Based on the resolution, and to transmit the data to the external electronic device using the wireless communication unit.

다양한 실시 예들에 따라, 상기 장치 정보는, 상기 외부 전자 장치가 지원하는 해상도와 디스플레이 타입을 포함하도록 구성할 수 있다. 다양한 실시 예들에 따라, 상기 장치 정보는, 상기 외부 전자 장치의 동작 모드에 대한 정보, 상기 외부 전자 장치의 타입에 대한 정보, 제조사 정보, 모델명 정보, 또는 사용자 입력 백 채널(UIBC, user input back channel)의 정보를 포함하도록 구성할 수 있다.According to various embodiments, the device information may be configured to include a resolution and a display type supported by the external electronic device. According to various embodiments, the device information includes information about an operating mode of the external electronic device, information on the type of the external electronic device, manufacturer information, model name information, or user input back channel (UIBC) And the like.

다양한 실시 예들에 따라, 상기 프로세서는, 상기 디스플레이 타입에 기반하여 상기 외부 전자 장치가 세로형 디스플레이인지 여부, 또는 상기 외부 전자 장치가 세로 방향으로 동작 중인지 여부를 판단하도록 구성할 수 있다.According to various embodiments, the processor may be configured to determine, based on the display type, whether the external electronic device is a portrait display or whether the external electronic device is operating in a portrait orientation.

다양한 실시 예들에 따라, 상기 프로세서는, 상기 장치 정보에 기반하여 상기 외부 전자 장치와 공통된 최적의 해상도 결정 및, 상기 외부 전자 장치의 디스플레이 타입을 판단하고, 상기 디스플레이 타입이 세로형 디스플레이인 경우, 상기 결정된 해상도를 가지는 세로 방향의 가상 디스플레이를 생성하고, 및 상기 가상 디스플레이를 이용하여, 상기 외부 전자 장치의 해상도와 디스플레이 타입에 대응하는 데이터를 생성하도록 구성할 수 있다.According to various embodiments, the processor may determine an optimal resolution common to the external electronic device based on the device information and a display type of the external electronic device, and if the display type is a vertical display, Generating a vertical virtual display having a determined resolution, and using the virtual display to generate data corresponding to the resolution and display type of the external electronic device.

다양한 실시 예들에 따라, 상기 프로세서는, 기본 설정된 가로 형태의 가상 디스플레이를 상기 외부 전자 장치의 세로형 디스플레이에 대응하도록 세로 방향으로 회전하고, 회전된 세로 방향의 가상 디스플레이를 이용하여 데이터를 생성하도록 구성할 수 있다.According to various embodiments, the processor is configured to rotate the virtual display in the default landscape orientation to correspond to the portrait display of the external electronic device, and to generate data using the rotated portrait orientation virtual display can do.

다양한 실시 예들에 따라, 상기 프로세서는, 상기 디스플레이 타입이 가로형 디스플레이인 경우, 상기 결정된 해상도를 가지는 가로 방향의 가상 디스플레이를 생성하도록 구성할 수 있다.According to various embodiments, the processor may be configured to generate a landscape virtual display having the determined resolution if the display type is a landscape display.

다양한 실시 예들에 따라, 상기 프로세서는, 상기 외부 전자 장치로부터 사용자 입력 백 채널(UIBC)를 통해 사용자 입력에 따른 좌표를 수신하고, 상기 좌표 수신에 대응하여, 상기 외부 전자 장치의 타입을 판단하고, 상기 외부 전자 장치가 세로형 디스플레이 기반의 제1 타입 장치이면, 상기 좌표에 대한 변환 없이 상기 좌표를 인식하고, 및 상기 외부 전자 장치가 기본 설정된 가로 방향에서 세로 방향으로 회전하여 사용하는 제2 타입 장치이면, 상기 좌표의 변환을 수행하고 변환된 좌표를 인식하도록 구성할 수 있다.According to various embodiments, the processor is further configured to receive coordinates from a user input via a user input back channel (UIBC) from the external electronic device, determine a type of the external electronic device in response to the coordinate reception, Wherein if the external electronic device is a first type device based on a vertical display, the coordinates are recognized without conversion to the coordinates, and the second type device , It is possible to perform the transformation of the coordinates and to recognize the converted coordinates.

다양한 실시 예들에 따라, 상기 프로세서는, 상기 좌표에서, x좌표는 y좌표로 변환하고, y좌표는 x좌표로 변환하여 좌표 변환을 수행하도록 구성할 수 있다.According to various embodiments, the processor may be configured to perform coordinate transformation at the coordinates, wherein the x coordinate is converted to the y coordinate and the y coordinate is converted to the x coordinate.

다양한 실시 예들에 따라, 상기 외부 전자 장치는, 상기 전자 장치와 미라캐스트 연결된 상태에서 사용자 입력을 감지하고, 사용자 입력 감지에 대응하여, 디스플레이의 방향을 판단하고, 상기 디스플레이의 방향이 기본 설정된 가로 방향에서 세로 방향으로 회전하여 사용되는 상태이면, 상기 사용자 입력에 대한 좌표를 변환하고, 및 상기 변환된 좌표를 상기 전자 장치에 전송하도록 구성할 수 있다.According to various embodiments, the external electronic device senses user input in a mirror-cast relationship with the electronic device, determines the orientation of the display in response to user input sensed, And to transmit the converted coordinates to the electronic device if the user is in a state of being rotated in the longitudinal direction at the user input.

도 5는 본 발명의 다양한 실시 예들에 따른 전자 장치들 간에 미라캐스트를 이용한 서비스를 제공하는 예를 설명하기 위해 도시하는 도면이다.5 is a diagram illustrating an example of providing a service using miracast among electronic devices according to various embodiments of the present invention.

도 5를 참조하면, 동작 501에서, 전자 장치(400)(예: 이하, 소스 장치(source device))와 외부 전자 장치(500)(예: 이하, 싱크 장치(sink device))는 연결 절차를 시작할 수 있다. 예를 들면, 소스 장치(400)와 싱크 장치(500)는 미라캐스트 연결을 위한 협상(negotiation) 절차를 수행할 수 있다.5, at operation 501, an electronic device 400 (e.g., a source device) and an external electronic device 500 (e.g., sink device) You can start. For example, the source apparatus 400 and the sink apparatus 500 may perform a negotiation procedure for a miracast connection.

동작 503에서, 소스 장치(400)는 협상 절차에서, 싱크 장치(500)에 관련된 장치 정보를 요청하는 요청 메시지(request message)를 전송할 수 있다. 예를 들면, 소스 장치(400)는 싱크 장치(500)가 지원하는 해상도 정보와 디스플레이의 타입(예: 세로형 디스플레이, 가로형 디스플레이) 정보를 요청할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)가 동작 중인 동작 모드(예: 가로 모드, 세로 모드)에 대한 정보도 요청할 수 있다.At operation 503, the source device 400 may send a request message requesting device information related to the sink device 500 in the negotiation procedure. For example, the source device 400 may request resolution information supported by the sink device 500 and the type of display (e.g., vertical display, horizontal display) information. According to various embodiments, the source device 400 may also request information about the operating mode (e.g., landscape mode, portrait mode) in which the sink device 500 is operating.

동작 505에서, 싱크 장치(500)는 협상 절차에서, 소스 장치(400)의 장치 정보 요청에 대응하여 싱크 장치(500)에 관련된 장치 정보를 포함하는 응답 메시지(response message)를 전송할 수 있다. 다양한 실시 예들에 따라, 싱크 장치(500)가 제공하는 장치 정보는, 싱크 장치(500)가 지원하는 해상도 정보와 디스플레이의 타입 정보를 포함할 수 있다. 다양한 실시 예들에 따르면, 장치 정보는, 싱크 장치(500)의 동작 모드에 대한 정보, 싱크 장치(500)의 타입(예: 태블릿 PC, 냉장고, 텔레비전 등)에 대한 정보, 제조사 정보, 모델명 정보, 사용자 입력 백 채널(UIBC, user input back channel)의 정보(예: 버전 정보) 등을 더 포함할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 획득된 장치 정보(예: 디스플레이의 타입 정보)에 기반하여 싱크 장치(500)가 세로형 디스플레이인지 여부를 판단할 수 있다. 예를 들면, 다양한 실시 예들에서, 요청 메시지와 응답 메시지의 포맷(format) 예시를 살펴보면 아래 <표 1>과 같이 나타낼 수 있다.In operation 505, the sink device 500 may transmit a response message including the device information related to the sink device 500 in response to the device information request of the source device 400 in the negotiation procedure. According to various embodiments, the device information provided by the sink device 500 may include resolution information and display type information that the sink device 500 supports. According to various embodiments, the device information includes information on the operation mode of the sink device 500, information on the type of the sink device 500 (e.g., tablet PC, refrigerator, television, etc.), manufacturer information, model name information, Information (e.g., version information) of a user input back channel (UIBC), and the like. According to various embodiments, the source device 400 may determine whether the sink device 500 is a vertical display based on the acquired device information (e.g., type information of the display). For example, in various embodiments, a format example of a request message and a response message can be illustrated as shown in Table 1 below.

소스 장치의 요청(request) 타입The request type of the source device 싱크 장치의 응답(response) 타입The response type of the sink device wfd2-video-formats:wfd2-video-formats: wfd2-video-formats: 1920x1080wfd2-video-formats: 1920x1080 wfd2_sec_portrait_display:wfd2_sec_portrait_display: wfd2_sec_portrait_display: rotation 270wfd2_sec_portrait_display: rotation 270

예를 들면, 소스 장치(400)는 요청 메시지에 싱크 장치(500)의 해상도(예: wfd2-video-formats)와 싱크 장치(500)의 디스플레이 타입(예: wfd2_sec_portrait_display)을 요청하는 정보를 포함하여 싱크 장치(500)에 전송할 수 있다. 싱크 장치(500)는 응답 메시지에 싱크 장치(500)의 해상도를 추가(예: wfd2-video-formats: 1920x1080)하고, 싱크 장치(500)의 디스플레이 타입(또는 동작 모드(예: 디스플레이의 동작 방향))을 추가(wfd2_sec_portrait_display: rotation 270)한 정보를 포함하여 소스 장치(400)에 전송할 수 있다. 다양한 실시 예들에 따라, 디스플레이 타입은, 해상도를 기준으로 회전된 정보로 제공될 수 있다. 예를 들면, 싱크 장치(500)의 해상도가 가로 방향 기준의 1920x1080으로 제공되는 반면, 싱크 장치(500)는 세로 방향이므로, 이를 소스 장치(400)에서 인식하도록 가로 방향 기준으로 회전된 각도 정보(예: rotation 270)를 제공할 수 있다. 한 실시 예에 따라, 싱크 장치(500)는 해상도 정보(예: 1920x1080)와, 가로 방향으로 디스플레이가 회전된 각도 정보(예: rotation 270)를 제공할 수 있다. 소스 장치(400)는 가로 방향의 해상도 정보와 회전된 각도 정보에 기초하여 싱크 장치(500)의 디스플레이 타입이 세로 방향인지 또는 가로 방향인지 여부를 판단할 수 있다.For example, the source device 400 may include information requesting the resolution (e.g., wfd2-video-formats) of the sink device 500 and the display type (e.g., wfd2_sec_portrait_display) of the sink device 500 in the request message To the sink device (500). The sink device 500 adds the resolution of the sink device 500 to the response message (for example, wfd2-video-formats: 1920x1080) and sets the display type (or the operation mode of the sink device 500 ) To the source device 400 (wfd2_sec_portrait_display: rotation 270). According to various embodiments, the display type may be provided with rotated information based on the resolution. For example, the resolution of the sink device 500 is 1920 x 1080 in the horizontal direction, while the sink device 500 is in the vertical direction, so that angle information rotated in the horizontal direction to recognize it in the source device 400 For example, rotation 270). According to one embodiment, the sink device 500 may provide resolution information (e.g., 1920x1080) and angle information (e.g., rotation 270) in which the display is rotated in the horizontal direction. The source apparatus 400 can determine whether the display type of the sink device 500 is the vertical direction or the horizontal direction based on the horizontal resolution information and the rotated angle information.

동작 507에서, 소스 장치(400)는 싱크 장치(500)에 관련된 장치 정보가 확인되면, 싱크 장치(500)와의 협상 절차를 완료할 수 있다. 예를 들면, 소스 장치(400)는 요청 메시지를 싱크 장치(500)에 전송하고, 싱크 장치(500)로부터 싱크 장치(500)의 장치 정보를 수신할 수 있다. 소스 장치(400)는 수신된 장치 정보로부터 싱크 장치(500)가 지원하는 해상도 정보와 디스플레이의 타입 정보를 획득되면, 협상 절차를 완료할 수 있다.In operation 507, the source device 400 can complete the negotiation procedure with the sink device 500 when the device information related to the sink device 500 is confirmed. For example, the source apparatus 400 may send a request message to the sink apparatus 500 and receive the apparatus information of the sink apparatus 500 from the sink apparatus 500. [ The source apparatus 400 can complete the negotiation procedure when the resolution information and display type information supported by the sink apparatus 500 are obtained from the received apparatus information.

동작 509에서, 소스 장치(400)는 미라캐스트 서비스를 위해 연결된 싱크 장치(500)에 데이터(예: 화면데이터 또는 재생 컨텐츠)를 전송할 수 있다. 예를 들면, 소스 장치(400)는 싱크 장치(500)가 지원할 수 있는 해상도 정보를 확인하여, 각 장치들에서 공통적으로 지원 가능한 해상도를 결정할 수 있다. 또한 소스 장치(400)는 싱크 장치(500)의 디스플레이 타입에 대응하여 이미지의 회전 여부를 결정할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 결정된 해상도와 디스플레이 타입에 대응하여 이미지를 변환할 수 있고, 변환된 이미지를 싱크 장치(500)에 전송할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 주기적으로, 연속적으로 또는 실시간으로 데이터를 전송할 수 있다. 다양한 실시 예들에 따라, 싱크 장치(500)는 소스 장치(400)에서 전송되는 데이터(예: 화면 데이터 또는 컨텐츠에 대응하는 이미지 프레임 데이터)를 수신하여, 디스플레이를 통해 표시할 수 있다.At operation 509, the source device 400 may transmit data (e.g., screen data or playback content) to the sink device 500 connected for the mirrorcast service. For example, the source device 400 can determine the resolutions that can be commonly supported by each device by checking the resolution information that the sink device 500 can support. In addition, the source apparatus 400 may determine whether the image is rotated in correspondence with the display type of the sink apparatus 500. According to various embodiments, the source device 400 may convert the image corresponding to the determined resolution and display type, and may transmit the converted image to the sink device 500. [ According to various embodiments, the source device 400 may transmit data periodically, continuously or in real time. According to various embodiments, sink device 500 may receive data (e.g., image data corresponding to screen data or content) transmitted from source device 400 and display it via a display.

동작 511에서, 싱크 장치(500)는 미라캐스트 연결이 설정된 상태에서, 사용자 입력에 대응한 제어 메시지를 소스 장치(400)에 전송할 수 있다. 다양한 실시 예들에 따라, 싱크 장치(500)는 사용자 입력 백 채널(UIBC, user input back channel)을 통해 사용자 입력에 따른 제어 메시지를 소스 장치(400)에 전송할 수 있다. 도 5에서 도시하지는 않았으나, 소스 장치(400)에서 사용자 입력을 처리하여 데이터를 제어하고 제어된 데이터를 싱크 장치(500)에 전송할 수도 있다. 다양한 실시 예들에 따라 사용자 입력에 대한 입력 처리 동작에 대해 후술하는 도면들을 참조하여 구체적으로 설명된다.At operation 511, the sink device 500 may transmit a control message corresponding to the user input to the source device 400, with the miracast connection established. In accordance with various embodiments, the sink device 500 may transmit a control message according to user input to the source device 400 via a user input back channel (UIBC). Although not shown in FIG. 5, the source device 400 may process the user input to control the data and transmit the controlled data to the sink device 500. The input processing operation for user input according to various embodiments will be described in detail with reference to the drawings described later.

도 6은 본 발명의 다양한 실시 예들에 따른 전자 장치의 미라캐스트 서비스를 제공하는 동작 방법을 도시하는 흐름도이다.Figure 6 is a flow diagram illustrating an operational method for providing a mirror cast service of an electronic device in accordance with various embodiments of the present invention.

도 6에 도시한 바와 같이, 도 6은 데이터를 제공(공유)하는 소스 장치로 동작하는 전자 장치(400)에서 미라캐스트 서비스를 제공하는 예를 나타낼 수 있다.As shown in FIG. 6, FIG. 6 may show an example of providing a miracast service in an electronic device 400 that acts as a source device for providing (sharing) data.

도 6을 참조하면, 동작 601에서, 전자 장치(400)(예: 소스 장치)의 프로세서(예: 도 1 또는 도 2의 프로세서(120, 210), 이하, 프로세서(210)라 칭함)는 외부 전자 장치(500)와 미라캐스트를 연결할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 미라캐스트 서비스를 위한 사용자 입력에 응답하여 외부 전자 장치(500)와 미라캐스트를 연결할 수 있다. 한 실시 예에 따르면, 프로세서(210)는 어플리케이션을 실행하여 관련 화면 데이터를 표시하는 상태, 또는 디스플레이가 턴-온된 상태(예: 홈 화면을 표시하는 상태) 등에서, 미라캐스트 서비스를 실행(예: 미라캐스트 실행 아이콘 선택)하는 사용자 입력을 수신할 수 있다.6, processor (e.g., processors 120 and 210 of FIG. 1 or 2, hereinafter referred to as processor 210) of electronic device 400 (e.g., source device) The electronic device 500 and the mirror cast can be connected. According to various embodiments, the processor 210 may couple the miracast with the external electronic device 500 in response to a user input for the miracast service. According to one embodiment, the processor 210 executes a miracast service (e.g., in a state in which an application is executed to display relevant screen data, or in a state in which the display is turned on (e.g., displaying a home screen) And selecting a mirror cast execution icon).

동작 603에서, 프로세서(210)는 미라캐스트 연결에 대응하여 외부 전자 장치(500)에 장치 정보를 요청할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 외부 전자 장치(500)가 지원하는 해상도와 외부 전자 장치(500)의 디스플레이 타입(또는 동작 모드)을 요청하는 요청 메시지를 외부 전자 장치(500)에 전송할 수 있다.At operation 603, the processor 210 may request device information from the external electronic device 500 in response to the mirror cast connection. According to various embodiments, the processor 210 may send a request message to the external electronic device 500 requesting the resolution supported by the external electronic device 500 and the display type (or mode of operation) of the external electronic device 500 .

동작 605에서, 프로세서(210)는 외부 전자 장치(500)로부터 장치 정보를 수신할 수 있다. 다양한 실시 예들에 따라, 외부 전자 장치(500)(예: 외부 전자 장치(500)의 프로세서)는 전자 장치(400)의 장치 정보 요청에 대응하여 외부 전자 장치(500)에 관련된 장치 정보를 포함하는 응답 메시지를 전자 장치(400)에 전송할 수 있다. 다양한 실시 예들에 따라, 장치 정보는, 외부 전자 장치(500)가 지원하는 해상도 정보와 디스플레이의 타입 정보를 포함할 수 있다. 다양한 실시 예들에 따르면, 장치 정보는, 외부 전자 장치(500)의 동작 모드에 대한 정보, 외부 전자 장치(500)의 타입(예: 태블릿 PC, 냉장고, 텔레비전 등)에 대한 정보, 제조사 정보, 모델명 정보, 또는 사용자 입력 백 채널(UIBC, user input back channel)의 정보 등을 더 포함할 수 있다.At operation 605, the processor 210 may receive device information from the external electronic device 500. In accordance with various embodiments, an external electronic device 500 (e.g., a processor of an external electronic device 500) may include device information associated with an external electronic device 500 in response to a device information request of the electronic device 400 Response message to the electronic device 400. [ According to various embodiments, the device information may include resolution information supported by the external electronic device 500 and type information of the display. According to various embodiments, the device information includes information about the mode of operation of the external electronic device 500, information about the type of external electronic device 500 (e.g., tablet PC, refrigerator, television, etc.) Information, or information of a user input back channel (UIBC), and the like.

동작 607에서, 프로세서(210)는 장치 정보에 기반하여 외부 전자 장치(500)의 디스플레이 타입을 판단할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 수신된 장치 정보(예: 디스플레이의 타입 정보)에 기반하여 외부 전자 장치(500)가 세로형 디스플레이인지 여부를 판단할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 수신된 장치 정보(예: 외부 전자 장치(500)의 타입에 대한 정보, 동작 모드 정보)에 기반하여 외부 전자 장치(500)가 세로 방향으로 동작 중인지 가로 방향으로 동작 중인지 여부를 판단할 수도 있다.At operation 607, the processor 210 may determine the display type of the external electronic device 500 based on the device information. According to various embodiments, the processor 210 may determine whether the external electronic device 500 is a vertical display based on the received device information (e.g., type information of the display). According to various embodiments, the processor 210 determines whether the external electronic device 500 is operating in the longitudinal direction based on received device information (e.g., information about the type of external electronic device 500, operating mode information) It is possible to judge whether or not it is in operation.

동작 609에서, 프로세서(210)는 외부 전자 장치(500)가 세로형 디스플레이(또는 세로 방향으로 동작 중)인 것을 결정하면, 동작 611에서, 세로형 디스플레이(또는 세로 방향의 동작)에 대응하도록 데이터를 생성할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 전자 장치(400)의 데이터(예: 화면 데이터, 재생 데이터)를, 외부 전자 장치(500)가 지원하는 해상도와 외부 전자 장치(500)의 세로형 디스플레이 타입에 대응하는 데이터로 생성할 수 있다. 다양한 실시 예들에 따라 데이터를 생성하는 동작에 대해 후술하는 도면들을 참조하여 구체적으로 설명된다.In operation 609, if the processor 210 determines that the external electronic device 500 is a vertical display (or vertically in motion), then in operation 611, the data 210 Lt; / RTI &gt; According to various embodiments, the processor 210 may convert data (e.g., screen data, playback data) of the electronic device 400 to a resolution supported by the external electronic device 500, Can be generated with data corresponding to the type. The operation of generating data in accordance with various embodiments will be described in detail with reference to the drawings described later.

동작 613에서, 프로세서(210)는 생성된 데이터를 외부 전자 장치(500)에 전송할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 데이터를 전송할 때 스트리밍(streaming)으로 전송할 수 있다. 예를 들면, 프로세서(210)는 주기적으로, 연속적으로 또는 실시간으로 데이터를 전송할 수 있다. At operation 613, the processor 210 may send the generated data to the external electronic device 500. According to various embodiments, the processor 210 may transmit data streaming when transmitting. For example, the processor 210 may transmit data periodically, continuously, or in real time.

도 7 및 도 8은 본 발명의 다양한 실시 예들에 따른 미라캐스트 서비스의 동작 시나리오의 일 예를 설명하기 위해 도시하는 도면들이다. 7 and 8 are diagrams illustrating an example of an operation scenario of a mirror cast service according to various embodiments of the present invention.

도 7 및 도 8에 도시한 바와 같이, 도 7 및 도 8은 전자 장치(400)가 미라캐스트 서비스(기능) 중 미러링(mirroring) 모드로 동작하는 경우의 예를 나타낼 수 있다. 다양한 실시 예들에서, 미러링 모드는 전자 장치(400)(예: 소스 장치)의 화면 데이터를 외부 전자 장치(500)(예: 싱크 장치)에서 그대로 표시하는 동작을 포함할 수 있다. 예를 들면, 미러링 모드는 전자 장치(400)에 표시되는 화면과 외부 전자 장치(500)에 표시되는 화면이 동일할 수 있다. 도 7 및 도 8에서는 세로형 디스플레이(예: 세로 방향이 기본으로 고정된 세로형 디스플레이) 기반의 싱크 장치(500)(예: 냉장고 등)를 예로 설명하지만, 다양한 실시 예들이 이에 한정하는 것은 아니다. 예를 들면, 다양한 실시 예들에 따르면, 기본이 가로 방향인 디스플레이를 세로 방향으로 회전하여 사용되는 디스플레이 기반의 싱크 장치(500)(예: 태블릿 PC 등)에서도 동작할 수 있다.As shown in Figs. 7 and 8, Figs. 7 and 8 can show an example in which the electronic device 400 operates in a mirroring mode among miracle-cast services (functions). In various embodiments, the mirroring mode may include the act of displaying the screen data of the electronic device 400 (e.g., source device) as it is in the external electronic device 500 (e.g., a sink device). For example, the mirroring mode may be the same as the screen displayed on the electronic device 400 and the screen displayed on the external electronic device 500. 7 and 8 illustrate an example of a sink device 500 (e.g., a refrigerator or the like) based on a vertical display (e.g., a vertical display with a fixed vertical orientation), but the various embodiments are not limited thereto . For example, according to various embodiments, the display may operate in a display-based sink device 500 (e.g., a tablet PC, etc.) that is used to rotate the display in the landscape orientation in the primary direction.

도 7을 참조하면, 도 7은 예시 <701> 및 예시 <707>에 도시한 바와 같이, 해상도가 2560x1440이고 포트레이트 레이아웃(portrait layout)으로 동작하는 전자 장치(400)(이하, 소스 장치)와, 해상도가 1920x1080이고 디스플레이 타입이 세로형 디스플레이(750)인 외부 전자 장치(500)(이하, 싱크 장치)(예: 냉장고)가 서로 미라캐스트로 연결된 상태를 나타낼 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)와 협상 절차를 통해, 싱크 장치(500)의 디스플레이 타입이 세로형 디스플레이(750)이고, 지원 해상도가 1920x1080인 것을 판단할 수 있다. 예를 들면, 싱크 장치(500)는 해상도 정보(예: 1920x1080)와, 가로 방향으로 디스플레이가 회전된 각도 정보(예: rotation 270)를 제공할 수 있다. 소스 장치(400)는 가로 방향의 해상도 정보와 회전된 각도 정보에 기초하여 싱크 장치(500)의 디스플레이 타입이 세로 방향인지 또는 가로 방향인지 여부를 판단할 수 있다.7, there is shown an electronic device 400 (hereinafter referred to as a source device) that operates at a portrait layout with a resolution of 2560x1440, as shown in FIG. 7 and FIG. 7, An external electronic device 500 (hereinafter referred to as a sink device) (for example, a refrigerator) having a resolution of 1920 x 1080 and a display type of which is a vertical display 750 may be mirror-cast to each other. According to various embodiments, the source device 400 may determine through the negotiation procedure with the sink device 500 that the display type of the sink device 500 is the vertical display 750 and the supported resolution is 1920x1080 . For example, the sink device 500 may provide resolution information (e.g., 1920x1080) and angle information (e.g., rotation 270) in which the display is rotated in the horizontal direction. The source apparatus 400 can determine whether the display type of the sink device 500 is the vertical direction or the horizontal direction based on the horizontal resolution information and the rotated angle information.

소스 장치(400)는 싱크 장치(500)로 전송하고자 하는 데이터(예: 화면 데이터)를 판단된 해상도(예: 1920x1080)에 대응하도록 생성할 수 있다. 예를 들면, 소스 장치(400)는 자신의 해상도(2560x1440)에 대응하는 화면 데이터를 싱크 장치(500)의 해상도(1920x1080)에 대응하도록 변경하여 공유 데이터를 생성할 수 있다.The source apparatus 400 may generate data (e.g., screen data) to be transmitted to the sink apparatus 500 so as to correspond to the determined resolution (e.g., 1920x1080). For example, the source apparatus 400 can generate the shared data by changing the screen data corresponding to the resolution (2560x1440) of the source apparatus 400 to correspond to the resolution (1920x1080) of the sink apparatus 500. [

다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)의 디스플레이 타입이 세로형 디스플레이(750)인 것에 기반하여, 세로형 디스플레이를 위한 공유 데이터를 생성할 수 있다. 예를 들면, 예시 <703>에 도시한 바와 같이, 소스 장치(400)는 공유 데이터를 생성할 때, 공유 데이터를 그리기(drawing)(또는 생성하기) 위한 가상 디스플레이(virtual display)(710)(예: 캔버스(canvas))를 회전하여 세로 형태로 변경할 수 있다. 한 실시 예에 따르면, 소스 장치(400)는 공유 데이터를 생성할 때, 싱크 장치(500)의 해상도(1920x1080)에 대응하여 해상도가 1920x1080인 가상 디스플레이(710)를 생성할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 예시 <701>의 세로 형태의 화면 데이터를, 세로 형태의 가상 디스플레이(710) 내에서 가로와 세로 비율(9:16)로 생성할 수 있다. 예를 들면, 소스 장치(400)는 세로 형태의 가상 디스플레이(710)를 이용하여, 소스 장치(400)에 표시되는 세로 형태의 화면 데이터의 형태(예: 포트레이트 레이아웃)로 생성할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 예시 <701> 및 예시 <703>과 같이 화면 데이터의 회전 없이 공유 데이터를 생성할 수 있다. 소스 장치(400)는 싱크 장치(500)의 지원 해상도에 대응하는 가상 디스플레이(710)를 이용하여 공유 데이터를 생성할 수 있다.According to various embodiments, the source device 400 may generate shared data for a vertical display, based on the display type of the sink device 500 being a vertical display 750. [ For example, as shown in the example, the source device 400 may include a virtual display 710 (FIG. 7B) for drawing (or creating) shared data when generating shared data For example: a canvas can be rotated to change its shape vertically. According to one embodiment, the source device 400 may generate a virtual display 710 with a resolution of 1920x1080 corresponding to the resolution (1920x1080) of the sink device 500 when generating the shared data. According to various embodiments, the source apparatus 400 may generate the screen data of the vertical form of the example in a horizontal and vertical ratio (9:16) within the virtual display 710 of the vertical form. For example, the source apparatus 400 can be generated in the form of vertical screen data (e.g., portrait layout) displayed on the source apparatus 400 using the virtual display 710 in the form of a vertical form. According to various embodiments, the source device 400 may generate shared data without the rotation of the screen data, for example, as shown in FIG. The source device 400 may generate the shared data using the virtual display 710 corresponding to the supported resolution of the sink device 500. [

한 실시 예에 따라, 가상 디스플레이(710)는, 기본적으로 가로 방향(landscape orientation)의 디스플레이에 대응하도록 가로 형태로 제공될 수 있다. 소스 장치(400)는 기본 설정된 가로 형태의 가상 디스플레이(710)를 싱크 장치(500)의 세로형 디스플레이(750)(예: 회전 각도 정보)에 대응하도록 세로 형태로 회전(예: 90도 또는 270도 회전)할 수 있다. 다양한 실시 예들에서, 소스 장치(400)는 협상 절차에서 판단된 디스플레이의 타입 정보에 기반하여 가상 디스플레이(710)의 회전 및/또는 회전 방향을 결정할 수 있다. 소스 장치(400)는 회전된 가상 디스플레이(710)를 이용하여 세로형 디스플레이(750)에 표시될 공유 데이터를 생성할 수 있다.According to one embodiment, the virtual display 710 may be provided in a landscape format to correspond to a display of essentially landscape orientation. The source device 400 rotates vertically (e.g., 90 degrees or 270 degrees) to correspond to the vertical display 750 (e.g., rotation angle information) of the sink device 500, Can also be rotated). In various embodiments, the source device 400 may determine the rotation and / or the direction of rotation of the virtual display 710 based on the type information of the display determined in the negotiation procedure. The source device 400 may use the rotated virtual display 710 to generate shared data to be displayed on the vertical display 750.

다양한 실시 예들에 따라, 소스 장치(400)는, 예시 <705>에 도시한 바와 같이, 세로형 디스플레이(750)에 대응되는 가상 디스플레이(710)에 의해 생성된 공유 데이터를, 싱크 장치(500)에 전송하기 위한 버퍼(730)(예: 프레임 버퍼)를 통해 이미지 프레임 데이터로 생성할 수 있다. 소스 장치(400)는 이미지 프레임 데이터를 무선 통신을 통해 싱크 장치(500)에 전송할 수 있다. In accordance with various embodiments, the source apparatus 400 may provide the shared data generated by the virtual display 710, corresponding to the vertical display 750, to the sink device 500, as shown in the example, (E.g., a frame buffer) for transmitting the image frame data to the buffer 730. [ The source device 400 may transmit the image frame data to the sink device 500 via wireless communication.

다양한 실시 예들에 따르면, 소스 장치(400)는 가상 디스플레이(710)를 이용한 공유 데이터 생성 단계에서, 가로 방향 또는 세로 방향의 가상 디스플레이(710)를 이용하여, 싱크 장치(500)의 디스플레이 타입(또는 디스플레이의 동작 방향) 및 해당 해상도에 대응하는 공유 데이터를 생성할 수 있다. 따라서 소스 장치(400)는 싱크 장치(500)의 해상도를 맞추기 위한 추가적인 해상도 변경 동작을 수행하지 않을 수 있다. 따라서 다양한 실시 예들에서는, 해상도 변경에 따른 인코더 변경을 수행하지 않을 수 있다.According to various embodiments, the source device 400 may generate the shared data using the virtual display 710 by using the virtual display 710 in the horizontal or vertical direction, The direction of operation of the display) and the shared data corresponding to that resolution. Therefore, the source apparatus 400 may not perform an additional resolution changing operation to adjust the resolution of the sink apparatus 500. [ Thus, in various embodiments, it may not perform encoder changes due to resolution changes.

다양한 실시 예들에 따라, 싱크 장치(500)는, 예시 <707>에 도시한 바와 같이, 소스 장치(400)로부터 수신된 이미지 프레임 데이터를 바로 표시할 수 있다. 예를 들면, 소스 장치(400)에서 세로형 디스플레이(750)에 대응하도록 맞춰진 이미지 프레임 데이터가 전송됨에 따라, 싱크 장치(500)는 수신된 이미지에 대한 어떠한 처리(예: 회전(rotation) 및/또는 스케일링(scaling) 등) 없이 수신된 이미지 프레임 데이터를 바로 표시할 수 있다. 예를 들면, 소스 장치(400)가 가상 디스플레이(710)를 통해 그려지는 데이터(예: 예시 <803> 참조)와 동일한 형태의 데이터가 세로형 디스플레이(750)를 통해 표시될 수 있다.In accordance with various embodiments, the sink device 500 may immediately display image frame data received from the source device 400, as shown in the example. For example, as image frame data aligned in the source device 400 to correspond to the vertical display 750 is transmitted, the sink device 500 may perform some processing (e.g., rotation and / Or scaling, etc.) of the received image frame data. For example, data of the same type as the data (e.g., example 803) drawn by the source device 400 via the virtual display 710 may be displayed via the vertical display 750.

도 8을 참조하면, 도 8은 예시 <801> 및 예시 <807>에 도시한 바와 같이, 해상도가 2560x1440이고 랜드스케이프 레이아웃(landscape layout)으로 동작하는 전자 장치(400)(이하, 소스 장치)와, 해상도가 1920x1080이고 디스플레이 타입이 세로형 디스플레이(750)인 외부 전자 장치(500)(이하, 싱크 장치)(예: 냉장고)가 서로 미라캐스트로 연결된 상태를 나타낼 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)와 협상 절차를 통해, 싱크 장치(500)의 디스플레이 타입이 세로형 디스플레이(750)이고, 지원 해상도가 1920x1080인 것을 판단할 수 있다. 예를 들면, 싱크 장치(500)는 해상도 정보(예: 1920x1080)와, 가로 방향으로 디스플레이가 회전된 각도 정보(예: rotation 270)를 제공할 수 있다. 소스 장치(400)는 가로 방향의 해상도 정보와 회전된 각도 정보에 기초하여 싱크 장치(500)의 디스플레이 타입이 세로 방향인지 또는 가로 방향인지 여부를 판단할 수 있다.소스 장치(400)는 싱크 장치(500)로 전송하고자 하는 데이터(예: 화면 데이터)를 판단된 해상도(예: 1920x1080)에 대응하도록 생성할 수 있다. 예를 들면, 소스 장치(400)는 자신의 해상도(2560x1440)에 대응하는 화면 데이터를 싱크 장치(500)의 해상도(1920x1080)에 대응하도록 변경하여 공유 데이터를 생성할 수 있다. 8, there is shown an electronic device 400 (hereinafter, referred to as a source device) that operates at a landscape layout with a resolution of 2560x1440, as shown in FIG. 8 and FIG. , An external electronic device 500 (hereinafter referred to as a sink device) (e.g., a refrigerator) having a resolution of 1920 x 1080 and a display type of which is a vertical display 750 may be mirror-cast to each other. According to various embodiments, the source device 400 may determine through the negotiation procedure with the sink device 500 that the display type of the sink device 500 is the vertical display 750 and the supported resolution is 1920x1080 . For example, the sink device 500 may provide resolution information (e.g., 1920x1080) and angle information (e.g., rotation 270) in which the display is rotated in the horizontal direction. The source device 400 can determine whether the display type of the sink device 500 is the vertical direction or the horizontal direction based on the horizontal resolution information and the rotated angle information. (E.g., screen data) to be transmitted to the display unit 500 corresponding to the determined resolution (e.g., 1920x1080). For example, the source apparatus 400 can generate the shared data by changing the screen data corresponding to the resolution (2560x1440) of the source apparatus 400 to correspond to the resolution (1920x1080) of the sink apparatus 500. [

다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)의 디스플레이 타입이 세로형 디스플레이(750)인 것에 기반하여, 세로형 디스플레이를 위한 공유 데이터를 생성할 수 있다. 예를 들면, 예시 <803>에 도시한 바와 같이, 소스 장치(400)는 공유 데이터를 생성할 때, 공유 데이터를 그리기(또는 생성하기) 위한 가상 디스플레이(710)(예: 캔버스)를 회전하여 세로 형태로 변경할 수 있다. 한 실시 예에 따르면, 소스 장치(400)는 공유 데이터를 생성할 때, 싱크 장치(500)의 해상도(1920x1080)에 대응하여 해상도가 1920x1080인 가상 디스플레이(710)를 생성할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 예시 <801>의 가로 형태의 화면 데이터를, 세로 형태의 가상 디스플레이(710) 내에서 가로와 세로 비율(16:9)로 생성할 수 있다. 예를 들면, 소스 장치(400)는 세로 형태의 가상 디스플레이(710)를 이용하여, 소스 장치(400)에 표시되는 가로 형태의 화면 데이터의 형태(예: 랜드스케이프 레이아웃)로 생성할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 예시 <801> 및 예시 <803>과 같이 화면 데이터의 회전 없이 공유 데이터를 생성할 수 있다. 소스 장치(400)는 싱크 장치(500)의 지원 해상도에 대응하는 가상 디스플레이(710)를 이용하여 세로형 디스플레이(750)에 표시될 공유 데이터를 생성할 수 있다.According to various embodiments, the source device 400 may generate shared data for a vertical display, based on the display type of the sink device 500 being a vertical display 750. [ For example, as shown in the example, the source device 400 may rotate a virtual display 710 (e.g., a canvas) to draw (or create) shared data when generating shared data It can be changed into a vertical form. According to one embodiment, the source device 400 may generate a virtual display 710 with a resolution of 1920x1080 corresponding to the resolution (1920x1080) of the sink device 500 when generating the shared data. According to various embodiments, the source device 400 may generate screen data of the landscape of the example in a vertical and vertical aspect ratio (16: 9) within the virtual display 710. For example, the source device 400 can be generated in the form of landscape data (e.g., landscape layout) displayed on the source device 400 using the virtual display 710 in the vertical form. According to various embodiments, the source device 400 may generate shared data without rotation of the screen data, such as example < 801 > and example. The source device 400 may generate the shared data to be displayed on the vertical display 750 using the virtual display 710 corresponding to the supported resolution of the sink device 500. [

한 실시 예에 따라, 가상 디스플레이(710)는, 기본적으로 가로 방향(landscape orientation)의 디스플레이에 대응하도록 가로 형태로 제공될 수 있다. 소스 장치(400)는 기본 설정된 가로 형태의 가상 디스플레이(710)를 싱크 장치(500)의 세로형 디스플레이(750)(예: 회전 각도 정보)에 대응하도록 세로 형태로 회전(예: 90도 또는 270도 회전)할 수 있다.According to one embodiment, the virtual display 710 may be provided in a landscape format to correspond to a display of essentially landscape orientation. The source device 400 rotates vertically (e.g., 90 degrees or 270 degrees) to correspond to the vertical display 750 (e.g., rotation angle information) of the sink device 500, Can also be rotated).

다양한 실시 예들에 따라, 소스 장치(400)는, 예시 <805>에 도시한 바와 같이, 세로형 디스플레이(750)에 대응되는 가상 디스플레이(710)에 의해 생성된 공유 데이터를, 싱크 장치(500)에 전송하기 위한 버퍼(730)(예: 프레임 버퍼)를 통해 이미지 프레임 데이터로 생성할 수 있다. 소스 장치(400)는 이미지 프레임 데이터를 무선 통신을 통해 싱크 장치(500)에 전송할 수 있다. 다양한 실시 예들에 따르면, 소스 장치(400)는 가상 디스플레이(710)를 이용한 공유 데이터 생성 단계에서, 가로 방향 또는 세로 방향의 가상 디스플레이(710)를 이용하여, 싱크 장치(500)의 디스플레이 타입(또는 디스플레이의 동작 방향) 및 해당 해상도에 대응하는 공유 데이터를 생성할 수 있다. 따라서 소스 장치(400)는 싱크 장치(500)의 해상도를 맞추기 위한 추가적인 해상도 변경 동작을 수행하지 않을 수 있다. 따라서 다양한 실시 예들에서는, 해상도 변경에 따른 인코더 변경을 수행하지 않을 수 있다.In accordance with various embodiments, the source apparatus 400 may send the shared data generated by the virtual display 710 corresponding to the vertical display 750 to the sink device 500, as shown in the example, (E.g., a frame buffer) for transmitting the image frame data to the buffer 730. [ The source device 400 may transmit the image frame data to the sink device 500 via wireless communication. According to various embodiments, the source device 400 may generate the shared data using the virtual display 710 by using the virtual display 710 in the horizontal or vertical direction, The direction of operation of the display) and the shared data corresponding to that resolution. Therefore, the source apparatus 400 may not perform an additional resolution changing operation to adjust the resolution of the sink apparatus 500. [ Thus, in various embodiments, it may not perform encoder changes due to resolution changes.

다양한 실시 예들에 따라, 싱크 장치(500)는, 예시 <807>에 도시한 바와 같이, 소스 장치(400)로부터 수신된 이미지 프레임 데이터를 바로 표시할 수 있다. 예를 들면, 소스 장치(400)에서 세로형 디스플레이(750)에 대응하도록 맞춰진 이미지 프레임 데이터가 전송됨에 따라, 싱크 장치(500)는 수신된 이미지에 대한 어떠한 처리(예: 회전 및/또는 스케일링 등) 없이 수신된 이미지 프레임 데이터를 바로 표시할 수 있다. 예를 들면, 소스 장치(400)가 가상 디스플레이(710)를 통해 그려지는 데이터(예: 예시 <803> 참조)와 동일한 형태의 데이터가 세로형 디스플레이(750)를 통해 표시될 수 있다.According to various embodiments, the sink device 500 may immediately display the image frame data received from the source device 400, as shown in the example. For example, as image frame data aligned in the source device 400 to correspond to the vertical display 750 is transmitted, the sink device 500 may perform some processing (e.g., rotation and / or scaling, etc.) on the received image The received image frame data can be displayed immediately. For example, data of the same type as the data (e.g., example 803) drawn by the source device 400 via the virtual display 710 may be displayed via the vertical display 750.

도 7 및 도 8을 참조하여 살펴본 바와 같이, 다양한 실시 예들에 따르면, 소스 장치(400)는 싱크 장치(500)의 디스플레이 타입에 대응하여, 가로 방향 또는 세로 방향의 가상 디스플레이(710)를 생성하고, 가상 디스플레이(710)를 싱크 장치(500)의 해상도에 대응하는 해상도로 생성할 수 있다. 따라서 다양한 실시 예들에 따르면, 소스 장치(400)에서 생성되는 공유 데이터는, 예를 들면, 싱크 장치(500)의 해당 방향의 디스플레이에 직접 표시하는 것과 효과를 제공할 수 있고, 이에 따라 이미지 열화 등을 방지할 수 있다.7 and 8, according to various embodiments, the source apparatus 400 generates a virtual display 710 in the horizontal or vertical direction corresponding to the display type of the sink apparatus 500 , The virtual display 710 can be generated with a resolution corresponding to the resolution of the sink device 500. Thus, according to various embodiments, the shared data generated in the source device 400 can provide, for example, direct display and effects on the corresponding directional display of the sink device 500, Can be prevented.

도 9 및 도 10은 본 발명의 다양한 실시 예들에 따른 미라캐스트 서비스의 동작 시나리오의 다른 예를 설명하기 위해 도시하는 도면들이다.9 and 10 are diagrams illustrating another example of an operation scenario of a miracast service according to various embodiments of the present invention.

도 9 및 도 10에 도시한 바와 같이, 도 9 및 도 10은 미라캐스트 서비스(기능) 중 프리젠테이션(presentation) 모드로 동작하는 경우의 예를 나타낼 수 있다. 다양한 실시 예들에서, 프리젠테이션 모드는 전자 장치(400)(예: 소스 장치)의 재생 데이터(예: 동영상 데이터, 게임 데이터, 문서 데이터 등 전자 장치(400)에 의해 실행(재생)되는 데이터)를 외부 전자 장치(500)(예: 싱크 장치)를 통해 표시하면서, 전자 장치(400)가 외부 전자 장치(500) 또는 외부 전자 장치(500)를 통해 표시된 데이터의 제어에 관련된 인터페이스를 제공하는 동작을 포함할 수 있다. 예를 들면, 프리젠테이션 모드는 전자 장치(400)에 표시되는 화면과 외부 전자 장치(500)에 표시되는 화면이 다를 수 있다. 도 9 및 도 10에서는 세로형 디스플레이(예: 세로 방향이 기본으로 고정된 세로형 디스플레이) 기반의 싱크 장치(500)(예: 냉장고 등)를 예로 설명하지만, 다양한 실시 예들이 이에 한정하는 것은 아니다. 예를 들면, 다양한 실시 예들에 따르면, 기본이 가로 방향인 디스플레이를 세로 방향으로 회전하여 사용되는 디스플레이 기반의 싱크 장치(500)(예: 태블릿 PC 등)에서도 동작할 수 있다.As shown in Figs. 9 and 10, Figs. 9 and 10 illustrate examples of operations in a presentation mode among miracle-cast services (functions). In various embodiments, the presentation mode may be configured to store playback data (e.g., data played (played) by electronic device 400, such as video data, game data, or document data) of electronic device 400 The operation of providing the interface associated with the control of the displayed data via the external electronic device 500 or the external electronic device 500 while displaying it via the external electronic device 500 (e.g., a sink device) . For example, in the presentation mode, the screen displayed on the electronic device 400 and the screen displayed on the external electronic device 500 may be different. 9 and 10 illustrate an example of a sink device 500 (e.g., a refrigerator or the like) based on a vertical display (e.g., a vertical display fixed to the longitudinal direction), but the various embodiments are not limited thereto . For example, according to various embodiments, the display may operate in a display-based sink device 500 (e.g., a tablet PC, etc.) that is used to rotate the display in the landscape orientation in the primary direction.

도 9를 참조하면, 도 9는 예시 <901> 및 예시 <907>에 도시한 바와 같이, 컨텐츠의 해상도가 1920x1080이고 컨텐츠를 포트레이트 레이아웃으로 재생하는 전자 장치(400)(이하, 소스 장치)와, 디스플레이(750)의 해상도가 1920x1080이고 디스플레이 타입이 세로형 디스플레이(750)인 외부 전자 장치(500)(이하, 싱크 장치)(예: 냉장고)가 서로 미라캐스트로 연결된 상태를 나타낼 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)와 협상 절차를 통해, 싱크 장치(500)의 디스플레이 타입이 세로형 디스플레이(750)이고, 지원 해상도가 1920x1080인 것을 판단할 수 있다. 예를 들면, 싱크 장치(500)는 해상도 정보(예: 1920x1080)와, 가로 방향으로 디스플레이가 회전된 각도 정보(예: rotation 270)를 제공할 수 있다. 소스 장치(400)는 가로 방향의 해상도 정보와 회전된 각도 정보에 기초하여 싱크 장치(500)의 디스플레이 타입이 세로 방향인지 또는 가로 방향인지 여부를 판단할 수 있다.9, an electronic device 400 (hereinafter, referred to as a source device) for reproducing a content in a portrait layout and having a content resolution of 1920x1080, as shown in FIG. 9 and FIG. 9, An external electronic device 500 (hereinafter referred to as a sink device) (for example, a refrigerator) in which the display 750 has a resolution of 1920 x 1080 and the display type is a vertical display 750 may be mirror-cast to each other. According to various embodiments, the source device 400 may determine through the negotiation procedure with the sink device 500 that the display type of the sink device 500 is the vertical display 750 and the supported resolution is 1920x1080 . For example, the sink device 500 may provide resolution information (e.g., 1920x1080) and angle information (e.g., rotation 270) in which the display is rotated in the horizontal direction. The source apparatus 400 can determine whether the display type of the sink device 500 is the vertical direction or the horizontal direction based on the horizontal resolution information and the rotated angle information.

소스 장치(400)는 싱크 장치(500)로 전송하고자 하는 데이터(예: 재생 데이터)를 판단된 해상도(예: 1920x1080)에 대응하도록 생성할 수 있다. 예를 들면, 소스 장치(400)는 특정 해상도(1920x1080)를 가지는 재생 데이터를 싱크 장치(500)의 해상도(1920x1080)에 대응하도록 변경하여 공유 데이터를 생성할 수 있다.The source apparatus 400 may generate data (e.g., reproduced data) to be transmitted to the sink apparatus 500 so as to correspond to the determined resolution (e.g., 1920x1080). For example, the source apparatus 400 can generate the shared data by changing the reproduction data having the specific resolution (1920x1080) to correspond to the resolution (1920x1080) of the sink apparatus 500. [

다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)의 디스플레이 타입이 세로형 디스플레이(750)인 것에 기반하여, 세로형 디스플레이를 위한 공유 데이터를 생성할 수 있다. 예를 들면, 예시 <903>에 도시한 바와 같이, 소스 장치(400)는 공유 데이터를 생성할 때, 공유 데이터를 그리기(또는 생성하기) 위한 가상 디스플레이(710)(예: 캔버스)를 회전하여 세로 형태로 변경할 수 있다. 한 실시 예에 따르면, 소스 장치(400)는 공유 데이터를 생성할 때, 싱크 장치(500)의 해상도(1920x1080)에 대응하여 해상도가 1920x1080인 가상 디스플레이(710)를 생성할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 예시 <901>의 세로 형태의 재생 데이터를, 세로 형태의 가상 디스플레이(710) 내에서 가로와 세로 비율(9:16)로 생성할 수 있다. 예를 들면, 소스 장치(400)는 세로 형태의 가상 디스플레이(710)를 이용하여, 소스 장치(400)에 표시되는 세로 형태의 재생 데이터의 형태(예: 포트레이트 레이아웃)로 생성할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 예시 <901> 및 예시 <903>과 같이 재생 데이터의 회전 없이 공유 데이터를 생성할 수 있다. 소스 장치(400)는 싱크 장치(500)의 지원 해상도에 대응하는 가상 디스플레이(710)를 이용하여 공유 데이터를 생성할 수 있다.According to various embodiments, the source device 400 may generate shared data for a vertical display, based on the display type of the sink device 500 being a vertical display 750. [ For example, as shown in the example, the source device 400 rotates a virtual display 710 (e.g., a canvas) for drawing (or creating) shared data when generating shared data It can be changed into a vertical form. According to one embodiment, the source device 400 may generate a virtual display 710 with a resolution of 1920x1080 corresponding to the resolution (1920x1080) of the sink device 500 when generating the shared data. According to various embodiments, the source apparatus 400 may generate the vertical reproduction data of the example in a vertical and horizontal aspect ratio (9:16) within the virtual display 710 in the vertical form. For example, the source apparatus 400 can be generated in the form of vertical reproduction data (e.g., portrait layout) displayed on the source apparatus 400 by using the virtual display 710 in the vertical form. According to various embodiments, the source apparatus 400 may generate shared data without rotation of the reproduction data, for example, < 90 > The source device 400 may generate the shared data using the virtual display 710 corresponding to the supported resolution of the sink device 500. [

다양한 실시 예들에 따라, 소스 장치(400)는 기본 설정된 가로 형태의 가상 디스플레이(710)를 싱크 장치(500)의 세로형 디스플레이(750)에 대응하도록 세로 형태로 회전(예: 90도 또는 270도 회전)할 수 있다. 다양한 실시 예들에서, 소스 장치(400)는 협상 절차에서 판단된 디스플레이의 타입 정보에 기반하여 가상 디스플레이(710)의 회전 및/또는 회전 방향을 결정할 수 있다. 소스 장치(400)는 회전된 가상 디스플레이(710)를 이용하여 세로형 디스플레이(750)에 표시될 공유 데이터를 생성할 수 있다.According to various embodiments, the source apparatus 400 may rotate the virtual display 710 in the default horizontal form to a vertical form (e.g., 90 degrees or 270 degrees) to correspond to the vertical display 750 of the sink device 500 Rotation). In various embodiments, the source device 400 may determine the rotation and / or the direction of rotation of the virtual display 710 based on the type information of the display determined in the negotiation procedure. The source device 400 may use the rotated virtual display 710 to generate shared data to be displayed on the vertical display 750.

한 실시 예에 따라, 가상 디스플레이(710)는, 기본적으로 가로 방향(landscape orientation)의 디스플레이에 대응하도록 가로 형태로 제공될 수 있다. 소스 장치(400)는 기본 설정된 가로 형태의 가상 디스플레이(710)를 싱크 장치(500)의 세로형 디스플레이(750)(예: 회전 각도 정보)에 대응하도록 세로 형태로 회전(예: 90도 또는 270도 회전)할 수 있다.According to one embodiment, the virtual display 710 may be provided in a landscape format to correspond to a display of essentially landscape orientation. The source device 400 rotates vertically (e.g., 90 degrees or 270 degrees) to correspond to the vertical display 750 (e.g., rotation angle information) of the sink device 500, Can also be rotated).

다양한 실시 예들에 따라, 소스 장치(400)는, 예시 <905>에 도시한 바와 같이, 세로형 디스플레이(750)에 대응되는 가상 디스플레이(710)에 의해 생성된 공유 데이터를, 싱크 장치(500)에 전송하기 위한 버퍼(730)(예: 프레임 버퍼)를 통해 이미지 프레임 데이터로 생성할 수 있다. 소스 장치(400)는 이미지 프레임 데이터를 무선 통신을 통해 싱크 장치(500)에 전송할 수 있다. In accordance with various embodiments, the source apparatus 400 may provide the shared data generated by the virtual display 710, corresponding to the vertical display 750, to the sink device 500, as shown, for example, (E.g., a frame buffer) for transmitting the image frame data to the buffer 730. [ The source device 400 may transmit the image frame data to the sink device 500 via wireless communication.

다양한 실시 예들에 따라, 싱크 장치(500)는, 예시 <907>에 도시한 바와 같이, 소스 장치(400)로부터 수신된 이미지 프레임 데이터를 바로 표시할 수 있다. 예를 들면, 소스 장치(400)에서 세로형 디스플레이(750)에 대응하도록 맞춰진 이미지 프레임 데이터가 전송됨에 따라, 싱크 장치(500)는 수신된 이미지에 대한 어떠한 처리(예: 회전 및/또는 스케일링 등) 없이 수신된 이미지 프레임 데이터를 바로 표시할 수 있다. 예를 들면, 소스 장치(400)가 가상 디스플레이(710)를 통해 그려지는 데이터(예: 예시 <903> 참조)와 동일한 형태의 데이터가 세로형 디스플레이(750)를 통해 표시될 수 있다.In accordance with various embodiments, the sink device 500 may immediately display the image frame data received from the source device 400, as shown in the example. For example, as image frame data aligned in the source device 400 to correspond to the vertical display 750 is transmitted, the sink device 500 may perform some processing (e.g., rotation and / or scaling, etc.) on the received image The received image frame data can be displayed immediately. For example, the same type of data as the data (e.g., see FIG. 903) that the source device 400 is drawn through the virtual display 710 may be displayed via the vertical display 750.

다양한 실시 예들에 따라, 소스 장치(400)는, 예시 <901>에 도시한 바와 같이, 소스 장치(400)에서 재생되는 재생 데이터가 싱크 장치(500)에 전송되는 것에, 순차적으로 또는 병렬적으로, 프리젠테이션 모드에 따라 소스 장치(400)에 재생 데이터의 제어에 관련된 유저 인터페이스(900)를 표시할 수 있다. 유저 인터페이스(900)는 재생 데이터의 종류(예: 게임 데이터, 문서 데이터, 동영상 데이터 등)에 따라 다양한 형태로 구현될 수 있다.According to various embodiments, the source apparatus 400 may be configured to transmit the reproduction data reproduced in the source apparatus 400 to the sink apparatus 500, sequentially or in parallel, as shown in the example , And the user interface 900 related to the control of the reproduction data can be displayed on the source device 400 according to the presentation mode. The user interface 900 can be implemented in various forms according to the type of reproduction data (e.g., game data, document data, moving picture data, etc.).

도 10을 참조하면, 도 10은 예시 <1001> 및 예시 <1007>에 도시한 바와 같이, 컨텐츠의 해상도가 1920x1080이고 컨텐츠가 랜드스케이프 레이아웃으로 재생하는 전자 장치(400)(이하, 소스 장치)와, 디스플레이(750)의 해상도가 1920x1080이고 디스플레이 타입이 세로형 디스플레이(750)인 외부 전자 장치(500)(이하, 싱크 장치)(예: 냉장고)가 서로 미라캐스트로 연결된 상태를 나타낼 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)와 협상 절차를 통해, 싱크 장치(500)의 디스플레이 타입이 세로형 디스플레이(750)이고, 지원 해상도가 1920x1080인 것을 판단할 수 있다. 예를 들면, 싱크 장치(500)는 해상도 정보(예: 1920x1080)와, 가로 방향으로 디스플레이가 회전된 각도 정보(예: rotation 270)를 제공할 수 있다. 소스 장치(400)는 가로 방향의 해상도 정보와 회전된 각도 정보에 기초하여 싱크 장치(500)의 디스플레이 타입이 세로 방향인지 또는 가로 방향인지 여부를 판단할 수 있다.10, there is shown an electronic device 400 (hereinafter, referred to as a source device) that reproduces content in a landscape layout and has a content resolution of 1920x1080, as shown in an example <1001> and an example <1007> , The external electronic device 500 (hereinafter referred to as a sink device) (e.g., a refrigerator) in which the display 750 has a resolution of 1920 x 1080 and the display type is the vertical display 750 may be mirror-cast to each other. According to various embodiments, the source device 400 may determine through the negotiation procedure with the sink device 500 that the display type of the sink device 500 is the vertical display 750 and the supported resolution is 1920x1080 . For example, the sink device 500 may provide resolution information (e.g., 1920x1080) and angle information (e.g., rotation 270) in which the display is rotated in the horizontal direction. The source apparatus 400 can determine whether the display type of the sink device 500 is the vertical direction or the horizontal direction based on the horizontal resolution information and the rotated angle information.

소스 장치(400)는 싱크 장치(500)로 전송하고자 하는 데이터(예: 재생 데이터)를 판단된 해상도(예: 1920x1080)에 대응하도록 생성할 수 있다. 예를 들면, 소스 장치(400)는 특정 해상도(1290x1080)를 가지는 재생 데이터를 싱크 장치(500)의 해상도(1920x1080)에 대응하도록 변경하여 공유 데이터를 생성할 수 있다.The source apparatus 400 may generate data (e.g., reproduced data) to be transmitted to the sink apparatus 500 so as to correspond to the determined resolution (e.g., 1920x1080). For example, the source apparatus 400 can generate the shared data by changing the reproduction data having the specific resolution (1290x1080) to correspond to the resolution (1920x1080) of the sink apparatus 500. [

다양한 실시 예들에 따라, 소스 장치(400)는 싱크 장치(500)의 디스플레이 타입이 세로형 디스플레이(750)인 것에 기반하여, 세로형 디스플레이를 위한 공유 데이터를 생성할 수 있다. 예를 들면, 예시 <1003>에 도시한 바와 같이, 소스 장치(400)는 공유 데이터를 생성할 때, 공유 데이터를 그리기(또는 생성하기) 위한 가상 디스플레이(710)(예: 캔버스)를 회전하여 세로 형태로 변경할 수 있다. 한 실시 예에 따르면, 소스 장치(400)는 공유 데이터를 생성할 때, 싱크 장치(500)의 해상도(1920x1080)에 대응하여 해상도가 1920x1080인 가상 디스플레이(710)를 생성할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 예시 <1001>의 가로 형태의 화면 데이터를, 세로 형태의 가상 디스플레이(710) 내에서 가로와 세로 비율(16:9)로 생성할 수 있다. 예를 들면, 소스 장치(400)는 세로 형태의 가상 디스플레이(710)를 이용하여, 소스 장치(400)에 표시되는 가로 형태의 재생 데이터의 형태(예: 랜드스케이프 레이아웃)로 생성할 수 있다. 다양한 실시 예들에 따라, 소스 장치(400)는 예시 <1001> 및 예시 <1003>과 같이 화면 데이터의 회전 없이 공유 데이터를 생성할 수 있다. 소스 장치(400)는 싱크 장치(500)의 지원 해상도에 대응하는 가상 디스플레이(710)를 이용하여 세로형 디스플레이(750)에 표시될 공유 데이터를 생성할 수 있다.According to various embodiments, the source device 400 may generate shared data for a vertical display, based on the display type of the sink device 500 being a vertical display 750. [ For example, as shown in the example <1003>, the source device 400 rotates a virtual display 710 (e.g., a canvas) for drawing (or creating) shared data It can be changed into a vertical form. According to one embodiment, the source device 400 may generate a virtual display 710 with a resolution of 1920x1080 corresponding to the resolution (1920x1080) of the sink device 500 when generating the shared data. According to various embodiments, the source apparatus 400 may generate screen data of the horizontal form of the example < 1001 > in a horizontal and vertical ratio (16: 9) in the vertical form of the virtual display 710. [ For example, the source apparatus 400 can be generated in the form of landscape data (e.g., landscape layout) displayed on the source apparatus 400 using the virtual display 710 in the form of a vertical form. According to various embodiments, the source device 400 may generate shared data without rotation of screen data, for example, < 1001 > and example < 1003 >. The source device 400 may generate the shared data to be displayed on the vertical display 750 using the virtual display 710 corresponding to the supported resolution of the sink device 500. [

한 실시 예에 따라, 가상 디스플레이(710)는, 기본적으로 가로 방향(landscape orientation)의 디스플레이에 대응하도록 가로 형태로 제공될 수 있다. 소스 장치(400)는 기본 설정된 가로 형태의 가상 디스플레이(710)를 싱크 장치(500)의 세로형 디스플레이(750)(예: 회전 각도 정보)에 대응하도록 세로 형태로 회전(예: 90도 또는 270도 회전)할 수 있다.According to one embodiment, the virtual display 710 may be provided in a landscape format to correspond to a display of essentially landscape orientation. The source device 400 rotates vertically (e.g., 90 degrees or 270 degrees) to correspond to the vertical display 750 (e.g., rotation angle information) of the sink device 500, Can also be rotated).

다양한 실시 예들에 따라, 소스 장치(400)는, 예시 <1005>에 도시한 바와 같이, 세로형 디스플레이(750)에 대응되는 가상 디스플레이(710)에 의해 생성된 공유 데이터를, 싱크 장치(500)에 전송하기 위한 버퍼(730)(예: 프레임 버퍼)를 통해 이미지 프레임 데이터로 생성할 수 있다. 소스 장치(400)는 이미지 프레임 데이터를 무선 통신을 통해 싱크 장치(500)에 전송할 수 있다. According to various embodiments, the source apparatus 400 may provide the shared data generated by the virtual display 710 corresponding to the vertical display 750 to the sink device 500, as shown in the example < RTI ID = 0.0 > (E.g., a frame buffer) for transmitting the image frame data to the buffer 730. [ The source device 400 may transmit the image frame data to the sink device 500 via wireless communication.

다양한 실시 예들에 따라, 싱크 장치(500)는, 예시 <1007>에 도시한 바와 같이, 소스 장치(400)로부터 수신된 이미지 프레임 데이터를 바로 표시할 수 있다. 예를 들면, 소스 장치(400)에서 세로형 디스플레이(750)에 대응하도록 맞춰진 이미지 프레임 데이터가 전송됨에 따라, 싱크 장치(500)는 수신된 이미지에 대한 어떠한 처리(예: 회전 및/또는 스케일링 등) 없이 수신된 이미지 프레임 데이터를 바로 표시할 수 있다. 예를 들면, 소스 장치(400)가 가상 디스플레이(710)를 통해 그려지는 데이터(예: 예시 <1003> 참조)와 동일한 형태의 데이터가 세로형 디스플레이(750)를 통해 표시될 수 있다.According to various embodiments, the sink device 500 may display the image frame data received from the source device 400 directly, as shown in the example. For example, as image frame data aligned in the source device 400 to correspond to the vertical display 750 is transmitted, the sink device 500 may perform some processing (e.g., rotation and / or scaling, etc.) on the received image The received image frame data can be displayed immediately. For example, data of the same type as the data (e.g., see example <1003>) that the source device 400 is drawn through the virtual display 710 may be displayed via the vertical display 750.

다양한 실시 예들에 따라, 소스 장치(400)는, 예시 <901>에 도시한 바와 같이, 소스 장치(400)에서 재생되는 재생 데이터가 싱크 장치(500)에 전송되는 것에, 순차적으로 또는 병렬적으로, 프리젠테이션 모드에 따라 소스 장치(400)에 재생 데이터의 제어에 관련된 유저 인터페이스(1000)를 표시할 수 있다. 유저 인터페이스(1000)는 재생 데이터의 종류(예: 게임 데이터, 문서 데이터, 동영상 데이터 등)에 따라 다양한 형태로 구현될 수 있다.According to various embodiments, the source apparatus 400 may be configured to transmit the reproduction data reproduced in the source apparatus 400 to the sink apparatus 500, sequentially or in parallel, as shown in the example , The user interface 1000 related to the control of the reproduction data can be displayed on the source device 400 according to the presentation mode. The user interface 1000 can be implemented in various forms according to the type of reproduction data (e.g., game data, document data, moving picture data, etc.).

도 9 및 도 10을 참조하여 살펴본 바와 같이, 다양한 실시 예들에 따르면, 소스 장치(400)는 싱크 장치(500)의 디스플레이 타입에 대응하여, 가로 방향 또는 세로 방향의 가상 디스플레이(710)를 생성하고, 가상 디스플레이(710)를 싱크 장치(500)의 해상도에 대응하는 해상도로 생성할 수 있다. 따라서 다양한 실시 예들에 따르면, 소스 장치(400)에서 생성되는 공유 데이터는, 예를 들면, 싱크 장치(500)의 해당 방향의 디스플레이에 직접 표시하는 것과 효과를 제공할 수 있고, 이에 따라 이미지 열화 등을 방지할 수 있다.9 and 10, according to various embodiments, the source device 400 generates a virtual display 710 in the horizontal or vertical direction corresponding to the display type of the sink device 500 , The virtual display 710 can be generated with a resolution corresponding to the resolution of the sink device 500. Thus, according to various embodiments, the shared data generated in the source device 400 can provide, for example, direct display and effects on the corresponding directional display of the sink device 500, Can be prevented.

도 11은 본 발명의 다양한 실시 예들에 따른 전자 장치의 미라캐스트 서비스를 제공하는 동작 방법을 도시하는 흐름도이다.11 is a flow chart illustrating an operational method of providing a mirror cast service of an electronic device in accordance with various embodiments of the present invention.

도 11에 도시한 바와 같이, 도 11은 데이터를 제공(공유)하는 소스 장치로 동작하는 전자 장치(400)에서 미라캐스트 서비스를 제공하는 예를 나타낼 수 있다.As shown in FIG. 11, FIG. 11 may show an example of providing a miracast service in an electronic device 400 serving as a source device for providing (sharing) data.

도 11을 참조하면, 동작 1101에서, 전자 장치(400)(예: 소스 장치)의 프로세서(예: 도 1 또는 도 2의 프로세서(120, 210), 이하, 프로세서(210)라 칭함)는 외부 전자 장치(500)와 미라캐스트를 연결할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 미라캐스트 서비스를 위한 사용자 입력에 응답하여 외부 전자 장치(500)와 미라캐스트를 연결할 수 있다.Referring to FIG. 11, at operation 1101, a processor (e.g., processors 120 and 210 of FIG. 1 or 2, hereinafter referred to as processor 210) of an electronic device 400 The electronic device 500 and the mirror cast can be connected. According to various embodiments, the processor 210 may couple the miracast with the external electronic device 500 in response to a user input for the miracast service.

동작 1103에서, 프로세서(210)는 외부 전자 장치(500)로부터, 외부 전자 장치(500)에 관련된 장치 정보를 획득할 수 있다. 예를 들면, 전술한 도 6읠 동작 603 및 동작 605에 기반하여 장치 정보를 획득할 수 있다. 다양한 실시 예들에 따라, 장치 정보는 외부 전자 장치(500)가 지원하는 해상도 정보와 디스플레이의 타입 정보를 포함할 수 있다. 다양한 실시 예들에 따르면, 장치 정보는, 외부 전자 장치(500)의 동작 모드에 대한 정보, 외부 전자 장치(500)의 타입(예: 태블릿 PC, 냉장고, 텔레비전 등)에 대한 정보, 제조사 정보, 모델명 정보, 또는 사용자 입력 백 채널(UIBC, user input back channel)의 정보 등을 더 포함할 수 있다.At operation 1103, the processor 210 may obtain device information related to the external electronic device 500 from the external electronic device 500. For example, the device information can be obtained based on the above-described operation 603 and operation 605 of FIG. According to various embodiments, the device information may include resolution information supported by the external electronic device 500 and type information of the display. According to various embodiments, the device information includes information about the mode of operation of the external electronic device 500, information about the type of external electronic device 500 (e.g., tablet PC, refrigerator, television, etc.) Information, or information of a user input back channel (UIBC), and the like.

동작 1105에서, 프로세서(210)는 획득된 장치 정보를 분석할 수 있다. 예를 들면, 프로세서(210)는 획득된 장치 정보를 파싱하여, 외부 전자 장치(500)에 관련된 해상도와 디스플레이 타입(또는 동작 모드 방향)에 대한 정보를 획득할 수 있다.At operation 1105, the processor 210 may analyze the acquired device information. For example, the processor 210 may parse the acquired device information to obtain information about the resolution and display type (or mode of operation mode) associated with the external electronic device 500.

동작 1107에서, 프로세서(210)는 장치 정보에 기반하여 외부 전자 장치(500)와 공통된 최적의 해상도를 결정하고, 외부 전자 장치(500)의 디스플레이 타입(또는 동작 모드 방향)을 판단할 수 있다.At operation 1107, the processor 210 may determine an optimal resolution common to the external electronic device 500 based on the device information, and determine the display type (or operating mode direction) of the external electronic device 500.

동작 1109에서, 프로세서(210)는 장치 정보에 기반하여 외부 전자 장치(500)의 디스플레이 타입이 세로형 디스플레이인지 여부를 판단할 수 있다. 또는, 다양한 실시 예들에 따라, 프로세서(210)는 장치 정보에 기반하여 외부 전자 장치(500)가 세로 방향으로 동작 중(예: 디스플레이가 세로 방향으로 회전된 상태)인지 여부를 판단할 수도 있다.At operation 1109, the processor 210 may determine whether the display type of the external electronic device 500 is a vertical display based on the device information. Alternatively, according to various embodiments, the processor 210 may determine whether the external electronic device 500 is operating in the longitudinal direction (e.g., the display is rotated vertically) based on the device information.

동작 1109에서, 프로세서(210)는 디스플레이 타입이 세로형 디스플레인 것으로 판단하면(동작 1109의 예), 동작 1111에서, 결정된 해상도를 가지는 세로 형태의 가상 디스플레이를 생성할 수 있다. 한 실시 예에 따르면, 전술한 도 7 내지 도 10을 참조한 설명 부분에서 설명한 바와 같이, 프로세서(210)는 기본 설정된 가로 형태의 가상 디스플레이를 외부 전자 장치(500)의 세로형 디스플레이에 대응하도록 세로 형태로 회전(예: 90도 또는 270도 회전)할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 가로 방향 또는 세로 방향으로 모두 동작 가능한 외부 전자 장치(500)가 세로 방향으로 동작 중인 경우(예: 디스플레이가 세로 방향으로 회전된 상태)에도, 동작 1111에서와 같이 세로 형태의 가상 디스플레이를 생성할 수 있다.In operation 1109, if the processor 210 determines that the display type is a vertical display (operation 1109), then in operation 1111, the processor 210 may generate a vertical virtual display having the determined resolution. According to one embodiment, as described in the description with reference to FIGS. 7 to 10 above, the processor 210 may be configured to display a virtual display of a predetermined horizontal shape in a vertical (vertical) form corresponding to the vertical display of the external electronic device 500 (E.g., rotate 90 degrees or 270 degrees). According to various embodiments, the processor 210 may be operable in a manner that, even if the external electronic device 500 operable in either the horizontal or vertical direction is operating in the longitudinal direction (e.g., the display is rotated in the longitudinal direction) A virtual display of a vertical form can be generated.

동작 1109에서, 프로세서(210)는 디스플레이 타입이 세로형 디스플레이가 아닌 것으로 판단하면(동작 1109의 아니오), 예를 들면, 가로형 디스플레이인 것으로 판단하면, 동작 1113에서, 결정된 해상도를 가지는 가로 형태의 가상 디스플레이를 생성할 수 있다. 한 실시 예에 따르면, 프로세서(210)는 기본 설정된 가로 형태의 가상 디스플레이를 사용할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 가로 방향 및 세로 방향으로 모두 동작 가능한 외부 전자 장치(500)가 가로 방향으로 동작 중인 경우(예: 디스플레이가 가로 방향으로 회전된 상태)에도, 동작 1113에서와 같이 가로 형태의 가상 디스플레이를 생성할 수 있다.At operation 1109, if the processor 210 determines that the display type is not a vertical display (NO at operation 1109), for example, it determines that it is a horizontal display, then at operation 1113, Display can be generated. According to one embodiment, the processor 210 may use a virtual display of a predetermined horizontal shape. According to various embodiments, the processor 210 may be configured to perform the operations described in operation 1113 (e. G., If the external electronic device 500 is operable in both the horizontal and vertical directions) A virtual display of a landscape form can be generated.

동작 1115에서, 프로세서(210)는, 동작 1111 또는 동작 1113에서 생성된 가상 디스플레이를 이용하여, 외부 전자 장치(500)의 해상도와 디스플레이 타입에 대응하는 데이터를 생성할 수 있다.In operation 1115, the processor 210 may generate data corresponding to the resolution and display type of the external electronic device 500, using the virtual display generated in operation 1111 or operation 1113. [

동작 1117에서, 프로세서(210)는, 무선 통신을 이용하여, 생성된 데이터를 외부 전자 장치(500)에 전송할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 데이터를 전송할 때 스트리밍으로 전송할 수 있다.At operation 1117, the processor 210 may transmit the generated data to the external electronic device 500 using wireless communication. According to various embodiments, the processor 210 may transmit in streaming when transmitting data.

도 12는 본 발명의 다양한 실시 예들에 따른 미라캐스트 서비스 시 사용자 입력을 처리하는 동작 예를 설명하기 위해 도시하는 도면이다.12 is a diagram illustrating an exemplary operation for processing user input in a mirror cast service in accordance with various embodiments of the present invention.

도 12에 도시한 바와 같이, 도 12는 다양한 실시 예들에서, 싱크 장치에서 사용자 입력(예: 터치)이 발생되는 경우, 이를 처리하는 동작 예를 나타낼 수 있다.As shown in FIG. 12, FIG. 12 may show an example of an operation for processing user input (e.g., touch) in the sink device in various embodiments.

도 12를 참조하면, 동작 1201에서, 전자 장치(400)(이하, 소스 장치)와 외부 전자 장치(500)(이하, 싱크 장치)는 전술한 바와 같이 미라캐스트 연결 상태일 수 있다.12, in operation 1201, the electronic device 400 (hereinafter referred to as a source device) and the external electronic device 500 (hereinafter referred to as a sink device) may be in a mirror cast connection state as described above.

동작 1203에서, 싱크 장치(500)는 사용자 입력을 감지할 수 있다. 예를 들면, 사용자는 세로형 디스플레이(750)에서 어느 일 영역을 터치할 수 있고, 싱크 장치(500)는 사용자에 의한 터치를 감지할 수 있다.At operation 1203, the sink device 500 may sense user input. For example, the user can touch one area in the vertical display 750, and the sink device 500 can sense a touch by the user.

동작 1205에서, 싱크 장치(500)는 사용자 입력을 감지하면, 사용자 입력 백 채널(UIBC, user input back channel)을 통해 사용자 입력(예: 제어 메시지)를 소스 장치(400)에 전송할 수 있다. 다양한 실시 예들에 따라, 싱크 장치(500)는 사용자 입력에 대해 별도의 입력 처리(예: 좌표 변환 등) 과정 없이, 싱크 장치(500)에서의 사용자 입력에 대응하여 소스 장치(400)를 제어하기 위한 터치된 좌표 값을 전달할 수 있다. 다양한 실시 예들에 따르면, 세로 방향이 기본으로 고정된 세로형 디스플레이 기반의 싱크 장치(500)의 경우, 폭과 높이가 각각 (x, y)를 가지게 되므로, 좌표를 변환하는 처리 없이 그대로 (x, y) 좌표를 전송할 수 있다. 다양한 실시 예들에 따르면, 기본이 가로 방향인 디스플레이를 세로 방향으로 회전하여 사용되는 디스플레이 기반의 싱크 장치(500)의 경우, 폭과 높이가 각각 반대로 돌려진 (y, x)를 가지게 되므로, 좌표에서, x좌표(예: 폭)는 y좌표로 변환하고, y좌표(예: 높이)는 x좌표로 변환하고, 변환된 (x, y) 좌표를 전송할 수 있다.At operation 1205, sink device 500 may transmit user input (e.g., control messages) to source device 400 via a user input back channel (UIBC) upon sensing user input. According to various embodiments, the sink device 500 may control the source device 400 in response to a user input in the sink device 500, without requiring a separate input process (e.g., coordinate transformation, etc.) The coordinates of the touched point can be transmitted. According to various embodiments, in the case of a vertical display-based sink device 500 whose longitudinal direction is fixed fundamentally, since width and height have (x, y), respectively, y) coordinates. According to various embodiments, in the case of the display-based sink device 500 that is used to rotate the display in the longitudinal direction in the basic direction, since the width and the height of the sink device 500 have (y, x) , the x coordinate (eg, width) can be transformed into a y coordinate, the y coordinate (eg, height) can be transformed into an x coordinate, and the transformed (x, y) coordinate can be transferred.

동작 1207에서, 소스 장치(400)는 싱크 장치(500)로부터 사용자 입력이 수신되면, 수신된 사용자 입력을 처리할 수 있다. 예를 들면, 소스 장치(400)는 사용자 입력에 기반하여 디스플레이 턴-온 또는 컨텐츠(또는 기능) 관련 제어 등을 처리할 수 있다.In operation 1207, the source device 400 may process the received user input when a user input is received from the sink device 500. [ For example, the source device 400 may process display turn-on or content (or function) related controls based on user input.

동작 1209에서, 소스 장치(400)는 사용자 입력의 처리가 완료되면, 입력 처리 결과를 싱크 장치(500)에 전송할 수 있다. 다양한 실시 예들에서, 도 10에서는 소스 장치(400)가 입력 처리 결과를 싱크 장치(500)에 전송하는 것을 예로 나타내었으나, 다양한 실시 예들이 이에 한정하는 것은 아니다. 예를 들면, 소스 장치(400)는 입력 처리 결과를 싱크 장치(500)로 전송하지 않을 수도 있다. 이러한 경우, 사용자는 소스 장치(400)로부터 전송 받아 출력되는 싱크 장치(500)의 화면 변화를 통해 사용자 입력에 대한 입력 처리 여부를 확인할 수 있다.In operation 1209, the source device 400 may transmit the input processing result to the sink device 500 when the processing of the user input is completed. Although in the various embodiments, the source device 400 shown in FIG. 10 transmits an input processing result to the sink device 500, the various embodiments are not limited thereto. For example, the source apparatus 400 may not transmit the input processing result to the sink apparatus 500. [ In this case, the user can confirm whether or not the input processing of the user input is performed through the change of the screen of the sink device 500 transmitted and received from the source device 400.

한편, 도 10에서는 싱크 장치(500)에서 사용자 입력에 대해 사용자 입력 백 채널을 통해 전송하여 소스 장치(400)를 제어하는 것으로 도시하였지만, 다양한 실시 예들이 이에 한정하는 것은 아니다. 예를 들면, 소스 장치(400)에서 사용자 입력을 감지하고, 그에 대한 제어 메시지를 싱크 장치(500)로 전송할 수 있다.Meanwhile, although FIG. 10 shows that the sink device 500 transmits the user input through the user input back channel to control the source device 400, the present invention is not limited thereto. For example, the source device 400 may detect a user input and send a control message to the sink device 500.

도 13은 본 발명의 다양한 실시 예들에 따른 전자 장치에서 사용자 입력을 처리하는 동작 방법을 도시하는 흐름도이다.13 is a flow diagram illustrating an operational method for processing user input in an electronic device in accordance with various embodiments of the present invention.

도 13에 도시한 바와 같이, 도 13은 데이터를 제공(공유)하는 소스 장치로 동작하는 전자 장치(400)에서 사용자 입력을 수신하여 관련 처리를 수행하는 예를 나타낼 수 있다.As shown in FIG. 13, FIG. 13 may show an example in which user input is received in the electronic device 400 serving as a source device for providing (sharing) data to perform related processing.

도 13을 참조하면, 동작 1301에서, 전자 장치(400)(예: 소스 장치)의 프로세서(예: 도 1 또는 도 2의 프로세서(120, 210), 이하, 프로세서(210)라 칭함)는 외부 전자 장치(500)(예: 싱크 장치)와 미라캐스트 연결된 상태일 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 미라캐스트 서비스를 위한 사용자 입력에 응답하여 외부 전자 장치(500)와 미라캐스트를 연결할 수 있다.13, processor (e.g., processors 120 and 210 of FIG. 1 or 2, hereinafter referred to as processor 210) of electronic device 400 (e.g., source device) And may be in a mirror cast connection with the electronic device 500 (e.g., a sink device). According to various embodiments, the processor 210 may couple the miracast with the external electronic device 500 in response to a user input for the miracast service.

동작 1303에서, 프로세서(210)는 사용자 입력을 감지할 수 있다. 예를 들면, 프로세서(210)는 전자 장치(400)에서 직접 발생하는 내부 사용자 입력 또는 외부 전자 장치(500)에 의해 간접 발생(또는 수신)하는 외부 사용자 입력을 감지할 수 있다.At operation 1303, the processor 210 may sense user input. For example, the processor 210 may detect an internal user input that occurs directly in the electronic device 400 or an external user input that is indirectly generated (or received) by the external electronic device 500.

동작 1305에서, 프로세서(210)는 사용자 입력이 외부 사용자 입력인지 여부를 판단할 수 있다. 예를 들면, 프로세서(210)는 사용자 입력이, 미라캐스트 연결된 외부 전자 장치(500)로부터 사용자 입력 백 채널(UIBC)를 통해 수신되는 사용자 입력인지, 또는 전자 장치(400)에 의해 발생하는 사용자 입력인지 여부를 판단할 수 있다.At operation 1305, the processor 210 may determine whether the user input is an external user input. For example, the processor 210 may determine whether the user input is a user input received via a user input back channel (UIBC) from a miraculously connected external electronic device 500, or a user input received by the electronic device 400 Or not.

동작 1305에서, 프로세서(210)는 외부 사용자 입력이 아닌 것으로 판단하면(동작 1305의 아니오), 동작 1311로 진행하여, 동작 1311 이하의 동작 수행을 처리할 수 있다.In operation 1305, if processor 210 determines that it is not an external user input (NO in operation 1305), it may proceed to operation 1311 to process the operation after operation 1311.

동작 1305에서, 프로세서(210)는 외부 사용자 입력인 것으로 판단하면(동작 1305의 예), 동작 1307에서, 외부 전자 장치(500)의 타입을 판단할 수 있다. 예를 들면, 프로세서(210)는 외부 전자 장치(500)와 미라캐스트 연결 시의 협상 절차 수행에서 획득된 장치 정보에 기반하여 외부 전자 장치의 타입(예: 디스플레이 타입, 동작 모드 등)을 판단할 수 있다.At operation 1305, if processor 210 determines that it is an external user input (operation 1305), at operation 1307, the type of external electronic device 500 may be determined. For example, the processor 210 may determine the type (e.g., display type, operating mode, etc.) of the external electronic device based on the device information obtained in performing the negotiation procedure in the mirror communication connection with the external electronic device 500 .

동작 1309에서, 프로세서(210)는, 동작 1307에서 판단하는 결과에 기반하여, 외부 전자 장치(500)가 세로형 디스플레이 기반의 장치(예: 세로 방향이 기본으로 고정된 세로형 디스플레이를 가지는 냉장고 등)(이하, 제1 타입 장치)인지, 가로 방향 또는 세로 방향으로 모두 동작 가능한 장치(예: 태블릿 PC 등)(이하, 제2 타입 장치)인지 여부를 판단할 수 있다.In operation 1309, the processor 210 determines whether the external electronic device 500 is a device based on a vertical display (e.g., a refrigerator with a vertical display with a longitudinally fixed base) ) (Hereinafter referred to as a first type device) or a device capable of operating in both a horizontal direction and a vertical direction (e.g., a tablet PC or the like) (hereinafter referred to as a second type device).

동작 1309에서, 프로세서(210)는 외부 전자 장치(500)가 제1 타입 장치인 것으로 판단하면(동작 1309의 예), 동작 1311에서, 수신된 사용자 입력에 대한 변환 없이 사용자 입력에 따른 데이터 제어를 처리할 수 있다. 예를 들면, 기본이 세로 방향인 세로형 디스플레이의 경우, 폭(width)과 높이(height)가 각각 (x, y)를 가지게 되므로, 좌표를 변환하는 처리 없이 그대로 (x, y) 포인트를 인식하여, 그에 대한 동작을 처리할 수 있다.At operation 1309, if the processor 210 determines that the external electronic device 500 is a first type device (operation 1309), at operation 1311, the processor 210 performs data control according to user input without conversion to the received user input Can be processed. For example, in the case of a vertical display in which the basic direction is the vertical direction, since the width and the height are respectively (x, y), the point (x, y) So that the operation can be processed.

동작 1309에서, 프로세서(210)는 외부 전자 장치(500)가 제2 타입 장치인 것으로 판단하면(동작 1309의 아니오), 동작 1313에서, 사용자 입력에 대한 좌표 값 변환을 수행할 수 있다. 예를 들면, 기본이 가로 방향인 디스플레이를 세로 방향으로 회전하여 사용되는 경우, 폭과 높이가 각각 반대로 돌려진 (y, x)를 가지게 되므로, 좌표에서, x좌표(예: 폭)는 y좌표로 변환하고, y좌표(예: 높이)는 x좌표로 변환할 수 있다. 예를 들면, 프로세서(210)는 (y, x) 좌표를 (x, y) 좌표로 변환할 수 있다.At operation 1309, if processor 210 determines that external electronic device 500 is a second type device (NO at operation 1309), at operation 1313, coordinate value conversion for user input may be performed. For example, when the display is used in a landscape orientation with the base being in the landscape orientation, the x and y coordinates (e.g., width) in the coordinates have y coordinates , And y coordinates (eg, height) can be converted to x coordinates. For example, the processor 210 may convert (y, x) coordinates into (x, y) coordinates.

동작 1311에서, 프로세서(210)는 변환된 좌표 값에 기반하여 사용자 입력에 따른 데이터 제어를 처리할 수 있다. 예를 들면, 프로세서(210)는 변환된 (x, y) 포인트를 인식하여, 그에 대한 동작을 처리할 수 있다.At operation 1311, the processor 210 may process data control according to user input based on the transformed coordinate values. For example, the processor 210 may recognize the converted (x, y) point and process the operation therefor.

동작 1317에서, 프로세서(210)는 동작 1311 또는 동작 1315에서 제어된 데이터를 외부 전자 장치(500)에 전송할 수 있다.At operation 1317, the processor 210 may transmit the controlled data to the external electronic device 500 at operation 1311 or at operation 1315.

다양한 실시 예들에 따라, 도 13에서는 전자 장치(400)에서 외부 전자 장치(500)의 타입에 따라, 사용자 입력 백 채널(UIBC)를 통해 수신된 사용자 입력에 대한 변환 여부를 결정하고, 그 결과에 기반하여 사용자 입력의 좌표 값을 변환하는 예를 나타내었으나, 다양한 실시 예들이 이에 한정하는 것은 아니다. 예를 들면, 외부 전자 장치(500)에서 동작 모드를 식별하고 그에 따라 변환된 좌표 값을 전송하는 경우, 전자 장치(400)는 수신된 사용자 입력을 변환하는 것에 관련된 동작을 수행하지 않을 수 있다. 예를 들면, 도 13에서 동작 1305, 동작 1307, 동작 1309, 동작 1313, 동작 1315을 수행하지 않고 생략될 수 있다.In accordance with various embodiments, FIG. 13 determines whether to convert for a user input received via a user input back channel (UIBC), depending on the type of external electronic device 500 in the electronic device 400, The coordinate values of the user input are converted based on the above-described embodiments, but the various embodiments are not limited thereto. For example, if the external electronic device 500 identifies an operating mode and transmits the transformed coordinate values accordingly, the electronic device 400 may not perform operations related to transforming the received user input. For example, operations 1305, 1307, 1309, 1313 and 1315 may be omitted in Fig.

도 14는 본 발명의 다양한 실시 예들에 따른 전자 장치에서 사용자 입력을 처리하는 동작 방법을 도시하는 흐름도이다.14 is a flow chart illustrating an operational method for processing user input in an electronic device in accordance with various embodiments of the present invention.

도 14에 도시한 바와 같이, 도 14는 데이터를 제공(공유)받는 싱크 장치로 동작하는 외부 전자 장치(500)에서 사용자 입력에 대한 관련 처리를 수행하는 예를 나타낼 수 있다. 예를 들면, 도 14에서는 가로 방향 또는 세로 방향으로 모두 동작 가능한 외부 전자 장치(500)(예: 태블릿 PC)에서 사용자 입력을 처리하는 예를 나타낼 수 있다. 다양한 실시 예들에 따라, 도 14에서는 외부 전자 장치(500)는 기본 동작 모드가 가로 방향으로 설정되어 동작하는 장치를 예시로 할 수 있다.As shown in FIG. 14, FIG. 14 may show an example of performing an associated process for user input in an external electronic device 500 operating as a sink device for receiving (sharing) data. For example, FIG. 14 illustrates an example of processing user input in an external electronic device 500 (e.g., a tablet PC) that is operable in both the horizontal and vertical directions. According to various embodiments, in FIG. 14, the external electronic device 500 may be an apparatus in which the basic operation mode is set to be in the horizontal direction.

도 14를 참조하면, 동작 1401에서, 외부 전자 장치(500)(예: 싱크 장치)의 프로세서(예: 도 1 또는 도 2의 프로세서(120, 210), 이하, 프로세서(210)라 칭함)는 전자 장치(400)(예: 소스 장치)와 미라캐스트 연결된 상태일 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 전자 장치(400)의 연결 요청에 응답하여 전자 장치(400)와 미라캐스트를 연결할 수 있다.14, a processor (e.g., processors 120 and 210 of FIG. 1 or 2, hereinafter referred to as processor 210) of an external electronic device 500 (e.g., a sink device) And may be in a mirror cast connection with the electronic device 400 (e.g., a source device). According to various embodiments, the processor 210 may couple the mirror 400 with the electronic device 400 in response to a connection request of the electronic device 400.

동작 1403에서, 프로세서(210)는 사용자 입력을 감지할 수 있다. 예를 들면, 프로세서(210)는 외부 전자 장치(500)에서 직접 발생하는 내부 사용자 입력을 감지할 수 있다.At operation 1403, the processor 210 may sense user input. For example, the processor 210 may sense an internal user input originating directly from the external electronic device 500.

동작 1405에서, 프로세서(210)는 디스플레이의 방향이 세로 방향으로 동작 중인지 여부를 판단할 수 있다. 다양한 실시 예들에 따라, 도 14에서는 외부 전자 장치(500)의 디스플레이가 기본이 가로 방향인 경우를 가정할 수 있다.At operation 1405, the processor 210 may determine whether the orientation of the display is in a vertical orientation. According to various embodiments, it can be assumed in Fig. 14 that the display of the external electronic device 500 is transverse to the base.

동작 1405에서, 프로세서(210)는 외부 전자 장치(500)가 세로 방향으로 동작 중인지 여부를 판단할 수 있다.At operation 1405, the processor 210 may determine whether the external electronic device 500 is operating in the longitudinal direction.

동작 1405에서, 프로세서(210)는 외부 전자 장치(500)가 세로 방향에 의한 동작이 아닌 것으로 판단하면(동작 1405의 아니오), 예를 들면, 기본 동작 모드인 가로 방향의 디스플레이에 기반하여 동작하는 경우, 동작 1407에서, 사용자 입력에 따른 제어 메시지를 전자 장치(400)(예: 소스 장치)에 전송할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 사용자 입력 백 채널(UIBC)을 통해 전자 장치(400)를 제어에 관련된 사용자 입력에 대응하는 제어 메시지(예: (x, y) 좌표)를 전자 장치(400)에 전송할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 기본이 가로 방향인 디스플레이의 경우, 폭과 높이가 각각 (x, y)를 가지게 되므로, 좌표를 변환하는 처리 없이 그대로 (x, y) 좌표를 전송할 수 있다.At operation 1405, if the processor 210 determines that the external electronic device 500 is not in the vertical direction (NO at operation 1405), the processor 210 may operate based on, for example, In operation 1407, a control message according to user input may be transmitted to the electronic device 400 (e.g., a source device). According to various embodiments, processor 210 may provide control messages (e.g., (x, y) coordinates) corresponding to user input related to controlling electronic device 400 via a user input back channel (UIBC) 400). According to various embodiments, the processor 210 can transmit (x, y) coordinates as it is without processing of transforming the coordinates, since the width and the height are respectively (x, y) have.

동작 1405에서, 프로세서(210)는 외부 전자 장치(500)가 세로 방향에 의한 동작인 것으로 판단하면(동작 1405의 예), 예를 들면, 기본 동작 모드가 가로 방향인 디스플레이를 세로 방향의 디스플레이 형태로 회전하여 사용되는 경우, 동작 1409에서, 사용자 입력에 대한 좌표 값을 변환할 수 있다. 다양한 실시 예들에 따라, 프로세서(210)는 기본이 가로 방향인 디스플레이를 세로 방향으로 회전하여 사용되는 경우, 폭과 높이가 각각 반대로 돌려진 (y, x)를 가지게 되므로, 좌표에서, x좌표(예: 폭)는 y좌표로 변환하고, y좌표(예: 높이)는 x좌표로 변환할 수 있다. 예를 들면, 프로세서(210)는 (y, x) 좌표를 (x, y) 좌표로 변환할 수 있다.In operation 1405, if processor 210 determines that external electronic device 500 is in the vertical orientation (e.g., operation 1405), for example, In operation 1409, coordinate values for user input may be converted. According to various embodiments, the processor 210 has (y, x) in which the width and height are reversed (y, x), respectively, when used in a portrait orientation, Eg width) to y coordinates, and y coordinates (eg height) to x coordinates. For example, the processor 210 may convert (y, x) coordinates into (x, y) coordinates.

동작 1411에서, 프로세서(210)는 변환된 좌표 값에 기반하여 사용자 입력에 따른 제어 메시지를 전자 장치(400)(예: 소스 장치)에 전송할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 사용자 입력 백 채널(UIBC)을 통해 전자 장치(400)를 제어에 관련된 사용자 입력에 대응하는 제어 메시지(예: 변환된 (x, y) 좌표)를 전자 장치(400)에 전송할 수 있다.At operation 1411, the processor 210 may send a control message according to user input to the electronic device 400 (e.g., a source device) based on the transformed coordinate values. According to various embodiments, the processor 210 may provide control messages (e.g., transformed (x, y) coordinates) corresponding to user input related to control of the electronic device 400 via a user input back channel (UIBC) To the device (400).

동작 1413에서, 프로세서(210)는, 동작 1407 또는 동작 1411에 의한 제어 메시지에 대응하여 변경된 데이터를 수신하고, 수신된 데이터를 디스플레이를 통해 표시할 수 있다.At operation 1413, the processor 210 may receive the changed data in response to the control message by operation 1407 or operation 1411, and may display the received data via the display.

도 15 및 도 16은 본 발명의 다양한 실시 예들에 따른 미라캐스트 서비스 시 사용자 입력을 처리하는 동작 시나리오를 설명하기 위해 도시하는 도면들이다.15 and 16 are diagrams illustrating operation scenarios for handling user input in a mirror cast service in accordance with various embodiments of the present invention.

도 15 및 도 16에 도시한 바와 같이, 전자 장치(400)(이하, 소스 장치)와 외부 전자 장치(500)(이하, 싱크 장치)가 각각 특정 해상도(예: 1920x1080)를 가지며, 미라캐스터 연결된 상태를 나타낼 수 있다. 예를 들면, 소스 장치(400)는 싱크 장치(500)와 미라캐스트 연결에 따른 협상 절차에서 결정된 해상도에 따라 데이터를 생성하여 싱크 장치(500)에 제공할 수 있다.15 and 16, the electronic device 400 (hereinafter referred to as a source device) and the external electronic device 500 (hereinafter referred to as a sink device) each have a specific resolution (for example, 1920 x 1080) State. For example, the source apparatus 400 may generate data according to the resolution determined in the negotiation procedure based on the mirror apparatus connection with the sink apparatus 500, and provide the generated data to the sink apparatus 500.

도 15를 참조하면, 도 15는 세로형 디스플레이 기반의 싱크 장치(500)(예: 냉장고 등)에서 사용자 입력을 처리하는 예를 나타낼 수 있다. 다양한 실시 예들에 따라, 도 15에서 싱크 장치(500)는 세로 방향이 기본으로 고정된 세로형 디스플레이를 가지는 장치를 예시로 할 수 있다.Referring to FIG. 15, FIG. 15 may show an example of processing a user input in a vertical display-based sink device 500 (e.g., a refrigerator or the like). In accordance with various embodiments, the sink device 500 in FIG. 15 may be an apparatus having a vertical display fixed in the longitudinal direction by way of example.

도 15에 도시한 바와 같이, 싱크 장치(500)는 소스 장치(400)와 미라캐스트 연결된 상태에서, P 포인트(예: (x, y) 좌표)에서 터치 입력이 감지되면, P 포인트에 대한 좌표(예: (x, y) 좌표)를 식별할 수 있다. 싱크 장치(500)는 터치 입력에 대한 좌표 변환 없이 싱크 장치(500)의 (x, y) 좌표를 그대로 소스 장치(400)에 전송할 수 있다. 예를 들면, 기본이 세로 방향인 세로형 디스플레이의 경우, 폭과 높이가 각각 (x, y)를 가지게 되므로, 좌표를 변환하는 처리 없이 그대로 싱크 장치(500)의 (x, y) 좌표를 소스 장치(400)에 전달할 수 있다. 다양한 실시 예들에 따르면, 소스 장치(400)와 싱크 장치(500)의 해상도가 상이한 경우 P 포인트에 대한 좌표(예: (x, y) 좌표)를, 소스 장치(400)의 해상도에 맞게 보정하는 동작을 더 포함할 수 있다. 이러한 보정은, 장치들 간의 협상 절차에서 동작 주체로 결정되는 소스 장치(400) 또는 싱크 장치(500)에 의해 처리될 수 있다.15, when the touch input is detected at a P point (e.g., (x, y) coordinates) in a mirror cast connection with the source device 400, the sink device 500 outputs coordinates (E.g., (x, y) coordinates). The sink device 500 can transmit the (x, y) coordinates of the sink device 500 directly to the source device 400 without coordinate transformation for the touch input. For example, in the case of a vertical display in which the base is the vertical direction, since the width and height are respectively (x, y), the coordinates of the (x, y) To the device (400). According to various embodiments, when the resolution of the source device 400 and the sink device 500 are different, the coordinates (e.g., (x, y) coordinates for the P point) are corrected to match the resolution of the source device 400 Operation may be further included. Such correction may be handled by the source device 400 or the sink device 500, which is determined to be the operating entity in the negotiation procedure between the devices.

소스 장치(400)는 싱크 장치(500)로부터 수신된 좌표(예: 싱크 장치의 (x, y) 좌표)에 대응하는 기능을 수행할 수 있다. 소스 장치(400)는 기능 수행에 따라 변경되는 데이터(예: 화면 데이터, 재생 데이터)를 선택적으로 표시하면서 싱크 장치(500)에 전송할 수 있다. 예를 들면, 소스 장치(400)는 미러링 모드인 경우 변경된 데이터를 표시하면서 전송할 수 있고, 프리젠테이션 모드인 경우 변경된 데이터의 표시 없이 전송할 수 있다.The source device 400 may perform a function corresponding to the coordinates received from the sink device 500 (e.g., (x, y) coordinates of the sink device). The source device 400 can selectively transmit data (e.g., screen data, playback data) that is changed according to the performance of the function to the sink device 500. For example, the source apparatus 400 can transmit changed data while displaying the changed data in the mirroring mode, and can transmit the changed data without presentation of changed data in the presentation mode.

도 16을 참조하면, 도 16은 가로 방향 또는 세로 방향으로 모두 동작 가능한 싱크 장치(500)(예: 태블릿 PC 등)에서 사용자 입력을 처리하는 예를 나타낼 수 있다. 다양한 실시 예들에 따라, 도 16에서 싱크 장치(500)는 기본 동작 모드가 가로 방향으로 설정되어 동작하는 장치를 예시로 할 수 있다.Referring to FIG. 16, FIG. 16 may show an example of processing a user input in a sink device 500 (e.g., a tablet PC or the like) which is operable in both the horizontal direction and the vertical direction. In accordance with various embodiments, the sink device 500 in FIG. 16 may illustrate an apparatus in which the basic operation mode is set to be in the horizontal direction.

도 16에 도시한 바와 같이, 싱크 장치(500)는 소스 장치(400)와 미라캐스트 연결된 상태에서, P 포인트(예: (y, x) 좌표)에서 터치 입력이 감지되면, P 포인트에 대한 좌표(예: (y, x) 좌표)를 식별할 수 있다. 싱크 장치(500)는 터치 입력에 대한 좌표를 변환하고, 변환된 싱크 장치의 (x, y) 좌표를 소스 장치(400)에 전송할 수 있다. 예를 들면, 싱크 장치(500)는 기본이 가로 방향인 디스플레이를 세로 방향으로 회전하여 사용하는 경우, 폭과 높이가 각각 반대로 돌려진 (y, x)를 가지게 되므로, 좌표에서, x좌표(예: 폭)는 y좌표로 변환하고, y좌표(예: 높이)는 x좌표로 변환할 수 있다. 예를 들면, 싱크 장치(500)는 터치 입력된 P 포인트의 (y, x) 좌표를 (x, y) 좌표로 변환할 수 있다. 다양한 실시 예들에 따르면, 소스 장치(400)와 싱크 장치(500)의 해상도가 상이한 경우 P 포인트에 대한 좌표(예: (x, y) 좌표)를, 소스 장치(400)의 해상도에 맞게 보정하는 동작을 더 포함할 수 있다. 이러한 보정은, 장치들 간의 협상 절차에서 동작 주체로 결정되는 소스 장치(400) 또는 싱크 장치(500)에 의해 처리될 수 있다.16, when the touch input is detected at a P point (e.g., (y, x) coordinate) in a state where the mirror device is connected to the source device 400 in a mirror cast state, (E.g., (y, x) coordinates). Sink device 500 may transform the coordinates for the touch input and transmit the (x, y) coordinates of the converted sink device to the source device 400. For example, in the case where the display device 500 is rotated in the vertical direction using the basic horizontal display, since the width and the height of the display device 500 are respectively (y, x) rotated in opposite directions, : Width) into y coordinates, and y coordinates (eg, height) into x coordinates. For example, the sink device 500 can convert the (y, x) coordinates of the touch-input P point to the (x, y) coordinates. According to various embodiments, when the resolution of the source device 400 and the sink device 500 are different, the coordinates (e.g., (x, y) coordinates for the P point) are corrected to match the resolution of the source device 400 Operation may be further included. Such correction may be handled by the source device 400 or the sink device 500, which is determined to be the operating entity in the negotiation procedure between the devices.

소스 장치(400)는 싱크 장치(500)로부터 수신된 좌표(예: 싱크 장치의 (x, y) 좌표)에 대응하는 기능을 수행할 수 있다. 소스 장치(400)는 기능 수행에 따라 변경되는 데이터(예: 화면 데이터, 재생 데이터)를 선택적으로 표시하면서 싱크 장치(500)에 전송할 수 있다. 예를 들면, 소스 장치(400)는 미러링 모드인 경우 변경된 데이터를 표시하면서 전송할 수 있고, 프리젠테이션 모드인 경우 변경된 데이터의 표시 없이 전송할 수 있다. 다양한 실시 예들에 따르면, 싱크 장치(500)가 좌표 변환의 기능을 포함하지 않는 경우, 전술한 도 13을 참조한 설명 부분에서 설명한 바와 같이, 소스 장치(400)에 의해 좌표 변환을 처리할 수도 있다.The source device 400 may perform a function corresponding to the coordinates received from the sink device 500 (e.g., (x, y) coordinates of the sink device). The source device 400 can selectively transmit data (e.g., screen data, playback data) that is changed according to the performance of the function to the sink device 500. For example, the source apparatus 400 can transmit changed data while displaying the changed data in the mirroring mode, and can transmit the changed data without presentation of changed data in the presentation mode. According to various embodiments, when the sink device 500 does not include the function of coordinate conversion, the coordinate conversion may be processed by the source device 400 as described in the description section with reference to Fig. 13 described above.

이상에서 살펴본 바와 같이, 다양한 실시 예들에 따른 전자 장치의 동작 방법은, 미라캐스트 연결된 외부 전자 장치로부터 장치 정보를 획득하는 과정, 상기 장치 정보에 기반하여 상기 외부 전자 장치의 해상도 및 디스플레이 타입을 판단하는 과정, 상기 외부 전자 장치가 세로형 디스플레이이면, 세로형 디스플레이에 대응하는 데이터를 상기 해상도에 기반하여 생성하는 과정, 및 상기 무선 통신부를 이용하여, 상기 데이터를 상기 외부 전자 장치에 전송하는 과정을 포함할 수 있다.As described above, according to various embodiments, an operation method of an electronic device includes acquiring device information from a mirror-connected external electronic device, determining a resolution and a display type of the external electronic device based on the device information Generating data corresponding to the vertical display based on the resolution when the external electronic device is a vertical display, and transmitting the data to the external electronic device using the wireless communication unit can do.

다양한 실시 예들에 따라, 상기 장치 정보는, 상기 외부 전자 장치가 지원하는 해상도와 디스플레이 타입을 포함할 수 있다. 다양한 실시 예들에 따라, 상기 장치 정보는, 상기 외부 전자 장치의 동작 모드에 대한 정보, 상기 외부 전자 장치의 타입에 대한 정보, 제조사 정보, 모델명 정보, 또는 사용자 입력 백 채널(UIBC, user input back channel)의 정보를 포함할 수 있다.According to various embodiments, the device information may include a resolution and a display type supported by the external electronic device. According to various embodiments, the device information includes information about an operating mode of the external electronic device, information on the type of the external electronic device, manufacturer information, model name information, or user input back channel (UIBC) As shown in FIG.

다양한 실시 예들에 따라, 상기 판단하는 과정은, 상기 디스플레이 타입에 기반하여 상기 외부 전자 장치가 세로형 디스플레이인지 여부, 또는 상기 외부 전자 장치가 세로 방향으로 동작 중인지 여부를 판단하는 과정을 포함할 수 있다.According to various embodiments, the determining may include determining whether the external electronic device is a vertical display based on the display type, or determining whether the external electronic device is operating in a vertical direction .

다양한 실시 예들에 따라, 상기 생성하는 과정은, 상기 장치 정보에 기반하여 상기 외부 전자 장치와 공통된 최적의 해상도 결정 및, 상기 외부 전자 장치의 디스플레이 타입을 판단하는 과정, 상기 디스플레이 타입이 세로형 디스플레이인 경우, 상기 결정된 해상도를 가지는 세로 방향의 가상 디스플레이를 생성하는 과정, 및 상기 가상 디스플레이를 이용하여, 상기 외부 전자 장치의 해상도와 디스플레이 타입에 대응하는 데이터를 생성하는 과정을 포함할 수 있다.According to various embodiments, the generating may include determining an optimal resolution common to the external electronic device based on the device information and determining a display type of the external electronic device, Generating a vertical virtual display having the determined resolution, and generating data corresponding to the resolution and the display type of the external electronic device using the virtual display.

다양한 실시 예들에 따라, 상기 생성하는 과정은, 기본 설정된 가로 형태의 가상 디스플레이를 상기 외부 전자 장치의 세로형 디스플레이에 대응하도록 세로 방향으로 회전하는 과정, 및 회전된 세로 방향의 가상 디스플레이를 이용하여 데이터를 생성하는 과정을 포함할 수 있다.According to various embodiments, the generating process may include the steps of rotating the virtual display of a predetermined horizontal shape in the vertical direction to correspond to the vertical display of the external electronic device, And a step of generating the data.

다양한 실시 예들에 따라, 상기 생성하는 과정은, 상기 디스플레이 타입이 가로형 디스플레이인 경우, 상기 결정된 해상도를 가지는 가로 방향의 가상 디스플레이를 생성하는 과정을 포함할 수 있다.According to various embodiments, the generating may include generating a horizontal virtual display having the determined resolution if the display type is a horizontal display.

다양한 실시 예들에 따라, 상기 외부 전자 장치로부터 사용자 입력 백 채널(UIBC)를 통해 사용자 입력에 따른 좌표를 수신하는 과정, 상기 좌표 수신에 대응하여, 상기 외부 전자 장치의 타입을 판단하는 과정, 상기 외부 전자 장치가 세로형 디스플레이 기반의 제1 타입 장치이면, 상기 좌표에 대한 변환 없이 상기 좌표를 인식하는 과정, 및 상기 외부 전자 장치가 기본 설정된 가로 방향에서 세로 방향으로 회전하여 사용하는 제2 타입 장치이면, 상기 좌표의 변환을 수행하고 변환된 좌표를 인식하는 과정을 포함할 수 있다.Receiving coordinates from a user input through a user input back channel (UIBC) from the external electronic device according to various embodiments; determining a type of the external electronic device in response to the coordinate reception; If the electronic device is a first type device based on a vertical display, recognizing the coordinates without conversion to the coordinates, and if the electronic device is a second type device used by rotating the device in the longitudinal direction , Performing the transformation of the coordinates, and recognizing the transformed coordinates.

다양한 실시 예들에 따라, 상기 좌표를 변환하는 과정은, 상기 좌표에서, x좌표는 y좌표로 변환하고, y좌표는 x좌표로 변환하여 좌표 변환을 수행하는 것을 포함할 수 있다.According to various embodiments, the step of transforming the coordinates may comprise performing the coordinate transformation by transforming the x coordinate to the y coordinate and the y coordinate to the x coordinate in the above coordinates.

다양한 실시 예들에 따라, 상기 외부 전자 장치는, 상기 전자 장치와 미라캐스트 연결된 상태에서 사용자 입력을 감지하는 과정, 사용자 입력 감지에 대응하여, 디스플레이의 방향을 판단하는 과정, 상기 디스플레이의 방향이 기본 설정된 가로 방향에서 세로 방향으로 회전하여 사용되는 상태이면, 상기 사용자 입력에 대한 좌표를 변환하는 과정, 및 상기 변환된 좌표를 상기 전자 장치에 전송하는 과정을 더 포함할 수 있다.According to various embodiments, the external electronic device may further include a step of detecting a user input in a state of being mirror-linked with the electronic device, a step of determining a direction of the display in response to user input detection, Converting the coordinate of the user input when the user rotates in the vertical direction in the horizontal direction, and transmitting the converted coordinate to the electronic device.

본 명세서와 도면에 개시된 본 발명의 다양한 실시 예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 범위는 여기에 개시된 실시 예들 이외에도 본 발명의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The various embodiments of the present invention disclosed in the present specification and drawings are merely illustrative examples of the present invention and are not intended to limit the scope of the present invention in order to facilitate understanding of the present invention. Accordingly, the scope of the present invention should be construed as being included in the scope of the present invention, all changes or modifications derived from the technical idea of the present invention.

400: 전자 장치(소스 장치)
120, 210: 프로세서
500: 외부 전자 장치(싱크 장치)
710: 가상 디스플레이
400: electronic device (source device)
120, 210: Processor
500: External electronic device (sink device)
710: Virtual display

Claims (20)

전자 장치에 있어서,
미라캐스트(miracast) 연결 및 데이터 송수신을 위한 무선 통신부;
데이터 표시를 위한 디스플레이; 및
상기 무선 통신부 및 상기 디스플레이와 기능적으로 연결된 프로세서를 포함하고, 상기 프로세서는,
미라캐스트 연결된 외부 전자 장치로부터 장치 정보를 획득하고,
상기 장치 정보에 기반하여 상기 외부 전자 장치의 해상도 및 디스플레이 타입을 판단하고,
상기 외부 전자 장치가 세로형 디스플레이이면, 세로형 디스플레이에 대응하는 데이터를 상기 해상도에 기반하여 생성하고, 및
상기 무선 통신부를 이용하여, 상기 데이터를 상기 외부 전자 장치에 전송하도록 설정된 전자 장치.
In an electronic device,
A wireless communication unit for a miracast connection and data transmission / reception;
A display for displaying data; And
And a processor operatively coupled to the wireless communication unit and the display,
Acquiring device information from a mirror-connected external electronic device,
Determining a resolution and a display type of the external electronic device based on the device information,
If the external electronic device is a vertical display, generating data corresponding to the vertical display based on the resolution, and
And to transmit the data to the external electronic device using the wireless communication unit.
제1항에 있어서, 상기 장치 정보는,
상기 외부 전자 장치가 지원하는 해상도와 디스플레이 타입을 포함하도록 설정된 전자 장치.
2. The apparatus of claim 1,
Wherein the external device is configured to include a resolution and a display type supported by the external electronic device.
제2항에 있어서, 상기 장치 정보는,
상기 외부 전자 장치의 동작 모드에 대한 정보, 상기 외부 전자 장치의 타입에 대한 정보, 제조사 정보, 모델명 정보, 또는 사용자 입력 백 채널(UIBC, user input back channel)의 정보를 포함하도록 설정된 장치.
3. The method according to claim 2,
Information on an operation mode of the external electronic device, information on a type of the external electronic device, manufacturer information, model name information, or information on a user input back channel (UIBC).
제2항에 있어서, 상기 프로세서는,
상기 디스플레이 타입에 기반하여 상기 외부 전자 장치가 세로형 디스플레이인지 여부, 또는 상기 외부 전자 장치가 세로 방향으로 동작 중인지 여부를 판단하도록 설정된 장치.
3. The apparatus of claim 2,
And determine whether the external electronic device is a vertical display based on the display type or whether the external electronic device is operating in a vertical direction.
제1항에 있어서, 상기 프로세서는,
상기 장치 정보에 기반하여 상기 외부 전자 장치와 공통된 최적의 해상도 결정 및, 상기 외부 전자 장치의 디스플레이 타입을 판단하고,
상기 디스플레이 타입이 세로형 디스플레이인 경우, 상기 결정된 해상도를 가지는 세로 방향의 가상 디스플레이를 생성하고, 및
상기 가상 디스플레이를 이용하여, 상기 외부 전자 장치의 해상도와 디스플레이 타입에 대응하는 데이터를 생성하도록 설정된 장치.
2. The apparatus of claim 1,
Determining an optimum resolution common to the external electronic device based on the device information, determining a display type of the external electronic device,
Generating a vertical virtual display having the determined resolution if the display type is a vertical display, and
And use the virtual display to generate data corresponding to the resolution and display type of the external electronic device.
제5항에 있어서, 상기 프로세서는,
기본 설정된 가로 형태의 가상 디스플레이를 상기 외부 전자 장치의 세로형 디스플레이에 대응하도록 세로 방향으로 회전하고, 회전된 세로 방향의 가상 디스플레이를 이용하여 데이터를 생성하도록 설정된 장치.
6. The apparatus of claim 5,
To rotate the virtual display of the default horizontal shape in the vertical direction to correspond to the vertical display of the external electronic device, and to generate data using the rotated vertical display of virtual display.
제5항에 있어서, 상기 프로세서는,
상기 디스플레이 타입이 가로형 디스플레이인 경우, 상기 결정된 해상도를 가지는 가로 방향의 가상 디스플레이를 생성하도록 설정된 장치.
6. The apparatus of claim 5,
And to generate a horizontal virtual display having the determined resolution if the display type is a landscape display.
제1항에 있어서, 상기 프로세서는,
상기 외부 전자 장치로부터 사용자 입력 백 채널(UIBC)를 통해 사용자 입력에 따른 좌표를 수신하고,
상기 좌표 수신에 대응하여, 상기 외부 전자 장치의 타입을 판단하고,
상기 외부 전자 장치가 세로형 디스플레이 기반의 제1 타입 장치이면, 상기 좌표에 대한 변환 없이 상기 좌표를 인식하고, 및
상기 외부 전자 장치가 기본 설정된 가로 방향에서 세로 방향으로 회전하여 사용하는 제2 타입 장치이면, 상기 좌표의 변환을 수행하고 변환된 좌표를 인식하도록 설정된 장치.
2. The apparatus of claim 1,
Receiving coordinates from the external electronic device via a user input back channel (UIBC) according to user input,
Determining a type of the external electronic device in response to the coordinate reception,
If the external electronic device is a first type device based on a vertical display, recognizing the coordinates without conversion to the coordinates, and
And if the external electronic device is a second type device that rotates in the longitudinal direction in the predetermined horizontal direction and uses it, recognizes the transformed coordinates.
제8항에 있어서, 상기 프로세서는,
상기 좌표에서, x좌표는 y좌표로 변환하고, y좌표는 x좌표로 변환하여 좌표 변환을 수행하도록 설정된 장치.
9. The apparatus of claim 8,
Wherein in said coordinates, the x coordinate is converted into a y coordinate and the y coordinate is converted into an x coordinate to perform a coordinate transformation.
제1항에 있어서, 상기 외부 전자 장치는,
상기 전자 장치와 미라캐스트 연결된 상태에서 사용자 입력을 감지하고,
사용자 입력 감지에 대응하여, 디스플레이의 방향을 판단하고,
상기 디스플레이의 방향이 기본 설정된 가로 방향에서 세로 방향으로 회전하여 사용되는 상태이면, 상기 사용자 입력에 대한 좌표를 변환하고, 및
상기 변환된 좌표를 상기 전자 장치에 전송하도록 설정된 장치.
The electronic device according to claim 1,
Detecting a user input in a mirror cast connection with the electronic device,
In response to user input detection, the direction of the display is determined,
If the orientation of the display is in a state of being rotated and used in a longitudinal direction in a preferred horizontal direction, transforming the coordinates for the user input, and
And transmit the transformed coordinates to the electronic device.
전자 장치의 동작 방법에 있어서,
미라캐스트 연결된 외부 전자 장치로부터 장치 정보를 획득하는 과정,
상기 장치 정보에 기반하여 상기 외부 전자 장치의 해상도 및 디스플레이 타입을 판단하는 과정,
상기 외부 전자 장치가 세로형 디스플레이이면, 세로형 디스플레이에 대응하는 데이터를 상기 해상도에 기반하여 생성하는 과정, 및
상기 무선 통신부를 이용하여, 상기 데이터를 상기 외부 전자 장치에 전송하는 과정을 포함하는 방법.
A method of operating an electronic device,
Acquiring device information from a mirror-connected external electronic device,
Determining a resolution and a display type of the external electronic device based on the device information,
If the external electronic device is a vertical display, generating data corresponding to the vertical display based on the resolution; and
And transmitting the data to the external electronic device using the wireless communication unit.
제11항에 있어서, 상기 장치 정보는,
상기 외부 전자 장치가 지원하는 해상도와 디스플레이 타입을 포함하는 방법.
12. The method according to claim 11,
And a resolution and a display type supported by the external electronic device.
제12항에 있어서, 상기 장치 정보는,
상기 외부 전자 장치의 동작 모드에 대한 정보, 상기 외부 전자 장치의 타입에 대한 정보, 제조사 정보, 모델명 정보, 또는 사용자 입력 백 채널(UIBC, user input back channel)의 정보를 포함하는 방법.
13. The method according to claim 12,
Information on an operating mode of the external electronic device, information on a type of the external electronic device, manufacturer information, model name information, or information on a user input back channel (UIBC).
제12항에 있어서, 상기 판단하는 과정은,
상기 디스플레이 타입에 기반하여 상기 외부 전자 장치가 세로형 디스플레이인지 여부, 또는 상기 외부 전자 장치가 세로 방향으로 동작 중인지 여부를 판단하는 과정을 포함하는 방법.
13. The method of claim 12,
Determining whether the external electronic device is a vertical display based on the display type or whether the external electronic device is operating in a vertical direction.
제11항에 있어서, 상기 생성하는 과정은,
상기 장치 정보에 기반하여 상기 외부 전자 장치와 공통된 최적의 해상도 결정 및, 상기 외부 전자 장치의 디스플레이 타입을 판단하는 과정,
상기 디스플레이 타입이 세로형 디스플레이인 경우, 상기 결정된 해상도를 가지는 세로 방향의 가상 디스플레이를 생성하는 과정, 및
상기 가상 디스플레이를 이용하여, 상기 외부 전자 장치의 해상도와 디스플레이 타입에 대응하는 데이터를 생성하는 과정을 포함하는 방법.
12. The method of claim 11, wherein the generating comprises:
Determining an optimal resolution common to the external electronic device based on the device information and determining a display type of the external electronic device;
Generating a vertical virtual display having the determined resolution when the display type is a vertical display; and
And generating data corresponding to the resolution and the display type of the external electronic device using the virtual display.
제15항에 있어서, 상기 생성하는 과정은,
기본 설정된 가로 형태의 가상 디스플레이를 상기 외부 전자 장치의 세로형 디스플레이에 대응하도록 세로 방향으로 회전하는 과정, 및
회전된 세로 방향의 가상 디스플레이를 이용하여 데이터를 생성하는 과정을 포함하는 방법.
16. The method of claim 15,
Rotating the virtual display of the default horizontal shape in the vertical direction so as to correspond to the vertical display of the external electronic device, and
And generating data using a virtual display in the rotated longitudinal direction.
제15항에 있어서, 상기 생성하는 과정은,
상기 디스플레이 타입이 가로형 디스플레이인 경우, 상기 결정된 해상도를 가지는 가로 방향의 가상 디스플레이를 생성하는 과정을 포함하는 방법.
16. The method of claim 15,
And generating a horizontal virtual display having the determined resolution if the display type is a landscape display.
제11항에 있어서,
상기 외부 전자 장치로부터 사용자 입력 백 채널(UIBC)를 통해 사용자 입력에 따른 좌표를 수신하는 과정,
상기 좌표 수신에 대응하여, 상기 외부 전자 장치의 타입을 판단하는 과정,
상기 외부 전자 장치가 세로형 디스플레이 기반의 제1 타입 장치이면, 상기 좌표에 대한 변환 없이 상기 좌표를 인식하는 과정, 및
상기 외부 전자 장치가 기본 설정된 가로 방향에서 세로 방향으로 회전하여 사용하는 제2 타입 장치이면, 상기 좌표의 변환을 수행하고 변환된 좌표를 인식하는 과정을 포함하는 방법.
12. The method of claim 11,
Receiving coordinates from the external electronic device via a user input back channel (UIBC) according to user input;
Determining a type of the external electronic device in response to the coordinate reception;
If the external electronic device is a first type device based on a vertical display, recognizing the coordinates without conversion to the coordinates, and
And if the external electronic device is a second type device that rotates in a vertical direction in a predetermined horizontal direction, performing the conversion of the coordinates and recognizing the converted coordinates.
제18항에 있어서, 상기 좌표를 변환하는 과정은,
상기 좌표에서, x좌표는 y좌표로 변환하고, y좌표는 x좌표로 변환하여 좌표 변환을 수행하는 것을 포함하는 방법.
19. The method of claim 18,
Wherein in said coordinates, the x-coordinate is transformed into a y-coordinate, and the y-coordinate is transformed into an x-coordinate to perform coordinate transformation.
제11항에 있어서, 상기 외부 전자 장치는,
상기 전자 장치와 미라캐스트 연결된 상태에서 사용자 입력을 감지하는 과정,
사용자 입력 감지에 대응하여, 디스플레이의 방향을 판단하는 과정,
상기 디스플레이의 방향이 기본 설정된 가로 방향에서 세로 방향으로 회전하여 사용되는 상태이면, 상기 사용자 입력에 대한 좌표를 변환하는 과정, 및
상기 변환된 좌표를 상기 전자 장치에 전송하는 과정을 더 포함하는 방법.
12. The electronic device according to claim 11,
Detecting a user input when the electronic device is connected to a mirror cast,
Determining a direction of the display in response to user input detection,
Converting the coordinates of the user input when the direction of the display is rotated in a vertical direction in a predetermined horizontal direction and used;
And transmitting the transformed coordinates to the electronic device.
KR1020160112874A 2016-09-01 2016-09-01 Method and apparatus for providing miracast KR102614044B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160112874A KR102614044B1 (en) 2016-09-01 2016-09-01 Method and apparatus for providing miracast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160112874A KR102614044B1 (en) 2016-09-01 2016-09-01 Method and apparatus for providing miracast

Publications (2)

Publication Number Publication Date
KR20180025763A true KR20180025763A (en) 2018-03-09
KR102614044B1 KR102614044B1 (en) 2023-12-15

Family

ID=61728223

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160112874A KR102614044B1 (en) 2016-09-01 2016-09-01 Method and apparatus for providing miracast

Country Status (1)

Country Link
KR (1) KR102614044B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020197012A1 (en) * 2019-03-25 2020-10-01 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
US11455140B2 (en) 2018-08-29 2022-09-27 Samsung Electronics Co., Ltd. Electronic device and method for same controlling external device
KR20230070815A (en) 2021-11-15 2023-05-23 유정호 System for displaying contents using wireless display
EP4236330A1 (en) * 2022-02-28 2023-08-30 LG Electronics Inc. Display device and operating method thereof
WO2024139130A1 (en) * 2022-12-28 2024-07-04 海信视像科技股份有限公司 Display device and data display method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140016473A (en) * 2012-07-30 2014-02-10 엘지전자 주식회사 Image display device and user interface providing method using the same
KR20150031859A (en) * 2013-09-17 2015-03-25 주식회사 티오이십일 Method of sink control and apparatus performing the same
KR20150082940A (en) * 2014-01-08 2015-07-16 삼성전자주식회사 Apparatas and method for controlling a rotation of screen in an electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140016473A (en) * 2012-07-30 2014-02-10 엘지전자 주식회사 Image display device and user interface providing method using the same
KR20150031859A (en) * 2013-09-17 2015-03-25 주식회사 티오이십일 Method of sink control and apparatus performing the same
KR20150082940A (en) * 2014-01-08 2015-07-16 삼성전자주식회사 Apparatas and method for controlling a rotation of screen in an electronic device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11455140B2 (en) 2018-08-29 2022-09-27 Samsung Electronics Co., Ltd. Electronic device and method for same controlling external device
WO2020197012A1 (en) * 2019-03-25 2020-10-01 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
KR20200113521A (en) * 2019-03-25 2020-10-07 삼성전자주식회사 Display apparatus and the control method thereof
US10949160B2 (en) 2019-03-25 2021-03-16 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
KR20230070815A (en) 2021-11-15 2023-05-23 유정호 System for displaying contents using wireless display
EP4236330A1 (en) * 2022-02-28 2023-08-30 LG Electronics Inc. Display device and operating method thereof
US20230274684A1 (en) * 2022-02-28 2023-08-31 Lg Electronics Inc. Display device and operating method thereof
WO2024139130A1 (en) * 2022-12-28 2024-07-04 海信视像科技股份有限公司 Display device and data display method

Also Published As

Publication number Publication date
KR102614044B1 (en) 2023-12-15

Similar Documents

Publication Publication Date Title
CN107257954B (en) Apparatus and method for providing screen mirroring service
US9916120B2 (en) Method and apparatus for providing of screen mirroring service
US9910539B2 (en) Method and apparatus for controlling flexible display and electronic device adapted to the method
KR102503937B1 (en) Apparatus and method for providing user interface of electronic device
KR102486797B1 (en) Electronic device and method for driving display thereof
US11093049B2 (en) Electronic device and method for controlling display in electronic device
US10254883B2 (en) Electronic device for sensing pressure of input and method for operating the electronic device
KR102540111B1 (en) Electronic device and method for operating electronic device
KR20180080629A (en) Electronic device and method for displaying history of executed application thereof
KR102343990B1 (en) Device For Controlling Respectively Multiple Areas of Display and Method thereof
US10295870B2 (en) Electronic device and method for operating thereof
KR102614044B1 (en) Method and apparatus for providing miracast
KR20160124536A (en) Method and electronic apparatus for providing user interface
KR20180014614A (en) Electronic device and method for processing touch event thereof
KR20160061053A (en) An electronic apparatus and a method for displaying a screen of the electronic apparatus
KR102467869B1 (en) Electronic apparatus and operating method thereof
KR20160057822A (en) Method for controlling display and electronic device thereof
KR102467434B1 (en) Device for Controlling Brightness of Display and Method Thereof
KR20170052003A (en) Electronic device having multiple displays and method for controlling thereof
KR102517167B1 (en) Electronic device and controlling method thereof
KR20160068531A (en) Apparatus and method for controlling application
KR102526860B1 (en) Electronic device and method for controlling thereof
KR20170097898A (en) Electronic apparatus and method for controlling a display of the electronic apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant