[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2023038252A1 - 동영상을 촬영하는 전자 장치 및 그 동작 방법 - Google Patents

동영상을 촬영하는 전자 장치 및 그 동작 방법 Download PDF

Info

Publication number
WO2023038252A1
WO2023038252A1 PCT/KR2022/009373 KR2022009373W WO2023038252A1 WO 2023038252 A1 WO2023038252 A1 WO 2023038252A1 KR 2022009373 W KR2022009373 W KR 2022009373W WO 2023038252 A1 WO2023038252 A1 WO 2023038252A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio data
data
electronic device
processor
reference data
Prior art date
Application number
PCT/KR2022/009373
Other languages
English (en)
French (fr)
Inventor
최준수
한의범
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2023038252A1 publication Critical patent/WO2023038252A1/ko
Priority to US18/599,972 priority Critical patent/US20240214533A1/en

Links

Images

Classifications

    • 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
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • 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
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/802Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving processing of the sound signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/87Regeneration of colour television signals
    • H04N9/89Time-base error compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones

Definitions

  • Various embodiments of the present disclosure relate to a technique for generating a video file including audio acquired through an external device.
  • the mobile device may perform various video capturing functions.
  • Bluetooth earphones can be referred to as Bluetooth earphones, unlike existing wired earphones, provide activity and convenience to users, and recently, the number of users using Bluetooth earphones is increasing.
  • the Bluetooth earphone not only outputs audio received through wireless communication, but also obtains audio data using a microphone included in the Bluetooth earphone.
  • audio data recorded by the Bluetooth earphone is transmitted to an electronic device (eg, a mobile device) through Bluetooth communication, the electronic device may receive the audio data.
  • an electronic device when an electronic device captures a video using a camera and records audio through a microphone of an external electronic device, a problem in that the video and the audio are not synchronized in time may occur.
  • audio data is transferred from an external electronic device to the electronic device
  • the delayed audio data is transferred due to delay due to sharing of the wireless communication path, interference, or retransmission due to data reception failure, so the electronic device synchronizes with the video data in time. It is possible to receive audio data that has not been received. Therefore, when an electronic device performs video rendering by mixing video and audio obtained at different times, an unnatural video file may be generated.
  • video and audio are not synchronized, a user may have a problem in obtaining a video file in which video and audio are not synchronized.
  • a video file in which video data and audio data are synchronized may be created.
  • An electronic device includes a camera, a microphone, a wireless communication circuit for transmitting and receiving data to and from an external electronic device, and at least one electrically connected to the camera, the microphone, and the wireless communication circuit.
  • may include a processor of The at least one processor obtains first video data using the camera, obtains first reference data according to a first schedule during a first time period using the microphone, and obtains the first reference data from the external electronic device.
  • first audio data corresponding to one video data is received through the wireless communication circuit, and the first schedule is changed to a second schedule based on a comparison result between a part of the first audio data and the first reference data; , Obtaining second reference data according to the second schedule during a second time interval following the first time interval using the microphone, and correcting a delay of the first audio data based on the second reference data. and generate a video file based on the first video data and the corrected first audio data.
  • An operating method of an electronic device includes obtaining first video data using a camera included in the electronic device and performing video recording during a first time interval using a microphone included in the electronic device.
  • An electronic device includes a wireless communication circuit for transmitting and receiving data to and from an external electronic device including a camera, a microphone, a first external microphone, and a second external microphone, and the camera, the microphone, and the wireless communication circuit. It may include at least one processor electrically connected to the communication circuitry. The at least one processor obtains first video data using the camera, obtains first reference data according to a first schedule during a first time period using the microphone, and the external electronic device obtains the first video data.
  • Audio data corresponds to the first video data, based on at least one of a comparison result between a part of the first audio data and the first reference data or a comparison result between a part of the second audio data and the first reference data
  • the first schedule is changed to the second schedule
  • second reference data is obtained according to the second schedule during a second time interval following the first time interval using the microphone
  • the first audio data and, based on a comparison result between each of the second audio data and the second reference data, selecting one of the first audio data and the second audio data that satisfies a specified condition, and selecting the second reference data.
  • a delay of the selected audio data may be corrected based on data, and a video file may be generated based on the first video data and the corrected audio data.
  • a video file when a video file is generated using video data captured by an electronic device and audio data recorded by an external electronic device, the electronic device based on video data and audio data synchronized in time with each other. It is possible to obtain a video file to be.
  • the electronic device may obtain a video file including stereo audio data using audio data obtained from a pair of Bluetooth earphones.
  • a user can feel a sense of realism or liveliness through a video file including stereo audio data.
  • the electronic device when synchronizing video data and audio data, may adaptively correct a delay of audio data to a surrounding environment.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
  • FIG. 2 is a block diagram illustrating a camera module according to various embodiments.
  • FIG. 3 is a block diagram illustrating a configuration for an electronic device to generate a video file according to an exemplary embodiment.
  • FIG 4 illustrates an example of an external electronic device according to an embodiment.
  • FIG. 5 is a block diagram illustrating a configuration of an external electronic device according to an exemplary embodiment.
  • FIG 6 illustrates an example in which an electronic device acquires audio data from an external electronic device according to an embodiment.
  • FIG. 7A illustrates an example in which an electronic device corrects a delay of audio data acquired from an external electronic device according to an embodiment.
  • FIG. 7B is a flowchart illustrating an operation of generating a video file based on first audio data acquired from an external electronic device by an electronic device according to an embodiment.
  • FIG. 8 illustrates an example in which an electronic device analyzes a correlation between reference data and audio data according to an embodiment.
  • 9A illustrates an example of changing a schedule for obtaining reference data by an electronic device according to an embodiment.
  • 9B illustrates an example in which an electronic device changes a first schedule into a second schedule based on a part of first audio data and first reference data according to an embodiment.
  • 9C is a flowchart illustrating an operation of generating a video file based on first audio data acquired from an external electronic device by an electronic device according to an embodiment.
  • FIG. 10 illustrates an example in which an electronic device applies a noise filter to reference data and audio data according to an embodiment.
  • FIG. 11 illustrates an example of a case where an external electronic device includes a plurality of external microphones according to an embodiment.
  • FIG. 12A illustrates an example in which an electronic device generates a video file by selectively using audio data according to an embodiment.
  • FIG. 12B illustrates an example of a user interface (UI) displayed on a display by an electronic device according to an embodiment.
  • UI user interface
  • FIG. 1 is a block diagram of an electronic device 101 within a network environment 100 according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • the server 108 e.g, a long-distance wireless communication network
  • 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.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added.
  • some of these components eg, sensor module 176, camera module 180, or antenna module 197) are integrated into one component (eg, display module 160). It can be.
  • the processor 120 for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers commands or data received from other components (eg, sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 transfers commands or data received from other components (eg, sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • 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 graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor.
  • NPU neural network processing unit
  • the secondary processor 123 may be implemented separately from or as part of the main processor 121 .
  • the secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, an image signal processor or a communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
  • 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 .
  • 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 .
  • 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).
  • 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.
  • 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.
  • the display module 160 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 may convert sound into an electrical signal or vice versa. According to an embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • 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).
  • 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.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • 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).
  • 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).
  • 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.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • 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.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module).
  • 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
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : a local area network (LAN) communication module or a power line communication module.
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips).
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low latency
  • -latency communications can be supported.
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • the wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199).
  • the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.
  • eMBB peak data rate for eMBB realization
  • a loss coverage for mMTC realization eg, 164 dB or less
  • U-plane latency for URLLC realization eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less
  • the antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • 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).
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • 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.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • 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 .
  • 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 .
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself.
  • one or more external electronic devices may be requested to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 .
  • the electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed.
  • 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.
  • 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 an embodiment, the external electronic device 104 or server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • Electronic devices 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.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeably interchangeable with terms such as, for example, logic, logic blocks, components, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 136 or external memory 138
  • a machine eg, electronic device 101
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • 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.
  • the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • the method according to various embodiments disclosed in this document may be included and provided in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • a device e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play Store TM
  • It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • at least part of the computer program product may be temporarily stored or temporarily created in a storage medium readable by a device such as a manufacturer's server, an application store server, or a relay server's memory.
  • each component (eg, module or program) of the components described above may include a single object or a plurality of objects, and some of the multiple objects may be separately disposed in other components.
  • one or more components or operations among the aforementioned components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg modules or programs
  • 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. .
  • operations performed by modules, programs, or other components are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.
  • the camera module 180 includes a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, a memory 250 (eg, a buffer memory), or an image signal processor. (260).
  • the lens assembly 210 may collect light emitted from a subject that is an image capturing target.
  • the lens assembly 210 may include one or more lenses.
  • the camera module 180 may include a plurality of lens assemblies 210 . In this case, the camera module 180 may form, for example, a dual camera, a 360-degree camera, or a spherical camera.
  • Some of the plurality of lens assemblies 210 may have the same lens properties (eg, angle of view, focal length, auto focus, f number, or optical zoom), or at least one lens assembly may have the same lens properties as other lens assemblies. may have one or more lens properties different from the lens properties of .
  • the lens assembly 210 may include, for example, a wide-angle lens or a telephoto lens.
  • the flash 220 may emit light used to enhance light emitted or reflected from a subject.
  • the flash 220 may include one or more light emitting diodes (eg, a red-green-blue (RGB) LED, a white LED, an infrared LED, or an ultraviolet LED), or a xenon lamp.
  • the image sensor 230 may acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly 210 into an electrical signal.
  • the image sensor 230 is, for example, an image sensor selected from among image sensors having different properties, such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor, It may include a plurality of image sensors having a property, or a plurality of image sensors having other properties.
  • Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
  • CCD charged coupled device
  • CMOS complementary metal oxide semiconductor
  • the image stabilizer 240 moves at least one lens or image sensor 230 included in the lens assembly 210 in a specific direction in response to movement of the camera module 180 or the electronic device 101 including the same. Operation characteristics of the image sensor 230 may be controlled (eg, read-out timing is adjusted, etc.). This makes it possible to compensate at least part of the negative effect of the movement on the image being taken.
  • the image stabilizer 240 may include a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. Such a movement of the camera module 180 or the electronic device 101 may be detected using .
  • the image stabilizer 240 may be implemented as, for example, an optical image stabilizer.
  • the memory 250 may at least temporarily store at least a portion of an image acquired through the image sensor 230 for a next image processing task. For example, when image acquisition is delayed according to the shutter, or a plurality of images are acquired at high speed, the acquired original image (eg, a Bayer-patterned image or a high-resolution image) is stored in the memory 250 and , a copy image (eg, a low resolution image) corresponding thereto may be previewed through the display module 160 . Thereafter, when a specified condition is satisfied (eg, a user input or a system command), at least a part of the original image stored in the memory 250 may be obtained and processed by the image signal processor 260 , for example. According to one embodiment, the memory 250 may be configured as at least a part of the memory 130 or as a separate memory operated independently of the memory 130 .
  • the image signal processor 260 may perform one or more image processes on an image acquired through the image sensor 230 or an image stored in the memory 250 .
  • the one or more image processes for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (eg, noise reduction, resolution adjustment, brightness adjustment, blurring ( blurring, sharpening, or softening.
  • the image signal processor 260 may include at least one of the components included in the camera module 180 (eg, an image sensor). 230) may be controlled (eg, exposure time control, read-out timing control, etc.)
  • the image processed by the image signal processor 260 is stored again in the memory 250 for further processing.
  • the image signal processor 260 may be configured as at least a part of the processor 120 or may be configured as a separate processor that operates independently of the processor 120.
  • the image signal processor 260 may be configured as a processor 120 When configured as a separate processor, at least one image processed by the image signal processor 260 may be displayed through the display module 160 as it is or after additional image processing by the processor 120 .
  • the electronic device 101 may include a plurality of camera modules 180 each having different properties or functions.
  • at least one of the plurality of camera modules 180 may be a wide-angle camera, and at least the other may be a telephoto camera.
  • at least one of the plurality of camera modules 180 may be a front camera, and at least another one may be a rear camera.
  • FIG. 3 is a block diagram illustrating a configuration for generating a video file by the electronic device 300 according to an exemplary embodiment.
  • the electronic device 300 may include a camera 310, a microphone 320, a wireless communication circuit 330, and a processor 340.
  • the electronic device 300 of FIG. 3 may correspond to the electronic device 101 of FIG. 1 .
  • the camera 310 of FIG. 3 corresponds to the camera module 180 shown in FIGS. 1 and 2 or is included in the camera module 180 .
  • the microphone 320 of FIG. 3 is included in the input module 150 of FIG. 1 .
  • the wireless communication circuit 330 of FIG. 3 is included in the wireless communication module 192 of FIG. 1 .
  • the processor 340 of FIG. 3 may correspond to the processor 120 of FIG. 1 .
  • the camera 310 may include a lens assembly 210 and an image sensor 230 .
  • the image sensor 230 may be a complementary metal oxide semiconductor (CMOS) sensor.
  • CMOS complementary metal oxide semiconductor
  • a plurality of individual pixels are integrated in the image sensor 230, and each individual pixel may include a micro lens, a color filter, and a photodiode (PD).
  • PD photodiode
  • Each individual pixel can convert input light into an electrical signal as a kind of photodetector.
  • the image sensor 230 may amplify a current generated by light received through the lens assembly 210 through a photoelectric effect of a light receiving element.
  • the camera 310 may obtain video data.
  • the processor 340 may obtain video data including a plurality of image frames using the camera 310 .
  • the camera 310 may provide video data including the plurality of image frames to the processor 340 .
  • the image sensor 230 may continuously acquire image frames corresponding to light received through the lens assembly 210 and provide the obtained image frames to the processor 340 (or the image signal processor 260).
  • the processor 340 may obtain first video data using the camera 310 .
  • the microphone 320 may obtain audio data.
  • the processor 340 may obtain audio data through the microphone 320 .
  • the processor 340 may obtain the user's voice data and/or audio data generated from the surrounding environment through the microphone 320 .
  • the microphone 320 may include a plurality of microphones.
  • the processor 340 may obtain an audio data set through a plurality of microphones.
  • the processor 340 may obtain reference data using the microphone 320 .
  • Reference data may be understood as a reference signal that can be compared with audio data received from the external electronic device 400 .
  • reference data among audio data that can be acquired by the microphone 320, data acquired to perform an embodiment of the present disclosure may be referred to as reference data.
  • the processor 340 may obtain reference data according to a designated schedule during a designated time interval using the microphone 320 .
  • the processor 340 may obtain the first reference data according to a first schedule during a first time interval using the microphone 320, and may obtain second reference data during a second time interval subsequent to the first time interval.
  • Second reference data may be obtained according to a schedule. Reference data acquired according to a designated schedule during a designated time interval will be described later with reference to FIGS. 6 and 9A.
  • the wireless communication circuit 330 may transmit and receive data to and from the external electronic device 400 .
  • the processor 340 may receive data from the external electronic device 400 through the wireless communication circuit 330 .
  • the processor 340 may receive first audio data recorded by the external electronic device 400 through the wireless communication circuit 330 .
  • the processor 340 may transmit data to the external electronic device 400 through the wireless communication circuit 330 .
  • the processor 340 may transmit a signal to start or stop recording of the first audio data to the external electronic device 400 through the wireless communication circuit 330 .
  • the processor 340 may transmit audio to be output by the external electronic device 400 through the wireless communication circuit 330 .
  • the wireless communication circuit 330 may transmit and receive data with the external electronic device 400 through a wireless network.
  • the wireless communication circuit 330 may communicate with the external electronic device 400 through a short-range communication network (eg, Bluetooth or WiFi).
  • a short-range communication network eg, Bluetooth or WiFi.
  • the processor 340 may be understood as at least one processor.
  • the processor 340 may be understood to mean at least one processor of an application processor (AP) or a communication processor (CP).
  • AP application processor
  • CP communication processor
  • the processor 340 performs video based on video data acquired through the camera 310, reference data obtained through the microphone 320, and audio data obtained through the wireless communication circuit 330. file can be created.
  • FIG 4 illustrates an example of an external electronic device 400 according to an embodiment.
  • an electronic device 300 may communicate with an external electronic device 400 through a wireless network.
  • the processor 340 may transmit and receive data with the external electronic device 400 through the wireless communication circuit 330 .
  • the external electronic device 400 may be configured as a pair to be worn on a part of the user's body (eg, both ears).
  • the external electronic device 400 may include a first earbud 400a that can be worn on the user's left ear and a second earbud 400b that can be worn on the user's right ear.
  • the external electronic device 400 may include an external microphone.
  • an external microphone may be understood to mean a microphone included in the external electronic device 400 that is different from the microphone 320 included in the electronic device 300 .
  • the first earbud 400a may include a first external microphone 412 and the second earbud 400b may include a second external microphone 414 .
  • the first earbud 400a may obtain first audio data through the first external microphone 412
  • the second earbud 400b may obtain second audio data through the second external microphone 414. can do.
  • the first earbud 400a and the second earbud 400b may transmit first audio data and second audio data to the electronic device 300 through a wireless network, respectively.
  • the first earbud 400a can transmit/receive data with the electronic device 300 through the wireless data transmission/reception path 41
  • the second earbud 400b can transmit/receive data through the wireless data transmission/reception path 42.
  • the external electronic device 400 may transmit audio data (eg, first audio data and second audio data) acquired through the external microphones 412 and 414 to the electronic device 300
  • the electronic device 300 may receive audio data (eg, first audio data and second audio data) acquired by the external electronic device 400 through the wireless communication circuit 330 .
  • the external electronic device 400 transmits a response signal to data transmitted from the electronic device 300 to the external electronic device 400 by using the wireless data transmission/reception, or transmits a response signal to the external electronic device 400.
  • data eg, a sensor value acquired through a sensor
  • state information eg, remaining battery level
  • the external electronic device 400 may output audio while being worn on the user's body.
  • the first earbud 400a and the second earbud 400b may each receive audio from the electronic device 300 using wireless data transmission and reception, and output the received audio.
  • each of the first earbud 400a and the second earbud 400b may include a speaker, and audio received from the electronic device 300 may be output through the speaker.
  • the wireless data transmission and reception paths 41 and 42 are a path for a Bluetooth communication scheme, a path for a Bluetooth low energy communication scheme (BLE), and a wireless fidelity (Wi-Fi) It may include at least one of a path for a direct communication technique and a path for a mobile communication technique (eg, cellular communication, sidelink).
  • a Bluetooth communication technique or a BLE communication technique the external electronic device 400 and the electronic device 300 may check each other's wireless communication addresses and perform communication.
  • the external electronic device 400 may transmit and receive data with the electronic device 300 through TWS+ or audio over BLE (AoBLE) communication.
  • AoBLE audio over BLE
  • the first earbud 400a and the second earbud 400b may communicate with the electronic device 300 to transmit information.
  • the external electronic device 400 may transmit and receive data with the electronic device 300 in a sniffing method or transmit and receive data in a relay method.
  • the first earbud 400a may receive data from the second earbud 400b and transmit the data acquired by the first earbud 400a to the electronic device 300 .
  • the first earbud 400a divides the data received from the second earbud 400b and the data acquired by the first earbud 400a into time intervals and transmits the data to the electronic device 300.
  • the first earbud 400a may transmit data received from the second earbud 400b to the electronic device 300 .
  • various communication methods that can be implemented by a person skilled in the art in which the electronic device 300 and the external electronic device 400 transmit and receive data may be used.
  • the description of the external electronic device 400 in the description of FIG. 4 may be applied to the external electronic device 402 except for the number of external microphones. That is, the external electronic device 402 may include a first earbud 402a and a second earbud 402b, and the electronic device 300 may include the first earbud 402a and the second earbud 402b.
  • the first earbud 402a can transmit/receive data with the electronic device 300 through the wireless data transmission/reception path 43
  • the second earbud 402b can transmit/receive data through the wireless data transmission/reception path 44. Through this, it is possible to transmit and receive data with the electronic device 300 .
  • the description of the wireless data transmission/reception paths 41 and 42 may also be applied to the wireless data transmission/reception paths 43 and 44.
  • the external electronic device 402 may include two or more external microphones.
  • the first earbud 402a includes a first external microphone 422 and a second external microphone 423
  • the second earbud 402b includes a third external microphone 424 and a fourth external microphone 424.
  • a microphone 425 may be included.
  • the first earbud 402a may transmit first audio data acquired through the first external microphone 422 and second audio data acquired through the second external microphone 423 to the electronic device 300. there is.
  • the second earbud 402b may transmit the third audio data obtained through the third external microphone 424 and the fourth audio data acquired through the fourth external microphone 425 to the electronic device 300 . there is.
  • the electronic device 300 may receive first audio data and second audio data from the first earbud 402a and receive third audio data and fourth audio data from the second earbud 402b. there is.
  • the first earbud 402a may transmit the first audio data and the second audio data to the electronic device 300 by dividing the time period (eg, using a retransmission period).
  • the first earbud 402a operates under a specified condition (eg: Audio data that satisfies (audio data having better audio quality) may be transmitted to the electronic device 300 .
  • the first earbud 402a may merge the first audio data and the second audio data and transmit the same to the electronic device 300 .
  • Embodiments of the present disclosure may be applied to various types of external electronic devices 400 and 402 that exist.
  • embodiments are described below based on the external electronic device 400
  • embodiments applicable to the external electronic device 400 may also be applied to the external electronic device 402 .
  • FIG. 5 is a block diagram illustrating a configuration of an external electronic device 400 according to an exemplary embodiment.
  • the external electronic device 400 may include a plurality of electronic components disposed in an internal space.
  • the external electronic device 400 includes a wireless communication circuit 510, an input device 520, a sensor 530, an audio processing circuit 540, a speaker 541, an external microphone 542, and a memory. 550 , power management circuitry 560 , battery 570 , and control circuitry 580 .
  • the external electronic device 400 may refer to each of the first earbud 400a and the second earbud 400b.
  • the wireless communication circuit 510 may support various types of communication using an antenna. According to an embodiment, the wireless communication circuit 510 may support audio being received from the electronic device 300 (or server, smart phone, PC, PDA, or access point). According to an embodiment, the wireless communication circuit 510 may support transmission of audio data (eg, first audio data) to the electronic device 300 .
  • audio data eg, first audio data
  • the input device 520 may be configured to generate various input signals necessary for operating the external electronic device 400 .
  • the input device 520 may include a touch pad, a touch panel, and/or buttons.
  • the touch pad may recognize a touch input in at least one of a capacitive type, a pressure-sensitive type, an infrared type, and an ultrasonic type.
  • the button may include a physical button and/or an optical button.
  • the input device 520 may generate a user input related to turning on or off the power of the external electronic device 400 .
  • the input device 520 may generate a user input related to communication (eg, short-range communication) connection with the external electronic device 400 and the electronic device 300 .
  • the input device 520 may generate a user input related to output of audio (eg, audio content).
  • the user input may be associated with a function of starting audio playback, pausing playback, stopping playback, adjusting playback speed, adjusting playback volume, or muting audio.
  • the sensor 530 may measure physical data related to the external electronic device 400 or detect an operating state of the external electronic device 400 . Also, the sensor 530 may convert measured or sensed information into an electrical signal. According to an embodiment, the sensor 530 may include at least one of a proximity sensor, an acceleration sensor, a gyro sensor, a geomagnetic sensor, a magnetic sensor, a gesture sensor, a grip sensor, or a bio sensor. According to an embodiment, the sensor 530 may detect information or a signal about whether the external electronic device 400 is worn on the user's body.
  • the audio processing circuit 540 may include an audio decoder and a D/A converter.
  • the audio decoder can convert audio data received from the electronic device 300 and stored in the memory 550 into a digital audio signal
  • the D/A converter converts the digital audio signal converted by the audio decoder into an analog audio signal.
  • the speaker 541 may output an analog audio signal converted by the D/A converter.
  • the audio processing circuit 540 may include an A/D converter and an audio encoder.
  • the A/D converter may convert an analog audio signal acquired through the external microphone 542 into a digital audio signal
  • the audio encoder may convert the digital audio signal into audio data (eg, first audio data). .
  • the audio processing circuit 540 may be designed to be included in the control circuit 580.
  • the memory 550 may store data or application programs and algorithms corresponding to various operating systems and various user functions necessary for the operation of the external electronic device 400 .
  • Memory 550 may include high-speed random access memory and/or non-volatile memory, such as one or more magnetic disk storage devices, one or more optical storage devices, and/or flash memory (eg, NAND, NOR).
  • the memory 550 may include a non-volatile memory that stores non-volatile audio data received from the electronic device 300 .
  • the memory 550 may include a volatile memory for storing volatile audio data received from the electronic device 300 .
  • the power management circuit 560 may efficiently manage and optimize power use of the battery 570 within the external electronic device 400 .
  • the control circuit 580 may transmit a signal according to the load to be processed to the power management circuit 560.
  • the power management circuit 560 may adjust power supplied to the control circuit 580 .
  • the power management circuit 560 may include a battery charging circuit. According to an embodiment, when the external electronic device 400 is coupled to the power supply device, the power management circuit 560 may charge the battery 570 by receiving power from the power supply device. According to an embodiment, the power management circuit 560 may support power line (PLC) communication between the external electronic device 400 and the power supply device, and the external electronic device 400 supplies power through the power line (PLC) communication. It can send and receive data to and from the device.
  • PLC power line
  • the power management circuit 560 may include a wireless charging circuit.
  • the wireless charging circuit may wirelessly receive power from an external device and charge the battery 570 using the received power.
  • the wireless charging circuit may support in-band communication between the external electronic device 400 and the power supply device. For example, when using in-band communication, the external electronic device 400 and the power supply device may communicate through a wireless charging circuit using the same frequency or an adjacent frequency for power transfer. In this case, the wireless charging circuit may transmit and receive data between the external electronic device 400 and the power supply device using a frequency shift keying (FSK) modulation technique or an amplitude shift keying (ASK) modulation technique.
  • FSK frequency shift keying
  • ASK amplitude shift keying
  • control circuit 580 may be configured to collect various data and calculate a desired output value. According to an embodiment, the control circuit 580 may support various operations based on at least a portion of a user input from the input device 520 .
  • control circuit 580 may be designed to receive audio data from the electronic device 300 through the wireless communication circuit 510 and store the received audio data in the memory 550 .
  • control circuit 580 may receive non-volatile audio data (or download audio data) from the electronic device 300 and store the received non-volatile audio data in a non-volatile memory.
  • control circuit 580 may receive volatile audio data (or streaming audio data) from an external device and store the received volatile audio data in a volatile memory.
  • control circuit 580 may reproduce and output audio data (eg, non-volatile audio data or volatile audio data) stored in the memory 550 through the speaker 541 .
  • the control circuit 580 may decode the audio data to obtain an audio signal, and control the acquired audio signal to be output through the speaker 541 .
  • control circuit 580 may perform various operations based on at least a portion of information obtained from the sensor 530 .
  • the control circuit 580 may determine whether the external electronic device 400 is worn on the user's body based on information obtained from the sensor 530 .
  • control circuit 580 is an audio processing circuit to reproduce audio data related to a corresponding effect sound or guide sound in response to an alarm output request signal received from the power supply device and/or the electronic device 300 ( 540) can be controlled.
  • the control circuit 580 may obtain a signal to start or stop recording of audio data (eg, first audio data) through the wireless communication circuit 510 .
  • the control circuit 580 controls the audio processing circuit 540 to activate the external microphone 542 to record the first audio data. can do.
  • the control circuit 580 receives a signal to stop recording audio data through the wireless communication circuit 510, the audio processing circuit 540 deactivates the external microphone 542 to stop recording the first audio data. can be controlled to
  • the control circuit 580 transmits the first audio data to the electronic device 300 through the wireless communication circuit 510 while acquiring the first audio data or after acquiring the first audio data is finished. data can be transmitted.
  • the external electronic device 400 may further include various components according to its provision form. Also, in the external electronic device 400, certain components among the above-described components may be excluded or replaced with other components depending on the type of provision thereof.
  • FIG. 6 illustrates an example in which the electronic device 300 obtains audio data 610 and 620 from the external electronic device 400 according to an embodiment.
  • the electronic device 300 may perform video recording using a camera 310 .
  • the processor 340 may obtain first video data using the camera 310 .
  • the external electronic device 400 eg, the first earbud 400a, the second earbud 400b
  • the first earbud 400a may obtain first audio data 610 corresponding to the first video data
  • the second earbud 400b may obtain second audio data corresponding to the first video data.
  • Data 620 may be acquired.
  • the processor 340 receives audio data (eg, first audio data 610 and second audio data 620) corresponding to the first video data from the external electronic device 400 through the wireless communication circuit 330. can do.
  • the processor 340 may obtain first audio data 610 from the first earbud 400a and obtain second audio data 620 from the second earbud 400b.
  • the first earbud 400a may receive the second audio data 620 from the second earbud 400b
  • the processor 340 may receive the first audio data 620 from the first earbud 400a.
  • Data 610 and second audio data 620 may be received.
  • the processor 340 may obtain the first audio data 610 and the second audio data 620 through various data transmission and reception paths.
  • the processor 340 may receive delayed audio data (eg, first audio data 610 and second audio data 620) from the external electronic device 400.
  • delayed audio data eg, first audio data 610 and second audio data 620
  • the wireless communication circuit 330 receives audio data through a wireless data transmission/reception path
  • a delay or Interference may occur or delay due to retransmission due to data reception failure may occur.
  • the first audio data 610 (or the second audio data 620) received by the processor 340 may be out of synchronization with the first video data.
  • the delay time of the first audio data 610 (or the second audio data 620) compared to the first video data corresponds to the delay occurring in the wireless data transmission/reception path, it occurs in the wired data transmission/reception path.
  • delay may be greater than that of
  • the delay time of the first audio data 610 (or the second audio data 620) compared to the first video data may be unpredictable for the processor 340.
  • the electronic device 300 may obtain reference data 600 corresponding to the first video data by using the microphone 320 .
  • the reference data 600 may refer to audio data obtained by the processor 340 through the microphone 320 according to a designated schedule.
  • the electronic device 300 uses the microphone 320 as a standard to compensate for the delay of audio data (eg, the first audio data 610 and the second audio data 620) acquired from the external electronic device 400.
  • Data 600 may be acquired. Since the processor 340 obtains the reference data 600 through a wired data transmission/reception path using the microphone 320 included in the electronic device 300, the reference data 600 is not delayed compared to the first video data. or may contain negligibly small delays.
  • the reference data 600 may be understood as a reference signal for correcting a delay of the first audio data 610 (or the second audio data 620).
  • the processor 340 may obtain the reference data 600 according to a designated schedule using the microphone 320 .
  • the processor 340 activates the microphone 320 at a time corresponding to a duration 604 in the waveform graph shown in FIG. 6, and a microphone 320 at a time not corresponding to the duration 604. (320) can be deactivated.
  • the processor 340 activates the microphone 320 for at least a part of the time period during which the first video data is acquired, and converts some of the data obtained through the microphone 320 into the reference data 600. can also be used as
  • the designated schedule may include an interval 602 and a duration 604 for the processor 340 to activate the microphone 320 .
  • the processor 340 may acquire the reference data 600 by activating the microphone 320 for a specified duration 604 at each specified period 602 .
  • the reference data 600 may be data obtained through the microphone 320 for a specified duration 604 according to a specified period 602 .
  • the designated schedule may include a specific period and different durations.
  • the designated schedule may include various window patterns including variously arranged time windows.
  • various schedules that are obvious to those skilled in the art are possible.
  • the processor 340 may correct the delay of the first audio data 610 (or the second audio data 620) based on the reference data 600. Delay correction will be described later with reference to FIGS. 7A and 8 .
  • the processor 340 may generate a video file based on the first video data and the delay-corrected first audio data 610 (and/or the second audio data 620). there is.
  • the video file may include temporally synchronized video data and audio data.
  • FIG. 7A illustrates an example in which the electronic device 300 corrects a delay of audio data 610 and 620 acquired from the external electronic device 400 according to an embodiment.
  • the first audio data 610 and the second audio data 620 acquired by the electronic device 300 from the external electronic device 400 are reference data It may be in a delayed state compared to (600). Since the electronic device 300 obtains the first audio data 610 and the second audio data 620 from the external electronic device 400 through the wireless network, the processor 340 determines that the reference data 600 is not synchronized. The first audio data 610 and/or the second audio data 620 may be obtained.
  • the processor 340 may correct delays of the first audio data 610 and/or the second audio data 620 based on the reference data 600 .
  • the processor 340 may analyze the correlation between the reference data 600 and the first audio data 610, and compare the first audio data to the reference data 600 based on the correlation analysis result.
  • the delayed time 711 of 610 can be checked, and the delay of the first audio data 610 can be corrected based on the delayed time 711 .
  • the processor 340 considers that the first audio data 610 was acquired at a time point earlier than the time at which the first audio data 610 was received by the delayed time 711, and the first video data and The first audio data 610 may be synchronized.
  • the processor 340 may analyze the correlation between the reference data 600 and the second audio data 620, and based on the correlation analysis result, the second audio data 620 has a delay compared to the reference data 600.
  • the delayed time 712 may be checked, and the delay of the second audio data 620 may be corrected based on the delayed time 712 .
  • the processor 340 considers that the second audio data 620 was acquired at a time point earlier than the time at which the second audio data 620 was received by the delayed time 712, and the first video data and The second audio data 620 may be synchronized.
  • a method of analyzing the correlation between the reference data 600 and the first audio data 610 (or the second audio data 620) will be described later with reference to FIG. 8 .
  • the processor 340 converts the first audio data 610 (or, second audio data 620) based on the similarity between the first audio data 610 (or the second audio data 620) and the reference data 600.
  • a delay of the second audio data 620 may be corrected.
  • the processor 340 may determine that the similarity between the specific region 721 of the reference data 600 and the specific region 722 of the first audio data 610 is equal to or greater than a specified value.
  • the processor 340 may compare the specific region 721 of the reference data 600 with the first audio data 610 and determine that the specific region 722 is the region having the highest pattern similarity. there is.
  • the description of the specific region 722 of the first audio data 610 may also be applied to the specific region 723 of the second audio data 620 .
  • the delay time 711 of the first audio data 610 and the delay time 712 of the second audio data 620 are shown to be the same, but as an example, the delayed time ( 711) and the delayed time 712 may be different from each other.
  • the delayed time 711 and the delayed time ( 712) may be different from each other.
  • the processor 340 may correct the delay of the first audio data 610 obtained from the first earbud 400a and the delay of the second audio data 620 obtained from the second earbud 400b, respectively. there is.
  • Reference numeral 704 in FIG. 7A shows first audio data 610 synchronized with reference data 600 and second audio data 620 synchronized with reference data 600 .
  • the processor 340 performs alignment with the reference data 600 through synchronization of the reference data 600 and the first audio data 610 and/or synchronization of the reference data 600 and the second audio data 620. ), the first audio data 610 and/or the second audio data 620 may be obtained. Referring to FIG. 7A , a region 722 having the highest similarity to the specific region 721 of the reference data 600 among the first audio data 610 may be aligned with the specific region 721 .
  • a region 723 of the second audio data 620 having the highest similarity to the specific region 721 of the reference data 600 may be aligned with the specific region 721 .
  • the processor 340 may generate a video file based on the first audio data 610 and/or the second audio data 620 together with the first video data.
  • the electronic device 300 obtains first audio data 610 from the first earbud 400a and obtains second audio data 620 from the second earbud 400b.
  • the external electronic device 400 corresponds to one external device including an external microphone
  • the electronic device 300 receives first audio data 610 from the external electronic device 400 that is the one external device. may be obtained, and a video file may be generated based on the first audio data 610 together with the first video data.
  • the electronic device Step 300 may obtain a video file based on the first video data and the first audio data 610 synchronized in time with each other.
  • the electronic device 300 may obtain audio data (eg, the first earbud 400a and the second earbud 400b) from a pair of earbuds (eg, the first earbud 400a and the second earbud 400b).
  • a video file including stereo audio data may be obtained by using the audio data 610 and the second audio data 620 .
  • FIG. 7B is a flowchart illustrating an operation in which the electronic device 300 generates a video file based on first audio data 610 acquired from the external electronic device 400 according to an embodiment.
  • the processor 340 may obtain first video data using the camera 310.
  • the processor 340 may obtain reference data 600 using the microphone 320.
  • the processor 340 may receive first audio data 610 corresponding to the first video data from the external electronic device 400 through the wireless communication circuit 330.
  • the processor 340 may correct a delay of the first audio data 610 based on the reference data 600.
  • the processor 340 may correct the delay of the first audio data 610 through the operation described in FIG. 7A and/or the operation described in FIG. 8 .
  • the processor 340 may generate a video file based on the first video data and the corrected first audio data 610.
  • FIG 8 illustrates an example in which the electronic device 300 analyzes a correlation between reference data 600 and audio data 610 and 620 according to an embodiment.
  • FIG. 8 shows an example of a correlation analysis method between reference data 600 and first audio data 610 .
  • the correlation analysis method described in relation to FIG. 8 can also be applied to the second audio data 620, and in addition to that obtained from the external electronic device 400 It can be applied to various audio data.
  • the processor 340 correlates the reference data 600 and the first audio data 610 through a pattern matching technique of the reference data 600 and the first audio data 610. can be analyzed.
  • the processor 340 may synchronize the reference data 600 and the first audio data 610 through a pattern matching technique.
  • the processor 340 identifies an audio pattern included in the first audio data 610 and aligns the first audio data 610 with the reference data 600 so that the audio pattern matches the reference data 600,
  • the reference data 600 and the first audio data 610 may be synchronized.
  • the processor 340 may analyze the autocorrelation to check the delay time 711 of the first audio data 610 compared to the reference data 600 .
  • the processor 340 may analyze the autocorrelation by adding a Hadamard product (element-wise product) to the reference data 600 and the first audio data 610 .
  • the processor 340 may add a Hadamard product to data obtained by moving the first audio data 610 in time. For example, the processor 340 may transform the first audio data 610 such that it is obtained earlier or later than the first audio data 610 is acquired, and the reference data 600 A Hadamard product may be added to the transformed first audio data 610 together with .
  • the processor 340 may obtain a graph 800 corresponding to a correlation analysis result by adding a Hadamard product to the reference data 600 and the temporally shifted first audio data 610 .
  • the horizontal axis of the graph 800 represents the degree of temporal movement of the first audio data 610, and the vertical axis of the graph 800 corresponds to the reference data 600 and the temporally moved first audio data 610. degree can be indicated.
  • a peak 801 of the graph 800 may mean that the reference data 600 and the temporally shifted first audio data 610 correspond.
  • the peak 801 of the graph 800 indicates that the reference data 600 and the first audio data 610 are synchronized because the same or corresponding element has a maximum value when multiplied and added.
  • the processor 340 may obtain the first audio data 610 delayed by a first time compared to the reference data 600 .
  • the processor 340 may perform autocorrelation analysis by adding a Hadamard product to the temporally shifted data of the first audio data 610 and the reference data 600 . Based on the correlation analysis result, the processor 340 may determine that the first audio data 610 corresponds to the peak 801 on the graph 800 when the first audio data 610 is moved forward by the first time.
  • the processor 340 may determine that the delayed time 711 is the first time based on the graph 800 .
  • the processor 340 in order to analyze the correlation between the reference data 600 and the first audio data 610, the processor 340 sets the first audio data 610 to a temporally earlier point as described with respect to FIG. and correlation may be analyzed while moving to a later time point. However, according to another embodiment, correlation may not be analyzed while moving the first audio data 610 to a temporally later time point. Since the processor 340 receives the first audio data 610 through wireless communication, the first audio data 610 may not be obtained earlier than the reference data 600 . Accordingly, the processor 340 may perform an operation of adding the Hadamard product while moving the first audio data 610 to an earlier time point instead of moving the first audio data 610 to a time point later in time.
  • the processor 340 may perform the delay correction operation described in FIGS. 7A and 8 for all packets of the first audio data 610, or may perform the delay correction operation at regular intervals.
  • the processor 340 may receive the first audio data 610 in packet units from the external electronic device 400, and generate the first audio data 610 based on the reference data 600 at regular intervals.
  • the delay of the first audio data 610 may be corrected by calculating the delayed time.
  • 9A illustrates an example of changing a schedule for obtaining reference data 600 by the electronic device 300 according to an embodiment.
  • reference data 916 and reference data 926 may correspond to reference data 600 described in FIGS. 6 to 8 except for a description of the schedule.
  • the graph 918 and the graph 928 corresponding to the correlation analysis result may be included in the graph 800 described in FIG. 8 .
  • the processor 340 may obtain reference data 916 according to the first schedule using the microphone 320 .
  • the first schedule may include a first interval 912 and a first duration 914 in which the processor 340 activates the microphone 320 .
  • the processor 340 may obtain the reference data 916 during the first duration 914 of each first period 912 .
  • the processor 340 may analyze a correlation between the reference data 916 and the first audio data 610 in order to correct a delay of the first audio data 610 .
  • a correlation between the reference data 916 and the first audio data 610 may be detected to be less than a specified level.
  • a graph 918 corresponding to a result of correlation analysis between the reference data 916 and the first audio data 610 may appear in a gentler form than a specified level.
  • a graph 918 that is more gentle than a designated level may be a graph in which it is determined that it is difficult to determine a peak.
  • the processor 340 converts the first schedule for activating the microphone 320 into a second schedule when the correlation between the reference data 916 and the first audio data 610 is detected to be less than a specified level. can be changed Even when the correlation between the reference data 916 and the first audio data 610 is detected to be less than a specified level, the processor 340 does not change the schedule and delays the first audio data 610 based on the reference data 916. In the case of correction, the reference data 916 and the corrected first audio data 610 may not be synchronized. Accordingly, the processor 340 may change the first schedule to the second schedule to obtain data including more audio patterns than the reference data 916 .
  • the second schedule may be a schedule in which at least one of a period or duration is changed compared to the first schedule.
  • the processor 340 may obtain the reference data 926 at every second period 922 shorter than the first period 912 .
  • the processor 340 may obtain the reference data 926 during a second duration 924 longer than the first duration 914 .
  • the second period 922 and the second duration 924 are shown as changed compared to the first schedule in FIG. 9A , this is an example and only one of the period and duration may be changed.
  • the processor 340 acquires reference data 926 according to the first schedule using the microphone 320, changes the schedule from the first schedule to the second schedule, and continues to generate the reference data 926. can be obtained.
  • Reference data 926 may include a greater amount of audio patterns than reference data 916 .
  • the fact that the reference data 926 includes a greater amount of audio patterns than the reference data 916 may include a case in which the capacity of the data is larger, or a case in which more information necessary for correlation analysis is included.
  • the processor 340 may analyze a correlation between the reference data 926 and the first audio data 610 in order to correct a delay of the first audio data 610 .
  • a correlation between the reference data 926 and the first audio data 610 may be detected as higher than a specified level.
  • a graph 928 corresponding to a result of correlation analysis between the reference data 926 and the first audio data 610 may be a graph from which peaks can be determined.
  • the processor 340 may change to a second schedule having a reduced period or an increased duration than the first schedule, as shown in FIG. 9A.
  • the processor 340 may It may be changed to a second schedule having a longer period or a shorter duration than schedule 1. For example, as the capacity of the reference data increases, the number of arithmetic processes that the processor 340 has to perform to compensate for the delay of the first audio data 610 increases. When the number of calculation processes of the processor 340 increases, battery efficiency may decrease and time required to create a video file may increase.
  • the processor 340 corrects the delay of the first audio data 610 even when the reference data is acquired at intervals longer than the first period 912 or the reference data is acquired for a duration shorter than the first duration 914. If it is determined that it is possible, it may be changed to a second schedule having a longer period or a shorter duration than the first schedule. For example, the processor 340 may minimize the activation time of the microphone 320 unless it is difficult to correct the delay of the first audio data 610 .
  • the electronic device 300 in performing synchronization of the first video data and the first audio data 610 based on the reference data 600, 916, or 926, affects the surrounding environment.
  • a delay of the first audio data 610 may be adaptively corrected.
  • first video data 930 corresponds to video data described in FIG. 6
  • first reference data 941 and second reference data 942 correspond to reference data 600 described in FIG. 6
  • a portion 611 of the first audio data may be included in the first audio data 610 of FIG. 6 .
  • the processor 340 may acquire the first video data 930 using the camera 310 and perform a first schedule during the first time interval 951 using the microphone 320.
  • the first reference data 941 may be obtained according to the method, and the first audio data 610 corresponding to the first video data 930 may be received from the external electronic device 400 through the wireless communication circuit 330. there is.
  • the processor 340 may change the first schedule into the second schedule based on a comparison result between the part 611 of the first audio data and the first reference data 941 .
  • the processor 340 may detect a correlation between the first reference data 941 and the part 611 of the first audio data.
  • the processor 340 may determine that a correlation between the first reference data 941 and the part 611 of the first audio data is detected to be less than a specified level.
  • the processor 340 may change to a second schedule in which at least one of a period or duration of activation of the microphone 320 is changed compared to the first schedule.
  • the processor 340 obtains second reference data 942 according to a second schedule during a second time interval 952 following the first time interval 951 using the microphone 320. can do.
  • the processor 340 may obtain second reference data 942 including a larger amount of information (eg, an audio pattern) than the first reference data 941 .
  • the processor 340 may correct the delay of the first audio data 610 based on the second reference data 942 .
  • the processor 340 may analyze the correlation between the second reference data 942 and the first audio data 610 (eg, reference number 612 among the first audio data), and the correlation analysis result (eg, Based on the graphs 800 and 928, the delay time of the first audio data 610 (eg, reference number 612 among the first audio data 610) compared to the second reference data 942 can be determined. and the delay of the first audio data 610 may be corrected based on the delayed time.
  • the second time interval 952 is shown as being a continuous time interval with the first time interval 951, but this is an example, and the second time interval 952 is the first time interval ( 951) may include all time intervals following. For example, there may be a constant time interval between the first time interval 951 and the second time interval 952 .
  • FIG. 9C is a flowchart illustrating an operation in which the electronic device 300 generates a video file based on first audio data 610 obtained from the external electronic device 400 according to an embodiment.
  • the operation described in FIG. 9C may be performed by the electronic device 300 or the processor 340 of FIG. 3 .
  • the processor 340 may receive a user input to start capturing a video from the user.
  • the processor 340 may control the camera 310 to obtain first video data in response to receiving the user input.
  • the processor 340 may transmit a signal for controlling the external electronic device 400 to obtain first audio data through the wireless communication circuit 330 .
  • the external electronic device 400 may control the external microphone 542 to obtain the first audio data in response to receiving the signal for controlling the acquisition of the first audio data.
  • the processor 340 controls the external electronic device 402 to obtain first audio data and second audio data through the wireless communication circuit 330 in response to receiving the user input. can also be sent.
  • the processor 340 may obtain first video data using the camera 310 .
  • the first video data may include a plurality of image frames.
  • the processor 340 may obtain first reference data according to a first schedule during a first time interval using the microphone 320.
  • the processor 340 may receive first audio data corresponding to the first video data from the external electronic device 400 through the wireless communication circuit 330 .
  • the external electronic device 400 may include a first earbud 400a and a second earbud 400b, and the processor 340 receives first audio data from the first earbud 400a. and second audio data may be received from the second earbud 400b.
  • the external electronic device 402 eg, the first earbud 402a
  • the processor 340 may include an external microphone 422 and a second external microphone 423.
  • the processor 340 may change the first schedule to the second schedule based on a result of comparing a part of the first audio data with the first reference data.
  • the processor 340 analyzes the correlation between a portion of the first audio data and the first reference data, and when the correlation between the first reference data and the first audio data is detected to be less than a specified level, the first reference data is analyzed.
  • the schedule may be changed to the second schedule.
  • the processor 340 determines the schedule when the correlation between the first reference data and the first audio data is detected to be greater than or equal to a specified level. The delay of the first audio data may be corrected based on the first reference data without being changed.
  • the processor 340 corrects the delay of the first audio data based on the first reference data when a region similar to a specified level or more is detected as a result of correlation analysis between the first audio data and the first reference data, and A video file may be generated based on 1 video data and the corrected first audio data.
  • the processor 340 may obtain second reference data according to a second schedule during a second time interval following the first time interval using the microphone 320 .
  • the processor 340 may correct a delay of the first audio data based on the second reference data. According to an embodiment, when the processor 340 obtains the first audio data and the second audio data from the first earbud 400a and the second earbud 400b, respectively, or from the external electronic device 402 When the first audio data and the second audio data are obtained, the processor 340 may correct delays of the first audio data and the second audio data, respectively, based on the second reference data.
  • the processor 340 may generate a video file based on the first video data and the corrected first audio data.
  • the processor 340 may perform video rendering by mixing the first video data and the corrected first audio data.
  • the processor 340 acquires first audio data and second audio data from the first earbud 400a and the second earbud 400b, respectively, the processor 340 obtains first video data, A video file may be generated based on the corrected first audio data and the corrected second audio data.
  • the processor 340 may receive a user input to stop capturing a video from the user.
  • the processor 340 may control the camera 310 to stop acquiring the first video data in response to receiving the user input.
  • the processor 340 transmits a signal for controlling the external electronic device 400 to stop obtaining the first audio data through the wireless communication circuit 330, and the external electronic device 400 transmits the first audio data to the electronic device 300.
  • the external electronic device 400 may control the external microphone 542 to stop acquiring the first audio data in response to receiving a signal for controlling to stop acquiring the first audio data.
  • the external electronic device 400 may transmit the first audio data acquired through the external microphone 542 to the electronic device 300 through the wireless communication circuit 510 .
  • the processor 340 transmits a signal for controlling the external electronic device 402 to stop obtaining the first audio data and the second audio data through the wireless communication circuit 330, and the external electronic device 402 may transmit a control signal to provide the first audio data and the second audio data to the electronic device 300 .
  • the external electronic device 400 may transmit the first audio data to the electronic device 300 through the wireless communication circuit 510 while acquiring the first audio data through the external microphone 542. there is. According to another embodiment, the external electronic device 400 stores the first audio data in the memory 550 while obtaining the first audio data, and stores the first audio data after stopping the acquisition of the first audio data. It may be transmitted to the electronic device 300.
  • the electronic device 300 records the first video data recorded by the electronic device 300 and the second video data recorded by the external electronic device 400.
  • a video file including first audio data (and/or second audio data) may be obtained.
  • the first audio data and the first video data may be synchronized with each other.
  • the electronic device 300 acquires through binaural recording from the external electronic device 400 (eg, the first earbuds 400a and the second earbuds 400b).
  • the electronic device 300 converts the stereo audio
  • a video file containing data eg stereophonic audio data
  • a user may feel a sense of realism or liveliness through a video file including audio data acquired from the external electronic device 400 .
  • FIG 10 illustrates an example in which the electronic device 300 applies noise filters 1021 and 1022 to reference data 600 and audio data according to an embodiment.
  • the processor 340 may analyze a correlation after applying a noise filter to the reference data 600 and the first audio data 610 .
  • Reference data 600 of FIG. 10 may be understood to include reference data 916 and 926 of FIG. 9A , first reference data 941 and second reference data 942 of FIG. 9B .
  • the first audio data 610 of FIG. 10 may include part 611 of the first audio data of FIG. 9B or may be replaced with the second audio data 620 .
  • the processor 340 analyzes the correlation between the reference data 600 and the first audio data 610 to correct the delay of the first audio data 610 based on the reference data 600.
  • the processor 340 may include a correlator 1010 .
  • the correlation analyzer 1010 may be a hardware module disposed inside the processor 340 or a software module corresponding to a program that may be executed by the processor 340 .
  • the processor 340 may analyze correlation (eg, autocorrelation) between the reference data 600 and the first audio data 610 through the correlation analyzer 1010 .
  • the processor 340 applies the first noise filter 1021 to the reference data 600, applies the second noise filter 1022 to the first audio data 610, and correlates A correlation between the reference data 600 to which the first noise filter 1021 is applied and the first audio data 610 to which the second noise filter 1022 is applied may be analyzed through the analyzer 1010 .
  • noise eg, wind noise
  • a correlation between the reference data 600 and the first audio data 610 is not detected. It can be difficult.
  • Noise is included in either the reference data 600 or the first audio data 610, and the noise has a masking effect compared to an audio pattern commonly included in the reference data 600 and the first audio data 610.
  • the processor 340 may analyze the correlation after applying the noise filters 1021 and 1022 to the reference data 600 and the first audio data 610, respectively.
  • the noise filters 1021 and 1022 may include an AI-based noise removal process and/or a low pass filter (LPF). Since noise that may be included in the reference data 600 and/or the first audio data 610 generally corresponds to high frequency data, the processor 340 may filter the noise using the LPF.
  • the processor 340 based on a correlation analysis result of the reference data 600 to which the first noise filter 1021 is applied and the first audio data 610 to which the second noise filter 1022 is applied, A delay time of the first audio data 610 compared to the reference data 600 may be checked.
  • the processor 340 may estimate a time difference between the reference data 600 and the first audio data 610 based on the output result of the correlation analyzer 1010 .
  • the processor 340 applies a first noise filter 1021 to first reference data 941 and applies a second noise filter 1022 to first audio data 610. can do.
  • the processor 340 may analyze a correlation between the part 611 of the first audio data to which the second noise filter 1022 is applied and the first reference data 941 to which the first noise filter 1021 is applied. For example, the processor 340 converts a part 611 of the first audio data 610 to which the second noise filter 1022 is applied through the correlation analyzer 1010, and the first part 611 to which the first noise filter 1021 is applied. Correlation of the reference data 941 can be analyzed.
  • the processor 340 performs a correlation analysis between a part 611 of the first audio data to which the second noise filter 1022 is applied and the first reference data 941 to which the first noise filter 1021 is applied. It is possible to determine whether a result satisfies a specified condition.
  • the designated condition may refer to a case in which it is determined that the delayed time of the first audio data 610 can be confirmed based on a correlation analysis result. For example, when it is determined that a peak can be discriminated in a graph corresponding to a result of the correlation analysis, the processor 340 may determine that the specified condition is satisfied.
  • the processor 340 responds to the correlation analysis result satisfying the specified condition, based on the first reference data 941 to which the first noise filter 1021 is applied, the first audio data ( 610) may be corrected.
  • the processor 340 determines that the delay of the first audio data 610 can be corrected based on the first reference data 941 to which the second noise filter 1022 is applied, the first microphone 320 is activated. The delay of the first audio data 610 may be corrected without changing the first schedule to the second schedule.
  • the processor 340 may change the first schedule to the second schedule in response to a result of the correlation analysis not satisfying the specified condition.
  • the second reference data 942 may be obtained by changing a schedule for activating the microphone 320 .
  • FIG 11 illustrates an example in which an external electronic device 402 includes a plurality of external microphones 422 , 423 , 424 , and 425 according to an embodiment.
  • the external electronic device 400 of FIGS. 5 to 10 may be replaced with an external electronic device 402, and the external electronic device 402 includes a first earbud 402a and a second earbud. (402b).
  • the first earbud 402a may include a first external microphone 422 and a second external microphone 423
  • the second earbud 402b may include a third external microphone 424 and a fourth external microphone ( 425) may be included.
  • the disclosure of the first external microphone 422 and the second external microphone 423 included in the first earbud 402a is the first external microphone included in the external electronic device 400.
  • the microphone 422 and the second external microphone 423 may be replaced.
  • the external electronic device 402 obtains the first audio data 1110 corresponding to the first video data using the first external microphone 422. and the second audio data 1120 corresponding to the first video data may be obtained by using the second external microphone 423 .
  • the external electronic device 402 (eg, the first earbud 402a) may transmit first audio data 1110 and second audio data 1120 to the electronic device 300 through a wireless data transmission/reception path.
  • the processor 340 may receive the first audio data 1110 and the second audio data 1120 through the wireless communication circuit 330 .
  • the first audio data 1110 shown in FIG. 11 may be included in the first audio data 610 shown in FIG. 6 .
  • the second audio data 1120 shown in FIG. 11 is different from the second audio data 620 shown in FIG. 6 .
  • the processor 340 may analyze the correlation between the first audio data 1110 and the reference data 600, and analyze the correlation between the second audio data 1110 and the reference data 600. can That is, the processor 340 may analyze a correlation between each of the first audio data 1110 and the second audio data 1120 and the reference data 600 .
  • a graph 1115 corresponds to a result of correlation analysis between first audio data 1110 and reference data 600
  • a graph 1125 shows second audio data 1120 and reference data 600. It can correspond to the results of the correlation analysis of
  • a correlation analysis result between the first audio data 1110 and the reference data 600 and a correlation analysis result between the second audio data 1120 and the reference data 600 may be different from each other.
  • the graph 1115 may appear in a more gentle shape than the graph 1125 . That is, peaks may be more easily identified in the graph 1125 than in the graph 1115 .
  • the processor 340 satisfies a specified condition among the first audio data 1110 and the second audio data 1120 based on the correlation analysis result (eg, the graph 1115 and the graph 1125). You can select any one of the audio data to be played.
  • the designated condition may refer to audio data that is easier for the processor 340 to correct a delay based on the reference data 600 . For example, since it is easier for the processor 340 to determine peaks in the graph 1125 than in the graph 1115, the second audio data 1120 among the first audio data 1110 and the second audio data 1120 is It can be determined that the specified condition is satisfied.
  • the processor 340 may generate a video file based on the first video data and the selected audio data (eg, the second audio data 1120). For example, the processor 340 may generate a video file based on audio data having the best correlation with the reference data 600 among several sets of audio data acquired from the first earbud 402a. Even when multiple sets of audio data are received from the first earbud 402a, the processor 340 may not create a video file using all of the received audio data.
  • the processor 340 may determine a delay time of the selected audio data (eg, the second audio data 1120) compared to the reference data 600, and determine a delay time based on the delayed time. Delays of the first audio data 1110 and the second audio data 1120 may be corrected. Since the first audio data 1110 and the second audio data 1120 are transmitted through wireless communication between the electronic device 300 and the first earbud 402a, the selected audio data is selected based on the delayed time. It is also possible to compensate for the delay time of audio data that has not been recorded. For example, the processor 340 delays the second audio data 1120 based on a correlation analysis result (eg, graph 1125) between the reference data 600 and the selected second audio data 1120. You can check the time.
  • a correlation analysis result eg, graph 1125
  • the processor 340 may correct the delay of the first audio data 1110 as well as the second audio data 1120 based on the delay time of the second audio data 1120 .
  • the processor 340 may generate a video file based on the first video data, the corrected first audio data 1110, and the corrected second audio data 1120.
  • the processor 340 performs a first reference data 941 and first audio data 1110 (and/or second audio data 1120) based on a comparison result.
  • the schedule may be changed to a second schedule, and second reference data 942 may be obtained according to the second schedule.
  • the processor 340 may analyze the correlation between the first audio data 1110 and the second reference data 942 and may also analyze the correlation between the second audio data 1120 and the second reference data 942 .
  • a graph 1115 corresponds to a result of correlation analysis between the first audio data 1110 and the second reference data 942, and the graph 1125 is a correlation between the second audio data 1120 and the second reference data 942. You can respond to the analysis results.
  • the processor 340 performs a correlation analysis result between the first audio data 1110 and the second reference data 942 (eg, a correlation analysis between the graph 1115 and the second audio data 1120 and the second reference data 942).
  • a correlation analysis result between the graph 1115 and the second audio data 1120 and the second reference data 942.
  • the third audio data 1130 obtained through the external microphone 424 and the fourth audio data 1140 acquired through the fourth external microphone may also be applied.
  • the processor 340 may obtain the third audio data 1130 and the fourth audio data 1140 from the second earbud 402b, the reference data 600 and the third audio data ( 1130) and the correlation between the reference data 600 and the fourth audio data 1140 may be analyzed.
  • the processor 340 may determine that the third audio data 1130 among the third audio data 1130 and the fourth audio data 1140 satisfies the specified condition, and the first video data , the second audio data 1120, and the third audio data 1130 can generate a video file. According to another embodiment, the processor 340 may determine that the third audio data 1130 among the third audio data 1130 and the fourth audio data 1140 satisfies the specified condition, and the reference data 600 ), the delayed time of the third audio data 1130 can be checked, and the delay of the third audio data 1130 and the fourth audio data 1140 can be corrected based on the delayed time. The processor 340 generates a video file based on the first video data, the first audio data 1110, the second audio data 1120, the third audio data 1130, and the fourth audio data 1140. can
  • FIG. 12A illustrates an example in which the electronic device 300 generates a video file by selectively using audio data according to an embodiment.
  • the processor 340 may analyze the correlation between the reference data 600 obtained through the microphone 320 and the first audio data 610 obtained from the external electronic device 400, and Based on the first audio data 610 or the internal audio data 1201 acquired through the microphone 320 according to whether the analysis result satisfies the specified condition, and the first video data 930 A video file can be created.
  • the specified condition may mean that the processor 340 can correct the delay of the first audio data 610 based on the reference data 600 . That is, the processor 340 determines whether the delay of the first audio data 610 can be corrected based on the reference data 600, and if the delay can be corrected, the corrected first audio data is included.
  • a video file containing audio data obtained through the microphone 320 instead of the first audio data may be generated when the delay cannot be corrected (e.g., in an environment where a lot of noise is recorded). .
  • the processor 340 may correct the delay of the first audio data 610 based on the reference data 600 in response to the correlation analysis result satisfying a specified condition, and may correct the delay of the first video data 610.
  • a video file may be generated based on the data 930 and the delay-corrected first audio data 610 .
  • the processor 340 transmits the internal audio data 1201 corresponding to the first video data 930 using the microphone 320 in response to the fact that the correlation analysis result does not satisfy the specified condition. can be obtained
  • the internal audio data 1201 may be understood as audio data continuously acquired by the processor 340 to correspond to the first video data 930 without inactivating the microphone 320 .
  • the processor 340 may generate a video file based on the first video data 930 and the internal audio data 1201 .
  • the processor 340 acquires the internal audio data 1201 using the microphone 320
  • the internal audio data 1201 is provided to the processor 340 through a wired data transmission/reception path, so the internal audio data 1201 is It may be non-delayed data. Therefore, the processor 340 does not correct the delay of the internal audio data 1201, and the first video data 930 obtained through the camera 310 and the internal audio data 1201 obtained through the microphone 320 Based on this, you can create a video file.
  • FIG. 12A illustrates an example of generating a video file based on the first audio data 610 or internal audio data 1201 over time.
  • the horizontal axis of the graph shown in FIG. 12A represents the progress of time.
  • the processor 340 may analyze a correlation between the reference data 600 and the first audio data 610. Referring to FIG. 12A , the processor 340 may determine that the correlation analysis result at time t1 satisfies the specified condition. According to an embodiment, the processor 340 converts the video file corresponding to the first section 1210 into first video data 930 and first audio data obtained from the external electronic device 400 and having a delay corrected ( 610).
  • the processor 340 may determine that the result of correlation analysis between the reference data 600 and the first audio data 610 does not satisfy the specified condition. For example, the processor 340 may continuously analyze the correlation between the reference data 600 and the first audio data 610 during the first period 1210, and at time point t2, the correlation analysis result satisfies the designated condition. You can judge that you are not satisfied. According to an embodiment, the processor 340 may obtain internal audio data 1201 by continuously activating the microphone 320 during the second period 1220 . The processor 340 may generate a video file corresponding to the second section 1220 based on the first video data 930 and internal audio data 1201 acquired through the microphone 320 .
  • the processor 340 may determine that the result of the correlation analysis between the reference data 600 and the first audio data 610 satisfies the specified condition. For example, the processor 340 may obtain the first audio data 610 from the external electronic device 400 even during the second period 1220, and may obtain the reference data based on a part of the internal audio data 1201. (600) can be obtained. The processor 340 may continuously analyze the correlation between the reference data 600 and the first audio data 610, and may determine that the correlation analysis result satisfies a specified condition at time t3. According to an embodiment, the processor 340 may change the schedule for activating the microphone 320 during the third period 1230 as in the first period 1210, and the video file corresponding to the third period 1230. may be generated based on the first video data 930 and the corrected first audio data 610 .
  • the processor 340 may change the schedule for activating the microphone 320 during the third period 1230 as in the first period 1210, and the video file corresponding to the third period 1230. may be generated based on the first
  • the processor 340 has been described based on correlation analysis between the reference data 600 and the first audio data 610. This is an example, and various embodiments are possible.
  • the processor 340 may analyze a correlation between the second reference data 942 described in FIG. 9B and the first audio data 610 among the reference data 600 .
  • the processor 340 may analyze a correlation between the reference data 600 and audio data acquired from the second earbud 402b (eg, the second audio data 620 of FIG. 6 ).
  • the processor 340 acquires reference data 600 by periodically activating the microphone 320 in the first period 1210, and in the second period 1220 In this case, internal audio data 1201 may be obtained by continuously activating the microphone 320. However, unlike shown in FIG. 12A, the processor 340 continuously activates the microphone 320 even in the first period 1210. to obtain data, and some of the data acquired during the first period 1210 may be used as the reference data 600 .
  • FIG. 12B illustrates an example of a UI 1250 displayed on a display (eg, the display module 160 of FIG. 1 ) by the electronic device 300 according to an embodiment.
  • the electronic device 300 of FIG. 12B may correspond to the electronic device 101 of FIG. 1 , and the electronic device 300 may include a display 1200 (eg, the display module 160 of FIG. 1 ). .
  • the processor 340 determines whether audio data included in the video file is obtained from the external electronic device 400 (eg, first audio data 610) or acquired through the microphone 320.
  • a user interface (UI) 1250 indicating whether or not the audio data 1201 is may be displayed on the display 1200 .
  • the processor 340 may display a preview video on the display 1200 while obtaining first video data.
  • the processor 340 may display the UI 1250 in a designated area of the preview video displayed on the display 1200 .
  • the processor 340 may display the UI 1250 including the letters “Ear phone” and “Mic” on the display 1200, and may display any one of the letters “Ear phone” or “Mic”. can be displayed so that they are highlighted (e.g. have different colors).
  • the processor 340 may display the text “Ear phone” in the UI 1250 to be highlighted in a section in which a video file is generated based on the first audio data 610 obtained from the external electronic device 400. .
  • the processor 340 may display the character “Mic” in the UI 1250 to be highlighted in a section in which a video file is generated based on the internal audio data 1201 acquired using the microphone 320.
  • the illustration and description of the UI 1250 is an example, and various embodiments that can be implemented by those skilled in the art are possible.
  • the processor 340 may alternately display only one of “Ear phone” or “Mic” on the display 1200, and the “Ear phone” or “Mic” may be replaced with another word (eg, earbuds).
  • the UI 1250 including icons or symbols other than text may be displayed on the display 1200 .
  • the processor 340 in response to receiving a user input for the UI 1250 displayed on the display 1200, the processor 340 generates first audio data 610 or internal audio data (eg, video data) together with the first video data.
  • the video file may be generated based on any one of the internal audio data 1201 described in FIG. 12A.
  • the processor 340 may generate a video file based on the first video data and the first audio data 610 in response to receiving a touch input for “Ear phone” of the UI 1250, ,
  • a video file may be created based on the first video data and internal audio data.
  • An electronic device includes a camera. mike.
  • a wireless communication circuit that transmits and receives data to and from external electronic devices.
  • at least one processor operatively coupled with the camera, the microphone, and the wireless communications circuitry.
  • the at least one processor obtains first video data using the camera, obtains first reference data according to a first schedule during a first time period using the microphone, and obtains the first reference data from the external electronic device.
  • first audio data corresponding to one video data is received through the wireless communication circuit, and the first schedule is changed to a second schedule based on a comparison result between a part of the first audio data and the first reference data; , Obtaining second reference data according to the second schedule during a second time interval following the first time interval using the microphone, and correcting a delay of the first audio data based on the second reference data. and generate a video file based on the first video data and the corrected first audio data.
  • the external electronic device includes a first earbud and a second earbud, and the at least one processor is configured to receive the first video data from the first earbud.
  • the first audio data may be received through the wireless communication circuit, and second audio data corresponding to the first video data may be received from the second earbuds through the wireless communication circuit.
  • the at least one processor corrects delays of the first audio data and the second audio data based on the second reference data, respectively, the first video data, the The video file may be generated based on the corrected first audio data and the corrected second audio data.
  • the first schedule includes an interval and a duration for activating the microphone
  • the second schedule has the interval or the duration compared to the first schedule. At least one of the times may change.
  • the at least one processor analyzes a correlation between the second reference data and the first audio data, and compares the first audio data with the second reference data based on a result of the correlation analysis.
  • a delay time of the audio data may be identified, and a delay of the first audio data may be corrected based on the delayed time.
  • the at least one processor applies a first noise filter to the first reference data, applies a second noise filter to the first audio data, and applies the second noise filter to the first audio data.
  • Correlation is analyzed between a part of the first audio data to which is applied and first reference data to which the first noise filter is applied, it is determined whether a result of the correlation analysis satisfies a specified condition, and the result of the correlation analysis satisfies the specified condition.
  • a delay of the first audio data is corrected based on the first reference data to which the first noise filter is applied, and in response to a result of the correlation analysis not satisfying the specified condition, the first audio data is corrected.
  • the schedule may be changed to the second schedule.
  • the external electronic device includes a first external microphone and a second external microphone
  • the at least one processor determines whether the external electronic device obtains information obtained using the first external microphone.
  • the first audio data and the second audio data acquired by the external electronic device using the second external microphone are received through the wireless communication circuit, and the first audio data and the second audio data are the first and second audio data.
  • a correlation between each of the first audio data and the second audio data and the second reference data may be analyzed.
  • the at least one processor selects one of the first audio data and the second audio data that satisfies a specified condition based on a correlation analysis result, and
  • the video file may be generated based on the first video data and the selected audio data.
  • the at least one processor selects one of the first audio data and the second audio data that satisfies a specified condition based on a correlation analysis result, and A delay time of the selected audio data compared to the second reference data may be identified, and delays of the first audio data and the second audio data may be corrected based on the delayed time.
  • the at least one processor analyzes a correlation between the second reference data and the first audio data, determines whether a result of the correlation analysis satisfies a specified condition, and determines whether the correlation analysis result satisfies a specified condition.
  • a delay of the first audio data is corrected based on the second reference data, and the moving picture file is based on the first video data and the corrected first audio data.
  • the electronic device further includes a display operatively connected to the at least one processor, wherein the at least one processor determines whether audio data included in the video file is obtained from the external electronic device.
  • a user interface indicating whether the data is obtained through the microphone may be displayed on the display.
  • An operating method of an electronic device includes obtaining first video data using a camera included in the electronic device and performing a first schedule during a first time interval using a microphone included in the electronic device.
  • Obtaining first reference data according to the method receiving first audio data corresponding to the first video data from an external electronic device through a wireless communication circuit included in the electronic device, and a portion of the first audio data. and an operation of changing the first schedule to a second schedule based on a comparison result between the first reference data and the second schedule according to the second schedule during a second time interval following the first time interval using the microphone.
  • Obtaining reference data, correcting a delay of the first audio data based on the second reference data, and generating a video file based on the first video data and the corrected first audio data Actions may be included.
  • the changing of the first schedule to the second schedule includes changing a period of activating the microphone or changing a duration of activating the microphone. At least one of the operations may be included.
  • the correcting of the delay of the first audio data based on the second reference data includes analyzing a correlation between the second reference data and the first audio data.
  • An operation of determining a delay time of the first audio data compared to the second reference data based on a result of correlation analysis, and an operation of correcting a delay of the first audio data based on the delayed time. can do.
  • the comparing of a part of the first audio data with the first reference data may include applying a first noise filter to the first reference data, and the first reference data.
  • An operation of applying a second noise filter to audio data an operation of analyzing a correlation between a part of the first audio data to which the second noise filter is applied and the first reference data to which the first noise filter is applied, and a condition in which the result of the correlation analysis is specified and correcting the delay of the first audio data based on the first reference data to which the first noise filter is applied, in response to a result of the correlation analysis satisfying the specified condition.
  • changing the first schedule to the second schedule in response to a result of the correlation analysis not satisfying the specified condition.
  • An electronic device includes a wireless communication circuit for transmitting and receiving data to and from an external electronic device including a camera, a microphone, a first external microphone, and a second external microphone, and a camera, the microphone, and the wireless communication circuit It may include at least one processor operatively connected thereto.
  • the at least one processor obtains first video data using the camera, obtains reference data according to a designated schedule using the microphone, and obtains first video data corresponding to the first video data from the external electronic device. Audio data is received through the wireless communication circuit, a delay of the first audio data is corrected based on a comparison result between the first audio data and the reference data, and the first video data and the corrected first audio data are corrected.
  • a video file can be created based on the audio data.
  • the designated schedule may include a period and duration of activating the microphone.
  • the at least one processor may deactivate the microphone for a time not included in the duration.
  • the at least one processor receives a user input from a user to start capturing a video, controls the camera to obtain the first video data, and via the wireless communication circuit.
  • a signal for controlling the external electronic device to obtain the first audio data may be transmitted.
  • the at least one processor receives a user input from a user to stop capturing a video, controls the camera to stop acquiring the first video data, and the wireless communication circuit A signal for controlling the external electronic device to stop acquiring the first audio data may be transmitted through

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Studio Devices (AREA)

Abstract

본 문서의 일 실시 예에 따른 전자 장치는, 카메라를 이용하여 제1 비디오 데이터를 획득하고, 마이크를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득하고, 외부 전자 장치로부터 상기 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 무선 통신 회로를 통해 수신하고, 상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과에 기반하여 상기 제1 스케줄을 제2 스케줄로 변경하고, 상기 마이크를 이용하여 상기 제1 시간 구간에 후속하는 제2 시간 구간동안 상기 제2 스케줄에 따라 제2 기준 데이터를 획득하고, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하고, 상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다. 이 외에도 명세서를 통해 파악되는 다양한 실시 예가 가능하다.

Description

동영상을 촬영하는 전자 장치 및 그 동작 방법
본 개시의 다양한 실시 예들은 외부 장치를 통해 획득한 오디오를 포함하는 동영상 파일을 생성하는 기술에 관한 것이다.
최근 모바일 디바이스의 기능이 다양화되면서 모바일 디바이스를 이용한 사진 촬영이나 동영상 촬영 기능의 향상에 대한 요구도 늘어나고 있다. 이에 따라 모바일 디바이스는 다양한 동영상 촬영 기능을 수행할 수 있다.
또한 기술의 발달에 따라, 무선 통신을 통해 수신되는 데이터에 기반하여 오디오를 출력하는 다양한 외부 전자 장치가 개발되고 있다. 이러한 오디오 출력 장치는 전자 장치(예: 스마트폰, 태블릿 등의 모바일 디바이스, 노트북, 또는 PC)와 근거리 무선 통신 중 블루투스 통신을 연결하여 데이터를 주고받을 수 있기 때문에, 블루투스 이어폰(또는, 이어 버드)으로 지칭될 수 있다. 블루투스 이어폰은 기존 유선 이어폰과 달리 사용자에게 활동성 및 편의성을 제공한다는 점에서, 최근 블루투스 이어폰을 사용하는 사용자가 늘어나고 있다.
블루투스 이어폰은 무선 통신을 통해 수신되는 오디오를 출력할 뿐만 아니라, 블루투스 이어폰에 포함되는 마이크를 이용하여 오디오 데이터를 획득할 수 있다. 블루투스 이어폰이 녹음한 오디오 데이터를 블루투스 통신을 통해 전자 장치(예: 모바일 디바이스)에 송신하는 경우, 전자 장치는 상기 오디오 데이터를 수신할 수 있다.
종래 기술에 따르면, 전자 장치가 카메라를 이용하여 비디오를 촬영하고 외부 전자 장치의 마이크를 통해 오디오를 녹음하는 경우, 상기 비디오와 상기 오디오는 서로 시간적으로 동기화(synchronization)되지 않는 문제가 발생될 수 있다. 외부 전자 장치에서 전자 장치로 오디오 데이터가 전달되는 동안, 무선 통신 경로가 공유됨에 따른 지연, 간섭이나 데이터 수신 실패에 따른 재전송 등에 의해 딜레이 된 오디오 데이터가 전달되므로, 전자 장치는 비디오 데이터와 시간적으로 동기화되지 않은 오디오 데이터를 수신하게 될 수 있다. 따라서 전자 장치가 서로 다른 시점에 획득된 비디오와 오디오를 믹싱(mixing)하여 비디오 렌더링(video rendering)을 하는 경우 부자연스러운 동영상 파일이 생성될 수 있다. 비디오와 오디오가 동기화되지 않는 경우, 사용자는 비디오와 오디오의 싱크가 맞지 않는 동영상 파일을 획득하는 문제가 발생될 수 있다.
본 개시의 다양한 실시 예에 따르면, 전자 장치가 촬영한 비디오 데이터와 외부 전자 장치가 녹음한 오디오 데이터를 이용하여 동영상 파일을 생성하는 경우, 비디오 데이터와 오디오 데이터가 동기화된 동영상 파일을 생성할 수 있다.
본 개시의 일 실시 예에 따른 전자 장치(electronic device)는, 카메라, 마이크, 외부 전자 장치와 데이터를 송수신하는 무선 통신 회로, 및 상기 카메라, 상기 마이크, 및 상기 무선 통신 회로와 전기적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 카메라를 이용하여 제1 비디오 데이터를 획득하고, 상기 마이크를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득하고, 상기 외부 전자 장치로부터 상기 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고, 상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과에 기반하여 상기 제1 스케줄을 제2 스케줄로 변경하고, 상기 마이크를 이용하여 상기 제1 시간 구간에 후속하는 제2 시간 구간동안 상기 제2 스케줄에 따라 제2 기준 데이터를 획득하고, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하고, 상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다.
본 개시의 일 실시 예에 따른 전자 장치의 동작 방법은, 상기 전자 장치에 포함된 카메라를 이용하여 제1 비디오 데이터를 획득하는 동작, 상기 전자 장치에 포함된 마이크를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득하는 동작, 상기 전자 장치에 포함된 무선 통신 회로를 통해, 외부 전자 장치로부터 상기 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 수신하는 동작, 상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과에 기반하여 상기 제1 스케줄을 제2 스케줄로 변경하는 동작, 상기 마이크를 이용하여 상기 제1 시간 구간에 후속하는 제2 시간 구간동안 상기 제2 스케줄에 따라 제2 기준 데이터를 획득하는 동작, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작, 및 상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성하는 동작을 포함할 수 있다.
본 개시의 일 실시 예에 따른 전자 장치는, 카메라, 마이크, 제1 외부 마이크 및 제2 외부 마이크를 포함하는 외부 전자 장치와 데이터를 송수신하는 무선 통신 회로, 및 상기 카메라, 상기 마이크, 및 상기 무선 통신 회로와 전기적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 카메라를 이용하여 제1 비디오 데이터를 획득하고, 상기 마이크를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득하고, 상기 외부 전자 장치가 상기 제1 외부 마이크를 통해 획득한 제1 오디오 데이터, 및 상기 외부 전자 장치가 상기 제2 외부 마이크를 통해 획득한 제2 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고, 상기 제1 오디오 데이터 및 상기 제2 오디오 데이터는 상기 제1 비디오 데이터에 대응함, 상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과 또는 상기 제2 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과 중 적어도 하나에 기반하여 상기 제1 스케줄을 상기 제2 스케줄로 변경하고, 상기 마이크를 이용하여 상기 제1 시간 구간에 후속하는 제2 시간 구간동안 상기 제2 스케줄에 따라 제2 기준 데이터를 획득하고, 상기 제1 오디오 데이터, 및 상기 제2 오디오 데이터 각각과 상기 제2 기준 데이터의 비교 결과를 기반으로 상기 제1 오디오 데이터와 상기 제2 오디오 데이터 중 지정된 조건을 만족하는 어느 하나의 오디오 데이터를 선택하고, 상기 제2 기준 데이터를 기반으로 상기 선택된 오디오 데이터의 딜레이를 보정하고, 상기 제1 비디오 데이터, 및 상기 보정된 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다.
본 개시의 다양한 실시 예에 따르면, 전자 장치가 촬영한 비디오 데이터와 외부 전자 장치가 녹음한 오디오 데이터를 이용하여 동영상 파일을 생성하는 경우, 전자 장치는 서로 시간적으로 동기화된 비디오 데이터와 오디오 데이터를 기반으로 하는 동영상 파일을 획득할 수 있다.
또한, 본 개시의 다양한 실시 예에 따르면, 전자 장치는 한 쌍의 블루투스 이어폰에서 획득된 오디오 데이터를 이용하여 스테레오(stereo) 오디오 데이터를 포함하는 동영상 파일을 획득할 수 있다. 사용자는 스테레오 오디오 데이터를 포함하는 동영상 파일을 통해 현장감이나 생동감을 느낄 수 있다.
또한, 본 개시의 다양한 실시 예에 따르면, 전자 장치는 비디오 데이터와 오디오 데이터의 동기화를 수행함에 있어서, 주변 환경에 적응적으로(adaptively) 오디오 데이터의 딜레이를 보정할 수 있다.
본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있다.
도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시 예들에 따른 카메라 모듈을 예시하는 블록도이다.
도 3은 일 실시 예에 따른 전자 장치가 동영상 파일을 생성하기 위한 구성을 나타내는 블록도이다.
도 4는 일 실시 예에 따른 외부 전자 장치의 예를 도시한다.
도 5는 일 실시 예에 따른 외부 전자 장치의 구성을 나타내는 블록도이다.
도 6은 일 실시 예에 따른 전자 장치가 외부 전자 장치로부터 오디오 데이터를 획득하는 예를 도시한다.
도 7a는 일 실시 예에 따른 전자 장치가 외부 전자 장치로부터 획득한 오디오 데이터의 딜레이를 보정하는 예를 도시한다.
도 7b는 일 실시 예에 따른 전자 장치가 외부 전자 장치로부터 획득한 제1 오디오 데이터를 기반으로 동영상 파일을 생성하는 동작을 도시하는 순서도이다.
도 8은 일 실시 예에 따른 전자 장치가 기준 데이터와 오디오 데이터의 상관을 분석하는 예를 도시한다.
도 9a는 일 실시 예에 따른 전자 장치가 기준 데이터를 획득하는 스케줄을 변경하는 예를 도시한다.
도 9b는 일 실시 예에 따른 전자 장치가 제1 오디오 데이터의 일부 및 제1 기준 데이터를 기반으로 제1 스케줄을 제2 스케줄로 변경하는 예를 도시한다.
도 9c는 일 실시 예에 따른 전자 장치가 외부 전자 장치로부터 획득한 제1 오디오 데이터를 기반으로 동영상 파일을 생성하는 동작을 도시하는 순서도이다.
도 10은 일 실시 예에 따른 전자 장치가 기준 데이터 및 오디오 데이터에 노이즈 필터를 적용하는 예를 도시한다.
도 11은 일 실시 예에 따른 외부 전자 장치가 복수의 외부 마이크를 포함하는 경우의 예를 도시한다.
도 12a는 일 실시 예에 따른 전자 장치가 오디오 데이터를 선택적으로 이용하여 동영상 파일을 생성하는 예를 도시한다.
도 12b는 일 실시 예에 따른 전자 장치가 디스플레이에 표시하는 UI(user interface)의 예를 도시한다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.
도 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))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(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) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(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)를 확인 또는 인증할 수 있다.
무선 통신 모듈(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 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시 예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시 예에 따르면, 명령 또는 데이터는 제 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시 예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시 예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 2는 다양한 실시 예들에 따른 카메라 모듈(180)을 예시하는 블록도(200)이다. 도 2를 참조하면, 카메라 모듈(180)은 렌즈 어셈블리(210), 플래쉬(220), 이미지 센서(230), 이미지 스태빌라이저(240), 메모리(250)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(260)를 포함할 수 있다. 렌즈 어셈블리(210)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 렌즈 어셈블리(210)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 복수의 렌즈 어셈블리(210)들을 포함할 수 있다. 이런 경우, 카메라 모듈(180)은, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 복수의 렌즈 어셈블리(210)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 렌즈 어셈블리(210)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다.
플래쉬(220)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일 실시 예에 따르면, 플래쉬(220)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 이미지 센서(230)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(210)를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일 실시 예에 따르면, 이미지 센서(230)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(230)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다.
이미지 스태빌라이저(240)는 카메라 모듈(180) 또는 이를 포함하는 전자 장치(101)의 움직임에 반응하여, 렌즈 어셈블리(210)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(230)를 특정한 방향으로 움직이거나 이미지 센서(230)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다. 일 실시 예에 따르면, 이미지 스태빌라이저(240)는, 일 실시 예에 따르면, 이미지 스태빌라이저(240)는 카메라 모듈(180)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라 모듈(180) 또는 전자 장치(101)의 그런 움직임을 감지할 수 있다. 일 실시 예에 따르면, 이미지 스태빌라이저(240)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. 메모리(250)는 이미지 센서(230)를 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: Bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(250)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 디스플레이 모듈(160)을 통하여 프리뷰될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(250)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(260)에 의해 획득되어 처리될 수 있다. 일 실시 예에 따르면, 메모리(250)는 메모리(130)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다.
이미지 시그널 프로세서(260)는 이미지 센서(230)를 통하여 획득된 이미지 또는 메모리(250)에 저장된 이미지에 대하여 하나 이상의 이미지 처리들을 수행할 수 있다. 상기 하나 이상의 이미지 처리들은, 예를 들면, 깊이 지도(depth map) 생성, 3차원 모델링, 파노라마 생성, 특징점 추출, 이미지 합성, 또는 이미지 보상(예: 노이즈 감소, 해상도 조정, 밝기 조정, 블러링(blurring), 샤프닝(sharpening), 또는 소프트닝(softening)을 포함할 수 있다. 추가적으로 또는 대체적으로, 이미지 시그널 프로세서(260)는 카메라 모듈(180)에 포함된 구성 요소들 중 적어도 하나(예: 이미지 센서(230))에 대한 제어(예: 노출 시간 제어, 또는 리드 아웃 타이밍 제어 등)를 수행할 수 있다. 이미지 시그널 프로세서(260)에 의해 처리된 이미지는 추가 처리를 위하여 메모리(250)에 다시 저장되거나 카메라 모듈(180)의 외부 구성 요소(예: 메모리(130), 디스플레이 모듈(160), 전자 장치(102), 전자 장치(104), 또는 서버(108))로 제공될 수 있다. 일 실시 예에 따르면, 이미지 시그널 프로세서(260)는 프로세서(120)의 적어도 일부로 구성되거나, 프로세서(120)와 독립적으로 운영되는 별도의 프로세서로 구성될 수 있다. 이미지 시그널 프로세서(260)가 프로세서(120)와 별도의 프로세서로 구성된 경우, 이미지 시그널 프로세서(260)에 의해 처리된 적어도 하나의 이미지는 프로세서(120)에 의하여 그대로 또는 추가의 이미지 처리를 거친 후 디스플레이 모듈(160)을 통해 표시될 수 있다.
일 실시 예에 따르면, 전자 장치(101)는 각각 다른 속성 또는 기능을 가진 복수의 카메라 모듈(180)들을 포함할 수 있다. 이런 경우, 예를 들면, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다.
도 3은 일 실시 예에 따른 전자 장치(300)가 동영상 파일을 생성하기 위한 구성을 나타내는 블록도이다.
도 3을 참조하면, 전자 장치(300)는 카메라(310), 마이크(320), 무선 통신 회로(330), 및 프로세서(340)를 포함할 수 있다. 도 3의 전자 장치(300)는 도 1의 전자 장치(101)에 대응할 수 있다. 도 3의 카메라(310)는 도 1 및 도 2에 도시된 카메라 모듈(180)에 대응되거나 카메라 모듈(180)에 포함되는 것으로 이해될 수 있다. 도 3의 마이크(320)는 도 1의 입력 모듈(150)에 포함되는 것으로 이해될 수 있다. 도 3의 무선 통신 회로(330)는 도 1의 무선 통신 모듈(192)에 포함되는 것으로 이해될 수 있다. 도 3의 프로세서(340)는 도 1의 프로세서(120)에 대응될 수 있다.
일 실시 예에 따르면, 카메라(310)는 렌즈 어셈블리(210), 및 이미지 센서(230)를 포함할 수 있다. 이미지 센서(230)는 CMOS(complementary metal oxide semiconductor) 센서일 수 있다. 이미지 센서(230)에는 복수의 개별 픽셀들(pixels)이 집적되며, 각 개별 픽셀은 마이크로 렌즈(micro lens), 컬러 필터 및 PD(photodiode)를 포함할 수 있다. 각 개별 픽셀은 일종의 광 검출기로서 입력되는 광을 전기적 신호로 변환시킬 수 있다. 예를 들면, 이미지 센서(230)는 렌즈 어셈블리(210)를 통해 수광된 빛이 수광 소자의 광전 효과를 통해 발생시킨 전류를 증폭시킬 수 있다.
일 실시 예에 따르면, 카메라(310)는 비디오 데이터를 획득할 수 있다. 프로세서(340)는 카메라(310)를 이용하여 복수의 이미지 프레임들을 포함하는 비디오 데이터를 획득할 수 있다. 카메라(310)는 상기 복수의 이미지 프레임들을 포함하는 비디오 데이터를 프로세서(340)에 제공할 수 있다. 예를 들면, 이미지 센서(230)는 렌즈 어셈블리(210)를 통해 수광된 빛에 대응하는 이미지 프레임을 연속적으로 획득하여 프로세서(340)(또는, 이미지 시그널 프로세서(260))에 제공할 수 있다. 일 실시 예에 따르면, 프로세서(340)는 카메라(310)를 이용하여 제1 비디오 데이터를 획득할 수 있다.
일 실시 예에 따르면, 마이크(320)는 오디오 데이터를 획득할 수 있다. 프로세서(340)는 마이크(320)를 통해 오디오 데이터를 획득할 수 있다. 예를 들면, 프로세서(340)는 마이크(320)를 통해 사용자의 음성 데이터, 및/또는 주변 환경으로부터 발생하는 오디오 데이터를 획득할 수 있다.
일 실시 예에 따르면, 마이크(320)는 복수 개의 마이크를 포함할 수도 있다. 예를 들면, 프로세서(340)는 복수 개의 마이크를 통해 오디오 데이터 세트를 획득할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 마이크(320)를 이용하여 기준 데이터를 획득할 수 있다. 기준 데이터란 외부 전자 장치(400)로부터 수신된 오디오 데이터와 비교할 수 있는 기준 신호(reference signal)로 이해될 수 있다. 본 명세서에서는 마이크(320)가 획득할 수 있는 오디오 데이터 중에서, 본 개시의 실시 예를 수행하기 위해 획득된 데이터가 기준 데이터로 지칭될 수 있다.
일 실시 예에 따르면, 프로세서(340)는 마이크(320)를 이용하여 지정된 시간 구간동안 지정된 스케줄에 따라 기준 데이터를 획득할 수 있다. 예를 들면, 프로세서(340)는 마이크(320)를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득할 수 있고, 제1 시간 구간에 후속하는 제2 시간 구간동안 제2 스케줄에 따라 제2 기준 데이터를 획득할 수 있다. 지정된 시간 구간동안 지정된 스케줄에 따라 획득된 기준 데이터에 대해서는 도 6 및 도 9a를 참조하여 후술한다.
일 실시 예에 따르면, 무선 통신 회로(330)는 외부 전자 장치(400)와 데이터를 송수신할 수 있다. 프로세서(340)는 무선 통신 회로(330)를 통해 외부 전자 장치(400)로부터 데이터를 수신할 수 있다. 예를 들면, 프로세서(340)는 무선 통신 회로(330)를 통해 외부 전자 장치(400)가 녹음한 제1 오디오 데이터를 수신할 수 있다. 프로세서(340)는 무선 통신 회로(330)를 통해 외부 전자 장치(400)에 데이터를 송신할 수도 있다. 예를 들면, 프로세서(340)는 무선 통신 회로(330)를 통해 외부 전자 장치(400)에 제1 오디오 데이터의 녹음을 시작하거나 멈추는 신호를 송신할 수 있다. 다른 예를 들면, 프로세서(340)는 무선 통신 회로(330)를 통해 외부 전자 장치(400)가 출력할 오디오를 전송할 수도 있다.
일 실시 예에 따르면, 무선 통신 회로(330)는 무선 네트워크를 통해 외부 전자 장치(400)와 데이터를 송수신할 수 있다. 예를 들면, 무선 통신 회로(330)는 근거리 통신 네트워크(예: 블루투스, 또는 WiFi)를 통해 외부 전자 장치(400)와 통신할 수 있다. 무선 통신 회로(330)와 외부 전자 장치(400)의 통신 방식과 관련하여 도 4를 참조하여 후술한다.
일 실시 예에 따르면, 프로세서(340)는 적어도 하나의 프로세서로 이해될 수 있다. 예를 들면, 프로세서(340)는 AP(application processor) 또는 CP(communication processor) 중 적어도 하나의 프로세서를 의미하는 것으로 이해될 수 있다. 일 실시 예에 따르면, 프로세서(340)는 카메라(310)를 통해 획득한 비디오 데이터, 마이크(320)를 통해 획득한 기준 데이터, 및 무선 통신 회로(330)를 통해 획득한 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다.
도 4는 일 실시 예에 따른 외부 전자 장치(400)의 예를 도시한다.
도 4를 참조하면, 전자 장치(300)는 외부 전자 장치(400)와 무선 네트워크를 통해 통신할 수 있다. 프로세서(340)는 무선 통신 회로(330)를 통해 외부 전자 장치(400)와 데이터를 송수신할 수 있다.
일 실시 예에 따르면, 외부 전자 장치(400)는 사용자의 신체 중 일부(예: 양쪽 귀)에 착용될 수 있도록 한 쌍으로 구성될 수 있다. 예를 들면, 외부 전자 장치(400)는 사용자의 왼쪽 귀에 착용될 수 있는 제1 이어 버드(400a)와 사용자의 오른쪽 귀에 착용될 수 있는 제2 이어 버드(400b)를 포함할 수 있다.
일 실시 예에 따르면, 외부 전자 장치(400)는 외부 마이크를 포함할 수 있다. 본 개시에서 외부 마이크란, 전자 장치(300)에 포함된 마이크(320)와 구별되는, 외부 전자 장치(400)에 포함된 마이크를 의미하는 것으로 이해될 수 있다. 예를 들면, 제1 이어 버드(400a)는 제1 외부 마이크(412)를 포함하고, 제2 이어 버드(400b)는 제2 외부 마이크(414)를 포함할 수 있다. 제1 이어 버드(400a)는 제1 외부 마이크(412)를 통해 제1 오디오 데이터를 획득할 수 있고, 제2 이어 버드(400b)는 제2 외부 마이크(414)를 통해 제2 오디오 데이터를 획득할 수 있다. 일 실시 예에 따르면, 제1 이어 버드(400a) 및 제2 이어 버드(400b)는 각각 무선 네트워크를 통해 전자 장치(300)에 제1 오디오 데이터 및 제2 오디오 데이터를 송신할 수 있다. 예를 들면, 제1 이어 버드(400a)는 무선 데이터 송수신 경로(41)를 통해 전자 장치(300)와 데이터를 송수신할 수 있고, 제2 이어 버드(400b)는 무선 데이터 송수신 경로(42)를 통해 전자 장치(300)와 데이터를 송수신할 수 있다. 외부 전자 장치(400)는 외부 마이크(412, 414)를 통해 획득한 오디오 데이터(예: 제1 오디오 데이터, 제2 오디오 데이터)를 전자 장치(300)로 송신할 수 있다. 전자 장치(300)는 무선 통신 회로(330)를 통해 외부 전자 장치(400)가 획득한 오디오 데이터(예: 제1 오디오 데이터, 제2 오디오 데이터)를 수신할 수 있다. 일 실시 예에 따르면, 외부 전자 장치(400)는 상기 무선 데이터 송수신을 이용하여, 전자 장치(300)가 외부 전자 장치(400)로 전송한 데이터에 대한 응답 신호를 전송하거나, 외부 전자 장치(400)에서 생성한 데이터(예: 센서를 통해 획득한 센서 값)를 전송하거나, 외부 전자 장치(400)의 상태 정보(예: 배터리 잔량)를 전송할 수도 있다.
일 실시 예에 따르면, 외부 전자 장치(400)는 사용자의 신체에 착용된 상태에서 오디오를 출력할 수 있다. 일 실시 예에 따르면, 제1 이어 버드(400a) 및 제2 이어 버드(400b)는 무선 데이터 송수신을 이용하여 전자 장치(300)로부터 각각 오디오를 수신할 수 있고, 수신된 오디오를 출력할 수 있다. 예를 들면, 제1 이어 버드(400a) 및 제2 이어 버드(400b)는 각각 스피커를 포함하고, 상기 스피커를 통해 전자 장치(300)로부터 수신한 오디오를 출력할 수 있다.
일 실시 예에 따르면, 무선 데이터 송수신 경로(41, 42)는, 블루투스 통신 기법(Bluetooth communication scheme)을 위한 경로, BLE 통신 기법(Bluetooth low energy communication scheme)을 위한 경로, Wi-Fi(wireless fidelity) 다이렉트(direct) 통신 기법을 위한 경로, 및 모바일 통신 기법(예: 셀룰러 통신, 사이드링크(sidelink))을 위한 경로 중 적어도 하나를 포함할 수 있다. 예를 들면, 블루투스 통신 기법 또는 BLE 통신 기법을 이용하는 경우, 외부 전자 장치(400) 및 전자 장치(300)는 서로의 무선 통신 어드레스(address)를 확인할 수 있고 통신을 수행할 수 있다.
일 실시 예에 따르면, 외부 전자 장치(400)는 전자 장치(300)와 TWS+ 또는 AoBLE(audio over BLE) 통신 방식으로 데이터를 송수신할 수 있다. 외부 전자 장치(400)가 TWS+ 또는 AoBLE 통신 방식을 이용하는 경우, 제1 이어 버드(400a)와 제2 이어 버드(400b)는 각각 전자 장치(300)와 통신을 연결하여 정보를 전달할 수 있다. 다른 실시 예에서, 외부 전자 장치(400)는 전자 장치(300)와 스니핑(sniffing) 방식으로 데이터를 송수신하거나, 릴레이(relay) 방식으로 데이터를 송수신할 수 있다. 예를 들면, 제1 이어 버드(400a)는 제2 이어 버드(400b)로부터 데이터를 수신하여 제1 이어 버드(400a)가 획득한 데이터와 함께 전자 장치(300)에 송신할 수 있다. 다른 예를 들면, 제1 이어 버드(400a)는, 제2 이어 버드(400b)로부터 수신한 데이터와 제1 이어 버드(400a)가 획득한 데이터를 시간 구간을 나누어 전자 장치(300)에 송신할 수 있다. 다른 예를 들면, 제1 이어 버드(400a)는 제2 이어 버드(400b)로부터 수신한 데이터를 전자 장치(300)에 송신할 수 있다. 이 외에도 통상의 기술자가 구현할 수 있는, 전자 장치(300)와 외부 전자 장치(400)가 데이터를 송수신하는 다양한 통신 방식이 이용될 수 있다.
일 실시 예에 따르면, 도 4와 관련한 설명 중에서 외부 전자 장치(400)에 대한 설명은 외부 마이크의 개수에 대한 설명을 제외하고 외부 전자 장치(402)에도 적용될 수 있다. 즉, 외부 전자 장치(402)는 제1 이어 버드(402a), 제2 이어 버드(402b)를 포함할 수 있고, 전자 장치(300)는 제1 이어 버드(402a) 및 제2 이어 버드(402b)와 각각 통신을 연결하여 데이터를 송수신할 수 있다. 예를 들면, 제1 이어 버드(402a)는 무선 데이터 송수신 경로(43)를 통해 전자 장치(300)와 데이터를 송수신할 수 있고, 제2 이어 버드(402b)는 무선 데이터 송수신 경로(44)를 통해 전자 장치(300)와 데이터를 송수신할 수 있다. 무선 데이터 송수신 경로(41, 42)에 대한 설명은 무선 데이터 송수신 경로(43, 44)에도 적용될 수 있다.
일 실시 예에 따르면, 외부 전자 장치(402)는 2개 이상의 외부 마이크를 포함할 수 있다. 예를 들면, 제1 이어 버드(402a)는 제1 외부 마이크(422), 제2 외부 마이크(423)를 포함하고, 제2 이어 버드(402b)는 제3 외부 마이크(424), 제4 외부 마이크(425)를 포함할 수 있다. 제1 이어 버드(402a)는 제1 외부 마이크(422)를 통해 획득한 제1 오디오 데이터, 및 제2 외부 마이크(423)를 통해 획득한 제2 오디오 데이터를 전자 장치(300)에 송신할 수 있다. 제2 이어 버드(402b)는 제3 외부 마이크(424)를 통해 획득한 제3 오디오 데이터, 및 제4 외부 마이크(425)를 통해 획득한 제4 오디오 데이터를 전자 장치(300)에 송신할 수 있다. 전자 장치(300)는 제1 이어 버드(402a)로부터 제1 오디오 데이터와 제2 오디오 데이터를 수신할 수 있고, 제2 이어 버드(402b)로부터 제3 오디오 데이터와 제4 오디오 데이터를 수신할 수 있다. 예를 들어 제1 이어 버드(402a)는 시간 구간을 나누어(예: 재전송 구간을 이용) 제1 오디오 데이터와 제2 오디오 데이터를 전자 장치(300)에 각각 송신할 수 있다. 다른 실시 예에서, 제1 이어 버드(402a)는 제1 외부 마이크(422)를 통해 획득한 제1 오디오 데이터 및 제2 외부 마이크(423)를 통해 획득한 제2 오디오 데이터 중에서 지정된 조건(예: 오디오의 품질이 더 나은 오디오 데이터)을 만족하는 오디오 데이터를 전자 장치(300)에 전송할 수도 있다. 다른 실시 예에서, 제1 이어 버드(402a)는 제1 오디오 데이터와 제2 오디오 데이터를 병합하여 전자 장치(300)에 전송할 수도 있다.
도 4는 외부 전자 장치(400, 402)의 형태를 제한하는 것이 아니며, 외부 마이크(412, 414, 422, 423, 424, 또는 425)를 포함하고 전자 장치(300)와 무선 네트워크로 통신할 수 있는 다양한 형태의 외부 전자 장치(400, 402)에 대해 본 개시의 실시 예들이 적용될 수 있다. 또한 이하에서는 외부 전자 장치(400)를 기준으로 실시 예들을 설명하나, 외부 전자 장치(400)에 적용될 수 있는 실시 예들은 외부 전자 장치(402)에서 적용될 수 있을 것이다.
도 5는 일 실시 예에 따른 외부 전자 장치(400)의 구성을 나타내는 블록도이다.
도 5를 참조하면, 외부 전자 장치(400)(예: 제1 이어 버드(400a), 제2 이어 버드(400b))는 내부 공간에 배치되는 다수의 전자 부품들을 포함할 수 있다. 일 실시 예에 따르면, 외부 전자 장치(400)는 무선 통신 회로(510), 입력 장치(520), 센서(530), 오디오 처리 회로(540), 스피커(541), 외부 마이크(542), 메모리(550), 전력 관리 회로(560), 배터리(570), 및 제어 회로(580)를 포함할 수 있다. 다만 이에 한정되지 않으며, 상기 전자 부품 중 하나 이상이 생략되거나 이 외의 전자 부품들이 더 포함될 수 있다. 본 개시의 다양한 실시 예에서, 외부 전자 장치(400)는 제1 이어 버드(400a) 및 제2 이어 버드(400b) 각각을 의미할 수 있다.
일 실시 예에 따르면, 무선 통신 회로(510)는 안테나를 이용하여 다양한 형태의 통신을 지원할 수 있다. 일 실시 예에 따르면, 무선 통신 회로(510)는 전자 장치(300)(또는, 서버, 스마트 폰, PC, PDA 또는 액세스 포인트)로부터 오디오가 수신되는 것을 지원할 수 있다. 일 실시 예에 따르면, 무선 통신 회로(510)는 전자 장치(300)로 오디오 데이터(예: 제1 오디오 데이터)가 전송되는 것을 지원할 수도 있다.
일 실시 예에 따르면, 입력 장치(520)는 외부 전자 장치(400) 운용에 필요한 다양한 입력 신호를 생성하도록 구성될 수 있다. 입력 장치(520)는 터치 패드, 터치 패널, 및/또는 버튼을 포함할 수 있다. 예를 들면, 터치 패드는 정전식, 감압식, 적외선 방식, 및 초음파 방식 중 적어도 하나의 방식으로 터치 입력을 인식할 수 있다. 예를 들면, 버튼은 물리적인 버튼 및/또는 광학식 버튼을 포함할 수 있다.
일 실시 예에 따르면, 입력 장치(520)는 외부 전자 장치(400) 전원의 온(on) 또는 오프(off)에 관한 사용자 입력을 생성할 수 있다. 일 실시 예에 따르면, 입력 장치(520)는 외부 전자 장치(400) 및 전자 장치(300)와의 통신(예: 근거리 통신) 연결에 관한 사용자 입력을 생성할 수 있다.
일 실시 예에 따르면, 입력 장치(520)는 오디오(예: 오디오 컨텐츠)의 출력에 연관하는 사용자 입력을 생성할 수 있다. 예를 들면, 사용자 입력은 오디오의 재생 시작, 재생 일시 중지, 재생 중지, 재생 속도 조절, 재생 볼륨 조절 또는 음소거 기능에 연관할 수 있다.
일 실시 예에 따르면, 센서(530)는 외부 전자 장치(400)와 관련된 물리적인 데이터를 측정하거나 외부 전자 장치(400)의 작동 상태를 감지할 수 있다. 또한, 센서(530)는 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 일 실시 예에 따르면 센서(530)는 근접 센서, 가속도 센서, 자이로 센서, 지자기 센서, 마그네틱 센서, 제스처 센서, 그립 센서, 또는 생체 센서 중 적어도 하나를 포함할 수 있다. 일 실시 예에 따르면, 센서(530)는 외부 전자 장치(400)가 사용자의 신체에 착용된 상태인지에 관한 정보 또는 신호를 검출할 수 있다.
일 실시 예에 따르면, 오디오 처리 회로(540)는 오디오 디코더 및 D/A 컨버터를 포함할 수 있다. 오디오 디코더는 전자 장치(300)로부터 수신되어 메모리(550)에 저장되어 있는 오디오 데이터를 디지털 오디오 신호로 변환할 수 있고, D/A 컨버터는 상기 오디오 디코더에 의해 변환된 디지털 오디오 신호를 아날로그 오디오 신호로 변환시킬 수 있다. 스피커(541)는 D/A 컨버터에 의해 변환된 아날로그 오디오 신호를 출력할 수 있다.
일 실시 예에 따르면, 오디오 처리 회로(540)는 A/D 컨버터 및 오디오 인코더를 포함할 수 있다. A/D 컨버터는 외부 마이크(542)를 통해 획득한 아날로그 오디오 신호를 디지털 오디오 신호로 변환할 수 있고, 오디오 인코더는 상기 디지털 오디오 신호를 오디오 데이터(예: 제1 오디오 데이터)로 변환할 수 있다.
일 실시 예에 따르면, 오디오 처리 회로(540)는 제어 회로(580)에 포함되도록 설계될 수도 있다.
일 실시 예에 따르면, 메모리(550)는 외부 전자 장치(400)의 운용에 필요한 다양한 운영 체제 및 다양한 사용자 기능에 해당하는 데이터 또는 응용 프로그램과 알고리즘을 저장할 수 있다. 메모리(550)는 하나 이상의 자기 디스크 저장 장치와 같은 고속 랜덤 액세스 메모리 및/또는 비휘발성 메모리, 하나 이상의 광 저장 장치 및/또는 플래시 메모리(예: NAND, NOR)를 포함할 수 있다.
일 실시 예에 따르면, 메모리(550)는 전자 장치(300)로부터 수신한 비휘발성 오디오 데이터를 저장하는 비휘발성 메모리를 포함할 수 있다. 일 실시 예에 따르면, 메모리(550)는 전자 장치(300)로부터 수신한 휘발성 오디오 데이터를 저장하는 휘발성 메모리를 포함할 수 있다.
일 실시 예에 따르면, 전력 관리 회로(560)(예: PMIC(power management integrated circuit))는 외부 전자 장치(400) 내에서 배터리(570)의 전력 사용을 효율적으로 관리하고 최적화할 수 있다. 일 실시 예에 따르면, 제어 회로(580)는 처리해야 하는 부하(load)에 맞추어 그에 따른 신호를 전력 관리 회로(560)로 전송할 수 있다. 전력 관리 회로(560)는 제어 회로(580)에 공급하는 전력을 조정할 수 있다.
일 실시 예에 따르면, 전력 관리 회로(560)는 배터리 충전 회로를 포함할 수 있다. 일 실시 예에 따르면, 전력 공급 장치에 외부 전자 장치(400)가 결합되는 경우, 전력 관리 회로(560)는 전력 공급 장치로부터 전력을 제공받아 배터리(570)를 충전시킬 수 있다. 일 실시 예에 따르면, 전력 관리 회로(560)는 외부 전자 장치(400)와 전력 공급 장치 사이 전력선(PLC) 통신을 지원할 수 있고, 외부 전자 장치(400)는 전력선(PLC) 통신을 통하여 전력 공급 장치와 데이터를 송수신할 수 있다.
일 실시 예에 따르면, 전력 관리 회로(560)는 무선 충전 회로를 포함할 수 있다. 무선 충전 회로는 외부 장치로부터 전력을 무선으로 수신할 수 있고, 수신한 전력을 이용하여 배터리(570)를 충전시킬 수 있다. 일 실시 예에 따르면, 무선 충전 회로는 외부 전자 장치(400)와 전력 공급 장치 사이 인-밴드(in-band) 통신을 지원할 수 있다. 예를 들면, 인-밴드(in-band) 통신을 이용하는 경우, 외부 전자 장치(400)와 전력 공급 장치는 전력 전달을 위해 동일한 주파수 또는 인접한 주파수를 이용하여 무선 충전 회로를 통해 통신할 수 있다. 이 경우, 무선 충전 회로는 FSK(frequency shift keying) 변조 기법 또는 ASK(amplitude shift keying) 변조 기법을 이용하여 외부 전자 장치(400)와 전력 공급 장치 사이 데이터를 송수신할 수 있다.
일 실시 예에 따르면, 제어 회로(580)는 다양한 데이터를 수집하여 목적하는 출력 값을 연산할 수 있도록 구성될 수 있다. 일 실시 예에 따르면, 제어 회로(580)는 입력 장치(520)로부터의 사용자 입력의 적어도 일부를 기초하여 다양한 동작을 지원할 수 있다.
일 실시 예에 따르면, 제어 회로(580)는 무선 통신 회로(510)를 통하여 전자 장치(300)로부터 오디오 데이터를 수신하고, 수신한 오디오 데이터를 메모리(550)에 저장하도록 설계될 수 있다. 일 실시 예에 따르면, 제어 회로(580)는 전자 장치(300)로부터 비휘발성 오디오 데이터(또는, 다운로드 오디오 데이터)를 수신하고, 수신한 비휘발성 오디오 데이터를 비휘발성 메모리에 저장할 수 있다. 일 실시 예에 따르면, 제어 회로(580)는 외부 장치로부터 휘발성 오디오 데이터(또는, 스트리밍 오디오 데이터)를 수신하고 수신한 휘발성 오디오 데이터를 휘발성 메모리에 저장할 수 있다.
일 실시 예에 따르면, 제어 회로(580)는 메모리(550)에 저장된 오디오 데이터(예: 비휘발성 오디오 데이터 또는 휘발성 오디오 데이터)를 재생하여 스피커(541)를 통하여 출력하도록 제어할 수 있다. 제어 회로(580)는 오디오 데이터를 디코딩하여 오디오 신호를 획득할 수 있고, 획득한 오디오 신호를 스피커(541)를 통하여 출력하도록 제어할 수 있다.
일 실시 예에 따르면, 제어 회로(580)는 센서(530)로부터 획득한 정보의 적어도 일부를 기초하여 다양한 동작을 이행할 수 있다. 예를 들면, 제어 회로(580)는 센서(530)로부터 획득한 정보로부터 외부 전자 장치(400)가 사용자의 신체에 착용된 상태인지를 판단할 수 있다.
일 실시 예에 따르면, 제어 회로(580)는 전력 공급 장치 및/또는 전자 장치(300)로부터 수신한 알람 출력 요청 신호에 응답하여, 해당 효과음 또는 안내 음에 관한 오디오 데이터를 재생하도록 오디오 처리 회로(540)를 제어할 수 있다.
일 실시 예에 따르면, 제어 회로(580)는 무선 통신 회로(510)를 통해 오디오 데이터(예: 제1 오디오 데이터)의 녹음을 시작하거나 멈추라는 신호를 획득할 수 있다. 제어 회로(580)는 무선 통신 회로(510)를 통해 오디오 데이터의 녹음을 시작하라는 신호를 수신한 경우, 오디오 처리 회로(540)가 외부 마이크(542)를 활성화시켜 제1 오디오 데이터를 녹음하도록 제어할 수 있다. 제어 회로(580)는 무선 통신 회로(510)를 통해 오디오 데이터의 녹음을 중지하라는 신호를 수신한 경우, 오디오 처리 회로(540)가 외부 마이크(542)를 비활성화 시켜 제1 오디오 데이터의 녹음을 중지하도록 제어할 수 있다. 일 실시 예에 따르면, 제어 회로(580)는 제1 오디오 데이터를 획득하는 동안, 또는 제1 오디오 데이터의 획득이 종료된 이후, 무선 통신 회로(510)를 통해 전자 장치(300)에 제1 오디오 데이터를 전송할 수 있다.
일 실시 예에 따르면, 외부 전자 장치(400)는 그 제공 형태에 따라 다양한 구성 요소들을 더 포함할 수 있다. 또한, 외부 전자 장치(400)는 그 제공 형태에 따라 전술한 구성 요소 중 특정 구성 요소들이 제외되거나 다른 구성 요소로 대체될 수도 있다.
도 6은 일 실시 예에 따른 전자 장치(300)가 외부 전자 장치(400)로부터 오디오 데이터(610, 620)를 획득하는 예를 도시한다.
도 6을 참조하면, 전자 장치(300)는 카메라(310)를 이용하여 비디오 촬영을 수행할 수 있다. 프로세서(340)는 카메라(310)를 이용하여 제1 비디오 데이터를 획득할 수 있다. 또한, 외부 전자 장치(400)(예: 제1 이어 버드(400a), 제2 이어 버드(400b))는 제1 비디오 데이터가 획득되는 동안, 제1 비디오 데이터에 대응하는 오디오 데이터를 획득할 수 있다. 예를 들면, 제1 이어 버드(400a)는 제1 비디오 데이터에 대응하는 제1 오디오 데이터(610)를 획득할 수 있고, 제2 이어 버드(400b)는 제1 비디오 데이터에 대응하는 제2 오디오 데이터(620)를 획득할 수 있다. 프로세서(340)는 외부 전자 장치(400)로부터 제1 비디오 데이터에 대응하는 오디오 데이터(예: 제1 오디오 데이터(610), 제2 오디오 데이터(620))를 무선 통신 회로(330)를 통해 수신할 수 있다. 예를 들면, 프로세서(340)는 제1 이어 버드(400a)로부터 제1 오디오 데이터(610)를 획득하고 제2 이어 버드(400b)로부터 제2 오디오 데이터(620)를 획득할 수 있다. 다른 예를 들면, 제1 이어 버드(400a)는 제2 이어 버드(400b)로부터 제2 오디오 데이터(620)를 수신할 수 있고, 프로세서(340)는 제1 이어 버드(400a)로부터 제1 오디오 데이터(610) 및 제2 오디오 데이터(620)를 수신할 수도 있다. 이 외에도 프로세서(340)는 다양한 데이터 송수신 경로를 통해 제1 오디오 데이터(610)와 제2 오디오 데이터(620)를 획득할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 외부 전자 장치(400)로부터 딜레이(delay)가 발생된 오디오 데이터(예: 제1 오디오 데이터(610), 제2 오디오 데이터(620))를 수신할 수 있다. 예를 들면, 무선 통신 회로(330)가 무선 데이터 송수신 경로를 통해 오디오 데이터를 수신하는 동안, 제1 이어 버드(400a)와 제2 이어 버드(400b)가 동일한 경로를 이용하기 때문에 발생하는 지연이나 간섭이 발생하거나, 데이터 수신 실패에 따른 재전송에 의한 딜레이가 발생할 수 있다. 따라서 프로세서(340)가 수신한 제1 오디오 데이터(610)(또는, 제2 오디오 데이터(620))는 제1 비디오 데이터와 동기화되지 않은 상태일 수 있다. 예를 들면, 제1 오디오 데이터(610)(또는, 제2 오디오 데이터(620))가 제1 비디오 데이터에 비해 딜레이 된 시간은 무선 데이터 송수신 경로에서 발생한 딜레이에 대응되므로, 유선 데이터 송수신 경로에서 발생하는 딜레이에 비해 클 수 있다. 다른 예를 들면, 제1 오디오 데이터(610)(또는, 제2 오디오 데이터(620))가 제1 비디오 데이터에 비해 딜레이 된 시간은 프로세서(340)가 예측하기 어려울(unpredictable) 수 있다.
일 실시 예에 따르면, 전자 장치(300)는 마이크(320)를 이용하여 제1 비디오 데이터에 대응하는 기준 데이터(600)를 획득할 수 있다. 예를 들면, 기준 데이터(600)는 프로세서(340)가 마이크(320)를 통해 지정된 스케줄에 따라 획득한 오디오 데이터를 의미할 수 있다. 전자 장치(300)는 외부 전자 장치(400)로부터 획득한 오디오 데이터(예: 제1 오디오 데이터(610), 제2 오디오 데이터(620))의 딜레이를 보정하기 위해서, 마이크(320)를 통해 기준 데이터(600)를 획득할 수 있다. 프로세서(340)는 전자 장치(300)에 포함된 마이크(320)를 이용하여 유선 데이터 송수신 경로를 통해 기준 데이터(600)를 획득하므로, 기준 데이터(600)는 제1 비디오 데이터에 비해 딜레이 되지 않았거나 무시할 수 있을 정도로 작은 딜레이를 포함할 수 있다. 기준 데이터(600)는 제1 오디오 데이터(610)(또는, 제2 오디오 데이터(620))의 딜레이를 보정하기 위한 기준 신호로 이해될 수 있다.
일 실시 예에 따르면, 프로세서(340)는 마이크(320)를 이용하여 지정된 스케줄에 따라 기준 데이터(600)를 획득할 수 있다. 도 6을 참조하면, 프로세서(340)는 도 6에 도시된 파형 그래프 중에서 지속시간(604)에 대응하는 시점에 마이크(320)를 활성화시키고, 상기 지속시간(604)에 대응하지 않는 시점에는 마이크(320)를 비활성화 시킬 수 있다. 다른 실시 예에 따르면, 프로세서(340)는 제1 비디오 데이터를 획득하는 시점 중 적어도 일부 시간 구간동안 마이크(320)를 활성화시키고, 마이크(320)를 통해 획득한 데이터 중 일부를 기준 데이터(600)로 이용할 수도 있다.
일 실시 예에 따르면, 지정된 스케줄은 프로세서(340)가 마이크(320)를 활성화시키는 주기(interval)(602) 및 지속시간(duration)(604)을 포함할 수 있다. 예를 들면, 프로세서(340)는 마이크(320)를 지정된 주기(602)마다 지정된 지속시간(604)만큼 활성화시켜 상기 기준 데이터(600)를 획득할 수 있다.
일 실시 예에 따르면, 기준 데이터(600)는 지정된 주기(602)에 따라 지정된 지속시간(604)동안 마이크(320)를 통해 획득된 데이터일 수 있다. 다른 실시 예에 따르면, 지정된 스케줄은 특정 주기와 서로 다른 지속시간을 포함할 수도 있다. 상기 지정된 스케줄은 다양하게 배치된 타임 윈도우(time window)를 포함하는 다양한 윈도우 패턴(window pattern)을 포함할 수 있다. 이외에도 통상의 기술자에게 자명한 다양한 방식의 스케줄이 가능하다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(600)를 기반으로 제1 오디오 데이터(610)(또는, 제2 오디오 데이터(620))의 딜레이를 보정할 수 있다. 딜레이의 보정과 관련하여 도 7a 및 도 8을 참조하여 후술한다.
일 실시 예에 따르면, 프로세서(340)는 제1 비디오 데이터 및 상기 딜레이가 보정된 제1 오디오 데이터(610)(및/또는, 제2 오디오 데이터(620))를 기반으로 동영상 파일을 생성할 수 있다. 상기 동영상 파일은 시간적으로 동기화된 비디오 데이터와 오디오 데이터를 포함할 수 있다.
도 7a는 일 실시 예에 따른 전자 장치(300)가 외부 전자 장치(400)로부터 획득한 오디오 데이터(610, 620)의 딜레이를 보정하는 예를 도시한다.
도 6과 관련하여 설명된 내용 및 참조번호 702를 참조하면, 전자 장치(300)가 외부 전자 장치(400)로부터 획득한 제1 오디오 데이터(610) 및 제2 오디오 데이터(620)는, 기준 데이터(600)에 비해 딜레이 된 상태일 수 있다. 전자 장치(300)는 무선 네트워크를 통해 외부 전자 장치(400)로부터 제1 오디오 데이터(610)와 제2 오디오 데이터(620)를 획득하므로, 프로세서(340)는 기준 데이터(600)와 동기화되지 않은 제1 오디오 데이터(610), 및/또는 제2 오디오 데이터(620)를 획득할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(600)를 기반으로 제1 오디오 데이터(610) 및/또는 제2 오디오 데이터(620)의 딜레이를 보정할 수 있다. 예를 들면, 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 상관(correlation)을 분석할 수 있고, 상관분석 결과를 기반으로 기준 데이터(600)에 비해 제1 오디오 데이터(610)가 딜레이 된 시간(711)을 확인할 수 있고, 상기 딜레이 된 시간(711)을 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다. 예를 들면, 프로세서(340)는 제1 오디오 데이터(610)가 수신된 시점보다 상기 딜레이 된 시간(711)만큼 이른 시점에 제1 오디오 데이터(610)가 획득된 것으로 보아, 제1 비디오 데이터와 제1 오디오 데이터(610)를 동기화할 수 있다. 또한, 프로세서(340)는 기준 데이터(600) 및 제2 오디오 데이터(620)의 상관을 분석할 수 있고, 상관분석 결과를 기반으로 기준 데이터(600)에 비해 제2 오디오 데이터(620)가 딜레이 된 시간(712)을 확인할 수 있고, 상기 딜레이 된 시간(712)을 기반으로 제2 오디오 데이터(620)의 딜레이를 보정할 수 있다. 예를 들면, 프로세서(340)는 제2 오디오 데이터(620)가 수신된 시점보다 상기 딜레이 된 시간(712)만큼 이른 시점에 제2 오디오 데이터(620)가 획득된 것으로 보아, 제1 비디오 데이터와 제2 오디오 데이터(620)를 동기화할 수 있다. 기준 데이터(600)와 제1 오디오 데이터(610)(또는, 제2 오디오 데이터(620))의 상관분석 방법에 대해서는 도 8을 참조하여 후술한다.
일 실시 예에 따르면, 프로세서(340)는 제1 오디오 데이터(610)(또는, 제2 오디오 데이터(620))와 기준 데이터(600)의 유사성을 기반으로 제1 오디오 데이터(610)(또는, 제2 오디오 데이터(620))의 딜레이를 보정할 수 있다. 예를 들면, 프로세서(340)는 기준 데이터(600) 중 특정 영역(721)과 제1 오디오 데이터(610) 중 특정 영역(722)의 유사성이 지정된 값 이상이라고 판단할 수 있다. 다른 예를 들면, 프로세서(340)는 기준 데이터(600) 중 특정 영역(721)과 제1 오디오 데이터(610)를 비교하여 패턴의 유사도가 가장 높은 영역이 상기 특정 영역(722)이라고 판단할 수 있다. 제1 오디오 데이터(610)의 특정 영역(722)에 대한 설명은 제2 오디오 데이터(620)의 특정 영역(723)에 대해서도 적용될 수 있다.
도 7a에서는 제1 오디오 데이터(610)가 딜레이 된 시간(711)과 제2 오디오 데이터(620)가 딜레이 된 시간(712)이 서로 같은 것으로 도시되었으나, 이는 하나의 예시로서, 상기 딜레이 된 시간(711)과 딜레이 된 시간(712)은 서로 다를 수도 있다. 예를 들면, 제1 이어 버드(400a)와 제2 이어 버드(400b)는 전자 장치(300)의 무선 통신 회로(330)와 독립적으로 통신하는 경우, 딜레이 된 시간(711)과 딜레이 된 시간(712)은 서로 다를 수 있다. 프로세서(340)는 제1 이어 버드(400a)로부터 획득한 제1 오디오 데이터(610)의 딜레이와, 제2 이어 버드(400b)로부터 획득한 제2 오디오 데이터(620)의 딜레이를 각각 보정할 수 있다.
도 7a의 참조번호 704은, 기준 데이터(600)와 동기화된 제1 오디오 데이터(610) 및 기준 데이터(600)와 동기화된 제2 오디오 데이터(620)를 도시한다. 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 동기화, 및/또는 기준 데이터(600)와 제2 오디오 데이터(620)의 동기화를 통해 기준 데이터(600)와 정렬(alignment)된 제1 오디오 데이터(610) 및/또는 제2 오디오 데이터(620)를 획득할 수 있다. 도 7a를 참조하면, 제1 오디오 데이터(610) 중 기준 데이터(600)의 특정 영역(721)과 가장 유사도가 높은 영역(722)이 상기 특정 영역(721)과 정렬될 수 있다. 또한 제2 오디오 데이터(620) 중 기준 데이터(600)의 특정 영역(721)과 가장 유사도가 높은 영역(723)이 상기 특정 영역(721)과 정렬될 수 있다. 프로세서(340)는 제1 비디오 데이터와 함께, 제1 오디오 데이터(610) 및/또는 제2 오디오 데이터(620))를 기반으로 동영상 파일을 생성할 수 있다.
도 6 및 도 7a에서는, 전자 장치(300)가 제1 이어 버드(400a)로부터 제1 오디오 데이터(610)를 획득하고, 제2 이어 버드(400b)로부터 제2 오디오 데이터(620)를 획득한 경우의 실시 예에 대하여 설명되었으나, 이는 하나의 예시로서 통상의 기술자에 의해 구현될 수 있는 다양한 실시 예들이 가능하다. 예를 들면, 외부 전자 장치(400)는 외부 마이크를 포함하는 하나의 외부 장치에 대응하고, 전자 장치(300)는 상기 하나의 외부 장치인 외부 전자 장치(400)로부터 제1 오디오 데이터(610)를 획득하고, 상기 제1 비디오 데이터와 함께 상기 제1 오디오 데이터(610)를 기반으로 동영상 파일을 생성할 수도 있다.
본 개시의 다양한 실시 예에 따르면, 전자 장치(300)가 촬영한 제1 비디오 데이터와 외부 전자 장치(400)가 녹음한 제1 오디오 데이터(610)를 이용하여 동영상 파일을 생성하는 경우, 전자 장치(300)는 서로 시간적으로 동기화된 제1 비디오 데이터와 제1 오디오 데이터(610)를 기반으로 하는 동영상 파일을 획득할 수 있다.
또한 본 개시의 다양한 실시 예에 따르면, 전자 장치(300)가 한 쌍의 이어 버드(예: 제1 이어 버드(400a)와 제2 이어 버드(400b))에서 획득된 오디오 데이터(예: 제1 오디오 데이터(610)와 제2 오디오 데이터(620))를 이용하여 스테레오(stereo) 오디오 데이터를 포함하는 동영상 파일을 획득할 수도 있다.
도 7b는 일 실시 예에 따른 전자 장치(300)가 외부 전자 장치(400)로부터 획득한 제1 오디오 데이터(610)를 기반으로 동영상 파일을 생성하는 동작을 도시하는 순서도이다.
일 실시 예에 따르면, 동작 701에서, 프로세서(340)는 카메라(310)를 이용하여 제1 비디오 데이터를 획득할 수 있다.
일 실시 예에 따르면, 동작 703에서, 프로세서(340)는 마이크(320)를 이용하여 기준 데이터(600)를 획득할 수 있다.
일 실시 예에 따르면, 동작 705에서, 프로세서(340)는 외부 전자 장치(400)로부터 제1 비디오 데이터에 대응하는 제1 오디오 데이터(610)를 무선 통신 회로(330)를 통해 수신할 수 있다.
일 실시 예에 따르면, 동작 707에서, 프로세서(340)는 기준 데이터(600)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다. 프로세서(340)는 도 7a에서 설명된 동작 및/또는 도 8에서 설명될 동작을 통해 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다.
일 실시 예에 따르면, 동작 709에서, 프로세서(340)는 제1 비디오 데이터 및 보정된 제1 오디오 데이터(610)를 기반으로 동영상 파일을 생성할 수 있다.
도 8은 일 실시 예에 따른 전자 장치(300)가 기준 데이터(600)와 오디오 데이터(610, 620)의 상관을 분석하는 예를 도시한다.
도 8은 기준 데이터(600)와 제1 오디오 데이터(610)의 상관분석 방법의 예를 도시한다. 도 8에서는 제1 오디오 데이터(610)를 기준으로 도시되었으나, 도 8과 관련하여 설명되는 상관분석 방법은 제2 오디오 데이터(620)에도 적용될 수 있고, 그 외에도 외부 전자 장치(400)로부터 획득되는 다양한 오디오 데이터에 대해 적용될 수 있다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 패턴 매칭(pattern matching) 기법을 통해 기준 데이터(600)와 제1 오디오 데이터(610)의 상관을 분석할 수 있다. 프로세서(340)는 패턴 매칭 기법을 통해 기준 데이터(600)와 제1 오디오 데이터(610)의 동기화를 수행할 수 있다. 프로세서(340)는 제1 오디오 데이터(610)에 포함된 오디오 패턴을 확인하고, 상기 오디오 패턴이 기준 데이터(600)와 일치하도록 제1 오디오 데이터(610)를 기준 데이터(600)와 정렬시켜, 기준 데이터(600)와 제1 오디오 데이터(610)를 동기화할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 자기상관(autocorrelation)을 분석하여 제1 오디오 데이터(610)가 기준 데이터(600)에 비해 딜레이 된 시간(711)을 확인할 수 있다. 프로세서(340)는 기준 데이터(600) 및 제1 오디오 데이터(610)에 아다마르 곱(Hadamard product, element-wise product)을 더하여 자기상관을 분석할 수 있다. 프로세서(340)는 제1 오디오 데이터(610)를 시간적으로 이동시킨 데이터에 아다마르 곱을 더할 수 있다. 예를 들면, 프로세서(340)는 제1 오디오 데이터(610)가 획득된 시점보다 이른 시점 또는 늦은 시점에 획득된 것과 같이 제1 오디오 데이터(610)를 변형시킬 수 있고, 상기 기준 데이터(600)와 함께 상기 변형된 제1 오디오 데이터(610)에 아다마르 곱을 더할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(600) 및 시간적으로 이동된 제1 오디오 데이터(610)에 아다마르 곱을 더하여, 상관분석 결과에 대응하는 그래프(800)를 획득할 수 있다. 그래프(800)의 가로축은 제1 오디오 데이터(610)를 시간적으로 이동시킨 정도를 나타내고, 그래프(800)의 세로축은 기준 데이터(600)와 시간적으로 이동된 제1 오디오 데이터(610)가 대응되는 정도를 나타낼 수 있다. 그래프(800)의 피크(peak)(801)는 기준 데이터(600)와 시간적으로 이동된 제1 오디오 데이터(610)가 대응됨을 의미할 수 있다. 아다마르 곱의 경우 동일하거나 대응되는 요소(element)에 곱하여 더해질 때 최대 값을 가지므로, 그래프(800)의 피크(801)는 기준 데이터(600)와 제1 오디오 데이터(610)가 동기화된 것을 의미할 수 있다. 예를 들면, 프로세서(340)는 기준 데이터(600)에 비해 제1 시간만큼 딜레이 된 제1 오디오 데이터(610)를 획득할 수 있다. 프로세서(340)는 제1 오디오 데이터(610)를 시간적으로 이동시킨 데이터 및 기준 데이터(600)에 대해 아다마르 곱을 더하는 자기상관 분석을 수행할 수 있다. 프로세서(340)는 상관분석 결과를 기반으로 제1 오디오 데이터(610)를 상기 제1 시간만큼 앞으로 이동시켰을 때에 그래프(800) 상에 피크(801)에 대응된다고 판단할 수 있다. 프로세서(340)는 상기 그래프(800)를 기반으로 딜레이 된 시간(711)이 상기 제1 시간이라고 판단할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 상관을 분석하기 위해 도 8과 관련하여 설명한 바와 같이 제1 오디오 데이터(610)를 시간적으로 이른 시점 및 늦은 시점으로 이동시키면서 상관을 분석할 수 있으나, 다른 실시 예에 따르면, 제1 오디오 데이터(610)를 시간적으로 늦은 시점으로 이동시키면서 상관을 분석하지는 않을 수도 있다. 프로세서(340)는 무선 통신을 통해 제1 오디오 데이터(610)를 수신하므로 제1 오디오 데이터(610)가 기준 데이터(600)보다 이른 시점에 획득되지는 않을 수 있다. 따라서 프로세서(340)는 제1 오디오 데이터(610)를 시간적으로 늦은 시점으로는 이동시키지 않고, 이른 시점으로 이동시키면서 아다마르 곱을 더하는 연산을 수행할 수도 있다.
일 실시 예에 따르면, 프로세서(340)는 제1 오디오 데이터(610)의 전체 패킷에 대해 도 7a 및 도 8에서 설명된 딜레이 보정 동작을 수행할 수도 있고, 일정한 주기마다 상기 딜레이 보정 동작을 수행할 수도 있다. 예를 들면, 프로세서(340)는 외부 전자 장치(400)로부터 제1 오디오 데이터(610)를 패킷 단위로 수신할 수 있고, 일정한 주기마다 기준 데이터(600)를 기반으로 제1 오디오 데이터(610)가 딜레이 된 시간을 계산하여 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다.
도 9a는 일 실시 예에 따른 전자 장치(300)가 기준 데이터(600)를 획득하는 스케줄을 변경하는 예를 도시한다.
도 9a를 참조하면, 기준 데이터(916) 및 기준 데이터(926)는 스케줄에 대한 설명을 제외하고는 도 6 내지 도 8에서 설명된 기준 데이터(600)에 대응할 수 있다. 또한 상관분석 결과에 대응하는 그래프(918) 및 그래프(928)는 도 8에서 설명된 그래프(800)에 포함될 수 있다.
참조번호 910을 참조하면, 프로세서(340)는 마이크(320)를 이용하여 제1 스케줄에 따라 기준 데이터(916)를 획득할 수 있다. 제1 스케줄은 프로세서(340)가 마이크(320)를 활성화시키는 제1 주기(interval)(912) 및 제1 지속시간(duration)(914)을 포함할 수 있다. 프로세서(340)는 제1 주기(912)마다 제1 지속시간(914)동안 기준 데이터(916)를 획득할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 제1 오디오 데이터(610)의 딜레이를 보정하기 위해, 기준 데이터(916)와 제1 오디오 데이터(610)의 상관을 분석할 수 있다. 일 실시 예에 따르면, 기준 데이터(916)에 충분한 양의 오디오 패턴이 포함되지 않은 경우, 기준 데이터(916)와 제1 오디오 데이터(610)의 상관이 지정된 수준 미만으로 검출될 수 있다. 예를 들면, 기준 데이터(916)와 제1 오디오 데이터(610)의 상관분석 결과에 대응하는 그래프(918)는 지정된 수준보다 완만한 형태로 나타날 수 있다. 지정된 수준보다 완만한 그래프(918)란 피크를 판별하기 어렵다고 판단되는 그래프일 수 있다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(916)와 제1 오디오 데이터(610)의 상관이 지정된 수준 미만으로 검출되는 경우, 마이크(320)를 활성화시키는 제1 스케줄을 제2 스케줄로 변경할 수 있다. 기준 데이터(916)와 제1 오디오 데이터(610)의 상관이 지정된 수준 미만으로 검출됨에도 프로세서(340)가 스케줄을 변경하지 않고 기준 데이터(916)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 경우, 기준 데이터(916)와 보정된 제1 오디오 데이터(610)가 동기화되지 않을 수 있다. 따라서 프로세서(340)는 제1 스케줄을 제2 스케줄로 변경하여, 기준 데이터(916)보다 많은 양의 오디오 패턴을 포함하는 데이터를 획득할 수 있다.
일 실시 예에 따르면, 제2 스케줄은 제1 스케줄에 비해 주기 또는 지속시간 중 적어도 하나가 변경된 스케줄일 수 있다. 예를 들면, 프로세서(340)는 제1 주기(912)보다 짧은 제2 주기(922)마다 기준 데이터(926)를 획득할 수 있다. 다른 예를 들면, 프로세서(340)는 제1 지속시간(914)보다 긴 제2 지속시간(924)동안 기준 데이터(926)를 획득할 수 있다. 도 9a에는 제2 주기(922) 및 제2 지속시간(924)이 제1 스케줄과 비교할 때 변경된 것으로 도시되었으나, 이는 하나의 예시로서, 주기 또는 지속시간 중 어느 하나만 변경될 수도 있다.
참조번호 920을 참조하면, 프로세서(340)는 마이크(320)를 이용하여 제1 스케줄에 따라 기준 데이터(926)를 획득하다가 제1 스케줄에서 제2 스케줄로 변경한 후 계속하여 기준 데이터(926)를 획득할 수 있다. 기준 데이터(926)는 기준 데이터(916)보다 더 많은 양의 오디오 패턴을 포함할 수 있다. 기준 데이터(926)가 기준 데이터(916)보다 많은 양의 오디오 패턴을 포함하는 것은, 데이터의 용량이 더 큰 경우, 또는 상관을 분석하기 위해 필요한 정보가 더 많이 포함된 경우를 포함할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 제1 오디오 데이터(610)의 딜레이를 보정하기 위해, 기준 데이터(926)와 제1 오디오 데이터(610)의 상관을 분석할 수 있다. 일 실시 예에 따르면, 기준 데이터(926)에 충분한 양의 오디오 패턴이 포함된 경우, 기준 데이터(926)와 제1 오디오 데이터(610)의 상관은 지정된 수준 이상으로 검출될 수 있다. 예를 들면, 기준 데이터(926)와 제1 오디오 데이터(610)의 상관분석 결과에 대응하는 그래프(928)는 피크가 판별될 수 있는 그래프일 수 있다.
일 실시 예에 따르면, 프로세서(340)는 도 9a에 도시된 바와 같이 제1 스케줄보다 주기가 감소하거나 지속시간이 증가한 제2 스케줄로 변경할 수 있으나, 다른 실시 예에 따르면, 프로세서(340)는 제1 스케줄보다 주기가 증가하거나 지속시간이 감소한 제2 스케줄로 변경할 수도 있다. 예를 들면, 프로세서(340)는 기준 데이터의 용량이 증가할수록 제1 오디오 데이터(610)의 딜레이를 보정하기 위해 수행해야하는 연산과정이 증가하게 된다. 프로세서(340)의 연산과정이 증가하는 경우, 배터리 효율이 감소할 수 있고 동영상 파일을 생성하는 데에 요구되는 시간이 증가할 수도 있다. 따라서, 프로세서(340)는 제1 주기(912)보다 긴 주기마다 기준 데이터를 획득하거나 제1 지속시간(914)보다 짧은 지속시간동안 기준 데이터를 획득하더라도 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다고 판단되는 경우에는, 제1 스케줄보다 주기가 증가하거나 지속시간이 감소한 제2 스케줄로 변경할 수도 있다. 예를 들면, 프로세서(340)는 제1 오디오 데이터(610)의 딜레이를 보정하기 어려운 상태가 아닌 한, 마이크(320)를 활성화시키는 시간을 최소화할 수 있다.
본 개시의 다양한 실시 예에 따르면, 전자 장치(300)는 기준 데이터(600, 916, 또는 926)를 기반으로 제1 비디오 데이터와 제1 오디오 데이터(610)의 동기화를 수행함에 있어서, 주변 환경에 적응적으로(adaptively) 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다.
도 9b는 일 실시 예에 따른 전자 장치(300)가 제1 오디오 데이터의 일부(611) 및 제1 기준 데이터(941)를 기반으로 제1 스케줄을 제2 스케줄로 변경하는 예를 도시한다. 도 9b에서, 제1 비디오 데이터(930)는 도 6에서 설명된 비디오 데이터에 대응하고, 제1 기준 데이터(941) 및 제2 기준 데이터(942)는 도 6에서 설명된 기준 데이터(600)에 포함되며, 제1 오디오 데이터의 일부(611)는 도 6의 제1 오디오 데이터(610)에 포함될 수 있다.
일 실시 예에 따르면, 프로세서(340)는 카메라(310)를 이용하여 제1 비디오 데이터(930)를 획득할 수 있고, 마이크(320)를 이용하여 제1 시간 구간(951)동안 제1 스케줄에 따라 제1 기준 데이터(941)를 획득할 수 있으며, 외부 전자 장치(400)로부터 제1 비디오 데이터(930)에 대응하는 제1 오디오 데이터(610)를 무선 통신 회로(330)를 통해 수신할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 제1 오디오 데이터의 일부(611)와 제1 기준 데이터(941)의 비교 결과에 기반하여 제1 스케줄을 제2 스케줄로 변경할 수 있다. 예를 들면, 프로세서(340)는 제1 기준 데이터(941)와 제1 오디오 데이터의 일부(611)의 상관을 검출할 수 있다. 프로세서(340)는 제1 기준 데이터(941)와 제1 오디오 데이터의 일부(611)의 상관이 지정된 수준 미만으로 검출된다고 판단할 수 있다. 일 실시 예에 따르면, 프로세서(340)는 제1 스케줄에 비해 마이크(320)가 활성화되는 주기 또는 지속시간 중 적어도 하나가 변경된 제2 스케줄로 변경할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 마이크(320)를 이용하여 제1 시간 구간(951)에 후속하는 제2 시간 구간(952)동안 제2 스케줄에 따라 제2 기준 데이터(942)를 획득할 수 있다. 예를 들면, 프로세서(340)는 제1 기준 데이터(941)에 비해 많은 양의 정보(예: 오디오 패턴)를 포함하는 제2 기준 데이터(942)를 획득할 수 있다. 일 실시 예에 따르면, 프로세서(340)는 제2 기준 데이터(942)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다. 예를 들면, 프로세서(340)는 제2 기준 데이터(942)와 제1 오디오 데이터(610)(예: 제1 오디오 데이터 중 참조번호 612)의 상관을 분석할 수 있고, 상관분석 결과(예: 그래프(800), 그래프(928))를 기반으로 제2 기준 데이터(942)에 비해 제1 오디오 데이터(610)(예: 제1 오디오 데이터(610) 중 참조번호 612)가 딜레이 된 시간을 확인할 수 있으며, 상기 딜레이 된 시간을 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다.
도 9b를 참조하면, 제2 시간 구간(952)은 제1 시간 구간(951)과 연속적인 시간 구간인 것으로 도시되었으나, 이는 하나의 예시로서, 제2 시간 구간(952)은 제1 시간 구간(951)에 후속하는 모든 시간 구간을 포함할 수 있다. 예를 들면, 제1 시간 구간(951)과 제2 시간 구간(952) 사이에는 일정한 시간 간격이 있을 수 있다.
도 9c는 일 실시 예에 따른 전자 장치(300)가 외부 전자 장치(400)로부터 획득한 제1 오디오 데이터(610)를 기반으로 동영상 파일을 생성하는 동작을 도시하는 순서도이다. 도 9c에서 설명되는 동작은, 도 3의 전자 장치(300) 또는 프로세서(340)에 의해 수행될 수 있다.
일 실시 예에 따르면, 동작 901 이전에, 프로세서(340)는 사용자로부터 동영상 촬영을 시작하는 사용자 입력을 수신할 수 있다. 프로세서(340)는 상기 사용자 입력을 수신한 것에 응답하여 상기 카메라(310)가 제1 비디오 데이터를 획득하도록 제어할 수 있다. 프로세서(340)는 상기 무선 통신 회로(330)를 통해 외부 전자 장치(400)가 제1 오디오 데이터를 획득하도록 제어하는 신호를 송신할 수 있다. 외부 전자 장치(400)는 제1 오디오 데이터를 획득하도록 제어하는 신호를 수신한 것에 응답하여, 외부 마이크(542)가 제1 오디오 데이터를 획득하도록 제어할 수 있다. 다른 실시 예에서, 프로세서(340)는 상기 사용자 입력을 수신한 것에 응답하여 상기 무선 통신 회로(330)를 통해 외부 전자 장치(402)가 제1 오디오 데이터 및 제2 오디오 데이터를 획득하도록 제어하는 신호를 송신할 수도 있다.
일 실시 예에 따르면, 동작 901에서, 프로세서(340)는 카메라(310)를 이용하여 제1 비디오 데이터를 획득할 수 있다. 제1 비디오 데이터는 복수의 이미지 프레임들을 포함할 수 있다.
일 실시 예에 따르면, 동작 903에서, 프로세서(340)는 마이크(320)를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득할 수 있다.
일 실시 예에 따르면, 동작 905에서, 프로세서(340)는 외부 전자 장치(400)로부터 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 무선 통신 회로(330)를 통해 수신할 수 있다. 예를 들면, 외부 전자 장치(400)는 제1 이어 버드(400a)와 제2 이어 버드(400b)를 포함할 수 있고, 프로세서(340)는 제1 이어 버드(400a)로부터 제1 오디오 데이터를 수신할 수 있고, 제2 이어 버드(400b)로부터 제2 오디오 데이터를 수신할 수도 있다. 다른 예를 들면, 외부 전자 장치(402)(예: 제1 이어 버드(402a))는 제1 외부 마이크(422)와 제2 외부 마이크(423)를 포함할 수 있고, 프로세서(340)는 외부 전자 장치(402)가 제1 외부 마이크(422)를 이용하여 획득한 제1 오디오 데이터, 및 외부 전자 장치(402)가 제2 외부 마이크(423)를 이용하여 획득한 제2 오디오 데이터를 수신할 수도 있다.
일 실시 예에 따르면, 동작 907에서, 프로세서(340)는 제1 오디오 데이터의 일부와 제1 기준 데이터의 비교 결과에 기반하여 제1 스케줄을 제2 스케줄로 변경할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 제1 오디오 데이터의 일부와 제1 기준 데이터의 상관을 분석한 결과 제1 기준 데이터와 제1 오디오 데이터의 상관이 지정된 수준 미만으로 검출되는 경우, 제1 스케줄을 제2 스케줄로 변경할 수 있다. 다른 실시 예에 따르면, 프로세서(340)는 제1 오디오 데이터의 일부와 제1 기준 데이터의 상관을 분석한 결과 제1 기준 데이터와 제1 오디오 데이터의 상관이 지정된 수준 이상으로 검출되는 경우, 스케줄을 변경하지 않고 제1 기준 데이터를 기반으로 제1 오디오 데이터의 딜레이를 보정할 수도 있다. 예를 들면, 프로세서(340)는 제1 오디오 데이터와 제1 기준 데이터의 상관분석 결과 지정된 수준 이상으로 유사한 영역을 검출한 경우 제1 기준 데이터를 기반으로 제1 오디오 데이터의 딜레이를 보정하고, 제1 비디오 데이터 및 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성할 수도 있다.
일 실시 예에 따르면, 동작 909에서, 프로세서(340)는 마이크(320)를 이용하여 제1 시간 구간에 후속하는 제2 시간 구간동안 제2 스케줄에 따라 제2 기준 데이터를 획득할 수 있다.
일 실시 예에 따르면, 동작 911에서, 프로세서(340)는 제2 기준 데이터를 기반으로 제1 오디오 데이터의 딜레이를 보정할 수 있다. 일 실시 예에 따르면, 프로세서(340)가 제1 이어 버드(400a) 및 제2 이어 버드(400b)로부터 각각 제1 오디오 데이터와 제2 오디오 데이터를 획득한 경우, 또는 외부 전자 장치(402)로부터 제1 오디오 데이터와 제2 오디오 데이터를 획득한 경우, 프로세서(340)는 제2 기준 데이터를 기반으로 제1 오디오 데이터와 제2 오디오 데이터의 딜레이를 각각 보정할 수도 있다.
일 실시 예에 따르면, 동작 913에서, 프로세서(340)는 제1 비디오 데이터 및 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다. 예를 들면, 프로세서(340)는 제1 비디오 데이터와 상기 보정된 제1 오디오 데이터를 믹싱(mixing)하여 비디오 렌더링(video rendering)을 수행할 수 있다. 예를 들면, 프로세서(340)가 제1 이어 버드(400a) 및 제2 이어 버드(400b)로부터 각각 제1 오디오 데이터와 제2 오디오 데이터를 획득한 경우, 프로세서(340)는 제1 비디오 데이터, 보정된 제1 오디오 데이터, 및 보정된 제2 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다.
일 실시 예에 따르면, 동작 913 이후에, 프로세서(340)는 사용자로부터 동영상 촬영을 중지하는 사용자 입력을 수신할 수 있다. 프로세서(340)는 상기 사용자 입력을 수신한 것에 응답하여, 카메라(310)가 상기 제1 비디오 데이터의 획득을 중지하도록 제어할 수 있다. 프로세서(340)는 무선 통신 회로(330)를 통해 외부 전자 장치(400)가 제1 오디오 데이터의 획득을 중지하도록 제어하는 신호, 및 외부 전자 장치(400)가 제1 오디오 데이터를 전자 장치(300)에 제공하도록 제어하는 신호를 송신할 수 있다. 외부 전자 장치(400)는 제1 오디오 데이터의 획득을 중지하도록 제어하는 신호를 수신한 것에 응답하여, 외부 마이크(542)가 제1 오디오 데이터의 획득을 중지하도록 제어할 수 있다. 또한 외부 전자 장치(400)는 외부 마이크(542)를 통해 획득한 제1 오디오 데이터를 무선 통신 회로(510)를 통해 전자 장치(300)에 송신할 수 있다. 다른 실시 예에서, 프로세서(340)는 무선 통신 회로(330)를 통해 외부 전자 장치(402)가 제1 오디오 데이터 및 제2 오디오 데이터의 획득을 중지하도록 제어하는 신호, 및 외부 전자 장치(402)가 제1 오디오 데이터 및 제2 오디오 데이터를 전자 장치(300)에 제공하도록 제어하는 신호를 송신할 수 있다.
일 실시 예에 따르면, 외부 전자 장치(400)는 외부 마이크(542)를 통해 제1 오디오 데이터를 획득하는 동안 무선 통신 회로(510)를 통해 제1 오디오 데이터를 전자 장치(300)로 송신할 수 있다. 다른 실시 예에 따르면, 외부 전자 장치(400)는 제1 오디오 데이터를 획득하는 동안에는 메모리(550)에 제1 오디오 데이터를 저장하고, 제1 오디오 데이터의 획득을 중지한 이후에 제1 오디오 데이터를 전자 장치(300)에 전송할 수도 있다.
일 실시 예에 따르면, 동작 901 내지 동작 913을 통해, 전자 장치(300)는 전자 장치(300)가 녹화(record)한 제1 비디오 데이터, 및 외부 전자 장치(400)가 녹음(record)한 제1 오디오 데이터(및/또는 제2 오디오 데이터)를 포함하는 동영상 파일을 획득할 수 있다. 상기 제1 오디오 데이터와 상기 제1 비디오 데이터는 서로 동기화(synchronization)된 상태일 수 있다. 일 실시 예에 따르면, 전자 장치(300)가 외부 전자 장치(400)(예: 제1 이어 버드(400a) 및 제2 이어 버드(400b))로부터 바이노럴 레코딩(binaural recording)을 통해 획득한 제1 오디오 데이터 및 제2 오디오 데이터를 수신하고, 제1 비디오 데이터, 제1 오디오 데이터, 및 제2 오디오 데이터가 포함된 동영상 파일을 생성하는 경우에는, 전자 장치(300)는 스테레오(stereo) 오디오 데이터(예: 입체 음성 데이터)를 포함하는 동영상 파일을 생성할 수도 있다. 사용자는 외부 전자 장치(400)로부터 획득한 오디오 데이터를 포함하는 동영상 파일을 통해 현장감이나 생동감을 느낄 수 있다.
도 10은 일 실시 예에 따른 전자 장치(300)가 기준 데이터(600) 및 오디오 데이터에 노이즈 필터(1021, 1022)를 적용하는 예를 도시한다.
도 10을 참조하면, 프로세서(340)는 기준 데이터(600) 및 제1 오디오 데이터(610)에 노이즈 필터를 적용한 후에 상관을 분석할 수 있다. 도 10의 기준 데이터(600)는 도 9a의 기준 데이터(916, 926), 도 9b의 제1 기준 데이터(941), 및 제2 기준 데이터(942)를 포함하는 것으로 이해될 수 있다. 도 10의 제1 오디오 데이터(610)는 도 9b의 제1 오디오 데이터의 일부(611)를 포함할 수도 있고, 제2 오디오 데이터(620)로 대체될 수도 있다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(600)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정하기 위해 기준 데이터(600)와 제1 오디오 데이터(610)의 상관을 분석할 수 있다. 예를 들면, 프로세서(340)는 상관분석기(correlator)(1010)를 포함할 수 있다. 상관분석기(1010)는 프로세서(340) 내부에 배치된 하드웨어 모듈이거나, 프로세서(340)에 의해 실행될 수 있는 프로그램에 대응하는 소프트웨어 모듈일 수 있다. 프로세서(340)는 상관분석기(1010)를 통해 기준 데이터(600)와 제1 오디오 데이터(610)의 상관(예: 자기상관)을 분석할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(600)에 대해 제1 노이즈 필터(1021)를 적용하고, 제1 오디오 데이터(610)에 대해 제2 노이즈 필터(1022)를 적용하고, 상관분석기(1010)를 통해 제1 노이즈 필터(1021)가 적용된 기준 데이터(600)와 제2 노이즈 필터(1022)가 적용된 제1 오디오 데이터(610)의 상관을 분석할 수 있다. 예를 들면, 기준 데이터(600) 또는 제1 오디오 데이터(610) 중 적어도 하나에 노이즈(예: 바람 소리)가 포함된 경우 기준 데이터(600)와 제1 오디오 데이터(610)의 상관이 검출되기 어려울 수 있다. 기준 데이터(600) 또는 제1 오디오 데이터(610) 중 어느 하나에 노이즈가 포함되어 있고, 기준 데이터(600)와 제1 오디오 데이터(610)에 공통적으로 포함된 오디오 패턴에 비해 상기 노이즈가 마스킹 효과를 발생시키는 경우, 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 상관을 검출하기 어려울 수 있다. 따라서, 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)에 각각 노이즈 필터(1021, 1022)를 적용한 후에 상관을 분석할 수 있다. 일 실시 예에 따르면, 노이즈 필터(1021, 1022)는 AI 기반 노이즈 제거 처리(AI-based noise removal process), 및/또는 LPF(low pass filter)를 포함할 수 있다. 기준 데이터(600) 및/또는 제1 오디오 데이터(610)에 포함될 수 있는 노이즈는 일반적으로 고주파수 데이터에 해당하므로, 프로세서(340)는 LPF를 이용하여 노이즈를 필터링할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 제1 노이즈 필터(1021)가 적용된 기준 데이터(600)와 제2 노이즈 필터(1022)가 적용된 제1 오디오 데이터(610)의 상관분석 결과를 기반으로, 기준 데이터(600)에 비해 제1 오디오 데이터(610)가 딜레이 된 시간을 확인할 수 있다. 예를 들면, 프로세서(340)는 상관분석기(1010)의 출력 결과를 기반으로 기준 데이터(600)와 제1 오디오 데이터(610) 사이의 시간차를 추정(estimate time difference)할 수 있다.
도 9b 및 도 10을 참조하면, 프로세서(340)는 제1 기준 데이터(941)에 제1 노이즈 필터(1021)를 적용하고, 제1 오디오 데이터(610)에 제2 노이즈 필터(1022)를 적용할 수 있다. 프로세서(340)는 제2 노이즈 필터(1022)가 적용된 제1 오디오 데이터의 일부(611), 및 제1 노이즈 필터(1021)가 적용된 제1 기준 데이터(941)의 상관을 분석할 수 있다. 예를 들면, 프로세서(340)는 상관분석기(1010)를 통해 제2 노이즈 필터(1022)가 적용된 제1 오디오 데이터(610)의 일부(611), 및 제1 노이즈 필터(1021)가 적용된 제1 기준 데이터(941)의 상관을 분석할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 제2 노이즈 필터(1022)가 적용된 제1 오디오 데이터의 일부(611), 및 제1 노이즈 필터(1021)가 적용된 제1 기준 데이터(941)의 상관분석 결과가 지정된 조건을 만족하는지 여부를 판단할 수 있다. 상기 지정된 조건이란 상관분석 결과를 기반으로 제1 오디오 데이터(610)가 딜레이 된 시간을 확인할 수 있다고 판단되는 경우를 의미할 수 있다. 예를 들면, 프로세서(340)는 상관분석 결과에 대응하는 그래프에서 피크를 판별할 수 있다고 판단한 경우, 상기 지정된 조건이 만족되었다고 판단할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 상기 상관분석 결과가 상기 지정된 조건을 만족하는 것에 응답하여, 제1 노이즈 필터(1021)가 적용된 제1 기준 데이터(941)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다. 프로세서(340)는 제2 노이즈 필터(1022)가 적용된 제1 기준 데이터(941)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다고 판단되는 경우, 마이크(320)가 활성화되는 제1 스케줄을 제2 스케줄로 변경하지 않고 제1 오디오 데이터(610)의 딜레이를 보정할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 상기 상관분석 결과가 상기 지정된 조건을 만족하지 않는 것에 응답하여, 상기 제1 스케줄을 제2 스케줄로 변경할 수 있다. 프로세서(340)는 제1 기준 데이터(941) 및 제1 오디오 데이터의 일부(611)에 노이즈 필터(1021, 1022)를 적용하더라도 제1 오디오 데이터(610)의 딜레이를 보정하기 어렵다고 판단되는 경우, 마이크(320)를 활성화시키는 스케줄을 변경하여 제2 기준 데이터(942)를 획득할 수 있다.
도 11은 일 실시 예에 따른 외부 전자 장치(402)가 복수의 외부 마이크(422, 423, 424, 425)를 포함하는 경우의 예를 도시한다.
도 11을 참조하면, 도 5 내지 도 10의 외부 전자 장치(400)는 외부 전자 장치(402)로 대체될 수 있고, 외부 전자 장치(402)는 제1 이어 버드(402a) 및 제2 이어 버드(402b)를 포함할 수 있다. 제1 이어 버드(402a)는 제1 외부 마이크(422) 및 제2 외부 마이크(423)를 포함할 수 있고, 제2 이어 버드(402b)는 제3 외부 마이크(424) 및 제4 외부 마이크(425)를 포함할 수 있다. 다만, 도 11과 관련한 설명에서 제1 이어 버드(402a)가 포함하는 제1 외부 마이크(422)와 제2 외부 마이크(423)에 대한 개시는, 외부 전자 장치(400)가 포함하는 제1 외부 마이크(422)와 제2 외부 마이크(423)에 대한 것으로 대체될 수 있다.
일 실시 예에 따르면, 외부 전자 장치(402)(예: 제1 이어 버드(402a))는 제1 외부 마이크(422)를 이용하여 제1 비디오 데이터에 대응하는 제1 오디오 데이터(1110)를 획득할 수 있고, 제2 외부 마이크(423)를 이용하여 제1 비디오 데이터에 대응하는 제2 오디오 데이터(1120)를 획득할 수 있다. 외부 전자 장치(402)(예: 제1 이어 버드(402a))는 제1 오디오 데이터(1110) 및 제2 오디오 데이터(1120)를 무선 데이터 송수신 경로를 통해 전자 장치(300)에 송신할 수 있다. 프로세서(340)는 무선 통신 회로(330)를 통해 제1 오디오 데이터(1110) 및 제2 오디오 데이터(1120)를 수신할 수 있다. 도 11에 도시된 제1 오디오 데이터(1110)는 도 6의 제1 오디오 데이터(610)에 포함될 수 있다. 다만, 도 11에 도시된 제2 오디오 데이터(1120)는 도 6의 제2 오디오 데이터(620)와 구별된다.
일 실시 예에 따르면, 프로세서(340)는 제1 오디오 데이터(1110)와 기준 데이터(600)의 상관을 분석할 수 있고, 제2 오디오 데이터(1110)와 기준 데이터(600)의 상관을 분석할 수 있다. 즉, 프로세서(340)는 제1 오디오 데이터(1110) 및 제2 오디오 데이터(1120) 각각과 기준 데이터(600)의 상관을 분석할 수 있다.
도 11을 참조하면, 그래프(1115)는 제1 오디오 데이터(1110)와 기준 데이터(600)의 상관분석 결과에 대응하고, 그래프(1125)는 제2 오디오 데이터(1120)와 기준 데이터(600)의 상관분석 결과에 대응할 수 있다. 일 실시 예에 따르면, 제1 오디오 데이터(1110)와 기준 데이터(600)의 상관분석 결과, 및 제2 오디오 데이터(1120)와 기준 데이터(600)의 상관분석 결과는 서로 다를 수 있다. 예를 들면, 제1 오디오 데이터(1110)와 기준 데이터(600)의 상관이 충분히 검출되지 않은 경우, 그래프(1115)는 그래프(1125)에 비해 완만한 형태로 나타날 수 있다. 즉, 그래프(1115)에 비해 그래프(1125)에서 피크가 판별되기 쉬울 수 있다.
일 실시 예에 따르면, 프로세서(340)는 상관분석 결과(예: 그래프(1115), 그래프(1125))를 기반으로 제1 오디오 데이터(1110)와 제2 오디오 데이터(1120) 중 지정된 조건을 만족하는 어느 하나의 오디오 데이터를 선택할 수 있다. 상기 지정된 조건이란, 프로세서(340)가 기준 데이터(600)를 기반으로 딜레이를 보정하기에 보다 더 용이한 오디오 데이터를 의미할 수 있다. 예를 들면, 프로세서(340)는 그래프(1115)보다 그래프(1125)에서 피크를 판별하기 용이하므로, 제1 오디오 데이터(1110)와 제2 오디오 데이터(1120) 중에서 제2 오디오 데이터(1120)가 상기 지정된 조건을 만족한다고 판단할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 제1 비디오 데이터, 및 상기 선택된 오디오 데이터(예: 제2 오디오 데이터(1120))를 기반으로 동영상 파일을 생성할 수 있다. 예를 들면, 프로세서(340)는 제1 이어 버드(402a)로부터 획득한 여러 세트의 오디오 데이터 중에서 기준 데이터(600)와 상관이 가장 잘 검출되는 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다. 프로세서(340)는 제1 이어 버드(402a)로부터 여러 세트의 오디오 데이터를 수신한 경우에도, 수신된 모든 오디오 데이터를 이용하여 동영상 파일을 생성하지는 않을 수 있다.
일 실시 예에 따르면, 프로세서(340)는 기준 데이터(600)에 비해 상기 선택된 오디오 데이터(예: 제2 오디오 데이터(1120))가 딜레이 된 시간을 확인할 수 있고, 상기 딜레이 된 시간을 기반으로 제1 오디오 데이터(1110) 및 제2 오디오 데이터(1120)의 딜레이를 보정할 수도 있다. 제1 오디오 데이터(1110)와 제2 오디오 데이터(1120)는 전자 장치(300)와 제1 이어 버드(402a) 간의 무선 통신을 통해 함께 송신되므로, 상기 선택된 오디오 데이터가 딜레이 된 시간을 기반으로 선택되지 않은 오디오 데이터가 딜레이 된 시간을 보정할 수도 있다. 예를 들면, 프로세서(340)는 기준 데이터(600)와 상기 선택된 제2 오디오 데이터(1120)의 상관분석 결과(예: 그래프(1125))를 기반으로, 제2 오디오 데이터(1120)가 딜레이 된 시간을 확인할 수 있다. 프로세서(340)는 상기 제2 오디오 데이터(1120)가 딜레이 된 시간을 기반으로, 제2 오디오 데이터(1120) 뿐만 아니라 제1 오디오 데이터(1110)의 딜레이를 함께 보정할 수 있다. 프로세서(340)는 제1 비디오 데이터, 상기 보정된 제1 오디오 데이터(1110), 및 상기 보정된 제2 오디오 데이터(1120)를 기반으로 동영상 파일을 생성할 수 있다.
도 9b 및 도 11을 참조하면, 프로세서(340)는 제1 기준 데이터(941) 및 제1 오디오 데이터(1110)(및/또는, 제2 오디오 데이터(1120))의 비교 결과를 기반으로 제1 스케줄을 제2 스케줄로 변경하고, 상기 제2 스케줄에 따라 제2 기준 데이터(942)를 획득할 수 있다. 프로세서(340)는 제1 오디오 데이터(1110)와 제2 기준 데이터(942)의 상관을 분석하고, 제2 오디오 데이터(1120)와 제2 기준 데이터(942)의 상관을 분석할 수도 있다. 그래프(1115)는 제1 오디오 데이터(1110)와 제2 기준 데이터(942)의 상관분석 결과에 대응하고, 그래프(1125)는 제2 오디오 데이터(1120)와 제2 기준 데이터(942)의 상관분석 결과에 대응할 수 있다. 프로세서(340)는 제1 오디오 데이터(1110)와 제2 기준 데이터(942)의 상관분석 결과(예: 그래프(1115)와 제2 오디오 데이터(1120)와 제2 기준 데이터(942)의 상관분석 결과(예: 그래프(1125)를 비교할 때, 제2 오디오 데이터(1120)가 제2 기준 데이터(942)와 상관을 검출하기에 더 용이하므로 제2 오디오 데이터(1120)를 기반으로 동영상 파일을 생성할 수 있다.
도 11과 관련한 설명에서, 제1 외부 마이크(422)를 통해 획득된 제1 오디오 데이터(1110) 및 제2 외부 마이크(423)를 통해 획득된 제2 오디오 데이터(1120)에 대한 설명은, 제3 외부 마이크(424)를 통해 획득된 제3 오디오 데이터(1130) 및 제4 외부 마이크를 통해 획득된 제4 오디오 데이터(1140)에 대해서도 적용될 수 있다. 예를 들면, 프로세서(340)는 제2 이어 버드(402b)로부터 제3 오디오 데이터(1130), 및 제4 오디오 데이터(1140)를 획득할 수 있고, 기준 데이터(600)와 제3 오디오 데이터(1130)의 상관을 분석할 수 있고, 기준 데이터(600)와 제4 오디오 데이터(1140)의 상관을 분석할 수 있다. 일 실시 예에 따르면, 프로세서(340)는 제3 오디오 데이터(1130)와 제4 오디오 데이터(1140) 중 제3 오디오 데이터(1130)가 상기 지정된 조건을 만족한다고 판단할 수 있고, 제1 비디오 데이터, 제2 오디오 데이터(1120), 및 제3 오디오 데이터(1130)를 기반으로 동영상 파일을 생성할 수 있다. 다른 실시 예에 따르면, 프로세서(340)는 제3 오디오 데이터(1130)와 제4 오디오 데이터(1140) 중 제3 오디오 데이터(1130)가 상기 지정된 조건을 만족한다고 판단할 수 있고, 기준 데이터(600)에 비해 제3 오디오 데이터(1130)가 딜레이 된 시간을 확인할 수 있고, 상기 딜레이 된 시간을 기반으로 제3 오디오 데이터(1130)와 제4 오디오 데이터(1140)의 딜레이를 보정할 수 있다. 프로세서(340)는 제1 비디오 데이터, 제1 오디오 데이터(1110), 제2 오디오 데이터(1120), 제3 오디오 데이터(1130), 및 제4 오디오 데이터(1140)를 기반으로 동영상 파일을 생성할 수 있다.
도 12a는 일 실시 예에 따른 전자 장치(300)가 오디오 데이터를 선택적으로 이용하여 동영상 파일을 생성하는 예를 도시한다.
일 실시 예에 따르면, 프로세서(340)는 마이크(320)를 통해 획득한 기준 데이터(600)와 외부 전자 장치(400)로부터 획득한 제1 오디오 데이터(610)의 상관을 분석할 수 있고, 상관분석 결과가 지정된 조건을 만족하는지 여부에 따라 제1 오디오 데이터(610) 또는 마이크(320)를 통해 획득된 내부 오디오 데이터(1201) 중 어느 하나의 데이터, 및 제1 비디오 데이터(930)를 기반으로 동영상 파일을 생성할 수 있다. 상기 지정된 조건이란, 프로세서(340)가 기준 데이터(600)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있는 것을 의미할 수 있다. 즉, 프로세서(340)는 기준 데이터(600)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있는지 여부를 판단하고, 딜레이를 보정할 수 있는 경우에는 보정된 제1 오디오 데이터를 포함하는 동영상 파일을 생성하고, 딜레이를 보정할 수 없는 경우(예: 노이즈가 많이 녹음되는 환경)에는 제1 오디오 데이터 대신 마이크(320)를 통해 획득한 오디오 데이터를 포함하는 동영상 파일을 생성할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 상관분석 결과가 지정된 조건을 만족하는 것에 응답하여, 기준 데이터(600)를 기반으로 제1 오디오 데이터(610)의 딜레이를 보정할 수 있고, 제1 비디오 데이터(930) 및 딜레이가 보정된 제1 오디오 데이터(610)를 기반으로 동영상 파일을 생성할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 상관분석 결과가 상기 지정된 조건을 만족하지 않는 것에 응답하여, 마이크(320)를 이용하여 제1 비디오 데이터(930)에 대응하는 내부 오디오 데이터(1201)를 획득할 수 있다. 내부 오디오 데이터(1201)란, 프로세서(340)가 마이크(320)를 비활성화 시키지 않고 제1 비디오 데이터(930)에 대응하도록 계속적으로 획득한 오디오 데이터로 이해될 수 있다. 일 실시 예에 따르면, 프로세서(340)는 제1 비디오 데이터(930) 및 내부 오디오 데이터(1201)를 기반으로 동영상 파일을 생성할 수 있다. 프로세서(340)가 마이크(320)를 이용하여 내부 오디오 데이터(1201)를 획득하는 경우, 내부 오디오 데이터(1201)는 유선 데이터 송수신 경로를 통해 프로세서(340)에 제공되므로 내부 오디오 데이터(1201)는 딜레이 되지 않은 데이터일 수 있다. 따라서, 프로세서(340)는 내부 오디오 데이터(1201)의 딜레이를 보정하지 않고, 카메라(310)를 통해 획득한 제1 비디오 데이터(930) 및 마이크(320)를 통해 획득한 내부 오디오 데이터(1201)를 기반으로 동영상 파일을 생성할 수 있다.
도 12a는 시간의 흐름에 따라 제1 오디오 데이터(610) 또는 내부 오디오 데이터(1201)를 기반으로 동영상 파일을 생성하는 예를 도시한다. 도 12a에 도시된 그래프의 가로축은 시간의 진행을 나타낸다.
일 실시 예에 따르면, 시점 t1에서, 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 상관을 분석할 수 있다. 도 12a를 참조하면, 프로세서(340)는 시점 t1의 상관분석 결과가 상기 지정된 조건을 만족한다고 판단할 수 있다. 일 실시 예에 따르면, 프로세서(340)는 제1 구간(1210)에 대응하는 동영상 파일을 제1 비디오 데이터(930), 및 외부 전자 장치(400)로부터 획득되고 딜레이가 보정된 제1 오디오 데이터(610)를 기반으로 생성할 수 있다.
일 실시 예에 따르면, 시점 t2에서, 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 상관분석 결과가 상기 지정된 조건을 만족하지 않는다고 판단할 수 있다. 예를 들면, 프로세서(340)는 제1 구간(1210)동안 기준 데이터(600)와 제1 오디오 데이터(610)의 상관을 연속적으로 분석할 수 있고, 시점 t2일 때에 상관분석 결과가 지정된 조건을 만족하지 못하게 되었다고 판단할 수 있다. 일 실시 예에 따르면, 프로세서(340)는 제2 구간(1220)동안 마이크(320)를 계속적으로 활성화시켜 내부 오디오 데이터(1201)를 획득할 수 있다. 프로세서(340)는 제2 구간(1220)에 대응하는 동영상 파일을 제1 비디오 데이터(930), 및 마이크(320)를 통해 획득된 내부 오디오 데이터(1201)를 기반으로 생성할 수 있다.
일 실시 예에 따르면, 시점 t3에서, 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 상관분석 결과가 상기 지정된 조건을 만족한다고 판단할 수 있다. 예를 들면, 프로세서(340)는 제2 구간(1220)동안에도 외부 전자 장치(400)로부터 제1 오디오 데이터(610)를 획득할 수 있고, 내부 오디오 데이터(1201)의 일부를 기반으로 기준 데이터(600)를 획득할 수 있다. 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 상관을 계속하여 분석할 수 있으며, 시점 t3에 상관분석 결과가 지정된 조건을 만족하게 되었다고 판단할 수 있다. 일 실시 예에 따르면, 프로세서(340)는 제3 구간(1230)동안 마이크(320)를 활성화시키는 스케줄을 제1 구간(1210)과 같이 변경할 수 있고, 제3 구간(1230)에 대응하는 동영상 파일은 제1 비디오 데이터(930) 및 보정된 제1 오디오 데이터(610)를 기반으로 생성할 수 있다.
도 12a와 관련하여 프로세서(340)는 기준 데이터(600)와 제1 오디오 데이터(610)의 상관분석을 기준으로 설명되었으나. 이는 하나의 예시로서 다양한 실시 예가 가능하다. 예를 들면, 프로세서(340)는 기준 데이터(600) 중에서 도 9b에서 설명된 제2 기준 데이터(942)와 제1 오디오 데이터(610)의 상관을 분석할 수 있다. 다른 예를 들면, 프로세서(340)는 기준 데이터(600)와 제2 이어 버드(402b)로부터 획득된 오디오 데이터(예: 도 6의 제2 오디오 데이터(620))의 상관을 분석할 수도 있다.
일 실시 예에 따르면, 도 12a에 도시된 바와 같이, 프로세서(340)는 제1 구간(1210)에는 마이크(320)를 주기적으로 활성화시켜 기준 데이터(600)를 획득하고, 제2 구간(1220)에는 마이크(320)를 지속적으로 활성화시켜 내부 오디오 데이터(1201)를 획득할 수 있으나, 도 12a에 도시된 바와 달리, 프로세서(340)는 제1 구간(1210)에도 마이크(320)를 지속적으로 활성화시켜 데이터를 획득하고, 제1 구간(1210)동안 획득한 데이터 중 일부를 기준 데이터(600)로 이용할 수도 있다.
도 12b는 일 실시 예에 따른 전자 장치(300)가 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시하는 UI(1250)의 예를 도시한다. 도 12b의 전자 장치(300)는 도 1의 전자 장치(101)에 대응될 수 있고, 전자 장치(300)는 디스플레이(1200)(예: 도 1의 디스플레이 모듈(160))를 포함할 수 있다.
일 실시 예에 따르면, 프로세서(340)는 상기 동영상 파일에 포함되는 오디오 데이터가 외부 전자 장치(400)로부터 획득된 것(예: 제1 오디오 데이터(610))인지 또는 마이크(320)를 통해 획득된 것(예: 도 12a에서 설명된 내부 오디오 데이터(1201))인지 여부를 나타내는 UI(user interface)(1250)를 디스플레이(1200)에 표시할 수 있다.
도 12b를 참조하면, 프로세서(340)는 제1 비디오 데이터를 획득하는 동안 디스플레이(1200)에 프리뷰 동영상을 표시할 수 있다. 프로세서(340)는 디스플레이(1200)에 표시되는 프리뷰 동영상 중 지정된 영역에 UI(1250)를 표시할 수 있다. 예를 들면, 프로세서(340)는 "Ear phone", "Mic"라는 문자를 포함하는 UI(1250)를 디스플레이(1200)에 표시할 수 있고, "Ear phone" 또는 "Mic" 중 어느 하나의 문자가 강조되도록(예: 서로 다른 색깔을 가지도록) 표시할 수 있다. 프로세서(340)는 외부 전자 장치(400)로부터 획득한 제1 오디오 데이터(610)를 기반으로 동영상 파일을 생성하는 구간에서는 상기 UI(1250) 중 "Ear phone"이라는 문자가 강조되도록 표시할 수 있다. 프로세서(340)는 마이크(320)를 이용하여 획득한 내부 오디오 데이터(1201)를 기반으로 동영상 파일을 생성하는 구간에서는 상기 UI(1250) 중 "Mic"라는 문자가 강조되도록 표시할 수 있다. 다만, 상기 UI(1250)에 대한 도시 및 설명은 하나의 예시로서, 통상의 기술자에 의해 구현될 수 있는 다양한 실시 예들이 가능하다. 예를 들면, 프로세서(340)는 "Ear phone"이나 "Mic" 중 어느 하나만을 번갈아 가면서 디스플레이(1200)에 표시할 수도 있고, 상기 "Ear phone"이나 "Mic"를 다른 단어(예: earbuds)로 대체할 수도 있으며, 문자가 아닌 아이콘이나 기호를 포함하는 UI(1250)를 디스플레이(1200)에 표시할 수도 있다.
다른 실시 예에서, 프로세서(340)는 디스플레이(1200)에 표시된 UI(1250)에 대한 사용자 입력을 수신한 것에 응답하여, 제1 비디오 데이터와 함께 제1 오디오 데이터(610) 또는 내부 오디오 데이터(예: 도 12a에서 설명된 내부 오디오 데이터(1201)) 중 어느 하나를 기반으로 상기 동영상 파일을 생성할 수도 있다. 예를 들면, 프로세서(340)는 UI(1250) 중 “Ear phone”에 대한 터치 입력을 수신한 것에 응답하여 제1 비디오 데이터 및 제1 오디오 데이터(610)를 기반으로 동영상 파일을 생성할 수 있고, UI(1250) 중 “Mic”에 대한 터치 입력을 수신한 것에 응답하여 제1 비디오 데이터 및 내부 오디오 데이터를 기반으로 동영상 파일을 생성할 수도 있다.
일 실시 예에 따른 전자 장치는, 카메라. 마이크. 외부 전자 장치와 데이터를 송수신하는 무선 통신 회로. 및 상기 카메라, 상기 마이크, 및 상기 무선 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 카메라를 이용하여 제1 비디오 데이터를 획득하고, 상기 마이크를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득하고, 상기 외부 전자 장치로부터 상기 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고, 상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과에 기반하여 상기 제1 스케줄을 제2 스케줄로 변경하고, 상기 마이크를 이용하여 상기 제1 시간 구간에 후속하는 제2 시간 구간동안 상기 제2 스케줄에 따라 제2 기준 데이터를 획득하고, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하고, 상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 외부 전자 장치는 제1 이어 버드, 및 제2 이어 버드를 포함하고, 상기 적어도 하나의 프로세서는, 상기 제1 이어 버드로부터 상기 제1 비디오 데이터에 대응하는 상기 제1 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고, 상기 제2 이어 버드로부터 상기 제1 비디오 데이터에 대응하는 제2 오디오 데이터를 상기 무선 통신 회로를 통해 수신할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터 및 상기 제2 오디오 데이터의 딜레이를 각각 보정하고, 상기 제1 비디오 데이터, 상기 보정된 제1 오디오 데이터, 및 상기 보정된 제2 오디오 데이터를 기반으로 상기 동영상 파일을 생성할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 제1 스케줄은 상기 마이크를 활성화시키는 주기(interval) 및 지속시간(duration)을 포함하고, 상기 제2 스케줄은 상기 제1 스케줄에 비해 상기 주기 또는 상기 지속시간 중 적어도 하나가 변경될 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 상기 제2 기준 데이터 및 상기 제1 오디오 데이터의 상관을 분석하고, 상관분석 결과를 기반으로 상기 제2 기준 데이터에 비해 상기 제1 오디오 데이터가 딜레이 된 시간을 확인하고, 상기 딜레이 된 시간을 기반으로 상기 제1 오디오 데이터의 딜레이를 보정할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 상기 제1 기준 데이터에 제1 노이즈 필터를 적용하고, 상기 제1 오디오 데이터에 제2 노이즈 필터를 적용하고, 상기 제2 노이즈 필터가 적용된 제1 오디오 데이터의 일부와 상기 제1 노이즈 필터가 적용된 제1 기준 데이터의 상관을 분석하고, 상관분석 결과가 지정된 조건을 만족하는지 여부를 판단하고, 상기 상관분석 결과가 상기 지정된 조건을 만족하는 것에 응답하여, 상기 제1 노이즈 필터가 적용된 상기 제1 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하고, 상기 상관분석 결과가 상기 지정된 조건을 만족하지 않는 것에 응답하여, 상기 제1 스케줄을 상기 제2 스케줄로 변경할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 외부 전자 장치는 제1 외부 마이크, 제2 외부 마이크를 포함하고, 상기 적어도 하나의 프로세서는, 상기 외부 전자 장치가 상기 제1 외부 마이크를 이용하여 획득한 상기 제1 오디오 데이터, 및 상기 외부 전자 장치가 상기 제2 외부 마이크를 이용하여 획득한 제2 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고, 상기 제1 오디오 데이터 및 상기 제2 오디오 데이터는 상기 제1 비디오 데이터에 대응함, 상기 제1 오디오 데이터, 및 상기 제2 오디오 데이터 각각과 상기 제2 기준 데이터의 상관을 분석할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 상관분석 결과를 기반으로 상기 제1 오디오 데이터와 상기 제2 오디오 데이터 중 지정된 조건을 만족하는 어느 하나의 오디오 데이터를 선택하고, 상기 제1 비디오 데이터, 및 상기 선택된 오디오 데이터를 기반으로 상기 동영상 파일을 생성할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 상관분석 결과를 기반으로 상기 제1 오디오 데이터와 상기 제2 오디오 데이터 중 지정된 조건을 만족하는 어느 하나의 오디오 데이터를 선택하고, 상기 제2 기준 데이터에 비해 상기 선택된 오디오 데이터가 딜레이 된 시간을 확인하고, 상기 딜레이 된 시간을 기반으로 상기 제1 오디오 데이터, 및 상기 제2 오디오 데이터의 딜레이를 보정할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 상기 제2 기준 데이터 및 상기 제1 오디오 데이터의 상관을 분석하고, 상관분석 결과가 지정된 조건을 만족하는지 여부를 판단하고, 상기 상관분석 결과가 상기 지정된 조건을 만족하는 것에 응답하여, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하여 상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 상기 동영상 파일을 생성하고, 상기 상관분석 결과가 상기 지정된 조건을 만족하지 않는 것에 응답하여, 상기 마이크를 이용하여 상기 제1 비디오 데이터에 대응하는 내부 오디오 데이터를 획득하여 상기 제1 비디오 데이터 및 상기 내부 오디오 데이터를 기반으로 상기 동영상 파일을 생성할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서와 작동적으로 연결된 디스플레이를 더 포함하고, 상기 적어도 하나의 프로세서는, 상기 동영상 파일에 포함되는 오디오 데이터가 상기 외부 전자 장치로부터 획득된 것인지 또는 상기 마이크를 통해 획득된 것인지 여부를 나타내는 UI(user interface)를 상기 디스플레이에 표시할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법은, 상기 전자 장치에 포함된 카메라를 이용하여 제1 비디오 데이터를 획득하는 동작, 상기 전자 장치에 포함된 마이크를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득하는 동작, 상기 전자 장치에 포함된 무선 통신 회로를 통해, 외부 전자 장치로부터 상기 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 수신하는 동작, 상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과에 기반하여 상기 제1 스케줄을 제2 스케줄로 변경하는 동작, 상기 마이크를 이용하여 상기 제1 시간 구간에 후속하는 제2 시간 구간동안 상기 제2 스케줄에 따라 제2 기준 데이터를 획득하는 동작, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작, 및 상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성하는 동작을 포함할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법에 있어서, 상기 제1 스케줄을 상기 제2 스케줄로 변경하는 동작은, 상기 마이크를 활성화시키는 주기를 변경하는 동작, 또는 상기 마이크를 활성화시키는 지속시간을 변경하는 동작 중 적어도 하나를 포함할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법에 있어서, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작은, 상기 제2 기준 데이터 및 상기 제1 오디오 데이터의 상관을 분석하는 동작, 상관분석 결과를 기반으로 상기 제2 기준 데이터에 비해 상기 제1 오디오 데이터가 딜레이 된 시간을 확인하는 동작, 및 상기 딜레이 된 시간을 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작을 포함할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법에 있어서, 상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터를 비교하는 동작은, 상기 제1 기준 데이터에 제1 노이즈 필터를 적용하는 동작, 상기 제1 오디오 데이터에 제2 노이즈 필터를 적용하는 동작, 상기 제2 노이즈 필터가 적용된 제1 오디오 데이터의 일부와 상기 제1 노이즈 필터가 적용된 제1 기준 데이터의 상관을 분석하는 동작, 상관분석 결과가 지정된 조건을 만족하는지 여부를 판단하는 동작, 상기 상관분석 결과가 상기 지정된 조건을 만족하는 것에 응답하여, 상기 제1 노이즈 필터가 적용된 상기 제1 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작, 및 상기 상관분석 결과가 상기 지정된 조건을 만족하지 않는 것에 응답하여, 상기 제1 스케줄을 상기 제2 스케줄로 변경하는 동작을 포함할 수 있다.
일 실시 예에 따른 전자 장치는, 카메라, 마이크, 제1 외부 마이크 및 제2 외부 마이크를 포함하는 외부 전자 장치와 데이터를 송수신하는 무선 통신 회로, 및 상기 카메라, 상기 마이크, 및 상기 무선 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 카메라를 이용하여 제1 비디오 데이터를 획득하고, 상기 마이크를 이용하여 지정된 스케줄에 따라 기준 데이터를 획득하고, 상기 외부 전자 장치로부터 상기 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고, 상기 제1 오디오 데이터와 상기 기준 데이터의 비교 결과를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하고, 상기 제1 비디오 데이터, 및 상기 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 지정된 스케줄은 상기 마이크를 활성화시키는 주기 및 지속시간을 포함할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 상기 지속시간에 포함되지 않는 시간동안 상기 마이크를 비활성화 시킬 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 사용자로부터 동영상 촬영을 시작하는 사용자 입력을 수신하고, 상기 카메라가 상기 제1 비디오 데이터를 획득하도록 제어하고, 상기 무선 통신 회로를 통해 상기 외부 전자 장치가 상기 제1 오디오 데이터를 획득하도록 제어하는 신호를 송신할 수 있다.
일 실시 예에 따른 전자 장치에 있어서, 상기 적어도 하나의 프로세서는, 사용자로부터 동영상 촬영을 중지하는 사용자 입력을 수신하고, 상기 카메라가 상기 제1 비디오 데이터의 획득을 중지하도록 제어하고, 상기 무선 통신 회로를 통해 상기 외부 전자 장치가 상기 제1 오디오 데이터의 획득을 중지하도록 제어하는 신호를 송신할 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    카메라;
    마이크;
    외부 전자 장치와 데이터를 송수신하는 무선 통신 회로; 및
    상기 카메라, 상기 마이크, 및 상기 무선 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고,
    상기 적어도 하나의 프로세서는:
    상기 카메라를 이용하여 제1 비디오 데이터를 획득하고,
    상기 마이크를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득하고,
    상기 외부 전자 장치로부터 상기 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고,
    상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과에 기반하여 상기 제1 스케줄을 제2 스케줄로 변경하고,
    상기 마이크를 이용하여 상기 제1 시간 구간에 후속하는 제2 시간 구간동안 상기 제2 스케줄에 따라 제2 기준 데이터를 획득하고,
    상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하고,
    상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성하는, 전자 장치.
  2. 청구항 1에 있어서,
    상기 외부 전자 장치는 제1 이어 버드, 및 제2 이어 버드를 포함하고,
    상기 적어도 하나의 프로세서는:
    상기 제1 이어 버드로부터 상기 제1 비디오 데이터에 대응하는 상기 제1 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고,
    상기 제2 이어 버드로부터 상기 제1 비디오 데이터에 대응하는 제2 오디오 데이터를 상기 무선 통신 회로를 통해 수신하는, 전자 장치.
  3. 청구항 2에 있어서,
    상기 적어도 하나의 프로세서는:
    상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터 및 상기 제2 오디오 데이터의 딜레이를 각각 보정하고,
    상기 제1 비디오 데이터, 상기 보정된 제1 오디오 데이터, 및 상기 보정된 제2 오디오 데이터를 기반으로 상기 동영상 파일을 생성하는, 전자 장치.
  4. 청구항 1에 있어서,
    상기 제1 스케줄은 상기 마이크를 활성화시키는 주기(interval) 및 지속시간(duration)을 포함하고,
    상기 제2 스케줄은 상기 제1 스케줄에 비해 상기 주기 또는 상기 지속시간 중 적어도 하나가 변경된, 전자 장치.
  5. 청구항 1에 있어서,
    상기 적어도 하나의 프로세서는:
    상기 제2 기준 데이터 및 상기 제1 오디오 데이터의 상관을 분석하고,
    상관분석 결과를 기반으로 상기 제2 기준 데이터에 비해 상기 제1 오디오 데이터가 딜레이 된 시간을 확인하고,
    상기 딜레이 된 시간을 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는, 전자 장치.
  6. 청구항 1에 있어서,
    상기 적어도 하나의 프로세서는:
    상기 제1 기준 데이터에 제1 노이즈 필터를 적용하고,
    상기 제1 오디오 데이터에 제2 노이즈 필터를 적용하고,
    상기 제2 노이즈 필터가 적용된 제1 오디오 데이터의 일부와 상기 제1 노이즈 필터가 적용된 제1 기준 데이터의 상관을 분석하고,
    상관분석 결과가 지정된 조건을 만족하는지 여부를 판단하고,
    상기 상관분석 결과가 상기 지정된 조건을 만족하는 것에 응답하여, 상기 제1 노이즈 필터가 적용된 상기 제1 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하고,
    상기 상관분석 결과가 상기 지정된 조건을 만족하지 않는 것에 응답하여, 상기 제1 스케줄을 상기 제2 스케줄로 변경하는, 전자 장치.
  7. 청구항 1에 있어서,
    상기 외부 전자 장치는 제1 외부 마이크, 제2 외부 마이크를 포함하고,
    상기 적어도 하나의 프로세서는:
    상기 외부 전자 장치가 상기 제1 외부 마이크를 이용하여 획득한 상기 제1 오디오 데이터, 및 상기 외부 전자 장치가 상기 제2 외부 마이크를 이용하여 획득한 제2 오디오 데이터를 상기 무선 통신 회로를 통해 수신하고, 상기 제1 오디오 데이터 및 상기 제2 오디오 데이터는 상기 제1 비디오 데이터에 대응함;
    상기 제1 오디오 데이터, 및 상기 제2 오디오 데이터 각각과 상기 제2 기준 데이터의 상관을 분석하는, 전자 장치.
  8. 청구항 7에 있어서,
    상기 적어도 하나의 프로세서는:
    상관분석 결과를 기반으로 상기 제1 오디오 데이터와 상기 제2 오디오 데이터 중 지정된 조건을 만족하는 어느 하나의 오디오 데이터를 선택하고,
    상기 제1 비디오 데이터, 및 상기 선택된 오디오 데이터를 기반으로 상기 동영상 파일을 생성하는, 전자 장치.
  9. 청구항 7에 있어서,
    상기 적어도 하나의 프로세서는:
    상관분석 결과를 기반으로 상기 제1 오디오 데이터와 상기 제2 오디오 데이터 중 지정된 조건을 만족하는 어느 하나의 오디오 데이터를 선택하고,
    상기 제2 기준 데이터에 비해 상기 선택된 오디오 데이터가 딜레이 된 시간을 확인하고,
    상기 딜레이 된 시간을 기반으로 상기 제1 오디오 데이터, 및 상기 제2 오디오 데이터의 딜레이를 보정하는, 전자 장치.
  10. 청구항 1에 있어서,
    상기 적어도 하나의 프로세서는:
    상기 제2 기준 데이터 및 상기 제1 오디오 데이터의 상관을 분석하고,
    상관분석 결과가 지정된 조건을 만족하는지 여부를 판단하고,
    상기 상관분석 결과가 상기 지정된 조건을 만족하는 것에 응답하여, 상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하여 상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 상기 동영상 파일을 생성하고,
    상기 상관분석 결과가 상기 지정된 조건을 만족하지 않는 것에 응답하여, 상기 마이크를 이용하여 상기 제1 비디오 데이터에 대응하는 내부 오디오 데이터를 획득하여 상기 제1 비디오 데이터 및 상기 내부 오디오 데이터를 기반으로 상기 동영상 파일을 생성하는, 전자 장치.
  11. 청구항 10에 있어서,
    상기 적어도 하나의 프로세서와 작동적으로 연결된 디스플레이를 더 포함하고,
    상기 적어도 하나의 프로세서는,
    상기 동영상 파일에 포함되는 오디오 데이터가 상기 외부 전자 장치로부터 획득된 것인지 또는 상기 마이크를 통해 획득된 것인지 여부를 나타내는 UI(user interface)를 상기 디스플레이에 표시하는, 전자 장치.
  12. 전자 장치의 동작 방법에 있어서,
    상기 전자 장치에 포함된 카메라를 이용하여 제1 비디오 데이터를 획득하는 동작;
    상기 전자 장치에 포함된 마이크를 이용하여 제1 시간 구간동안 제1 스케줄에 따라 제1 기준 데이터를 획득하는 동작;
    상기 전자 장치에 포함된 무선 통신 회로를 통해, 외부 전자 장치로부터 상기 제1 비디오 데이터에 대응하는 제1 오디오 데이터를 수신하는 동작;
    상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터의 비교 결과에 기반하여 상기 제1 스케줄을 제2 스케줄로 변경하는 동작;
    상기 마이크를 이용하여 상기 제1 시간 구간에 후속하는 제2 시간 구간동안 상기 제2 스케줄에 따라 제2 기준 데이터를 획득하는 동작;
    상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작; 및
    상기 제1 비디오 데이터 및 상기 보정된 제1 오디오 데이터를 기반으로 동영상 파일을 생성하는 동작을 포함하는, 전자 장치의 동작 방법.
  13. 청구항 12에 있어서,
    상기 제1 스케줄을 상기 제2 스케줄로 변경하는 동작은:
    상기 마이크를 활성화시키는 주기를 변경하는 동작, 또는 상기 마이크를 활성화시키는 지속시간을 변경하는 동작 중 적어도 하나를 포함하는, 전자 장치의 동작 방법.
  14. 청구항 12에 있어서,
    상기 제2 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작은:
    상기 제2 기준 데이터 및 상기 제1 오디오 데이터의 상관을 분석하는 동작;
    상관분석 결과를 기반으로 상기 제2 기준 데이터에 비해 상기 제1 오디오 데이터가 딜레이 된 시간을 확인하는 동작; 및
    상기 딜레이 된 시간을 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작을 포함하는, 전자 장치의 동작 방법.
  15. 청구항 12에 있어서,
    상기 제1 오디오 데이터의 일부와 상기 제1 기준 데이터를 비교하는 동작은:
    상기 제1 기준 데이터에 제1 노이즈 필터를 적용하는 동작;
    상기 제1 오디오 데이터에 제2 노이즈 필터를 적용하는 동작;
    상기 제2 노이즈 필터가 적용된 제1 오디오 데이터의 일부와 상기 제1 노이즈 필터가 적용된 제1 기준 데이터의 상관을 분석하는 동작;
    상관분석 결과가 지정된 조건을 만족하는지 여부를 판단하는 동작;
    상기 상관분석 결과가 상기 지정된 조건을 만족하는 것에 응답하여, 상기 제1 노이즈 필터가 적용된 상기 제1 기준 데이터를 기반으로 상기 제1 오디오 데이터의 딜레이를 보정하는 동작; 및
    상기 상관분석 결과가 상기 지정된 조건을 만족하지 않는 것에 응답하여, 상기 제1 스케줄을 상기 제2 스케줄로 변경하는 동작을 포함하는, 전자 장치의 동작 방법.
PCT/KR2022/009373 2021-09-09 2022-06-30 동영상을 촬영하는 전자 장치 및 그 동작 방법 WO2023038252A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/599,972 US20240214533A1 (en) 2021-09-09 2024-03-08 Electronic device for capturing moving image and operation method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210120620A KR20230037385A (ko) 2021-09-09 2021-09-09 동영상을 촬영하는 전자 장치 및 그 동작 방법
KR10-2021-0120620 2021-09-09

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/599,972 Continuation US20240214533A1 (en) 2021-09-09 2024-03-08 Electronic device for capturing moving image and operation method thereof

Publications (1)

Publication Number Publication Date
WO2023038252A1 true WO2023038252A1 (ko) 2023-03-16

Family

ID=85506578

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/009373 WO2023038252A1 (ko) 2021-09-09 2022-06-30 동영상을 촬영하는 전자 장치 및 그 동작 방법

Country Status (3)

Country Link
US (1) US20240214533A1 (ko)
KR (1) KR20230037385A (ko)
WO (1) WO2023038252A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157806A (ja) * 2008-12-26 2010-07-15 Yamaha Corp ハウリング防止装置
JP2010171625A (ja) * 2009-01-21 2010-08-05 Olympus Corp 撮像装置、録音装置、および動画撮影システム
KR20110083360A (ko) * 2010-01-14 2011-07-20 삼성전자주식회사 디지털 영상 처리장치 및 그 제어방법
JP2017103542A (ja) * 2015-11-30 2017-06-08 株式会社小野測器 同期装置、同期方法及び同期プログラム
KR20210088014A (ko) * 2017-03-31 2021-07-13 그레이스노트, 인코포레이티드 모션 비디오를 갖는 음악 서비스

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157806A (ja) * 2008-12-26 2010-07-15 Yamaha Corp ハウリング防止装置
JP2010171625A (ja) * 2009-01-21 2010-08-05 Olympus Corp 撮像装置、録音装置、および動画撮影システム
KR20110083360A (ko) * 2010-01-14 2011-07-20 삼성전자주식회사 디지털 영상 처리장치 및 그 제어방법
JP2017103542A (ja) * 2015-11-30 2017-06-08 株式会社小野測器 同期装置、同期方法及び同期プログラム
KR20210088014A (ko) * 2017-03-31 2021-07-13 그레이스노트, 인코포레이티드 모션 비디오를 갖는 음악 서비스

Also Published As

Publication number Publication date
US20240214533A1 (en) 2024-06-27
KR20230037385A (ko) 2023-03-16

Similar Documents

Publication Publication Date Title
WO2022030882A1 (ko) 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법
WO2022114801A1 (ko) 복수의 카메라를 포함하는 전자 장치 및 그 전자 장치의 제어 방법
WO2022098204A1 (ko) 가상현실 서비스를 제공하는 전자 장치 및 방법
WO2022215910A1 (ko) 화면 공유 방법 및 그 전자 장치
WO2021256709A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022154363A1 (ko) 오디오 데이터를 처리하기 위한 오디오 장치 및 그의 동작 방법
WO2022154416A1 (ko) 외부 장치에 의해 유입되는 에코를 제거하는 방법 및 전자 장치
WO2023033396A1 (ko) 연속된 촬영 입력을 처리하는 전자 장치 및 그의 동작 방법
WO2022031050A1 (ko) 이미지를 생성하는 전자 장치 및 방법
WO2022203447A1 (ko) 이미지 센서를 포함하는 전자 장치 및 그 동작 방법
WO2023038252A1 (ko) 동영상을 촬영하는 전자 장치 및 그 동작 방법
WO2022260252A1 (ko) 카메라 모듈을 포함하는 전자 장치 및 그 전자 장치의 동작 방법
WO2022039457A1 (ko) 카메라 및 마이크를 포함하는 전자 장치
WO2023018201A1 (ko) 이미지 안정화를 수행하는 전자 장치 및 그의 동작 방법
WO2023075335A1 (ko) 복수의 렌즈들을 구비하는 전자 장치 및 그 제어 방법
WO2023033333A1 (ko) 복수의 카메라를 포함하는 전자 장치 및 그 동작 방법
WO2022145914A1 (ko) 전력 공급 장치를 이용하여 오디오 출력 장치를 찾는 방법 및 그 전력 공급 장치
WO2022177166A1 (ko) 화면 재생률을 제어하는 방법 및 이를 지원하는 전자 장치
WO2022154440A1 (ko) 오디오 데이터를 처리하는 전자 장치 및 그 동작 방법
WO2022191386A1 (ko) 오디오 입력을 위한 전자 장치 및 그 동작 방법
WO2022149812A1 (ko) 카메라 모듈을 포함하는 전자 장치 및 그 전자 장치의 동작 방법
WO2022030908A1 (ko) 전자 장치 및 이를 이용한 영상 데이터와 오디오 데이터 동기화 방법
WO2023063621A1 (ko) 오디오 레코딩을 위한 전자 장치 및 그 동작 방법
WO2022139238A1 (ko) 이미지를 제공하는 방법 및 이를 지원하는 전자 장치
WO2023063608A1 (ko) 이미지를 제공하는 방법 및 이를 지원하는 전자 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22867521

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22867521

Country of ref document: EP

Kind code of ref document: A1