KR20230112303A - Electronic device method for controlling picture in picture window in the electronic device - Google Patents

Electronic device method for controlling picture in picture window in the electronic device Download PDF

Info

Publication number
KR20230112303A
KR20230112303A KR1020220008405A KR20220008405A KR20230112303A KR 20230112303 A KR20230112303 A KR 20230112303A KR 1020220008405 A KR1020220008405 A KR 1020220008405A KR 20220008405 A KR20220008405 A KR 20220008405A KR 20230112303 A KR20230112303 A KR 20230112303A
Authority
KR
South Korea
Prior art keywords
file
image data
pip window
display
area
Prior art date
Application number
KR1020220008405A
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 KR1020220008405A priority Critical patent/KR20230112303A/en
Publication of KR20230112303A publication Critical patent/KR20230112303A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • H04N5/45Picture in picture, e.g. displaying simultaneously another television channel in a region of the screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • 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
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

다양한 실시 예들에 따른 전자 장치는, 제1 카메라 모듈, 제2카메라 모듈, 디스플레이, 및 프로세서를 포함하고, 상기 프로세서는,듀얼 레코딩 촬영기능의 실행을 확인하면, 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 제2 파일로 저장하고, 상기 제1 파일의 사용자 정보 영역에 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제2 파일의 사용자 정보 영역에 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고,상기 제1 파일 또는 상기 제2 파일의 재생이 선택되면, 상기 제1 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보 또는 상기 제2 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보를 기반으로 상기 디스플레이에 상기 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 파일로 저장된 제2 영상데이터를 출력하고, 상기 디스플레이에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하도록 설정될 수 있다. 그 밖에 다양한 실시예가 가능하다.An electronic device according to various embodiments includes a first camera module, a second camera module, a display, and a processor, wherein the processor activates the first camera module and the second camera module when execution of a dual recording shooting function is confirmed, stores first image data received through the first camera module as a first file, stores the second image data received through the second camera module as a second file, and in a user information area of the first file, file group information indicating that the first file is a group with the second file and storing file group information indicating that the first file and the second file are one group in a user information area of the second file, and when playback of the first file or the second file is selected, outputting the first image data stored as the first file to the display based on the file group information stored in the user information area of the first file or the file group information stored in the user information area of the second file, and outputting the second image data stored as the second file to a PIP window displayed in a certain area of the display; When the display confirms the movement of the PIP window, the second image data may be output to the PIP window displayed at the moved position. Other various embodiments are possible.

Description

전자 장치 및 상기 전자 장치에서 PIP윈도우를 제어하는 방법{ELECTRONIC DEVICE METHOD FOR CONTROLLING PICTURE IN PICTURE WINDOW IN THE ELECTRONIC DEVICE}An electronic device and a method for controlling a PIP window in the electronic device

다양한 실시 예들은, 전자 장치에서 PIP윈도우를 제어할 수 있는 방법에 관한 것이다. Various embodiments relate to a method for controlling a PIP window in an electronic device.

후면 카메라 모듈과 전면 카메라 모듈이 포함하고 있는 전자 장치는, 상기 후면 카메라 모듈과 상기 전면 카메라 모듈을 동시에 이용하여 상기 전자 장치의 후면 장면에 대응되는 제1 영상 데이터와 상기 전자 장치의 전면 장면과 대응되는 제2 영상 데이터를 촬영할 수 있는 듀얼 레코딩(Dual Recording)  촬영 기능을을 통해 파일을 저장할 수 있다.An electronic device including a rear camera module and a front camera module can store files through a dual recording function capable of capturing first image data corresponding to a rear scene of the electronic device and second image data corresponding to a front scene of the electronic device by simultaneously using the rear camera module and the front camera module.

상기 전자 장치는 듀얼 레코딩으로 촬영한 파일의 재생이 선택되면, 상기 전자 장치의 디스플레이에 상기 후면 카메라 모듈의 통해 촬영된 상기 제1 영상 데이터를 재생하고, 상기 디스플레이의 일정 영역에 표시되는 PIP(PICTURE IN PICTURE)윈도우에는 상기 전면 카메라 모듈을 통해 촬영된 상기 제2 영상 데이터를 동시에 출력할 수 있다.When playback of a file captured by dual recording is selected, the electronic device may play back the first image data captured through the rear camera module on the display of the electronic device, and simultaneously output the second image data captured through the front camera module to a PIP (PICTURE IN PICTURE) window displayed in a certain area of the display.

전자 장치에서 듀얼 레코딩 촬영 기능에 따라 파일을 저장할 때 상기 후면 카메라 모듈을 촬영된 제1 영상 데이터와 상기 전면 카메라 모듈을 통해 촬영된 제2 영상 데이터를 합쳐서 하나의 영상 데이터로 인코딩하여 하나의 파일로 저장하고 있다.When storing a file according to the dual recording shooting function in an electronic device, the first image data photographed through the rear camera module and the second image data photographed through the front camera module are combined and encoded into one image data and stored as one file.

따라서, 상기 전자 장치는 듀얼 레코딩으로 촬영한 파일을 재생하는 동안 상기 디스플레에서 일정 영역과 중첩되게 표시되는 상기 PIP윈도우의 위치를 고정되게 표시함에 따라, 상기 디스플레에서 상기 제1 영상 데이터를 출력하는 동안 사용자가 중요하게 생각하는 제1 영상 데이터의 일부가 상기 PIP윈도우에 가리워 질 수 있다.Accordingly, as the electronic device fixedly displays the position of the PIP window displayed overlapping a certain area on the display while playing a file captured by dual recording, a part of the first image data that the user considers important may be covered by the PIP window while the first image data is output on the display.

다양한 실시 예들에 따르면, 전자 장치에서, 듀얼 레코딩으로 촬영한 파일을 재생하는 동안 디스플레에서 일정 영역과 중첩되게 표시되는 PIP윈도우를 이동시킬 수 있는 전자 장치 및 전자 장치에서 PIP윈도우를 제어할 수 있는 방법을 제공할 수 있다.According to various embodiments, an electronic device capable of moving a PIP window displayed to overlap a certain area on a display while playing a file captured by dual recording and a method for controlling the PIP window in the electronic device can be provided.

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

다양한 실시 예들에 따른 전자 장치는, 제1 카메라 모듈, 제2카메라 모듈, 디스플레이, 및 프로세서를 포함하고, 상기 프로세서는, 듀얼 레코딩 촬영기능의 실행을 확인하면, 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 제2 파일로 저장하고, 상기 제1 파일의 사용자 정보 영역에 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제2 파일의 사용자 정보 영역에 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택되면, 상기 제1 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보 또는 상기 제2 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보를 기반으로 상기 디스플레이에 상기 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 파일로 저장된 제2 영상데이터를 출력하고, 상기 디스플레이에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하도록 설정될 수 있다.An electronic device according to various embodiments includes a first camera module, a second camera module, a display, and a processor, wherein the processor activates the first camera module and the second camera module when confirming execution of a dual recording shooting function, stores first image data received through the first camera module as a first file, stores the second image data received through the second camera module as a second file, and in a user information area of the first file, file group information indicating that they are a group with the second file and storing file group information indicating that the first file and the second file are one group in a user information area of the second file, and when playback of the first file or the second file is selected, the first image data stored as the first file is output to the display based on the file group information stored in the user information area of the first file or the file group information stored in the user information area of the second file, and the second image data stored as the second file is output to a PIP window displayed in a certain area of the display. When the movement of the PIP window is confirmed in , the second image data may be output to the PIP window displayed at the moved position.

다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 방법은, 듀얼 레코딩 촬영기능의 실행을 확인하면, 상기 전자 장치에 포함된 제1 카메라 모듈과 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 제2 파일로 저장하는 동작, 상기 제1 파일의 사용자 정보 영역에 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제2 파일의 사용자 정보 영역에 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하는 동작, 및 상기 제1 파일 또는 상기 제2 파일의 재생이 선택되면, 상기 제1 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보 또는 상기 제2 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보를 기반으로 상기 디스플레이에 상기 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 파일로 저장된 제2 영상데이터를 출력하는 동작, 및 상기 디스플레이에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하는 동작을 포함할 수 있다.A method for controlling a PIP window in an electronic device according to various embodiments includes activating a first camera module and a second camera module included in the electronic device when the execution of a dual recording shooting function is confirmed, storing first image data received through the first camera module as a first file, storing the second image data received through the second camera module as a second file, storing file group information indicating that the second file and the second file are one group in a user information area of the first file, and storing file group information representing a group with the first file in a user information area of , and when playback of the first file or the second file is selected, outputting the first image data stored as the first file to the display based on the file group information stored in the user information area of the first file or the file group information stored in the user information area of the second file, and outputting the second image data stored as the second file to a PIP window displayed in a certain area of the display, and When the movement of the IP window is confirmed, an operation of outputting the second image data to the PIP window displayed at the moved position may be included.

다양한 실시 예들에 따르면, 전자 장치에서 듀얼 레코딩으로 촬영한 파일을 재생하는 동안 디스플레에서 일정 영역과 중첩되게 표시되는 PIP윈도우를 손쉽게 이동시킬 수 있는 효과가 있다.According to various embodiments, there is an effect of easily moving a PIP window displayed to overlap a certain area on a display while playing a file taken by dual recording in an electronic device.

도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도 이다.
도 2는 다양한 실시 예들에 따른 전자 장치의 블록도이다.
도 3은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면이다.
도 4는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면이다.
도 5는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우의 위치를 결정하는 동작을 설명하기 위한 도면이다.
도 6은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면이다.
도 7은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면이다.
도 8은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면이다.
도 9는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면이다.
도 10은 다양한 실시 예들에 따른 전자 장치에서 영상 데이터의 재생 동작을 설명하기 위한 도면이다.
도 11은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 흐름도이다.
도 12는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 흐름도이다.
도 13은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 흐름도이다.
도 14는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 흐름도이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
2 is a block diagram of an electronic device according to various embodiments.
3 is a diagram for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.
4 is a diagram for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.
5 is a diagram for explaining an operation of determining a location of a PIP window in an electronic device according to various embodiments.
6 is a diagram for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.
7 is a diagram for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.
8 is a diagram for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.
9 is a diagram for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.
10 is a diagram for describing a reproduction operation of image data in an electronic device according to various embodiments.
11 is a flowchart illustrating an operation of controlling a PIP window in an electronic device according to various embodiments.
12 is a flowchart illustrating an operation of controlling a PIP window in an electronic device according to various embodiments.
13 is a flowchart illustrating an operation of controlling a PIP window in an electronic device according to various embodiments.
14 is a flowchart illustrating an operation of controlling a PIP window in an electronic device according to various embodiments.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signals (e.g., commands or data) can be exchanged with each other.

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

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

상기 도 2를 참조하면, 다양한 실시 예들에 따르면, 전자 장치(201)(예: 도 1의 전자 장치(101))는, 프로세서(220), 메모리(230), 디스플레이(260), 제1 카메라 모듈(281), 제2 카메라 모듈(283) 및 통신 모듈(290)을 포함할 수 있다. Referring to FIG. 2 , according to various embodiments, an electronic device 201 (eg, the electronic device 101 of FIG. 1 ) may include a processor 220, a memory 230, a display 260, a first camera module 281, a second camera module 283, and a communication module 290.

다양한 실시 예들에 따르면, 프로세서(220)는, 듀얼 레코딩 촬영 기능의 실행을 확인하면 제1 카메라 모듈(281)을 통해 수신되는 제1 영상 데이터를 제1 파일로 저장하고, 제2 카메라 모듈(283)을 통해 수신되는 제2 영상 데이터를 제2 파일로 저장할 수 있다.According to various embodiments, when the execution of the dual recording shooting function is confirmed, the processor 220 may store the first image data received through the first camera module 281 as a first file, and may store the second image data received through the second camera module 283 as a second file.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 듀얼 레코딩 촬영 기능의 실행을 확인하면 상기 제1 카메라 모듈(281)과 상기 제2 카메라 모듈(283)을 활성화 시키고, 상기 제1 카메라 모듈(281)을 통해 수신된 상기 제1 영상 데이터를 인코딩하여 상기 제1 파일로 저장하고, 상기 제2 카메라 모듈(283)을 통해 수신되는 상기 제2 영상 데이터를 인코딩하여 상기 제2 파일로 저장할 수 있다.According to an embodiment, when the execution of the dual recording shooting function is confirmed, the processor 220 activates the first camera module 281 and the second camera module 283, encodes the first image data received through the first camera module 281 and stores it as the first file, and encodes the second image data received through the second camera module 283 and stores it as the second file.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 제1 파일의 저장 영역에 상기 제1 영상 데이터를 저장하고, 상기 제1 파일의 사용자 정보 영역에 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 사용자 정보 영역은 메타 데이터를 저장할 수 있는 영역을 나타낼 수 있다.According to an embodiment, the processor 220 may store the first image data in a storage area of the first file, and store image type information indicating a dual recording file in a user information area of the first file, file group information indicating that the file is a group with the second file, and camera information indicating use of a first camera module (e.g., a rear camera module). The user information area may represent an area in which meta data can be stored.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 제2 파일의 저장 영역에 상기 제2 영상 데이터를 저장하고, 상기 제2 파일의 사용자 정보 영역에 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다.According to an embodiment, the processor 220 may store the second image data in a storage area of the second file, and store image type information indicating a dual recording file in a user information area of the second file, file group information indicating that the file is one group with the first file, and camera information indicating use of a second camera module (e.g., a front camera module).

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 듀얼 레코딩 촬영 기능의 실행을 확인하면, 상기 디스플레이(260)에 상기 제1 카메라 모듈(281)를 통해 수신되는 제1 영상 데이터를 출력하고, 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈(283)을 통해 수신되는 제2 영상 데이터를 출력하면서 듀얼 레코딩 촬영 기능을 실행하고, 상기 듀얼 레코딩 촬영 기능의 종료에 따라 상기 제2 영상 데이터를 상기 제2 파일로 저장할 때, 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보를 추가로 저장할 수 있다. 상기 프로세서(220)는, 상기 듀얼 레코딩 촬영 기능을 실행하는 동안 사용자에 의해 상기 디스플레이(260)에서 표시되는 PIP윈도우의 위치가 변경되는 경우, 상기 변경된 PIP윈도우의 위치에 대응되는 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 사용자에 의해 PIP윈도우의 위치가 한번 변경된 경우, 상기 변경된 PIP윈도우의 위치에 대응되는 단일 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 사용자에 의해 PIP윈도우의 위치가 적어도 두 번 변경된 경우, 상기 변경된 PIP윈도우의 위치에 대응되는 복수의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 상기 복수의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 저장할 때, 상기 복수의 좌표 정보 각각이 검출된 상기 제1 영상 데이터의 복수의 프레임 정보(예: 프레임 번호)를 함께 저장할 수 있다. According to an embodiment, when the execution of the dual recording shooting function is confirmed, the processor 220 outputs the first image data received through the first camera module 281 to the display 260, outputs the second image data received through the second camera module 283 to a PIP window displayed in a certain area of the display 260, executes the dual recording shooting function, and displays the second image data according to the end of the dual recording shooting function. When saving as a second file, location information of the PIP window may be additionally stored in the user information area of the second file. When the position of the PIP window displayed on the display 260 is changed by the user while executing the dual recording shooting function, the processor 220 may store coordinate information corresponding to the position of the changed PIP window as position information of the PIP window in the user information area of the second file. When the location of the PIP window is changed once by the user, the processor 220 may store single coordinate information corresponding to the changed location of the PIP window as location information of the PIP window in the user information area of the second file. When the location of the PIP window is changed at least twice by the user, the processor 220 may store a plurality of coordinate information corresponding to the changed location of the PIP window as location information of the PIP window in the user information area of the second file. When the processor 220 stores the plurality of coordinate information as location information of the PIP window in the user information area of the second file, the processor 220 may store a plurality of frame information (eg, frame number) of the first image data in which each of the plurality of coordinate information is detected.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 듀얼 레코딩 촬영 기능의 실행에 따라, 상기 디스플레이(260)에 상기 제1 카메라 모듈(281)을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이(283)의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈(283)을 통해 수신되는 제2 영상 데이터를 출력하는 동안, 상기 제1 영상 데이터의 복수의 프레임들 중 적어도 하나의 프레임에서 중요 영역과 비 중요 영역을 구분하고, 상기 비 중요 영역의 좌표 정보를 검출할 수 있다. 상기 프로세서(220)는, 상기 듀얼 레코딩 촬영 기능의 종료에 따라 상기 제2 영상 데이터를 상기 제2 파일로 저장할 때, 상기 제2 파일의 사용자 정보 영역에 상기 비 중요 영역의 좌표 정보를 PIP윈도우의 위치 정보로 추가 저장할 수 있다. 상기 프로세서(220)는, 상기 듀얼 레코딩 촬영 기능의 실행 동안 상기 제1 영상 데이터의 복수의 프레임들 중 하나의 프레임(예: 첫 번째 프레임)에서 중요 영역과 비 중요 영역을 구분하고, 상기 비 중요 영역의 단일 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 상기 듀얼 레코딩 촬영 기능의 실행 동안 상기 제1 영상 데이터의 복수의 프레임들 각각에서 중요 영역과 비 중요 영역을 구분하고, 상기 비 중요 영역에 대한 복수의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 상기 복수의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 저장할 때, 상기 복수의 좌표 정보 각각이 검출된 상기 제1 영상 데이터의 복수의 프레임 정보(예: 프레임 번호)를 함께 저장할 수 있다. 상기 프로세서(220)는, 프레임에서 얼굴 검출 영역 또는/및 AF가 맞는 영역을 중요 영역으로 검출하고, 상기 중요 영역을 제외 적어도 하나의 비 중요 영역들(예: 좌측상단의 빈 공간, 좌측 하단의 빈 공간, 우측 상단의 빈 공간 및 우측 하단의 빈 공간) 중 설정된 우선 순위에 따른 비 중요 영역(예: 우측 하단의 빈공간)의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 저장할 수 있다.According to an embodiment, the processor 220 outputs the first image data received through the first camera module 281 to the display 260 according to execution of the dual recording shooting function, and outputs the second image data received through the second camera module 283 to a PIP window displayed in a certain area of the display 283, while outputting the second image data received through the second camera module 283 in at least one of a plurality of frames of the first image data in an important region and a non-important region. , and the coordinate information of the non-important area can be detected. When the second image data is stored as the second file upon completion of the dual recording shooting function, the processor 220 may additionally store the coordinate information of the non-important region in the user information area of the second file as location information of the PIP window. While the dual recording shooting function is executed, the processor 220 may distinguish an important region from an unimportant region in one frame (e.g., the first frame) among a plurality of frames of the first image data, and may store single coordinate information of the non-important region in the user information area of the second file as location information of the PIP window. The processor 220 distinguishes an important region from an unimportant region in each of a plurality of frames of the first image data while the dual recording shooting function is executed, and stores a plurality of coordinate information for the non-important region in the user information area of the second file as location information of the PIP window. When the processor 220 stores the plurality of coordinate information as location information of the PIP window in the user information area of the second file, the processor 220 may store a plurality of frame information (eg, frame number) of the first image data in which each of the plurality of coordinate information is detected. The processor 220 may detect the face detection area or/and the AF-matched area in the frame as an important area, and store coordinate information of a non-important area (e.g., empty space in the lower right corner) according to a set priority among at least one non-important area (e.g., an empty space in the upper left corner, an empty space in the lower left corner, an empty space in the upper right corner, and an empty space in the lower right corner) excluding the important region, as location information of the PIP window, in the user information area of the second file.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 제1 파일의 사용자 정보 영역에 상기 PIP윈도우의 위치 정보를 추가로 저장할 수 있다.According to an embodiment, the processor 220 may additionally store location information of the PIP window in the user information area of the first file.

다양한 실시 예들에 따르면, 프로세서(220)는, 듀얼 레코딩 파일인 제1 파일 또는 제2 파일의 재생이 선택되면, 디스플레이(260)에 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력하고, 상기 디스플레이(260)에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력할 수 있다.According to various embodiments, when playback of the first file or the second file, which is a dual recording file, is selected, the processor 220 outputs the first image data stored as the first file to the display 260, outputs the second image data stored as the second file to the PIP window displayed in a certain area of the display 260, and when the display 260 confirms the movement of the PIP window, the second image data is displayed in the PIP window displayed at the moved position. Video data can be output.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제1 파일의 선택을 확인하면, 상기 제1 파일의 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 제1 파일이 듀얼 레코딩 파일임을 확인하고 상기 제1 파일과 하나의 그룹으로 연결된 제2 파일을 확인하고, 상기 디스플레이(260)에 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력할 수 있다.According to an embodiment, when the selection of the first file is confirmed, the processor 220 confirms that the first file is a dual recording file based on image type information indicating a dual recording file included in the user information area of the first file, file group information indicating that it is a group with the second file, and camera information indicating use of a first camera module (eg, a rear camera module). First image data may be output, and second image data stored as a second file may be output to a PIP window displayed in a certain area of the display 260 .

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제2 파일의 선택을 확인하면, 상기 제2 파일의 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 제2 파일이 듀얼 레코딩 파일임을 확인하고 상기 제2 파일과 하나의 그룹으로 연결된 제1 파일을 확인하고, 상기 디스플레이(260)에 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력할 수 있다.According to an embodiment, when the selection of the second file is confirmed, the processor 220 determines that the second file is a dual recording file based on image type information indicating a dual recording file included in the user information area of the second file, file group information indicating that it is a group with the first file, and camera information indicating use of a second camera module (eg, a front camera module). First image data may be output, and second image data stored as a second file may be output to a PIP window displayed in a certain area of the display 260 .

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역 또는 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 디폴트로 설정된 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 디폴트로 설정된 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제2 파일로 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, when the reproduction of the first file or the second file is selected, the processor 220 can output the second image data stored as the second file to the PIP window displayed in a predetermined area of the display 260 set as default, if it is confirmed that the user information area of the first file or the user information area of the second file does not include the location information of the PIP window. If the location of the PIP window is changed by the user while outputting the second image data stored as a second file to the PIP window displayed in a certain area of the display 260 set as the default, the processor 220 may display the PIP window in a certain area of the display corresponding to the changed location and output the second image data stored as the second file to the PIP window.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역 또는 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있음을 확인하고, 상기 PIP윈도우의 위치 정보가 단일 좌표 정보로 저장되어 있음을 확인하면, 상기 단일 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기단일 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제2 파일로 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, the processor 220, when playback of the first file or the second file is selected, confirms that the user information area of the first file or the user information area of the second file includes the location information of the PIP window, and confirms that the location information of the PIP window is stored as single coordinate information, displays the PIP window in a certain area of the display 260 corresponding to the single coordinate information, and displays a second PIP window in the PIP window. The second image data stored as a file may be output. If the location of the PIP window is changed by the user while outputting the second image data stored as a second file to the PIP window displayed in a certain area of the display 260 corresponding to the single coordinate information, the processor 220 can display the PIP window in a certain area of the display corresponding to the changed location and output the second image data stored as the second file to the PIP window.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역 또는 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있음을 확인하고, 상기 PIP윈도우의 위치 정보가 복수의 좌표 정보로 저장되어 있음을 확인하면, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력할 수 있다. 예를 들어, 상기 프로세서(220)는, 상기 디스플레이(260)에 상기 제1 영상 데이터를 출력하는 동안 상기 제1 영상 데이터의 복수의 프레임들 중 제1 프레임이 출력될 때 상기 복수의 좌표 정보 중 상기 제1 프레임에서 검출된 제1 좌표 정보가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제1 프레임을 출력하는 동안 상기 제1 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 디스플레이(260)에 상기 제1 영상 데이터를 출력하는 동안 상기 제1 영상 데이터의 복수의 프레임들 중 제2 프레임이 출력될 때 상기 복수의 좌표 정보 중 상기 제2 프레임에서 검출된 제2 좌표 정보가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제2 프레임을 출력하는 동안 상기 제2 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제2 파일로 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, when the reproduction of the first file or the second file is selected, the processor 220 confirms that the user information area of the first file or the user information area of the second file includes the location information of the PIP window, and confirms that the location information of the PIP window is stored as a plurality of coordinate information. It can be displayed in order, and the second image data stored as a second file can be output to the PIP window. For example, while outputting the first image data to the display 260, if a first frame among a plurality of frames of the first image data is output and there is first coordinate information detected in the first frame among the plurality of coordinate information, the processor 220 displays a PIP window in a certain area of the display 260 corresponding to the first coordinate information while outputting the first frame of the first image data to the display 260, and the PIP window The second image data stored as a second file may be output to the dough. The processor 220 displays a PIP window in a certain area of the display 260 corresponding to the second coordinate information while outputting the second frame of the first image data to the display 260, if the second frame of the plurality of frames of the first image data is output while outputting the first image data to the display 260, if there is second coordinate information detected in the second frame among the plurality of coordinate information, and The second image data stored in 2 files can be output. The processor 220 sequentially displays PIP windows on certain regions of the display 260 corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, and if the location of the PIP window is changed by the user while outputting the second image data stored as a second file on the PIP window, displays the PIP window on a certain region of the display corresponding to the changed location, and displays the second image data stored as the second file in the PIP window. Video data can be output.

다양한 실시 예들에 따르면, 프로세서(220)는, 듀얼 레코딩 촬영 기능의 실행을 확인하면 제1 카메라 모듈(281)을 통해 수신되는 제1 영상 데이터를 제1 파일의 제1 저장 영역에 저장하고, 제2 카메라 모듈(283)을 통해 수신되는 제2 영상 데이터를 상기 제1 파일의 제2 저장 영역에 저장할 수 있다.According to various embodiments, when the execution of the dual recording shooting function is confirmed, the processor 220 may store the first image data received through the first camera module 281 in the first storage area of the first file, and store the second image data received through the second camera module 283 in the second storage area of the first file.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 듀얼 레코딩 촬영 기능의 실행을 확인하면 상기 제1 카메라 모듈(281)과 상기 제2 카메라 모듈(283)을 활성화 시키고, 상기 제1 카메라 모듈(281)을 통해 수신된 상기 제1 영상 데이터를 인코딩하여 상기 제1 파일의 저장 영역 중 제1 저장 영역에 저장하고, 상기 제2 카메라 모듈(283)을 통해 수신되는 상기 제2 영상 데이터를 인코딩하여 상기 제1 파일의 저장 영역 중 제2 저장 영역에 저장할 수 있다.According to an embodiment, the processor 220 activates the first camera module 281 and the second camera module 283 when the execution of the dual recording shooting function is confirmed, encodes the first image data received through the first camera module 281 and stores it in a first storage area of the first file storage area, encodes the second image data received through the second camera module 283, 2 can be stored in the storage area.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 제1 파일의 사용자 정보 영역 중 제1 사용자 정보 영역에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다.According to an embodiment, the processor 220 may store image type information indicating a dual recording file, location information of a first storage area in which the first image data is stored, and camera information indicating use of a first camera module (e.g., a rear camera module) in a first user information area of the user information area of the first file.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 사용자 정보 영역은 메타 데이터를 저장할 수 있는 영역을 나타낼 수 있다.According to an embodiment, the processor 220 may store image type information indicating a dual recording file, location information of a second storage area in which second image data is stored, and camera information indicating use of a second camera module (e.g., a front camera module) in a second user information area of the user information area of the first file. The user information area may represent an area in which meta data can be stored.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 듀얼 레코딩 촬영 기능의 실행을 확인하면, 상기 디스플레이(260)에 상기 제1 카메라 모듈(281)를 통해 수신되는 제1 영상 데이터를 출력하고, 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈(283)을 통해 수신되는 제2 영상 데이터를 출력하면서 듀얼 레코딩 촬영 기능을 실행하고, 상기 듀얼 레코딩 촬영 기능의 종료에 따라 상기 제2 영상 데이터를 상기 제1 파일의 제2 저장 영역에 저장할 때, 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 PIP윈도우의 위치 정보를 추가로 저장할 수 있다. 상기 프로세서(220)는, 상기 듀얼 레코딩 촬영 기능을 실행하는 동안 사용자에 의해 상기 디스플레이(260)에서 표시되는 PIP윈도우의 위치가 변경되는 경우, 상기 변경된 PIP윈도우의 위치에 대응되는 좌표 정보를 PIP윈도우의 위치 정보로 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 사용자에 의해 PIP윈도우의 위치가 한번 변경된 경우, 상기 변경된 PIP윈도우의 위치에 대응되는 단일 좌표 정보를 PIP윈도우의 위치 정보로 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 사용자에 의해 PIP윈도우의 위치가 적어도 두 번 변경된 경우, 상기 변경된 PIP윈도우의 위치에 대응되는 복수의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 상기 복수의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 저장할 때, 상기 복수의 좌표 정보 각각이 검출된 상기 제1 영상 데이터의 복수의 프레임 정보(예: 프레임 번호)를 함께 저장할 수 있다. According to an embodiment, when the execution of the dual recording shooting function is confirmed, the processor 220 outputs the first image data received through the first camera module 281 to the display 260, outputs the second image data received through the second camera module 283 to a PIP window displayed in a certain area of the display 260, executes the dual recording shooting function, and displays the second image data according to the end of the dual recording shooting function. When storing in the second storage area of the first file, the location information of the PIP window may be additionally stored in the second user information area of the user information area of the first file. When the position of the PIP window displayed on the display 260 is changed by the user while the dual recording shooting function is being executed, the processor 220 may store coordinate information corresponding to the position of the changed PIP window in the second user information area of the user information area of the first file as the location information of the PIP window. When the location of the PIP window is changed once by the user, the processor 220 may store single coordinate information corresponding to the changed location of the PIP window as location information of the PIP window in a second user information area among the user information areas of the first file. When the location of the PIP window is changed at least twice by the user, the processor 220 may store a plurality of coordinate information corresponding to the changed location of the PIP window as location information of the PIP window in a second user information area among the user information areas of the first file. When the processor 220 stores the plurality of coordinate information as location information of the PIP window in a second user information area among the user information areas of the first file, the processor 220 may store a plurality of frame information (eg, frame number) of the first image data in which each of the plurality of coordinate information is detected.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 듀얼 레코딩 촬영 기능의 실행에 따라, 상기 디스플레이(260)에 상기 제1 카메라 모듈(281)을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이(283)의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈(283)을 통해 수신되는 제2 영상 데이터를 출력하는 동안, 상기 제1 영상 데이터의 복수의 프레임들 중 적어도 하나의 프레임에서 중요 영역과 비 중요 영역을 구분하고, 상기 비 중요 영역의 좌표 정보를 검출할 수 있다. 상기 프로세서(220)는, 상기 듀얼 레코딩 촬영 기능의 종료에 따라 상기 제2 영상 데이터를 상기 제1 파일의 제2 저장 영역에 저장할 때, 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 상기 비 중요 영역의 좌표 정보를 PIP윈도우의 위치 정보로 추가 저장할 수 있다. 상기 프로세서(220)는, 상기 듀얼 레코딩 촬영 기능의 실행 동안 상기 제1 영상 데이터의 복수의 프레임들 중 하나의 프레임(예: 첫 번째 프레임)에서 중요 영역과 비 중요 영역을 구분하고, 상기 비 중요 영역의 단일 좌표 정보를 PIP윈도우의 위치 정보로 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 상기 듀얼 레코딩 촬영 기능의 실행 동안 상기 제1 영상 데이터의 복수의 프레임들 각각에서 중요 영역과 비 중요 영역을 구분하고, 상기 비 중요 영역에 대한 복수의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 저장할 수 있다. 상기 프로세서(220)는, 상기 복수의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 저장할 때, 상기 복수의 좌표 정보 각각이 검출된 상기 제1 영상 데이터의 복수의 프레임 정보(예: 프레임 번호)를 함께 저장할 수 있다. 상기 프로세서(220)는, 프레임에서 얼굴 검출 영역 또는/및 AF가 맞는 영역을 중요 영역으로 검출하고, 상기 중요 영역을 제외 적어도 하나의 비 중요 영역들(예: 좌측상단의 빈 공간, 좌측 하단의 빈 공간, 우측 상단의 빈 공간 및 우측 하단의 빈 공간) 중 설정된 우선 순위에 따른 비 중요 영역(예: 우측 하단의 빈공간)의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 저장할 수 있다.According to an embodiment, the processor 220 outputs the first image data received through the first camera module 281 to the display 260 according to execution of the dual recording shooting function, and outputs the second image data received through the second camera module 283 to a PIP window displayed in a certain area of the display 283, while outputting the second image data received through the second camera module 283 in at least one of a plurality of frames of the first image data in an important region and a non-important region. , and the coordinate information of the non-important area can be detected. When the processor 220 stores the second image data in the second storage area of the first file upon completion of the dual recording shooting function, the processor 220 may additionally store the coordinate information of the non-important area as location information of the PIP window in the second user information area among the user information areas of the first file. The processor 220 may distinguish an important region from an unimportant region in one frame (e.g., a first frame) among a plurality of frames of the first image data while executing the dual recording shooting function, and store single coordinate information of the non-important region in a second user information region among the user information regions of the first file as location information of the PIP window. The processor 220 may distinguish an important region from an unimportant region in each of a plurality of frames of the first image data during execution of the dual recording shooting function, and store a plurality of coordinate information of the non-important region in a second user information region among the user information regions of the first file as location information of the PIP window. When the processor 220 stores the plurality of coordinate information as location information of the PIP window in a second user information area among the user information areas of the first file, the processor 220 may store a plurality of frame information (eg, frame number) of the first image data in which each of the plurality of coordinate information is detected. The processor 220 may detect the face detection area or/and the AF-matched area in the frame as an important area, and store coordinate information of a non-important area (eg, empty space in the lower right corner) according to a set priority among at least one non-important area (e.g., an empty space in the upper left, an empty space in the lower left, an empty space in the upper right, and an empty space in the lower right) excluding the important area as location information of the PIP window in a second user information area among the user information areas of the first file.

일 실시 예에 따르면, 상기 프로세세(220)는, 상기 제1 파일의 사용자 정보 영역 중 제1 사용자 정보 영역에 상기 PIP윈도우의 위치 정보를 추가로 저장할 수 있다.According to an embodiment, the processor 220 may additionally store location information of the PIP window in a first user information area among user information areas of the first file.

다양한 실시 예들에 따르면, 프로세서(220)는, 듀얼 레코딩 파일인 제1 파일의 재생이 선택되면, 디스플레이(260)에 제1 파일의 저장 영역 중 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 저장 영역 중 제2 저장 영역에 저장된 제2 영상데이터를 출력하고, 상기 디스플레이(260)에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력할 수 있다.According to various embodiments, when playback of a first file, which is a dual recording file, is selected, the processor 220 outputs the first image data stored in a first storage area among the storage areas of the first file to the display 260, outputs the second image data stored in the second storage area among the storage areas of the first file to the PIP window displayed in a certain area of the display 260, and when the display 260 confirms the movement to the PIP window, the moved location The second image data may be output to the PIP window displayed in .

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제1 파일의 선택을 확인하면, 상기 제1 파일의 사용자 정보 영역 중 제1 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보와, 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 디스플레이(260)에 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다.According to an embodiment, when the processor 220 confirms selection of the first file, the processor 220 includes image type information indicating a dual recording file included in the first user information area among user information areas of the first file, location information of the first storage area in which the first image data is stored, and camera information indicating use of a first camera module (eg, a rear camera module), image type information indicating a dual recording file included in the second user information area of the user information area of the first file, and location of the second storage area in which the second image data is stored. Based on the information and the camera information representing the use of the second camera module (eg, front camera module), the first image data stored in the first storage area of the first file is output to the display 260, and the second image data stored in the second storage area of the first file can be output to a PIP window displayed in a certain area of the display 260.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제1 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역(예: 제2 사용자 정보 영역)에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 디폴트로 설정된 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 디폴트로 설정된 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, when the reproduction of the first file is selected, the processor 220 can output the second image data stored in the second storage area of the first file to the PIP window displayed in a predetermined area of the display 260, which is set as default, when confirming that the user information area (e.g., the second user information area) of the first file does not include location information of the PIP window. If the location of the PIP window is changed by the user while outputting the second image data stored in the second storage area of the first file to the PIP window displayed in a certain area of the display 260 set as default, the processor 220 may display the PIP window in a certain area of the display corresponding to the changed location and output the second image data stored in the second storage area of the first file to the PIP window.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제1 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역(예: 제2 사용자 정보 영역)에 PIP윈도우의 위치 정보가 포함되어 있음을 확인하고, 상기 PIP윈도우의 위치 정보가 단일 좌표 정보로 저장되어 있음을 확인하면, 상기 단일 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 단일 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, when the reproduction of the first file is selected, the processor 220 confirms that the user information area (eg, the second user information area) of the first file includes the location information of the PIP window, and if it is confirmed that the location information of the PIP window is stored as single coordinate information, displays the PIP window in a certain area of the display 260 corresponding to the single coordinate information, and displays the PIP window in the PIP window in the second area of the first file. Second image data stored in the storage area may be output. If the location of the PIP window is changed by the user while outputting the second image data stored in the second storage area of the first file to the PIP window displayed in a certain area of the display 260 corresponding to the single coordinate information, the processor 220 can display the PIP window in a certain area of the display corresponding to the changed location and output the second image data stored in the second storage area of the first file to the PIP window.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 제1 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역(예: 제2 사용자 정보 영역)에 PIP윈도우의 위치 정보가 포함되어 있음을 확인하고, 상기 PIP윈도우의 위치 정보가 복수의 좌표 정보로 저장되어 있음을 확인하면, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다. 예를 들어, 상기 프로세서(220)는, 상기 디스플레이(260)에 상기 제1 영상 데이터를 출력하는 동안 상기 제1 영상 데이터의 복수의 프레임들 중 제1 프레임이 출력될 때 상기 복수의 좌표 정보 중 상기 제1 프레임에서 검출된 제1 좌표 정보가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제1 프레임을 출력하는 동안 상기 제1 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 디스플레이(260)에 상기 제1 영상 데이터를 출력하는 동안 상기 제1 영상 데이터의 복수의 프레임들 중 제2 프레임이 출력될 때 상기 복수의 좌표 정보 중 상기 제2 프레임에서 검출된 제2 좌표 정보가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제2 프레임을 출력하는 동안 상기 제2 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, when the reproduction of the first file is selected, the processor 220 confirms that the user information area (e.g., the second user information area) of the first file includes the location information of the PIP window, and if it is confirmed that the location information of the PIP window is stored as a plurality of coordinate information, the processor 220 sequentially displays the PIP window on a certain area of the display 260 corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored. Second image data stored in a second storage area of the first file may be output to the PIP window. For example, while outputting the first image data to the display 260, if a first frame among a plurality of frames of the first image data is output and there is first coordinate information detected in the first frame among the plurality of coordinate information, the processor 220 displays a PIP window in a certain area of the display 260 corresponding to the first coordinate information while outputting the first frame of the first image data to the display 260, and the PIP window The second image data stored in the second storage area of the first file can be output to the dough. When the second frame among the plurality of frames of the first image data is output while outputting the first image data to the display 260, if second coordinate information detected in the second frame among the plurality of coordinate information exists, the processor 220 displays a PIP window in a certain area of the display 260 corresponding to the second coordinate information while outputting the second frame of the first image data to the display 260, and displays the PIP window on the PIP window. The second image data stored in the second storage area of the first file may be output. The processor 220 sequentially displays PIP windows on certain areas of the display 260 corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, and if the location of the PIP window is changed by the user while outputting second image data stored in the second storage area of the first file to the PIP window, displays the PIP window on a certain area of the display corresponding to the changed location, and displays the first PIP window in the PIP window. The second image data stored in the second storage area of the file may be output.

다양한 실시 예들에 따르면, 메모리(230)는, 도 1의 메모리(130)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the memory 230 may be implemented substantially the same as or similar to the memory 130 of FIG. 1 .

일 실시 예에 따르면, 상기 메모리(230)에, 듀얼 레코딩 촬영 기능에서 제1 카메라 모듈(281)을 통해 수신된 제1 영상 데이터가 포함된 제1 파일과 제2 카메라 모듈(282)을 통해 수신된 제2 영상 데이터가 포함된 제2 파일이 저장될 수 있다.According to an embodiment, a first file including the first image data received through the first camera module 281 in the dual recording shooting function and a second file including the second image data received through the second camera module 282 may be stored in the memory 230.

일 실시 예에 따르면, 상기 메모리(230)에, 듀얼 레코딩 촬영 기능에서 제1 카메라 모듈(281)을 통해 수신된 제1 영상 데이터와 카메라 모듈(282)을 통해 수신된 제2 영상 데이터 각각을 제1 저장 영역과 제2 저장 영역에 포함하는 제1 파일이 저장될 수 있다.According to an embodiment, in the memory 230, each of the first image data received through the first camera module 281 and the second image data received through the camera module 282 in the dual recording shooting function is stored. A first file included in the first storage area and the second storage area may be stored.

다양한 실시 예들에 따르면, 디스플레이(260)는, 도 1의 디스플레이 모듈(160)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the display 260 may be implemented substantially the same as or similar to the display module 160 of FIG. 1 .

일 실시 예에 따르면, 상기 디스플레이(260)에, 상기 제1 파일에 저장된 제1 영상데이터가 출력되고, 상기 디스플레이(260)의 일정 영역에 표시된 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터가 출력될 수 있다.According to an embodiment, the first image data stored in the first file may be output to the display 260, and the second image data stored in the second file may be output to a PIP window displayed in a certain area of the display 260.

일 실시 예에 따르면, 상기 디스플레이(260)에, 상기 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터가 출력되고, 상기 디스플레이(260)의 일정 영역에 표시된 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터가 출력될 수 있다. According to an embodiment, the first image data stored in the first storage area of the first file may be output to the display 260, and the second image data stored in the second storage area of the first file may be output to a PIP window displayed in a certain area of the display 260.

다양한 실시 예들에 따르면, 제1 카메라 모듈(281)는, 도 1의 디스플레이 모듈(180)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the first camera module 281 may be implemented substantially the same as or similar to the display module 180 of FIG. 1 .

일 실시 예에 따르면, 상기 제1 카메라 모듈(281)은, 전자 장치(201)의 후면에 배치된 후면 카메라 모듈을 포함할 수 있다.According to an embodiment, the first camera module 281 may include a rear camera module disposed on a rear surface of the electronic device 201 .

다양한 실시 예들에 따르면, 제2 카메라 모듈(283)는, 도 1의 디스플레이 모듈(180)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the second camera module 283 may be implemented substantially the same as or similar to the display module 180 of FIG. 1 .

일 실시 예에 따르면, 상기 제2 카메라 모듈(283)은, 전자 장치(201)의 전면에 배치된 전면 카메라 모듈을 포함할 수 있다.According to an embodiment, the second camera module 283 may include a front camera module disposed on the front of the electronic device 201 .

다양한 실시 예들에 따르면, 통신 모듈(290)은, 도 1의 통신 모듈(190)과 실질적으로 동일하거나 유사하게 구현될 수 있으며, 서로 다른 통신 기술을 사용하는 복수의 통신 회로를 포함할 수 있다. According to various embodiments, the communication module 290 may be implemented substantially the same as or similar to the communication module 190 of FIG. 1 and may include a plurality of communication circuits using different communication technologies.

일 실시 예에 따르면, 상기 통신 모듈(290)는, 복수의 통신 회로를 포함할 수 있으며, 무선랜 모듈(미도시)과 근거리통신 모듈(미도시) 중 적어도 하나를 포함할 수 있으며, 상기 근거리통신 모듈(미도시)로 UWB 통신 모듈, Wi-Fi 통신 모듈, NFC(near field communication) 통신 모듈, 블루투스 레거시(Legacy) 통신 모듈 및/또는 BLE(bluetooth low energy) 통신 모듈을 포함할 수 있다.According to an embodiment, the communication module 290 may include a plurality of communication circuits, and may include at least one of a wireless LAN module (not shown) and a short-range communication module (not shown).

도 3은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면(300)이다.3 is a diagram 300 for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.

상기 도 3을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는/및 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영 기능의 실행에 따라 제1 카메라 모듈(281)을 통해 수신된 제1영상 데이터(301)를 제1 파일(a1.mp4)(310)의 저장 영역(311)에 저장하고, 제2 카메라 모듈(283)을 통해 수신된 제2영상 데이터(305)를 제2 파일(a2.mp4)(350)의 저장 영역(351)로 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(310)의 사용자 정보 영역(313)에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID) , 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보(예: Group ID: 1107) 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 전자 장치는, 상기 제2 파일(350)의 사용자 정보 영역(353)에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID) , 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보(예: Group ID: 1107) 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. Referring to FIG. 3 , an electronic device (eg, the electronic device 101 of FIG. 1 or/and the electronic device 201 of FIG. 2 ) stores the first image data 301 received through the first camera module 281 in the storage area 311 of the first file (a1.mp4) 310 according to the execution of the dual recording shooting function, and the second image data 305 received through the second camera module 283. It can be stored in the storage area 351 of the second file (a2.mp4) 350 . The electronic device may store, in the user information area 313 of the first file 310, video type information (e.g., Director's view ID) representing a dual recording file, file group information (e.g., Group ID: 1107) representing a group with the second file, and camera information representing the use of a first camera module (e.g., a rear camera module). The electronic device may store, in the user information area 353 of the second file 350, image type information (e.g., Director's view ID) representing a dual recording file, file group information (e.g., Group ID: 1107) representing a group with the first file, and camera information indicating use of a second camera module (e.g., front camera module).

상기 전자 장치는, 상기 제1 파일(310) 또는 상기 제2 파일(350)의 재생이 선택될 때, 상기 제1 파일(310)의 사용자 정보 영역(313) 또는 상기 제2 파일(350)의 사용자 정보 영역(353)에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 상기 전자 장치의 디스플레이(260)에 상기 제1 파일(310)의 저장 영역(311)에 저장된 제1 영상 데이터를 출력하고, 디폴트로 설정된 상기 디스플레이의 일정 영역(예: 우측 상단 영역)에 PIP윈도우(370)를 표시하고, 상기 PIP윈도우에 상기 제2 파일(350)의 저장 영역(351)에 저장된 제2 영상 데이터(305)를 출력할 수 있다. 상기 전자 장치는, 상기 디폴트로 설정된 상기 디스플레이의 일정 영역(예: 우측 상단 영역)에 PIP윈도우(370)를 표시하는 동안, 사용자에 의해 PIP윈도우(370)의 이동(371)을 확인하면, 상기 디스플레이(260)에서 상기 이동된 위치에 PIP윈도우(370)를 표시하고, 상기 PIP윈도우(370)에 상기 제2 파일(350)의 저장 영역(351)에 저장된 제2 영상 데이터(305)를 출력할 수 있다.When playback of the first file 310 or the second file 350 is selected, the electronic device outputs the first image data stored in the storage area 311 of the first file 310 to the display 260 of the electronic device when it is confirmed that the user information area 313 of the first file 310 or the user information area 353 of the second file 350 does not include the location information of the PIP window. In addition, the PIP window 370 is displayed in a certain area (eg, upper right area) of the display set as default, and the second image data 305 stored in the storage area 351 of the second file 350 can be output to the PIP window. While displaying the PIP window 370 in a certain area (eg, upper right area) of the display set as the default, when the user confirms the movement 371 of the PIP window 370, the electronic device displays the PIP window 370 at the moved location on the display 260, and displays the second image stored in the storage area 351 of the second file 350 in the PIP window 370. Data 305 can be output.

도 4는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면(400)이다.4 is a diagram 400 for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.

상기 도 4를 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는/및 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영 기능의 실행에 따라 제1 카메라 모듈(281)을 통해 수신된 제1영상 데이터(401)를 제1 파일(b1.mp4)(410)의 저장 영역(430) 중 제1 저장 영역(video track1)(431)에 저장하고, 제2 카메라 모듈(283)을 통해 수신된 제2영상 데이터(405)를 상기 제1 파일(b1.mp4)(410)의 저장 영역(430) 중 제2 저장 영역(video track 2)(433)에 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(410)의 사용자 정보 영역(450) 중 제1 사용자 정보 영역(451)에 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID), 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보를 포함하는 제1 저장 영역 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(410)의 사용자 정보 영역(450) 중 제2 사용자 정보 영역(453)에 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID), 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보를 포함하는 제2 저장 영역 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다.Referring to FIG. 4 , an electronic device (eg, the electronic device 101 of FIG. 1 or/and the electronic device 201 of FIG. 2 ) stores the first image data 401 received through the first camera module 281 in the first storage area (video track1) 431 of the storage areas 430 of the first file (b1.mp4) 410 according to the execution of the dual recording shooting function, and the second camera module 283 ) may be stored in the second storage area (video track 2) 433 of the storage area 430 of the first file (b1.mp4) 410. The electronic device may store, in the first user information area 451 of the user information area 450 of the first file 410, image type information (e.g., Director's view ID) representing the dual recording file, first storage area information including location information of the first storage area in which the first image data is stored, and camera information indicating the use of the first camera module (e.g., rear camera module). The electronic device may store, in the second user information area 453 of the user information area 450 of the first file 410, image type information (e.g., Director's view ID) representing the dual recording file, second storage area information including location information of the second storage area where the second image data is stored, and camera information indicating the use of the second camera module (e.g., front camera module).

상기 전자 장치는, 상기 제1 파일(410)의 재생이 선택될 때, 상기 제1 파일(410)의 사용자 정보 영역(450)에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 상기 전자 장치의 디스플레이(260)에 상기 제1 파일(410)의 제1 저장 영역(431)에 저장된 제1 영상 데이터를 출력하고, 디폴트로 설정된 상기 디스플레이의 일정 영역(예: 우측 상단 영역)에 PIP윈도우(470)를 표시하고, 상기 PIP윈도우(470)에 상기 제1 파일(410)의 제2 저장 영역(433)에 저장된 제2 영상 데이터(405)를 출력할 수 있다. 상기 전자 장치는, 상기 디폴트로 설정된 상기 디스플레이의 일정 영역(예: 우측 상단 영역)에 PIP윈도우(470)를 표시하는 동안, 사용자에 의해 PIP윈도우(470)의 이동(471)을 확인하면, 상기 디스플레이(260)에서 상기 이동된 위치에 PIP윈도우(470)를 표시하고, 상기 PIP윈도우(470)에 상기 제1 파일(410)의 제2저장 영역(433)에 저장된 제2 영상 데이터(405)를 출력할 수 있다.When the electronic device determines that the user information area 450 of the first file 410 does not include the PIP window location information when playback of the first file 410 is selected, the electronic device outputs the first image data stored in the first storage area 431 of the first file 410 to the display 260 of the electronic device, and displays the PIP window 470 in a certain area (eg, upper right area) of the display set as default. ), and the second image data 405 stored in the second storage area 433 of the first file 410 can be output to the PIP window 470 . The electronic device displays the PIP window 470 at the moved position on the display 260 when the user confirms the movement 471 of the PIP window 470 while displaying the PIP window 470 in a certain area (eg, upper right area) of the display set as default, and displays the PIP window 470 in the second storage area 433 of the first file 410 in the PIP window 470. 2 image data 405 can be output.

도 5는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우의 위치를 결정하는 동작을 설명하기 위한 도면(500)이다.5 is a diagram 500 for explaining an operation of determining a location of a PIP window in an electronic device according to various embodiments.

상기 도 5를 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는/및 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영 기능을 수행하는 동안 제1 카메라 모듈(예: 도 2의 제1 카메라 모듈(201))을 통해 수신된 제1 영상 데이터에 포함된 복수의 프레임들 중 적어도 하나의 프레임에서 얼굴 검출 영역(511)과 AF가 맞는 영역(513)을 중요 영역(510)으로 검출할 수 있다. 상기 전자 장치는, 상기 중요 영역을 제외 적어도 하나의 비 중요 영역들(예: 좌측상단의 빈 공간, 좌측 하단의 빈 공간, 우측 상단의 빈 공간 및 우측 하단의 빈 공간) 중 설정된 우선 순위에 따른 비 중요 영역(530)(예: 우측 하단의 빈공간)의 좌표 정보를 PIP윈도우의 위치 정보로 결정하고, 상기 비 중요 영역(530)(예: 우측 하단의 빈공간)의 좌표 정보를 PIP윈도우의 위치 정보로 제2 파일의 사용자 정보 영역(예: 도 3의 제2 파일의 사용자 정보 영역(353)또는 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역(예: 도 4의 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역(453)에 추가로 저장할 수 있다.Referring to FIG. 5 , an electronic device (e.g., the electronic device 101 of FIG. 1 or/and the electronic device 201 of FIG. 2 ) may detect, as an important region 510, an area 513 in which a face detection area 511 and an AF match in at least one frame among a plurality of frames included in first image data received through a first camera module (e.g., the first camera module 201 of FIG. 2 ) while performing a dual recording shooting function. . The electronic device determines the coordinate information of the non-important area 530 (eg, the empty space at the bottom right) according to the set priority among at least one non-important area (eg, upper left empty space, lower left empty space, upper right empty space, and lower right empty space) as the location information of the PIP window, and uses the coordinate information of the non-important area 530 (eg, lower right empty space) as the location information of the PIP window. (Example: The user information area 353 of the second file in FIG. 3 or the second user information area of the user information area of the first file (eg, the second user information area 453 of the user information area of the first file in FIG. 4) can be additionally stored.

도 6은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면(600)이다.6 is a diagram 600 for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.

상기 도 6을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는/및 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영 기능의 실행에 따라 제1 카메라 모듈(281)을 통해 수신된 제1영상 데이터(601)를 제1 파일(a1.mp4)(610)의 저장 영역(611)에 저장하고, 제2 카메라 모듈(283)을 통해 수신된 제2영상 데이터(605)를 제2 파일(a2.mp4)(650)의 저장 영역(651)로 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(610)의 사용자 정보 영역(613)에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID) , 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보(예: Group ID: 1107), 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보, 저장할 수 있다. 상기 전자 장치는, 상기 제2 파일(650)의 사용자 정보 영역(653)에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID) , 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보(예: Group ID: 1107), 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보, 및 단일 좌표(예: X1, Y1)를 포함하는 PIP윈도의 위치 정보를 저장할 수 있다. Referring to FIG. 6 , an electronic device (eg, the electronic device 101 of FIG. 1 or/and the electronic device 201 of FIG. 2 ) stores the first image data 601 received through the first camera module 281 in the storage area 611 of the first file (a1.mp4) 610 according to the execution of the dual recording shooting function, and the second image data 605 received through the second camera module 283. It can be stored in the storage area 651 of the second file (a2.mp4) 650 . The electronic device may store, in the user information area 613 of the first file 610, image type information (e.g., Director's view ID) representing a dual recording file, file group information (e.g., Group ID: 1107) representing a group with the second file, and camera information representing the use of a first camera module (e.g., a rear camera module). The electronic device may store, in the user information area 653 of the second file 650, image type information (e.g., Director's view ID) representing a dual recording file, file group information (e.g., Group ID: 1107) representing a group with the first file, camera information representing use of a second camera module (e.g., front camera module), and location information of a PIP window including single coordinates (e.g., X1, Y1).

상기 전자 장치는, 상기 제1 파일(610) 또는 상기 제2 파일(650)의 재생이 선택될 때, 상기 제2 파일(650)의 사용자 정보 영역(653)에 PIP윈도우의 위치 정보가 포함되어 있음 확인하면, 상기 전자 장치의 디스플레이(260)에 상기 제1 파일(610)의 저장 영역(611)에 저장된 제1 영상 데이터를 출력하고, PIP윈도의 위치 정보로 저장된 단일 좌표(X1, Y1)에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우(670)를 표시하고, 상기 PIP윈도우(670)에 상기 제2 파일(650)의 저장 영역(651)에 저장된 제2 영상 데이터(605)를 출력할 수 있다. 상기 전자 장치는, 상기 PIP윈도의 위치 정보로 저장된 단일 좌표(X1, Y1)에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우(770)를 표시하는 동안, 사용자에 의해 PIP윈도우(670)의 이동(671)을 확인하면, 상기 디스플레이(260)에서 상기 이동된 위치에 PIP윈도우(670)를 표시하고, 상기 PIP윈도우(670)에 상기 제2 파일(650)의 저장 영역(651)에 저장된 제2 영상 데이터(605)를 출력할 수 있다.When the electronic device determines that the PIP window location information is included in the user information area 653 of the second file 650 when playback of the first file 610 or the second file 650 is selected, the electronic device outputs the first image data stored in the storage area 611 of the first file 610 to the display 260 of the electronic device, and at single coordinates (X1, Y1) stored as the location information of the PIP window. A PIP window 670 may be displayed on a corresponding predetermined area of the display, and the second image data 605 stored in the storage area 651 of the second file 650 may be output to the PIP window 670. While displaying the PIP window 770 in a certain area of the display corresponding to the single coordinates (X1, Y1) stored as the location information of the PIP window, when the user checks the movement 671 of the PIP window 670, the electronic device displays the PIP window 670 at the moved location on the display 260, and stores the second file 650 in the PIP window 670. The second image data 605 stored in the area 651 may be output.

도 7은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면(700)이다.7 is a diagram 700 for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.

상기 도 7을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는/및 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영 기능의 실행에 따라 제1 카메라 모듈(281)을 통해 수신된 제1영상 데이터(701)를 제1 파일(b1.mp4)(710)의 저장 영역(730) 중 제1 저장 영역(video track1)(731)에 저장하고, 제2 카메라 모듈(283)을 통해 수신된 제2영상 데이터(705)를 상기 제1 파일(b1.mp4)(710)의 저장 영역(730) 중 제2 저장 영역(video track 2)(733)에 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(710)의 사용자 정보 영역(750) 중 제1 사용자 정보 영역(751)에 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID), 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보를 포함하는 제1 저장 영역 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(710)의 사용자 정보 영역(750) 중 제2 사용자 정보 영역(753)에 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID), 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보를 포함하는 제2 저장 영역 정보, 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보, 및 단일 좌표(예: X1, Y1)를 포함하는 PIP윈도의 위치 정보를 저장할 수 있다.Referring to FIG. 7 , an electronic device (eg, the electronic device 101 of FIG. 1 or/and the electronic device 201 of FIG. 2 ) stores the first image data 701 received through the first camera module 281 in the first storage area (video track1) 731 of the storage areas 730 of the first file (b1.mp4) 710 according to the execution of the dual recording shooting function, and the second camera module 283 ) may be stored in the second storage area (video track 2) 733 of the storage area 730 of the first file (b1.mp4) 710. The electronic device may store, in the first user information area 751 of the user information area 750 of the first file 710, image type information (e.g., Director's view ID) representing the dual recording file, first storage area information including location information of the first storage area in which the first image data is stored, and camera information indicating the use of the first camera module (e.g., rear camera module). The electronic device may store, in the second user information area 753 of the user information area 750 of the first file 710, image type information (e.g., director's view ID) representing a dual recording file, second storage area information including location information of a second storage area in which second image data is stored, camera information indicating use of a second camera module (e.g., front camera module), and location information of a PIP window including single coordinates (e.g., X1, Y1).

상기 전자 장치는, 상기 제1 파일(710)의 재생이 선택될 때, 상기 제1 파일(710)의 사용자 정보 영역(750) 중 제2 사용자 정보 영역(753)에 PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 전자 장치의 디스플레이(260)에 상기 제1 파일(710)의 제1 저장 영역(731)에 저장된 제1 영상 데이터를 출력하고, PIP윈도의 위치 정보로 저장된 단일 좌표(X1, Y1)에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우(770)를 표시하고, 상기 PIP윈도우(770)에 상기 제1 파일(710)의 제2 저장 영역(733)에 저장된 제2 영상 데이터(705)를 출력할 수 있다. 상기 전자 장치는, 상기 PIP윈도의 위치 정보로 저장된 단일 좌표(X1, Y1)에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우(770)를 표시하는 동안, 사용자에 의해 PIP윈도우(770)의 이동(771)을 확인하면, 상기 디스플레이(260)에서 상기 이동된 위치에 PIP윈도우(770)를 표시하고, 상기 PIP윈도우(770)에 상기 제1 파일(710)의 제2저장 영역(733)에 저장된 제2 영상 데이터(705)를 출력할 수 있다.When playback of the first file 710 is selected, the electronic device outputs the first image data stored in the first storage area 731 of the first file 710 to the display 260 of the electronic device when it is confirmed that the second user information area 753 of the user information area 750 of the first file 710 includes the location information of the PIP window, and the single coordinate (X1, A PIP window 770 may be displayed on a certain area of the display corresponding to Y1), and the second image data 705 stored in the second storage area 733 of the first file 710 may be output to the PIP window 770. While displaying the PIP window 770 in a certain area of the display corresponding to the single coordinates (X1, Y1) stored as the location information of the PIP window, if the user checks the movement 771 of the PIP window 770, the electronic device displays the PIP window 770 at the moved position on the display 260, and displays the first file 710 on the PIP window 770. The second image data 705 stored in the second storage area 733 may be output.

도 8은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면(800)이다.8 is a diagram 800 for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.

상기 도 8을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는/및 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영 기능의 실행에 따라 제1 카메라 모듈(281)을 통해 수신된 제1영상 데이터(601)를 제1 파일(a1.mp4)(610)의 저장 영역(611)에 저장하고, 제2 카메라 모듈(283)을 통해 수신된 제2영상 데이터(605)를 제2 파일(a2.mp4)(650)의 저장 영역(651)로 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(610)의 사용자 정보 영역(613)에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID) , 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보(예: Group ID: 1107), 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보, 저장할 수 있다. 상기 전자 장치는, 상기 제2 파일(650)의 사용자 정보 영역(653)에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID) , 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보(예: Group ID: 1107), 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보, 및 복수의 좌표들(예: ((X1, Y1), (X2,Y2), (X3,Y3)..)를 포함하는 PIP윈도의 위치 정보를 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(810) 또는 상기 제2 파일(850)의 재생이 선택될 때, 상기 제2 파일(850)의 사용자 정보 영역(653)에 PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 전자 장치의 디스플레이(260)에 상기 제1 파일(810)의 저장 영역(811)에 저장된 제1 영상 데이터(801) 중 제1 프레임(801a)를 출력할 때, 상기 PIP윈도의 위치 정보로 저장된 상기 복수의 좌표 정보 중 상기 제1 프레임에서 검출된 제1 좌표 정보(예: X1,Y1)가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제1 프레임(801a)을 출력하는 동안 상기 제1 좌표 정보(예: X1,Y1)에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우(870)를 표시하고, 상기 PIP윈도우(870)에 상기 제2 파일(850)의 저장 영역(851)에 저장된 제2 영상데이터(805)를 출력할 수 있다. 상기 프로세서(220)는, 상기 디스플레이(260)에 상기 제1 영상 데이터의 복수의 프레임들 중 제2 프레임(801b)이 출력될 때 상기 복수의 좌표 정보 중 상기 제2 프레임(801b)에서 검출된 제2 좌표 정보(예: X2,Y2)가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제2 프레임(801b)을 출력하는 동안 상기 제2 좌표 정보(예: X2,Y2)에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우(870)를 표시하고, 상기 PIP윈도우(870)에 상기 제2 파일의 저장 영역(851)에 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 디스플레이(260)에 상기 제1 영상 데이터의 복수의 프레임들 중 제3 프레임(801c)이 출력될 때 상기 복수의 좌표 정보 중 상기 제3 프레임(801c)에서 검출된 제3 좌표 정보(예: X3,Y3)가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제3 프레임(801c)을 출력하는 동안 상기 제3 좌표 정보(예: X3,Y3)에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우(870)를 표시하고, 상기 PIP윈도우(870)에 상기 제2 파일(850)의 저장 영역(851)에 저장된 제2 영상데이터를 출력할 수 있다.Referring to FIG. 8 , an electronic device (eg, the electronic device 101 of FIG. 1 or/and the electronic device 201 of FIG. 2 ) stores the first image data 601 received through the first camera module 281 in the storage area 611 of the first file (a1.mp4) 610 according to the execution of the dual recording shooting function, and the second image data 605 received through the second camera module 283. It can be stored in the storage area 651 of the second file (a2.mp4) 650 . The electronic device may store, in the user information area 613 of the first file 610, image type information (e.g., Director's view ID) representing a dual recording file, file group information (e.g., Group ID: 1107) representing a group with the second file, and camera information representing the use of a first camera module (e.g., a rear camera module). In the user information area 653 of the second file 650, the electronic device includes image type information (eg, Director's view ID) indicating a dual recording file, file group information indicating that the first file is one group (eg, Group ID: 1107), camera information indicating use of a second camera module (eg, front camera module), and a plurality of coordinates (eg, ((X1, Y1), (X2, Y2), (X3, Y3). When the electronic device confirms that the user information area 653 of the second file 850 includes the location information of the PIP window when playback of the first file 810 or the second file 850 is selected, the electronic device displays the first image data 801 stored in the storage area 811 of the first file 810 on the display 260 of the electronic device. When one frame 801a is output, if the first coordinate information (eg, X1, Y1) detected in the first frame exists among the plurality of coordinate information stored as the location information of the PIP window, the PIP window 870 is displayed in a certain area of the display 260 corresponding to the first coordinate information (eg, X1, Y1) while the first frame 801a of the first image data is output on the display 260, It is possible to output the second image data 805 stored in the storage area 851 of the second file 850 to the PIP window 870. When the second frame 801b of the plurality of frames of the first image data is output to the display 260, if the second coordinate information (eg, X2, Y2) detected in the second frame 801b among the plurality of coordinate information exists, the While the second frame 801 b of the first image data is output to the display 260, a PIP window 870 may be displayed in a certain area of the display 260 corresponding to the second coordinate information (eg, X2, Y2), and the second image data stored in the second file storage area 851 may be output to the PIP window 870. When the third frame 801c of the plurality of frames of the first image data is output to the display 260, if the third coordinate information (eg, X3, Y3) detected in the third frame 801c among the plurality of coordinate information exists, the processor 220 may output the third coordinate information (eg, X3, Y3) corresponding to the third frame 801c of the first image data to the display 260. A PIP window 870 may be displayed on a certain area of the display 260, and second image data stored in the storage area 851 of the second file 850 may be output to the PIP window 870.

상기 프로세서(220)는, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 상기 제2 파일(850)의 저장 영역(851)에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제2 파일(850)의 저장 영역(851)에 저장된 상기 제2 영상데이터를 출력할 수 있다.The processor 220 sequentially displays PIP windows on a certain area of the display 260 corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, and if the location of the PIP window is changed by a user while outputting second image data stored in the storage area 851 of the second file 850 to the PIP window, the PIP window is displayed on a certain area of the display corresponding to the changed location, The second image data stored in the storage area 851 of the second file 850 can be output to the IP window.

도 9는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 도면(900)이다.9 is a diagram 900 for explaining an operation of controlling a PIP window in an electronic device according to various embodiments.

상기 도 9를 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는/및 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영 기능의 실행에 따라 제1 카메라 모듈(281)을 통해 수신된 제1영상 데이터(901)를 제1 파일(b1.mp4)(910)의 저장 영역(930) 중 제1 저장 영역(video track1)(931)에 저장하고, 제2 카메라 모듈(283)을 통해 수신된 제2영상 데이터(905)를 상기 제1 파일(b1.mp4)(910)의 저장 영역(930) 중 제2 저장 영역(video track 2)(933)에 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(910)의 사용자 정보 영역(950) 중 제1 사용자 정보 영역(951)에 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID), 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보를 포함하는 제1 저장 영역 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(910)의 사용자 정보 영역(950) 중 제2 사용자 정보 영역(953)에 듀얼 레코딩 파일을 나타내는 영상 타입 정보(예: Director's view ID), 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보를 포함하는 제2 저장 영역 정보, 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보, 및 복수의 좌표들(예: ((X1, Y1), (X2,Y2), (X3,Y3)..)를 포함하는 PIP윈도의 위치 정보를 저장할 수 있다. 상기 전자 장치는, 상기 제1 파일(910)의 재생이 선택될 때, 상기 제1 파일(910)의 제2사용자 정보 영역(953)에 PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 전자 장치의 디스플레이(260)에 상기 제1 파일(910)의 제1 저장 영역(931)에 저장된 제1 영상 데이터(901) 중 제1 프레임(901a)를 출력할 때, 상기 PIP윈도의 위치 정보로 저장된 상기 복수의 좌표 정보 중 상기 제1 프레임(901a)에서 검출된 제1 좌표 정보(예: X1,Y1)가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제1 프레임(901a)을 출력하는 동안 상기 제1 좌표 정보(예: X1,Y1)에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우(970)를 표시하고, 상기 PIP윈도우(970)에 상기 제1 파일(910)의 제2 저장 영역(933)에 저장된 제2 영상데이터(905)를 출력할 수 있다. 상기 프로세서(220)는, 상기 디스플레이(260)에 상기 제1 영상 데이터의 복수의 프레임들 중 제2 프레임(901b)이 출력될 때 상기 복수의 좌표 정보 중 상기 제2 프레임(901b)에서 검출된 제2 좌표 정보(예: X2,Y2)가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제2 프레임(901b)을 출력하는 동안 상기 제2 좌표 정보(예: X2,Y2)에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우(970)를 표시하고, 상기 PIP윈도우(970)에 상기 제1 파일(910)의 제2 저장 영역(933)에 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 디스플레이(260)에 상기 제1 영상 데이터의 복수의 프레임들 중 제3 프레임(901c)이 출력될 때 상기 복수의 좌표 정보 중 상기 제3 프레임(901c)에서 검출된 제3 좌표 정보(예: X3,Y3)가 존재하면, 상기 디스플레이(260)에 상기 제1 영상데이터의 제3 프레임(901c)을 출력하는 동안 상기 제3 좌표 정보(예: X3,Y3)에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우(970)를 표시하고, 상기 PIP윈도우(970)에 상기 제1 파일(910)의 제2 저장 영역(933)에 저장된 제2 영상데이터를 출력할 수 있다. 상기 프로세서(220)는, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 상기 제1 파일(910)의 제2 저장 영역(933)에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일(910)의 제2 저장 영역(933)에 저장된 상기 제2 영상데이터를 출력할 수 있다.Referring to FIG. 9 , an electronic device (eg, the electronic device 101 of FIG. 1 or/and the electronic device 201 of FIG. 2 ) stores the first image data 901 received through the first camera module 281 in the first storage area (video track1) 931 of the storage areas 930 of the first file (b1.mp4) 910 according to the execution of the dual recording shooting function, and the second camera module 283 ) may be stored in the second storage area (video track 2) 933 of the storage area 930 of the first file (b1.mp4) 910. The electronic device may store, in a first user information area 951 of the user information area 950 of the first file 910, image type information (e.g., Director's view ID) indicating a dual recording file, first storage area information including location information of a first storage area in which the first image data is stored, and camera information indicating use of a first camera module (e.g., a rear camera module). The electronic device includes, in the second user information area 953 of the user information area 950 of the first file 910, image type information (e.g., Director's view ID) representing the dual recording file, second storage area information including location information of the second storage area in which the second image data is stored, camera information indicating use of a second camera module (e.g., front camera module), and a plurality of coordinates (e.g., ((X1, Y1), (X2, Y2), (X3, When the electronic device determines that the second user information area 953 of the first file 910 includes the location information of the PIP window when playback of the first file 910 is selected, the electronic device displays the first image data 901 of the first image data 901 stored in the first storage area 931 of the first file 910 on the display 260 of the electronic device. When the frame 901a is output, if the first coordinate information (eg, X1, Y1) detected in the first frame 901a exists among the plurality of coordinate information stored as the location information of the PIP window, the PIP window 970 is displayed in a certain area of the display 260 corresponding to the first coordinate information (eg, X1, Y1) while the first frame 901a of the first image data is output to the display 260. and output the second image data 905 stored in the second storage area 933 of the first file 910 to the PIP window 970. When the second frame 901b of the plurality of frames of the first image data is output to the display 260, the processor 220 detects the second coordinate information (eg, X2, Y) from the second frame 901b among the plurality of coordinate information. If 2) exists, while the second frame 901b of the first image data is output to the display 260, the PIP window 970 may be displayed in a certain area of the display 260 corresponding to the second coordinate information (eg, X2, Y2), and the second image data stored in the second storage area 933 of the first file 910 may be output to the PIP window 970. When the third frame 901c of the plurality of frames of the first image data is output to the display 260, if the third coordinate information (eg, X3, Y3) detected in the third frame 901c among the plurality of coordinate information exists, the processor 220 may output the third coordinate information (eg, X3, Y3) corresponding to the third frame 901c of the first image data to the display 260. A PIP window 970 may be displayed on a certain area of the display 260, and second image data stored in the second storage area 933 of the first file 910 may be output to the PIP window 970. The processor 220 sequentially displays PIP windows on a predetermined area of the display 260 corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, and displays the PIP window on a predetermined area of the display corresponding to the changed position when the position of the PIP window is changed by the user while outputting the second image data stored in the second storage area 933 of the first file 910 to the PIP window. The second image data stored in the second storage area 933 of the first file 910 can be output to the PIP window.

도 10은 다양한 실시 예들에 따른 전자 장치에서 영상 데이터의 재생 동작을 설명하기 위한 도면(1000)이다.10 is a diagram 1000 for explaining a reproduction operation of image data in an electronic device according to various embodiments.

상기 도10을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 또는/및 도 2의 전자 장치(201))는, 듀얼 레코딩 파일을 재생할 때, 복수의 보기 모드 중 사용자에 의해 설정된 보기 모드로 듀얼 레코딩 파일의 제1영상 데이터 또는/ 및 제2 영상 데이터를 재생할 수 있다.Referring to FIG. 10, when an electronic device (e.g., the electronic device 101 of FIG. 1 or/and the electronic device 201 of FIG. 2) reproduces a dual recording file, among a plurality of viewing modes, the first video data or/and the second video data of the dual recording file can be reproduced in a viewing mode set by the user.

상기 전자 장치는, 상기 복수의 보기 모드 중 제1 보기 모드의 설정을 확인하면, (a)와 같이 디스플레이 영역(260)에 제1 파일의 저장 영역(예: 도 3의 제1 파일의(310)의 저장 영역)(311) 또는 제1 파일의 제1저장 영역(예: 도 4의 제1 파일(410)의 제1 저장 영역(431))에 저장된 제1 영상 데이터를 출력하고, 상기 디스플레이 영역(260)의 일정 영역에 표시되는 PIP화면에 제2 파일의 저장 영역(예: 도 3의 제2 파일(350)의 저장 영역(351)) 또는 제1 파일의 제2 저장 영역(예: 도 4의 제1 파일(410)의 제2 저장 영역(4333))에 저장된 제2 영상 데이터를 출력할 수 있다.When the setting of the first viewing mode among the plurality of viewing modes is confirmed, the electronic device outputs the first image data stored in the storage area 311 of the first file (eg, the storage area of the first file 310 in FIG. 3) or the first storage area of the first file (eg, the first storage area 431 of the first file 410 in FIG. On the displayed PIP screen, the second image data stored in the storage area of the second file (e.g., the storage area 351 of the second file 350 in FIG. 3) or the second storage area of the first file (e.g., the second storage area 4333 of the first file 410 in FIG. 4) can be output.

상기 전자 장치는, 상기 복수의 보기 모드 중 제2 보기 모드의 설정을 확인하면, (b)와 같이 디스플레이 영역(260)을 상측 영역(260a)과 하측 영역(260b)로 구분할 수 있다. 상기 전자 장치는, 상기 상측 영역(260a)에 제1 파일의 저장 영역(예: 도 3의 제1 파일의(310)의 저장 영역)(311) 또는 제1 파일의 제1저장 영역(예: 도 4의 제1 파일(410)의 제1 저장 영역(431))에 저장된 제1 영상 데이터를 출력하고, 상기 하측 영역(260b) 에 제2 파일의 저장 영역(예: 도 3의 제2 파일(350)의 저장 영역(351)) 또는 제1 파일의 제2 저장 영역(예: 도 4의 제1 파일(410)의 제2 저장 영역(4333))에 저장된 제2 영상 데이터를 출력할 수 있다.When confirming the setting of the second viewing mode among the plurality of viewing modes, the electronic device can divide the display area 260 into an upper area 260a and a lower area 260b as shown in (b). The electronic device outputs the first image data stored in the upper region 260a (eg, the storage region 311 of the first file 310 of FIG. 3) or the first storage region 311 of the first file (eg, the first storage region 431 of the first file 410 of FIG. 4) to the upper region 260a, and outputs the first image data stored to the lower region 260b. The second image data stored in the storage area 351 of 50) or the second storage area of the first file (eg, the second storage area 4333 of the first file 410 of FIG. 4 ) may be output.

상기 전자 장치는, 상기 복수의 보기 모드 중 제3 보기 모드의 설정을 확인하면, (c)와 같이 디스플레이 영역(260) 전체에 제2 파일의 저장 영역(예: 도 3의 제2 파일(350)의 저장 영역(351)) 또는 제1 파일의 제2 저장 영역(예: 도 4의 제1 파일(410)의 제2 저장 영역(4333))에 저장된 제2 영상 데이터를 출력할 수 있다.When the setting of the third viewing mode among the plurality of viewing modes is confirmed, the electronic device can output the second image data stored in the storage area of the second file (e.g., the storage area 351 of the second file 350 in FIG. 3) or the second storage area of the first file (e.g., the second storage area 4333 of the first file 410 in FIG. 4) over the entire display area 260 as shown in (c).

상기 전자 장치는, 상기 복수의 보기 모드 중 제4 보기 모드의 설정을 확인하면, (d)와 같이 디스플레이 영역(260) 전체에 제1 파일의 저장 영역(예: 도 3의 제1 파일의(310)의 저장 영역)(311) 또는 제1 파일의 제1저장 영역(예: 도 4의 제1 파일(410)의 제1 저장 영역(431))에 저장된 제1 영상 데이터를 출력할 수 있다.When the setting of the fourth viewing mode among the plurality of viewing modes is confirmed, the electronic device can output the first image data stored in the storage area 311 of the first file (e.g., the storage area of the first file 310 in FIG. 3) or the first storage area of the first file (e.g., the first storage area 431 of the first file 410 in FIG. 4) to the entire display area 260 as shown in (d).

다양한 실시 예들에 따르면, 전자 장치(예: 도 2의 전자 장치(201))는, 제1 카메라 모듈(예: 도 2의 제1 카메라 모듈(281)), 제2카메라 모듈(예: 도 2의 제2 카메라 모듈(283)), 디스플레이(예: 도 2의 디스플레이(260)); 및 프로세서(예: 도 2의 프로세서(220)를 포함하고, 상기 프로세서는,듀얼 레코딩 촬영기능의 실행을 확인하면, 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 제2 파일로 저장하고, 상기 제1 파일의 사용자 정보 영역에 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제2 파일의 사용자 정보 영역에 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택되면, 상기 제1 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보 또는 상기 제2 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보를 기반으로 상기 디스플레이에 상기 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 파일로 저장된 제2 영상데이터를 출력하고,상기 디스플레이에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하도록 설정될 수 있다.According to various embodiments, an electronic device (eg, the electronic device 201 of FIG. 2 ) may include a first camera module (eg, the first camera module 281 of FIG. 2 ), a second camera module (eg, the second camera module 283 of FIG. 2 ), a display (eg, the display 260 of FIG. 2 ); And a processor (e.g., the processor 220 of FIG. 2 ), wherein the processor activates the first camera module and the second camera module when the execution of the dual recording shooting function is confirmed, stores the first image data received through the first camera module as a first file, stores the second image data received through the second camera module as a second file, stores file group information indicating that the second file and the same group are stored in a user information area of the first file, and File group information indicating that the first file and the same group are stored in a user information area, and when playback of the first file or the second file is selected, the first image data stored as the first file is output to the display based on the file group information stored in the user information area of the first file or the file group information stored in the user information area of the second file, and the second image data stored as the second file is output to a PIP window displayed on a certain area of the display, and the PIP window is displayed on the display. When the movement of the image is confirmed, the second image data may be output to the PIP window displayed at the moved position.

다양한 실시 예들에 따르면, 상기 제1 파일의 사용자 정보 영역은, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 상기 파일 그룹 정보 및 제1 카메라 모듈의 이용을 나타내는 카메라 정보를 포함하고, 상기 제2 파일의 사용자 정보 영역은, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 상기 파일 그룹 정보 및 제2 카메라 모듈의 이용을 나타내는 카메라 정보를 포함할 수 있다.According to various embodiments, the user information area of the first file may include image type information indicating a dual recording file, the file group information indicating a group with the second file, and camera information indicating use of a first camera module, and the user information area of the second file may include image type information indicating a dual recording file, the file group information indicating a group with the first file, and camera information indicating use of a second camera module.

다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제1 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역을 기반하여 상기 제1 파일이 듀얼 레코딩 파일임을 확인하고, 동일한 파일 그룹 정보를 가지는 상기 제2 파일을 확인하면, 상기 디스플레이에 상기 제1 파일에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 상기 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터를 출력하도록 설정될 수 있다.According to various embodiments of the present disclosure, when playback of the first file is selected, the processor may be set to output the first image data stored in the first file to the display and output the second image data stored in the second file to the PIP window displayed on a certain area of the display, if it is determined that the first file is a dual recording file based on a user information area of the first file and the second file having the same file group information is identified.

다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제2 파일의 재생이 선택되면, 상기 제2 파일의 사용자 정보 영역을 기반하여 상기 제2 파일이 듀얼 레코딩 파일임을 확인하고, 동일한 파일 그룹 정보를 가지는 상기 제1 파일을 확인하면, 상기 디스플레이에 상기 제1 파일에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 상기 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터를 출력하도록 설정될 수 있다.According to various embodiments of the present disclosure, when reproduction of the second file is selected, the processor may be configured to determine that the second file is a dual recording file based on a user information area of the second file and to output the first image data stored in the first file to the display, and to output the second image data stored in the second file to the PIP window displayed in a certain area of the display, if the first file having the same file group information is identified.

다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역 또는 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 디폴트로 설정된 상기 디스플레이의 일정 영역에 상기 PIP윈도우를 표시하도록 설정될 수 있다.According to various embodiments of the present disclosure, when playback of the first file or the second file is selected, the processor may be set to display the PIP window in a certain area of the display set as default when it is confirmed that the user information area of the first file or the user information area of the second file does not include location information of the PIP window.

다양한 실시 예들에 따르면, 상기 프로세서는, 상기 듀얼 레코딩 촬영 기능의 실행을 확인하면, 상기 디스플레이에 상기 제1 카메라 모듈을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 출력하면서 상기 듀얼 레코딩 촬영 기능을 실행하고, 상기 듀얼 레코딩 촬영 기능의 종료에 따라 상기 제2 영상 데이터를 상기 제2 파일로 저장할 때,상기 듀얼 레코딩의 촬영 기능을 실행하는 동안 위치가 변경된 PIP윈도우의 좌표 정보를 PIP 윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 포함하도록 설정될 수 있다.According to various embodiments, when the execution of the dual recording shooting function is confirmed, the processor outputs the first image data received through the first camera module to the display, outputs the second image data received through the second camera module to a PIP window displayed on a certain area of the display, and executes the dual recording shooting function, and stores the second image data as the second file according to the completion of the dual recording shooting function. It may be set to include the coordinate information of the dough as the location information of the PIP window in the user information area of the second file.

다양한 실시 예들에 따르면, 상기 프로세서는, 상기 듀얼 레코딩 촬영 기능의 실행에 따라, 상기 디스플레이에 상기 제1 카메라 모듈을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 출력하는 동안, 상기 제1 영상데이터에 포함된 복수의 프레임들 중 적어도 하나의 프레임을 중요 영역과 비중요 영역으로 구분하고, 적어도 하나의 프레임에 대응되는 적어도 하나의 비중요 영역의 좌표 정보를 검출하고, 상기 제2 영상 데이터를 상기 제2 파일로 저장할 때, 적어도 하나의 비중요 영역의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 포함하도록 설정될 수 있다.According to various embodiments of the present disclosure, the processor outputs the first image data received through the first camera module to the display and outputs the second image data received through the second camera module to a PIP window displayed on a certain area of the display, while dividing at least one frame among a plurality of frames included in the first image data into an important region and a non-important region, and detecting coordinate information of at least one non-important region corresponding to the at least one frame, When the second image data is stored as the second file, coordinate information of at least one non-important area may be set to be included in the user information area of the second file as location information of the PIP window.

다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 또는 상기 제2 파일의 사용자 정보에 단일 좌표 정보를 가지는 PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 PIP 윈도우의 위치 정보에 대응되는 상기 디스플레이의 일정 영역에 상기 PIP윈도우를 표시하도록 설정될 수 있다.According to various embodiments of the present disclosure, when reproduction of the first file or the second file is selected, the processor may be set to display the PIP window in a certain area of the display corresponding to the location information of the PIP window, if it is confirmed that the user information of the first file or the user information of the second file includes location information of a PIP window having single coordinate information.

다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 또는 상기 제2 파일의 사용자 정보에 복수의 좌표 정보를 가지는PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 복수의 좌표 정보가 저장된 순서대로 상기 복수의 좌표 정보에 대응되는 상기 디스플레이의 복수의 일정 영역들에 상기 PIP윈도우를 순서적으로 표시하도록 설정될 수 있다.According to various embodiments of the present disclosure, when reproduction of the first file or the second file is selected, the processor may be set to sequentially display the PIP window on a plurality of predetermined regions of the display corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, if it is confirmed that the user information of the first file or the user information of the second file includes location information of a PIP window having a plurality of coordinate information.

다양한 실시 예들에 따르면, 상기 프로세서는, 상기 듀얼 레코딩 촬영기능의 실행을 확인하면 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일의 제1 저장 영역에 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 상기 제1 파일의 제2 저장 영역에 저장하고, 상기 제1 파일의 재생이 선택되면, 상기 디스플레이에 상기 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하고, 상기 디스플레이에서 상기 PIP윈도우에 대한 이동이 확인되면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하도록 설정될 수 있다.According to various embodiments, the processor activates the first camera module and the second camera module when the execution of the dual recording shooting function is confirmed, stores first image data received through the first camera module in a first storage area of a first file, stores second image data received through the second camera module in a second storage area of the first file, and outputs the first image data stored in the first storage area of the first file to the display when playback of the first file is selected, The second image data stored in the second storage area of the first file is output to the PIP window displayed on a certain area of the display, and when the movement of the PIP window is confirmed on the display, the second image data may be output to the PIP window displayed at the moved position.

도 11은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 흐름도(1100)이다. 상기 PIP윈도우를 제어하는 동작들은 1101동작 내지 1111동작을 포함할 수 있다. 일 실시 예에 따르면, 1101동작 내지 1111동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 11 is a flowchart 1100 illustrating an operation of controlling a PIP window in an electronic device according to various embodiments. Operations for controlling the PIP window may include operations 1101 to 1111. According to an embodiment, at least one of operations 1101 to 1111 may be omitted, the order of some operations may be changed, or another operation may be added.

1101동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영기능의 실행할 수 있다.In operation 1101, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may execute the dual recording shooting function.

1103동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 카메라 모듈(예: 도 2의 제1 카메라 모듈(281))을 통해 수신되는 제1 영상 데이터를 제1 파일에 저장하고,제2 카메라 모듈(예: 도 2의 제2 카메라 모듈(283))을 통해 수신되는 제2 영상 데이터를 제2 파일에 저장할 수 있다.In operation 1103, the electronic device (e.g., the electronic device 101 in FIG. 1 and/or the electronic device 201 in FIG. 2) may store first image data received through a first camera module (e.g., the first camera module 281 in FIG. 2) in a first file, and store second image data received through a second camera module (e.g., the second camera module 283 in FIG. 2) in a second file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화 시키고, 상기 제1 카메라 모듈을 통해 수신된 상기 제1 영상 데이터를 인코딩하여 상기 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 상기 제2 영상 데이터를 인코딩하여 상기 제2 파일로 저장할 수 있다.According to an embodiment, the electronic device may activate the first camera module and the second camera module, encode and store the first image data received through the first camera module as the first file, and encode and store the second image data received through the second camera module as the second file.

일 실시 예에 따르면, 상기 전자 장치, 상기 제1 파일의 저장 영역에 상기 제1 영상 데이터를 저장하고, 상기 제1 파일의 사용자 정보 영역에 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 사용자 정보 영역은 메타 데이터를 저장할 수 있는 영역을 나타낼 수 있다.According to an embodiment, the electronic device may store the first image data in a storage area of the first file, and store image type information indicating a dual recording file in a user information area of the first file, file group information indicating a group with the second file, and camera information indicating use of a first camera module (e.g., a rear camera module). The user information area may represent an area in which meta data can be stored.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 저장 영역에 상기 제2 영상 데이터를 저장하고, 상기 제2 파일의 사용자 정보 영역에 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다.According to an embodiment, the electronic device may store the second image data in a storage area of the second file, and store image type information indicating a dual recording file, file group information indicating that the file is one group with the first file, and camera information indicating use of a second camera module (e.g., a front camera module) in a user information area of the second file.

1105동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 파일 또는 상기 제2 파일에 대한 재생의 선택을 확인(1105)할 수 있다.In operation 1105, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) may confirm selection of playback of the first file or the second file (1105).

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 선택을 확인하면, 상기 제1 파일의 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 제1 파일이 듀얼 레코딩 파일임을 확인하고 상기 제1 파일과 하나의 그룹으로 연결된 제2 파일을 확인할 수 있다.According to an embodiment, when the selection of the first file is confirmed, the electronic device can confirm that the first file is a dual recording file based on image type information indicating a dual recording file included in the user information area of the first file, file group information indicating that it is in one group with the second file, and camera information indicating the use of a first camera module (eg, a rear camera module).

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 선택을 확인하면, 상기 제2 파일의 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 제2 파일이 듀얼 레코딩 파일임을 확인하고 상기 제2 파일과 하나의 그룹으로 연결된 제1 파일을 확인할 수 있다.According to an embodiment, when the electronic device confirms the selection of the second file, the video type information indicating the dual recording file included in the user information area of the second file, and the first file and the first file are one group. Based on the indicated file group information and the camera information indicating the use of the second camera module (eg, front camera module), it is confirmed that the second file is a dual recording file and the first file connected to the second file as one group. can confirm.

1107동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 파일의 사용자 정보에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인할 수 있다.In operation 1107, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) can confirm that the user information of the second file does not include the location information of the PIP window.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 상기 디스플레이에서 PIP윈도우를 표시되기 위해 디폴트로 설정된 좌표 정보를 확인할 수 있다.According to an embodiment, if the electronic device confirms that the user information area of the second file does not include the location information of the PIP window, it can check coordinate information set as default to display the PIP window on the display.

1109동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 디스플레이(예: 도 2의 디스플레이(260))에 제1 파일에 저장된 제1 영상데이터를 출력하고, 디폴트로 설정된 디스플레이의 일정 영역에 표시되는 PIP윈도우에 제2 파일에 저장된 제2 영상데이터를 출력할 수 있다.In operation 1109, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may output the first image data stored in the first file to a display (e.g., the display 260 of FIG. 2), and output the second image data stored in the second file to a PIP window displayed in a predetermined area of the default display.

일 실시 예에 따르면, 상기 전자 장치는, 상기 디스플레이에 제1 파일의 저장영역에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이에서 디폴트로 설정된 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력할 수 있다.According to an embodiment, the electronic device may output first image data stored in a storage area of a first file to the display, display a PIP window in a certain area set as default on the display, and output second image data stored as a second file to the PIP window.

1111동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, PIP윈도우에 대한 이동을 확인하면, 이동된 위치에서 표시되는 PIP윈도우에 제2 영상데이터를 출력할 수 있다.In operation 1111, when the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) confirms the movement of the PIP window, the second image data can be output to the PIP window displayed at the moved position.

일 실시 예에 따르면, 상기 전자 장치는, 상기 디폴트로 설정된 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 파일의 저장 영역에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제2 파일의 저장 영역에 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, while outputting the second image data stored in the storage area of the second file to the PIP window displayed in the predetermined area of the display set as default, if the location of the PIP window is changed by the user, the electronic device may display the PIP window in the predetermined area of the display corresponding to the changed location, and output the second image data stored in the storage area of the second file to the PIP window.

도 12는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 흐름도(1200)이다. 상기 PIP윈도우를 제어하는 동작들은 1201동작 내지 1211동작을 포함할 수 있다. 일 실시 예에 따르면, 1201동작 내지 1211동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 12 is a flowchart 1200 illustrating an operation of controlling a PIP window in an electronic device according to various embodiments. Operations for controlling the PIP window may include operations 1201 to 1211. According to an embodiment, at least one of operations 1201 to 1211 may be omitted, the order of some operations may be changed, or another operation may be added.

1201동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영기능의 실행할 수 있다.In operation 1201, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may execute a dual recording shooting function.

1203동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 카메라 모듈(예: 도 2의 제1 카메라 모듈(281))을 통해 수신되는 제1 영상 데이터를 제1 파일의 제1 저장 영역에 저장하고,제2 카메라 모듈(예: 도 2의 제2 카메라 모듈(283))을 통해 수신되는 제2 영상 데이터를 제1 파일의 제2 저장 영역에 저장할 수 있다.In operation 1203, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) stores the first image data received through the first camera module (eg, the first camera module 281 of FIG. 2 ) in the first storage area of the first file, and stores the second image data received through the second camera module (eg, the second camera module 283 of FIG. 2 ) into the second storage area of the first file. can be saved

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화 시키고, 상기 제1 카메라 모듈을 통해 수신된 상기 제1 영상 데이터를 인코딩하여 상기 제1 파일의 제1 저장 영역에 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 상기 제2 영상 데이터를 인코딩하여 상기 제1 파일의 제2 저장 영역에 저장할 수 있다.According to an embodiment, the electronic device may activate the first camera module and the second camera module, encode the first image data received through the first camera module and store it in a first storage area of the first file, and encode the second image data received through the second camera module and store it in a second storage area of the first file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 사용자 정보 영역 중 제1 사용자 정보 영역에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다.According to an embodiment, the electronic device may store image type information indicating a dual recording file, location information of a first storage area in which the first image data is stored, and camera information indicating use of a first camera module (e.g., a rear camera module) in a first user information area of the user information area of the first file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 사용자 정보 영역은 메타 데이터를 저장할 수 있는 영역을 나타낼 수 있다.According to an embodiment, the electronic device may store image type information indicating a dual recording file, location information of a second storage area in which second image data is stored, and camera information indicating use of a second camera module (e.g., a front camera module) in a second user information area of the user information area of the first file. The user information area may represent an area in which meta data can be stored.

1205동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 파일에 대한 재생의 선택을 확인(1105)할 수 있다.In operation 1205, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) may confirm selection of reproduction of the first file (1105).

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 선택을 확인하면, 상기 제1 파일의 사용자 정보 영역 중 제1 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보와, 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 디스플레이(260)에 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 확인하고, 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 확인할 수 있다.According to an embodiment, when the selection of the first file is confirmed, the electronic device includes image type information indicating a dual recording file included in a first user information area among user information areas of the first file, location information of a first storage area in which the first image data is stored, camera information indicating use of a first camera module (eg, a rear camera module), image type information indicating a dual recording file included in a second user information area in the user information area of the first file, location information of a second storage area in which the second image data is stored, and Based on the camera information indicating the use of the camera module (eg, front camera module), the first image data stored in the first storage area of the first file can be checked on the display 260, and the second image data stored in the second storage area of the first file can be checked.

1207동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 파일의 제2 사용자 정보에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인할 수 있다.In operation 1207, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) can confirm that the second user information of the first file does not include the location information of the PIP window.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 제2 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 상기 디스플레이에서 PIP윈도우를 표시되기 위해 디폴트로 설정된 좌표 정보를 확인할 수 있다.According to an embodiment, if the electronic device confirms that the second user information area of the first file does not include the location information of the PIP window, the electronic device can check coordinate information set as default to display the PIP window on the display.

1209동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 디스플레이(예: 도 2의 디스플레이(260))에 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, 디폴트로 설정된 디스플레이의 일정 영역에 표시되는 PIP윈도우에 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다.In operation 1209, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may output the first image data stored in the first storage area of the first file to a display (e.g., the display 260 of FIG. 2), and output the second image data stored in the second storage area of the first file to a PIP window displayed in a certain area of the default display.

일 실시 예에 따르면, 상기 전자 장치는, 상기 디스플레이에 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이에서 디폴트로 설정된 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다.According to an embodiment, the electronic device may output first image data stored in a first storage area of a first file to the display, display a PIP window in a certain area set as default on the display, and output second image data stored in a second storage area of the first file to the PIP window.

1211동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, PIP윈도우에 대한 이동을 확인하면, 이동된 위치에서 표시되는 PIP윈도우에 제2 영상데이터를 출력할 수 있다.In operation 1211, when the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) confirms the movement of the PIP window, the second image data can be output to the PIP window displayed at the moved position.

일 실시 예에 따르면, 상기 전자 장치는, 상기 디폴트로 설정된 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제1 저장 영역에에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, while outputting the second image data stored in the first storage area of the first file to the PIP window displayed in the default area of the display, if the location of the PIP window is changed by the user, the electronic device may display the PIP window in the specified area of the display corresponding to the changed location, and output the second image data stored in the second storage area of the first file to the PIP window.

도 13은 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 흐름도(1300)이다. 상기 PIP윈도우를 제어하는 동작들은 1301동작 내지 1311동작을 포함할 수 있다. 일 실시 예에 따르면, 1301동작 내지 1311동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 13 is a flowchart 1300 illustrating an operation of controlling a PIP window in an electronic device according to various embodiments. Operations for controlling the PIP window may include operations 1301 to 1311. According to an embodiment, at least one of operations 1301 to 1311 may be omitted, the order of some operations may be changed, or another operation may be added.

1301동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영기능의 실행할 수 있다.In operation 1301, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may execute a dual recording shooting function.

1303동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 카메라 모듈(예: 도 2의 제1 카메라 모듈(281))을 통해 수신되는 제1 영상 데이터를 제1 파일에 저장하고,제2 카메라 모듈(예: 도 2의 제2 카메라 모듈(283))을 통해 수신되는 제2 영상 데이터를 제2 파일에 저장할 수 있다.In operation 1303, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may store first image data received through a first camera module (e.g., the first camera module 281 of FIG. 2) in a first file, and store second image data received through a second camera module (e.g., the second camera module 283 of FIG. 2) into a second file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화 시키고, 상기 제1 카메라 모듈을 통해 수신된 상기 제1 영상 데이터를 인코딩하여 상기 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 상기 제2 영상 데이터를 인코딩하여 상기 제2 파일로 저장할 수 있다.According to an embodiment, the electronic device may activate the first camera module and the second camera module, encode and store the first image data received through the first camera module as the first file, and encode and store the second image data received through the second camera module as the second file.

일 실시 예에 따르면, 상기 전자 장치, 상기 제1 파일의 저장 영역에 상기 제1 영상 데이터를 저장하고, 상기 제1 파일의 사용자 정보 영역에 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 사용자 정보 영역은 메타 데이터를 저장할 수 있는 영역을 나타낼 수 있다.According to an embodiment, the electronic device may store the first image data in a storage area of the first file, and store image type information indicating a dual recording file in a user information area of the first file, file group information indicating a group with the second file, and camera information indicating use of a first camera module (e.g., a rear camera module). The user information area may represent an area in which meta data can be stored.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 저장 영역에 상기 제2 영상 데이터를 저장하고, 상기 제2 파일의 사용자 정보 영역에 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다.According to an embodiment, the electronic device may store the second image data in a storage area of the second file, and store image type information indicating a dual recording file, file group information indicating that the file is one group with the first file, and camera information indicating use of a second camera module (e.g., a front camera module) in a user information area of the second file.

1305동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 파일 또는 상기 제2 파일에 대한 재생의 선택을 확인(1105)할 수 있다.In operation 1305, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) may confirm selection of reproduction of the first file or the second file (1105).

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 선택을 확인하면, 상기 제1 파일의 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 제1 파일이 듀얼 레코딩 파일임을 확인하고 상기 제1 파일과 하나의 그룹으로 연결된 제2 파일을 확인할 수 있다.According to an embodiment, when the selection of the first file is confirmed, the electronic device can confirm that the first file is a dual recording file based on image type information indicating a dual recording file included in the user information area of the first file, file group information indicating that it is in one group with the second file, and camera information indicating the use of a first camera module (eg, a rear camera module).

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 선택을 확인하면, 상기 제2 파일의 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 제2 파일이 듀얼 레코딩 파일임을 확인하고 상기 제2 파일과 하나의 그룹으로 연결된 제1 파일을 확인할 수 있다.According to an embodiment, when the selection of the second file is confirmed, the electronic device can confirm that the second file is a dual recording file based on image type information indicating a dual recording file included in the user information area of the second file, file group information indicating that it is one group with the first file, and camera information indicating use of a second camera module (e.g., a front camera module).

1307동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제2 파일의 사용자 정보에 PIP윈도우의 위치 정보가 포함되어 있음을 확인할 수 있다.In operation 1307, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) can confirm that the user information of the second file includes the PIP window location information.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 단일 좌표 정보로 저장되어 있음을 확인할 수 있다.According to an embodiment, the electronic device can confirm that the location information of the PIP window is stored as single coordinate information in the user information area of the second file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 복수의 좌표 정보로 저장되어 있음을 확인할 수 있다.According to an embodiment, the electronic device can confirm that the location information of the PIP window is stored as a plurality of coordinate information in the user information area of the second file.

1309동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 디스플레이(예: 도 2의 디스플레이(260))에 제1 파일에 저장된 제1 영상데이터를 출력하고, PIP윈도우의 위치 정보에 대응되는 디스플레이의 일정 영역에 표시되는 PIP윈도우에 제2 파일에 저장된 제2 영상데이터를 출력할 수 있다.In operation 1309, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may output the first image data stored in the first file to the display (e.g., the display 260 of FIG. 2) and output the second image data stored in the second file to the PIP window displayed in a certain area of the display corresponding to the location information of the PIP window.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 사용자 정보 영역에 상기 PIP윈도우의 위치 정보가 단일 좌표 정보로 저장되어 있음을 확인하면, 상기 단일 좌표 정보에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 제2 파일의 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다. According to an embodiment, when confirming that the location information of the PIP window is stored as single coordinate information in the user information area of the second file, the electronic device can display the PIP window in a certain area of the display corresponding to the single coordinate information, and output the second image data stored in the storage area of the second file to the PIP window.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 사용자 정보 영역에 상기 PIP윈도우의 위치 정보가 복수의 좌표 정보로 저장되어 있음을 확인하면, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 제2 파일의 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다.According to an embodiment, when confirming that the location information of the PIP window is stored as a plurality of coordinate information in the user information area of the second file, the electronic device may sequentially display PIP windows on a certain area of the display corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, and output second image data stored in the storage area of the second file to the PIP window.

1311동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, PIP윈도우에 대한 이동을 확인하면, 이동된 위치에서 표시되는 PIP윈도우에 제2 영상데이터를 출력할 수 있다.In operation 1311, when the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) confirms the movement of the PIP window, the second image data can be output to the PIP window displayed at the moved position.

일 실시 예에 따르면, 상기 전자 장치는, 상기 단일 좌표 정보에 대응되는 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제2 파일로 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, if the location of the PIP window is changed by a user while outputting second image data stored as a second file on a PIP window displayed in a certain area of the display corresponding to the single coordinate information, the electronic device may display the PIP window in a certain area of the display corresponding to the changed location, and output the second image data stored as the second file to the PIP window.

일 실시 예에 따르면, 상기 전자 장치는, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이(260)의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 제2 파일로 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제2 파일로 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, the electronic device sequentially displays PIP windows on a certain area of the display 260 corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, and if the location of the PIP window is changed by the user while outputting the second image data stored as a second file on the PIP window, displays the PIP window on a certain area of the display corresponding to the changed location, and displays the PIP window on a certain area of the display corresponding to the changed location. Second image data may be output.

도 14는 다양한 실시 예들에 따른 전자 장치에서 PIP윈도우를 제어하는 동작을 설명하기 위한 흐름도(1400)이다. 상기 PIP윈도우를 제어하는 동작들은 1401동작 내지 1411동작을 포함할 수 있다. 일 실시 예에 따르면, 1401동작 내지 1411동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 14 is a flowchart 1400 illustrating an operation of controlling a PIP window in an electronic device according to various embodiments. Operations for controlling the PIP window may include operations 1401 to 1411. According to an embodiment, at least one of operations 1401 to 1411 may be omitted, the order of some operations may be changed, or another operation may be added.

1401동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 듀얼 레코딩 촬영기능의 실행할 수 있다.In operation 1401, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may execute the dual recording shooting function.

1403동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 카메라 모듈(예: 도 2의 제1 카메라 모듈(281))을 통해 수신되는 제1 영상 데이터를 제1 파일의 제1 저장 영역에 저장하고,제2 카메라 모듈(예: 도 2의 제2 카메라 모듈(283))을 통해 수신되는 제2 영상 데이터를 제1 파일의 제2 저장 영역에 저장할 수 있다.In operation 1403, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) stores the first image data received through the first camera module (eg, the first camera module 281 of FIG. 2 ) in the first storage area of the first file, and stores the second image data received through the second camera module (eg, the second camera module 283 of FIG. 2 ) in the second storage area of the first file. can be saved

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화 시키고, 상기 제1 카메라 모듈을 통해 수신된 상기 제1 영상 데이터를 인코딩하여 상기 제1 파일의 제1 저장 영역에 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 상기 제2 영상 데이터를 인코딩하여 상기 제1 파일의 제2 저장 영역에 저장할 수 있다.According to an embodiment, the electronic device may activate the first camera module and the second camera module, encode the first image data received through the first camera module and store it in a first storage area of the first file, and encode the second image data received through the second camera module and store it in a second storage area of the first file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 사용자 정보 영역 중 제1 사용자 정보 영역에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다.According to an embodiment, the electronic device may store image type information indicating a dual recording file, location information of a first storage area in which the first image data is stored, and camera information indicating use of a first camera module (e.g., a rear camera module) in a first user information area of the user information area of the first file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 저장할 수 있다. 상기 사용자 정보 영역은 메타 데이터를 저장할 수 있는 영역을 나타낼 수 있다.According to an embodiment, the electronic device may store image type information indicating a dual recording file, location information of a second storage area in which second image data is stored, and camera information indicating use of a second camera module (e.g., a front camera module) in a second user information area of the user information area of the first file. The user information area may represent an area in which meta data can be stored.

1405동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 파일에 대한 재생의 선택을 확인(1105)할 수 있다.In operation 1405, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) may confirm selection of reproduction of the first file (1105).

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 선택을 확인하면, 상기 제1 파일의 사용자 정보 영역 중 제1 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제1 영상 데이터가 저장된 제1 저장 영역의 위치 정보 및 제1 카메라 모듈(예: 후면 카메라 모듈)의 이용을 나타내는 카메라 정보와, 상기 제1 파일의 사용자 정보 영역 중 제2 사용자 정보 영역에 포함된 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 제2 영상 데이터가 저장된 제2 저장 영역의 위치 정보 및 제2 카메라 모듈(예: 전면 카메라 모듈)의 이용을 나타내는 카메라 정보를 기반으로, 상기 디스플레이(260)에 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 확인하고, 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 확인할 수 있다.According to an embodiment, when the selection of the first file is confirmed, the electronic device includes image type information indicating a dual recording file included in a first user information area among user information areas of the first file, location information of a first storage area in which the first image data is stored, camera information indicating use of a first camera module (eg, a rear camera module), image type information indicating a dual recording file included in a second user information area in the user information area of the first file, location information of a second storage area in which the second image data is stored, and Based on the camera information indicating the use of the camera module (eg, front camera module), the first image data stored in the first storage area of the first file can be checked on the display 260, and the second image data stored in the second storage area of the first file can be checked.

1407동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 제1 파일의 제2 사용자 정보에 PIP윈도우의 위치 정보가 포함되어 있음을 확인할 수 있다.In operation 1407, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2 ) can confirm that the second user information of the first file includes the PIP window location information.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 제2 사용자 정보 영역에 PIP윈도우의 위치 정보가 단일 좌표 정보로 저장되어 있음을 확인할 수 있다.According to an embodiment, the electronic device can confirm that the location information of the PIP window is stored as single coordinate information in the second user information area of the first file.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제2 파일의 제2 사용자 정보 영역에 PIP윈도우의 위치 정보가 복수의 좌표 정보로 저장되어 있음을 확인할 수 있다.According to an embodiment, the electronic device can confirm that the location information of the PIP window is stored as a plurality of coordinate information in the second user information area of the second file.

1409동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 디스플레이(예: 도 2의 디스플레이(260))에 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, PIP윈도우의 위치 정보에 대응되는 디스플레이의 일정 영역에 표시되는 PIP윈도우에 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다.In operation 1409, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may output the first image data stored in the first storage area of the first file to the display (e.g., the display 260 of FIG. 2), and output the second image data stored in the second storage area of the first file to the PIP window displayed in a certain area of the display corresponding to the location information of the PIP window.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 제2 사용자 정보 영역에 상기 PIP윈도우의 위치 정보가 단일 좌표 정보로 저장되어 있음을 확인하면, 상기 단일 좌표 정보에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다. According to an embodiment, when confirming that the location information of the PIP window is stored as single coordinate information in the second user information area of the first file, the electronic device can display the PIP window in a certain area of the display corresponding to the single coordinate information, and output the second image data stored in the second storage area of the first file to the PIP window.

일 실시 예에 따르면, 상기 전자 장치는, 상기 제1 파일의 제2 사용자 정보 영역에 상기 PIP윈도우의 위치 정보가 복수의 좌표 정보로 저장되어 있음을 확인하면, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력할 수 있다.According to an embodiment, when confirming that the location information of the PIP window is stored as a plurality of coordinate information in the second user information area of the first file, the electronic device may sequentially display PIP windows in a certain area of the display corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, and output second image data stored in a second storage area of the first file to the PIP window.

1411동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, PIP윈도우에 대한 이동을 확인하면, 이동된 위치에서 표시되는 PIP윈도우에 제2 영상데이터를 출력할 수 있다.In operation 1411, when the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) confirms the movement of the PIP window, the second image data can be output to the PIP window displayed at the moved position.

일 실시 예에 따르면, 상기 전자 장치는, 상기 단일 좌표 정보에 대응되는 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, while outputting second image data stored in a second storage area of a first file to a PIP window displayed in a certain area of the display corresponding to the single coordinate information, if the location of the PIP window is changed by a user, the electronic device may display the PIP window in a certain area of the display corresponding to the changed location, and output the second image data stored in the second storage area of the first file to the PIP window.

일 실시 예에 따르면, 상기 전자 장치는, 상기 복수의 좌표 정보가 저장된 순서대로 상기 상기 복수의 좌표 정보에 대응되는 상기 디스플레이의 일정 영역에 PIP윈도우를 순서적으로 표시하고, 상기 PIP윈도우에 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하는 동안, 사용자에 의해 상기 PIP윈도우의 위치가 변경되면, 상기 변경된 위치에 대응되는 디스플레이의 일정 영역에 PIP윈도우를 표시하고, 상기 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 상기 제2 영상데이터를 출력할 수 있다.According to an embodiment, the electronic device sequentially displays PIP windows on a certain area of the display corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored, and displays a first PIP window in the PIP window. If the position of the PIP window is changed by the user while the second image data stored in the second storage area of the file is being output, the PIP window is displayed in a certain area of the display corresponding to the changed position, and the PIP window is displayed on the PIP window. The second image data stored in the second storage area of the first file may be output.

다양한 실시 예들에 따르면, 전자 장치에서 PIP윈도우를 제어하는 방법은, 듀얼 레코딩 촬영기능의 실행을 확인하면, 상기 전자 장치에 포함된 제1 카메라 모듈과 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 제2 파일로 저장하는 동작, 상기 제1 파일의 사용자 정보 영역에 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제2 파일의 사용자 정보 영역에 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하는 동작; 상기 제1 파일 또는 상기 제2 파일의 재생이 선택되면, 상기 제1 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보 또는 상기 제2 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보를 기반으로 상기 디스플레이에 상기 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 파일로 저장된 제2 영상데이터를 출력하는 동작, 및 상기 디스플레이에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하는 동작을 포함할 수 있다.According to various embodiments, a method for controlling a PIP window in an electronic device includes activating a first camera module and a second camera module included in the electronic device when the execution of a dual recording shooting function is confirmed, storing first image data received through the first camera module as a first file, storing the second image data received through the second camera module as a second file, storing file group information indicating that the second file and the second file are one group in a user information area of the first file, and storing file group information indicating that the file is one group with the first file in a user information area of the file; When playback of the first file or the second file is selected, outputting the first image data stored as the first file to the display based on the file group information stored in the user information area of the first file or the file group information stored in the user information area of the second file, and outputting the second image data stored as the second file to a PIP window displayed in a certain area of the display. may include an operation of outputting the second image data.

다양한 실시 예들에 따르면, 상기 제1 파일의 사용자 정보 영역은, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 상기 파일 그룹 정보 및 제1 카메라 모듈의 이용을 나타내는 카메라 정보를 포함하고, 상기 제2 파일의 사용자 정보 영역은, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 상기 파일 그룹 정보 및 제2 카메라 모듈의 이용을 나타내는 카메라 정보를 포함할 수 있다.According to various embodiments, the user information area of the first file may include image type information indicating a dual recording file, the file group information indicating a group with the second file, and camera information indicating use of a first camera module, and the user information area of the second file may include image type information indicating a dual recording file, the file group information indicating a group with the first file, and camera information indicating use of a second camera module.

다양한 실시 예들에 따르면,상기 제1 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역을 기반하여 상기 제1 파일이 듀얼 레코딩 파일임을 확인하고, 동일한 파일 그룹 정보를 가지는 상기 제2 파일을 확인하면, 상기 디스플레이에 상기 제1 파일에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 상기 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터를 출력하는 동작을 더 포함할 수 있다.According to various embodiments, the method may further include outputting the first image data stored in the first file to the display and outputting the second image data stored in the second file to the PIP window displayed in a certain area of the display, when it is determined that the first file is a dual recording file based on the user information area of the first file and the second file having the same file group information is identified, when playback of the first file is selected.

다양한 실시 예들에 따르면,상기 제2 파일의 재생이 선택되면, 상기 제2 파일의 사용자 정보 영역을 기반하여 상기 제2 파일이 듀얼 레코딩 파일임을 확인하고, 동일한 파일 그룹 정보를 가지는 상기 제1 파일을 확인하면, 상기 디스플레이에 상기 제1 파일에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 상기 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터를 출력하는 동작을더 포함할 수 있다.According to various embodiments, the method may further include outputting the first image data stored in the first file to the display and outputting the second image data stored in the second file to the PIP window displayed on a certain area of the display, if playback of the second file is selected, confirming that the second file is a dual recording file based on a user information area of the second file, and confirming the first file having the same file group information.

다양한 실시 예들에 따르면, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역 또는 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 디폴트로 설정된 상기 디스플레이의 일정 영역에 상기 PIP윈도우를 표시하는 동작을 더 포함할 수 있다.According to various embodiments, when playback of the first file or the second file is selected, if it is confirmed that the user information area of the first file or the user information area of the second file does not include the location information of the PIP window, the method may further include displaying the PIP window in a predetermined area of the display set as default.

다양한 실시 예들에 따르면,상기 듀얼 레코딩 촬영 기능의 실행을 확인하면, 상기 디스플레이에 상기 제1 카메라 모듈을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 출력하면서 상기 듀얼 레코딩 촬영 기능을 실행하는 동작, 및 상기 듀얼 레코딩 촬영 기능의 종료에 따라 상기 제2 영상 데이터를 상기 제2 파일로 저장할 때,상기 듀얼 레코딩의 촬영 기능을 실행하는 동안 위치가 변경된 PIP윈도우의 좌표 정보를 PIP 윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 포함하는 동작을 더 포함할 수 있다.According to various embodiments, when the execution of the dual recording shooting function is confirmed, the operation of outputting the first image data received through the first camera module to the display and executing the dual recording shooting function while outputting the second image data received through the second camera module to a PIP window displayed on a certain area of the display, and storing the second image data as the second file according to the termination of the dual recording shooting function, the PIP window whose location is changed while the dual recording shooting function is executed An operation of including coordinate information of in the user information area of the second file as location information of the PIP window may be further included.

다양한 실시 예들에 따르면, 상기 듀얼 레코딩 촬영 기능의 실행에 따라, 상기 디스플레이에 상기 제1 카메라 모듈을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 출력하는 동안, 상기 제1 영상데이터에 포함된 복수의 프레임들 중 적어도 하나의 프레임을 중요 영역과 비중요 영역으로 구분하고, 적어도 하나의 프레임에 대응되는 적어도 하나의 비중요 영역의 좌표 정보를 검출하는 동작, 및 상기 제2 영상 데이터를 상기 제2 파일로 저장할 때, 적어도 하나의 비중요 영역의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 포함하는 동작을 더 포함할 수 있다.According to various embodiments, while outputting the first image data received through the first camera module to the display and outputting second image data received through the second camera module to a PIP window displayed on a certain region of the display according to execution of the dual recording shooting function, dividing at least one frame among a plurality of frames included in the first image data into an important region and a non-important region, and detecting coordinate information of at least one non-important region corresponding to the at least one frame; and When the 2 image data is stored in the second file, an operation of including coordinate information of at least one non-important region in the user information area of the second file as location information of the PIP window may be further included.

다양한 실시 예들에 따르면, 상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 또는 상기 제2 파일의 사용자 정보에 단일 좌표 정보를 가지는 PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 PIP 윈도우의 위치 정보에 대응되는 상기 디스플레이의 일정 영역에 상기 PIP윈도우를 표시하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when the reproduction of the first file or the second file is selected, if it is confirmed that the user information of the first file or the user information of the second file includes the location information of the PIP window having single coordinate information, the method may further include displaying the PIP window in a certain area of the display corresponding to the location information of the PIP window.

다양한 실시 예들에 따르면,상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 또는 상기 제2 파일의 사용자 정보에 복수의 좌표 정보를 가지는PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 복수의 좌표 정보가 저장된 순서대로 상기 복수의 좌표 정보에 대응되는 상기 디스플레이의 복수의 일정 영역들에 상기 PIP윈도우를 순서적으로 표시하는 동작을 더 포함할 수 있다.According to various embodiments, when reproduction of the first file or the second file is selected, if it is confirmed that the user information of the first file or the user information of the second file includes location information of a PIP window having a plurality of coordinate information, the method may further include sequentially displaying the PIP window on a plurality of predetermined regions of the display corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored.

다양한 실시 예들에 따르면, 상기 듀얼 레코딩 촬영기능의 실행을 확인하면 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일의 제1 저장 영역에 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 상기 제1 파일의 제2 저장 영역에 저장하는 동작, 상기 제1 파일의 재생이 선택되면, 상기 디스플레이에 상기 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하는 동작, 및 상기 디스플레이에서 상기 PIP윈도우에 대한 이동이 확인되면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하는 동작을 더 포함할 수 있다.According to various embodiments, when the execution of the dual recording shooting function is confirmed, the first camera module and the second camera module are activated, the first image data received through the first camera module is stored in a first storage area of a first file, and the second image data received through the second camera module is stored in a second storage area of the first file. When playback of the first file is selected, the first image data stored in the first storage area of the first file is output to the display, The method may further include outputting the second image data stored in the second storage area of the first file to the PIP window displayed in the area, and outputting the second image data to the PIP window displayed at the moved position when the movement of the PIP window is confirmed on the display.

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

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

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

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

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

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

Claims (20)

전자 장치에 있어서,
제1 카메라 모듈;
제2카메라 모듈;
디스플레이; 및
프로세서를 포함하고, 상기 프로세서는,
듀얼 레코딩 촬영기능의 실행을 확인하면, 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 제2 파일로 저장하고,
상기 제1 파일의 사용자 정보 영역에 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제2 파일의 사용자 정보 영역에 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고,
상기 제1 파일 또는 상기 제2 파일의 재생이 선택되면, 상기 제1 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보 또는 상기 제2 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보를 기반으로 상기 디스플레이에 상기 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 파일로 저장된 제2 영상데이터를 출력하고,
상기 디스플레이에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하도록 설정된 전자 장치.
In electronic devices,
a first camera module;
a second camera module;
display; and
It includes a processor, the processor comprising:
When the execution of the dual recording shooting function is confirmed, the first camera module and the second camera module are activated, the first image data received through the first camera module is stored as a first file, and the second image data received through the second camera module is stored as a second file,
storing file group information indicating that the first file is one group with the second file in a user information area of the first file, and storing file group information indicating that the first file is one group with the first file in a user information area of the second file;
When playback of the first file or the second file is selected, outputting the first image data stored as the first file to the display based on the file group information stored in the user information area of the first file or the file group information stored in the user information area of the second file, and outputting the second image data stored as the second file to a PIP window displayed in a certain area of the display;
The electronic device configured to output the second image data to the PIP window displayed at the moved position when the display confirms the movement of the PIP window.
제1 항에 있어서,
상기 제1 파일의 사용자 정보 영역은, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 상기 파일 그룹 정보 및 제1 카메라 모듈의 이용을 나타내는 카메라 정보를 포함하고,
상기 제2 파일의 사용자 정보 영역은, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 상기 파일 그룹 정보 및 제2 카메라 모듈의 이용을 나타내는 카메라 정보를 포함하는 전자 장치.
According to claim 1,
The user information area of the first file includes video type information indicating a dual recording file, file group information indicating that the second file is one group, and camera information indicating use of a first camera module,
The user information area of the second file includes video type information indicating a dual recording file, file group information indicating that the file is one group with the first file, and camera information indicating use of a second camera module.
제1 항에 있어서, 상기 프로세서는,
상기 제1 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역을 기반하여 상기 제1 파일이 듀얼 레코딩 파일임을 확인하고, 동일한 파일 그룹 정보를 가지는 상기 제2 파일을 확인하면, 상기 디스플레이에 상기 제1 파일에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 상기 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터를 출력하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
When playback of the first file is selected, the electronic device configured to output the first image data stored in the first file to the display and output the second image data stored in the second file to the PIP window displayed on a certain area of the display, when it is confirmed that the first file is a dual recording file based on the user information area of the first file and the second file having the same file group information is identified.
제1 항에 있어서, 상기 프로세서는,
상기 제2 파일의 재생이 선택되면, 상기 제2 파일의 사용자 정보 영역을 기반하여 상기 제2 파일이 듀얼 레코딩 파일임을 확인하고, 동일한 파일 그룹 정보를 가지는 상기 제1 파일을 확인하면, 상기 디스플레이에 상기 제1 파일에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 상기 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터를 출력하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
When playback of the second file is selected, it is determined that the second file is a dual recording file based on the user information area of the second file, and when the first file having the same file group information is identified, the electronic device configured to output the first image data stored in the first file to the display, and output the second image data stored in the second file to the PIP window displayed in a certain area of the display.
제1 항에 있어서, 상기 프로세서는,
상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역 또는 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 디폴트로 설정된 상기 디스플레이의 일정 영역에 상기 PIP윈도우를 표시하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
When playback of the first file or the second file is selected, if it is confirmed that the user information area of the first file or the user information area of the second file does not include the location information of the PIP window, the electronic device configured to display the PIP window in a predetermined area of the display set as default.
제1 항에 있어서, 상기 프로세서는,
상기 듀얼 레코딩 촬영 기능의 실행을 확인하면, 상기 디스플레이에 상기 제1 카메라 모듈을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 출력하면서 상기 듀얼 레코딩 촬영 기능을 실행하고,
상기 듀얼 레코딩 촬영 기능의 종료에 따라 상기 제2 영상 데이터를 상기 제2 파일로 저장할 때,상기 듀얼 레코딩의 촬영 기능을 실행하는 동안 위치가 변경된 PIP윈도우의 좌표 정보를 PIP 윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 포함하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
When the execution of the dual recording shooting function is confirmed, the first image data received through the first camera module is output to the display, and the dual recording shooting function is executed while outputting second image data received through the second camera module to a PIP window displayed in a certain area of the display,
When the second image data is stored in the second file upon completion of the dual recording shooting function, the coordinate information of the PIP window whose position is changed while the dual recording shooting function is executed is the location information of the PIP window. An electronic device configured to include in the user information area of the second file.
제1 항에 있어서, 상기 프로세서는,
상기 듀얼 레코딩 촬영 기능의 실행에 따라, 상기 디스플레이에 상기 제1 카메라 모듈을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 출력하는 동안, 상기 제1 영상데이터에 포함된 복수의 프레임들 중 적어도 하나의 프레임을 중요 영역과 비중요 영역으로 구분하고, 적어도 하나의 프레임에 대응되는 적어도 하나의 비중요 영역의 좌표 정보를 검출하고,
상기 제2 영상 데이터를 상기 제2 파일로 저장할 때, 적어도 하나의 비중요 영역의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 포함하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
While outputting the first image data received through the first camera module to the display and outputting second image data received through the second camera module to a PIP window displayed on a certain area of the display according to execution of the dual recording shooting function, dividing at least one frame among a plurality of frames included in the first image data into an important region and a non-important region, and detecting coordinate information of at least one non-important region corresponding to the at least one frame;
The electronic device configured to include coordinate information of at least one non-important region in the user information area of the second file as location information of the PIP window when the second image data is stored in the second file.
제1 항에 있어서, 상기 프로세서는,
상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 또는 상기 제2 파일의 사용자 정보에 단일 좌표 정보를 가지는 PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 PIP 윈도우의 위치 정보에 대응되는 상기 디스플레이의 일정 영역에 상기 PIP윈도우를 표시하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
When the reproduction of the first file or the second file is selected, if it is confirmed that the user information of the first file or the user information of the second file includes the location information of the PIP window having single coordinate information, An electronic device configured to display the PIP window in a certain area of the display corresponding to the location information of the PIP window.
제1 항에 있어서, 상기 프로세서는,
상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 또는 상기 제2 파일의 사용자 정보에 복수의 좌표 정보를 가지는PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 복수의 좌표 정보가 저장된 순서대로 상기 복수의 좌표 정보에 대응되는 상기 디스플레이의 복수의 일정 영역들에 상기 PIP윈도우를 순서적으로 표시하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
When playback of the first file or the second file is selected, if it is confirmed that the user information of the first file or the user information of the second file includes location information of a PIP window having a plurality of coordinate information, the electronic device is configured to sequentially display the PIP window on a plurality of predetermined regions of the display corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored.
제1 항에 있어서, 상기 프로세서는,
상기 듀얼 레코딩 촬영기능의 실행을 확인하면 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일의 제1 저장 영역에 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 상기 제1 파일의 제2 저장 영역에 저장하고,
상기 제1 파일의 재생이 선택되면, 상기 디스플레이에 상기 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하고,
상기 디스플레이에서 상기 PIP윈도우에 대한 이동이 확인되면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
When the execution of the dual recording shooting function is confirmed, the first camera module and the second camera module are activated, the first image data received through the first camera module is stored in a first storage area of a first file, and the second image data received through the second camera module is stored in a second storage area of the first file;
When playback of the first file is selected, the first image data stored in the first storage area of the first file is output to the display, and the second image data stored in the second storage area of the first file is output to a PIP window displayed on a certain area of the display,
The electronic device configured to output the second image data to the PIP window displayed at the moved position when the display confirms the movement of the PIP window.
전자 장치에서 PIP윈도우를 제어하는 방법에 있어서,
듀얼 레코딩 촬영기능의 실행을 확인하면, 상기 전자 장치에 포함된 제1 카메라 모듈과 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일로 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 제2 파일로 저장하는 동작;
상기 제1 파일의 사용자 정보 영역에 상기 제2 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하고, 상기 제2 파일의 사용자 정보 영역에 상기 제1 파일과 하나의 그룹임을 나타내는 파일 그룹 정보를 저장하는 동작;
상기 제1 파일 또는 상기 제2 파일의 재생이 선택되면, 상기 제1 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보 또는 상기 제2 파일의 사용자 정보 영역에 저장된 상기 파일 그룹 정보를 기반으로 상기 디스플레이에 상기 제1 파일로 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 파일로 저장된 제2 영상데이터를 출력하는 동작; 및
상기 디스플레이에서 상기 PIP윈도우에 대한 이동을 확인하면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하는 동작을 포함하는 방법.
A method for controlling a PIP window in an electronic device,
When the execution of the dual recording shooting function is confirmed, activating the first camera module and the second camera module included in the electronic device, storing the first image data received through the first camera module as a first file, and storing the second image data received through the second camera module as a second file;
storing file group information indicating that the first file is one group with the second file in a user information area of the first file, and storing file group information indicating that the second file is one group with the first file in a user information area of the second file;
when playback of the first file or the second file is selected, outputting the first image data stored as the first file to the display based on the file group information stored in the user information area of the first file or the file group information stored in the user information area of the second file, and outputting the second image data stored as the second file to a PIP window displayed in a certain area of the display; and
and outputting the second image data to the PIP window displayed at the moved position when the display confirms the movement of the PIP window.
제11 항에 있어서,
상기 제1 파일의 사용자 정보 영역은, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제2 파일과 하나의 그룹임을 나타내는 상기 파일 그룹 정보 및 제1 카메라 모듈의 이용을 나타내는 카메라 정보를 포함하고,
상기 제2 파일의 사용자 정보 영역은, 듀얼 레코딩 파일을 나타내는 영상 타입 정보, 상기 제1 파일과 하나의 그룹임을 나타내는 상기 파일 그룹 정보 및 제2 카메라 모듈의 이용을 나타내는 카메라 정보를 포함하는 방법.
According to claim 11,
The user information area of the first file includes video type information indicating a dual recording file, file group information indicating that the second file is one group, and camera information indicating use of a first camera module,
The user information area of the second file includes video type information indicating a dual recording file, the file group information indicating that the file is one group with the first file, and camera information indicating use of a second camera module.
제11 항에 있어서,
상기 제1 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역을 기반하여 상기 제1 파일이 듀얼 레코딩 파일임을 확인하고, 동일한 파일 그룹 정보를 가지는 상기 제2 파일을 확인하면, 상기 디스플레이에 상기 제1 파일에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 상기 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터를 출력하는 동작을 더 포함하는 방법.
According to claim 11,
When playback of the first file is selected, if it is confirmed that the first file is a dual recording file based on a user information area of the first file and the second file having the same file group information is identified, outputting the first image data stored in the first file to the display and outputting the second image data stored in the second file to the PIP window displayed on a certain area of the display.
제11 항에 있어서,
상기 제2 파일의 재생이 선택되면, 상기 제2 파일의 사용자 정보 영역을 기반하여 상기 제2 파일이 듀얼 레코딩 파일임을 확인하고, 동일한 파일 그룹 정보를 가지는 상기 제1 파일을 확인하면, 상기 디스플레이에 상기 제1 파일에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 상기 PIP윈도우에 상기 제2 파일에 저장된 제2 영상데이터를 출력하는 동작을 더 포함하는 방법.
According to claim 11,
If playback of the second file is selected, it is confirmed that the second file is a dual recording file based on a user information area of the second file, and if the first file having the same file group information is identified, outputting the first image data stored in the first file to the display, and outputting the second image data stored in the second file to the PIP window displayed on a certain area of the display.
제11 항에 있어서,
상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 영역 또는 상기 제2 파일의 사용자 정보 영역에 PIP윈도우의 위치 정보가 포함되어 있지 않음을 확인하면, 디폴트로 설정된 상기 디스플레이의 일정 영역에 상기 PIP윈도우를 표시하는 동작을 더 포함하는 방법.
According to claim 11,
The method further comprising displaying the PIP window in a predetermined area of the display set as default when it is confirmed that the user information area of the first file or the user information area of the second file does not include location information of the PIP window when playback of the first file or the second file is selected.
제11 항에 있어서,
상기 듀얼 레코딩 촬영 기능의 실행을 확인하면, 상기 디스플레이에 상기 제1 카메라 모듈을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 출력하면서 상기 듀얼 레코딩 촬영 기능을 실행하는 동작; 및
상기 듀얼 레코딩 촬영 기능의 종료에 따라 상기 제2 영상 데이터를 상기 제2 파일로 저장할 때,상기 듀얼 레코딩의 촬영 기능을 실행하는 동안 위치가 변경된 PIP윈도우의 좌표 정보를 PIP 윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 포함하는 동작을 더 포함하는 방법.
According to claim 11,
When the execution of the dual recording shooting function is confirmed, outputting the first image data received through the first camera module to the display and executing the dual recording shooting function while outputting second image data received through the second camera module to a PIP window displayed on a certain area of the display; and
When the second image data is stored in the second file upon completion of the dual recording shooting function, the coordinate information of the PIP window whose position is changed while the dual recording shooting function is executed is included as location information of the PIP window in a user information area of the second file.
제11 항에 있어서,
상기 듀얼 레코딩 촬영 기능의 실행에 따라, 상기 디스플레이에 상기 제1 카메라 모듈을 통해 수신되는 상기 제1 영상 데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 출력하는 동안, 상기 제1 영상데이터에 포함된 복수의 프레임들 중 적어도 하나의 프레임을 중요 영역과 비중요 영역으로 구분하고, 적어도 하나의 프레임에 대응되는 적어도 하나의 비중요 영역의 좌표 정보를 검출하는 동작; 및
상기 제2 영상 데이터를 상기 제2 파일로 저장할 때, 적어도 하나의 비중요 영역의 좌표 정보를 PIP윈도우의 위치 정보로 상기 제2 파일의 사용자 정보 영역에 포함하는 동작을 더 포함하는 방법.
According to claim 11,
classifying at least one of a plurality of frames included in the first image data into an important region and a non-important region, and detecting coordinate information of at least one non-important region corresponding to the at least one frame, while outputting the first image data received through the first camera module to the display and outputting second image data received through the second camera module to a PIP window displayed on a certain region of the display according to execution of the dual recording shooting function; and
When the second image data is stored in the second file, the method further comprises an operation of including coordinate information of at least one non-important region in a user information area of the second file as location information of the PIP window.
제11 항에 있어서,
상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 또는 상기 제2 파일의 사용자 정보에 단일 좌표 정보를 가지는 PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 PIP 윈도우의 위치 정보에 대응되는 상기 디스플레이의 일정 영역에 상기 PIP윈도우를 표시하는 동작을 더 포함하는 방법.
According to claim 11,
When the reproduction of the first file or the second file is selected, if it is confirmed that the user information of the first file or the user information of the second file includes the location information of the PIP window having single coordinate information, the method further comprising displaying the PIP window in a certain area of the display corresponding to the location information of the PIP window.
제11 항에 있어서,
상기 제1 파일 또는 상기 제2 파일의 재생이 선택될 때, 상기 제1 파일의 사용자 정보 또는 상기 제2 파일의 사용자 정보에 복수의 좌표 정보를 가지는PIP윈도우의 위치 정보가 포함되어 있음을 확인하면, 상기 복수의 좌표 정보가 저장된 순서대로 상기 복수의 좌표 정보에 대응되는 상기 디스플레이의 복수의 일정 영역들에 상기 PIP윈도우를 순서적으로 표시하는 동작을 더 포함하는 방법.
According to claim 11,
When the reproduction of the first file or the second file is selected, if it is confirmed that the user information of the first file or the user information of the second file includes the location information of the PIP window having a plurality of coordinate information, the method further comprises sequentially displaying the PIP window on a plurality of predetermined regions of the display corresponding to the plurality of coordinate information in the order in which the plurality of coordinate information is stored.
제11 항에 있어서,
상기 듀얼 레코딩 촬영기능의 실행을 확인하면 상기 제1 카메라 모듈과 상기 제2 카메라 모듈을 활성화시키고, 상기 제1 카메라 모듈을 통해 수신되는 제1 영상 데이터를 제1 파일의 제1 저장 영역에 저장하고, 상기 제2 카메라 모듈을 통해 수신되는 제2 영상 데이터를 상기 제1 파일의 제2 저장 영역에 저장하는 동작;
상기 제1 파일의 재생이 선택되면, 상기 디스플레이에 상기 제1 파일의 제1 저장 영역에 저장된 제1 영상데이터를 출력하고, 상기 디스플레이의 일정 영역에 표시되는 PIP윈도우에 상기 제1 파일의 제2 저장 영역에 저장된 제2 영상데이터를 출력하는 동작; 및
상기 디스플레이에서 상기 PIP윈도우에 대한 이동이 확인되면, 상기 이동된 위치에서 표시되는 상기 PIP윈도우에 상기 제2 영상데이터를 출력하는 동작을 더 포함하는 방법.
According to claim 11,
activating the first camera module and the second camera module when the execution of the dual recording shooting function is confirmed, storing first image data received through the first camera module in a first storage area of a first file, and storing second image data received through the second camera module in a second storage area of the first file;
When playback of the first file is selected, outputting the first image data stored in the first storage area of the first file to the display, and outputting second image data stored in the second storage area of the first file to a PIP window displayed on a certain area of the display; and
and outputting the second image data to the PIP window displayed at the moved position when the movement of the PIP window is confirmed on the display.
KR1020220008405A 2022-01-20 2022-01-20 Electronic device method for controlling picture in picture window in the electronic device KR20230112303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220008405A KR20230112303A (en) 2022-01-20 2022-01-20 Electronic device method for controlling picture in picture window in the electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220008405A KR20230112303A (en) 2022-01-20 2022-01-20 Electronic device method for controlling picture in picture window in the electronic device

Publications (1)

Publication Number Publication Date
KR20230112303A true KR20230112303A (en) 2023-07-27

Family

ID=87433266

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220008405A KR20230112303A (en) 2022-01-20 2022-01-20 Electronic device method for controlling picture in picture window in the electronic device

Country Status (1)

Country Link
KR (1) KR20230112303A (en)

Similar Documents

Publication Publication Date Title
KR102289369B1 (en) Electronic device and method for displaying images on a flexible display
US20220345638A1 (en) Electronic device and method for controlling screen thereof
KR20220125648A (en) Apparatus and method for generating image
KR20230112303A (en) Electronic device method for controlling picture in picture window in the electronic device
KR20210155961A (en) Electronic device and operation method thereof
KR20220090716A (en) Electronic device, and method for grouping external devices by space in electronic device
US20230236696A1 (en) Electronic device, and method for displaying content in electronic device
US20240160335A1 (en) Electronic device including flexible display and method for operating same
US20240069601A1 (en) Method for displaying background image through flexible display, and electronic device therefor
EP4369693A1 (en) Method and apparatus for controlling multiple devices
US20230247249A1 (en) Method of controlling display module and electronic device performing the method
US20240038112A1 (en) Electronic device and method for displaying screen through flexible display
US20220095297A1 (en) Electronic device for direct communication with external electronic device and operating method thereof
US20230308880A1 (en) Electronic device and method for operating electronic device
KR20220073136A (en) Electronic device for setting background image and operating method thereof
KR20240025426A (en) Electronic device and method for updating database based on reserve space
KR20240030844A (en) Electronic device and method for magnifying continuous image in the electronic device
KR20240069552A (en) Electronic device for displaying virtual object and method for controlling the same
KR20230116334A (en) Method for providing screen and electronic device supporting the same
KR20240050951A (en) Electronic device and method of operation thereof
KR20230154724A (en) Split screenshot creation method and electronic device thereof
KR20240056364A (en) Electronic device and mehtod controlling foldable display
KR20240039549A (en) Electronic device and method for excluding broken area of display
KR20230022772A (en) Electronic device for changing screen based on swipe input and method of opearating the same
KR20240037785A (en) Electronic device including touchscreen and method for controlling thereof