KR20210102010A - Method and apparatus for operating of electronic device having flexible display - Google Patents

Method and apparatus for operating of electronic device having flexible display Download PDF

Info

Publication number
KR20210102010A
KR20210102010A KR1020200044352A KR20200044352A KR20210102010A KR 20210102010 A KR20210102010 A KR 20210102010A KR 1020200044352 A KR1020200044352 A KR 1020200044352A KR 20200044352 A KR20200044352 A KR 20200044352A KR 20210102010 A KR20210102010 A KR 20210102010A
Authority
KR
South Korea
Prior art keywords
display
preview
electronic device
state
camera device
Prior art date
Application number
KR1020200044352A
Other languages
Korean (ko)
Inventor
장재찬
장종운
김미수
김민호
박봉석
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2021/001158 priority Critical patent/WO2021162295A1/en
Priority to EP21753117.7A priority patent/EP4089521A4/en
Publication of KR20210102010A publication Critical patent/KR20210102010A/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
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • 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/002Specific input/output arrangements not covered by G06F3/01 - G06F3/16
    • G06F3/005Input arrangements through a video camera
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • H04N5/2257
    • H04N5/232935
    • H04N5/247
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Abstract

Various embodiments of the present invention relate to an electronic device having a flexible display (or foldable display) and an operating method thereof. An electronic device in accordance with various embodiments comprises a camera device, a first display, a second display, and a processor. The processor identifies a state of the electronic device based on the execution of the camera device, identifies an operation mode of the camera device and a display operating in response to the execution of the camera device based on the state of the electronic device, updates the settings of the camera device based at least on the operation mode of the camera device and the identified display, and displays a preview obtained from the camera device through the identified display, based on the updated setting. Various embodiments are possible. The present invention can provide an efficient camera mode switching experience.

Description

플렉서블 디스플레이를 갖는 전자 장치의 운영 방법 및 장치{METHOD AND APPARATUS FOR OPERATING OF ELECTRONIC DEVICE HAVING FLEXIBLE DISPLAY}Operating method and apparatus of an electronic device having a flexible display TECHNICAL FIELD

본 개시의 다양한 실시예들은 플렉서블 디스플레이(flexible display)(또는 폴더블 디스플레이(foldable display))를 갖는 전자 장치 및 그의 동작 방법에 관하여 개시한다.Various embodiments of the present disclosure relate to an electronic device having a flexible display (or foldable display) and an operating method thereof.

최근 디지털 기술의 발달과 함께 이동통신 단말기, 스마트폰(smart phone), 태블릿(tablet) PC(personal computer), 노트북(notebook), 또는 웨어러블 장치(wearable device)와 같은 다양한 종류의 전자 장치가 널리 사용되고 있다.With the recent development of digital technology, various types of electronic devices such as mobile communication terminals, smart phones, tablets, personal computers, notebooks, or wearable devices are widely used. have.

전자 장치는, 휴대성을 위해 제한된 크기를 가질 수 있으며, 이로 인하여 디스플레이의 크기도 제약되고 있다. 이에, 최근에는 멀티 디스플레이(multi display)에 의해 전자 장치에서 보다 확장된 화면을 제공하는 다양한 형태의 전자 장치가 개발되고 있다. 예를 들면, 복수 개의 디스플레이를 구비하여 멀티 디스플레이에 의한 확장된 화면을 제공하고 있다. 다른 예를 들면, 전자 장치는, 한정된 크기를 가지는 디스플레이에서 화면의 크기가 점진적으로 커지고 있으며, 사용자에게 큰 화면을 통해 다양한 서비스를 제공하도록 설계되고 있다.The electronic device may have a limited size for portability, which limits the size of the display. Accordingly, in recent years, various types of electronic devices that provide an expanded screen in the electronic device by a multi display have been developed. For example, a plurality of displays are provided to provide an extended screen by multi-display. For another example, the screen size of the electronic device is gradually increasing in a display having a limited size, and is designed to provide various services to a user through a large screen.

최근 전자 장치는 멀티 디스플레이(예: 듀얼 디스플레이(dual display)) 장치(예: 폴더블 장치(foldable device))와 같은 새로운 폼 팩터(form factor)를 가질 수 있다. 폴더블 장치는 접히는(또는 휘어지는) 디스플레이(예: 폴더블 디스플레이(foldable display) 또는 플렉서블 디스플레이(flexible display))를 탑재하고, 접어서 사용하거나 펼쳐서 사용할 수 있다. 또한, 멀티 디스플레이 구현에 따라, 멀티 디스플레이에 대응하는 사용자 인터페이스(UI, user interface) 및 그의 운영에 관한 개발의 필요성이 증대되고 있다.Recently, electronic devices may have a new form factor such as a multi-display (eg, dual display) device (eg, a foldable device). The foldable device is equipped with a foldable (or bendable) display (eg, a foldable display or a flexible display) and can be used by folding or unfolding. In addition, as the multi-display is implemented, the need for development of a user interface (UI) corresponding to the multi-display and its operation is increasing.

다양한 실시예들에서는, 적어도 두 개의 디스플레이 면(display surface)을 갖는 전자 장치(예: 폴더블 장치(foldable device))에서 카메라 장치 및 디스플레이를 운영하는 방법 및 장치에 관하여 개시한다.Various embodiments disclose a method and apparatus for operating a camera device and a display in an electronic device (eg, a foldable device) having at least two display surfaces.

다양한 실시예들에서는, 전자 장치가 접히거나 펼쳐지는 물리적인 특성에 기반하여 카메라 장치 및 카메라 장치를 이용한 촬영에 관련된 동작을 효율적으로 제어할 수 있는 방법 및 장치에 관하여 개시한다.Various embodiments provide a method and apparatus for efficiently controlling a camera device and an operation related to photographing using the camera device based on physical characteristics in which the electronic device is folded or unfolded.

다양한 실시예들에서는, 전자 장치의 상태 변화에 기반한 카메라 장치의 동작 시, 전자 장치의 접힘 상태, 펼침 상태 또는 중간 상태에 기반하여 카메라 장치의 설정을 제어하고, 그에 따른 디스플레이를 통해 사용자 인터페이스를 제공할 수 있는 방법 및 장치에 관하여 개시한다.In various embodiments, when the camera device is operated based on a change in the state of the electronic device, the settings of the camera device are controlled based on the folded state, the unfolded state, or the intermediate state of the electronic device, and a user interface is provided through the display accordingly. Disclosed is a method and apparatus capable of doing so.

본 개시의 다양한 실시예들에 따른 전자 장치는, 카메라 장치, 제1 디스플레이, 제2 디스플레이, 및 프로세서를 포함하고, 상기 프로세서는, 상기 카메라 장치의 실행에 기반하여, 상기 전자 장치의 상태를 식별하고, 상기 전자 장치의 상태에 기반하여, 상기 카메라 장치의 동작 모드 및 상기 카메라 장치의 실행에 대응하여 동작하는 디스플레이를 식별하고, 상기 카메라 장치의 동작 모드 및 상기 식별된 디스플레이에 적어도 기반하여, 상기 카메라 장치의 설정을 업데이트 하고, 상기 업데이트된 설정에 기반하여 상기 카메라 장치로부터 획득된 프리뷰를 상기 식별된 디스플레이를 통해 표시하도록 할 수 있다.An electronic device according to various embodiments of the present disclosure includes a camera device, a first display, a second display, and a processor, wherein the processor identifies a state of the electronic device based on execution of the camera device and, based on the state of the electronic device, identify an operation mode of the camera device and a display operating in response to the execution of the camera device, and at least based on the operation mode of the camera device and the identified display, the A setting of the camera device may be updated, and a preview obtained from the camera device may be displayed through the identified display based on the updated setting.

본 개시의 다양한 실시예들에 따른 전자 장치의 동작 방법은, 카메라 장치의 실행에 기반하여, 상기 전자 장치의 상태를 식별하는 동작, 상기 전자 장치의 상태에 기반하여, 상기 카메라 장치의 동작 모드 및 상기 카메라 장치의 실행에 대응하여 동작하는 디스플레이를 식별하는 동작, 상기 카메라 장치의 동작 모드 및 상기 식별된 디스플레이에 적어도 기반하여, 상기 카메라 장치의 설정을 업데이트 하는 동작, 상기 업데이트된 설정에 기반하여 상기 카메라 장치로부터 획득된 프리뷰를 상기 식별된 디스플레이를 통해 표시하는 동작을 포함할 수 있다.A method of operating an electronic device according to various embodiments of the present disclosure includes an operation of identifying a state of the electronic device based on execution of a camera device, an operation mode of the camera device based on the state of the electronic device, and identifying a display operating in response to the execution of the camera device, updating a setting of the camera device based at least on an operation mode of the camera device and the identified display, based on the updated setting and displaying a preview obtained from the camera device through the identified display.

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

본 개시의 적용 가능성의 추가적인 범위는 이하의 상세한 설명으로부터 명백해질 것이다. 그러나 본 개시의 사상 및 범위 내에서 다양한 변경 및 수정은 당업자에게 명확하게 이해될 수 있으므로, 상세한 설명 및 본 개시의 바람직한 실시예와 같은 특정 실시예는 단지 예시로 주어진 것으로 이해되어야 한다.Further scope of applicability of the present disclosure will become apparent from the following detailed description. However, it should be understood that the detailed description and specific embodiments, such as preferred embodiments of the present disclosure, are given by way of illustration only, since various changes and modifications within the spirit and scope of the present disclosure may be clearly understood by those skilled in the art.

다양한 실시예들에 따른 전자 장치 및 그의 동작 방법에 따르면, 플렉서블 디스플레이를 갖는 전자 장치에서, 전자 장치의 카메라 장치 및/또는 디스플레이를, 전자 장치의 상태(예: 펼침 상태, 접힘 상태 또는 중간 상태) 또는 상태 변화에 따라 대응하는 이벤트 처리를 수행하여, 효율적인 카메라 모드 전환 경험을 제공할 수 있다. 다양한 실시예들에 따르면, 전자 장치는 카메라 장치의 동작 중에, 사용자에 의한 전자 장치의 상태 변화 발생 시에, 상태 변화에 따른 이벤트를 처리하여, 사용자에게 끊김 없는(seamless) 카메라 사용 경험을 제공할 수 있다. 다양한 실시예들에 따르면, 전자 장치에서 하나의 카메라 장치를 이용하여, 사용자에게 전면 촬영(예: 전면 카메라 모드 셀피(selfie) 모드)과 후면 촬영(예: 후면 카메라 모드) 경험을 제공할 수 있고, 사용자의 촬영 모드에 따른 디스플레이에 최적화된 프리뷰를 제공할 수 있다.According to an electronic device and an operating method thereof according to various embodiments of the present disclosure, in an electronic device having a flexible display, a camera device and/or a display of the electronic device are set in a state (eg, an unfolded state, a folded state, or an intermediate state) of the electronic device. Alternatively, an efficient camera mode switching experience may be provided by performing event processing corresponding to a state change. According to various embodiments, the electronic device may provide a seamless camera use experience to the user by processing an event according to the state change when the state of the electronic device is changed by the user during the operation of the camera device. can According to various embodiments, an electronic device may provide a front-facing (eg, front camera mode, selfie mode) and a rear-captured (eg, rear camera mode) experience to a user by using a single camera device, , it is possible to provide a preview optimized for the display according to the user's shooting mode.

도면 설명과 관련하여, 동일 또는 유사한 구성 요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예들에 따른 표시 장치의 블록도이다.
도 3a는 다양한 실시예들에 따른 펼침 상태(flat state 또는 unfolding state)를 도시한 전자 장치의 전면 사시도이다.
도 3b는 다양한 실시예들에 따른 펼침 상태에서 전자 장치의 전면을 도시한 평면도이다.
도 3c는 다양한 실시예들에 따른 펼침 상태에서 전자 장치의 후면을 도시한 평면도이다.
도 4a는 다양한 실시예들에 따른 접힘 상태(folding state)를 도시한 전자 장치의 사시도이다.
도 4b는 다양한 실시예들에 따른 중간 상태(intermediate state)를 도시한 전자 장치의 사시도이다.
도 5는 다양한 실시예들에 따른 전자 장치의 구성을 개략적으로 도시하는 도면이다.
도 6은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 7은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 8은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 9는 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 10은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 11은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 12a, 도 12b 및 도 12c는 다양한 실시예들에 따른 전자 장치에서 카메라 장치 및 디스플레이가 동작하는 예를 설명하기 위한 도면들이다.
도 13은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 14는 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 15a, 도 15b 및 도 15c는 다양한 실시예들에 따른 전자 장치의 중간 상태에서 동작하는 예를 설명하기 위한 도면들이다.
도 16a, 도 16b, 도 16c, 도 16d 및 도 16e는 다양한 실시예들에 따른 전자 장치의 중간 상태에서 서브 영역을 제공하는 예를 설명하기 위한 도면들이다.
도 17은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 18은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 19는 다양한 실시예들에 따른 전자 장치의 펼침 상태에서 동작하는 예를 설명하기 위한 도면이다.
도 20은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 21a 및 도 21b는 다양한 실시예들에 따른 전자 장치에서 멀티 프리뷰 표시를 위해 제공되는 인터페이스의 예를 설명하기 위한 도면들이다.
도 22 내지 도 24는 다양한 실시예들에 따른 전자 장치를 펼침 상태에서 중간 상태로 전환하는 예를 설명하기 위한 도면들이다.
도 25 및 도 26은 다양한 실시예들에 따른 전자 장치의 중간 상태에서 사용 예를 설명하기 위한 도면들이다.
도 27 및 도 28은 다양한 실시예들에 따른 전자 장치의 중간 상태에서 전자 장치를 이용한 촬영 동작의 예를 설명하기 위한 도면들이다.
도 29 및 도 30은 다양한 실시예들에 따른 전자 장치를 중간 상태에서 펼침 상태로 전환하는 예를 설명하기 위한 도면들이다.
도 31은 전자 장치의 중간 상태에서 프리뷰 영역과 서브 영역의 다른 예를 설명하기 위한 도면이다.
도 32 및 도 33은 다양한 실시예들에 따른 전자 장치의 중간 상태에서 화면 구성에 대한 예를 설명하기 위한 도면들이다.
도 34 내지 도 46은 다양한 실시예들에 따른 전자 장치에서 프리뷰 이동을 자동 제어하는 예를 설명하기 위한 도면들이다.
도 47은 다양한 실시예들에 따른 전자 장치의 중간 상태에서 프리뷰 전환 예를 설명하기 위한 도면이다.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
2 is a block diagram of a display device according to various embodiments.
3A is a front perspective view of an electronic device illustrating a flat state or unfolding state according to various embodiments of the present disclosure;
3B is a plan view illustrating a front surface of an electronic device in an unfolded state according to various embodiments of the present disclosure;
3C is a plan view illustrating a rear surface of an electronic device in an unfolded state according to various embodiments of the present disclosure;
4A is a perspective view of an electronic device illustrating a folding state according to various embodiments of the present disclosure;
4B is a perspective view of an electronic device illustrating an intermediate state according to various embodiments of the present disclosure;
5 is a diagram schematically illustrating a configuration of an electronic device according to various embodiments of the present disclosure;
6 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
7 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
8 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
9 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
10 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
11 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
12A, 12B, and 12C are diagrams for explaining an example in which a camera device and a display operate in an electronic device according to various embodiments of the present disclosure;
13 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
14 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
15A, 15B, and 15C are diagrams for explaining an example of an electronic device operating in an intermediate state according to various embodiments of the present disclosure;
16A, 16B, 16C, 16D, and 16E are diagrams for explaining an example of providing a sub-region in an intermediate state of an electronic device according to various embodiments of the present disclosure;
17 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
18 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
19 is a diagram for describing an example of an operation in an unfolded state of an electronic device according to various embodiments of the present disclosure;
20 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
21A and 21B are diagrams for explaining an example of an interface provided for displaying a multi-preview in an electronic device according to various embodiments of the present disclosure;
22 to 24 are diagrams for explaining an example of switching an electronic device from an unfolded state to an intermediate state according to various embodiments of the present disclosure;
25 and 26 are diagrams for explaining an example of using an electronic device in an intermediate state according to various embodiments of the present disclosure;
27 and 28 are diagrams for explaining an example of a photographing operation using an electronic device in an intermediate state of the electronic device according to various embodiments of the present disclosure;
29 and 30 are diagrams for explaining an example of switching an electronic device from an intermediate state to an unfolded state according to various embodiments of the present disclosure;
31 is a diagram for explaining another example of a preview area and a sub area in an intermediate state of an electronic device.
32 and 33 are diagrams for explaining an example of a screen configuration in an intermediate state of an electronic device according to various embodiments of the present disclosure;
34 to 46 are diagrams for explaining an example of automatically controlling preview movement in an electronic device according to various embodiments of the present disclosure;
47 is a diagram for explaining an example of preview switching in an intermediate state of an electronic device according to various embodiments of the present disclosure;

도 1은 다양한 실시예들에 따른 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.

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

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(inactive)(예: 슬립(sleep)) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(active)(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성 요소들 중 적어도 하나의 구성 요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))과 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is At least one of the components of the electronic device 101 (eg, the display device 160 and the sensor module 176 ) together with the main processor 121 while in an active (eg, application execution) state ), or at least some of functions or states related to the communication module 190). According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). have.

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

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

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

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

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

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

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

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

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

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

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

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

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

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, Wi-Fi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN(wide area network))와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, Wi-Fi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet). , or a computer network (eg, a telecommunication network such as a LAN or a wide area network (WAN)). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other.

무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI, international mobile subscriber identity))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The wireless communication module 192 communicates with the first network 198 or the second network 199 using subscriber information (eg, international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196 . The electronic device 101 may be identified and authenticated within the same communication network.

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

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

일 실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104) 간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the electronic devices 102 and 104 may be the same or a different type of the electronic device 101 .

일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104 또는 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들(102, 104)에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들(102, 104)은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅(cloud computing), 분산 컴퓨팅(distributed computing), 또는 클라이언트-서버 컴퓨팅(client-server computing) 기술이 이용될 수 있다.According to an embodiment, all or part of the operations executed in the electronic device 101 may be executed in one or more of the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices 102 and 104 may be requested to perform at least a part of a function or a service thereof. The one or more external electronic devices 102 and 104 that have received the request execute at least a part of the requested function or service, or an additional function or service related to the request, and send a result of the execution to the electronic device 101 can transmit The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 2는 다양한 실시 예들에 따른 표시 장치(160)의 블록도(200)이다.2 is a block diagram 200 of a display device 160 according to various embodiments of the present disclosure.

도 2를 참조하면, 표시 장치(160)는 디스플레이(210), 및 이를 제어하기 위한 디스플레이 드라이버 IC(DDI, display driver IC)(230)를 포함할 수 있다. DDI(230)는 인터페이스 모듈(231), 메모리(233)(예: 버퍼 메모리), 이미지 처리 모듈(235), 또는 맵핑 모듈(237)을 포함할 수 있다. Referring to FIG. 2 , the display device 160 may include a display 210 and a display driver IC (DDI, display driver IC) 230 for controlling the display 210 . The DDI 230 may include an interface module 231 , a memory 233 (eg, a buffer memory), an image processing module 235 , or a mapping module 237 .

DDI(230)는, 예를 들면, 영상 데이터, 또는 상기 영상 데이터를 제어하기 위한 명령에 대응하는 영상 제어 신호를 포함하는 영상 정보를 인터페이스 모듈(231)을 통해 전자 장치(101)의 다른 구성 요소로부터 수신할 수 있다. 예를 들면, 영상 정보는 프로세서(120)(예: 메인 프로세서(121)(예: 어플리케이션 프로세서) 또는 메인 프로세서(121)의 기능과 독립적으로 운영되는 보조 프로세서(123)(예: 그래픽 처리 장치))로부터 수신될 수 있다. DDI(230)는 터치 회로(250) 또는 센서 모듈(176)과 상기 인터페이스 모듈(231)을 통하여 커뮤니케이션 할 수 있다. 또한, DDI(230)는 상기 수신된 영상 정보 중 적어도 일부를 메모리(233)에, 예를 들면, 프레임 단위로 저장할 수 있다. The DDI 230 transmits, for example, image data or image information including an image control signal corresponding to a command for controlling the image data to other components of the electronic device 101 through the interface module 231 . can be received from For example, the image information includes the processor 120 (eg, the main processor 121 (eg, an application processor) or the auxiliary processor 123 (eg, a graphic processing unit) operated independently of the function of the main processor 121 ). ) can be received from The DDI 230 may communicate with the touch circuit 250 or the sensor module 176 through the interface module 231 . Also, the DDI 230 may store at least a portion of the received image information in the memory 233, for example, in units of frames.

이미지 처리 모듈(235)은, 예를 들면, 상기 영상 데이터의 적어도 일부를 상기 영상 데이터의 특성 또는 디스플레이(210)의 특성에 적어도 기반하여 전처리(pre-processing) 또는 후처리(post-processing)(예: 해상도, 밝기, 또는 크기 조정)를 수행할 수 있다. The image processing module 235 may, for example, pre-process or post-process at least a portion of the image data based on at least a characteristic of the image data or a characteristic of the display 210 ( e.g. resolution, brightness, or resizing).

맵핑 모듈(237)은 이미지 처리 모듈(235)을 통해 전처리 또는 후처리된 상기 영상 데이터에 대응하는 전압 값 또는 전류 값을 생성할 수 있다. 일 실시 예에 따르면, 전압 값 또는 전류 값의 생성은, 예를 들면, 디스플레이(210)의 픽셀(pixel)들의 속성(예: 픽셀들의 배열(RGB stripe 또는 pentile 구조), 또는 서브 픽셀들 각각의 크기)에 적어도 일부 기반하여 수행될 수 있다. 디스플레이(210)의 적어도 일부 픽셀들은, 예를 들면, 상기 전압 값 또는 전류 값에 적어도 일부 기반하여 구동됨으로써 상기 영상 데이터에 대응하는 시각적 정보(예: 텍스트, 이미지, 또는 아이콘)가 디스플레이(210)를 통해 표시될 수 있다.The mapping module 237 may generate a voltage value or a current value corresponding to the image data pre-processed or post-processed by the image processing module 235 . According to an embodiment, the generation of the voltage value or the current value may be, for example, a property of pixels of the display 210 (eg, an arrangement of pixels (RGB stripe or pentile structure), or each of the sub-pixels). size) at least in part. At least some pixels of the display 210 are driven based at least in part on the voltage value or the current value, so that visual information (eg, text, image, or icon) corresponding to the image data is displayed on the display 210 . can be displayed through

일 실시 예에 따르면, 표시 장치(160)는 터치 회로(250)를 더 포함할 수 있다. 터치 회로(250)는 터치 센서(251) 및 이를 제어하기 위한 터치 센서 IC(253)를 포함할 수 있다. 터치 센서 IC(253)는, 예를 들면, 디스플레이(210)의 특정 위치에 대한 터치 입력 또는 호버링(hovering) 입력을 감지하기 위해 터치 센서(251)를 제어할 수 있다. 예를 들면, 터치 센서 IC(253)는 디스플레이(210)의 특정 위치에 대한 신호(예: 전압, 광량, 저항, 또는 전하량)의 변화를 측정함으로써 터치 입력 또는 호버링 입력을 감지할 수 있다. 터치 센서 IC(253)는 감지된 터치 입력 또는 호버링 입력에 관한 정보(예: 위치, 면적, 압력, 또는 시간)를 프로세서(120)에 제공할 수 있다. 일 실시 예에 따르면, 터치 회로(250)의 적어도 일부(예: 터치 센서 IC(253))는 DDI(230), 또는 디스플레이(210)의 일부로, 또는 표시 장치(160)의 외부에 배치된 다른 구성 요소(예: 보조 프로세서(123))의 일부로 포함될 수 있다.According to an embodiment, the display device 160 may further include a touch circuit 250 . The touch circuit 250 may include a touch sensor 251 and a touch sensor IC 253 for controlling the touch sensor 251 . The touch sensor IC 253 may control the touch sensor 251 to detect a touch input or a hovering input for a specific location of the display 210 , for example. For example, the touch sensor IC 253 may detect a touch input or a hovering input by measuring a change in a signal (eg, voltage, light amount, resistance, or electric charge amount) for a specific position of the display 210 . The touch sensor IC 253 may provide information (eg, location, area, pressure, or time) regarding the sensed touch input or hovering input to the processor 120 . According to an embodiment, at least a part of the touch circuit 250 (eg, the touch sensor IC 253 ) may be a part of the DDI 230 , the display 210 , or another part disposed outside the display device 160 . It may be included as part of a component (eg, the coprocessor 123 ).

일 실시 예에 따르면, 표시 장치(160)는 센서 모듈(176)의 적어도 하나의 센서(예: 지문 센서, 홍채 센서, 압력 센서 또는 조도 센서), 또는 이에 대한 제어 회로를 더 포함할 수 있다. 이 경우, 상기 적어도 하나의 센서 또는 이에 대한 제어 회로는 표시 장치(160)의 일부(예: 디스플레이(210) 또는 DDI(230)) 또는 터치 회로(250)의 일부에 임베디드될 수 있다. 예를 들면, 표시 장치(160)에 임베디드된 센서 모듈(176)이 생체 센서(예: 지문 센서)를 포함할 경우, 상기 생체 센서는 디스플레이(210)의 일부 영역을 통해 터치 입력과 연관된 생체 정보(예: 지문 이미지)를 획득할 수 있다. 다른 예를 들면, 표시 장치(160)에 임베디드된 센서 모듈(176)이 압력 센서를 포함할 경우, 상기 압력 센서는 디스플레이(210)의 일부 또는 전체 영역을 통해 터치 입력과 연관된 압력 정보를 획득할 수 있다. 일 실시 예에 따르면, 터치 센서(251) 또는 센서 모듈(176)은 디스플레이(210)의 픽셀 레이어(pixel layer)의 픽셀들 사이에, 또는 상기 픽셀 레이어의 위에 또는 아래에 배치될 수 있다.According to an embodiment, the display device 160 may further include at least one sensor (eg, a fingerprint sensor, an iris sensor, a pressure sensor, or an illuminance sensor) of the sensor module 176 , or a control circuit therefor. In this case, the at least one sensor or a control circuit therefor may be embedded in a part of the display device 160 (eg, the display 210 or the DDI 230 ) or a part of the touch circuit 250 . For example, when the sensor module 176 embedded in the display device 160 includes a biometric sensor (eg, a fingerprint sensor), the biometric sensor provides biometric information related to a touch input through a partial area of the display 210 . (eg, fingerprint image) can be acquired. As another example, when the sensor module 176 embedded in the display device 160 includes a pressure sensor, the pressure sensor may acquire pressure information related to a touch input through a part or the entire area of the display 210 . can According to an embodiment, the touch sensor 251 or the sensor module 176 may be disposed between pixels of a pixel layer of the display 210 or above or below the pixel layer.

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

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경(modifications), 균등물(equivalents), 또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성 요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and various modifications, equivalents, or alternatives of the embodiments are not intended. should be understood as including In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise.

본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", “A 또는 B 중 적어도 하나”, "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 “A, B, 또는 C 중 적어도 하나”와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성 요소를 다른 해당 구성 요소와 구분하기 위해 사용될 수 있으며, 해당 구성 요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성 요소가 다른(예: 제2) 구성 요소에 "기능적으로” 또는 “통신적으로"라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성 요소가 상기 다른 구성 요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성 요소를 통하여 연결될 수 있다는 것을 의미한다.As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "A; Each of the phrases such as “at least one of B, or C” may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” may be used simply to distinguish the component from other such components, and may refer to components in other aspects (e.g., importance or order) is not limited. A reference in which one (e.g. first) component is "coupled" or "connected" to another (e.g. second) component with or without the terms "functionally" or "communicatively" If used, it means that one component can be connected to the other component directly (eg, by wire), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어(firmware)로 구현된 유닛(unit)을 포함할 수 있으며, 예를 들면, 로직(logic), 논리 블록(logic block), 부품(component), 또는 회로(circuit)의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software or firmware, for example, logic, logic block, component ), or the term "circuit" can be used interchangeably. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. According to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

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

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

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

본 개시의 다양한 실시예들을 서술하기에 앞서, 본 개시의 실시예가 적용될 수 있는 전자 장치(101)에 대하여 설명한다.Before describing various embodiments of the present disclosure, an electronic device 101 to which embodiments of the present disclosure may be applied will be described.

도 3a는 다양한 실시예들에 따른 펼침 상태(flat state 또는 unfolding state)를 도시한 전자 장치의 사시도이다. 도 3b는 다양한 실시예들에 따른 펼침 상태에서 전자 장치의 전면을 도시한 평면도이다. 도 3c는 다양한 실시예들에 따른 펼침 상태에서 전자 장치의 후면을 도시한 평면도이다.3A is a perspective view of an electronic device illustrating a flat state or unfolding state according to various embodiments of the present disclosure; 3B is a plan view illustrating a front surface of an electronic device in an unfolded state according to various embodiments of the present disclosure; 3C is a plan view illustrating a rear surface of an electronic device in an unfolded state according to various embodiments of the present disclosure;

도 4a는 다양한 실시예들에 따른 접힘 상태(folding state)를 도시한 전자 장치의 사시도이다. 도 4b는 다양한 실시예들에 따른 중간 상태(intermediate state)를 도시한 전자 장치의 사시도이다.4A is a perspective view of an electronic device illustrating a folding state according to various embodiments of the present disclosure; 4B is a perspective view of an electronic device illustrating an intermediate state according to various embodiments of the present disclosure;

도 3a 내지 도 4b를 참고하면, 전자 장치(101)는 힌지 모듈(미도시)을 기준으로 서로에 대하여 마주보며 접히도록 회동 가능하게 결합되는 한 쌍의 하우징(310, 320)(예: 폴더블 하우징)을 포함할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 한 쌍의 하우징(310, 320)에 의해 형성된 영역에 배치되는 디스플레이(210)(예: 플렉서블 디스플레이(300)(또는 폴더블 디스플레이 또는 제2 디스플레이)(예: 도 2의 디스플레이(210))를 포함할 수 있다. 일 실시예에 따르면, 제1 하우징(310)과 제2 하우징(320)은 폴딩 축(축 A)을 중심으로 양측에 배치되고, 폴딩 축(축 A)에 대하여 실질적으로 대칭인 형상을 가질 수 있다. 일 실시예에 따르면, 제1 하우징(310) 및 제2 하우징(320)은 전자 장치(101)의 상태가 펼침 상태(flat state 또는 unfolding state)인지, 접힘 상태(folding state)인지, 또는 중간 상태(intermediate state 또는 half folding state)인지의 여부에 따라 서로 이루는 각도나 거리가 달라질 수 있다. Referring to FIGS. 3A to 4B , the electronic device 101 is a pair of housings 310 and 320 (eg, foldable) that are rotatably coupled to face each other based on a hinge module (not shown) and to be folded. housing) may be included. According to an embodiment, the electronic device 101 includes a display 210 (eg, a flexible display 300 (or a foldable display or a second display) disposed in an area formed by a pair of housings 310 and 320 ). (eg, the display 210 of Fig. 2). According to one embodiment, the first housing 310 and the second housing 320 are disposed on both sides with respect to the folding axis (axis A), and , may have a substantially symmetrical shape with respect to the folding axis (axis A). According to an embodiment, the first housing 310 and the second housing 320 may be in an unfolded state ( The angle or distance between each other may vary depending on whether the flat state or the unfolding state, the folding state, or the intermediate state or the half folding state.

다양한 실시예들에 따르면, 한 쌍의 하우징(310, 320)은 힌지 모듈과 결합되는 제1 하우징(310)(예: 제1 하우징 구조) 및 힌지 모듈과 결합되는 제2 하우징(320)(예: 제2 하우징 구조)을 포함할 수 있다. 일 실시예에 따르면, 제1 하우징(310)은, 펼침 상태에서, 제1 방향(예: 전면 방향)(z 축 방향)을 향하는 제1 면(311) 및 제1 면(311)과 대향되는 제2 방향(예: 후면 방향)(-z 축 방향)을 향하는 제2 면(312)을 포함할 수 있다. 일 실시예에 따르면, 제2 하우징(320)은 펼침 상태에서, 제1 방향(z 축 방향)을 향하는 제3 면(321) 및 제2 방향(- z 축 방향)을 향하는 제4 면(322)을 포함할 수 있다. 일 실시예에 따르면, 전자 장치(101)는, 펼침 상태에서, 제1 하우징(310)의 제1 면(311)과 제2 하우징(320)의 제3 면(321)이 실질적으로 동일한 제1 방향(z 축 방향)을 향하고, 접힘 상태에서 제1 면(311)과 제3 면(321)이 서로 마주보는 방식으로 동작될 수 있다. 일 실시예에 따르면, 전자 장치(101)는, 펼침 상태에서, 제1 하우징(310)의 제2 면(312)과 제2 하우징(320)의 제4 면(322)이 실질적으로 동일한 제2 방향(- z 축 방향)을 향하고, 접힘 상태에서 제2 면(312)과 제4 면(322)이 서로 반대 방향을 향하도록 동작될 수 있다. 예를 들면, 접힘 상태에서 제2 면(312)은 제1 방향(z 축 방향)을 향할 수 있고, 제4 면(322)은 제2 방향(- z 축 방향)을 향할 수 있다.According to various embodiments, the pair of housings 310 and 320 may include a first housing 310 (eg, a first housing structure) coupled to a hinge module and a second housing 320 (eg, coupled to a hinge module). : second housing structure). According to an embodiment, the first housing 310 is, in the unfolded state, a first surface 311 facing a first direction (eg, a front direction) (z-axis direction) and a first surface 311 facing the first surface 311 . A second surface 312 facing a second direction (eg, a rear direction) (-z axis direction) may be included. According to an embodiment, in the opened state, the second housing 320 has a third surface 321 facing the first direction (z-axis direction) and a fourth surface 322 facing the second direction (-z-axis direction). ) may be included. According to an embodiment, in the unfolded state, the first surface 311 of the first housing 310 and the third surface 321 of the second housing 320 of the electronic device 101 are substantially identical to each other. It may be operated in such a way that the first surface 311 and the third surface 321 face each other in the folded state in the direction (z-axis direction). According to an embodiment, in the unfolded state, the second surface 312 of the first housing 310 and the fourth surface 322 of the second housing 320 of the electronic device 101 are substantially the same. It may be operated to face a direction (−z-axis direction), and in a folded state, the second surface 312 and the fourth surface 322 may face opposite directions to each other. For example, in the folded state, the second surface 312 may face a first direction (z-axis direction), and the fourth surface 322 may face a second direction (−z-axis direction).

다양한 실시예들에 따르면, 제1 하우징(310)은 적어도 부분적으로 전자 장치(101)의 외관을 형성하는 제1 측면 프레임(313) 및 제1 측면 프레임(313)과 결합되고, 전자 장치(101)의 제2 면(312)의 적어도 일부를 형성하는 제1 후면 커버(314)를 포함할 수 있다. 일 실시예에 따르면, 제1 측면 프레임(313)은 제1 측면(313a), 제1 측면(313a)의 일단으로부터 연장되는 제2 측면(313b) 및 제1 측면(313a)의 타단으로부터 연장되는 제3 측면(313c)을 포함할 수 있다. 일 실시예에 따르면, 제1 측면 프레임(313)은 제1 측면(313a), 제2 측면(313b) 및 제3 측면(313c)을 통해 장방형(예: 정사각형 또는 직사각형) 형상으로 형성될 수 있다. According to various embodiments, the first housing 310 is coupled to the first side frame 313 and the first side frame 313 that at least partially form an exterior of the electronic device 101 , and the electronic device 101 . ) may include a first back cover 314 forming at least a portion of the second surface 312 . According to an embodiment, the first side frame 313 includes a first side surface 313a, a second side surface 313b extending from one end of the first side surface 313a, and the other end of the first side surface 313a. A third side surface 313c may be included. According to an embodiment, the first side frame 313 may be formed in a rectangular (eg, square or rectangular) shape through the first side surface 313a, the second side surface 313b, and the third side surface 313c. .

다양한 실시예들에 따르면, 제2 하우징(320)은 적어도 부분적으로 전자 장치(101)의 외관을 형성하는 제2 측면 프레임(323) 및 제2 측면 프레임(323)과 결합되고, 전자 장치(101)의 제4 면(322)의 적어도 일부를 형성하는 제2 후면 커버(324)를 포함할 수 있다. 일 실시예에 따르면, 제2 측면 프레임(323)은 제4 측면(323a), 제4 측면(323a)의 일단으로부터 연장되는 제5 측면(323b) 및 제4 측면(323b)의 타단으로부터 연장되는 제6 측면(323c)을 포함할 수 있다. 일 실시예에 따르면, 제2 측면 프레임(323)은 제4 측면(323a), 제5 측면(323b) 및 제6 측면(323c)을 통해 장방형 형상으로 형성될 수 있다. According to various embodiments, the second housing 320 is coupled to the second side frame 323 and the second side frame 323 that at least partially form an exterior of the electronic device 101 , and the electronic device 101 . ) may include a second back cover 324 forming at least a portion of the fourth surface 322 . According to an embodiment, the second side frame 323 includes a fourth side surface 323a, a fifth side surface 323b extending from one end of the fourth side surface 323a, and the other end of the fourth side surface 323b. A sixth side surface 323c may be included. According to an embodiment, the second side frame 323 may be formed in a rectangular shape through the fourth side surface 323a, the fifth side surface 323b, and the sixth side surface 323c.

다양한 실시예들에 따르면, 한 쌍의 하우징(310, 320)은 도시된 형태 및 결합으로 제한되지 않으며, 다른 형상이나 부품의 조합 및/또는 결합에 의해 구현될 수 있다. 예를 들어, 제1 측면 프레임(313)은 제1 후면 커버(314)와 일체로 형성될 수 있고, 제2 측면 프레임(323)은 제2 후면 커버(324)와 일체로 형성될 수 있다.According to various embodiments, the pair of housings 310 and 320 is not limited to the illustrated shape and combination, and may be implemented by a combination and/or combination of other shapes or parts. For example, the first side frame 313 may be integrally formed with the first rear cover 314 , and the second side frame 323 may be integrally formed with the second rear cover 324 .

다양한 실시예들에 따르면, 전자 장치(101)는, 펼침 상태에서, 제1 측면 프레임(313)의 제2 측면(313b)과 제2 측면 프레임(323)의 제5 측면(323b)이 어떠한 갭(gap) 없이 연결될 수 있다. 일 실시예에 따르면, 전자 장치(101)는, 펼침 상태에서, 제1 측면 프레임(313)의 제3 측면(313c)과 제2 측면 프레임(323)의 제6 측면(323c)이 어떠한 갭(gap) 없이 연결될 수 있다. 일 실시예에 따르면, 전자 장치(101)는, 펼침 상태에서, 제2 측면(313b)과 제5 측면(323b)의 합한 길이가 제1 측면(313a) 및/또는 제4 측면(323a)의 길이보다 길도록 구성될 수 있다. 또한, 제3 측면(313c)과 제6 측면(323c)의 합한 길이가 제1 측면(313a) 및/또는 제4 측면(323a)의 길이보다 길도록 구성될 수 있다.According to various embodiments, in the opened state, the electronic device 101 has a certain gap between the second side surface 313b of the first side frame 313 and the fifth side surface 323b of the second side frame 323 . Can be connected without (gap). According to an embodiment, in the electronic device 101, in the unfolded state, the third side surface 313c of the first side frame 313 and the sixth side surface 323c of the second side frame 323 have a certain gap ( can be connected without gap). According to an embodiment, in the unfolded state, the combined length of the second side surface 313b and the fifth side surface 323b of the electronic device 101 is that of the first side surface 313a and/or the fourth side surface 323a. It may be configured to be longer than the length. In addition, the combined length of the third side surface 313c and the sixth side surface 323c may be configured to be longer than the length of the first side surface 313a and/or the fourth side surface 323a.

다양한 실시예들에 따르면, 제1 측면 프레임(313) 및/또는 제2 측면 프레임(323)은 금속으로 형성되거나, 금속에 사출되는 폴리머(polymer)를 더 포함할 수 있다. 일 실시예에 따르면, 제1 측면 프레임(313) 및/또는 제2 측면 프레임(323)은 폴리머로 형성된 적어도 하나의 분절부(3161, 3162 및/또는 3261, 3262)를 통해 전기적으로 분절된 적어도 하나의 도전성 부분(316 및/또는 326)을 포함할 수도 있다. 이러한 경우, 적어도 하나의 도전성 부분(316 및/또는 326)은 전자 장치(101)에 포함된 무선 통신 회로(예: 도 1의 무선 통신 모듈(192))와 전기적으로 연결됨으로써 지정된 적어도 하나의 대역(예: 레거시(legacy) 대역)에서 동작하는 안테나로 사용될 수 있다.According to various embodiments, the first side frame 313 and/or the second side frame 323 may be formed of a metal or may further include a polymer injected into the metal. According to one embodiment, the first side frame 313 and/or the second side frame 323 are at least electrically segmented through at least one segmented portion 3161 , 3162 and/or 3261 , 3262 formed of a polymer. It may include one conductive portion 316 and/or 326 . In this case, the at least one conductive portion 316 and/or 326 is electrically connected to a wireless communication circuit (eg, the wireless communication module 192 of FIG. 1 ) included in the electronic device 101 , thereby designating at least one band. It can be used as an antenna operating in (eg, legacy band).

다양한 실시예들에 따르면, 제1 후면 커버(314) 및/또는 제2 후면 커버(324)는, 예를 들어, 코팅 또는 착색된 유리, 세라믹, 폴리머 또는 금속(예: 알루미늄(aluminum), 스테인레스 스틸(STS, stainless steel), 또는 마그네슘(magnesium)) 중 적어도 하나 또는 적어도 둘의 조합에 의하여 형성될 수 있다. According to various embodiments, the first back cover 314 and/or the second back cover 324 may be, for example, coated or colored glass, ceramic, polymer or metal (eg, aluminum, stainless steel). It may be formed of at least one of steel (STS, stainless steel, or magnesium) or a combination of at least two.

다양한 실시예들에 따르면, 플렉서블 디스플레이(300)는 제1 하우징(310)의 제1 면(311)으로부터 힌지 모듈을 가로질러 제2 하우징(320)의 제3 면(321)의 적어도 일부까지 연장되도록 배치될 수 있다. 예를 들어, 플렉서블 디스플레이(300)는 실질적으로 제1 면(311)과 대응하는 제1 평면부(330a), 제3 면(321)과 대응하는 제2 평면부(330b) 및 제1 평면부(330a)와 제2 평면부(330b)를 연결하고, 힌지 모듈과 대응하는 굴곡 가능부(330c)를 포함할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 하우징(310)의 가장자리를 따라 결합되는 제1 보호 커버(315)(예: 제1 보호 프레임 또는 제1 장식 부재(decoration member))를 포함할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 하우징(320)의 가장자리를 따라 결합되는 제2 보호 커버(325)(예: 제2 보호 프레임 또는 제2 장식 부재)를 포함할 수 있다. 일 실시예에 따르면, 제1 보호 커버(315) 및/또는 제2 보호 커버(325)는 금속 또는 폴리머 재질로 형성될수 있다. 일 실시예에 따르면, 제1 보호 커버(315) 및/또는 제2 보호 커버(325)는 장식 부재로 사용될 수 있다. 일 실시예에 따르면, 플렉서블 디스플레이(300)는 제1 평면부(330a)의 가장자리가 제1 하우징(310)과 제1 보호 커버(315) 사이에 개재되도록 위치될 수 있다. 일 실시예에 따르면, 플렉서블 디스플레이(300)는 제2 평면부(330b)의 가장자리가 제2 하우징(320)과 제2 보호 커버(325) 사이에 개재되도록 위치될 수 있다. 일 실시예에 따르면, 플렉서블 디스플레이(300)는 힌지 모듈과 대응되는 영역에 배치되는 보호 캡(미도시)을 통해, 보호 캡에 대응되는 플렉서블 디스플레이(300)의 가장자리가 보호되도록 위치될 수 있다. 따라서, 플렉서블 디스플레이(300)는 실질적으로 가장자리가 외부로부터 보호될 수 있다. 일 실시예에 따르면, 전자 장치(101)는 힌지 모듈을 지지하고, 전자 장치(101)가 접힘 상태일 때, 외부로 노출되고, 펼침 상태일 때, 제1 공간 및 제2 공간으로 인입됨으로서 외부로부터 보이지 않게 배치되는 힌지 하우징(341)(예: 힌지 커버)을 포함할 수 있다.According to various embodiments, the flexible display 300 extends from the first surface 311 of the first housing 310 to at least a portion of the third surface 321 of the second housing 320 across the hinge module. can be arranged as much as possible. For example, the flexible display 300 includes a first flat portion 330a substantially corresponding to the first surface 311 , a second flat portion 330b corresponding to the third surface 321 , and a first flat portion substantially. It may connect the second flat portion 330b to the 330a and include a bendable portion 330c corresponding to the hinge module. According to an embodiment, the electronic device 101 includes a first protective cover 315 (eg, a first protective frame or a first decoration member) coupled along an edge of the first housing 310 . can do. According to an embodiment, the electronic device 101 may include a second protective cover 325 (eg, a second protective frame or a second decorative member) coupled along an edge of the second housing 320 . According to an embodiment, the first protective cover 315 and/or the second protective cover 325 may be formed of a metal or a polymer material. According to an embodiment, the first protective cover 315 and/or the second protective cover 325 may be used as a decorative member. According to an embodiment, the flexible display 300 may be positioned such that an edge of the first flat portion 330a is interposed between the first housing 310 and the first protective cover 315 . According to an embodiment, the flexible display 300 may be positioned such that an edge of the second flat portion 330b is interposed between the second housing 320 and the second protective cover 325 . According to an embodiment, the flexible display 300 may be positioned so that an edge of the flexible display 300 corresponding to the protective cap is protected through a protective cap (not shown) disposed in an area corresponding to the hinge module. Accordingly, the flexible display 300 may have an edge substantially protected from the outside. According to an embodiment, the electronic device 101 supports the hinge module, is exposed to the outside when the electronic device 101 is in a folded state, and is drawn into the first space and the second space when the electronic device 101 is in an unfolded state. It may include a hinge housing 341 (eg, a hinge cover) disposed invisibly from the.

다양한 실시예들에 따르면, 전자 장치(101)는 플렉서블 디스플레이(300)와 별도로 배치되는 서브 디스플레이(331)(또는 제1 디스플레이)(예: 도 2의 디스플레이(210))를 포함할 수 있다. 일 실시예에 따르면, 서브 디스플레이(331)는 제1 하우징(310)의 제2 면(312)에 적어도 부분적으로 노출되도록 배치됨으로써, 접힘 상태일 경우, 플렉서블 디스플레이(300)의 표시 기능을 대체할 수 있다. 예를 들어, 서브 디스플레이(331)는 접힘 상태에서 전자 장치(101)의 상태 정보를 표시할 수 있다. 일 실시예에 따르면, 서브 디스플레이(331)는 제1 후면 커버(314)의 적어도 일부 영역을 통해 외부로부터 보일 수 있게 배치될 수 있다. 어떤 실시예에서, 서브 디스플레이(331)는 제2 하우징(320)의 제4 면(322)에 배치될 수도 있다. 이러한 경우, 서브 디스플레이(331)는 제2 후면 커버(324)의 적어도 일부 영역을 통해 외부로부터 보일 수 있게 배치될 수 있다.According to various embodiments, the electronic device 101 may include a sub-display 331 (or a first display) (eg, the display 210 of FIG. 2 ) that is separately disposed from the flexible display 300 . According to an embodiment, the sub-display 331 is disposed to be at least partially exposed on the second surface 312 of the first housing 310 , and thus, when in a folded state, replaces the display function of the flexible display 300 . can For example, the sub-display 331 may display status information of the electronic device 101 in the folded state. According to an embodiment, the sub-display 331 may be arranged to be visible from the outside through at least a partial area of the first rear cover 314 . In some embodiments, the sub-display 331 may be disposed on the fourth surface 322 of the second housing 320 . In this case, the sub-display 331 may be disposed to be visible from the outside through at least a partial area of the second rear cover 324 .

다양한 실시예들에 따르면, 전자 장치(101)는 입력 장치(303)(예: 마이크), 음향 출력 장치(301, 302), 센서 모듈(304), 카메라 장치(305, 308), 키 입력 장치(306) 또는 커넥터 포트(307) 중 적어도 하나를 포함할 수 있다. 도시된 실시예에서, 입력 장치(303)(예: 마이크), 음향 출력 장치(301, 302), 센서 모듈(304), 카메라 장치(305, 308), 키 입력 장치(306) 및/또는 커넥터 포트(307)는 제1 하우징(310) 또는 제2 하우징(320)에 형성된 홀 또는 형상을 지칭하고 있으나, 전자 장치(101)의 내부에 배치되고, 홀 또는 형상을 통해 동작하는 실질적인 전자 부품(예: 입력 장치, 음향 출력 장치, 센서 모듈 또는 카메라 장치)를 포함하도록 정의될 수 있다.According to various embodiments, the electronic device 101 includes an input device 303 (eg, a microphone), sound output devices 301 and 302 , a sensor module 304 , camera devices 305 and 308 , and a key input device. 306 or at least one of a connector port 307 . In the illustrated embodiment, an input device 303 (eg, a microphone), a sound output device 301 , 302 , a sensor module 304 , a camera device 305 , 308 , a key input device 306 and/or a connector The port 307 refers to a hole or shape formed in the first housing 310 or the second housing 320 , but a substantial electronic component ( For example, it can be defined to include an input device, a sound output device, a sensor module, or a camera device).

다양한 실시예들에 따르면, 입력 장치(303)는 제2 하우징(320)에 배치되는 적어도 하나의 마이크(303)를 포함할 수 있다. 어떤 실시예에서, 입력 장치(303)는 소리의 방향을 감지할 수 있도록 배치되는 복수 개의 마이크(303)를 포함할 수 있다. 어떤 실시예에서, 복수 개의 마이크(303)는 제1 하우징(310) 및/또는 제2 하우징(320)에서 적절한 위치에 배치될 수 있다. 일 실시예에 따르면, 음향 출력 장치(301, 302)는 스피커들(301, 302)을 포함할 수 있다. 일 실시예에 따르면, 스피커들(301, 302)은, 제1 하우징(310)에 배치되는 통화용 리시버(301)와 제2 하우징(320)에 배치되는 스피커(302)를 포함할 수 있다. 어떤 실시예에서, 입력 장치(303), 음향 출력 장치(301, 302) 및 커넥터 포트(307)는 전자 장치(101)의 제1 하우징(310) 및/또는 제2 하우징(320)에 마련된 공간에 배치되고, 제1 하우징(310) 및/또는 제2 하우징(320)에 형성된 적어도 하나의 홀을 통하여 외부 환경에 노출될 수 있다. 일 실시예에 따르면, 적어도 하나의 커넥터 포트(307)는, 외부 전자 장치와 전력 및/또는 데이터를 송수신하기 위하여 사용될 수 있다. 어떤 실시예에서, 적어도 하나의 커넥터 포트(307)(예: 이어잭 홀)는 외부 전자 장치와 오디오 신호를 송수신하기 위한 커넥터(예: 이어잭)를 수용할 수도 있다. 어떤 실시예에서, 제1 하우징(310) 및/또는 제2 하우징(320)에 형성된 홀은 입력 장치(303) 및 음향 출력 장치(301, 302)를 위하여 공용으로 사용될 수 있다. 어떤 실시예에서, 음향 출력 장치(301, 302)는 제1 하우징(310) 및/또는 제2 하우징(320)에 형성된 홀이 배제된 채, 동작되는 스피커(예: 피에조 스피커)를 포함할 수도 있다.According to various embodiments, the input device 303 may include at least one microphone 303 disposed in the second housing 320 . In some embodiments, the input device 303 may include a plurality of microphones 303 arranged to sense the direction of the sound. In some embodiments, the plurality of microphones 303 may be disposed at appropriate locations in the first housing 310 and/or the second housing 320 . According to an embodiment, the sound output devices 301 and 302 may include speakers 301 and 302 . According to an embodiment, the speakers 301 and 302 may include a receiver 301 for a call disposed in the first housing 310 and a speaker 302 disposed in the second housing 320 . In some embodiments, the input device 303 , the sound output devices 301 , 302 , and the connector port 307 are provided in a space provided in the first housing 310 and/or the second housing 320 of the electronic device 101 . It may be disposed on the , and may be exposed to the external environment through at least one hole formed in the first housing 310 and/or the second housing 320 . According to an embodiment, at least one connector port 307 may be used to transmit/receive power and/or data to/from an external electronic device. In some embodiments, the at least one connector port 307 (eg, an ear jack hole) may accommodate a connector (eg, an ear jack) for transmitting and receiving audio signals to and from an external electronic device. In some embodiments, the holes formed in the first housing 310 and/or the second housing 320 may be commonly used for the input device 303 and the sound output devices 301 and 302 . In some embodiments, the sound output devices 301 and 302 may include a speaker (eg, a piezo speaker) that is operated while excluding holes formed in the first housing 310 and/or the second housing 320 . have.

다양한 실시예들에 따르면, 센서 모듈(304)은, 전자 장치(101)의 내부의 작동 상태, 또는 외부의 환경 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 센서 모듈(304)은, 예를 들어, 제1 하우징(310)의 제1 면(311)을 통해 외부 환경을 검출할 수 있다. 어떤 실시예에서, 전자 장치(101)는 제1 하우징(310)의 제2 면(312)을 통해 외부 환경을 검출하도록 배치되는 적어도 하나의 센서 모듈을 더 포함할 수도 있다. 일 실시예에 따르면, 센서 모듈(304)(예: 조도 센서 및/또는 근접 센서)은 플렉서블 디스플레이(300) 아래(예: 언더 패널(under panel))에서, 플렉서블 디스플레이(300)를 통해 외부 환경을 검출하도록 배치(예: 언더 디스플레이(under display sensor) 또는 인 디스플레이 센서(in display) sensor)로 배치)될 수 있다. 일 실시예에 따르면, 센서 모듈(304)은 제스처 센서(gesture sensor), 자이로 센서(gyro sensor), 기압 센서(barometer sensor), 마그네틱 센서(magnetic sensor), 가속도 센서(acceleration sensor), 그립 센서(grip sensor), 컬러 센서(color sensor)(예: RGB(red, green, blue) 센서), IR(infrared) 센서, 생체 센서(biometric sensor), 온도 센서(temperature sensor), 습도 센서(humidity sensor), 조도 센서(illuminance sensor 또는 ALS(ambient light sensor)), 근접 센서(proximity sensor), 및/또는 초음파 센서(ultrasonic sensor) 중 적어도 하나를 포함할 수 있다.According to various embodiments, the sensor module 304 may generate an electrical signal or data value corresponding to an internal operating state of the electronic device 101 or an external environmental state. The sensor module 304 may detect the external environment, for example, through the first surface 311 of the first housing 310 . In some embodiments, the electronic device 101 may further include at least one sensor module disposed to detect an external environment through the second surface 312 of the first housing 310 . According to an embodiment, the sensor module 304 (eg, an illuminance sensor and/or a proximity sensor) is disposed below (eg, under panel) the flexible display 300 through the flexible display 300 to an external environment. may be arranged to detect (eg, as an under display sensor or an in display sensor). According to one embodiment, the sensor module 304 includes a gesture sensor, a gyro sensor, a barometer sensor, a magnetic sensor, an acceleration sensor, a grip sensor ( grip sensor), color sensor (eg, RGB (red, green, blue) sensor), IR (infrared) sensor, biometric sensor, temperature sensor, humidity sensor , an illuminance sensor or an ambient light sensor (ALS), a proximity sensor, and/or an ultrasonic sensor.

다양한 실시예들에 따르면, 카메라 장치(305, 308)은, 제1 하우징(310)의 제1 면(311)에 배치되는 제1 카메라 장치(305)(예: 전면 카메라 장치) 및 제1 하우징(310)의 제2 면(312)에 배치되는 제2 카메라 장치(308)(예: 후면 카메라 장치)를 포함할 수 있다. 전자 장치(101)는 제2 카메라 장치(308) 근처에 배치되는 플래시(309)를 더 포함할 수 있다. 일 실시예에 따르면, 카메라 장치(305, 308)는 하나 또는 복수의 렌즈들, 이미지 센서, 및/또는 이미지 시그널 프로세서를 포함할 수 있다. 플래시(309)는, 예를 들어, 발광 다이오드(LED, light emitting diode), IR LED, 반도체 레이저(LD, laser diode) 또는 제논 램프(xenon lamp)와 같은 발광 소자(luminous element)를 포함할 수 있다. 일 실시예에 따르면, 카메라 장치(305, 308)는 2개 이상의 렌즈들(예: 광각 렌즈, 초광각 렌즈 또는 망원 렌즈) 및 이미지 센서들이 전자 장치(101)의 한 면(예: 제1 면(311), 제2 면(312), 제3 면(321), 또는 제4 면(322))에 위치하도록 배치될 수 있다. 어떤 실시예에서, 카메라 장치(305, 308)는 TOF(time of flight)용 렌즈들 및 이미지 센서를 포함할 수도 있다. According to various embodiments, the camera device 305 , 308 includes a first camera device 305 (eg, a front camera device) and a first housing disposed on the first surface 311 of the first housing 310 . and a second camera device 308 (eg, a rear camera device) disposed on the second side 312 of 310 . The electronic device 101 may further include a flash 309 disposed near the second camera device 308 . According to one embodiment, the camera device 305 , 308 may include one or more lenses, an image sensor, and/or an image signal processor. The flash 309 may include, for example, a luminous element such as a light emitting diode (LED), an IR LED, a semiconductor laser (LD), or a xenon lamp. have. According to an embodiment, the camera devices 305 and 308 have two or more lenses (eg, a wide-angle lens, an ultra-wide-angle lens, or a telephoto lens) and image sensors on one side (eg, a first side) of the electronic device 101 . 311), the second surface 312, the third surface 321, or the fourth surface 322). In some embodiments, the camera device 305 , 308 may include lenses and an image sensor for time of flight (TOF).

다양한 실시예들에 따르면, 키 입력 장치(306)(예: 키 버튼)는, 제1 하우징(310)의 제1 측면 프레임(313)의 제3 측면(313c)에 배치될 수 있다. 어떤 실시예에서, 키 입력 장치(306)는 제1 하우징(310)의 다른 측면들(313a, 313b) 및/또는 제2 하우징(320)의 측면들(323a, 323b, 323c) 중 적어도 하나의 측면에 배치될 수도 있다. 어떤 실시예에서, 전자 장치(101)는 키 입력 장치(306) 중 일부 또는 전부를 포함하지 않을 수 있고 포함되지 않은 키 입력 장치(306)는 플렉서블 디스플레이(300) 상에 소프트 키와 같은 다른 형태로 구현될 수도 있다. 어떤 실시예에서, 키 입력 장치(306)는 플렉서블 디스플레이(300)에 포함된 압력 센서를 이용하여 구현될 수도 있다.According to various embodiments, the key input device 306 (eg, a key button) may be disposed on the third side surface 313c of the first side frame 313 of the first housing 310 . In some embodiments, the key input device 306 may be configured to use at least one of the other sides 313a , 313b of the first housing 310 and/or the sides 323a , 323b , 323c of the second housing 320 . It can also be placed on the side. In some embodiments, the electronic device 101 may not include some or all of the key input devices 306 and the not included key input devices 306 may be in another form, such as soft keys, on the flexible display 300 . may be implemented as In some embodiments, the key input device 306 may be implemented using a pressure sensor included in the flexible display 300 .

다양한 실시예들에 따르면, 카메라 장치(305, 308) 중 일부 카메라 장치(305) 또는 센서 모듈(304)은 플렉서블 디스플레이(300)를 통해 노출되도록 배치될 수 있다. 일 예로, 제1 카메라 장치(305) 또는 센서 모듈(304)은 전자 장치(101)의 내부 공간에서, 플렉서블 디스플레이(300)에 적어도 부분적으로 형성된 오프닝(예: 관통홀)을 통해 외부 환경과 접할 수 있도록 배치될 수 있다. 다른 예로, 일부 센서 모듈(304)은 전자 장치(101)의 내부 공간에서 플렉서블 디스플레이(300)를 통해 시각적으로 노출되지 않고 그 기능을 수행하도록 배치될 수도 있다. 예를 들어, 이러한 경우, 플렉서블 디스플레이(300)에서 센서 모듈과 대면하는 해당 영역은 오프닝이 불필요할 수도 있다.According to various embodiments, some camera devices 305 or sensor modules 304 among the camera devices 305 and 308 may be disposed to be exposed through the flexible display 300 . For example, the first camera device 305 or the sensor module 304 may come into contact with the external environment through an opening (eg, a through hole) formed at least partially in the flexible display 300 in the internal space of the electronic device 101 . It can be arranged so that As another example, some sensor modules 304 may be arranged to perform their functions without being visually exposed through the flexible display 300 in the internal space of the electronic device 101 . For example, in this case, in the flexible display 300 , the opening may not be necessary for the area facing the sensor module.

도 4b를 참조하면, 전자 장치(101)는 힌지 모듈을 통해 중간 상태(intermediate state)를 유지하도록 동작될 수도 있다. 이러한 경우, 전자 장치(101)는 제1 면(311)과 대응하는 디스플레이 영역과, 제3 면(321)과 대응하는 디스플레이 영역에 서로 다른 컨텐츠가 표시되도록 플렉서블 디스플레이(300)를 제어할 수도 있다. 일 실시예에 따르면, 전자 장치(101)는 힌지 모듈을 통해 일정 변곡 각도(예: 중간 상태일 때, 제1 하우징(310)과 제2 하우징(320) 사이의 각도)를 기준으로 실질적으로 펼침 상태(예: 도 3a의 펼침 상태) 및/또는 실질적으로 접힘 상태(예: 도 4a의 접힘 상태)로 동작될 수 있다. 예를 들어, 전자 장치(101)는, 힌지 모듈을 통해, 일정 변곡 각도로 펼쳐진 상태에서, 펼쳐지는 방향(B 방향)으로 가압력이 제공될 경우, 펼침 상태(예: 도 3a의 펼침 상태)로 천이되도록 동작될 수 있다. 예를 들어, 전자 장치(101)는, 힌지 모듈을 통해, 일정 변곡 각도로 펼쳐진 상태에서, 접히려는 방향(C 방향)으로 가압력이 제공될 경우, 접힘 상태(예: 도 4a의 접힘 상태)로 천이되도록 동작될 수 있다. 일 실시예에서, 전자 장치(101)는, 힌지 모듈을 통해 다양한 각도에서 펼침 상태(미도시)를 유지하도록 동작될 수도 있다.Referring to FIG. 4B , the electronic device 101 may be operated to maintain an intermediate state through a hinge module. In this case, the electronic device 101 may control the flexible display 300 to display different contents in the display area corresponding to the first surface 311 and the display area corresponding to the third surface 321 . . According to an embodiment, the electronic device 101 is substantially unfolded based on a predetermined angle of inflection (eg, an angle between the first housing 310 and the second housing 320 in an intermediate state) through the hinge module. It may be operated in a state (eg, an unfolded state of FIG. 3A ) and/or a substantially folded state (eg, a folded state of FIG. 4A ). For example, when a pressing force is provided in the unfolding direction (B direction) in a state in which the electronic device 101 is unfolded at a predetermined inflection angle through the hinge module, the electronic device 101 enters an unfolded state (eg, the unfolded state of FIG. 3A ). It can be operated to transition. For example, the electronic device 101 is in a folded state (eg, the folded state of FIG. 4A ) when a pressing force is provided in a direction to be folded (direction C) in a state in which it is unfolded at a predetermined inflection angle through the hinge module. may be operated to transition to . In an embodiment, the electronic device 101 may be operated to maintain an unfolded state (not shown) at various angles through a hinge module.

이하에서는, 다양한 실시예들에 따라, 전자 장치(101)가 접히거나 펼쳐지는 물리적인 특성에 기반하여 카메라 장치 및 카메라 장치를 이용한 촬영에 관련된 동작을 제어하는 구체적인 실시예에 대해서 서술한다.Hereinafter, according to various embodiments, a specific embodiment of controlling a camera device and an operation related to photographing using the camera device based on a physical characteristic in which the electronic device 101 is folded or unfolded will be described.

도 5는 다양한 실시예들에 따른 전자 장치의 구성을 개략적으로 도시하는 도면이다. 5 is a diagram schematically illustrating a configuration of an electronic device according to various embodiments of the present disclosure;

예를 들어, 도 5는 다양한 실시예들에 따른 전자 장치(101)에서 디스플레이(210)의 상태 변경에 따라 카메라 장치(예: 제1 카메라 장치(305)(또는 전면 카메라 장치), 제2 카메라 장치(308)(또는 후면 카메라 장치)) 및/또는 디스플레이(210)(예: 제1 디스플레이(331)(또는 서브 디스플레이), 제2 디스플레이(300)(또는 메인 또는 플렉서블 디스플레이))를 제어하는 것과 관련된 기능을 실행(또는 처리)하는 상태 제어 시스템(state control system)(500)의 예를 나타낼 수 있다. For example, FIG. 5 illustrates a camera device (eg, a first camera device 305 (or a front camera device) and a second camera according to a state change of the display 210 in the electronic device 101 according to various embodiments of the present disclosure). device 308 (or rear camera device) and/or display 210 (eg, first display 331 (or sub-display), second display 300 (or main or flexible display)); An example of a state control system 500 that executes (or processes) a function related thereto may be shown.

다양한 실시예들에서, 상태 제어 시스템(500)은 프로세싱 회로(processing circuitry)를 포함하는 적어도 하나의 프로세서(예: 도 1의 프로세서(120))에 하드웨어 모듈(hardware module)로 포함되거나, 또는 소프트웨어 모듈(software module)로 포함될 수 있다. 일 실시예에 따르면, 도 5에 도시된 실시예에 따른 상태 제어 시스템(500)은 프로세서(120)의 일부로서 구동되거나, 및/또는 프로세서(120)와 독립적으로 운영되는 별도의 하드웨어 구성일 수 있다. 일 실시예에 따르면, 도 5에 도시된 실시예에 따른 상태 제어 시스템(500)은 소프트웨어(예: 도 1의 프로그램(140))일 수 있다. 예를 들어, 소프트웨어 형태의 상태 제어 시스템(500)은 메모리(예: 도 1의 메모리(130))에 명령어(또는 인스트럭션(instruction))들의 형태로 저장되고, 적어도 하나의 프로세서(예: 도 1의 프로세서(120))에 의해 상태 제어 시스템(500)의 동작들이 실행될 수 있다.In various embodiments, state control system 500 is included as a hardware module in at least one processor (eg, processor 120 of FIG. 1 ) including processing circuitry, or software It may be included as a module (software module). According to one embodiment, the state control system 500 according to the embodiment shown in FIG. 5 may be driven as a part of the processor 120 and/or may be a separate hardware configuration operated independently of the processor 120 . have. According to an embodiment, the state control system 500 according to the embodiment shown in FIG. 5 may be software (eg, the program 140 of FIG. 1 ). For example, the state control system 500 in the form of software is stored in the form of instructions (or instructions) in a memory (eg, the memory 130 of FIG. 1 ), and at least one processor (eg, the memory 130 of FIG. 1 ) The operations of the state control system 500 may be executed by the processor 120 of the

도 5를 참조하면, 전자 장치(101)는 카메라 장치(305, 308a, 308b), 상태 제어 시스템(500), 버퍼(550) 및 디스플레이(300, 331)를 포함할 수 있다.Referring to FIG. 5 , the electronic device 101 may include camera devices 305 , 308a , and 308b , a state control system 500 , a buffer 550 , and displays 300 and 331 .

일 실시예에 따라, 카메라 장치(305, 308a, 308b)는, 제1 카메라 장치(305)(예: 전면 카메라 장치), 제2 카메라 장치(308a)(예: 제1 후면 카메라 장치), 및/또는 제3 카메라 장치(308b)(예: 제2 후면 카메라 장치)를 포함할 수 있다. 어떤 실시예에 따르면, 전자 장치(101)는 적어도 3개 이상의 N개의 카메라 장치를 포함할 수 있다. 카메라 장치(305, 308a, 308b)는 프리뷰가 제공되는 디스플레이(300, 331)의 화면 사이즈 및/또는 화면 해상도에 기반하여 다양한 프리뷰 화각 및/또는 카메라 해상도를 표현할 수 있도록, 예를 들면, 제2 카메라 장치(308a) 및/또는 제3 카메라 장치(308b)는 제1 카메라 장치(305) 보다 고사양의 카메라 장치가 포함될 수 있다. 일 실시예에 따르면, 제2 카메라 장치(308a) 및/또는 제3 카메라 장치(308b)는 광각 렌즈, 초광각 렌즈, 및/또는 망원 렌즈가 전자 장치(101)의 한 면에 위치하도록 배치될 수 있다. 예를 들면, 제2 카메라 장치(308a) 및/또는 제3 카메라 장치(308b)는 보케(Bokeh), 아웃 포커싱, 광각 및/또는 망원 촬영과 같이 특정 효과를 주기 위한 목적의 카메라로 동작할 수 있다. 일 실시예에 따르면, 전자 장치(101)의 후면에도 하나 이상의 추가 카메라를 배치하여 다양한 카메라 촬영 경험을 사용자에게 제공할 수 있다.According to an embodiment, the camera devices 305 , 308a and 308b include a first camera device 305 (eg, a front camera device), a second camera device 308a (eg, a first rear camera device), and / or a third camera device 308b (eg, a second rear camera device). According to some embodiments, the electronic device 101 may include at least three or more N camera devices. The camera devices 305 , 308a , and 308b may express various preview angles and/or camera resolutions based on the screen size and/or screen resolution of the displays 300 and 331 on which the preview is provided, for example, a second The camera device 308a and/or the third camera device 308b may include a higher-spec camera device than the first camera device 305 . According to an embodiment, the second camera device 308a and/or the third camera device 308b may be arranged such that a wide-angle lens, an ultra-wide-angle lens, and/or a telephoto lens are positioned on one side of the electronic device 101 . have. For example, the second camera device 308a and/or the third camera device 308b may operate as a camera for the purpose of giving a specific effect, such as bokeh, out-focusing, wide-angle and/or telephoto shooting. have. According to an embodiment, one or more additional cameras may be disposed on the rear surface of the electronic device 101 to provide a user with various camera photographing experiences.

일 실시예에 따라, 제1 디스플레이(331)는 전자 장치(101)의 서브 디스플레이로서 동작할 수 있다. 일 실시예에 따라, 제1 디스플레이(331)는 카메라 장치(305, 308a, 308b)로부터 획득되는 영상을 지정된 버퍼(예: 제1 프리뷰 버퍼(preview buffer)(560)(또는 서브 프리뷰 버퍼))를 통해 전달받아 프리뷰를 표시할 수 있다. 일 실시예에 따르면, 제1 디스플레이(331)는, 전자 장치(101)가 접힘 상태에서, 제2 디스플레이(300)의 표시 기능을 대체할 수 있다. 어떤 실시예에 따르면, 제1 디스플레이(331)는, 전자 장치(101)가 펼침 상태에서, 제2 디스플레이(300)를 통해 표시되는 프리뷰의 적어도 일부분이 크롭(crop)된 영상 또는 프리뷰가 리사이즈(resize)(예: 축소)된 영상을, 제2 디스플레이(300)와 독립적으로 또는 동시적으로 표시할 수 있다.According to an embodiment, the first display 331 may operate as a sub-display of the electronic device 101 . According to an embodiment, the first display 331 stores the image obtained from the camera devices 305, 308a, and 308b in a designated buffer (eg, a first preview buffer 560 (or a sub-preview buffer)). You can display the preview by receiving it through . According to an embodiment, the first display 331 may replace the display function of the second display 300 when the electronic device 101 is in a folded state. According to an embodiment, in the first display 331 , in the unfolded state of the electronic device 101 , an image in which at least a portion of the preview displayed through the second display 300 is cropped or the preview is resized ( resize) (eg, reduced) may be displayed independently or simultaneously with the second display 300 .

일 실시예에 따라, 제2 디스플레이(300)는 전자 장치(101)의 메인 디스플레이로서 동작할 수 있다. 일 실시예에 따라, 제2 디스플레이(300)는 카메라 장치(305, 308a, 308b)로부터 획득되는 영상을 지정된 버퍼(예: 제2 프리뷰 버퍼(570)(또는 메인 프리뷰 버퍼))를 통해 전달받아 프리뷰를 표시할 수 있다. 일 실시예에 따르면, 제2 디스플레이(300)는 폴딩 축(예: 도 3a 내지 도 4b의 축 A)에 기반하여, 펼침 상태, 접힘 상태, 또는 중간 상태로 동작할 수 있다. 일 실시예에 따르면, 제2 디스플레이(300)는, 전자 장치(101)가 접힘 상태에서, 오프(off) 상태로 동작할 수 있다. 일 실시예에 따르면, 제2 디스플레이(300)는, 전자 장치(101)가 펼침 상태에서, 펼침 상태에 대응하는 표시 기능을 수행할 수 있다. 일 실시예에 따르면, 제2 디스플레이(300)는, 전자 장치(101)가 중간 상태에서, 중간 상태에 대응하는 표시 기능을 수행할 수 있다.According to an embodiment, the second display 300 may operate as a main display of the electronic device 101 . According to an embodiment, the second display 300 receives the image obtained from the camera devices 305 , 308a , and 308b through a designated buffer (eg, the second preview buffer 570 (or the main preview buffer)). A preview can be displayed. According to an embodiment, the second display 300 may operate in an unfolded state, a folded state, or an intermediate state based on a folding axis (eg, axis A of FIGS. 3A to 4B ). According to an embodiment, the second display 300 may operate in an off state when the electronic device 101 is in a folded state. According to an embodiment, the second display 300 may perform a display function corresponding to the unfolded state of the electronic device 101 in the unfolded state. According to an embodiment, the second display 300 may perform a display function corresponding to the intermediate state when the electronic device 101 is in an intermediate state.

일 실시예에 따라, 버퍼(550)는 카메라 장치(305, 308a, 308b)로부터 획득되는 영상을 전달 받아 제1 디스플레이(331)를 위한 프리뷰를 제공하는 제1 프리뷰 버퍼(560)와, 카메라 장치(305, 308a, 308b)로부터 획득되는 영상을 전달 받아 제2 디스플레이(300)를 위한 프리뷰를 제공하는 제2 프리뷰 버퍼(570)를 포함할 수 있다. 어떤 실시예에 따르면, 버퍼(550)는 다중 디스플레이를 동시에 출력하고, 빠른 모드 변환을 위해, 제1 프리뷰 버퍼(560)와 제2 프리뷰 버퍼(570)를 일체형으로 하는 공유 버퍼(shared buffer)를 포함할 수도 있다.According to an embodiment, the buffer 550 includes a first preview buffer 560 that receives images obtained from the camera devices 305 , 308a , and 308b and provides a preview for the first display 331 , and the camera device. The second preview buffer 570 may include a second preview buffer 570 that receives images obtained from 305 , 308a , and 308b and provides a preview for the second display 300 . According to some embodiments, the buffer 550 outputs multiple displays at the same time, and for quick mode conversion, a shared buffer that integrates the first preview buffer 560 and the second preview buffer 570 into one. may include

일 실시예에 따라, 상태 제어 시스템(500)은 전자 장치(101)가 접히거나 펼쳐지는 물리적인 특성에 기반하여, 카메라 장치(305, 308a, 308b), 디스플레이(300, 331), 및/또는 카메라 장치(305, 308a, 308b)를 이용한 촬영에 관련된 동작을 제어할 수 있다. 일 실시예에 따르면, 상태 제어 시스템(500)은 전자 장치(101)(예: 제2 디스플레이(300))의 접힘 상태, 펼침 상태 또는 중간 상태와 같은 상태 변경에 따라 카메라 장치(305, 308a, 308b) 및/또는 디스플레이(210)(예: 제1 디스플레이(331), 제2 디스플레이(300))를 제어하는 것과 관련된 기능을 실행(또는 처리)할 수 있다.According to an embodiment, the state control system 500 may be configured to, based on the physical characteristics of the electronic device 101 being folded or unfolded, the camera devices 305 , 308a , 308b , the displays 300 , 331 , and/or Operations related to photographing using the camera devices 305 , 308a , and 308b may be controlled. According to an embodiment, the state control system 500 controls the camera devices 305, 308a, 308b) and/or a function related to controlling the display 210 (eg, the first display 331 and the second display 300) may be executed (or processed).

일 실시예에 따르면, 상태 제어 시스템(500)은 이벤트 모니터(event monitor)(510) 및/또는 상태 매니저(state manager)(520)를 포함할 수 있다.According to one embodiment, the state control system 500 may include an event monitor 510 and/or a state manager 520 .

일 실시예에 따라, 이벤트 모니터(510)는 전자 장치(101)의 적어도 하나의 상태 감지 센서(예: 도 1의 센서 모듈(176))에 기반하여 전자 장치(101)의 접힘 상태, 펼침 상태 또는 중간 상태를 모니터링 할 수 있다. 일 실시예에 따라, 상태 감지 센서는, 예를 들면, 근접 센서, 조도 센서, 마그네틱 센서, 홀 센서, 제스처 센서, 벤딩 센서, 적외선 센서, 터치 센서, 압력 센서, 자이로 센서, 각도 센서, 그립 센서 및/또는 적외선 카메라 중 적어도 하나 또는 이들의 조합을 포함할 수 있다. 일 실시예에 따르면, 상태 감지 센서는 전자 장치(101)의 어느 일 측(예: 폴딩 축, 하우징 끝단, 디스플레이(210) 하단(예: 패널 아래(under panel), 및/또는 디스플레이(210)의 베젤)에 위치하여 전자 장치(101)의 펼침(또는 접힘) 각도를 측정할 수 있다. 펼침 각도는 전자 장치(101)가 폴딩 축(예: 도 3a 내지 도 4b의 축 A)에 의해 나뉘어진 두 디스플레이 면(또는 하우징)이 폴딩 축과 이루는 각도를 나타낼 수 있다. According to an embodiment, the event monitor 510 may include a folded state and an unfolded state of the electronic device 101 based on at least one state detection sensor (eg, the sensor module 176 of FIG. 1 ) of the electronic device 101 . Alternatively, an intermediate state can be monitored. According to an embodiment, the state detection sensor includes, for example, a proximity sensor, an illuminance sensor, a magnetic sensor, a hall sensor, a gesture sensor, a bending sensor, an infrared sensor, a touch sensor, a pressure sensor, a gyro sensor, an angle sensor, and a grip sensor. and/or an infrared camera or a combination thereof. According to an embodiment, the state detection sensor may be located on either side of the electronic device 101 (eg, a folding shaft, a housing end, a lower end of the display 210 , such as an under panel, and/or the display 210 ). bezel of the electronic device 101) to measure the unfolding (or folding) angle of the electronic device 101. The unfolding angle is divided by the folding axis of the electronic device 101 (eg, axis A in FIGS. 3A to 4B ). The angle between the two display surfaces (or the housing) and the folding axis may be indicated.

일 실시예에 따라, 이벤트 모니터(510)는 펼침 각도를 측정하여 전자 장치(101)가 완전히 접힌 상태(예: 접힘 상태)인지, 완전히 펼쳐진 상태(예: 펼침 상태)인지, 또는 일정 각도로 펼쳐진(또는 접힌) 상태(예: 중간 상태)인지 여부를 식별할 수 있다. 예를 들면, 이벤트 모니터(510)는 펼침 각도가 약 180도이거나 또는 이에 근접한 각도인 경우, 전자 장치(101)의 디스플레이(210)가 완전히 펼쳐진 것(예: 펼침 상태)으로 판단할 수 있다. 다른 예를 들면, 이벤트 모니터(510)는 펼침 각도가 약 0도이거나 또는 이에 근접한 각도인 경우, 전자 장치(201)의 디스플레이(210)가 완전히 접힌 것(예: 접힘 상태)으로 판단할 수 있다. 다른 예를 들면, 이벤트 모니터(510)는 펼침 각도가 약 90도이거나 또는 이에 근접한 각도(예: 80도 ~ 약 100도)인 경우, 전자 장치(101)의 디스플레이(210)가 중간 정도로 펼쳐진 것(또는 접힌 것)(예: 중간 상태)으로 판단할 수 있다. According to an embodiment, the event monitor 510 measures an unfolding angle to determine whether the electronic device 101 is in a fully folded state (eg, a folded state), a fully unfolded state (eg, an unfolded state), or is unfolded at a predetermined angle. It can identify whether it is in a (or collapsed) state (eg, an intermediate state). For example, when the unfolding angle is about 180 degrees or close to the unfolding angle, the event monitor 510 may determine that the display 210 of the electronic device 101 is fully unfolded (eg, unfolded state). As another example, when the unfolding angle is about 0 degrees or close to this, the event monitor 510 may determine that the display 210 of the electronic device 201 is completely folded (eg, in a folded state). . As another example, when the unfolding angle of the event monitor 510 is about 90 degrees or an angle close to it (eg, 80 degrees to about 100 degrees), the display 210 of the electronic device 101 is unfolded to an intermediate degree. (or folded) (eg intermediate state).

다양한 실시예들에 따르면, 이벤트 모니터(510)는 상태 감지 센서의 적어도 하나의 센서로부터 획득된 데이터에 기반하여, 측정한 펼침 각도가 미리 지정된 각도 범위 이내인 경우, 전자 장치(101)의 디스플레이(210)가 미리 지정된 정도로 접히거나, 구부러지거나, 펼쳐진 것으로 판단할 수 있다. 일 실시예에 따라, 이벤트 모니터(510)는 모니터링 하는 결과(예: 전자 장치(101)의 펼침 상태, 접힘 상태 또는 중간 상태에 관련된 상태 정보(또는 트리거))를 상태 매니저(520)에 제공할 수 있다.According to various embodiments, when the measured unfolding angle is within a predetermined angle range, the event monitor 510 may display ( 210) may be determined to be folded, bent, or unfolded to a predetermined degree. According to an embodiment, the event monitor 510 may provide a monitoring result (eg, state information (or trigger) related to an unfolded state, a folded state, or an intermediate state of the electronic device 101 ) to the state manager 520 . can

일 실시예에 따라, 이벤트 모니터(510)는 제2 디스플레이(300)를 통해 동작 중인 카메라 장치(305, 308a, 308b)로부터 획득된 영상의 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 턴-온(turn-on) 또는 턴-오프(turn-off)에 관련된 이벤트를 모니터링 할 수 있다. 예를 들면, 이벤트 모니터(510)는 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안 제1 디스플레이(331)의 온(on) 이벤트를 모니터링 하거나, 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 동시에 표시하는 동안 제1 디스플레이(331)의 오프(off) 이벤트를 모니터링 할 수 있다. 일 실시예에 따라, 이벤트 모니터(510)는 모니터링 하는 결과(예: 온 또는 오프 이벤트에 관련된 상태 정보(또는 트리거))를 상태 매니저(520)에 제공할 수 있다.According to an embodiment, while the event monitor 510 displays a preview of an image acquired from the camera device 305 , 308a , 308b in operation through the second display 300 , the first display 331 is turned - Events related to turn-on or turn-off can be monitored. For example, the event monitor 510 monitors an on event of the first display 331 while displaying a preview through the second display 300, or monitors the first display 331 and the second display ( 300) while simultaneously displaying previews, an off event of the first display 331 may be monitored. According to an embodiment, the event monitor 510 may provide a monitoring result (eg, status information (or trigger) related to an on or off event) to the status manager 520 .

일 실시예에 따라, 상태 매니저(520)는 이벤트 모니터(510)로부터 제공되는 트리거에 기반하여, 카메라 장치(305, 308a, 308b), 디스플레이(300, 331), 및/또는 카메라 장치(305, 308a, 308b)를 이용한 촬영에 관련된 동작을 제어할 수 있다. 일 실시예에 따르면, 상태 매니저(520)는 폴딩/언폴딩 매니저(530) 및/또는 프리뷰 매니저(540)를 포함할 수 있다.According to one embodiment, the state manager 520 may be configured to, based on a trigger provided from the event monitor 510 , a camera device 305 , 308a , 308b , a display 300 , 331 , and/or a camera device 305 , Operations related to photographing using 308a and 308b may be controlled. According to an embodiment, the state manager 520 may include a folding/unfolding manager 530 and/or a preview manager 540 .

일 실시예에 따라, 폴딩/언폴딩 매니저(530)는 전자 장치(101)의 카메라 장치(305, 308a, 308b) 및/또는 디스플레이(300, 331)를, 전자 장치(101)의 상태(예: 펼침 상태, 접힘 상태 또는 중간 상태) 또는 상태 변화에 따라 대응하는 이벤트 처리를 수행하여 효율적인 카메라 모드 전환 및 에러 처리로 사용자에게 카메라 장치(305, 308a, 308b) 사용에 대한 끊김 없는(seamless) 사용자 경험을 제공할 수 있다.According to an embodiment, the folding/unfolding manager 530 displays the camera devices 305 , 308a , 308b and/or the displays 300 , 331 of the electronic device 101 , the state (eg, the state of the electronic device 101 ). : Efficient camera mode switching and error handling by performing event processing corresponding to the unfolded state, collapsed state, or intermediate state) or state change experience can be provided.

일 실시예에 따라, 폴딩/언폴딩 매니저(530)는 이벤트 모니터(510)의 트리거에 기반하여, 전자 장치(101)의 펼침 상태, 접힘 상태 또는 중간 상태에서 카메라 장치(305, 308a, 308b)의 동작 및/또는 디스플레이(300, 331)의 동작을 제어할 수 있다. 일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 이벤트 모니터(510)의 트리거에 기반하여, 전자 장치(101)의 펼침 상태에서 접힘 상태 또는 중간 상태로의 상태 변화, 및/또는 접힘 상태에서 펼침 상태 또는 중간 상태로의 상태 변화를 식별할 수 있고, 식별된 상태 변화에 기반하여 카메라 장치(305, 308a, 308b)의 동작 및/또는 디스플레이(300, 331)의 동작 제어할 수 있다.According to an embodiment, the folding/unfolding manager 530 performs the camera device 305 , 308a , 308b in an unfolded state, a folded state, or an intermediate state of the electronic device 101 based on a trigger of the event monitor 510 . operation and/or operation of the displays 300 and 331 may be controlled. According to an embodiment, the folding/unfolding manager 530 changes a state of the electronic device 101 from an unfolded state to a folded state or an intermediate state, and/or a folded state, based on a trigger of the event monitor 510 . It is possible to identify a state change from the to the unfolded state or an intermediate state, and to control the operation of the camera devices 305 , 308a , and 308b and/or the operation of the displays 300 and 331 based on the identified state change.

예를 들면, 폴딩/언폴딩 매니저(530)는 전자 장치(101)의 상태 변화 시에, 동작 중인 어플리케이션(예: 카메라 어플리케이션)을 재 시작하지 않고, 동작 중인 카메라 장치(305, 308a, 308b)를 제어하여 전자 장치(101)의 상태 변화에서 발생하는 프리뷰 끊김, 프리뷰 로딩(preview loading) 진입 시간 지연, 카메라 장치(305, 308a, 308b)의 에러(error) 및/또는 어플리케이션 에러를 제어하여, 사용자로 하여금 어플리케이션의 사용 경험에 연속성을 제공할 수 있다. 다른 예를 들면, 폴딩/언폴딩 매니저(530)는 전자 장치(101)의 상태 변화에 기반하여 동작 중인 카메라 장치(305, 308a, 308b)를 전면 카메라 모드(예: 셀피(selfie) 모드) 또는 후면 카메라 모드로 동작하도록 할 수 있다. 일 예로, 폴딩/언폴딩 매니저(530)는 후면 카메라 장치(예: 제2 카메라 장치(308a) 또는 제3 카메라 장치(308b))를 이용하여 전면 카메라 설정을 통해 전면 카메라 모드로 동작하거나, 후면 카메라 설정을 통해 후면 카메라 모드로 동작하도록 할 수 있다. 일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 전자 장치(101)에서 사용자 입력에 따라 카메라 장치(305, 308a, 308b)의 실행을 진행하는 과정 및/또는 실행된 동안, Folding State 변화를 지속적으로 모니터링 할 수 있고, Folding State가 변경되어 인터럽트 제어(interrupt control)가 필요한 경우 call back을 통해 Folding State를 알려줄 수 있다.For example, when the state of the electronic device 101 is changed, the folding/unfolding manager 530 does not restart the running application (eg, a camera application), and the active camera devices 305 , 308a , and 308b . By controlling the preview interruption, preview loading entry time delay, errors of the camera devices 305, 308a, 308b and/or application errors that occur in the state change of the electronic device 101 by controlling It can provide continuity to the user's experience of using the application. As another example, the folding/unfolding manager 530 sets the operating camera devices 305 , 308a , and 308b in a front camera mode (eg, a selfie mode) or You can make it work in rear camera mode. For example, the folding/unfolding manager 530 operates in a front camera mode through a front camera setting using a rear camera device (eg, the second camera device 308a or the third camera device 308b), or You can set the camera to operate in rear camera mode. According to an embodiment, the folding/unfolding manager 530 changes the Folding State during a process and/or during execution of the camera devices 305 , 308a , and 308b according to a user input in the electronic device 101 . can be continuously monitored, and when the folding state is changed and interrupt control is required, the folding state can be notified through a call back.

일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 이벤트 모니터(510)(또는 카메라 장치(305, 308a, 308b))로부터 카메라 해상도, 카메라 식별자(ID) 및/또는 설정 정보와 같은 파라미터를 전달 받을 수 있고, 현재 사용 중인(또는 현재 연결하고 있는) 카메라 장치(305, 308a, 308b)의 정보를 전달 받을 수 있다. 일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 이벤트 모니터(510)(또는 디스플레이(300, 331)로부터 화면 해상도 및/또는 현재 사용 중인(또는 현재 연결하고 있는) 디스플레이(300, 331)의 정보를 전달 받을 수 있다. According to one embodiment, the folding/unfolding manager 530 receives parameters such as camera resolution, camera identifier (ID) and/or setting information from the event monitor 510 (or camera devices 305, 308a, 308b). can be transmitted, and information of the camera devices 305, 308a, and 308b currently in use (or currently connected) can be received. According to an embodiment, the folding/unfolding manager 530 may provide a screen resolution from the event monitor 510 (or the displays 300 and 331 ) and/or the currently used (or currently connected) displays 300 and 331 . information can be transmitted.

일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 이벤트 모니터(510)로부터 전달 받은 상태 정보(예: 펼침 상태, 접힘 상태 또는 중간 상태에 관련된 트리거, 또는 상태 변화 트리거)에 기반하여 필요한 카메라 장치(305, 308a, 308b) 및/또는 디스플레이(300, 331)의 속성(또는 옵션)을 설정하고, 현재 연결되어 있는 카메라 장치(305, 308a, 308b)의 카메라 연결 정보(camera connection information)를 이용하여 필요한 태스크를 처리할 수 있다. 예를 들면, 폴딩/언폴딩 매니저(530)는 어플리케이션(예: 카메라 어플리케이션)을 재 시작하지 않고 유지한 상태로, 현재 연결되어 있는 카메라 장치의 속성을 상태 변화에 대응하게 설정하여, 사용자에게 끊김 없는 카메라 제어(seamless camera control)를 제공하도록 할 수 있다.According to an embodiment, the folding/unfolding manager 530 is a necessary camera based on state information (eg, a trigger related to an unfolded state, a folded state or an intermediate state, or a state change trigger) received from the event monitor 510 . Set the properties (or options) of the devices 305, 308a, 308b and/or the displays 300, 331, and view the camera connection information of the currently connected camera devices 305, 308a, 308b. You can use it to handle the necessary tasks. For example, the folding/unfolding manager 530 maintains the application (eg, the camera application) without restarting, and sets the property of the currently connected camera device to correspond to the state change, so that the user is disconnected. It can be configured to provide seamless camera control.

아래 <표 1>은, 예를 들어, 폴딩/언폴딩 매니저(520)에서 카메라 장치(305, 308a, 308b)의 끊김 없는 제어(seamless control)를 위한 파라미터를 설명하는 예를 나타낼 수 있다.Table 1 below may show, for example, an example of explaining parameters for seamless control of the camera devices 305 , 308a , and 308b in the folding/unfolding manager 520 .

Class CameraFoldStateManager{

boolean mFoldStateEnabled // Folding State call back enable 변수
boolean mIsFolded // 현재 folding state

void enable()
void setFoldStateEnabled(boolean enable) // folding state enable 설정
void registerListener(FoldStateListener listener) // call back 등록
void notifyFoldStateChanged(boolean isFolded) // call back 보내는 함수
...
}

interface FoldStateListener {
void onFoldStateChanged(boolean isFolded) // call back을 위한 함수
}
Class HardwareCameraConnection {
int mConnectionState //현재 연결 정보 (ex. Prepareing, starting, previewing ??)

void onFoldStateChanged(boolean isFolded) // Folding State 와 connection state에 따른 처리
}

Class CameraPreviewConnection{
int mCaptureState // 현재 캡쳐 상태 정보(ex. capturing, start, stop, pause, recording??)

void onFoldStateChanged(boolean isFolded) //Folding State와 capture state에 따른 처리
}

Class ParameterControl{
int mCameraId; // 사용중인 카메라 정보
int mDisplayId // 사용중인 화면 정보
int mResolution // 사용중인 카메라 해상도
void onFoldStateChanged(boolean isFolded) // Folding State에 따른 parameter를 설정

}
Class CameraFoldStateManager{

boolean mFoldStateEnabled // Folding State call back enable variable
boolean mIsFolded // current folding state

void enable()
void setFoldStateEnabled(boolean enable) // Set folding state enable
void registerListener(FoldStateListener listener) // Register call back
void notifyFoldStateChanged(boolean isFolded) // Function to send call back
...
}

interface FoldStateListener {
void onFoldStateChanged(boolean isFolded) // Function for call back
}
Class HardwareCameraConnection {
int mConnectionState //Current connection information (ex. Preparing, starting, previewing ??)

void onFoldStateChanged(boolean isFolded) // Handling according to Folding State and connection state
}

Class CameraPreviewConnection{
int mCaptureState // Current capture state information (ex. capturing, start, stop, pause, recording??)

void onFoldStateChanged(boolean isFolded) //Processing according to Folding State and Capture State
}

Class ParameterControl{
int mCameraId; // Camera information in use
int mDisplayId // Information about the screen being used
int mResolution // camera resolution in use
void onFoldStateChanged(boolean isFolded) // Set parameters according to Folding State

}

<표 1>에 예시한 바와 같이, Folding State는 call back의 형식으로 각 부분에 필요한 곳에 현재의 Folding State를 알려줄 수 있다. 예를 들어, Folding State가 필요한 곳은 카메라 장치(305, 308a, 308b)의 연결 제어(예: <표 1>의 HardwareCameraConnection control) 부분, 카메라 장치(305, 308a, 308b)의 프리뷰 제어(예: <표 1>의 CameraPreviewConnection control) 부분, 카메라 장치(305, 308a, 308b)의 파라미터 제어(예: <표 1>의 ParameterControl) 부분으로, 폴딩/언폴딩 매니저(530)는 call back의 형식으로 필요한 부분에 Folding State를 받아 적용할 수 있다. 일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 등록된 call back에 Folding State 변화가 감지될 시 call back을 대응하는 제어 부분에 알려줄 수 있다. 폴딩/언폴딩 매니저(530)는 현재 Folding State를 확인한 후, 필요한 파라미터(예: camera parameters), 카메라 식별자(예: Camera ID), 및/또는 디스플레이 식별자(예: display ID) 중 적어도 하나를 현재 Folding State에 맞게 적용할 수 있다.As exemplified in <Table 1>, the Folding State can inform the current Folding State where necessary in each part in the form of a call back. For example, where Folding State is required, connection control (eg, HardwareCameraConnection control in <Table 1>) of camera devices 305, 308a, 308b, and preview control of camera devices 305, 308a, 308b (eg: CameraPreviewConnection control) part of <Table 1> and parameter control (eg, ParameterControl of <Table 1>) part of the camera devices 305, 308a, 308b. The Folding State can be received and applied to the part. According to an embodiment, the folding/unfolding manager 530 may notify the corresponding control part of the call back when a folding state change is detected in the registered call back. After checking the current folding state, the folding/unfolding manager 530 sets at least one of a necessary parameter (eg, camera parameters), a camera identifier (eg, Camera ID), and/or a display identifier (eg, display ID). It can be applied according to the Folding State.

일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 이벤트 모니터(510)에 의해, 전자 장치(101)의 상태 변화를 식별하면, 연결되어 있는 카메라 장치(305, 308a, 308b)의 속성(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과) 및/또는 연결되어 있는 디스플레이(300, 331)의 속성(예: 화면 사이즈 및/또는 화면 해상도)을 식별할 수 있다. 예를 들어, 폴딩/언폴딩 매니저(530)는 현재 연결하고 있는 카메라 장치(305, 308a, 308b)의 카메라 연결(camera connection) 상태 및/또는 프리뷰 상태를 확인하여 대응하는 카메라 장치(305, 308a, 308b)의 속성 및/또는 관련된 디스플레이(300, 331)를 통한 프리뷰를 제어할 수 있다.According to an embodiment, when the folding/unfolding manager 530 identifies a state change of the electronic device 101 by the event monitor 510, the attribute ( Examples: camera resolution, standard, wide angle, telephoto, and/or special effects) and/or properties of the connected display 300 , 331 (eg screen size and/or screen resolution) may be identified. For example, the folding/unfolding manager 530 checks a camera connection state and/or a preview state of the currently connected camera devices 305, 308a, and 308b to the corresponding camera devices 305, 308a. , 308b) and/or a preview through the associated display 300, 331 may be controlled.

일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 전자 장치(101)의 중간 상태에 기반하여 전자 장치(101)의 카메라 장치(305, 308a, 308b), 제2 디스플레이(300)에 표시되는 프리뷰의 위치, 및/또는 레이아웃을 제어하여 중간 상태에 따른 최적화된 사용자 경험을 제공할 수 있다.According to an embodiment, the folding/unfolding manager 530 is displayed on the camera devices 305 , 308a , 308b of the electronic device 101 and the second display 300 based on the intermediate state of the electronic device 101 . It is possible to provide an optimized user experience according to the intermediate state by controlling the position and/or layout of the preview.

일 실시예에 따라, 폴딩/언폴딩 매니저(530)는 카메라 장치(305, 308a, 308b)가 동작하는 동안, 이벤트 모니터(510)로부터 중간 상태(예: 테이블 모드)에 관련된 트리거에 기반하여, 제2 디스플레이(300)의 영역을 폴딩 축(예: 도 3a 내지 도 4b의 축 A)에 기반하여 제1 영역과 제2 영역의 2개의 영역으로 구분하고, 제1 영역을 프리뷰를 위한 프리뷰 영역으로 설정하고, 다른 제2 영역을 프리뷰와 연관된 서브 영역(예: 제어(control) 영역, 리뷰(review) 영역, 서브 프리뷰(sub preview) 영역, 또는 후면 프리뷰(rear preview) 영역)으로 설정할 수 있다. According to an embodiment, the folding/unfolding manager 530 is configured to operate while the camera devices 305, 308a, and 308b are operating, based on a trigger related to an intermediate state (eg, table mode) from the event monitor 510, The area of the second display 300 is divided into two areas, a first area and a second area, based on a folding axis (eg, axis A of FIGS. 3A to 4B ), and the first area is a preview area for previewing. , and another second area may be set as a preview-related sub area (eg, a control area, a review area, a sub preview area, or a rear preview area). .

일 실시예에 따라, 폴딩/언폴딩 매니저(530)는 전자 장치(101)의 펼침 상태에서 중간 상태로 상태 변화 시 각각의 영역에 최적화된 레이아웃을 재구성하여 제공할 수 있다. 예를 들어, 폴딩/언폴딩 매니저(530)는 이벤트 모니터(510)로부터 중간 상태로의 변화에 따른 상태 정보가 전달되면, 상태 변화에 따른 카메라 장치(305, 308a, 308b)의 프리뷰 변화에 기반하여 카메라 장치(305, 308a, 308b)의 속성 변경을 자동으로 제공하여, 중간 상태로 상태 변화 상황에서도 최적화된 사용자 경험을 제공할 수 있다. 일 실시예에 따라, 카메라 장치(305, 308a, 308b)의 속성 변경은, 예를 들면, 프리뷰, 프리뷰 상 위치하는 포커스(또는 포커싱 영역), 트래킹(tracking) 객체, ROI(예: 터치 입력 위치), 및/또는 효과(effect) 적용 영역과 같은 속성의 크기 및 위치를 포함할 수 있다.According to an embodiment, the folding/unfolding manager 530 may reconfigure and provide a layout optimized for each area when the state of the electronic device 101 is changed from the unfolded state to the intermediate state. For example, when the folding/unfolding manager 530 transmits state information according to the change to the intermediate state from the event monitor 510 , based on the preview change of the camera devices 305 , 308a , 308b according to the state change. Accordingly, it is possible to automatically provide a change in the properties of the camera devices 305 , 308a , and 308b to provide an optimized user experience even in a state change situation to an intermediate state. According to an embodiment, the change in the properties of the camera devices 305 , 308a , 308b may include, for example, a preview, a focus (or focusing area) positioned on the preview, a tracking object, an ROI (eg, a touch input position). ), and/or the size and location of attributes such as the area of effect application.

아래 <표 2>는, 예를 들어, 폴딩/언폴딩 매니저(520)에서 전자 장치(101)의 중간 상태에 따른 카메라 장치(305, 308a, 308b) 및/또는 디스플레이(예: 제2 디스플레이(300))의 제어를 위한 파라미터를 설명하는 예를 나타낼 수 있다.Table 2 below shows, for example, camera devices 305, 308a, 308b and/or displays (eg, the second display ( 300)))).

Class LayoutImplement {
Boolean isHalfFolding // 현재 half folding state (또는 intermediate state)
Object object; // 센서로부터 검출된 객체 정보
CameraInstance camInstance; // 현재 사용중인 카메라 정보

void changePreviewLayout (); // change preview layout for half-folding state change
void changeObjectInformation(); // change object information for half-folding state change (AF object, effect ROI information etc.)
void changeCameraLayout(); // change camera layout for half-folding state change
...
}

Class CameraInstance {
Rect resolution; // 사용중인 카메라 해상도
int cameraID; // 사용중인 카메라 정보
int zoomLevel; // 사용자로부터 입력받은 줌 레벨
Rect sensorCrop; // 센서 화각 정보

Rect getSensorCrop();
Rect getResolution();
void calculateZoom();
...
}
Class LayoutImplement {
Boolean isHalfFolding // current half folding state (or intermediate state)
Object object; // object information detected from the sensor
CameraInstance camInstance; // Current camera information

void changePreviewLayout(); // change preview layout for half-folding state change
void changeObjectInformation(); // change object information for half-folding state change (AF object, effect ROI information etc.)
void changeCameraLayout(); // change camera layout for half-folding state change
...
}

Class CameraInstance {
Rect resolution; // camera resolution in use
int cameraID; // Camera information in use
int zoomLevel; // Zoom level received from user
Rect sensorCrop; // sensor field of view information

Rect getSensorCrop();
Rect getResolution();
void calculateZoom();
...
}

<표 2에 예시한 바와 같이, <표 2>는 전자 장치(101)의 중간 상태(또는 하프 폴딩 상태)에 따른 사용자 경험 제공을 위한 파라미터를 설명하기 위한 예를 나타낼 수 있다. <표 2>를 참조하면, 프리뷰 제어를 위한 LayoutImplement class는, 각각 카메라 장치(305, 308a, 308b)의 정보 및/또는 센서(예: 카메라 장치(305, 308a, 308b))로부터 검출된 객체 정보(object information)를 통해 필요한 파라미터를 전달 받아 처리할 수 있다. 예를 들면, 각 class의 파라미터는 카메라 해상도, 카메라 식별자, 및/또는 인식된 객체의 위치 정보를 포함할 수 있다.As exemplified in <Table 2>, <Table 2> may indicate an example for describing parameters for providing a user experience according to an intermediate state (or a half-folding state) of the electronic device 101 . Referring to <Table 2>, the LayoutImplement class for preview control includes information on camera devices 305, 308a, and 308b and/or object information detected from sensors (eg, camera devices 305, 308a, 308b), respectively. It is possible to receive and process the necessary parameters through (object information). For example, the parameter of each class may include a camera resolution, a camera identifier, and/or location information of a recognized object.

일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 펼침 상태에서 카메라 기능 실행 중, 이벤트 모니터(510)의 트리거에 기반하여 중간 상태로의 상태 변화를 식별할 수 있다. 폴딩/언폴딩 매니저(530)는 상태 변화에 기반하여 연결되어 있는 카메라 장치(305, 308a, 308b)의 속성(예: 프리뷰 상 위치하는 포커스의 위치, 사용자가 입력한 줌 인/아웃 레벨, 사용자가 입력한 줌 위치, 프리뷰 해상도 및/또는 비율 정보)을 유지하고, 중간 상태에 따른 새로운 사용자 경험에 대응하도록 프리뷰 및 레이아웃을 조절하여, 사용자에게 기존 설정 상태 그대로 프리뷰를 제공할 수 있다.According to an embodiment, the folding/unfolding manager 530 may identify a state change to an intermediate state based on a trigger of the event monitor 510 while the camera function is being executed in the unfolded state. The folding/unfolding manager 530 determines the properties of the connected camera devices 305, 308a, and 308b based on the state change (eg, the focus position on the preview, the zoom in/out level input by the user, the user maintains the zoom position, preview resolution, and/or ratio information input by , and adjusts the preview and layout to correspond to a new user experience according to the intermediate state, thereby providing a preview to the user as it is in the existing setting state.

일 실시예에 따르면, 폴딩/언폴딩 매니저(530)는 중간 상태에서 접히는 부분(예: 폴딩 축)을 기준으로 디스플레이(예: 제2 디스플레이(300))를 두 영역(예: 제1 영역, 제2 영역)으로 분할(또는 구분)하여 미리 설정한 목적에 따라 별도의 영역으로 제공할 수 있다. 예를 들어, 폴딩/언폴딩 매니저(530)는 제1 영역과 제2 영역을, 프리뷰 영역과 제어 영역, 프리뷰 영역과 리뷰 영역, 프리뷰 영역과 서브 프리뷰 영역, 또는 프리뷰 영역과 후면 프리뷰 영역으로 제공할 수 있다. 일 실시예에 따라, 폴딩/언폴딩 매니저(530)는 사용 중인 카메라 장치(305, 308a, 308b)의 속성(예: Focus ROI, tracking object ROI, effect, 인식 영역, 및/또는 사용자 입력의 위치 및 크기에 관련된 정보)을 변경된 프리뷰에 대응하도록 새로 계산하여 관련 설정 정보를 업데이트 할 수 있다. 폴딩/언폴딩 매니저(530)는 업데이트된 설정 정보를 이용하여 기존 설정 상태(예: 펼침 상태에서의 설정 상태) 그대로 프리뷰를 분할된 제1 영역을 통해 제공할 수 있다. 폴딩/언폴딩 매니저(530)는 분할된 제2 영역을 통해 카메라 장치(305, 308a, 308b)의 이용에 필요한 레이아웃(예: 프리뷰와 연관된 지정된 서브 영역에 따른 레이아웃)을 구성하여 제공할 수 있다. 일 실시예에 따라, 폴딩/언폴딩 매니저(530)는 중간 상태에서 펼침 상태로 상태 변경 시에는 디스플레이(예: 제2 디스플레이(300))를 다시 하나의 영역으로 설정하여 프리뷰 및 레이아웃을 구성하고, 중간 상태로 변경 시와 동일한 방법으로 설정 정보를 업데이트 하고, 업데이트된 설정 정보를 이용하여 기존 설정 상태 그대로 프리뷰를 제공할 수 있다.According to an embodiment, the folding/unfolding manager 530 divides the display (eg, the second display 300) into two regions (eg, the first region) based on the folded part (eg, the folding axis) in the intermediate state. The second area) may be divided (or divided) and provided as a separate area according to a preset purpose. For example, the folding/unfolding manager 530 provides the first area and the second area as a preview area and a control area, a preview area and a review area, a preview area and a sub preview area, or a preview area and a rear preview area. can do. According to an embodiment, the folding/unfolding manager 530 may include attributes (eg, Focus ROI, tracking object ROI, effect, recognition area, and/or user input location) of the camera device 305 , 308a , 308b in use. and size related information) may be newly calculated to correspond to the changed preview, and related setting information may be updated. The folding/unfolding manager 530 may provide a preview through the divided first area as it is in an existing setting state (eg, a setting state in an unfolded state) by using the updated setting information. The folding/unfolding manager 530 may configure and provide a layout (eg, a layout according to a designated sub-region associated with a preview) required for use of the camera device 305 , 308a , 308b through the divided second region. . According to an embodiment, when the folding/unfolding manager 530 changes the state from the intermediate state to the unfolded state, the display (eg, the second display 300) is set back to one area to configure the preview and layout, , it is possible to update the setting information in the same way as when changing to the intermediate state, and provide a preview as it is in the existing setting state by using the updated setting information.

일 실시예에 따라, 프리뷰 매니저(540)는 현재 연결하고 있는 카메라 장치(예: 305, 308a, 또는 308b)의 프리뷰를 제1 디스플레이(331) 또는 제2 디스플레이(300)에 개별적으로, 또는 제1 디스플레이(331)와 제2 디스플레이(300)에 동시에 표시하도록 제어하는 것과 관련된 기능을 실행(또는 처리)할 수 있다. 일 실시예에 따르면, 프리뷰 매니저(540)는 카메라 장치(305, 308a, 308b)의 실행 중에, 제1 디스플레이(331)와 제2 디스플레이(300)를 동시에 제어 시에, 제2 디스플레이(300)의 프리뷰를 끊김 없이 제공하도록 할 수 있다. 일 실시예에 따르면, 프리뷰 매니저(540)는 카메라 장치(305, 308a, 308b)를 실행하는 동안, 제1 디스플레이(331)에, 프리뷰 표시, 제2 디스플레이(300)의 프리뷰와 관련된 서브 프리뷰 표시 및/또는 카메라 장치(305, 308a, 308b)에 관련된 동작 정보(예: 타이머 카운트, palm detection 유무, 및/또는 비디오 레코딩 타임)를 제공할 수 있다.According to an embodiment, the preview manager 540 may individually display a preview of a currently connected camera device (eg, 305, 308a, or 308b) on the first display 331 or the second display 300, or A function related to controlling to be displayed simultaneously on the first display 331 and the second display 300 may be executed (or processed). According to an embodiment, the preview manager 540 simultaneously controls the first display 331 and the second display 300 while the camera devices 305 , 308a , and 308b are being executed. of the preview can be provided seamlessly. According to an embodiment, the preview manager 540 displays a preview on the first display 331 and a sub-preview related to the preview on the second display 300 while the camera device 305 , 308a , 308b is running. and/or may provide operation information (eg, timer count, presence/absence of palm detection, and/or video recording time) related to the camera devices 305 , 308a and 308b .

일 실시예에 따르면, 프리뷰 매니저(540)는 카메라 장치(305, 308a, 308b)로부터 획득된 영상의 프리뷰를 표시할 때, 전자 장치(101)의 접힘 상태, 펼침 상태 또는 중간 상태에 기반하여, 현재 연결되어 있는(또는 활성화된) 디스플레이(300, 331)를 통해 프리뷰를 표시할 수 있다. 예를 들면, 프리뷰 매니저(540)는 전자 장치(101)가 접힘 상태에서 제1 디스플레이(331)를 통해 카메라 장치(305, 308a, 308b)의 프리뷰를 표시할 수 있고, 전자 장치(101)가 펼침 상태 또는 중간 상태에서 제2 디스플레이(300)를 통해 카메라 장치(305, 308a, 308b)의 프리뷰를 표시할 수 있다.According to an embodiment, when the preview manager 540 displays a preview of an image acquired from the camera device 305, 308a, or 308b, based on the folded state, the unfolded state, or the intermediate state of the electronic device 101, A preview may be displayed through the currently connected (or activated) display 300 or 331 . For example, the preview manager 540 may display previews of the camera devices 305 , 308a , and 308b through the first display 331 in the folded state of the electronic device 101 , and the electronic device 101 may Previews of the camera devices 305 , 308a , and 308b may be displayed through the second display 300 in the unfolded state or the intermediate state.

일 실시예에 따르면, 프리뷰 매니저(540)는 전자 장치(101)의 펼침 상태에서 이벤트 모니터(510)의 트리거에 기반하여 제1 디스플레이(331)와 제2 디스플레이(300)에 동시에 카메라 장치(305, 308a, 308b)의 프리뷰를 표시할 수 있다. 일 실시예에 따라, 프리뷰 매니저(540)는 전자 장치(101)의 펼침 상태에서 카메라 장치(305, 308a, 308b)로부터 획득되는 영상을 제2 프리뷰 버퍼(570)를 통해 제2 디스플레이(300)에 전달하고, 제2 디스플레이(300)를 통해 프리뷰를 표시할 수 있다. 일 실시예에 따라, 프리뷰 매니저(540)는 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안 카메라 장치(305, 308a, 308b)로부터 획득되는 영상을 제1 프리뷰 버퍼(560)를 통해 제1 디스플레이(331)에 전달하고, 제1 디스플레이(331)를 통해 프리뷰를 표시할 수 있다. 일 실시예에 따르면, 프리뷰 매니저(540)는 제2 디스플레이(300)를 통해 표시되는 프리뷰의 적어도 일부분이 크롭(crop)된 영상 또는 프리뷰가 리사이즈(resize)(예: 축소)된 영상을, 제1 디스플레이(331)을 통해 제2 디스플레이(300)의 프리뷰와 동시적으로 표시할 수 있다.According to an embodiment, the preview manager 540 simultaneously displays the camera device 305 on the first display 331 and the second display 300 based on the trigger of the event monitor 510 in the unfolded state of the electronic device 101 . , 308a, 308b) may be displayed. According to an embodiment, the preview manager 540 may display an image obtained from the camera devices 305 , 308a , and 308b in the unfolded state of the electronic device 101 through the second preview buffer 570 on the second display 300 . , and a preview may be displayed through the second display 300 . According to an exemplary embodiment, the preview manager 540 may display an image obtained from the camera devices 305 , 308a , and 308b while displaying a preview on the second display 300 through the first preview buffer 560 . It may be transmitted to the display 331 , and a preview may be displayed through the first display 331 . According to an embodiment, the preview manager 540 may display an image in which at least a portion of the preview displayed through the second display 300 is cropped or an image in which the preview is resized (eg, reduced). The preview of the second display 300 may be simultaneously displayed through the first display 331 .

일 실시예에 따르면, 프리뷰 매니저(540)는 전자 장치(101)의 펼침 상태에서 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온/오프 이벤트를 발생할 수 있는 인터페이스(또는 객체)(예: 소프트웨어 버튼 또는 토글 버튼)를 제공할 수 있고, 인터페이스에 기반한 제1 디스플레이(331)의 온/오프 이벤트에 따른 트리거를 이벤트 모니터(510)로부터 전달 받아 제1 디스플레이(331)의 온/오프를 제어하도록 할 수 있다. 어떤 실시예에 따르면, 제1 디스플레이(331)의 온/오프 이벤트를 발생할 수 있는 인터페이스는 물리적인 버튼(예: 하드웨어 키(예: 키 입력 장치(306)))로 제공할 수도 있다. According to an embodiment, the preview manager 540 may generate an on/off event of the first display 331 while displaying a preview through the second display 300 in the unfolded state of the electronic device 101 . An interface (or object) (eg, a software button or a toggle button) may be provided, and a trigger according to an on/off event of the first display 331 based on the interface is transmitted from the event monitor 510 to the first display ( 331) can be controlled on/off. According to some embodiments, an interface capable of generating an on/off event of the first display 331 may be provided as a physical button (eg, a hardware key (eg, a key input device 306 )).

일 실시예에 따라, 프리뷰 매니저(540)는 카메라 장치(305, 308a, 308b)의 실행에 따라 제2 디스플레이(300)를 통해 프리뷰를 표시하는 중에, 이벤트 모니터(510)로부터 제1 디스플레이(331)의 온 이벤트가 전달되면, 제1 디스플레이(331)를 턴-온(예: 제1 디스플레이(331)에 파워를 공급하도록) 제어하고, 제1 디스플레이(331)에 프리뷰를 동시에 표시하도록 할 수 있다. 일 실시예에 따라, 프리뷰 매니저(540)는 제1 디스플레이(331)와 제2 디스플레이(300)에 프리뷰를 동시에 표시하는 중에, 이벤트 모니터(510)로부터 제1 디스플레이(331)의 오프 이벤트가 전달되면, 제1 디스플레이(331)를 턴-오프(예: 제1 디스플레이(331)에 파워를 차단하도록) 제어하고, 제1 디스플레이(331)에 프리뷰를 표시하지 않고, 제2 디스플레이(300)에만 프리뷰를 표시하도록 할 수 있다. 일 실시예에 따르면, 프리뷰 매니저(540)는 제1 디스플레이(331)에 프리뷰를 표시할 때, 제1 디스플레이(331)에 표시할 수 있는 카메라 장치(305, 308a, 308b)의 동작과 관련된 동작 정보(예: 타이머 카운트, palm detection 유무, 및/또는 비디오 레코딩 타임과 같은 정보)의 표시도 제어할 수 있다.According to an embodiment, the preview manager 540 displays the preview on the second display 300 according to the execution of the camera device 305 , 308a , 308b from the first display 331 from the event monitor 510 . ) is transmitted, the first display 331 may be turned on (eg, to supply power to the first display 331), and a preview may be displayed on the first display 331 at the same time. have. According to an embodiment, an off event of the first display 331 is transmitted from the event monitor 510 while the preview manager 540 simultaneously displays previews on the first display 331 and the second display 300 . , the first display 331 is controlled to turn off (eg, to cut off power to the first display 331 ), the preview is not displayed on the first display 331 , and only the second display 300 is You can display a preview. According to an embodiment, when the preview manager 540 displays a preview on the first display 331 , an operation related to the operation of the camera devices 305 , 308a , 308b that can be displayed on the first display 331 . The display of information (eg, timer count, presence or absence of palm detection, and/or information such as video recording time) can also be controlled.

본 개시의 다양한 실시예들에 따른 전자 장치(101)는, 카메라 장치(305, 308), 제1 디스플레이(331), 제2 디스플레이(300), 및 프로세서(120)를 포함하고, 상기 프로세서(120)는, 상기 카메라 장치의 실행에 기반하여, 상기 전자 장치(101)의 상태를 식별하고, 상기 전자 장치(101)의 상태에 기반하여, 상기 카메라 장치의 동작 모드 및 상기 카메라 장치의 실행에 대응하여 동작하는 디스플레이를 식별하고, 상기 카메라 장치의 동작 모드 및 상기 식별된 디스플레이에 적어도 기반하여, 상기 카메라 장치의 설정을 업데이트 하고, 상기 업데이트된 설정에 기반하여 상기 카메라 장치로부터 획득된 프리뷰를 상기 식별된 디스플레이를 통해 표시하도록 할 수 있다.The electronic device 101 according to various embodiments of the present disclosure includes camera devices 305 and 308 , a first display 331 , a second display 300 , and a processor 120 , and the processor ( 120) identifies the state of the electronic device 101 based on the execution of the camera device, and determines the operation mode of the camera device and the execution of the camera device based on the state of the electronic device 101 identify a correspondingly operating display, update a setting of the camera device based at least on an operation mode of the camera device and the identified display, and display a preview obtained from the camera device based on the updated setting It can be displayed through the identified display.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 전자 장치(101)의 제1 상태에서, 상기 카메라 장치를 제1 동작 모드로 결정하고, 상기 제1 동작 모드 결정에 기반하여 상기 제1 디스플레이의 연결을 설정하고, 상기 카메라 장치의 설정을 상기 제1 동작 모드와 상기 제1 디스플레이의 속성에 적어도 기반하여 업데이트 하고, 상기 카메라 장치로부터 상기 업데이트된 설정에 기반하여 획득되는 프리뷰 데이터를 상기 제1 디스플레이에 전달하여, 상기 제1 디스플레이를 통해 프리뷰를 표시하도록 할 수 있다.According to various embodiments of the present disclosure, in the first state of the electronic device 101 , the processor 120 determines the camera device as a first operation mode, and based on the determination of the first operation mode, the first operation mode. establish a connection of a display, update a setting of the camera device based on at least the first operation mode and a property of the first display, and display preview data obtained from the camera device based on the updated setting in the first operation mode By transmitting to the first display, the preview may be displayed through the first display.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 전자 장치(101)의 상태 변화를 모니터링 하고, 상기 전자 장치(101)의 상태 변화에 기반하여, 상기 카메라 장치의 프로세스(process) 별 보정을 수행하도록 할 수 있다.According to various embodiments, the processor 120 monitors a change in the state of the electronic device 101 and, based on the change in the state of the electronic device 101 , corrects the camera device for each process can be made to do.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 카메라 장치를 연결하는 프로세스, 상기 카메라 장치의 연결 상태에서 프리뷰 로딩(preview loading) 프로세스, 및 영상 촬영 프로세스 중 적어도 하나의 진행 과정에서, 상기 전자 장치(101)의 상태 변화를 감지하고, 상기 변화가 감지되는 프로세스에 기반하여, 상기 카메라 장치의 연결 해지, 카메라 장치의 설정 리프레시, 및/또는 카메라 장치의 연결 동작 중 적어도 하나를 수행하고, 상기 카메라 장치의 재연결 이후, 상기 카메라 장치로부터 상태 변화에 대응하는 새로운 설정에 따라 보정된 프리뷰를 대응하는 디스플레이를 통해 표시하도록 할 수 있다.According to various embodiments, the processor 120 may perform at least one of a process of connecting the camera device, a preview loading process in a connected state of the camera device, and an image capturing process, Detecting a state change of the electronic device 101, and performing at least one of disconnecting the camera device, refreshing the settings of the camera device, and/or connecting the camera device based on the process in which the change is detected, After the reconnection of the camera device, a preview corrected according to a new setting corresponding to a state change from the camera device may be displayed on a corresponding display.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 전자 장치(101)의 제2 상태에서, 상기 카메라 장치를 제2 동작 모드로 결정하고, 상기 제2 동작 모드 결정에 기반하여 상기 제2 디스플레이의 연결을 설정하고, 상기 카메라 장치의 설정을 상기 제2 동작 모드와 상기 제2 디스플레이의 속성에 적어도 기반하여 업데이트 하고, 상기 카메라 장치로부터 상기 업데이트된 설정에 기반하여 획득되는 프리뷰 데이터를 상기 제2 디스플레이 전달하여, 상기 제2 디스플레이를 통해 프리뷰를 표시하도록 할 수 있다.According to various embodiments of the present disclosure, in the second state of the electronic device 101 , the processor 120 determines the camera device as a second operation mode, and based on the determination of the second operation mode, the second establish a connection of a display, update a setting of the camera device based on at least the second operation mode and a property of the second display, and display preview data obtained from the camera device based on the updated setting as the first By transmitting the second display, it is possible to display the preview through the second display.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 전자 장치(101)의 제3 상태에서, 상기 카메라 장치를 제3 동작 모드로 결정하고, 상기 제3 동작 모드 결정에 기반하여 상기 카메라 장치의 설정을, 상기 제3 동작 모드와 상기 제3 동작 모드에서 연결되는 상기 제2 디스플레이의 속성에 적어도 기반하여 업데이트 하고, 상기 카메라 장치로부터 상기 업데이트된 설정에 기반하여 획득되는 프리뷰 데이터를 상기 제2 디스플레이에 전달하여, 상기 제2 디스플레이의 지정된 일부 영역을 통해 프리뷰를 표시하도록 할 수 있다.According to various embodiments, in the third state of the electronic device 101 , the processor 120 determines the camera device as a third operation mode, and based on the determination of the third operation mode, the camera device is updated based on at least the third operation mode and a property of the second display connected in the third operation mode, and preview data obtained from the camera device based on the updated setting is used in the second operation mode. By transmitting to the display, the preview may be displayed through a designated partial area of the second display.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 제3 동작 모드 결정에 기반하여 상기 제2 디스플레이를 폴딩 축을 기준으로 제1 영역과 제2 영역으로 분할하고, 상기 제1 영역을 상기 카메라 장치의 프리뷰를 위한 프리뷰 영역으로 제공하고, 상기 제2 영역을 상기 프리뷰와 연관된 서브 영역으로 제공하도록 할 수 있다. According to various embodiments, the processor 120 divides the second display into a first area and a second area based on a folding axis based on the determination of the third operation mode, and divides the first area into the camera A preview area for a preview of the device may be provided, and the second area may be provided as a sub-area associated with the preview.

다양한 실시예들에 따르면, 상기 서브 영역은 상기 카메라 장치의 동작에 기반하여 다른 레이아웃을 가지도록 전환될 수 있다.According to various embodiments, the sub-region may be switched to have a different layout based on the operation of the camera device.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 카메라 장치의 설정을, 상기 제2 디스플레이의 상기 제1 영역의 속성에 대응하여 업데이트 하도록 할 수 있다.According to various embodiments, the processor 120 may update the setting of the camera device in response to a property of the first area of the second display.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 제1 영역에 사용자와 비상호작용(non-interaction) 하는 인터페이스에 관련된 레이아웃을 제공하고, 상기 제2 영역에 사용자와 상호작용 하는 인터페이스에 관련된 레이아웃을 제공하도록 할 수 있다.According to various embodiments, the processor 120 provides a layout related to an interface for non-interaction with the user in the first area, and provides a layout related to the interface for interacting with the user in the second area. You can provide a layout.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 제1 영역의 프리뷰 상태 또는 사용자 설정 상태에 기반하여, 상기 제2 영역에 설정되는 서브 영역에 관련된 레이아웃을 식별하고, 상기 제1 영역을 통해 상기 프리뷰를 포함하는 제1 사용자 인터페이스를 제공하고, 상기 제2 영역을 통해 지정된 서브 영역에 대응하는 동작 정보를 포함하는 제2 사용자 인터페이스를 제공하도록 할 수 있다.According to various embodiments, the processor 120 identifies a layout related to a sub-region set in the second region based on a preview state or a user setting state of the first region, and selects the first region. A first user interface including the preview may be provided through the user interface, and a second user interface including operation information corresponding to a designated sub area may be provided through the second area.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 식별된 디스플레이를 통해 프리뷰를 표시하는 동안, 멀티 프리뷰 표시를 위한 트리거에 기반하여 다른 디스플레이의 연결을 설정하고, 상기 디스플레이와 상기 다른 디스플레이를 통해 프리뷰를 동시에 표시하도록 할 수 있다.According to various embodiments, while displaying a preview through the identified display, the processor 120 establishes a connection of another display based on a trigger for displaying a multi-preview, and sets the display and the other display. Previews can be displayed at the same time.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 전자 장치(101)의 제2 상태에서 상기 제2 디스플레이를 통해 메인 프리뷰를 표시하는 동안, 멀티 프리뷰 표시를 위한 트리거를 감지하고, 제2 디스플레이의 상기 메인 프리뷰로부터 상기 제1 디스플레이를 위한 서브 프리뷰를 획득하고, 상기 제2 디스플레이를 통해 상기 메인 프리뷰를 표시하고, 상기 제1 디스플레이를 통해 상기 서브 프리뷰를 동시에 표시하도록 할 수 있다.According to various embodiments, the processor 120 detects a trigger for displaying a multi-preview while displaying the main preview through the second display in the second state of the electronic device 101, and obtain a sub preview for the first display from the main preview of a display, display the main preview through the second display, and simultaneously display the sub preview through the first display.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 제2 디스플레이를 통해 표시되는 상기 메인 프리뷰의 적어도 일부분이 크롭(crop)된 영상, 또는 상기 제2 디스플레이를 통해 표시되는 상기 메인 프리뷰가 리사이즈(resize)된 영상에 적어도 기반하여 상기 서브 프리뷰를 생성하도록 할 수 있다. According to various embodiments, the processor 120 may resize an image in which at least a portion of the main preview displayed through the second display is cropped, or the main preview displayed through the second display. The sub-preview may be generated based at least on the (resized) image.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 제1 디스플레이의 온/오프 이벤트를 발생할 수 있는 소프트웨어적인 인터페이스, 물리적인 인터페이스, 음성 인터페이스, 및/또는 제스처 인터페이스를 이용한, 사용자 입력에 기반하여, 상기 멀티 프리뷰 표시를 위한 트리거를 감지하도록 할 수 있다.According to various embodiments, the processor 120 may generate an on/off event of the first display based on a user input using a software interface, a physical interface, a voice interface, and/or a gesture interface. Thus, it is possible to detect a trigger for displaying the multi-preview.

다양한 실시예들에 따르면, 상기 프로세서(120)는, 상기 제1 디스플레이는, 상기 전자 장치의 후면에 배치되고, 상기 전자 장치의 접힘 상태에서 상기 카메라 장치의 프리뷰를 표시하고, 상기 전자 장치의 펼침 상태 또는 중간 상태에서 상기 카메라 장치의 동작 모드에 따라 프리뷰를 선택적으로 표시하도록 설정되고, 상기 제2 디스플레이는, 상기 전자 장치의 전면에 배치되고, 지정된 폴딩 축을 기준으로 접히거나, 구부러지거나, 또는 펼쳐지는 플렉서블 디스플레이를 포함하고, 상기 전자 장치의 펼침 상태 또는 중간 상태에서 상기 카메라 장치의 프리뷰를 표시하도록 설정되고, 상기 제1 디스플레이와 상기 제2 디스플레이는 서로 다른 화면 사이즈 및/또는 화면 해상도로 동작하도록 할 수 있다.According to various embodiments, the processor 120, the first display, is disposed on the rear surface of the electronic device, displays a preview of the camera device in a folded state of the electronic device, and unfolds the electronic device set to selectively display a preview according to an operation mode of the camera device in a state or an intermediate state, wherein the second display is disposed on the front side of the electronic device and is folded, bent, or unfolded based on a designated folding axis includes a flexible display, configured to display a preview of the camera device in an unfolded state or an intermediate state of the electronic device, and the first display and the second display operate at different screen sizes and/or screen resolutions can do.

이하에서는 다양한 실시예들의 전자 장치(101)의 동작 방법에 대해서 상세하게 설명한다. 다양한 실시예들에 따라, 이하에서 설명하는 전자 장치(101)에서 수행하는 동작들은, 전자 장치(101)의 적어도 하나의 프로세싱 회로를 포함하는 적어도 하나의 프로세서(예: 도 1의 프로세서서(120)(또는 도 5의 상태 매니저(520))(이하, ‘프로세서(120)’라 한다)에 의해 실행될 수 있다. 일 실시예에 따라, 전자 장치(101)에서 수행하는 동작들은, 메모리(예: 도 1의 메모리(130))(이하, ‘메모리(130)’라 한다)에 저장되고, 실행 시에, 프로세서(120)가 동작하도록 하는 인스트럭션들(instructions)에 의해 실행될 수 있다.Hereinafter, a method of operating the electronic device 101 according to various embodiments will be described in detail. According to various embodiments, operations performed by the electronic device 101 to be described below include at least one processor (eg, the processor 120 of FIG. 1 ) including at least one processing circuit of the electronic device 101 . ) (or the state manager 520 of Fig. 5) (hereinafter referred to as a 'processor 120'). According to an embodiment, operations performed by the electronic device 101 may include a memory (eg, : It is stored in the memory 130 of FIG. 1 (hereinafter referred to as 'memory 130') and, when executed, may be executed by instructions that cause the processor 120 to operate.

도 6은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.6 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

도 6을 참조하면, 동작 601에서, 전자 장치(101)의 프로세서(120)는 카메라 장치(예: 전면 카메라 장치(305)(또는 제1 카메라 장치(305) 또는 후면 카메라 장치(308)(또는 제2 카메라 장치(308))를 실행할 수 있다. 일 실시예에 따르면, 프로세서(120)는 전자 장치(101)의 접힘 상태, 펼침 상태 또는 중간 상태에서, 사용자의 카메라 장치(305, 308)를 실행하는 사용자 입력에 기반하여 카메라 장치(305, 308)를 실행할 수 있다. 예를 들면, 프로세서(120)는 사용자 입력에 대응하는 카메라 장치(305, 308)를 식별하고, 대응하는 카메라 장치(305, 308)의 카메라 연결(camera connection)을 수행할 수 있다.Referring to FIG. 6 , in operation 601 , the processor 120 of the electronic device 101 performs a camera device (eg, a front camera device 305 (or a first camera device 305 or a rear camera device 308 ) (or the second camera device 308. According to an embodiment, the processor 120 controls the user's camera devices 305 and 308 in the folded state, the unfolded state, or the intermediate state of the electronic device 101 . Based on the executing user input, the camera device 305, 308 may be executed. For example, the processor 120 identifies the camera device 305, 308 corresponding to the user input, and the corresponding camera device 305 , 308 may perform camera connection.

동작 603에서, 프로세서(120)는 카메라 장치(305, 308)의 실행에 기반하여, 전자 장치(101)의 상태 변화를 모니터링 할 수 있다. 예를 들면, 프로세서(120)는 전자 장치(101)의 접힘 상태, 펼침 상태 또는 중간 상태 여부를 모니터링 하고, 어느 일 상태에서 다른 상태로 상태 변화(예: 접힘 상태 -> 펼침 상태로의 상태 변화 또는 펼침 상태 -> 접힘 상태로의 상태 변화, 접힘 또는 펼침 상태 -> 중간 상태로의 상태 변화)를 모니터링 할 수 있다. 일 실시예에 따라, 프로세서(120)는 전자 장치(101)의 적어도 하나의 상태 감지 센서(예: 도 1의 센서 모듈(176))에 기반하여 전자 장치(101)의 접힘 상태, 펼침 상태 또는 중간 상태를 모니터링 할 수 있다. 일 실시예에 따라, 프로세서(120)는 상태 감지 센서의 센서 데이터에 기반하여 전자 장치(101)의 펼침(또는 접힘) 각도를 측정하여, 전자 장치(101)가 완전히 접힌 상태(예: 접힘 상태)인지, 완전히 펼쳐진 상태(예: 펼침 상태)인지, 또는 일정 각도로 펼쳐진(또는 접힌) 상태(예: 중간 상태)인지 여부를 식별할 수 있다. 일 실시예에 따라, 프로세서(120)는 상태 감지 센서의 적어도 하나의 센서로부터 획득된 데이터에 기반하여, 측정한 펼침 각도가 미리 지정된 각도 범위 이내인 경우, 전자 장치(101)의 디스플레이(210)(예: 제2 디스플레이(300))가 미리 지정된 정도로 접히거나, 구부러지거나, 펼쳐진 것으로 판단할 수 있다. In operation 603 , the processor 120 may monitor a state change of the electronic device 101 based on the execution of the camera devices 305 and 308 . For example, the processor 120 monitors whether the electronic device 101 is in a folded state, an unfolded state, or an intermediate state, and changes a state from one state to another (eg, a state change from a folded state to an unfolded state). Alternatively, the state change from the unfolded state -> the folded state, the state change from the folded or unfolded state -> the intermediate state) can be monitored. According to an embodiment, the processor 120 determines whether the electronic device 101 is in a folded state, an unfolded state, or Intermediate status can be monitored. According to an embodiment, the processor 120 measures an unfolded (or folded) angle of the electronic device 101 based on sensor data of the state detection sensor, so that the electronic device 101 is in a fully folded state (eg, a folded state). ), a fully unfolded state (eg, an unfolded state), or an unfolded (or folded) state at an angle (eg, an intermediate state). According to an embodiment, when the measured unfolding angle is within a predetermined angle range based on data obtained from at least one sensor of the state detection sensor, the processor 120 is configured to perform the display 210 of the electronic device 101 . It may be determined that (eg, the second display 300 ) is folded, bent, or unfolded to a predetermined degree.

동작 605에서, 프로세서(120)는 상태 변화에 관련된 동작 모드를 식별할 수 있다. 일 실시예에 따르면, 프로세서(120)는 모니터링 하는 결과에 따른 상태 정보 또는 상태 변화 정보에 기반하여, 카메라 장치(305, 308) 및/또는 디스플레이(300, 331)의 제어에 관련된 동작 모드를 식별할 수 있다. 예를 들면, 프로세서(120)는 전자 장치(101)의 접힘 상태에 기반하여 제1 동작 모드(예: 전면 카메라 모드 또는 셀피 모드)를 결정하고, 전자 장치(101)의 펼침 상태에 기반하여 제2 동작 모드(예: 후면 카메라 모드)를 결정하고, 전자 장치(101)의 중간 상태에 기반하여 제3 동작 모드(예: 테이블 모드)를 결정할 수 있다.In operation 605, the processor 120 may identify an operation mode related to the state change. According to an embodiment, the processor 120 identifies an operation mode related to the control of the camera devices 305 and 308 and/or the displays 300 and 331 based on the status information or status change information according to the monitoring result. can do. For example, the processor 120 determines a first operation mode (eg, a front camera mode or a selfie mode) based on the folded state of the electronic device 101 , and the second operation mode based on the unfolded state of the electronic device 101 . A second operation mode (eg, a rear camera mode) may be determined, and a third operation mode (eg, a table mode) may be determined based on the intermediate state of the electronic device 101 .

동작 607에서, 프로세서(120)는 식별하는 동작 모드에 기반하여 카메라 장치(305, 308) 및/또는 디스플레이(300, 331)에 관련된 동작을 처리할 수 있다. 일 실시예에 따라, 프로세서(120)는 식별하는 동작 모드에 대응하도록 카메라 장치(305, 308)의 속성 및/또는 디스플레이(300, 331)의 속성을 업데이트(또는 재설정 또는 재구성)할 수 있다. 다양한 실시예들에 따라, 전자 장치(101)의 상태 또는 상태 변화에 기반하여 카메라 장치(305, 308) 및/또는 디스플레이(300, 331)에 관련된 동작을 처리하는 구체적인 실시예가 후술되는 도면들을 참조하여 설명된다.In operation 607 , the processor 120 may process an operation related to the camera devices 305 and 308 and/or the displays 300 and 331 based on the identified operation mode. According to an embodiment, the processor 120 may update (or reset or reconfigure) the properties of the camera devices 305 and 308 and/or the properties of the displays 300 and 331 to correspond to the identified operation mode. According to various embodiments, a specific embodiment of processing an operation related to the camera devices 305 and 308 and/or the displays 300 and 331 based on the state or a change in the state of the electronic device 101 will be described later with reference to the drawings. is explained by

도 7은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.7 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

도 7을 참조하면, 동작 701에서, 전자 장치(101)의 프로세서(120)는 카메라 장치(예: 후면 카메라 장치(308) 또는 제2 카메라 장치(308))를 실행할 수 있다. 일 실시예에 따르면, 프로세서(120)는 전자 장치(101)의 접힘 상태, 펼침 상태 또는 중간 상태에서, 사용자의 카메라 장치(308)를 실행하는 사용자 입력에 기반하여 카메라 장치(308)를 실행할 수 있다. 예를 들면, 프로세서(120)는 사용자 입력에 대응하는 카메라 장치(308)를 식별하고, 대응하는 카메라 장치(308)의 카메라 연결(camera connection)을 수행할 수 있다.Referring to FIG. 7 , in operation 701 , the processor 120 of the electronic device 101 may execute a camera device (eg, a rear camera device 308 or a second camera device 308 ). According to an embodiment, the processor 120 may execute the camera device 308 based on a user input for executing the camera device 308 of the user in the folded state, the unfolded state, or the intermediate state of the electronic device 101 . have. For example, the processor 120 may identify the camera device 308 corresponding to the user input and perform camera connection of the corresponding camera device 308 .

동작 703에서, 프로세서(120)는 카메라 장치(308)의 실행에 기반하여, 전자 장치(101)(또는 전자 장치(101)의 제2 디스플레이(300))의 상태를 식별할 수 있다. 일 실시예에 따르면, 프로세서(120)는 상태 감지 센서의 센서 데이터에 기반하여 전자 장치(101)가 제1 상태(예: 접힘 상태)인지, 제2 상태(예: 펼침 상태)인지, 또는 제3 상태(예: 중간 상태)인지 여부를 식별할 수 있다.In operation 703 , the processor 120 may identify the state of the electronic device 101 (or the second display 300 of the electronic device 101 ) based on the execution of the camera device 308 . According to an embodiment, the processor 120 determines whether the electronic device 101 is in a first state (eg, a folded state), a second state (eg, an unfolded state), or a second state based on the sensor data of the state detection sensor. It is possible to identify whether it is a 3 state (eg, an intermediate state).

동작 703에서, 프로세서(120)는 전자 장치(101)의 제1 상태(예: 접힘 상태)를 식별하는 경우, 동작 711에서, 카메라 장치(308)를 실행하는 모드로서, 지정된 제1 동작 모드를 결정할 수 있다. 일 실시예에 따라, 제1 동작 모드는, 예를 들어, 카메라 장치(308)를 전면 카메라 모드(또는 셀피(selfie) 모드)로 사용하는 상태를 포함할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)의 제1 동작 모드 결정에 기반하여 제1 디스플레이(331)를 실행할 수 있다. 예를 들어, 프로세서(120)는 제1 디스플레이(331)의 연결(connection)을 수행할 수 있다.In operation 703 , when the processor 120 identifies a first state (eg, a folded state) of the electronic device 101 , in operation 711 , the camera device 308 is executed as a mode for executing the designated first operation mode. can decide According to an embodiment, the first operation mode may include, for example, a state in which the camera device 308 is used in a front camera mode (or a selfie mode). According to an embodiment, the processor 120 may execute the first display 331 based on the determination of the first operation mode of the camera device 308 . For example, the processor 120 may connect the first display 331 .

동작 713에서, 프로세서(120)는 제1 동작 모드 결정에 기반하여, 카메라 장치(308)의 설정을 제1 동작 모드에 대응하도록 설정하기 위한 지정된 제1 설정 값을 식별할 수 있다. 예를 들어, 제1 설정 값은 카메라 장치(308)가 제1 동작 모드에서 현재 연결되어 있는 디스플레이(예: 제1 디스플레이(331))의 속성(예: 화면 사이즈 및/또는 화면 해상도)에 최적화된 프리뷰를 출력하기 위해 지정된 정보(또는 파라미터)(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과)를 포함할 수 있다. 예를 들면, 제1 설정 값은 카메라 장치(308)를 전면 카메라 모드(또는 셀피 모드)에서 동작하기 위한 설정 값을 포함할 수 있다.In operation 713 , the processor 120 may identify a specified first setting value for setting the setting of the camera device 308 to correspond to the first operation mode, based on the determination of the first operation mode. For example, the first setting value is optimized for the properties (eg, screen size and/or screen resolution) of the display (eg, the first display 331 ) to which the camera device 308 is currently connected in the first operating mode. information (or parameters) (eg, camera resolution, standard, wide-angle, telephoto, and/or special shooting effects) specified for outputting the preview. For example, the first setting value may include a setting value for operating the camera device 308 in a front camera mode (or a selfie mode).

동작 715에서, 프로세서(120)는 제1 설정 값에 기반하여 카메라 장치(308)의 속성(또는 옵션)을 설정할 수 있다. 예를 들어, 프로세서(120)는 현재 연결되어 있는 카메라 장치(308)의 속성(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과)을 제1 동작 모드에서 동작하도록 지정된 제1 설정 값으로 업데이트 할 수 있다.In operation 715 , the processor 120 may set a property (or option) of the camera device 308 based on the first setting value. For example, the processor 120 may configure a first attribute (eg, camera resolution, standard, wide-angle, telephoto, and/or special shooting effect) of the currently connected camera device 308 to be configured to operate in the first mode of operation. It can be updated with the set value.

동작 717에서, 프로세서(120)는 카메라 장치(308)로부터 프리뷰 데이터를 획득할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)로부터 획득되는 영상을 지정된 버퍼(예: 제1 프리뷰 버퍼(560))로 전달할 수 있다.In operation 717 , the processor 120 may obtain preview data from the camera device 308 . According to an embodiment, the processor 120 may transfer the image obtained from the camera device 308 to a designated buffer (eg, the first preview buffer 560 ).

동작 719에서, 프로세서(120)는 현재 연결되어 있는 제1 디스플레이(331)를 통해 사용자 인터페이스를 제공할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 프리뷰 버퍼(560)에 생성된 프리뷰를 제1 디스플레이(331)를 통해 표시하고, 관련된 동작 정보(예: 타이머 카운트, palm detection 유무, 및/또는 비디오 레코딩 타임)를 제공할 수 있다. 예를 들면, 제1 디스플레이(331)는 카메라 장치(308)로부터 획득되는 프리뷰 데이터를 제1 프리뷰 버퍼(560)를 통해 전달받아 프리뷰를 표시할 수 있다.In operation 719 , the processor 120 may provide a user interface through the currently connected first display 331 . According to an embodiment, the processor 120 displays the preview generated in the first preview buffer 560 through the first display 331 , and related operation information (eg, timer count, presence or absence of palm detection, and/or video recording time). For example, the first display 331 may receive preview data obtained from the camera device 308 through the first preview buffer 560 to display a preview.

동작 703에서, 프로세서(120)는 전자 장치(101)의 제2 상태(예: 펼침 상태)를 식별하는 경우, 동작 731에서, 카메라 장치(308)를 실행하는 모드로서, 지정된 제2 동작 모드를 결정할 수 있다. 일 실시예에 따라, 제2 동작 모드는, 예를 들어, 카메라 장치(308)를 후면 카메라 모드로 사용하는 상태를 포함할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)의 제2 동작 모드 결정에 기반하여 제2 디스플레이(300)를 실행할 수 있다. 예를 들어, 프로세서(120)는 제2 디스플레이(300)의 연결(connection)을 수행할 수 있다.In operation 703 , when the processor 120 identifies the second state (eg, unfolded state) of the electronic device 101 , in operation 731 , the processor 120 selects the designated second operation mode as a mode for executing the camera device 308 . can decide According to an embodiment, the second operation mode may include, for example, a state of using the camera device 308 as a rear camera mode. According to an embodiment, the processor 120 may execute the second display 300 based on the determination of the second operation mode of the camera device 308 . For example, the processor 120 may connect the second display 300 .

동작 733에서, 프로세서(120)는 제2 동작 모드 결정에 기반하여, 카메라 장치(308)의 설정을 제2 동작 모드에 대응하도록 설정하기 위한 지정된 제2 설정 값을 식별할 수 있다. 예를 들어, 제2 설정 값은 카메라 장치(308)가 제2 동작 모드에서 현재 연결되어 있는 디스플레이(예: 제2 디스플레이(300))의 속성(예: 화면 사이즈 및/또는 화면 해상도)에 최적화된 프리뷰를 출력하기 위해 지정된 정보(또는 파라미터)(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과)를 포함할 수 있다. 예를 들면, 제2 설정 값은 카메라 장치(308)를 후면 카메라 모드에서 동작하기 위한 설정 값을 포함할 수 있다.In operation 733 , the processor 120 may identify a specified second setting value for setting the setting of the camera device 308 to correspond to the second operation mode, based on the determination of the second operation mode. For example, the second setting value is optimized for the properties (eg, screen size and/or screen resolution) of the display (eg, the second display 300 ) to which the camera device 308 is currently connected in the second operating mode. information (or parameters) (eg, camera resolution, standard, wide-angle, telephoto, and/or special shooting effects) specified for outputting the preview. For example, the second setting value may include a setting value for operating the camera device 308 in the rear camera mode.

동작 735에서, 프로세서(120)는 제2 설정 값에 기반하여 카메라 장치(308)의 속성(또는 옵션)을 설정할 수 있다. 예를 들어, 프로세서(120)는 현재 연결되어 있는 카메라 장치(308)의 속성(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과)을 제2 동작 모드에서 동작하도록 지정된 제2 설정 값으로 업데이트 할 수 있다.In operation 735 , the processor 120 may set a property (or option) of the camera device 308 based on the second setting value. For example, the processor 120 may set the properties of the currently connected camera device 308 (eg, camera resolution, standard, wide angle, telephoto, and/or special effects) to a second mode designated to operate in the second mode of operation. It can be updated with the set value.

동작 737에서, 프로세서(120)는 카메라 장치(308)로부터 프리뷰 데이터를 획득할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)로부터 획득되는 영상을 지정된 버퍼(예: 제2 프리뷰 버퍼(570))로 전달할 수 있다.In operation 737 , the processor 120 may obtain preview data from the camera device 308 . According to an embodiment, the processor 120 may transfer the image obtained from the camera device 308 to a designated buffer (eg, the second preview buffer 570 ).

동작 739에서, 프로세서(120)는 현재 연결되어 있는 제2 디스플레이(300)를 통해 사용자 인터페이스를 제공할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 프리뷰 버퍼(570)에 생성된 프리뷰를 제2 디스플레이(300)를 통해 표시하고, 관련된 동작 정보(예: 타이머 카운트, palm detection 유무, 옵션 설정 정보, 메뉴 객체, 촬영 객체 및/또는 비디오 레코딩 타임)를 제공할 수 있다. 예를 들면, 제2 디스플레이(300)는 카메라 장치(308)로부터 획득되는 프리뷰 데이터를 제2 프리뷰 버퍼(570)를 통해 전달받아 프리뷰를 표시할 수 있다.In operation 739 , the processor 120 may provide a user interface through the currently connected second display 300 . According to an embodiment, the processor 120 displays the preview generated in the second preview buffer 570 through the second display 300 , and related operation information (eg, timer count, palm detection presence or absence, option setting information). , menu object, shooting object and/or video recording time). For example, the second display 300 may receive preview data obtained from the camera device 308 through the second preview buffer 570 and display the preview.

동작 703에서, 프로세서(120)는 전자 장치(101)의 제3 상태(예: 중간 상태)를 식별하는 경우, 동작 751에서, 카메라 장치(308)를 실행하는 모드로서, 지정된 제3 동작 모드를 결정할 수 있다. 일 실시예에 따라, 제3 동작 모드는, 예를 들어, 카메라 장치(308)를 후면 카메라 모드(또는 전자 장치(101)의 사용자 설정에 따라 전면 카메라 장치(305)에 의한 전면 카메라 모드)로 동작하고, 전자 장치(101)를 테이블 모드로 사용하는 상태를 포함할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)의 제3 동작 모드 결정에 기반하여 제2 디스플레이(300)를 실행할 수 있다. 예를 들어, 프로세서(120)는 제2 디스플레이(300)의 연결(connection)을 수행할 수 있다. 어떤 실시예에 따르면, 중간 상태에서는 제2 디스플레이(300)가 이미 연결된 상태(예: 사용중인 상태)일 수 있다.In operation 703 , when the processor 120 identifies a third state (eg, an intermediate state) of the electronic device 101 , in operation 751 , the processor 120 selects the designated third operation mode as a mode for executing the camera device 308 . can decide According to one embodiment, the third mode of operation is, for example, the camera device 308 into the rear camera mode (or the front camera mode by the front camera device 305 according to a user setting of the electronic device 101). operation and may include a state in which the electronic device 101 is used in the table mode. According to an embodiment, the processor 120 may execute the second display 300 based on the determination of the third operation mode of the camera device 308 . For example, the processor 120 may connect the second display 300 . According to some embodiments, in the intermediate state, the second display 300 may be already connected (eg, in use).

어떤 실시예에 따르면, 전자 장치(101)가 제1 상태(예: 접힘 상태)에서 제3 상태(예: 중간 상태)로의 상태 변화 또는 제2 상태(예: 펼침 상태)에서 제3 상태(예: 중간 상태)로의 상태 변화에 기반하여 현재 연결되어 있는 카메라 장치와 디스플레이가 상이할 수 있다. 예를 들어, 제1 상태에서 제3 상태로의 상태 변화 시, 현재 연결되는(또는 사용되는) 장치는 제2 카메라 장치(308)(예: 후면 카메라 장치)와 제1 디스플레이(331)일 수 있다. 다른 예를 들어, 제2 상태에서 제3 상태로의 상태 변화 시, 현재 연결되는(또는 사용되는) 장치는 사용자가 사용하는 카메라 장치에 따른 제1 카메라 장치(305)(예: 전면 카메라 장치) 또는 제2 카메라 장치(308)(예: 후면 카메라 장치)와 제2 디스플레이(300)일 수 있다.According to some embodiments, the electronic device 101 changes a state from a first state (eg, a folded state) to a third state (eg, an intermediate state) or a third state (eg, a second state (eg, an unfolded state)) : Intermediate state), the display may be different from the currently connected camera device. For example, when the state changes from the first state to the third state, the currently connected (or used) device may be the second camera device 308 (eg, a rear camera device) and the first display 331 . have. As another example, when the state changes from the second state to the third state, the currently connected (or used) device is the first camera device 305 (eg, front camera device) according to the camera device used by the user. Alternatively, it may be the second camera device 308 (eg, a rear camera device) and the second display 300 .

동작 753에서, 프로세서(120)는 제3 동작 모드 결정에 기반하여, 카메라 장치(308)의 설정을 제3 동작 모드에 대응하도록 설정하기 위한 지정된 제3 설정 값을 식별할 수 있다. 예를 들어, 제3 설정 값은 카메라 장치(308)가 제3 동작 모드에서 현재 연결되어 있는 디스플레이(예: 제2 디스플레이(300))의 속성(예: 화면 사이즈 및/또는 화면 해상도)에 최적화된 프리뷰를 출력하기 위해 지정된 정보(또는 파라미터)(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과)를 포함할 수 있다. 예를 들면, 제3 설정 값은 카메라 장치(308)를 후면 카메라 모드에서 동작하기 위한 설정 값을 포함할 수 있고, 제2 설정 값과 동일하거나 유사한 설정을 포함할 수 있다. 어떤 실시예에 따르면, 제3 설정 값은 현재 연결되어 있는 카메라 장치가 제1 카메라 장치(305)(예: 전면 카메라 장치) 또는 제2 카메라 장치(308)(예: 후면 카메라 장치)인 것에 따라 다른 설정 값(예: 제4 설정 값)을 포함할 수 있다. In operation 753 , the processor 120 may identify a specified third setting value for setting the setting of the camera device 308 to correspond to the third operation mode, based on the determination of the third operation mode. For example, the third setting value is optimized for the properties (eg, screen size and/or screen resolution) of the display (eg, the second display 300 ) to which the camera device 308 is currently connected in the third operation mode. information (or parameters) (eg, camera resolution, standard, wide-angle, telephoto, and/or special shooting effects) specified for outputting the preview. For example, the third setting value may include a setting value for operating the camera device 308 in the rear camera mode, and may include a setting that is the same as or similar to the second setting value. According to some embodiments, the third setting value is set according to whether the currently connected camera device is the first camera device 305 (eg, a front camera device) or the second camera device 308 (eg, a rear camera device). Other setting values (eg, fourth setting values) may be included.

동작 755에서, 프로세서(120)는 제3 설정 값에 기반하여 카메라 장치(308)의 속성(또는 옵션)을 설정할 수 있다. 예를 들어, 프로세서(120)는 현재 연결되어 있는 카메라 장치(308)의 속성(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과)을 제3 동작 모드에서 동작하도록 지정된 제3 설정 값으로 업데이트 할 수 있다.In operation 755 , the processor 120 may set a property (or option) of the camera device 308 based on the third setting value. For example, the processor 120 may set the properties of the currently connected camera device 308 (eg, camera resolution, standard, wide angle, telephoto, and/or special shooting effect) to a third mode designated to operate in the third mode of operation. It can be updated with the set value.

동작 757에서, 프로세서(120)는 제2 디스플레이(300)의 영역 구분에 의한 레이아웃을 구성할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 디스플레이(300)의 영역을 폴딩 축(예: 도 3a 내지 도 4b의 축 A)을 기준으로 제1 영역과 제2 영역으로 분할(또는 구분)하고, 제1 영역을 프리뷰를 위한 프리뷰 영역으로 제공하고, 제2 영역을 프리뷰와 연관된 서브 영역(예: 제어 영역, 리뷰 영역, 서브 프리뷰 영역, 또는 후면 프리뷰 영역)으로 제공할 수 있다. 예를 들어, 프로세서(120)는 제1 영역과 제2 영역을, 프리뷰 영역과 제어 영역, 프리뷰 영역과 리뷰 영역, 프리뷰 영역과 서브 프리뷰 영역, 또는 프리뷰 영역과 후면 프리뷰 영역으로 제공할 수 있다. 일 실시예에 따르면, 프로세서(120)는 사용 중인 카메라 장치(308)의 속성(예: Focus ROI, tracking object ROI, effect, 인식 영역, 및/또는 사용자 입력의 위치 및 크기에 관련된 정보)을 변경된 프리뷰에 대응하도록 새로 계산하여 관련 설정 정보를 업데이트 할 수도 있다. 예를 들어, 프로세서(120)는 업데이트된 설정 정보를 이용하여 기존 설정 상태(예: 펼침 상태에서의 설정 상태) 그대로 프리뷰를 분할된 제1 영역을 통해 제공할 수 있다. In operation 757 , the processor 120 may configure the layout of the second display 300 by region division. According to an embodiment, the processor 120 divides (or divides) the area of the second display 300 into a first area and a second area based on a folding axis (eg, axis A of FIGS. 3A to 4B ). In addition, the first area may be provided as a preview area for preview, and the second area may be provided as a preview-related sub area (eg, a control area, a review area, a sub preview area, or a rear preview area). For example, the processor 120 may provide the first area and the second area as a preview area and a control area, a preview area and a review area, a preview area and a sub preview area, or a preview area and a back preview area. According to one embodiment, the processor 120 may change the properties of the camera device 308 in use (eg, information related to the location and size of the focus ROI, tracking object ROI, effect, recognition area, and/or user input) of the camera device 308 in use. It is also possible to update the related setting information by performing a new calculation to correspond to the preview. For example, the processor 120 may provide a preview through the divided first area as it is in an existing setting state (eg, a setting state in an unfolded state) by using the updated setting information.

동작 759에서, 프로세서(120)는 카메라 장치(308)로부터 프리뷰 데이터를 획득할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)로부터 획득되는 영상을 지정된 버퍼(예: 제2 프리뷰 버퍼(570))로 전달할 수 있다.In operation 759 , the processor 120 may obtain preview data from the camera device 308 . According to an embodiment, the processor 120 may transfer the image obtained from the camera device 308 to a designated buffer (eg, the second preview buffer 570 ).

동작 761에서, 프로세서(120)는 현재 연결되어 있는 제2 디스플레이(300)를 통해 사용자 인터페이스를 제공할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 프리뷰 버퍼(570)에 생성된 프리뷰를 제2 디스플레이(300)의 제1 영역을 통해 표시하고, 관련된 동작 정보를 제2 디스플레이(300)의 제2 영역을 통해 표시할 수 있다. 예를 들면, 제2 디스플레이(300)는 카메라 장치(308)로부터 획득되는 프리뷰 데이터를 제2 프리뷰 버퍼(570)를 통해 전달받아 제1 영역을 통해 프리뷰를 표시할 수 있다.In operation 761 , the processor 120 may provide a user interface through the currently connected second display 300 . According to an embodiment, the processor 120 displays the preview generated in the second preview buffer 570 through the first area of the second display 300 , and displays related operation information on the second display of the second display 300 . It can be displayed through two areas. For example, the second display 300 may receive preview data obtained from the camera device 308 through the second preview buffer 570 and display the preview through the first area.

다양한 실시예들에 따르면, 프로세서(120)는 전자 장치(101)의 펼침 상태 또는 중간 상태에서, 연결된 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)를 연결할 수 있고, 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 동시에 표시하도록 하는 동작을 수행할 수도 있다. According to various embodiments, the processor 120 may connect the first display 331 while displaying a preview through the connected second display 300 in the unfolded state or the intermediate state of the electronic device 101 , , an operation of simultaneously displaying a preview through the first display 331 and the second display 300 may be performed.

도 8은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.8 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도8은 전자 장치(101)가 접힘 상태에서 후면 카메라 장치(308)예: 제2 카메라 장치(308))를 이용하여, 전면 카메라용으로 사용하는 설정을 통해 전면 카메라 모드(또는 셀피 모드)로 동작하도록 하는 예를 나타낼 수 있다.According to an embodiment, FIG. 8 shows a front camera mode through a setting used for a front camera using a rear camera device 308 (eg, a second camera device 308) in a state in which the electronic device 101 is folded. (or an example of operating in a selfie mode) may be shown.

도 8을 참조하면, 동작 801에서, 전자 장치(101)의 프로세서(120)는 전자 장치(101)의 접힘 상태를 감지할 수 있다. 예를 들어, 프로세서(120)는 카메라 장치(308)를 실행하는 트리거에 기반하여, 전자 장치(101)의 상태를 식별하고, 식별하는 결과에 기반하여 전자 장치(101)의 접힘 상태를 판단할 수 있다.Referring to FIG. 8 , in operation 801 , the processor 120 of the electronic device 101 may detect a folded state of the electronic device 101 . For example, the processor 120 may identify the state of the electronic device 101 based on a trigger for executing the camera device 308 , and determine the folded state of the electronic device 101 based on the identification result. can

동작 803에서, 프로세서(120)는 접힘 상태 감지에 기반하여, 카메라 장치(308)를 실행하는 모드로서, 지정된 제1 동작 모드를 결정할 수 있다. 일 실시예에 따라, 제1 동작 모드는, 예를 들어, 카메라 장치(308)를 전면 카메라 모드(또는 셀피 모드)로 사용하는 상태를 포함할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)의 제1 동작 모드 결정에 기반하여 제1 디스플레이(331)를 연결할 수 있다.In operation 803 , the processor 120 may determine a designated first operation mode as a mode for executing the camera device 308 based on the detection of the folded state. According to an embodiment, the first operation mode may include, for example, a state in which the camera device 308 is used in a front camera mode (or a selfie mode). According to an embodiment, the processor 120 may connect the first display 331 based on the determination of the first operation mode of the camera device 308 .

동작 805에서, 프로세서(120)는 제1 동작 모드에 지정된 제1 옵션을 식별할 수 있다. 예를 들면, 프로세서(120)는 카메라 장치(308)를 전면 카메라 용도로 사용하기 위해 지정된 제1 옵션을 식별할 수 있다. 예를 들어, 제1 옵션은 카메라 장치(308)의 전면 카메라용 사용을 위한 다양한 설정 값(예: 타이머(timer), 플래시(flash), 플립(flip), 뷰티(beauty), 밝기(brightness), 포커싱(AF), 효과(effect) 및/또는 품질(quality))을 포함할 수 있다.In operation 805 , the processor 120 may identify a first option assigned to the first operation mode. For example, the processor 120 may identify a first option designated for using the camera device 308 for a front-facing camera. For example, the first option may include various setting values (eg, timer, flash, flip, beauty, brightness) for use for the front camera of the camera device 308 . , focusing (AF), effect and/or quality).

동작 807에서, 프로세서(120)는 식별하는 제1 옵션에 기반하여 전면 카메라용 사용을 위한 이미지 제어를 수행할 수 있다. 예를 들어, 프로세서(120)는 카메라 장치(308)가 제1 동작 모드에 따라 동작하도록 카메라 장치(308)를 제어(예: 이미지 센서 제어)하여 이미지의 좌우를 플립(또는 좌우 180도 반전)할 수 있다.In operation 807 , the processor 120 may perform image control for use for the front camera based on the first option to be identified. For example, the processor 120 controls the camera device 308 to operate according to the first operation mode (eg, image sensor control) to flip the image left and right (or reverse the left and right 180 degrees). can do.

동작 809에서, 프로세서(120)는 식별하는 제1 옵션에 기반하여 전면 카메라용 화질 제어를 수행할 수 있다. 예를 들어, 프로세서(120)는 제1 동작 모드에 대응하도록 설정된 설정 값에 따라 뷰티 레벨(beauty level), 밝기 레벨(brightness level), AF, 전면 화질 튜닝, 촬영 효과 및/또는 얼굴 왜곡 보정과 같은 적어도 하나의 화질 제어를 수행할 수 있다. 다양한 실시예들에 따르면, 동작 807과 동작 809는 도시된 순서에 한정하지 않으며, 동작 807과 동작 809는 순차적으로, 병렬적으로, 역순차적으로, 또는 휴리스틱하게 수행될 수 있다. In operation 809 , the processor 120 may perform image quality control for the front camera based on the identified first option. For example, the processor 120 may perform a beauty level, a brightness level, AF, front image quality tuning, shooting effect and/or face distortion correction and The same at least one image quality control may be performed. According to various embodiments, operations 807 and 809 are not limited to the illustrated order, and operations 807 and 809 may be performed sequentially, in parallel, in reverse order, or heuristically.

동작 811에서, 프로세서(120)는 제1 디스플레이(331)를 통해 전면 카메라용 프리뷰를 출력할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)로부터 획득된 프리뷰 데이터가 전면용 카메라에 대응하는 이미지와 화질로 제어된 프리뷰를 제1 디스플레이(331)를 통해 제공할 수 있다. 이의 예가 후술하는 도면 도 12a에 도시된다.In operation 811 , the processor 120 may output a preview for the front camera through the first display 331 . According to an embodiment, the processor 120 may provide a preview in which the preview data obtained from the camera device 308 is controlled to an image and quality corresponding to the front camera through the first display 331 . An example of this is shown in FIG. 12A, which will be described later.

동작 813에서, 프로세서(120)는 사용자 입력에 기반하여 촬영 동작을 수행할 수 있다. 예를 들어, 프로세서(120)는 영상 또는 동영상 촬영에 관련된 사용자 입력에 기반하여, 제어된 이미지와 화질에 기반하여 촬영 동작을 수행할 수 있다. In operation 813 , the processor 120 may perform a photographing operation based on a user input. For example, the processor 120 may perform a capturing operation based on a controlled image and image quality based on a user input related to capturing an image or moving picture.

도 9는 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.9 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 9는 전자 장치(101)가 펼침 상태에서 후면 카메라 장치(308)(예: 제2 카메라 장치(308))를 이용하여, 후면 카메라용으로 사용하는 설정을 통해 후면 카메라 모드로 동작하도록 하는 예를 나타낼 수 있다. According to an exemplary embodiment, FIG. 9 shows a rear camera through a setting used for a rear camera using the rear camera device 308 (eg, the second camera device 308) in a state in which the electronic device 101 is unfolded. An example of operating in a mode can be shown.

도 9를 참조하면, 동작 901에서, 전자 장치(101)의 프로세서(120)는 전자 장치(101)의 펼침 상태를 감지할 수 있다. 예를 들어, 프로세서(120)는 카메라 장치(308)를 실행하는 트리거에 기반하여, 전자 장치(101)의 상태를 식별하고, 식별하는 결과에 기반하여 전자 장치(101)의 펼침 상태를 판단할 수 있다.Referring to FIG. 9 , in operation 901 , the processor 120 of the electronic device 101 may detect an unfolded state of the electronic device 101 . For example, the processor 120 may identify the state of the electronic device 101 based on a trigger for executing the camera device 308 , and determine the unfolded state of the electronic device 101 based on the identification result. can

동작 903에서, 프로세서(120)는 펼침 상태 감지에 기반하여, 카메라 장치(308)를 실행하는 모드로서, 지정된 제2 동작 모드를 결정할 수 있다. 일 실시예에 따라, 제2 동작 모드는, 예를 들어, 카메라 장치(308)를 후면 카메라 모드로 사용하는 상태를 포함할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)의 제2 동작 모드 결정에 기반하여 제2 디스플레이(300)를 연결할 수 있다.In operation 903 , the processor 120 may determine a designated second operation mode as a mode for executing the camera device 308 based on the detection of the unfolded state. According to an embodiment, the second operation mode may include, for example, a state of using the camera device 308 as a rear camera mode. According to an embodiment, the processor 120 may connect the second display 300 based on the determination of the second operation mode of the camera device 308 .

동작 905에서, 프로세서(120)는 제2 동작 모드에 지정된 제2 옵션을 식별할 수 있다. 예를 들면, 프로세서(120)는 카메라 장치(308)를 후면 카메라 용도로 사용하기 위해 지정된 제2 옵션을 식별할 수 있다. 예를 들어, 제2 옵션은 카메라 장치(308)의 후면 카메라용 사용을 위한 다양한 설정 값(예: 타이머(timer), 플래시(flash), 뷰티(beauty), 밝기(brightness), 포커싱(AF), 효과(effect) 및/또는 품질(quality))을 포함할 수 있다. In operation 905 , the processor 120 may identify a second option assigned to the second operation mode. For example, the processor 120 may identify a second option designated for using the camera device 308 for a rear camera purpose. For example, the second option may include various setting values for use for the rear camera of the camera device 308 (eg, timer, flash, beauty, brightness, focusing (AF)). , effect and/or quality).

동작 907에서, 프로세서(120)는 식별하는 제2 옵션에 기반하여 후면 카메라용 사용을 위한 이미지 제어를 수행할 수 있다. 예를 들어, 프로세서(120)는 카메라 장치(308)가 제2 동작 모드에 따라 동작하도록, 카메라 장치(308)를 제어(예: 이미지 센서 제어)하여 이미지의 좌우 플립(또는 좌우 180도 반전)없이 이미지 제어를 수행할 수 있다. In operation 907 , the processor 120 may perform image control for use for the rear camera based on the second option to be identified. For example, the processor 120 controls the camera device 308 (eg, image sensor control) to flip the image left and right (or reverse the left and right 180 degrees) so that the camera device 308 operates according to the second operation mode. Image control can be performed without

동작 909에서, 프로세서(120)는 식별하는 제2 옵션에 기반하여 후면 카메라용 화질 제어를 수행할 수 있다. 예를 들어, 프로세서(120)는 제2 동작 모드에 대응하도록 설정된 설정 값에 따라 뷰티 레벨(beauty level), 밝기 레벨(brightness level), AF, 전면 화질 튜닝, 촬영 효과 및/또는 얼굴 왜곡 보정과 같은 적어도 하나의 화질 제어를 수행할 수 있다. 다양한 실시예들에 따르면, 동작 907과 동작 909는 도시된 순서에 한정하지 않으며, 동작 907과 동작 909는 순차적으로, 병렬적으로, 역순차적으로, 또는 휴리스틱하게 수행될 수 있다. In operation 909 , the processor 120 may perform image quality control for the rear camera based on the identified second option. For example, the processor 120 may perform a beauty level, a brightness level, AF, front image quality tuning, shooting effect and/or face distortion correction and The same at least one image quality control may be performed. According to various embodiments, operations 907 and 909 are not limited to the illustrated order, and operations 907 and 909 may be performed sequentially, in parallel, in reverse order, or heuristically.

동작 911에서, 프로세서(120)는 제2 디스플레이(300)를 통해 후면 카메라용 프리뷰를 출력할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)로부터 획득된 프리뷰 데이터가 후면용 카메라에 대응하는 이미지와 화질로 제어된 프리뷰를 제2 디스플레이(300)를 통해 제공할 수 있다. 이의 예가 후술하는 도면 도 12b에 도시된다.In operation 911 , the processor 120 may output a preview for the rear camera through the second display 300 . According to an embodiment, the processor 120 may provide a preview in which the preview data obtained from the camera device 308 is controlled to an image and quality corresponding to the rear camera through the second display 300 . An example of this is shown in FIG. 12B, which will be described later.

동작 913에서, 프로세서(120)는 사용자 입력에 기반하여 촬영 동작을 수행할 수 있다. 예를 들어, 프로세서(120)는 영상 또는 동영상 촬영에 관련된 사용자 입력에 기반하여, 제어된 이미지와 화질에 기반하여 촬영 동작을 수행할 수 있다.In operation 913 , the processor 120 may perform a photographing operation based on a user input. For example, the processor 120 may perform a capturing operation based on a controlled image and image quality based on a user input related to capturing an image or moving picture.

도 10은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.10 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 10은 전자 장치(101)의 접힘 상태 또는 펼침 상태에서 카메라 장치(308)(예: 후면 카메라 장치)를 실행하는 동안, 전자 장치(101)의 상태 변화에 따라 카메라 장치(308)의 설정을 보정하는 예를 나타낼 수 있다.According to an embodiment, FIG. 10 illustrates a camera device according to a state change of the electronic device 101 while the camera device 308 (eg, a rear camera device) is executed in a folded state or an unfolded state of the electronic device 101 . An example of correcting the setting of (308) can be shown.

도 10을 참조하면, 동작 1001에서, 전자 장치(101)의 프로세서(120)는 카메라 장치(308)의 실행에 관련된 사용자 입력을 감지할 수 있다. Referring to FIG. 10 , in operation 1001 , the processor 120 of the electronic device 101 may detect a user input related to the execution of the camera device 308 .

동작 1003에서, 프로세서(120)는 카메라 장치(308)를 실행하는 사용자 입력에 기반하여, 상태 매니저(520)를 실행할 수 있다. 일 실시예에 따라, 상태 매니저(520)는 전자 장치(101)의 상태 및 상태 변화를 모니터링 하고, 전자 장치(101)의 상태 또는 상태 변화에 기반하여 카메라 장치(305, 308), 디스플레이(300, 331), 및/또는 카메라 장치(305, 308)를 이용한 촬영에 관련된 동작을 제어할 수 있다. 일 실시예에 따라, 동작 1003에서, 카메라 장치(308)는 현재 연결되기 이전 상태일 수 있고, 동작 1003 이후는 카메라 장치(308)가 실질적으로 연결(또는 활성화)되기까지의 프로세스(process)를 나타낼 수 있다. In operation 1003 , the processor 120 may execute the state manager 520 based on a user input executing the camera device 308 . According to an embodiment, the state manager 520 monitors the state and state change of the electronic device 101 , and based on the state or state change of the electronic device 101 , the camera devices 305 , 308 , and the display 300 . , 331 ), and/or an operation related to photographing using the camera devices 305 and 308 may be controlled. According to an embodiment, in operation 1003 , the camera device 308 may be in a state before being connected, and after operation 1003 , a process until the camera device 308 is substantially connected (or activated) is performed. can indicate

동작 1005에서, 프로세서(120)는 상태 매니저(520)에 기반하여, 전자 장치(101)의 상태를 식별 및/또는 상태 변화를 모니터링 할 수 있다.In operation 1005 , the processor 120 may identify the state of the electronic device 101 and/or monitor the state change based on the state manager 520 .

동작 1007에서, 프로세서(120)는 식별된 전자 장치(101)의 상태에 기반하여, 대응하는 동작을 제어할 수 있다. 일 실시예에 따르면, 프로세서(120)는 접힘 상태에 기반하여 전술한 도 8의 동작을 시작하거나, 펼침 상태에 기반하여 전술한 도 9의 동작을 시작할 수 있다. 예를 들면, 프로세서(120)는 카메라 장치(308)를 이용하여, 전면 카메라 설정을 통해 전면 카메라 모드로 동작하거나, 후면 카메라 설정을 통해 후면 카메라 모드로 동작하도록 할 수 있다. 다양한 실시예들에 따르면, 프로세서(120)는 전자 장치(101)의 상태에 대응하는 동작을 시작하고, 해당 동작에 대응하는 프로세스(process)를 순차적으로 진행하는 동안, 상태 매니저(520)에 기반하여, 전자 장치(101)의 상태 변화를 지속적으로 모니터링 할 수 있다.In operation 1007 , the processor 120 may control a corresponding operation based on the identified state of the electronic device 101 . According to an embodiment, the processor 120 may start the above-described operation of FIG. 8 based on the folded state or the above-described operation of FIG. 9 based on the unfolded state. For example, the processor 120 may use the camera device 308 to operate in the front camera mode through the front camera setting or in the rear camera mode through the rear camera setting. According to various embodiments, the processor 120 starts an operation corresponding to the state of the electronic device 101 and, while sequentially performing a process corresponding to the operation, is based on the state manager 520 . Thus, it is possible to continuously monitor the state change of the electronic device 101 .

동작 1009에서, 프로세서(120)는 전자 장치(101)의 상태에 대응하는 동작을 제어하는 중에, 상태 매니저(520)의 모니터링에 기반하여, 전자 장치(101)의 상태 변화를 감지할 수 있다. 예를 들면, 프로세서(120)는 전자 장치(101)가 제1 상태(예: 접힘 상태)에서 제2 상태(예: 펼침 상태)로의 상태 변화, 제1 상태(예: 접힘 상태)에서 제3 상태(예: 중간 상태)로의 상태 변화, 또는 제2 상태(예: 펼침 상태) 또는 제3 상태(예: 중간 상태)에서 제1 상태(예: 접힘 상태)를 감지할 수 있다.In operation 1009 , while controlling an operation corresponding to the state of the electronic device 101 , the processor 120 may detect a change in the state of the electronic device 101 based on monitoring of the state manager 520 . For example, the processor 120 may cause the electronic device 101 to change a state from a first state (eg, a folded state) to a second state (eg, an unfolded state), and a third state from the first state (eg, a folded state). A state change to a state (eg, an intermediate state), or a first state (eg, a folded state) from a second state (eg, an unfolded state) or a third state (eg, an intermediate state) may be detected.

동작 1011에서, 프로세서(120)는 전자 장치(101)의 상태 변화 감지에 기반하여, 카메라 장치(308)의 프로세스(process) 별 보정을 수행할 수 있다. 일 실시예에 따르면, 프로세서(120)는 상태 매니저(520)를 통해, 카메라 장치(308)의 실행을 진행하는 과정 및/또는 실행된 동안, 상태 변화를 지속적으로 모니터링 할 수 있고, 상태 변화에 따라 인터럽트 제어(interrupt control)가 필요한 경우 call back을 통해 필요한 곳에 현재의 상태 변화를 알려줄 수 있다. 예를 들어, call back이 필요한 곳은 카메라 장치(308)의 연결 제어(예: <표 1>의 HardwareCameraConnection control) 부분, 카메라 장치(308)의 프리뷰 제어(예: <표 1>의 CameraPreviewConnection control) 부분, 카메라 장치(308)의 파라미터 제어(예: <표 1>의 ParameterControl) 부분으로, 프로세서(120)는 call back의 형식으로 필요한 부분에 상태 변화를 통지할 수 있다. 일 실시예에 따르면, 프로세서(120)는 프로세스 별 보정을 통해 카메라 장치(308)의 설정(예: 파라미터(예: camera parameters), 카메라 식별자(예: Camera ID), 및/또는 디스플레이 식별자(예: display ID) 중 적어도 하나)을 변화된 현재 상태에 대응하게 설정(또는 업데이트)할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)를 상태 변화에 대응하는 설정으로 보정한 이후, 보정에 따른 설정에 기반하여 이미지 및/또는 화질 제어를 통해 대응하는 프리뷰를 제공할 수 있다. 일 실시예에 따라, 프로세스 별 보정과 관련하여 후술하는 도 11을 참조하여 설명된다.In operation 1011 , the processor 120 may perform a process-specific correction of the camera device 308 based on the detection of a state change of the electronic device 101 . According to an embodiment, the processor 120 may continuously monitor a state change during and/or during the execution of the camera device 308 through the state manager 520 , and respond to the state change. Accordingly, when interrupt control is required, the current state change can be notified to the necessary place through call back. For example, where a call back is required, the connection control of the camera device 308 (eg, HardwareCameraConnection control in <Table 1>) part, the preview control of the camera device 308 (eg, CameraPreviewConnection control in <Table 1>) As a part, parameter control of the camera device 308 (eg, ParameterControl in <Table 1>) part, the processor 120 may notify a necessary part of a state change in the form of a call back. According to an embodiment, the processor 120 sets the camera device 308 (eg, a parameter (eg, camera parameters), a camera identifier (eg, Camera ID)), and/or a display identifier (eg, : display ID) can be set (or updated) to correspond to the changed current state. According to an embodiment, the processor 120 may provide a corresponding preview through image and/or image quality control based on the setting according to the correction after correcting the camera device 308 to a setting corresponding to the state change. have. According to an exemplary embodiment, correction for each process will be described with reference to FIG. 11, which will be described later.

동작 1013에서, 프로세서(120)는 지정된 디스플레이를 통해 프리뷰를 표시하도록 제어할 수 있다. 일 실시예에 따라, 프로세서(120)는 제1 디스플레이(331) 또는 제2 디스플레이(300)에 개별적으로, 또는 제1 디스플레이(331)와 제2 디스플레이(300)에 동시에 프리뷰를 표시할 수 있다. 일 실시예에 따르면, 프로세서(120)는 전자 장치(101)가 제1 상태에서 제2 상태로 상태 변화 시 제1 디스플레이(331)의 연결을 해제하고 제2 디스플레이(300)를 연결하여, 제2 디스플레이(300)를 통해 프리뷰를 표시하도록 제어할 수 있다. 다른 실시예에 따르면, 프로세서(120)는 전자 장치(101)가 제2 상태에서 제1 상태로 상태 변화 시 제2 디스플레이(300)의 연결을 해제하고 제1 디스플레이(331)를 연결하여, 제1 디스플레이(331)를 통해 프리뷰를 표시하도록 제어할 수 있다. 다른 실시예에 따르면, 프로세서(120)는 제1 상태에서 제2 상태로 상태 변경 시 제1 디스플레이(331)의 연결을 유지하고 제2 디스플레이(300)를 연결하여, 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 동시에 프리뷰를 표시하도록 제어할 수 있다.In operation 1013 , the processor 120 may control to display a preview through a designated display. According to an embodiment, the processor 120 may display a preview on the first display 331 or the second display 300 individually, or simultaneously on the first display 331 and the second display 300 . . According to an embodiment, the processor 120 disconnects the first display 331 and connects the second display 300 when the electronic device 101 changes state from the first state to the second state, 2 It is possible to control to display a preview through the display 300 . According to another embodiment, when the electronic device 101 changes state from the second state to the first state, the processor 120 disconnects the second display 300 and connects the first display 331 to the first 1 It is possible to control to display a preview through the display 331 . According to another embodiment, when the state is changed from the first state to the second state, the processor 120 maintains the connection of the first display 331 and connects the second display 300 to the first display 331 and It is possible to control to simultaneously display previews through the second display 300 .

도 11은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.11 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 11은 카메라 장치(308)의 실행을 진행하는 과정에서, 상태 변화 감지에 기반하여 카메라 장치(308)의 프로세스 별 보정을 수행하는 예를 나타낼 수 있다.According to an embodiment, FIG. 11 may show an example of performing correction for each process of the camera device 308 based on detection of a state change in the process of executing the camera device 308 .

도 11을 참조하면, 동작 1101에서, 전자 장치(101)의 프로세서(120)는 전자 장치(101)의 상태 변화를 감지할 수 있다.Referring to FIG. 11 , in operation 1101 , the processor 120 of the electronic device 101 may detect a state change of the electronic device 101 .

동작 1103에서, 프로세서(120)는 상태 변화 감지에 기반하여 카메라 장치(308)의 연결 여부를 판단할 수 있다. 예를 들어, 프로세서(120)는 사용자 입력에 기반하여 카메라 장치(308)의 실행을 진행하는 과정에서 상태 변화를 감지 시에, 카메라 장치(308)가 실질적으로 연결(또는 활성화)되었는지 여부를 식별할 수 있다.In operation 1103 , the processor 120 may determine whether the camera device 308 is connected based on the detection of a state change. For example, when the processor 120 detects a state change in the process of executing the camera device 308 based on a user input, the processor 120 identifies whether the camera device 308 is substantially connected (or activated). can do.

동작 1103에서, 프로세서(120)는 카메라 장치(308)가 미연결 상태인 경우(예: 동작 1103의 ‘아니오’), 동작 1113에서, 카메라 장치(308)의 설정을 리프레시(refresh)(또는 파라미터 재 설정)할 수 있다. 예를 들어, 프로세서(120)는 카메라 장치(308)를 연결하는 중에(또는 연결 이전에) 상태 변화가 발생될 경우, 상태 변화에 대응하는 새로운 설정을 이용하여 카메라 장치(308)의 연결(예: hardware camera connection)을 수행할 수 있다. In operation 1103 , when the camera device 308 is in an unconnected state (eg, 'No' in operation 1103 ), in operation 1113 , the processor 120 refreshes the settings of the camera device 308 (or parameters). can be reset). For example, when a state change occurs while the camera device 308 is connected (or before connection), the processor 120 uses a new setting corresponding to the state change to connect (eg, connect the camera device 308) to the camera device 308 . : hardware camera connection).

동작 1103에서, 프로세서(120)는 카메라 장치(308)가 연결 상태인 경우(예: 동작 1103의 ‘예’), 동작 1105에서, 프리뷰 로딩(preview loading)의 완료(complete) 여부를 판단할 수 있다. 예를 들어, 프로세서(120)는 카메라 장치(308)가 연결된 상태에서 상태 변화가 발생될 경우, 현재 연결되어 있는 카메라 장치(308)에 의한 프리뷰의 로딩이 완료되었는지 여부를 식별할 수 있다.In operation 1103 , when the camera device 308 is in a connected state (eg, 'Yes' in operation 1103 ), in operation 1105 , the processor 120 may determine whether preview loading is complete. have. For example, when a state change occurs while the camera device 308 is connected, the processor 120 may identify whether the preview loading by the currently connected camera device 308 has been completed.

동작 1105에서, 프로세서(120)는 프리뷰 로딩이 완료되지 않은 경우(예: 동작 1105의 ‘아니오’), 동작 1111에서, 카메라 장치(308)의 연결을 셧다운(shut down)(또는 연결 해지(disconnection)) 할 수 있다. 일 실시예에 따르면, 프로세서(120)는 프리뷰 로딩 중에 상태 변화가 발생될 경우, 현재 연결되어 있는 카메라 장치(308)의 연결을 해지(예: hardware camera disconnection)할 수 있다. In operation 1105 , the processor 120 shuts down (or disconnects) the connection of the camera device 308 in operation 1111 when preview loading is not completed (eg, 'No' in operation 1105 ). )) can do. According to an embodiment, when a state change occurs during preview loading, the processor 120 may disconnect the currently connected camera device 308 (eg, hardware camera disconnection).

동작 1113에서, 프로세서(120)는 카메라 장치(308)의 설정을 리프레시(또는 파라미터 재 설정)할 수 있다. 예를 들어, 프로세서(120)는 프리뷰 로딩 중에 상태 변화가 발생될 경우, 카메라 장치(308)의 연결을 해제한 후, 상태 변화에 대응하는 새로운 설정을 이용하여 카메라 장치(308)의 연결(예: hardware camera connection)을 수행할 수 있다. 이의 예가 후술하는 도면 도 12c의 예시 A에 도시된다.In operation 1113 , the processor 120 may refresh settings (or reset parameters) of the camera device 308 . For example, when a state change occurs during preview loading, the processor 120 disconnects the camera device 308 and connects (eg, the camera device 308) using a new setting corresponding to the state change. : hardware camera connection). An example of this is shown in Example A of FIG. 12C , which will be described later.

동작 1105에서, 프로세서(120)는 프리뷰 로딩이 완료된 경우(예: 동작 1105의 ‘예’), 동작 1107에서, 영상 촬영이 수행 중인지 여부를 판단할 수 있다. 예를 들어, 프로세서(120)는 프리뷰 로딩이 완료된 상태에서 상태 변화가 발생될 경우, 현재 연결되어 있는 카메라 장치(308)에 의한 영상 촬영이 수행 중인지 여부를 식별할 수 있다.In operation 1105 , when preview loading is completed (eg, 'Yes' in operation 1105 ), in operation 1107 , the processor 120 may determine whether image capturing is being performed. For example, when a state change occurs in a state in which preview loading is completed, the processor 120 may identify whether image capturing is being performed by the currently connected camera device 308 .

동작 1107에서, 프로세서(120)는 영상 촬영이 수행 중이 아닌 경우(예: 동작 1107의 ‘아니오’), 동작 1111로 진행하여, 동작 1111 이하의 동작을 수행할 수 있다.In operation 1107 , when image capturing is not being performed (eg, 'No' in operation 1107 ), the processor 120 may proceed to operation 1111 and perform operations 1111 and subsequent operations.

동작 1107에서, 프로세서(120)는 영상 촬영이 수행 중인 경우(예: 동작 1107의 ‘예’), 동작 1121에서, 촬영 완료까지 대기할 수 있다. 일 실시예에 따르면, 프로세서(120)는 현재 연결되어 있는 카메라 장치(308)에 의해 영상(예: 사진 또는 동영상)이 촬영 중인 경우, 카메라 장치(308)의 연결을 바로 셧다운 하지 않고, 촬영 완료까지 대기함으로써, 촬영된 촬영 데이터를 메모리(예: 도 1의 메모리(130))에 저장할 수 있다.In operation 1107 , when image capturing is being performed (eg, 'Yes' in operation 1107 ), in operation 1121 , the processor 120 may wait until capturing is completed. According to an embodiment, when an image (eg, a photo or a video) is being captured by the currently connected camera device 308 , the processor 120 does not immediately shut down the connection of the camera device 308 and completes the shooting. By waiting until , the captured photographing data may be stored in a memory (eg, the memory 130 of FIG. 1 ).

동작 1111에서, 프로세서(120)는 카메라 장치(308)의 연결을 셧다운(또는 연결 해지) 할 수 있다. 일 실시예에 따르면, 프로세서(120)는 영상 촬영 중에 상태 변화가 발생될 경우, 카메라 장치(308)의 연결을 바로 셧다운 하지 않고, 현재까지(또는 지금까지) 촬영된 촬영 데이터를 저장한 후 카메라 장치(308)의 연결 해지(예: hardware camera disconnection)를 수행할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)의 연결 해지 이후, 동작 1113으로 진행하여, 동작 1113 이하의 동작을 수행할 수 있다. 이의 예가 후술하는 도면 도 12c의 예시 B에 도시된다.In operation 1111 , the processor 120 may shut down (or disconnect) the connection of the camera device 308 . According to an embodiment, when a state change occurs during image capturing, the processor 120 does not immediately shut down the connection of the camera device 308, but stores the captured data until now (or so far) and then The device 308 may be disconnected (eg, hardware camera disconnection). According to an embodiment, after disconnection of the camera device 308 , the processor 120 may proceed to operation 1113 and perform operations 1113 and subsequent operations. An example of this is shown in Example B of FIG. 12C , which will be described later.

동작 1115에서, 프로세서(120)는 동작 1113 이후, 카메라 장치(308)로부터 상태 변화에 대응하는 새로운 설정에 따라 획득하는 프리뷰 데이터에 기반하여 프리뷰를 표시할 수 있다.In operation 1115 , after operation 1113 , the processor 120 may display a preview based on preview data obtained according to a new setting corresponding to a state change from the camera device 308 .

도 12a, 도 12b 및 도 12c는 다양한 실시예들에 따른 전자 장치에서 카메라 장치 및 디스플레이가 동작하는 예를 설명하기 위한 도면들이다.12A, 12B, and 12C are diagrams for explaining an example in which a camera device and a display operate in an electronic device according to various embodiments of the present disclosure;

도 12a를 참조하면, 도 12a는 전자 장치(101)가 접힘 상태에서 카메라 장치(308)(예: 후면 카메라 장치 중 적어도 하나)를 이용하여, 전면 카메라용으로 사용하는 전면 카메라 모드(또는 셀피 모드)로 동작하는 예를 나타낼 수 있다.Referring to FIG. 12A , FIG. 12A shows a front camera mode (or selfie mode) used for a front camera using a camera device 308 (eg, at least one of a rear camera device) in a folded state of the electronic device 101 . ) can be used as an example.

도 12a에 도시한 바와 같이, 전자 장치(101)는 제1 디스플레이(331)를 통해 전면 카메라용 프리뷰(1210)를 출력할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)로부터 획득된 프리뷰 데이터가 전면용 카메라에 대응하는 이미지와 화질로 제어된 프리뷰(1210)를 제1 디스플레이(331)를 통해 제공할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 디스플레이(331)에 프리뷰(1210)를 표시할 때, 제1 디스플레이(331)에 표시할 수 있는 카메라 장치(308)의 동작과 관련된 동작 정보(1220)(예: 타이머 카운트, palm detection 유무, 및/또는 비디오 레코딩 타임과 같은 정보)를 함께 제공할 수 있다.12A , the electronic device 101 may output a preview 1210 for the front camera through the first display 331 . According to an embodiment, the processor 120 may provide a preview 1210 in which the preview data obtained from the camera device 308 is controlled to an image and quality corresponding to the front camera through the first display 331 . have. According to an embodiment, when the electronic device 101 displays the preview 1210 on the first display 331 , operation information related to the operation of the camera device 308 that can be displayed on the first display 331 . 1220 (eg, information such as timer count, presence or absence of palm detection, and/or video recording time) may be provided together.

도 12b를 참조하면, 도 12b는 전자 장치(101)가 펼침 상태에서 카메라 장치(308)(예: 후면 카메라 장치 중 적어도 하나)를 이용하여, 후면 카메라용으로 사용하는 후면 카메라 모드로 동작하는 예를 나타낼 수 있다.Referring to FIG. 12B , FIG. 12B shows an example of operating in the rear camera mode used for the rear camera using the camera device 308 (eg, at least one of the rear camera devices) in the unfolded state of the electronic device 101 . can represent

도 12b에 도시한 바와 같이, 전자 장치(101)는 제2 디스플레이(300)를 통해 후면 카메라용 프리뷰(1230)를 출력할 수 있다. 일 실시예에 따라, 전자 장치(101)는 카메라 장치(308)로부터 획득된 프리뷰 데이터가 후면용 카메라에 대응하는 이미지와 화질로 제어된 프리뷰(1230)를 제2 디스플레이(300)를 통해 제공할 수 있다. 도 12b에서 전면 카메라 장치(305)(예: 제1 카메라 장치(305))는 미연결(또는 비활성화) 상태일 수 있다.12B , the electronic device 101 may output a preview 1230 for the rear camera through the second display 300 . According to an embodiment, the electronic device 101 may provide a preview 1230 in which the preview data obtained from the camera device 308 is controlled to an image and image quality corresponding to the rear camera through the second display 300 . can In FIG. 12B , the front camera device 305 (eg, the first camera device 305 ) may be in an unconnected (or deactivated) state.

도 12c를 참조하면, 도 12c는 카메라 장치(308)(예: 후면 카메라 장치 중 적어도 하나)를 로딩 중(예: 프리뷰 로딩 중)에(예: 예시 A), 또는 카메라 장치(308)(예: 후면 카메라 장치 중 적어도 하나)가 연결되고 카메라 장치(308)를 이용하여 촬영 중(예: 셀피 촬영 중)에(예: 예시 B), 전자 장치(101)의 접힘 상태에서 펼침 상태로 상태 변화에 따라 동작하는 예를 나타낼 수 있다. 도 12c에서 전면 카메라 장치(305)(예: 제1 카메라 장치(305))는 미연결(또는 비활성화) 상태일 수 있다.Referring to FIG. 12C , FIG. 12C shows a camera device 308 (eg, at least one of the rear camera devices) being loaded (eg, preview loading) (eg, Example A), or a camera device 308 (eg, : At least one of the rear camera devices) is connected and the electronic device 101 changes from a folded state to an unfolded state while shooting (eg, taking a selfie) using the camera device 308 (eg, Example B) An example that operates according to can be shown. In FIG. 12C , the front camera device 305 (eg, the first camera device 305) may be in an unconnected (or deactivated) state.

도 12c의 예시 A의 경우를 참조하면, 예시 A는 제1 디스플레이(331)에 프리뷰가 표시되지 않은 상태일 수 있다. 예를 들어, 전자 장치(101)는 접힘 상태에서 사용자 입력(예: 셀피 촬영 실행)에 기반하여 카메라 장치(308)를 연결하여 프리뷰를 로딩하는 상태일 수 있다. 일 실시예에 따라, 전자 장치(101)는 프리뷰를 로딩하는 중에 펼침 상태로 상태 변화가 감지될 시, 카메라 장치(308)의 연결(예: hardware camera connection)을 강제로 셧다운 할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프리뷰 로딩 중에 상태 변화가 발생될 경우, 현재 연결되어 있는 카메라 장치(308)의 연결을 해지(예: hardware camera disconnection)하고, 카메라 장치(308)의 설정을 리프레시(또는 파라미터 재 설정)하여, 상태 변화에 대응하는 새로운 설정을 이용하여 카메라 장치(308)의 연결(예: hardware camera connection)을 수행할 수 있다. Referring to Example A of FIG. 12C , in Example A, a preview may not be displayed on the first display 331 . For example, in the folded state, the electronic device 101 may be in a state in which the preview is loaded by connecting the camera device 308 based on a user input (eg, taking a selfie). According to an embodiment, when a state change to the unfolded state is detected while the preview is being loaded, the electronic device 101 may forcibly shut down a connection (eg, a hardware camera connection) of the camera device 308 . According to an embodiment, when a state change occurs during preview loading, the electronic device 101 disconnects the currently connected camera device 308 (eg, hardware camera disconnection), and By refreshing the setting (or resetting the parameter), the camera device 308 may be connected (eg, hardware camera connection) using the new setting corresponding to the state change.

도 12c의 예시 B의 경우를 참조하면, 예시 B는 제1 디스플레이(331)에 프리뷰(1310)가 표시되고 있는 상태일 수 있다. 예를 들어, 전자 장치(101)는 접힘 상태에서 카메라 장치(308)를 연결하여 프리뷰 로딩을 완료하고, 사용자 입력에 대응하여 영상 촬영을 수행하는 상태일 수 있다. 일 실시예에 따라, 전자 장치(101)는 현재 연결되어 있는 카메라 장치(308)에 의해 영상(예: 사진 또는 동영상)을 촬영하는 중에 펼침 상태로 상태 변화가 감지될 시, 카메라 장치(308)의 연결을 바로 셧다운 하지 않고, 촬영 완료 이후에 카메라 장치(308)의 연결 해지(예: hardware camera disconnection)를 수행할 수 있다. 이후, 전자 장치(101)는 카메라 장치(308)의 설정을 리프레시(또는 파라미터 재 설정)하여, 상태 변화에 대응하는 새로운 설정을 이용하여 카메라 장치(308)의 연결(예: hardware camera connection)을 수행할 수 있다.Referring to Example B of FIG. 12C , in Example B, a preview 1310 may be displayed on the first display 331 . For example, the electronic device 101 may be in a state in which the camera device 308 is connected in a folded state to complete preview loading, and image capture is performed in response to a user input. According to an embodiment, when the electronic device 101 detects a state change to the unfolded state while capturing an image (eg, a photo or a video) by the currently connected camera device 308, the camera device 308 Without immediately shutting down the connection, disconnection of the camera device 308 (eg, hardware camera disconnection) may be performed after photographing is completed. Thereafter, the electronic device 101 refreshes the settings of the camera device 308 (or resets parameters), and connects the camera device 308 (eg, hardware camera connection) using the new settings corresponding to the state change. can be done

예시 A 또는 예시 B에 따른 동작 이후, 전자 장치(101)는 카메라 장치(308)로부터 상태 변화에 대응하는 새로운 설정에 따라 획득하는 프리뷰 데이터를 제2 디스플레이(300)를 통해 프리뷰(1330)로 제공할 수 있다.After the operation according to Example A or Example B, the electronic device 101 provides preview data obtained according to a new setting corresponding to a state change from the camera device 308 as a preview 1330 through the second display 300 . can do.

다양한 실시예들에 따르면, 전자 장치(101)는 카메라 장치(308)를 전자 장치(101)의 상태 또는 상태 변화에 따른 이벤트를 처리하여, 효율적인 카메라 모드 전환 경험을 제공할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 카메라 장치(308)의 동작 중에, 사용자에 의해 접힘 상태에서 펼침 상태로 상태 변화 시에, 사용자에게 끊김 없는(seamless) 카메라 사용 경험을 제공할 수 있다. 예를 들어, 전자 장치(101)는 상태 변화에 따라 발생할 수 있는 에러를 사전에 제어하여, 예상치 못한 카메라 에러 및/또는 어플리케이션(예: 카메라 어플리케이션) 실패를 방지할 수 있다. According to various embodiments, the electronic device 101 may provide an efficient camera mode switching experience by using the camera device 308 to process a state or an event according to a state change of the electronic device 101 . According to an embodiment, the electronic device 101 may provide a seamless camera use experience to the user when a state of the camera device 308 is changed from a folded state to an unfolded state by the user during operation of the camera device 308 . . For example, the electronic device 101 may prevent an unexpected camera error and/or an application (eg, a camera application) failure by controlling an error that may occur according to a state change in advance.

도 13은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.13 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 13은 전자 장치(101)의 카메라 장치(308)(예: 후면 카메라 장치)가 실행된 동안, 전자 장치(101)의 중간 상태에 따라 사용자 인터페이스를 제공하는 예를 나타낼 수 있다.According to an embodiment, FIG. 13 illustrates an example of providing a user interface according to an intermediate state of the electronic device 101 while the camera device 308 (eg, a rear camera device) of the electronic device 101 is running. can

도 13을 참조하면, 동작 1301에서, 전자 장치(101)의 프로세서(120)는 전자 장치(101)의 상태 변화를 모니터링 할 수 있다.Referring to FIG. 13 , in operation 1301 , the processor 120 of the electronic device 101 may monitor a state change of the electronic device 101 .

동작 1303에서, 프로세서(120)는 모니터링 하는 결과에 기반하여, 전자 장치(101)의 중간 상태를 감지할 수 있다. In operation 1303 , the processor 120 may detect an intermediate state of the electronic device 101 based on the monitoring result.

동작 1305에서, 프로세서(120)는 중간 상태 감지에 기반하여, 카메라 장치(308)를 실행하는 모드로서, 지정된 제3 동작 모드를 결정할 수 있다. 일 실시예에 따라, 제3 동작 모드는, 예를 들어, 카메라 장치(308)를 후면 카메라 모드(또는 전자 장치(101)의 사용자 설정에 따라 전면 카메라 장치(305)에 의한 전면 카메라 모드)로 동작하고, 전자 장치(101)를 테이블 모드로 사용하는 상태를 포함할 수 있다. 일 실시예에 따라, 프로세서(120)는 카메라 장치(308)의 제3 동작 모드 결정에 기반하여 제2 디스플레이(300)를 실행할 수 있다. 예를 들어, 프로세서(120)는 제2 디스플레이(300)의 연결(connection)을 수행할 수 있다. 어떤 실시예에 따르면, 중간 상태에서는 제2 디스플레이(300)가 이미 연결된 상태(예: 사용중인 상태)일 수 있다.In operation 1305 , the processor 120 may determine a third operation mode designated as the mode for executing the camera device 308 based on the intermediate state detection. According to one embodiment, the third mode of operation is, for example, the camera device 308 into the rear camera mode (or the front camera mode by the front camera device 305 according to a user setting of the electronic device 101). operation and may include a state in which the electronic device 101 is used in the table mode. According to an embodiment, the processor 120 may execute the second display 300 based on the determination of the third operation mode of the camera device 308 . For example, the processor 120 may connect the second display 300 . According to some embodiments, in the intermediate state, the second display 300 may be already connected (eg, in use).

동작 1307에서, 프로세서(120)는 제3 동작 모드에 기반하여 지정된 레이아웃을 구성할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 디스플레이(300)의 영역 구분에 의한 레이아웃을 구성할 수 있다. 예를 들어, 프로세서(120)는 제2 디스플레이(300)의 영역을 폴딩 축(예: 도 3a 내지 도 4b의 축 A)을 기준으로 제1 영역과 제2 영역으로 분할(또는 구분)하고, 제1 영역을 프리뷰를 위한 프리뷰 영역으로 제공하고, 제2 영역을 프리뷰와 연관된 서브 영역(예: 제어 영역, 리뷰 영역, 서브 프리뷰 영역, 또는 후면 프리뷰 영역)으로 제공할 수 있다. In operation 1307 , the processor 120 may configure a designated layout based on the third operation mode. According to an embodiment, the processor 120 may configure the layout of the second display 300 by region division. For example, the processor 120 divides (or divides) the area of the second display 300 into a first area and a second area based on a folding axis (eg, axis A in FIGS. 3A to 4B ), The first area may be provided as a preview area for preview, and the second area may be provided as a preview-related sub area (eg, a control area, a review area, a sub preview area, or a rear preview area).

동작 1309에서, 프로세서(120)는 사용자 인터페이스를 표시할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 디스플레이(300)가 분할된 제1 영역과 제2 영역을, 프리뷰 영역과 제어 영역, 프리뷰 영역과 리뷰 영역, 프리뷰 영역과 서브 프리뷰 영역, 또는 프리뷰 영역과 후면 프리뷰 영역으로 제공할 수 있다. 이의 예가 후술하는 도면들 도 15a 내지 도 16e에 도시된다.In operation 1309 , the processor 120 may display a user interface. According to an embodiment, the processor 120 divides the first area and the second area into which the second display 300 is divided, a preview area and a control area, a preview area and a review area, a preview area and a sub preview area, or a preview area. It can be provided as an area and a rear preview area. An example of this is shown in Figures 15A to 16E, which will be described later.

도 14는 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.14 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 14는 전자 장치(101)의 카메라 장치(308)(예: 후면 카메라 장치)가 실행된 동안, 전자 장치(101)의 상태 변화(예: 중간 상태)에 따라 카메라 장치(308)의 실행에 관련된 설정을 보정하고 디스플레이(300)의 레이아웃을 구성하는 예를 나타낼 수 있다.According to an embodiment, FIG. 14 illustrates a camera device according to a state change (eg, an intermediate state) of the electronic device 101 while the camera device 308 (eg, a rear camera device) of the electronic device 101 is running. An example of correcting settings related to the execution of 308 and configuring the layout of the display 300 may be shown.

도 14를 참조하면, 동작 1401에서, 전자 장치(101)의 프로세서(120)는 테이블 모드(예: 제3 동작 모드)를 결정할 수 있다. 일 실시예에 따르면, 프로세서(120)는 전자 장치(101)가 접힘 상태 또는 펼침 상태에서 카메라 장치(308)를 실행하는 동안, 상태 매니저(520)에 기반하여 전자 장치(101)의 중간 상태로의 상태 변화를 식별할 수 있다. Referring to FIG. 14 , in operation 1401 , the processor 120 of the electronic device 101 may determine a table mode (eg, a third operation mode). According to an embodiment, the processor 120 switches to an intermediate state of the electronic device 101 based on the state manager 520 while the electronic device 101 executes the camera device 308 in the folded state or the unfolded state. state changes can be identified.

일 실시예에 따라, 프로세서(120)는 카메라 장치(308)의 테이블 모드 결정에 기반하여 제2 디스플레이(300)를 실행할 수 있다. 예를 들어, 프로세서(120)는 제2 디스플레이(300)의 연결을 수행할 수 있다. 어떤 실시예에 따르면, 중간 상태에서는 제2 디스플레이(300)가 이미 연결된 상태(예: 사용중인 상태)일 수 있다. 어떤 실시예에 따르면, 전자 장치(101)가 제1 상태(예: 접힘 상태)에서 제3 상태(예: 중간 상태)로의 상태 변화 또는 제2 상태(예: 펼침 상태)에서 제3 상태(예: 중간 상태)로의 상태 변화에 기반하여 현재 연결되어 있는 카메라 장치와 디스플레이가 상이할 수 있다. 예를 들어, 제1 상태에서 제3 상태로의 상태 변화 시, 현재 연결되는(또는 사용되는) 장치는 제2 카메라 장치(308)(예: 후면 카메라 장치)와 제1 디스플레이(331)일 수 있다. 다른 예를 들어, 제2 상태에서 제3 상태로의 상태 변화 시, 현재 연결되는(또는 사용되는) 장치는 사용자가 사용하는 카메라 장치에 따른 제1 카메라 장치(305)(예: 전면 카메라 장치) 또는 제2 카메라 장치(308)(예: 후면 카메라 장치)와 제2 디스플레이(300)일 수 있다.According to an embodiment, the processor 120 may execute the second display 300 based on the table mode determination of the camera device 308 . For example, the processor 120 may connect the second display 300 . According to some embodiments, in the intermediate state, the second display 300 may be already connected (eg, in use). According to some embodiments, the electronic device 101 changes a state from a first state (eg, a folded state) to a third state (eg, an intermediate state) or a third state (eg, a second state (eg, an unfolded state)) : Intermediate state), the display may be different from the currently connected camera device. For example, when the state changes from the first state to the third state, the currently connected (or used) device may be the second camera device 308 (eg, a rear camera device) and the first display 331 . have. As another example, when the state changes from the second state to the third state, the currently connected (or used) device is the first camera device 305 (eg, front camera device) according to the camera device used by the user. Alternatively, it may be the second camera device 308 (eg, a rear camera device) and the second display 300 .

동작 1403에서, 프로세서(120)는 중간 상태에 따라 접히는 부분에 기반하여 제2 디스플레이(300)의 영역을 제1 영역과 제2 영역으로 구분할 수 있다. 일 실시예에 따르면, 프로세서(120)는 중간 상태에서 접히는 부분(예: 폴딩 축)을 기준으로 제2 디스플레이(300)를 두 영역(예: 제1 영역, 제2 영역)으로 분할(또는 구분)하여 미리 설정한 목적에 따라 별도의 영역으로 제공할 수 있다. 예를 들어, 프로세서(120)는 제1 영역과 제2 영역을, 프리뷰 영역과 제어 영역, 프리뷰 영역과 리뷰 영역, 프리뷰 영역과 서브 프리뷰 영역, 또는 프리뷰 영역과 후면 프리뷰 영역으로 제공할 수 있다. In operation 1403 , the processor 120 may divide the area of the second display 300 into a first area and a second area based on a folded portion according to an intermediate state. According to an embodiment, the processor 120 divides (or divides) the second display 300 into two regions (eg, a first region and a second region) based on a folded portion (eg, a folding axis) in an intermediate state. ) to provide a separate area according to the purpose set in advance. For example, the processor 120 may provide the first area and the second area as a preview area and a control area, a preview area and a review area, a preview area and a sub preview area, or a preview area and a back preview area.

동작 1405에서, 프로세서(120)는 전자 장치(101)의 테이블 모드 결정에 기반하여, 카메라 장치(308)의 속성 정보를 식별할 수 있다. 일 실시예에 따르면, 프로세서(120)는 테이블 모드 결정에 기반하여, 카메라 장치(308)의 설정을 테이블 모드에 대응하도록 설정하기 위한 지정된 설정 값과, 테이블 모드에서 사용될 수 있는 디스플레이(예: 제2 디스플레이(300))의 속성(예: 화면 사이즈 및/또는 화면 해상도)을 식별할 수 있다. In operation 1405 , the processor 120 may identify attribute information of the camera device 308 based on the table mode determination of the electronic device 101 . According to an embodiment, the processor 120 determines, based on the table mode determination, a designated setting value for setting the settings of the camera device 308 to correspond to the table mode, and a display (eg, a second display) that can be used in the table mode. 2 The properties (eg, screen size and/or screen resolution) of the display 300 ) may be identified.

동작 1407에서, 프로세서(120)는 프리뷰를 위한 제1 영역에 기반하여 카메라 장치(308)의 속성(또는 옵션) 정보를 업데이트 할 수 있다. 예를 들어, 프로세서(120)는 현재 연결되어 있는 카메라 장치(308)의 속성(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과)을 테이블 모드에서 제1 영역에 최적화하여 동작하도록 속성 정보를 업데이트 할 수 있다. 예를 들어, 프로세서(120)는 이전 상태에서 사용 중이던 카메라 장치(308)의 속성(예: Focus ROI, tracking object ROI, effect, 인식 영역, 및/또는 사용자 입력의 위치 및 크기에 관련된 정보)을 제1 영역에 따라 변경되는 프리뷰에 대응하도록 새로 계산하여 관련 설정 정보를 업데이트 할 수 있다. 일 실시예에 따라, 프로세서(120)는 업데이트된 설정 정보를 이용하여 기존 설정 상태(예: 펼침 상태에서의 설정 상태) 그대로 프리뷰를 분할된 제1 영역을 통해 제공할 수 있다. 예를 들어, 프로세서(120)는 카메라 장치(308)의 속성(예: 프리뷰 상 위치하는 포커스의 위치, 사용자가 입력한 줌 인/아웃 레벨, 사용자가 입력한 줌 위치, 프리뷰 해상도 및/또는 비율 정보)을 유지하고, 중간 상태에 따른 새로운 사용자 경험에 대응하도록 프리뷰 및 레이아웃을 조절하여, 사용자에게 기존 설정 상태 그대로 프리뷰를 제공할 수 있다.In operation 1407 , the processor 120 may update attribute (or option) information of the camera device 308 based on the first area for preview. For example, the processor 120 operates by optimizing the properties (eg, camera resolution, standard, wide-angle, telephoto, and/or special shooting effect) of the currently connected camera device 308 to the first area in the table mode. You can update the attribute information to do so. For example, the processor 120 may store attributes of the camera device 308 that were in use in the previous state (eg, information related to the location and size of the focus ROI, tracking object ROI, effect, recognition area, and/or user input). The related setting information may be updated by newly calculated to correspond to the preview changed according to the first area. According to an embodiment, the processor 120 may provide a preview through the divided first area as it is in an existing setting state (eg, a setting state in an unfolded state) by using the updated setting information. For example, the processor 120 may determine the properties of the camera device 308 (eg, a focus position on a preview, a zoom in/out level input by a user, a zoom position input by a user, a preview resolution and/or a ratio) information), and by adjusting the preview and layout to correspond to a new user experience according to the intermediate state, the preview can be provided to the user as it is in the existing setting state.

동작 1409에서, 프로세서(120)는 제1 영역과 제2 영역에 지정된 레이아웃을 식별할 수 있다. 일 실시예에 따르면, 제1 영역과 제2 영역을 통해 카메라 장치(308)의 이용에 지정된 레이아웃을 식별할 수 있다. 예를 들어, 프로세서(120)는 제1 영역의 프리뷰 상태(예: 효과 적용 여부, 플립 여부) 또는 사용자 설정 상태에 기반하여 제2 영역에 설정되는 서브 영역(예: 제어 영역, 리뷰 영역, 서브 프리뷰 영역, 또는 후면 프리뷰 영역)에 관련된 레이아웃을 식별할 수 있다. 일 실시예에 따라, 프로세서(120)는 제1 영역에 프리뷰와 함께 제공하도록 지정된 인터페이스(또는 객체)와 제2 영역에 할당되는 서브 영역에 연관된 인터페이스(또는 객체)에 기반하여 지정된 레이아웃을 식별할 수 있다. In operation 1409 , the processor 120 may identify layouts assigned to the first area and the second area. According to an embodiment, a layout designated for use of the camera device 308 may be identified through the first area and the second area. For example, the processor 120 sets the sub-region (eg, control region, review region, sub-region) in the second region based on a preview state (eg, whether an effect is applied or flip) of the first region or a user setting state of the first region. A layout related to the preview area or the rear preview area) may be identified. According to an embodiment, the processor 120 may identify a layout designated based on an interface (or object) designated to be provided with a preview in the first region and an interface (or object) associated with a sub-region allocated to the second region. can

동작 1411에서, 프로세서(120)는 제1 영역을 통해 제1 사용자 인터페이스를 제공할 수 있다. 일 실시예에 따르면, 프로세서(120)는 카메라 장치(308)로부터 획득되는 프리뷰 데이터를 제2 디스플레이(300)의 제1 영역을 통해 제공할 수 있다. In operation 1411, the processor 120 may provide a first user interface through the first area. According to an embodiment, the processor 120 may provide preview data obtained from the camera device 308 through the first area of the second display 300 .

동작 1413에서, 프로세서(120)는 제2 영역을 통해 제2 사용자 인터페이스를 제공할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 영역에 지정된 서브 영역에 대응하는 사용자 인터페이스를 제공할 수 있다. 일 실시예에 따라, 프로세서(120)는 지정된 서브 영역에 따라, 카메라 장치(308) 및/또는 프리뷰와 연관된 다양한 동작 정보를 사용자 인터페이스에 포함하여 제공할 수 있다. 다양한 실시예들에 따르면, 동작 1411과 동작 1413은 도시된 순서에 한정하지 않으며, 동작 1411과 동작 1413은 순차적으로, 병렬적으로, 역순차적으로, 또는 휴리스틱하게 수행될 수 있다.In operation 1413 , the processor 120 may provide a second user interface through the second area. According to an embodiment, the processor 120 may provide a user interface corresponding to the sub-region designated in the second area. According to an embodiment, the processor 120 may provide various types of motion information related to the camera device 308 and/or a preview in a user interface according to a designated sub-region. According to various embodiments, operations 1411 and 1413 are not limited to the illustrated order, and operations 1411 and 1413 may be performed sequentially, in parallel, in reverse order, or heuristically.

다양한 실시예들에 따르면, 프로세서(120)는 전자 장치(101)의 중간 상태에서, 연결된 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)를 연결할 수 있고, 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 동시에 표시하도록 하는 동작을 수행할 수도 있다.According to various embodiments, the processor 120 may connect the first display 331 while displaying a preview through the connected second display 300 in an intermediate state of the electronic device 101 , An operation to simultaneously display a preview through the display 331 and the second display 300 may be performed.

다양한 실시예들에 따르면, 프로세서(120)는 중간 상태에서 펼침 상태로 상태 변경 시에는 디스플레이(예: 제2 디스플레이(300))를 다시 하나의 영역으로 설정하여 프리뷰 및 레이아웃을 구성하고, 중간 상태로 변경 시와 동일한 방법으로 설정 정보를 업데이트 하고, 업데이트된 설정 정보를 이용하여 기존 설정 상태 그대로 프리뷰를 제공할 수 있다.According to various embodiments, when the state is changed from the intermediate state to the unfolded state, the processor 120 sets the display (eg, the second display 300 ) to one area again to configure the preview and layout, and the intermediate state It is possible to update the setting information in the same way as when changing to , and provide a preview as it is in the existing setting state using the updated setting information.

도 15a, 도 15b 및 도 15c는 다양한 실시예들에 따른 전자 장치의 중간 상태에서 동작하는 예를 설명하기 위한 도면들이다.15A, 15B, and 15C are diagrams for explaining an example of an electronic device operating in an intermediate state according to various embodiments of the present disclosure;

도 15a를 참조하면, 도 15a는 전자 장치(101)가 펼침 상태에서 카메라 장치(후면 카메라 장치(308) 또는 전면 카메라 장치(305))를 통해 획득하는 프리뷰 데이터의 프리뷰(1510)를 디스플레이(300)(예: 메인 또는 플렉서블 디스플레이)를 통해 표시하는 상태의 예를 나타낼 수 있다.Referring to FIG. 15A , FIG. 15A is a display 300 showing a preview 1510 of preview data obtained through a camera device (rear camera device 308 or front camera device 305) when the electronic device 101 is in an unfolded state. ) (eg, main or flexible display) may indicate an example of a displayed state.

도 15a에 도시한 바와 같이, 전자 장치(101)는 디스플레이(300)의 지정된 영역(예: 프리뷰를 위한 영역으로, 디스플레이(300)의 일부 화면 또는 전체 화면으로 설정)을 통해 프리뷰(1510)를 표시할 수 있다. 일 실시예에 따라, 전자 장치(101)는 프리뷰(1510)와 함께 카메라 장치(305, 308) 및/또는 프리뷰(1510)와 연관된 다양한 동작 정보(예: 타이머 카운트, palm detection 유무, 옵션 설정 정보, 메뉴 객체, 촬영 객체 및/또는 비디오 레코딩 타임)를 위한 레이아웃(1520, 1530)을 적어도 하나의 지정된 영역을 통해 제공할 수 있다. 일 실시예에 따라, 레이아웃(1520, 1530)은 프리뷰(1510) 상에 중첩(overlay 또는 overlap)하여 제공될 수 있다. As shown in FIG. 15A , the electronic device 101 performs a preview 1510 through a designated area of the display 300 (eg, as an area for preview, set as a partial screen or full screen of the display 300 ). can be displayed According to an embodiment, the electronic device 101 includes the preview 1510 together with the camera devices 305 and 308 and/or various motion information related to the preview 1510 (eg, timer count, presence or absence of palm detection, option setting information). , a menu object, a shooting object, and/or a video recording time) for layouts 1520 and 1530 may be provided through at least one designated area. According to an embodiment, the layouts 1520 and 1530 may be provided by overlapping (overlay or overlap) on the preview 1510 .

도 15b를 참조하면, 도 15b는 전자 장치(101)가 펼침 상태에서 중간 상태로 상태 변화되어, 중간 상태에서 프리뷰(1510)와 레이아웃(1520, 1530)을 제공하는 기존 방식의 예를 나타낼 수 있다.Referring to FIG. 15B , FIG. 15B may show an example of a conventional method in which the electronic device 101 is changed from an unfolded state to an intermediate state, and provides a preview 1510 and layouts 1520 and 1530 in the intermediate state. .

도 15b에 도시한 바와 같이, 기존 방식에서는, 전자 장치(101)의 중간 상태로의 상태 변화에 관계 없이, 기존의 레이아웃(예: 도 15a의 펼침 상태에서의 레이아웃)을 그대로 유지하여 제공되고 있다. 따라서, 도 15b의 예시와 같이, 기존 방식에서는, 기존의 레이아웃 유지로 인하여, 프리뷰(1510) 화면의 적어도 일부가 접히는 부분이 발생할 수 있다. 또한, 기존 방식에서는, 고정되지 않은 부분에 카메라 장치(305, 308)의 조작과 관련된 레이아웃(1520)이 제공됨에 따라, 카메라 장치(305, 308)의 옵션 또는 기능 설정을 위한 사용자 입력에 따라, 전자 장치(101)의 흔들림 및/또는 움직임이 발생할 수 있다. 이러한 경우, 사용자는 전자 장치(101)를 원위치로 고정하는 것과 같이 구도를 새로 잡기 위한 불편함이 있다.As shown in FIG. 15B , in the conventional method, the existing layout (eg, the layout in the unfolded state of FIG. 15A ) is maintained and provided regardless of the change in the state of the electronic device 101 to the intermediate state. . Accordingly, as in the example of FIG. 15B , in the existing method, a portion in which at least a portion of the preview screen 1510 is folded may occur due to maintenance of the existing layout. In addition, in the existing method, as a layout 1520 related to manipulation of the camera devices 305 and 308 is provided in a non-fixed portion, according to a user input for setting options or functions of the camera devices 305 and 308, Shaking and/or movement of the electronic device 101 may occur. In this case, the user is inconvenient to create a new composition, such as fixing the electronic device 101 to its original position.

도 15c를 참조하면, 도 15c는 다양한 실시예들에 따른 전자 장치(101)가 펼침 상태에서 중간 상태로 상태 변화되어, 중간 상태에서 프리뷰(1550)와 레이아웃(1580)을 제공하는 예를 나타낼 수 있다.Referring to FIG. 15C , FIG. 15C illustrates an example in which the electronic device 101 is changed from an unfolded state to an intermediate state and provides a preview 1550 and a layout 1580 in the intermediate state according to various embodiments of the present disclosure. have.

도 15c에 도시한 바와 같이, 다양한 실시예들에 따르면, 전자 장치(101)는 중간 상태에서 접히는 부분(예: 폴딩 축 A)을 기준으로 디스플레이(300)를 제1 영역(1560)과 제2 영역(1570)으로 분할(또는 구분)하여 프리뷰 영역(1560)과 서브 영역(1570)으로 제공할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 영역(또는 프리뷰 영역)(1560)과 제2 영역(또는 서브 영역)(1570)의 분할에 따라, 카메라 장치(305, 308)의 프리뷰(1550)가 제1 영역(1560) 상에 표시되는 위치, 제2 및/또는 레이아웃(1580)을 제어하여 중간 상태에 최적화된 사용자 경험을 제공할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 영역(1560)에 대응하도록 카메라 장치(305, 308)의 속성을 변경할 수 있다. 예를 들어, 카메라 장치(305, 308)의 속성 변경은, 예를 들면, 프리뷰 상 위치하는 포커스(또는 포커싱 영역), 트래킹(tracking) 객체, ROI(예: 터치 입력 위치), 및/또는 효과(effect) 적용 영역과 같은 속성의 크기 및 위치를 포함할 수 있다.As shown in FIG. 15C , according to various embodiments, the electronic device 101 sets the display 300 in the first area 1560 and the second area based on the folded portion (eg, the folding axis A) in the intermediate state. The region 1570 may be divided (or divided) and provided as a preview region 1560 and a sub region 1570 . According to an embodiment, according to the division of the first area (or preview area) 1560 and the second area (or sub-area) 1570 , the electronic device 101 previews the camera devices 305 and 308 ( The user experience optimized for the intermediate state may be provided by controlling the position, the second, and/or the layout 1580 of the 1550 displayed on the first area 1560 . According to an embodiment, the electronic device 101 may change the properties of the camera devices 305 and 308 to correspond to the first area 1560 . For example, changing the properties of the camera device 305 , 308 may result in, for example, a focus (or focusing area) located on a preview, a tracking object, an ROI (eg, a touch input location), and/or an effect (effect) May include the size and position of attributes such as the area of application.

일 실시예에 따르면, 전자 장치(101)는 제1 영역(1560)을 통해서는 카메라 장치(305, 308)의 속성 변경에 따라 제어된 프리뷰(1580)를 제공할 수 있다. 예를 들어, 도 15b와 도 15c를 비교하면, 프리뷰(1550)가 조절되어 제1 영역(1560)의 화면 사이즈에 대응하는 프리뷰(1550)로 제공될 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 영역(1560)을 통해 사용자와 비상호작용(non-interaction)하는(또는 상호작용 하지 않는 또는 사용자 입력을 필요로 하지 않는) 인터페이스(예: 정보)에 관련된 레이아웃을 더 포함하여 제공할 수도 있다.According to an embodiment, the electronic device 101 may provide a preview 1580 controlled according to a change in the properties of the camera devices 305 and 308 through the first area 1560 . For example, comparing FIGS. 15B and 15C , the preview 1550 may be adjusted and provided as a preview 1550 corresponding to the screen size of the first area 1560 . According to an embodiment, the electronic device 101 may non-interact with the user through the first area 1560 (or do not interact or require user input) through an interface (eg, information ) may be provided by further including a related layout.

일 실시예에 따르면, 전자 장치(101)는 카메라 장치(305, 308) 및/또는 프리뷰(1550)와 관련된 레이아웃(1580)을 재구성하여 제2 영역(1570)을 통해 제공할 수 있다. 예를 들어, 도 15b와 도 15c를 비교하면, 도 15b의 레이아웃(1520)을 제2 영역(1570)으로 이동 배치하여, 도 15c의 예시와 같이 레이아웃(1520, 1530)이 합쳐진 형태의 레이아웃(1580)으로 제공될 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영역(1570)을 통해 사용자와 상호작용 하는(또는 사용자 입력을 필요로 하는) 인터페이스(예: 소프트웨어 버튼)에 관련된 레이아웃을 제공할 수 있다.According to an embodiment, the electronic device 101 may reconfigure the layout 1580 related to the camera devices 305 and 308 and/or the preview 1550 and provide it through the second area 1570 . For example, comparing FIGS. 15B and 15C, the layout 1520 of FIG. 15B is moved to the second area 1570, and the layouts 1520 and 1530 are combined as in the example of FIG. 15C. 1580) may be provided. According to an embodiment, the electronic device 101 may provide a layout related to an interface (eg, a software button) that interacts with the user (or requires a user input) through the second area 1570 .

다양한 실시예들에 따르면, 전자 장치(101)는 중간 상태에서 제1 영역(1560)과 제2 영역(1570)을 미리 설정한 목적에 따라 별도의 영역으로 제공할 수 있다. 예를 들어, 프로세서(120)는 제1 영역(1560)과 제2 영역(1570)을, 프리뷰 영역과 제어 영역, 프리뷰 영역과 리뷰 영역, 프리뷰 영역과 서브 프리뷰 영역, 또는 프리뷰 영역과 후면 프리뷰 영역으로 제공할 수 있다. 다양한 실시예들에 따라, 제2 영역(1570)을 다양한 서브 영역으로 지정하여 사용하는 예가 후술하는 도면들 도 16a 내지 도 16e에 도시된다.According to various embodiments, the electronic device 101 may provide the first area 1560 and the second area 1570 as separate areas according to a preset purpose in an intermediate state. For example, the processor 120 divides the first area 1560 and the second area 1570 into a preview area and a control area, a preview area and a review area, a preview area and a sub preview area, or a preview area and a back preview area. can be provided as An example of designating and using the second region 1570 as various sub-regions according to various embodiments is illustrated in FIGS. 16A to 16E , which will be described later.

도 16a, 도 16b, 도 16c, 도 16d 및 도 16e는 다양한 실시예들에 따른 전자 장치의 중간 상태에서 서브 영역을 제공하는 예를 설명하기 위한 도면들이다.16A, 16B, 16C, 16D, and 16E are diagrams for explaining an example of providing a sub-region in an intermediate state of an electronic device according to various embodiments of the present disclosure;

도 16a 내지 도 16e에 도시한 바와 같이, 다양한 실시예들에 따르면, 전자 장치(101)는 중간 상태에서 접히는 부분(예: 폴딩 축 A)을 기준으로 디스플레이(300)를 제1 영역(1560)과 제2 영역(1570)으로 분할(또는 구분)하여 프리뷰 영역과 서브 영역으로 제공할 수 있다.16A to 16E , according to various embodiments, the electronic device 101 moves the display 300 to a first area 1560 based on a folded portion (eg, a folding axis A) in an intermediate state. and a second area 1570 may be divided (or divided) and provided as a preview area and a sub area.

도 16a를 참조하면, 도 16a는 서브 영역을 제어 영역(1610)으로 제공하는 예를 나타낼 수 있다. 예를 들면, 전자 장치(101)는 디스플레이(300)의 제1 영역(1560)과 제2 영역(1570)을, 각각 프리뷰 영역과 제어 영역(1610)으로 구별하여 제공할 수 있다. 일 실시예에 따라, 제어 영역(1610)은 제1 영역(1560)의 프리뷰(1600)에 촬영 효과(예: 자동, 따스한, 차분한, 흑백, 선명하게, 및/또는 만화와 같은 효과)를 선택 설정할 수 있는 적어도 하나의 효과 객체(1615)와 촬영 객체(1601)(예: 촬영 버튼)를 포함하는 레이아웃으로 구성하여 제공할 수 있다. 일 실시예에 따라, 제어 영역(1610)에서 선택되는 효과 객체(1615)에 대응하여 효과가 프리뷰(1600)에 적용되어 표시될 수 있다.Referring to FIG. 16A , FIG. 16A may show an example of providing a sub-region as a control region 1610 . For example, the electronic device 101 may provide the first area 1560 and the second area 1570 of the display 300 separately into a preview area and a control area 1610 , respectively. According to one embodiment, the control area 1610 selects a shooting effect (eg, auto, warm, calm, black and white, sharp, and/or cartoon-like effect) in the preview 1600 of the first area 1560 . A layout including at least one settable effect object 1615 and a photographing object 1601 (eg, a photographing button) may be provided and configured. According to an embodiment, an effect may be applied to the preview 1600 and displayed in response to the effect object 1615 selected in the control area 1610 .

도 16b를 참조하면, 도 16b는 서브 영역을 리뷰 영역(1620)으로 제공하는 예를 나타낼 수 있다. 예를 들면, 전자 장치(101)는 디스플레이(300)의 제1 영역(1560)과 제2 영역(1570)을, 각각 프리뷰 영역과 리뷰 영역(1620)으로 구별하여 제공할 수 있다. 일 실시예에 따라, 리뷰 영역(1620)은 프리뷰 영역의 프리뷰(1600)에 기반하여 실질적으로 촬영되는 경우 그 촬영 결과(예: 촬영 이미지(1625))를 제공하는 영역으로 이용(또는 전환)될 수 있다. 일 실시예에 따라, 서브 영역을 통해 제공되는 촬영 객체(1601)의 선택에 기반하여 촬영이 수행되는 경우, 서브 영역이 리뷰 영역(1620)으로 전환될 수 있다.Referring to FIG. 16B , FIG. 16B may show an example of providing a sub-region as a review area 1620 . For example, the electronic device 101 may provide the first area 1560 and the second area 1570 of the display 300 separately into a preview area and a review area 1620 , respectively. According to an embodiment, the review area 1620 may be used (or converted) as an area for providing a photographing result (eg, a photographed image 1625) when the review area 1620 is actually photographed based on the preview 1600 of the preview area. can According to an exemplary embodiment, when capturing is performed based on selection of the capturing object 1601 provided through the sub area, the sub area may be converted into the review area 1620 .

도 16c를 참조하면, 도 16c는 서브 영역을 서브 프리뷰(1630)으로 제공하는 예를 나타낼 수 있다. 예를 들면, 전자 장치(101)는 디스플레이(300)의 제1 영역(1560)과 제2 영역(1570)을, 각각 프리뷰 영역과 서브 프리뷰 영역(1630)으로 구별하여 제공할 수 있다. 일 실시예에 따라, 서브 프리뷰 영역(1630)은 제1 영역(1560)의 프리뷰(1600)에 대응하는 프리뷰(예: 원본 프리뷰(1631)), 원본 프리뷰(1631) 상에 중첩하여 촬영 효과를 선택 설정할 수 있는 적어도 하나의 효과 객체(1633), 및/또는 촬영 객체(1601)를 포함하는 레이아웃으로 구성하여 제공할 수 있다. 일 실시예에 따라, 서브 프리뷰 영역(1630)에서 선택되는 효과 객체(1633)에 대응하는 효과가 프리뷰(1600)에 적용되어 표시될 수 있고, 서브 프리뷰 영역(1630)을 통해 원본 프리뷰(1631)가 표시될 수 있다. 이를 통해, 사용자는 효과 적용 전과 효과 적용 후의 차이를 쉽게 인지하도록 할 수 있다.Referring to FIG. 16C , FIG. 16C may show an example of providing a sub region as a sub preview 1630 . For example, the electronic device 101 may provide the first area 1560 and the second area 1570 of the display 300 separately into a preview area and a sub preview area 1630 , respectively. According to an embodiment, the sub preview area 1630 overlaps the preview corresponding to the preview 1600 of the first area 1560 (eg, the original preview 1631) and the original preview 1631 to obtain a shooting effect. It may be provided in a layout including at least one effect object 1633 that can be selectively set and/or a photographing object 1601 . According to an embodiment, an effect corresponding to the effect object 1633 selected in the sub preview area 1630 may be applied to the preview 1600 and displayed, and the original preview 1631 may be displayed through the sub preview area 1630 . may be displayed. Through this, the user can easily recognize the difference between before the effect application and after the effect application.

도 16d를 참조하면, 도 16d는 서브 영역을 후면 프리뷰 영역(1640)으로 제공하는 예를 나타낼 수 있다. 예를 들면, 전자 장치(101)는 디스플레이(300)의 제1 영역(1560)과 제2 영역(1570)을, 각각 프리뷰 영역과 후면 프리뷰 영역(1640)으로 구별하여 제공할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 사용자 입력에 기반하여 전면 카메라 장치(305)와 후면 카메라 장치(308)를 각각 연결할 수 있다. 일 실시예에 따라, 전자 장치(101)는 전면 카메라 장치(305)와 후면 카메라 장치(308)가 동시에 사용되는 경우, 제1 영역(1560)을 전면 카메라 장치(305)의 프리뷰 영역(예: 전면 프리뷰 영역)으로 제공할 수 있고, 제2 영역(1570)을 후면 카메라 장치(308)의 프리뷰 영역(예: 후면 프리뷰 영역(1640))으로 제공할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 전면 카메라 장치(305)로부터 획득되는 프리뷰 데이터의 프리뷰(1600)를 제1 영역(1560)을 통해 표시되는 동안, 사용자 입력에 기반하여 후면 카메라 장치(308)를 연결하여, 후면 카메라 장치(308)로부터 획득되는 프리뷰 데이터의 프리뷰(1645)를 후면 프리뷰 영역(1640)을 통해 표시하도록 할 수 있다. 예를 들면, 전자 장치(101)는 제1 영역(1560)과 제2 영역(1570)을 통해, 전면 카메라 장치(305)의 프리뷰(1600)와 후면 카메라 장치(308)의 프리뷰(1645)를 동시에 제공할 수 있다. Referring to FIG. 16D , FIG. 16D may show an example of providing a sub-region as a rear preview area 1640 . For example, the electronic device 101 may provide the first area 1560 and the second area 1570 of the display 300 separately into a preview area and a rear preview area 1640 , respectively. According to an embodiment, the electronic device 101 may connect the front camera device 305 and the rear camera device 308 based on a user input, respectively. According to an embodiment, when the front camera device 305 and the rear camera device 308 are used simultaneously, the electronic device 101 sets the first area 1560 to a preview area (eg, the front camera device 305 ). The front preview area) may be provided, and the second area 1570 may be provided as a preview area (eg, the rear preview area 1640 ) of the rear camera device 308 . According to an embodiment, the electronic device 101 displays the preview 1600 of the preview data obtained from the front camera device 305 through the first area 1560, based on the user input, the rear camera device ( 308 may be connected to display a preview 1645 of preview data obtained from the rear camera device 308 through the rear preview area 1640 . For example, the electronic device 101 may view the preview 1600 of the front camera device 305 and the preview 1645 of the rear camera device 308 through the first area 1560 and the second area 1570 . can be provided at the same time.

어떤 실시예에 따르면, 전자 장치(101)는 사용자 입력에 기반하여 제1 영역(1560)과 제2 영역(1570)의 역할을 전환할 수도 있다. 예를 들어, 전자 장치(101)는 전면 카메라 장치(305)로부터 획득되는 프리뷰 데이터의 프리뷰(1600)를 제2 영역(1570)을 통해 제공하고, 후면 카메라 장치(308)로부터 획득되는 프리뷰 데이터의 프리뷰(1645)를 제1 영역(1560)을 통해 제공할 수 있다.According to an embodiment, the electronic device 101 may switch roles of the first area 1560 and the second area 1570 based on a user input. For example, the electronic device 101 provides a preview 1600 of preview data obtained from the front camera device 305 through the second area 1570 , and provides a preview of preview data obtained from the rear camera device 308 . A preview 1645 may be provided through the first area 1560 .

도 16e를 참조하면, 도 16e는 제2 영역(1570)을 전자 장치(101)의 카메라 장치(예: 전면 카메라 장치(305) 또는 후면 카메라 장치(308))의 프리뷰 영역(1650)으로 제공하고, 제1 영역(1560)을 외부 전자 장치(미도시)의 카메라 장치(미도시)의 프리뷰 영역으로 제공하는 예를 나타낼 수 있다. 어떤 실시예에 따르면, 전자 장치(101)의 설정에 따라 제1 영역(1560)을 전자 장치(101)의 카메라 장치(305, 308)의 프리뷰 영역으로 제공하고, 제2 영역(1570)을 외부 전자 장치의 카메라 장치의 프리뷰 영역(1650)으로 제공할 수도 있다.Referring to FIG. 16E , in FIG. 16E , a second area 1570 is provided as a preview area 1650 of a camera device (eg, a front camera device 305 or a rear camera device 308 ) of the electronic device 101 , , an example of providing the first area 1560 as a preview area of a camera device (not shown) of an external electronic device (not shown) may be shown. According to an exemplary embodiment, the first area 1560 is provided as a preview area of the camera devices 305 and 308 of the electronic device 101 according to a setting of the electronic device 101 , and the second area 1570 is provided to the outside. It may be provided as the preview area 1650 of the camera device of the electronic device.

일 실시예에 따르면, 전자 장치(101)는 사용자 입력에 기반하여 영상 통화 기능을 실행할 수 있고, 영상 통화 기능 실행 시에 연결되는 카메라 장치(예: 전면 카메라 장치(305))의 제1 프리뷰(1651)와, 상대방의 외부 전자 장치로부터 수신되는 외부 전자 장치의 카메라 장치의 제2 프리뷰(1653)를 동시에 제공할 수 있다. 예시 A의 경우 전자 장치(101)의 펼침 상태에서 제1 프리뷰(1651)와 제2 프리뷰(1653)를 제공하는 예를 나타낼 수 있다. 예시 B의 경우 전자 장치(101)의 중간 상태에서, 접히는 부분(예: 폴딩 축 A)을 기준으로 구분된 제1 영역(1560)과 제2 영역(1570)을 통해 제1 프리뷰(1651)와 제2 프리뷰(1653)를 제공하는 예를 나타낼 수 있다. 일 실시예에 따라, 전자 장치(101)는 서브 영역(즉, 제2 영역(1570))을 통해 영상 통화 기능에 관련된 제어 객체(1655)를 포함하는 레이아웃으로 구성하여 제공할 수 있다.According to an embodiment, the electronic device 101 may execute a video call function based on a user input, and a first preview ( 1651 ) and the second preview 1653 of the camera device of the external electronic device received from the external electronic device of the other party may be simultaneously provided. In Example A, an example in which the first preview 1651 and the second preview 1653 are provided in the unfolded state of the electronic device 101 may be illustrated. In the case of Example B, in the intermediate state of the electronic device 101, the first preview 1651 and An example of providing the second preview 1653 may be shown. According to an embodiment, the electronic device 101 may configure and provide a layout including a control object 1655 related to a video call function through a sub-area (ie, the second area 1570 ).

다양한 실시예들에 따르면, 전자 장치(101)는 제1 영역(1560)에서는 사용자와 비상호작용하는(또는 상호작용 하지 않는 또는 사용자 입력을 필요로 하지 않는) 인터페이스(예: 정보)에 관련된 레이아웃을 제공할 수 있고, 제2 영역(1570)에서는 사용자와 상호작용 하는(또는 사용자 입력을 필요로 하는) 인터페이스(예: 소프트웨어 버튼)에 관련된 레이아웃을 제공할 수 있다.According to various embodiments, in the first area 1560 , the electronic device 101 displays a layout related to an interface (eg, information) that does not interact with the user (or does not interact with or does not require user input). may be provided, and in the second area 1570 , a layout related to an interface (eg, a software button) that interacts with a user (or requires a user input) may be provided.

도 17은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.17 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

도 17을 참조하면, 동작 1701에서, 전자 장치(101)의 프로세서(120)는 카메라 장치(예: 후면 카메라 장치(308))의 실행을 감지할 수 있다. 일 실시예에 따르면, 프로세서(120)는 전자 장치(101)의 접힘 상태, 펼침 상태 또는 중간 상태에서, 사용자의 카메라 장치(308)를 실행하는 사용자 입력에 기반하여 카메라 장치(308)를 실행할 수 있다. Referring to FIG. 17 , in operation 1701 , the processor 120 of the electronic device 101 may detect execution of a camera device (eg, the rear camera device 308 ). According to an embodiment, the processor 120 may execute the camera device 308 based on a user input for executing the camera device 308 of the user in the folded state, the unfolded state, or the intermediate state of the electronic device 101 . have.

동작 1703에서, 프로세서(120)는 카메라 장치(308)의 실행 감지에 기반하여, 전자 장치(101)(또는 전자 장치(101)의 제2 디스플레이(300))의 상태를 식별할 수 있다. 일 실시예에 따라, 프로세서(120)는 상태 감지 센서의 센서 데이터에 기반하여 전자 장치(101)가 제1 상태(예: 접힘 상태)인지, 제2 상태(예: 펼침 상태)인지, 또는 제3 상태(예: 중간 상태)인지 여부를 식별할 수 있다.In operation 1703 , the processor 120 may identify the state of the electronic device 101 (or the second display 300 of the electronic device 101 ) based on the detection of execution of the camera device 308 . According to an embodiment, the processor 120 determines whether the electronic device 101 is in a first state (eg, a folded state), a second state (eg, an unfolded state), or a second state based on the sensor data of the state detection sensor. It is possible to identify whether it is a 3 state (eg, an intermediate state).

동작 1703에서, 프로세서(120)는 전자 장치(101)의 제1 상태(예: 접힘 상태)를 식별하는 경우, 동작 1705에서, 카메라 장치(308)의 카메라 연결(camera connection)(또는 활성화) 및 제1 디스플레이(331)의 디스플레이 연결(display connection)을 수행할 수 있다.In operation 1703 , when the processor 120 identifies a first state (eg, a folded state) of the electronic device 101 , in operation 1705 , a camera connection (or activation) of the camera device 308 and Display connection of the first display 331 may be performed.

동작 1707에서, 프로세서(120)는 현재 연결되어 있는 제1 디스플레이(331)를 통해 프리뷰(예: 제1 프리뷰)를 표시할 수 있다. 일 실시예에 따르면, 프로세서(120)는 카메라 장치(308)로부터 획득되는 프리뷰 데이터를 제1 프리뷰 버퍼(560)를 통해 제1 디스플레이(331)에 전달하고, 제1 디스플레이(331)을 통해 프리뷰를 표시할 수 있다.In operation 1707 , the processor 120 may display a preview (eg, a first preview) through the currently connected first display 331 . According to an embodiment, the processor 120 transmits preview data obtained from the camera device 308 to the first display 331 through the first preview buffer 560 , and previews the data through the first display 331 . can be displayed.

동작 1703에서, 프로세서(120)는 전자 장치(101)의 제2 상태(예: 펼침 상태)(또는 제3 상태(예: 중간 상태))를 식별하는 경우, 동작 1709에서, 카메라 장치(308)의 카메라 연결 및 제2 디스플레이(300)의 디스플레이 연결을 수행할 수 있다.In operation 1703 , when the processor 120 identifies a second state (eg, an unfolded state) (or a third state (eg, an intermediate state)) of the electronic device 101 , in operation 1709 , the camera device 308 may perform a camera connection and a display connection of the second display 300 .

동작 1711에서, 프로세서(120)는 현재 연결되어 있는 제2 디스플레이(300)를 통해 프리뷰(예: 제2 프리뷰)를 표시할 수 있다. 일 실시예에 따르면, 프로세서(120)는 카메라 장치(308)로부터 획득되는 프리뷰 데이터를 제2 프리뷰 버퍼(570)를 통해 제2 디스플레이(300)에 전달하고, 제2 디스플레이(300)를 통해 프리뷰)를 표시할 수 있다.In operation 1711 , the processor 120 may display a preview (eg, a second preview) through the currently connected second display 300 . According to an embodiment, the processor 120 transmits preview data obtained from the camera device 308 to the second display 300 through the second preview buffer 570 , and previews the data through the second display 300 . ) can be displayed.

일 실시예에 따르면, 제1 프리뷰와 제2 프리뷰는, 연결되어 있는 제1 디스플레이(331)의 속성(예: 화면 사이즈 및/또는 화면 해상도)에 따라 다른 설정 값으로 프리뷰 데이터를 획득하는 카메라 장치(308)의 속성(예: 카메라 해상도, 표준, 광각, 망원, 및/또는 특수 촬영 효과)에 따라 다른 속성의 프리뷰로 제공될 수 있다.According to an embodiment, the first preview and the second preview are a camera device that acquires preview data with different setting values according to properties (eg, screen size and/or screen resolution) of the connected first display 331 . According to the property of 308 (eg, camera resolution, standard, wide angle, telephoto, and/or special shooting effect), it may be provided as a preview of another property.

다양한 실시예들에 따르면, 카메라 장치(308)의 실행에 따라, 동작 1707 또는 동작 1711과 같이 제1 디스플레이(331) 또는 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안에, 연결되지 않은 다른 디스플레이를 통해, 카메라 장치(308)의 프리뷰를 동시에 표시할 수 있다. 일 실시예에 따르면, 프로세서(120)는 현재 연결하고 있는 카메라 장치(308)의 프리뷰를 제1 디스플레이(331) 또는 제2 디스플레이(300)에 개별적으로, 또는 제1 디스플레이(331)와 제2 디스플레이(300)에 동시에 표시하도록 제어할 수 있다. 이의 예가 후술하는 도면들을 참조하여 설명된다. According to various embodiments, according to the execution of the camera device 308 , while displaying a preview through the first display 331 or the second display 300 as in operation 1707 or operation 1711 , another display that is not connected Through , a preview of the camera device 308 may be simultaneously displayed. According to an embodiment, the processor 120 may individually display a preview of the currently connected camera device 308 on the first display 331 or the second display 300 , or between the first display 331 and the second display 300 . The display 300 may be controlled to be displayed simultaneously. An example thereof is described with reference to the drawings to be described later.

도 18은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.18 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

도 18을 참조하면, 동작 1801에서, 전자 장치(101)의 프로세서(120)는 전자 장치(101)의 펼침 상태에서 제2 디스플레이(300)를 통해 프리뷰(예: 제2 프리뷰)를 표시할 수 있다.Referring to FIG. 18 , in operation 1801 , the processor 120 of the electronic device 101 may display a preview (eg, a second preview) through the second display 300 in the unfolded state of the electronic device 101 . have.

동작 1803에서, 프로세서(120)는 멀티 프리뷰 표시를 위한 트리거를 감지할 수 있다. 일 실시예에 따르면, 프로세서(120)는 전자 장치(101)의 펼침 상태에서 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온/오프 이벤트를 발생할 수 있는 소프트웨어적인 인터페이스(예: 소프트웨어 버튼 또는 토글 버튼), 물리적인 인터페이스(예: 하드웨어 키), 음성 인터페이스(예: 보이스 커맨드), 및/또는 제스처 인터페이스(예: palm detection)와 같은 지정된 인터페이스를 통한 사용자 입력에 기반하여 멀티 프리뷰 표시를 위한 트리거를 감지할 수 있다.In operation 1803, the processor 120 may detect a trigger for displaying a multi-preview. According to an embodiment, the processor 120 is software capable of generating an on/off event of the first display 331 while displaying a preview through the second display 300 in the unfolded state of the electronic device 101 . User input through a designated interface, such as a physical interface (eg, a software button or toggle button), a physical interface (eg, a hardware key), a voice interface (eg, voice commands), and/or a gesture interface (eg, palm detection). A trigger for multi-preview display can be detected based on the

동작 1805에서, 프로세서(120)는 제2 디스플레이(300)의 프리뷰 객체(예: 피사체)로부터 지정된 영역을 식별할 수 있다. 일 실시예에 따르면, 프로세서(120)는 다양한 영상 추출 알고리즘에 기반하여 제2 디스플레이(300)의 프리뷰 객체로부터 특징점을 추출(keypoint(or feature) extraction)하고, 추출된 특징점에 기반하여 지정된 영역(예: 얼굴 이미지)를 식별할 수 있다. 일 실시예에 따라, 영상 추출 알고리즘은, 예를 들어, 엣지 추출(edge detection), 코너(Corner) 추출(예: Harris 코너 추출, Shi & Tomasi 코너 추출, FAST(features from accelerated segment test)), 허프 라인 변환(Hough line transformation), 이미지 히스토그램, SIFT(scale-invariant feature transform), SURF(speeded-up robust features), 및/또는 ORB(oriented FAST and rotated BRIEF)와 같은 다양한 알고리즘을 포함할 수 있다. 어떤 실시예에 따르면, 지정된 영역은 제2 디스플레이(300)에서 미리 지정되는 일정 영역(예: 화면 영역의 일부 또는 전체)일 수 있다. In operation 1805 , the processor 120 may identify a designated area from a preview object (eg, a subject) of the second display 300 . According to an embodiment, the processor 120 extracts a keypoint (or feature) from the preview object of the second display 300 based on various image extraction algorithms, and extracts a keypoint (or feature) based on the extracted keypoint. e.g. face images). According to an embodiment, the image extraction algorithm includes, for example, edge detection, corner extraction (eg, Harris corner extraction, Shi & Tomasi corner extraction, features from accelerated segment test (FAST)), may include various algorithms such as Hough line transformation, image histogram, scale-invariant feature transform (SIFT), speeded-up robust features (SURF), and/or oriented FAST and rotated BRIEF (ORB). . According to some embodiments, the designated area may be a predetermined area (eg, part or all of the screen area) that is previously designated on the second display 300 .

동작 1807에서, 프로세서(120)는 지정된 영역에 기반하여 제1 디스플레이(331)를 위한 프리뷰 객체를 생성할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 디스플레이(300)를 통해 표시되는 프리뷰의 적어도 일부분(예: 지정된 영역)을 크롭(crop)하고, 크롭된 영상을 프리뷰 객체로 생성할 수 있다. 어떤 실시예에 따르면, 프리뷰 객체는 제2 디스플레이(300)를 통해 표시되는 프리뷰가 리사이즈(resize)(예: 축소)된 영상을 포함할 수 있다.In operation 1807 , the processor 120 may generate a preview object for the first display 331 based on the designated area. According to an embodiment, the processor 120 may crop at least a portion (eg, a designated area) of the preview displayed through the second display 300 , and generate the cropped image as a preview object. According to some embodiments, the preview object may include an image in which a preview displayed through the second display 300 is resized (eg, reduced).

동작 1809에서, 프로세서(120)는 제1 디스플레이(331)와 제2 디스플레이(300)에 동시에 프리뷰를 표시할 수 있다. 일 실시예에 따르면, 프로세서(120)는 현재 연결하고 있는 하나의 카메라 장치(308)로부터 획득되는 프리뷰 데이터에 기반하여, 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 동시에 프리뷰를 제공할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 디스플레이(300)에 제1 프리뷰(예: 메인 프리뷰)를 표시하고, 제1 디스플레이(331)에 제1 프리뷰에 기반하여 생성하는 제2 프리뷰(예: 메인 프리뷰와 관련된 서브 프리뷰)를 표시할 수 있다. 어떤 실시예에 따르면, 프로세서(120)는 제1 디스플레이(331)에 제2 프리뷰를 표시할 때, 카메라 장치(308)에 관련된 동작 정보(예: 타이머 카운트, palm detection 유무, 및/또는 비디오 레코딩 타임)을 제공할 수도 있다.In operation 1809 , the processor 120 may simultaneously display a preview on the first display 331 and the second display 300 . According to an embodiment, the processor 120 simultaneously provides a preview through the first display 331 and the second display 300 based on preview data obtained from one camera device 308 that is currently connected. can do. According to an embodiment, the processor 120 displays a first preview (eg, a main preview) on the second display 300 , and generates a second preview (eg, a main preview) on the first display 331 based on the first preview. Example: sub preview related to the main preview) can be displayed. According to some embodiments, when the processor 120 displays the second preview on the first display 331 , operation information related to the camera device 308 (eg, timer count, presence or absence of palm detection, and/or video recording) time) may be provided.

도 19는 다양한 실시예들에 따른 전자 장치의 펼침 상태에서 동작하는 예를 설명하기 위한 도면이다.19 is a diagram for describing an example of an operation in an unfolded state of an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 19는 전자 장치(101)가 펼침 상태에서 제1 디스플레이(331)와 제2 디스플레이(300)에 동시에 프리뷰를 표시하는 예를 나타낼 수 있다.According to an embodiment, FIG. 19 may show an example of simultaneously displaying a preview on the first display 331 and the second display 300 in the unfolded state of the electronic device 101 .

도 19를 참조하면, 예시 A에 도시한 바와 같이, 전자 장치(101)는 펼침 상태에서 카메라 장치(예: 전면 카메라 장치(305) 또는 후면 카메라 장치(308))에 의해 촬영되는 영상의 프리뷰(1910)(예: 메인 프리뷰)를 현재 연결되어 있는 제2 디스플레이(300)를 통해 표시할 수 있다.Referring to FIG. 19 , as shown in Example A, the electronic device 101 previews an image captured by a camera device (eg, a front camera device 305 or a rear camera device 308) in an unfolded state ( 1910) (eg, a main preview) may be displayed through the currently connected second display 300 .

일 실시예에 따라, 전자 장치(101)는 예시 A와 같이, 제2 디스플레이(300)를 통해 프리뷰(1910)를 표시하는 동안, 멀티 프리뷰 표시를 위한 트리거가 발생하면, 제1 디스플레이(331)를 연결(예: 활성화)하고, 제2 디스플레이(300)에 표시되는 프리뷰(1910)에 기반하여 제1 디스플레이(331)를 위한 프리뷰(1920)(예: 서브 프리뷰)를 생성할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 디스플레이(300)를 통해 표시되는 프리뷰에서 특징점 추출에 기반하여 적어도 일부분(1950)(예: 지정된 영역)을 크롭하고, 크롭된 영상을 제1 디스플레이(331)의 프리뷰(1920)로 생성할 수 있다. 어떤 실시예에 따르면, 제1 디스플레이(331)의 프리뷰(1920)는 제2 디스플레이(300)를 통해 표시되는 프리뷰(1910)가 리사이즈(예: 축소)된 영상을 포함할 수 있다. According to an embodiment, when a trigger for displaying a multi-preview occurs while displaying the preview 1910 through the second display 300 as in Example A, the electronic device 101 , the first display 331 may be connected (eg, activated), and a preview 1920 (eg, sub-preview) for the first display 331 may be generated based on the preview 1910 displayed on the second display 300 . According to an embodiment, the electronic device 101 crops at least a portion 1950 (eg, a designated area) based on feature point extraction in the preview displayed through the second display 300 , and displays the cropped image as the first image. It can be generated as a preview 1920 of the display 331 . According to some embodiments, the preview 1920 of the first display 331 may include an image in which the preview 1910 displayed on the second display 300 is resized (eg, reduced).

일 실시예에 따라, 전자 장치(101)는 멀티 프리뷰 표시를 위한 트리거에 응답하여, 예시 A와 예시 B에 도시한 바와 같이, 제1 디스플레이(331)와 제2 디스플레이(300)에 동시에 프리뷰(1910, 1920)를 표시할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 디스플레이(300)에 제1 프리뷰(1910)를 표시하고, 제1 디스플레이(331)에 제1 프리뷰(1910)에 기반하여 생성하는 제2 프리뷰(1920)(예: 제1 프리뷰(1910)와 관련된 서브 프리뷰)를 표시할 수 있다. According to an embodiment, in response to the trigger for displaying the multi-preview, the electronic device 101 simultaneously previews ( 1910, 1920) can be displayed. According to an embodiment, the electronic device 101 displays a first preview 1910 on the second display 300 , and a second preview is generated on the first display 331 based on the first preview 1910 . 1920 (eg, a sub preview related to the first preview 1910) may be displayed.

도 20은 다양한 실시예들에 따른 전자 장치의 동작 방법을 도시하는 흐름도이다.20 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

도 20을 참조하면, 동작 2001에서, 전자 장치(101)의 프로세서(120)는 전자 장치(101)의 펼침 상태에서 제2 디스플레이(300)를 통해 메인 프리뷰를 표시할 수 있다.Referring to FIG. 20 , in operation 2001 , the processor 120 of the electronic device 101 may display a main preview through the second display 300 in the unfolded state of the electronic device 101 .

동작 2003에서, 프로세서(120)는 멀티 프리뷰 표시를 위한 트리거를 감지할 수 있다. 일 실시예에 따르면, 프로세서(120)는 전자 장치(101)의 펼침 상태에서 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온/오프 이벤트를 발생할 수 있는 소프트웨어적인 인터페이스(예: 소프트웨어 버튼 또는 토글 버튼), 물리적인 인터페이스(예: 하드웨어 키), 음성 인터페이스(예: 보이스 커맨드), 및/또는 제스처 인터페이스(예: palm detection)와 같은 지정된 인터페이스를 통한 사용자 입력에 기반하여 멀티 프리뷰 표시를 위한 트리거를 감지할 수 있다.In operation 2003, the processor 120 may detect a trigger for displaying a multi-preview. According to an embodiment, the processor 120 is software capable of generating an on/off event of the first display 331 while displaying a preview through the second display 300 in the unfolded state of the electronic device 101 . User input through a designated interface, such as a physical interface (eg, a software button or toggle button), a physical interface (eg, a hardware key), a voice interface (eg, voice commands), and/or a gesture interface (eg, palm detection). A trigger for multi-preview display can be detected based on the

동작 2005에서, 프로세서(120)는 멀티 프리뷰 표시를 위한 트리거 감지에 기반하여, 제2 디스플레이(300)의 메인 프리뷰 표시를 중지하고 지정된 효과를 적용할 수 있다. 일 실시예에 따르면, 제2 디스플레이(300)가 연결(또는 활성화)되어 메인 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온 이벤트가 발생하면, 제2 디스플레이(300) 상에 프리뷰가 드로잉(drawing)되지 않아 프리뷰의 끊김 현상이 발생할 수 있다. 이로 인해, 사용자는 프리뷰의 끊김 현상을 느낄 수 있다. 다양한 실시예들에서는, 프리뷰의 끊김 현상에 대한 시각적 불편함을 해소하기 위해, 프로세서(120)는 제2 디스플레이(300)가 연결되어 메인 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온 이벤트가 발생하면, 제2 디스플레이(300)에 표시되고 있는 메인 프리뷰에 지정된 효과(예: 블러(blur) 효과)를 적용하여 표시를 멈출 수 있다.In operation 2005 , the processor 120 may stop displaying the main preview of the second display 300 and apply a specified effect based on the detection of a trigger for displaying the multi-preview. According to an embodiment, when an on event of the first display 331 occurs while the second display 300 is connected (or activated) and displaying the main preview, the preview is drawn on the second display 300 . Because it is not drawn, the preview may be cut off. Due to this, the user may feel the preview interruption. In various embodiments, in order to solve the visual inconvenience of the preview interruption, the processor 120 performs an on event of the first display 331 while the second display 300 is connected to display the main preview. , the display may be stopped by applying a specified effect (eg, a blur effect) to the main preview displayed on the second display 300 .

동작 2007에서, 프로세서(120)는 멀티 프리뷰 표시를 위한 트리거 감지에 기반하여, 제1 디스플레이(331)를 턴-온 할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 디스플레이(300)가 연결(또는 활성화)되어 메인 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온 이벤트가 발생하면, 제1 디스플레이(331)를 턴-온(예: 제1 디스플레이(331)에 파워를 공급하도록) 제어하여, 제1 디스플레이(331)를 연결(또는 활성화)할 수 있다. In operation 2007 , the processor 120 may turn on the first display 331 based on detection of a trigger for displaying a multi-preview. According to an embodiment, when an on event of the first display 331 occurs while the second display 300 is connected (or activated) and the main preview is displayed, the processor 120 performs the first display 331 . may be controlled to turn on (eg, to supply power to the first display 331 ) to connect (or activate) the first display 331 .

동작 2009에서, 프로세서(120)는 제1 디스플레이(331)를 위한 서브 프리뷰를 어태치(attach) 할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 디스플레이(331)의 턴-온에 기반하여, 제1 디스플레이(331)를 위한 서브 프리뷰를 어태치 할 수 있다. 예를 들면, 프로세서(120)는 제2 디스플레이(300)를 통해 표시되는 메인 프리뷰의 적어도 일부분을 크롭하고, 크롭된 영상을 서브 프리뷰로 어태치 할 수 있다. 어떤 실시예에 따르면, 서브 프리뷰는 제2 디스플레이(300)를 통해 표시되는 메인 프리뷰가 리사이즈(예: 축소)된 영상을 포함할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 디스플레이(331)를 위한 서브 프리뷰 어태치 할 때, 제1 디스플레이(331)에 표시할 수 있는 카메라 장치(305, 308)의 동작과 관련된 동작 정보(예: 타이머 카운트, palm detection 유무, 및/또는 비디오 레코딩 타임과 같은 정보)를 식별할 수 있다.In operation 2009 , the processor 120 may attach a sub preview for the first display 331 . According to an embodiment, the processor 120 may attach a sub preview for the first display 331 based on the turn-on of the first display 331 . For example, the processor 120 may crop at least a portion of the main preview displayed on the second display 300 , and attach the cropped image as a sub preview. According to some embodiments, the sub-preview may include an image in which the main preview displayed through the second display 300 is resized (eg, reduced). According to an embodiment, when the processor 120 performs a sub-preview attachment for the first display 331 , operation information related to the operation of the camera devices 305 and 308 that can be displayed on the first display 331 . (eg, information such as timer count, presence of palm detection, and/or video recording time) may be identified.

동작 2011에서, 프로세서(120)는 제1 디스플레이(331)를 위한 프리뷰 버퍼(예: 제1 프리뷰 버퍼(560))를 생성할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제2 디스플레이(300)를 통해 메인 프리뷰를 표시하는 동안 카메라 장치(305, 308)로부터 획득되는 영상을 제1 프리뷰 버퍼(560)로 전달할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 프리뷰 버퍼(560)의 생성에 기반하여, 제2 디스플레이(300)를 재연결(reconnect) 할 수 있다. 다양한 실시예들에 따르면, 동작 2005, 동작 2007, 동작 2009 및 동작 2011은 도시된 순서에 한정하지 않으며, 동작 2005, 동작 2007, 동작 2009 및 동작 2011은 순차적으로, 병렬적으로, 역순차적으로, 또는 휴리스틱하게 수행될 수 있다.In operation 2011 , the processor 120 may generate a preview buffer (eg, the first preview buffer 560 ) for the first display 331 . According to an embodiment, the processor 120 may transfer the images obtained from the camera devices 305 and 308 to the first preview buffer 560 while displaying the main preview through the second display 300 . According to an embodiment, the processor 120 may reconnect the second display 300 based on the generation of the first preview buffer 560 . According to various embodiments, operation 2005, operation 2007, operation 2009, and operation 2011 are not limited to the illustrated order, and operation 2005, operation 2007, operation 2009 and operation 2011 may be performed sequentially, in parallel, in reverse order, Alternatively, it may be performed heuristically.

동작 2013에서, 프로세서(120)는 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 동시에 표시할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 프리뷰 버퍼(560)를 통해 서브 프리뷰를 제1 디스플레이(331)에 전달하고, 제2 프리뷰 버퍼(570)를 통해 메인 프리뷰를 제2 디스플레이(300)에 전달하여, 제1 디스플레이(331)를 통해 서브 프리뷰를 표시하고, 제2 디스플레이(300)를 통해 메인 프리뷰를 표시할 수 있다. 일 실시예에 따라, 프로세서(120)는 제2 디스플레이(300)를 통해 메인 프리뷰의 표시를 재개할 때, 지정된 효과를 해제하여 제공할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 디스플레이(331)에 서브 프리뷰를 표시할 때, 제1 디스플레이(331)에 표시할 수 있는 카메라 장치(305, 308)의 동작과 관련된 동작 정보(예: 타이머 카운트, palm detection 유무, 및/또는 비디오 레코딩 타임과 같은 정보)의 표시도 제어할 수 있다.In operation 2013 , the processor 120 may simultaneously display a preview through the first display 331 and the second display 300 . According to an embodiment, the processor 120 transmits the sub preview to the first display 331 through the first preview buffer 560 , and transmits the main preview to the second display 300 through the second preview buffer 570 . ) to display the sub preview through the first display 331 and display the main preview through the second display 300 . According to an embodiment, when resuming the display of the main preview through the second display 300 , the processor 120 may cancel and provide a specified effect. According to an embodiment, when the processor 120 displays the sub preview on the first display 331 , the operation information ( It is also possible to control the display of information such as timer count, presence or absence of palm detection, and/or video recording time).

동작 2015에서, 프로세서(120)는 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 동시에 표시하는 중에, 멀티 프리뷰 표시를 해제하기 위한 트리거를 감지할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온/오프 이벤트를 발생할 수 있는 소프트웨어적인 인터페이스(예: 소프트웨어 버튼 또는 토글 버튼), 물리적인 인터페이스(예: 하드웨어 키), 음성 인터페이스(예: 보이스 커맨드), 및/또는 제스처 인터페이스(예: palm detection)와 같은 지정된 인터페이스를 통한 사용자 입력에 기반하여 멀티 프리뷰 표시 해제를 위한 트리거를 감지할 수 있다.In operation 2015 , the processor 120 may detect a trigger for canceling the multi-preview display while previews are simultaneously displayed through the first display 331 and the second display 300 . According to an embodiment, the processor 120 is a software interface capable of generating an on/off event of the first display 331 while displaying a preview through the first display 331 and the second display 300 . Based on user input through a designated interface (eg, a software button or toggle button), a physical interface (eg, a hardware key), a voice interface (eg, a voice command), and/or a gesture interface (eg, palm detection) A trigger for canceling the multi-preview display can be detected.

동작 2017에서, 프로세서(120)는 멀티 프리뷰 표시 해제를 위한 트리거 감지에 기반하여, 제2 디스플레이(300)의 메인 프리뷰 표시를 중지하고 지정된 효과를 적용할 수 있다. 일 실시예에 따르면, 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 오프 이벤트가 발생하면, 제2 디스플레이(300) 상에 프리뷰가 드로잉(drawing)되지 않아 프리뷰의 끊김 현상이 발생할 수 있다. 다양한 실시예들에서는, 프리뷰의 끊김 현상에 대한 사용자의 시각적 불편함을 해소하기 위해, 프로세서(120)는 제2 디스플레이(300)가 연결되어 메인 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온 이벤트가 발생하면, 제2 디스플레이(300)에 표시되고 있는 메인 프리뷰에 지정된 효과(예: 블러 효과)를 적용하여 표시를 멈출 수 있다.In operation 2017, the processor 120 may stop displaying the main preview on the second display 300 and apply a specified effect based on the detection of a trigger for canceling the multi-preview display. According to an embodiment, if an off event of the first display 331 occurs while previews are displayed through the first display 331 and the second display 300 , the preview is displayed on the second display 300 . Because it is not drawn, the preview may be cut off. In various embodiments, in order to solve the user's visual discomfort due to the interruption of the preview, the processor 120 controls the display of the first display 331 while the second display 300 is connected to display the main preview. When the on event occurs, the display may be stopped by applying a specified effect (eg, a blur effect) to the main preview displayed on the second display 300 .

동작 2019에서, 프로세서(120)는 제1 디스플레이(331)를 위한 프리뷰 버퍼(예: 제1 프리뷰 버퍼(560))를 해지할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 카메라 장치(305, 308)로부터 획득되는 영상을 제1 디스플레이(331)에 전달하기 위한 제1 프리뷰 버퍼(560)를 해지할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 프리뷰 버퍼(560)의 해지에 기반하여, 제2 디스플레이(300)를 재연결 할 수 있다.In operation 2019 , the processor 120 may release a preview buffer (eg, the first preview buffer 560 ) for the first display 331 . According to an embodiment, the processor 120 displays the image obtained from the camera devices 305 and 308 on the first display 331 while displaying the preview through the first display 331 and the second display 300 . The first preview buffer 560 to be transmitted to may be released. According to an embodiment, the processor 120 may reconnect the second display 300 based on the termination of the first preview buffer 560 .

동작 2021에서, 프로세서(120)는 제1 디스플레이(331)를 위한 서브 프리뷰를 디태치(detach) 할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 디스플레이(331)를 위한 서브 프리뷰를 디태치 할 수 있다. 예를 들면, 프로세서(120)는 제2 디스플레이(300)를 통해 표시되는 메인 프리뷰로부터 서브 프리뷰를 생성하는 처리를 중지할 수 있다.In operation 2021 , the processor 120 may detach the sub preview for the first display 331 . According to an embodiment, the processor 120 may detach the sub preview for the first display 331 . For example, the processor 120 may stop the process of generating a sub preview from the main preview displayed through the second display 300 .

동작 2023에서, 프로세서(120)는 제1 디스플레이(331)를 턴-오프 할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제1 디스플레이(331)의 오프 이벤트가 발생하면, 제1 디스플레이(331)를 턴-오프(예: 제1 디스플레이(331)에 파워를 차단하도록) 제어하여, 제1 디스플레이(331)를 연결을 해지(또는 비활성화)할 수 있다. 일 실시예에 따라, 제1 디스플레이(331)에 서브 프리뷰를 표시하지 않고, 제2 디스플레이(300)에만 메인 프리뷰를 표시하도록 할 수 있다. 일 실시예에 따라, 프로세서(120)는 제2 디스플레이(300)를 통해 메인 프리뷰의 표시를 재개할 때, 지정된 효과를 해제하여 제공할 수 있다. 다양한 실시예들에 따르면, 동작 2017, 동작 2019, 동작 2021 및 동작 2023은 도시된 순서에 한정하지 않으며, 동작 2017, 동작 2019, 동작 2021 및 동작 2023은 순차적으로, 병렬적으로, 역순차적으로, 또는 휴리스틱하게 수행될 수 있다.In operation 2023 , the processor 120 may turn off the first display 331 . According to an embodiment, when an off event of the first display 331 occurs, the processor 120 turns off the first display 331 (eg, to cut off power to the first display 331 ). Accordingly, the connection of the first display 331 may be disconnected (or deactivated). According to an embodiment, the main preview may be displayed only on the second display 300 without displaying the sub-preview on the first display 331 . According to an embodiment, when resuming the display of the main preview through the second display 300 , the processor 120 may cancel and provide a specified effect. According to various embodiments, operations 2017, operation 2019, operation 2021, and operation 2023 are not limited to the illustrated order, and operations 2017, operation 2019, operation 2021 and operation 2023 are sequentially, in parallel, and in reverse order, Alternatively, it may be performed heuristically.

도 21a 및 도 21b는 다양한 실시예들에 따른 전자 장치에서 멀티 프리뷰 표시를 위해 제공되는 인터페이스의 예를 설명하기 위한 도면들이다.21A and 21B are diagrams for explaining an example of an interface provided for displaying a multi-preview in an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 21a 및 도 21b에서는 전자 장치(101)의 펼침 상태에서 제2 디스플레이(300)를 통해 메인 프리뷰를 표시하는 동안, 제1 디스플레이(331)의 온/오프 이벤트를 발생할 수 있는 인터페이스로서, 소프트웨어적인 인터페이스(예: 소프트웨어 버튼(2100))이 제공되는 예를 나타낼 수 있다. 어떤 실시예에 따르면, 제1 디스플레이(331)의 온/오프 이벤트를 발생할 수 있는 인터페이스는 물리적인 인터페이스(예: 하드웨어 키), 음성 인터페이스(예: 보이스 커맨드), 및/또는 제스처 인터페이스(예: palm detection)와 같은 다양한 인터페이스에 기반하여 제공될 수 있다.According to an embodiment, in FIGS. 21A and 21B , an on/off event of the first display 331 may be generated while the main preview is displayed through the second display 300 in the unfolded state of the electronic device 101 . An example in which a software interface (eg, a software button 2100) is provided may be shown as an interface. According to some embodiments, the interface capable of generating an on/off event of the first display 331 is a physical interface (eg, a hardware key), a voice interface (eg, a voice command), and/or a gesture interface (eg, a It can be provided based on various interfaces such as palm detection).

도 21a를 참조하면, 도 21a는 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)가 오프 상태의 예를 나타낼 수 있다. 도 21a에 도시한 바와 같이, 온/오프 이벤트를 위한 소프트웨어 버튼(2100)이 비활성화 상태이고, 제1 디스플레이(331)가 오프 상태로 서브 프리뷰가 제공되지 않을 수 있다.Referring to FIG. 21A , FIG. 21A may show an example of an off state of the first display 331 while a preview is displayed through the second display 300 . As shown in FIG. 21A , the software button 2100 for the on/off event is in an inactive state and the first display 331 is in an off state, so that a sub preview may not be provided.

도 21b를 참조하면, 도 21b는 제2 디스플레이(300)를 통해 프리뷰를 표시하는 동안, 제1 디스플레이(331)가 온 상태의 예를 나타낼 수 있다. 도 21b에 도시한 바와 같이, 온/오프 이벤트를 위한 소프트웨어 버튼(2100)이 활성화 되고, 제1 디스플레이(331)가 턴-온 되어 서브 프리뷰가 제공될 수 있다.Referring to FIG. 21B , FIG. 21B may show an example of an on state of the first display 331 while a preview is displayed through the second display 300 . As shown in FIG. 21B , a software button 2100 for an on/off event is activated, and the first display 331 is turned on to provide a sub preview.

일 실시예에 따르면, 멀티 프리뷰 표시의 온/오프 이벤트를 위한 소프트웨어 버튼(2100)은, 제2 디스플레이(300)의 프리뷰 상에 제공될 수 있으며, 사용자 뷰를 가리지 않도록(또는 사용자의 시인성에 영향을 주지 않는) 지정된 위치에 제공될 수 있다. 어떤 실시예에서는, 소프트웨어 버튼(2100)은 프리뷰 상에 플로팅(floating) 버튼으로 제공될 수도 있다.According to an embodiment, the software button 2100 for the on/off event of the multi-preview display may be provided on the preview of the second display 300, so as not to obscure the user's view (or affect the user's visibility) may be provided at a designated location). In some embodiments, the software button 2100 may be provided as a floating button on the preview.

일 실시예에 따르면, 소프트웨어 버튼(2100)은 제2 디스플레이(300)를 통해 디폴트로 오프 상태로 제공될 수 있고, 사용자 입력(예: 터치)에 기반하여, 온 상태로 전환될 수 있다. 전자 장치(101)는 소프트웨어 버튼(2100)의 사용자 입력에 기반하여, 소프트웨어 버튼(2100)을 온 하고, 제1 디스플레이(331)를 턴-온하여, 제1 디스플레이(331)와 제2 디스플레이(300)를 통해 프리뷰를 동시에 제공할 수 있다.According to an embodiment, the software button 2100 may be provided in an off state by default through the second display 300 , and may be switched to an on state based on a user input (eg, a touch). The electronic device 101 turns on the software button 2100 and turns on the first display 331 based on the user input of the software button 2100 to turn on the first display 331 and the second display ( 300) can provide a preview at the same time.

일 실시예에 따르면, 소프트웨어 버튼(2100)은 사용자가 제1 디스플레이(331)의 온/오프 상태를 쉽게 인지할 수 있도록, 예를 들어, 온 또는 오프 상태에 따라서 텍스트를 함께 제공하고, 소프트웨어 버튼(2100) 색상도 다르게 제공할 수도 있다. According to one embodiment, the software button 2100 provides text along with, for example, an on or off state so that the user can easily recognize the on/off state of the first display 331, and the software button (2100) A different color may be provided.

도 22 내지 도 24는 다양한 실시예들에 따른 전자 장치를 펼침 상태에서 중간 상태로 전환하는 예를 설명하기 위한 도면들이다.22 to 24 are diagrams for explaining an example of switching an electronic device from an unfolded state to an intermediate state according to various embodiments of the present disclosure;

일 실시예에 따라, 도 22 내지 도 24는 전자 장치의 펼침 상태에서 중간 상태(예: 테이블 모드 또는 플렉스(flex) 모드)로 전환하는 동작의 예를 나타낼 수 있다. According to an embodiment, FIGS. 22 to 24 may show an example of an operation of switching the electronic device from an unfolded state to an intermediate state (eg, a table mode or a flex mode).

도 22를 참조하면, 도 22는 전자 장치(101)가 펼침 상태에서 카메라 장치(후면 카메라 장치(308) 또는 전면 카메라 장치(305))를 통해 획득하는 프리뷰 데이터의 프리뷰를 디스플레이(300)(예: 메인 또는 플렉서블 디스플레이)를 통해 표시하는 상태의 예를 나타낼 수 있다.Referring to FIG. 22 , FIG. 22 shows a display 300 showing a preview of preview data acquired through a camera device (rear camera device 308 or front camera device 305) in an unfolded state of the electronic device 101 (example) : An example of a state displayed through the main or flexible display) can be shown.

도 22에 도시한 바와 같이, 전자 장치(101)는 디스플레이(300)의 지정된 영역(예: 펼침 상태에서의 프리뷰를 위한 영역으로, 디스플레이(300)의 일부 화면 또는 전체 화면으로 설정)을 통해 프리뷰를 표시할 수 있다. 일 실시예에 따라, 전자 장치(101)는 프리뷰와 함께 카메라 장치(305, 308) 및/또는 프리뷰와 연관된 다양한 동작 정보(예: 타이머 카운트, palm detection 유무, 옵션 설정 정보, 메뉴 객체, 촬영 객체 및/또는 비디오 레코딩 타임)를 위한 레이아웃을 적어도 하나의 지정된 영역을 통해 제공할 수 있다. As shown in FIG. 22 , the electronic device 101 previews through a designated area of the display 300 (eg, an area for preview in an unfolded state, which is set as a partial screen or a full screen of the display 300 ). can be displayed. According to an embodiment, the electronic device 101 provides a preview together with the camera devices 305 and 308 and/or various motion information related to the preview (eg, timer count, palm detection presence or absence, option setting information, menu object, and shooting object). and/or video recording time) may be provided through at least one designated area.

도 23을 참조하면, 도 23은 전자 장치(101)가 펼침 상태에서 중간 상태로 상태 변화되는 동작의 일부 예를 나타낼 수 있다. 일 실시예에 따르면, 전자 장치(101)는 힌지 모듈을 통해 일정 변곡 각도(예: 제1 하우징(310)과 제2 하우징(320) 사이의 각도)를 기준으로 중간 상태로 진행하는 동작을 나타낼 수 있다. 예를 들면, 전자 장치(101)의 펼침 각도가 약 135도(예: 약 130도 ~ 약 140도) 정도로 펼쳐진 예를 나타낼 수 있다.Referring to FIG. 23 , FIG. 23 may show some examples of an operation in which the electronic device 101 is changed from an unfolded state to an intermediate state. According to an embodiment, the electronic device 101 represents an operation of proceeding to an intermediate state based on a predetermined angle of inflection (eg, an angle between the first housing 310 and the second housing 320 ) through the hinge module. can For example, an example in which the unfolding angle of the electronic device 101 is unfolded to about 135 degrees (eg, about 130 degrees to about 140 degrees) may be shown.

도 23에 도시한 바와 같이, 전자 장치(101)는 중간 상태로 상태 변화에 따라, 펼침 상태에서의 레이아웃(예: 도 22의 펼침 상태에서의 레이아웃)을 조정하여 제공할 수 있다. 예를 들면, 전자 장치(101)는 프리뷰 영역(또는 프리뷰 영역의 프리뷰)을 슬라이딩 방식으로 디스플레이(300)의 상단 방향으로 이동(예: 축소)하는 그래픽 효과를 제공할 수 있다. 일 실시예에 따라, 전자 장치(101)는 프리뷰 영역의 상단 방향으로 슬라이딩 이동(예: 축소 그래픽 효과)에 대응하여 서브 영역의 크기(또는 비율)를 조정하여 확장하는 그래픽 효과를 제공할 수 있다. As shown in FIG. 23 , the electronic device 101 may adjust and provide the layout in the expanded state (eg, the layout in the expanded state of FIG. 22 ) according to the state change to the intermediate state. For example, the electronic device 101 may provide a graphic effect of moving (eg, reducing) the preview area (or the preview of the preview area) in the upper direction of the display 300 in a sliding manner. According to an embodiment, the electronic device 101 may provide a graphic effect that expands by adjusting the size (or ratio) of the sub region in response to a sliding movement (eg, a reduced graphic effect) in the upper direction of the preview region. .

도 24를 참조하면, 도 24는 다양한 실시예들에 따른 전자 장치(101)가 펼침 상태에서 중간 상태로 상태 변화되어, 중간 상태에서 프리뷰와 레이아웃(예: 서브 영역)을 제공하는 예를 나타낼 수 있다.Referring to FIG. 24 , FIG. 24 illustrates an example in which the electronic device 101 changes from an unfolded state to an intermediate state, and provides a preview and a layout (eg, a sub area) in the intermediate state according to various embodiments of the present disclosure. have.

도 24에 도시한 바와 같이, 다양한 실시예들에 따르면, 전자 장치(101)는 중간 상태에서 접히는 부분(예: 폴딩 축 A)을 기준으로 디스플레이(300)를 제1 영역(예: 프리뷰 영역)과 제2 영역(예: 서브 영역)으로 구분하여, 각각을 프리뷰 영역과 서브 영역으로 제공할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프리뷰 영역을 통해서 카메라 장치(305, 308)의 속성 변경에 따라 제어된 프리뷰를 제공할 수 있다. 예를 들어, 도 22 또는 도 23과 도 24를 참조하면, 전자 장치(101)는 프리뷰가 조절되어 프리뷰 영역의 화면 사이즈에 대응하는 프리뷰를 제공할 수 있다. As shown in FIG. 24 , according to various embodiments, the electronic device 101 moves the display 300 to a first area (eg, a preview area) based on a folded portion (eg, a folding axis A) in an intermediate state. and a second area (eg, a sub area), each of which may be provided as a preview area and a sub area. According to an embodiment, the electronic device 101 may provide a preview controlled according to a change in the properties of the camera devices 305 and 308 through the preview area. For example, referring to FIGS. 22 or 23 and 24 , the electronic device 101 may provide a preview corresponding to the screen size of the preview area by adjusting the preview.

일 실시예에 따르면, 전자 장치(101)는 카메라 장치(305, 308) 및/또는 프리뷰와 관련된 레이아웃을 재구성하여 서브 영역을 통해 제공할 수 있다. 예를 들어, 도 22 또는 도 23과 도 24를 참조하면, 디스플레이(300)의 상단의 제1 레이아웃(예: 카메라 옵션 설정과 관련된 객체)을 서브 영역으로 이동 배치하여, 도 24의 예시와 같이 제1 레이아웃과 제2 레이아웃(예: 촬영 옵션 설정과 관련된 객체, 촬영 객체, 갤러리 진입 객체, 및/또는 카메라 전환 객체)이 합쳐진 형태의 레이아웃으로 제공할 수 있다. According to an embodiment, the electronic device 101 may reconfigure a layout related to the camera devices 305 and 308 and/or a preview and provide it through the sub-region. For example, referring to FIGS. 22 or 23 and 24 , the first layout (eg, an object related to camera option setting) at the top of the display 300 is moved to a sub-region, as in the example of FIG. 24 . The first layout and the second layout (eg, an object related to a shooting option setting, a shooting object, a gallery entry object, and/or a camera switching object) may be provided as a combined layout.

다양한 실시예들에 따르면, 전자 장치(101)는 중간 상태에서 프리뷰 영역과 서브 영역을 미리 설정한 목적에 따라 별도의 영역으로 제공할 수 있다. 예를 들어, 전자 장치(101)는 프리뷰 영역과 제어 영역으로 제공할 수 있다. 다양한 실시예들이 이에 제한하는 것은 아니며, 서브 영역은 도 16a 내지 도 16e에 도시된 바와 같이 미리 설정한 목적 또는 촬영 동작 진행에 따라 다양하게 전환될 수 있다.According to various embodiments, in an intermediate state, the electronic device 101 may provide the preview area and the sub area as separate areas according to a preset purpose. For example, the electronic device 101 may provide a preview area and a control area. Various embodiments are not limited thereto, and the sub-region may be variously converted according to a preset purpose or progress of a photographing operation as shown in FIGS. 16A to 16E .

도 25 및 도 26은 다양한 실시예들에 따른 전자 장치의 중간 상태에서 사용 예를 설명하기 위한 도면들이다. 25 and 26 are diagrams for explaining an example of using an electronic device in an intermediate state according to various embodiments of the present disclosure;

일 실시예에 따라, 도 25 및 도 26은 중간 상태(예: 도 24)에서, 지정된 영역(예: 전환 영역 또는 빈 영역)을 이용하여 프리뷰 영역과 서브 영역 간의 위치를 전환하는 동작의 예를 나타낼 수 있다.25 and 26 show an example of an operation of switching a position between a preview area and a sub area using a designated area (eg, a transition area or a blank area) in an intermediate state (eg, FIG. 24 ). can indicate

다양한 실시예들에 따르면, 전자 장치(101)의 중간 상태(예: 테이블 모드 또는 플렉스(flex) 모드)에서 디스플레이(300)의 상단 방향에 제공된 프리뷰 영역과 디스플레이(300)의 하단 방향에 제공된 서브 영역(예: 제어 영역)을 전환하는 기능을 제공할 수 있다. 예를 들면, 프리뷰가 표시되는 위치를 디스플레이(300)의 상단/하단 간에 전환할 수 있다.According to various embodiments, in an intermediate state (eg, table mode or flex mode) of the electronic device 101 , a preview area provided in an upper direction of the display 300 and a sub provided in a lower direction of the display 300 . You can provide the ability to switch areas (eg, control areas). For example, the position at which the preview is displayed may be switched between the top and bottom of the display 300 .

도 25를 참조하여, 전자 장치(101)는 중간 상태로 전환 시 서브 영역의 적어도 일부(예: 빈 영역)를 프리뷰가 표시되는 영역을 전환할 수 있는 사용자 입력(예: 전환 트리거 입력)을 위한 전환 영역(2500)으로 활성화 할 수 있다. 일 실시예에 따라, 전환 영역(2500)의 활성화는 전환 영역(2500)을 통해 사용자 입력(예: 터치, 탭, 더블 탭, 스와이프, 또는 플릭)을 수신할 수 있도록 터치 감지 기능을 활성화 하는 동작을 포함할 수 있다. 예를 들면, 전자 장치(101)는 도 22 및 도 23과 같이 중간 상태로 전환되기 이전에는 전환 영역(2500)을 비활성 하여 터치 입력에 의한 오동작을 방지하도록 하고, 지정된 객체에 의한 터치 입력만 가능하도록 할 수 있다. 예를 들면, 전자 장치(101)는 도 24 및 도 25와 같이 중간 상태로 전환 시에는 전환 영역(2500)을 활성화 하여 전환 영역(2500)에 의한 터치 입력을 감지하도록 할 수 있다. 예를 들면, 전자 장치(101)는 전환 영역(2500)을 통해 터치를 감지하도록 할 수 있다.Referring to FIG. 25 , when the electronic device 101 is switched to the intermediate state, at least a part of the sub-region (eg, an empty region) is configured for a user input (eg, a transition trigger input) for switching a region in which a preview is displayed. It can be activated as a transition area 2500 . According to an embodiment, the activation of the transition area 2500 activates a touch sensing function to receive a user input (eg, a touch, a tap, a double tap, a swipe, or a flick) through the transition area 2500 . It can include actions. For example, the electronic device 101 disables the transition region 2500 before the transition to the intermediate state as shown in FIGS. 22 and 23 to prevent malfunction due to touch input, and only touch input by a designated object is possible. can make it For example, the electronic device 101 may activate the transition area 2500 to detect a touch input by the transition area 2500 when it is switched to the intermediate state as shown in FIGS. 24 and 25 . For example, the electronic device 101 may detect a touch through the transition area 2500 .

다양한 실시예들에 따르면, 전자 장치(101)는 중간 상태(예: 테이블 모드 또는 플렉스 모드)에서 전환 영역(2500)에 기반하여 카메라 프리뷰의 상/하단을 전환하는 기능을 제공할 수 있다. 예를 들면, 도 24 또는 도 25의 예시와 같이, 디스플레이(300)의 상단 방향에 배치된 프리뷰 영역과 디스플레이(300)의 하단 방향에 배치된 서브 영역(예: 제어 영역)의 위치를 상호 전환하는 전환 기능을 제공할 수 있다.According to various embodiments, the electronic device 101 may provide a function of switching the top/bottom of the camera preview based on the transition area 2500 in an intermediate state (eg, table mode or flex mode). For example, as in the example of FIG. 24 or 25 , the positions of the preview area disposed in the upper direction of the display 300 and the sub area (eg, the control area) disposed in the lower direction of the display 300 are mutually switched. A conversion function can be provided.

일 실시예에 따르면, 사용자는 전자 장치(101)의 중간 상태에서 전환 영역(2500)을 통해 지정된 사용자 입력(예: 터치, 탭, 더블 탭, 스와이프, 또는 플릭)을 통해 프리뷰 영역과 서브 영역 간의 전환을 수행할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 전환 영역(2500)을 통해 사용자에 의한 사용자 입력(예: 전환 트리거 입력)을 감지하고, 사용자 입력에 기반하여 프리뷰 영역과 서브 영역을 전환하여 제공할 수 있다. 예를 들면, 전자 장치(101)는 사용자에 의해 전환 영역(2500)에 의한 더블 탭이 감지되는 경우, 전환 영역(2500)의 더블 탭 감지에 기반하여 프리뷰 영역과 서브 영역을 전환하여 표시할 수 있다. 이의 예가 도 26에 도시된다.According to an embodiment, the user receives a preview area and a sub area through a user input (eg, a touch, a tap, a double tap, a swipe, or a flick) designated through the transition area 2500 in the intermediate state of the electronic device 101 . You can switch between them. According to an embodiment, the electronic device 101 detects a user input (eg, a transition trigger input) by a user through the transition area 2500 , and switches the preview area and the sub area based on the user input to provide can For example, when a double tap by the switch area 2500 is detected by the user, the electronic device 101 may switch and display the preview area and the sub area based on the double tap detection of the switch area 2500 . have. An example of this is shown in FIG. 26 .

도 26에 도시된 바와 같이, 다양한 실시예들에 따르면, 전자 장치(101)는 중간 상태에서 접히는 부분(예: 폴딩 축 A)을 기준으로 디스플레이(300)의 프리뷰 영역과 서브 영역을 상호 전환하여 제공할 수 있다. 예를 들어, 도 25와 도 26을 참조하면, 프리뷰 영역이 디스플레이(300)의 상단 방향에서 하단 방향으로 이동되어 표시되고, 서브 영역이 디스플레이(300)의 하단 방향에서 상단 방향으로 이동되어 표시될 수 있다.26 , according to various embodiments, the electronic device 101 switches the preview area and the sub area of the display 300 based on the folded part (eg, the folding axis A) in the intermediate state. can provide For example, referring to FIGS. 25 and 26 , the preview area is displayed by moving from the top direction to the bottom direction of the display 300 , and the sub area is displayed by moving from the bottom direction to the top direction of the display 300 . can

다양한 실시예들에 따르면, 전자 장치(101)의 중간 상태에서 프리뷰 영역과 서브 영역 간의 전환을 위한 사용자 입력(예: 전환 트리거)은 지정된 영역(2500)을 위한 트리거에 제한하지 않으며, 다양한 방식으로 제공될 수 있다. 일 실시예에 따르면, 사용자 입력은, 사용자의 음성 기반 및/또는 지정된 모션(예: 전자 장치(101)의 추가 접기, 전자 장치(101)의 좌우 흔들기)에 기반하여 전환 트리거로 이용할 수 있다. 일 실시예에 따르면, 사용자 입력은, 전자 장치(101)의 중간 상태에서 각도 변화(예: 중간 상태의 제1 각도로부터 지정된 제2 각도(예: 제2 각도는 제1 각도 보다 작은 각도)로 접히는 변화)에 기반하여 전환 트리거로 이용할 수 있다. 예를 들면, 전자 장치(101)는 도 25에 예시된 바와 같은 중간 상태(예: 약 90도 각도)에서 힌지 모듈을 통해 일정 변곡 각도(예: 제1 하우징(310)과 제2 하우징(320) 사이의 각도)로 더 접히는 경우(예: 약 90도에서 약 85도(예: 약 85도 ~ 약 80도)로 접히는 경우), 프리뷰의 표시 위치를 전환하기 위한 전환 트리거로 식별할 수 있다.According to various embodiments, a user input (eg, a transition trigger) for switching between the preview area and the sub-region in the intermediate state of the electronic device 101 is not limited to a trigger for the designated area 2500, and may be used in various ways. may be provided. According to an embodiment, the user input may be used as a transition trigger based on the user's voice and/or a specified motion (eg, additional folding of the electronic device 101, left and right shaking of the electronic device 101). According to an embodiment, the user input may change an angle in the intermediate state of the electronic device 101 (eg, a second angle specified from the first angle in the intermediate state (eg, the second angle is an angle smaller than the first angle). It can be used as a transition trigger based on the folding change). For example, the electronic device 101 may have a predetermined angle of inflection (eg, the first housing 310 and the second housing 320) through the hinge module in an intermediate state (eg, an angle of about 90 degrees) as illustrated in FIG. 25 . )), can be identified as a transition trigger to switch the display position of the preview, for example when folding from about 90 degrees to about 85 degrees (for example, from about 85 degrees to about 80 degrees). .

일 실시예에 따르면, 전자 장치(101)는 프리뷰 영역과 서브 영역 간의 전환 시, 표시 영역과 서브 영역 간에 그 자체를 그대로 서로 교환하는 방식으로 전환할 수 있다. 예를 들면, 표시 영역과 서브 영역을 각각 구성하는 레이아웃의 모든 객체를 전환할 수 있다. 어떤 실시예에 따르면, 전자 장치(101)는 프리뷰 영역과 서브 영역 간의 전환 시, 표시 영역과 서브 영역을 각각 구성하는 레이아웃의 적어도 일부 객체는 전환하지 않고 유지할 수 있다. 일 실시예에 따르면, 도 26에 도시한 바와 같이, 전환된 프리뷰 영역에 이전에 서브 영역에 존재하던 일부 레이아웃(예: 제2 레이아웃의 일부로 촬영과 관련된 객체(예: 촬영 객체, 갤러리 진입 객체, 및/또는 카메라 전환 객체)은 전환된 프리뷰 영역에 유지되고 전환된 프리뷰 영역의 프리뷰 상태에 중첩(또는 별도의 영역으로 할당)되어 제공될 수 있다.According to an embodiment, when switching between the preview area and the sub-region, the electronic device 101 may switch between the display area and the sub-region in such a way that they are exchanged as they are. For example, all objects in the layout constituting the display area and the sub area may be switched. According to an exemplary embodiment, when switching between the preview area and the sub-region, the electronic device 101 may maintain at least some objects of a layout constituting the display area and the sub-region without switching. According to an embodiment, as shown in FIG. 26 , some layouts (eg, objects related to shooting as part of the second layout (eg, shooting objects, gallery entry objects, and/or camera switching object) may be provided while being maintained in the switched preview area and superimposed (or allocated as a separate area) to the preview state of the switched preview area.

도 27 및 도 28은 다양한 실시예들에 따른 전자 장치의 중간 상태에서 전자 장치를 이용한 촬영 동작의 예를 설명하기 위한 도면들이다.27 and 28 are diagrams for explaining an example of a photographing operation using an electronic device in an intermediate state of the electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 27 및 도 28은 도 26에 예시한 바와 같이, 전자 장치(101)의 중간 상태(예: 테이블 모드 또는 플렉스 모드)에서, 프리뷰 영역과 서브 영역을 전환(예: 카메라 프리뷰 상/하단 전환)하고, 이러한 상태에서 전자 장치(101)를 이용하여 실질적인 촬영에 활용하는 시나리오의 예를 나타낼 수 있다.According to an embodiment, as illustrated in FIG. 26 , in FIGS. 27 and 28 , in an intermediate state (eg, table mode or flex mode) of the electronic device 101, a preview area and a sub area are switched (eg, a camera). preview), and in this state, an example of a scenario used for actual photographing using the electronic device 101 may be shown.

예를 들면, 사용자는 전자 장치(101)의 중간 상태에서, 프리뷰를 위한 프리뷰 영역을 디스플레이(300)의 하단으로 전환하고, 하단의 프리뷰 영역을 통해 프리뷰를 확인하면서, 디스플레이(300)의 상단 후면에 배치된 카메라(예: 후면 카메라 장치(308))를 이용하여 다양한 앵글로 편하게 촬영을 수행할 수 있다. 예를 들면, 사용자는 다양한 앵글(예: 하이 앵글과 로우 앵글)을 연출할 수 있고, 다양한 앵글로 편하게 영상을 촬영할 수 있다. For example, in the intermediate state of the electronic device 101 , the user switches the preview area for preview to the lower side of the display 300 , and checks the preview through the lower preview area, while checking the preview through the upper rear side of the display 300 . By using a camera (eg, the rear camera device 308) disposed in the , it is possible to conveniently perform shooting from various angles. For example, the user can produce various angles (eg, high angle and low angle) and can comfortably shoot an image from various angles.

일 실시예에 따라, 도 27에 예시한 바와 같이, 사용자는 하이 앵글을 연출할 수 있다. 예를 들면, 사용자는 전자 장치(101)의 카메라(예: 후면 카메라 장치(308))가 아래(또는 바닥)를 향하도록 전자 장치(101)를 파지하고, 전환 프리뷰 영역을 통해 프리뷰를 확인하면서, 바닥을 향하는 촬영 방향에 대해서도 편하게 촬영을 수행할 수 있다.According to an embodiment, as illustrated in FIG. 27 , the user may create a high angle. For example, the user holds the electronic device 101 so that the camera of the electronic device 101 (eg, the rear camera device 308) faces downward (or on the floor), and while checking the preview through the switch preview area , it is possible to conveniently perform shooting in a shooting direction facing the floor.

일 실시예에 따라, 도 28에 예시한 바와 같이, 사용자는 로우 앵글을 연출할 수 있다. 예를 들면, 사용자는 전자 장치(101)의 카메라(예: 후면 카메라 장치(308))가 정면(예: 사용자가 바라보는 시선 방향)을 향하도록 전자 장치(101)를 파지하거나, 지정된 영역(예: 책상, 바닥)에 놓은 상태에서, 전자 장치(101)를 좌우 및/또는 상하로 이동하고, 전환 프리뷰 영역(예: 도 26 상태) 또는 이전 프리뷰 영역(예: 도 25 상태)을 통해 프리뷰를 확인하면서, 정면을 향하는 촬영 방향에 대해 편하게 촬영을 수행할 수 있다. According to an embodiment, as illustrated in FIG. 28 , the user may produce a low angle. For example, the user holds the electronic device 101 such that the camera (eg, the rear camera device 308) of the electronic device 101 faces the front (eg, the user's gaze direction), or a designated area ( Example: while placed on a desk or floor), moving the electronic device 101 left and right and/or up and down, and previewing through a transition preview area (eg, FIG. 26 state) or a previous preview area (eg, FIG. 25 state) You can conveniently perform shooting in the shooting direction facing the front while checking .

예를 들면, 사용자는 전자 장치(101)의 중간 상태와, 프리뷰가 표시되는 위치의 전환을 통해 기존의 제한된 촬영 범위를 가지는 전자 장치로 촬영하기 어려운 시각(또는 사각 범위)에 대한 영상(예: 사진 및/또는 비디오)을 보다 편하게 촬영할 수 있다.For example, a user may change an intermediate state of the electronic device 101 and a position at which a preview is displayed to obtain an image (eg: photos and/or videos) more conveniently.

도 29 및 도 30은 다양한 실시예들에 따른 전자 장치를 중간 상태에서 펼침 상태로 전환하는 예를 설명하기 위한 도면들이다.29 and 30 are diagrams for explaining an example of switching an electronic device from an intermediate state to an unfolded state according to various embodiments of the present disclosure;

일 실시예에 따라, 도 29 및 도 30은 전자 장치의 중간 상태(예: 테이블 모드 또는 플렉스 모드)에서 펼침 상태로 전환하는 동작의 예를 나타낼 수 있다. According to an embodiment, FIGS. 29 and 30 may show an example of an operation of switching an electronic device from an intermediate state (eg, a table mode or a flex mode) to an unfolded state.

도 29를 참조하면, 도 29는 전자 장치(101)가 중간 상태(예: 테이블 모드 또는 플렉스 모드)에서 펼침 상태로 상태 변화되는 동작의 일부 예를 나타낼 수 있다. 일 실시예에 따르면, 전자 장치(101)는 힌지 모듈을 통해 일정 변곡 각도(예: 제1 하우징(310)과 제2 하우징(320) 사이의 각도)를 기준으로 펼침 상태로 진행하는 동작을 나타낼 수 있다. 예를 들면, 전자 장치(101)의 펼침 각도가 약 135도(예: 약 130도 ~ 약 140도) 정도로 펼쳐진 예를 나타낼 수 있다.Referring to FIG. 29 , FIG. 29 may show some examples of an operation of changing the state of the electronic device 101 from an intermediate state (eg, a table mode or a flex mode) to an unfolded state. According to an embodiment, the electronic device 101 represents an operation of proceeding to an unfolded state based on a predetermined angle of inflection (eg, an angle between the first housing 310 and the second housing 320 ) through the hinge module. can For example, an example in which the unfolding angle of the electronic device 101 is unfolded to about 135 degrees (eg, about 130 degrees to about 140 degrees) may be shown.

도 29에 도시한 바와 같이, 전자 장치(101)는 펼침 상태로 상태 변화에 따라, 중간 상태에서의 레이아웃(예: 도 26의 중간 상태에서의 레이아웃)을 조정하여 제공할 수 있다. 예를 들면, 전자 장치(101)는 프리뷰 영역(또는 프리뷰 영역의 프리뷰)을 슬라이딩 방식으로 디스플레이(300)의 상단 방향으로 이동(예: 확장)하는 그래픽 효과를 제공할 수 있다. 일 실시예에 따라, 전자 장치(101)는 프리뷰 영역의 상단 방향으로 슬라이딩 이동(예: 확장 그래픽 효과)에 대응하여 서브 영역의 크기(또는 비율)를 조정하여 축소하는 그래픽 효과를 제공할 수 있다. As illustrated in FIG. 29 , the electronic device 101 may adjust and provide the layout in the intermediate state (eg, the layout in the intermediate state of FIG. 26 ) according to the state change in the unfolded state. For example, the electronic device 101 may provide a graphic effect of moving (eg, expanding) the preview area (or the preview of the preview area) in the upper direction of the display 300 in a sliding manner. According to an embodiment, the electronic device 101 may provide a graphic effect of reducing the size (or ratio) of the sub region in response to a sliding movement (eg, an extended graphic effect) in the upper direction of the preview region. .

도 30을 참조하면, 도 30은 다양한 실시예들에 따른 전자 장치(101)가 중간 상태에서 펼침 상태로 상태 변화되어, 펼침 상태에서 프리뷰와 레이아웃을 제공하는 예를 나타낼 수 있다.Referring to FIG. 30 , FIG. 30 may show an example in which the electronic device 101 changes from an intermediate state to an unfolded state, and provides a preview and a layout in the unfolded state according to various embodiments of the present disclosure.

예를 들면, 도 30에서는 전자 장치(101)가 도 26의 예시와 같이 프리뷰 영역이 하단에 표시된 상태에서 펼침 상태로 상태 변환 시 프리뷰를 디스플레이(300)(예: 메인 또는 플렉서블 디스플레이)를 통해 표시하는 상태의 예를 나타낼 수 있다.For example, in FIG. 30 , when the electronic device 101 changes the state from the state in which the preview area is displayed at the bottom to the unfolded state as in the example of FIG. 26 , a preview is displayed through the display 300 (eg, main or flexible display). An example of the state of

도 30에 도시한 바와 같이, 전자 장치(101)는 디스플레이(300)의 지정된 영역(예: 펼침 상태에서의 프리뷰를 위한 영역으로, 디스플레이(300)의 일부 화면 또는 전체 화면으로 설정)을 통해 프리뷰를 디스플레이(300)의 하단 방향에 대응하여 표시할 수 있다. 일 실시예에 따라, 전자 장치(101)는 프리뷰와 함께 카메라 장치(305, 308) 및/또는 프리뷰와 연관된 다양한 동작 정보(예: 타이머 카운트, palm detection 유무, 옵션 설정 정보, 메뉴 객체, 촬영 객체 및/또는 비디오 레코딩 타임)를 위한 레이아웃을 적어도 하나의 지정된 영역(예: 디스플레이(300)의 상단 방향)을 통해 제공할 수 있다.As shown in FIG. 30 , the electronic device 101 previews through a designated area of the display 300 (eg, an area for preview in an unfolded state, which is set as a partial screen or a full screen of the display 300 ). may be displayed corresponding to the bottom direction of the display 300 . According to an embodiment, the electronic device 101 provides a preview together with the camera devices 305 and 308 and/or various motion information related to the preview (eg, timer count, palm detection presence or absence, option setting information, menu object, and shooting object). and/or a layout for video recording time) may be provided through at least one designated area (eg, an upper direction of the display 300 ).

일 실시예에 따라, 도 22와 도 30을 참조하면, 프리뷰 영역이 배치된 방향이 서로 대향할 수 있다. 예를 들면, 전자 장치(101)가 중간 상태이고, 프리뷰 영역이 전환된 상태(예: 디스플레이(300)의 하단 방향에 표시된 상태)에서 펼침 상태로 전환될 시, 프리뷰 영역의 전환된 상태를 적용(또는 유지)하여 대응하는 사용자 인터페이스를 제공할 수 있다. 어떤 실시예에 따르면, 전자 장치(101)는 프리뷰 영역이 전환된 상태에서, 펼침 상태로 전환 시, 전자 장치(101)의 설정에 따라 도 22의 형태와 같은 디폴트 방식으로 제공할 수도 있다.According to an embodiment, referring to FIGS. 22 and 30 , directions in which the preview areas are arranged may face each other. For example, when the electronic device 101 is in an intermediate state and the preview area is switched from a switched state (eg, a state displayed in the lower direction of the display 300 ) to an unfolded state, the switched state of the preview area is applied (or maintain) to provide a corresponding user interface. According to an embodiment, when the preview area is switched from the switched state to the expanded state, the electronic device 101 may provide the preview area in the default manner as shown in FIG. 22 according to a setting of the electronic device 101 .

도 31은 전자 장치의 중간 상태에서 프리뷰 영역과 서브 영역의 다른 예를 설명하기 위한 도면이다.31 is a diagram for explaining another example of a preview area and a sub area in an intermediate state of an electronic device.

도 31에 도시된 바와 같이, 다양한 실시예들에 따르면, 전자 장치(101)는 중간 상태에서 접히는 부분(예: 폴딩 축 A)을 기준으로 디스플레이(300)의 프리뷰 영역과 서브 영역을 상호 전환하여 제공할 수 있다. 예를 들어, 프리뷰 영역이 디스플레이(300)의 상단 방향에서 하단 방향으로 이동되어 표시되고, 서브 영역이 디스플레이(300)의 하단 방향에서 상단 방향으로 이동되어 표시될 수 있다.31 , according to various embodiments, the electronic device 101 switches the preview area and the sub area of the display 300 based on the folded part (eg, the folding axis A) in the intermediate state. can provide For example, the preview area may be displayed by being moved from the top direction to the bottom direction of the display 300 , and the sub area may be displayed by being moved from the bottom direction to the top direction of the display 300 .

도 31을 참조하면, 전자 장치(101)는 프리뷰 영역과 서브 영역 간의 전환 시, 표시 영역과 서브 영역 간에 그 자체를 그대로 서로 교환하는 방식으로 전환할 수 있다. 예를 들면, 표시 영역과 서브 영역을 각각 구성하는 레이아웃의 모든 객체를 전환할 수 있다. 예를 들어, 도 26과 도 31을 참조하면, 도 26의 경우, 프리뷰 영역과 서브 영역 간의 전환 시, 표시 영역과 서브 영역을 각각 구성하는 레이아웃의 적어도 일부 객체는 전환하지 않고 유지하는 예를 나타낼 수 있고, 도 30의 경우, 표시 영역과 서브 영역을 각각 구성하는 레이아웃의 모든 객체를 전환하는 예를 나타낼 수 있다. 예를 들면, 도 30에서는 프리뷰 영역을 통해 다른 레이아웃을 포함하지 않고 프리뷰만을 제공하는 형태일 수 있다.Referring to FIG. 31 , when switching between the preview area and the sub area, the electronic device 101 may switch between the display area and the sub area in such a way that they are exchanged as they are. For example, all objects of the layout constituting the display area and the sub area may be switched. For example, referring to FIGS. 26 and 31 , in the case of FIG. 26, when switching between the preview area and the sub area, at least some objects of the layout constituting the display area and the sub area are maintained without switching. , and in the case of FIG. 30 , an example of switching all objects of the layout constituting the display area and the sub area may be shown. For example, in FIG. 30 , only a preview is provided without including other layouts through the preview area.

..

도 32 및 도 33은 다양한 실시예들에 따른 전자 장치의 중간 상태에서 화면 구성에 대한 예를 설명하기 위한 도면들이다.32 and 33 are diagrams for explaining an example of a screen configuration in an intermediate state of an electronic device according to various embodiments of the present disclosure;

일 실시예에 따라, 도 32는 최근 프리뷰 위치를 활용하여 프리뷰가 표시될 프리뷰 영역의 위치(예: 상단 또는 하단)를 결정하는 예를 나타낼 수 있다. 일 실시예에 따라, 도 33은 가장 많이 사용된 프리뷰 위치를 이용하여 프리뷰가 표시될 프리뷰 영역의 위치(예: 상단 또는 하단)를 결정하는 예를 나타낼 수 있다. 일 실시예에 따르면, 도 32 및 도 33은 중간 상태(예: 테이블 모드 또는 플렉스 모드)에서의 카메라 프리뷰를 구성하는 예를 나타낼 수 있다. 일 실시예에 따르면, 전자 장치(101)의 중간 상태는 사용자의 의도에 따라 프리뷰 위치를 접히는 부분을 기준으로 위쪽 혹은 아래쪽으로 이동시킬 수 있으며, 프리뷰의 위치에 따라 카메라 어플리케이션 화면 구성을 달리 제공할 수 있다. 일 실시예에 따라, 도 32 및 도 33을 구분하여 도시하였으나, 다양한 실시예들이 이에 제한되지 않으며, 전자 장치(101)의 설정에 따라 도 32 또는 도 33의 동작을 개별적으로 수행하거나, 2개의 조건(예: 최근 사용 프리뷰 기준 및 사용자 사용 빈도(또는 우선순위)가 높은 프리뷰 기준)에 대한 가중치에 따라 순차적으로, 병렬적으로, 또는 휴리스틱 하게 수행할 수도 있다. According to an embodiment, FIG. 32 may show an example of determining a position (eg, top or bottom) of a preview area in which a preview is to be displayed by using a recent preview position. According to an embodiment, FIG. 33 may show an example of determining a position (eg, top or bottom) of a preview area in which a preview is to be displayed using the most used preview position. According to an embodiment, FIGS. 32 and 33 may show examples of configuring a camera preview in an intermediate state (eg, table mode or flex mode). According to an embodiment, in the intermediate state of the electronic device 101, the preview position may be moved upward or downward based on the folded portion according to the user's intention, and a camera application screen configuration may be provided differently according to the preview position. can According to an embodiment, although FIGS. 32 and 33 are shown separately, various embodiments are not limited thereto, and the operation of FIG. 32 or 33 may be performed individually or two It may be performed sequentially, in parallel, or heuristically according to a weight for a condition (eg, a criterion for a recently used preview and a criterion for a preview with high user frequency (or priority)).

일 실시예에 따른, 전자 장치(101)의 중간 상태에서의 카메라 프리뷰 위치 선정 방법은, 예를 들어, 사용자가 전자 장치(101)를 반으로 접어 중간 상태로 최초(예: first time) 진입 시, 프리뷰는 디플트 설정에 따라 위쪽에 위치하게 두고, 이후 사용자의 의도에 따라 프리뷰의 위치를 이동할 수 있다. 이후, 중간 상태 진입 시 프리뷰의 위치를 선택하는 방법은 도 32 또는 도 33와 같이 수행될 수 있다.According to an exemplary embodiment, the method for selecting a camera preview position in the intermediate state of the electronic device 101 includes, for example, when a user folds the electronic device 101 in half to enter the intermediate state for the first time (eg, first time). , the preview is placed on the upper side according to the default setting, and thereafter, the position of the preview can be moved according to the user's intention. Thereafter, a method of selecting a position of a preview when entering an intermediate state may be performed as shown in FIG. 32 or FIG. 33 .

일 실시예에 따르면, 도 32 및 도 33에서, 두 가지의 예 모두 중간 상태 최초 진입 시 프리뷰를 위쪽에 둔다는 점은 동일할 수 있다. 어떤 실시예에 따르면, 카메라 어플리케이션의 의도에 따라 아래쪽에 두는 것도 가능하다.According to an embodiment, in FIGS. 32 and 33 , both examples may be identical in that the preview is placed at the top when the intermediate state is initially entered. According to some embodiments, depending on the intent of the camera application, it is also possible to place it underneath.

일 예를 들면(예: 도 32), 사용자가 전자 장치(101)의 중간 상태를 이미 사용한 적이 있는 경우, 다음 중간 상태 진입 시에 사용자의 마지막 프리뷰 위치와 동일한 위치에 프리부를 두어 카메라 어플리케이션을 구성할 수 있다.For example (eg, FIG. 32 ), when the user has already used the intermediate state of the electronic device 101, the camera application is configured by placing the previewer at the same position as the user's last preview position when entering the next intermediate state. can do.

다른 예를 들면(예: 도 33), 사용자가 전자 장치(101)의 중간 상태를 이미 사용한 적이 있는 경우, 다음 중간 상태 진입 시에 사용자가 많이 사용한 프리뷰 위치와 동일한 위치에 프리뷰를 두어 카메라 어플리케이션을 구성할 수 있다.As another example (eg, FIG. 33 ), when the user has already used the intermediate state of the electronic device 101, when the user enters the next intermediate state, the camera application is executed by placing a preview in the same position as the preview position frequently used by the user. configurable.

일 실시예에 따르면, 전자 장치(101)는 중간 상태에서 프리뷰 위치에 따른 메뉴 항목을 다양하게 구성할 수 있다. 예를 들면, 카메라는 다양한 기능을 제공함에 따라, 많은 버튼과 메뉴 그리고 영상 분석을 통해 나은 화질의 촬영을 위한 다양한 가이드를 제공할 수 있다. 이로 인해, 좁은 화면에서 각종 아이콘 및/또는 팝업이 구성되어 사용자에게 복잡한 장면이 연출될 수 있다. 다양한 실시예들에서는 이를 개선할 수 있다.According to an embodiment, the electronic device 101 may configure various menu items according to the preview position in the intermediate state. For example, as a camera provides various functions, it is possible to provide various guides for better quality shooting through many buttons, menus, and image analysis. Due to this, various icons and/or pop-ups are configured on a narrow screen, and a complicated scene may be produced for the user. Various embodiments may improve this.

일 실시예에 따르면, 카메라 어플리케이션에서 가장 많이 사용되는 요소인 촬영 버튼, 화면 전환, 줌 버튼은 프리뷰의 위치와 상관없이 항상 고정할 수 있다. 예를 들면, 가장 중요한 요소들이 프리뷰 위치에 상관없이 고정되어 있으므로 명확한 사용성을 제공할 수 있다. 이러한 요소들을 다루는 객체(object) 내에 우선 순위(priority)는 하이(high)로 설정되어, 고정된 위치에 제공될 수 있도록 결정할 수 있다.According to an embodiment, the shooting button, screen switching, and zoom button, which are elements most used in the camera application, may always be fixed regardless of the position of the preview. For example, since the most important elements are fixed regardless of the preview position, it can provide clear usability. In an object handling these elements, a priority may be set to high, so that it can be determined to be provided in a fixed position.

일 실시예에 따르면, 현재 상황을 확인하기 위해 사용되는 요소인 알림 팝업(예: 촬영 시간, 경고, 단순 알림, 모드 및/또는 효과 설명), 및/또는 영역선택박스(예: 슈퍼 슬로우 모션 모드에서 모션 인식 자동감지 영역, 음식 모드에서 효과 영역)의 요소를 확인 또는 사용하기 편하도록 프리뷰가 위치한 곳에 위치 시킬 수 있다. 또한 사용자에게 정보를 제공하기 위한 팝업(blur 또는 eye close 이미지 검출)과 night on, HDR on, flash on/off 등 다양한 설정 변경 유도를 위한 tips 등 사용자의 interaction 이 필요한 noti등도 사용자가 주시하고 있는 preview 영역에 띄워주도록 위치를 선정할 수 있다. 해당 object 내에 priority를 middle로 설정하여 preview 영역 중간에 배치되도록 결정될 수 있다.According to an embodiment, a notification pop-up (eg, shooting time, warning, simple notification, mode and/or effect description), which is an element used to check the current situation, and/or an area selection box (eg, super slow motion mode) You can check the elements of the motion recognition auto-detection area in , the effect area in food mode) or place them where the preview is located so that it is easy to use. In addition, users are paying attention to previews that require user interaction, such as pop-ups to provide information to users (detection of blur or eye close images) and tips for inducing changes to various settings such as night on, HDR on, and flash on/off. You can select a location to float in the area. It can be decided to be placed in the middle of the preview area by setting the priority to middle in the object.

일 실시예에 따르면, 마지막으로 각종 조작(비율, 필터, ISO, shutter speed, flash 등) 아이콘과 촬영 모드 변경 아이콘 등은 중간 상태 상황에서 상대적으로 사용률이 낮은 요소이므로 촬영에 불편함이 없도록 프리뷰가 위치한 반대편에 위치시켜 쾌적한 촬영환경을 구성할 수 있다. 이러한 객체(object) 내 우선 순위(priority)는 로우(low)로 설정하여 프리뷰가 없는 곳에 배치되도록 결정할 수 있다.According to one embodiment, finally, various operation (ratio, filter, ISO, shutter speed, flash, etc.) icons and shooting mode change icons are elements that have relatively low usage rates in an intermediate state, so the preview is displayed so that shooting is not inconvenient. By placing it on the opposite side of the location, you can create a comfortable shooting environment. The priority in such an object may be set to low to determine to be placed where there is no preview.

일 실시예에 따라, 상기에 언급된 요소들은 사용자의 사용 패턴 학습을 통해 중간 상태에서의 화면 구성을 사용자에 따라 최적화 할 수 있다. 예를 들어, 저조도 촬영을 위해 night on 을 제공하여도 사용하지 않는 반면, 촬영 모드의 변경이 많은 사용자라면 이에 따라 촬영 모드 항목을 프리뷰 영역에 배치하고 noti 등을 프리뷰가 없는 곳에 이동시킬 수 있다. 예를 들어, 사용자가 중간 상에서 줌보다 촬영 모드 변경을 많이 하는 경우, 중간 상태 구성을 변경하여 줌을 프리뷰와 반대쪽에 위치 시키고, 촬영 모드 변경 아이콘을 프리뷰 쪽에 위치 시킬 수 있다.According to an embodiment, the above-mentioned elements may optimize the screen configuration in the intermediate state according to the user through the user's usage pattern learning. For example, even if night on is provided for low-light photography, it is not used, but if the user changes the shooting mode a lot, the shooting mode item can be placed in the preview area and noti, etc. can be moved to a place where there is no preview. For example, if the user changes the shooting mode more than the zoom in the middle, by changing the intermediate state configuration, the zoom can be positioned on the opposite side of the preview, and the shooting mode change icon can be positioned on the preview side.

도 34 내지 도 46은 다양한 실시예들에 따른 전자 장치에서 프리뷰 이동을 자동 제어하는 예를 설명하기 위한 도면들이다.34 to 46 are diagrams for explaining an example of automatically controlling preview movement in an electronic device according to various embodiments of the present disclosure;

일 실시예에 따르면, 전자 장치(101)가 folding 되는 각도와 전면 카메라로 사용자의 시선 위치 파악 및/또는 센서(예: 6축 센서)로 전자 장치(101)가 놓여진 상태를 파악하여 프리뷰 이동을 자동 제어할 수 있다. 일 실시예에 따라, 도 34 내지 도 46에서, 참조부호 (C)는 카메라(Camera)를 나타낼 수 있고, 참조부호 (P)는 프리뷰(Preview)를 나타낼 수 있다.According to an embodiment, a preview movement is performed by determining the angle at which the electronic device 101 is folded and the position of the user's gaze with the front camera and/or the state in which the electronic device 101 is placed with a sensor (eg, a 6-axis sensor). can be automatically controlled. According to an embodiment, in FIGS. 34 to 46 , reference numeral C may denote a camera, and reference numeral P may denote a preview.

도 34 내지 도 39는 일 실시예에 따라, 전자 자치에서 피사체와 힌지 각도를 이용하여 High/Low angle을 설정하는 예를 나타낼 수 있다.34 to 39 may illustrate an example of setting a High/Low angle using a subject and a hinge angle in electronic autonomy, according to an embodiment.

도 34 내지 도 36을 참조하면, 도 34 내지 도 36은 피사체 인식(예: 얼굴, 눈등) 및 상하단 정의된 힌지의 각도에 대한 예를 나타낼 수 있다. 예를 들면, 전자 장치(101)는 피사체가 high angle로 인식되면, 프리뷰 및 컨트롤을 하단에 배치하여 제공할 수 있다. 일 실시예에 따라, 도 34 내지 도 36에 도시된 각도는 XY축 기준으로 예시된 각도를 나타낼 수 있다.34 to 36 , FIGS. 34 to 36 may show examples of subject recognition (eg, face, eyes, etc.) and angles of hinges defined at upper and lower ends. For example, when the subject is recognized at a high angle, the electronic device 101 may provide a preview and a control by disposing it at the bottom. According to an embodiment, the angle shown in FIGS. 34 to 36 may represent an angle exemplified based on the XY axis.

도 37 내지 도 39를 참조하면, 도 37 내지 도 39는 피사체 인식(예: 얼굴, 눈등) 및 상하단 정의된 힌지의 각도에 대한 예를 나타낼 수 있다. 예를 들면, 전자 장치(101)는 피사체가 low angle로 인식되면, 프리뷰를 상단에 컨트롤을 하단에 배치하여 제공할 수 있다. 일 실시예에 따라, 도 37 내지 도 39에 도시된 각도는 XY축 기준으로 예시된 각도를 나타낼 수 있다.37 to 39 , FIGS. 37 to 39 may show examples of subject recognition (eg, face, eyes, etc.) and angles of hinges defined at upper and lower ends. For example, when the subject is recognized at a low angle, the electronic device 101 may provide a preview by arranging the control at the top and the bottom. According to an embodiment, the angle shown in FIGS. 37 to 39 may represent an angle exemplified based on the XY axis.

도 40 및 도 41은 일 실시예에 따라, 전자 장치에서 촬영자의 시선 위치를 이용하여 프리뷰 위치를 정의하는 예를 나타낼 수 있다. 40 and 41 may illustrate an example of defining a preview position using a gaze position of a photographer in an electronic device, according to an embodiment.

일 실시예에 따르면, 전자 장치(101)는 촬영자의 시선 방향을 통해 프리뷰 위치를 설정할 수 있다. 예를 들면, 전자 장치(101)는 촬영자의 시선이 위로 향하면 프리뷰를 상단에 위치하여 제공할 수 잇고, 촬영자의 시선이 아래로 향하면 프리뷰를 하단에 위치하여 제공할 수 있다.According to an embodiment, the electronic device 101 may set the preview position through the gaze direction of the photographer. For example, the electronic device 101 may provide the preview by being positioned at the top when the photographer's gaze is directed upward, and may provide the preview by being positioned at the bottom when the photographer's gaze is downward.

어떤 실시예에 따르면, 전자 장치(101)는 아이 트래킹(eye tracking)에 기반하여 사용자의 시선 방향을 식별할 수 있다. 일 실시예에 따라, 사용자의 시선 방향 추적에 따른 불필요한 오동작(예: 사용자가 컨트롤 위한 시선 이동 시 프리뷰 위치 전환)을 방지하도록 추가적은 트래킹을 수행하여 오동작을 보완할 수도 있다. 예를 들면, 사용자의 움직임이 진행된 방향을 트래킹하여 시선 방향에 따른 프리뷰 전환 여부를 결정할 수도 있다.According to some embodiments, the electronic device 101 may identify the user's gaze direction based on eye tracking. According to an embodiment, additional tracking may be performed to compensate for an unnecessary erroneous operation according to the user's gaze direction tracking (eg, a preview position change when the user moves the user's gaze for control). For example, by tracking the direction in which the user's movement progresses, whether to switch the preview according to the gaze direction may be determined.

도 42는 일 실시예에 따라, 전자 장치에서 디바이스 각도 및 힌지 각도를 이용하여 High/Low angle을 설정하는 예를 나타낼 수 있다.42 may illustrate an example of setting a high/low angle using a device angle and a hinge angle in an electronic device, according to an embodiment.

도 42를 참조하면, 전자 장치(101)는 일 실시예에 따라 상하단 정의된 힌지의 각도와 6축 센서로 보정할 수 있다. 예를 들면, 전자 장치(101)는 각도에 의해 High 또는 low angle을 인식하고, High 또는 low angle에 의한 프리뷰 및 컨트롤러 위치를 정의할 수 있다. 일 실시예에 따라, 도 42에 도시된 각도는 XYZ축 기준으로 예시된 각도를 나타낼 수 있다. Referring to FIG. 42 , according to an embodiment, the electronic device 101 may correct the angle of the hinge defined at upper and lower ends and a 6-axis sensor. For example, the electronic device 101 may recognize a high or low angle based on the angle, and define a preview and a controller position based on the high or low angle. According to an embodiment, the angle shown in FIG. 42 may represent an angle exemplified based on the XYZ axis.

예를 들면, 사용자가 전자 장치(101)를 들고 있는 상태에서는, 정의된 힌지의 상하단 각도 및 6축 센서를 이용하여 보정할 수 있다.For example, in a state in which the user holds the electronic device 101 , the correction may be performed using the defined upper and lower angles of the hinge and the 6-axis sensor.

도 43 내지 도 46은 일 실시예에 따라, 전자 장치에서 고정된 위치 및 힌지 각도를 이용하여 High/Low angle을 설정하는 예를 나타낼 수 있다.43 to 46 may illustrate an example of setting a high/low angle using a fixed position and a hinge angle in an electronic device, according to an embodiment.

일 실시예에 따라, 도 43 및 도 44는 전자 장치(101)가 테이블 위에 놓여진 상태(예: 고정된 상태)를 나타낼 수 있다. 이러한 상태에서, 전자 장치(101)는 전면 카메라로 촬영 시 약 90도(예: 정의된 힌지의 각도) 기준으로 프리뷰의 상하단 위치를 이동할 수 있다.According to an embodiment, FIGS. 43 and 44 may represent a state (eg, a fixed state) in which the electronic device 101 is placed on a table. In this state, the electronic device 101 may move the upper and lower positions of the preview based on about 90 degrees (eg, a defined hinge angle) when photographing with the front camera.

일 실시예에 따라, 도 45 및 도 46은 전자 장치(101)가 테이블 위에 놓여진 상태(예: 고정된 상태)를 나타낼 수 있다. 이러한 상태에서, 전자 장치(101)는 후면 카메라로 촬영 시 폴더를 접으면 약 90도(예: 정의된 힌지의 각도) 기준으로 프리뷰를 하단 위치로 이동할 수 있다.According to an embodiment, FIGS. 45 and 46 may represent a state in which the electronic device 101 is placed on a table (eg, a fixed state). In this state, the electronic device 101 may move the preview to a lower position based on about 90 degrees (eg, a defined hinge angle) when the folder is folded when photographing with the rear camera.

도 47은 다양한 실시예들에 따른 전자 장치의 중간 상태에서 프리뷰 전환 예를 설명하기 위한 도면이다.47 is a diagram for describing an example of preview switching in an intermediate state of an electronic device according to various embodiments of the present disclosure;

도 47에 도시한 바와 같이, 도 47은 프리뷰 영역과 서브 영역을 통해 서로 다른 카메라부터 획득된 프리뷰를 각각 제공하는 예를 나타낼 수 있다. 예를 들면, 일 실시예에 따라, 전자 장치(101)는 전면 카메라 장치(305)와 후면 카메라 장치(308)가 동시에 사용되는 경우, 제1 영역을 전면 카메라 장치의 프리뷰 영역(예: 전면 프리뷰 영역)으로 제공할 수 있고, 제2 영역을 후면 카메라 장치(308)의 프리뷰 영역(예: 후면 프리뷰 영역)으로 제공할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 전면 카메라 장치(305)로부터 획득되는 프리뷰 데이터의 프리뷰(1600)를 제1 영역을 통해 표시되는 동안, 사용자 입력에 기반하여 후면 카메라 장치(308)를 연결하여, 후면 카메라 장치(308)로부터 획득되는 프리뷰 데이터의 프리뷰를 후면 프리뷰 영역을 통해 표시하도록 할 수 있다. 예를 들면, 전자 장치(101)는 제1 영역과 제2 영역을 통해, 전면 카메라 장치(305)의 프리뷰와 후면 카메라 장치(308)의 프리뷰를 동시에 제공할 수 있다. 어떤 실시예에 따르면, 전자 장치(101)는 제2 영역을 전자 장치(101)의 카메라 장치(예: 전면 카메라 장치(305) 또는 후면 카메라 장치(308))의 프리뷰 영역으로 제공하고, 제1 영역을 외부 전자 장치(미도시)의 카메라 장치(미도시)의 프리뷰 영역으로 제공할 수 있다. 어떤 실시예에 따르면, 전자 장치(101)의 설정에 따라 제1 영역을 전자 장치(101)의 카메라 장치(305, 308)의 프리뷰 영역으로 제공하고, 제2 영역을 외부 전자 장치의 카메라 장치의 프리뷰 영역으로 제공할 수도 있다.As shown in FIG. 47 , FIG. 47 may show an example of providing previews obtained from different cameras through a preview area and a sub area, respectively. For example, according to an embodiment, when the front camera device 305 and the rear camera device 308 are used simultaneously, the electronic device 101 sets the first area to a preview area (eg, front preview) of the front camera device. area), and the second area may be provided as a preview area (eg, rear preview area) of the rear camera device 308 . According to an embodiment, while the preview 1600 of the preview data obtained from the front camera device 305 is displayed through the first area, the electronic device 101 controls the rear camera device 308 based on the user input. By connection, a preview of preview data obtained from the rear camera device 308 may be displayed through the rear preview area. For example, the electronic device 101 may simultaneously provide a preview of the front camera device 305 and a preview of the rear camera device 308 through the first area and the second area. According to some embodiments, the electronic device 101 provides the second area as a preview area of the camera device of the electronic device 101 (eg, the front camera device 305 or the rear camera device 308), and the first The area may be provided as a preview area of a camera device (not shown) of an external electronic device (not shown). According to an exemplary embodiment, the first area is provided as a preview area of the camera devices 305 and 308 of the electronic device 101 according to a setting of the electronic device 101 , and the second area is provided as a preview area of the camera device of the external electronic device. It can also be provided as a preview area.

다양한 실시예들에 따르면, 전자 장치(101)는 사용자 입력에 기반하여 제1 영역과 제2 영역의 역할을 전환할 수도 있다. 예를 들면, 전자 장치(101)는 구분된 영역의 각 프리뷰 간 전환을 제공할 수 있다.According to various embodiments, the electronic device 101 may switch roles of the first area and the second area based on a user input. For example, the electronic device 101 may provide switching between each preview of the divided area.

일 실시예에 따르면, 중간 상태에서 상단에는 후면 카메라가 표시되고, 하단에는 전면 카메라가 표시되고 있는 상태에서, 사용자가 특정 이벤트를 발생시킬 경우, 상단에 표시되는 후면 카메라 이미지는 하단으로 이동하고, 하단에 표시되는 전면 카메라 이미지는 상단으로 이동할 수 있다.According to one embodiment, in a state in which the rear camera is displayed at the top in the middle state and the front camera is displayed at the bottom, when a user generates a specific event, the rear camera image displayed at the top moves to the bottom, The front camera image displayed at the bottom can be moved to the top.

일 실시예에 따르면, 상단에 전면 카메라, 하단에 후면 카메라 이미지가 각각 표시되고 있는 상황에서, 사용자 입력이 발생할 경우, 상하단 프리뷰 이미지를 전환할 수 있다According to an embodiment, in a situation in which images of the front camera at the top and the rear camera at the bottom are respectively displayed, when a user input occurs, the upper and lower preview images may be switched.

일 실시예에 따라, 사용자 입력은, 예를 들면, 전자 장치(101)의 임의의 영역을 싱글탭/더블탭 하는 경우, 이동하고자 하는 프리뷰 이미지를 드래그하여 다른 영역으로 drag/drop하는 경우, 및/또는 사전에 매핑시킨 하드웨어적인 물리키(예: 볼륨 up/down)을 누를 경우를 포함할 수 있다.According to an embodiment, the user input is, for example, when single-tap/double-tap an arbitrary area of the electronic device 101, when dragging/dropping a preview image to be moved to another area, and / or may include a case of pressing a pre-mapped hardware physical key (eg, volume up/down).

본 개시의 다양한 실시예들에 따른 전자 장치(101)에서 수행하는 동작 방법은, 카메라 장치의 실행에 기반하여, 상기 전자 장치(101)의 상태를 식별하는 동작, 상기 전자 장치(101)의 상태에 기반하여, 상기 카메라 장치의 동작 모드 및 상기 카메라 장치의 실행에 대응하여 동작하는 디스플레이를 식별하는 동작, 상기 카메라 장치의 동작 모드 및 상기 식별된 디스플레이에 적어도 기반하여, 상기 카메라 장치의 설정을 업데이트 하는 동작, 상기 업데이트된 설정에 기반하여 상기 카메라 장치로부터 획득된 프리뷰를 상기 식별된 디스플레이를 통해 표시하는 동작을 포함할 수 있다.An operation method performed by the electronic device 101 according to various embodiments of the present disclosure includes an operation of identifying a state of the electronic device 101 based on execution of a camera device, and a state of the electronic device 101 . based on the operation mode of the camera device and the operation of identifying a display operating in response to the execution of the camera device, updating the settings of the camera device based at least on the operation mode of the camera device and the identified display and displaying a preview obtained from the camera device based on the updated setting through the identified display.

다양한 실시예들에 따르면, 전자 장치(101)의 상기 방법은, 상기 전자 장치(101)의 상태에 기반하여, 상기 카메라 장치를 대응하는 동작 모드로 결정하는 동작, 동작 모드 결정에 기반하여 제1 디스플레이 또는 제2 디스플레이의 연결을 설정하는 동작, 상기 카메라 장치의 설정을 상기 동작 모드와 연결하는 디스플레이의 속성에 적어도 기반하여 업데이트 하는 동작, 상기 카메라 장치로부터 상기 업데이트된 설정에 기반하여 획득되는 프리뷰 데이터를 상기 연결하는 디스플레이를 통해 프리뷰를 표시하는 동작을 포함할 수 있다.According to various embodiments, the method of the electronic device 101 includes an operation of determining the camera device as a corresponding operation mode based on the state of the electronic device 101, and a first operation mode determination based on the operation mode determination. An operation of establishing a connection of a display or a second display, an operation of updating the setting of the camera device based on at least a property of a display connecting with the operation mode, and preview data obtained from the camera device based on the updated setting and displaying a preview through the display connecting the .

다양한 실시예들에 따르면, 상기 전자 장치(101)의 상기 방법은, 상기 전자 장치(101)의 상태 변화를 모니터링 하는 동작, 상기 전자 장치(101)의 상태 변화에 기반하여, 상기 카메라 장치의 프로세스(process) 별 보정을 수행하는 동작을 포함할 수 있다.According to various embodiments, in the method of the electronic device 101 , the process of the camera device is performed based on the operation of monitoring the state change of the electronic device 101 and the state change of the electronic device 101 . (Process) may include an operation of performing each correction.

다양한 실시예들에 따르면, 상기 전자 장치(101)의 상기 방법은, 상기 디스플레이를 폴딩 축을 기준으로 제1 영역과 제2 영역으로 분할하는 동작, 상기 제1 영역을 상기 카메라 장치의 프리뷰를 위한 프리뷰 영역으로 제공하는 동작, 상기 제2 영역을 상기 프리뷰와 연관된 서브 영역으로 제공하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the method of the electronic device 101 includes dividing the display into a first region and a second region based on a folding axis, and previewing the first region for a preview of the camera device. It may include an operation of providing the region and an operation of providing the second region as a sub region associated with the preview.

다양한 실시예들에 따르면, 상기 서브 영역은 상기 카메라 장치의 동작에 기반하여 다른 레이아웃을 가지도록 전환될 수 있다.According to various embodiments, the sub-region may be switched to have a different layout based on the operation of the camera device.

다양한 실시예들에 따르면, 상기 제1 영역은 사용자와 비상호작용(non-interaction) 하는 인터페이스에 관련된 레이아웃을 제공하고, 상기 제2 영역은 사용자와 상호작용 하는 인터페이스에 관련된 레이아웃을 제공할 수 있다. According to various embodiments, the first area may provide a layout related to an interface that interacts with a user, and the second area may provide a layout related to an interface that interacts with a user.

다양한 실시예들에 따르면, 상기 전자 장치(101)의 상기 방법은, 상기 디스플레이를 통해 메인 프리뷰를 표시하는 동안, 멀티 프리뷰 표시를 위한 트리거를 감지하는 동작, 상기 디스플레이의 상기 메인 프리뷰로부터 다른 디스플레이를 위한 서브 프리뷰를 획득하는 동작, 상기 디스플레이를 통해 상기 메인 프리뷰를 표시하고, 상기 다른 디스플레이를 통해 상기 서브 프리뷰를 동시에 표시하는 동작을 포함할 수 있다.According to various embodiments, the method of the electronic device 101 includes detecting a trigger for displaying a multi-preview while displaying the main preview through the display, and selecting another display from the main preview of the display. The method may include obtaining a sub-preview for the display, displaying the main preview through the display, and simultaneously displaying the sub-preview through the other display.

다양한 실시예들에 따르면, 상기 서브 프리뷰는, 상기 디스플레이를 통해 표시되는 상기 메인 프리뷰의 적어도 일부분이 크롭(crop)된 영상, 또는 상기 디스플레이를 통해 표시되는 상기 메인 프리뷰가 리사이즈(resize)된 영상에 적어도 기반하여 생성될 수 있다.According to various embodiments, the sub-preview is an image in which at least a portion of the main preview displayed through the display is cropped, or an image in which the main preview displayed through the display is resized. At least it can be created based on

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

101: 전자 장치
120: 프로세서
130: 메모리
210, 300, 331: 디스플레이
180, 305, 308, 308a, 308b: 카메라 장치
510: 이벤트 모니터
520: 상태 매니저
530: 폴딩/언폴딩 매니저
540: 프리뷰 매니저
101: electronic device
120: processor
130: memory
210, 300, 331: display
180, 305, 308, 308a, 308b: camera device
510: event monitor
520: state manager
530: folding/unfolding manager
540: Preview Manager

Claims (20)

전자 장치에 있어서,
카메라 장치;
제1 디스플레이;
제2 디스플레이; 및
프로세서를 포함하고, 상기 프로세서는,
상기 카메라 장치의 실행에 기반하여, 상기 전자 장치의 상태를 식별하고,
상기 전자 장치의 상태에 기반하여, 상기 카메라 장치의 동작 모드 및 상기 카메라 장치의 실행에 대응하여 동작하는 디스플레이를 식별하고,
상기 카메라 장치의 동작 모드 및 상기 식별된 디스플레이에 적어도 기반하여, 상기 카메라 장치의 설정을 업데이트 하고,
상기 업데이트된 설정에 기반하여 상기 카메라 장치로부터 획득된 프리뷰를 상기 식별된 디스플레이를 통해 표시하도록 설정된 전자 장치.
In an electronic device,
camera device;
a first display;
a second display; and
A processor comprising:
based on the execution of the camera device, identify the state of the electronic device,
based on the state of the electronic device, identify an operation mode of the camera device and a display that operates in response to the execution of the camera device,
update the settings of the camera device based at least on the operating mode of the camera device and the identified display;
an electronic device configured to display a preview obtained from the camera device through the identified display based on the updated setting.
제1항에 있어서, 상기 프로세서는,
상기 전자 장치의 제1 상태에서, 상기 카메라 장치를 제1 동작 모드로 결정하고,
상기 제1 동작 모드 결정에 기반하여 상기 제1 디스플레이의 연결을 설정하고,
상기 카메라 장치의 설정을 상기 제1 동작 모드와 상기 제1 디스플레이의 속성에 적어도 기반하여 업데이트 하고,
상기 카메라 장치로부터 상기 업데이트된 설정에 기반하여 획득되는 프리뷰 데이터를 상기 제1 디스플레이에 전달하여, 상기 제1 디스플레이를 통해 프리뷰를 표시하도록 설정된 전자 장치.
The method of claim 1, wherein the processor comprises:
determining the camera device as a first operation mode in the first state of the electronic device;
establishing a connection of the first display based on the determination of the first operation mode;
updating the settings of the camera device based on at least the first operation mode and the properties of the first display,
an electronic device configured to transmit preview data obtained from the camera device based on the updated setting to the first display and display a preview through the first display.
제2항에 있어서, 상기 프로세서는,
상기 전자 장치의 상태 변화를 모니터링 하고,
상기 전자 장치의 상태 변화에 기반하여, 상기 카메라 장치의 프로세스(process) 별 보정을 수행하도록 설정된 전자 장치.
The method of claim 2, wherein the processor comprises:
monitoring the state change of the electronic device;
An electronic device configured to perform correction for each process of the camera device based on a change in the state of the electronic device.
제3항에 있어서, 상기 프로세서는,
상기 카메라 장치를 연결하는 프로세스, 상기 카메라 장치의 연결 상태에서 프리뷰 로딩(preview loading) 프로세스, 및 영상 촬영 프로세스 중 적어도 하나의 진행 과정에서, 상기 전자 장치의 상태 변화를 감지하고,
상기 변화가 감지되는 프로세스에 기반하여, 상기 카메라 장치의 연결 해지, 카메라 장치의 설정 리프레시, 및/또는 카메라 장치의 연결 동작 중 적어도 하나를 수행하고,
상기 카메라 장치의 재연결 이후, 상기 카메라 장치로부터 상태 변화에 대응하는 새로운 설정에 따라 보정된 프리뷰를 대응하는 디스플레이를 통해 표시하도록 설정된 전자 장치.
The method of claim 3, wherein the processor comprises:
Detecting a state change of the electronic device in at least one of a process of connecting the camera device, a preview loading process in a connected state of the camera device, and an image capturing process,
performing at least one of disconnecting the camera device, refreshing the settings of the camera device, and/or connecting the camera device, based on the process in which the change is detected;
After the reconnection of the camera device, an electronic device configured to display a preview corrected according to a new setting corresponding to a state change from the camera device through a corresponding display.
제1항에 있어서, 상기 프로세서는,
상기 전자 장치의 제2 상태에서, 상기 카메라 장치를 제2 동작 모드로 결정하고,
상기 제2 동작 모드 결정에 기반하여 상기 제2 디스플레이의 연결을 설정하고,
상기 카메라 장치의 설정을 상기 제2 동작 모드와 상기 제2 디스플레이의 속성에 적어도 기반하여 업데이트 하고,
상기 카메라 장치로부터 상기 업데이트된 설정에 기반하여 획득되는 프리뷰 데이터를 상기 제2 디스플레이 전달하여, 상기 제2 디스플레이를 통해 프리뷰를 표시하도록 설정된 전자 장치.
The method of claim 1, wherein the processor comprises:
determining the camera device as a second operation mode in the second state of the electronic device;
establishing a connection of the second display based on the determination of the second operation mode;
updating the settings of the camera device based on at least the second operation mode and the properties of the second display,
an electronic device configured to transmit preview data obtained based on the updated setting from the camera device to the second display and display the preview through the second display.
제1항에 있어서, 상기 프로세서는,
상기 전자 장치의 제3 상태에서, 상기 카메라 장치를 제3 동작 모드로 결정하고,
상기 제3 동작 모드 결정에 기반하여 상기 카메라 장치의 설정을, 상기 제3 동작 모드와 상기 제3 동작 모드에서 연결되는 상기 제2 디스플레이의 속성에 적어도 기반하여 업데이트 하고,
상기 카메라 장치로부터 상기 업데이트된 설정에 기반하여 획득되는 프리뷰 데이터를 상기 제2 디스플레이에 전달하여, 상기 제2 디스플레이의 지정된 일부 영역을 통해 프리뷰를 표시하도록 설정된 전자 장치.
The method of claim 1, wherein the processor comprises:
determining the camera device as a third operation mode in the third state of the electronic device;
updating the setting of the camera device based on the determination of the third operation mode based on at least the third operation mode and a property of the second display connected in the third operation mode;
an electronic device configured to transmit preview data obtained from the camera device based on the updated setting to the second display, and display the preview through a designated partial area of the second display.
제6항에 있어서, 상기 프로세서는,
상기 제3 동작 모드 결정에 기반하여 상기 제2 디스플레이를 폴딩 축을 기준으로 제1 영역과 제2 영역으로 분할하고,
상기 제1 영역을 상기 카메라 장치의 프리뷰를 위한 프리뷰 영역으로 제공하고,
상기 제2 영역을 상기 프리뷰와 연관된 서브 영역으로 제공하도록 설정되고,
상기 서브 영역은 상기 카메라 장치의 동작에 기반하여 다른 레이아웃을 가지도록 전환되는 것을 특징으로 하는 전자 장치.
The method of claim 6, wherein the processor comprises:
dividing the second display into a first area and a second area based on a folding axis based on the determination of the third operation mode;
providing the first area as a preview area for previewing the camera device;
set to provide the second region as a sub-region associated with the preview,
The electronic device of claim 1, wherein the sub-region is switched to have a different layout based on an operation of the camera device.
제7항에 있어서, 상기 프로세서는,
상기 카메라 장치의 설정을, 상기 제2 디스플레이의 상기 제1 영역의 속성에 대응하여 업데이트 하도록 설정된 전자 장치.
The method of claim 7, wherein the processor comprises:
An electronic device configured to update a setting of the camera device in response to a property of the first area of the second display.
제7항에 있어서, 상기 프로세서는,
상기 제1 영역에 사용자와 비상호작용(non-interaction) 하는 인터페이스에 관련된 레이아웃을 제공하고,
상기 제2 영역에 사용자와 상호작용 하는 인터페이스에 관련된 레이아웃을 제공하도록 설정된 전자 장치.
The method of claim 7, wherein the processor comprises:
providing a layout related to an interface for non-interaction with a user in the first area;
An electronic device configured to provide a layout related to an interface interacting with a user in the second area.
제7항에 있어서, 상기 프로세서는,
상기 제1 영역의 프리뷰 상태 또는 사용자 설정 상태에 기반하여, 상기 제2 영역에 설정되는 서브 영역에 관련된 레이아웃을 식별하고,
상기 제1 영역을 통해 상기 프리뷰를 포함하는 제1 사용자 인터페이스를 제공하고,
상기 제2 영역을 통해 지정된 서브 영역에 대응하는 동작 정보를 포함하는 제2 사용자 인터페이스를 제공하도록 설정된 전자 장치.
The method of claim 7, wherein the processor comprises:
identify a layout related to a sub-region set in the second region based on a preview state or a user setting state of the first region;
providing a first user interface including the preview through the first area;
An electronic device configured to provide a second user interface including operation information corresponding to a sub-region designated through the second area.
제1항에 있어서, 상기 프로세서는,
상기 식별된 디스플레이를 통해 프리뷰를 표시하는 동안, 멀티 프리뷰 표시를 위한 트리거에 기반하여 다른 디스플레이의 연결을 설정하고,
상기 디스플레이와 상기 다른 디스플레이를 통해 프리뷰를 동시에 표시하도록 설정된 전자 장치.
The method of claim 1, wherein the processor comprises:
while displaying a preview through the identified display, establishing a connection of another display based on a trigger for displaying a multi-preview;
An electronic device configured to simultaneously display a preview through the display and the other display.
제11항에 있어서, 상기 프로세서는,
상기 전자 장치의 제2 상태에서 상기 제2 디스플레이를 통해 메인 프리뷰를 표시하는 동안, 멀티 프리뷰 표시를 위한 트리거를 감지하고,
제2 디스플레이의 상기 메인 프리뷰로부터 상기 제1 디스플레이를 위한 서브 프리뷰를 획득하고,
상기 제2 디스플레이를 통해 상기 메인 프리뷰를 표시하고, 상기 제1 디스플레이를 통해 상기 서브 프리뷰를 동시에 표시하도록 설정된 전자 장치.
The method of claim 11 , wherein the processor comprises:
detecting a trigger for displaying a multi-preview while displaying the main preview through the second display in the second state of the electronic device;
obtain a sub-preview for the first display from the main preview of a second display;
The electronic device is configured to display the main preview through the second display and simultaneously display the sub preview through the first display.
제12항에 있어서, 상기 프로세서는,
상기 제2 디스플레이를 통해 표시되는 상기 메인 프리뷰의 적어도 일부분이 크롭(crop)된 영상, 또는 상기 제2 디스플레이를 통해 표시되는 상기 메인 프리뷰가 리사이즈(resize)된 영상에 적어도 기반하여 상기 서브 프리뷰를 생성하도록 설정된 전자 장치.
The method of claim 12, wherein the processor comprises:
The sub-preview is generated based on at least an image in which at least a portion of the main preview displayed through the second display is cropped, or an image in which the main preview displayed through the second display is resized. An electronic device set up to do so.
제12항에 있어서, 상기 프로세서는,
상기 제1 디스플레이의 온/오프 이벤트를 발생할 수 있는 소프트웨어적인 인터페이스, 물리적인 인터페이스, 음성 인터페이스, 및/또는 제스처 인터페이스를 이용한, 사용자 입력에 기반하여, 상기 멀티 프리뷰 표시를 위한 트리거를 감지하도록 설정된 전자 장치.
The method of claim 12, wherein the processor comprises:
Electronic configured to detect a trigger for displaying the multi-preview based on a user input using a software interface, a physical interface, a voice interface, and/or a gesture interface capable of generating an on/off event of the first display Device.
제1항에 있어서,
상기 제1 디스플레이는, 상기 전자 장치의 후면에 배치되고, 상기 전자 장치의 접힘 상태에서 상기 카메라 장치의 프리뷰를 표시하고, 상기 전자 장치의 펼침 상태 또는 중간 상태에서 상기 카메라 장치의 동작 모드에 따라 프리뷰를 선택적으로 표시하도록 설정되고,
상기 제2 디스플레이는, 상기 전자 장치의 전면에 배치되고, 지정된 폴딩 축을 기준으로 접히거나, 구부러지거나, 또는 펼쳐지는 플렉서블 디스플레이를 포함하고, 상기 전자 장치의 펼침 상태 또는 중간 상태에서 상기 카메라 장치의 프리뷰를 표시하도록 설정되고,
상기 제1 디스플레이와 상기 제2 디스플레이는 서로 다른 화면 사이즈 및/또는 화면 해상도로 동작하도록 설정된 전자 장치.
According to claim 1,
The first display is disposed on the rear side of the electronic device, displays a preview of the camera device in a folded state of the electronic device, and previews according to an operation mode of the camera device in an unfolded state or an intermediate state of the electronic device is set to selectively display,
The second display includes a flexible display that is disposed on the front side of the electronic device and is folded, bent, or unfolded based on a designated folding axis, and a preview of the camera device in an unfolded state or an intermediate state of the electronic device is set to display,
The first display and the second display are set to operate at different screen sizes and/or screen resolutions.
전자 장치의 동작 방법에 있어서,
카메라 장치의 실행에 기반하여, 상기 전자 장치의 상태를 식별하는 동작,
상기 전자 장치의 상태에 기반하여, 상기 카메라 장치의 동작 모드 및 상기 카메라 장치의 실행에 대응하여 동작하는 디스플레이를 식별하는 동작,
상기 카메라 장치의 동작 모드 및 상기 식별된 디스플레이에 적어도 기반하여, 상기 카메라 장치의 설정을 업데이트 하는 동작,
상기 업데이트된 설정에 기반하여 상기 카메라 장치로부터 획득된 프리뷰를 상기 식별된 디스플레이를 통해 표시하는 동작을 포함하는 방법.
A method of operating an electronic device, comprising:
Based on the execution of the camera device, the operation of identifying the state of the electronic device,
identifying an operation mode of the camera device and a display operating in response to execution of the camera device based on the state of the electronic device;
updating the settings of the camera device based at least on the identified display and the operating mode of the camera device;
and displaying a preview obtained from the camera device based on the updated setting through the identified display.
제16항에 있어서,
상기 전자 장치의 상태에 기반하여, 상기 카메라 장치를 대응하는 동작 모드로 결정하는 동작,
동작 모드 결정에 기반하여 제1 디스플레이 또는 제2 디스플레이의 연결을 설정하는 동작,
상기 카메라 장치의 설정을 상기 동작 모드와 연결하는 디스플레이의 속성에 적어도 기반하여 업데이트 하는 동작,
상기 카메라 장치로부터 상기 업데이트된 설정에 기반하여 획득되는 프리뷰 데이터를 상기 연결하는 디스플레이를 통해 프리뷰를 표시하는 동작을 포함하는 방법.
17. The method of claim 16,
determining the camera device as a corresponding operation mode based on the state of the electronic device;
establishing a connection of the first display or the second display based on the determination of the operation mode;
an operation of updating the settings of the camera device based on at least a property of a display linking the operation mode;
and displaying a preview through the display connecting the preview data obtained based on the updated setting from the camera device.
제16항에 있어서,
상기 전자 장치의 상태 변화를 모니터링 하는 동작,
상기 전자 장치의 상태 변화에 기반하여, 상기 카메라 장치의 프로세스(process) 별 보정을 수행하는 동작을 포함하는 방법.
17. The method of claim 16,
monitoring the state change of the electronic device;
and performing correction for each process of the camera device based on a change in the state of the electronic device.
제16항에 있어서,
상기 디스플레이를 폴딩 축을 기준으로 제1 영역과 제2 영역으로 분할하는 동작,
상기 제1 영역을 상기 카메라 장치의 프리뷰를 위한 프리뷰 영역으로 제공하는 동작,
상기 제2 영역을 상기 프리뷰와 연관된 서브 영역으로 제공하는 동작을 포함하고,
상기 서브 영역은 상기 카메라 장치의 동작에 기반하여 다른 레이아웃을 가지도록 전환되고,
상기 제1 영역은 사용자와 비상호작용(non-interaction) 하는 인터페이스에 관련된 레이아웃을 제공하고,
상기 제2 영역은 사용자와 상호작용 하는 인터페이스에 관련된 레이아웃을 제공하는 것을 특징으로 하는 방법.
17. The method of claim 16,
dividing the display into a first area and a second area based on a folding axis;
providing the first area as a preview area for previewing the camera device;
providing the second region as a sub region associated with the preview;
The sub-region is switched to have a different layout based on the operation of the camera device,
The first area provides a layout related to an interface for non-interaction with the user,
wherein the second area provides a layout related to an interface for interacting with the user.
제16항에 있어서,
상기 디스플레이를 통해 메인 프리뷰를 표시하는 동안, 멀티 프리뷰 표시를 위한 트리거를 감지하는 동작,
상기 디스플레이의 상기 메인 프리뷰로부터 다른 디스플레이를 위한 서브 프리뷰를 획득하는 동작,
상기 디스플레이를 통해 상기 메인 프리뷰를 표시하고, 상기 다른 디스플레이를 통해 상기 서브 프리뷰를 동시에 표시하는 동작을 포함하고,
상기 서브 프리뷰는, 상기 디스플레이를 통해 표시되는 상기 메인 프리뷰의 적어도 일부분이 크롭(crop)된 영상, 또는 상기 디스플레이를 통해 표시되는 상기 메인 프리뷰가 리사이즈(resize)된 영상에 적어도 기반하여 생성되는 것을 특징으로 하는 방법.
17. The method of claim 16,
Detecting a trigger for displaying a multi-preview while displaying the main preview through the display;
obtaining a sub-preview for another display from the main preview of the display;
displaying the main preview through the display and simultaneously displaying the sub preview through the other display;
The sub-preview is generated based on at least an image in which at least a portion of the main preview displayed through the display is cropped, or an image in which the main preview displayed through the display is resized. how to do it
KR1020200044352A 2020-02-10 2020-04-10 Method and apparatus for operating of electronic device having flexible display KR20210102010A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/KR2021/001158 WO2021162295A1 (en) 2020-02-10 2021-01-28 Method and apparatus for operating electronic device including flexible display
EP21753117.7A EP4089521A4 (en) 2020-02-10 2021-01-28 Method and apparatus for operating electronic device including flexible display

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200015959 2020-02-10
KR20200015959 2020-02-10

Publications (1)

Publication Number Publication Date
KR20210102010A true KR20210102010A (en) 2021-08-19

Family

ID=77492724

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200044352A KR20210102010A (en) 2020-02-10 2020-04-10 Method and apparatus for operating of electronic device having flexible display

Country Status (1)

Country Link
KR (1) KR20210102010A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048436A (en) * 2022-06-17 2023-05-02 荣耀终端有限公司 Application interface display method, electronic device and storage medium
WO2024049126A1 (en) * 2022-08-29 2024-03-07 삼성전자 주식회사 Electronic device for controlling attribute information of application and method for controlling same
WO2024048911A1 (en) * 2022-08-30 2024-03-07 삼성전자주식회사 Electronic device for acquiring meta data during acquisition of video, and method thereof
WO2024063376A1 (en) * 2022-09-19 2024-03-28 삼성전자 주식회사 Method for displaying content using display, and electronic device supporting same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048436A (en) * 2022-06-17 2023-05-02 荣耀终端有限公司 Application interface display method, electronic device and storage medium
CN116048436B (en) * 2022-06-17 2024-03-08 荣耀终端有限公司 Application interface display method, electronic device and storage medium
WO2024049126A1 (en) * 2022-08-29 2024-03-07 삼성전자 주식회사 Electronic device for controlling attribute information of application and method for controlling same
WO2024048911A1 (en) * 2022-08-30 2024-03-07 삼성전자주식회사 Electronic device for acquiring meta data during acquisition of video, and method thereof
WO2024063376A1 (en) * 2022-09-19 2024-03-28 삼성전자 주식회사 Method for displaying content using display, and electronic device supporting same

Similar Documents

Publication Publication Date Title
KR102454165B1 (en) Electronic device including flexible display and method for controlling thereof
KR20210102010A (en) Method and apparatus for operating of electronic device having flexible display
KR20200132362A (en) An electronic device controlling a screen based on a folding event and control method thereof
KR20200129584A (en) Foldable apparatus and method for controlling photographing using a plurality of cameras
US11445097B2 (en) Apparatus and method for providing illumination of camera in electronic device
US11481174B2 (en) Electronic device and method for controlling and operating foldable display
US11625066B2 (en) Foldable electronic device and photographing method using multiple cameras in foldable electronic device
KR20210060874A (en) Method and apparatus for providing user interface in electronic device having foldable display
KR20200132008A (en) Electronic device and method of providing notification thereof
WO2022134632A1 (en) Work processing method and apparatus
KR20210017282A (en) Electronic device for providing camera preview image and operating method thereof
EP4096218A1 (en) Video recording method using plurality of cameras, and device therefor
US20230014757A1 (en) Method of obtaining a user-selected angle of view from among a plurality of angles of view of respective cameras and electronic device supporting the same
KR20200122945A (en) Electronic device for displaying execution screens of a plurality of applications and method for operating thereof
KR102542398B1 (en) Foldable electronic device and method for displaying information in the foldable electronic device
KR20210140949A (en) Foldable electronic device and control method for displaying notification
KR20210082910A (en) Electronic device including flexible display and method of operating the same
EP4089521A1 (en) Method and apparatus for operating electronic device including flexible display
KR20210118622A (en) Method for Stabilization at high magnification and Electronic Device thereof
KR20210072351A (en) Foldable electronic device including rotating camera and method for taking pictures in the foldable electronic device
KR20210068853A (en) A foldable electronic device comprising a camera
KR102661614B1 (en) Screen providing method and electronic device supporting the same
RU2794461C2 (en) Method for providing screen image and electronic device in support of the method
CN111556242B (en) Screen providing method and electronic device supporting same
KR20240056710A (en) Screen providing method and electronic device supporting the same