Electronic device and method for executing shared self-portrait image-capturing mode in electronic device

A shared selfie shooting mode across multiple devices uses one device's rear camera to enhance selfie quality, addressing the lower quality of front cameras in smartphones.

WO2026019308A1PCT designated stage Publication Date: 2026-01-22SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/095143
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-16
Filing Date
2025-03-31
Publication Date
2026-01-22

AI Technical Summary

Technical Problem

Smartphones typically have lower quality front cameras compared to rear cameras, limiting the image quality of selfies and video calls.

Method used

Implement a shared selfie shooting mode that utilizes multiple electronic devices, where one device acts as the main camera and another as a sub-camera, with one device displaying a preview image from the rear camera of the sub-device.

Benefits of technology

Enhances selfie image quality by leveraging the higher quality rear camera of an external device, improving the overall imaging experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025095143_22012026_PF_FP_ABST
    Figure KR2025095143_22012026_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device according to an embodiment may comprise: a display; a communication circuit; a sensor; a camera including a front camera and a rear camera; at least one processor; and a memory for storing instructions. The instructions according to an embodiment, when executed by the at least one processor, may be configured to: when a direction of the electronic device, indicating a shared self-portrait image-capturing attempt, is identified through the sensor, acquire first configuration information of the electronic device; receive second configuration information of an external electronic device from the external electronic device through the communication circuit; switch to a shared self-portrait image-capturing mode on the basis of at least one of the first configuration information of the electronic device and the second configuration information of the external electronic device; connect the electronic device to the external electronic device by using security information; and when a preview image acquired through a rear camera of the external electronic device is received from the external electronic device, display the preview image through the display. In addition, other embodiments may be included.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic devices and methods for enabling shared selfie shooting mode on electronic devices

[0001] The present disclosure relates to an electronic device and a method for executing a shared selfie shooting mode in the electronic device.

[0002] Smartphones have front and rear cameras, and the front camera is smaller and has fewer features than the rear camera, so its quality is lower.

[0003] Front-facing cameras are mostly used for the primary purpose of taking selfies or making video calls, so the quality of the images taken with the rear camera may be lower.

[0004] However, as selfies are continuously being used by users using smartphones, various selfie-taking methods are being attempted, such as improving the quality of the front camera or using the rear camera.

[0005] By executing the shared selfie shooting mode using multiple electronic devices, high quality images can be captured in the shared selfie shooting mode.

[0006] An electronic device according to an embodiment may include a display, a communication circuit, a sensor, a camera including a front camera and a rear camera, at least one processor, and a memory storing instructions. The instructions according to an embodiment may be configured to, when executed by the at least one processor, determine a direction of the electronic device indicating an attempt to take a shared selfie through the sensor, acquire first configuration information of the electronic device, receive second configuration information of the external electronic device from an external electronic device through the communication circuit, switch to a shared selfie shooting mode based on at least one of the first configuration information of the electronic device and at least one of the second configuration information of the external electronic device, connect the electronic device with the external electronic device using security information, and display a preview image obtained through a rear camera of the external electronic device through the display when the preview image is received from the external electronic device.

[0007] A method for executing a shared selfie shooting mode in an electronic device according to one embodiment may include: when a direction of the electronic device indicating a shared selfie shooting attempt is identified through a sensor of the electronic device, acquiring first configuration information of the electronic device; receiving second configuration information of the external electronic device from an external electronic device through a communication circuit of the electronic device; switching to a shared selfie shooting mode based on at least one of the first configuration information of the electronic device and at least one of the second configuration information of the external electronic device; connecting the electronic device with the external electronic device using security information; and when receiving a preview image acquired through a rear camera of the external electronic device from the external electronic device, displaying the preview image through a display of the electronic device.

[0008] In one embodiment, a non-volatile storage medium storing commands is provided, wherein the commands are configured to cause the electronic device to perform at least one operation when executed by the electronic device, wherein the at least one operation may include: when a direction of the electronic device indicating a shared selfie shooting attempt is determined through a sensor of the electronic device, acquiring first configuration information of the electronic device and receiving second configuration information of the external electronic device from an external electronic device through a communication circuit of the electronic device; switching to a shared selfie shooting mode based on at least one of the first configuration information of the electronic device and at least one of the second configuration information of the external electronic device; connecting the electronic device with the external electronic device using security information; and when receiving a preview image acquired through a rear camera of the external electronic device from the external electronic device, displaying the preview image through a display of the electronic device.

[0009] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.

[0010] FIG. 2 is a diagram for explaining an operation of taking a selfie in a shared selfie shooting mode using multiple electronic devices according to one embodiment.

[0011] Figure 3 is a block diagram of an electronic device according to one embodiment.

[0012] FIGS. 4A and 4B are drawings for explaining an operation that can confirm an attempt to take a selfie by a plurality of electronic devices according to an embodiment.

[0013] FIG. 5 is a drawing for explaining configuration information of each of a plurality of electronic devices according to one embodiment.

[0014] FIGS. 6A and 6B are drawings for explaining an operation of checking the distance and direction between a plurality of electronic devices according to one embodiment.

[0015] FIGS. 7A, 7B, and 7C are drawings for explaining an operation of checking the distance and direction between a plurality of electronic devices according to one embodiment.

[0016] FIG. 8 is a drawing for explaining an operation of confirming the location between multiple electronic devices according to one embodiment.

[0017] FIGS. 9A, 9B, and 9C are drawings for explaining an operation of checking the distance and direction between a plurality of electronic devices according to one embodiment.

[0018] FIG. 10 is a diagram illustrating an operation of generating security information in a plurality of electronic devices according to one embodiment.

[0019] FIG. 11 is a diagram for explaining an operation for exchanging data in a locked state of an electronic device according to one embodiment.

[0020] FIG. 12 is a diagram for explaining an operation for exchanging data in a locked state of an electronic device according to one embodiment.

[0021] FIGS. 13a and 13b are drawings illustrating images captured in a shared selfie shooting mode using multiple electronic devices.

[0022] FIG. 14 is a flowchart illustrating an operation of executing a shared selfie shooting mode in a plurality of electronic devices according to one embodiment.

[0023] FIG. 15 is a flowchart illustrating an operation of executing a shared selfie shooting mode in a main electronic device according to one embodiment.

[0024] FIG. 16 is a flowchart illustrating an operation of executing a shared selfie shooting mode in a sub-electronic device according to one embodiment.

[0025] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to an embodiment. 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). According to an 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)).

[0026] The processor (120) may control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing, for example, software (e.g., a program (140)), and may perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculation, the processor (120) may store a command or data received from another component (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the command or data stored in the volatile memory (132), and store the resulting 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 a secondary 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 therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a specified function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0027] The auxiliary processor (123) may control at least a part 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.

[0028] 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).

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

[0030] 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).

[0031] 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. According to one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0032] 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.

[0033] 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).

[0034] 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.

[0035] 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.

[0036] 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).

[0037] A 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.

[0038] 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.

[0039] 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).

[0040] 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.

[0041] 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).

[0042] 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) may 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.

[0043] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to 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 selected at least one antenna. According to 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).

[0044] In one embodiment, 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.

[0045] 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)).

[0046] 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.

[0047] FIG. 2 is a diagram for explaining an operation of taking a selfie in a shared selfie shooting mode using multiple electronic devices according to one embodiment.

[0048] Referring to the above drawing 2, each of the first electronic device (301) and the second electronic device (301) according to one embodiment can confirm a user's attempt to take a selfie.

[0049] According to one embodiment, the first electronic device (301) can determine the direction of the first electronic device as the first direction for taking a selfie based on sensor data acquired from a sensor of the first electronic device, and can determine the direction as the first selfie taking attempt that can perform taking a selfie as the main electronic device during the selfie taking attempt.

[0050] According to one embodiment, the first electronic device (301) can determine the direction of the first electronic device (301) as a first direction for taking a selfie when the direction of the first electronic device (301) is determined such that the front of the first electronic device (301) faces downward and the back of the first electronic device (301) faces upward for taking a selfie.

[0051] According to an embodiment, the second electronic device (401) can determine that the direction of the second electronic device is a second direction for taking a selfie based on sensor data acquired from a sensor of the second electronic device, and can perform a selfie taking attempt as a sub-electronic device during the selfie taking attempt.

[0052] According to one embodiment, the second electronic device (401) can determine the direction of the second electronic device (401) as a second direction for taking a selfie by checking the direction of the second electronic device (401) in which the front of the second electronic device (301) faces upward and the rear of the second electronic device (401) faces downward for taking a selfie.

[0053] According to one embodiment, each of the first electronic device (301) and the second electronic device (301) can check whether the user's shared selfie shooting mode has been switched.

[0054] According to an embodiment, the first electronic device (301) can check first configuration information of the first electronic device, and the first configuration information can include a grip detection value of the first electronic device (301) detected based on sensor data acquired from a sensor of the first electronic device, a position value of the first electronic device (301), a direction value of the first electronic device (301), a predefined size value (height and width) of the first electronic device (301), and a position value of a rear camera disposed in the first electronic device (301).

[0055] According to an embodiment, the second electronic device (401) may check second configuration information of the second electronic device, and the second configuration information may include a grip detection value of the second electronic device (401) detected based on sensor data acquired from a sensor of the second electronic device, a position value of the second electronic device (401), a direction value of the second electronic device (401), a predefined second size value (height and width) of the second electronic device (401), and a position value of a rear camera disposed in the second electronic device (401). According to an embodiment, the second electronic device (401) may include, as device information, a second selfie shooting attempt that enables the second electronic device to perform selfie shooting as a sub-electronic device in the second configuration information.

[0056] According to an embodiment, the first electronic device (301) may, based on the first configuration information of the first electronic device and the second configuration information of the second electronic device received from the second electronic device (401), determine that the first electronic device (301) and the second electronic device (401) are positioned back-to-back and in the same direction, and that the rear camera (483) of the second electronic device (401) is exposed and not covered by the first electronic device (301), and then may establish a secure connection with the second electronic device using security information and then switch to a shared selfie shooting mode.

[0057] In one embodiment, the second electronic device (401) may establish a secure connection with the first electronic device using security information, and when it is confirmed that the second electronic device (401) and the first electronic device (301) are positioned back-to-back and in the same direction, and the rear camera (483) of the second electronic device (401) is exposed and not covered by the first electronic device (301), based on the second configuration information of the second electronic device and the first configuration information of the first electronic device received from the first electronic device (301), the second electronic device (401) may establish a secure connection with the first electronic device using security information, and when the secure connection is established, the second electronic device may switch to a shared selfie shooting mode.

[0058] According to an embodiment, the second electronic device (401), based on the second configuration information of the second electronic device and the first configuration information of the first electronic device received from the first electronic device (301), if it is confirmed that the second electronic device (401) and the first electronic device (301) are positioned back-to-back and in the same direction, establishes a secure connection with the first electronic device using security information, and when the secure connection is established, switches to a shared selfie shooting mode.

[0059] According to one embodiment, the first electronic device (301) and the second electronic device (301) can share a preview image in a shared selfie shooting mode.

[0060] According to one embodiment, the first electronic device (301) can deactivate the front camera of the first electronic device (301) in a shared selfie shooting mode and display a preview image acquired through the rear camera (483) of the second electronic device received from the second electronic device (401) on the display (360) of the first electronic device (301).

[0061] According to one embodiment, the first electronic device (301) may display a UI on the display of the first electronic device to indicate that the rear camera of the second electronic device (401) is covered when a part or the entire area of ​​a preview image acquired through the rear camera (483) of the second electronic device is black or when a face is not detected.

[0062] According to one embodiment, the second electronic device (401) can transmit a preview image acquired through the rear camera (483) of the second electronic device (401) in a shared selfie shooting mode to the first electronic device (301).

[0063] According to one embodiment, the first electronic device (301) and the second electronic device (401) can store images in a shared selfie shooting mode.

[0064] In one embodiment, the first electronic device (301) displays a preview image acquired through a rear camera (481) of the second electronic device received from the second electronic device (401) on the display (360) of the first electronic device (301) in a shared selfie shooting mode, and upon confirming a selection of shooting, the captured image may be stored in the first electronic device (301), the second electronic device (401), or both the first electronic device (301) and the second electronic device (401) based on the user's selection or the type of security information used.

[0065] Figure 3 is a block diagram of an electronic device according to one embodiment.

[0066] Although the above FIG. 3 is described as an example using the first electronic device (301) of the above FIG. 2, the configuration of the electronic device of the above FIG. 3 can be equally applied to the second electronic device (401) of the above FIG. 2.

[0067] Referring to the above drawing 3, the electronic device (301) may include a processor (320), memory (330), display (360), sensor (376), camera (380), and communication circuit (390).

[0068] According to one embodiment, the processor (320) may perform overall control operations of the electronic device (301). The processor (320) according to one embodiment may execute software (e.g., the program (140) of FIG. 1) to control at least one other component (e.g., a hardware or software component) of the electronic device (301) connected to the processor (320), and may perform data processing or calculations based on instructions. Instructions according to one embodiment may include instructions configured in a machine language that can be processed by the electronic device (301) or the processor (320). For example, the instructions may include instructions corresponding to operation instructions used in the program.

[0069] According to one embodiment, the processor (320) may check for a selfie attempt to determine whether a user of the electronic device (301) is attempting to take a selfie.

[0070] According to one embodiment, the processor (320) may activate a function (process) for determining whether to switch to a shared selfie shooting mode when the direction of the electronic device is confirmed to be a first direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in the sensor (376) in a locked state. According to one embodiment, the processor (320) may activate a function (process) for determining whether to switch to a shared selfie shooting mode when the direction of the electronic device is confirmed to be a first direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in the sensor (376) in an unlocked state.

[0071] According to one embodiment, the processor (320) can determine that the direction of the electronic device is a first direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in the sensor (376), and can determine that the first selfie taking attempt is capable of taking a selfie as the main electronic device during the selfie taking attempt.

[0072] In one embodiment, the processor (320) may determine that a first orientation of the electronic device in which the front of the electronic device (301) faces downward and the back of the electronic device (301) faces upward is a first selfie attempt that can perform a selfie attempt as the main electronic device during the selfie attempt, since the user positions the electronic device (301) so that it faces slightly upward from the user's face while holding the electronic device (301) in order to perform a selfie attempt while using the electronic device (301) as the main electronic device.

[0073] In one embodiment, the processor (320) may determine the direction of the electronic device based on sensor data acquired from a second sensor (e.g., an IMU (inertial measurement unit) sensor) included in the sensor (376), input the direction of the electronic device as an input value of a learned artificial intelligence model (e.g., an ML model), and determine the direction of the electronic device as a first selfie shooting attempt based on an output value of the artificial intelligence model (e.g., an ML (machine learning) model), and may determine whether the direction of the electronic device is included within a range specified for confirming the first selfie shooting attempt based on the sensor data acquired from the second sensor (e.g., an IMU (inertial measurement unit) sensor). In one embodiment, the processor (320) may determine the direction of the electronic device as a first selfie shooting attempt capable of performing a selfie shooting as a main electronic device among the selfie shooting attempts, if it is determined that the direction of the electronic device is included within a range specified for confirming the first selfie shooting attempt.

[0074] According to one embodiment, the processor (320) can, when confirming the first selfie shooting attempt among the selfie shooting attempts, check whether to switch to a shared selfie shooting mode that can share a preview image with an external electronic device.

[0075] According to an embodiment, the processor (320) may check first configuration information of the electronic device, including a grip detection value of the electronic device (301), a position value of the electronic device (301), a direction value of the electronic device (301), a size value (height and width) of the specified electronic device (301), and a position value of a rear camera (383) included in the electronic device (301), based on sensor data acquired from a sensor (376).

[0076] According to one embodiment, the processor (320) may detect a grip detection value of the electronic device (301) based on sensor data obtained from a third sensor (e.g., a grip sensor) included in the sensor (376).

[0077] According to one embodiment, the processor (320) can check the position value of the electronic device (301) based on sensor data obtained from a fourth sensor (e.g., a proximity sensor) included in the sensor (376).

[0078] According to one embodiment, the processor (320) can detect a direction value of the electronic device (301) based on sensor data obtained from a first sensor (e.g., a motion sensor) included in the sensor (376).

[0079] According to an embodiment, the processor (320) may use triangulation to derive the position and direction values ​​of the electronic device. The triangulation is a method of finding the position of an object using the positions of other objects, and when the electronic device and the external electronic device access a third electronic device (e.g., a wearable electronic device and / or GPS) to find their respective positions (relative distance and relative angle), the relative distance and relative angle (direction) between the electronic device and the external electronic device may be measured.

[0080] According to one embodiment, the processor (320) may receive second configuration information of an external electronic device (e.g., the second electronic device (401) of FIG. 2) from an external electronic device through a communication circuit (390) (e.g., a BLE communication circuit).

[0081] According to an embodiment, the processor (320) may check, from the second configuration information of the external electronic device, a grip detection value of the external electronic device detected based on sensor data acquired from a sensor of the external electronic device, a location value of the external electronic device, a direction value of the external electronic device, a size value (height and width) of the external electronic device, and a location value of a rear camera included in the external electronic device. According to an embodiment, the processor (320) may check, from the second configuration information, device information indicating that a selfie shooting attempt of the external electronic device indicates a second selfie shooting attempt capable of performing a selfie shooting as a sub-electronic device.

[0082] According to one embodiment, if the processor (320) does not receive second configuration information from the external electronic device within a specified time after confirming the first selfie shooting attempt during the selfie shooting attempt, the processor (320) may cancel the waiting for the shared selfie shooting mode to be switched and perform a selfie shooting function through the front camera (381).

[0083] According to one embodiment, the processor (320) can determine whether to switch to a shared selfie shooting mode based on first configuration information of the electronic device and second configuration information of the external electronic device.

[0084] According to an embodiment, the processor (320) may determine that the rear surface of an external electronic device (e.g., the second electronic device (401) of FIG. 2) is disposed on the rear surface of the electronic device if each of the grip detection value of the electronic device among the first configuration information and the grip detection value of the external electronic device among the second configuration information is included in a grip detection range designated for switching to a shared selfie shooting mode. If the electronic device (301) and the external electronic device are disposed rear-to-rear and the user holds both the electronic device (301) and the external electronic device for taking a selfie, different grip detection values ​​may be detected in the electronic device (301) and the external electronic device because the grip detection positions (patterns) and grip pressures for the electronic device (301) and the external electronic device are different from each other.

[0085] According to one embodiment, the processor (320) may, in a state where the rear surface of the external electronic device is arranged on the rear surface of the electronic device, determine that a distance value between the electronic device and the external electronic device is included within a distance range specified for switching to a shared selfie shooting mode based on a location value of the electronic device among the first configuration information and a location value of the external electronic device among the second configuration information.

[0086] According to one embodiment, the processor (320) can determine that the electronic device and the external electronic device are positioned in the same direction based on the direction value of the electronic device among the first configuration information and the direction value of the external electronic device among the second configuration information, in a state where the rear side of the external electronic device is placed on the rear side of the electronic device.

[0087] In one embodiment, when the processor (320) determines that the grip detection value of the external electronic device in the second configuration information is included in a grip detection range designated for switching to a shared selfie shooting mode while the rear surface of the external electronic device is disposed on the rear surface of the electronic device, it can determine that the rear camera of the external electronic device is exposed and not covered by the electronic device. When the user of the electronic device places the rear surface of the external electronic device on the rear surface of the electronic device to expose the rear camera located on the upper side of the rear surface of the external electronic device, the user may place the external electronic device higher than the electronic device, so that the second grip detection value may be detected at a position lower than the grip position when the user generally holds the external electronic device.

[0088] According to one embodiment, the processor (320) can determine that the rear camera of the external electronic device is exposed and not covered by the electronic device when the rear of the external electronic device is placed on the rear of the electronic device, and the user's face is included in the second configuration information or included in the preview image received from the external electronic device after the second configuration information.

[0089] According to one embodiment, the processor (320) may determine that the rear camera of the external electronic device is covered by the electronic device when the rear of the external electronic device is disposed on the rear of the electronic device, and when a part of the preview image (lower region) or the entire region of the preview image received from the external electronic device after the second configuration information is black or a face is not detected, or when the second configuration information includes the preview image.

[0090] According to one embodiment, the processor (320) can use the distance value and direction value between the electronic device and the external electronic device, the size value (height and width) of the external electronic device among the second configuration information, and the position value of the rear camera included in the external electronic device, in a state where the rear of the external electronic device is placed on the rear of the electronic device, to determine that the rear camera of the external electronic device is exposed and not covered by the electronic device.

[0091] According to an embodiment, the processor (320) may, based on the first configuration information of the electronic device and the second configuration information of the external electronic device, switch to the shared selfie shooting mode when it is confirmed that the electronic device and the external electronic device are positioned back-to-back, are in contact with each other, or are within a distance range specified for switching to a shared selfie shooting mode, and the rear camera of the external electronic device is exposed and not covered by the electronic device.

[0092] According to an embodiment, the processor (320) may, based on the first configuration information of the electronic device and the second configuration information of the external electronic device, switch to the shared selfie shooting mode when it is confirmed that the electronic device and the external electronic device are positioned back-to-back and are in contact with each other or are located within a distance range specified for switching to the shared selfie shooting mode. According to an embodiment, the processor (320) may, when transmitting the first configuration information of the electronic device to the external electronic device and receiving first information indicating switching to the shared selfie shooting mode from the external electronic device, switch to the shared selfie shooting mode.

[0093] According to one embodiment, the processor (320) can automatically execute a camera application when switching from a locked state to a shared selfie shooting mode.

[0094] According to one embodiment, the processor (320) can automatically execute a camera application when switching from an unlocked state to a shared selfie shooting mode.

[0095] A shared selfie mode according to one embodiment may refer to a mode that automatically launches a camera application based on a switch in the shared selfie shooting mode and displays a preview image received from an external electronic device that transmitted second configuration information through a display.

[0096] According to one embodiment, the processor (320) can establish a secure connection with an external electronic device using security information after switching to a shared selfie shooting mode.

[0097] According to one embodiment, the processor (320) can confirm the pairing key used in the pairing as security information when the electronic device and the external electronic device are confirmed to be in a pairing state.

[0098] According to one embodiment, the processor (320) is configured such that when the contact information of the electronic device and the contact information of the external electronic device are stored in a contact server and the contacts are synchronized between the two electronic devices, the electronic device has a public key provided from the contact server, and thus can verify the public key as security information.

[0099] According to an embodiment, the processor (320) may obtain parameters such as a grip detection value, a distance value, a direction value, etc., when the pairing key and the public key do not exist, and may apply the obtained parameters to a similarity matching algorithm such as fuzzy matching and / or LSH (local sensitivity hashing) to generate a temporary key, and may verify the temporary key as security information.

[0100] According to an embodiment, the processor (320) may establish a secure connection between the electronic device and the external electronic device by using the security information. According to an embodiment, the processor (320) may establish a secure connection between the electronic device and the external electronic device by selecting an optimal communication circuit among a plurality of communication circuits (e.g., an RF communication circuit, a UWB communication circuit, a BT communication circuit, a BLE communication circuit, an Ultrasonic communication circuit, and / or a Wi-Fi communication circuit) included in the communication circuit (390).

[0101] According to one embodiment, the processor (320) may, before establishing the secure connection, receive confirmation from the user of acceptance of switching to the shared selfie shooting mode through various methods such as UI and / or voice, and then establish a secure connection between the electronic device and the external electronic device using the security information.

[0102] According to one embodiment, the processor (320) can establish a secure connection between the electronic device and the external electronic device using the security information without having to confirm the user's acceptance of switching to the shared selfie shooting mode through various methods such as UI and / or voice, when the electronic device and the external electronic device are registered with the management server under the same account.

[0103] According to one embodiment, the processor (320) may establish an additional secure connection through a second communication circuit among the communication circuits using security information used for the secure connection through the first communication circuit, if the electronic device and the external electronic device are securely connected through the first communication circuit among the communication circuits.

[0104] According to one embodiment, when the processor (320) determines that the second communication circuit is faster when the electronic device and the external electronic device have established a secure connection through the first communication circuit among the communication circuits, the processor may release the secure connection through the first communication circuit and establish a new secure connection through the second communication circuit using the security information used for the secure connection through the first communication circuit.

[0105] According to one embodiment, the processor (320) transmits first configuration information of the electronic device to the external electronic device, and when receiving information from the external electronic device indicating that a condition for switching to a shared selfie shooting mode is satisfied, the processor (320) may establish a secure connection between the electronic device and the external electronic device using the security information. According to one embodiment, when the processor (320) establishes a secure connection with the external electronic device in the shared selfie shooting mode, the processor (320) may receive a preview image from the external electronic device.

[0106] According to one embodiment, the processor (320) may unlock the electronic device in the shared selfie shooting mode, activate the display (360), deactivate the front camera (381) of the electronic device (301), and display a preview image acquired through a rear camera (e.g., the rear camera (483) of FIG. 2) of the external electronic device (e.g., the second electronic device (401) of FIG. 2)) received from the external electronic device on the display (360).

[0107] According to one embodiment, the processor (320) may display a UI on the display (360) indicating that the rear camera of the external electronic device is covered when a part (lower area) or the entire preview image acquired through the rear camera of the external electronic device is black or when a face is not detected.

[0108] According to one embodiment, the processor (320) may transmit second information instructing activation of a rear camera of the external electronic device to the external electronic device when a preview image is not received from the external electronic device (e.g., the second electronic device (401) of FIG. 2) within a specified time after switching to the shared selfie shooting mode.

[0109] A processor (320) according to one embodiment can store an image captured in a shared selfie shooting mode.

[0110] In one embodiment, the processor (320) displays a preview image acquired through a rear camera (e.g., rear camera (483) of FIG. 2) of an external electronic device (e.g., second electronic device (401) of FIG. 2) received from the external electronic device on the display (360) in a shared selfie shooting mode, and upon confirming a selection of shooting, the processor (320) may store the captured image in the electronic device (301), the external electronic device, or both the electronic device (301) and the external electronic device based on the selection of the user of the electronic device.

[0111] According to one embodiment, the processor (301) can identify a user's selection of a shooting button, a user's gesture input designated for shooting selection, a user's voice input designated for shooting selection, or an input of a specific sound designated for shooting selection as a selection of shooting.

[0112] According to one embodiment, the processor (301) may execute shooting of the image when, while displaying the preview image received from the external electronic device on the display (360) in the shared selfie shooting mode, a gesture of the user designated for shooting selection is confirmed in the preview image.

[0113] According to an embodiment, the processor (320) may confirm a user's selection of the electronic device by checking a storage location specified by the user in an option for selecting a storage location in a shared selfie shooting mode among the setting modes of the camera application, and may store the captured image in the electronic device (301), the external electronic device, or both the electronic device (301) and the external electronic device based on the selection of the user of the electronic device.

[0114] According to one embodiment, the processor (320) displays a pop-up window for selecting a storage location while displaying the preview image received from the external electronic device on the display (360) in the shared selfie shooting mode, and upon confirming the selection of the user of the electronic device through the pop-up window, the processor (320) can store the captured image in the electronic device (301), the external electronic device, or both the electronic device (301) and the external electronic device based on the selection of the user of the electronic device.

[0115] According to one embodiment, the processor (320), when confirming selection of the shooting button while displaying the preview image received from the external electronic device on the display (360) in the shared selfie shooting mode, displays a pop-up window for selecting a storage location, and when confirming the selection of the user of the electronic device through the pop-up window, stores the captured image in the electronic device (301), the external electronic device, or both the electronic device (301) and the external electronic device based on the selection of the user of the electronic device.

[0116] According to an embodiment, the processor (320) may, when confirming a selection of shooting while displaying the preview image received from the external electronic device on the display (360), check the type of the security information used for the secure connection. According to an embodiment, if the security information uses the pairing key or the public key, the processor (320) may store the captured image in one or both of the electronic device and the external electronic device based on a selection by the user of the electronic device. According to an embodiment, if the security information uses a temporary key, the processor (320) may store the captured image in the memory (330) of the electronic device. According to an embodiment, if the processor (320) is an existing established secure connection, an additional secure connection, or a new secure connection after releasing an existing secure connection, the processor (320) may store the captured image in one or both of the electronic device and the external electronic device based on a selection by the user of the electronic device.

[0117] According to one embodiment, the processor (320) may, when confirming a selection of shooting while displaying the preview image received from the external electronic device on the display (360), display a pop-up window including a message recommending a storage location based on the type of security information used for the secure connection.

[0118] According to one embodiment, the processor (320) may, while displaying the preview image received from the external electronic device on the display (360), confirm the selection of shooting, and store the captured image in at least one of the electronic device and the external electronic device based on the type of security information used for the secure connection.

[0119] In one embodiment, the processor (320) may, while displaying the preview image received from the external electronic device on the display (360), upon confirming selection of shooting, check the type of the security information used for a secure connection, and if the type of the security information (e.g., a pairing key or a public key) is a first security level, display a pop-up window including a message recommending the captured image on at least one of the electronic device and the external electronic device, and if the type of the security information (e.g., a temporary key) is a second security level lower than the first security level, display a pop-up window including a message recommending storage of the captured image on the electronic device.

[0120] In one embodiment, the processor (320) may, when confirming selection of shooting while displaying the preview image received from the external electronic device on the display (360), check the type of security information used for a secure connection, and if the type of security information (e.g., a pairing key or a public key) is a first security level, store the captured image in at least one designated among the electronic device and the external electronic device, and if the type of security information (e.g., a temporary key) is a second security level lower than the first security level, store the captured image in the electronic device.

[0121] According to one embodiment, the processor (320) may, when confirming a selection of shooting while displaying the preview image received from the external electronic device on the display (360), analyze the captured image and display a pop-up window including a message recommending a storage location based on the analysis of the captured image.

[0122] According to one embodiment, the processor (320) may, when confirming a selection of shooting while displaying the preview image received from the external electronic device on the display (360), analyze the captured image and, based on the analysis of the captured image, store the captured image in at least one of the electronic device and the external electronic device.

[0123] In one embodiment, the processor (320) may, when confirming selection of shooting while displaying the preview image received from the external electronic device on the display (360), analyze the captured image to detect a face of a user included in the image, and, when the detected face is confirmed to be the face of the user of the electronic device, display a pop-up window including a message recommending saving the captured image on the electronic device, and, when the detected face is confirmed to be the face of the user of the external electronic device, display a pop-up window including a message recommending saving the captured image on the external electronic device.

[0124] According to one embodiment, the processor (320), when confirming selection of shooting while displaying the preview image received from the external electronic device on the display (360), analyzes the captured image to detect a face of a user included in the image, and when the detected face is confirmed to be the face of the user of the electronic device, stores the captured image in the electronic device, and when the detected face is confirmed to be the face of the user of the external electronic device, stores the captured image in the external electronic device.

[0125] In one embodiment, the processor (320) may, when confirming a selection of shooting while displaying the preview image received from the external electronic device on the display (360), analyze the captured selfie image to detect a plurality of faces corresponding to each of the plurality of users included in the image, and, if the detected plurality of faces include a face of the user of the electronic device and a face of the user of the external electronic device, store the captured image in the electronic device and the external electronic device.

[0126] According to one embodiment, the processor (320) detects a face in the captured selfie image using facial recognition technology, and uses tag information of a person included in each of the images stored in the memory (330), image information of a person registered in a contact, and / or image information registered when unlocking, to identify the face of the user of the electronic device and the face of the user of the external electronic device.

[0127] According to one embodiment, the processor (320) can determine that the direction of the electronic device is a second direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in the sensor (376), and can determine that the second selfie taking attempt is capable of taking a selfie as a sub-electronic device during the selfie taking attempt.

[0128] According to one embodiment, the processor (320) may activate a function (process) for determining whether to switch to a shared selfie shooting mode when the direction of the electronic device is determined to be a second direction for taking a selfie based on sensor data obtained from a first sensor (e.g., a motion sensor) included in the sensor (376) in a locked state.

[0129] In one embodiment, when a user holds the electronic device (301) and positions it slightly upward from the user's face to take a selfie while using the electronic device (301) as a sub-electronic device, the processor (320) can determine the orientation of the electronic device in which the front of the electronic device (301) faces upward and the back of the electronic device (301) faces downward as a second selfie attempt that can take a selfie as a sub-electronic device during the selfie attempt.

[0130] According to one embodiment, the processor (320) can identify a second selfie shooting attempt that can perform selfie shooting as a sub-electronic device among the selfie shooting attempts by confirming the direction of the electronic device as a second direction for taking a selfie based on sensor data acquired through the first sensor (e.g., motion sensor).

[0131] In one embodiment, the processor (320) may determine the direction of the electronic device based on sensor data acquired from a second sensor (e.g., an IMU (inertial measurement unit) sensor) included in the sensor (376), input the direction of the electronic device as an input value of a learned artificial intelligence model (e.g., an ML model), and determine the direction of the electronic device as a second selfie shooting attempt based on an output value of the artificial intelligence model (e.g., an ML (machine learning) model), and may determine whether the direction of the electronic device is included within a range specified for confirming the second selfie shooting attempt based on the sensor data acquired from the second sensor (e.g., an IMU (inertial measurement unit) sensor). In one embodiment, the processor (320) may determine the direction of the electronic device as a second selfie shooting attempt to perform a selfie shooting as a sub-electronic device among the selfie shooting attempts if it is determined that the direction of the electronic device is included within a range specified for confirming the second selfie shooting attempt.

[0132] According to one embodiment, the processor (320) may, when a second selfie shooting attempt is confirmed during a selfie shooting attempt, determine whether to switch to a shared selfie shooting mode that can share a preview image with an external electronic device.

[0133] According to one embodiment, the processor (320) may transmit first configuration information of the electronic device to the external electronic device, and upon receiving first information indicating a transition to a shared selfie shooting mode from the external electronic device, switch to the shared selfie shooting mode.

[0134] In one embodiment, the processor (320) may, based on the first configuration information of the electronic device (301) detected based on sensor data acquired from a sensor (376) and the second configuration information received from an external electronic device, determine that the electronic device and the external electronic device are positioned back-to-back, are in contact with each other, or are located within a distance range specified for switching to a shared selfie shooting mode, and that the rear camera (383) of the electronic device (391) is exposed and not covered by the external electronic device, and may transmit first information indicating a switch to a shared selfie shooting mode to the external electronic device and switch to the shared selfie shooting mode.

[0135] A processor (320) according to one embodiment can establish a secure connection with an external electronic device using security information in a shared selfie shooting mode.

[0136] According to one embodiment, the processor (320) can, in the shared selfie shooting mode, if a pairing key or public key that can be used as security information exists, verify the pairing key and public key as security information, and if the pairing key or public key does not exist, generate a temporary key and verify it as security information.

[0137] According to one embodiment, a processor (320) may transmit a preview image acquired from a rear camera (381) to an external electronic device in a shared selfie shooting mode in which a secure connection is established with the external electronic device.

[0138] According to one embodiment, the processor (320) may activate a rear camera with the largest FoV (Field of View) among the plurality of rear cameras in the shared selfie shooting mode.

[0139] According to one embodiment, the processor (320) may activate a designated rear camera among a plurality of rear cameras in the shared selfie shooting mode.

[0140] According to one embodiment, the processor (320) may activate the rear camera (381) in the locked state of the electronic device when the electronic device switches to the shared selfie shooting mode in the locked state.

[0141] According to one embodiment, the processor (320) may unlock the electronic device and activate the rear camera (381) based on a user's selection, or activate the rear camera (381) in the locked state of the electronic device.

[0142] According to an embodiment, the processor (320) may unlock the electronic device and activate the rear camera (381) or activate the rear camera (381) in the locked state of the electronic device based on the type of security information used for a secure connection. According to an embodiment, the processor (320) may unlock the electronic device and activate the rear camera (381) when the security information is a pairing key or a public key. According to an embodiment, the processor (320) may activate the rear camera (381) in the locked state of the electronic device when the security information is a temporary key.

[0143] According to one embodiment, the processor (320) may activate the rear camera (381) in the locked state of the electronic device when the electronic device receives second information instructing activation of the rear camera from the external electronic device while in the locked state.

[0144] According to one embodiment, the processor (320) may display the preview image on the display (360) based on a user's selection while transmitting the preview image acquired through the rear camera (393) to the external electronic device in the shared selfie shooting mode.

[0145] According to one embodiment, the processor (320) may, when receiving an image captured based on selection of a capture button from the external electronic device in the shared selfie capture mode, store the received image in the memory (330).

[0146] The memory (330) according to one embodiment may be implemented substantially identically or similarly to the memory (130) of FIG. 1.

[0147] A display (360) according to one embodiment may be implemented substantially identically or similarly to the display (160) of FIG. 1.

[0148] A sensor (376) according to one embodiment may be implemented substantially identically or similarly to the sensor module (160) of FIG. 1.

[0149] The sensor (376) according to one embodiment may include various sensors required for the present disclosure, such as an IMU (inertial measurement unit) sensor, a motion sensor, a grip sensor, and / or a proximity sensor.

[0150] A camera (380) according to one embodiment may be implemented substantially identically or similarly to the camera module (180) of FIG. 1.

[0151] The camera (380) according to one embodiment can capture still images (or images) and videos, and may include at least one front camera (381) positioned at the front to capture images and / or videos, and at least one rear camera (383) positioned at the rear to capture images and / or videos.

[0152] According to one embodiment, the camera (380) may include one or more lenses, image sensors, image signal processors, or flashes. In one embodiment, the electronic device (301) may include at least one camera (380), each having different properties or functions (or purposes).

[0153] According to one embodiment, the rear camera (383) may include cameras (251) having different angles of view, and the angles of view may include, for example, a super wide angle of 114° to 94°, a wide angle, a normal lens of 84° to 63°, a telephoto of 28° to 8°, and a super telephoto of 6° to 3°.

[0154] A communication circuit (390) according to one embodiment may be implemented substantially identically or similarly to the communication circuit (190) of FIG. 1.

[0155] According to one embodiment, the communication circuit (390) may include at least one of a wireless LAN circuit (not shown) and a short-range communication circuit (not shown).

[0156] The communication circuit (390) according to one embodiment may include a BLE (Bluetooth low energy) communication circuit, an NFC communication circuit, a UWB communication circuit capable of transmitting and receiving UWB signals with an external device using a plurality of antennas, a Wi-Fi communication circuit, and / or a Bluetooth legacy communication circuit.

[0157] FIGS. 4A and 4B are drawings for explaining an operation that can confirm an attempt to take a selfie by a plurality of electronic devices according to an embodiment.

[0158] Referring to FIG. 4A, when a user (501) attempts to take a selfie by placing a first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and a second electronic device (401) back-to-back and then holding the first electronic device (301) and the second electronic device (401) with one hand, the user (501) may point the user's hand holding the first electronic device (301) and the second electronic device (401) slightly upward from the user's (501) face.

[0159] In response to the user's (501) attempt to take a selfie, the first electronic device (301) can determine a first selfie attempt that can perform a selfie as a main electronic device during a selfie attempt by checking a first direction of the first electronic device in which the front of the first electronic device (301) faces downward and the back of the first electronic device (301) faces upward, and the second electronic device (401) can determine a second selfie attempt that can perform a selfie as a sub electronic device during a selfie attempt by checking a second direction of the second electronic device in which the front of the second electronic device (401) faces upward and the back of the second electronic device (401) faces downward.

[0160] Referring to FIG. 4B, when a user places a first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and a second electronic device (401) back-to-back and then attempts to take a selfie by holding the first electronic device (301) and the second electronic device (401) with the user's left hand, different grip detection values ​​may be detected in each of the first electronic device (301) and the second electronic device (401) because the grip detection positions (patterns) and grip pressures for each of the first electronic device (301) and the second electronic device (401) are different.

[0161] When the grip pressure of the first electronic device (301) is lower than that of the second electronic device (401) because the second electronic device (401) is closer to the user's palm and fingers than the first electronic device (301), the first electronic device (301) can confirm a first selfie attempt that can perform a selfie as a main electronic device during a selfie attempt, and the second electronic device (401) can confirm a second selfie attempt that can perform a selfie as a sub electronic device during a selfie attempt.

[0162] FIG. 5 is a drawing for explaining configuration information of each of a plurality of electronic devices according to one embodiment.

[0163] Referring to FIG. 5, when the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) confirms a first selfie shooting attempt that can perform selfie shooting as a main electronic device during a selfie shooting attempt, the first electronic device (301) can confirm first configuration information of the first electronic device, which includes a grip detection value of the first electronic device (301), a position value of the first electronic device (301), a direction value (a1) of the first electronic device (301), a height value (a2) among the size values ​​of the specified first electronic device (301), and a position value of a rear camera included in the first electronic device (301).

[0164] When the second electronic device (401) confirms a second selfie shooting attempt that can perform a selfie shooting as a sub-electronic device during a selfie shooting attempt, the second configuration information of the second electronic device can be confirmed, including a grip detection value of the second electronic device (401), a position value of the second electronic device (401), a direction value (b1) of the second electronic device (401), a height value (b2) among the size values ​​of the designated second electronic device (301), and a position value (b3) of a rear camera (483) included in the second electronic device (401).

[0165] FIGS. 6A and 6B are drawings for explaining an operation of checking the distance and direction between a plurality of electronic devices according to one embodiment.

[0166] Referring to the above FIG. 6A, when the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and the second electronic device (401) are arranged back-to-back, and the UWB (611) of the first electronic device (301) is used as a proximity sensor, the position value (s1) of the first electronic device confirmed based on the UWB (611) x , s1 y , s1 z ) and, when the UWB (631) of the second electronic device (401) is used as a proximity sensor, the position value (s2) of the second electronic device confirmed based on the UWB (631) x , s2 y , s2 z ), if it is confirmed that the distance value between the first electronic device (301) and the second electronic device (401) is within a distance range specified for switching to a shared selfie shooting mode and that they are positioned in the same direction, the first electronic device (301) and the second electronic device (401) can switch to a shared selfie shooting mode.

[0167] Referring to the above FIG. 6b, when the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and the second electronic device (401) are arranged back-to-back, and the UWB (611) of the first electronic device (301) is used as a proximity sensor, the position value (s1) of the first electronic device confirmed based on the UWB sensor (611) x , s1 y , s1 z ) and, when used as UWB (631) of the second electronic device (401), the position value (s2) of the second electronic device confirmed based on the UWB (631) x , s2 y , s2 z ), if it is confirmed that the distance value between the first electronic device (301) and the second electronic device (401) is within the distance range specified for switching to the shared selfie shooting mode, but is not positioned in the same direction, the first electronic device (301) and the second electronic device (401) may not switch to the shared selfie shooting mode.

[0168] FIGS. 7A, 7B, and 7C are drawings for explaining an operation of checking the distance and direction between a plurality of electronic devices according to one embodiment.

[0169] Referring to FIG. 7a, when the NFC of the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) is used as a proximity sensor, the position value of the first electronic device confirmed based on the NFC, and when the NFC of the second electronic device (401) is used as a proximity sensor, the position value of the second electronic device confirmed based on the NFC sensor can be used to confirm that the distance value between the first electronic device (301) and the second electronic device (401) is included within a distance range specified for switching to a shared selfie shooting mode and that they are positioned in the same direction. If it is confirmed that the distance value between the first electronic device (301) and the second electronic device (401) is within a distance range specified for switching to a shared selfie shooting mode and that they are positioned in the same direction, and if it is confirmed that the rear camera (483) of the second electronic device (401) is covered by the first electronic device (301) using the size value of the specified second electronic device (401) and the position value of the rear camera included in the second electronic device (401), the first electronic device (301) and the second electronic device (401) cannot switch to a shared selfie shooting mode.

[0170] Referring to FIG. 7B, when the NFC (711) of the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) is used as a proximity sensor, the position value of the first electronic device confirmed based on the NFC (711) and when the NFC (731) of the second electronic device (401) is used as a proximity sensor, the position value of the second electronic device confirmed based on the NFC (731) can be used to confirm that the distance value between the first electronic device (301) and the second electronic device (401) is included within a distance range specified for switching to a shared selfie shooting mode and that they are positioned in the same direction. When it is confirmed that the distance value between the first electronic device (301) and the second electronic device (401) is within a distance range specified for switching to a shared selfie shooting mode and that they are positioned in the same direction, and when it is confirmed that the rear camera (483) of the second electronic device (401) is exposed and not covered by the first electronic device (301) using the size value of the specified second electronic device (401) and the position value of the rear camera included in the second electronic device (401), the first electronic device (301) and the second electronic device (401) can switch to a shared selfie shooting mode.

[0171] Referring to FIG. 7c, the first configuration information of the first electronic device (301) and the second configuration information of the second electronic device (401) can be exchanged with each other using the NFC (711) of the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and the NFC (731) of the second electronic device.

[0172] FIG. 8 is a drawing for explaining an operation of confirming the location between multiple electronic devices according to one embodiment.

[0173] In the above figure 8 <811> As shown in the screen, a user may attempt to take a selfie by placing a first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and a second electronic device (401) back-to-back and then holding the first electronic device (301) and the second electronic device (401) with the left hand (801).

[0174] <811> As shown in the screen, when the user holds the first electronic device (301) and the second electronic device (401) at the same time on the left side, <813> As shown in the screen, since the grip detection position (pattern) and the grip pressure obtained based on the grip sensors included in each of the first electronic device (301) and the second electronic device (401) are different from each other, it can be confirmed that the first electronic device (301) and the second electronic device (401) are arranged back-to-back based on the grip detection value including the grip detection position (pattern) and the grip pressure detected by each of the first electronic device (301) and the second electronic device (401).

[0175] The first electronic device (301) can confirm that the first electronic device (301) and the second electronic device (401) are arranged back-to-back by checking the grip detection value of the first electronic device including the grip detection position and the grip pressure and the grip detection value of the second electronic device received from the second electronic device (401) as grip detection values ​​for switching to a shared selfie shooting mode. The first electronic device (301) can confirm the relative position of the second electronic device based on the grip detection position (pattern) among the grip detection values ​​of the second electronic device.

[0176] The second electronic device (401) can confirm that the first electronic device (301) and the second electronic device (401) are arranged back-to-back by checking the grip detection value of the second electronic device including the grip detection position and the grip pressure and the grip detection value of the first electronic device received from the first electronic device (301) as grip detection values ​​for switching to a shared selfie shooting mode. The second electronic device (401) can confirm the relative position of the first electronic device based on the grip detection position (pattern) among the grip detection values ​​of the first electronic device.

[0177] FIGS. 9A, 9B, and 9C are drawings for explaining an operation of checking the distance and direction between a plurality of electronic devices according to one embodiment.

[0178] As shown in the above FIG. 9A, when the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and the second electronic device (401) are arranged back-to-back, and when each of the first electronic device (301) and the second electronic device (401) accesses the watch (901) among the wearable electronic devices, the relative distance (d1) and the relative angle (direction) between the first electronic device (301) and the second electronic device (401) can be measured using triangulation.

[0179] As shown in the above FIG. 9b, when the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and the second electronic device (401) are arranged back-to-back, and when each of the first electronic device (301) and the second electronic device (401) accesses an HMD (head mounted display) (903) among wearable electronic devices, the relative distance (d2) and the relative angle (direction) between the first electronic device (301) and the second electronic device (401) can be measured using triangulation.

[0180] As shown in the above FIG. 9c, when the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and the second electronic device (401) are arranged back-to-back, and when each of the first electronic device (301) and the second electronic device (401) accesses the GNSS subsystem (905), the relative distance (d1) and the relative angle (direction) between the first electronic device (301) and the second electronic device (401) can be measured using triangulation.

[0181] FIG. 10 is a diagram illustrating an operation of generating security information in a plurality of electronic devices according to one embodiment.

[0182] Referring to FIG. 10, when a shared selfie shooting mode attempt is confirmed between a first electronic device (301) (e.g., the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) and a second electronic device (401), the first electronic device (301) and the second electronic device (401) can confirm security information to be used for establishing a secure connection.

[0183] If the pairing key and security information do not exist in the first electronic device, the first electronic device (301) may generate a temporary key (k1) by applying a grip detection value including, for example, a grip detection position and a grip pressure among the parameters of the first electronic device to a fussy matching algorithm (operation 1011).

[0184] If the pairing key and security information do not exist in the second electronic device, the second electronic device (401) may reverse transform the grip detection value including, for example, the grip detection position and the grip pressure among the parameters of the second electronic device (operation 1031), and apply the reversed grip detection value to a fussy matching algorithm to generate a temporary key (k2) (operation 1033).

[0185] Since the grip detection value of the first electronic device (301) and the grip detection value of the second electronic device (401) are opposite to each other, a temporary key (k1) generated by applying the grip detection value of the first electronic device (301) to a fussy matching algorithm and a temporary key (k2) generated by inversely transforming the grip detection value of the second electronic device (201) and applying the inversely transformed grip detection key to a fussy matching algorithm are the same key, and thus a secure connection can be established between the first electronic device (301) and the second electronic device (401) using the temporary key (K1) of the first electronic device (301) and the temporary key (K2) of the second electronic device (401) (Operation 1051).

[0186] FIG. 11 is a diagram for explaining an operation for exchanging data in a locked state of an electronic device according to one embodiment.

[0187] Referring to the above FIG. 11, (a) to (f) sequentially illustrate processes for an electronic device (e.g., the electronic device of FIG. 3) to establish a communication connection with an external electronic device using Wi-Fi Direct to exchange data with the external electronic device.

[0188] Typically, Wi-Fi radios may be turned off when the user does not use the electronic device for a period of time. However, when the Wi-FiLock application included in the electronic device acquires WifiLock, the Wi-Fi radios can remain on until the electronic device is unlocked. Accordingly, when the electronic device (e.g., the main electronic device or the sub-electronic device) detects an attempt to take a selfie while in the locked state, the electronic device can receive second configuration information of the external electronic device from the external electronic device and exchange data with the external electronic device in a shared selfie shooting mode.

[0189] FIG. 12 is a diagram for explaining an operation for exchanging data in a locked state of an electronic device according to one embodiment.

[0190] Referring to FIG. 12 above, in a locked state, an electronic device (e.g., the electronic device of FIG. 3) can establish a communication connection with an external electronic device using an NFC communication circuit to exchange data with the external electronic device.

[0191] When the setting mode of the above electronic device is entered into the setting mode of NFC, the NFC usage permission (1211) is activated, and the permission to use NFC only in the unlocked state (1213) is deactivated, the electronic device (e.g., main electronic device or sub electronic device) can receive second configuration information of the external electronic device from the external electronic device when it confirms an attempt to take a selfie in the locked state, and can exchange data with the external electronic device in the shared selfie taking mode.

[0192] FIGS. 13a and 13b are drawings illustrating images captured in a shared selfie shooting mode using multiple electronic devices.

[0193] The above figure 13a <1311> The screen shows an image captured in the first field of view (FOV) through the front camera of the electronic device in normal selfie shooting mode, <1313> The screen shows an image captured with a second field of view (FOV) wider than the first field of view in a shared selfie shooting mode using multiple electronic devices, and it can be seen that the image captured as a selfie using the rear camera in the shared selfie shooting mode using multiple electronic devices provides a wider field of view (FOV) than the image captured as a selfie using the front camera in the normal selfie shooting mode.

[0194] The above figure 13b <1331> The screen shows an image captured through the front camera of the electronic device in normal selfie shooting mode, <1313> The screen shows an image taken in a shared selfie shooting mode using multiple electronic devices, and it can be seen that the image taken in a selfie using the rear camera in the shared selfie shooting mode using multiple electronic devices provides a higher quality image with a wider angle than the image taken in a selfie using the front camera in the normal selfie shooting mode.

[0195] An electronic device (e.g., an electronic device (101) of FIG. 1, a first electronic device (301) of FIG. 1, and / or an electronic device (301) of FIG. 3) according to an embodiment may include a display (e.g., a display (260) of FIG. 1 and / or a display (360) of FIG. 3), a communication circuit (e.g., a communication circuit (190) of FIG. 1; a communication circuit (390) of FIG. 3), a sensor (e.g., a sensor module (176) of FIG. 1 and / or a sensor (376) of FIG. 3), a camera including a front camera and a rear camera (e.g., a camera module (180) of FIG. 1 and / or a camera (380) of FIG. 3), at least one processor (e.g., a processor (120) of FIG. 1 and / or a processor (320) of FIG. 3), and a memory (e.g., a memory (130) of FIG. 1 and / or a memory (330) of FIG. 3)) for storing instructions. According to an embodiment, The instructions, when executed by the processor, may be configured to: upon determining an orientation of the electronic device indicating a shared selfie shooting attempt through the sensor, acquire first configuration information of the electronic device; receive second configuration information of the external electronic device from the external electronic device through the communication circuit; switch to a shared selfie shooting mode based on at least one of the first configuration information of the electronic device and at least one of the second configuration information of the external electronic device; connect the electronic device with the external electronic device using security information; and upon receiving a preview image acquired through a rear camera of the external electronic device from the external electronic device, display the preview image through the display.

[0196] The instructions according to one embodiment may be configured to cause the electronic device, when executed by the at least one processor, to identify first configuration information of the electronic device including a grip detection value of the electronic device detected based on sensor data acquired from the sensor, a position value of the electronic device, a direction value of the electronic device, a size value of the specified electronic device, and a position value of a rear camera included in the electronic device, and to identify a grip detection value of the external electronic device, a position value of the external electronic device, a direction value of the external electronic device, a size value of the external electronic device, and a position value of a rear camera included in the external electronic device from the second configuration information received from the external electronic device.

[0197] The instructions according to one embodiment, when executed by the at least one processor, may be configured to cause the electronic device to determine that the electronic device and the external electronic device are arranged back-to-back based on a grip detection value of the electronic device among the first configuration information and a grip detection value of the external electronic device among the second configuration information, and to switch to the shared selfie shooting mode based on a position value of the electronic device and a direction value of the electronic device among the first configuration information and a position value of the external electronic device and a direction value of the external electronic device among the second configuration information, if the electronic device and the external electronic device are located in the same direction within a specified distance range for switching to the shared selfie shooting mode.

[0198] The instructions according to one embodiment may be configured to cause the electronic device, when executed by the at least one processor, to verify the pairing key as the security information if the electronic device is paired with the external electronic device, to verify a public key provided by the contact server as the security information if the contact information of the electronic device and the contact information of the external electronic device are shared by a contact server, and to generate a temporary key if the pairing key and the public key do not exist between the electronic device and the external electronic device, and to verify the temporary key as the security information.

[0199] The instructions according to one embodiment may be configured to, when executed by the at least one processor, cause the electronic device to switch to the shared selfie shooting mode based on the first configuration information of the electronic device and the second configuration information of the external electronic device, transmit first information instructing the external electronic device to switch to the shared selfie shooting mode through the communication circuit.

[0200] The instructions according to one embodiment may be configured to cause the electronic device, when executed by the at least one processor, to switch the electronic device from a locked state to the shared selfie shooting mode, and, when the electronic device is connected to the external electronic device using the security information, to unlock the electronic device and activate the display.

[0201] The instructions according to one embodiment, when executed by the at least one processor, may be configured to cause the electronic device to, while displaying the preview image received from the external electronic device through the display in the shared selfie shooting mode, store the captured image upon confirming a gesture input or voice input for selection of shooting.

[0202] The instructions according to one embodiment may be configured to cause the electronic device, when executed by the at least one processor, to: when confirming a selection of a photograph while displaying the preview image received from the external electronic device on the display, check the type of the security information used for the secure connection; and, if the security information has a first security level, store the photographed image in at least one designated among the electronic device and the external electronic device; and, if the security information has a second security level lower than the first security level, store the photographed image in the electronic device.

[0203] The instructions according to one embodiment may be configured to cause the electronic device, when executed by the at least one processor, to analyze a captured image when confirming a selection of a capture while displaying the preview image received from the external electronic device on the display, and to store the captured image in at least one of the electronic device and the external electronic device based on the analysis of the captured image.

[0204] The instructions according to one embodiment may be configured to cause the electronic device, when executed by the at least one processor, to transmit second information to the external electronic device through the communication circuit, the second information instructing activation of a rear camera of the external electronic device, if a preview image is not received from the external electronic device within a specified time after switching to the shared selfie shooting mode.

[0205] FIG. 14 is a flowchart illustrating an operation of executing a shared selfie shooting mode in a plurality of electronic devices according to an embodiment, wherein the operations of executing the shared selfie shooting mode may include operations 1401 to 1433. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, at least two operations may be performed in parallel, or another operation may be added.

[0206] Referring to FIG. 14 above, in operation 1401, the first electronic device (301) (e.g., the electronic device (101) of FIG. 1 and / or the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) can confirm a first selfie shooting attempt during a selfie shooting attempt.

[0207] According to one embodiment, the first electronic device (301) may activate a function (process) for determining whether to switch to a shared selfie shooting mode when the direction of the electronic device is determined to be a first direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in a sensor (e.g., a sensor (376) of FIG. 3) in a locked state.

[0208] According to one embodiment, the first electronic device (301) may activate a function (process) for determining whether to switch to a shared selfie shooting mode when the direction of the electronic device is determined to be a first direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in a sensor (e.g., a sensor (376) of FIG. 3) in an unlocked state.

[0209] According to one embodiment, the first electronic device (301) can determine the direction of the first electronic device as a first direction for taking a selfie based on sensor data acquired through a first sensor (e.g., a motion sensor) included in a sensor (e.g., sensor (376) of FIG. 3) included in the first electronic device (301).

[0210] According to one embodiment, the first electronic device (301) can identify a first selfie shooting attempt that can perform selfie shooting as a main electronic device among the selfie shooting attempts by confirming the direction of the first electronic device as a first direction for taking a selfie based on sensor data acquired through a first sensor (e.g., a motion sensor) included in a sensor (e.g., a sensor (376) of FIG. 3) included in the first electronic device (301).

[0211] According to one embodiment, the first electronic device (301) can identify a first orientation of the electronic device, in which the front of the first electronic device (301) faces downward and the back of the first electronic device (301) faces upward, as a first selfie shooting attempt that can perform a selfie shooting as the main electronic device during the selfie shooting attempt.

[0212] According to an embodiment, the first electronic device (301) may determine the direction of the first electronic device based on sensor data acquired from a second sensor (e.g., an IMU (inertial measurement unit) sensor) included in the sensor, input the direction of the first electronic device as an input value of a learned artificial intelligence model (e.g., an ML model), and determine the direction of the first electronic device as a first selfie shooting attempt based on an output value of the artificial intelligence model (e.g., an ML (machine learning) model), and may determine whether the direction of the first electronic device is included within a range specified for confirming the first selfie shooting attempt based on the sensor data acquired from the second sensor (e.g., an IMU (inertial measurement unit) sensor). According to an embodiment, the first electronic device (301) may determine the first selfie shooting attempt as a main electronic device capable of performing a selfie shooting as a main electronic device among the selfie shooting attempts if it determines that the direction of the first electronic device is included within a range specified for confirming the first selfie shooting attempt.

[0213] In operation 1403, the second electronic device (401) (e.g., the second electronic device (401) of FIG. 2) can confirm a second selfie shooting attempt during a selfie shooting attempt.

[0214] According to one embodiment, the second electronic device (401) can determine the direction of the second electronic device as a second direction for taking a selfie based on sensor data acquired through a first sensor (e.g., a motion sensor) included in a sensor included in the second electronic device (301).

[0215] According to an embodiment, the second electronic device (401) can determine that the direction of the second electronic device is a second direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in a sensor included in the second electronic device, and can determine that the second selfie taking attempt is a second selfie taking attempt that can perform taking a selfie as a sub-electronic device during the selfie taking attempt.

[0216] According to one embodiment, the second electronic device (401) can identify a second orientation of the second electronic device (401) in which the front of the second electronic device (401) faces upward and the rear of the second electronic device (401) faces downward as a second selfie shooting attempt capable of performing selfie shooting as a sub-electronic device during the selfie shooting attempt based on sensor data acquired through the first sensor (e.g., a motion sensor).

[0217] According to one embodiment, the second electronic device (401) may determine the direction of the electronic device based on sensor data acquired from a second sensor (e.g., an IMU (inertial measurement unit) sensor) included in the sensor, input the direction of the second electronic device as an input value of a learned artificial intelligence model (e.g., an ML model), and determine the direction of the electronic device as a second selfie shooting attempt based on an output value of the artificial intelligence model (e.g., an ML (machine learning) model), and may determine whether the direction of the second electronic device is included within a range specified for confirming the second selfie shooting attempt based on the sensor data acquired from the second sensor (e.g., an IMU (inertial measurement unit) sensor). According to one embodiment, the second electronic device (401) may determine the direction of the second electronic device as a second selfie shooting attempt to perform a selfie shooting as a sub-electronic device among the selfie shooting attempts if it is determined that the direction of the second electronic device is included within a range specified for confirming the second selfie shooting attempt.

[0218] In operation 1405, the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2) can check the first configuration information of the first electronic device.

[0219] According to an embodiment, the first electronic device (301) can check the first configuration information of the electronic device including a grip detection value of the first electronic device, a position value of the first electronic device, a direction value of the first electronic device, a size value (height and width) of the specified first electronic device, and a position value of a rear camera included in the first electronic device, which are detected based on sensor data acquired from a sensor of the first electronic device (e.g., sensor (376) of FIG. 3).

[0220] In operation 1407, the second electronic device (401) (e.g., the second electronic device (401) of FIG. 2) can check the second configuration information of the second electronic device.

[0221] According to an embodiment, the second electronic device (401) can check second configuration information of the second electronic device, including a grip detection value of the second electronic device, a location value of the second electronic device, a direction value of the second electronic device, a size value (height and width) of the specified second electronic device, and a location value of a rear camera included in the second electronic device, which are detected based on sensor data acquired from a sensor of the second electronic device.

[0222] The second electronic device (401) according to one embodiment may include device information in the second configuration information indicating that the second electronic device can perform a second selfie attempt to take a selfie as a sub-electronic device.

[0223] In operation 1409, the second electronic device (401) (e.g., the second electronic device (401) of FIG. 2) may transmit second configuration information of the second electronic device to the first electronic device.

[0224] In operation 1411, the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2) can check whether to switch to the shared selfie shooting mode based on the first configuration information of the first electronic device and the second configuration information of the second electronic device.

[0225] According to an embodiment, the first electronic device (301) can determine that the rear surface of the second electronic device is arranged on the rear surface of the first electronic device if each of the grip detection value of the first electronic device among the first configuration information and the grip detection value of the second electronic device among the second configuration information is included in a grip detection range designated for switching to a shared selfie shooting mode.

[0226] According to an embodiment, the first electronic device (301) can determine that a distance value between the first electronic device and the second electronic device is included within a distance range specified for switching to a shared selfie shooting mode based on a location value of the first electronic device among the first configuration information and a location value of the second electronic device among the second configuration information, in a state where the rear surface of the second electronic device is arranged on the rear surface of the first electronic device.

[0227] According to one embodiment, the first electronic device (301) can determine that the first electronic device and the second electronic device are positioned in the same direction based on the direction value of the first electronic device among the first configuration information and the direction value of the second electronic device among the second configuration information, in a state where the rear side of the second electronic device is arranged on the rear side of the first electronic device.

[0228] According to an embodiment, when the first electronic device (301) confirms that the grip detection value of the second electronic device in the second configuration information is included in a grip detection range designated for switching to a shared selfie shooting mode while the rear side of the second electronic device is disposed on the rear side of the first electronic device, the first electronic device can confirm that the rear camera of the second electronic device is exposed and not covered by the first electronic device.

[0229] According to an embodiment, the first electronic device (301) can determine that the rear camera of the second electronic device is exposed and not covered by the first electronic device by using a distance value and a direction value between the first electronic device and the second external electronic device, a size value (height and width) of the second electronic device among the second configuration information, and a position value of a rear camera included in the second electronic device, in a state where the rear surface of the second electronic device is arranged on the rear surface of the first electronic device.

[0230] According to an embodiment, the first electronic device (301) may determine a transition to a shared selfie shooting mode when it is confirmed that the first electronic device and the second electronic device are positioned back-to-back, are in contact with each other, or are within a distance range specified for switching to a shared selfie shooting mode, and the rear camera of the second electronic device is exposed and not covered by the first electronic device, based on the first configuration information of the first electronic device and the second configuration information of the second electronic device.

[0231] In operation 1413, if the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2) does not confirm the transition to the shared selfie shooting mode, in operation 1415, the first electronic device may perform a selfie shooting function using the front camera of the first electronic device.

[0232] In the above operation 1413, if the first electronic device (301) confirms the transition to the shared selfie shooting mode, in operation 1417, the first electronic device can transmit first information indicating the transition to the shared selfie shooting mode to the second electronic device.

[0233] According to one embodiment, the first electronic device can automatically launch a camera application when switching from a locked state to a shared selfie shooting mode.

[0234] According to one embodiment, the first electronic device can automatically launch a camera application when switching from an unlocked state to a shared selfie shooting mode.

[0235] In operation 1419, the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2) may switch to a shared selfie shooting mode and check security information for establishing a secure connection with the second electronic device.

[0236] According to one embodiment, the first electronic device (301) can confirm the pairing key used in the pairing as security information when the first electronic device and the second electronic device are confirmed to be in a pairing state.

[0237] According to one embodiment, when the contact information of the first electronic device and the contact information of the second electronic device are stored in a contact server and the contact information is synchronized between the two electronic devices, the first electronic device has a public key provided from the contact server, and thus can verify the public key as security information.

[0238] According to an embodiment, the first electronic device (301) may, if the pairing key and the public key do not exist, obtain parameters such as a picture detection value, a distance value, a direction value, etc., apply the obtained parameters to a similarity matching algorithm such as fuzzy matching and / or LSH (local sensitivity hashing) to generate a temporary key, and verify the temporary key as security information.

[0239] In operation 1421, the second electronic device (401) (e.g., the second electronic device (401) of FIG. 2) may check security information for establishing a secure connection with the first electronic device to switch to a shared selfie shooting mode.

[0240] According to one embodiment, the second electronic device (401) can confirm the pairing key used in the pairing as security information when the second electronic device and the first electronic device are confirmed to be in a pairing state.

[0241] According to one embodiment, when the contact information of the second electronic device and the contact information of the first electronic device are stored in a contact server and the contact information is synchronized between the two electronic devices, the second electronic device has a public key provided from the contact server, and thus can verify the public key as security information.

[0242] According to an embodiment, the second electronic device (401) may, if the pairing key and the public key do not exist, obtain parameters such as a picture detection value, a distance value, a direction value, etc., apply the obtained parameters to a similarity matching algorithm such as fuzzy matching and / or LSH (local sensitivity hashing) to generate a temporary key, and verify the temporary key as security information.

[0243] In operation 1423, a first electronic device (301) (e.g., the first electronic device (301) of FIG. 2) and a second electronic device (401) (e.g., the second electronic device (401) of FIG. 2) can establish a secure connection.

[0244] In operation 1425, the second electronic device (401) (e.g., the second electronic device (401) of FIG. 2) can obtain a preview image through the rear camera of the second electronic device in a shared selfie shooting mode.

[0245] According to one embodiment, the second electronic device (401) may unlock the electronic device and activate the rear camera of the second electronic device based on a selection of a designated user, or activate the rear camera (381) of the electronic device in the locked state of the electronic device.

[0246] According to one embodiment, the second electronic device (401), according to one embodiment, the processor (320), can activate a rear camera with the largest FoV among the plurality of rear cameras in the shared selfie shooting mode.

[0247] According to one embodiment, the second electronic device (401) can activate a designated rear camera among a plurality of rear cameras in the shared selfie shooting mode.

[0248] According to one embodiment, the second electronic device (401) may activate the rear camera of the second electronic device in the shared selfie shooting mode.

[0249] In operation 1427, the second electronic device (401) (e.g., the second electronic device (401) of FIG. 2) can transmit a preview image acquired through the rear camera of the second electronic device to the first electronic device.

[0250] According to one embodiment, the second electronic device (401) can transmit a preview image acquired through the rear camera of the second electronic device to the first electronic device through an established secure connection.

[0251] In operation 1429, the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2) may display a preview image received from the second electronic device.

[0252] According to one embodiment, the first electronic device (301) may unlock the first electronic device in the shared selfie shooting mode, deactivate the front camera of the first electronic device (e.g., the front camera (381) of FIG. 3), and activate the display of the first electronic device (e.g., the display (360) of FIG. 3).

[0253] According to one embodiment, when the first electronic device (301) receives a preview image acquired from the second electronic device (401) through the rear camera of the second electronic device (e.g., the rear camera (483) of FIG. 2), the first electronic device (301) may display the preview image on the display of the first electronic device (e.g., the display (360) of FIG. 3).

[0254] According to one embodiment, if a preview image is not received from the second electronic device (401) within a specified time after switching to the shared selfie shooting mode, the first electronic device (301) may transmit second information instructing activation of the rear camera of the external electronic device to the second electronic device.

[0255] In operation 1431, the first electronic device (301) (e.g., the first electronic device (301) of FIG. 2) can store the image captured in operation 1433 when confirming the selection of the shooting button.

[0256] In one embodiment, the first electronic device (301) displays a preview image acquired through a rear camera of the second electronic device received from the second electronic device (401) on a display of the first electronic device (e.g., display (360) of FIG. 3) in a shared selfie shooting mode, and upon confirming a selection of shooting, the first electronic device (301) may store the captured image in the electronic device (301), the second electronic device (401), or both the first electronic device (301) and the second electronic device based on the user's selection.

[0257] According to an embodiment, the first electronic device (301) may, when confirming a selection to capture while displaying the preview image received from the second electronic device on the display of the first electronic device, confirm the type of security information used for the secure connection. According to an embodiment, the first electronic device (301) may confirm a user's selection of a capture button, a user's gesture designated for the capture selection, a user's voice recognition designated for the capture selection, or a specific sound designated for the capture selection as the selection to capture. According to an embodiment, if the security information uses the pairing key or the public key, the first electronic device (301) may store the captured image in one or both of the first electronic device and the second electronic device based on the user's selection of the first electronic device. According to an embodiment, if the security information uses a temporary key, the first electronic device (301) may store the captured image in the first electronic device.

[0258] According to one embodiment, the first electronic device (301) may, when confirming a selection of shooting while displaying the preview image received from the second electronic device on the display of the first electronic device, display a pop-up window including a message recommending a storage location based on the type of security information for a secure connection.

[0259] According to one embodiment, the first electronic device (301) may, when confirming a selection of shooting while displaying the preview image received from the second electronic device on the display of the first electronic device, display a pop-up window including a message recommending a storage location based on an analysis of the shot image.

[0260] FIG. 15 is a flowchart illustrating an operation of executing a shared selfie shooting mode in a main electronic device according to an embodiment, wherein the operations of executing the shared selfie shooting mode may include operations 1501 to 1521. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, at least two operations may be performed in parallel, or other operations may be added.

[0261] Referring to FIG. 15 above, in operation 1501, an electronic device (e.g., the electronic device (101) of FIG. 1), the first electronic device (301) of FIG. 2 and / or the electronic device (301) of FIG. 3) can identify a first selfie shooting attempt during a selfie shooting attempt.

[0262] According to one embodiment, the electronic device may activate a function (process) for determining whether to switch to a shared selfie shooting mode when the direction of the electronic device is determined to be a first direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in a sensor of the electronic device (e.g., sensor (376) of FIG. 3) in a locked state.

[0263] According to one embodiment, the electronic device may activate a function (process) for determining whether to switch to a shared selfie shooting mode when the direction of the electronic device is determined to be a first direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in a sensor of the electronic device (e.g., sensor (376) of FIG. 3) in an unlocked state.

[0264] According to one embodiment, the electronic device can determine that the direction of the electronic device is a first direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in a sensor of the electronic device (e.g., a sensor (376) of FIG. 3), and can determine that the first selfie taking attempt is capable of taking a selfie as the main electronic device during the selfie taking attempt.

[0265] In one embodiment, the electronic device can determine a first orientation of the electronic device in which the front of the electronic device faces downward and the back of the electronic device faces upward as a first selfie attempt that can perform a selfie as the main electronic device during the selfie attempt, since the user positions the electronic device so that the electronic device faces slightly upward from the user's face while holding the electronic device in order to perform a selfie attempt while using the electronic device as the main electronic device.

[0266] In operation 1503, an electronic device (e.g., the electronic device (101) of FIG. 1, the first electronic device (301) of FIG. 2, and / or the electronic device (301) of FIG. 3) can check first configuration information of the electronic device.

[0267] According to an embodiment, the electronic device may identify first configuration information of the electronic device, including a grip detection value of the electronic device, a position value of the electronic device, a direction value of the electronic device, a size value (height and width) of the specified electronic device, and a position value of a rear camera included in the electronic device, based on sensor data acquired from a sensor of the electronic device (e.g., sensor (376) of FIG. 3).

[0268] According to one embodiment, the electronic device can detect a grip detection value of the electronic device based on sensor data obtained from a third sensor (e.g., a grip sensor) included in the sensor.

[0269] According to one embodiment, the electronic device can determine the location value of the electronic device based on sensor data obtained from a fourth sensor (e.g., a proximity sensor) included in the sensor.

[0270] According to one embodiment, the electronic device can detect a direction value of the electronic device based on sensor data obtained from a first sensor (e.g., a motion sensor) included in the sensor.

[0271] According to an embodiment, the electronic device can derive the position value and direction value of the electronic device using triangulation. The triangulation is a method of finding the position of an object using the position of another object. When the electronic device and the external electronic device access a third electronic device (e.g., a wearable electronic device and / or GPS) to find their respective positions (relative distance and relative angle), the relative distance and relative angle (direction) between the electronic device and the external electronic device can be measured.

[0272] In operation 1505, an electronic device (e.g., an electronic device (101) of FIG. 1), a first electronic device (301) of FIG. 2 and / or an electronic device (301) of FIG. 3) may receive second configuration information of an external electronic device.

[0273] According to an embodiment, the electronic device may identify second configuration information of the external electronic device, including a grip detection value of the external electronic device (e.g., the second electronic device (401) of FIG. 2) detected based on sensor data acquired from a sensor of the external electronic device, a location value of the external electronic device, a direction value of the external electronic device, a size value (height and width) of the external electronic device, and a location value of a rear camera included in the external electronic device.

[0274] In one embodiment, the electronic device can identify device information in the second configuration information that the selfie attempt of the external electronic device can perform a second selfie attempt as a sub-electronic device.

[0275] In operation 1507, an electronic device (e.g., the electronic device (101) of FIG. 1, the first electronic device (301) of FIG. 2, and / or the electronic device (301) of FIG. 3) may determine a transition to a shared selfie shooting mode based on the first configuration information and the second configuration information.

[0276] In one embodiment, the electronic device may determine that the rear surface of an external electronic device (e.g., the second electronic device (401) of FIG. 2) is disposed on the rear surface of the electronic device when each of the grip detection value of the electronic device among the first configuration information and the grip detection value of the external electronic device among the second configuration information is included in a grip detection range designated for switching to a shared selfie shooting mode. In one embodiment, when the electronic device and the external electronic device are disposed rear-to-rear and a user holds both the electronic device and the external electronic device for taking a selfie, different grip detection values ​​may be detected in each of the electronic device and the external electronic device because the grip detection positions (patterns) and grip pressures for the electronic device and the external electronic device are different from each other.

[0277] In one embodiment, the electronic device can determine that a distance value between the electronic device and the external electronic device is within a distance range specified for switching to a shared selfie shooting mode based on a location value of the electronic device among the first configuration information and a location value of the external electronic device among the second configuration information, in a state where the rear surface of the external electronic device is disposed on the rear surface of the electronic device.

[0278] In one embodiment, the electronic device can determine that the electronic device and the external electronic device are positioned in the same direction based on a direction value of the electronic device among the first configuration information and a direction value of the external electronic device among the second configuration information, in a state where the rear surface of the external electronic device is disposed on the rear surface of the electronic device.

[0279] In one embodiment, the electronic device may determine that a rear camera of the external electronic device is exposed and not covered by the electronic device when the grip detection value of the external electronic device in the second configuration information is included in a grip detection range designated for switching to a shared selfie shooting mode while the rear of the external electronic device is disposed on the rear of the electronic device. When the user of the electronic device places the rear of the external electronic device on the rear of the electronic device higher than the electronic device in order to expose the rear camera located on the upper side of the rear of the external electronic device, the second grip detection value may be detected at a position lower than a grip position when the user generally holds the external electronic device.

[0280] In one embodiment, the electronic device can determine that the rear camera of the external electronic device is exposed and not covered by the electronic device when the rear of the external electronic device is placed on the rear of the electronic device, and the user's face is included in the second configuration information or included in the preview image received by the external electronic device after the second configuration information.

[0281] In one embodiment, the electronic device can determine that the rear camera of the external electronic device is exposed and not covered by the electronic device by using a distance value and a direction value between the electronic device and the external electronic device, a size value (height and width) of the external electronic device among the second configuration information, and a position value of a rear camera included in the external electronic device, in a state where the rear of the external electronic device is placed on the rear of the electronic device.

[0282] In one embodiment, the electronic device may switch to a shared selfie shooting mode when it is confirmed that the electronic device and the external electronic device are positioned back-to-back, are in contact with each other, or are within a distance range specified for switching to a shared selfie shooting mode, and a rear camera of the external electronic device is exposed and not covered by the electronic device, based on first configuration information of the electronic device and second configuration information of the external electronic device.

[0283] According to one embodiment, the electronic device may automatically launch a camera application when switching from a locked state to a shared selfie shooting mode.

[0284] According to one embodiment, the electronic device may automatically launch a camera application when switching from an unlocked state to a shared selfie shooting mode.

[0285] In operation 1509, an electronic device (e.g., the electronic device (101) of FIG. 1, the first electronic device (301) of FIG. 2, and / or the electronic device (301) of FIG. 3) can check security information for a secure connection with an external electronic device.

[0286] According to one embodiment, the electronic device can verify the pairing key used in the pairing as security information when the electronic device and the external electronic device are confirmed to be in a pairing state.

[0287] In one embodiment, the electronic device has a public key provided from the contact server, and when contact information of the electronic device and contact information of the external electronic device are stored in a contact server and contacts are synchronized between the two electronic devices, the electronic device can verify the public key as security information.

[0288] In one embodiment, the electronic device may obtain parameters such as a picture detection value, a distance value, a direction value, etc., when the pairing key and the public key do not exist, and may apply the obtained parameters to a similarity matching algorithm such as fuzzy matching and / or LSH (local sensitivity hashing) to generate a temporary key, and may verify the temporary key as security information.

[0289] In operation 1511, an electronic device (e.g., the electronic device (101) of FIG. 1, the first electronic device (301) of FIG. 2, and / or the electronic device (301) of FIG. 3) may establish a secure connection with an external electronic device.

[0290] According to an embodiment, the electronic device may establish a secure connection between the electronic device and the external electronic device by using the security information. According to an embodiment, the electronic device may establish a secure connection between the electronic device and the external electronic device by selecting an optimal communication circuit among a plurality of communication circuits (e.g., an RF communication circuit, a UWB communication circuit, a BT communication circuit, a BLE communication circuit, an Ultrasonic communication circuit, and / or a Wi-Fi communication circuit) included in a communication circuit of the electronic device (e.g., a communication circuit (390) of FIG. 3).

[0291] In operation 1513, an electronic device (e.g., the electronic device (101) of FIG. 1, the first electronic device (301) of FIG. 2, and / or the electronic device (301) of FIG. 3) can check whether a preview image is received from an external electronic device in a shared selfie shooting mode.

[0292] In the above operation 1513, if the electronic device does not receive a preview image from an external electronic device (e.g., the second electronic device (401) of FIG. 2) within a certain period of time in the shared selfie shooting mode, in the above operation 1515, the electronic device may transmit second information instructing activation of a rear camera of the external electronic device to the external electronic device.

[0293] In the above operation 1513, if the electronic device receives the preview image from the external electronic device within the predetermined time in the shared selfie shooting mode, in the operation 1517, the electronic device can display the received preview image on the display of the electronic device (e.g., the display (360) of FIG. 3).

[0294] According to one embodiment, when the electronic device switches from a locked state to the shared selfie shooting mode, the electronic device can unlock the locked state of the electronic device, activate the display of the electronic device (e.g., the display (360) of FIG. 3), and deactivate the front camera of the electronic device.

[0295] In operation 1519, the electronic device (e.g., the electronic device (101) of FIG. 1, the first electronic device (301) of FIG. 2, and / or the electronic device (301) of FIG. 3) may, upon confirming selection of the shooting button, store the image captured in operation 1521.

[0296] In one embodiment, the electronic device displays a preview image acquired through a rear camera (e.g., rear camera (481) of FIG. 2) of an external electronic device (e.g., second electronic device (401) of FIG. 2) received from the external electronic device on a display (e.g., display (360) of FIG. 3) of the electronic device in the shared selfie shooting mode, and upon confirming a selection of shooting, the electronic device may store the captured image in the electronic device, the external electronic device, or both the electronic device and the external electronic device based on the user's selection.

[0297] In one embodiment, the electronic device may, when confirming a selection of a photograph while displaying the preview image received from the external electronic device on the display of the electronic device, check the type of the security information used for the secure connection. In one embodiment, the electronic device may, when the security information uses the pairing key or the public key, store the photographed image in one or both of the electronic device and the external electronic device based on a selection by a user of the electronic device. In one embodiment, the electronic device may, when the security information uses a temporary key, store the photographed image in the electronic device.

[0298] According to one embodiment, the electronic device can identify a user's selection of a shooting button, a user's gesture input designated for shooting selection, a user's voice input designated for shooting selection, or an input of a specific sound designated for shooting selection as a selection of shooting.

[0299] In one embodiment, the electronic device may display a pop-up window including a message recommending a storage location based on the type of security information used for a secure connection when a selection of a photograph is confirmed while displaying the preview image received from the external electronic device on a display of the electronic device.

[0300] In one embodiment, the electronic device, while displaying the preview image received from the external electronic device on the display of the electronic device, upon confirming selection of shooting, may check the type of the security information used for a secure connection, and if the security information (e.g., a pairing key or a public key) is of a first security level, may display a pop-up window including a message recommending storage of the captured image in at least one of the electronic device and the external electronic device, and if the security information (e.g., a temporary key) is of a second security level lower than the first security level, may display a pop-up window including a message recommending storage of the captured image in the electronic device.

[0301] In one embodiment, the electronic device, while displaying the preview image received from the external electronic device on the display of the electronic device, upon confirming selection of shooting, may check the type of the security information used for a secure connection, and if the security information (e.g., a pairing key or a public key) is of a first security level, may store the captured image in at least one designated among the electronic device and the external electronic device, and if the security information (e.g., a temporary key) is of a second security level lower than the first security level, may store the captured image in the electronic device.

[0302] In one embodiment, the electronic device may display the preview image received from the external electronic device on the display of the electronic device, and when a selection of shooting is confirmed, the electronic device may analyze the captured image and display a pop-up window including a message recommending a storage location based on the analysis of the captured image.

[0303] In one embodiment, the electronic device may, while displaying the preview image received from the external electronic device on the display of the electronic device, analyze the captured image upon confirming selection of capturing, and store the captured image in at least one of the electronic device and the external electronic device based on the analysis of the captured image.

[0304] In one embodiment, the electronic device may, when confirming a selection of shooting while displaying the preview image received from the external electronic device on the display of the electronic device, analyze the captured image to detect a face of a user included in the image, and, when the detected face is confirmed to be the face of the user of the electronic device, display a pop-up window including a message recommending saving the captured image on the electronic device, and, when the detected face is confirmed to be the face of the user of the external electronic device, display a pop-up window including a message recommending saving the captured image on the external electronic device.

[0305] FIG. 16 is a flowchart illustrating an operation of executing a shared selfie shooting mode in a sub-electronic device according to an embodiment, wherein the operations of executing the shared selfie shooting mode may include operations 1601 to 1619. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, at least two operations may be performed in parallel, or another operation may be added.

[0306] Referring to FIG. 16, in operation 1601, an electronic device (e.g., the electronic device (101) of FIG. 1, the second electronic device (401) of FIG. 2, and / or the electronic device (301) of FIG. 3) may identify a second selfie shooting attempt among selfie shooting attempts. According to an embodiment, the electronic device may activate a function (process) for determining whether to switch to a shared selfie shooting mode when the electronic device determines that the direction of the electronic device is a second direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in a sensor (e.g., a sensor (376) of FIG. 3) of the electronic device in a locked state.

[0307] According to one embodiment, the electronic device can determine that the direction of the electronic device is a second direction for taking a selfie based on sensor data acquired from a first sensor (e.g., a motion sensor) included in a sensor of the electronic device (e.g., a sensor (376) of FIG. 3), and can determine that the second selfie taking attempt is capable of taking a selfie as a sub-electronic device during the selfie taking attempt.

[0308] In one embodiment, the electronic device is configured to position the electronic device so that the user holds the electronic device and points slightly upward from the user's face to take a selfie while using the electronic device as a sub-electronic device, so that the orientation of the electronic device with the front of the electronic device facing upward and the back of the electronic device facing downward can be identified as a second selfie attempt that can take a selfie as a sub-electronic device during the selfie attempt.

[0309] According to one embodiment, the electronic device can identify a second selfie shooting attempt that can perform selfie shooting as a sub-electronic device among the selfie shooting attempts by identifying a second direction of the electronic device as a second direction for taking a selfie based on sensor data acquired through the first sensor (e.g., a motion sensor).

[0310] In operation 1603, an electronic device (e.g., the electronic device (101) of FIG. 1, the second electronic device (401) of FIG. 2, and / or the electronic device (301) of FIG. 3) can check first configuration information of the electronic device.

[0311] According to one embodiment, the electronic device can check first configuration information of the electronic device including a grip detection value of the electronic device, a position value of the electronic device, a direction value of the electronic device, a size value (height and width) of the specified electronic device, and a position value of a rear camera included in the electronic device, which are detected based on sensor data acquired from a sensor of the electronic device (e.g., sensor (376) of FIG. 3).

[0312] In operation 1605, an electronic device (e.g., the electronic device (101) of FIG. 1, the second electronic device (401) of FIG. 2, and / or the electronic device (301) of FIG. 3) may transmit first configuration information of the electronic device to an external electronic device.

[0313] According to one embodiment, the electronic device can transmit first configuration information of the electronic device to an external electronic device through a communication circuit of the electronic device (e.g., the communication circuit (390) of FIG. 3).

[0314] In operation 1607, the electronic device (e.g., the electronic device (101) of FIG. 1, the second electronic device (401) of FIG. 2, and / or the electronic device (301) of FIG. 3) may determine whether first information indicating a transition to a shared selfie shooting mode is received from an external electronic device.

[0315] In the above operation 1607, if the electronic device does not receive the first information within a certain period of time, in operation 1609, the electronic device may end the shared selfie shooting mode transition.

[0316] In the above operation 1607, if the electronic device receives the first information within a certain period of time, in operation 1611, the electronic device switches to a shared selfie shooting mode and can check security information for a secure connection with an external electronic device.

[0317] According to one embodiment, the electronic device can verify the pairing key used in the pairing as security information when the electronic device and the external electronic device are confirmed to be in a pairing state.

[0318] In one embodiment, the electronic device has a public key provided from the contact server, and when contact information of the electronic device and contact information of the external electronic device are stored in a contact server and contacts are synchronized between the two electronic devices, the electronic device can verify the public key as security information.

[0319] In one embodiment, the electronic device may obtain parameters such as a picture detection value, a distance value, a direction value, etc., when the pairing key and the public key do not exist, and may apply the obtained parameters to a similarity matching algorithm such as fuzzy matching and / or LSH (local sensitivity hashing) to generate a temporary key, and may verify the temporary key as security information.

[0320] In operation 1613, an electronic device (e.g., the electronic device (101) of FIG. 1, the second electronic device (401) of FIG. 2, and / or the electronic device (301) of FIG. 3) may establish a secure connection with an external electronic device.

[0321] According to one embodiment, the electronic device can establish a secure connection between the electronic device and the external electronic device using the security information.

[0322] In operation 1615, an electronic device (e.g., the electronic device (101) of FIG. 1, the second electronic device (401) of FIG. 2, and / or the electronic device (301) of FIG. 3) may transmit a preview image acquired through a rear camera of the electronic device in a shared selfie shooting mode to an external electronic device.

[0323] According to one embodiment, the electronic device may switch to a shared selfie shooting mode after establishing a secure connection and activate a rear camera of the electronic device (e.g., rear camera (393) of FIG. 3).

[0324] According to one embodiment, the electronic device may activate a rear camera of the electronic device in a locked state when the electronic device switches to the shared selfie shooting mode in a locked state.

[0325] According to one embodiment, the electronic device may activate the rear camera of the electronic device in the locked state when the electronic device receives second information instructing activation of the rear camera from the external electronic device in the locked state.

[0326] According to one embodiment, the electronic device may activate a rear camera having the largest field of view (FoV) among the plurality of rear cameras in the shared selfie shooting mode.

[0327] According to one embodiment, the electronic device can activate a designated rear camera among a plurality of rear cameras in the shared selfie shooting mode.

[0328] According to one embodiment, the electronic device may display the preview image on a display (e.g., display (360) of FIG. 3) of the electronic device based on a user's selection while transmitting the preview image acquired through the rear camera of the electronic device to the external electronic device in the shared selfie shooting mode.

[0329] In operation 1617, when an electronic device (e.g., the electronic device (101) of FIG. 1, the second electronic device (401) of FIG. 2, and / or the electronic device (301) of FIG. 3) confirms receipt of an image captured from an external electronic device, in operation 1619, the electronic device may store the image captured by the external electronic device in a memory of the electronic device (e.g., the memory (330) of FIG. 3).

[0330] In one embodiment, a method for executing a shared selfie shooting mode in an electronic device (e.g., the electronic device (101) of FIG. 1, the first electronic device (301) of FIG. 2, and / or the electronic device (301) of FIG. 3) according to an embodiment of the present invention further comprises: when a direction of the electronic device indicating a shared selfie shooting attempt is identified through a sensor of the electronic device, the method further comprises: acquiring first configuration information of the electronic device; receiving second configuration information of the external electronic device from an external electronic device through a communication circuit of the electronic device; switching to a shared selfie shooting mode based on at least one of the first configuration information of the electronic device and at least one of the second configuration information of the external electronic device; connecting the electronic device with the external electronic device using security information; and when receiving a preview image acquired through a rear camera of the external electronic device from the external electronic device, the method further comprises displaying the preview image through a display of the electronic device.

[0331] According to one embodiment, the method may further include an operation of confirming, based on sensor data acquired from the sensor, the grip detection value of the electronic device, the position value of the electronic device, the direction value of the electronic device, the size value of the specified electronic device, and the position value of the rear camera included in the electronic device, as first configuration information of the electronic device, and an operation of confirming, from the second configuration information received from the external electronic device, the grip detection value of the external electronic device, the position value of the external electronic device, the direction value of the external electronic device, the size value of the external electronic device, and the position value of the rear camera included in the external electronic device.

[0332] According to one embodiment, the method may further include an operation of confirming that the electronic device and the external electronic device are arranged back-to-back based on a grip detection value of the electronic device among the first configuration information and a grip detection value of the external electronic device among the second configuration information, and an operation of switching to the shared selfie shooting mode when it is confirmed that the electronic device and the external electronic device are positioned in the same direction within a specified distance range for switching to the shared selfie shooting mode based on a position value and a direction value of the electronic device among the first configuration information and a position value and a direction value of the external electronic device among the second configuration information.

[0333] According to an embodiment, the method may further include an operation of confirming the pairing key as the security information when the electronic device is paired with the external electronic device, an operation of confirming a public key provided by the contact server as the security information when the contact information of the electronic device and the contact information of the external electronic device are shared by a contact server, and an operation of generating a temporary key when the pairing key and the public key do not exist between the electronic device and the external electronic device, and confirming the temporary key as the security information.

[0334] The method according to one embodiment may further include an operation of transmitting, through the communication circuit, first information instructing a transition to the shared selfie shooting mode to the external electronic device when switching to the shared selfie shooting mode based on the first configuration information of the electronic device and the second configuration information of the external electronic device.

[0335] The method according to one embodiment may further include an operation of unlocking the electronic device and activating the display when the electronic device switches from a locked state to the shared selfie shooting mode and connects the electronic device with the external electronic device using the security information.

[0336] The method according to one embodiment may further include an operation of saving the captured image when a gesture input or voice input for selection of capturing is confirmed while displaying the preview image received from the external electronic device through the display in the shared selfie capturing mode.

[0337] The method according to one embodiment may further include, when confirming selection of shooting while displaying the preview image received from the external electronic device on the display, an operation of checking the type of the security information used for the secure connection, and, if the security information has a first security level, an operation of storing the captured image in at least one designated among the electronic device and the external electronic device, and, if the security information has a second security level lower than the first security level, an operation of storing the captured image in the electronic device.

[0338] The method according to one embodiment may further include an operation of analyzing a captured image when confirming a selection of shooting while displaying the preview image received from the external electronic device on the display, and an operation of storing the captured image in at least one of the electronic device and the external electronic device based on the analysis of the captured image.

[0339] The method according to one embodiment may further include an operation of transmitting second information instructing activation of a rear camera of the external electronic device to the external electronic device through the communication circuit if a preview image is not received from the external electronic device within a specified time after switching to the shared selfie shooting mode.

[0340] Electronic devices according to embodiments disclosed herein 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 embodiments disclosed herein are not limited to the aforementioned devices.

[0341] The embodiments of this document and the terminology used herein 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.

[0342] The term "module" used in one embodiment 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).

[0343] An embodiment 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) or an electronic device (301)). For example, a processor (e.g., a first processor (320)) of the machine (e.g., an electronic device (301)) 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.

[0344] According to one embodiment, the method according to one embodiment disclosed in the present document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0345] According to one embodiment, 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 one embodiment, 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 one embodiment, 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.

Claims

1. In electronic devices, display (260 in Fig. 1; 360 in Fig. 3)); Communication circuit (190 in Fig. 1; 380 in Fig. 3); Sensor (176 in Fig. 1; 376 in Fig. 3); A camera including a front camera and a rear camera (180 in FIG. 1; 380 in FIG. 3); At least one processor (120 in FIG. 1; 320 in FIG. 3); and It includes a memory (130 in Fig. 1; 330 in Fig. 3) that stores commands, The above instructions, when executed by the at least one processor, cause the electronic device to: When the direction of the electronic device indicating an attempt to take a shared selfie is determined through the sensor, first configuration information of the electronic device is acquired, and second configuration information of the external electronic device is received from the external electronic device through the communication circuit, Switching to a shared selfie shooting mode based on at least one of the first configuration information of the electronic device and at least one of the second configuration information of the external electronic device, Connecting the electronic device with the external electronic device using security information, An electronic device set to display a preview image obtained through a rear camera of the external electronic device from the external electronic device through the display.

2. In paragraph 1, The above instructions, when executed by the at least one processor, cause the electronic device to: The first configuration information of the electronic device is confirmed to include a grip detection value of the electronic device detected based on sensor data acquired from the sensor, a position value of the electronic device, a direction value of the electronic device, a size value of the specified electronic device, and a position value of a rear camera included in the electronic device. An electronic device set to check a grip detection value of the external electronic device, a position value of the external electronic device, a direction value of the external electronic device, a size value of the external electronic device, and a position value of a rear camera included in the external electronic device from the second configuration information received from the external electronic device.

3. In paragraph 1 or 2, The above instructions, when executed by the at least one processor, cause the electronic device to: It is confirmed that the electronic device and the external electronic device are arranged back-to-back based on the grip detection value of the electronic device among the first configuration information and the grip detection value of the external electronic device among the second configuration information, An electronic device set to switch to the shared selfie shooting mode when it is confirmed that the electronic device and the external electronic device are located in the same direction within a specified distance range based on the position value and the direction value of the electronic device among the first configuration information and the position value and the direction value of the external electronic device among the second configuration information.

4. In any one of paragraphs 1 to 3, The above instructions, when executed by the at least one processor, cause the electronic device to: If the electronic device is paired with the external electronic device, the pairing key is verified as the security information, If the contact information of the electronic device and the contact information of the external electronic device are shared with the contact server, the public key provided by the contact server is verified with the security information. An electronic device configured to generate a temporary key when the pairing key and the public key do not exist between the electronic device and the external electronic device, and to verify the temporary key with the security information.

5. In any one of paragraphs 1 to 4, The above instructions, when executed by the at least one processor, cause the electronic device to: An electronic device configured to transmit first information instructing the external electronic device to switch to the shared selfie shooting mode through the communication circuit when switching to the shared selfie shooting mode based on the first configuration information of the electronic device and the second configuration information of the external electronic device.

6. In any one of paragraphs 1 to 5, The above instructions, when executed by the at least one processor, cause the electronic device to: An electronic device configured to unlock the electronic device and activate the display when the electronic device is switched from a locked state to the shared selfie shooting mode and the electronic device is connected to the external electronic device using the security information.

7. In any one of paragraphs 1 to 6, The above instructions, when executed by the at least one processor, cause the electronic device to: An electronic device set to save the captured image when a gesture input or voice input for selecting a capture is confirmed while displaying the preview image received from the external electronic device through the display in the shared selfie capture mode.

8. In any one of paragraphs 1 to 7, The above instructions, when executed by the at least one processor, cause the electronic device to: While displaying the preview image received from the external electronic device on the display, when confirming the selection of shooting, the type of security information used for the secure connection is confirmed, If the security information has a first security level, the captured image is stored in at least one designated among the electronic device and the external electronic device, An electronic device set to store the captured image in the electronic device when the security information has a second security level lower than the first security level.

9. In any one of paragraphs 1 to 8, The above instructions, when executed by the at least one processor, cause the electronic device to: While displaying the preview image received from the external electronic device on the display, when confirming the selection of shooting, the captured image is analyzed, An electronic device configured to store the captured image in at least one of the electronic device and the external electronic device based on analysis of the captured image.

10. In any one of paragraphs 1 to 9, The above instructions, when executed by the at least one processor, cause the electronic device to: An electronic device configured to transmit second information instructing activation of a rear camera of the external electronic device to the external electronic device through the communication circuit if a preview image is not received from the external electronic device within a specified time after switching to the shared selfie shooting mode.

11. A method for executing a shared selfie shooting mode in an electronic device, An operation of obtaining first configuration information of the electronic device and receiving second configuration information of the external electronic device from an external electronic device through a communication circuit of the electronic device, upon determining the direction of the electronic device indicating an attempt to take a shared selfie through a sensor of the electronic device; An operation of switching to a shared selfie shooting mode based on at least one of first configuration information of the electronic device and at least one of second configuration information of the external electronic device; An operation of connecting the electronic device with the external electronic device using security information; and A method comprising an action of receiving a preview image acquired through a rear camera of the external electronic device from the external electronic device, and displaying the preview image through a display of the electronic device.

12. In Article 11, An operation of confirming the first configuration information of the electronic device including the grip detection value of the electronic device detected based on the sensor data acquired from the sensor, the position value of the electronic device, the direction value of the electronic device, the size value of the specified electronic device, and the position value of the rear camera included in the electronic device; and A method further comprising an operation of checking a grip detection value of the external electronic device, a position value of the external electronic device, a direction value of the external electronic device, a size value of the external electronic device, and a position value of a rear camera included in the external electronic device from the second configuration information received from the external electronic device.

13. In paragraph 11 or 12, An operation of confirming that the electronic device and the external electronic device are arranged back-to-back based on a grip detection value of the electronic device among the first configuration information and a grip detection value of the external electronic device among the second configuration information; and A method further comprising an operation of switching to the shared selfie shooting mode when it is confirmed that the electronic device and the external electronic device are located in the same direction within a specified distance range based on the position value and the direction value of the electronic device among the first configuration information and the position value and the direction value of the external electronic device among the second configuration information.

14. In any one of paragraphs 11 to 13, An action of confirming the pairing key with the security information when the electronic device is paired with the external electronic device; If the contact information of the electronic device and the contact information of the external electronic device are shared by a contact server, an operation of verifying the public key provided by the contact server with the security information; and A method further comprising the action of generating a temporary key when the pairing key and the public key do not exist between the electronic device and the external electronic device, and verifying the temporary key with the security information.

15. In a non-volatile storage medium storing commands, the commands are configured to cause the electronic device to perform at least one operation when executed by the electronic device, wherein the at least one operation is: An operation of obtaining first configuration information of the electronic device and receiving second configuration information of the external electronic device from an external electronic device through a communication circuit of the electronic device, upon determining the direction of the electronic device indicating an attempt to take a shared selfie through a sensor of the electronic device; An operation of switching to a shared selfie shooting mode based on at least one of first configuration information of the electronic device and at least one of second configuration information of the external electronic device; An operation of connecting the electronic device with the external electronic device using security information; and A storage medium including an operation of displaying a preview image obtained through a rear camera of the external electronic device from the external electronic device through a display of the electronic device.

Citation Information

Patent Citations

  • Wearable device, mobile terminal and system

    KR101663375B1

  • Heat exchanger

    KR1020230160572A

  • Method of manufacturing the rotor assembly

    KR1020250128458A

  • Audio / Video Wearable Computer System with Integrated Projector

    US20200162599A1

  • KR20220157196A