WO2023149770A1 - 전자 장치에서 영상을 편집하는 방법 및 장치 - Google Patents

전자 장치에서 영상을 편집하는 방법 및 장치 Download PDF

Info

Publication number
WO2023149770A1
WO2023149770A1 PCT/KR2023/001670 KR2023001670W WO2023149770A1 WO 2023149770 A1 WO2023149770 A1 WO 2023149770A1 KR 2023001670 W KR2023001670 W KR 2023001670W WO 2023149770 A1 WO2023149770 A1 WO 2023149770A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
area
electronic device
video
information
Prior art date
Application number
PCT/KR2023/001670
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 삼성전자 주식회사
Priority to US18/106,665 priority Critical patent/US20230252598A1/en
Publication of WO2023149770A1 publication Critical patent/WO2023149770A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers

Definitions

  • the present disclosure relates to an electronic device and a method of editing and restoring an image at least temporarily stored in a memory in the electronic device.
  • Electronic devices eg, mobile communication terminals, smart phones, tablet PCs (personal computers), notebooks, and/or digital cameras
  • the frequency with which users edit images (eg, still images, moving images) in daily life using electronic devices is also increasing.
  • a user may capture an image regardless of space and/or time through a camera provided in an electronic device in daily life. Also, a user may receive an image through wireless communication and/or wired communication. After capturing or receiving an image, a user may edit the image in various ways through an electronic device.
  • a user may edit an image using various editing tools (eg, changing an image filter, color tone curve, contrast, brightness, sharpness, crop, and/or rotation) included in an application installed in an electronic device.
  • various editing tools eg, changing an image filter, color tone curve, contrast, brightness, sharpness, crop, and/or rotation
  • Embodiments of the present disclosure may provide an electronic device capable of restoring an original video or an edited video even when an application is abnormally terminated during video editing, and a method for editing and restoring an image stored in a memory in the electronic device.
  • an electronic device may include a memory in which a first area and a second area having different logical addresses are set, and at least one processor connected to the memory.
  • the at least one processor is configured to apply a hidden attribute to a second image generated by editing the first image stored in the first region, and to restore the first image or the second image based on at least a partial frame.
  • the first image is located in the second area.
  • the hidden attribute of the second image may be released, and the temporary file may be deleted corresponding to the canceling of the hidden attribute of the second image.
  • a method of operating an electronic device includes applying a hidden attribute to a second image generated by editing a first image stored in a first region having a first logical address in a memory, and applying a hidden attribute to at least some frames.
  • an operation of deleting the temporary file may be included.
  • the electronic device may restore the edited video or the original video when the edited video is not normally exposed to the user.
  • the electronic device may restore the edited video or the original video when an application is abnormally terminated during video editing.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
  • FIG. 2 shows an example of a block diagram of an electronic device according to various embodiments.
  • FIG. 3 illustrates an example for describing an operation of editing an image by an electronic device according to various embodiments.
  • FIG. 4 shows another example of a block diagram of an electronic device according to various embodiments.
  • FIG. 5 illustrates an example for describing an operation of editing an image by an electronic device according to various embodiments.
  • FIG. 6 illustrates an example of an operation of creating and deleting a temporary file by an electronic device according to various embodiments.
  • FIG. 7 illustrates another example of an operation of creating and deleting temporary files by an electronic device according to various embodiments of the present disclosure.
  • FIG. 8 illustrates another example of an operation of creating and deleting a temporary file by an electronic device according to various embodiments.
  • FIG. 1 is a block diagram of an electronic device in a network environment 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 one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • 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 a single 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 instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • 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, image signal processor or 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 set to detect a touch or a pressure sensor set 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 one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • 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 cell, a rechargeable secondary cell, 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 including 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 one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • Electronic devices 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 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 interchangeable with terms such as, for example, logic, logical blocks, parts, 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 above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is.
  • one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added.
  • 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. .
  • the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
  • FIG. 2 shows an example of a block diagram of an electronic device according to various embodiments.
  • an electronic device 200 may include a processor 210 (eg, including a processing circuit) and a memory 220 .
  • the processor 210 may be the same as or similar to the processor 120 of FIG. 1 .
  • the processor 210 may include an image editing module 211 , an original image management module 213 , and an edited image management module 215 .
  • the image editing module 211 , the original image management module 213 , and the edited image management module 215 may be executed in the processor 210 as software modules.
  • the operation of the image editing module 211, the original image management module 213, and the edited image management module 215 can be understood as the operation of the processor 210, and the modules are various processing circuits and/or It may contain executable program instructions.
  • the memory 220 may be the same as or similar to the memory 130 of FIG. 1 .
  • the memory 220 may include a first area 221 and a second area 223 .
  • the first area 221 and the second area 223 may be physically separated areas, and may be physically separated and set in one memory or set in separate memories.
  • the first area 221 and the second area 223 may be logically separated areas within the physically same memory 220 .
  • each of the first area 221 and the second area 223 may be an area to which different logical addresses are allocated within the memory 220 .
  • the first area 221 may be called a general area or a shared area
  • the second area 223 may be called a security area.
  • the image editing module 211 may edit an image at least temporarily stored in the memory 220 .
  • the original image management module 213 may manage original images before editing, which are at least temporarily stored in the memory 220 .
  • the edited video management module 215 may manage the edited video edited by the video editing module 211 .
  • the first area 221 may be an area within the memory 220 set to be accessible by the user
  • the second area 223 may be an area within the memory 220 set to be accessible by the user. there is.
  • the first area 221 and the second area 223 may be physically separated areas as described above or logically separated areas within the same memory 220 .
  • each of the first area 221 and the second area 223 may exist in the same memory 220 but may be assigned different addresses (or logical addresses).
  • first area 221 and the second area 223 are illustrated as existing in the same memory 220, but the technical spirit of the present disclosure is not limited thereto, and the first area 221 and the second area (223) Each may be implemented in a different memory.
  • the image editing module 211 may generate a separate project file for image editing and edit the image using the project file.
  • the image editing module 211 edits an image using a project file
  • the project file and/or the original image file may be deleted or a file path may be changed.
  • the video editing module 211 edits video using a project file, when an edited video and an original video exist at the same time, difficulties may exist in file search and management.
  • the image editing module 211 may use a non-destructive editing method instead of an image editing method using a project file. According to various embodiments, the image editing module 211 may perform a non-destructive editing method including at least some of operations 1a to 4a below.
  • the edited video management module 215 applies a hidden attribute to the edited video to maintain the same name and/or the same media ID in the same folder with respect to the video being edited to store the edited video in a first area ( 221) I can save it as my hidden file.
  • the edited video management module 215 may store the edited video as a hidden file so that a multimedia file management program (eg, a gallery application) does not recognize the edited video.
  • a location of a hidden file in which an edited video is stored may be the same as a location of a folder of an original video.
  • the original image management module 213 may manage the original image stored in the first region 221 to be stored in the second region 223 by changing the address value of the original image. According to various embodiments, the original image management module 213 may change an address value of an original image based on a move command. According to various embodiments, the original video management module 213 stores the original video in a second area (low level file system) that is not recognized by a multimedia file management program (eg, a gallery application). 223) can be stored.
  • a multimedia file management program eg, a gallery application
  • the edited video management module 215 may release the hidden attribute for the edited video to which the hidden attribute is applied, and expose the edited video under the same name at the location where the original video was. According to various embodiments, based on confirming that the original video is successfully stored in the second area 223, the edited video management module 215 exposes the edited video to which the hidden attribute is applied to the location where the original video exists so that the user can The edited video can be recognized as the original video.
  • the file management program deletes the original video.
  • an editor eg, a video editing application
  • the file management program returns the edited video. It can be recognized as not updated.
  • FIG. 3 illustrates an example for describing an operation of editing an image by an electronic device according to various embodiments.
  • a processor included in an electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) (eg, the processor 120 of FIG. 1 , FIG. 2
  • the processor 210 of may generate an edited image 340 by editing the original image 330 stored in the first region 310 (eg, the first region 221 of FIG. 2 ) in the memory. there is.
  • the processor may set the edited image 640 as a hidden file by applying a hidden attribute to the edited image 640 within the first area 310 .
  • the processor changes the address (or logical address) of the original image 330 stored in the first area 310 so that the original image 330 is displayed in the second area 320 (eg, FIG. It can be controlled to be located in the second area 223 of 2.
  • the processor cancels the hidden attribute of the edited image 340 to display the edited image 640 in the first region ( 310) can be exposed to the user.
  • FIG. 4 shows another example of a block diagram of an electronic device according to various embodiments.
  • an electronic device 400 may include a processor 410 (eg, including a processing circuit) and a memory 420 .
  • the processor 410 may be the same as or similar to the processor 120 of FIG. 1 .
  • the processor 410 may include an image editing module 411 , an original image management module 413 , an edited image management module 415 , and a temporary file management module 417 .
  • the image editing module 411, the original image management module 413, the edited image management module 415, and the temporary file management module 417 may be executed in the processor 410 as software modules.
  • operations of the image editing module 411 , original image management module 413 , edited image management module 415 , and temporary file management module 417 may be understood as operations of the processor 410 .
  • the memory 420 may be the same as or similar to the memory 130 of FIG. 1 .
  • the memory 420 may include a first area 421 and a second area 423 .
  • each of the first area 421 and the second area 423 may be an area to which different logical addresses are allocated within the memory 420 .
  • the first area 421 may be called a general area or a shared area, and the second area 423 may be called a security area.
  • the image editing module 411 edits the image stored in the memory 420
  • the original image management module 413 manages the original image before editing stored in the memory 420
  • the edited image management module 415 may manage the edited video edited by the video editing module 411
  • the temporary file management module 417 may create and manage temporary files for restoring an original video and/or an edited video in a situation where an editor (eg, a video editing application) is abnormally terminated. there is.
  • the first area 421 may be an area within the memory 420 set to be accessible by the user
  • the second area 423 may be an area within the memory 420 set to be accessible by the user. there is.
  • the first area 421 and the second area 423 may exist in the same memory 420 and may be logically separated areas.
  • each of the first area 421 and the second area 423 may exist in the same memory 420 but may be assigned different addresses (or logical addresses).
  • first area 421 and the second area 423 are illustrated as existing in the same memory 420, but the technical spirit of the present disclosure is not limited thereto, and the first area 421 and the second area (423) Each can be implemented in a different memory.
  • the image editing module 411 may store editing-related information when saving after editing an image.
  • the edited video management module 415 applies a hidden attribute to the edited video so that the multimedia file management program (eg, gallery application) does not recognize the edited video as a hidden file in the first area 421. can be saved as
  • the location of the hidden file in which the edited video is stored may be the same location as the folder of the original file.
  • the temporary file management module 417 may create a temporary file including at least one of a dummy image and metadata.
  • the dummy image may be a video generated based on a predetermined image.
  • a dummy image may be generated using some frames of an edited image and/or an original image.
  • the temporary file management module 417 may include path information of an original video in the first area 421, path information of an edited video to which a hidden attribute is applied, and original video in the second area 423.
  • a temporary file may be created by adding at least one of image path information and editing information used in the edited image as metadata.
  • dummy images may be used in various applications.
  • an editor eg, a video editing application
  • a multimedia file management program eg, a gallery application
  • a dummy image is a video file for image restoration, and identification information for distinguishing it from a general video file may be added.
  • path information of an original video may be configured as follows.
  • path information of an edited video may be configured as follows.
  • "X1" included in the path information of the original video and "X2" included in the path information of the edited video may represent different paths.
  • Metadata may include version information, original video information (eg resolution, duration), section editing information (eg trim duration), filter information (eg filter type, filter name), brightness control information (eg : brightness).
  • a temporary file may be configured by adding text-type metadata information to a dummy image.
  • the dummy image generated by the temporary file management module 417 may be displayed through a multimedia file management program (eg, a gallery application).
  • a user may check a displayed dummy image through a multimedia file management program (eg, a gallery application) and recognize that there is an image being edited.
  • a user selects a dummy image displayed through a multimedia file management program (eg, a gallery application) to initiate an image editing process. can make it happen again.
  • the edited video management module 415 sets at least one of editing information, original video path information in the second area 423, and original video path information in the first area 421 to a hidden attribute. It can be saved in the applied edited video.
  • the original image management module 413 may manage the original image stored in the first region 421 to be stored in the second region 423 by changing the address value of the original image. According to various embodiments, the original image management module 413 may change an address value of the original image based on a move command. According to various embodiments, the original video management module 413 stores the original video in a second area (low level file system) that is not recognized by a multimedia file management program (eg, a gallery application). 423).
  • a multimedia file management program eg, a gallery application
  • the edited video management module 415 may release the hidden attribute for the edited video to which the hidden attribute is applied, thereby exposing the edited video under the same name at the location where the original video was. According to various embodiments, based on confirming that the original video is successfully stored in the second area 423, the edited video management module 415 exposes the edited video to which the hidden attribute is applied to the location where the original video exists so that the user can The edited video can be recognized as the original video.
  • the temporary file management module 417 may delete the temporary file including at least one of the dummy video and metadata.
  • FIG. 5 illustrates an example for describing an operation of editing an image by an electronic device according to various embodiments.
  • a processor included in an electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 400 of FIG. 4) (eg, the processor 120 of FIG. 1, FIG. 4
  • the processor 410 of may generate an edited image 540 by editing the original image 530 stored in the first region 510 (eg, the first region 421 of FIG. 4 ) in the memory.
  • the processor may set the edited image 540 as a hidden file by applying a hidden attribute to the edited image 540 within the first area 510 .
  • the processor is a temporary file 550 used to restore the original video 530 and/or the edited video 540 in case an editor (eg, video editing application) is suddenly terminated. ) may be created in the first area 510 .
  • the temporary file 550 may include at least one of a dummy image and metadata.
  • the dummy image may be a video generated based on at least some frames of a predetermined image.
  • the dummy image may be generated using at least some frames of the edited image 540 and/or the original image 530 .
  • the dummy image may be generated based on another frame unrelated to the original image 530 and/or the edited image 540 .
  • a dummy image may be created (or edited) based on a sample image belonging to a resource of an image editing program and/or a pre-designated file (or frame) completely unrelated to the original.
  • Metadata may include path information of the original video 530 in the first area 510, path information of the edited video 540 set to be hidden, and original video in the second area 520. It may include at least one of path information of 530 and editing information used in video editing.
  • the processor changes the address (or logical address) of the original image 530 stored in the first area 510 so that the original image 530 is displayed in the second area 520 (eg, FIG. It can be controlled to be located in the second area 223 of 2.
  • the processor cancels the hidden attribute of the edited image 540 to display the edited image 540 in the first region ( 510) can be exposed.
  • the processor may delete the temporary file 550 .
  • FIG. 6 illustrates an example of an operation of creating and deleting a temporary file by an electronic device according to various embodiments.
  • an electronic device may confirm that an editor (eg, an image editing application) is terminated before the original video is located in the second region (eg, the second region 423 of FIG. 4 ) in the memory.
  • an editor eg, an image editing application
  • the original video is stored in the first region in memory (eg, the first region in FIG. 4 ).
  • Area 1 421), and the edited video may remain as a hidden file by applying the hide attribute.
  • the electronic device may extract (or check) at least one of path information and edit information of an edited image added to a dummy image included in a temporary file.
  • the electronic device searches for an original video using at least one of path information and editing information of the extracted (or confirmed) edited video, changes an address value of the original video, and stores the original video in a second area. can be saved
  • the electronic device may add edit information and original path information in the second area to the edited video set as a hidden file.
  • the electronic device may release the hidden attribute of the edited video, expose the edited video to the location where the original video was in the first area, and delete the temporary file.
  • the electronic device cancels the hidden attribute of the edited video and edits the edited video.
  • An image may be exposed to a location where the original image was located in the first region.
  • path information and editing information for the original video may not be added to the edited video.
  • FIG. 7 illustrates another example of an operation of creating and deleting temporary files by an electronic device according to various embodiments of the present disclosure.
  • an electronic device eg, the electronic device 101 of FIG. 1 , the electronic device 400 of FIG. 4 , the processor 210 of FIG. 2 , and the processor 410 of FIG. 4
  • the original image in the second area eg, the second area 423 of FIG. 4
  • the edited video set as the original video, temporary file, and hidden file may exist in the first area.
  • an edited video set as a hidden file may include original video path information and editing information in the second area.
  • the electronic device may check the edited video set as a hidden file and the original video using the dummy video in the temporary file.
  • the electronic device may extract information added to the edited video set as a hidden file and determine whether information on the dummy video matches information on the edited video.
  • the electronic device changes the address (or logical address) of the original video and places the original video in the second area,
  • the temporary file may be deleted after the edited video is exposed in the first area by canceling the hidden attribute of the edited video.
  • the electronic device checks the original image of each of the information of the edited image and the information of the dummy image, whichever is more accurate. An original image may be identified based on the image information.
  • the electronic device changes the address (or logical address) of the original video to place the original video in the second area, cancels the hidden attribute of the edited video, exposes the edited video in the first area, and creates a temporary file. can be deleted.
  • the electronic device may change the address (or logical address) of the original video to position the original video in the second area, and update information included in the edited video if the edited video needs to be updated. .
  • FIG. 8 illustrates another example of an operation of creating and deleting a temporary file by an electronic device according to various embodiments.
  • an electronic device eg, the electronic device 101 of FIG. 1 or the electronic device 400 of FIG. 4 .
  • the electronic device adds information on a dummy image to an edited video set as a hidden file, and then cancels the hidden attribute of the edited video.
  • the electronic device may delete temporary files. According to various embodiments, when the original video is stored in the second area, only the temporary file can be viewed by the user, and the edited video processed as a hidden file and the original video in the second area may not be displayed to the user.
  • the electronic device confirms that the original video exists in the second area by using information added to the dummy video in the temporary file, adds the information of the dummy video to the edited video set as a hidden file, and then edits the video. You can turn off the hidden attribute for the video.
  • the electronic device may restore only the edited video to which the hide attribute is applied.
  • the electronic device checks the existence of the original video in the security area, and exposes the original video of the second area to the position of the existing original video, or An edited video may be regenerated using the original video and editing information of the temporary file.
  • the electronic device may add location information and editing information of the original video in the second region to the regenerated edited video.
  • the original image existing in the second region is copied and exposed to the position of the original original image in the first region, or a low-level file
  • the original image may be exposed in the first area by changing an address value of the original image using a low level file system.
  • an electronic device may have a first area (eg, the electronic device 400 of FIG. 4 ) having different logical addresses.
  • a memory in which the first area 421) and the second area (eg, the second area 423 of FIG. 4) are set eg, the memory 130 of FIG. 1 or the memory 420 of FIG. 4) , and at least one processor connected to the memory (eg, processor 120 of FIG. 1 or processor 410 of FIG. 4 ).
  • the at least one processor applies a hiding attribute to a second image generated by editing the first image stored in the first region, and based on at least some frames, the first image or the first image.
  • a temporary file for restoring an image may be created in the first area.
  • the at least one processor may change an address (or logical address) of the first image to position the first image in the second area.
  • the at least one processor in response to confirming that the first image is located in the second area, releases the hidden attribute of the second image, and Corresponding to the cancellation of the hidden attribute, the temporary file in the first area may be deleted.
  • the temporary file may include metadata related to at least one of the first image and the second image.
  • the metadata may include path information of the first video in the first area, path information of the second video to which the hidden attribute is applied, editing information for the second video, and the second video. At least one of path information of the first image within the region may be included.
  • the at least some frames used to generate the temporary file may include frames included in the first image or frames included in the second image.
  • the at least some frames used to generate the temporary file may include designated frames unrelated to the first image and the second image.
  • the at least one processor may control the temporary file to be displayed.
  • the first area may be set to be accessible by a user, and a first logical address may be set to the first area.
  • the second area may be set to be inaccessible to the user, and a second logical address may be set to the second area.
  • the at least one processor may perform the operation based on at least one of path information of the first image in the first area and path information of the first image in the second area included in the temporary file. It may be set to reconstruct the first image.
  • the at least one processor may perform the second image based on at least one of path information of the second image to which the hidden attribute is applied and at least one of editing information on the second image included in the temporary file. can be set to restore
  • the at least one processor determines the first image included in the temporary file based on an abnormal termination of an image editing application before positioning the first image in the second area. It may be set to determine whether information 1 and the second information about the first image included in the second image match.
  • the at least one processor changes the logical address of the first image based on determining that the first information and the second information match, and converts the first image into the second region. It can be controlled to be placed on .
  • the at least one processor identifies the first image in consideration of the first information and the second information based on determining that the first information and the second information do not match, and , It is possible to change the logical address of the first image to control the location of the first image in the second area.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Library & Information Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Automation & Control Theory (AREA)

Abstract

다양한 실시예들에 따르면, 전자 장치는, 서로 다른 논리적 주소를 갖는 제1 영역 및 제2 영역을 포함하는 메모리, 및 상기 메모리에 연결된 적어도 하나의 프로세서를 포함한다. 상기 적어도 하나의 프로세서는, 상기 제1 영역에 저장된 제1 영상을 편집하여 생성한 제2 영상에 숨김 속성을 적용하고, 적어도 일부 프레임에 기반하여 상기 제1 영상 또는 상기 제2 영상을 복원하기 위한 임시 파일을 생성하고, 상기 제1 영상에 대한 논리적 주소를 변경하여 상기 제1 영상을 상기 제2 영역으로 위치시키고, 상기 제1 영상이 상기 제2 영역에 위치함을 확인함에 상응하여, 상기 제2 영상에 대한 상기 숨김 속성을 해제하고, 상기 제2 영상에 대한 숨김 속성이 해제됨에 상응하여, 상기 임시 파일을 삭제하도록 설정될 수 있다.

Description

전자 장치에서 영상을 편집하는 방법 및 장치
본 개시는 전자 장치 및 전자 장치에서 메모리에 적어도 일시적으로 저장된 영상을 편집하고 복원하는 방법에 관한 것이다.
전자 장치(예: 이동통신 단말기, 스마트폰(smart phone), 태블릿(tablet) PC(personal computer), 노트북(notebook), 및/또는 디지털 카메라)는 최근 다양하게 활용되고 있다. 사용자가 전자 장치를 이용하여 일상 생활에서 영상(예: 정지 영상, 동영상)을 편집하는 빈도 역시 증가하고 있다.
예컨대, 사용자가 일상 생활에서 전자 장치에 구비된 카메라를 통해 공간 및/또는 시간에 구애 받지 않고 영상을 촬영할 수 있다. 또한, 사용자는 무선 통신 및/또는 유선 통신을 통해 영상을 수신할 수도 있다. 사용자는 영상을 촬영 또는 수신한 후 영상을 전자 장치를 통해 다양한 방식으로 편집할 수 있다.
사용자는 전자 장치에 설치된 어플리케이션에 포함된 다양한 편집 툴(예를 들어, image filter, color tone curve, contrast, brightness, sharpness, crop, 및/또는 rotation 변경)을 이용하여 영상을 편집할 수 있다.
전자 장치에서 영상 편집 시 어플리케이션에서 예상치 못한 오류가 발생하여 어플리케이션이 비정상적으로 종료되면 원본 영상 또는 편집된 영상이 손상될 수 있다.
본 개시의 실시예들은 영상 편집 중에 어플리케이션이 비정상적으로 종료되는 경우에도 원본 영상 또는 편집된 영상을 복원할 수 있는 전자 장치 및 전자 장치에서 메모리에 저장된 영상을 편집하고 복원하는 방법을 제공할 수 있다.
다양한 실시예들에 따르면, 전자 장치는, 서로 다른 논리적 주소를 갖는 제1 영역 및 제2 영역이 설정된 메모리, 및 상기 메모리에 연결된 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 제1 영역에 저장된 제1 영상을 편집하여 생성한 제2 영상에 숨김 속성을 적용하고, 적어도 일부 프레임에 기반하여 상기 제1 영상 또는 상기 제2 영상을 복원하기 위한 임시 파일을 생성하고, 상기 제1 영상에 대한 논리적 주소를 변경하여 상기 제1 영상을 상기 제2 영역으로 위치시키고, 상기 제1 영상이 상기 제2 영역에 위치함을 확인함에 상응하여, 상기 제2 영상에 대한 상기 숨김 속성을 해제하고, 상기 제2 영상에 대한 숨김 속성이 해제됨에 상응하여, 상기 임시 파일을 삭제할 수 있다.
다양한 실시예들에 따르면, 전자 장치의 동작 방법은, 메모리 내 제1 논리적 주소를 갖는 제1 영역에 저장된 제1 영상을 편집하여 생성한 제2 영상에 숨김 속성을 적용하는 동작과, 적어도 일부 프레임에 기반하여 상기 제1 영상 또는 상기 제2 영상을 복원하기 위한 임시 파일을 생성하는 동작과, 상기 제1 영상에 대한 논리적 주소를 변경하여 상기 제1 영상을 상기 메모리 내 제2 논리적 주소를 갖는 제2 영역으로 위치시키는 동작과, 상기 제1 영상이 상기 제2 영역에 위치함을 확인함에 상응하여, 상기 제2 영상에 대한 상기 숨김 속성을 해제하는 동작과, 상기 제2 영상에 대한 숨김 속성이 해제됨에 상응하여, 상기 임시 파일을 삭제하는 동작을 포함할 수 있다.
다양한 실시예들에 따르면, 전자 장치는 편집된 영상이 정상적으로 사용자에게 노출되지 않는 경우에 편집된 영상 또는 원본 영상을 복원할 수 있다.
다양한 실시예들에 따르면, 전자 장치는 영상 편집 중에 어플리케이션이 비정상적으로 종료되는 경우에 편집된 영상 또는 원본 영상을 복원할 수 있다.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 전자 장치의 블록도의 일 예시를 나타낸다.
도 3은 다양한 실시예에 따른 전자 장치가 영상을 편집하는 동작을 설명하기 위한 일 예시를 나타낸다.
도 4는 다양한 실시예에 따른 전자 장치의 블록도의 다른 예시를 나타낸다.
도 5는 다양한 실시예에 따른 전자 장치가 영상을 편집하는 동작을 설명하기 위한 예시를 나타낸다.
도 6은 다양한 실시예에 따른 전자 장치가 임시 파일을 생성 및 삭제하는 동작의 일 예시를 나타낸다.
도 7은 다양한 실시예에 따른 전자 장치가 임시 파일을 생성 및 삭제하는 동작의 다른 예시를 나타낸다.
도 8은 다양한 실시예에 따른 전자 장치가 임시 파일을 생성 및 삭제하는 동작의 또 다른 예시를 나타낸다.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 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는 다양한 실시예에 따른 전자 장치의 블록도의 일 예시를 나타낸다.
도 2를 참조하면, 전자 장치(200)(예: 도 1의 전자 장치(101))는 프로세서(210)(예를 들어, 처리 회로를 포함) 및 메모리(220)를 포함할 수 있다. 다양한 실시예에 따라, 프로세서(210)는 도 1의 프로세서(120)와 동일하거나 유사할 수 있다. 다양한 실시예에 따라, 프로세서(210)는 영상 편집 모듈(211), 원본 영상 관리 모듈(213), 및 편집 영상 관리 모듈(215)을 포함할 수 있다. 예를 들어, 영상 편집 모듈(211), 원본 영상 관리 모듈(213), 및 편집 영상 관리 모듈(215)은 소프트웨어 모듈로서 프로세서(210)에서 실행될 수 있다. 예를 들어, 영상 편집 모듈(211), 원본 영상 관리 모듈(213), 및 편집 영상 관리 모듈(215)의 동작은 프로세서(210)의 동작으로 이해될 수 있고, 모듈들은 다양한 처리 회로 및/또는 실행 가능한 프로그램 명령을 포함할 수 있다.
다양한 실시예에 따라, 메모리(220)는 도 1의 메모리(130)와 동일하거나 유사할 수 있다. 다양한 실시예에 따라, 메모리(220)는 제1 영역(221)과 제2 영역(223)을 포함할 수 있다. 예컨대, 상기 제1 영역(221)과 상기 제2 영역(223)은 물리적으로 구분된 영역들일 수 있으며, 하나의 메모리 내에서 물리적으로 구분하여 설정되거나 각각 별개의 메모리에 설정될 수도 있다. 또한, 상기 제1 영역(221)과 상기 제2 영역(223)은 물리적으로 동일한 메모리(220) 내에서 논리적으로 구분되는 영역일 수도 있다. 다양한 실시예에 따라, 제1 영역(221)과 제2 영역(223) 각각은 메모리(220) 내에서 서로 다른 논리적 주소가 할당된 영역일 수 있다. 다양한 실시예에 따라, 제1 영역(221)은 일반 영역 또는 공유 영역으로 불릴 수 있고, 제2 영역(223)은 보안 영역으로 불릴 수 있다.
다양한 실시예에 따라, 영상 편집 모듈(211)은 메모리(220)에 적어도 일시적으로 저장된 영상을 편집할 수 있다. 원본 영상 관리 모듈(213)은 메모리(220)에 적어도 일시적으로 저장된 편집 전 원본 영상을 관리할 수 있다. 편집 영상 관리 모듈(215)은 영상 편집 모듈(211)에 의해 편집된 편집 영상을 관리할 수 있다.
다양한 실시예에 따라, 제1 영역(221)은 사용자가 접근할 수 있도록 설정된 메모리(220) 내 영역이고, 제2 영역(223)은 사용자가 접근할 수 없도록 설정된 메모리(220) 내 영역일 수 있다. 다양한 실시예에 따라, 제1 영역(221)과 제2 영역(223)은 전술한 바와 같이 물리적으로 구분되는 영역이거나 동일한 메모리(220) 내에서 논리적으로 구분되는 영역일 수 있다. 다양한 실시예에 따라, 제1 영역(221)과 제2 영역(223)각각은 동일한 메모리(220) 내에 존재하나 서로 다른 주소(또는 논리적 주소)가 할당될 수 있다.
도 2에서는 제1 영역(221)과 제2 영역(223)이 동일한 메모리(220) 내에 존재하는 것으로 도시되어 있으나 본 개시의 기술적 사상은 이에 제한되지 않고, 제1 영역(221)과 제2 영역(223) 각각은 서로 다른 메모리 내에 구현될 수도 있다.
다양한 실시예에 따라, 영상 편집 모듈(211)은 영상 편집 시 영상 편집을 위한 별도의 프로젝트 파일(project file)을 생성하고, 해당 프로젝트 파일을 이용하여 영상을 편집할 수 있다. 다양한 실시예에 따라, 영상 편집 모듈(211)이 프로젝트 파일을 이용하여 영상 편집 시 프로젝트 파일 및/또는 원본 영상 파일이 삭제되거나 파일 경로(path)가 변경될 수 있다. 다양한 실시예에 따라, 영상 편집 모듈(211)이 프로젝트 파일을 이용한 영상 편집 시 편집 영상과 원본 영상이 동시에 존재하는 경우, 파일 검색 및 관리에 어려움이 존재할 수 있다.
다양한 실시예에 따라, 영상 편집 모듈(211)은 프로젝트 파일을 이용한 영상 편집 방법 대신 비파괴 편집 방법을 사용할 수 있다. 다양한 실시예에 따라, 영상 편집 모듈(211)은 아래 1a 동작 내지 4a 동작 중 적어도 일부를 포함하는 비파괴 편집 방법을 진행할 수 있다.
1a. 영상 편집 후 저장 시 편집 관련 정보를 저장
2a. 편집된 영상을 저장
3a. 저장된 편집 영상에 편집 관련 정보 저장
4a. 원본 영상을 메모리 내 제2 영역으로 이동
다양한 실시예에 따라, 영상 편집 모듈(211)이 비파괴 편집 방법 사용 시 편집된 영상을 원본 영상과 동일한 폴더에 동일 이름 및/또는 동일 미디어(media) ID로 유지하는 것이 불가능할 수 있다. 다양한 실시예에 따라, 편집 영상 관리 모듈(215)은 편집 중인 영상에 대하여 동일 폴더에 동일 이름 및/또는 동일 미디어 ID를 유지하기 위해 편집 영상에 숨김 속성을 적용하여 편집된 영상을 제1 영역(221) 내 숨김 파일(hidden file)로서 저장할 수 있다. 다양한 실시예에 따라, 편집 영상 관리 모듈(215)은 편집 영상을 멀티미디어 파일 관리 프로그램(예를 들어, 갤러리 어플리케이션)이 인식하지 못하도록 숨김 파일로 저장할 수 있다. 다양한 실시예에 따라, 편집 영상이 저장되는 숨김 파일의 위치는 원본 영상의 폴더의 위치와 동일할 수 있다.
다양한 실시예에 따라, 원본 영상 관리 모듈(213)은 원본 영상에 대한 어드레스 값을 변경하여 제1 영역(221) 내에 저장된 원본 영상을 제2 영역(223) 내에 저장되도록 관리할 수 있다. 다양한 실시예에 따라, 원본 영상 관리 모듈(213)은 이동 명령어에 기반하여 원본 영상에 대한 어드레스 값을 변경할 수 있다. 다양한 실시예에 따라, 원본 영상 관리 모듈(213)은 멀티미디어 파일 관리 프로그램(예를 들어, 갤러리 어플리케이션)이 인식하지 못하는 로우 레벨 파일 시스템(low level file system)을 이용하여 원본 영상을 제2 영역(223)에 저장할 수 있다.
다양한 실시예에 따라, 편집 영상 관리 모듈(215)은 숨김 속성이 적용된 편집 영상에 대한 숨김 속성을 해제하여 편집 영상을 원본 영상이 있던 위치에 동일 이름으로 노출시킬 수 있다. 다양한 실시예에 따라, 원본 영상이 제2 영역(223) 내에 성공적으로 저장됨을 확인함에 기반하여 편집 영상 관리 모듈(215)은 숨김 속성이 적용된 편집 영상을 원본 영상이 존재하던 위치에 노출시켜 사용자가 편집 영상을 원본 영상처럼 인식하도록 할 수 있다.
다양한 실시예에 따라, 제1 영역(221) 내에 저장되었던 원본 영상을 제2 영역(223) 내에 저장하는 동안 에디터(예를 들어, 영상 편집 어플리케이션)가 갑자기 종료되면 파일 관리 프로그램은 원본 영상이 삭제된 것으로 인식할 수 있다. 다양한 실시예에 따라, 편집 영상 관리 모듈(215)이 숨김 속성이 적용된 편집 영상에 대한 숨김 속성을 해제할 때 에디터(예를 들어, 영상 편집 어플리케이션)가 갑자기 종료되면 파일 관리 프로그램은 편집된 영상으로 업데이트가 안된 것으로 인식할 수 있다.
도 3은 다양한 실시예에 따른 전자 장치가 영상을 편집하는 동작을 설명하기 위한 일 예시를 나타낸다.
도 3을 참조하면, 전자 장치(예를 들어, 도 1의 전자 장치(101), 도 2의 전자 장치(200))에 포함되는 프로세서(예를 들어, 도 1의 프로세서(120), 도 2의 프로세서(210))는 메모리 내 제1 영역(310)(예를 들어, 도 2의 제1 영역(221))에 저장된 원본 영상(330)을 편집하여 편집된 영상(340)을 생성할 수 있다. 다양한 실시예에 따라, 프로세서는 제1 영역(310) 내에서 편집된 영상(640)에 숨김 속성을 적용함으로써 편집된 영상(640)을 숨김 파일로 설정할 수 있다.
다양한 실시예에 따라, 프로세서는 제1 영역(310)에 저장된 원본 영상(330)에 대한 주소(또는 논리적 주소)를 변경하여 원본 영상(330)이 제2 영역(320)(예를 들어, 도 2의 제2 영역(223)) 에 위치하도록 제어할 수 있다. 다양한 실시예에 따라, 프로세서는 원본 영상(330)을 제2 영역(320) 내에 성공적으로 위치시킨 후 편집된 영상(340)에 대한 숨김 속성을 해제함으로써 편집된 영상(640)을 제1 영역(310) 상에서 사용자에게 노출시킬 수 있다.
도 4는 다양한 실시예에 따른 전자 장치의 블록도의 다른 예시를 나타낸다.
도 4를 참조하면, 전자 장치(400)는 프로세서(410)(예를 들어, 처리 회로를 포함) 및 메모리(420)를 포함할 수 있다. 다양한 실시예에 따라, 프로세서(410)는 도 1의 프로세서(120)와 동일하거나 유사할 수 있다. 다양한 실시예에 따라, 프로세서(410)는 영상 편집 모듈(411), 원본 영상 관리 모듈(413), 편집 영상 관리 모듈(415), 및 임시 파일 관리 모듈(417)을 포함할 수 있다. 예를 들어, 영상 편집 모듈(411), 원본 영상 관리 모듈(413), 편집 영상 관리 모듈(415), 및 임시 파일 관리 모듈(417)은 소프트웨어 모듈로서 프로세서(410)에서 실행될 수 있다. 예를 들어, 영상 편집 모듈(411), 원본 영상 관리 모듈(413), 편집 영상 관리 모듈(415), 및 임시 파일 관리 모듈(417)의 동작은 프로세서(410)의 동작으로 이해될 수 있다.
다양한 실시예에 따라, 메모리(420)는 도 1의 메모리(130)와 동일하거나 유사할 수 있다. 다양한 실시예에 따라, 메모리(420)는 제1 영역(421)과 제2 영역(423)을 포함할 수 있다. 다양한 실시예에 따라, 제1 영역(421)과 제2 영역(423) 각각은 메모리(420) 내에서 서로 다른 논리적 주소가 할당된 영역일 수 있다. 다양한 실시예에 따라, 제1 영역(421)은 일반 영역 또는 공유 영역으로 불릴 수 있고, 제2 영역(423)은 보안 영역으로 불릴 수 있다.
다양한 실시예에 따라, 영상 편집 모듈(411)은 메모리(420)에 저장된 영상을 편집하고, 원본 영상 관리 모듈(413)은 메모리(420)에 저장된 편집 전 원본 영상을 관리하고, 편집 영상 관리 모듈(415)은 영상 편집 모듈(411)에 의해 편집된 편집 영상을 관리할 수 있다. 다양한 실시예에 따라, 임시 파일 관리 모듈(417)은 에디터(예를 들어, 영상 편집 어플리케이션)가 비정상적으로 종료되는 상황에서 원본 영상 및/또는 편집 영상을 복원하기 위한 임시 파일을 생성 및 관리할 수 있다.
다양한 실시예에 따라, 제1 영역(421)은 사용자가 접근할 수 있도록 설정된 메모리(420) 내 영역이고, 제2 영역(423)은 사용자가 접근할 수 없도록 설정된 메모리(420) 내 영역일 수 있다. 다양한 실시예에 따라, 제1 영역(421)과 제2 영역(423)은 동일한 메모리(420) 내에 존재하며 논리적으로 구분되는 영역일 수 있다. 다양한 실시예에 따라, 제1 영역(421)과 제2 영역(423) 각각은 동일한 메모리(420) 내에 존재하나 서로 다른 주소(또는 논리적 주소)거 할당될 수 있다.
도 4에서는 제1 영역(421)과 제2 영역(423)이 동일한 메모리(420) 내에 존재하는 것으로 도시되어 있으나 본 개시의 기술적 사상은 이에 제한되지 않고, 제1 영역(421)과 제2 영역(423) 각각은 서로 다른 메모리 내에 구현될 수 있다.
다양한 실시예에 따라, 영상 편집 모듈(411)은 영상 편집 후 저장 시 편집 관련 정보를 저장할 수 있다. 다양한 실시예에 따라, 편집 영상 관리 모듈(415)은 멀티미디어 파일 관리 프로그램(예를 들어, 갤러리 어플리케이션)이 인식하지 못하도록 편집 영상에 숨김 속성을 적용하여 편집 영상을 제1 영역(421) 내 숨김 파일로서 저장할 수 있다. 다양한 실시예에 따라, 편집 영상이 저장되는 숨김 파일의 위치는 원본 파일의 폴더와 동일한 위치일 수 있다.
다양한 실시예에 따라, 임시 파일 관리 모듈(417)은 더미(dummy) 영상 및 메타데이터 중에서 적어도 하나를 포함하는 임시 파일을 생성할 수 있다. 다양한 실시예에 따라, 더미 영상은 미리 정해진 이미지를 기반으로 생성되는 동영상일 수 있다. 다양한 실시예에 따라, 더미 영상은 편집 영상 및/또는 원본 영상의 일부 프레임을 이용하여 생성될 수 있다. 다양한 실시예에 따라, 임시 파일 관리 모듈(417)은 제1 영역(421)에서의 원본 영상의 경로(path) 정보, 숨김 속성이 적용된 편집 영상의 경로 정보, 제2 영역(423)에서의 원본 영상의 경로 정보, 및 편집 영상에서 사용한 편집 정보 중에서 적어도 하나를 메타데이터로 추가하여 임시 파일을 생성할 수 있다.
다양한 실시예에 따라, 더미 영상은 다양한 어플리케이션에서 사용될 수 있다. 다양한 실시예에 따라, 에디터(예를 들어, 영상 편집 어플리케이션)는 더미 영상을 사용하여 원본 영상 및/또는 편집 영상을 복원할 수 있다. 다양한 실시예에 따라, 멀티미디어 파일 관리 프로그램(예를 들어, 갤러리 어플리케이션)은 더미 영상을 사용하여 원본 영상 및/또는 편집 영상을 복원 프로세스를 진행할 수 있다. 다양한 실시예에 따라, 더미 영상은 영상 복원을 위한 비디오 파일로 일반 비디오 파일과 구분되도록 하는 식별 정보가 추가될 수 있다.
예를 들어, 원본 영상의 경로 정보는 아래와 같이 구성될 수 있다.
path:/X1/DCIM/Camera/AA.mp4
예를 들어, 편집 영상의 경로 정보는 아래와 같이 구성될 수 있다.
path:/X2/DCIM/Camera/BB.mp4
다양한 실시예에 따라, 원본 영상의 경로 정보에 포함되는 "X1"과 편집 영상의 경로 정보에 포함되는 "X2"는 서로 다른 경로를 나타낼 수 있다.
다양한 실시예에 따라, 메타데이터는 버전 정보, 원본 영상 정보(예: resolution, duration), 구간 편집 정보(예: trim duration), 필터 정보(예: filter type, filter name), 밝기 조절 정보(예: brightness) 중에서 적어도 하나를 포함할 수 있다. 다양한 실시예에 따라, 더미 영상에 텍스트 형태의 메타데이터 정보가 추가되어 임시 파일이 구성될 수 있다.
다양한 실시예에 따라, 임시 파일 관리 모듈(417)에 의해 생성된 더미 영상은 멀티미디어 파일 관리 프로그램(예를 들어, 갤러리 어플리케이션)을 통해 디스플레이될 수 있다. 다양한 실시예에 따라, 사용자는 멀티미디어 파일 관리 프로그램(예를 들어, 갤러리 어플리케이션)을 통해 디스플레이되는 더미 영상을 확인하고, 편집 중인 영상이 있음을 인식할 수 있다. 다양한 실시예에 따라, 에디터(예를 들어, 영상 편집 어플리케이션)가 비정상적으로 종료되는 상황에서 사용자는 멀티미디어 파일 관리 프로그램(예를 들어, 갤러리 어플리케이션)을 통해 디스플레이되는 더미 영상을 선택하여 영상 편집 프로세스가 다시 진행되도록 할 수 있다.
다양한 실시예에 따라, 편집 영상 관리 모듈(415)은 편집 정보, 제2 영역(423)에서의 원본 영상 경로 정보, 및 제1 영역(421)에서의 원본 영상 경로 정보 중에서 적어도 하나를 숨김 속성이 적용된 편집 영상에 저장할 수 있다.
다양한 실시예에 따라, 원본 영상 관리 모듈(413)은 원본 영상에 대한 어드레스 값을 변경하여 제1 영역(421) 내에 저장된 원본 영상을 제2 영역(423) 내에 저장되도록 관리할 수 있다. 다양한 실시예에 따라, 원본 영상 관리 모듈(413)은 이동 명령어에 기반하여 원본 영상에 대한 어드레스 값을 변경할 수 있다. 다양한 실시예에 따라, 원본 영상 관리 모듈(413)은 멀티미디어 파일 관리 프로그램(예를 들어, 갤러리 어플리케이션)이 인식하지 못하는 로우 레벨 파일 시스템(low level file system)을 이용하여 원본 영상을 제2 영역(423)에 저장할 수 있다.
다양한 실시예에 따라, 편집 영상 관리 모듈(415)은 숨김 속성이 적용된 편집 영상에 대한 숨김 속성을 해제하여 편집 영상을 원본 영상이 있던 위치에 동일 이름으로 노출시킬 수 있다. 다양한 실시예에 따라, 원본 영상이 제2 영역(423) 내에 성공적으로 저장됨을 확인함에 기반하여 편집 영상 관리 모듈(415)은 숨김 속성이 적용된 편집 영상을 원본 영상이 존재하던 위치에 노출시켜 사용자가 편집 영상을 원본 영상처럼 인식하도록 할 수 있다.
다양한 실시예에 따라, 편집 영상에 대한 숨김 속성 해제가 완료되면 임시 파일 관리 모듈(417)은 더미 영상 및 메타데이터 중에서 적어도 하나를 포함하는 임시 파일을 삭제할 수 있다.
도 5는 다양한 실시예에 따른 전자 장치가 영상을 편집하는 동작을 설명하기 위한 예시를 나타낸다.
도 5를 참조하면, 전자 장치(예를 들어, 도 1의 전자 장치(101), 도 4의 전자 장치(400))에 포함되는 프로세서(예를 들어, 도 1의 프로세서(120), 도 4의 프로세서(410))는 메모리 내 제1 영역(510)(예를 들어, 도 4의 제1 영역(421))에 저장된 원본 영상(530)을 편집하여 편집된 영상(540)을 생성할 수 있다. 다양한 실시예에 따라, 프로세서는 제1 영역(510) 내에서 편집된 영상(540)에 숨김 속성을 적용하여 편집된 영상(540)을 숨김 파일로 설정할 수 있다.
다양한 실시예에 따라, 프로세서는 에디터(예를 들어, 영상 편집 어플리케이션)가 갑자기 종료되는 경우를 대비하여 원본 영상(530) 및/또는 편집된 영상(540)을 복원하기 위해 사용되는 임시 파일(550)을 제1 영역(510) 내에 생성할 수 있다. 다양한 실시예에 따라, 임시 파일(550)은 더미 영상 및 메타데이터 중에서 적어도 하나를 포함할 수 있다.
다양한 실시예에 따라, 더미 영상은 미리 정해진 이미지의 적어도 일부 프레임을 기반으로 생성되는 동영상일 수 있다. 다양한 실시예에 따라, 더미 영상은 편집 영상(540) 및/또는 원본 영상(530)의 적어도 일부 프레임을 이용하여 생성될 수 있다. 다양한 실시예에 따라, 더미 영상은 원본 영상(530) 및/또는 편집 영상(540)과는 관계 없는 다른 프레임 기반으로 생성될 수 있다. 다양한 실시예에 따라, 더미 영상은 영상 편집 프로그램의 리소스에 속한 샘플 영상 및/또는 원본과 전혀 관계 없는 미리 지정된 파일(또는 프레임) 기반으로 생성(또는 편집)될 수 있다.
다양한 실시예에 따라, 메타데이터는 제1 영역(510)에서의 원본 영상(530)의 경로(path) 정보, 숨김 설정된 편집 영상(540)의 경로 정보, 제2 영역(520)에서의 원본 영상(530)의 경로 정보, 및 영상 편집 시 사용한 편집 정보 중에서 적어도 하나를 포함할 수 있다.
다양한 실시예에 따라, 프로세서는 제1 영역(510)에 저장된 원본 영상(530)에 대한 주소(또는 논리적 주소)를 변경하여 원본 영상(530)이 제2 영역(520)(예를 들어, 도 2의 제2 영역(223)) 에 위치하도록 제어할 수 있다. 다양한 실시예에 따라, 프로세서는 원본 영상(530)을 제2 영역(520) 내에 성공적으로 위치시킨 후 편집된 영상(540)에 대한 숨김 속성을 해제하여 편집된 영상(540)을 제1 영역(510) 상에서 노출시킬 수 있다. 다양한 실시예에 따라, 편집된 영상(540)에 대한 숨김 해제가 완료되면 프로세서는 임시 파일(550)을 삭제할 수 있다.
도 6은 다양한 실시예에 따른 전자 장치가 임시 파일을 생성 및 삭제하는 동작의 일 예시를 나타낸다.
도 6을 참조하면, 601 동작에서 전자 장치(예를 들어, 도 1의 전자 장치(101), 도 4의 전자 장치(400), 도 2의 프로세서(210), 도 4의 프로세서(410))는 원본 영상이 메모리 내 제2 영역(예를 들어, 도 4의 제2 영역(423))에 위치하기 전에 에디터(예를 들어, 영상 편집 어플리케이션)가 종료됨을 확인할 수 있다. 다양한 실시예에 따라, 원본 영상이 메모리 내 제2 영역에 위치하기 전에 에디터(예를 들어, 영상 편집 어플리케이션)가 종료되는 경우, 원본 영상은 메모리 내 제1 영역(예를 들어, 도 4의 제1 영역(421))에 그대로 남아 있고, 편집 영상은 숨김 속성이 적용되어 숨김 파일로서 남아 있을 수 있다.
603 동작에서, 전자 장치는 임시 파일에 포함되는 더미 영상에 추가된 편집 영상의 경로 정보 및 편집 정보 중에서 적어도 하나를 추출(또는, 확인)할 수 있다. 605 동작에서, 전자 장치는 추출된(또는, 확인된) 편집 영상의 경로 정보 및 편집 정보 중에서 적어도 하나를 이용하여 원본 영상을 찾고, 원본 영상에 대한 어드레스 값을 변경하여 원본 영상을 제2 영역에 저장할 수 있다.
607 동작에서, 전자 장치는 숨김 파일로 설정된 편집 영상에 편집 정보와 제2 영역에서의 원본 경로 정보를 추가할 수 있다. 609 동작에서, 전자 장치는 편집 영상에 대한 숨김 속성을 해제하여 편집 영상을 제1 영역 내 원본 영상이 있던 위치로 노출시키고, 임시 파일을 삭제할 수 있다.
605 동작에서, 전자 장치가 추출된 편집 영상의 경로 정보 및 편집 정보 중에서 적어도 하나를 이용하여 원본 영상을 찾지 못하거나 원본 영상이 존재하지 않는 경우, 전자 장치는 편집 영상에 대한 숨김 속성을 해제하여 편집 영상을 제1 영역 내 원본 영상이 있던 위치로 노출시킬 수 있다. 다양한 실시예에 따라, 원본 영상이 존재하지 않는 경우 원본 영상에 대한 경로 정보 및 편집 정보를 편집 영상에 추가하지 않을 수 있다.
도 7은 다양한 실시예에 따른 전자 장치가 임시 파일을 생성 및 삭제하는 동작의 다른 예시를 나타낸다.
도 7을 참조하면, 701 동작에서 전자 장치(예를 들어, 도 1의 전자 장치(101), 도 4의 전자 장치(400), 도 2의 프로세서(210), 도 4의 프로세서(410))는 원본 영상을 메모리 내 제2 영역(예를 들어, 도 4의 제2 영역(423))에 위치시키는 것을 실패함을 확인할 수 있다. 다양한 실시예에 따라, 원본 영상이 메모리 내 제2 영역에 위치하지 못하면, 제1 영역 내에 원본 영상, 임시 파일, 및 숨김 파일로 설정된 편집 영상이 존재할 수 있다. 다양한 실시예에 따라, 숨김 파일로 설정된 편집 영상은 제2 영역에서의 원본 영상 경로 정보 및 편집 정보를 포함할 수 있다.
703 동작에서, 전자 장치는 임시 파일 내 더미 영상을 이용하여 숨김 파일로 설정된 편집 영상과 원본 영상을 확인할 수 있다. 705 동작에서, 전자 장치는 숨김 파일로 설정된 편집 영상에 추가된 정보를 추출하여 더미 영상의 정보와 편집 영상의 정보의 일치 여부를 판단할 수 있다.
705 동작에서 더미 영상의 정보와 편집 영상의 정보가 일치하면(705-예), 707 동작에서 전자 장치는 원본 영상에 대한 주소(또는 논리적 주소)를 변경하여 원본 영상을 제2 영역에 위치시키고, 편집 영상에 대한 숨김 속성을 해제하여 편집 영상을 제1 영역 내에 노출 시킨 후 임시 파일을 삭제할 수 있다.
705 동작에서 더미 영상의 정보와 편집 영상의 정보가 일치하지 않으면(705-아니오), 709 동작에서 전자 장치는 편집 영상의 정보 및 더미 영상의 정보 각각의 원본 영상을 확인하고, 둘 중 더 정확한 원본 영상 정보에 기반하여 원본 영상을 확인할 수 있다. 711 동작에서 전자 장치는 원본 영상에 대한 주소(또는 논리적 주소)를 변경하여 원본 영상을 제2 영역에 위치시키고, 편집 영상에 대한 숨김 속성을 해제하여 편집 영상을 제1 영역 내에 노출 시킨 후 임시 파일을 삭제할 수 있다. 다양한 실시예에 따라, 전자 장치는 원본 영상에 대한 주소(또는 논리적 주소)를 변경하여 원본 영상을 제2 영역에 위치시키고, 편집 영상에 업데이트가 필요한 경우 편집 영상에 포함되는 정보를 업데이트할 수 있다.
도 8은 다양한 실시예에 따른 전자 장치가 임시 파일을 생성 및 삭제하는 동작의 또 다른 예시를 나타낸다.
도 8을 참조하면, 801 동작에서 전자 장치(예를 들어, 도 1의 전자 장치(101), 도 4의 전자 장치(400))는 임시 파일 내 더미 영상에 추가된 정보를 이용하여 원본 영상이 제2 영역(예를 들어, 도 4의 제2 영역(423))에 존재하는지 여부를 확인할 수 있다.
801 동작에서 확인 결과 원본 영상이 제2 영역에 존재하면, 803 동작에서 전자 장치는 숨김 파일로 설정된 편집 영상에 더미 영상의 정보를 추가한 후 편집 영상에 대한 숨김 속성을 해제할 수 있다. 805 동작에서 전자 장치는 임시 파일을 삭제할 수 있다. 다양한 실시예에 따라, 원본 영상이 제2 영역 내에 저장 완료되면 사용자 입장에서는 임시 파일만 볼 수 있고, 숨김 파일 처리된 편집 영상 및 제2 영역 내 원본 영상은 사용자에게 디스플레이되지 않을 수 있다.
다양한 실시예에 따라, 편집 영상에 대한 숨김 속성을 해제하는 동안 에디터(예를 들어, 영상 편집 어플리케이션)가 비정상적으로 종료되는 경우, 사용자 입장에서는 임시 파일만 볼 수 있고, 숨김 파일 처리된 편집 영상 및 제2 영역 내 원본 영상은 사용자에게 디스플레이되지 않을 수 있다. 다양한 실시예에 따라, 전자 장치는 임시 파일 내 더미 영상에 추가된 정보를 이용하여 원본 영상이 제2 영역에 존재함을 확인하고, 숨김 파일로 설정된 편집 영상에 더미 영상의 정보를 추가한 후 편집 영상에 대한 숨김 속성을 해제할 수 있다.
다양한 실시예에 따라, 원본 영상이 존재하지 않는 경우 전자 장치는 숨김 속성이 적용된 편집 영상만을 복원할 수 있다. 다양한 실시예에 따라, 숨김 속성이 적용된 편집 영상이 존재하지 않는 경우 전자 장치는 보안영역 내 원본 영상의 존재를 확인하고, 제2 영역의 원본 영상을 기존에 존재하는 원본 영상의 위치로 노출시키거나 원본 영상과 임시 파일의 편집 정보를 이용하여 편집 영상을 다시 생성할 수 있다. 다양한 실시예에 따라, 전자 장치는 제2 영역에 있는 원본 영상의 위치 정보 및 편집 정보를 재생성된 편집 영상에 추가할 수 있다.
다양한 실시예에 따라, 전자 장치가 제2 영역에 존재하는 원본 영상을 복원하는 경우, 제2 영역에 존재하는 원본 영상을 복사하여 제1 영역 내 기존 원본 영상의 위치로 노출시키거나, 로우 레벨 파일 시스템(low level file system)을 이용하여 원본 영상에 대한 어드레스 값을 변경하여 원본 영상을 제1 영역 내에 노출시킬 수 있다.
다양한 실시예에 따라, 전자 장치(예를 들어, 도 1의 전자 장치(101), 도 4의 전자 장치(400))는, 서로 다른 논리적 주소를 갖는 제1 영역(예를 들어, 도 4의 제1 영역(421)) 및 제2 영역(예를 들어, 도 4의 제2 영역(423))이 설정된 메모리(예를 들어, 도 1의 메모리(130), 도 4의 메모리(420)), 및 상기 메모리에 연결된 적어도 하나의 프로세서(예를 들어, 도 1의 프로세서(120), 도 4의 프로세서(410))를 포함할 수 있다.
다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 제1 영역에 저장된 제1 영상을 편집하여 생성한 제2 영상에 숨김 속성을 적용하고, 적어도 일부 프레임에 기반하여 상기 제1 영상 또는 상기 제2 영상을 복원하기 위한 임시 파일을 상기 제1 영역 내에 생성할 수 있다.
다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 제1 영상에 대한 주소(또는 논리적 주소)를 변경하여 상기 제1 영상을 상기 제2 영역으로 위치시킬 수 있다. 다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 제1 영상이 상기 제2 영역 내에 위치함을 확인함에 상응하여, 상기 제2 영상에 대한 상기 숨김 속성을 해제하고, 상기 제2 영상에 대한 숨김 속성이 해제됨에 상응하여, 상기 제1 영역 내 상기 임시 파일을 삭제할 수 있다.
다양한 실시예에 따라, 상기 임시 파일은 상기 제1 영상 및 상기 제2 영상 중에서 적어도 하나에 관련된 메타데이터를 포함할 수 있다. 다양한 실시예에 따라, 상기 메타 데이터는, 상기 제1 영역 내 상기 제1 영상의 경로 정보, 상기 숨김 속성이 적용된 상기 제2 영상의 경로 정보, 상기 제2 영상에 대한 편집 정보, 및 상기 제2 영역 내 상기 제1 영상의 경로 정보 중에서 적어도 하나를 포함할 수 있다.
다양한 실시예에 따라, 상기 임시 파일을 생성하기 위해 사용되는 상기 적어도 일부 프레임은 상기 제1 영상에 포함되는 프레임이거나 상기 제2 영상에 포함되는 프레임을 포함할 수 있다.
다양한 실시예에 따라, 상기 임시 파일을 생성하기 위해 사용되는 상기 적어도 일부 프레임은 상기 제1 영상 및 상기 제2 영상과 관계 없는 지정된 프레임을 포함할 수 있다.
다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 임시 파일을 디스플레이하도록 제어할 수 있다.
다양한 실시예에 따라, 상기 제1 영역은 사용자가 접근할 수 있도록 설정되고, 상기 제1 영역에 제1 논리적 주소가 설정될 수 있다. 다양한 실시예에 따라, 상기 제2 영역은 사용자가 접근할 수 없도록 설정되고, 상기 제2 영역에 제2 논리적 주소가 설정될 수 있다.
다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 임시 파일에 포함된 상기 제1 영역 내 상기 제1 영상의 경로 정보 및 상기 제2 영역 내 상기 제1 영상의 경로 정보 중에서 적어도 하나에 기반하여 상기 제1 영상을 복원하도록 설정될 수 있다.
다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 임시 파일에 포함된 상기 숨김 속성이 적용된 상기 제2 영상의 경로 정보 및 상기 제2 영상에 대한 편집 정보 중에서 적어도 하나에 기반하여 상기 제2 영상을 복원하도록 설정될 수 있다.
다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 제2 영역 내에 상기 제1 영상을 위치시키기 전에 영상 편집 어플리케이션이 비정상적으로 종료된 것에 기반하여 상기 임시 파일에 포함되는 상기 제1 영상에 대한 제1 정보와 상기 제2 영상에 포함되는 상기 제1 영상에 대한 제2 정보가 일치하는지 판단하도록 설정될 수 있다.
다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 제1 정보와 상기 제2 정보가 일치하는 것으로 판단함에 기반하여 상기 제1 영상에 대한 논리적 주소를 변경하여 상기 제1 영상을 상기 제2 영역 에 위치시키도록 제어할 수 있다.
다양한 실시예에 따라, 상기 적어도 하나의 프로세서는, 상기 제1 정보와 상기 제2 정보가 일치하지 않는 것으로 판단함에 기반하여 상기 제1 정보와 상기 제2 정보를 고려하여 상기 제1 영상을 식별하고, 상기 제1 영상에 대한 논리적 주소를 변경하여 상기 제1 영상을 상기 제2 영역 내에 위치시키도록 제어할 수 있다.
본 개시는 다양한 예시적인 실시예들을 참조하여 기술 및 설명되었지만, 다양한 예시적인 실시예들은 예시적인 것으로 의도된 것이지 범위를 제한하는 것이 아님을 이해할 것이다. 첨부된 특허청구범위 및 그 등가물을 포함하는 본 개시의 사상 및 전체 범위를 벗어나지 않고 형태 및 세부사항의 다양한 변경이 이루어질 수 있음이 당업자에 의해 추가로 이해될 것이다. 또한, 본 명세서에 기재된 임의의 실시예(들)는 본 명세서에 기재된 임의의 다른 실시예(들)와 함께 사용될 수 있음을 이해할 것이다.

Claims (15)

  1. 전자 장치에 있어서,
    서로 다른 논리적 주소를 갖는 제1 영역 및 제2 영역을 포함하도록 설정된 메모리; 및
    상기 메모리에 연결된 적어도 하나의 프로세서를 포함하고,
    상기 적어도 하나의 프로세서는,
    상기 제1 영역에 저장된 제1 영상을 편집하여 생성한 제2 영상에 숨김 속성을 적용하고,
    적어도 일부 프레임에 기반하여 상기 제1 영상 또는 상기 제2 영상을 복원하기 위한 임시 파일을 생성하고,
    상기 제1 영상에 대한 논리적 주소를 변경하여 상기 제1 영상을 상기 제2 영역으로 위치시키고,
    상기 제1 영상이 상기 제2 영역에 위치함을 확인함에 상응하여, 상기 제2 영상에 대한 상기 숨김 속성을 해제하고,
    상기 제2 영상에 대한 숨김 속성이 해제됨에 상응하여, 상기 임시 파일을 삭제하도록 설정되는, 전자 장치.
  2. 제1항에 있어서, 상기 임시 파일은 상기 제1 영상 및 상기 제2 영상 중에서 적어도 하나에 관련된 메타데이터를 포함하는, 전자 장치.
  3. 제2항에 있어서, 상기 메타 데이터는,
    상기 제1 영역 내 상기 제1 영상의 경로 정보, 상기 숨김 속성이 적용된 상기 제2 영상의 경로 정보, 상기 제2 영상에 대한 편집 정보, 및 상기 제2 영역 내 상기 제1 영상의 경로 정보 중에서 적어도 하나를 포함하는, 전자 장치.
  4. 제1항에 있어서, 상기 임시 파일을 생성하기 위해 사용되는 상기 적어도 일부 프레임은 상기 제1 영상에 포함되는 프레임 또는 상기 제2 영상에 포함되는 프레임을 포함하는, 전자 장치.
  5. 제1항에 있어서, 상기 임시 파일을 생성하기 위해 사용되는 상기 적어도 일부 프레임은 상기 제1 영상 및 상기 제2 영상과 관계 없는 지정된 프레임을 포함하는, 전자 장치.
  6. 제1항에 있어서, 상기 적어도 하나의 프로세서는,
    상기 전자 장치가 상기 임시 파일을 디스플레이하도록 제어하는, 전자 장치.
  7. 제1항에 있어서,
    상기 제1 영역은 사용자가 접근할 수 있도록 설정되고, 상기 제1 영역에 제1 논리적 주소가 할당되고,
    상기 제2 영역은 사용자가 접근할 수 없도록 설정되고, 상기 제2 영역에 제2 논리적 주소가 할당되는, 전자 장치.
  8. 제1항에 있어서, 상기 적어도 하나의 프로세서는,
    상기 임시 파일에 포함된 상기 제1 영역 내 상기 제1 영상의 경로 정보 및 상기 제2 영역 내 상기 제1 영상의 경로 정보 중에서 적어도 하나에 기반하여 상기 제1 영상을 복원하도록 설정되는, 전자 장치.
  9. 제1항에 있어서, 상기 적어도 하나의 프로세서는,
    상기 임시 파일에 포함된 상기 숨김 속성이 적용된 상기 제2 영상의 경로 정보 및 상기 제2 영상에 대한 편집 정보 중에서 적어도 하나에 기반하여 상기 제2 영상을 복원하도록 설정되는, 전자 장치.
  10. 제1항에 있어서, 상기 적어도 하나의 프로세서는,
    상기 제2 영역 내에 상기 제1 영상을 위치시키기 전에 영상 편집 어플리케이션이 비정상적으로 종료된 것에 기반하여, 상기 임시 파일에 포함되는 상기 제1 영상에 대한 제1 정보와 상기 제2 영상에 포함되는 상기 제1 영상에 대한 제2 정보가 일치하는지 판단하도록 설정되는, 전자 장치.
  11. 제10항에 있어서, 상기 적어도 하나의 프로세서는,
    상기 제1 정보와 상기 제2 정보가 일치하는 것으로 판단함에 기반하여 상기 제1 영상에 대한 상기 논리적 주소를 변경하여 상기 제1 영상을 상기 제2 영역에 위치시키도록 설정되는, 전자 장치.
  12. 제10항에 있어서, 상기 적어도 하나의 프로세서는,
    상기 제1 정보와 상기 제2 정보가 일치하지 않는 것으로 판단함에 기반하여 상기 제1 정보와 상기 제2 정보를 고려하여 상기 제1 영상을 식별하고,
    상기 제1 영상에 대한 상기 논리적 주소를 변경하여 상기 제1 영상을 상기 제2 영역에 위치시키도록 설정되는, 전자 장치.
  13. 전자 장치의 동작 방법에 있어서,
    메모리 내 제1 논리적 주소를 갖는 제1 영역에 저장된 제1 영상을 편집하여 생성한 제2 영상에 숨김 속성을 적용하는 동작;
    적어도 일부 프레임에 기반하여 상기 제1 영상 또는 상기 제2 영상을 복원하기 위한 임시 파일을 생성하는 동작;
    상기 제1 영상에 대한 논리적 주소를 변경하여 상기 제1 영상을 상기 메모리 내 제2 논리적 주소를 갖는 제2 영역으로 위치시키는 동작;
    상기 제1 영상이 상기 제2 영역에 위치함을 확인함에 상응하여, 상기 제2 영상에 대한 상기 숨김 속성을 해제하는 동작; 및
    상기 제2 영상에 대한 숨김 속성이 해제됨에 상응하여 상기 임시 파일을 삭제하는 동작을 포함하는 방법.
  14. 제13항에 있어서, 상기 임시 파일은 상기 제1 영상 및 상기 제2 영상 중에서 적어도 하나에 관련된 메타데이터를 포함하는 방법.
  15. 제14항에 있어서, 상기 메타 데이터는,
    상기 제1 영역 내 상기 제1 영상의 경로 정보, 상기 숨김 속성이 적용된 상기 제2 영상의 경로 정보, 상기 제2 영상에 대한 편집 정보, 및 상기 제2 영역 내 상기 제1 영상의 경로 정보 중에서 적어도 하나를 포함하는 방법.
PCT/KR2023/001670 2022-02-07 2023-02-06 전자 장치에서 영상을 편집하는 방법 및 장치 WO2023149770A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/106,665 US20230252598A1 (en) 2022-02-07 2023-02-07 Method and apparatus for editing video in electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2022-0015829 2022-02-07
KR1020220015829A KR20230119549A (ko) 2022-02-07 2022-02-07 전자 장치에서 영상을 편집하는 방법 및 장치

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/106,665 Continuation US20230252598A1 (en) 2022-02-07 2023-02-07 Method and apparatus for editing video in electronic device

Publications (1)

Publication Number Publication Date
WO2023149770A1 true WO2023149770A1 (ko) 2023-08-10

Family

ID=87552656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/001670 WO2023149770A1 (ko) 2022-02-07 2023-02-06 전자 장치에서 영상을 편집하는 방법 및 장치

Country Status (2)

Country Link
KR (1) KR20230119549A (ko)
WO (1) WO2023149770A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040141723A1 (en) * 2002-11-19 2004-07-22 Keiichi Sakano Editing apparatus
CN104091607A (zh) * 2014-06-13 2014-10-08 北京奇艺世纪科技有限公司 一种基于ios设备的视频编辑方法及装置
KR20160087573A (ko) * 2015-01-14 2016-07-22 삼성전자주식회사 원본 컨텐츠와 연계된 편집 영상의 생성 및 디스플레이
KR101762676B1 (ko) * 2010-08-26 2017-08-04 삼성전자주식회사 영상 촬영 장치 및 그 편집 영상 복구 방법
KR20190123993A (ko) * 2018-04-25 2019-11-04 (주)도아팩토리 영상 자동 편집 단말기 및 이를 포함하는 영상 자동 편집 시스템

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040141723A1 (en) * 2002-11-19 2004-07-22 Keiichi Sakano Editing apparatus
KR101762676B1 (ko) * 2010-08-26 2017-08-04 삼성전자주식회사 영상 촬영 장치 및 그 편집 영상 복구 방법
CN104091607A (zh) * 2014-06-13 2014-10-08 北京奇艺世纪科技有限公司 一种基于ios设备的视频编辑方法及装置
KR20160087573A (ko) * 2015-01-14 2016-07-22 삼성전자주식회사 원본 컨텐츠와 연계된 편집 영상의 생성 및 디스플레이
KR20190123993A (ko) * 2018-04-25 2019-11-04 (주)도아팩토리 영상 자동 편집 단말기 및 이를 포함하는 영상 자동 편집 시스템

Also Published As

Publication number Publication date
KR20230119549A (ko) 2023-08-16

Similar Documents

Publication Publication Date Title
WO2023085563A1 (ko) Ipfs를 활용한 중앙화 대체불가능 토큰의 발행 장치 및 방법
WO2022030903A1 (ko) 어플리케이션 설치 방법 및 이를 지원하는 전자 장치
WO2023058860A1 (ko) 멀티 서명된 apk 파일을 처리하는 전자 장치 및 그 동작 방법
WO2022149771A1 (ko) 전자 장치 및 이를 이용한 메모리 관리 방법
WO2023149770A1 (ko) 전자 장치에서 영상을 편집하는 방법 및 장치
WO2022154414A1 (ko) 전자 장치 및 전자 장치의 스토리지 운영 방법
WO2022030890A1 (ko) 다중 윈도우 이미지 캡쳐 방법 및 이를 위한 전자 장치
WO2022191455A1 (ko) 파일 리댁션을 수행하는 전자 장치 및 이의 동작 방법
WO2023022359A1 (ko) 어플리케이션의 실행 오류를 검출하는 전자 장치 및 그 작동 방법
WO2022154273A1 (ko) 데이터 백업을 지원하는 전자 장치 및 그 운용 방법
WO2021162268A1 (ko) 전자 장치 및 그의 런쳐 화면간에 오브젝트의 편집을 동기화하는 방법
WO2023090623A1 (ko) 미디어 파일을 편집하기 위한 방법 및 장치
WO2023101294A1 (ko) 저장 공간을 관리하기 위한 전자 장치 및 전자 장치의 동작 방법
WO2023085589A1 (ko) 전자 장치의 초기화 상황에서 데이터 보존 방법 및 그 전자 장치
WO2022163907A1 (ko) 전자 장치 및 이의 제어 방법
WO2024072117A1 (ko) 전자 장치 및 어플리케이션 간의 통신 방법
WO2024101878A1 (ko) 손상된 메타데이터를 복구하기 위한 방법 및 이를 지원하는 전자 장치
WO2022154262A1 (ko) 예약 공간에 기반한 데이터베이스 업데이트 방법 및 장치
WO2024080586A1 (ko) 멀티 디바이스 환경에서 공동 편집을 위한 전자 장치 및 방법
WO2022075621A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022154383A1 (ko) 전자 장치 및 전자 장치의 커널 모듈 로딩 방법
WO2022065704A1 (ko) 비 파괴 편집 컨텐츠 관리 방법 및 장치
WO2023017987A1 (ko) 플렉서블 디스플레이를 포함하는 전자 장치와 이의 동작 방법
WO2022235039A1 (ko) 블록체인 네트워크에 포함된 노드에 대응하는 전자 장치와 이의 동작 방법
WO2024112034A1 (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: 23750003

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023750003

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2023750003

Country of ref document: EP

Effective date: 20240327