Electronic device connected to external camera and operation method therefor
The electronic device connects with external cameras and converts commands to enable seamless integration, addressing the incompatibility issues between smartphone applications and external cameras, thus enhancing user experience and functionality.
Patent Information
- Application Number
- PCT/KR2024/001078
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-18
- Filing Date
- 2024-01-23
- Publication Date
- 2024-09-26
AI Technical Summary
Existing smartphone applications often have incompatible control interfaces with external camera devices, requiring separate applications or code conversions to function properly, limiting user functionality when using external cameras like webcams.
An electronic device with a communication circuit and memory, equipped with a processor, can establish a connection with an external camera device and convert photographing commands to allow the application to acquire images from the external camera, enabling seamless integration without the need for separate applications or code conversions.
Enables easy and efficient use of external cameras by converting commands and metadata, allowing the smartphone application to control and acquire images from external cameras, enhancing user experience and functionality without additional software installation.
Smart Images

Figure KR2024001078_26092024_PF_FP
Abstract
Description
Electronic device connected to an external camera and method of operation thereof
[0001] The present disclosure relates to an electronic device and an operating method connected to an external camera.
[0002] Smartphones offer a variety of camera-based applications, such as video calling, video conferencing, and photography. Because smartphones are inherently equipped with cameras, they can independently provide the aforementioned application features without the need for a separate external camera device.
[0003] Meanwhile, smartphones, like the Internet of Things (IoT), can be connected to various external devices for scalability. In this case, smartphones may require a separate interface with the protocols required by the external devices to control them.
[0004] For example, when a user wants to use the video captured by the webcam by linking the smartphone with the webcam, it may be necessary to install a separate application for the webcam, or at least convert the code to control the webcam.
[0005] However, the control interface provided by existing applications, rather than separate applications, is often not compatible with external camera devices, and using a webcam through an existing application may not provide the functions desired by the user.
[0006] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art in connection with the present disclosure.
[0007] An electronic device according to one embodiment may include a camera, a communication circuit for communicating with an external electronic device equipped with an external camera, a memory for storing an application for providing a function using the camera, and at least one processor electrically connected to the camera, the communication circuit, and the memory.
[0008] An electronic device according to one embodiment may be configured to establish a connection between the electronic device and the external electronic device via the communication circuit while the application is running. When the electronic device detects a first shooting command provided to the camera, the electronic device may be configured to convert the first shooting command into a second shooting command for providing to the external electronic device. The electronic device may be configured to cause the application to acquire an image acquired by the external camera based on the second shooting command.
[0009] A method of operating an electronic device according to one embodiment may include an operation of establishing a connection between the electronic device and an external electronic device including an external camera while an application is running. The method of operating the electronic device may include an operation of detecting a first shooting command provided to the camera, converting the first shooting command into a second shooting command for providing the first shooting command to the external electronic device. The method of operating the electronic device may include an operation of the application acquiring an image acquired by the external camera based on the second shooting command.
[0010] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
[0011] Figure 2 is a block diagram illustrating a program according to various embodiments.
[0012] Figure 3 illustrates an output screen of an application in a connection state between an electronic device and an external electronic device according to the prior art.
[0013] FIG. 4 is a block diagram illustrating an example of an electronic device connected to an external electronic device and converting data according to one embodiment.
[0014] FIG. 5 is a block diagram illustrating an example of an electronic device detecting a connection to an external electronic device according to one embodiment.
[0015] FIG. 6 is a block diagram illustrating an example of converting a shooting command, metadata, and image between an electronic device and an external electronic device according to one embodiment.
[0016] FIG. 7 is a flowchart illustrating a process according to an embodiment of the present invention in which an electronic device notifies a user of a connection with an external electronic device and responds to user input.
[0017] Figure 8 is a drawing referenced in the flowchart of Figure 7.
[0018] FIG. 9 is a diagram illustrating a process when an electronic device according to one embodiment is disconnected from an external electronic device.
[0019] FIG. 10 is a diagram illustrating a process for changing a camera to a low power mode while an electronic device is connected to an external electronic device according to one embodiment.
[0020] FIG. 11 is a diagram illustrating a process for generating a new shooting command to be provided to an external electronic device by an electronic device according to one embodiment.
[0021] FIG. 12 is a diagram illustrating a process by which an electronic device converts an image acquired from an external electronic device according to one embodiment.
[0022] FIG. 13 is a diagram illustrating a process in which an electronic device according to one embodiment converts metadata corresponding to an external electronic device.
[0023] FIG. 14 is a diagram illustrating an example in which an electronic device according to one embodiment establishes a connection with an external electronic device, and a camera is switched to change the output screen.
[0024] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), 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 subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0025] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0026] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0027] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0028] The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0029] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0030] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0031] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0032] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0033] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0034] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0035] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0036] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0037] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0038] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0039] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0040] The communication module (190) may support the establishment of 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 the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one 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 module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0041] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0042] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one 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 method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0043] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0044] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0045] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0046] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0047] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0048] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0049] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0050] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0051] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0052] FIG. 2 is a block diagram (200) illustrating a program (140) according to various embodiments. According to one embodiment, the program (140) may include an operating system (142), middleware (144), or an application (146) executable in the operating system (142) for controlling one or more resources of the electronic device (101). The operating system (142) may include, for example, Android™, iOS™, Windows™, Symbian™, Tizen™, or Bada™. At least some of the programs (140) may be preloaded in the electronic device (101), for example, during manufacturing, or may be downloaded or updated from an external electronic device (e.g., the electronic device (102 or 104), or a server (108)) when used by a user.
[0053] The operating system (142) may control the management (e.g., allocation or retrieval) of one or more system resources (e.g., processes, memory, or power) of the electronic device (101). The operating system (142) may additionally or alternatively include one or more driver programs for driving other hardware devices of the electronic device (101), for example, an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197).
[0054] Middleware (144) can provide various functions to the application (146) so that functions or information provided from one or more resources of the electronic device (101) can be used by the application (146). Middleware (144) can include, for example, an application manager (201), a window manager (203), a multimedia manager (205), a resource manager (207), a power manager (209), a database manager (211), a package manager (213), a connectivity manager (215), a notification manager (217), a location manager (219), a graphics manager (221), a security manager (223), a call manager (225), or a voice recognition manager (227).
[0055] The application manager (201) can manage, for example, the life cycle of the application (146). The window manager (203) can manage, for example, one or more GUI resources used on the screen. The multimedia manager (205) can, for example, identify one or more formats required for playing media files, and perform encoding or decoding of a corresponding media file among the media files using a codec suitable for the corresponding format selected among the formats. The resource manager (207) can manage, for example, the source code of the application (146) or the memory space of the memory (130). The power manager (209) can manage, for example, the capacity, temperature, or power of the battery (189), and determine or provide related information necessary for the operation of the electronic device (101) using the corresponding information. According to one embodiment, the power manager (209) can be linked with the basic input / output system (BIOS) (not shown) of the electronic device (101).
[0056] The database manager (211) can, for example, create, search, or modify a database to be used by the application (146). The package manager (213) can, for example, manage the installation or update of an application distributed in the form of a package file. The connectivity manager (215) can, for example, manage a wireless connection or direct connection between the electronic device (101) and an external electronic device. The notification manager (217) can, for example, provide a function for notifying a user of the occurrence of a specified event (e.g., an incoming call, a message, or an alarm). The location manager (219) can, for example, manage location information of the electronic device (101). The graphics manager (221) can, for example, manage one or more graphic effects to be provided to the user or a user interface related thereto.
[0057] The security manager (223) may provide, for example, system security or user authentication. The telephony manager (225) may manage, for example, a voice call function or a video call function provided by the electronic device (101). The voice recognition manager (227) may, for example, transmit the user's voice data to the server (108) and receive, from the server (108), a command corresponding to a function to be performed in the electronic device (101) based at least in part on the voice data, or text data converted based at least in part on the voice data. In one embodiment, the middleware (244) may dynamically delete some existing components or add new components. In one embodiment, at least a portion of the middleware (144) may be included as a part of the operating system (142) or implemented as separate software different from the operating system (142).
[0058] The application (146) may include, for example, a home (251), a dialer (253), an SMS / MMS (255), an instant message (IM) (257), a browser (259), a camera (261), an alarm (263), a contact (265), a voice recognition (267), an email (269), a calendar (271), a media player (273), an album (275), a watch (277), a health (279) (e.g., measuring biometric information such as the amount of exercise or blood sugar), or an environmental information (281) (e.g., measuring barometric pressure, humidity, or temperature information) application. According to one embodiment, the application (146) may further include an information exchange application (not shown) that can support information exchange between the electronic device (101) and an external electronic device. The information exchange application may include, for example, a notification relay application configured to transmit designated information (e.g., a call, a message, or an alarm) to an external electronic device, or a device management application configured to manage an external electronic device. The notification relay application may, for example, transmit notification information corresponding to a designated event (e.g., receipt of an email) that occurred in another application (e.g., an email application (269)) of the electronic device (101) to the external electronic device. Additionally or alternatively, the notification relay application may receive notification information from the external electronic device and provide the information to the user of the electronic device (101).
[0059] A device management application may, for example, control the power (e.g., turning on or off) or the function (e.g., brightness, resolution, or focus) of an external electronic device or a component thereof (e.g., a display module or a camera module of the external electronic device) that communicates with the electronic device (101). The device management application may additionally or alternatively support the installation, deletion, or update of an application running on the external electronic device.
[0060] Figure 3 illustrates an output screen of an application in a connection state between an electronic device and an external electronic device according to the prior art.
[0061] Before proceeding with the description of the prior art and the present disclosure, some terms used below will be clarified.
[0062] A video application (128, see FIG. 4) may be installed in an electronic device (101) and may provide video through a camera module (180, see FIG. 1) provided in the electronic device (101), and may refer to any application except for an application developed for an external electronic device (300). For example, a video application (128) may include a camera application, a video call-related application, a video conference-related application, or a video streaming-related application, and there is no limitation on the type of a video application (128).
[0063] The external electronic device (300) may include a device equipped with an external camera (not shown) capable of performing various functions related to image capture. The external electronic device (300) may be controlled through a wired / wireless connection with other electronic devices, and may provide images acquired by the external electronic device (300) to the other electronic devices. For example, the external electronic device (300) may refer to a device that is connected to another electronic device, such as a webcam, a laptop equipped with a camera module, or a monitor, and may provide images acquired by the external electronic device (300).
[0064] The external camera provided in the external electronic device (300) may include an independent camera module provided separately from the electronic device (101). The method by which the external electronic device (300) is connected to the electronic device (101) may include, in addition to a wired connection such as a webcam, a wireless IoT connection such as Matter / SmartThings, and a proprietary protocol specialized for the device.
[0065] The external electronic device (300) may have a separate interface for controlling an external camera provided therein. The interface of the external camera has a different form from the API (Application Programming Interface) for controlling the camera module (180) of the electronic device (101), and in order for the electronic device (101) to control the external camera, additional code may need to be implemented in the video application (128) (for example, UVC protocol for a webcam, Web API for IP CCTV, and a separate SDK provided by an IoT service for IoT equipment).
[0066] The video application (128) is generally developed to drive only the front camera module and / or the rear camera module fixedly placed on the electronic device (101), and may be manufactured without considering linkage with other cameras. Therefore, as illustrated in FIG. 3, even if the electronic device (101) and an external electronic device (300) including an external camera are connected, the video provided by the electronic device (101) is obtained from the camera module (180) of the electronic device (101), and the video application (128) may not be able to provide the video obtained by the external electronic device (300).
[0067] In addition, since the video application (128) does not have an interface and / or protocol for controlling an external camera provided in the external electronic device (300), control of the external electronic device (300) may not be possible unless the video application (128) is separately updated or controlled through a separate application for the external electronic device (300).
[0068] In one embodiment of the present disclosure, when the video application (128) does not implement a means for driving the external electronic device (300), the operating system of the electronic device (101) can determine whether the external electronic device (300) is available for use, and when the user accepts the use of the external electronic device (300), the operating system of the electronic device (101) can directly control the external electronic device (300).
[0069] An electronic device (101) according to one embodiment of the present disclosure may perform various conversion processes to compensate for differences in the operation of metadata for shooting commands, images, and shooting results that occur due to reasons such as differences in functions and / or specifications between the camera module (180) and the external camera of the external electronic device (300). According to one embodiment of the present disclosure, a video application (128) actually controls the camera module (180) of the electronic device (101), but may enable a user to control and use the external camera of the external electronic device (300) through the video application (128).
[0070] FIG. 4 is a block diagram illustrating an example of an electronic device connected to an external electronic device and converting data according to one embodiment.
[0071] The electronic device (101) can receive an image acquired from an external electronic device (300) through a communication module (190, FIG. 1). While the image application (128) stored in the memory (130, FIG. 1) is running, the processor (120, FIG. 1) of the electronic device (101) can execute a conversion module (228) to convert the image received from the external electronic device (300).
[0072] Referring to FIG. 4, an electronic device (101) according to one embodiment may include a conversion module (228) in the framework of an operating system (142, see FIG. 2).
[0073] The conversion module (228) according to one embodiment may obtain (or receive) a command transmitted from the video application (128) to the camera module (180) when an interface and / or protocol for the external electronic device (300) is not implemented in the video application (128). The conversion module (228) according to one embodiment may convert an image and / or metadata, which are results obtained from the external electronic device (300), based on the command transmitted to the camera module (180), and provide the converted image and / or metadata to the video application (128). The conversion module (228) according to one embodiment may convert a shooting command, an image, and / or metadata by taking into account differences in functions and / or specifications between the camera module (180) and an external camera equipped in the external electronic device (300).
[0074] The video application (128) provides a command to control the camera module (180) as before, but the electronic device (101) according to one embodiment can obtain (or receive) a command provided from the video application (128) in the middle by including a conversion module (228) and transmit it to an external electronic device (300). For example, the electronic device (101) according to one embodiment can provide a command generated from the video application (128) to the external electronic device (300) through the conversion module (228) so that the result value (image and / or metadata) obtained by the external electronic device (300) is transmitted to the video application (128). The video application (128) or the conversion module (228) can be software including at least one command that can be stored in the memory (130). The processor (120, FIG. 1) according to one embodiment can execute the video application (128) or the conversion module (228), which is software stored in the memory (130). In this case, the operation of the video application (128) or the conversion module (228) can be interpreted as the operation of the processor (120).
[0075] FIG. 5 is a block diagram illustrating an example of an electronic device detecting a connection to an external electronic device according to one embodiment.
[0076] An electronic device (101) according to one embodiment may further include an external electronic device detection module (229). The external electronic device detection module (229) according to one embodiment may notify a user by providing a separate UI when an external electronic device (300) is connected to the electronic device (101) via wired / wireless connection. At this time, when the electronic device (101) receives a user input for establishing a connection between the electronic device (101) and the external electronic device (300), the electronic device (101) may provide a conversion command to the conversion module (228) and control the external electronic device (300) based on the command transmitted through the image application (128).
[0077] A conversion module (228) according to one embodiment may generate a conversion command in response to a signal generated from an external electronic device detection module (229). When a conversion command is generated, the electronic device (101) according to one embodiment may perform a conversion process to control the external electronic device (300) by replacing the camera module (180) being used in the image application (128).
[0078] A conversion module (228) according to one embodiment may obtain (or receive) a command transmitted to the framework of the operating system through a camera API for the video application (128) to use the camera module (180), change at least a part of the acquired command to suit the function and / or specification of the external camera equipped in the external electronic device (300), transmit the changed command to the interface of the external camera, and cause the external camera to be driven based on the changed command.
[0079] According to one embodiment, the conversion module (228) may perform an image conversion operation by considering differences in specifications (e.g., angle of view, format, resolution, ratio, and / or arrangement direction) with the electronic device (101) when receiving an image acquired from an external camera. According to one embodiment, the conversion module (228) may perform at least one of Crop, Scaling, Color Convert, Rotate, and / or Encoding as a process for image conversion. According to one embodiment, the conversion module (228) may provide the image on which the conversion was performed to the video application (128) instead of the image acquired by the camera module (180).
[0080] A conversion module (228) according to one embodiment may convert metadata for an image acquired from an external camera into a form compatible with the camera module (180) and provide the converted metadata to the video application (128) in place of the metadata of the camera module (180). A processor (120) according to one embodiment may execute the conversion module (228) to enable the video application (128) to acquire the converted metadata.
[0081] FIG. 6 is a block diagram illustrating an example of converting a shooting command, metadata, and image between an electronic device and an external electronic device according to one embodiment.
[0082] According to one embodiment, the electronic device (101) may provide a first shooting command to the conversion module (228) through the interface of the video application (128). The first shooting command is a command for the video application (128) to control the camera module (180) of the electronic device (180), but may be converted (or generated) into a second shooting command by the conversion module (228) and transmitted to the external electronic device (300). The first shooting command may be generated by a user input provided by the user through the interface, but may also be a command automatically generated by the running video application (128) even without a user input.
[0083] According to one embodiment, the electronic device (101) may generate a first shooting command through the video application (128) and transmit the first shooting command to the conversion module (228). According to one embodiment, the electronic device (101) may cause the conversion module (228) to transmit the first shooting command to the camera module (180), and cause the conversion module (228) to convert and transmit the first shooting command into a second shooting command. The second shooting command is a command transmitted to control an external electronic device (300), and may include a control command that causes the external electronic device (300) to perform a function identical to the function corresponding to the first shooting command.
[0084] A conversion module (228) according to one embodiment may include a metadata conversion unit (2281) and an image conversion unit (2282).
[0085] When the conversion module (228) receives a first shooting command from the video application (128), it compares the presence or absence of a function mode of the camera module (180) and a function mode of the external electronic device (300), adds any missing commands, and performs a fallback and / or emulation process with a compatible command in case of an unsupported command, thereby converting the first shooting command into a second shooting command. The operation of converting the first shooting command into the second shooting command may include an operation of modifying the first shooting command into a second shooting command or an operation of generating the second shooting command based on the first shooting command.
[0086] The metadata conversion unit (2281) can convert the second metadata, which is a result value for the shooting result provided by the external electronic device (300), into a form compatible with the camera module (180) and provide it to the video application (128).
[0087] When the image conversion unit (2282) receives a second image, which is a captured image acquired by the external electronic device (300) based on the first shooting command, the image conversion unit (2282) may convert the second image into a first image to meet the specifications of the image application (128) and / or the camera module (180). The operation of converting the second image into the first image may include an operation of modifying the first image into a second image or an operation of generating the second image based on the first image. For example, the image conversion unit (2282) may perform operations of Crop, Scaling, Color Convert, Rotate and / or Encoding based on at least some of the angle of view, format, resolution, ratio and / or arrangement direction between the camera module (180) and the external camera of the external electronic device (300), and provide a second image that replaces the image of the camera module (180) transmitted to the image application (128). For example, the second image may replace the first image provided by the image application (128) by overwriting the buffer of the first image.
[0088] FIG. 7 is a flowchart (700) illustrating a process according to an embodiment of the present invention in which an electronic device notifies a user of a connection with an external electronic device and performs a process according to user input. FIG. 8 is a diagram referenced in the flowchart (700) of FIG. 7. Each operation of FIG. 7 may be executed by a processor (120, FIG. 1), thereby being at least one operation performed by the electronic device (101).
[0089] An electronic device (101) according to one embodiment can detect a connection with an external electronic device (300) (701). An electronic device (101) according to one embodiment can detect that an external electronic device (230) is connected to the electronic device (101) wired or wirelessly through an external electronic device detection module (229, see FIG. 5).
[0090] According to one embodiment, the electronic device (101) can check whether the external camera of the external electronic device (300) is in a format supported by the electronic device (101) when the camera module (180) is in use in the video application (128) (702, example) (703).
[0091] According to one embodiment, the electronic device (101) may generate a switching notification (704) if the external camera of the external electronic device (300) is a device of a supportable format that can provide images to the image application (128) (703, yes). The switching notification may be provided through the system UI of the electronic device (101), but is not limited thereto. The user may switch the camera that acquires images through the UI provided by the system. For example, the switching here may not mean that the device for acquiring images is completely (e.g., physically) replaced from the camera module (180) to the external electronic device (300), but may mean that at least a portion of the shooting commands provided to the camera module (180) are transmitted to the external electronic device (300) through the conversion module (228).
[0092] Referring to FIG. 8, the notification (800) according to 704 may be provided as a UI that allows the user to select whether to establish a connection. The user may select whether to establish a connection with the external electronic device (300) through the UI provided by the electronic device (101). While the UI of the notification (800) is exemplified as a pop-up window according to one embodiment, the UI of the notification (800) is not limited thereto and may include various forms and / or types.
[0093] According to one embodiment, when an electronic device (101) receives a selection command for establishing a connection from a user (705, example), it can establish a connection with an external electronic device (300) and cause a conversion module (228) to generate a conversion command (706).
[0094] FIG. 9 is a flowchart (900) illustrating a process when an electronic device is disconnected from an external electronic device according to one embodiment. Each operation in FIG. 9 may be executed by a processor (120, FIG. 1), thereby being at least one operation performed by the electronic device (101).
[0095] According to one embodiment, an electronic device (101) may be disconnected from an external electronic device (300) (901). According to one embodiment, an electronic device (101) may be disconnected from an external electronic device (300) when a user terminates a video application (128) or switches from an external camera of the external electronic device (300) to a camera module (180) of the electronic device (101).
[0096] According to one embodiment, the electronic device (101) may transmit a stop command to the conversion module (228) (903) when conversion is in progress (902) through the conversion module (228). When the conversion module (228) according to one embodiment receives the stop command, it may not perform the conversion process even if it receives the first shooting command from the video application (128), and may not transmit the second shooting command to the external electronic device (300).
[0097] FIG. 10 is a flowchart (1000) illustrating a process for changing a camera to a low-power mode while an electronic device is connected to an external electronic device according to one embodiment. Each operation of FIG. 10 is executed by a processor (120, FIG. 1), and thus may be at least one operation performed by the electronic device (101).
[0098] According to one embodiment, if the camera module (180) of the electronic device (101) supports a low power mode (1001, yes), the electronic device (101) can change the camera module (180) to the low power mode (1002). When the electronic device (101) establishes a connection with an external electronic device (300), the image provided by the image application (128) can be acquired from the external camera of the external electronic device (300). Therefore, since the camera module (180) of the electronic device (101) is not involved in providing the image, it may not be necessary to implement high performance. However, since the receiving target of the first shooting command recognized by the image application (128) corresponds to the camera module (180), the camera module (180) may need to be in an on state at least according to the low power mode rather than an off state. By means of the low power mode, the electronic device (101) can reduce additional power consumption by the camera module (180) when a connection is established with an external electronic device (300).
[0099] Meanwhile, an electronic device (101) according to one embodiment can repeatedly perform the process of shooting command conversion (1003), image conversion (1004), and metadata conversion (1005) until a stop command is received (1006).
[0100] For example, the conversion module (228) of the electronic device (101) can obtain a first shooting command transmitted to the framework of the operating system through the API of the image application (128) and convert it into a second shooting command in a form compatible with the external camera of the external electronic device (300). The conversion module (228) can transmit the second shooting command to the external electronic device (300) so that the electronic device (101) can obtain an image acquired from the external camera of the external electronic device (300). The conversion module (228) according to one embodiment can convert an image acquired from the external camera and transmit it to the image application (128), and can also convert metadata, which is a shooting result value, into a form compatible with the camera module (180) and transmit it to the image application (128).
[0101] According to one embodiment, when an electronic device (101) receives a stop command (1006, example), it can change the camera module (180) from a low power mode to a normal mode (1007).
[0102] According to one embodiment, when an electronic device (101) receives a stop command (1006, example), it can switch the camera linked with the video application (128) from the external electronic device (300) to the camera module (180) or terminate the video application (128) (1008).
[0103] According to one embodiment, when an electronic device (101) receives a stop command (1006, example), it can change the camera module (180) to a normal mode and switch the camera linked with the video application (128) from the external electronic device (300) to the camera module (180).
[0104] FIG. 11 is a flowchart (1100) illustrating a process for generating a new shooting command to be provided to an external electronic device by an electronic device according to one embodiment. Each operation of FIG. 11 may be executed by a processor (120, FIG. 1) and thus may be at least one operation performed by the electronic device (101).
[0105] According to one embodiment, when the conversion module (228) of the electronic device (101) receives a first shooting command provided to the camera module (180) (1101), it can acquire (or receive) attribute information on the external camera of the external electronic device (300) (1102). At this time, the attribute information can include a function supported by the external camera and / or a command code corresponding to the supported function. The electronic device (101) can acquire the attribute information from the external electronic device (300) to determine what functions are commonly supported by the electronic device (101) and the external electronic device (300). For example, the electronic device (101) can determine a function mode supported by the electronic device (101) but not supported by the external electronic device (300) and / or a function mode not supported by the electronic device (101) but supported by the external electronic device (300) based on the attribute information of the external electronic device (300).
[0106] In one embodiment, the conversion module (228) of the electronic device (101) may generate a new first shooting command corresponding to the function mode supported only by the external camera (1104), if there is a function mode supported only by the external camera (1103, yes). For example, assuming that the external camera of the external electronic device (300) supports the AF (Auto Focus) function, but the camera module (180) of the electronic device (101) does not support the AF function, the electronic device (101) may not have a first shooting command corresponding to the AF function, which is a trigger for executing the AF function. In this case, the conversion module (228) of the electronic device (101) according to one embodiment may add the missing command, and in case of an unsupported command, fallback and / or emulate with a compatible command to generate a new first shooting command.
[0107] An electronic device (101) according to one embodiment can add a first shooting command generated to a first shooting command list for a camera module (180) (1105).
[0108] An electronic device (101) according to one embodiment can acquire an image through an external electronic device (300) by transmitting a second shooting command based on an added first shooting command to an external camera (1106).
[0109] Meanwhile, the attribute information may include the types of commands supported by the camera (camera module (180) and / or external camera). If the interface for controlling the camera does not support the configuration of basic commands for shooting, the electronic device (101) according to one embodiment may configure all types of commands supported as basic commands for shooting by designating their values as default values defined in the interface. In this case, the electronic device (101) according to one embodiment may determine which commands are missing by comparing the commands generated through the conversion process with the basic commands.
[0110] Since the interfaces for controlling the external camera of the camera module (180) and the external electronic device (300) are different during the conversion process, there may be differences between commands for setting or controlling the same functional mode. An electronic device (101) according to one embodiment may include a shooting command conversion table in which definitions on the interface of the camera module (180) corresponding to all functional modes of the camera and definitions on the interface of the external camera are assigned (see Table 1).
[0111]
[0112] Referring to Table 1, a shooting command conversion table according to one embodiment may be stored in a memory (130, FIG. 1) based on priorities, taking into account differences in interfaces in the same functional mode. However, the shooting command conversion table according to Table 1 is only one example, and may be defined in various ways depending on the specifications of the electronic device (101) and the type of external electronic device (300).
[0113] The shooting command conversion table of the electronic device (101) according to one embodiment may be automatically generated when an external camera is connected, or may be pre-stored in memory.
[0114] When a conversion module (228) according to one embodiment receives a first shooting command, it can refer to a shooting command conversion table to correspond to a function-specific mode corresponding to the first shooting command, check a first priority command corresponding to an interface of an external electronic device (300), and check whether the command is a command supported by the external electronic device (300) by referring to attribute information acquired from the external electronic device (300).
[0115] A conversion module (228) according to one embodiment may convert a first shooting command into a second shooting command based on a first priority command if the external electronic device (300) is supported by the first priority command.
[0116] According to one embodiment, the conversion module (228) may fall back to the second priority command if the external electronic device (300) does not support the first priority command. For example, if the external electronic device (300) does not support the first priority command, the conversion module (228) according to one embodiment may perform fallback processing with the next priority command. According to Table 1, the next priority command corresponds to the second priority command, and the second priority command is configured to include a default value defined in the corresponding interface as the lowest priority command, and may be used to convert the first shooting command into the second shooting command.
[0117] For example, in the case of “Bokeh,” one of the functional modes in Table 1, it may not be supported by the interface of the external electronic device (300), and thus, it may not be possible to replace it with another command. In this case, the interface is marked as unsupported in the conversion table, and the conversion module (228) may perform the conversion by omitting the command.
[0118] FIG. 12 is a flowchart (1200) illustrating a process by which an electronic device converts an image acquired from an external electronic device according to one embodiment. Each operation of FIG. 12 may be executed by a processor (120, FIG. 1), thereby being at least one operation performed by the electronic device (101).
[0119] According to one embodiment, an electronic device (101) may receive a first image buffer of a camera module (180) (1201). The first image buffer may correspond to a temporary storage space for storing image data acquired from the camera module (180) of the electronic device (101). For example, the first image buffer may be included in a memory included within a processor (e.g., processor (120) of FIG. 1) or may be included in a memory external to the processor (120) (e.g., memory (130) of FIG. 1).
[0120] An electronic device (101) according to one embodiment can receive a second image last acquired by a conversion module (228) (1202).
[0121] An electronic device (101) according to one embodiment can compare a first image acquired by a camera module (180) in a first image buffer with a second image acquired by a conversion module (228) (1203).
[0122] 1203 may include a process of converting an image to fit the existing specifications of the image application (128) of the electronic device (101) by taking into account the difference in specifications between the image acquired by the camera module (180) and the image acquired by the external camera of the external electronic device (300).
[0123] According to one embodiment, the conversion module (228) of the electronic device (101) can compare the first image and the second image to determine whether the orientation between the two is different (1204), whether the facing is different (1205), whether the aspect ratio is different (1206), whether the color format is different (1207), whether the resolution is different (1208), and whether the encoding is different (1209).
[0124] According to one embodiment, the conversion module (228) of the electronic device (101) can rotate the second image by the difference in orientation when the orientation between the first image and the second image is different (1204, example) (1204-1).
[0125] According to one embodiment, the conversion module (228) of the electronic device (101) can flip the second image when the facing between the first image and the second image is different (1205, example) (1205-1).
[0126] According to one embodiment, the conversion module (228) of the electronic device (101) may, when the Aspect Ratio between the first image and the second image is different (1206, example), crop the second image to match the Aspect Ratio of the first image (1206-1).
[0127] According to one embodiment, the conversion module (228) of the electronic device (101) can convert the color format of the second image to match the color format of the first image through a color convert process for the second image when the color formats of the first image and the second image are different (1207, example) (1207-1).
[0128] According to one embodiment, the conversion module (228) of the electronic device (101) may, when the resolutions of the first image and the second image are different (1208, example), convert the second image to match the resolution of the first image by scaling it (1208-1).
[0129] According to one embodiment, the conversion module (228) of the electronic device (101) can perform an encoding process for the second image (1209-1) when the encoding between the first image and the second image is different (1209, example).
[0130] As described above, the conversion module (228) of the electronic device (101) according to one embodiment may perform at least one of steps 1204 to 1209 to convert the second image into the first image. Here, the second image may correspond to image data according to the external camera specifications of the external electronic device (300), and the first image may correspond to image data according to the camera module specifications of the electronic device (101).
[0131] According to one embodiment, a conversion module (228) of an electronic device (101) can provide a converted image to an application (video application, 128) (1210). The conversion module (228) can overwrite an image buffer of a camera module (180) with a second image, and the image buffer can be provided to the application.
[0132] FIG. 13 is a flowchart (1300) illustrating a process by which an electronic device converts metadata corresponding to an external electronic device according to an embodiment. Each operation of FIG. 13 may be executed by a processor (120, FIG. 1), thereby being at least one operation performed by the electronic device (101).
[0133] The conversion process according to Fig. 13 may correspond to a process of converting metadata regarding the shooting result when the first shooting command passes through the conversion module (228) and transmits the second shooting command to the external electronic device (300) so that the external electronic device (300) performs shooting. Examples of metadata referenced in this embodiment are given in Table 2 below.
[0134]
[0135] According to one embodiment, the conversion module (228) of the electronic device (101) may receive second metadata from an external electronic device (300) (1301). The second metadata may correspond to a result value defined according to the specifications of the external electronic device (300) for various properties of the second image when the external camera of the external electronic device (300) acquires the second image.
[0136] According to one embodiment, the conversion module (228) of the electronic device (101) can acquire (or receive) attribute information of the camera module (180) of the electronic device (101) (1302). At this time, the attribute information includes image attribute information of the first image of the camera, which is a function supported by the camera module (180) of the electronic device (101) and a result value corresponding to the supported function.
[0137] According to one embodiment, the conversion module (228) of the electronic device (101) can convert the metadata (second metadata) into metadata (first metadata) supported by the electronic device (101) when the metadata (second metadata) is not a value supported by the electronic device (101) (1303, No) (1304).
[0138] The conversion module (228) of the electronic device (101) according to one embodiment may add a dummy portion of missing metadata in response to the first shooting command (1305). For example, the conversion module (228) of the electronic device (101) according to one embodiment may compare second metadata acquired from an external camera with image attribute information of the camera module (180), and if the second metadata is an unsupported result value, perform conversion on the metadata through a fallback and / or emulation process, and if the camera module (180) has required metadata or missing metadata, add a dummy portion of the metadata to convert it to be compatible.
[0139] A conversion module (228) of an electronic device (101) according to one embodiment can provide added metadata to an application (video application, 128) (1306).
[0140] Meanwhile, the conversion module (228) of the electronic device (101) according to one embodiment may configure the first metadata of the camera module (180) by using a metadata conversion table having priority in the process of converting the second metadata into the first metadata compatible with the camera module (180) (see Table 3).
[0141] Referring to Table 3, a metadata conversion table according to one embodiment may be stored in memory (130, FIG. 1) based on priorities, taking into account differences in interfaces in the same functional mode. However, the metadata conversion table according to Table 3 is merely an example, and may be defined in various ways depending on the specifications of the electronic device (101) and the type of external electronic device (300).
[0142] The metadata conversion table of the electronic device (101) according to one embodiment may be automatically generated when an external camera is connected, or may be pre-stored in memory.
[0143] When the conversion module (228) according to one embodiment receives the second metadata, it can refer to the metadata conversion table to correspond to the mode by function, check the first priority result value corresponding to the interface of the camera module (180), and check whether the result value is a result value supported by the camera module (180) by referring to the attribute information obtained from the camera module (180).
[0144] A conversion module (228) according to one embodiment can convert second metadata into first metadata based on a first rank result value if the camera module (180) supports the first rank result value.
[0145] According to one embodiment, the conversion module (228) can check the second-ranking result value of the next rank if the camera module (180) does not support the first-ranking result value. For example, according to one embodiment, if the camera module (180) does not support the first-ranking result value, the conversion module (228) can perform fallback processing with a command of the next rank. According to Table 3, the next-ranking result value corresponds to the second-ranking result value, and the second-ranking result value is configured to include the default value defined in the corresponding interface as the lowest-ranking result value, and can be converted from the second metadata to the first metadata using the corresponding result value.
[0146]
[0147] Additionally, if the metadata is a result value that is not supported by the external camera of the external electronic device (300), such as the AE result value (AE_Search, AE_Covered) of the conversion table, some result values may be missing in the first metadata configured through the conversion process. In this case, the missing result values can be confirmed by comparing the first metadata configured through the conversion process with the first metadata captured and transmitted by the camera module (180), and the missing result values can be copied from the first metadata transmitted from the camera module (180) or replaced with the default result value of the missing result value to finally complete the conversion.
[0148] FIG. 14 is a diagram illustrating an example in which an electronic device according to one embodiment establishes a connection with an external electronic device, and a camera is switched to change the output screen.
[0149] Referring to FIG. 14, when a user executes an application (video application, 128), the electronic device (101) can drive a camera module (180, FIGS. 4 to 6) built into the electronic device (101). According to one embodiment, the electronic device (101) can detect an external electronic device (300) based on a signal generated from the external electronic device (300) including an external camera. According to one embodiment, the electronic device (101) can output a UI (e.g., a notification (800) of FIG. 8) for attempting to switch cameras in response to detecting the external electronic device (300). At this time, the UI provided by the electronic device (101) can be based on a command of the system of the electronic device (101).
[0150] When an electronic device (101) according to one embodiment receives a user input for establishing a connection (including wired / wireless), it can perform at least some of 1) conversion of a shooting command, 2) conversion of an image, and 3) conversion of metadata as described above. By performing the conversion process, an image provided in an application may be an image acquired from an external camera of an external electronic device (300), rather than an image acquired by a camera module (180). Accordingly, the electronic device (101) can provide a control command to the external electronic device (300) through an existing shooting command, and can provide an image of the external camera based on the control command to the application.
[0151] The present disclosure provides an electronic device and an operating method thereof for controlling an external electronic device through an existing application without a separate application for controlling the external electronic device.
[0152] The technical problems to be achieved in this document are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by a person having ordinary skill in the technical field to which the present invention belongs from the description below.
[0153] The electronic device and its operating method according to various embodiments do not require installation or conversion of a separate application for the external electronic device, so that the user can easily use the external electronic device.
[0154] The effects that can be obtained from the present disclosure are not limited to the effects mentioned above, and other effects that are not mentioned can be clearly understood by a person having ordinary skill in the art to which the present disclosure belongs from the description below.
[0155] An electronic device (e.g., the electronic device (101) of FIGS. 1, 4 to 6) according to one embodiment may include a camera (a camera module (180) of FIG. 1), a communication circuit (a communication module (190) of FIG. 1) for performing communication with an external electronic device provided with an external camera, a memory (a memory (130) of FIG. 1) for storing an application that provides a function using the camera, and at least one processor (a processor (120) of FIG. 1) electrically connected to the camera, the communication circuit, and the memory. The electronic device may establish a connection between the electronic device and the external electronic device through the communication circuit while the application (an image application (128) of FIGS. 4 to 6) is running. When the electronic device detects a first photographing command provided to the camera, the electronic device may convert the first photographing command into a second photographing command for providing the first photographing command to the external electronic device. The electronic device may be configured to cause the application to acquire an image acquired by the external camera based on the second photographing command.
[0156] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may further include a display (a display module (160) of FIG. 1). When the electronic device detects a connection between the electronic device and the external electronic device while the camera is being operated, the electronic device may output a notification on the display regarding whether to switch from the camera to the external camera. When the electronic device receives a user input for establishing the connection, the electronic device may be configured to convert the first shooting command into the second shooting command.
[0157] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may acquire a second image acquired by the external camera when receiving a user input establishing the connection while outputting a first image acquired by the camera to the display. The electronic device may control the display to switch from the first image to the second image.
[0158] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4 to 6) may be configured to switch the power mode of a camera being driven by the application to a low power mode when receiving the user input.
[0159] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may, in response to the first shooting command, generate a dummy command by performing fallback processing when the function mode corresponding to the first shooting command is a function mode not supported by the external camera. The electronic device may be configured to provide a second shooting command, which is the dummy command, to the external camera.
[0160] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4 to 6) may be configured to generate a first shooting command corresponding to a function mode supported by the external camera if the function mode supported by the external camera is not included in a plurality of function modes supported by the camera.
[0161] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may, when a connection is established between the electronic device and the external electronic device, acquire attribute information of the external camera, which includes a plurality of function modes corresponding to each of a plurality of second shooting commands. The electronic device may be configured to generate a first shooting command corresponding to a function mode supported by the external camera based on a comparison between the function mode corresponding to the first shooting command and the attribute information.
[0162] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may acquire an image buffer corresponding to the camera. The electronic device may acquire an image acquired by the external camera. The electronic device may be configured to perform a transformation on the image acquired by the external camera based on image properties included in the image buffer, and provide the transformed image to the application.
[0163] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may be configured to obtain metadata for the converted image.
[0164] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may, upon acquiring the metadata, acquire image attribute information of the camera, which is a result value of a plurality of functional modes corresponding to each of a plurality of first shooting commands. The electronic device may be configured to convert the metadata based on a comparison between the metadata and the image attribute information.
[0165] A method of operating an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) according to one embodiment may include an operation of establishing a connection between the electronic device and an external electronic device including an external camera while an application is running. The method may include an operation of detecting a first shooting command provided to the camera, converting the first shooting command into a second shooting command for providing the first shooting command to the external electronic device. The method may further include an operation of allowing the application to acquire an image acquired by the external camera based on the second shooting command.
[0166] A method of operating an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) according to one embodiment may further include an operation of detecting a connection between the electronic device and the external electronic device while the camera is being operated. The method may further include an operation of outputting a notification on the display regarding whether the camera has been switched to the external camera. The method may further include an operation of converting the first shooting command into the second shooting command when a user input for establishing the connection is received.
[0167] A method of operating an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) according to one embodiment may further include an operation of acquiring a second image acquired by the external camera when a user input for establishing the connection is received while the first image acquired by the camera is output to the display. The method may further include an operation of controlling the display to switch from the first image to the second image.
[0168] A method of operating an electronic device (e.g., the electronic device (101) of FIGS. 1, 4 to 6) according to one embodiment may further include an operation of switching the power mode of a camera being driven by the application to a low power mode when the user input is received.
[0169] An operating method of an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) according to one embodiment may further include an operation of generating a dummy command by performing fallback processing in response to the first shooting command when the function mode corresponding to the first shooting command is a function mode not supported by the external camera. The operating method may further include an operation of providing a second shooting command, which is the dummy command, to the external camera.
[0170] An operating method of an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) according to one embodiment may further include an operation of generating a first shooting command corresponding to a function mode supported by the external camera, if the function mode supported by the external camera is not included in a plurality of function modes supported by the camera.
[0171] According to one embodiment, a method of operating an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may further include an operation of acquiring attribute information of an external camera including a plurality of function modes corresponding to each of a plurality of second shooting commands when a connection is established between the electronic device and the external electronic device. The method may further include an operation of generating a first shooting command corresponding to a function mode supported by the external camera based on a comparison of the attribute information with a function mode corresponding to the first shooting mode.
[0172] An operating method of an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) according to one embodiment may further include an operation of acquiring an image buffer corresponding to the camera. The operating method may further include an operation of acquiring an image acquired by the external camera. The operating method may further include an operation of performing a transformation on an image acquired by the external camera based on an image property included in the image buffer, and providing the transformed image to the application.
[0173] A method of operating an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) according to one embodiment may further include an operation of obtaining metadata for the converted image.
[0174] According to one embodiment, a method of operating an electronic device (e.g., the electronic device (101) of FIGS. 1, 4, and 6) may further include an operation of acquiring image property information of the camera, which is a result value of a plurality of function modes corresponding to each of a plurality of first shooting commands, when the metadata is acquired. The method may further include an operation of converting the metadata based on a comparison between the metadata and the image property information.
[0175] The methods according to the embodiments described in the claims or specification of the present disclosure may be implemented in the form of hardware, software, or a combination of hardware and software.
[0176] When implemented in software, a computer-readable storage medium storing one or more programs (software modules) may be provided. The one or more programs stored in the computer-readable storage medium are configured for execution by one or more processors within an electronic device. The one or more programs include instructions that cause the electronic device to execute methods according to embodiments described in the claims or specification of the present disclosure.
[0177] These programs (software modules, software) may be stored in a random access memory, a non-volatile memory including a flash memory, a read only memory (ROM), an electrically erasable programmable read only memory (EEPROM), a magnetic disc storage device, a compact disc ROM (CD-ROM), a digital versatile disc (DVD) or other forms of optical storage, a magnetic cassette, or a memory formed by a combination of some or all of these. In addition, each configuration memory may be included in multiple numbers.
[0178] Additionally, the program may be stored on an attachable storage device that is accessible via a communication network such as the Internet, an intranet, a local area network (LAN), a wide LAN (WLAN), or a storage area network (SAN), or a combination thereof. Such a storage device may be connected to a device performing an embodiment of the present disclosure via an external port. Additionally, a separate storage device on the communication network may be connected to a device performing an embodiment of the present disclosure.
[0179] In the specific embodiments of the present disclosure described above, components included in the disclosure are expressed in the singular or plural form, depending on the specific embodiment presented. However, the singular or plural expressions are selected to suit the presented situation for convenience of explanation, and the present disclosure is not limited to singular or plural components. Components expressed in the plural form may be composed of singular elements, or components expressed in the singular form may be composed of plural elements.
[0180] Additionally, in the present disclosure, terms such as “part”, “module”, etc. may refer to a hardware component such as a processor or circuit, and / or a software component executed by a hardware component such as a processor.
[0181] A "component" or "module" may be implemented by a program stored in an addressable storage medium and executed by a processor. For example, a "component" or "module" may be implemented by components such as software components, object-oriented software components, class components, and task components, as well as processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables.
[0182] The specific implementations described in this disclosure are merely exemplary and do not limit the scope of the present disclosure in any way. For the sake of brevity, descriptions of conventional electronic components, control systems, software, and other functional aspects of the systems may be omitted.
[0183] Additionally, in the present disclosure, “comprising at least one of a, b, or c” may mean “comprising only a, comprising only b, comprising only c, comprising both a and b, comprising both b and c, comprising both a and c, or comprising all of a, b, and c.”
[0184] While the detailed description of this disclosure has described specific embodiments, it should be understood that various modifications are possible without departing from the scope of this disclosure. Therefore, the scope of this disclosure should not be limited to the described embodiments, but should be defined not only by the scope of the claims described below, but also by equivalents thereof.
Claims
1. In electronic devices, camera; A communication circuit for communicating with an external electronic device having an external camera; Memory in which an application providing a function using the above camera is stored; and At least one processor electrically connected to the camera, the communication circuit and the memory, At least one processor of the above, While the above application is running: Establishing a connection between the electronic device and the external electronic device through the communication circuit; When detecting a first shooting command provided to the above camera, converting the first shooting command into a second shooting command for providing to the external electronic device, An electronic device configured to cause the application to acquire an image acquired by the external camera based on the second shooting command.
2. In paragraph 1, display; including more; At least one processor of the above, If the above camera detects a connection between the above electronic device and the above external electronic device while the above camera is operating, Output a notification on the display regarding whether the above camera has switched to the above external camera, An electronic device configured to convert said first shooting command into said second shooting command upon receiving a user input establishing said connection.
3. In paragraph 2, At least one processor of the above, While the first image acquired by the above camera is output to the above display: Upon receiving a user input establishing said connection, a second image acquired by said external camera is acquired, An electronic device configured to control the display to switch from the first image to the second image.
4. In paragraph 2, At least one processor of the above, An electronic device configured to switch the power mode of a camera driven by the application to a low power mode upon receiving said user input.
5. In paragraph 1, At least one processor of the above, If the function mode corresponding to the first shooting command is a function mode not supported by the external camera, a dummy command is generated by performing fallback processing in response to the first shooting command, An electronic device configured to provide a second shooting command, which is a dummy command, to the external camera.
6. In paragraph 1, At least one processor of the above, An electronic device configured to generate a first shooting command corresponding to a function mode supported by the external camera, if the function mode supported by the external camera is not included in a plurality of function modes supported by the camera.
7. In paragraph 6, At least one processor of the above, When a connection is established between the electronic device and the external electronic device, attribute information of the external camera including a plurality of function modes corresponding to each of a plurality of second shooting commands is acquired, An electronic device configured to generate a first shooting command corresponding to a function mode supported by the external camera based on a comparison between the function mode corresponding to the first shooting mode and the attribute information.
8. In paragraph 1, At least one processor of the above, Obtain an image buffer corresponding to the above camera, Acquire the image acquired by the above external camera, An electronic device configured to perform a transformation on an image acquired by the external camera based on image properties included in the image buffer and to provide the transformed image to the application.
9. In paragraph 8, At least one processor of the above, An electronic device configured to obtain metadata for the above converted image.
10. In paragraph 9, At least one processor of the above, When the above metadata is acquired, the image property information of the camera, which is the result value of a plurality of functional modes corresponding to each of a plurality of first shooting commands, is acquired, An electronic device configured to convert said metadata based on a comparison between said metadata and said image attribute information.
11. In the method of operating an electronic device, An action of establishing a connection between said electronic device and an external electronic device including an external camera while the application is running; An operation of detecting a first shooting command provided to the camera, converting the first shooting command into a second shooting command for providing the first shooting command to the external electronic device; and An operating method of an electronic device, comprising: an operation of the application acquiring an image acquired by the external camera based on the second shooting command; 12. In paragraph 11, An action of detecting a connection between the electronic device and the external electronic device while the camera is operating; An action of outputting a notification on the display regarding whether the camera has switched to the external camera; and A method of operating an electronic device, further comprising: upon receiving a user input establishing said connection, converting said first shooting command into said second shooting command; 13. In paragraph 12, An operation of acquiring a second image acquired by the external camera while receiving a user input establishing the connection while outputting a first image acquired by the camera to the display; and A method of operating an electronic device, further comprising: controlling the display to switch from the first image to the second image.
14. In paragraph 12, An operating method of an electronic device further comprising: when receiving the user input, switching the power mode of a camera being driven by the application to a low power mode; 15. In paragraph 11, If the function mode corresponding to the first shooting command is a function mode not supported by the external camera, an operation of generating a dummy command by performing fallback processing in response to the first shooting command; and An operating method of an electronic device further comprising: providing a second shooting command, which is a dummy command, to the external camera.
Citation Information
Patent Citations
Application Operating Method and electronic device using the same
KR1020170008601A
Method and apparatus for providing video service
KR1020170091913A
Method and apparatus for controlling function according to connection of external device
KR102415898B1
A road freezing prevention system that can efficiently control the amount of saline solution sprayed to prevent freezing on the road surface
KR102733430B1
External device operable in synchronization with camera wirelessly connected thereto, and camera operable in synchronization with external device wirelessly connected thereto
US8854536B2
