Method and electronic device for controlling camera

By combining a fixed focal length camera and a continuous optical zoom camera in an electronic device and using the processor to manage the lens position, the user discomfort caused by different zoom function speeds is solved, and the effect of quickly displaying high-definition images is achieved.

CN119968860APending Publication Date: 2025-05-09SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380071526.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-11-04
Filing Date
2023-10-05
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

When performing the zoom functions of the focal-length fixed camera and the continuous optical zoom camera, the zoom function is different, causing the user to feel uncomfortable when displaying the image.

Method used

By including the first camera and the second camera in the electronic device, the processor displays the preview image acquired by the first camera in response to the execution of the functions associated with the first camera, and at the same time moves the lens in the second camera from the starting position to the preset position, and in response to the zoom function request, moves the lens to the corresponding position to obtain a high definition image.

Benefits of technology

Reduces the time required for the continuous optical zoom camera lens to physically move, quickly display high-definition images, and improves user convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119968860A_ABST
    Figure CN119968860A_ABST
Patent Text Reader

Abstract

An electronic device according to one embodiment may include: a first camera; a second camera including a lens moving in the movable portion; a display; a processor; and a memory operatively connected to the processor. The memory may store instructions for allowing the electronic device to perform, during execution thereof: in response to execution of a function related to the first camera, a first preview image of a first magnification acquired through the first camera to be displayed through the display; moving a lens included in the second camera from an initial / default position to a first position provided in the movable portion while displaying the first preview image of the first magnification; in response to an input requesting a zoom function at a second magnification, moving the lens at the set first position to a second position corresponding to the second magnification; and acquiring, by the second camera, a second preview image corresponding to the second magnification based on the lens that has moved to the second position. Other various embodiments are possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a method and an electronic device for controlling a camera and performing a zoom function corresponding to a range of magnifications by moving a lens. Background Art

[0002] Due to the remarkable development of information and communication technology and semiconductor technology, the popularity and use of electronic devices are rapidly increasing. These electronic devices are not limited to their traditional inherent fields, but tend to provide various functions in convergence. For example, electronic devices are equipped with multiple cameras to support zoom functions of various magnifications.

[0003] The electronic device may include a fixed-focus camera (e.g., an ultra-wide camera, a wide-angle camera, a telephoto camera) and an optical zoom camera (e.g., a continuous optical zoom camera), the fixed-focus camera supporting a zoom function of a specific magnification while the focal length is fixed (e.g., a digital zoom function), and the optical zoom camera supporting a range of magnifications while the lens is physically moved. An electronic device equipped with multiple cameras may acquire at least one image by combining the zoom functions supported by each camera.

[0004] The disclosed information may be provided as background technology for the purpose of assisting with understanding the present disclosure. No assertion or determination is made as to whether any of the disclosed subject matter may be applicable as prior art with respect to the present disclosure. Summary of the invention

[0005] Technical issues

[0006] In performing the zoom function of a fixed-focus camera and a continuous optical zoom camera, the speed of the zoom function is different. For example, the fixed-focus camera performs a zoom function (e.g., a digital zoom function) in a state where the focal length is fixed, and in response to a zoom function request, it performs a digital zoom function of cropping and enlarging at least a portion of an image. In contrast, the continuous optical zoom camera physically moves the lens in response to the zoom function request, and performs the zoom function using the moved lens. Since the lens is physically moved by the lens to capture an image of a certain magnification, the continuous optical zoom camera can acquire an image with relatively high definition (e.g., high quality) than a camera with a fixed focal length. On the other hand, since the continuous optical zoom camera takes time to physically move the lens, the time it takes for the zoom function to be completed is relatively long compared to the fixed-focus camera.

[0007] An electronic device equipped with a fixed-focus camera and a continuous optical zoom camera causes discomfort to a user when displaying an image because the execution time is different according to a zoom function at a specific magnification.

[0008] Aspects of the present disclosure are intended to at least address the above-mentioned problems and / or disadvantages and to provide at least the advantages described below. Therefore, one aspect of the present disclosure is to provide an electronic device that is intended to perform a zoom function, thereby reducing user inconvenience when operating a fixed focus camera and a continuous optical zoom camera together.

[0009] Additional aspects will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the presented embodiments.

[0010] Solution to the problem

[0011] According to one aspect of the present disclosure, an electronic device is provided. The electronic device may include a first camera, a second camera including a lens that moves within a movable range, a display, a processor, and a memory that is operably connected to the processor and configured to store instructions. In response to the execution of a function related to the first camera, the processor may display a first preview image of a first magnification acquired by the first camera through the display. The processor may move the lens included in the second camera from a starting position to a preset first position configured based on the movable range of the lens while displaying the first preview image of the first magnification. In response to an input requesting a zoom function to a second magnification, the processor may move the lens of the preset first position to a second position corresponding to the second magnification. The processor may acquire a second preview image corresponding to the second magnification through the second camera based on the lens moved to the second position.

[0012] According to another aspect of the present disclosure, a method for controlling a camera and performing a zoom function is provided. The method includes displaying a first preview image of a first magnification acquired by the first camera through a display in response to the execution of a function related to the first camera; while displaying the first preview image of the first magnification, moving a lens included in a second camera from a starting position to a preset first position configured based on a movable range of the lens; in response to an input requesting a zoom function to a second magnification, moving the lens of the preset first position to a second position corresponding to the second magnification; and acquiring a second preview image corresponding to the second magnification through the second camera based on the lens moved to the second position.

[0013] According to another aspect of the present disclosure, at least one non-transitory computer-readable storage medium (or computer program product) for storing one or more programs is described. According to an embodiment of the present disclosure, when executed by a processor of an electronic device, the one or more programs include instructions for performing the following operations: in response to the execution of a function related to the first camera, displaying a first preview image of a first magnification acquired by the first camera through a display; while displaying the first preview image of the first magnification, moving a lens included in a second camera from a starting position to a preset first position configured based on a movable range of the lens; in response to an input requesting a zoom function to a second magnification, moving the lens of the preset first position to a second position corresponding to the second magnification; and acquiring a second preview image corresponding to the second magnification through the second camera based on the lens moved to the second position.

[0014] Advantageous Effects of the Invention

[0015] In an embodiment of the present disclosure, an electronic device moves a lens to a predetermined position in response to the execution of a function related to a camera to reduce the time required for the physical movement of the lens of a continuous optical zoom camera. For example, the electronic device moves the lens to a first position configured within a movable portion of the lens. When the electronic device performs a zoom function at a specific magnification, the lens can move from the first position to a second position corresponding to the specific magnification, and the lens can move relatively quickly. According to an embodiment of the present disclosure, the electronic device reduces the movement time (e.g., the moving distance) of the lens according to the zoom function when using a continuous optical zoom camera, and quickly displays a high-definition image.

[0016] According to an embodiment of the present disclosure, when a zoom function is performed by a continuous optical zoom camera, the electronic device changes the position of the lens relatively quickly, and uses the lens at the changed position to acquire a relatively high-definition image. After the movement of the lens is completed, the electronic device displays the acquired high-definition image through a display. The electronic device moves the lens relatively quickly, and uses the lens at the changed position to acquire a high-definition image relatively quickly. According to an embodiment of the present disclosure, the convenience of the user according to the zoom function is improved by quickly acquiring and displaying a high-definition image.

[0017] Effects obtainable in the present disclosure are not limited to the above-mentioned effects, and other effects not mentioned can be easily understood from the following description by a person having ordinary knowledge in the field to which the present disclosure belongs. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent through the following description in conjunction with the accompanying drawings, in which:

[0019] Figure 1is a block diagram of an electronic device in a network environment according to an embodiment of the present disclosure;

[0020] Figure 2a is a perspective view of a front surface of an electronic device according to an embodiment of the present disclosure;

[0021] Figure 2b According to the embodiment of the present disclosure Figure 2a A perspective view of a rear surface of an electronic device;

[0022] Figure 3 is a block diagram of a camera module according to an embodiment of the present disclosure;

[0023] Figure 4 is a block diagram of an electronic device according to an embodiment of the present disclosure;

[0024] Figure 5 is a flowchart illustrating a method of performing a zoom function using different types of cameras according to an embodiment of the present disclosure;

[0025] Figure 6a is a diagram showing a structure of a continuous optical zoom camera according to an embodiment of the present disclosure;

[0026] Figure 6b is a diagram showing the position and movable portion of a lens of a continuous optical zoom camera according to an embodiment of the present disclosure;

[0027] Figure 6c is a diagram showing time required for lens movement of a continuous optical zoom camera according to an embodiment of the present disclosure;

[0028] Figure 7 is a diagram illustrating an operation of an electronic device according to a specific magnification when a zoom function is performed based on a first camera and a second camera according to an embodiment of the present disclosure;

[0029] Figure 8a is a diagram illustrating a lens movement of a second camera when a zoom function from about 1x magnification to about 3x magnification is performed according to an embodiment of the present disclosure;

[0030] Figure 8b is a diagram illustrating a lens movement of a second camera when a zoom function from about 1x magnification to about 5x magnification is performed according to an embodiment of the present disclosure;

[0031] Figure 8c is a diagram illustrating a lens movement of a second camera when a zoom function from about 3x magnification to about 1x magnification is performed according to an embodiment of the present disclosure;

[0032] Figure 8dis a view illustrating an operation of an electronic device when a magnification change occurs rapidly while a zoom function is performed based on a first camera and a second camera according to an embodiment of the present disclosure;

[0033] Figure 9a is a diagram illustrating a case where a zoom function is performed based on a plurality of fixed focal length cameras and a continuous optical zoom camera according to an embodiment of the present disclosure;

[0034] Figure 9b is a diagram illustrating operations of a fixed focus camera and a continuous optical zoom camera when a zoom function from about 5x magnification to about 10x magnification is performed according to an embodiment of the present disclosure; and

[0035] Fig.9c is a diagram illustrating operations of a fixed-focus camera and a continuous optical zoom camera when a zoom function from about 10x magnification to about 3x magnification is performed according to an embodiment of the present disclosure.

[0036] Throughout the drawings, it should be noted that like reference numbers are used to depict the same or similar elements, features, and structures. DETAILED DESCRIPTION

[0037] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist in understanding, but these details are considered to be exemplary only. Therefore, it will be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the various embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, for the sake of clarity and conciseness, descriptions of well-known functions and structures may be omitted.

[0038] The terms and words used in the following description and claims are not limited to the bibliographical meanings, but are merely used by the inventor to enable a clear and consistent understanding of the present disclosure. Therefore, it will be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustrative purposes only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.

[0039] It should be understood that the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to "a component surface" includes reference to one or more of such surfaces.

[0040] Figure 1 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. Figure 1, the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with at least one of the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a user identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the above components (e.g., the connection terminal 178) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the above-described components (eg, sensor module 176, camera module 180, or antenna module 197) may be implemented as a single integrated component (eg, display module 160).

[0041] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may store a command or data received from another component (e.g., sensor module 176 or communication module 190) in the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resultant data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is independent of or combined with the main processor 121 in operation. For example, when the electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to be dedicated to a specific function. The auxiliary processor 123 may be implemented separately from the main processor 121, or as part of the main processor 121.

[0042] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 (rather than the main processor 121) may control at least some of the functions or states related to at least one component among the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190), or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component among the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., a camera module 180 or a communication module 190) that is functionally related to the auxiliary processor 123. According to an embodiment, the auxiliary processor 123 (e.g., a neural processing unit) may include a hardware structure dedicated to artificial intelligence model processing. The artificial intelligence model may be generated through machine learning. For example, such learning may be performed by the electronic device 101 where the artificial intelligence is executed or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, for example. The artificial intelligence model may include multiple artificial neural network layers. The artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or a deep Q network or a combination of two or more thereof, but is not limited thereto. Additionally or optionally, the artificial intelligence model may include a software structure in addition to a hardware structure.

[0043] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.

[0044] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .

[0045] The input module 150 may receive commands or data to be used by other components (e.g., the processor 120) of the electronic device 101 from outside (e.g., a user) of the electronic device 101. The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus).

[0046] The sound output module 155 can 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 playing multimedia or playing records. The receiver can be used to receive incoming calls. Depending on the embodiment, the receiver can be implemented as a separate part from the speaker, or as part of the speaker.

[0047] The display module 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display module 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display module 160 may include a touch sensor adapted to detect a touch or a pressure sensor adapted to measure the strength of a force caused by a touch.

[0048] The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 may obtain sound via the input module 150, or output sound via the sound output module 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.

[0049] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) outside the electronic device 101, and then generate an electrical signal or a data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0050] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

[0051] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0052] The haptic module 179 may convert the electric signal into mechanical stimulation (eg, vibration or motion) or electric stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.

[0053] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.

[0054] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0055] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0056] The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., 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 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 may identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.

[0057] The wireless communication module 192 can support 5G networks after 4G networks and next-generation communication technologies (e.g., new radio (NR) access technology). NR access technology can support enhanced mobile broadband (eMBB), massive machine type communication (mMTC), or ultra-reliable low-latency communication (URLLC). The wireless communication module 192 can support high-frequency bands (e.g., millimeter wave bands) to achieve, for example, high data transmission rates. The wireless communication module 192 can support various technologies for ensuring performance on high-frequency bands, such as, for example, beamforming, massive multiple-input multiple-output (massive MIMO), full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 192 can support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., a second network 199). According to an embodiment, the wireless communication module 192 may support a peak data rate for implementing eMBB (e.g., 20 Gbps or greater), loss coverage for implementing mMTC (e.g., 164 dB or less), or U-plane delay for implementing URLLC (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less for a round trip).

[0058] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiation element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190 (e.g., the wireless communication module 192). A signal or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiation element may be additionally formed as a part of the antenna module 197.

[0059] According to various embodiments, the antenna module 197 may form a millimeter wave antenna module. According to an embodiment, the millimeter wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and a plurality of antennas (e.g., array antennas), wherein the RFIC is disposed on a first surface (e.g., bottom surface) of the printed circuit board, or adjacent to the first surface and capable of supporting a designated high frequency band (e.g., millimeter wave band), and the plurality of antennas are disposed on a second surface (e.g., top surface or side surface) of the printed circuit board, or adjacent to the second surface and capable of transmitting or receiving signals of the designated high frequency band.

[0060] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, a general purpose input output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and communicatively transfer signals (e.g., commands or data) therebetween.

[0061] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 or the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be executed on the electronic device 101 may be executed on one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically execute a function or service or should execute a function or service in response to a request from a user or another device, the electronic device 101 may request one or more external electronic devices to execute at least part of the function or service instead of executing the function or service, or the electronic device 101 may request one or more external electronic devices to execute at least part of the function or service in addition to executing the function or service. The one or more external electronic devices that receive the request may execute at least the requested part of the function or service, or execute another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request with or without further processing the result. To this end, cloud computing technology, distributed computing technology, mobile edge computing (MEC) technology, or client-server computing technology, for example, may be used. The electronic device 101 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. The server 108 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or health care) based on 5G communication technology or IoT-related technologies.

[0062] Figure 2a is a perspective view of a front surface of an electronic device according to an embodiment of the present disclosure. Figure 2b According to the embodiment of the present disclosure Figure 2a A perspective view of a rear surface of an electronic device.

[0063] refer to Figure 2a and Figure 2b , the electronic device 200 may be at least partially similar to Figure 1 The electronic device 101 may include other embodiments of the electronic device.

[0064] refer to Figure 2a and Figure 2b According to the electronic device 200 of the embodiment (for example, Figure 1 The electronic device 101 may include a housing 210, the housing 210 including a first surface (or front surface) 210A, a second surface (or rear surface) 210B, and a side surface 210C surrounding a space between the first surface 210A and the second surface 210B. In another embodiment (not shown) of the present disclosure, the housing 210 may refer to a housing formed Figure 2a and Figure 2b The structure of a portion of the first surface 210A, the second surface 210B, and the side surface 210C. According to an embodiment of the present disclosure, the first surface 210A can be formed by an at least partially transparent front plate 202 (e.g., a glass plate or a polymer plate including various coatings). The second surface 210B can be formed by a substantially opaque rear plate 211. The rear plate 211 can be formed, for example, of coated or colored glass, ceramic, polymer, metal (e.g., aluminum, stainless steel (STS) or magnesium) or a combination of at least two of the above materials. The side surface 210C can be coupled to the front plate 202 and the rear plate 211, and can be formed by a side frame structure (or "cross member") 218 ​​including a metal and / or a polymer. In some embodiments of the present disclosure, the rear plate 211 and the side frame structure 218 can be formed integrally and can include the same material (e.g., a metal material, such as aluminum).

[0065] In the illustrated embodiment of the present disclosure, the front plate 202 may include a first region 210D extending seamlessly, the first region 210D being bent from the first surface 210A toward the rear plate 211 to include both ends of the long edge of the front plate 202. Figure 2b ), the back plate 211 may include a second area 210E that is bent from the second surface 210B to the front plate 202 and extends seamlessly. In some embodiments of the present disclosure, the front plate 202 or the back plate 211 may include only one of the first area 210D or the second area 210E. In some embodiments of the present disclosure, the front plate 202 may not include the first area 210D and the second area 210E, but may only include a flat plane parallel to the second surface 210B. In an embodiment of the present disclosure, when viewed from the side of the electronic device 200, the side frame structure 218 may have a first thickness (or width) on the side surface that does not include the first area 210D or the second area 210E as described above, and may have a second thickness that is thinner than the first thickness on the side surface that includes the first area or the second area.

[0066] According to an embodiment of the present disclosure, the electronic device 200 may include at least one of the following: a display 201 (eg, Figure 1 160); an input device 203 (eg, Figure 1 input module 150), sound output devices 207 and 214 (for example, Figure 1 The sound output module 155), the sensor modules 204 and 219 (for example, Figure 1 sensor module 176), camera modules 205, 212 and 213 (e.g., Figure 1 camera module 180), key input device 217, an indicator (not shown) (eg, Figure 1 interface 177) and connector hole 208 (eg, Figure 1 In some embodiments of the present disclosure, the electronic device 200 may omit at least one of the components (eg, the key input device 217 or the indicator), or may additionally include other components.

[0067] According to an embodiment of the present disclosure, the display 201 may be exposed, for example, through a large portion of the front plate 202. In some embodiments of the present disclosure, at least a portion of the display 201 may be exposed through the first surface 210A and the front plate 202 forming the first area 210D of the side surface 210C. The display 201 may be provided by being combined with or adjacent to a touch sensing circuit, a pressure sensor capable of measuring the intensity (e.g., pressure) of a touch, and / or a digitizer for a stylus that detects a magnetic field type. In some embodiments of the present disclosure, at least a portion of the sensor modules 204 and 219 and / or at least a portion of the key input device 217 may be provided in the first area 210D and / or the second area 210E.

[0068] The input device 203 may include a microphone. In some embodiments of the present disclosure, the input device 203 may include a plurality of microphones configured to detect the direction of sound. The sound output devices 207 and 214 may include a speaker. The speaker may include an external speaker and a call receiver. In some embodiments of the present disclosure, the microphone, the speaker, and the connector hole 208 may be disposed in a space above the electronic device 200 and may be exposed to the external environment through at least one hole formed in the housing 210. In some embodiments of the present disclosure, the hole formed in the housing 210 may be used for both the microphone and the speaker. In some embodiments of the present disclosure, the sound output devices 207 and 214 may include a speaker (e.g., a piezoelectric speaker) that operates while excluding the hole formed in the housing 210.

[0069] The sensor modules 204 and 219 may generate an electrical signal or data value corresponding to an internal operating state or an external environmental state of the electronic device 200. The sensor modules 204 and 219 may include, for example, a first sensor module 204 (e.g., proximity sensor, optical sensor) and / or a second sensor module (not shown) (e.g., fingerprint sensor) disposed on the first surface 210A of the housing 210, and / or a third sensor module 219 (e.g., HRM sensor) disposed on the second surface 210B of the housing 210. The fingerprint sensor may be disposed on the first surface 210A of the housing 210. The fingerprint sensor (e.g., ultrasonic or optical fingerprint sensor) may be disposed below the display 201 of the first surface 210A. The electronic device 200 may further include a sensor module not shown, such as at least one of a gesture sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor. According to an embodiment of the present disclosure, the first sensor module 204 may be disposed below the display 201 and may be composed of a light emitting module for emitting light and a light receiving module for receiving light. For example, the first sensor module 204 may include an IR sensor.

[0070] The camera modules 205, 212, and 213 may include a first camera module 205 disposed on a first surface 210A of the electronic device 200, a second camera module 212 disposed on a second surface 210B, and / or a third camera module 213 (e.g., a flash). The camera modules 205 and 212 may include one or more lenses, an image sensor, and / or an image signal processor. The flash may include, for example, a light emitting diode or a xenon lamp. In some embodiments of the present disclosure, two or more lenses (e.g., a wide-angle and telephoto lens) and an image sensor may be disposed on one side of the electronic device 200.

[0071] According to an embodiment of the present disclosure, the second camera module 212 may include fixed-focus cameras 212-1 and 212-2, which perform a zoom function (e.g., a digital zoom function) based on a single-view lens with a fixed focal length. For example, the fixed-focus cameras 212-1 and 212-2 may have lenses fixed at positions corresponding to about 1x magnification, and they may capture a first image corresponding to about 1x magnification. According to an embodiment of the present disclosure, when performing a zoom function exceeding about one magnification, the electronic device 200 may use the fixed-focus cameras 212-1, 212-2 (e.g., the second camera module 212) to perform a digital zoom function that at least partially crops the first image and enlarges the cropped image.

[0072] According to an embodiment of the present disclosure, the second camera module 212 may include a continuous optical zoom camera 212-3, which is capable of adjusting the focal length while physically moving the lens and performing a zoom function according to a predetermined magnification range. For example, the continuous optical zoom camera 212-3 can support a specific magnification range (e.g., from about 3x magnification to about 5x magnification) by physically moving the lens. According to an embodiment of the present disclosure, the electronic device 200 can adjust the focal length by physically moving the lens to a position corresponding to the specific magnification, and can acquire a high-definition (e.g., high-quality) image through the continuous optical zoom camera 212-3.

[0073] The key input device 217 may be provided on the side surface 210C of the housing 210. In another embodiment of the present disclosure, the electronic device 200 may not include some or all of the above-mentioned key input devices 217, and the key input device 217 not included may be implemented in another form such as a soft key on the display 201. In another embodiment of the present disclosure, the key input device 217 may be implemented using a pressure sensor included in the display 201.

[0074] An indicator (not shown) may be provided, for example, on the first surface 210A of the housing 210. The indicator may provide, for example, in an optical form, status information of the electronic device 200. In another embodiment of the present disclosure, a light emitting element may provide, for example, a light source that cooperates with the operation of the camera module 205. The indicator may include, for example, a light emitting diode (LED), an IR LED, and a xenon lamp.

[0075] The connector hole 208 may include a connector hole that accommodates a connector for sending and receiving power and / or data to / from an external electronic device (e.g., a USB connector or an IF module (interface connector port module)) and / or a connector hole that accommodates a connector for sending and receiving audio signals to / from an external electronic device (or a headphone jack).

[0076] Some of the camera modules 205 and 212, some of the sensor modules 204 and 219, or indicators may be arranged to be exposed through the display 201. For example, the camera module 205, the sensor module 204, or the indicator may be arranged so that it can contact the external environment through the opening perforated to the front plate 202 or the transmissive area of ​​the display in the internal space of the electronic device 200. According to an embodiment of the present disclosure, the area facing the display 201 and the camera module 205 may be formed as a transmissive area with a certain transmittance as a part of the area where the content is displayed. According to an embodiment of the present disclosure, the transmissive area may be formed to have a transmittance in the range of about 5% to 20%. The transmissive area may include an area overlapping with an effective area (e.g., a field of view area) of the camera module 205, through which light passes to generate an image using an image sensor. For example, the transmissive area of ​​the display 201 may include an area having a pixel density lower than that of the surrounding area. For example, the transmissive area may replace the opening. For example, the camera module 205 may include an under-display camera (UDC). In another embodiment of the present disclosure, some sensor modules 204 may be arranged to perform their functions in the internal space of the electronic device 200 without being visually exposed through the front plate 202. For example, in this case, the area of ​​the sensor module 204 facing the display 201 may not require a perforated opening.

[0077] Figure 3 is a block diagram of a camera module according to an embodiment of the present disclosure.

[0078] refer to Figure 3 , block diagram 300 shows a camera module 180 according to various embodiments. The camera module 180 may include a lens assembly 310, a flash 320, an image sensor 330, an image stabilizer 340, a memory 350 (eg, a buffer memory), or an image signal processor 360.

[0079] According to an embodiment of the present disclosure, the lens assembly 310 may collect light emitted from a subject as an object captured as an image. The lens assembly 310 may include one or more lenses. According to an embodiment of the present disclosure, the camera module 180 may include a plurality of lens assemblies 310. 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 310 may have the same lens properties (e.g., viewing angle, focal length, autofocus, f-number, or optical zoom), or at least one lens assembly may have one or more lens properties that are different from those of the other lens assemblies. The lens assembly 310 may include, for example, a wide-angle lens or a telephoto lens.

[0080] According to an embodiment of the present disclosure, the flash 320 may emit light for enhancing light emitted or reflected from the subject. According to an embodiment of the present disclosure, the flash 320 may include one or more light emitting diodes (e.g., red, green, blue (RGB) LEDs, white LEDs, infrared LEDs, or ultraviolet (UV) LEDs) or xenon lamps.

[0081] According to an embodiment of the present disclosure, the image sensor 330 may acquire an image corresponding to a subject by converting light emitted or reflected from the subject and transmitted through the lens assembly 310 into an electrical signal. According to an embodiment of the present disclosure, the image sensor 330 may include, for example, one image sensor selected from image sensors with different properties (such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor), a plurality of image sensors having the same properties, or a plurality of image sensors having other properties. Each image sensor included in the image sensor 330 may be implemented, for example, using a charge coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.

[0082] According to an embodiment of the present disclosure, the image stabilizer 340 may move at least one lens included in the lens assembly 310 or the image sensor 330 in a specific direction in response to the movement of the camera module 180 or the electronic device 101 including the same, or it may control the operating characteristics of the image sensor 330 (e.g., readout timing adjustment, etc.). This compensates for at least some of the negative effects of the movement on the image being captured. According to an embodiment of the present disclosure, the image stabilizer 340 may detect such movement of the camera module 180 or the electronic device 101 using a gyroscope sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. According to an embodiment of the present disclosure, the image stabilizer 340 may be implemented as, for example, an optical image stabilizer. The memory 350 may temporarily store at least a portion of the image acquired by the image sensor 330 for use in the next image processing operation. For example, when acquisition of an image according to a shutter is delayed, or when a plurality of images are acquired at a high speed, the acquired original image (e.g., a Bayer patterned image or a high-resolution image) is stored in the memory 350, and a corresponding copy image (e.g., a low-resolution image) may be previewed through the display module 160. Then, when a specified condition (e.g., a user input or a system command) is satisfied, at least a portion of the original image stored in the memory 350 may be acquired and processed, for example, by the image signal processor 360. According to an embodiment of the present disclosure, the memory 350 may be composed of at least a portion of the memory 130 or a separate memory that operates independently.

[0083] According to an embodiment of the present disclosure, the image signal processor 360 may perform one or more image processing on an image acquired by the image sensor 330 or an image stored in the memory 350. The one or more image processing may include, for example, depth map generation, three-dimensional modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). Additionally or generally, the image signal processor 360 may perform control (e.g., exposure time control or readout timing control, etc.) on at least one of the components included in the camera module 180 (e.g., the image sensor 330). The image processed by the image signal processor 360 may be stored again in the memory 350 for further processing, or may be provided as an external component of the camera module 180 (e.g., the memory 130, the display module 160, the external electronic device 102, the external electronic device 104, or the server 108). According to an embodiment of the present disclosure, the image signal processor 360 may be configured with at least a portion of the processor 120, or may be configured with a separate processor that operates independently of the processor 120. When the image signal processor 360 is configured as a processor separate from the processor 120 , at least one image processed by the image signal processor 360 may be displayed through the display module 160 after undergoing image processing or additional image processing by the processor 120 .

[0084] According to an embodiment of the present disclosure, the electronic device 101 may include a plurality of camera modules 180, each of which has different properties or functions. In this case, for example, at least one of the plurality of camera modules 180 may be a wide-angle camera, and at least another one may be a telephoto camera. Similarly, at least one of the plurality of camera modules 180 may be a front camera, and at least another one may be a rear surface camera.

[0085] According to an embodiment of the present disclosure, the electronic device 101 may include multiple cameras supporting different magnifications. For example, at least one of the multiple cameras may include a wide-angle camera (e.g., a first camera, a telephoto camera, a focal length fixed camera 212-1, 212-2) supporting a digital zoom function while the focal length is fixed (e.g., the zoom function is fixed at a specific magnification). For example, at least another one of the multiple cameras may adjust the focal length by physically moving the lens, and a continuous optical zoom camera (e.g., a second camera, Figure 2b The continuous optical zoom camera 212 - 3 ) supports a range of magnifications (eg, a range of about 3× magnification to about 5× magnification).

[0086] Figure 4 is a block diagram of an electronic device according to an embodiment of the present disclosure.

[0087] Figure 4The electronic device 101 may be at least partially similar to Figure 1 The electronic device 101 and Figure 2a and Figure 2b The electronic device 200 may also include other embodiments of the electronic device 101. Figure 4 The camera module 180 may be at least partially similar to Figure 3 The camera module 180 may also include other embodiments of the present invention.

[0088] refer to Figure 4 , electronic devices (e.g. Figure 1 The electronic device 101 may include a processor (eg, Figure 1 processor 120), memory (e.g., Figure 1 Memory 130), display module (eg, Figure 1 display module 160), a camera module (eg, Figure 1 camera module 180) and / or a communication module (eg, Figure 1 The memory 130 may store information related to the lens of the camera. The camera module 180 may include different types of cameras (e.g., a first camera 411 and a second camera 412). For example, the first camera 411 may include a camera with a single-view lens with a fixed focal length. The first camera 411 may maintain a fixed focal length (e.g., a fixed position of the lens). For example, the second camera 412 may include a continuous optical zoom camera that is capable of adjusting the focal length while the lens is physically moved. For example, the second camera 412 may include a continuous optical zoom camera that is capable of adjusting the focal length while the lens is physically moved.

[0089] According to an embodiment of the present disclosure, the processor 120 of the electronic device 101 may control the electronic device 101 and / or other components (e.g., hardware and / or software components) of the external electronic device 102, and execute a program (e.g., Figure 1 According to an embodiment of the present disclosure, the processor 120 may be operably, functionally and / or electrically connected to the memory 130, the display module 160, the camera module 180 and / or the communication module 190.

[0090] According to an embodiment of the present disclosure, the memory 130 may store camera-related information 421. For example, the camera-related information 421 may include information related to the first camera 411 (e.g., a fixed-focus camera) and the second camera 412 (e.g., a continuous optical zoom camera). The camera-related information 421 may include at least one of magnification information supported by the camera, a position of at least one lens included in the camera, a movable portion of the lens, a moving area of ​​the lens, a moving distance of the lens, a moving time of the lens, a moving speed of the lens, a moving timing of the lens, a moving direction of the lens, exposure time information of the camera, a user history related to the performance of a zoom function, and / or frames per second (FPS) information of the camera.

[0091] According to an embodiment of the present disclosure, the processor 120 of the electronic device 101 may send a control signal (e.g., instruction) for at least partially moving the lens of the second camera 412 (e.g., continuous optical zoom camera). In response to receiving the control signal, the second camera 412 may move the position of the lens (e.g., zoom lens) to a specific position.

[0092] According to an embodiment of the present disclosure, the processor 120 of the electronic device 101 may display a first image (e.g., a first preview image) captured using the first camera 411 through the display module 160 in response to the execution of a function related to the camera. For example, the first camera 411 may capture an image of a first magnification (e.g., about 1x magnification). When displaying the first image, the processor 120 of the electronic device 101 may physically move the lens of the second camera 412 to a specific position (e.g., a preset first position) in advance. For example, when the range of magnifications supported by the second camera 412 is from about 3x magnification to about 5x magnification, the processor 120 may determine the movable part of the lens based on the range of magnifications, and may move the lens to a position corresponding to the magnifications included in the range of magnifications. For example, the first position corresponding to about 3x magnification may be the starting point of the lens (e.g., starting position, initial position, default position), and the second position corresponding to about 5x magnification may be the ending point of the lens (e.g., ending position). The 1-1 position is the default position of the lens (e.g., starting position), and may include the lens position when the lens is not driven. The 1-1 position may include a lens position corresponding to a minimum magnification within a movable portion of the lens. The 1-2 position may include a lens position corresponding to a maximum magnification within a movable portion of the lens. The processor 120 may move the lens to a position corresponding to a specific magnification while the lens has been pre-moved to an intermediate point (e.g., a preset first position) between the 1-1 position and the 1-2 position. For example, by placing the lens at a midpoint, the movement of the lens may be reduced. For example, the midpoint may be configured as a point corresponding to approximately 4x magnification within a range of magnifications (e.g., approximately 3x magnification to approximately 5x magnification). Since the position of the lens of the second camera 412 is pre-moved to the midpoint of the movable portion (e.g., a point corresponding to approximately 4x magnification), the lens may be moved relatively quickly when a zoom function is performed based on the second camera 412. According to an embodiment of the present disclosure, the electronic device 101 may quickly display an image according to a zoom function based on a magnification range supported by the first camera 411 and the second camera 412.

[0093] According to an embodiment of the present disclosure, the display module 160 may include a display (e.g., a screen) of the electronic device 101 and display an image captured by the camera module 180. For example, the processor 120 may activate the camera module 180 when executing a function related to the camera module 180, and display an image captured using the camera module 180 through the display module 160. In response to the execution of the zoom function, the processor 120 may display at least a partially enlarged image based on a plurality of cameras (e.g., the first camera 411, the second camera 412) through the display module 160.

[0094] According to an embodiment of the present disclosure, the camera module 180 may capture an image using light, and may include one or more lenses (eg, a zoom lens, an auto focus (AF) lens) (eg, Figure 3 lens assembly 310), an image sensor (e.g., Figure 3 image sensor 330), an image signal processor (e.g., Figure 3 image signal processor 360) and / or a flash (e.g., Figure 3 Flash 320). Reference Figure 4 , the camera module 180 may include different types of cameras (e.g., a first camera 411, a second camera 412). For example, the first camera 411 may include a camera with a single-view lens having a fixed focal length. For example, the first camera 411 may not support optical zoom, but may include a camera that supports digital zoom. The second camera 412 may include a continuous optical zoom camera in which the focal length is adjusted as the lens is physically moved. For example, the second camera 412 may include a camera that supports optical zoom and digital zoom. For example, the first camera 411 may acquire a first image corresponding to approximately 1x magnification, and may support a digital zoom function based on the acquired first image. For example, the second camera 412 may physically move at least one lens, and may support an optical zoom function corresponding to the position of at least one lens based on a range from approximately 3x magnification to approximately 5x magnification (e.g., a range of supportable magnifications).

[0095] According to an embodiment of the present disclosure, in response to the execution of a function related to a camera, the processor 120 may acquire a first image (e.g., a first preview image) of an external environment using a first camera 411 (e.g., a camera supporting a zoom function of about 1x magnification), and display the first image through the display module 160. For example, the first image may include a preview image of about 1x magnification representing the appearance of the actual external environment. In the case where the first image captured by the first camera 411 is displayed on the display module 160, the processor 120 may move at least one lens included in the second camera 412 to a configured position (e.g., a preset first position). For example, the processor 120 may move at least one lens to an intermediate point (e.g., a position corresponding to an intermediate magnification) in a portion in which at least one lens may be moved. For example, a first time taken for a lens to move from a starting position (e.g., a default position, a position corresponding to a minimum magnification) to an end position (e.g., a position corresponding to a maximum magnification) may be longer than a second time taken for a lens to move from an intermediate position (e.g., a position corresponding to an intermediate magnification) to an end position. According to an embodiment of the present disclosure, since the electronic device 101 takes much time if a lens is physically moved, at least one lens included in the second camera 412 may be moved to a configured position in advance in response to execution of a camera-related function.

[0096] According to an embodiment of the present disclosure, when a zoom function is performed based on the first camera 411, the processor 120 may perform a digital zoom function. For example, the processor 120 may at least partially crop the first image relative to a center point (e.g., center point, exact center point) of the cropped first image, and may at least partially magnify the first image. According to an embodiment of the present disclosure, when the processor 120 performs a zoom function at a magnification supported by the second camera 412 (e.g., from about 3x magnification to about 5x magnification), the processor 120 may move the position of at least one lens included in the second camera 412 while performing the digital zoom function based on the first camera 411. For example, in response to a request for a zoom function to about 4x magnification, the processor 120 may display an image in which the first image is gradually magnified by applying the digital zoom function to a first image (e.g., a preview image captured based on about 1x magnification) captured using the first camera 411. For example, when the first image is gradually magnified, the processor 120 may display a magnification corresponding to the magnified image (e.g., a value from about 1x magnification to about 4x magnification). The processor 120 may magnify at least a portion of the first image at about 4x magnification, and may display a portion of the first image magnified at about 4x magnification through the display module 160. The processor 120 may move at least one lens (e.g., zoom lens, AF lens) included in the second camera 412 to a position corresponding to about 4x magnification (e.g., a preset first position) during the time when the digital zoom function is applied. The processor 120 may acquire a second image using at least one lens moved to a position corresponding to about 4x magnification. For example, the second image may be substantially the same as the first image magnified at about 4x magnification. The processor 120 may physically move at least one lens and acquire a second image (e.g., a second preview image) using a lens set at a position corresponding to about 4x magnification. For example, the second image may include an image with higher definition (e.g., higher quality) than the first image. The processor 120 may change the first image magnified to about 4x magnification and displayed through the display module 160 to the second image. According to an embodiment of the present disclosure, when at least one lens physically moves and captures an image corresponding to a zoom function of a specific magnification, the second camera 412 can obtain an image with relatively higher definition and quality than the first image. For example, the second image can include an image that is relatively clearer and higher in definition than the first image.

[0097] According to an embodiment of the present disclosure, the processor 120 of the electronic device 101 may perform a digital zoom function at a specific magnification based on a first image captured by the first camera 411. The processor 120 may magnify at least a portion of the first image based on the specific magnification and display it through the display module 160. The processor 120 may move at least one lens included in the second camera 412 to a position corresponding to the specific magnification while performing a digital zoom function at a specific magnification in conjunction with the first image. The processor 120 may use the second camera 412 to acquire a second image captured based on a specific magnification. For example, the first image and the second image on which the digital zoom function is performed may be displayed as if they are substantially the same image. According to an embodiment of the present disclosure, when at least one lens included in the second camera 412 completes the movement to the position corresponding to the specific magnification, the processor 120 may change the enlarged first image displayed by the display module 160 to a second image.

[0098] According to an embodiment of the present disclosure, the electronic device 101 may physically move at least one lens included in the second camera 412, and use the at least one lens to acquire a second image of relatively high definition (e.g., high quality) compared to the enlarged first image. For example, the enlarged first image and the second image may appear as images captured based on substantially the same viewing angle. After the lens movement of the second camera 412 is completed, the electronic device 101 may change the first image to the second image, thereby reducing image distortion and chromatic aberration between cameras. According to an embodiment of the present disclosure, the electronic device 101 may continuously and smoothly change from a first image captured by the first camera 411 to a second image captured by the second camera 412.

[0099] According to an embodiment of the present disclosure, the electronic device 101 may not substantially display an image while capturing an image in the process of moving the lens included in the second camera 412, but may physically move the lens included in the second camera 412 while displaying a situation where the first image is enlarged (e.g., a situation where a part of the first image is gradually enlarged) through the display module 160. After the movement of the lens is completed, the electronic device 101 may acquire a second image using the second camera 412 and store the acquired second image in the memory 130. According to an embodiment of the present disclosure, after the movement of the lens is completed, the electronic device 101 may change the first image displayed through the display module 160 to a second image captured using the lens that has completed the movement. Since the electronic device 101 acquires the second image using the second camera 412 whose lens has been moved, visual discomfort caused by the change from the first image to the second image may be reduced. When performing the zoom function, the electronic device 101 may display a second image corresponding to an image with relatively higher definition than the first image.

[0100] According to an embodiment of the present disclosure, the electronic device 101 may perform a digital zoom function on a first image captured by the first camera 411 in response to a signal requesting a zoom function to a specific magnification. The electronic device 101 may display a situation where a portion of the first image is magnified through the display module 160 during a time required for the lens of the second camera 412 to move to a position corresponding to the specific magnification. According to an embodiment of the present disclosure, in the case where a shooting signal (e.g., an image capture signal) is received before the required time has passed (e.g., before the movement of the lens of the second camera 412 is completed), the electronic device 101 may capture a portion of the first image that is at least partially magnified. The electronic device 101 may capture an image in which a portion of the first image is magnified based on the first image on which the digital zoom function is performed. The electronic device 101 may display the captured image (e.g., a portion of the magnified first image) through the display module 160. In this case, the electronic device 101 may stop moving the lens of the second camera 412 or restore the lens of the second camera 412 to a configured position (e.g., the first position). According to another embodiment of the present disclosure, the electronic device 101 may move the lens of the second camera 412 to a position corresponding to a specific magnification even in the case of displaying a captured image through the display module 160. For example, in response to displaying a preview image, the electronic device 101 may display the second image captured using the second camera 412 as a preview image.

[0101] According to an embodiment of the present disclosure, an electronic device (eg, Figure 1 and / or Figure 4 The electronic device 101 may include a first camera (eg, Figure 4 A first camera 411 including a lens that moves within a movable range, a second camera (eg, Figure 4 a second camera 412), a display (eg, Figure 1 and / or Figure 4 display module 160), a processor (eg, Figure 1 and / or Figure 4 processor 120) and a memory operably connected to the processor 120 and configured to store instructions (e.g., Figure 1 and / or Figure 4130 of the memory). In response to the execution of the function related to the first camera 411, the electronic device 101 may display a first preview image of a first magnification acquired through the first camera 411 through the display module 160. While displaying the first preview image of the first magnification, the electronic device 101 may move the lens included in the second camera 412 from the starting position to a preset first position configured based on the movable range of the lens. In response to an input requesting a zoom function to a second magnification, the electronic device 101 may move the lens of the preset first position to a second position corresponding to the second magnification. The electronic device 101 may acquire a second preview image corresponding to the second magnification through the second camera 412 based on the lens moved to the second position.

[0102] According to an embodiment of the present disclosure, a first time taken for the lens to move from a preset first position to a second position is shorter than a second time taken for the lens to move from a starting position to the second position.

[0103] According to an embodiment of the present disclosure, the electronic device 101 may identify, in response to an input requesting a zoom function to a second magnification, whether the second magnification is included in the range of magnifications supported by the second camera 412. When the second magnification is included in the range of magnifications, the electronic device 101 may move the lens included in the second camera 412 to a second position corresponding to the second magnification. According to an embodiment of the present disclosure, in the case where the second magnification is not included in the range of the specified magnification, the electronic device 101 may maintain the lens included in the second camera 412 at the configured first position.

[0104] According to an embodiment of the present disclosure, the electronic device 101 may, in response to an input requesting a zoom function to a second magnification, magnify at least a portion of a first preview image at the second magnification and display the first preview image, and when a predetermined time exceeds from the time when the first preview image magnified to the second magnification is displayed, move a lens included in a second camera to a second position corresponding to the second magnification.

[0105] According to an embodiment of the present disclosure, the electronic device 101 may change the first preview image enlarged at the second magnification to a second preview image corresponding to the second magnification, display the second preview image through the display module 160, and when displaying the second preview image corresponding to the second magnification, display the second preview image after changing the second preview image to the first preview image enlarged at the second magnification in response to an input requesting a zoom function to the first magnification. The electronic device 101 may display the first preview image enlarged at the second magnification by reducing the first magnification from the first preview image enlarged at the second magnification.

[0106] According to an embodiment of the present disclosure, while displaying a second preview image corresponding to a second magnification, the electronic device 101 may move a lens disposed at a second position and included in the second camera 412 to the configured first position in response to an input requesting a zoom function to a first magnification.

[0107] According to an embodiment of the present disclosure, the electronic device 101 may further include a third camera 910 for acquiring a third preview image corresponding to a third magnification. The electronic device 101 may, when displaying the second preview image corresponding to the second magnification acquired by the second camera 412, in response to an input requesting a zoom function to the third magnification, enlarge the second preview image at the third magnification and display the second preview image. The electronic device 101 may acquire the third preview image corresponding to the third magnification using the third camera 910. The electronic device 101 may change the second preview image enlarged at the third magnification into the third preview image and display the second preview image.

[0108] According to an embodiment of the present disclosure, the configured first position can be configured based on at least one of a movable part of a lens included in the second camera 412, a moving distance of the lens, a moving time of the lens, a moving speed of the lens, a moving timing of the lens, a distance to an object included in the first preview image, or a user history related to execution of a zoom function.

[0109] According to an embodiment of the present disclosure, the first camera may include a fixed-focus camera in which the focal length is fixed and which acquires an image corresponding to a first magnification, and the second camera 412 may include a continuous optical zoom camera in which at least one lens physically moves and which acquires images corresponding to a range of specified magnifications.

[0110] According to an embodiment of the present disclosure, at least one lens includes at least one of a zoom lens that performs a zoom function corresponding to a specific magnification or an auto focus (AF) lens corresponding to the specific magnification based on a setting position of the zoom lens.

[0111] According to an embodiment of the present disclosure, the electronic device 101 may perform a digital zoom function based on a first preview image acquired using the first camera 411 in response to an input requesting a zoom function to a second magnification. The electronic device 101 may display the first preview image, wherein at least a portion of the first preview image is magnified at the second magnification.

[0112] According to an embodiment of the present disclosure, the electronic device 101 may recognize a case where an input requesting a zoom change occurs continuously. When the request time for the zoom change exceeds a preset threshold, the electronic device 101 may move the lens included in the second camera to a starting position.

[0113] Figure 5 is a flowchart illustrating a method of performing a zoom function using different types of cameras according to an embodiment of the present disclosure.

[0114] In the following embodiments of the present disclosure, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel.

[0115] refer to Figure 5 , which can be at least partially similar to Figure 1 electronic device 101, Figure 2a and Figure 2b The electronic device 200 and Figure 4 The electronic device 101 may also include other embodiments of the electronic device 101. Figure 5 The first camera and the second camera described in the embodiment may be at least partially similar to those included in Figure 4 The first camera 411 and the second camera 412 in the camera module 180 may further include other embodiments.

[0116] refer to Figure 5 In operation 501, a processor (eg, Figure 4 The processor 120 may perform operations with the first camera 411 (eg, included in Figure 4 For example, the first camera 411 may include a fixed-focus camera (e.g., Figure 2a and Figure 2b The focus-fixed cameras 212-1 and 212-2 may be configured to perform a zoom function (e.g., a digital zoom function) in a state where the focus is fixed (e.g., a zoom function (e.g., a digital zoom function) of the acquired image may be supported based on a fixed magnification (e.g., about 1x magnification)). For example, the camera-related functions may include a photography function of acquiring at least one image using the camera, and a photography function of an external environment providing an augmented reality service using the camera.

[0117] In operation 503, the processor 120 may display the Figure 4 The processor 120 may display a first image (e.g., a first preview image) of a first magnification (e.g., about 1x magnification) acquired using the first camera 411 on the display module 160 of the processor 120. For example, the processor 120 may acquire a first image (e.g., a preview image representing an actual external environment) of a first magnification through the first camera 411, and it may display the acquired first image through the display module 160. For example, the first image may include a preview image.

[0118] In operation 505, the processor 120 may move a lens (e.g., a zoom lens, an AF lens) included in the second camera 412 to a first position (e.g., a preset first position) in response to the execution of a function related to the first camera 411. For example, the second camera 412 may include a continuous optical zoom camera (e.g., Figure 2a and Figure 2b The second camera 412 may support a zoom function from about 3x magnification to about 5x magnification by physically moving at least one lens. The at least one lens may be moved based on a range of magnifications (e.g., from about 3x magnification to about 5x magnification). In order to reduce the time required for the lens to move, the processor 120 may move the lens of the second camera 412 from a starting position (e.g., an initial position, a default position) to a configured position (e.g., a preset first position) based on the range of magnifications in response to the execution of the function associated with the first camera 411. For example, the processor 120 may move the lens of the second camera 412 from a starting position to a position corresponding to about 4x magnification (e.g., a preset first position), which corresponds to a midpoint between about 3x magnification and about 5x magnification. For example, since the lens is located at the midpoint of the movable portion, the lens may move relatively quickly when the lens moves to a position corresponding to about 3x magnification and about 5x magnification.

[0119] In operation 507, the processor 120 may recognize a signal requesting a zoom function at a second magnification. For example, the second magnification may include a specific magnification value between about 3x magnification and about 5x magnification supported by the second camera 412. According to an embodiment of the present disclosure, the second camera 412 may include a continuous optical zoom camera that performs a zoom function at a specific magnification by physically moving at least one lens (e.g., a zoom lens, an AF lens). For example, the second magnification may include a magnification that can be supported by physically moving at least one lens in the second camera 412.

[0120] In operation 509, the processor 120 may display the first image magnified at a second magnification (e.g., a specific magnification from about 3x magnification to about 5x magnification). For example, the processor 120 may use a digital zoom function to magnify at least a portion of the first image at the second magnification. For example, the processor 120 may crop at least a portion of the first image at the first magnification, and may magnify the cropped image based on the second magnification. For another example, the processor 120 may magnify a portion of the first image at the first magnification to a center point, and then at least partially crop the first image. The processor 120 may display the first image magnified at the second magnification through the display module 160.

[0121] In operation 511, the processor 120 may move the lens of the second camera 412 moved to the first position in operation 505 to a second position corresponding to the second magnification while enlarging and displaying the first image. For example, when the lens of the second camera 412 moves to a position corresponding to about 4x magnification (e.g., a preset first position), the processor 120 may move the lens to a second position corresponding to the second magnification (e.g., a position corresponding to a specific magnification from about 3x magnification to about 5x magnification). For example, when the second magnification is about 3x magnification, the processor 120 may move the lens at about 4x magnification (e.g., the preset first position) to a position corresponding to about 3x magnification (e.g., the 1-1 position, the starting position of the lens). For another example, when the second magnification is about 5x magnification, the processor 120 may move the lens at about 4x magnification (e.g., the preset first position) to a position corresponding to about 5x magnification (e.g., the 1-2 position, the ending position of the lens).

[0122] In operation 513, the processor 120 may acquire a second image (e.g., a second preview image) using the second camera 412 in which the lens has been moved to the second position. For example, the second image may be captured using the second camera 412 as a continuous optical zoom camera, and may include an image to which a zoom function (e.g., an optical zoom function) of a second magnification is applied. According to an embodiment of the present disclosure, the second image may include an image of relatively higher definition and higher quality than the first image magnified by the second magnification.

[0123] In operation 515, the processor 120 may change the first image (e.g., the first preview image) magnified at the second magnification displayed on the display module 160 to a second image (e.g., the second preview image). For example, the processor 120 may change the first image (which has a relatively low definition) magnified by the second magnification to a relatively high-definition second image, and display the second image through the display module 160. According to an embodiment of the present disclosure, when the zoom function is performed, the electronic device 101 may display a relatively high-definition image without visual discomfort due to the execution of the zoom function.

[0124] According to an embodiment of the present disclosure, the processor 120 of the electronic device 101 may display a first image (e.g., a first preview image captured at a first magnification) captured by the first camera 411 in response to the execution of a camera-related function, while substantially simultaneously moving at least one lens (e.g., a zoom lens, an AF lens) included in the second camera 412 to a configured first position. In response to a signal requesting a zoom function to a second magnification for the first image, the processor 120 may magnify the first image to a second magnification based on a digital zoom function, and substantially simultaneously move at least one lens included in the second camera 412 from a first position to a second position. For example, the second position may be a position of a lens for acquiring a second image corresponding to a second magnification. The processor 120 may acquire a second image (e.g., a second preview image captured at a second magnification) captured by the second camera 412 based on the lens moved to the second position. The processor 120 may change the first image magnified at the second magnification to the acquired second image. According to an embodiment of the present disclosure, the second image may include an image acquired based on at least one lens after physically moving at least one lens included in the second camera 412. The second image may include a relatively higher definition or higher quality image than the first image.

[0125] According to an embodiment of the present disclosure, in the operation of moving at least one lens from a first position to a second position, if the first position and the second position are the same, the Figure 5 Operation 509 and operation 511. For example, in operation 507, the processor 120 may identify the occurrence of a signal requesting a zoom function to a second magnification. The processor 120 may identify a second position corresponding to the second magnification, and when the identified second position matches the position of the current lens (e.g., the first position), the processor 120 may acquire a second image using the second camera 412 in operation 513. According to an embodiment of the present disclosure, when the first position and the second position are the same, the processor 120 may perform an operation of acquiring a second image using the second camera 412 in operation 513, without performing an operation of enlarging the first image at the second magnification (e.g., operation 509) and an operation of moving the lens to a second position corresponding to the second magnification (e.g., operation 511).

[0126] Figure 6a is a diagram showing a structure of a continuous optical zoom camera according to an embodiment of the present disclosure. Figure 6b is a diagram illustrating the position and movable parts of a lens of a continuous optical zoom camera according to an embodiment of the present disclosure. Figure 6c is a diagram illustrating time required for lens movement of a continuous optical zoom camera according to an embodiment of the present disclosure.

[0127] refer to Figure 6a , Figure 6b and Figure 6c , the electronic device 101 is at least partially similar to Figure 1 electronic device 101, Figure 2a and Figure 2b The electronic device 200 and Figure 4 An electronic device 101. Figure 6a , 6b The continuous optical zoom camera described in and 6c may be at least partially similar to the one included in Figure 4 The second camera 412 in the camera module 180 may further include other embodiments.

[0128] refer to Figure 6a , which shows a camera module (eg, Figure 4 The camera module 180) has a continuous optical zoom camera (eg, Figure 4 The structure of the second camera 412 of the continuous optical zoom camera. For example, the continuous optical zoom camera may include a prism member 603, a zoom lens 601, an auto focus (AF) lens 602, and an image sensor 620. For example, the prism member 603 may change the path of the light 621 so that the light received by the continuous optical zoom camera is directed toward the image sensor 620 and may be disposed in the prism area 610. When a zoom function is performed at a specific magnification, the zoom lens 601 may be physically moved within the zoom lens moving area 611. The zoom lens 601 may be moved to a position corresponding to the specific magnification. When a zoom function is performed at a specific magnification, the AF lens 602 may be physically moved within the AF lens moving area 612. The AF lens 602 may focus the light being received. The image sensor 620 may generate an image based on the received light.

[0129] According to an embodiment of the present disclosure, the zoom lens 601 may be positioned based on a specific magnification, and the AF lens 602 may be positioned based on a distance from an object (e.g., a subject) to a focus point and a position (e.g., a focal length) of the zoom lens 601 according to the specific magnification. According to an embodiment of the present disclosure, the electronic device 101 may move at least one lens (e.g., the zoom lens 601, the AF lens 602) to a first position corresponding to the first magnification in response to performing a zoom function at a first magnification. Hereinafter, it is disclosed that at least one lens (e.g., the zoom lens 601) is moved, but is not limited to a specific lens.

[0130] refer to Figure 6b, which illustrates the position of the zoom lens 601 according to the zoom function to a specific magnification (e.g., about 3x magnification to about 5x magnification) when the zoom lens 601 moves within the zoom lens moving area 611. For example, the zoom lens 601 can support a zoom function from about 3x magnification 631 to about 5x magnification 633. The zoom lens 601 can be physically moved within the zoom lens moving area 611, and can support a zoom function based on a magnification of about 3x 631 when it is located at a first position 641 (e.g., a starting position of the lens), can support a zoom function based on a magnification of about 4x 632 when it is located at a second position 642, and can support a zoom function based on a magnification of about 5x 633 when it is located at a third position 643 (e.g., an ending position of the lens).

[0131] refer to Figure 6c , which illustrates the movement time according to the movement distance when the zoom lens 601 moves within the zoom lens movement area 611 (e.g., the movable range of the lens). For example, when the zoom lens 601 moves from the first position 641 to the third position 643 via the second position 642, it may take a movement time of about 200ms 653. For example, when the zoom lens 601 set at the second position 642 moves to the first position 641, it takes a movement time of about 100ms 651, and when it moves to the third position 643, it may take a movement time of about 100ms 652.

[0132] According to an embodiment of the present disclosure, when executing a camera-related function, the processor (eg, Figure 4 The processor 120 may activate the first camera (eg, Figure 4 The first camera 411) and can be displayed through the display module (for example, Figure 4 The processor 120 may display the first image (e.g., preview image) captured by the first camera 411 and substantially simultaneously move at least one lens (e.g., zoom lens 601) included in the second camera 412 (e.g., continuous optical zoom camera) to a configured position (e.g., second position 642). The processor 120 may move the zoom lens 601 to the second position 642 corresponding to the midpoint of the zoom lens moving area 611 (e.g., movable portion). For example, the configured position (e.g., second position 642) may be configured as a position to which the zoom lens 601 can move relatively quickly (e.g., a position having a relatively short moving distance within a movable range). For example, the zoom lens 601 set at the second position 642 may have a first position 641 corresponding to a magnification of about 3x 631 and a magnification of about 5x 633.

[0133] According to an embodiment of the present disclosure, the position of the configuration of moving at least one lens in response to the execution of a function related to the camera is not limited to a specific position. The configured position can be determined by considering a movable portion of the lens, a moving area of ​​the lens, a moving distance of the lens, a moving time of the lens, a moving speed of the lens, a moving timing of the lens, a distance to a subject (e.g., an object) included in a preview image, and / or a user history related to the performance of the zoom function. According to an embodiment of the present disclosure, by moving the zoom lens 601 to the configured position, the processor 120 can move the zoom lens 601 to a position corresponding to the specific magnification relatively quickly in response to a signal requesting a zoom function to a specific magnification. According to an embodiment of the present disclosure, the processor 120 can use the zoom lens 601 to acquire a second image relatively quickly because the zoom lens 601 moves quickly to a position corresponding to the specific magnification. For example, the second image can include an image with relatively higher clarity and quality than the first image.

[0134] Figure 7 is a diagram illustrating an operation of an electronic device according to a specific magnification when a zoom function is performed based on a first camera and a second camera according to an embodiment of the present disclosure.

[0135] Figure 7 The electronic device 101 may be at least partially similar to Figure 1 electronic device 101, Figure 2a and Figure 2b The electronic device 200 and Figure 4 The electronic device 101 may also include other embodiments of the electronic device 101.

[0136] refer to Figure 7 , during the process of executing the zoom function, the display module (eg, Figure 4 The image displayed by the display module 160) and the first camera (eg, Figure 4 The operation of the first camera 411) and the second camera (eg, Figure 4 The operation of the second camera 412).

[0137] refer to Figure 7 , a processor of the electronic device 101 (eg, Figure 4The processor 120 of the embodiment of the present invention may activate the first camera 411 in response to the execution of the camera-related function. The processor 120 may display the first image captured using the first camera 411 through the display module 160. For example, the first camera 411, as a camera supporting about 1x magnification, may include a focal length fixed camera (e.g., an ultra-wide-angle camera, a wide-angle camera, a telephoto camera) having a fixed focal length. The processor 120 may display the first image captured based on about 1x magnification. In operation 701, the second camera 412 (e.g., a continuous optical zoom camera) may be set to a position (e.g., a default position) in which the zoom lens is initially configured. For example, the second camera 412 may include a continuous optical zoom camera that performs a zoom function of a specific magnification by physically moving at least one lens (e.g., a zoom lens, an AF lens). The second camera 412 may move at least one lens based on a range of magnifications from about 3x magnification to about 5x magnification (e.g., a movable range of the lens), and may support a zoom function according to the range of magnifications. According to an embodiment of the present disclosure, the processor 120 may move the position of the lens of the second camera 412 to a configured position (eg, a preset first position) in response to execution of a camera-related function.

[0138] In operation 702, in the case where the first image is displayed through the display module 160, the processor 120 may move the lens of the second camera 412 to a configured first position (e.g., a position corresponding to about 4x magnification). According to an embodiment of the present disclosure, the second camera 412 may include a continuous optical zoom camera that supports a range of magnifications when the lens is physically moved. Since the processor 120 takes time according to the movement of the lens of the second camera 412, a position to which the lens can be moved relatively quickly may be configured as the first position. For example, the processor 120 may configure a movable portion of the lens (e.g., from a position corresponding to about 3x magnification (e.g., a starting position of the lens) to a position corresponding to about 5x magnification (e.g., an end position of the lens), i.e., a movable range of the lens) (e.g., a position corresponding to about 4x magnification) as the first position.

[0139] In operations 703, 704, and 705, the processor 120 may identify a signal requesting a zoom function for performing a zoom function to about 5x magnification. For example, the second camera 412 may support a zoom function from about 3x magnification to about 5x magnification. The lens of the second camera 412 may be located at a preset first position (e.g., a position corresponding to about 4x magnification). In operation 703, the processor 120 may perform a digital zoom function of about 5x magnification based on the first image displayed by the display module 160. In operation 706, the processor 120 may display the first image magnified at about 5x magnification through the display module 160. In operation 704, the processor 120 may perform a digital zoom function of about 5x magnification based on the first image captured by the first camera 411. In operation 707, the first camera 411 may be performing a digital zoom function of about 5x magnification. In operation 705, the processor 120 may physically move the lens included in the second camera 412 to a second position corresponding to about 5x magnification. For example, when the lens in the first position moves to the second position, it may take about 100 ms. In operation 708, the processor 120 may acquire a second image using the zoom lens moved to the second position. The processor 120 may acquire the second image based on a continuous optical zoom function.

[0140] According to an embodiment of the present disclosure, the first time taken for the lens to move from the preset first position to the second position is shorter than the second time taken for the lens to move from the starting position to the second position. According to an embodiment of the present disclosure, the processor 120 may move the lens of the second camera 412 to the preset first position in response to the execution of a camera-related function. The processor 120 may move the lens relatively faster in response to an input requesting a zoom function.

[0141] In operation 706, the processor 120 may display the second image acquired through the second camera 412 through the display module 160. The processor 120 may change the enlarged first image (e.g., first preview image) based on the digital zoom function to a second image (e.g., second preview image) acquired based on the continuous optical zoom function and display it.

[0142] In operations 706, 707, and 708, the processor 120 may identify a signal requesting a zoom function for performing a zoom function from about 5x magnification to about 10x magnification. For example, the second camera 412 may perform a zoom function at about 10x magnification based on a digital zoom function. For example, the second image may be at least partially magnified based on about 10x magnification. The lens of the second camera 412 may remain at a second position (e.g., a position corresponding to about 5x magnification). In operation 709, the processor 120 may perform a digital zoom function at about 10x magnification based on the second image being displayed by the display module 160. In operation 710, the second camera 412 may be performing a digital zoom function at about 10x magnification.

[0143] In operations 709 and 710, the processor 120 may identify a signal requesting a zoom function for performing a zoom function from about 10x magnification to about 5x magnification. The lens of the second camera 412 may acquire a second image when located at a second position (e.g., a position corresponding to about 5x magnification). In operation 711, the processor 120 may perform a digital zoom function of about 5x magnification based on the second image being displayed by the display module 160 (e.g., the second image magnified by the digital zoom function of about 10x magnification). For example, the second image may be at least partially reduced in a magnified state. In operation 713, the second camera 412 may be performing a continuous optical zoom function of about 5x magnification.

[0144] In operations 711, 712, and 713, the processor 120 may recognize a signal requesting a zoom function for performing a zoom function from about 5x magnification to about 1x magnification. In operation 711, the processor 120 may change a second image (e.g., an image acquired by the second camera 412) being displayed through the display module 160 to a first image (e.g., an image acquired by the first camera 411, in which a digital zoom function is performed at about 5x magnification). In operation 711, the processor 120 may perform a zoom function from about 5x magnification to about 1x magnification on the first image acquired by the first camera 411. In operation 712, the first camera 411 may perform a digital zoom function of reducing from about 5x magnification to about 1x magnification based on the acquired first image. In operation 713, the second camera 412 may recognize a signal requesting a zoom function from about 5x magnification to about 1x magnification (e.g., a magnification not supported by the second camera 412). In operation 714, the second camera 412 may physically move a lens included in the second camera 412 from the second position corresponding to about 5x magnification to a position corresponding to about 4x magnification.

[0145] In operations 715 and 716 , the processor 120 may acquire a first image based on approximately 1× magnification using the first camera 411 , and display the acquired first image through the display module 160 .

[0146] Figure 8a is a diagram illustrating a lens movement of a second camera when a zoom function from about 1x magnification to about 3x magnification is performed according to an embodiment of the present disclosure. Figure 8b is a diagram illustrating a lens movement of a second camera when a zoom function from about 1x magnification to about 5x magnification is performed according to an embodiment of the present disclosure. Figure 8c is a diagram illustrating a lens movement of a second camera when a zoom function from about 3x magnification to about 1x magnification is performed according to an embodiment of the present disclosure.

[0147] Figure 8a , Figure 8b and Figure 8c The electronic device 101 may be at least partially similar to Figure 1 electronic device 101, Figure 2a and Figure 2b The electronic device 200 and Figure 4 An electronic device 101.

[0148] refer to Figure 8a , Figure 8b and Figure 8c , in the process of executing the zoom function, the process of changing the zoom magnification is illustrated, through the display module (for example, Figure 4 The display module 160) displays the image and the second camera (eg, Figure 4 Operation of the second camera 412, continuous optical zoom camera).

[0149] refer to Figure 8a In operation 801, a processor (eg, Figure 4 The processor 120 of the embodiment may identify a request signal for performing a zoom function (eg, zooming in) from about 1x magnification to about 3x magnification with respect to an image displayed through the display module 160. In operation 803, the processor 120 may display, through the display module 160, an image obtained by using the first camera (eg, Figure 4 The processor 120 may be configured to move the zoom lens of the second camera 412 to the configured first position in response to the execution of the camera-related function.

[0150] In operations 801 and 802, the processor 120 may perform a zoom function (e.g., zooming in) in which an image is zoomed in from about 1x magnification to about 3x magnification. For example, the processor 120 may display an image while zooming in the image at about 1x magnification to about 3x magnification for about 100ms. In operations 803 and 804, the processor 120 may perform a digital zoom function at about 3x magnification based on a first image captured at about 1x magnification using the first camera 411. For example, the processor 120 may display, through the display module 160, a situation in which at least a portion of the first image is gradually zoomed in from about 1x magnification to about 3x magnification. In operations 805 and 806, the processor 120 may move the lens of the second camera 412 from a configured first position (e.g., a position corresponding to about 4x magnification) to a second position (e.g., a position corresponding to about 3x magnification). For example, the lens of the second camera 412 may move from the first position to the second position for about 100ms.

[0151] In operation 804, the processor 120 may display the second image photographed at about 3x magnification using the second camera 412 through the display module 160. In operation 806, the processor 120 may maintain the position of the lens of the second camera 412 at the second position.

[0152] refer to Figure 8a , the time required for the zoom magnification to change starts at about 100 ms, but is not limited thereto. For example, the execution speed of the digital zoom operation through the first camera 411 may be faster than the execution speed of the optical zoom operation through the second camera 412.

[0153] According to an embodiment of the present disclosure, when a zoom function to a specific magnification is performed, the electronic device 101 may display an image in which at least a portion of the first image is magnified to the specific magnification through the display module 160. The electronic device 101 may continue to display the image magnified to the specific magnification through the display module 160 until the lens of the second camera 412 moves to a position corresponding to the specified magnification. According to an embodiment of the present disclosure, the electronic device 101 may acquire a second image using the second camera 412 in response to the completion of the movement of the lens of the second camera 412 (e.g., operation 806), and in operation 804, the display module 160 may display the acquired second image.

[0154] refer to Figure 8bIn operation 811, the processor 120 may recognize a request signal for performing a zoom function (e.g., zooming in) from about 1x magnification to about 5x magnification with respect to an image displayed through the display module 160. In operation 813, the processor 120 may display a first image captured at about 1x magnification using the first camera 411 through the display module 160. In operation 815, the second camera 412 may be moved to a first position (e.g., a position corresponding to about 4x magnification) in which a lens is configured. For example, the processor 120 may move the lens of the second camera 412 to the configured first position in response to execution of a camera-related function.

[0155] In operations 811 and 812, the processor 120 may perform a zoom function (e.g., zoom in) in which an image is zoomed in from about 1x magnification to about 5x magnification. For example, the processor 120 may display an image while zooming in the image at about 1x magnification to about 5x magnification for about 100ms. In operations 813 and 814, the processor 120 may perform a digital zoom function at about 5x magnification based on a first image captured at about 1x magnification using the first camera 411. For example, the processor 120 may display, through the display module 160, a situation in which at least a portion of the first image is gradually zoomed in from about 1x magnification to about 5x magnification. In operations 815 and 816, the processor 120 may move the lens of the second camera 412 from a configured first position (e.g., a position corresponding to about 4x magnification) to a third position (e.g., a position corresponding to about 5x magnification). For example, the lens of the second camera 412 may move from the first position to the third position for about 100ms.

[0156] In operation 814, the processor 120 may display the second image photographed at about 5x magnification using the second camera 412 through the display module 160. In operation 816, the processor 120 may maintain the position of the lens of the second camera 412 at the third position.

[0157] refer to Figure 8b , discloses that the time required for the zoom magnification to change is about 100 ms, but is not limited thereto. For example, the execution speed of the digital zoom operation through the first camera 411 may be faster than the execution speed of the optical zoom operation through the second camera 412.

[0158] refer to Figure 8c, in operation 821, the processor 120 may recognize a request signal for performing a zoom function (e.g., zooming out) from about 3x magnification to about 1x magnification with respect to an image displayed through the display module 160. In operation 823, the processor 120 may display a first image captured at about 3x magnification using the first camera 411 through the display module 160. For example, the first image zoomed in to about 3x magnification may include an image captured at about 1x magnification using the first camera 411 and zoomed in to about 3x magnification. In operation 825, the second camera 412 may be in a state of being moved to a second position (e.g., a position corresponding to about 3x magnification) in which a lens is configured. For example, the processor 120 may be in a state of displaying a second image captured using the second camera 412 set at a second position through the display module 160 until a signal requesting a zoom function is recognized in operation 821.

[0159] In operations 821 and 822, the processor 120 may perform a zoom function (e.g., zoom out) in which an image is reduced from about 3x magnification to about 1x magnification. For example, the processor 120 may display the image for about 100ms while reducing the image from about 3x magnification to about 1x magnification. In operations 823 and 824, the processor 120 may perform a digital zoom function that reduces the first image captured using the first camera 411 from about 3x magnification to about 1x magnification. For example, the processor 120 may display the first image gradually reduced from about 3x magnification to about 1x magnification through the display module 160. In operations 825 and 826, the processor 120 may move the lens of the second camera 412 from a second position (e.g., a position corresponding to about 3x magnification) to a position (e.g., a position corresponding to about 4x magnification). For example, the lens of the second camera 412 may move from the second position to the first position for about 100ms.

[0160] In operation 824, the processor 120 may display the first image photographed at about 1x magnification using the first camera 411 through the display module 160. In operation 826, the processor 120 may maintain the position of the lens of the second camera 412 at the first position.

[0161] refer to Figure 8c , discloses that the time required for the zoom magnification to change is about 100 ms, but is not limited thereto. For example, the execution speed of the digital zoom operation through the first camera 411 may be faster than the execution speed of the optical zoom operation through the second camera 412.

[0162] Figure 8d is a diagram illustrating an operation of an electronic device when a magnification change occurs rapidly while a zoom function is performed based on a first camera and a second camera according to an embodiment of the present disclosure.

[0163] refer to Figure 8d , in the process of executing the zoom function, the process of changing the zoom magnification is shown, through the display module (for example, Figure 4 The display module 160) displays the image and the second camera (eg, Figure 4 Operation of the second camera 412, continuous optical zoom camera).

[0164] refer to Figure 8d In operation 831, the processor of the electronic device 101 (eg, Figure 4 The processor 120 may activate a first camera supporting approximately 1× magnification in response to execution of a camera-related function (eg, Figure 4 The processor 120 may display the first image captured at about 1x magnification through the display module 160 using the first camera 411. In operation 832, the processor 120 may activate the second camera 412 supporting a range of magnifications from about 3x magnification to about 5x magnification in response to the execution of the camera-related function. For example, the second camera 412 may be set to a position (e.g., a default position, a starting position, a position corresponding to about 3x magnification) where a lens (e.g., a zoom lens) is initially configured.

[0165] In operations 832 and 833, the processor 120 may move the lens of the second camera 412 from an initially configured position (e.g., a position corresponding to approximately 3x magnification, a starting position) to a first position (e.g., a position corresponding to approximately 4x magnification, a preset first position) in response to execution of a camera-related function.

[0166] refer to Figure 8d , in the electronic device 101, from operation 834 to operation 835, a zoom change request (e.g., an input requesting a zoom change), such as a pinch zoom, may occur continuously. For example, the zoom change request may include a pinch zoom input according to a touch input and an interface (e.g., a zoom bar, a zoom circle) input for changing to a specific zoom magnification. For example, a zoom-in function may be performed from about 1x magnification to about 3.4x magnification, a zoom-out function may be performed from about 3.4x magnification to about 10.2x magnification, a zoom-out function may be performed from about 10.2x magnification to about 2.1x magnification, and a zoom-out function may be performed from about 2.1x magnification to about 4.5x magnification. For example, operations 834 and 835 may include a state in which a continuous pinch zoom occurs when the user input does not fall from the display module 160.

[0167] In operations 834 and 835 , the processor 120 may perform a digital zoom function (eg, a zoom-in function, a zoom-out function) based on the first image captured using the first camera 411 , and the processor 120 may display the first image magnified or reduced by the digital zoom function through the display module 160 .

[0168] In operations 834 and 835, the processor 120 may recognize the magnification in real time according to the continuous zoom change request, but even if the continuous zoom change request occurs, it may maintain the position (e.g., the preset first position) of the lens of the second camera 412. In operations 834 and 835, when a predetermined time (e.g., about 150 ms) has passed since the zoom change request stopped, the processor 120 may move the position of the lens of the second camera 412 from the preset first position to a position corresponding to the magnification at which the zoom change request stopped.

[0169] For example, when a predetermined time (e.g., about 150 ms) has passed based on the time when the zoom change request was last made (e.g., at a magnification change of about 4.5x), the processor 120 may move the lens of the second camera 412 from a preset first position (e.g., a position corresponding to a magnification of about 4x) to a fourth position (e.g., a position corresponding to a magnification of about 4.5x) in operations 836, 837, and 839. In operation 838, the processor 120 may display the second image captured using the second camera 412 (e.g., the lens is shifted to the fourth position) through the display module 160.

[0170] According to an embodiment of the present disclosure, when a zoom change request occurs continuously, if the position of the lens (e.g., zoom lens) of the second camera 412 is continuously changed in real time in response to the zoom change request, a large amount of current may be consumed due to the position change of the lens. According to an embodiment of the present disclosure, the electronic device 101 may move the lens to a position corresponding to the zoom change request in response to a predetermined time that has passed based on the time when the zoom change request occurs.

[0171] According to an embodiment, in the case where a zoom change request (e.g., an input requesting a zoom change) occurs continuously, if the time required for the zoom change request exceeds a preset threshold, the processor 120 may move the lens to an initially configured position (e.g., a starting position, a default position). For example, in the case where the lens of the second camera 412 is moved to a configured first position and the time required for the zoom change request exceeds a preset threshold, the processor 120 may move the lens from the configured first position to the starting position of the lens.

[0172] According to an embodiment, in the case where the zoom change request occurs continuously, in the case where the zoom magnification according to the zoom change request is gradually reduced from a magnification greater than or equal to a specific range (e.g., from about 3x to about 5x) supported by the second camera 412, the processor 120 may move the lens included in the second camera 412 to a point (e.g., an end position of the lens) corresponding to the maximum magnification (e.g., about 5x) in the specific range. For example, the processor 120 may recognize a case where the zoom magnification in response to the zoom change request is gradually reduced from about 10x to about 5x, and in response to the recognized case, the lens included in the second camera 412 may be moved from the configured first position (e.g., a position corresponding to about 4x magnification) to a point (e.g., an end position of the lens) corresponding to about 5x magnification. For example, in the case where the zoom magnification is adjusted to about 5x in response to the zoom change request, the processor 120 may display a second image captured using the second camera 412.

[0173] According to an embodiment, in the case where a zoom change request occurs continuously, in the case where the zoom magnification according to the zoom change request gradually increases from a magnification less than or equal to a specific range (e.g., from about 3x to about 5x) supported by the second camera 412, the processor 120 may move the lens included in the second camera 412 to a point corresponding to the minimum magnification (e.g., about 3x) within the specific range (e.g., a starting point of the lens, a default position of the lens). For example, the processor 120 may recognize a case where the zoom magnification in response to the zoom change request gradually increases from about 1x to about 3x, and in response to the recognized case, the lens included in the second camera 412 may be moved from a configured first position (e.g., a position corresponding to about 4x magnification) to a point corresponding to about 3x magnification (e.g., a starting point of the lens). For example, in the case where the zoom magnification is adjusted to about 3x in response to the zoom change request, the processor 120 may display a second image captured using the second camera 412.

[0174] According to an embodiment, in the case where a zoom change request occurs continuously, the processor 120 may detect whether the magnification in response to the zoom change request is gradually increased or gradually decreased, and in response to the detection, the position of the lens may be changed from the configured first position to a specific position (e.g., a 1-1 position corresponding to the minimum magnification, and a 1-2 position corresponding to the maximum magnification). For example, in the case where the zoom change request gradually decreases with a magnification exceeding the range of the supportable magnification of the lens (e.g., the movable part of the lens), the processor 120 may change the position of the lens from the configured first position to the 1-2 position corresponding to the maximum magnification of the lens. For another example, in the case where the zoom change request gradually increases with a magnification less than the range of the supportable magnification of the lens (e.g., the movable part of the lens), the processor 120 may change the position of the lens from the configured first position to the 1-1 position corresponding to the minimum magnification of the lens.

[0175] According to an embodiment, in the event of a zoom change request, the electronic device 101 may move the lens to a configured position (eg, configured first position, 1-1 position, 1-2 position) in advance, and may reduce the time required for physical movement of the lens.

[0176] Figure 9a is a diagram illustrating a case where a zoom function is performed based on a plurality of fixed focal length cameras and a continuous optical zoom camera according to an embodiment of the present disclosure. Figure 9b is a diagram illustrating operations of a fixed-focus camera and a continuous optical zoom camera when a zoom function from about 5x magnification to about 10x magnification is performed according to an embodiment of the present disclosure. Fig.9c is a diagram illustrating operations of a fixed-focus camera and a continuous optical zoom camera when a zoom function from about 10x magnification to about 3x magnification is performed according to an embodiment of the present disclosure.

[0177] Figure 9a , Figure 9b and Fig.9c The electronic device 101 may be at least partially similar to Figure 1 electronic device 101, Figure 2a and Figure 2b The electronic device 200 and Figure 4 The electronic device 101 may also include other embodiments of the electronic device 101.

[0178] refer to Figure 9a , the electronic device 101 may include a plurality of fixed-focus cameras (eg, a first camera (eg, Figure 4 ), a third camera 910, and a continuous optical zoom camera (eg, Figure 4For example, the first camera 411 may support a magnification of about 1x, and the third camera 910 may support a magnification of about 10x. The second camera 412 may support a zoom function from about 3x magnification to about 5x magnification while at least one lens (e.g., a zoom lens) is physically moved.

[0179] refer to Figure 9b and 9c , in the process of executing the zoom function, the process of changing the zoom magnification is shown, through the display module (for example, Figure 4 The image displayed by the display module 160) and the operation of the second camera 412 (e.g., a continuous optical zoom camera).

[0180] refer to Figure 9b In operation 911, the processor of the electronic device 101 (eg, Figure 4 The processor 120 of the display module 160 may recognize a request signal for performing a zoom function (e.g., zooming in) from about 5x magnification to about 10x magnification with respect to an image displayed through the display module 160. In operation 913, the processor 120 may display a second image captured at about 5x magnification using the second camera 412 through the display module 160. In operation 915, the second camera 412 may be moved to a third position (e.g., a position corresponding to about 5x magnification) in which a zoom lens is configured.

[0181] In operations 911 and 912, the processor 120 may perform a zoom function (e.g., zoom in) in which an image is zoomed in from about 5x magnification to about 10x magnification for about 100 ms. In operations 913 and 914, the processor 120 may perform a digital zoom function at about 10x magnification based on a second image captured at about 5x magnification using the second camera 412. In operations 915 and 916, the processor 120 may maintain a third position in which the zoom lens of the second camera 412 is set.

[0182] In operation 914, the processor 120 may display the third image captured at about 10x magnification using the third camera 910 through the display module 160. In operations 916 and 917, the processor 120 may move the zoom lens set at the third position (e.g., the position corresponding to about 5x magnification) to the first position (e.g., the position corresponding to about 4x magnification).

[0183] refer to Fig.9cIn operation 921, the processor 120 may recognize a request signal for performing a zoom function (e.g., zooming out) from about 10x magnification to about 3x magnification on an image displayed through the display module 160. In operation 923, the processor 120 may display a first image (e.g., an image in which a digital zoom function is performed at about 10x magnification) captured using the first camera 411 through the display module 160. In operation 925, the second camera 412 may be moved to a first position (e.g., a position corresponding to about 4x magnification) in which a zoom lens is configured.

[0184] In operations 921 and 922, the processor 120 may perform a zoom function (e.g., zoom out) in which an image is reduced from about 10x magnification to about 3x magnification for about 100 ms. In operations 923 and 924, the processor 120 may perform a zoom function at about 3x magnification based on a first image captured using the first camera 411 (e.g., an image in which a digital zoom function is performed at about 10x magnification). In operations 925 and 926, the processor 120 may move a zoom lens of the second camera 412 from a configured first position (e.g., a position corresponding to about 4x magnification) to a second position (e.g., a position corresponding to about 3x magnification). For example, the zoom lens may move from the first position to the second position for about 100 ms.

[0185] In operation 924, the processor 120 may display the second image captured at about 3x magnification using the second camera 412 through the display module 160. According to an embodiment of the present disclosure, when the zoom magnification is changed, the processor 120 may identify whether the second camera 412 (e.g., a continuous optical zoom camera) supports the zoom magnification to be changed. If the modified zoom magnification is a magnification supportable by the second camera 412, the processor 120 may move at least one lens (e.g., a zoom lens) included in the second camera 412 to a position corresponding to the desired zoom magnification, and through the moved lens, the second image may be acquired. For example, the acquired second image may include an image in which an optical zoom function is performed based on the changed zoom magnification.

[0186] The method according to an embodiment may include: in response to a first camera (eg, Figure 4 The first camera 411) is used to perform functions related to the display (eg, Figure 1 and / or Figure 4 The display module 160 of the embodiment displays the first preview image of the first magnification acquired by the first camera; while displaying the first preview image of the first magnification, the first preview image of the second camera (for example, Figure 4The method further comprises moving a lens in a second camera 412) from a starting position to a preset first position configured based on a movable range of the lens; in response to an input requesting a zoom function to a second magnification, moving the lens in the preset first position to a second position corresponding to the second magnification; and acquiring, through the second camera 412, a second preview image corresponding to the second magnification based on the lens moved to the second position.

[0187] The method according to an embodiment may further include: in response to a signal requesting a zoom function to a second magnification, identifying whether the second magnification is included in a range of magnifications supported by the second camera 412, and if the second magnification is included in the range of magnifications, moving a lens included in the second camera 412 to a second position corresponding to the second magnification.

[0188] The method according to the embodiment may further include maintaining a lens included in the second camera 412 at the configured first position when the second magnification is not included within the range of magnifications.

[0189] The method according to an embodiment may further include: in response to an input requesting a zoom function to a second magnification, displaying at least a portion of the first preview image by zooming in to the second magnification, and when a predetermined time exceeds from the time when the first preview image zoomed in to the second magnification is displayed, moving a lens included in the second camera 412 to a second position corresponding to the second magnification.

[0190] The method according to an embodiment may further include: changing the first preview image enlarged at the second magnification to a second preview image corresponding to the second magnification and displaying the second preview image through the display module 160, in a state where the second preview image corresponding to the second magnification is displayed, in response to an input requesting a zoom function to the first magnification, changing the second preview image to the first preview image enlarged at the second magnification and displaying the first preview image, and reducing the first preview image enlarged at the second magnification at the first magnification and displaying the first preview image.

[0191] The method according to an embodiment may further include moving a lens disposed at the second position included in the second camera 412 to the configured first position in response to an input requesting a zoom function to the first magnification while displaying a second preview image corresponding to the second magnification.

[0192] The method according to an embodiment may further include: in a state where a second preview image corresponding to the second magnification acquired through the second camera 412 is displayed, in response to an input requesting a zoom function to a third magnification, enlarging the second preview image at the third magnification and displaying the second preview image, acquiring a third preview image corresponding to the third magnification using the third camera 910 supporting the zoom function corresponding to the third magnification, and changing the second preview image enlarged at the third magnification to the third preview image and displaying the third preview image.

[0193] According to an embodiment of the present disclosure, the configured first position can be configured based on at least one of a movable part of the lens included in the second camera 412, a moving distance of the lens, a moving time of the lens, a moving speed of the lens, a movement timing of the lens, a distance to an object included in the first image, and a user history related to the execution of the zoom function.

[0194] According to an embodiment of the present disclosure, the first camera 411 may include a fixed focal length camera having a fixed focal length for acquiring images corresponding to a first magnification, and the second camera 412 may include a continuous optical zoom camera for acquiring images corresponding to a range of magnifications while at least one lens is physically moved.

[0195] The method according to an embodiment may include: in response to a signal requesting a zoom function to a second magnification, performing a digital zoom function based on a first preview image acquired using the first camera 411, and displaying the first preview image in which at least a portion of the first preview image is magnified to the second magnification.

[0196] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.

[0197] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalent forms or alternative forms for the corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things, unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include any one or all possible combinations of the items listed together with the corresponding one of the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “coupled with another element (e.g., a second element)”, “coupled to another element (e.g., a second element)”, “connected with another element (e.g., a second element)”, or “connected to another element (e.g., a second element)” with or without the terms “operably” or “communicatively” being used, it means that the element may be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.

[0198] As used in connection with various embodiments of the present disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or a minimum unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).

[0199] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, under the control of a processor, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute at least one instruction with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.

[0200] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., Play Store TM ) the computer program product may be published (e.g., downloaded or uploaded) online, or the computer program product may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If published online, at least part of the computer program product may be temporarily generated, or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, a server of an application store, or a forwarding server).

[0201] According to various embodiments, each component (e.g., module or program) in the above-mentioned parts may include a single entity or multiple entities, and some of the multiple entities may be separately arranged in different components. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform one or more functions of each of the multiple components in the same or similar manner as the corresponding one of the multiple components performs one or more functions before integration. According to various embodiments, the operations performed by a module, a program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more of the operations may be run in a different order or omitted, or one or more other operations may be added.

[0202] While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents.

Claims

1. An electronic device, comprising: First Camera; a second camera, the second camera including a lens that moves within a movable range; monitor; processor; and a memory operably connected to the processor and configured to store instructions, Wherein, the electronic device is configured to execute the instructions to: In response to the execution of the function related to the first camera, displaying a first preview image of a first magnification acquired by the first camera through the display, while displaying a first preview image of a first magnification, moving a lens included in the second camera from a starting position to a preset first position configured based on a movable range of the lens, In response to an input requesting a zoom function to a second magnification, moving the lens of the preset first position to a second position corresponding to the second magnification, and Based on the lens moving to the second position, a second preview image corresponding to a second magnification is acquired through the second camera.

2. The electronic device according to claim 1, in, A first time taken for the lens to move from a preset first position to a second position is shorter than a second time taken for the lens to move from a starting position to the second position.

3. The electronic device according to claim 1, wherein: The electronic device is further configured to execute the instructions to: In response to an input requesting a zoom function to a second magnification, identifying whether the second magnification is included in a range of magnifications supported by the second camera, When the second magnification is included in the range of magnifications, moving a lens included in the second camera to a second position corresponding to the second magnification, and When the second magnification is not included in the certain range of magnifications, a lens included in the second camera is maintained at the configured first position.

4. The electronic device according to claim 1, wherein: The electronic device is further configured to execute the instructions to: In response to an input requesting a zoom function to a second magnification, magnifying at least a portion of the first preview image at the second magnification and displaying the first preview image, and When a predetermined time exceeds from the time when the first preview image magnified to the second magnification is displayed, the lens included in the second camera is moved to a second position corresponding to the second magnification.

5. The electronic device according to claim 1, wherein: The electronic device is further configured to execute the instructions to: changing the first preview image magnified to a second magnification ratio into a second preview image corresponding to the second magnification ratio and displaying the second preview image on a display, In a state where a second preview image corresponding to a second magnification is displayed, in response to an input requesting a zoom function to a first magnification, the second preview image is changed to a first preview image enlarged at the second magnification and the first preview image is displayed, and The first preview image enlarged at the second magnification is reduced at the first magnification and displayed.

6. The electronic device according to claim 1, wherein: The electronic device is further configured to execute the instructions to: In a state where a second preview image corresponding to a second magnification is displayed, in response to an input requesting a zoom function to a first magnification, a lens disposed at a second position included in the second camera is moved to the configured first position.

7. The electronic device according to claims 1 to 6, further comprising: a third camera, the third camera is used to obtain a third preview image corresponding to a third magnification, Wherein, the electronic device is further configured to execute the instructions to: in a state where a second preview image corresponding to a second magnification acquired by a second camera is displayed, in response to an input requesting a zoom function to a third magnification, the second preview image is enlarged at the third magnification and displayed, acquiring a third preview image corresponding to a third magnification using a third camera, and The second preview image enlarged at the third magnification is changed to a third preview image and displayed.

8. The electronic device according to claim 1, wherein: The first position is configured based on at least one of a movable part of a lens included in the second camera, a moving distance of the lens, a moving time of the lens, a moving speed of the lens, a moving timing of the lens, a distance to an object included in the first preview image, or a user history related to execution of a zoom function.

9. The electronic device according to claim 1, in, The first camera includes a fixed focus camera having a fixed focus and acquiring an image corresponding to a first magnification, and Wherein, the second camera includes a continuous optical zoom camera in which at least one lens is physically moved, and the continuous optical zoom camera acquires images corresponding to a specific range of magnifications.

10. The electronic device according to claim 1 to 9, wherein: The at least one lens includes at least one of a zoom lens that performs a zoom function corresponding to a specific magnification or an auto focus AF lens that corresponds to the specific magnification based on a setting position of the zoom lens.

11. The electronic device according to claims 1 to 10, wherein: The electronic device is further configured to execute the instructions to: In response to an input requesting a zoom function to a second magnification, performing a digital zoom function based on a first preview image acquired using the first camera, and A first preview image is displayed in which at least a portion of the first image is magnified to a second magnification.

12. The electronic device according to claim 1, wherein: The electronic device is further configured to execute the instructions to: identifying situations where input requesting zoom changes occurs continuously, and When the request time for the zoom change exceeds a preset threshold, a lens included in the second camera is moved to a start position.

13. A method for controlling a camera and performing a zoom function in an electronic device, the method comprising: In response to execution of a function related to the first camera, displaying, through the display, a first preview image of a first magnification acquired through the first camera; while displaying a first preview image of a first magnification, moving a lens included in the second camera from a starting position to a preset first position configured based on a movable range of the lens; In response to an input requesting a zoom function to a second magnification, moving the lens in a preset first position to a second position corresponding to the second magnification; and Based on the lens moving to the second position, a second preview image corresponding to a second magnification is acquired through the second camera.

14. The method according to claim 13, further comprising: In response to a signal requesting a zoom function to a second magnification, identifying whether the second magnification is included in a range of magnifications supported by the second camera; when the second magnification is included in the specific range of magnifications, moving a lens included in the second camera to a second position corresponding to the second magnification; and When the second magnification is not included in the specific range of zooming, a lens included in the second camera is maintained at the first position.

15. The method according to claims 13 to 14, further comprising: In response to an input requesting a zoom function to a second magnification, magnifying at least a portion of the first preview image at the second magnification and displaying the first preview image; and When a predetermined time exceeds from the time when the first preview image magnified to the second magnification is displayed, the lens included in the second camera is moved to a second position corresponding to the second magnification.